]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Remove unused %include lines from Versions files.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
098ad55c
RM
12014-02-22 Roland McGrath <roland@hack.frob.com>
2
3 * csu/Versions: Remove unused %include.
4 * resolv/Versions: Likewise.
5
acd7f096
JM
62014-02-21 Joseph Myers <joseph@codesourcery.com>
7
f0881698
JM
8 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9 ($(objpfx)check-local-headers.out): Likewise.
10 ($(objpfx)begin-end-check.out): Likewise.
11 * Makerules (check-abi-%.out): Likewise.
12 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
13 ($(objpfx)test2.cat): Likewise.
14 ($(objpfx)de/libc.cat): Likewise.
15 ($(objpfx)test-gencat.out): Likewise.
16 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
17 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
18 ($(objpfx)noload-mem): Likewise.
19 ($(objpfx)tst-pathopt.out): Likewise.
20 ($(objpfx)tst-rtld-load-self.out): Likewise.
21 ($(objpfx)tst-array1-cmp.out): Likewise.
22 ($(objpfx)tst-array1-static-cmp.out): Likewise.
23 ($(objpfx)tst-array2-cmp.out): Likewise.
24 ($(objpfx)tst-array3-cmp.out): Likewise.
25 ($(objpfx)tst-array4-cmp.out): Likewise.
26 ($(objpfx)tst-array5-cmp.out): Likewise.
27 ($(objpfx)tst-array5-static-cmp.out): Likewise.
28 ($(objpfx)check-textrel.out): Likewise.
29 ($(objpfx)check-execstack.out): Likewise.
30 ($(objpfx)check-localplt.out): Likewise.
31 ($(objpfx)order2-cmp.out): Likewise.
32 ($(objpfx)tst-leaks1-mem): Likewise.
33 ($(objpfx)tst-leaks1-static-mem): Likewise.
34 ($(objpfx)tst-initorder-cmp.out): Likewise.
35 ($(objpfx)tst-initorder2-cmp.out): Likewise.
36 ($(objpfx)tst-unused-dep.out): Likewise.
37 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
38 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
39 * iconv/Makefile (test-iconvconfig): Likewise.
40 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
41 ($(objpfx)iconv-test.out): Likewise.
42 ($(objpfx)tst-tables.out): Likewise.
43 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
44 ($(objpfx)tst-gettext.out): Likewise.
45 ($(objpfx)tst-translit.out): Likewise.
46 ($(objpfx)tst-gettext2.out): Likewise.
47 ($(objpfx)tst-gettext4.out): Likewise.
48 ($(objpfx)tst-gettext6.out): Likewise.
49 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
50 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
51 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
52 ($(objpfx)tst-fopenloc-mem.out): Likewise.
53 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
54 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
55 * posix/Makefile ($(objpfx)globtest.out): Likewise.
56 ($(objpfx)wordexp-tst.out): Likewise.
57 ($(objpfx)annexc.out): Likewise.
58 ($(objpfx)tst-fnmatch-mem): Likewise.
59 ($(objpfx)bug-regex2-mem): Likewise.
60 ($(objpfx)bug-regex14-mem): Likewise.
61 ($(objpfx)bug-regex21-mem): Likewise.
62 ($(objpfx)bug-regex31-mem): Likewise.
63 ($(objpfx)tst-vfork3-mem): Likewise.
64 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
65 ($(objpfx)tst-pcre-mem): Likewise.
66 ($(objpfx)tst-boost-mem): Likewise.
67 ($(objpfx)tst-getconf.out): Likewise.
68 ($(objpfx)bug-ga2-mem): Likewise.
69 ($(objpfx)bug-glob2-mem): Likewise.
70 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
71 ($(objpfx)mtrace-tst-leaks2): Likewise.
72 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
73 ($(objpfx)tst-printf.out): Likewise.
74 ($(objpfx)tst-setvbuf1.out): Likewise.
75 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
76 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
77 ($(objpfx)tst-fmtmsg.out): Likewise.
78 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
79 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
80
acd7f096
JM
81 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
82 * bits/sigaction.h [__USE_MISC]: Likewise.
83 * bits/waitstatus.h: Update #endif comments.
84 * ctype/ctype.h: Likewise.
85 * dirent/dirent.h: Likewise.
86 [__USE_MISC]: Remove redundant conditionals.
87 * grp/grp.h: Update #endif comments.
88 [__USE_GNU]: Remove redundant conditionals.
89 [__USE_MISC]: Likewise.
90 * inet/netinet/in.h [__USE_GNU]: Likewise.
91 * io/sys/stat.h [__USE_MISC]: Likewise.
92 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
93 * libio/bits/stdio.h: Update #endif comments.
94 [__USE_MISC]: Remove redundant conditionals.
95 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
96 * libio/stdio.h: Update #endif comments.
97 [__USE_MISC]: Remove redundant conditionals.
98 * math/bits/math-finite.h [__USE_MISC]: Likewise.
99 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
100 * math/math.h: Update #else and #endif comments.
101 [__USE_MISC]: Remove redundant conditionals.
102 * misc/sys/uio.h: Update #endif comments.
103 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
104 * posix/glob.h [__USE_MISC]: Likewise.
105 * posix/sys/types.h: Update #endif comments.
106 [__USE_MISC]: Remove redundant conditionals.
107 * posix/sys/wait.h: Update #endif comments.
108 [__USE_MISC]: Remove redundant conditionals.
109 * posix/unistd.h: Update #endif comments.
110 [__USE_MISC]: Remove redundant conditionals.
111 * pwd/pwd.h [__USE_GNU]: Likewise.
112 [__USE_MISC]: Likewise.
113 * resolv/netdb.h [__USE_GNU]: Likewise.
114 * signal/signal.h: Update #endif comments.
115 [__USE_MISC]: Remove redundant conditionals.
116 * stdlib/stdlib.h: Update #else and #endif comments.
117 [__USE_MISC]: Remove redundant conditionals.
118 [__USE_GNU]: Likewise.
119 * string/bits/string2.h [__USE_MISC]: Likewise.
120 * string/string.h: Update #endif comments.
121 [__USE_MISC]: Remove redundant conditionals.
122 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
123 Likewise.
124 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
125 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
126 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
127 Likewise.
128 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
129 Likewise.
130 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
131 comments.
132 [__USE_MISC]: Remove redundant conditionals.
133 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
134 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
135 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
136 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
137 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
138 Likewise.
139 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
140 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
141 Likewise.
142 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
143 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
144 Likewise.
145 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
146 Likewise.
147 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
148 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
149 Likewise.
150 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
151 Likewise.
152 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
153 * sysdeps/x86/bits/string.h: Update #endif comments.
154 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
155 conditionals.
156 * time/sys/time.h: Update #endif comments.
157 * time/time.h: Likewise.
158 [__USE_MISC]: Remove redundant conditionals.
159
a5d82e4e
YG
1602014-02-21 Yury Gribov <y.gribov@samsung.com>
161
162 [BZ #16600]
163 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
164
9a80491d
AS
1652014-02-21 Andreas Schwab <schwab@linux-m68k.org>
166
167 * Versions.def (librt): Add GLIBC_2.17.
168
105fa381
AC
1692014-02-21 Adam Conrad <adconrad@0c3.net>
170
171 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
172 synonym for _SYS_AUXV_H to allow direct inclusion.
173 * sysdeps/sparc/bits/hwcap.h: Likewise.
174 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
175 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
176 * sysdeps/sparc/sysdep.h: Likewise.
177
b8cd1c4e
SP
1782014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
179
180 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
181
bd939d23
RS
1822014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
183
184 * benchtests/bench-strrchr.c: Print length instead of position.
185
5d7b57ca
JM
1862014-02-20 Joseph Myers <joseph@codesourcery.com>
187
bc688c10
JM
188 [BZ #16611]
189 * sysdeps/unix/sysv/linux/kernel-features.h
190 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
191 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
192 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
193 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
194 Likewise.
195 [__i386__ || __powerpc__ || __sh__ || __sparc__]
196 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
197 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
198 (__ASSUME_SENDMMSG): Define instead of using previous
199 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
200 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
201 (__ASSUME_SENDMMSG_SYSCALL): Define.
202 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
203 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
204 Likewise.
205 * sysdeps/unix/sysv/linux/arm/kernel-features.h
206 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
207 Likewise.
208 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
209 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
210 Likewise.
211 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
212 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
213 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
214 [__ASSUME_SENDMMSG]: Change conditionals to
215 [__ASSUME_SENDMMSG_SOCKETCALL].
216 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
217 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
218 Define.
219 * sysdeps/unix/sysv/linux/mips/kernel-features.h
220 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
221 Likewise.
222 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
223 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
224 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
225 [!__ASSUME_SENDMMSG]: Change conditional to
226 [!__ASSUME_SENDMMSG_SOCKETCALL].
227 * sysdeps/unix/sysv/linux/tile/kernel-features.h
228 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
229 Define.
230
0e31b18c
JM
231 [BZ #16610]
232 * sysdeps/unix/sysv/linux/kernel-features.h
233 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
234 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
235 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
236 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
237 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
238 [__i386__ || __sparc__]
239 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
240 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
241 (__ASSUME_RECVMMSG): Define instead of using previous
242 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
243 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
244 (__ASSUME_RECVMMSG_SYSCALL): Define.
245 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
246 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
247 Likewise.
248 * sysdeps/unix/sysv/linux/arm/kernel-features.h
249 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
250 Likewise.
251 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
252 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
253 Likewise.
254 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
255 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
256 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
257 [__ASSUME_RECVMMSG]: Change condition to
258 [__ASSUME_RECVMMSG_SOCKETCALL].
259 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
260 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
261 Define.
262 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
263 * sysdeps/unix/sysv/linux/mips/kernel-features.h
264 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
265 Likewise.
266 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
267 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
268 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
269 [!__ASSUME_RECVMMSG]: Change condition to
270 [!__ASSUME_RECVMMSG_SOCKETCALL].
271 * sysdeps/unix/sysv/linux/tile/kernel-features.h
272 (__ASSUME_RECVMMSG_SYSCALL): Define.
273
dd481ccf
JM
274 [BZ #16609]
275 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
276 __powerpc__ || __s390__ || __sh__ || __sparc__]
277 (__ASSUME_SOCKETCALL): Define.
278 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
279 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
280 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
281 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
282 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
283 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
284 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
285 (__ASSUME_ACCEPT4): Define instead of using previous
286 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
287 __powerpc__ || __sparc__ || __s390__)] condition.
288 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
289 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
290 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
291 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
292 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
293 [!__ASSUME_ACCEPT4]: Change condition to
294 [!__ASSUME_ACCEPT4_SOCKETCALL].
295 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
296 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
297 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
298 * sysdeps/unix/sysv/linux/arm/kernel-features.h
299 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
300 __ASSUME_ACCEPT4_SYSCALL.
301 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
302 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
303 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
304 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
305 __ASSUME_ACCEPT4_SYSCALL.
306 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
307 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
308 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
309 [__ASSUME_ACCEPT4]: Change condition to
310 [__ASSUME_ACCEPT4_SOCKETCALL].
311 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
312 (__ASSUME_SOCKETCALL): Define.
313 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
314 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
315 (__ASSUME_SOCKETCALL): Define.
316 (__ASSUME_ACCEPT4): Remove.
317 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
318 Define.
319 * sysdeps/unix/sysv/linux/mips/kernel-features.h
320 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
321 Likewise.
322 * sysdeps/unix/sysv/linux/tile/kernel-features.h
323 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
324
5d7b57ca
JM
325 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
326 macro.
327 (HWCAP_ARM_LPAE): Likewise.
328 (HWCAP_ARM_EVTSTRM): Likewise.
329 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
330 Add vpfd32, lpae and evtstrm.
331 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
332 Increase to 22.
333
63689d61
JM
3342014-02-19 Joseph Myers <joseph@codesourcery.com>
335
336 * math/auto-libm-test-in: Add tests of clog10.
337 * math/auto-libm-test-out: Regenerated.
338 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
339 * sysdeps/i386/fpu/libm-test-ulps: Update.
340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
341
ab09bf61
AS
3422014-02-18 Andreas Schwab <schwab@suse.de>
343
344 [BZ #16574]
345 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
346 Store non-zero if the second buffer was newly allocated.
347 (send_dg): Likewise.
348 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
349 to send_vc and send_dg.
350 (res_nsend): Pass NULL for ansp2_malloced.
351 * resolv/res_query.c (__libc_res_nquery): Add parameter
352 answerp2_malloced and pass it down to __libc_res_nsend.
353 (res_nquery): Pass additional NULL to __libc_res_nquery.
354 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
355 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
356 second answer buffer if answerp2_malloced was set.
357 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
358 (__libc_res_nquerydomain): Add parameter
359 answerp2_malloced and pass it down to __libc_res_nquery.
360 (res_nquerydomain): Pass additional NULL to
361 __libc_res_nquerydomain.
362 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
363 additional NULL to __libc_res_nsend and __libc_res_nquery.
364 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
365 additional NULL to __libc_res_nsearch.
366 (_nss_dns_gethostbyname4_r): Revert last change. Use new
367 parameter of __libc_res_nsearch to check for separately allocated
368 second buffer.
369 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
370 __libc_res_nquery.
371 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
372 additional NULL to __libc_res_nquery.
373 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
374 __libc_res_nsearch.
375 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
376 * include/resolv.h: Update prototypes of __libc_res_nquery,
377 __libc_res_nsearch, __libc_res_nsend.
378
a4fb7861
JM
3792014-02-18 Joseph Myers <joseph@codesourcery.com>
380
c6af2d89
JM
381 * math/auto-libm-test-in: Add tests of fma.
382 * math/auto-libm-test-out: Regenerated.
383 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
384 (fma_towardzero_test_data): Likewise.
385 (fma_downward_test_data): Likewise.
386 (fma_upward_test_data): Likewise.
387 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
388 mpc_mode.
389 (rounding_modes): Add values for new field.
390 (func_calc_method): Add value mpfr_fff_f.
391 (func_calc_desc): Add mpfr_fff_f union field.
392 (test_function): Add field exact_args.
393 (FUNC): Add macro argument EXACT_ARGS.
394 (FUNC_mpfr_f_f): Update call to FUNC.
395 (FUNC_mpfr_f_f): Likewise.
396 (FUNC_mpfr_ff_f): Likewise.
397 (FUNC_mpfr_if_f): Likewise.
398 (FUNC_mpc_c_f): Likewise.
399 (FUNC_mpc_c_c): Likewise.
400 (test_functions): Add fma. Update calls to FUNC.
401 (handle_input_arg): Add argument exact_args.
402 (add_test): Update call to handle_input_arg.
403 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
404 (output_for_one_input_case): Update call to calc_generic_results.
405 Recalculate exact zero results in each rounding mode.
406
a4fb7861
JM
407 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
408 non-negative before setting low bit.
409 * math/auto-libm-test-in: Mark one asin test possibly having
410 spurious underflow.
411 * math/auto-libm-test-out: Regenerated.
412 * sysdeps/i386/fpu/libm-test-ulps: Update.
413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
414
ef114eaf
DH
4152014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
416
417 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
418 * sysdeps/unix/sysv/linux/microblaze: Move directory from
419 ports/sysdeps/unix/sysv/linux/microblaze.
420 * README: Add missing listing for microblaze*-*-linux-gnu.
421
c70a4b1d
MF
4222014-02-16 Mike Frysinger <vapier@gentoo.org>
423
424 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
425 * sysdeps/unix/sysv/linux/ia64: Move directory from
426 ports/sysdeps/unix/sysv/linux/ia64.
427 * README: Update listing for ia64-*-linux-gnu.
428
591aeaf7
TD
4292014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
430 Joseph Myers <joseph@codesourcery.com>
431
432 * Makeconfig (test-name): New variable.
433 (evaluate-test): Likewise.
434 * Makerules (do-test-clean): Remove .test-result files.
435 (common-mostlyclean): Likewise.
436 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
437 * scripts/evaluate-test.sh: New file.
438
6e89caf1
JM
4392014-02-14 Joseph Myers <joseph@codesourcery.com>
440
7f98f180
JM
441 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
442 separate $(objpfx)tst-fopenloc-cmp.out and
443 $(objpfx)tst-fopenloc-mem.out targets.
444 (tests): Update dependencies.
445 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
446 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
447 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
448 (tst-rxspencer-no-utf8-ARGS): New variable.
449 (tst-rxspencer-no-utf8-ENV): Likewise.
450 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
451 instead of $(objpfx)tst-rxspencer-mem.
452 ($(objpfx)tst-rxspencer-mem): Change target to
453 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
454 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
455 * posix/tst-rxspencer-no-utf8.c: New file.
456
6e89caf1
JM
457 * elf/Makefile ($(objpfx)order.out): Remove rule.
458 [$(run-built-tests) = yes] (tests): Depend on
459 $(objpfx)order-cmp.out.
460 ($(objpfx)order-cmp.out): New rule.
461 [$(run-built-tests) = yes] (tests): Depend on
462 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
463 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
464 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
465 $(objpfx)tst-array5-static-cmp.out.
466 ($(objpfx)tst-array1.out): Remove rule.
467 ($(objpfx)tst-array1-cmp.out): New rule.
468 ($(objpfx)tst-array1-static.out): Remove rule.
469 ($(objpfx)tst-array1-static-cmp.out): New rule.
470 ($(objpfx)tst-array2.out): Remove rule.
471 ($(objpfx)tst-array2-cmp.out): New rule.
472 ($(objpfx)tst-array3.out): Remove rule.
473 ($(objpfx)tst-array3-cmp.out): New rule.
474 ($(objpfx)tst-array4.out): Remove rule.
475 ($(objpfx)tst-array4-cmp.out): New rule.
476 ($(objpfx)tst-array5.out): Remove rule.
477 ($(objpfx)tst-array5-cmp.out): New rule.
478 ($(objpfx)tst-array5-static.out): Remove rule.
479 ($(objpfx)tst-array5-static-cmp.out): New rule.
480 [$(run-built-tests) = yes] (tests): Depend on
481 $(objpfx)order2-cmp.out.
482 ($(objpfx)order2.out): Remove rule.
483 ($(objpfx)order2-cmp.out): New rule.
484 ($(objpfx)tst-initorder.out): Remove rule.
485 [$(run-built-tests) = yes] (tests): Depend on
486 $(objpfx)tst-initorder-cmp.out.
487 ($(objpfx)tst-initorder-cmp.out): New rule.
488 ($(objpfx)tst-initorder2.out): Remove rule.
489 [$(run-built-tests) = yes] (tests): Depend on
490 $(objpfx)tst-initorder2-cmp.out.
491 ($(objpfx)tst-initorder2-cmp.out): New rule.
492 [$(run-built-tests) = yes] (tests): Depend on
493 $(objpfx)tst-unused-dep-cmp.out.
494 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
495 ($(objpfx)tst-unused-dep-cmp.out): New rule.
496 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
497 on $(objpfx)tst-setvbuf1-cmp.out.
498 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
499 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
500 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
501 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
502 ($(objpfx)tst-svc.out): Remove rule.
503 ($(objpfx)tst-svc-cmp.out): New rule.
504
ed9a38e2
JM
5052014-02-13 Joseph Myers <joseph@codesourcery.com>
506
507 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
508 * ctype/ctype.h [__USE_MISC]: Likewise.
509 * dirent/dirent.h [__USE_MISC]: Likewise.
510 * grp/grp.h [__USE_MISC]: Likewise.
511 * io/fcntl.h [__USE_MISC]: Likewise.
512 * io/sys/stat.h [__USE_MISC]: Likewise.
513 * libio/stdio.h [__USE_MISC]: Likewise.
514 * posix/unistd.h [__USE_MISC]: Likewise.
515 * pwd/pwd.h [__USE_MISC]: Likewise.
516 * stdlib.h [__USE_MISC]: Likewise.
517 * string/bits/string2.h [__USE_MISC]: Likewise.
518 * string/string.h [__USE_MISC]: Likewise.
519 * time/time.h [__USE_MISC]: Likewise.
520
d6680619
AS
5212014-02-13 Andreas Schwab <schwab@suse.de>
522
523 [BZ #16574]
524 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
525 second answer buffer if it was separately allocated.
526
ace614b8
JM
5272014-02-12 Joseph Myers <joseph@codesourcery.com>
528
743151ae
JM
529 * sysdeps/mips/math-tests.h: Include <features.h>.
530 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
531 (ROUNDING_TESTS_long_double): Do not define.
532 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
533 (EXCEPTION_TESTS_long_double): Likewise.
534 * sysdeps/mips/mips64/libm-test-ulps: Update.
535
498afc54
JM
536 * include/features.h (__USE_BSD): Remove macro definitions.
537 (__USE_SVID): Likewise.
538 (_BSD_SOURCE): Likewise.
539 (_SVID_SOURCE): Likewise.
540 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
541 from definition of _DEFAULT_SOURCE.
542 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
543 [_DEFAULT_SOURCE].
544 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
545 * bits/mman.h [__USE_BSD]: Likewise.
546 * bits/termios.h [__USE_BSD]: Likewise.
547 * bits/waitstatus.h [__USE_BSD]: Likewise.
548 * ctype/ctype.h [__USE_SVID]: Likewise.
549 * dirent/dirent.h [__USE_BSD]: Likewise.
550 * grp/grp.h [__USE_SVID]: Likewise.
551 [__USE_BSD]: Likewise.
552 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
553 * io/fcntl.h [__USE_BSD]: Likewise.
554 * io/ftw.h [__USE_BSD]: Likewise.
555 * io/sys/stat.h [__USE_BSD]: Likewise.
556 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
557 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
558 * libio/stdio.h [__USE_SVID]: Likewise.
559 [__USE_BSD]: Likewise.
560 * math/math.h [__USE_SVID]: Likewise.
561 [__USE_BSD]: Likewise.
562 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
563 * misc/bits/syslog.h [__USE_BSD]: Likewise.
564 * misc/search.h [__USE_SVID]: Likewise.
565 * misc/sys/mman.h [__USE_BSD]: Likewise.
566 * misc/sys/syslog.h [__USE_BSD]: Likewise.
567 * misc/sys/uio.h [__USE_BSD]: Likewise.
568 * posix/bits/unistd.h [__USE_BSD]: Likewise.
569 * posix/glob.h [__USE_BSD]: Likewise.
570 * posix/regex.h [__USE_BSD]: Likewise.
571 * posix/sys/types.h [__USE_BSD]: Likewise.
572 [__USE_SVID]: Likewise.
573 * posix/sys/utsname.h [__USE_SVID]: Likewise.
574 * posix/sys/wait.h [__USE_BSD]: Likewise.
575 [__USE_SVID]: Likewise.
576 * posix/unistd.h [__USE_BSD]: Likewise.
577 [__USE_SVID]: Likewise.
578 * pwd/pwd.h [__USE_SVID]: Likewise.
579 * resolv/netdb.h [__USE_BSD]: Likewise.
580 * setjmp/setjmp.h [__USE_BSD]: Likewise.
581 * signal/signal.h [__USE_BSD]: Likewise.
582 [__USE_SVID]: Likewise.
583 * socket/sys/socket.h [__USE_BSD]: Likewise.
584 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
585 * stdlib/stdlib.h [__USE_BSD]: Likewise.
586 [__USE_SVID]: Likewise.
587 * string/bits/string2.h [__USE_BSD]: Likewise.
588 [__USE_SVID]: Likewise.
589 * string/bits/string3.h [__USE_BSD]: Likewise.
590 * string/endian.h [__USE_BSD]: Likewise.
591 * string/string.h [__USE_SVID]: Likewise.
592 [__USE_BSD]: Likewise.
593 * string/strings.h [__USE_BSD]: Likewise.
594 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
595 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
596 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
597 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
598 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
599 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
600 Likewise.
601 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
602 Likewise.
603 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
604 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
605 Likewise.
606 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
607 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
608 Likewise.
609 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
610 Likewise.
611 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
612 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
613 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
614 Likewise.
615 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
616 Likewise.
617 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
618 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
619 * termios/termios.h [__USE_BSD]: Likewise.
620 * time/sys/time.h [__USE_BSD]: Likewise.
621 * time/time.h [__USE_BSD]: Likewise.
622 [__USE_SVID]: Likewise.
623
dd7b064c
JM
624 * Makefile (subdir_targets): Remove subdir_lint.out.
625
a2c4c199
JM
626 * stdio-common/Makefile (do-tst-unbputc): Remove target.
627 (do-tst-printf): Likewise.
628 (tests): Depend directly on $(objpfx)tst-unbputc.out and
629 $(objpfx)tst-printf.out.
630
8756f740
JM
631 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
632
1b6dd3f1
JM
633 * Makerules (check-abi-%): Change target to
634 $(objpfx)check-abi-%.out.
635 (check-abi target): Update dependencies.
636 (check-abi-pattern variable): Redirect output of diff to $@.
637 (check-abi variable): Likewise.
638 * elf/Makefile (check-abi): Update dependencies.
639
ace614b8
JM
640 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
641 unused.
642 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
643 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
644 subnormal range.
645 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
646 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
647 value has largest subnormal exponent.
648 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
649 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
650 * sysdeps/aarch64/soft-fp/sfp-machine.h
651 (_FP_TININESS_AFTER_ROUNDING): New macro.
652 * sysdeps/alpha/soft-fp/sfp-machine.h
653 (_FP_TININESS_AFTER_ROUNDING): Likewise.
654 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
655 Likewise.
656 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
657 (_FP_TININESS_AFTER_ROUNDING): Likewise.
658 * sysdeps/mips/soft-fp/sfp-machine.h
659 (_FP_TININESS_AFTER_ROUNDING): Likewise.
660 * sysdeps/powerpc/soft-fp/sfp-machine.h
661 (_FP_TININESS_AFTER_ROUNDING): Likewise.
662 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
663 Likewise.
664 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
665 (_FP_TININESS_AFTER_ROUNDING): Likewise.
666 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
667 (_FP_TININESS_AFTER_ROUNDING): Likewise.
668 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
669 Likewise.
670
fbfdf9cb
DAS
6712014-02-12 Dylan Alex Simon <dylan@dylex.net>
672
673 [BZ #16545]
674 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
675 model 1.
676
68b7efaa
RH
6772014-02-12 Richard Henderson <rth@redhat.com>
678
c70a4b1d 679 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
680 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
681 * sysdeps/unix/sysv/linux/alpha: Move directory from
682 ports/sysdeps/unix/sysv/linux/alpha.
683 * README: Update listing for alpha-*-linux-gnu.
684
cb4a2928
JM
6852014-02-11 Joseph Myers <joseph@codesourcery.com>
686
c941736c
JM
687 * include/features.h: Update comment documenting feature test
688 macros.
689 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
690 _DEFAULT_SOURCE.
691 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
692 (_SVID_SOURCE): Likewise.
693 (_DEFAULT_SOURCE): Update description of default features.
694 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
695 with _GNU_SOURCE.
696 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
697 (S_ISVTX): Likewise.
698 * manual/math.texi (Mathematical Constants): Likewise.
699 * manual/signal.texi (Interrupted Primitives): Likewise.
700 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
701 * math/test-matherr.c (_SVID_SOURCE): Do not define.
702 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
703 Don't refer to _SVID_SOURCE in warning text.
704
e8d8d7ec
JM
705 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
706
cb4a2928
JM
707 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
708 already defined.
709 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
710 * sysdeps/mips/dl-lookup.c: Remove.
711 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
712
7e6424e3
AK
7132014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
714
715 [BZ #16447]
716 * math/auto-libm-test-in: Add testcase for expl.
717 * math/auto-libm-test-out: Regenerate.
718 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
719 calculation of unsafe.
720 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
721
75eff3fe
MS
7222014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
723
724 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
725 * sysdeps/unix/sysv/linux/aarch64: Move directory from
726 ports/sysdeps/unix/sysv/linux/aarch64.
727 * README: Update listing for aarch64*-*-linux-gnu.
728
d35f1e80
WN
7292014-02-11 Will Newton <will.newton@linaro.org>
730
731 * manual/probes.texi (Mathematical Function Probes): Use
732 "triggered" instead of "hit".
733
7b3436d4
WN
7342014-02-11 Will Newton <will.newton@linaro.org>
735
736 * manual/probes.texi (Internal Probes): Add documentation
737 of setjmp, longjmp and longjmp_target probes.
738
b4f12ca3
WN
7392014-02-11 Will Newton <will.newton@linaro.org>
740
741 * include/stap-probe.h: Add comment about probe argument
742 format.
743
c13a72b7
WN
7442014-02-11 Will Newton <will.newton@linaro.org>
745
746 * malloc/mtrace.c (attribute_hidden): Remove unused macro
747 definition. (tr_where, tr_freehook, tr_mallochook,
748 tr_reallochook, tr_memalignhook): Use ANSI protoype.
749
195b8165
DM
7502014-02-11 David S. Miller <davem@davemloft.net>
751
752 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
753 processing int_tests.
754
2ad7600b
JM
7552014-02-10 Joseph Myers <joseph@codesourcery.com>
756
757 * sysdeps/mips: Move directory from ports/sysdeps/mips.
758 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
759 * sysdeps/unix/sysv/linux/mips: Move directory from
760 ports/sysdeps/unix/sysv/linux/mips.
761 * README: Update listing for mips-*-linux-gnu and
762 mips64-*-linux-gnu.
763
73588a72
AS
7642014-02-10 Andreas Schwab <schwab@linux-m68k.org>
765
766 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
767 * sysdeps/unix/sysv/linux/m68k: Move directory from
768 ports/sysdeps/unix/sysv/linux/m68k.
769 * README: Update listing for m68k-*-linux-gnu.
770
4372980f
CM
7712014-02-10 Chris Metcalf <cmetcalf@tilera.com>
772
773 * sysdeps/tile: Move directory from ports/sysdeps/tile.
774 * sysdeps/unix/sysv/linux/generic: Move directory from
775 ports/sysdeps/unix/sysv/linux/generic.
776 * sysdeps/unix/sysv/linux/tile: Move directory from
777 ports/sysdeps/unix/sysv/linux/tile.
778 * README: Update listing for tile*-*-linux-gnu.
779
a1ffb40e
OB
7802014-02-10 Ondřej Bílka <neleai@seznam.cz>
781
782 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
783 * benchtests/bench-memmem.c (simple_memmem): Likewise.
784 * catgets/open_catalog.c (__open_catalog): Likewise.
785 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
786 * debug/confstr_chk.c: Likewise.
787 * debug/fread_chk.c (__fread_chk): Likewise.
788 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
789 * debug/getgroups_chk.c: Likewise.
790 * debug/mbsnrtowcs_chk.c: Likewise.
791 * debug/mbsrtowcs_chk.c: Likewise.
792 * debug/mbstowcs_chk.c: Likewise.
793 * debug/memcpy_chk.c: Likewise.
794 * debug/memmove_chk.c: Likewise.
795 * debug/mempcpy_chk.c: Likewise.
796 * debug/memset_chk.c: Likewise.
797 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
798 * debug/strcat_chk.c (__strcat_chk): Likewise.
799 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
800 * debug/strncat_chk.c (__strncat_chk): Likewise.
801 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
802 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
803 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
804 * debug/wcpncpy_chk.c: Likewise.
805 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
806 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
807 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
808 * debug/wcsncpy_chk.c: Likewise.
809 * debug/wcsnrtombs_chk.c: Likewise.
810 * debug/wcsrtombs_chk.c: Likewise.
811 * debug/wcstombs_chk.c: Likewise.
812 * debug/wmemcpy_chk.c: Likewise.
813 * debug/wmemmove_chk.c: Likewise.
814 * debug/wmempcpy_chk.c: Likewise.
815 * debug/wmemset_chk.c: Likewise.
816 * dirent/scandirat.c (SCANDIRAT): Likewise.
817 * dlfcn/dladdr1.c (dladdr1): Likewise.
818 * dlfcn/dladdr.c (dladdr): Likewise.
819 * dlfcn/dlclose.c (dlclose_doit): Likewise.
820 * dlfcn/dlerror.c (__dlerror): Likewise.
821 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
822 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
823 * dlfcn/dlopen.c (dlopen_doit): Likewise.
824 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
825 * dlfcn/dlsym.c (dlsym_doit): Likewise.
826 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
827 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
828 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
829 Likewise.
830 * elf/dl-conflict.c: Likewise.
831 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
832 * elf/dl-dst.h: Likewise.
833 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
834 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
835 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
836 * elf/dl-init.c (call_init, _dl_init): Likewise.
837 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
838 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
839 _dl_map_object_from_fd, open_verify, open_path,
840 _dl_map_object): Likewise.
841 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
842 Likewise.
843 * elf/dl-minimal.c (__libc_memalign): Likewise.
844 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
845 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
846 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
847 * elf/dl-sym.c (do_sym): Likewise.
848 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
849 _dl_tls_get_addr_soft): Likewise.
850 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
851 * elf/dl-writev.h (_dl_writev): Likewise.
852 * elf/ldconfig.c (search_dir): Likewise.
853 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
854 dl_main): Likewise.
855 * elf/setup-vdso.h (setup_vdso): Likewise.
856 * grp/compat-initgroups.c (compat_call): Likewise.
857 * grp/fgetgrent.c (fgetgrent): Likewise.
858 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
859 * grp/putgrent.c (putgrent): Likewise.
860 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
861 Likewise.
862 * hurd/hurdinit.c: Likewise.
863 * iconvdata/8bit-gap.c (struct): Likewise.
864 * iconvdata/ansi_x3.110.c : Likewise.
865 * iconvdata/big5.c : Likewise.
866 * iconvdata/big5hkscs.c : Likewise.
867 * iconvdata/cp1255.c: Likewise.
868 * iconvdata/cp1258.c : Likewise.
869 * iconvdata/cp932.c : Likewise.
870 * iconvdata/euc-cn.c: Likewise.
871 * iconvdata/euc-jisx0213.c : Likewise.
872 * iconvdata/euc-jp.c: Likewise.
873 * iconvdata/euc-jp-ms.c : Likewise.
874 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
875 * iconvdata/gb18030.c : Likewise.
876 * iconvdata/gbbig5.c (const): Likewise.
877 * iconvdata/gbgbk.c: Likewise.
878 * iconvdata/gbk.c : Likewise.
879 * iconvdata/ibm1364.c : Likewise.
880 * iconvdata/ibm930.c : Likewise.
881 * iconvdata/ibm932.c: Likewise.
882 * iconvdata/ibm933.c : Likewise.
883 * iconvdata/ibm935.c : Likewise.
884 * iconvdata/ibm937.c : Likewise.
885 * iconvdata/ibm939.c : Likewise.
886 * iconvdata/ibm943.c: Likewise.
887 * iconvdata/iso_11548-1.c: Likewise.
888 * iconvdata/iso-2022-cn.c : Likewise.
889 * iconvdata/iso-2022-cn-ext.c : Likewise.
890 * iconvdata/iso-2022-jp-3.c: Likewise.
891 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
892 * iconvdata/iso-2022-kr.c : Likewise.
893 * iconvdata/iso646.c (gconv_end): Likewise.
894 * iconvdata/iso_6937-2.c : Likewise.
895 * iconvdata/iso_6937.c : Likewise.
896 * iconvdata/iso8859-1.c: Likewise.
897 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
898 * iconvdata/shift_jisx0213.c : Likewise.
899 * iconvdata/sjis.c : Likewise.
900 * iconvdata/t.61.c : Likewise.
901 * iconvdata/tcvn5712-1.c : Likewise.
902 * iconvdata/tscii.c: Likewise.
903 * iconvdata/uhc.c : Likewise.
904 * iconvdata/unicode.c (gconv_end): Likewise.
905 * iconvdata/utf-16.c (gconv_end): Likewise.
906 * iconvdata/utf-32.c (gconv_end): Likewise.
907 * iconvdata/utf-7.c (base64): Likewise.
908 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
909 * iconv/gconv_close.c (__gconv_close): Likewise.
910 * iconv/gconv_open.c (__gconv_open): Likewise.
911 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
912 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
913 internal_ucs4le_loop_single, ucs4le_internal_loop,
914 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
915 * iconv/iconv.c (iconv): Likewise.
916 * iconv/iconv_close.c: Likewise.
917 * iconv/loop.c (SINGLE): Likewise.
918 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
919 * include/atomic.h: Likewise.
920 * inet/inet6_option.c (option_alloc): Likewise.
921 * intl/bindtextdom.c (set_binding_values): Likewise.
922 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
923 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
924 * intl/localealias.c (read_alias_file): Likewise.
925 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
926 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
927 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
928 * libio/fmemopen.c (fmemopen): Likewise.
929 * libio/iofgets.c (_IO_fgets): Likewise.
930 * libio/iofgets_u.c (fgets_unlocked): Likewise.
931 * libio/iofgetws.c (fgetws): Likewise.
932 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
933 * libio/iogetdelim.c (_IO_getdelim): Likewise.
934 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
935 adjust_wide_data, _IO_wfile_seekoff): Likewise.
936 * locale/findlocale.c (_nl_find_locale): Likewise.
937 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
938 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
939 Likewise.
940 * locale/setlocale.c (setlocale): Likewise.
941 * login/programs/pt_chown.c (main): Likewise.
942 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
943 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
944 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
945 mmap, mmap64, mremap, munmap): Likewise.
946 * math/e_exp2l.c: Likewise.
947 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
948 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
949 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
950 * math/s_catan.c (__catan): Likewise.
951 * math/s_catanf.c (__catanf): Likewise.
952 * math/s_catanh.c (__catanh): Likewise.
953 * math/s_catanhf.c (__catanhf): Likewise.
954 * math/s_catanhl.c (__catanhl): Likewise.
955 * math/s_catanl.c (__catanl): Likewise.
956 * math/s_ccosh.c (__ccosh): Likewise.
957 * math/s_ccoshf.c (__ccoshf): Likewise.
958 * math/s_ccoshl.c (__ccoshl): Likewise.
959 * math/s_cexp.c (__cexp): Likewise.
960 * math/s_cexpf.c (__cexpf): Likewise.
961 * math/s_cexpl.c (__cexpl): Likewise.
962 * math/s_clog10.c (__clog10): Likewise.
963 * math/s_clog10f.c (__clog10f): Likewise.
964 * math/s_clog10l.c (__clog10l): Likewise.
965 * math/s_clog.c (__clog): Likewise.
966 * math/s_clogf.c (__clogf): Likewise.
967 * math/s_clogl.c (__clogl): Likewise.
968 * math/s_csin.c (__csin): Likewise.
969 * math/s_csinf.c (__csinf): Likewise.
970 * math/s_csinh.c (__csinh): Likewise.
971 * math/s_csinhf.c (__csinhf): Likewise.
972 * math/s_csinhl.c (__csinhl): Likewise.
973 * math/s_csinl.c (__csinl): Likewise.
974 * math/s_csqrt.c (__csqrt): Likewise.
975 * math/s_csqrtf.c (__csqrtf): Likewise.
976 * math/s_csqrtl.c (__csqrtl): Likewise.
977 * math/s_ctan.c (__ctan): Likewise.
978 * math/s_ctanf.c (__ctanf): Likewise.
979 * math/s_ctanh.c (__ctanh): Likewise.
980 * math/s_ctanhf.c (__ctanhf): Likewise.
981 * math/s_ctanhl.c (__ctanhl): Likewise.
982 * math/s_ctanl.c (__ctanl): Likewise.
983 * math/w_pow.c: Likewise.
984 * math/w_powf.c: Likewise.
985 * math/w_powl.c: Likewise.
986 * math/w_scalb.c (sysv_scalb): Likewise.
987 * math/w_scalbf.c (sysv_scalbf): Likewise.
988 * math/w_scalbl.c (sysv_scalbl): Likewise.
989 * misc/error.c (error_tail): Likewise.
990 * misc/pselect.c (__pselect): Likewise.
991 * nis/nis_callback.c (__nis_create_callback): Likewise.
992 * nis/nis_call.c (__nisfind_server): Likewise.
993 * nis/nis_creategroup.c (nis_creategroup): Likewise.
994 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
995 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
996 * nis/nis_getservlist.c (nis_getservlist): Likewise.
997 * nis/nis_lookup.c (nis_lookup): Likewise.
998 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
999 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
1000 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
1001 * nis/nis_xdr.c (xdr_endpoint): Likewise.
1002 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
1003 internal_getgrgid_r): Likewise.
1004 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
1005 Likewise.
1006 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
1007 internal_getpwuid_r): Likewise.
1008 * nis/nss_compat/compat-spwd.c (getspent_next_file,
1009 internal_getspnam_r): Likewise.
1010 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
1011 _nss_nis_getaliasbyname_r): Likewise.
1012 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
1013 _nss_nis_getntohost_r): Likewise.
1014 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
1015 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
1016 Likewise.
1017 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
1018 internal_nis_gethostent_r, internal_gethostbyname2_r,
1019 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
1020 _nss_nis_gethostbyname4_r): Likewise.
1021 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
1022 initgroups_netid): Likewise.
1023 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
1024 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
1025 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
1026 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
1027 _nss_nis_getprotobynumber_r): Likewise.
1028 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
1029 _nss_nis_getsecretkey): Likewise.
1030 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
1031 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
1032 Likewise.
1033 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
1034 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
1035 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
1036 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
1037 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
1038 _nss_nis_getspnam_r): Likewise.
1039 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
1040 Likewise.
1041 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
1042 _nss_nisplus_getntohost_r): Likewise.
1043 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
1044 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
1045 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
1046 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
1047 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
1048 Likewise.
1049 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
1050 _nss_nisplus_getnetbyaddr_r): Likewise.
1051 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
1052 _nss_nisplus_getprotobynumber_r): Likewise.
1053 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
1054 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
1055 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
1056 Likewise.
1057 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
1058 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
1059 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
1060 _nss_nisplus_getspnam_r): Likewise.
1061 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
1062 * nscd/aicache.c (addhstaiX): Likewise.
1063 * nscd/cache.c (cache_search, prune_cache): Likewise.
1064 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
1065 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
1066 * nscd/grpcache.c (addgrbyX): Likewise.
1067 * nscd/hstcache.c (addhstbyX): Likewise.
1068 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1069 * nscd/mem.c (gc, mempool_alloc): Likewise.
1070 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
1071 Likewise.
1072 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
1073 Likewise.
1074 * nscd/nscd_getai.c (__nscd_getai): Likewise.
1075 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1076 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
1077 Likewise.
1078 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
1079 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
1080 * nscd/nscd_helper.c (__readvall, open_socket,
1081 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
1082 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
1083 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
1084 * nscd/pwdcache.c (addpwbyX): Likewise.
1085 * nscd/selinux.c (preserve_capabilities): Likewise.
1086 * nscd/servicescache.c (addservbyX): Likewise.
1087 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
1088 * posix/fnmatch.c (fnmatch): Likewise.
1089 * posix/getopt.c (_getopt_internal_r): Likewise.
1090 * posix/glob.c (glob, glob_in_dir): Likewise.
1091 * posix/wordexp.c (exec_comm_child): Likewise.
1092 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
1093 gaih_getanswer_slice): Likewise.
1094 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
1095 * resolv/res_init.c: Likewise.
1096 * resolv/res_mkquery.c (res_nmkquery): Likewise.
1097 * resolv/res_query.c (__libc_res_nquery): Likewise.
1098 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
1099 Likewise.
1100 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
1101 * stdio-common/perror.c (perror): Likewise.
1102 * stdio-common/printf_fp.c (___printf_fp): Likewise.
1103 * stdio-common/tmpnam.c (tmpnam): Likewise.
1104 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1105 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
1106 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
1107 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
1108 * stdlib/putenv.c (putenv): Likewise.
1109 * stdlib/setenv.c (__add_to_environ): Likewise.
1110 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1111 * stdlib/strtol_l.c (INTERNAL): Likewise.
1112 * string/memmem.c (memmem): Likewise.
1113 * string/strerror.c (strerror): Likewise.
1114 * string/strnlen.c (__strnlen): Likewise.
1115 * string/test-memmem.c (simple_memmem): Likewise.
1116 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
1117 * sunrpc/pm_getport.c (__get_socket): Likewise.
1118 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
1119 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
1120 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
1121 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
1122 Likewise.
1123 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
1124 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1125 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
1126 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
1127 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
1128 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
1129 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
1130 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
1131 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
1132 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1133 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
1134 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
1135 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
1136 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1137 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
1138 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
1139 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
1140 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
1141 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
1142 Likewise.
1143 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
1144 Likewise.
1145 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
1146 Likewise.
1147 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
1148 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1149 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
1150 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
1151 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
1152 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
1153 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1154 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
1155 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
1156 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
1157 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
1158 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1159 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1160 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
1161 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1162 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
1163 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
1164 Likewise.
1165 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
1166 Likewise.
1167 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
1168 Likewise.
1169 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1170 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1171 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
1172 Likewise.
1173 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
1174 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
1175 * sysdeps/posix/opendir.c (__opendirat): Likewise.
1176 * sysdeps/posix/sleep.c: Likewise.
1177 * sysdeps/posix/tempname.c: Likewise.
1178 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
1179 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1180 Likewise.
1181 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
1182 elf_machine_rela): Likewise.
1183 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1184 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1185 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
1186 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
1187 Likewise.
1188 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
1189 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
1190 elf_machine_rela, elf_machine_lazy_rel): Likewise.
1191 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
1192 elf_machine_rela, elf_machine_lazy_rel): Likewise.
1193 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
1194 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
1195 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
1196 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1197 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
1198 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
1199 elf_machine_lazy_rel): Likewise.
1200 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
1201 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
1202 elf_machine_lazy_rel): Likewise.
1203 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
1204 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
1205 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
1206 * sysdeps/unix/grantpt.c (grantpt): Likewise.
1207 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
1208 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
1209 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
1210 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1211 Likewise.
1212 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
1213 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
1214 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
1215 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
1216 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1217 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1218 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
1219 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
1220 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
1221 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1222 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1223 Likewise.
1224 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
1225 (__posix_fallocate64_l64): Likewise.
1226 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
1227 (posix_fallocate): Likewise.
1228 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
1229 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1230 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
1231 getifaddrs_internal): Likewise.
1232 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
1233 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
1234 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
1235 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1236 * sysdeps/unix/sysv/linux/posix_fallocate64.c
1237 (__posix_fallocate64_l64): Likewise.
1238 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1239 Likewise.
1240 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
1241 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1242 Likewise.
1243 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
1244 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1245 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
1246 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1247 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1248 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
1249 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
1250 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
1251 Likewise.
1252 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
1253 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
1254 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
1255 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
1256 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1257 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
1258 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
1259 Likewise.
1260 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1261 (posix_fallocate): Likewise.
1262 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1263 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
1264 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
1265 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
1266 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
1267 Likewise.
1268 * time/asctime.c (asctime_internal): Likewise.
1269 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
1270 * time/tzset.c (__tzset_parse_tz): Likewise.
1271 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1272 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1273 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
1274 * wcsmbs/wcsmbsload.h: Likewise.
1275
f3d338c9
OB
12762014-02-10 Ondřej Bílka <neleai@seznam.cz>
1277
1278 [BZ #15894]
1279 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
1280
bdfe308a
OB
12812014-02-10 Ondřej Bílka <neleai@seznam.cz>
1282
1283 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
1284 arena_get2): Remove THREAD_STATS conditionals.
1285 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
1286 __malloc_stats, int): Likewise.
1287
d674667c
MF
12882014-02-08 Mike Frysinger <vapier@gentoo.org>
1289
1290 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
1291 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
1292
6349768c
MF
12932014-02-08 Mike Frysinger <vapier@gentoo.org>
1294
1295 * manual/setjmp.texi: Fix typos/grammar errors.
1296
0b7c7473
MF
12972014-02-08 Mike Frysinger <vapier@gentoo.org>
1298
1299 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
1300 Only return early when n is <= 0. Delete unused return statement.
1301
ac8cc9e3
MF
13022014-02-08 Mike Frysinger <vapier@gentoo.org>
1303
1304 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
1305 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
1306 * debug/tst-longjmp_chk3.c: New file.
1307
c5bb8e23
MF
13082014-02-08 Mike Frysinger <vapier@gentoo.org>
1309
1310 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
1311 (test_main): Replace code with set_fortify_handler call.
1312 * debug/test-strcpy_chk.c: Likewise.
1313 * debug/tst-chk1.c: Likewise.
1314 * debug/tst-longjmp_chk.c: Likewise.
1315 * test-skeleton.c: Include fcntl.h & paths.h
1316 (set_fortify_handler): Define.
1317
10444e42
MF
13182014-02-08 Mike Frysinger <vapier@gentoo.org>
1319
1320 * debug/tst-longjmp_chk.c: Add header comment and include
1321 ../test-skeleton.c.
1322 (do_test): Mark static.
1323 (TEST_FUNCTION): Define.
1324
1e805e8d
MF
13252014-02-08 Mike Frysinger <vapier@gentoo.org>
1326
1327 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
1328 (IP_PMTUDISC_INTERFACE): Likewise.
1329 (IP_MULTICAST_IF): Likewise.
1330 (IP_MULTICAST_TTL): Likewise.
1331 (IP_MULTICAST_LOOP): Likewise.
1332 (IP_ADD_MEMBERSHIP): Likewise.
1333 (IP_DROP_MEMBERSHIP): Likewise.
1334 (IP_UNBLOCK_SOURCE): Likewise.
1335 (IP_BLOCK_SOURCE): Likewise.
1336 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
1337 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
1338 (IP_MSFILTER): Likewise.
1339 (MCAST_JOIN_GROUP): Likewise.
1340 (MCAST_BLOCK_SOURCE): Likewise.
1341 (MCAST_UNBLOCK_SOURCE): Likewise.
1342 (MCAST_LEAVE_GROUP): Likewise.
1343 (MCAST_JOIN_SOURCE_GROUP): Likewise.
1344 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1345 (MCAST_MSFILTER): Likewise.
1346 (IP_MULTICAST_ALL): Likewise.
1347 (IP_UNICAST_IF): Likewise.
1348
73f79bb7
MF
13492014-02-08 Mike Frysinger <vapier@gentoo.org>
1350
1351 * timezone/Makefile: Delete $(have-ksh) check.
1352 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
1353 * timezone/tzselect.ksh: Add +x mode bits.
1354
8da79b60
MF
13552014-02-08 Mike Frysinger <vapier@gentoo.org>
1356
1357 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
1358 (ANON_INODE_FS_MAGIC): Likewise.
1359 (BDEVFS_MAGIC): Likewise.
1360 (BINFMTFS_MAGIC): Likewise.
1361 (BTRFS_TEST_MAGIC): Likewise.
1362 (CRAMFS_MAGIC_WEND): Likewise.
1363 (DEBUGFS_MAGIC): Likewise.
1364 (ECRYPTFS_SUPER_MAGIC): Likewise.
1365 (EXT3_SUPER_MAGIC): Likewise.
1366 (EXT4_SUPER_MAGIC): Likewise.
1367 (FUTEXFS_SUPER_MAGIC): Likewise.
1368 (HOSTFS_SUPER_MAGIC): Likewise.
1369 (HUGETLBFS_MAGIC): Likewise.
1370 (MINIX3_SUPER_MAGIC): Likewise.
1371 (MTD_INODE_FS_MAGIC): Likewise.
1372 (NILFS_SUPER_MAGIC): Likewise.
1373 (OPENPROM_SUPER_MAGIC): Likewise.
1374 (PIPEFS_MAGIC): Likewise.
1375 (PSTOREFS_MAGIC): Likewise.
1376 (QNX6_SUPER_MAGIC): Likewise.
1377 (RAMFS_MAGIC): Likewise.
1378 (REISERFS_SUPER_MAGIC_STRING): Likewise.
1379 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
1380 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
1381 (SECURITYFS_MAGIC): Likewise.
1382 (SELINUX_MAGIC): Likewise.
1383 (SMACK_MAGIC): Likewise.
1384 (SOCKFS_MAGIC): Likewise.
1385 (SQUASHFS_MAGIC): Likewise.
1386 (STACK_END_MAGIC): Likewise.
1387 (TMPFS_MAGIC): Likewise.
1388 (USBDEVICE_SUPER_MAGIC): Likewise.
1389 (V9FS_MAGIC): Likewise.
1390 (XENFS_SUPER_MAGIC): Likewise.
1391 (CRAMFS_MAGIC): Fix typo in comment.
1392 (EXT2_SUPER_MAGIC): Update comment.
1393 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
1394
464263cc
JM
13952014-02-08 Joseph Myers <joseph@codesourcery.com>
1396
c6bfe5c4
JM
1397 * sysdeps/arm: Move directory from ports/sysdeps/arm.
1398 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
1399 * sysdeps/unix/sysv/linux/arm: Move directory from
1400 ports/sysdeps/unix/sysv/linux/arm.
1401 * README: Update listing for arm-*-linux-gnueabi.
1402
464263cc
JM
1403 * README: Remove mention of am33.
1404
32749f6c
RM
14052014-02-07 Roland McGrath <roland@hack.frob.com>
1406
1407 * bits/sigset.h (__sigemptyset): Use a statement expression rather
1408 than the comma operator, to avoid "rhs of comma has no effect"
1409 compiler warnings.
1410 (__sigfillset, __sigandset, __sigorset): Likewise.
1411 * include/signal.h (__sigemptyset): Likewise.
1412 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
1413
d5b396c1
AM
14142014-02-07 Allan McRae <allan@archlinux.org>
1415
1416 * version.h (RELEASE): Set to "development".
1417 (VERSION): Set to "2.19.90"
1418 * NEWS: Add 2.20 section.
1419
3bfff2ed
CD
14202014-02-06 Carlos O'Donell <carlos@redhat.com>
1421
1422 [BZ #16529]
1423 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
1424
ee7cc385
SP
14252014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1426
1427 * manual/contrib.texi: Update entry for Carlos O'Donell,
1428 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
1429
f877c4f2
CD
14302014-02-05 Carlos O'Donell <carlos@rehdat.com>
1431
27e839f6
CD
1432 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
1433
f877c4f2
CD
1434 * sysdeps/unix/sysv/linux/kernel-features.h
1435 [__LINUX_KERNEL_VERSION >= 0x020621]
1436 (__ASSUME_PROC_PID_TASK_COMM): Define.
1437
68159946
SP
14382014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1439
1440 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
1441 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
1442 Leonard and Allan McRae.
1443
2b528732
DM
14442014-02-04 David S. Miller <davem@davemloft.net>
1445
1446 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
1447 32-bit.
1448
0ff82463
AZ
14492014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1450
c01603f7
AZ
1451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
1452 file
1453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1454 New file
1455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
1456 file.
1457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
1458 file.
1459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1460 New file.
1461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
1462 file.
1463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
1464 file.
1465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1466 New file.
1467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1468 New file.
1469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1470 New file.
1471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1472 New file.
1473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1474 New file.
1475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1476 New file.
1477
14782014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1479
0ff82463
AZ
1480 * nptl/shlib-versions: Change powerpc*le start to 2.17.
1481 * shlib-versions: Likewise.
1482
1695c773
AZ
14832014-02-04 Roland McGrath <roland@hack.frob.com>
1484 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1485
1486 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
1487 (abilist-pattern): New variable, set to %-le.abilist.
1488
1489 * Makerules (abilist-pattern): New variable.
1490 (vpath): Use $(abilist-pattern) in place of %.abilist.
1491 (check-abi-% pattern rule): Likewise.
1492 (check-abi, update-abi): Likewise.
1493
6c0ce4b4
EW
14942014-02-04 Eric Wong <normalperson@yhbt.net>
1495
1496 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1497
dc98b8f5
EW
14982014-02-04 Eric Wong <normalperson@yhbt.net>
1499
1500 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1501
481e3524
CD
15022014-02-03 Carlos O'Donell <carlos@redhat.com>
1503
1504 * manual/startup.texi: Add next, previous, and top entries for
1505 the `Program Arguments' and `Environment Variables' nodes.
1506
375592d3
AO
15072014-02-03 Alexandre Oliva <aoliva@redhat.com>
1508
1509 * manual/macros.texi: Add comments before MTASC-safety macros.
1510
f54838ba
AO
1511 * manual/users.texi: Document MTASC-safety properties.
1512
909e12ad
AO
1513 * manual/threads.texi (pthread_key_create, pthread_key_delete,
1514 pthread_getspecific, pthread_setspecific): Format with
1515 @deftypefun, and add @safety note.
1516 * manual/signal.texi: Move comments that analyze the above
1517 functions to their home place.
1518
fd3daba4
AM
15192014-02-03 Allan McRae <allan@archlinux.org>
1520
1521 * po/sl.po: Update Slovenian translation from translation project.
1522
597636d7
AO
15232014-02-02 Alexandre Oliva <aoliva@redhat.com>
1524
1525 * manual/time.texi (timegm): Add missing blank after @c.
1526 Reported by Joseph Myers <joseph@codesourcery.com>.
1527
ee196e3c
AO
15282014-02-01 Alexandre Oliva <aoliva@redhat.com>
1529
1530 * manual/check-safety.sh: New.
1531 * manual/Makefile ($(objpfx)stamp-summary): Run it.
1532
f8d529d5
AO
1533 * manual/terminal.texi: Document MTASC-safety properties.
1534
de55fdf4
AO
1535 * manual/filesys.texi: Document MTASC-safety properties.
1536
c3299c08
AO
1537 * manual/errno.texi: Document MTASC-safety properties.
1538
06e90b14
AO
1539 * manual/intro.texi: Document safety identifiers and
1540 conditionals.
1541
1acd4371
AO
1542 * manual/string.texi (wcstok): Fix prototype.
1543 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
1544
23e5b8cb
AO
1545 * manual/time.texi: Document MTASC-safety properties.
1546
11087373
AO
1547 * manual/string.texi: Document MTASC-safety properties.
1548
5da2c93d
AO
1549 * manual/threads.texi: Document MTASC-safety properties.
1550
171e9210
AO
1551 * manual/stdio.texi: Document MTASC-safety properties.
1552
d9e02532
AO
1553 * manual/syslog.texi: Document MTASC-safety properties.
1554
6af8bab7
AO
1555 * manual/sysinfo.texi: Document MTASC-safety properties.
1556
663b02d7
AO
1557 * manual/startup.texi: Document MTASC-safety properties.
1558
973f180b
AO
1559 * manual/socket.texi: Document MTASC-safety properties.
1560
8f3c25c8
AO
1561 * manual/signal.texi: Document MTASC-safety properties.
1562
542210fb
AO
15632014-01-31 Alexandre Oliva <aoliva@redhat.com>
1564
1565 * manual/setjmp.texi: Document MTASC-safety properties.
1566
433c45a2
AO
1567 * manual/search.texi: Document MTASC-safety properties.
1568
c8ce789c
AO
1569 * manual/resource.texi: Document MTASC-safety properties.
1570
19f5d29c
AO
1571 * manual/process.texi: Document MTASC-safety properties.
1572
e2dfb7f4
AO
1573 * manual/platform.texi: Document MTASC-safety properties.
1574
8c1413f5
AO
1575 * manual/pipe.texi: Document MTASC-safety properties.
1576
03483ada
AO
1577 * manual/pattern.texi: Document MTASC-safety properties.
1578
29e7e2df
AO
1579 * manual/message.texi: Document MTASC-safety properties.
1580
9f529d7c
AO
1581 [BZ #12751]
1582 * manual/memory.texi: Document MTASC-safety properties.
1583
27aaa791
AO
1584 * manual/math.texi: Document MTASC-safety properties.
1585
f2d58726
AO
1586 * manual/locale.texi: Document MTASC-safety properties.
1587
2cc3615c
AO
1588 * manual/llio.texi: Document MTASC-safety properties.
1589
d9f0ec97
AO
1590 * manual/libdl.texi: New.
1591
e7c4409a
AO
1592 * manual/lang.texi: Document MTASC-safety properties.
1593
27bdc63c
AO
1594 * manual/job.texi: Document MTASC-safety properties.
1595
a7b90ea9
AO
1596 * manual/getopt.texi: Document MTASC-safety properties.
1597
c49130e3
AO
1598 * manual/ctype.texi: Document MTASC-safety properties.
1599
0d23a5c1
MR
16002014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
1601
1602 [BZ #16046]
1603 * csu/libc-tls.c (static_map): Remove variable.
1604 (__libc_setup_tls): Use main executable's link map for TLS data.
1605 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
1606 casing for LM_ID_BASE and GL(dl_nns).
1607 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
1608 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
1609 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
1610 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
1611 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
1612 member.
1613 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
1614 l_phnum members.
1615
0037bb60
AO
16162014-01-30 Alexandre Oliva <aoliva@redhat.com>
1617
1618 * manual/debug.texi: Document MTASC-safety properties.
1619
409e00bd
L
16202014-01-29 H.J. Lu <hongjiu.lu@intel.com>
1621
1622 [BZ #16510]
1623 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
1624 of __x86_64__ when disabling x87 inline functions.
1625
86e60666
AO
16262014-01-29 Alexandre Oliva <aoliva@redhat.com>
1627
1628 * manual/charset.texi: Document MTASC-safety properties.
1629
76167637
AO
1630 * manual/crypt.texi: Document MTASC-safety properties.
1631
e567f2a0
AO
1632 * manual/conf.texi: Document MTASC-safety properties.
1633
b719dafd
AO
1634 * manual/arith.texi: Document MTASC-safety properties.
1635
4a16c662
AO
1636 * manual/argp.texi: Document MTASC-safety properties.
1637
0a57b83e
AO
1638 * manual/macros.texi: Introduce macros to document multi
1639 thread, asynchronous signal and asynchronous cancellation
1640 safety properties.
1641 * manual/intro.texi: Introduce the properties themselves.
1642
feab2397
KK
16432014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1644
1645 * sysdeps/sh/sh4/Makefile: New file.
1646
1c0d11bc
AS
16472014-01-27 Andreas Schwab <schwab@linux-m68k.org>
1648
1649 * math/gen-libm-test.pl ($srcdir): New variable.
1650 ($auto_input): Use it.
1651
af37a8a3
SP
16522014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1653
d7b00f98
SP
1654 [BZ #16506]
1655 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
1656 access beyond array bounds when parsing netgroups file.
1657
af37a8a3
SP
1658 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
1659 the old buffer before realloc.
1660
0c00f062
AM
16612014-01-27 Allan McRae <allan@archlinux.org>
1662
1663 * po/fr.po: Update French translation from translation project.
1664
7d69a1b0
KK
16652014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1666
1667 * sysdeps/sh/libm-test-ulps: Regenerate.
1668
6e697ff7
DM
16692014-01-24 David S. Miller <davem@davemloft.net>
1670
1671 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
1672
9cadb35c
KK
16732014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1674
1675 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
1676 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
1677
5d41dadf
SP
16782013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1679
1680 [BZ #16474]
1681 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
1682 string pointers after reallocation.
1683
0bad441c
KK
16842014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1685
1686 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
1687 __SH4A__ instead of __SH_FPU_ANY__.
1688
7007c661
KK
16892014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1690
1691 * sysdeps/sh/fpu_control.h: New file.
1692 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
1693 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
1694 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
1695 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
1696 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
1697 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
1698 * sysdeps/sh/sys/ucontext.h: Remove.
1699 * sysdeps/sh/sys: Remove directory.
1700
0f0c35e4
AK
17012014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1702
1703 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
1704 s390/sys/ucontext.h.
1705 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1706 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
1707
4959e284
L
17082014-01-20 H.J. Lu <hongjiu.lu@intel.com>
1709
1710 [BZ #15605]
1711 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
1712
d98720e0
AZ
17132014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1714
1715 [BZ#16431]
1716 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1717 Adjust the vDSO correctly for internal calls.
1718 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
1719
91cbd0bc
AM
17202014-01-20 Allan McRae <allan@archlinux.org>
1721
1722 * po/ca.po: Update Catalan translation from translation project.
1723
7a02cfad
MF
17242014-01-16 Mike Frysinger <vapier@gentoo.org>
1725
1726 * sysdeps/s390/sotruss-lib.c: New file.
1727
736c304a
AZ
17282014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1729
1730 [BZ#16430]
6e077ee5 1731 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
1732 (__GI___gettimeofday): Alias for a different internal symbol to avoid
1733 local calls issues by not having a PLT stub required for IFUNC calls.
1734 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
1735
94d0cea0
JM
17362014-01-16 Joseph Myers <joseph@codesourcery.com>
1737
1738 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
1739 * math/test-fpucw-static.c: Likewise.
1740
980cb518
SP
17412013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1742
1743 [BZ #16453]
1744 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
1745
2393fc01
AZ
17462014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1747
1748 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
1749 implementation for powerpc.
1750
d359bcc2
OB
17512014-01-15 Ondřej Bílka <neleai@seznam.cz>
1752
1753 [BZ #14782]
1754 * sysdeps/posix/system.c (__libc_system): Do not enable
1755 asynchronous cancellation.
1756
7beb48cb
AK
17572014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1758
1759 [BZ #16427]
1760 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
1761 handling only for numbers special also in the IEEE case.
1762
c20d5bf5
AK
17632014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1764
1765 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1766
e83bd4ee
AM
17672014-01-11 Allan McRae <allan@archlinux.org>
1768
76d0ea69
AM
1769 * po/bg.po: Update Bulgarian translation from translation project.
1770
e83bd4ee
AM
1771 * po/de.po: Update German translation from translation project.
1772
bc2ba20a
RM
17732014-01-10 Roland McGrath <roland@hack.frob.com>
1774
1775 * sysdeps/generic/gcc-compat.h: New file.
1776
649ecea2
SP
17772014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1778
1779 * benchtests/asin-inputs: Correct slow inputs.
1780 * benchtests/acos-inputs: Likewise.
1781
1b19c006
AM
17822014-01-10 Allan McRae <allan@archlinux.org>
1783
a46dab08
AM
1784 * po:sv.po: Update Swedish translation from translation project.
1785
421df74a
AM
1786 * po/vi.po: Update Vietnamese translation from translation project.
1787
d61c51a7
AM
1788 * po/eo.po: Update Esperanto translation from translation project.
1789
0339a319
AM
1790 * po/cs.po: Update Czech translation from translation project.
1791
94ad3e99
AM
1792 * po/nl.po: Update Dutch translation from translation project.
1793
e349ca71
AM
1794 * po/pl.po: Update Polish translation from translation project.
1795
ddf930c1
AM
1796 * po/ru.po: Update Russian translation from translation project.
1797
1b19c006
AM
1798 * po/uk.po: Update Ukrainian translation from translation project.
1799
9f236c49
BM
18002014-01-08 Brooks Moses <bmoses@google.com>
1801
1802 * elf/dl-load.c: Fix comment typo.
1803
cd6701cf
CD
18042014-01-08 Carlos O'Donell <carlos@redhat.com>
1805
1806 * po/header.pot: Rename to...
1807 * po/pot.header: ... this.
1808 * po/Makefile: Use pot.header.
1809
66671c84
YK
18102014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
1811 Maxim Kuvyrkov <maxim@kugelworks.com>
1812
1813 [BZ #16394]
cd6701cf
CD
1814 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
1815 SRC and DEST against LEN.
66671c84 1816
38f34581
AZ
18172014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1818
1819 [BZ #16414]
1820 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
1821 implementation.
1822 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
1823
18242014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
1825
1826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1827
4c327f2a
JM
18282014-01-08 Joseph Myers <joseph@codesourcery.com>
1829
1830 [BZ #16408]
1831 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
1832 for large positive arguments.
1833
b821f414
JM
18342014-01-07 Joseph Myers <joseph@codesourcery.com>
1835
1f0f2067
JM
1836 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1837
a5a326f6
JM
1838 * math/auto-libm-test-in: Mark various tests with
1839 xfail-rounding:ldbl-128ibm.
1840 * math/auto-libm-test-out: Regenerated.
1841
b821f414
JM
1842 [BZ #16407]
1843 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1844 Increase overflow threshold.
1845
94c8a4bc
OB
18462014-01-07 Ondřej Bílka <neleai@seznam.cz>
1847
1848 [BZ #14286]
1849 * stdio-common/vfprintf.c: Check for integer overflow.
1850
87ded0c3
AK
18512014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1852
1853 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
1854 the first argument and return value of __tls_get_addr_internal.
1855
c5eebdd0
AK
18562014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1857
1858 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
1859 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
1860
05d138ef
AK
18612014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1862
1863 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
1864 * sysdeps/s390/rtld-global-offsets.sym: New file.
1865 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
1866 GLIBC_2.19 symbol.
1867 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
1868 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
1869 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1870 ... this.
1871 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
1872 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1873 ... this.
1874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1875 Regenerate.
1876 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1877 Regenerate.
1878 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
1879 halfs of GPRs for high_gprs contexts.
1880 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
1881 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
1882 field.
1883 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
1884 uc_flags field.
1885 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
1886 64 bit versions:
1887 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
1888 for high GPRs (uc_high_gprs) and for future extensions
1889 (__reserved).
1890 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
1891 for future extensions (__reserved).
1892 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
1893 64 bit versions:
1894 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
1895 SC_HIGHGPRS offset definition.
1896 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
1897 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
1898
93a45ff1
AK
18992014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1900
1901 * Versions.def: Add GLIBC_2.19 for libpthread.
1902 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
1903 siglongjmp for libpthread with GLIBC_2.19 symver.
1904 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
1905 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
1906 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
1907 * sysdeps/s390/__longjmp.c: New file.
1908 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
1909 * sysdeps/s390/longjmp.c: New file.
1910 * sysdeps/s390/setjmp.S: New file.
1911 * sysdeps/s390/sigjmp.S: New file.
1912 * sysdeps/s390/v1-longjmp.c: New file.
1913 * sysdeps/s390/v1-setjmp.h: New file.
1914 * sysdeps/s390/v1-sigjmp.c: New file.
1915 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
1916 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
1917 GLIBC_2.19 version.
1918 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
1919 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
1920 versioned symbols for ____longjmp_chk.
1921 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1922 Likewise.
1923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1924 Regenerate.
1925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1926 Regenerate.
1927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1928 Regenerate.
1929 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1930 Regenerate.
1931 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
1932 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
1933 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
1934 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
1935 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
1936 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
1937 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
1938 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
1939 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
1940 * sysdeps/s390/rtld-__longjmp.c: New file.
1941 * sysdeps/s390/rtld-setjmp.S: New file.
1942
eb3fc44b
JM
19432014-01-06 Joseph Myers <joseph@codesourcery.com>
1944
1945 [BZ #16400]
1946 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1947 Return -__logl (x) for small positive arguments without evaluating
1948 a polynomial.
1949
9341dde4
MF
19502014-01-06 Mike Frysinger <vapier@gentoo.org>
1951
1952 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
1953 Rename to ...
1954 (__ptrace_peeksiginfo_args): ... this.
1955 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1956 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1957 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1958
4cff0293
AM
19592014-01-06 Allan McRae <allan@archlinux.org>
1960
1961 * inet/netinet/in.h: Fix typo in comment.
1962
75595dcf
AJ
19632014-01-05 Andreas Jaeger <aj@suse.de>
1964
1965 * sysdeps/i386/fpu/libm-test-ulps: Update.
1966
79c1e109
AM
19672014-01-05 Allan McRae <allan@archlinux.org>
1968
dd804818
AM
1969 * po/libc.pot: Regenerated.
1970
79c1e109
AM
1971 * malloc/memusagestat.c: Fix gettext call formatting.
1972
0c813d1f
SK
19732014-01-04 Sami Kerola <kerolasa@iki.fi>
1974
1975 * nscd/nscd.c: Improve usage() output.
1976
20f4a8d9
MF
19772014-01-04 Mike Frysinger <vapier@gentoo.org>
1978
1979 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
1980 * sysdeps/unix/sysv/linux/configure: Regenerated.
1981 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
1982 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
1983
22562bb2
JM
19842014-01-03 Joseph Myers <joseph@codesourcery.com>
1985
1986 [BZ #16390]
1987 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1988 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
1989
d7ad2d9b
AZ
19902014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1991
1992 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
1993 extra tokens at end of #undef directive.
1994 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
1995 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
1996 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1997
7dd009d8
JM
19982014-01-03 Joseph Myers <joseph@codesourcery.com>
1999
24db925a
JM
2000 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2001
7dd009d8
JM
2002 * math/auto-libm-test-in: Mark various tests with
2003 xfail-rounding:ldbl-128ibm.
2004 * math/auto-libm-test-out: Regenerated.
2005
396e3ecf
JM
20062014-01-02 Joseph Myers <joseph@codesourcery.com>
2007
819e5d50
JM
2008 [BZ #16386]
2009 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
2010 numbers with subnormal high part when calculating exponent.
2011
90b6a1e5
JM
2012 [BZ #16385]
2013 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
2014 fabs.
2015
396e3ecf
JM
2016 [BZ #16384]
2017 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
2018 M_LN2l.
2019 (__ieee754_acoshl): Use __log1pl not __log1p.
2020
6c8dbf00
OB
20212013-01-02 Ondřej Bílka <neleai@seznam.cz>
2022
2023 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
2024 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
2025 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
2026 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
2027 Convert to GNU style.
2028 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
2029 mem2mem_check, mem2chunk_check, top_check, realloc_check,
2030 memalign_check, __malloc_set_state): Likewise.
2031 * malloc/mallocbug.c (main): Likewise.
2032 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
2033 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
2034 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
2035 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
2036 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
2037 * malloc/malloc.h: Likewise.
2038 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
2039 memalignhook, reallochook, mabort): Likewise.
2040 * malloc/mcheck.h: Likewise.
2041 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
2042 mmap64, mremap, munmap, dest): Likewise.
2043 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
2044 * malloc/morecore.c (__default_morecore): Likewise.
2045 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
2046 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
2047 _obstack_allocated_p, obstack_free, _obstack_memory_used,
2048 print_and_abort): Likewise.
2049 * malloc/obstack.h: Likewise.
2050 * malloc/set-freeres.c (__libc_freeres): Likewise.
2051 * malloc/tst-mallocstate.c (main): Likewise.
2052 * malloc/tst-mtrace.c (main): Likewise.
2053 * malloc/tst-realloc.c (do_test): Likewise.
2054
d4124212
SP
20552013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2056
9a3c6a6f
SP
2057 [BZ #16366]
2058 * nscd/netgroupcache.c (do_notfound): New function.
2059 (addgetnetgrentX): Use it.
2060
d4124212
SP
2061 [BZ # 16365]
2062 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
2063 NSS_STATUS_NOTFOUND.
2064
97b9a009
JM
20652014-01-01 Joseph Myers <joseph@codesourcery.com>
2066
2067 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2069
d4697bc9
AM
20702014-01-01 Allan McRae <allan@archlinux.org>
2071
ddb3687f
AM
2072 * scripts/update-copyrights: Update configure input file suffix.
2073
88726d48
AM
2074 * NEWS: Update copyright year.
2075 * catgets/gencat.c: Likewise.
2076 * csu/version.c: Likewise.
2077 * debug/catchsegv.sh: Likewise.
2078 * debug/pcprofiledump.c: Likewise.
2079 * debug/xtrace.sh: Likewise.
2080 * elf/ldconfig.c: Likewise.
2081 * elf/ldd.bash.in: Likewise.
2082 * elf/pldd.c: Likewise.
2083 * elf/sotruss.ksh: Likewise.
2084 * elf/sprof.c: Likewise.
2085 * iconv/iconv_prog.c: Likewise.
2086 * iconv/iconvconfig.c: Likewise.
2087 * locale/programs/locale.c: Likewise.
2088 * locale/programs/localedef.c: Likewise.
2089 * login/programs/pt_chown.c: Likewise.
2090 * malloc/memusage.sh: Likewise.
2091 * malloc/memusagestat.c: Likewise.
2092 * malloc/mtrace.pl: Likewise.
2093 * manual/libc.texinfo: Likewise.
2094 * nscd/nscd.c: Likewise.
2095 * nss/getent.c: Likewise.
2096 * nss/makedb.c: Likewise.
2097 * posix/getconf.c: Likewise.
2098 * scripts/test-installation.pl: Likewise.
2099
d4697bc9
AM
2100 * All files with FSF copyright notices: Update copyright dates
2101 using scripts/update-copyrights.
2102 * intl/plural.c: Regenerated.
2103 * locale/programs/charmap-kw.h: Likewise.
2104 * locale/programs/locfile-kw.h: Likewise.
2105
c8590f9d
MF
21062013-12-31 Mike Frysinger <vapier@gentoo.org>
2107
2108 * sysdeps/unix/sysv/linux/configure: Regenerated.
2109 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
2110 the linux/fanotify.h header.
2111 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
2112 HAVE_LINUX_FANOTIFY_H is defined.
2113
b19221b9
SP
21142013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2115
dd1d85e5
SP
2116 * benchtests/cos-inputs: New inputs.
2117 * benchtests/sin-inputs: Likewise.
2118
1acbb90f
SP
2119 * benchtests/atan-inputs: New inputs. Fix name of multiple
2120 precision fallback inputs.
2121
4c012ed3
SP
2122 * benchtests/atanh-inputs: New inputs.
2123 * benchtests/tanh-inputs: Likewise.
2124
eff98324
SP
2125 * benchtests/acosh-inputs: New inputs.
2126 * benchtests/asinh-inputs: Likewise.
2127
ce641152
SP
2128 * benchtests/cosh-inputs: New inputs.
2129 * benchtests/sinh-inputs: Likewise.
2130
b19221b9
SP
2131 * benchtests/acos-inputs: Add more inputs.
2132 * benchtests/asin-inputs: Likewise.
2133
030a4976 21342013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 2135
030a4976 2136 [BZ #16375]
9dcc8f11
VS
2137 * manual/arith.texi: Fix spelling.
2138 * manual/charset.texi: Likewise.
2139 * manual/errno.texi: Likewise.
2140 * manual/filesys.texi: Likewise.
2141 * manual/lang.texi: Likewise.
2142 * manual/llio.texi: Likewise.
2143 * manual/locale.texi: Likewise.
2144 * manual/message.texi: Likewise.
2145 * manual/resource.texi: Likewise.
2146 * manual/search.texi: Likewise.
2147 * manual/setjmp.texi: Likewise.
2148 * manual/stdio.texi: Likewise.
2149 * manual/string.texi: Likewise.
2150 * manual/sysinfo.texi: Likewise.
2151 * manual/time.texi: Likewise.
2152
11520a57
CD
21532013-12-27 Carlos O'Donell <carlos@redhat.com>
2154
2155 * po/sl.po: New file.
2156
471103ae
MF
21572013-12-27 Mike Frysinger <vapier@gentoo.org>
2158
2159 * .gitignore: Add core/.gdbinit/.gdb_history.
2160
6c9642ed
AM
21612013-12-27 Allan McRae <allan@archlinux.org>
2162
2163 [BZ #16369]
2164 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
2165 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
2166
3f637079
BM
21672013-12-24 Brooks Moses <bmoses@google.com>
2168
2169 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
2170 all compilers that claim C++98 compliance, not just GCC.
2171 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
2172 Likewise.
2173
abc26e99
MK
21742013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
2175
2176 * NEWS: Restore accidentally deleted bug-fix entries.
2177
362b47fe
MK
21782013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
2179 Ondřej Bílka <neleai@seznam.cz>
2180
2181 [BZ #15073]
2182 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 2183 have_lock.
362b47fe 2184
b9bcbbcb
OB
21852013-12-23 Ondřej Bílka <neleai@seznam.cz>
2186
2187 [BZ #12986]
2188 * manual/stdio.texi (String Input Conversions): Clarify that character
2189 classes are not supported.
2190
fb55fcd2
AZ
21912013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2192
2193 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2194
ef7344f0
JM
21952013-12-22 Joseph Myers <joseph@codesourcery.com>
2196
4f40e4b3
JM
2197 [BZ #16337]
2198 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2199 Calculate results for small negative arguments directly rather
2200 than using reflection formula with special underflow handling.
2201
ef7344f0
JM
2202 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
2203 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
2204 sysdeps/unix/bsd/bsd4.4/syscalls.list.
2205 (fchflags): Likewise.
2206 (revoke): Likewise.
2207 (setlogin): Likewise.
2208 (sigaltstack): Likewise.
2209 (wait4): Likewise.
2210 (sigblock): Remove.
2211 (sigsetmask): Likewise.
2212 (wait3): Likewise.
2213 (waitpid): Likewise.
2214 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
2215 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
2216 file.
2217 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
2218 * sysdeps/unix/bsd/Makefile: ... here.
2219 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
2220 * sysdeps/unix/bsd/Versions: ... here.
2221 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
2222 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
2223 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
2224 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
2225 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
2226 * sysdeps/unix/bsd/sigblock.c: ... here.
2227 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
2228 * sysdeps/unix/bsd/sigsetmask.c: ... here.
2229 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
2230 * sysdeps/unix/bsd/sigvec.c: ... here.
2231 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
2232 * sysdeps/unix/bsd/tcdrain.c: ... here.
2233 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
2234 * sysdeps/unix/bsd/tcgetattr.c: ... here.
2235 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
2236 * sysdeps/unix/bsd/tcsetattr.c: ... here.
2237 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
2238 * sysdeps/unix/bsd/wait.c: ... here.
2239 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
2240 * sysdeps/unix/bsd/wait3.c: ... here.
2241 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
2242 * sysdeps/unix/bsd/waitpid.c: ... here.
2243
5b0626b9
JM
22442013-12-21 Joseph Myers <joseph@codesourcery.com>
2245
2246 [BZ #16356]
2247 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
2248 round-to-nearest for [!USE_AS_EXPM1L].
2249 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
2250 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
2251 more tests of exp and exp10. Expect some exp10 tests to miss
2252 exceptions or fail in directed rounding modes.
2253 * math/auto-libm-test-out: Regenerated.
2254 * math/libm-test.inc (exp10_tonearest_test_data): New array.
2255 (exp10_test_tonearest): New function.
2256 (exp10_towardzero_test_data): New array.
2257 (exp10_test_towardzero): New function.
2258 (exp10_downward_test_data): New array.
2259 (exp10_test_downward): New function.
2260 (exp10_upward_test_data): New array.
2261 (exp10_test_upward): New function.
2262 (main): Call the new functions.
2263 * sysdeps/i386/fpu/libm-test-ulps: Update.
2264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2265
7fda5682
JM
22662013-12-20 Joseph Myers <joseph@codesourcery.com>
2267
31e3a405
JM
2268 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2269 asinh, atan, atan2, atanh, cbrt, cos and cosh.
2270 * math/auto-libm-test-out: Regenerated.
2271 * math/libm-test.inc (acosh_test_data): Add more tests.
2272 (atanh_test_data): Likewise.
2273 (ceil_test_data): Likewise.
2274 (copysign_test_data): Likewise.
2275 * sysdeps/i386/fpu/libm-test-ulps: Update.
2276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2277
85bff96a
JM
2278 * timezone/checktab.awk: Update from tzcode 2013i.
2279 * timezone/private.h: Likewise.
2280 * timezone/scheck.c: Likewise.
2281 * timezone/tzfile.h: Likewise.
2282 * timezone/tzselect.ksh: Likewise.
2283 * timezone/zdump.c: Likewise.
2284 * timezone/zic.c: Likewise.
2285
b7867a3b
JM
2286 * math/auto-libm-test-in: Add tests of cpow.
2287 * math/auto-libm-test-out: Regenerated.
2288 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
2289 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
2290 mpc_cc_c.
2291 (func_calc_desc): Add mpc_cc_c union field.
2292 (test_functions): Add cpow.
2293 (special_fill_2pi): New function.
2294 (special_real_inputs): Add 2pi.
2295 (calc_generic_results): Handle mpc_cc_c.
2296 * sysdeps/i386/fpu/libm-test-ulps: Update.
2297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2298
7fda5682
JM
2299 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
2300 csqrt, ctan and ctanh.
2301 * math/auto-libm-test-out: Regenerated.
2302 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2303 (TEST_COND_x86): Likewise.
2304 (ccos_test_data): Use AUTO_TESTS_c_c.
2305 (ccosh_test_data): Likewise.
2306 (cexp_test_data): Likewise.
2307 (clog_test_data): Likewise.
2308 (csqrt_test_data): Likewise.
2309 (ctan_test_data): Likewise.
2310 (ctan_tonearest_test_data): Likewise.
2311 (ctan_towardzero_test_data): Likewise.
2312 (ctan_downward_test_data): Likewise.
2313 (ctan_upward_test_data): Likewise.
2314 (ctanh_test_data): Likewise.
2315 (ctanh_tonearest_test_data): Likewise.
2316 (ctanh_towardzero_test_data): Likewise.
2317 (ctanh_downward_test_data): Likewise.
2318 (ctanh_upward_test_data): Likewise.
2319 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2320 mpc_c_c.
2321 (func_calc_desc): Add mpc_c_c union field.
2322 (FUNC_mpc_c_c): New macro.
2323 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
2324 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
2325 ctanh.
2326 (special_fill_min_subnorm_p120): New function.
2327 (special_real_inputs): Add min_subnorm_p120.
2328 (calc_generic_results): Handle mpc_c_c.
2329 * sysdeps/i386/fpu/libm-test-ulps: Update.
2330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2331
5ff8d60e
SP
23322013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2333
392dd2de
SP
2334 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
2335 do_sin_slow): New functions.
2336 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
2337 cslow2, csloww1, csloww2): Use the new functions.
2338
84ba214c
SP
2339 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
2340 Use M to change sign of result instead of X. Assume X is
2341 positive.
2342 (csloww1): Likewise.
2343 (__sin): Adjust.
2344 (__cos): Adjust.
2345
975195e4
SP
2346 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
2347 arguments A and DA.
2348 (__sin): Adjust.
2349 (__cos): Likewise.
2350
5ff8d60e
SP
2351 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
2352 (__cos): Likewise.
2353 (sloww1): Don't adjust sign of DX.
2354 (csloww1): Likewise.
2355 (sloww2): Use X directly and don't adjust sign of DX.
2356 (csloww2): Likewise.
2357
eb983568
JM
23582013-12-19 Joseph Myers <joseph@codesourcery.com>
2359
64a17f1a
JM
2360 * math/auto-libm-test-in: Add tests of cabs and carg.
2361 * math/auto-libm-test-out: Regenerated.
2362 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
2363 (carg_test_data): Likewise.
2364 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2365 mpc_c_f.
2366 (func_calc_desc): Add mpc_c_f union field.
2367 (test_functions): Add cabs and carg.
2368 (calc_generic_results): Handle mpc_c_f.
2369
eb983568
JM
2370 * sysdeps/powerpc/powerpc32/libgcc-compat.S
2371 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
2372 as a macro and a compat symbol.
2373 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2374 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2375 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2376 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2377 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
2378 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
2379 not use .hidden.
2380 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
2381 Likewise.
2382 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
2383 Likewise.
2384 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
2385 Likewise.
2386 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
2387 Likewise.
2388 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
2389 Likewise.
2390 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
2391 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
2392 from GLIBC_2.3.2.
2393
6eeb678a
AZ
23942013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2395
2396 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2397
6f6fc482
JM
23982013-12-19 Joseph Myers <joseph@codesourcery.com>
2399
21fea2e2
JM
2400 * manual/texinfo.tex: Update to version 2013-11-26.10 with
2401 trailing whitespace removed.
2402 * scripts/config.guess: Update to version 2013-11-29.
2403 * scripts/config.sub: Update to version 2013-10-01.
2404
6f6fc482
JM
2405 * math/auto-libm-test-in: Add tests of sincos.
2406 * math/auto-libm-test-out: Regenerated.
2407 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
2408 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2409 mpfr_f_11.
2410 (func_calc_desc): Add mpfr_f_11 union field.
2411 (test_functions): Add sincos.
2412 (calc_generic_results): Handle mpfr_f_11.
2413 * sysdeps/i386/fpu/libm-test-ulps: Update.
2414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2415
83f5c32d
AS
24162013-12-19 Andreas Schwab <schwab@suse.de>
2417
2418 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
2419 CALL_MCOUNT.
2420 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2421 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
2422 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
2423
c688b419
JM
24242013-12-19 Joseph Myers <joseph@codesourcery.com>
2425
335ee092
JM
2426 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
2427 * sysdeps/i386/fpu/libm-test-ulps: Update.
2428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2429
f88acd39
JM
2430 [BZ #16293]
2431 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
2432 round-to-nearest mode when using frndint.
2433 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
2434 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2435 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2436 Likewise.
2437 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
2438 sinh test to fail.
2439 * math/auto-libm-test-out: Regenerated.
2440 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
2441 (TEST_COND_x86): Likewise.
2442 (expm1_tonearest_test_data): New array.
2443 (expm1_test_tonearest): New function.
2444 (expm1_towardzero_test_data): New array.
2445 (expm1_test_towardzero): New function.
2446 (expm1_downward_test_data): New array.
2447 (expm1_test_downward): New function.
2448 (expm1_upward_test_data): New array.
2449 (expm1_test_upward): New function.
2450 (main): Run the new test functions.
2451 * sysdeps/i386/fpu/libm-test-ulps: Update.
2452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2453
c688b419
JM
2454 * include/features.h: Update comment documenting feature test
2455 macros. Mention _DEFAULT_SOURCE in comment.
2456 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
2457 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
2458 _BSD_SOURCE and _SVID_SOURCE.
2459 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
2460 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
2461 !_SVID_SOURCE]: Likewise.
2462 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2463 (__USE_POSIX_IMPLICITLY): Define.
2464 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2465 (_POSIX_SOURCE): Undefine and redefine.
2466 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2467 (_POSIX_C_SOURCE): Likewise.
2468 * manual/creature.texi (_DEFAULT_SOURCE): Document.
2469 (Feature Test Macros): Update documentation of default features.
2470
9f6e964c
RS
24712013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2472
2473 * benchtests/Makefile: Add bench-strtok.
2474 * benchtests/bench-strtok.c: New file: strtok benchtest.
2475
ee0a148a
AM
24762013-12-19 Allan McRae <allan@archlinux.org>
2477
2478 * manual/install.texi: Suppress menu for plain text output.
2479 * INSTALL: Regenerated.
2480
b9ab448f
BM
24812013-12-18 Brooks Moses <bmoses@google.com>
2482
2483 [BZ #15846]
2484 * misc/getauxval.c: Include errno.h.
2485 (__getauxval): Set errno to ENOENT if the requested type is not
2486 found.
2487 * misc/sys/auxv.h (getauxval): Document that it may set errno;
2488 don't declare with __attribute_const__.
2489 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
2490 * manual/startup.texi: Document that getauxval sets errno.
2491
23776487
JM
24922013-12-18 Joseph Myers <joseph@codesourcery.com>
2493
f889953b
JM
2494 * math/auto-libm-test-in: Add tests of jn and yn.
2495 * math/auto-libm-test-out: Regenerated.
2496 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
2497 (yn_test_data): Likewise.
2498 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2499 mpfr_if_f.
2500 (func_calc_desc): Add mpfr_if_f union field.
2501 (FUNC_mpfr_if_f): New macro.
2502 (test_functions): Add jn and yn.
2503 (calc_generic_results): Assert type of second input for
2504 mpfr_ff_f. Handle mpfr_if_f.
2505 (output_for_one_input_case): Disable all checking for arguments
2506 fitting floating-point types in case of an integer argument.
2507 * sysdeps/i386/fpu/libm-test-ulps: Update.
2508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2509
23776487
JM
2510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2511 Don't expect fegetround reference in libm.so.
2512
cb756c6d
MS
25132013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2514
2515 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
2516 $(config-cflags-nofma).
2517
2dec468f
JM
25182013-12-18 Joseph Myers <joseph@codesourcery.com>
2519
5953eb3a
JM
2520 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
2521 * math/auto-libm-test-out: Regenerated.
2522
2dec468f
JM
2523 [BZ #16338]
2524 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
2525 to determine exponent and adjust argument to have exponent of -1.
2526 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
2527 log2.
2528 * math/auto-libm-test-out: Regenerated.
2529 * sysdeps/i386/fpu/libm-test-ulps: Update.
2530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2531
4d84e6ad
OB
25322013-12-18 Ondřej Bílka <neleai@seznam.cz>
2533
2534 * manual/probes.texi: Remove cases when per-thread arenas are
2535 disabled.
2536
1818483b
AS
25372013-12-18 Andreas Schwab <schwab@suse.de>
2538
2539 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
2540 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
2541 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
2542 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
2543 * sysdeps/i386/i686/multiarch/Makefile: Update.
2544 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
2545
25de95bf
JM
25462013-12-17 Joseph Myers <joseph@codesourcery.com>
2547
2548 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
2549 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
2550
674762d9
PE
25512013-12-17 Paul Eggert <eggert@cs.ucla.edu>
2552
ed27ed83 2553 [BZ #15968]
0748546f
PE
2554 Support TZ transition times < 00:00:00.
2555 This is needed for version-3 tz-format files; it supports time
2556 stamps past 2037 for America/Godthab (the only entry in the tz
2557 database for which this change is relevant).
2558 * manual/time.texi (TZ Variable): Document transition times
2559 from -167:59:59 through -00:00:01.
2560 * time/tzset.c (tz_rule): Time of day is now signed.
2561 (__tzset_parse_tz): Parse negative time of day.
2562
4480e934
PE
2563 Document TZ transition times >= 25:00:00.
2564 * manual/time.texi (TZ Variable): Document transition times from
2565 25:00:00 through 167:59:59. These are already supported, and this
2566 support will help with version-3 tz-format files.
2567
69947401
PE
2568 * manual/time.texi (TZ Variable): Modernize North America example
2569 to reflect current (i.e., 2007-and-later) daylight saving rules.
2570
674762d9
PE
2571 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
2572
7011c262
JM
25732013-12-17 Joseph Myers <joseph@codesourcery.com>
2574
2fc6557e
JM
2575 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
2576 * sysdeps/unix/bsd/bits/stat.h: Likewise.
2577 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
2578 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2579 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
2580 * sysdeps/unix/bsd/bsdstat.h: Likewise.
2581 * sysdeps/unix/bsd/clock.c: Likewise.
2582 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
2583 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
2584 * sysdeps/unix/bsd/init-posix.c: Likewise.
2585 * sysdeps/unix/bsd/poll.c: Likewise.
2586 * sysdeps/unix/bsd/ptsname.c: Likewise.
2587 * sysdeps/unix/bsd/seekdir.c: Likewise.
2588 * sysdeps/unix/bsd/setegid.c: Likewise.
2589 * sysdeps/unix/bsd/seteuid.c: Likewise.
2590 * sysdeps/unix/bsd/setgid.c: Likewise.
2591 * sysdeps/unix/bsd/setrgid.c: Likewise.
2592 * sysdeps/unix/bsd/setruid.c: Likewise.
2593 * sysdeps/unix/bsd/setsid.c: Likewise.
2594 * sysdeps/unix/bsd/setuid.c: Likewise.
2595 * sysdeps/unix/bsd/sigaction.c: Likewise.
2596 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
2597 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
2598 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
2599 * sysdeps/unix/bsd/telldir.c: Likewise.
2600 * sysdeps/unix/bsd/times.c: Likewise.
2601 * sysdeps/unix/bsd/usleep.c: Likewise.
2602
029c7b25
JM
2603 * misc/Makefile (install-lib): Remove libbsd-compat.a.
2604 ($(objpfx)libbsd-compat.a): Remove rule.
2605
7011c262
JM
2606 * include/features.h (__FAVOR_BSD): Do not define.
2607 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
2608 features conflicting with POSIX.
2609 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
2610 (_BSD_SOURCE): Remove description of not being a subset of other
2611 feature test macros.
2612 * manual/job.texi (getpgrp): Do not document BSD version.
2613 (getpgid): Do not document by reference to BSD getpgrp.
2614 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
2615 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
2616 * signal/signal.h [__FAVOR_BSD]: Likewise.
2617 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
2618 instead of making contents conditional on [__FAVOR_BSD].
2619 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
2620
affb6f78
AZ
26212013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2622
2623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2624
c88769dd
JM
26252013-12-17 Joseph Myers <joseph@codesourcery.com>
2626
6432a540
JM
2627 [BZ #16314]
2628 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
2629 values below 2**-450, not 2**-500.
2630 * math/auto-libm-test-in: Don't allow spurious underflow from
2631 hypot.
2632 * math/auto-libm-test-out: Regenerated.
2633
c88769dd
JM
2634 [BZ #16316]
2635 [BZ #16330]
2636 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
2637 values of ha and hb and sort them after adjusting subnormal
2638 arguments.
2639 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2640 Likewise.
2641 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
2642 values of ea and eb and sort them after adjusting subnormal
2643 arguments.
2644 * math/auto-libm-test-in: Do not expect some hypot tests of
2645 subnormals to fail. Add more hypot tests.
2646 * math/auto-libm-test-out: Regenerated.
2647
29618f6b
KK
26482013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2649
2650 [BZ #13304]
2651 * sysdeps/sh/s_fma.c: New file.
2652 * sysdeps/sh/s_fmaf.c: New file.
2653 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
2654 version.
2655 * sysdeps/sh/Implies: Add sh/soft-fp.
2656
eacfdfbf
RM
26572013-12-16 Roland McGrath <roland@hack.frob.com>
2658
2659 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
2660 level of indirection to members `objname', `errstring', `malloced'.
2661 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
2662 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
2663 it as the __longjmp argument (just pass 1 instead).
2664 (_dl_catch_error): Initialize C with argument pointers and address of
2665 volatile local ERRCODE rather than copying values out of C at return.
2666
ff362e5b
JM
26672013-12-16 Joseph Myers <joseph@codesourcery.com>
2668
2669 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
2670 * math/auto-libm-test-out: Regenerated.
2671 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
2672 (hypot_test_data): Likewise.
2673 (pow_test_data): Likewise.
2674 (pow_tonearest_test_data): Likewise.
2675 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2676 mpfr_ff_f.
2677 (func_calc_desc): Add mpfr_ff_f union field.
2678 (FUNC_mpfr_ff_f): New macro.
2679 (test_functions): Add atan2, hypot and pow.
2680 (special_fill_min): New function.
2681 (special_fill_minus_min): Likewise.
2682 (special_fill_min_subnorm): Likewise.
2683 (special_fill_minus_min_subnorm): Likewise.
2684 (special_real_inputs): Add min, -min, min_subnorm and
2685 -min_subnorm.
2686 (calc_generic_results): Handle mpfr_ff_f.
2687 * sysdeps/i386/fpu/libm-test-ulps: Update.
2688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2689
5764c27f
WN
26902013-12-16 Will Newton <will.newton@linaro.org>
2691
2692 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
2693 (Aligned Memory Blocks): Add documentation for aligned_alloc
2694 and suggest it as an alternative to posix_memalign.
2695 (Hooks for Malloc): Document __memalign_hook is also called
2696 for aligned_alloc. (Summary of Malloc): Add summary for
2697 aligned alloc. Document __memalign_hook is also called
2698 for aligned_alloc.
2699
0a096e44
WN
27002013-12-16 Will Newton <will.newton@linaro.org>
2701
2702 * manual/memory.texi (Malloc Examples): Clarify default
2703 alignment documentation. Suggest posix_memalign rather
2704 than memalign or valloc.
2705 (Aligned Memory Blocks): Remove suggestion to use memalign
2706 or valloc. Remove obsolete comment about BSD.
2707 Document memalign errno values and mark the function obsolete.
2708 Document posix_memalign returned error codes. Mark valloc
2709 as obsolete. (Hooks for Malloc): __memalign_hook is also
2710 called for posix_memalign and valloc.
2711 (Summary of Malloc): Add posix_memalign to function summary.
2712 __memalign_hook is also called for posix_memalign and valloc.
2713
8d561986
SP
27142013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2715
2716 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
2717 TAYLOR_SIN.
2718 (__sin): Adjust.
2719 (__cos): Likewise.
2720 (sloww): Use mynumber union. Expand ternary operator into
2721 if-else statements.
2722 (cslow): use mynumber union.
2723
73616a74
AM
27242013-12-16 Allan McRae <allan@archlinux.org>
2725
9e8ac24b
AM
2726 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
2727 * configure: Regenerated.
2728
6f8e37eb
AM
2729 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
2730
8894bad3
AM
2731 [BZ #14120]
2732 * configure.ac: Added --enable-maintainer-mode. Check for
2733 autoconf when enabled.
2734 * configure: Regenerated.
2735
73616a74
AM
2736 * nscd/nscd.service: New file.
2737 * nscd/nscd.tmpfiles: New file.
2738
584b18eb
OB
27392013-12-14 Ondřej Bílka <neleai@seznam.cz>
2740
2741 [BZ #12100]
2742 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
2743 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
2744 * sysdeps/x86_64/multiarch/strstr.c: ... here.
2745 (strstr): Add __strstr_sse2_unaligned ifunc.
2746 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
2747 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
2748 (strcasestr): Remove __strcasestr_sse42 ifunc.
2749 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
2750 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2751 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2752
8a5c7897
KK
27532013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2754
2755 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
2756 * sysdeps/sh/bits/fenv.h: ... here.
2757 * sysdeps/sh/sh4/fpu/bits: Remove directory.
2758
fd712ef3
AZ
27592013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2760
2761 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
2762
42fcb46c
AZ
27632013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2764
2765 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
2766 hypotf multiarch implementations.
2767 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
2768 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
2769 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
2770 multiarch hypot for PPC64.
2771 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
2772 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
2773 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
2774 multiarch hypotf for PPC64.
2775
83efded4
AZ
27762013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2777
2778 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
2779 modff multiarch implementations.
2780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
2781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
2782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
2783 multiarch modf for PPC64.
2784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
2785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
2786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
2787 multiarch modff for PPC64.
2788
43e246d2
AZ
27892013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2790
2791 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
2792 and logl multiarch implementations.
2793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
2794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
2795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
2796 multiarch logb for PPC64.
2797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
2798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
2799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
2800 multiarch logb for PPC64.
2801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
2802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
2803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
2804 multiarch logb for PPC64.
2805
8fdad123
AZ
28062013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2807
2808 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
2809 isinff multiarch implementation.
2810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
2811 file.
2812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
2813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
2814 multiarch isinf for PPC64.
2815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
2816 file.
2817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
2818 multiarch isinff for PPC64.
2819
1481d706
AZ
28202013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2821
2822 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
2823 finitef multiarch implementation.
2824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
2825 file.
2826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
2827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
2828 multiarch finite for PPC64.
2829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
2830 file.
2831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
2832 multiarch finitef for PPC64.
2833
5ccd5fc8
AZ
28342013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2835
2836 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
2837 lrint multiarch implementation.
2838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
2839 file.
2840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
2841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
2842 multiarch llrint for PPC64.
2843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
2844 multiarch lrint for PPC64.
2845
2568f3fa
AZ
28462013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2847
2848 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
2849 copysignf multiarch implementation.
2850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
2851 file.
2852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
2853 file.
2854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
2855 multiarch copysign for PPC64.
2856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
2857 multiarch copysignf for PPC64.
2858
1cb341fd
AZ
28592013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2860
2861 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
2862 multiarch implementation.
2863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
2864 file.
2865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
2866 file.
2867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
2868 file.
2869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
2870 file.
2871 multiarch llround for PPC64.
2872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
2873 multiarch trunc for PPC64.
2874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
2875 multiarch truncf for PPC64.
2876
59a3e194
AZ
28772013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2878
2879 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
2880 multiarch implementation.
2881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
2882 file.
2883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
2884 file.
2885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
2886 file.
2887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
2888 file.
2889 multiarch llround for PPC64.
2890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
2891 multiarch round for PPC64.
2892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
2893 multiarch roundf for PPC64.
2894
357fd3b4
AZ
28952013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2896
2897 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
2898 multiarch implementation.
2899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
2900 file.
2901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
2902 file.
2903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
2904 file.
2905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
2906 file.
2907 multiarch llround for PPC64.
2908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
2909 multiarch floor for PPC64.
2910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
2911 multiarch floorf for PPC64.
2912
96770f12
AZ
29132013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2914
2915 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
2916 multiarch implementation.
2917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
2918 file.
2919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
2920 file.
2921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
2922 file.
2923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
2924 file.
2925 multiarch llround for PPC64.
2926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
2927 multiarch ceil for PPC64.
2928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
2929 multiarch ceilf for PPC64.
2930
c3627f6e
AZ
29312013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2932
2933 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
2934 multiarch implementation.
2935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
2936 file.
2937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
2938 file.
2939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
2940 file.
2941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
2942 multiarch llround for PPC64.
2943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
2944 multiarch lround for PPC64.
2945
b2284ad7
AZ
29462013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2947
2948 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
2949 multiarch implementation.
2950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
2951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
2952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
2953 file.
2954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
2955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
2956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
2957 multiarch isnan for PPC64.
2958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
2959 multiarch isnanf for PPC64.
2960
69bbc63d
AZ
29612013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2962
2963 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
2964 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
2965 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
2966 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
2967 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
2968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
2969
c24517c9
AZ
29702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2971
2972 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
2973 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2974 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2975 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2976
a52374e8
AZ
29772013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2978
2979 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
2980 multiarch implementations.
2981 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2982 (__libc_ifunc_impl_list): Likewise.
2983 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2984 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
2985 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
2986 multiarch stpcpy for PPC64.
2987
7f5ec113
AZ
29882013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2989
2990 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
2991 multiarch implementations.
2992 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2993 (__libc_ifunc_impl_list): Likewise.
2994 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
2995 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
2996 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
2997 multiarch strcpy for PPC64.
2998
e28bcd42
AZ
29992013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3000
3001 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
3002 redefine function name.
3003 (_wordcopy_fwd_dest_aligned): Likewise.
3004 (_wordcopy_bwd_aligned): Likewise.
3005 (_wordcopy_bwd_dest_aligned): Likewise.
3006 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
3007 multiarch implementations.
3008 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3009 (__libc_ifunc_impl_list): Likewise.
3010 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
3011 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
3012 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
3013 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
3014 multiarch wcscpy for PPC64.
3015
92cacfce
AZ
30162013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3017
3018 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
3019 multiarch implementations.
3020 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3021 (__libc_ifunc_impl_list): Likewise.
3022 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
3023 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
3024 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
3025 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
3026 multiarch wcscpy for PPC64.
3027
7b714620
AZ
30282013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3029
3030 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
3031 multiarch implementations.
3032 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3033 (__libc_ifunc_impl_list): Likewise.
3034 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
3035 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
3036 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
3037 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
3038 multiarch wcsrchr for PPC64.
3039
16fd2ae3
AZ
30402013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3041
3042 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
3043 multiarch implementations.
3044 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3045 (__libc_ifunc_impl_list): Likewise.
3046 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
3047 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
3048 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
3049 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
3050 multiarch wcschr for PPC64.
3051
9ee2969b
AZ
30522013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3053
3054 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
3055 multiarch implementations.
3056 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3057 (__libc_ifunc_impl_list): Likewise.
3058 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
3059 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
3060 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
3061 multiarch strchrnul for PPC64.
3062
372dc060
AZ
30632013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3064
3065 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
3066 implementations.
3067 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3068 (__libc_ifunc_impl_list): Likewise.
3069 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
3070 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
3071 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
3072 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
3073 strchr for PPC64.
3074
24c2c3b9
AZ
30752013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3076
3077 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
3078 implementations.
3079 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3080 (__libc_ifunc_impl_list): Likewise.
3081 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
3082 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
3083 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
3084 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
3085 strncmp for PPC64.
3086
1c92d9a0
AZ
30872013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3088
3089 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
3090 multiarch implementations.
3091 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3092 (__libc_ifunc_impl_list): Likewise.
3093 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
3094 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
3095 strncasecmp for PPC64.
3096 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
3097 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
3098 multiarch strncasecmp_l for PPC64.
3099
17de3ee3
AZ
31002013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3101
3102 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
3103 multiarch implementations.
3104 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3105 (__libc_ifunc_impl_list): Likewise.
3106 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
3107 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
3108 multiarch strcasecmp for PPC64.
3109 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
3110 file.
3111 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
3112 multiarch strcasecmp_l for PPC64.
3113
62982bf9
AZ
31142013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3115
3116 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
3117 implementations.
3118 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3119 (__libc_ifunc_impl_list): Likewise.
3120 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
3121 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
3122 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
3123 strnlen for PPC64.
3124
a65f4904
AZ
31252013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3126
3127 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
3128 implementations.
3129 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3130 (__libc_ifunc_impl_list): Likewise.
3131 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
3132 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
3133 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
3134 strlen for PPC64.
3135
1fd005ad
AZ
31362013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3137
3138 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
3139 implementations.
3140 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3141 (__libc_ifunc_impl_list): Likewise.
3142 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
3143 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
3144 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
3145 rawmemrchr for PPC64.
3146
cd05ba91
AZ
31472013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3148
3149 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
3150 implementation.
3151 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3152 (__libc_ifunc_impl_list): Likewise.
3153 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
3154 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
3155 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
3156 memrchr for PPC64.
3157
870f8676
AZ
31582013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3159
3160 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
3161 implementation.
3162 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3163 (__libc_ifunc_impl_list): Likewise.
3164 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
3165 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
3166 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
3167 memchr for PPC64.
3168
f00be62b
AZ
31692013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3170
3171 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
3172 implementation.
3173 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3174 (__libc_ifunc_impl_list): Likewise.
3175 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
3176 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
3177 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
3178 mempcpy for PPC64.
3179
8a29a3d0
AZ
31802013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3181
3182 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
3183 avoid cretion of __bzero symbol.
3184 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
3185 Likewise.
3186 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
3187 Likewise.
3188 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
3189 Likewise.
3190 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
3191 multiarch implementations.
3192 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3193 (__libc_ifunc_impl_list): Likewise.
3194 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
3195 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
3196 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
3197 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
3198 bzero for PPC32.
3199 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
3200 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
3201 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
3202 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
3203 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
3204 memset for PPC64.
3205 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
3206
07253fcf
AZ
32072013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3208
3209 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
3210 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
3211 implementations.
3212 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3213 (__libc_ifunc_impl_list): Likewise.
3214 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
3215 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
3216 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
3217 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
3218 memcmp for PPC64.
3219
b5beafbc
AZ
32202013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3221
3222 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
3223 multiarch for POWER/PPC64.
3224 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3225 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
3226 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
3227 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
3228 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
3229 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
3230 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
3231 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
3232 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
3233 memcpy for PPC64.
3234
5e6a4d4b
AZ
32352013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3236
3237 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
3238 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
3239 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
3240 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
3241 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
3242 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
3243 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
3244 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
3245 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
3246 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
3247 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
3248 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
3249 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
3250 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
3251 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
3252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
3253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
3254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
3255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
3256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
3257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
3258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
3259
ddfab6dc
KK
32602013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3261
3262 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
3263
19b5525e
SP
32642013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3265
3266 * benchtests/Makefile (bench): Add exp2 and log2.
3267 (LDLIBS-bench-exp2): Add -lm.
3268 (LDLIBS-bench-log2): Likewise.
3269 * benchtests/exp2-inputs: New inputs file.
3270 * benchtests/log2-inputs: New inputs file.
3271 * benchtests/log-inputs: Add new inputs.
3272 * benchtests/tan-inputs: Likewise.
3273
196f7f5d
SP
32742013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3275
7a74607f
SP
3276 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
3277 definition...
3278 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
3279 csloww1, csloww2): ... from here.
3280
196f7f5d
SP
3281 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
3282 instead of structures.
3283 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
3284 (POLYNOMIAL): Likewise.
3285 (TAYLOR_SLOW): Likewise.
3286 (__sin): Likewise.
3287 (__cos): Likewise.
3288 (slow1): Likewise.
3289 (slow2): Likewise.
3290 (sloww): Likewise.
3291 (sloww1); Likewise.
3292 (sloww2): Likewise.
3293 (bsloww1): Likewise.
3294 (bsloww2): Likewise.
3295 (cslow2): Likewise.
3296 (csloww): Likewise.
3297 (csloww1): Likewise.
3298 (csloww2): Likewise.
3299
0dfa665c
OB
33002013-12-10 Ondřej Bílka <neleai@seznam.cz>
3301
3302 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
3303 (__malloc_assert, __libc_realloc, __libc_calloc,
3304 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
3305 memcpy and memset.
3306 * malloc/hooks.c (realloc_check): Likewise.
3307
5782a80f
OB
33082013-12-10 Ondřej Bílka <neleai@seznam.cz>
3309
3310 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
3311 * malloc/arena.c: Remove PER_THREAD conditional.
3312 [!PER_THREAD]: Remove code.
3313 (ptmalloc_unlock_all2): Likewise.
3314 (ptmalloc_init): Likewise.
3315 (_int_new_arena): Likewise.
3316 (arena_get2): Likewise.
3317 * malloc/hooks.c (__malloc_get_state): Likewise.
3318 (__malloc_set_state): Likewise.
3319 * malloc/malloc.c: Likewise.
3320 (struct malloc_state): Likewise.
3321 (struct malloc_par): Likewise.
3322 (__libc_realloc): Likewise.
3323 (__libc_mallopt): Likewise.
3324
aeb95445
AZ
33252013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3326
3327 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
3328
e8349efd
OB
33292013-12-09 Ondřej Bílka <neleai@seznam.cz>
3330
3331 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
3332 macro to a function. Check for zero perturb_byte.
3333 (_int_malloc, _int_free): Remove zero perturb_byte checks.
3334
f3eeb3fc
OB
33352013-12-09 Ondřej Bílka <neleai@seznam.cz>
3336
3337 * malloc/malloc.c: (force_reg): Remove.
3338 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
3339 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
3340 force_reg by atomic_forced_read.
3341 * malloc/arena.c (ptmalloc_init): Likewise.
3342 * malloc/hooks.c (top_check): Likewise.
3343
be2f9009
AZ
33442013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3345
3346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3347
e7b914bd
MT
33482013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
3349
3350 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3351
9f0be4f8
JM
33522013-12-08 Joseph Myers <joseph@codesourcery.com>
3353
3354 * math/auto-libm-test-in: Add tests of lgamma.
3355 * math/auto-libm-test-out: Regenerated.
3356 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
3357 (M_LOG_2_SQRT_PIl): Likewise.
3358 (lgamma_test_data): Use AUTO_TESTS_f_f1.
3359 * math/gen-auto-libm-tests.c (func_calc_method): Add value
3360 mpfr_f_f1.
3361 (func_calc_desc): Add mpfr_f_f1 union field.
3362 (ARGS1): New macro.
3363 (ARGS2): Likewise.
3364 (ARGS3): Likewise.
3365 (ARGS4): Likewise.
3366 (RET1): Likewise.
3367 (RET2): Likewise.
3368 (CALC): Likewise.
3369 (FUNC): Likewise.
3370 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
3371 (test_functions): Add lgamma.
3372 (calc_generic_results): Handle mpfr_f_f1.
3373 * sysdeps/i386/fpu/libm-test-ulps: Update.
3374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3375
24eeafdb
AZ
33762013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3377
3378 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
3379 __mpn_add_n for PowerPC64/POWER7.
3380 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
3381 __mpn_sub_n for PowerPC64/POWER7.
3382
4a2c0fd4
AZ
33832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3384
3385 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
3386 __mpn_addmul_1 for PowerPC64.
3387 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
3388 __mpn_submul_1 for PowerPC64.
3389 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
3390 for PowerPC64.
3391 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
3392 for PowerPC64.
3393
4b5b548c
FS
33942013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
3395
3396 [BZ #15089]
3397 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
3398
0a3ac0aa
AZ
33992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3400
3401 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
3402
ccdc8438
AZ
34032013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3404
3405 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
3406 add multiarch folders.
3407 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
3408 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
3409 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
3410 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
3411 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
3412 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
3413 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
3414 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
3415 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
3416 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
3417 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
3418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
3419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
3420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
3421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
3422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
3423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
3424
2e973d99
AZ
34252013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3426
3427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3428 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
3429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
3430 New file.
3431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
3432 New file.
3433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
3434 multiarch __ieee754_hypot for PowerPC32.
3435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
3436 New file.
3437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
3438 New file.
3439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
3440 multiarch __ieee754_hypotf for PowerPC32.
3441
2d9470b2
AZ
34422013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3443
3444 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
3445 long_double_symbol only if __logbl is defined.
3446 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
3447 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
3448 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
3449 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
3450 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
3451 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
3452 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
3453 path for implementation.
3454 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
3455 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
3456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
3457 logb, and logbl multiarch implementations for PowerPC32.
3458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
3459 file.
3460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
3461 file.
3462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
3463 multiarch logb for PowerPC32.
3464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
3465 file.
3466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
3467 file.
3468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
3469 multiarch logbf for PowerPC32.
3470 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
3471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
3472 file.
3473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
3474 multiarch logbl implementation for PowerPC32.
3475
5212ffce
AZ
34762013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3477
3478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
3479 and modff multiarch implementations.
3480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
3481 New file.
3482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
3483 New file.
3484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
3485 multiarch modf for PowerPC32.
3486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
3487 New file.
3488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
3489 New file.
3490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
3491 multiarch modff for PowerPC32.
3492
79dccf31
AZ
34932013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3494
3495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
3496 and lrintf multiarch implementations.
3497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
3498 New file.
3499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3500 New file.
3501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
3502 multiarch lrint for PowerPC32.
3503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
3504 file: multiarch lrintf for PowerPC32.
3505
deb66480
AZ
35062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3507
3508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
3509 and lroundf multiarch implementations.
3510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
3511 New file.
3512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
3513 New file.
3514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
3515 New file.
3516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
3517 multiarch lround for PowerPC32.
3518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
3519 file: multiarch lroundf for PowerPC32.
3520
264b036b
AZ
35212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3522
3523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3524 copysign and copysignf multiarch implementations.
3525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3526 New file.
3527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3528 New file.
3529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
3530 file: multiarch copysign for PowerPC32.
3531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
3532 file: multiarch copysignf for PowerPC32.
3533
d47db6c9
AZ
35342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3535
3536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
3537 and truncf multiarch implementations.
3538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
3539 New file.
3540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
3541 file.
3542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
3543 multiarch trunc for PowerPC32.
3544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
3545 New file.
3546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
3547 New file.
3548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
3549 multiarch truncf for PowerPC32.
3550
ddb60b5a
AZ
35512013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3552
3553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
3554 and roundf multiarch implementations.
3555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
3556 New file.
3557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
3558 file.
3559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
3560 multiarch round for PowerPC32.
3561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
3562 New file.
3563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
3564 New file.
3565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
3566 multiarch roundf for PowerPC32.
3567
bedcf49b
AZ
35682013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3569
3570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
3571 and floorf multiarch implementations.
3572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
3573 New file.
3574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
3575 file.
3576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
3577 multiarch floor for PowerPC32.
3578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
3579 New file.
3580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
3581 New file.
3582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
3583 multiarch floorf for PowerPC32.
3584
35ae5b40
AZ
35852013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3586
3587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
3588 and ceilf multiarch implementations.
3589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
3590 New file.
3591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
3592 file.
3593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
3594 multiarch ceil for PowerPC32.
3595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
3596 New file.
3597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
3598 file.
3599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
3600 multiarch ceilf for PowerPC32.
3601
ae1a4cd9
AZ
36022013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3603
3604 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
3605 is defined.
3606 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
3607 FINITEF is defined.
3608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
3609 and finitef multiarch implementations.
3610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3611 New file.
3612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
3613 file.
3614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
3615 multiarch finite for PowerPC32.
3616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3617 New file.
3618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
3619 file: multiarch finitef for PowerPC32.
3620
64fffd65
AZ
36212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3622
3623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
3624 and isinff multiarch implementations.
3625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
3626 file.
3627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
3628 file.
3629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
3630 multiarch isinf for PowerPC32.
3631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3632 New file.
3633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
3634 multiarch isinff for PowerPC32.
3635
8e4e7ba2
AZ
36362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3637
3638 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
3639 alias when __isnan is defined.
3640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
3641 and isnanf multiarch implementations.
3642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
3643 file.
3644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
3645 file.
3646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
3647 file.
3648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
3649 file.
3650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
3651 multiarch isnan for PowerPC32.
3652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3653 New file.
3654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
3655 New file.
3656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
3657 multiarch isnanf for PowerPC32.
3658
ddba588e
AZ
36592013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3660
3661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
3662 and sqrtf multiarch implementations.
3663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
3664 file.
3665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
3666 file.
3667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
3668 multiarch sqrt for PowerPC32.
3669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
3670 file.
3671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
3672 file.
3673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
3674 multiarch sqrtf for PowerPC32.
3675
0f96a2f0
AZ
36762013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3677
3678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
3679 and llroundf multiarch implementations.
3680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
3681 New file.
3682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
3683 New file.
3684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
3685 New file.
3686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
3687 file: multiarch llround for PowerPC32.
3688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
3689 file: multiarch llroundf for PowerPC32.
3690
c9b5d79e
AZ
36912013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3692
3693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
3694 multiarch PowerPC32 fpu implementations.
3695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3696 New file.
3697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3698 New file.
3699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
3700 multiarch llrint for PowerPC32.
3701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3702 New file.
3703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3704 New file.
3705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
3706 file.
3707
9cbb3aab
AZ
37082013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3709
3710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
3711
ea5a72f8
AZ
37122013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3713
3714 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
3715 file.
3716 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
3717 file.
3718 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
3719 file.
3720 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
3721 multiarch wordcopy for PPC32.
3722 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3723 wordcopy objects.
3724 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3725 (__libc_ifunc_impl_list): Likewise.
3726 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
3727 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
3728 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
3729 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
3730 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
3731 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
3732
93be09e7
AZ
37332013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3734
3735 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
3736 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
3737 file.
3738 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
3739 file.
3740 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
3741 file.
3742 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
3743 multiarch wcscpy for PPC32.
3744 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3745 multiarch objects.
3746 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3747 (__libc_ifunc_impl_list): Likewise.
3748 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3749 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3750 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
3751 sysdeps/powerpc/power6/wcscpy.c.
3752
bb04e529
AZ
37532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3754
3755 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
3756 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
3757 file.
3758 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
3759 file.
3760 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
3761 file.
3762 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
3763 multiarch wcsrchr for PPC32.
3764 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3765 multiarch objects.
3766 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3767 (__libc_ifunc_impl_list): Likewise.
3768 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3769 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3770 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
3771 sysdeps/powerpc/power6/wcsrchr.c.
3772
05b5cd1c
AZ
37732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3774
3775 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
3776 file.
3777 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
3778 file.
3779 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
3780 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
3781 multiarch wcschr for PPc32.
3782 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3783 multiarch objects.
3784 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3785 (__libc_ifunc_impl_list): Likewise.
3786 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
3787 * sysdeps/powerpc/power6/wcschr.c: ... to here.
3788 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
3789 sysdeps/powerpc/power6/wcschr.c.
3790
ba964147
AZ
37912013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3792
3793 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
3794 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
3795 file.
3796 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
3797 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
3798 file: multiarch strchr for PPC32.
3799 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
3800 multiarch objects.
3801 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3802 (__libc_ifunc_impl_list): Likewise.
3803
31c81aaa
AZ
38042013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3805
3806 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
3807 name.
3808 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
3809 file.
3810 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
3811 file.
3812 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
3813 multiarch strchrnul for PPC32.
3814 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
3815 multiarch objects.
3816 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3817 (__libc_ifunc_impl_list): Likewise.
3818
0d0607d9
AZ
38192013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3820
3821 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
3822 file.
3823 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
3824 multiarch strncasecmp for PPC32.
3825 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
3826 file.
3827 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
3828 multiarch strncasecmp_l for PPC32.
3829 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
3830 strncasecmp multiarch objects.
3831 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3832 (__libc_ifunc_impl_list): Likewise.
3833
4dfd5c86
AZ
38342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3835
3836 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
3837 file.
3838 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
3839 multiarch strncasecmp for PPC32.
3840 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3841 New file.
3842 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
3843 multiarch strcasecmp_l for PPC32.
3844 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
3845 multiarch objects.
3846 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3847 (__libc_ifunc_impl_list): Likewise.
3848
a19e01a3
AZ
38492013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3850
3851 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
3852 file.
3853 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
3854 file.
3855 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
3856 multiarch strncmp for PPC32.
3857 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
3858 multiarch objects.
3859 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3860 (__libc_ifunc_impl_list): Likewise.
3861
ae9cf7a2
AZ
38622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3863
3864 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
3865 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
3866 file.
3867 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
3868 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
3869 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
3870 multiarch objects.
3871 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3872 (__libc_ifunc_impl_list): Likewise.
3873
3148bb7d
AZ
38742013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3875
3876 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
3877 file.
3878 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
3879 file.
3880 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
3881 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
3882 multiarch objects.
3883 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3884 (__libc_ifunc_impl_list): Likewise.
3885
7af8b946
AZ
38862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3887
3888 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
3889 file.
3890 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
3891 file.
3892 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
3893 multiarch rawmemchr for PPC32.
3894 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
3895 multiarch objects.
3896 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3897 (__libc_ifunc_impl_list): Likewise.
3898
03a6aa6a
AZ
38992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3900
3901 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
3902 file.
3903 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
3904 file.
3905 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
3906 file: memrchr multiarch for PPC32.
3907 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
3908 multiarch objects.
3909 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3910 (__libc_ifunc_impl_list): Likewise.
3911
1c62e6d9
AZ
39122013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3913
3914 * string/memchr.c (__memchr): Using macro to redefine symbol name.
3915 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
3916 file.
3917 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
3918 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
3919 multiarch memchr for PPC32.
3920 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
3921 multiarch objects.
3922 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3923 (__libc_ifunc_impl_list): Likewise.
3924
87da8bdb
AZ
39252013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3926
3927 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
3928 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
3929 file.
3930 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
3931 file.
3932 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
3933 file: multiarch mempcpy for PPC32.
3934 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
3935 multiarch objects.
3936 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3937 (__libc_ifunc_impl_list): Likewise.
3938
20ed4714
AZ
39392013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3940
3941 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
3942 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
3943 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
3944 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
3945 multiarch bzero for PPC32.
3946 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
3947 file.
3948 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
3949 file.
3950 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
3951 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
3952 file: multiarch memset for PPC32.
3953 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
3954 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
3955 memset multiarch objects.
3956 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3957 (__libc_ifunc_impl_list): Likewise.
3958
ab3e3a46
AZ
39592013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3960
3961 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
3962 file.
3963 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
3964 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
3965 memcmp for PPC32.
3966 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
3967 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
3968 multiarch objects.
3969 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3970 (__libc_ifunc_impl_list): Likewise.
3971
930de6f0
AZ
39722013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3973
3974 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
3975 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
3976 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
3977 file.
3978 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
3979 file.
3980 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
3981 file.
3982 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
3983 multiarch memcpy for PPC32.
3984 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
3985 multiarch objects.
3986 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3987 (__libc_ifunc_impl_list): Likewise.
3988
4c628e00
AZ
39892013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3990
3991 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
3992 support multiarch for POWER/PPC32.
3993 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3994 Likewise.
3995 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
3997 Implies file to make multiarch folder appers before the fpu and
3998 default folder for power4 configuration.
3999
f4479220
SP
40002013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4001
4002 * scripts/bench.pl: Append volatile keyword to type.
4003
8517800f
KK
40042013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4005
4006 * sysdeps/sh/sotruss-lib.c: New file.
4007 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
4008
180138f1
AZ
40092013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4010
4011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4012
bbf37bdc
JM
40132013-12-05 Joseph Myers <joseph@codesourcery.com>
4014
e47cc4e0
JM
4015 [BZ #6810]
4016 * math/w_tgamma.c: Include <errno.h>.
4017 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
4018 * math/w_tgammaf.c: Include <errno.h>.
4019 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
4020 * math/w_tgammal.c: Include <errno.h>.
4021 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
4022 * math/auto-libm-test-in: Do not allow missing errno on tgamma
4023 underflow. Add more tgamma tests.
4024 * math/auto-libm-test-out: Regenerated.
4025 * sysdeps/i386/fpu/libm-test-ulps: Update.
4026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4027
bbf37bdc
JM
4028 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
4029 sin, sinh, tan, tanh, tgamma, y0 and y1.
4030 * math/auto-libm-test-out: Regenerated.
4031 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4032 (TEST_COND_x86): Likewise.
4033 (M_E2l): Remove macro.
4034 (M_E3l): Likewise.
4035 (M_2_SQRT_PIl): Likewise.
4036 (M_SQRT_PIl): Likewise.
4037 (M_1_DIV_El): Likewise.
4038 (log_test_data): Use AUTO_TESTS_f_f.
4039 (log10_test_data): Likewise.
4040 (log1p_test_data): Likewise.
4041 (log2_test_data): Likewise.
4042 (sin_test_data): Likewise.
4043 (sin_tonearest_test_data): Likewise.
4044 (sin_towardzero_test_data): Likewise.
4045 (sin_downward_test_data): Likewise.
4046 (sin_upward_test_data): Likewise.
4047 (sinh_test_data): Likewise.
4048 (sinh_tonearest_test_data): Likewise.
4049 (sinh_towardzero_test_data): Likewise.
4050 (sinh_downward_test_data): Likewise.
4051 (sinh_upward_test_data): Likewise.
4052 (tan_test_data): Likewise.
4053 (tan_tonearest_test_data): Likewise.
4054 (tan_towardzero_test_data): Likewise.
4055 (tan_downward_test_data): Likewise.
4056 (tan_upward_test_data): Likewise.
4057 (tanh_test_data): Likewise.
4058 (tgamma_test_data): Likewise.
4059 (y0_test_data): Likewise.
4060 (y1_test_data): Likewise.
4061 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
4062 (special_real_inputs): Add pi/4.
4063 * sysdeps/i386/fpu/libm-test-ulps: Update.
4064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4065
eb5ad6b9
AZ
40662013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4067
4068 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
4069 "longjmp_target" static probes.
4070 (__longjmp): Rename to __longjmp_symbol.
4071 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4072 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
4073 on which longjmp to generate.
4074 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4075 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
4076 probe.
4077 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4078 (__sigjmp_save): Rename to __sigjmp_save_symbol.
4079 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4080 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
4081 and __sigjmp_save_symbol based on which sigsetjmp to generated.
4082 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
4083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
4084 __longjmp_symbol based on which __longjmp to generate.
4085 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
4086 probe.
4087 (setjmp): Rename to setjmp_symbol.
4088 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4089 (_setjmp): Rename to _setjmp_symbol.
4090 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4091 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
4092 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
4093 which setjmp to generate.
4094 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
4095 "longjmp_target" static probes.
4096
d136c6dc
SP
40972013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4098
9298ecba
SP
4099 * benchtests/README: Add note about output arguments.
4100 * benchtests/bench-sincos.c: Remove file.
4101 * benchtests/sincos-inputs: New file.
4102 * scripts/bench.pl: Identify output arguments and define
4103 static variables for them.
4104
232983e9
SP
4105 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
4106
d136c6dc
SP
4107 [BZ #15941]
4108 * Makefile (INSTALL): Add install-plain.texi as the primary
4109 dependency.
4110 * manual/install-plain.texi: New file.
4111 * manual/install.texi: Include node directive only for
4112 non-plaintext output.
4113
699ff837
JM
41142013-12-04 Joseph Myers <joseph@codesourcery.com>
4115
ab07cea8
JM
4116 * stdlib/longlong.h: Update from GCC.
4117
699ff837
JM
4118 [BZ #6807]
4119 [BZ #15901]
4120 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
4121 * math/w_j0f.c (y0f): Likewise.
4122 * math/w_j0l.c (__y0l): Likewise.
4123 * math/w_j1.c (y1): Likewise.
4124 * math/w_j1f.c (y1f): Likewise.
4125 * math/w_j1l.c (__y1l): Likewise
4126 * math/w_jn.c (yn): Likewise.
4127 * math/w_jnf.c (ynf): Likewise.
4128 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
4129 Bessel function pole errors in _POSIX_ mode. Use NAN as return
4130 value for Bessel function domain errors outside _SVID_ mode.
4131 Adjust sign of return value for yn (negative integer, 0).
4132 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
4133 by zero in return for negative x and set sign appropriately for
4134 negative n.
4135 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
4136 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
4137 * math/libm-test.inc (y0_test_data): Add more tests and adjust
4138 expectations in error cases.
4139 (y1_test_data): Likewise.
4140 (yn_test_data): Likewise.
4141 * sysdeps/i386/fpu/libm-test-ulps: Update.
4142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4143
5b118558
UW
41442013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4145
4146 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
4147 "64" to "64-v1". Add "64-v2".
4148 (abi-64-options): Rename to ...
4149 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
4150 (abi-64-condition): Rename to ...
4151 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
4152 (abi-64-ld-soname): Rename to ...
4153 (abi-64-v1-ld-soname): ... this.
4154 (abi-64-v2-options): Define.
4155 (abi-64-v2-condition): Likewise.
4156 (abi-64-v2-ld-soname): Likewise.
4157 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
4158 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
4159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
4160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
4161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
4162
61cd8fe4
UW
41632013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4164 Alan Modra <amodra@gmail.com>
4165
4166 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
4167 New versions for use with the ELFv2 ABI.
4168 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
4169 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
4170 declaration.
4171 (struct La_ppc64v2_retval): Likewise.
4172 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
4173 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
4174 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
4175 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
4176 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
4177 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
4178 Do not save or restore CR.
4179 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
4180 (_dl_profile_resolve): Do no save or restore CR. Support extended
4181 return values for ELFv2 ABI. Fix location of FPR return registers.
4182 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
4183 updated values for _CALL_ELF == 2.
4184 (La_regs, La_retval, int_retval): Likewise.
4185
8b8a692c
UW
41862013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4187
4188 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
4189 (FRAME_MIN_SIZE_PARM): Likewise.
4190 (FRAME_BACKCHAIN): Likewise.
4191 (FRAME_CR_SAVE): Likewise.
4192 (FRAME_LR_SAVE): Likewise.
4193 (FRAME_TOC_SAVE): Likewise.
4194 (FRAME_PARM_SAVE): Likewise.
4195 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4196 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4197 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4198 (call_mcount_parm_offset): New macro.
4199 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
4200 (PROF): Use symbolic stack frame offsets.
4201 (TAIL_CALL_SYSCALL_ERROR): Likewise.
4202 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
4203 Redefine in terms of FRAME_MIN_SIZE.
4204 (_dl_runtime_resolve): Use symbolic stack frame offsets.
4205 (_dl_profile_resolve): Likewise. Update comment.
4206 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
4207 symbols stack frame offsets.
4208 (__sigsetjmp): Likewise.
4209 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
4210 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
4211 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
4212 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
4213
4214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
4215 (FRAME_BACKCHAIN): Remove.
4216 (FRAME_CR_SAVE): Likewise.
4217 (FRAME_LR_SAVE): Likewise.
4218 (FRAME_COMPILER_DW): Likewise.
4219 (FRAME_LINKER_DW): Likewise.
4220 (FRAME_TOC_SAVE): Likewise.
4221 (FRAME_PARM_SAVE): Likewise.
4222 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4223 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4224 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
4226 (CHECK_SP): Use symbolic stack frame offsets.
4227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
4228 zone" instead of caller's parameter save area for temp storage.
4229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4230 Likewise. Also, use symbolic stack frame offsets.
4231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
4232 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
4233 our own stack frame instead of the caller's.
4234 (__socket): Use symbolic stack frame offsets.
4235
122b66de
UW
42362013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4237 Alan Modra <amodra@gmail.com>
4238
4239 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
4240 Define.
4241 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
4242 PPC64_LOCAL_ENTRY_OFFSET): Define.
4243 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
4244 New function.
4245 (elf_machine_fixup_plt): Call it.
4246 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
4247 reloc arguments.
4248 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
4249 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4250 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
4251 r2 before calling target.
4252
696caf1d
UW
42532013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4254 Alan Modra <amodra@gmail.com>
4255
4256 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
4257 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
4258 versions of macros to support ELFv2 ABI.
4259 (LOCALENTRY): New macro.
4260 (ENTRY, EALIGN): Use it.
4261 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
4262 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
4263 fall through into ENTRY entry point.
4264 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
4265 Only define if _CALL_ELF != 2.
4266
4267 (elf_machine_matches_host): Verify ABI version matches.
4268 (RTLD_START): Use LOCALENTRY.
4269 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
4270 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
4271 (PLT_ENTRY_WORDS): New macro.
4272 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
4273 (elf_machine_runtime_setup): Support ELFv2 ABI.
4274 (elf_machine_fixup_plt): Likewise.
4275 (elf_machine_plt_conflict): Likewise.
4276 (resolve_ifunc): Likewise.
4277 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4278 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4279 Likewise.
4280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
4281 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
4282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4283 (makecontext): Support ELFv2 ABI.
4284 * elf/elf.h (EF_PPC64_ABI): Define.
4285
d31beafa
UW
42862013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4287
4288 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
4289 New assembler macro.
4290 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
4291 [ASSEMBLER] (ENTRY): ... but instead here ...
4292 [ASSEMBLER] (EALIGN): ... and here.
4293 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
4294 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
4295 [!ASSEMBLER] (ENTRY_2): Use it.
4296 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
4297 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
4298 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4299 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
4300 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
4301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
4302 Use PPC64_LOAD_FUNCPTR.
4303
b525166b
UW
43042013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4305
4306 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
4307
7ec07d9a
AM
43082013-12-04 Alan Modra <amodra@gmail.com>
4309
4310 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
4311 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
4312 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
4313 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
4314
4315 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
4316 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
4317 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
4318 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
4319 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
4320 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
4321
5162e7dd
UW
43222013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4323
4324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4325 (__makecontext): Fix incorrect CFI when backtracing out of
4326 context created via makecontext.
4327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
4328 (__setcontext): Fix incorrect CFI during switch to new context.
4329 (__novec_setcontext): Likewise.
4330
19e3372b
OB
43312013-12-04 Ondřej Bílka <neleai@seznam.cz>
4332
4333 [BZ #4772]
4334 * time/strptime_l.c (__strptime_internal): Allow modifiers
4335 in strptime.
4336 * time/tst-strptime.c (day_tests): Add testcase.
4337
4338
ecaf142d
SP
43392013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4340
4341 * scripts/bench.pl: Skip over blank lines.
4342
fbf964ae
PE
43432013-12-04 Paul Eggert <eggert@cs.ucla.edu>
4344
4345 [BZ #926]
4346 * manual/time.texi (Calendar Time): Clarify what timezone functions
4347 use.
4348
fa60a674
AZ
43492013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4350
4351 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4352
d674f0ef
OB
43532013-12-04 Ondřej Bílka <neleai@seznam.cz>
4354
4355 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
4356 implementation.
4357 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
4358 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
4359 * debug/memset_chk.c (__memset_chk): Likewise.
4360 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
4361 * debug/strncpy_chk.c: Likewise.
4362
17dea188
JM
43632013-12-03 Joseph Myers <joseph@codesourcery.com>
4364
749008ff
JM
4365 [BZ #15268]
4366 [BZ #15425]
4367 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
4368 (__ieee754_exp): For possibly underflowing results, check size of
4369 result and force underflow exception if required.
4370 * math/auto-libm-test-in: Add more tests of exp.
4371 * math/auto-libm-test-out: Regenerated.
4372 * sysdeps/i386/fpu/libm-test-ulps: Update.
4373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4374
17dea188
JM
4375 [BZ #16283]
4376 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
4377 * math/w_exp2f.c (__exp2f): Likewise.
4378 * math/w_exp2l.c (__exp2l): Likewise.
4379 * math/auto-libm-test-in: Do not allow missing errno on exp2
4380 underflow.
4381 * math/auto-libm-test-out: Regenerated.
4382
b20de2c3
OB
43832013-12-03 Ondřej Bílka <neleai@seznam.cz>
4384
4385 [BZ #16274]
4386 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
4387 handle filename validation.
4388 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
4389 (do_open): Delete.
4390
d8e2dbe3
JM
43912013-12-03 Joseph Myers <joseph@codesourcery.com>
4392
34e16df5
JM
4393 [BZ #6786]
4394 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
4395 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
4396 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
4397 <float.h>.
4398 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
4399 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
4400 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4401 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
4402 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4403 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
4404 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4405 * math/auto-libm-test-in: Don't allow missing errno from erfc.
4406 Add more erfc tests.
4407 * math/auto-libm-test-out: Regenerated.
4408 * sysdeps/i386/fpu/libm-test-ulps: Update.
4409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4410
d8e2dbe3
JM
4411 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
4412 exp2, expm1, j0 and j1.
4413 * math/auto-libm-test-out: Regenerated.
4414 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
4415 (erfc_test_data): Likewise.
4416 (exp_test_data): Likewise.
4417 (exp_tonearest_test_data): Likewise.
4418 (exp_towardzero_test_data): Likewise.
4419 (exp_downward_test_data): Likewise.
4420 (exp_upward_test_data): Likewise.
4421 (exp10_test_data): Likewise.
4422 (exp2_test_data): Likewise.
4423 (expm1_test_data): Likewise.
4424 (j0_test_data): Likewise.
4425 (j1_test_data): Likewise.
4426 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
4427 (input_flag_type): Add flag_xfail_rounding.
4428 (input_flags): Add xfail-rounding.
4429 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
4430 (output_for_one_input_case): Handle flag_xfail_rounding.
4431 * sysdeps/i386/fpu/libm-test-ulps: Update.
4432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4433
18d14251
AJ
44342013-12-03 Aurelien Jarno <aurelien@aurel32.net>
4435
3d2e6075 4436 [BZ #16289]
18d14251
AJ
4437 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
4438 division by 0.
4439
520d437b
SP
44402013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4441
4442 [BZ #16195]
4443 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
4444 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
4445 (STAP_PROBE0): New macro.
4446 (STAP_PROBE1): Likewise.
4447 (STAP_PROBE2): Likewise.
4448 (STAP_PROBE3): Likewise.
4449 (STAP_PROBE4): Likewise.
4450
416e0145
OB
44512013-12-02 Ondřej Bílka <neleai@seznam.cz>
4452
4453 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
4454
9d17796a
SE
44552013-12-02 Steve Ellcey <sellcey@mips.com>
4456
4457 * benchtests/Makefile (bench): Add sqrt.
4458 (LDLIBS-bench-sqrt): New.
4459 * benchtests/sqrt-input: New.
4460
f524d6a8
PS
44612013-12-02 Pavel Simerda <psimerda@redhat.com>
4462
639a0ef8
PS
4463 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
4464 (GAIH_EAI): Likewise.
4465 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
4466 (gaih_inet): Likewise.
4467 (getaddrinfo): Don't use GAIH_EAI.
4468
f524d6a8
PS
4469 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
4470 (struct gaih): Remove definition.
4471
df3aedaf
SP
44722013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4473
4474 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
4475 Use HERRNOP directly.
4476
1ab19dec
AZ
44772013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4478
b42ad38d 4479 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 4480
176b0c79
JM
44812013-11-30 Joseph Myers <joseph@codesourcery.com>
4482
4483 * math/gen-auto-libm-tests.c (test_functions): Add more
4484 single-argument functions.
4485 (special_fill_pi_2): New function.
4486 (special_fill_minus_pi_2): Likewise.
4487 (special_fill_pi_6): Likewise.
4488 (special_fill_minus_pi_6): Likewise.
4489 (special_fill_pi_3): Likewise.
4490 (special_fill_2pi_3): Likewise.
4491 (special_fill_e): Likewise.
4492 (special_fill_1_e): Likewise.
4493 (special_fill_e_minus_1): Likewise.
4494 (special_real_inputs): Add more special inputs.
4495 (output_for_one_input_case): Do not require ERANGE on underflow to
4496 zero if round-to-nearest result does not underflow to zero, unless
4497 exact results required.
4498 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
4499 atan, atanh, cbrt, cos and cosh.
4500 * math/auto-libm-test-out: Regenerated.
4501 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
4502 (acos_tonearest_test_data): Likewise.
4503 (acos_towardzero_test_data): Likewise.
4504 (acos_downward_test_data): Likewise.
4505 (acos_upward_test_data): Likewise.
4506 (acosh_test_data): Likewise.
4507 (asin_test_data): Likewise.
4508 (asin_tonearest_test_data): Likewise.
4509 (asin_towardzero_test_data): Likewise.
4510 (asin_upward_test_data): Likewise.
4511 (asinh_test_data): Likewise.
4512 (atan_test_data): Likewise.
4513 (atanh_test_data): Likewise.
4514 (cbrt_test_data): Likewise.
4515 (cos_test_data): Likewise.
4516 (cos_tonearest_test_data): Likewise.
4517 (cos_towardzero_test_data): Likewise.
4518 (cos_downward_test_data): Likewise.
4519 (cos_upward_test_data): Likewise.
4520 (cosh_test_data): Likewise.
4521 (cosh_tonearest_test_data): Likewise.
4522 (cosh_towardzero_test_data): Likewise.
4523 (cosh_downward_test_data): Likewise.
4524 (cosh_upward_test_data): Likewise.
4525 * sysdeps/i386/fpu/libm-test-ulps: Update.
4526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4527
ffb536d0
JM
45282013-11-29 Joseph Myers <joseph@codesourcery.com>
4529
2a77a467
JM
4530 [BZ #6787]
4531 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
4532 * math/w_exp10f.c (__exp10f): Likewise.
4533 * math/w_exp10l.c (__exp10l): Likewise.
4534 * math/libm-test.inc (exp10_test_data): Add more tests and expect
4535 errno settings in existing tests.
4536
ea3bc4e8
JM
4537 [BZ #14032]
4538 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
4539 precision control set to double precision.
4540 * sysdeps/i386/fpu/w_sqrt.c: New file.
4541 * math/auto-libm-test-in: Add more tests.
4542 * math/auto-libm-test-out: Update.
4543
0712c9d8
JM
4544 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
4545 (sqrt_test_tonearest): New function.
4546 (sqrt_towardzero_test_data): New variable.
4547 (sqrt_test_towardzero): New function.
4548 (sqrt_downward_test_data): New variable.
4549 (sqrt_test_downward): New function.
4550 (sqrt_upward_test_data): New variable.
4551 (sqrt_test_upward): New function.
4552 (main): Call the new functions.
4553
ffb536d0
JM
4554 * math/gen-auto-libm-tests.c: New file.
4555 * math/auto-libm-test-in: Likewise.
4556 * math/auto-libm-test-out: New generated file.
4557 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
4558 variables.
4559 (%beautify): Add generated representations of zero.
4560 (top level): Set $auto_input and call parse_auto_input.
4561 (beautify): Remove trailing "f" from hex float constants.
4562 (parse_args): Handle XFAIL_TEST.
4563 (convert_condition): New function.
4564 (or_value): Likewise.
4565 (or_cond_value): Likewise.
4566 (generate_testfile): Handle AUTO_TESTS_* lines.
4567 (parse_auto_input): New function.
4568 * math/libm-test.inc (XFAIL_TEST): New macro.
4569 (ERRNO_UNCHANGED): Update value.
4570 (ERRNO_EDOM): Likewise.
4571 (ERRNO_ERANGE): Likewise.
4572 (IGNORE_RESULT): Likewise.
4573 (TEST_COND_flt_32): New macro.
4574 (TEST_COND_dbl_64): Likewise.
4575 (TEST_COND_ldbl_96_intel): Likewise.
4576 (TEST_COND_ldbl_96_m68k): Likewise.
4577 (TEST_COND_ldbl_128): Likewise.
4578 (TEST_COND_ldbl_128ibm): Likewise.
4579 (TEST_COND_long32): Likewise.
4580 (TEST_COND_long64): Likewise.
4581 (TEST_COND_before_rounding): Likewise.
4582 (TEST_COND_after_rounding): Likewise.
4583 (enable_test): Handle XFAIL_TEST flag.
4584 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
4585 with finite results.
4586 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
4587 auto-libm-test-out.
4588
acd98a8e
AK
45892013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4590 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4591
4592 [BZ #16214]
4593 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
4594 __tls_get_addr_internal instead of __tls_get_offset in order to
4595 avoid GOT pointer dependency. Make rtld export
4596 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
4597 __tls_get_addr since we are a __tls_get_offset platform.
4598 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
4599 GOT pointer being set up before.
4600 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
4601
3c1c46a6
JM
46022013-11-28 Joseph Myers <joseph@codesourcery.com>
4603
7475aef5
JM
4604 * manual/math.texi (Errors in Math Functions): Document accuracy
4605 goals.
4606
8bca7cd8
JM
4607 [BZ #15004]
4608 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
4609 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
4610 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4611 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4612 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4613 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4614 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4615 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4616 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4617 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4618 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4619 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4620 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4621 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4622 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4623 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4624
91a1f3fe
JM
4625 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
4626 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
4627 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
4628 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
4629 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
4630 Likewise.
4631 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
4632 Likewise.
4633 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
4634 Likewise.
4635 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
4636 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
4637 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
4638 atomic-feupdateenv and flt-rounds.
4639 * sysdeps/powerpc/nofpu/Versions (libc): Add
4640 __atomic_feholdexcept, __atomic_feclearexcept,
4641 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
4642 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
4643 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
4644 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
4645 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
4646 here.
4647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4648 Update.
4649
c5df7609
JM
4650 * manual/arith.texi (FP Exceptions): Document that exceptions may
4651 not be raised when matherr is used.
4652 (Math Error Reporting): Document overflow in directed rounding
4653 modes. Document that errno may not be set when finite values are
4654 returned on overflow. Document intent to set errno on underflow
4655 only for underflow to zero.
4656
3c1c46a6
JM
4657 [BZ #16271]
4658 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
4659 round-to-nearest then adjust result for other rounding modes.
4660 * include/fenv.h (fegetround): Use libm_hidden_proto.
4661 * math/fegetround.c (fegetround): Use libm_hidden_def.
4662 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
4663 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
4664 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4665 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
4666 Likewise.
4667 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
4668 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4669 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
4670 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
4671
5a4c6d53
SP
46722013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4673
4674 [BZ #16077]
4675 * nss/Versions (libnss_files): Add
4676 _nss_files_gethostbyname3_r.
4677 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
4678 New function.
4679 (HOST_DB_LOOKUP): Remove macro.
4680 (_nss_files_gethostbyname_r): Implement function without the
4681 HOST_DB_LOOKUP macro.
4682 (_nss_files_gethostbyname2_r): Likewise.
4683
897b98ba
OB
46842013-11-28 Ondřej Bílka <neleai@seznam.cz>
4685
4686 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
4687
6f476861
UB
46882013-11-26 Uros Bizjak <ubizjak@gmail.com>
4689
4690 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
4691 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
4692 warning.
4693
bd12ab55
AZ
46942013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4695
4696 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
4697 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
4698 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4699 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4700 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
4701 __fe_nomask_env_priv and attribute_hidden.
4702 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
4703 (libc_feupdateenv_test_ppc): Likewise.
4704 (libc_feresetround_ppc): Likewise.
4705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4706 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
4707 compat_symbol macro.
4708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4709 (__fe_nomask_env): Likewise.
4710 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
4711
52bb6543
OB
47122013-11-26 Ondřej Bílka <neleai@seznam.cz>
4713
4714 * string/Makefile: Remove ifunc tests.
4715 * string/test-string.h: Define TEST_IFUNC.
4716 * string/test-bcopy-ifunc.c: Remove.
4717 * string/test-bzero-ifunc.c: Likewise.
4718 * string/test-memccpy-ifunc.c: Likewise.
4719 * string/test-memchr-ifunc.c: Likewise.
4720 * string/test-memcmp-ifunc.c: Likewise.
4721 * string/test-memcpy-ifunc.c: Likewise.
4722 * string/test-memmem-ifunc.c: Likewise.
4723 * string/test-memmove-ifunc.c: Likewise.
4724 * string/test-mempcpy-ifunc.c: Likewise.
4725 * string/test-memrchr-ifunc.c: Likewise.
4726 * string/test-memset-ifunc.c: Likewise.
4727 * string/test-rawmemchr-ifunc.c: Likewise.
4728 * string/test-stpcpy-ifunc.c: Likewise.
4729 * string/test-stpncpy-ifunc.c: Likewise.
4730 * string/test-strcasecmp-ifunc.c: Likewise.
4731 * string/test-strcasestr-ifunc.c: Likewise.
4732 * string/test-strcat-ifunc.c: Likewise.
4733 * string/test-strchr-ifunc.c: Likewise.
4734 * string/test-strchrnul-ifunc.c: Likewise.
4735 * string/test-strcmp-ifunc.c: Likewise.
4736 * string/test-strcpy-ifunc.c: Likewise.
4737 * string/test-strcspn-ifunc.c: Likewise.
4738 * string/test-strlen-ifunc.c: Likewise.
4739 * string/test-strncasecmp-ifunc.c: Likewise.
4740 * string/test-strncat-ifunc.c: Likewise.
4741 * string/test-strncmp-ifunc.c: Likewise.
4742 * string/test-strncpy-ifunc.c: Likewise.
4743 * string/test-strnlen-ifunc.c: Likewise.
4744 * string/test-strpbrk-ifunc.c: Likewise.
4745 * string/test-strrchr-ifunc.c: Likewise.
4746 * string/test-strspn-ifunc.c: Likewise.
4747 * string/test-strstr-ifunc.c: Likewise.
4748
ab260039 47492013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
4750
4751 * benchtests/Makefile: Remove ifunc tests.
4752 * benchtests/bench-string.h: Define TEST_IFUNC.
4753 * benchtests/bench-bcopy-ifunc.c: Remove.
4754 * benchtests/bench-bzero-ifunc.c: Likewise.
4755 * benchtests/bench-memccpy-ifunc.c: Likewise.
4756 * benchtests/bench-memchr-ifunc.c: Likewise.
4757 * benchtests/bench-memcmp-ifunc.c: Likewise.
4758 * benchtests/bench-memcpy-ifunc.c: Likewise.
4759 * benchtests/bench-memmem-ifunc.c: Likewise.
4760 * benchtests/bench-memmove-ifunc.c: Likewise.
4761 * benchtests/bench-mempcpy-ifunc.c: Likewise.
4762 * benchtests/bench-memrchr-ifunc.c: Likewise.
4763 * benchtests/bench-memset-ifunc.c: Likewise.
4764 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
4765 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
4766 * benchtests/bench-stpcpy-ifunc.c: Likewise.
4767 * benchtests/bench-stpncpy-ifunc.c: Likewise.
4768 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
4769 * benchtests/bench-strcasestr-ifunc.c: Likewise.
4770 * benchtests/bench-strcat-ifunc.c: Likewise.
4771 * benchtests/bench-strchr-ifunc.c: Likewise.
4772 * benchtests/bench-strchrnul-ifunc.c: Likewise.
4773 * benchtests/bench-strcmp-ifunc.c: Likewise.
4774 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
4775 * benchtests/bench-strcpy-ifunc.c: Likewise.
4776 * benchtests/bench-strcspn-ifunc.c: Likewise.
4777 * benchtests/bench-strlen-ifunc.c: Likewise.
4778 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
4779 * benchtests/bench-strncat-ifunc.c: Likewise.
4780 * benchtests/bench-strncmp-ifunc.c: Likewise.
4781 * benchtests/bench-strncpy-ifunc.c: Likewise.
4782 * benchtests/bench-strnlen-ifunc.c: Likewise.
4783 * benchtests/bench-strpbrk-ifunc.c: Likewise.
4784 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 4785 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
4786 * benchtests/bench-strspn-ifunc.c: Likewise.
4787 * benchtests/bench-strstr-ifunc.c: Likewise.
4788
47892013-11-26 Ondřej Bílka <neleai@seznam.cz>
4790
ab260039
OB
4791 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
4792
d1d9eaf4 47932013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 4794
d1d9eaf4
OB
4795 * resolv/netdb.h: Use __glibc_reserved instead __unused.
4796 * rt/aio.h: Likewise.
4797 * sysdeps/gnu/bits/utmp.h: Likewise.
4798 * sysdeps/gnu/bits/utmpx.h: Likewise.
4799 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4800 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
4801 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
4802 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
4803 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
4804 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
4805 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
4806 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
4807 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4808 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
4809 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
4810 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4811 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
4813 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4814 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
4815 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
4816 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
4817 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
4818 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4819 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
4820 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
4821 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
4822 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4823 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4824 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4825 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
4826 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
4827 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
4828 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4829 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4830 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
4831 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
4832 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4833 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
4834 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
4835 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
4836 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
4837 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4838 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
4839 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4840 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4841
a7624ed9
CD
48422013-11-25 Carlos O'Donell <carlos@redhat.com>
4843
4844 [BZ #16245]
4845 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
4846 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
4847
63cfe52b
JM
48482013-11-25 Joseph Myers <joseph@codesourcery.com>
4849
4850 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
4851 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4852 Likewise.
4853
41e8926a
AZ
48542013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4855
4856 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
4857 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
4858 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
4859 (__fesetround): Remove define.
4860 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
4861 rounding and exceptions handling.
4862 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
4863 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
4864 (__fe_nomask_env): Likewise.
4865 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
4866 __fegetround instead of fegetround.
4867 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4868 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4869
6851bd4d
RM
48702013-11-21 Roland McGrath <roland@hack.frob.com>
4871
070906ff
RM
4872 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
4873 it's there.
4874
6851bd4d
RM
4875 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
4876
84ae135d
MI
48772013-11-21 Meador Inge <meadori@codesourcery.com>
4878
4879 [BZ #11157]
4880 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
4881 (encrypt_r): Likewise.
4882 * malloc/obstack.h (obstack_free): Likewise.
4883 * posix/unistd.h (encrypt): Likewise.
4884
daf75146
GM
48852013-11-21 Guy Martin <gmsoft@tuxicoman.be>
4886
4887 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
4888 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
4889 DL_CALL_DT_FINI() that call the functions directly.
4890 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
4891 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
4892 * elf/dl-fini.c: Likewise.
4893
10ad46bc
OB
48942013-11-20 Ondřej Bílka <neleai@seznam.cz>
4895
4896 * malloc/hooks.c (memalign_check): Add alignment rounding.
4897 * malloc/malloc.c (_mid_memalign): New function.
4898 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
4899 Implement by calling _mid_memalign.
4900 * manual/probes.texi (Memory Allocation Probes): Remove
4901 memory_valloc_retry and memory_pvalloc_retry.
4902
f3fd2628
SP
49032013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4904
4712799f
SP
4905 * locale/programs/locarchive.c (open_archive): Add const
4906 qualifier to ARCHIVEFNAME and copy default fname to
4907 DEFAULT_FNAME.
4908
0417b20f
SP
4909 [BZ #15601]
4910 * libio/tst-widetext.input: Rename Oriya to Odia.
4911 * locale/iso-639.def: Likewise.
4912
f3fd2628
SP
4913 * manual/probes.texi (Mathematical Function Probes): Add
4914 documentation for sin, cos, asin and acos probes.
4915 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
4916 (__sin32): Add slowasin probe.
4917 (__cos32): Add slowacos probe.
4918 (__mpsin): Add slowsin probe.
4919 (__mpcos): Add slowcos probe.
4920
73c1ce4f
JM
49212013-11-19 Joseph Myers <joseph@codesourcery.com>
4922
4923 [BZ #15483]
4924 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
4925 thread-local __sim_exceptions_thread and global
4926 __sim_exceptions_global.
4927 (__sim_disabled_exceptions): Change to thread-local
4928 __sim_disabled_exceptions_thread and global
4929 __sim_disabled_exceptions_global.
4930 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4931 and global __sim_round_mode_global.
4932 (__simulate_exceptions): Use thread-local floating-point state and
4933 set global state from it as needed.
4934 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
4935 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
4936 __sim_round_mode_thread.
4937 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
4938 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
4939 and global __sim_exceptions_global.
4940 (__sim_disabled_exceptions): Change to thread-local
4941 __sim_disabled_exceptions_thread and global
4942 __sim_disabled_exceptions_global.
4943 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4944 and global __sim_round_mode_global.
4945 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
4946 (SIM_SET_GLOBAL): Likewise.
4947 * sysdeps/powerpc/soft-fp/sfp-machine.h
4948 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
4949 __sim_round_mode_thread.
4950 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
4951 __sim_disabled_exceptions_thread.
4952 (__sim_exceptions): Change to __sim_exceptions_thread.
4953 (__sim_disabled_exceptions): Change to
4954 __sim_disabled_exceptions_thread.
4955 (__sim_round_mode): Change to __sim_round_mode_thread.
4956 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
4957 thread-local floating-point state and set global state from it as
4958 needed.
4959 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
4960 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
4961 (__sim_disabled_exceptions): Remove extern declaration.
4962 (feenableexcept): Use thread-local floating-point state and set
4963 global state from it as needed.
4964 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
4965 extern declaration.
4966 (__sim_disabled_exceptions): Likewise.
4967 (__sim_round_mode): Likewise.
4968 (__fegetenv): Use thread-local floating-point state.
4969 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
4970 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4971 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
4972 floating-point state and set global state from it as needed.
4973 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
4974 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4975 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
4976 Likewise.
4977 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
4978 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
4979 Likewise.
4980 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
4981 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
4982 Use __sim_round_mode_thread.
4983 * math/test-fenv-tls.c: New file.
4984 * math/Makefile (tests): Add test-fenv-tls.
4985 ($(objpfx)test-fenv-tls): Depend on
4986 $(common-objpfx)nptl/libpthread.so.
4987
b5449b12
AS
49882013-11-19 Andreas Schwab <schwab@suse.de>
4989
4990 * locale/programs/locale.c (show_info): Decode wordarray elements.
4991 * locale/categories.def (LC_MONETARY): Add element for
4992 _NL_MONETARY_CRNCYSTR.
4993 * locale/C-monetary.c (conversion_rate): New variable.
4994 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
4995 element.
4996
e186536b
CM
49972013-11-18 Chris Metcalf <cmetcalf@tilera.com>
4998
4999 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
5000 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
5001
5c349950
PP
50022013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5003
5004 * elf/Makefile (tst-auxv): New test.
5005 * elf/tst-auxv.c: New
5006 * elf/rtld.c (dl_main): Adjust AT_EXECFN
5007
699df45b
JM
50082013-11-18 Joseph Myers <joseph@codesourcery.com>
5009
5010 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
5011 (hidden_proto): Caller changed.
5012 (hidden_tls_proto): New macro.
5013 (libc_hidden_tls_proto): Likewise.
5014 (rtld_hidden_tls_proto): Likewise.
5015 (libm_hidden_tls_proto): Likewise.
5016 (libresolv_hidden_tls_proto): Likewise.
5017 (librt_hidden_tls_proto): Likewise.
5018 (libdl_hidden_tls_proto): Likewise.
5019 (libnss_files_hidden_tls_proto): Likewise.
5020 (libnsl_hidden_tls_proto): Likewise.
5021 (libnss_nisplus_hidden_tls_proto): Likewise.
5022 (libutil_hidden_tls_proto): Likewise.
5023
b7589107
OB
50242013-11-18 Ondřej Bílka <neleai@seznam.cz>
5025
5026 [BZ #10253]
5027 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
5028 (decompose_rpath): Defer expansion to fillin_rpath.
5029 (_dl_init_paths): Pass linkmap to fillin_rpath.
5030
250c23bd
RS
50312013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5032
5033 * benchtests/Makefile: Add strsep.
5034 * benchtests/bench-strsep.c: New file: strsep benchtest.
5035 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
5036
a7931fcf
AS
50372013-11-18 Andreas Schwab <schwab@suse.de>
5038
5039 * locale/programs/locale.c (show_info) [case byte]: Check for
5040 '\377' instead of '\177'.
5041 * locale/C-monetary.c (not_available): Always use "\377".
5042 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
5043 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
5044 detect unavailable sign_posn locale elements.
5045 * locale/localeconv.c (__localeconv): For grouping and
5046 mon_grouping handle "\177" and "\377" like no grouping.
5047 (INT_ELEM): New macro. Use it to set all numeric members.
5048 * locale/programs/ld-monetary.c (monetary_read)
5049 <tok_mon_grouping>: Normalize single -1 to the empty string.
5050 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
5051 Likewise.
5052
728dab0e
OB
50532013-11-07 Ondřej Bílka <neleai@seznam.cz>
5054
5055 [BZ #16055]
5056 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
5057 when we match (nil).
5058 * stdio-common/tst-sscanf.c (struct test): Add testcase.
5059
66294491
JM
50602013-11-16 Joseph Myers <joseph@codesourcery.com>
5061
ce665817
JM
5062 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
5063 (NO_TEST_INLINE): Update value.
5064 (ERRNO_UNCHANGED): Likewise.
5065 (ERRNO_EDOM): Likewise.
5066 (ERRNO_ERANGE): Likewise.
5067 (IGNORE_RESULT): Likewise.
5068 (check_float_internal): Check signs of NaN results if
5069 TEST_NAN_SIGN used.
5070 (check_complex): Pass TEST_NAN_SIGN flag through to second
5071 check_float_internal call.
5072 (copysign_test_data): Add tests with quiet NaNs as second
5073 argument. Use TEST_NAN_SIGN.
5074 (fabs_test_data): Add test of negative quiet NaN argument. Use
5075 TEST_NAN_SIGN.
5076 (signbit_test_data): Add tests of quiet NaN argument.
5077 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
5078
ee1466a9
JM
5079 * math/gen-libm-test.pl (show_exceptions): Take extra argument
5080 $ignore_result.
5081 (parse_args): Handle function results specified as IGNORE.
5082 * math/libm-test.inc (IGNORE_RESULT): New macro.
5083 (check_float_internal): Do not check numerical result if flag
5084 IGNORE_RESULT set.
5085 (check_complex): Pass through IGNORE_RESULT to second
5086 check_float_internal call.
5087 (check_int): Do not check numerical result if flag IGNORE_RESULT
5088 set.
5089 (check_long): Likewise.
5090 (check_bool): Likewise.
5091 (check_longlong): Likewise.
5092 (lrint_test_data): Add tests of infinite and NaN arguments.
5093 (lrint_tonearest_test_data): Likewise.
5094 (lrint_towardzero_test_data): Likewise.
5095 (lrint_downward_test_data): Likewise.
5096 (lrint_upward_test_data): Likewise.
5097 (llrint_test_data): Likewise.
5098 (llrint_tonearest_test_data): Likewise.
5099 (llrint_towardzero_test_data): Likewise.
5100 (llrint_downward_test_data): Likewise.
5101 (llrint_upward_test_data): Likewise.
5102 (lround_test_data): Likewise.
5103 (llround_test_data): Likewise.
5104
14407b7e
JM
5105 * math/libm-test.inc (NO_TEST_INLINE): New macro.
5106 (ERRNO_UNCHANGED): Update value.
5107 (ERRNO_EDOM): Likewise.
5108 (ERRNO_ERANGE): Likewise.
5109 (NO_TEST_INLINE_FLOAT): New macro.
5110 (NO_TEST_INLINE_DOUBLE): Likewise.
5111 (enable_test): New function.
5112 (RUN_TEST_f_f): Check enable_test before running test.
5113 (RUN_TEST_2_f): Likewise.
5114 (RUN_TEST_fff_f): Likewise.
5115 (RUN_TEST_c_f): Likewise.
5116 (RUN_TEST_f_f1): Likewise.
5117 (RUN_TEST_fF_f1): Likewise.
5118 (RUN_TEST_fI_f1): Likewise.
5119 (RUN_TEST_ffI_f1): Likewise.
5120 (RUN_TEST_c_c): Likewise.
5121 (RUN_TEST_cc_c): Likewise.
5122 (RUN_TEST_f_i): Likewise.
5123 (RUN_TEST_f_i_tg): Likewise.
5124 (RUN_TEST_ff_i_tg): Likewise.
5125 (RUN_TEST_f_b): Likewise.
5126 (RUN_TEST_f_b_tg): Likewise.
5127 (RUN_TEST_f_l): Likewise.
5128 (RUN_TEST_f_L): Likewise.
5129 (RUN_TEST_fFF_11): Likewise.
5130 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
5131 conditionals.
5132 (cosh_test_data): Likewise.
5133 (exp_test_data): Likewise.
5134 (expm1_test_data): Likewise.
5135 (hypot_test_data): Likewise.
5136 (pow_test_data): Likewise.
5137 (sinh_test_data): Likewise.
5138 (tanh_test_data): Likewise.
5139 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
5140 flags argument.
5141
ca07f197
JM
5142 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
5143 tests with quiet NaN input and output.
5144 (acosh_test_data): Likewise.
5145 (asin_test_data): Likewise.
5146 (asinh_test_data): Likewise.
5147 (atan_test_data): Likewise.
5148 (atanh_test_data): Likewise.
5149 (atan2_test_data): Likewise.
5150 (cbrt_test_data): Likewise.
5151 (cos_test_data): Likewise.
5152 (cosh_test_data): Likewise.
5153 (erf_test_data): Likewise.
5154 (erfc_test_data): Likewise.
5155 (exp_test_data): Likewise.
5156 (exp10_test_data): Likewise.
5157 (exp2_test_data): Likewise.
5158 (expm1_test_data): Likewise.
5159 (hypot_test_data): Likewise.
5160 (j0_test_data): Likewise.
5161 (j1_test_data): Likewise.
5162 (jn_test_data): Likewise.
5163 (lgamma_test_data): Likewise.
5164 (log_test_data): Likewise.
5165 (log10_test_data): Likewise.
5166 (log1p_test_data): Likewise.
5167 (log2_test_data): Likewise.
5168 (pow_test_data): Likewise.
5169 (scalb_test_data): Likewise.
5170 (sin_test_data): Likewise.
5171 (sincos_test_data): Likewise.
5172 (sinh_test_data): Likewise.
5173 (tan_test_data): Likewise.
5174 (tanh_test_data): Likewise.
5175 (tgamma_test_data): Likewise.
5176 (y0_test_data): Likewise.
5177 (y1_test_data): Likewise.
5178 (yn_test_data): Likewise.
5179
66294491
JM
5180 [BZ #16167]
5181 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
5182 argument being NaN and avoid computations with second argument in
5183 that case.
5184 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5185 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5186 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5187
1820b143
CL
51882013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
5189
5190 * locale/iso-639.def: Add Chitwani Tharu (the).
5191
714bd261
AS
51922013-11-14 Andreas Schwab <schwab@suse.de>
5193
5194 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
5195 word instead of empty string.
5196
7ab44563
AZ
51972013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5198
5199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5200 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
5201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5202 (__fe_nomask_env): Likewise.
5203
e8470ea2
SE
52042013-11-13 Steve Ellcey <sellcey@mips.com>
5205
5206 * benchtests/bench-timing.h: Include time.h.
5207
17c1d9f0
L
52082013-11-13 H.J. Lu <hongjiu.lu@intel.com>
5209
5210 [BZ #15997]
5211 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
5212 to 3.4.0 for x32.
5213 * sysdeps/unix/sysv/linux/configure: Regenerated.
5214
9310c284
JM
52152013-11-13 Joseph Myers <joseph@codesourcery.com>
5216
5217 [BZ #16151]
5218 * stdlib/strtod_l.c (round_and_return): Do not consider
5219 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
5220 exponent one less than half the least subnormal exponent.
5221 * stdlib/test-strtod-round-data: Add more tests.
5222 * stdlib/tst-strtod-round.c (tests): Regenerated.
5223
7a2ad8cf
AZ
52242013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5225
5226 [BZ #14143]
5227 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
5228 (__fe_mask_env): Likewise.
5229 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
5230 libm_hidden_proto and add function prototype.
5231 (__fe_mask_env): Add function prototype.
5232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5233 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
5234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5235 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
5236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5237 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
5238
50727aa7
MS
52392013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5240
b2f386c1 5241 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
5242 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
5243
a615be46
MS
52442013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5245
5246 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
5247 of htab_find_slot().
5248
7ddace62
DM
52492013-11-11 David S. Miller <davem@davemloft.net>
5250
5251 [BZ #16150]
5252 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
5253 symbol in the non-vis3 case in static builds.
5254 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
5255 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
5256 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
5257 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
5258
9182aa67
JK
52592013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5260
5261 [BZ #387]
5262 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
5263 it is empty.
5264
450a2e2d
AZ
52652013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5266
b2f386c1
SP
5267 * benchtests/Makefile: Add bench-strtod.
5268 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 5269
8ec3f656
AS
52702013-11-11 Andreas Schwab <schwab@suse.de>
5271
5272 [BZ #16153]
5273 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
5274 terminating NUL in key length.
5275
76a9b998
AZ
52762013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5277
5278 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
5279 Add artificial ODP entry for vDSO symbol for PPC64.
5280 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
5281 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5282
e4368156
OB
52832013-11-07 Ondřej Bílka <neleai@seznam.cz>
5284
5285 [BZ #15374]
5286 * nss/getent.c (services_keys): Recognize services starting with digit.
5287
8d6bb57c
DM
52882013-11-06 David S. Miller <davem@davemloft.net>
5289
5290 [BZ #15985]
5291 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
5292 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
5293
e256c421
WN
52942013-11-06 Will Newton <will.newton@linaro.org>
5295
5296 * manual/memory.texi (Malloc Examples): Remove register
5297 keyword from examples.
5298
f6e12daa 52992013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 5300
f6e12daa 5301 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 5302
9d880655
AS
53032013-11-04 Joseph Myers <joseph@codesourcery.com>
5304
fd2f9486 5305 [BZ #6981]
9d880655
AS
5306 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
5307 depending on [__GCC_IEC_559 > 0].
5308 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
5309 depending on [__GCC_IEC_559_COMPLEX > 0].
5310
ae129d3c
CL
53112013-11-03 Chris Leonard <cjl@sugarlabs.org>
5312
5313 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
5314 to iso-639.def.
5315
4a15c2a4 53162013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
5317
5318 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
5319
8b35e35d
OB
53202013-11-01 Ondřej Bílka <neleai@seznam.cz>
5321
5322 [BZ #16112]
5323 * malloc/malloc (malloc_info): Do not handle first bin as
5324 special case.
5325
1d70fd6c
CL
53262013-11-01 Chris Leonard <cjl@sugarlabs.org>
5327
5328 * locale/iso-639.def: Add Central Nahuatl (nhn).
5329
8c5c2600
BH
53302013-11-01 Bruno Haible <bruno@clisp.org>
5331
5332 [BZ #7003]
5333 * manual/math.texi (BSD Random): Specify range upper bound as
5334 in POSIX.
5335
da5579c2
CL
53362013-10-31 Chris Leonard <cjl@sugarlabs.org>
5337
5338 * locale/iso-639.def: Add Meadow Mari (mhr).
5339
5d30d853
OB
53402013-10-31 Ondřej Bílka <neleai@seznam.cz>
5341
5342 [BZ #14752], [BZ #15763]
5343 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
5344 Validate name.
5345 * rt/tst_shm.c: Add test for escaping directory.
5346
a4966c61
AS
53472013-10-31 Andreas Schwab <schwab@suse.de>
5348
8a43e768 5349 [BZ #15917]
a4966c61
AS
5350 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
5351 followed by 'x' as part of digit sequence.
5352 * stdio-common/tst-sscanf.c (double_tests2): New tests.
5353
28d708c4
MAP
53542013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
5355
5356 [BZ #16037]
5357 * configure.ac: allow GNU Make 4.0 and greater.
5358 * configure: Regenerated.
5359
a56ee40b
WN
53602013-10-30 Will Newton <will.newton@linaro.org>
5361
5362 [BZ #16038]
5363 * malloc/hooks.c (memalign_check): Limit alignment to the
5364 maximum representable power of two.
5365 * malloc/malloc.c (__libc_memalign): Likewise.
5366 * malloc/tst-memalign.c (do_test): Add test for very
5367 large alignment values.
5368 * malloc/tst-posix_memalign.c (do_test): Likewise.
5369
c6e4925d
OB
53702013-10-30 Ondřej Bílka <neleai@seznam.cz>
5371
5372 [BZ #11087]
5373 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
5374 (munmap_chunk): Likewise.
5375 (mremap_chunk): Likewise.
5376
53772013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 5378
8a43e768 5379 [BZ #15799]
bbea82f7
OB
5380 * stdlib/div.c (div): Remove obsolete code.
5381 * stdlib/ldiv.c (ldiv): Likewise.
5382 * stdlib/lldiv.c (lldiv): Likewise.
5383
977f4b31
SP
53842013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5385
5386 [BZ #16071]
5387 * nss/nss_files/files-XXX.c (get_contents_ret): New
5388 enumerator.
5389 (get_contents): New function.
5390 (internal_getent): Use it. Expand size of LINEBUFLEN.
5391
cb8a6dbd
MF
53922013-10-30 Mike Frysinger <vapier@gentoo.org>
5393
5394 * configure.in: Moved to ...
5395 * configure.ac: ... here. Change reference to configure.in
5396 to configure.ac.
5397 * sysdeps/arm/preconfigure.ac: ... here.
5398 configure.in to configure.ac.
5399 * sysdeps/gnu/configure.in: Moved to ...
5400 * sysdeps/gnu/configure.ac: ... here.
5401 * sysdeps/i386/configure.in: Moved to ...
5402 * sysdeps/i386/configure.ac: ... here.
5403 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
5404 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
5405 * sysdeps/mach/configure.in: Moved to ...
5406 * sysdeps/mach/configure.ac: ... here.
5407 * sysdeps/mach/hurd/configure.in: Moved to ...
5408 * sysdeps/mach/hurd/configure.ac: ... here.
5409 * sysdeps/powerpc/configure.in: Moved to ...
5410 * sysdeps/powerpc/configure.ac: ... here.
5411 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
5412 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
5413 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
5414 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
5415 * sysdeps/s390/s390-32/configure.in: Moved to ...
5416 * sysdeps/s390/s390-32/configure.ac: ... here.
5417 * sysdeps/s390/s390-64/configure.in: Moved to ...
5418 * sysdeps/s390/s390-64/configure.ac: ... here.
5419 * sysdeps/sh/configure.in: Moved to ...
5420 * sysdeps/sh/configure.ac: ... here.
5421 * sysdeps/sparc/configure.in: Moved to ...
5422 * sysdeps/sparc/configure.ac: ... here.
5423 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
5424 * sysdeps/unix/sysv/linux/configure.ac: ... here.
5425 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
5426 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
5427 * sysdeps/x86_64/configure.in: Moved to ...
5428 * sysdeps/x86_64/configure.ac: ... here.
5429 * sysdeps/x86_64/preconfigure.in: Moved to ...
5430 * sysdeps/x86_64/preconfigure.ac: ... here.
5431 * aclocal.m4: Change reference to configure.in to configure.ac.
5432 * config.h.in: Likewise.
5433 * manual/install.texi: Likewise.
5434 * manual/maint.texi: Likewise.
5435 * Makefile: Likewise.
5436 * malloc/Makefile: Likewise.
5437 * nscd/Makefile: Likewise.
5438 * Makeconfig: Change reference to configure.in and
5439 preconfigure.in to configure.ac and preconfigure.ac
5440 respectively.
5441 * INSTALL: Regenerated.
5442 * configure: Likewise.
5443 * sysdeps/gnu/configure: Likewise.
5444 * sysdeps/i386/configure: Likewise.
5445 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
5446 * sysdeps/mach/configure: Likewise.
5447 * sysdeps/mach/hurd/configure: Likewise.
5448 * sysdeps/powerpc/configure: Likewise.
5449 * sysdeps/powerpc/powerpc32/configure: Likewise.
5450 * sysdeps/powerpc/powerpc64/configure: Likewise.
5451 * sysdeps/s390/s390-32/configure: Likewise.
5452 * sysdeps/s390/s390-64/configure: Likewise.
5453 * sysdeps/sh/configure: Likewise.
5454 * sysdeps/sparc/configure: Likewise.
5455 * sysdeps/unix/sysv/linux/configure: Likewise.
5456 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
5457 * sysdeps/x86_64/configure: Likewise.
5458 * sysdeps/x86_64/preconfigure: Likewise.
5459
36a4953a
AS
54602013-10-29 Andreas Schwab <schwab@suse.de>
5461
5462 * stdio-common/Makefile (tst-swscanf-ENV): Define.
5463
c79a1204
SP
54642013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5465
dfa1b402
SP
5466 * benchtests/pow-inputs: Add new inputs.
5467
54f73d9c
SP
5468 * benchtests/exp-inputs: Add new inputs.
5469
c79a1204
SP
5470 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
5471 conditional check for return value.
5472 (__cos32): Likewise.
5473
67beb545 54742013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
5475
5476 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
5477 to provide a boost for large inputs with word alignment.
5478 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
5479 implementation based on optimized PPC64 strcpy.
5480 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
5481 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
5482 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
5483 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
5484
151659f6
OB
54852013-10-25 Ondřej Bílka <neleai@seznam.cz>
5486
482a077e 5487 [BZ #2801]
151659f6
OB
5488 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
5489
10b0f26b
OB
54902013-10-25 Ondřej Bílka <neleai@seznam.cz>
5491
5492 [BZ #14876]
5493 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
5494 * time/tst-strptime.c (day_tests): Add testcase.
5495
ca42d35e
OB
54962013-10-25 Ondřej Bílka <neleai@seznam.cz>
5497
482a077e 5498 [BZ #14029]
ca42d35e
OB
5499 * manual/pattern.texi: Acknowledge that fnmatch can fail.
5500
52e6d801
FB
55012013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
5502
5503 [BZ #16074]
5504 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
5505 MAP_FAILED on error.
5506
7cbcdb36
SP
55072013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5508
5509 [BZ #16072]
5510 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
5511 heap for large requests.
5512
894f3f10
AM
55132013-10-25 Aurelien Jarno <aurelien@aurel32.net>
5514
5515 [BZ #9954]
5516 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
5517 result if the result has no associated interface.
5518 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
5519 interface for all 127.X.Y.Z addresses.
5520
b85545a6
CL
55212013-10-24 Chris Leonard <cjl@sugarlabs.org>
5522
5523 * locale/iso-639.def: Add Ligurian (lij)
5524
d1f23d46
OB
55252013-10-21 Ondřej Bílka <neleai@seznam.cz>
5526
5527 [BZ #15825]
5528 * sunrpc/rpc_main.c: Document rpcgen -5.
5529
4db5b08f
MS
55302013-10-19 Michael Stahl <mstahl@redhat.com>
5531
5532 * elf/rtld.c (do_preload): Print the reason why preloading failed.
5533
a471e96a
OB
55342013-10-19 Ondřej Bílka <neleai@seznam.cz>
5535
d1f23d46 5536 [BZ #10278]
a471e96a
OB
5537 * posix/glob.c: Match only directories when trailing slash is present.
5538 * posix/tst-gnuglob.c (my_opendir): Do not open files.
5539 (main): Add testcase.
5540
45c30c61
OB
55412013-10-19 Ondřej Bílka <neleai@seznam.cz>
5542
5543 [BZ #15670]
5544 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
5545
484c12fb
CD
55462013-10-18 Carlos O'Donell <carlos@redhat.com>
5547
3d7dc513
CD
5548 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
5549 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
5550 AUTH_DES and cindex for FIPS 140-2.
5551 (DES Encryption): Add cindex FIPS 46-3.
5552
484c12fb
CD
5553 * locale/locarchive.h (struct locarhandle): Add fname.
5554 * locale/programs/localedef.c (main): Pass ARGV[remaining]
5555 if an optional argument was specified to --list-archive,
5556 otherwise NULL.
5557 * locale/programs/locarchive.c (show_archive_content): Take new
5558 argument fname and pass it via ah.fname to open_archive.
5559 * locale/programs/localedef.h: Update decl.
5560 (open_archive): If AH->fname is non-null, open that file
5561 rather than the default file name, and don't ignore ENOENT.
5562 (create_archive): Set AH.fname to NULL.
5563 (delete_locales_from_archive): Likewise.
5564 (add_locales_to_archive): Likewise.
5565 * locale/programs/locfile.c (write_all_categories): Likewise.
5566
3c8325fb
JM
55672013-10-18 Joseph Myers <joseph@codesourcery.com>
5568 Aldy Hernandez <aldyh@redhat.com>
5569
5570 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
5571 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
5572 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
5573 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
5574 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
5575 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
5576 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
5577 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
5578 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
5579 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
5580 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
5581 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
5582 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
5583 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
5584 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
5585 Likewise.
5586 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
5587 Likewise.
5588 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
5589 Likewise.
5590 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
5591 Likewise.
5592 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
5593 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
5594 Likewise.
5595 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
5596 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
5597 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
5598 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
5599 Likewise.
5600 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
5601 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
5602 * sysdeps/powerpc/preconfigure: Likewise.
5603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
5604 Likewise.
5605 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
5606 Replace contents of file by #include of <fenv_libc.h>.
5607 * sysdeps/powerpc/soft-fp/sfp-machine.h
5608 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
5609 and <sys/prctl.h>.
5610 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
5611 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
5612 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
5613 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
5614 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
5615 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
5616 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
5617 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
5618 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
5619 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
5620 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
5621 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
5622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5623 Allow copysignl PLT reference to be missing.
5624
5abe0682
RS
56252013-10-18 Richard Sandiford <richard@codesourcery.com>
5626 Joseph Myers <joseph@codesourcery.com
5627
5628 [BZ #15948]
5629 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
5630 single character.
5631 (add_to_tablewc): Assert sequence of wide characters is nonempty.
5632
c7738d08
SP
56332013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5634
5635 * elf/tst-tls-dlinfo.c: Don't include tls.h.
5636 * elf/tst-tls1.c: Likewise.
5637 * elf/tst-tls10.h: Likewise.
5638 * elf/tst-tls14.c: Likewise.
5639 * elf/tst-tls2.c: Likewise.
5640 * elf/tst-tls3.c: Likewise.
5641 * elf/tst-tls4.c: Likewise.
5642 * elf/tst-tls5.c: Likewise.
5643 * elf/tst-tls6.c: Likewise.
5644 * elf/tst-tls7.c: Likewise.
5645 * elf/tst-tls8.c: Likewise.
5646 * elf/tst-tls9.c: Likewise.
5647 * elf/tst-tlsmod1.c: Likewise.
5648 * elf/tst-tlsmod13.c: Likewise.
5649 * elf/tst-tlsmod13a.c: Likewise.
5650 * elf/tst-tlsmod14a.c: Likewise.
5651 * elf/tst-tlsmod16a.c: Likewise.
5652 * elf/tst-tlsmod16b.c: Likewise.
5653 * elf/tst-tlsmod2.c: Likewise.
5654 * elf/tst-tlsmod3.c: Likewise.
5655 * elf/tst-tlsmod4.c: Likewise.
5656 * elf/tst-tlsmod5.c: Likewise.
5657 * elf/tst-tlsmod6.c: Likewise.
5658
0bfcf2c7
OB
56592013-10-18 Ondřej Bílka <neleai@seznam.cz>
5660
5661 [BZ #12486]
5662 * malloc/malloc.c: remove checks for statistics.
5663
264aad1e
OB
56642013-10-17 Ondřej Bílka <neleai@seznam.cz>
5665
5666 [BZ #15277]
5667 * inet/inet_net.c (inet_network): Detect additional invalid strings.
5668 * inet/tst-network.c: Add testcase.
5669
b957ced8
AS
56702013-10-17 Andreas Schwab <schwab@suse.de>
5671
5672 [BZ #15218]
5673 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
5674 to determine canonical name.
5675
c5d5d574
OB
56762013-10-17 Ondřej Bílka <neleai@seznam.cz>
5677
5678 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
5679 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
5680 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5681 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5682 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5683 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5684 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5685 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5686 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5687 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5688 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5689 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5690 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5691 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5692 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5693 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5694 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5695 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5696 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5697 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5698 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5699 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5700 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5701 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
5702 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
5703 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5704 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5705 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
5706 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5707 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
5708 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5709 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5710 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5711 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5712 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5713 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5714 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5715 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5716 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5717 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5718 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5719 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5720 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5721 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5722 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5723 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5724 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5725 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5726 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5727 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5728 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5729 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5730 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5731 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5732 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5733 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5734 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5735 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5736
e5c2c2d0
JM
57372013-10-17 Joseph Myers <joseph@codesourcery.com>
5738
5739 [BZ #16041]
5740 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
5741 make result into a quiet NaN.
5742
51ca9e29
JM
57432013-10-16 Joseph Myers <joseph@codesourcery.com>
5744
5745 * soft-fp/adddf3.c: Fix horizontal whitespace.
5746 * soft-fp/addsf3.c: Likewise.
5747 * soft-fp/addtf3.c: Likewise.
5748 * soft-fp/divdf3.c: Likewise.
5749 * soft-fp/divsf3.c: Likewise.
5750 * soft-fp/divtf3.c: Likewise.
5751 * soft-fp/double.h: Likewise.
5752 * soft-fp/eqdf2.c: Likewise.
5753 * soft-fp/eqsf2.c: Likewise.
5754 * soft-fp/eqtf2.c: Likewise.
5755 * soft-fp/extenddftf2.c: Likewise.
5756 * soft-fp/extended.h: Likewise.
5757 * soft-fp/extendsfdf2.c: Likewise.
5758 * soft-fp/extendsftf2.c: Likewise.
5759 * soft-fp/extendxftf2.c: Likewise.
5760 * soft-fp/fixdfdi.c: Likewise.
5761 * soft-fp/fixdfsi.c: Likewise.
5762 * soft-fp/fixdfti.c: Likewise.
5763 * soft-fp/fixsfdi.c: Likewise.
5764 * soft-fp/fixsfsi.c: Likewise.
5765 * soft-fp/fixsfti.c: Likewise.
5766 * soft-fp/fixtfdi.c: Likewise.
5767 * soft-fp/fixtfsi.c: Likewise.
5768 * soft-fp/fixtfti.c: Likewise.
5769 * soft-fp/fixunsdfdi.c: Likewise.
5770 * soft-fp/fixunsdfsi.c: Likewise.
5771 * soft-fp/fixunsdfti.c: Likewise.
5772 * soft-fp/fixunssfdi.c: Likewise.
5773 * soft-fp/fixunssfsi.c: Likewise.
5774 * soft-fp/fixunssfti.c: Likewise.
5775 * soft-fp/fixunstfdi.c: Likewise.
5776 * soft-fp/fixunstfsi.c: Likewise.
5777 * soft-fp/fixunstfti.c: Likewise.
5778 * soft-fp/floatdidf.c: Likewise.
5779 * soft-fp/floatdisf.c: Likewise.
5780 * soft-fp/floatditf.c: Likewise.
5781 * soft-fp/floatsidf.c: Likewise.
5782 * soft-fp/floatsisf.c: Likewise.
5783 * soft-fp/floatsitf.c: Likewise.
5784 * soft-fp/floattidf.c: Likewise.
5785 * soft-fp/floattisf.c: Likewise.
5786 * soft-fp/floattitf.c: Likewise.
5787 * soft-fp/floatundidf.c: Likewise.
5788 * soft-fp/floatundisf.c: Likewise.
5789 * soft-fp/floatunditf.c: Likewise.
5790 * soft-fp/floatunsidf.c: Likewise.
5791 * soft-fp/floatunsisf.c: Likewise.
5792 * soft-fp/floatunsitf.c: Likewise.
5793 * soft-fp/floatuntidf.c: Likewise.
5794 * soft-fp/floatuntisf.c: Likewise.
5795 * soft-fp/floatuntitf.c: Likewise.
5796 * soft-fp/fmadf4.c: Likewise.
5797 * soft-fp/fmasf4.c: Likewise.
5798 * soft-fp/fmatf4.c: Likewise.
5799 * soft-fp/gedf2.c: Likewise.
5800 * soft-fp/gesf2.c: Likewise.
5801 * soft-fp/getf2.c: Likewise.
5802 * soft-fp/ledf2.c: Likewise.
5803 * soft-fp/lesf2.c: Likewise.
5804 * soft-fp/letf2.c: Likewise.
5805 * soft-fp/muldf3.c: Likewise.
5806 * soft-fp/mulsf3.c: Likewise.
5807 * soft-fp/multf3.c: Likewise.
5808 * soft-fp/negdf2.c: Likewise.
5809 * soft-fp/negsf2.c: Likewise.
5810 * soft-fp/negtf2.c: Likewise.
5811 * soft-fp/op-1.h: Likewise.
5812 * soft-fp/op-2.h: Likewise.
5813 * soft-fp/op-4.h: Likewise.
5814 * soft-fp/op-8.h: Likewise.
5815 * soft-fp/op-common.h: Likewise.
5816 * soft-fp/quad.h: Likewise.
5817 * soft-fp/single.h: Likewise.
5818 * soft-fp/soft-fp.h: Likewise.
5819 * soft-fp/sqrtdf2.c: Likewise.
5820 * soft-fp/sqrtsf2.c: Likewise.
5821 * soft-fp/sqrttf2.c: Likewise.
5822 * soft-fp/subdf3.c: Likewise.
5823 * soft-fp/subsf3.c: Likewise.
5824 * soft-fp/subtf3.c: Likewise.
5825 * soft-fp/truncdfsf2.c: Likewise.
5826 * soft-fp/trunctfdf2.c: Likewise.
5827 * soft-fp/trunctfsf2.c: Likewise.
5828 * soft-fp/trunctfxf2.c: Likewise.
5829 * soft-fp/unorddf2.c: Likewise.
5830 * soft-fp/unordsf2.c: Likewise.
5831 * soft-fp/unordtf2.c: Likewise.
5832
9ebb0332
JM
58332013-10-15 Joseph Myers <joseph@codesourcery.com>
5834
5835 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
5836 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
5837
4b1a6d8b
OB
58382013-10-15 Ondřej Bílka <neleai@seznam.cz>
5839
5840 * elf/dl-libc.c: Clear initfini list after freeing.
5841
1e145589
JM
58422013-10-14 Joseph Myers <joseph@codesourcery.com>
5843
5844 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
5845 * soft-fp/addsf3.c: Likewise.
5846 * soft-fp/addtf3.c: Likewise.
5847 * soft-fp/divdf3.c: Likewise.
5848 * soft-fp/divsf3.c: Likewise.
5849 * soft-fp/divtf3.c: Likewise.
5850 * soft-fp/double.h: Likewise.
5851 * soft-fp/eqdf2.c: Likewise.
5852 * soft-fp/eqsf2.c: Likewise.
5853 * soft-fp/eqtf2.c: Likewise.
5854 * soft-fp/extenddftf2.c: Likewise.
5855 * soft-fp/extended.h: Likewise.
5856 * soft-fp/extendsfdf2.c: Likewise.
5857 * soft-fp/extendsftf2.c: Likewise.
5858 * soft-fp/extendxftf2.c: Likewise.
5859 * soft-fp/fixdfdi.c: Likewise.
5860 * soft-fp/fixdfsi.c: Likewise.
5861 * soft-fp/fixdfti.c: Likewise.
5862 * soft-fp/fixsfdi.c: Likewise.
5863 * soft-fp/fixsfsi.c: Likewise.
5864 * soft-fp/fixsfti.c: Likewise.
5865 * soft-fp/fixtfdi.c: Likewise.
5866 * soft-fp/fixtfsi.c: Likewise.
5867 * soft-fp/fixtfti.c: Likewise.
5868 * soft-fp/fixunsdfdi.c: Likewise.
5869 * soft-fp/fixunsdfsi.c: Likewise.
5870 * soft-fp/fixunsdfti.c: Likewise.
5871 * soft-fp/fixunssfdi.c: Likewise.
5872 * soft-fp/fixunssfsi.c: Likewise.
5873 * soft-fp/fixunssfti.c: Likewise.
5874 * soft-fp/fixunstfdi.c: Likewise.
5875 * soft-fp/fixunstfsi.c: Likewise.
5876 * soft-fp/fixunstfti.c: Likewise.
5877 * soft-fp/floatdidf.c: Likewise.
5878 * soft-fp/floatdisf.c: Likewise.
5879 * soft-fp/floatditf.c: Likewise.
5880 * soft-fp/floatsidf.c: Likewise.
5881 * soft-fp/floatsisf.c: Likewise.
5882 * soft-fp/floatsitf.c: Likewise.
5883 * soft-fp/floattidf.c: Likewise.
5884 * soft-fp/floattisf.c: Likewise.
5885 * soft-fp/floattitf.c: Likewise.
5886 * soft-fp/floatundidf.c: Likewise.
5887 * soft-fp/floatundisf.c: Likewise.
5888 * soft-fp/floatunsidf.c: Likewise.
5889 * soft-fp/floatunsisf.c: Likewise.
5890 * soft-fp/floatuntidf.c: Likewise.
5891 * soft-fp/floatuntisf.c: Likewise.
5892 * soft-fp/floatuntitf.c: Likewise.
5893 * soft-fp/fmadf4.c: Likewise.
5894 * soft-fp/fmasf4.c: Likewise.
5895 * soft-fp/fmatf4.c: Likewise.
5896 * soft-fp/gedf2.c: Likewise.
5897 * soft-fp/gesf2.c: Likewise.
5898 * soft-fp/getf2.c: Likewise.
5899 * soft-fp/ledf2.c: Likewise.
5900 * soft-fp/lesf2.c: Likewise.
5901 * soft-fp/letf2.c: Likewise.
5902 * soft-fp/muldf3.c: Likewise.
5903 * soft-fp/mulsf3.c: Likewise.
5904 * soft-fp/multf3.c: Likewise.
5905 * soft-fp/negdf2.c: Likewise.
5906 * soft-fp/negsf2.c: Likewise.
5907 * soft-fp/negtf2.c: Likewise.
5908 * soft-fp/op-1.h: Likewise.
5909 * soft-fp/op-2.h: Likewise.
5910 * soft-fp/op-4.h: Likewise.
5911 * soft-fp/op-8.h: Likewise.
5912 * soft-fp/op-common.h: Likewise.
5913 * soft-fp/quad.h: Likewise.
5914 * soft-fp/single.h: Likewise.
5915 * soft-fp/soft-fp.h: Likewise.
5916 * soft-fp/sqrtdf2.c: Likewise.
5917 * soft-fp/sqrtsf2.c: Likewise.
5918 * soft-fp/sqrttf2.c: Likewise.
5919 * soft-fp/subdf3.c: Likewise.
5920 * soft-fp/subsf3.c: Likewise.
5921 * soft-fp/subtf3.c: Likewise.
5922 * soft-fp/truncdfsf2.c: Likewise.
5923 * soft-fp/trunctfdf2.c: Likewise.
5924 * soft-fp/trunctfsf2.c: Likewise.
5925 * soft-fp/trunctfxf2.c: Likewise.
5926 * soft-fp/unorddf2.c: Likewise.
5927 * soft-fp/unordsf2.c: Likewise.
5928 * soft-fp/unordtf2.c: Likewise.
5929
17c48a60
OB
59302013-10-14 Ondřej Bílka <neleai@seznam.cz>
5931
5932 [BZ #15672]
5933 * misc/error.c (error_tail): Fix possible buffer overflow.
5934
cabba934
OB
59352013-10-14 Aurelien Jarno <aurelien@aurel32.net>
5936
5937 [BZ #13028]
5938 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
5939 address.
5940
94bf958a
PM
59412013-10-14 P. J. McDermott <pj@pehjota.net>
5942
5943 [BZ #832]
5944 * elf/ldd.bash.in (try_trace): New function. Delete previous code
5945 testing pipefail option.
5946
71b4dea7
JM
59472013-10-12 Joseph Myers <joseph@codesourcery.com>
5948
5949 * soft-fp/double.h: Indent preprocessor directives inside #if.
5950 * soft-fp/extended.h: Likewise.
5951 * soft-fp/op-2.h: Likewise.
5952 * soft-fp/op-4.h: Likewise.
5953 * soft-fp/op-common.h: Likewise.
5954 * soft-fp/quad.h: Likewise.
5955 * soft-fp/single.h: Likewise.
5956 * soft-fp/soft-fp.h: Likewise.
5957
55602758
YC
59582013-10-12 Yuri Chornoivan <yurchor@ukr.net>
5959
5960 * iconv/iconv_prog.c: Fix typos.
5961 * stdio-common/psiginfo-data.h: Likewise.
5962
9cd83302
RT
59632013-10-12 Reuben Thomas <rrt@sc3d.org>
5964
5965 [BZ #15764]
5966 * locale/setlocale.c: Fix typo.
5967
99fd9f47
JM
59682013-10-12 Joseph Myers <joseph@codesourcery.com>
5969
b7ea74f0
JM
5970 [BZ #16036]
5971 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
5972 signaling NaN arguments.
5973 * soft-fp/unordsf2.c (__unordsf2): Likewise.
5974 * soft-fp/unordtf2.c (__unordtf2): Likewise.
5975
8a509447
JM
5976 [BZ #14910]
5977 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
5978 unordered operands.
5979 * soft-fp/gesf2.c (__gesf2): Likewise.
5980 * soft-fp/getf2.c (__getf2): Likewise.
5981 * soft-fp/ledf2.c (__ledf2): Likewise.
5982 * soft-fp/lesf2.c (__lesf2): Likewise.
5983 * soft-fp/letf2.c (__letf2): Likewise.
5984
98998e9f
JM
5985 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
5986 * soft-fp/eqsf2.c (__eqsf2): Likewise.
5987 * soft-fp/eqtf2.c (__eqtf2): Likewise.
5988 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
5989 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
5990 * soft-fp/fixdfti.c (__fixdfti): Likewise.
5991 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
5992 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
5993 * soft-fp/fixsfti.c (__fixsfti): Likewise.
5994 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
5995 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
5996 * soft-fp/fixtfti.c (__fixtfti): Likewise.
5997 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
5998 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
5999 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
6000 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
6001 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
6002 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
6003 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
6004 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
6005 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
6006 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
6007 * soft-fp/floatdisf.c (__floatdisf): Likewise.
6008 * soft-fp/floatsisf.c (__floatsisf): Likewise.
6009 * soft-fp/floattidf.c (__floattidf): Likewise.
6010 * soft-fp/floattisf.c (__floattisf): Likewise.
6011 * soft-fp/floattitf.c (__floattitf): Likewise.
6012 * soft-fp/floatundidf.c (__floatundidf): Likewise.
6013 * soft-fp/floatundisf.c (__floatundisf): Likewise.
6014 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
6015 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
6016 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
6017 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
6018 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
6019 * soft-fp/gesf2.c (__gesf2): Likewise.
6020 * soft-fp/getf2.c (__getf2): Likewise.
6021 * soft-fp/ledf2.c (__ledf2): Likewise.
6022 * soft-fp/lesf2.c (__lesf2): Likewise.
6023 * soft-fp/letf2.c (__letf2): Likewise.
6024
8edc4a11
JM
6025 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
6026 Undefine and redefine.
6027 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
6028 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
6029 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
6030 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
6031 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6032 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
6033 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6034 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
6035 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6036 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
6037 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6038 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
6039 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6040 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
6041 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6042
8399acaf
JM
6043 [BZ #16032]
6044 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
6045 without decrementing exponent if mantissa >= that for the
6046 denominator, not >.
6047 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
6048 denominator, not >. Decrement exponent in < case instead of
6049 incrementing in >= case.
6050 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
6051 without decrementing exponent if mantissa >= that for the
6052 denominator, not >.
6053
99fd9f47
JM
6054 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
6055 computing saturated result for unsigned overflow.
6056
10e1cf6b
SP
60572013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6058 Jeff Law <law@redhat.com>
6059
6060 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
6061 (atan2Mp): Add systemtap probe marker.
6062 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
6063 (__ieee754_log): Add systemtap probe marker.
6064 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
6065 (atanMp): Add systemtap probe marker.
6066 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
6067 (tanMp): Add systemtap probe marker.
6068 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
6069 (__slowexp): Add systemtap probe marker.
6070 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
6071 (__slowpow): Add systemtap probe marker.
6072 * manual/probes.texi: Document probes.
6073
3d110c7c
EB
60742013-10-11 Eric Biggers <ebiggers3@gmail.com>
6075
6076 [BZ #15362]
6077 * libio/fileops.c (_IO_new_file_write): Return count of bytes
6078 written.
6079 (_IO_new_file_xsputn): Don't return EOF if nothing has been
6080 written.
6081 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
6082 written to buffer but not flushed.
6083 * libio/iofwrite_u.c: Likewise.
6084 * libio/iopadn.c: Return bytes returned even if EOF was
6085 encountered.
6086 * libio/iowpadn.c: Likewise.
6087 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
6088 if _IO_padn does not write the whole buffer.
6089 [!COMPILE_WPRINTF] (PAD): Likewise.
6090
75b4202a
DM
60912013-10-10 David S. Miller <davem@davemloft.net>
6092
6093 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
6094 directory block.
6095
6c6352e6
JM
60962013-10-10 Joseph Myers <joseph@codesourcery.com>
6097
33b853c3
JM
6098 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
6099 instead of FSF address.
6100 * soft-fp/fixdfti.c: Likewise.
6101 * soft-fp/fixsfti.c: Likewise.
6102 * soft-fp/fixtfti.c: Likewise.
6103 * soft-fp/fixunsdfti.c: Likewise.
6104 * soft-fp/fixunssfti.c: Likewise.
6105 * soft-fp/fixunstfti.c: Likewise.
6106 * soft-fp/floattidf.c: Likewise.
6107 * soft-fp/floattisf.c: Likewise.
6108 * soft-fp/floattitf.c: Likewise.
6109 * soft-fp/floatuntidf.c: Likewise.
6110 * soft-fp/floatuntisf.c: Likewise.
6111 * soft-fp/floatuntitf.c: Likewise.
6112 * soft-fp/trunctfxf2.c: Likewise.
6113
6c6352e6
JM
6114 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
6115 * soft-fp/fixdfti.c: Likewise.
6116 * soft-fp/fixsfti.c: Likewise.
6117 * soft-fp/fixtfti.c: Likewise.
6118 * soft-fp/fixunsdfti.c: Likewise.
6119 * soft-fp/fixunssfti.c: Likewise.
6120 * soft-fp/fixunstfti.c: Likewise.
6121 * soft-fp/floattidf.c: Likewise.
6122 * soft-fp/floattisf.c: Likewise.
6123 * soft-fp/floattitf.c: Likewise.
6124 * soft-fp/floatuntidf.c: Likewise.
6125 * soft-fp/floatuntisf.c: Likewise.
6126 * soft-fp/floatuntitf.c: Likewise.
6127 * soft-fp/trunctfxf2.c: Likewise.
6128
3bf78b71
DM
61292013-10-10 David S. Miller <davem@davemloft.net>
6130
6131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6132
6f10289e
JM
61332013-10-10 Joseph Myers <joseph@codsourcery.com>
6134
bd878fc0
JM
6135 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6136 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
6137 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
6138 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
6139 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
6140 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
6141 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
6142
6f10289e
JM
6143 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
6144 for NaNs before doing comparisons on argument.
6145 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
6146 Likewise.
6147
321e2684
WN
61482013-10-10 Will Newton <will.newton@linaro.org>
6149
6150 * malloc/hooks.c (memalign_check): Ensure the value of bytes
6151 passed to _int_memalign does not overflow.
6152
40fefba1
TR
61532013-10-10 Torvald Riegel <triegel@redhat.com>
6154
6155 * scripts/bench.pl: Add include-sources directive.
6156 * benchtests/README: Update documentation.
6157
2ae21ed2
JM
61582013-10-10 Joseph Myers <joseph@codesourcery.com>
6159
dcc2dd3f
JM
6160 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
6161 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
6162 instead of FP_INIT_ROUNDMODE.
6163 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
6164 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
6165
2ae21ed2
JM
6166 [BZ #16034]
6167 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
6168 copy class of input value.
6169 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
6170 not handle exceptions.
6171 * soft-fp/negsf2.c (__negsf2): Likewise.
6172 * soft-fp/negtf2.c (__negtf2): Likewise.
6173 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
6174
cb8f9562
JM
61752013-10-09 Joseph Myers <joseph@codesourcery.com>
6176
6177 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
6178 semicolon. From Linux kernel.
6179
5b60c59d
AB
61802013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
6181
6182 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
6183
b86835ca
YC
61842013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
6185
6186 [BZ #156]
6187 * manual/socket.texi: Added statement about buffer
6188 for gethostbyname2_r.
6189
e7044ea7
OB
61902013-10-08 Ondřej Bílka <neleai@seznam.cz>
6191
6192 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
6193 Use .p2align directive instead, throughout.
6194 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6195 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6196 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
6197 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6198 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6199 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
6200 * sysdeps/x86_64/strchr.S: Likewise.
6201 * sysdeps/x86_64/strrchr.S: Likewise.
6202
09544cbc
SP
62032013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6204
88576635
SP
6205 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
6206
e7b2d1dd
SP
6207 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
6208
09544cbc
SP
6209 * sysdeps/generic/math_private.h (__mpsin1): Remove
6210 declaration.
6211 (__mpcos1): Likewise.
6212 (__mpsin): New argument __range_reduce.
6213 (__mpcos): Likewise.
6214 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6215 (slow): Use __mpsin and __mpcos.
6216 (slow1): Likewise.
6217 (slow2): Likewise.
6218 (sloww): Likewise.
6219 (sloww1): Likewise.
6220 (sloww2): Likewise.
6221 (bsloww): Likewise.
6222 (bsloww1): Likewise.
6223 (bsloww2): Likewise.
6224 (cslow2): Likewise.
6225 (csloww): Likewise.
6226 (csloww1): Likewise.
6227 (csloww2): Likewise.
6228 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
6229 range_reduce. Merge in __mpsin1.
6230 (__mpcos): Likewise.
6231 (__mpsin1): Remove.
6232 (__mpcos1): Likewise.
6233
7602d070
JM
62342013-10-07 Joseph Myers <joseph@codesourcery.com>
6235
6236 * locale/loadlocale.c (_nl_intern_locale_data): Use
6237 LOCFILE_ALIGNED_P.
6238 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
6239 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
6240 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
6241 obstack data is appropriately aligned.
6242 (obstack_int32_grow_fast): Likewise.
6243 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
6244 * locale/programs/locfile.c (add_locale_uint32): Likewise.
6245 (add_locale_uint32_array): Likewise.
6246
a357259b
SP
62472013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6248
6249 * benchtests/Makefile: Remove ARGLIST and RET variables.
6250 ($(objpfx)bench-%.c): Pass only function name to the script.
6251 * benchtests/README: Update documentation.
6252 * benchtests/acos-inputs: Add new directives.
6253 * benchtests/acosh-inputs: Likewise.
6254 * benchtests/asin-inputs: Likewise.
6255 * benchtests/asinh-inputs: Likewise.
6256 * benchtests/atan-inputs: Likewise.
6257 * benchtests/atanh-inputs: Likewise.
6258 * benchtests/cos-inputs: Likewise.
6259 * benchtests/cosh-inputs: Likewise.
6260 * benchtests/exp-inputs: Likewise.
6261 * benchtests/log-inputs: Likewise.
6262 * benchtests/pow-inputs: Likewise.
6263 * benchtests/rint-inputs: Likewise.
6264 * benchtests/sin-inputs: Likewise.
6265 * benchtests/sinh-inputs: Likewise.
6266 * benchtests/tan-inputs: Likewise.
6267 * benchtests/tanh-inputs: Likewise.
6268 * scripts/bench.pl: Add support for new directives.
6269
9ec1b13d
AM
62702013-10-07 Alan Modra <amodra@gmail.com>
6271
6272 * README: Fix careless merge.
6273
8b7d57cd
AM
62742013-10-05 Alan Modra <amodra@gmail.com>
6275
6276 * NEWS: Mention powerpc64le support and bugs fixed.
6277 * README: Both big-endian and little-endian powerpc64 supported.
6278
7b7bab13
ST
62792013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6280
6281 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
6282 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
6283 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
6284 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
6285
d39baad1
RA
62862013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
6287
6288 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
6289 match prototype.
6290
cd78f7e7
JM
62912013-10-04 Joseph Myers <joseph@codesourcery.com>
6292
29d73d86
JM
6293 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
6294 Move -mhard-float appending from
6295 ports/sysdeps/powerpc/powerpc32/Makefile.
6296 [$(with-fp) = yes] (ASFLAGS): Likewise.
6297 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
6298 * sysdeps/powerpc/nofpu: Move directory from
6299 ports/sysdeps/powerpc/nofpu.
6300 * sysdeps/powerpc/soft-fp: Move directory from
6301 ports/sysdeps/powerpc/soft-fp.
6302 * sysdeps/powerpc/powerpc32/405: Move directory from
6303 ports/sysdeps/powerpc/powerpc32/405.
6304 * sysdeps/powerpc/powerpc32/440: Move directory from
6305 ports/sysdeps/powerpc/powerpc32/440.
6306 * sysdeps/powerpc/powerpc32/464: Move directory from
6307 ports/sysdeps/powerpc/powerpc32/464.
6308 * sysdeps/powerpc/powerpc32/476: Move directory from
6309 ports/sysdeps/powerpc/powerpc32/476.
6310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
6311 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
6312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
6313 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
6314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
6315 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
6316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
6317 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
6318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
6319 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
6320 * README: Update for powerpc-*-linux-gnu software floating point
6321 support in libc.
6322
e246b347
JM
6323 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
6324 case to powerpc/powerpc32*.
6325 * sysdeps/unix/sysv/linux/configure: Regenerated.
6326
89c2003e
JM
6327 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
6328 (_FPU_MASK_OM): Define as 0x04.
6329 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
6330 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
6331 0x00c10080.
6332 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
6333 0x0000003c.
6334 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
6335
cd78f7e7
JM
6336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
6337 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6338 getcontext_e500.
6339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
6340 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6341 setcontext_e500.
6342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
6343 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
6344 and setcontext_e500.
6345
c755294d
CL
63462013-10-04 Chris Leonard <cjl@sugarlabs,.org>
6347
6348 * locale/iso-3166.def: Update iso-1366.def and related occurrences
6349
e16d221c
SP
63502013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6351
6352 * manual/threads.texi (Default Thread Attributes): Fix typo.
6353
215c7d43
WN
63542013-10-04 Will Newton <will.newton@linaro.org>
6355
6356 * malloc/Makefile: Add tst-memalign.
6357 * malloc/tst-memalign.c: New file.
6358
27d0461b
WN
6359 * malloc/tst-posix_memalign.c: Add comments.
6360 (do_test): Add comments and call free on all potentially
6361 allocated pointers. Add space after cast.
6362
1bc92709
WN
6363 * malloc/tst-pvalloc.c: Add comments.
6364 (do_test): Add comments and call free on all potentially
6365 allocated pointers. Remove duplicate check for NULL pointer.
6366 Add space after cast.
6367
66a9be9d
WN
6368 * malloc/tst-valloc.c: Add comments.
6369 (do_test): Add comments and call free on all potentially
6370 allocated pointers. Remove duplicate check for NULL pointer.
6371 Add space after cast.
6372
4cb81307
AM
63732013-10-04 Alan Modra <amodra@gmail.com>
6374
6375 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6376 Use stdint types in rather than __attribute__((mode())).
6377 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6378
f8e3e9f3
AM
63792013-10-04 Alan Modra <amodra@gmail.com>
6380
6381 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6382 Correct handling of unaligned relocs for little-endian.
6383 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6384
8f9ebb08
AM
63852013-10-04 Alan Modra <amodra@gmail.com>
6386
6387 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
6388 * configure: Regenerate.
6389 * nptl/shlib-versions: Powerpc*le starts at 2.18.
6390 * shlib-versions: Likewise.
6391
0edf96c2
AM
63922013-10-04 Alan Modra <amodra@gmail.com>
6393
6394 * string/tester.c (test_memrchr): Increment reported test cycle.
6395
e0f7a380
AM
63962013-10-04 Alan Modra <amodra@gmail.com>
6397
6398 * string/test-memcpy.c (do_one_test): When reporting errors, print
6399 string address and don't overrun end of string.
6400
466b0393
AM
64012013-10-04 Alan Modra <amodra@gmail.com>
6402
6403 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
6404 insrdi. Make better use of reg selection to speed exit slightly.
6405 Schedule entry path a little better. Remove useless "are we done"
6406 checks on entry to main loop. Handle wrapping around zero address.
6407 Correct main loop count. Handle single left-over word from main
6408 loop inline rather than by using loop_small. Remove extra word
6409 case in loop_small caused by wrong loop count. Add little-endian
6410 support.
6411 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6412 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
6413 cache hint.
6414 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6415 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
6416 support. Avoid rlwimi.
6417 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
6418
3be87c77
AM
64192013-10-04 Alan Modra <amodra@gmail.com>
6420
6421 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 6422 insrdi. Formatting.
3be87c77
AM
6423 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6424 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6425 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6426 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6427 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6428 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
6429
759cfef3
AM
64302013-10-04 Alan Modra <amodra@gmail.com>
6431
6432 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
6433 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6434 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6435 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
6436 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6437 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6438 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6439 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6440 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
6441 use of regs. Use power7 mtocrf. Tidy function tails.
6442
fe6e95d7
AM
64432013-10-04 Alan Modra <amodra@gmail.com>
6444
6445 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
6446 Formatting. Consistently use rXXX register defines or rN defines.
6447 Use early exit labels that avoid restoring unused non-volatile regs.
6448 Make cr field use more consistent with rWORDn compares. Rename
6449 regs used as shift registers for unaligned loop, using rN defines
6450 for short lifetime/multiple use regs.
6451 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6452 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
6453 addi 1,1,64 to pop stack frame. Simplify return value code.
6454 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6455
664318c3
AM
64562013-10-04 Alan Modra <amodra@gmail.com>
6457
6458 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
6459 support. Correct typos, formatting. Optimize tail. Use insrdi
6460 rather than rlwimi.
6461 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
6462 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
6463 little-endian support. Correct typos.
6464 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
6465 rather than rlwimi.
6466 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
6467 in loop and entry code to keep "and." results.
6468 (strchr): Add little-endian support. Comment. Move cntlzd
6469 earlier in tail.
6470 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
6471
43b84013
AM
64722013-10-04 Alan Modra <amodra@gmail.com>
6473
6474 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
6475 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
6476 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
6477 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
6478
8a7413f9
AM
64792013-10-04 Alan Modra <amodra@gmail.com>
6480
6481 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
6482 (rTMP): Define as r11.
6483 (strcmp): Add little-endian support. Optimise tail.
6484 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
6485 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6486 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6487 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6488 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6489 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6490 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6491
33ee81de
AM
64922013-10-04 Alan Modra <amodra@gmail.com>
6493
6494 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
6495 little-endian support. Remove unnecessary "are we done" tests.
6496 Handle "s" wrapping around zero and extremely large "size".
6497 Correct main loop count. Handle single left-over word from main
6498 loop inline rather than by using small_loop. Correct comments.
6499 Delete "zero" tail, use "end_max" instead.
6500 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
6501
db9b4570
AM
65022013-10-04 Alan Modra <amodra@gmail.com>
6503
6504 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
6505 support. Don't branch over align.
6506 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
6507 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
6508 support. Rearrange tmp reg use to suit. Comment.
6509 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
6510
f7c399cf
AM
65112013-10-04 Alan Modra <amodra@gmail.com>
6512
6513 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
6514
0b2c2ace
AM
65152013-10-04 Alan Modra <amodra@gmail.com>
6516
6517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
6518 conditional form of branch and link when obtaining pc.
6519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6520
02f04a6c
AM
65212013-10-04 Alan Modra <amodra@gmail.com>
6522
6523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
6524 HIWORD/LOWORD.
6525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
6526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
6527
9b874b2f
AM
65282013-10-04 Alan Modra <amodra@gmail.com>
6529
6530 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
6531 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
6532 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
6533 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
6534 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6535 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6536 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
6537 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6538 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
6539 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
6540
be1e5d31
AB
65412013-10-04 Anton Blanchard <anton@au1.ibm.com>
6542 Alistair Popple <alistair@ozlabs.au.ibm.com>
6543 Alan Modra <amodra@gmail.com>
6544
6545 [BZ #15723]
6546 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
6547 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
6548 _dl_hwcap access for little-endian.
6549 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
6550 destroy vmx regs when saving unaligned.
6551 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
6552 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
6553 destroy vmx regs when saving unaligned.
6554
fef13a78
AM
65552013-10-04 Alan Modra <amodra@gmail.com>
6556
6557 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
6558 Don't use a union to pack hi/low value.
6559
76a66d51
AB
65602013-10-04 Anton Blanchard <anton@au1.ibm.com>
6561
6562 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
6563 for little-endian.
6564 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6565 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
6566 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6567 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6568 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6569
6a31fe7f
AM
65702013-10-04 Alan Modra <amodra@gmail.com>
6571
6572 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
6573 constants to usual value for .cst8 section, and remove redundant
6574 high address load.
6575 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
6576 constant for 0x1p52. Load little-endian words of double from
6577 correct stack offsets.
6578
7b88401f
AM
65792013-10-04 Alan Modra <amodra@gmail.com>
6580
6581 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
6582 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
6583 words of double from correct stack offsets.
6584 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
6585 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
6586 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6587 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6588 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6589 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6590 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6591 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
6592 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
6593 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6594 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6595 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6596 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6597 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6598 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6599 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
6600 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
6601
9c008155
AM
66022013-10-04 Alan Modra <amodra@gmail.com>
6603
6604 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
6605 64-bit int/double union.
6606 (_FPU_SETCW): Likewise.
6607 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
6608 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
6609
da13146d
AM
66102013-10-04 Alan Modra <amodra@gmail.com>
6611
6612 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
6613 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
6614
603e8410
AM
66152013-10-04 Alan Modra <amodra@gmail.com>
6616
6617 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
6618 use vector int constants.
6619 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
6620
4a28b3ca
AB
66212013-10-04 Anton Blanchard <anton@au1.ibm.com>
6622
6623 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
6624 array with long long.
6625 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
6626 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
6627 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
6628 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
6629 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
6630 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
6631 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
6632 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
6633 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
6634 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
6635 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
6636 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
6637 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
6638
2ca85d2b
AB
66392013-10-04 Anton Blanchard <anton@au1.ibm.com>
6640
6641 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
6642 (__signbit): Likewise. Correct for little-endian.
6643 (__signbitl): Call __signbit.
6644 (lrint): Correct for little-endian.
6645 (lrintf): Call lrint.
6646
62a728ae
AM
66472013-10-04 Alan Modra <amodra@gmail.com>
6648
6649 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
6650 union 32-bit int array member with 64-bit int array.
6651 (t515, tm256): Double rather than long double.
6652 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
6653
32c301df
AM
66542013-10-04 Alan Modra <amodra@gmail.com>
6655
6656 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
6657 Delete.
6658 (IEEE854_LONG_DOUBLE_BIAS): Delete.
6659 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
6660 version of math_ldbl.h.
6661
650ef4bd
AM
66622013-10-04 Alan Modra <amodra@gmail.com>
6663
6664 [BZ #15734], [BZ #15735]
6665 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
6666 all uses of ieee875 long double macros and unions. Simplify test
6667 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
6668 ldbl_extract_mantissa value for ix,iy exponents. Properly
6669 normalize after ldbl_extract_mantissa, and don't add hidden bit
6670 already handled. Don't treat low word of ieee854 mantissa like
6671 low word of IBM long double and mask off bit when testing for
6672 zero.
6673 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
6674 all uses of ieee875 long double macros and unions. Simplify tests
6675 for 0.0L and inf. Correct double adjustment of k. Delete dead code
6676 adjusting ha,hb. Simplify code setting kld. Delete two600 and
6677 two1022, instead use their values. Recognise that tests for large
6678 "a" and small "b" are mutually exclusive. Rename vars. Comment.
6679 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
6680 Rewrite all uses of ieee875 long double macros and unions. Simplify
6681 test for 0.0L and nan. Correct negation.
6682 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
6683 ieee875 long double macros and unions. Correct output for large
6684 magnitude x. Correct absolute value calculation.
6685 (__erfcl): Likewise.
6686 * math/libm-test.inc: Add tests for errors discovered in IBM long
6687 double versions of fmodl, remainderl, erfl and erfcl.
6688
765714ca
AM
66892013-10-04 Alan Modra <amodra@gmail.com>
6690
6691 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
6692 all uses of ieee854 long double macros and unions. Simplify tests
6693 for long doubles that are fully specified by the high double.
6694 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6695 Likewise.
6696 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
6697 Remove dead code too.
6698 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6699 (__ieee754_ynl): Likewise.
6700 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
6701 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
6702 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6703 Remove dead code too.
6704 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
6705 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6706 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
6707 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
6708 Simplify.
6709 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
6710 Simplify.
6711 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
6712 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
6713 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
6714 Comment on variable precision.
6715 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
6716 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6717 Likewise.
6718 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6719 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6720 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6721 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
6722 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
6723
4ebd120c
AM
67242013-10-04 Alan Modra <amodra@gmail.com>
6725
6726 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
6727 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
6728 all uses of ieee854 long double macros and unions.
6729 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
6730 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6731 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
6732 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
6733 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
6734 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6735 Likewise.
6736 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
6737 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6738 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
6739 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6740 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
6741 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
6742 Simplify sign and nan test too.
6743 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
6744 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
6745 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
6746 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
6747 Likewise.
6748 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6749 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
6750 Likewise.
6751 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6752 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6753 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
6754 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
6755 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
6756 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
6757
1b6adf88
AM
67582013-10-04 Alan Modra <amodra@gmail.com>
6759
6760 * stdio-common/printf_size.c (__printf_size): Don't use
6761 union ieee854_long_double in fpnum union.
6762 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
6763 signbit macro to retrieve sign from long double.
6764 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
6765 retrieve sign from long double.
6766 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
6767 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
6768 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
6769 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6770 * math/test-misc.c (main): Don't use union ieee854_long_double.
6771
4cf69995
AM
67722013-10-04 Alan Modra <amodra@gmail.com>
6773
6774 [BZ #15680]
6775 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
6776 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
6777 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
6778 calculation. Remove unnecessary test for denormal exponent.
6779 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
6780 Correct handling of denormals. Avoid undefined shift behaviour.
6781 Correct normalisation of low mantissa when low double is denormal.
6782 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
6783 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
6784 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
6785 Correct normalisation of low mantissa. Test for overflow of high
6786 mantissa and normalise.
6787 (ldbl_nearbyint): Use more readable constant for two52.
6788 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
6789 (__mpn_construct_long_double): Fix test for overflow of high
6790 mantissa and correct normalisation. Avoid undefined shift.
6791
9605ca6c
AM
67922013-10-04 Alan Modra <amodra@gmail.com>
6793
6794 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6795 (union ibm_extended_long_double): Define as an array of ieee754_double.
6796 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
6797 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
6798 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
6799 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6800 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6801 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
6802 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6803 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
6804 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6805 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
6806 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6807
975569d0
JM
68082013-10-03 Joseph Myers <joseph@codesourcery.com>
6809
d3d23756
JM
6810 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
6811 page size instead of calling getpagesize.
6812
975569d0
JM
6813 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
6814 (LOCFILE_ALIGN_MASK): Likewise.
6815 (LOCFILE_ALIGN_UP): Likewise.
6816 (LOCFILE_ALIGNED_P): Likewise.
6817 * locale/programs/ld-collate.c (collate_output): Use the new
6818 macros instead of __alignof__ (int32_t).
6819 * locale/weight.h (findidx): Likewise.
6820
b1fe1f2b
OB
68212013-10-03 Ondřej Bílka <neleai@seznam.cz>
6822
6823 [BZ #431]
6824 * manual/string.texi: Fix strncat and wcsncat.
6825
5f855e35
BM
68262013-10-03 Brooks Moses <bmoses@google.com>
6827
6828 [BZ #15915]
6829 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
6830 * Makerules: ...here, and adjust associated comments.
6831
3cef6009
WN
68322013-10-02 Will Newton <will.newton@linaro.org>
6833
6834 * malloc/Makefile: Add tst-pvalloc.
6835 * malloc/tst-pvalloc.c: New file.
6836
7815420b
WN
68372013-10-02 Will Newton <will.newton@linaro.org>
6838
6839 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
6840 improve test coverage.
6841
4868b204
WN
68422013-10-02 Will Newton <will.newton@linaro.org>
6843
6844 * malloc/Makefile: Add tst-posix_memalign.
6845 * malloc/tst-posix_memalign.c: New file.
6846
29c793b3
EB
68472013-10-01 Eric Blake <eblake@redhat.com>
6848
6849 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
6850 Use __THROWNL rather than __THROW on static functions.
6851
fd967522
PM
68522013-09-30 Petr Machata <pmachata@redhat.com>
6853
6854 * elf/elf.h (R_AARCH64_ABS16): New macro.
6855 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
6856 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
6857 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
6858 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
6859 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
6860 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
6861 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
6862 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
6863 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
6864 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
6865 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
6866 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
6867 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
6868 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
6869 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
6870 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
6871 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
6872 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
6873 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
6874 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
6875 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
6876 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
6877 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
6878 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
6879 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
6880 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
6881 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
6882 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
6883 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
6884 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
6885 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
6886 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
6887 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
6888 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
6889 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
6890 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
6891 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
6892 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
6893 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
6894 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
6895 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
6896 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
6897 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
6898 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
6899 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
6900 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
6901 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
6902 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
6903 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
6904 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
6905 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
6906 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
6907 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
6908 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
6909 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
6910 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
6911 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
6912 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
6913 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
6914 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
6915 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
6916 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
6917 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
6918 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
6919 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
6920 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
6921 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
6922 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
6923 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
6924 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
6925 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
6926 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
6927 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
6928 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
6929 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
6930 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
6931 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
6932 (R_AARCH64_TLSDESC_LDR): Likewise.
6933 (R_AARCH64_TLSDESC_ADD): Likewise.
6934 (R_AARCH64_TLSDESC_CALL): Likewise.
6935
b2179107
AS
69362013-09-30 Andreas Schwab <schwab@suse.de>
6937
6938 [BZ #15048]
6939 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
6940 the nss database lookup.
6941 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6942 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6943
47f28d0a
MF
69442013-09-28 Mike Frysinger <vapier@gentoo.org>
6945
6946 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
6947
69482013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
6949
6950 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
6951 ${Bash-specific parameter/pattern/string} parameter expansion.
6952 * sysdeps/unix/make-syscalls.sh: Likewise.
6953
f4518a17
KK
69542013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6955
6956 * sysdeps/sh/stackguard-macros.h: New file.
6957
dc1a95c7
OB
69582013-09-26 Ondřej Bílka <neleai@seznam.cz>
6959
6960 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6961 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
6962 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
6963 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
6964 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6965 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
6966
5ebbff8f
AZ
69672013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6968
6969 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
6970 Fix thread ID register.
6971
4fd2cf9f
JM
69722013-09-25 Joseph Myers <joseph@codesourcery.com>
6973
6974 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
6975 [POSIX || UNIX98]: Require rather than permitting all symbols from
6976 <time.h>.
6977 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
6978 element of struct sched_param.
6979 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
6980 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
6981 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
6982 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
6983 constant.
6984
12c22bc4
OL
69852013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
6986
6987 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
6988 argument calculation.
6989
a03d8ea7
JM
69902013-09-24 Joseph Myers <joseph@codesourcery.com>
6991
6992 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
6993 Expect macro.
6994 [POSIX] (pthread_attr_t): Do not require type.
6995 [POSIX] (pthread_cond_t): Likewise.
6996 [POSIX] (pthread_condattr_t): Likewise.
6997 [POSIX] (pthread_key_t): Likewise.
6998 [POSIX] (pthread_mutex_t): Likewise.
6999 [POSIX] (pthread_mutexattr_t): Likewise.
7000 [POSIX] (pthread_once_t): Likewise.
7001 [POSIX] (pthread_t): Likewise.
7002 [POSIX-based standards] (pthread_atfork): Expect function.
7003
6055173a
JM
70042013-09-24 Joseph Myers <joseph@codesourcery.com>
7005 Richard Sandiford <richard@codesourcery.com>
7006
7007 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
7008 (swap_endianness_p): New extern variable.
7009 (set_big_endian): New inline function.
7010 (maybe_swap_uint32): Likewise.
7011 (maybe_swap_uint32_array): Likewise.
7012 (maybe_swap_uint32_obstack): Likewise.
7013 * locale/programs/locfile.c: Include <stdbool.h>.
7014 (swap_endianness_p): New variable.
7015 (add_locale_uint32): Call maybe_swap_uint32.
7016 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
7017 (write_locale_data): Call maybe_swap_uint32_array.
7018 * locale/programs/ld-collate.c (obstack_int32_grow): Call
7019 maybe_swap_uint32.
7020 (obstack_int32_grow_fast): Likewise.
7021 (output_weightwc): Call maybe_swap_uint32_obstack.
7022 (collate_output): Likewise.
7023 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
7024 (OPT_LITTLE_ENDIAN): Likewise.
7025 (options): Add --little-endian and --big-endian options.
7026 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
7027 * locale/programs/locarchive.c: Include "locfile.h".
7028 (GET): New macro.
7029 (SET): Likewise.
7030 (INC): Likewise.
7031 (create_archive): Use the new macros to access fields of
7032 structures directly mapped from or written to locale archives.
7033 (oldlocrecentcmp): Likewise.
7034 (enlarge_archive): Likewise.
7035 (insert_name): Likewise.
7036 (add_alias): Likewise.
7037 (add_locale): Likewise.
7038 (delete_locales_from_archive): Likewise.
7039 (show_archive_content): Likewise.
7040 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
7041 locale data.
7042
39bf0bb4
RM
70432013-09-24 Roland McGrath <roland@hack.frob.com>
7044
7045 * manual/freemanuals.texi: Updated from (newly) canonical copy at
7046 http://www.gnu.org/doc/freemanuals.texi.
7047 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
7048
f02eed10
WN
70492013-09-24 Will Newton <will.newton@linaro.org>
7050
7051 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
7052 macro.
7053
a3a6c312
JM
70542013-09-23 Joseph Myers <joseph@codesourcery.com>
7055
7056 * locale/hashval.h (compute_hashval): Interpret bytes of key as
7057 unsigned char.
7058
107375ac
MR
70592013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
7060
7061 * manual/threads.texi (POSIX Threads): Fix a typo.
7062
141f3a77
SP
70632013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7064
303e567a
SP
7065 [BZ #14547]
7066 * string/tst-strcoll-overflow.c: New test case.
7067 * string/Makefile (xtests): Add tst-strcoll-overflow.
7068 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
7069 cache if string sizes may cause integer overflow.
7070
141f3a77
SP
7071 [BZ #14547]
7072 * string/strcoll_l.c (coll_seq): New members rule, idx,
7073 save_idx and back_us.
7074 (get_next_seq_nocache): New function.
7075 (do_compare_nocache): New function.
7076 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
7077 when malloc fails.
7078
c61b4d41
CD
70792013-09-23 Carlos O'Donell <carlos@redhat.com>
7080
0b1f8e35
CD
7081 [BZ #15754]
7082 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
7083 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
7084 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
7085
c61b4d41
CD
7086 [BZ #15754]
7087 * elf/Makefile (tests): Add tst-ptrguard1.
7088 (tests-static): Add tst-ptrguard1-static.
7089 (tst-ptrguard1-ARGS): Define.
7090 (tst-ptrguard1-static-ARGS): Define.
7091 * elf/tst-ptrguard1.c: New file.
7092 * elf/tst-ptrguard1-static.c: New file.
7093 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
7094 * sysdeps/i386/stackguard-macros.h: Likewise.
7095 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
7096 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
7097 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7098 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7099 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
7100 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
7101
71022013-09-23 Hector Marco <hecmargi@upv.es>
7103 Ismael Ripoll <iripoll@disca.upv.es>
7104 Carlos O'Donell <carlos@redhat.com>
7105
7106 [BZ #15754]
7107 * sysdeps/generic/stackguard-macros.h: Define
7108 __pointer_chk_guard_local and POINTER_CHK_GUARD.
7109 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
7110 Define __pointer_chk_guard_local.
7111 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
7112 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
7113
f5f4e7b4
VV
71142013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
7115
7116 [BZ #15859]
7117 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
7118
5bb43a43
AS
71192013-09-20 Andreas Schwab <schwab@linux-m68k.org>
7120
7121 * include/string.h (__ffs): Declare as hidden.
7122 * string/ffs.c (__ffs): Define as hidden.
7123 * sysdeps/i386/ffs.c (__ffs): Likewise.
7124 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
7125 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
7126 * sysdeps/s390/ffs.c (__ffs): Likewise.
7127 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
7128
3ea5be54
AO
71292013-09-20 Alexandre Oliva <aoliva@redhat.com>
7130
ffb89e53
AO
7131 * NEWS: Mention malloc probes.
7132
322dea08
AO
7133 * malloc/arena.c (new_heap): New memory_heap_new probe.
7134 (grow_heap): New memory_heap_more probe.
7135 (shrink_heap): New memory_heap_less probe.
7136 (heap_trim): New memory_heap_free probe.
7137 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
7138 (systrim): New memory_sbrk_less probe.
7139 * manual/probes.texi: Document them.
7140
655673f3
AO
7141 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
7142 * manual/probes.texi: Document it.
7143
35fed6f1
AO
7144 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
7145 (__libc_realloc): Add memory_realloc_retry probe.
7146 (__libc_memalign): Add memory_memalign_retry probe.
7147 (__libc_valloc): Add memory_valloc_retry probe.
7148 (__libc_pvalloc): Add memory_pvalloc_retry probe.
7149 (__libc_calloc): Add memory_calloc_retry probe.
7150 * manual/probes.texi: Document them.
7151
6999d38c
AO
7152 * malloc/arena.c (get_free_list): Add probe
7153 memory_arena_reuse_free_list.
7154 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
7155 and memory_arena_reuse.
7156 (arena_get2) [!PER_THREAD]: Likewise.
7157 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
7158 memory_arena_reuse_realloc.
7159 * manual/probes.texi: Document them.
7160
0653427f
AO
7161 * malloc/malloc.c (__libc_free): Add
7162 memory_mallopt_free_dyn_thresholds probe.
7163 (__libc_mallopt): Add multiple memory_mallopt probes.
7164 * manual/probes.texi: Document them.
7165
3ea5be54
AO
7166 * malloc/malloc.c: Include stap-probe.h.
7167 (__libc_mallopt): Add memory_mallopt probe.
7168 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
7169 * manual/probes.texi: New.
7170 * manual/Makefile (chapters): Add probes.
7171 * manual/threads.texi: Set next node.
7172
e35696c3 71732013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 7174
e35696c3
CL
7175 [BZ #15963, #13985]
7176 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
7177 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
7178 Add `Chinese' to `nan' entry name.
7179
4aafb73c
SP
71802013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7181
7182 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
7183 (POLYNOMIAL): Likewise.
7184 (TAYLOR_SINCOS): Likewise.
7185 (TAYLOR_SLOW): Likewise.
7186 (__sin): Use TAYLOR_SINCOS.
7187 (__cos): Likewise.
7188 (slow): Use TAYLOR_SLOW.
7189 (sloww): Likewise.
7190 (bsloww): Likewise.
7191 (csloww): Likewise.
7192
d84f25c7
LD
71932013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7194
7195 * stdlib/strtod_l.c: Fix buffer overrun.
7196
5eea0404
SP
71972013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7198
7849ff93
SP
7199 * benchtests/Makefile (bench): Add sincos.
7200 * benchtests/bench-sincos.c: New file.
7201
cfa3c886
SP
7202 * math/libm-test.inc (cos_test_data): New test inputs.
7203 (sin_test_data): Likewise.
7204
b348e1e3
SP
7205 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
7206 macro.
7207 (__sin): Use it.
7208 (__cos): Likewise.
7209 (slow1): Likewise.
7210 (slow2): Likewise.
7211 (sloww1): Likewise.
7212 (sloww2): Likewise.
7213 (bsloww1): Likewise.
7214 (bsloww2): Likewise.
7215 (cslow2): Likewise.
7216 (csloww1): Likewise.
7217 (csloww2): Likewise.
7218
6cce25f8
SP
7219 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
7220 function.
7221 (__sin): Use it.
7222 (__cos): Likewise.
7223
5eea0404
SP
7224 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
7225 gotos.
7226 (__cos): Likewise.
7227
9c21573c
MR
72282013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
7229
7230 * config.h.in (HAVE_MIPS_NAN2008): New macro.
7231 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
7232 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
7233 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
7234 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
7235 * elf/cache.c (print_entry): Handle the new cache flags.
7236
24d22e65
JM
72372013-09-18 Joseph Myers <joseph@codesourcery.com>
7238 Aldy Hernandez <aldyh@redhat.com>
7239
7240 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
7241 Change condition to [_SOFT_FLOAT].
7242 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
7243 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
7244 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
7245 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
7246 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
7247 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
7248 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
7249 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
7250 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
7251 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
7252 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
7253 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
7254 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
7255 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
7256 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
7257 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
7258 declaration.
7259
d13ef066
JM
72602013-09-18 Joseph Myers <joseph@codesourcery.com>
7261
2e071de0
JM
7262 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
7263 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7264 (__longjmp): Use LOAD_GP to load saved GPRs.
7265 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
7266 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7267 (__sigsetjmp): Use SAVE_GP to save GPRs.
7268
d13ef066
JM
7269 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
7270 Do not append -msoft-float.
7271 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
7272
97a0650b
SP
72732013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7274
7275 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
7276
11ca09e9
JM
72772013-09-17 Joseph Myers <joseph@codesourcery.com>
7278
7279 [BZ #15966]
7280 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
7281 (_FPU_GETCW): Use initial "__" on variable and field names but not
7282 on macro parameter name.
7283 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
7284 parentheses around reference to macro parameter.
7285
08ffcf34
RS
72862013-09-13 Richard Sandiford <richard@codesourcery.com>
7287
7288 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
7289 prototype.
7290 (ctype_startup): Use uint32_t in cast and sizeof for
7291 ctype->charnames.
7292
ae7080d3
JL
72932013-09-11 Jia Liu <proljc@gmail.com>
7294
7295 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
7296 __daddr_t_defined.
7297 [__FreeBSD__]: Likewise.
7298
5905e7b3
OB
72992013-09-11 Ondřej Bílka <neleai@seznam.cz>
7300
7301 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7302 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
7303 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
7304 (strchr): Remove __strchr_sse42 ifunc selection.
7305 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
7306 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
7307
b987c776
WN
73082013-09-11 Will Newton <will.newton@linaro.org>
7309
7310 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
7311 parameter to RES. Remove hardcoded 1000 value.
7312 * benchtests/bench-skeleton.c (main): Pass RES parameter
7313 to TIMING_INIT and multiply result by 1000.
7314
ddf985af
AZ
73152013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7316
7317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7318
ffdd3181
AS
73192013-09-11 Andreas Schwab <schwab@suse.de>
7320
7321 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7322 if not defined.
7323 (O_TMPFILE) [__USE_GNU]: Define.
7324 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
7325 Define.
7326
b73ed247
WN
73272013-09-11 Will Newton <will.newton@linaro.org>
7328
7329 [BZ #15857]
7330 * malloc/malloc.c (__libc_memalign): Check the value of bytes
7331 does not overflow.
7332
55e17aad
WN
73332013-09-11 Will Newton <will.newton@linaro.org>
7334
7335 [BZ #15856]
7336 * malloc/malloc.c (__libc_valloc): Check the value of bytes
7337 does not overflow.
7338
1159a193
WN
73392013-09-11 Will Newton <will.newton@linaro.org>
7340
7341 [BZ #15855]
7342 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
7343 does not overflow.
7344
5905e7b3 73452013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
7346
7347 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
7348 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7349 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7350 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7351 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7352
cdfc721b
AM
73532013-09-10 Allan McRae <allan@archlinux.org>
7354
aa04af00
AM
7355 [BZ #15748]
7356 * manual/arith.texi (Parsing of Floats): Clarify
7357 cross-reference.
7358
cdfc721b
AM
7359 [BZ #15849]
7360 * manual/install.texi (Running make install): Mention
7361 --enable-pt-chown.
7362 * INSTALL: Regenerated.
7363
95e7cf29
MR
73642013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7365
7366 * csu/init-first.c (_init): Remove the !SHARED condition around
7367 FPU control word initialization.
7368 * elf/dl-support.c (_dl_fpu_control): New variable.
7369 (_dl_aux_init) <AT_FPUCW>: Initialize it.
7370 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
7371 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
7372 * math/test-fpucw-static.c: New file.
7373 * math/test-fpucw-ieee.c: New file.
7374 * math/test-fpucw-ieee-static.c: New file.
7375 * math/Makefile (tests): Add `test-fpucw-ieee' and
7376 `$(tests-static)'.
7377 (tests-static): New variable.
7378 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
7379 dependency to...
7380 [($(build-shared),yes)]
7381 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7382 ... this.
7383 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
7384 New dependency.
7385
83e43bf0
AM
73862013-09-09 Allan McRae <allan@archlinux.org>
7387
a9f5ce09
AM
7388 [BZ #15939]
7389 * manual/string.texi (Collation Functions): Fix typo in
7390 strcoll example.
7391 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
7392
34829bc2
AM
7393 [BZ #15893]
7394 * stdlib/isomac.c (get_null_defines): Fix memory leak.
7395
3932737d
AM
7396 [BZ #15892]
7397 * libio/memstream.c (open_memstream): Fix memory leak.
7398 * libio/wmemstream.c (open_wmemstream): Likewise.
7399
83e43bf0
AM
7400 [BZ #15895]
7401 * nscd/netgroupcache.c: Fix nesting of ifdefs.
7402
0c66b8e9
WN
74032013-09-09 Will Newton <will.newton@linaro.org>
7404
7405 * malloc/Makefile: Add tst-realloc to tests.
7406 * malloc/tst-realloc.c: New file.
7407
f6b00fd1
AM
74082013-09-09 Allan McRae <allan@archlinux.org>
7409
7410 [BZ #15844]
7411 * COPYING: Update from GNU website to fix FSF address.
7412 * COPYING.LIB: Likewise.
7413
eec55e16
DM
74142013-09-06 David S. Miller <davem@davemloft.net>
7415
7416 * po/zh_TW.po: Update Chinese (traditional) translation from
7417 translation project.
7418
1ecbb381
RS
74192013-09-06 Richard Sandiford <richard@codesourcery.com>
7420 Joseph Myers <joseph@codesourcery.com>
7421
7422 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
7423 "localeinfo.h".
7424 (obstack_chunk_alloc): New macro.
7425 (obstack_chunk_free): Likewise.
7426 (record_offset): New function.
7427 (init_locale_data): Likewise.
7428 (align_locale_data): Likewise.
7429 (add_locale_empty): Likewise.
7430 (add_locale_raw_data): Likewise.
7431 (add_locale_raw_obstack): Likewise.
7432 (add_locale_string): Likewise.
7433 (add_locale_wstring): Likewise.
7434 (add_locale_uint32): Likewise.
7435 (add_locale_uint32_array): Likewise.
7436 (add_locale_char): Likewise.
7437 (start_locale_structure): Likewise.
7438 (end_locale_structure): Likewise.
7439 (start_locale_prelude): Likewise.
7440 (end_locale_prelude): Likewise.
7441 (write_locale_data): Take locale_file structure rather than an
7442 iovec.
7443 * locale/programs/locfile.h: Include "obstack.h".
7444 (struct locale_file): Change to store locale file contents instead
7445 of header.
7446 (init_locale_data): New prototype.
7447 (align_locale_data): Likewise.
7448 (add_locale_empty): Likewise.
7449 (add_locale_raw_data): Likewise.
7450 (add_locale_raw_obstack): Likewise.
7451 (add_locale_string): Likewise.
7452 (add_locale_wstring): Likewise.
7453 (add_locale_uint32): Likewise.
7454 (add_locale_uint32_array): Likewise.
7455 (add_locale_char): Likewise.
7456 (start_locale_structure): Likewise.
7457 (end_locale_structure): Likewise.
7458 (start_locale_prelude): Likewise.
7459 (end_locale_prelude): Likewise.
7460 (write_locale_data): Update prototype.
7461 * locale/programs/3level.h (struct TABLE): Remove result field.
7462 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
7463 Use new locale_file interface.
7464 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
7465 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
7466 * locale/programs/ld-address.c (address_output): Use new
7467 locale_file interface.
7468 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
7469 NO_ADD_LOCALE.
7470 (collate_finish): Don't call collseq_table_finalize.
7471 (collate_output): Use new locale_file interface.
7472 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
7473 in file.
7474 (NO_FINALIZE): Change to NO_ADD_LOCALE.
7475 (TABLE): Move defines earlier in file.
7476 (ELEMENT): Likewise.
7477 (DEFAULT): Likewise.
7478 (wctrans_table_add): Move macro and inline function earlier in
7479 file.
7480 (struct wctype_table): Move type earlier in file.
7481 (add_locale_wctype_table): New static prototype.
7482 (struct locale_ctype_t): Use logical types instead of struct iovec
7483 pointers for members.
7484 (ctype_output): Use new locale_file interface.
7485 (wctype_table_finalize): Change to add_locale_wctype_table. Use
7486 new locale_file interface.
7487 (allocate_arrays): Update for use of new locale_file interface.
7488 * locale/programs/ld-identification.c (identification_output): Use
7489 new locale_file interface.
7490 * locale/programs/ld-measurement.c (measurement_output): Likewise.
7491 * locale/programs/ld-messages.c (messages_output): Likewise.
7492 * locale/programs/ld-monetary.c (monetary_output): Likewise.
7493 * locale/programs/ld-name.c (name_output): Likewise.
7494 * locale/programs/ld-numeric.c (numeric_output): Likewise.
7495 * locale/programs/ld-paper.c (paper_output): Likewise.
7496 * locale/programs/ld-telephone.c (telephone_output): Likewise.
7497 * locale/programs/ld-time.c (time_output): Likewise.
7498
e029e2e5
AZ
74992013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7500
7501 * benchtests/Makefile: Add memrchr benchmark.
7502 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
7503 benchmark as memrchr.
7504 * benchtests/bench-memrchr-ifunc.c: New file.
7505 * benchtests/bench-memrchr.c: New file.
7506
bbf6e8e4
WN
75072013-09-06 Will Newton <will.newton@linaro.org>
7508
7509 * benchtests/Makefile (string-bench): Add memcpy.
7510
6c82a2f8
CD
75112013-09-05 Carlos O'Donell <carlos@redhat.com>
7512 Cong Wang <amwang@redhat.com>
7513
e732c5f0 7514 [BZ #15850]
6c82a2f8
CD
7515 * sysdeps/unix/sysv/linux/bits/in.h
7516 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
7517 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
7518 before __USE_KERNEL_IPV6_DEFS uses.
7519 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
7520 IPPROTO_BEETPH.
7521 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
7522 sockaddr_in6, or ipv6_mreq.
7523
5430fc65
AZ
75242013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7525
7526 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
7527 memory access for final bytes in some large inputs.
7528 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
7529
4660856c
AZ
75302013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7531
7532 * string/test-memrchr.c: New file.
7533 * string/test-memrchr-ifunc.c: New file.
7534 * string/Makefile: Add new memrchr testcase.
7535
bb8ea713
MF
75362013-09-05 Mike Frysinger <vapier@gentoo.org>
7537
7538 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
7539 fanotify_init returns EPERM.
7540
b92a20b5
JM
75412013-09-04 Joseph Myers <joseph@codesourcery.com>
7542
7543 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
7544 errors.
7545 (top level): Treat second token from macro or constant entries for
7546 allowed headers as allowed.
7547 * include/complex.h: Condition internal declarations on
7548 [!_ISOMAC].
7549 * include/fenv.h: Condition include of <stdbool.h> and internal
7550 declarations on [!_ISOMAC].
7447ccd9
CL
7551
75522013-09-04 Chris Leonard <cjl@sugarlabs,.org>
7553
3e181dda 7554 [BZ #15923]
7447ccd9
CL
7555 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
7556
3f2e46a4
JM
75572013-09-04 Joseph Myers <joseph@codesourcery.com>
7558
7559 * configure.in (--enable-versioning): Remove configure option.
7560 (libc_cv_asm_symver_directive): Remove configure test.
7561 (libc_cv_ld_version_script_option): Likewise.
7562 (VERSIONING): Remove variable and AC_SUBST.
7563 (DO_VERSIONING): Remove AC_DEFINE.
7564 * configure: Regenerated.
7565 * config.h.in (DO_VERSIONING): Remove macro.
7566 * Makerules [$(versioning) = yes]: Change conditionals to
7567 [$(build-shared) = yes].
7568 * config.make.in (versioning): Remove variable.
7569 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
7570 [$(build-shared) = yes].
7571 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
7572 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
7573 * elf/Makefile [$(versioning) = yes]: Change conditionals to
7574 [$(build-shared) = yes].
7575 * extra-lib.mk [$(versioning) = yes]: Likewise.
7576 * hurd/Makefile [$(versioning) = yes]: Likewise.
7577 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
7578 [SHARED].
7579 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
7580 [SHARED].
7581 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7582 [SHARED && !NO_HIDDEN].
7583 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
7584 [SHARED].
7585 [SHARED && DO_VERSIONING]: Likewise..
7586 * libio/Makefile [$(versioning) = yes]: Change conditionals to
7587 [$(build-shared) = yes].
7588 * manual/install.texi (--disable-versioning): Remove
7589 documentation.
7590 * INSTALL: Regenerated.
7591 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
7592 to [SHARED].
7593 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
7594 [$(build-shared) = yes].
7595 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
7596 * sysdeps/i386/i686/multiarch/strstr-c.c
7597 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7598 [SHARED && !NO_HIDDEN].
7599 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
7600 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
7601 * sysdeps/powerpc/powerpc32/dl-machine.c
7602 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
7603 * sysdeps/powerpc/powerpc32/sysdep.h
7604 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
7605 to [SHARED && PIC && !NO_HIDDEN].
7606 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
7607 conditional to [SHARED].
7608
44558701
WN
76092013-09-04 Will Newton <will.newton@linaro.org>
7610
7611 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
7612 * benchtests/bench-string.h: Include bench-timing.h instead
7613 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
7614 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
7615 call to HP_TIMING_DIFF_INIT.
7616 * benchtests/bench-memccpy.c: Use bench-timing.h macros
7617 instead of hp-timing.h macros.
7618 * benchtests/bench-memchr.c: Likewise.
7619 * benchtests/bench-memcmp.c: Likewise.
7620 * benchtests/bench-memcpy.c: Likewise.
7621 * benchtests/bench-memmem.c: Likewise.
7622 * benchtests/bench-memmove.c: Likewise.
7623 * benchtests/bench-memset.c: Likewise.
7624 * benchtests/bench-rawmemchr.c: Likewise.
7625 * benchtests/bench-strcasecmp.c: Likewise.
7626 * benchtests/bench-strcasestr.c: Likewise.
7627 * benchtests/bench-strcat.c: Likewise.
7628 * benchtests/bench-strchr.c: Likewise.
7629 * benchtests/bench-strcmp.c: Likewise.
7630 * benchtests/bench-strcpy.c: Likewise.
7631 * benchtests/bench-strcpy_chk.c: Likewise.
7632 * benchtests/bench-strlen.c: Likewise.
7633 * benchtests/bench-strncasecmp.c: Likewise.
7634 * benchtests/bench-strncat.c: Likewise.
7635 * benchtests/bench-strncmp.c: Likewise.
7636 * benchtests/bench-strncpy.c: Likewise.
7637 * benchtests/bench-strnlen.c: Likewise.
7638 * benchtests/bench-strpbrk.c: Likewise.
7639 * benchtests/bench-strrchr.c: Likewise.
7640 * benchtests/bench-strspn.c: Likewise.
7641 * benchtests/bench-strstr.c: Likewise.
7642
cae16d66
WN
76432013-09-04 Will Newton <will.newton@linaro.org>
7644
7645 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
7646
ffa3cd7f
JM
76472013-09-03 Joseph Myers <joseph@codesourcery.com>
7648
7649 [BZ #15427]
7650 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
7651 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
7652 * math/libm-test.inc (lgamma_test_data): Add more tests.
7653 * sysdeps/i386/fpu/libm-test-ulps: Update.
7654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7655
8f02859f
OB
76562013-09-03 Ondřej Bílka <neleai@seznam.cz>
7657
7658 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
7659 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7660 Add ifunc.
7661 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7662 Add strcmp-sse2-unaligned
7663 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
7664
18d43716
MF
76652013-09-02 Mike Frysinger <vapier@gentoo.org>
7666
7667 * Versions.def (libc): Add GLIBC_2.19.
7668
ac444012
MF
76692013-09-02 Mike Frysinger <vapier@gentoo.org>
7670
7671 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
7672 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
7673
b7835e32
JM
76742013-09-02 Joseph Myers <joseph@codesourcery.com>
7675
7676 [BZ #14155]
7677 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
7678 intermediate calculations in recurrence.
7679 (__ieee754_ynf): Likewise.
7680 * math/libm-test.inc (jn_test_data): Do not allow spurious
7681 underflow exception. Add more tests.
7682 (yn_test_data): Add more tests.
7683 * sysdeps/i386/fpu/libm-test-ulps: Update.
7684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7685
8220f4f0
OB
76862013-09-02 Ondřej Bílka <neleai@seznam.cz>
7687
7688 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
7689
f24a6d08
OB
76902013-08-30 Ondřej Bílka <neleai@seznam.cz>
7691
7692 * csu/init-first.c: Fix then/than typos.
7693 * locale/programs/ld-collate.c: Likewise.
7694 * locale/programs/linereader.h: Likewise.
7695 * manual/charset.texi: Likewise.
7696 * manual/filesys.texi: Likewise.
7697 * manual/stdio.texi: Likewise.
7698 * manual/string.texi: Likewise.
7699 * stdlib/fmtmsg.c: Likewise.
7700 * sysdeps/i386/stpncpy.S: Likewise.
7701 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7702 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7703 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7704 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7705
382466e0
OB
77062013-08-30 Ondřej Bílka <neleai@seznam.cz>
7707
7708 * elf/dl-open.c: Fix typos.
7709 * iconvdata/gbbig5.c: Likewise.
7710 * iconvdata/iso-2022-jp.c: Likewise.
7711 * iconv/gconv_int.h: Likewise.
7712 * iconv/loop.c: Likewise.
7713 * nis/rpcsvc/nis.h: Likewise.
7714 * resolv/ns_name.c: Likewise.
7715 * stdio-common/vfscanf.c: Likewise.
7716 * streams/stropts.h: Likewise.
7717 * sunrpc/rpc_thread.c: Likewise.
7718 * sysdeps/i386/strpbrk.S: Likewise.
7719 * sysdeps/ieee754/k_standard.c: Likewise.
7720 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7721 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7722 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7723 * sysdeps/mach/hurd/profil.c: Likewise.
7724 * sysdeps/s390/dl-procinfo.h: Likewise.
7725 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7726 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7727 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
7728 * sysdeps/x86_64/dl-trampoline.S: Likewise.
7729 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7730
0186c6e9
OB
77312013-08-30 Ondřej Bílka <neleai@seznam.cz>
7732
7733 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
7734 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
7735
d4e16af1
OB
77362013-08-29 Ondřej Bílka <neleai@seznam.cz>
7737
7738 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
7739 aix specific files.
7740 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
7741 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
7742 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
7743 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
7744 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
7745 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
7746 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
7747 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
7748
88335980
TS
77492013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7750 Roland McGrath <roland@hack.frob.com>
7751
7752 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
7753 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7754
ed479b02
ST
77552013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
7756
7757 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
7758 __executable_start symbol instead of _start.
7759
f1cc4c86
TS
77602013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7761
d821f07c
TS
7762 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
7763 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
7764 Move macros to...
7765 * sysdeps/gnu/ldsodefs.h: ... this new file.
7766
c54290cf
TS
7767 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
7768 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
7769 instead of ELFOSABI_LINUX.
7770
0007fc9b 7771 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
7772 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
7773 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
7774 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
7775 Likewise.
7776 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
7777 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
7778 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
7779 Likewise.
7780 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7781 (ibm_extended_long_double): Add ieee_nan member.
7782 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
7783 (do_test): New function.
7784
f1cc4c86
TS
7785 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
7786 TEST_TRUNC.
7787 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
7788 functions, renamed from truncdfsf_test, trunctfsf_test,
7789 trunctfdf_test.
7790 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
7791 functions.
7792 (do_test): Run all these.
7793
6f65e668
OB
77942013-08-29 Ondřej Bílka <neleai@seznam.cz>
7795
7796 * argp/argp-help.c: Fix typos.
7797 * argp/argp-parse.c: Likewise.
7798 * debug/backtracesyms.c: Likewise.
7799 * elf/elf.h: Likewise.
7800 * malloc/malloc.c: Likewise.
7801 * nis/nis_print.c: Likewise.
7802 * resolv/res_comp.c: Likewise.
7803 * stdlib/stdlib.h: Likewise.
7804 * sunrpc/clnt_tcp.c: Likewise.
7805 * sunrpc/clnt_udp.c: Likewise.
7806 * sunrpc/clnt_unix.c: Likewise.
7807 * sysdeps/unix/bsd/ptsname.c: Likewise.
7808 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7809 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
7810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
7811 Likewise.
7812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
7813 Likewise.
7814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7815 Likewise.
6f65e668
OB
7816 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7817
3a309239
SP
78182013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7819
7820 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
7821 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7822
3b813b29
MF
78232013-08-27 Mike Frysinger <vapier@gentoo.org>
7824
7825 [BZ #15897]
7826 * dlfcn/Makefile (tests): Add bug-dl-leaf.
7827 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
7828 ($(objpfx)bug-dl-leaf): New rule.
7829 ($(objpfx)bug-dl-leaf.so): Likewise.
7830 ($(objpfx)bug-dl-leaf.out): Likewise.
7831 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
7832 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
7833 * dlfcn/bug-dl-leaf.c: New test.
7834 * dlfcn/bug-dl-leaf-lib.c: Likewise.
7835 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
7836 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
7837 (dlclose): Likewise.
7838 (dlmopen): Likewise.
7839
8cc3269f
RM
78402013-08-27 Roland McGrath <roland@hack.frob.com>
7841
7f9d0034
RM
7842 * include/netdb.h [!_ISOMAC]:
7843 Don't include <tls.h>.
7844 (h_errno, __libc_h_errno): Move declaration and macros out of
7845 [_LIBC_REENTRANT].
7846
fb431262
RM
7847 * include/resolv.h [_RESOLV_H_]:
7848 Don't include <tls.h>.
7849 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
7850 * resolv/res_libc.c: Don't include <tls.h>.
7851 (_res): Use __attribute__ ((nocommon)) in place of
7852 __attribute__ ((section (".bss"))).
7853
bd81123a
RM
7854 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
7855 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
7856
c4e42566
RM
7857 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
7858
f890a59b
RM
7859 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
7860 only under [SIOCGIFCONF && SIOCGIFNETMASK].
7861
7862 * resolv/res_mkquery.c: Include <sys/time.h>.
7863
5d1f0a09
RM
7864 * inet/ifreq.c: Moved to ...
7865 * sysdeps/unix/ifreq.c: ... here.
7866 * inet/ifreq.c: New file, true stub version.
7867
6fcf28b3
RM
7868 * socket/sa_len.c: New file.
7869 * socket/Makefile (aux): Add it.
7870 * sysdeps/unix/sysv/linux/Makefile
7871 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
7872 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
7873 and #include <socket/sa_len.c>.
7874 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
7875 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
7876
e041fb8b
RM
7877 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
7878 * bits/socket.h: ... here.
7879
8cc3269f
RM
7880 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
7881 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
7882 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
7883
5d228a43
AS
78842013-08-27 Andreas Schwab <schwab@suse.de>
7885
45b8accc
AS
7886 [BZ #15736]
7887 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
7888 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
7889 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
7890 * string/test-strcasecmp.c (test_main): Run tests in several
7891 locales.
7892 * string/test-strncasecmp.c (test_main): Likewise.
7893
5d228a43
AS
7894 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
7895 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
7896 to __strcasecmp_nonascii and __strncasecmp_nonascii.
7897 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
7898 (__strncasecmp_ssse3) [PIC]: Likewise.
7899
59d112a4
RM
79002013-08-26 Roland McGrath <roland@hack.frob.com>
7901
53234cc3
RM
7902 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
7903
59d112a4
RM
7904 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
7905 instead of explicitly declaring xdecrypt.
7906 * nis/nss_nis/nis-publickey.c: Likewise.
7907
595aba70
SP
79082013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7909
7910 [BZ #15890]
7911 * nscd/aicache.c: Include res_hconf.h.
7912 (addhstaiX): Initialize res_hconf.
7913
ffabd393
AS
79142013-08-26 Andreas Schwab <schwab@suse.de>
7915
7916 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
7917 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
7918
e0a69f5c
SP
79192013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7920
7921 * nscd/aicache.c (addhstaiX): Fix indentation.
7922
8c12f01d
MF
79232013-08-25 Mike Frysinger <vapier@gentoo.org>
7924
7925 * configure.ac: Quote $build_pt_chown test.
7926 * configure: Regenerated.
7927
8fe89494
JM
79282013-08-23 Joseph Myers <joseph@codesourcery.com>
7929
7930 [BZ #15532]
7931 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
7932 * math/s_cexpf.c (__cexpf): Likewise.
7933 * math/s_cexpl.c (__cexpl): Likewise.
7934 * math/libm-test.inc (cexp_test_data): Correct expected return
7935 value for NaN + i0. Add another test.
7936
75b181d6
DM
79372013-08-22 David S. Miller <davem@davemloft.net>
7938
7939 * po/ca.po: Update Catalan translation from translation project.
936241e4 7940 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 7941
acd06bb1
JM
79422013-08-21 Joseph Myers <joseph@codesourcery.com>
7943
7944 [BZ #15797]
7945 * math/s_fdim.c (__fdim): Check for infinite arguments if result
7946 is infinite, not alongside NaN test.
7947 * math/s_fdimf.c (__fdimf): Likewise.
7948 * math/s_fdiml.c (__fdiml): Likewise.
7949 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
7950 errno is unchanged.
7951
c0c3f78a
OB
79522013-08-21 Ondřej Bílka <neleai@seznam.cz>
7953
7954 * argp/argp-help.c: Fix typos.
7955 * crypt/speeds.c: Likewise.
7956 * csu/check_fds.c: Likewise.
7957 * elf/dl-load.c: Likewise.
7958 * elf/dl-open.c: Likewise.
7959 * elf/reldep3.c: Likewise.
7960 * elf/reldep.c: Likewise.
7961 * elf/sprof.c: Likewise.
7962 * iconv/iconv_charmap.c: Likewise.
7963 * iconv/skeleton.c: Likewise.
7964 * iconv/strtab.c: Likewise.
7965 * io/lockf64.c: Likewise.
7966 * libio/libioP.h: Likewise.
7967 * resolv/gai_notify.c: Likewise.
7968 * resolv/ns_name.c: Likewise.
7969 * resolv/ns_samedomain.c: Likewise.
7970 * resolv/res_send.c: Likewise.
7971 * stdlib/random.c: Likewise.
7972 * sunrpc/rpc/xdr.h: Likewise.
7973 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
7974 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7975 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7976 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7977 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7978 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7979 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7980 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7981 * sysdeps/mach/hurd/check_fds.c: Likewise.
7982 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7983 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7984 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7985 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7986 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7987 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7988 * sysdeps/pthread/aio_notify.c: Likewise.
7989 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
7990 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
7991 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
7992 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7993 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7994
46ed1038
LD
79952013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7996
7997 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
7998 version if bit_Slow_SSE4_2 is set.
7999 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8000 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8001
d400dcac
AZ
80022013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8003
8004 [BZ #15867]
8005 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
8006 trampoline stack frame information.
8007 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
8008 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
8009 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
8010 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
8011 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
8012 * sysdeps/unix/sysv/linux/powerpc/init-first.c
8013 (_libc_vdso_platform_setup): Initialize the signal trampolines.
8014 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
8015 sa_flags value.
8016 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
8017 interrupting a syscall and set with option SA_SIGINFO.
8018
42c8fdd8
JM
80192013-08-20 Joseph Myers <joseph@codesourcery.com>
8020
c980f2f4
JM
8021 [BZ #15531]
8022 * math/s_cproj.c (__cproj): Only return an infinity if one part of
8023 argument is infinite.
8024 * math/s_cprojf.c (__cprojf): Likewise.
8025 * math/s_cprojl.c (__cprojl): Likewise.
8026 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
8027 * math/libm-test.inc (cproj_test_data): Add more tests.
8028
0716c4fc
JM
8029 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
8030
42c8fdd8
JM
8031 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
8032 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
8033 size. Use __ffs to determine corresponding shift.
8034
b31469d0
JM
80352013-08-20 Joseph Myers <joseph@codesourcery.com>
8036 Roland McGrath <roland@hack.frob.com>
8037
8038 * Makefile (INSTALL): Remove trailing blank lines from output of
8039 makeinfo.
8040
4e39af6e
AK
80412013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8042
8043 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
8044 Align 32 bit compat elf_greg to 8 bytes.
8045
f315524e
AA
80462013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
8047
8048 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
8049
1326ba1a
SP
80502013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8051
8052 * string/strcoll_l.c (coll_seq): New structure.
8053 (get_next_seq_cached): New function.
8054 (get_next_seq): New function.
8055 (do_compare): New function.
8056 (STRCOLL): Use GNU style definition. Simplify implementation
8057 by using get_next_seq, get_next_seq_cached and do_compare.
8058
91ce4085
FW
80592013-08-16 Florian Weimer <fweimer@redhat.com>
8060
8061 [BZ #14699]
8062 CVE-2013-4237
8063 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
8064 member.
8065 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
8066 member.
8067 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
8068 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
8069 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
8070 conditional.
8071 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
8072 GETDENTS_64BIT_ALIGNED.
8073 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8074 * manual/filesys.texi (Reading/Closing Directory): Document
8075 ENAMETOOLONG return value of readdir_r. Recommend readdir more
8076 strongly.
8077 * manual/conf.texi (Limits for Files): Add portability note to
8078 NAME_MAX, PATH_MAX.
8079 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
8080
ca0a6bc4
AS
80812013-08-13 Andreas Schwab <schwab@suse.de>
8082
8083 [BZ #15749]
8084 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
8085 of fabs.
8086 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
8087 LDBL_MAX_EXP >= 16384]: Add tests for it.
8088
6c1fd795
DM
80892013-08-12 David S. Miller <davem@davemloft.net>
8090
8091 * version.h (RELEASE): Set to "development".
8092 (VERSION): Set to "2.18.90".
8093 * NEWS: Add 2.19 section.
8094
31ad488d
DM
80952013-08-03 David S. Miller <davem@davemloft.net>
8096
8097 * po/ko.po: Update Korean translation from translation project.
8098
db24e684
DM
80992013-08-01 David S. Miller <davem@davemloft.net>
8100
8101 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
8102 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
8103 Bilka.
8104
f723285b
DM
81052013-07-30 David S. Miller <davem@davemloft.net>
8106
8107 * po/fr.po: Update French translation from translation project.
8108
3cbc52db
DM
81092013-07-28 David S. Miller <davem@davemloft.net>
8110
30bbc0cc
DM
8111 * po/cs.po: Update Czech translation from translation project.
8112
3cbc52db
DM
8113 * po/sv.po: Update Swedish translation from translation project.
8114
d492e6d0
DM
81152013-07-27 David S. Miller <davem@davemloft.net>
8116
f1a7f492
DM
8117 * po/eo.po: Update Esperanto translation from translation project.
8118
90e62a4a
DM
8119 * po/vi.po: Update Vietnamese translation from translation project.
8120
d492e6d0
DM
8121 * po/de.po: Update German translation from translation project.
8122
d4baa62d
DM
81232013-07-26 David S. Miller <davem@davemloft.net>
8124
641aa7b4
DM
8125 * po/bg.po: Update Bulgarian translation from translation project.
8126
d4baa62d
DM
8127 * po/nl.po: Update Dutch translation from translation project.
8128 * po/pl.po: Update Polish translation from translation project.
8129 * po/ru.po: Update Russian translation from translation project.
8130
61a9dcb9
DM
81312013-07-24 David S. Miller <davem@davemloft.net>
8132
8133 * po/libc.pot: Update.
8134
7b1f8b58
AZ
81352013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8136
8137 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
8138 variable page size.
8139 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
8140 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
8141 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
8142
a8fc7a03
AK
81432013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8144
8145 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
8146
e4608715
CD
81472013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8148 Andreas Schwab <schwab@suse.de>
8149 Roland McGrath <roland@hack.frob.com>
8150 Joseph Myers <joseph@codesourcery.com>
8151 Carlos O'Donell <carlos@redhat.com>
8152
8153 [BZ #15755]
8154 * config.h.in: Define HAVE_PT_CHOWN.
8155 * config.make.in (build-pt-chown): New variable.
8156 * configure.in (--enable-pt_chown): New configure option.
8157 * configure: Regenerate.
8158 * login/Makefile: Include Makeconfig. Build pt_chown only if
8159 build-pt-chown is enabled.
8160 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
8161 pt_chown to fix pty ownership.
8162 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
8163 CLOSE_ALL_FDS.
8164 * manual/install.texi (Configuring and compiling): Mention
8165 --enable-pt_chown. Add @findex for grantpt.
8166 * INSTALL: Regenerate.
8167
da2d62df
DM
81682013-07-20 David S. Miller <davem@davemloft.net>
8169
8170 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
8171 difference between 32-bit and 64-bit.
8172
d7e06450
CD
81732013-07-15 Carlos O'Donell <carlos@redhat.com>
8174
8175 [BZ #15711]
8176 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
8177 Avoid system header dependency with -ffreestanding.
8178 ($(objpfx)bits/syscall%d): Likewise.
8179
f959cfd7
DM
81802013-07-13 David S. Miller <davem@davemloft.net>
8181
8182 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
8183 underflows from atanl/atan2l due to bug 15319.
8184 (casinh_test_data): Likewise.
8185
c61f8513
DM
81862013-07-07 David S. Miller <davem@davemloft.net>
8187
8188 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
8189
72c90ed0
JA
81902013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
8191
8192 * sysdeps/i386/fpu/libm-test-ulps: Update.
8193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8194
52dfbe13
SP
81952013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8196
8197 * configure.in (--enable-lock-elision): Fix message text.
8198 * INSTALL: Regenerate.
8199 * configure: Regenerate.
8200
3f169543
AZ
82012013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8202
8203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8204
521c6785
AJ
82052013-07-03 Andreas Jaeger <aj@suse.de>
8206
8207 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
8208 define.
8209 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
8210 (ptrace_peeksiginfo_args): Add.
8211 (__ptrace_peeksiginfo_flags): Add.
8212 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8213 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8214 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8215
d2cc15cb
AM
82162013-07-03 Allan McRae <allan@archlinux.org>
8217
8218 * sysdeps/i386/fpu/libm-test-ulps: Update.
8219
3aaeeca7
DM
82202013-07-02 David S. Miller <davem@davemloft.net>
8221
8222 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8223
5314ed1a
MT
82242013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
8225
8226 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8227
67338156
JM
82282013-07-02 Joseph Myers <joseph@codesourcery.com>
8229
8230 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8232
1717da59
AK
82332013-07-02 Andi Kleen <ak@linux.intel.com>
8234
8235 * config.h.in (ENABLE_LOCK_ELISION): Add.
8236 * configure.in (--enable-lock-elision): Add option.
8237 * manual/install.texi: Document --enable lock elision.
8238 * configure: Regenerate
8239 * INSTALL: Regenerate.
8240
1c81621c
L
82412013-07-02 H.J. Lu <hongjiu.lu@intel.com>
8242
8243 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
8244 SSE4.2 strcasecmp for libc.a.
8245 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
8246
77f01ab5
JM
82472013-07-02 Joseph Myers <joseph@codesourcery.com>
8248
8249 [BZ #13304]
8250 * soft-fp/op-common.h (_FP_FMA): New macro.
8251 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
8252 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
8253 (_FP_MUL_MEAT_1_imm): ... here.
8254 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
8255 (_FP_MUL_MEAT_1_wide): ... here.
8256 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
8257 (_FP_MUL_MEAT_1_hard): ... here.
8258 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
8259 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
8260 (_FP_MUL_MEAT_2_wide): ... here.
8261 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
8262 (_FP_MUL_MEAT_2_wide_3mul): ... here.
8263 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
8264 (_FP_MUL_MEAT_2_gmp): ... here.
8265 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
8266 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
8267 (_FP_MUL_MEAT_4_wide): ... here.
8268 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
8269 (_FP_MUL_MEAT_4_gmp): ... here.
8270 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
8271 (_FP_WFRACBITS_DW_S): Likewise.
8272 (_FP_WFRACXBITS_DW_S): Likewise.
8273 (_FP_HIGHBIT_DW_S): Likewise.
8274 (FP_FMA_S): Likewise.
8275 (_FP_FRAC_HIGH_DW_S): Likewise.
8276 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
8277 (_FP_WFRACBITS_DW_D): Likewise.
8278 (_FP_WFRACXBITS_DW_D): Likewise.
8279 (_FP_HIGHBIT_DW_D): Likewise.
8280 (FP_FMA_D): Likewise.
8281 (_FP_FRAC_HIGH_DW_D): Likewise.
8282 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
8283 (_FP_WFRACBITS_DW_E): Likewise.
8284 (_FP_WFRACXBITS_DW_E): Likewise.
8285 (_FP_HIGHBIT_DW_E): Likewise.
8286 (FP_FMA_E): Likewise.
8287 (_FP_FRAC_HIGH_DW_E): Likewise.
8288 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
8289 (_FP_WFRACBITS_DW_Q): Likewise.
8290 (_FP_WFRACXBITS_DW_Q): Likewise.
8291 (_FP_HIGHBIT_DW_Q): Likewise.
8292 (FP_FMA_Q): Likewise.
8293 (_FP_FRAC_HIGH_DW_Q): Likewise.
8294 * soft-fp/fmasf4.c: New file.
8295 * soft-fp/fmadf4.c: Likewise.
8296 * soft-fp/fmatf4.c: Likewise.
8297
6308fd9a
LD
82982013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8299
8300 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
8301 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
8302 Silvermont.
8303 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
8304 macro.
8305 (index_Slow_SSE4_2): Likewise.
8306 (index_Prefer_PMINUB_for_stringop): Likewise.
8307 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
8308 bit_Slow_SSE4_2 is set.
8309 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8310 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8311
89cd9569
RA
83122013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8313
8314 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
8315 rtld_global._dl_hwcap2.
8316 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
8317 POWER8.
8318 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
8319 POWER8 feature descriptions defined in _dl_hwcap2.
8320 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
8321 string handling for POWER8 feature bits.
8322 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
8323 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
8324 _dl_powerpc_cap_flags.
8325 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
8326 * sysdeps/powerpc/rtld-global-offsets.sym
8327 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
8328 _dl_hwcap2 in the rtld_global_ro structure.
8329
1ae8bfe0
RA
83302013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8331
8332 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
8333 hardware capabilities in support of AT_HWCAP2.
8334 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
8335 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
8336 GLRO(dl_hwcap2).
8337 (_dl_show_auxv): Add support for calling _dl_procinfo to display
8338 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
8339 explicitly the unknown a_type display mechanism is used.
8340 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
8341 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
8342 struct member.
8343 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
8344 to macro prototype for AT_HWCAP2 support.
8345 * sysdeps/i386/dl-procinfo.h: Likewise.
8346 * sysdeps/s390/dl-procinfo.h: Likewise.
8347 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
8348 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
8349 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
8350 return -1 for unknown a_type display fallback.
8351 * sysdeps/sparc/dl-procinfo.h: Likewise.
8352 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
8353 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
8354
8fbec010
JM
83552013-06-28 Joseph Myers <joseph@codesourcery.com>
8356
8357 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
8358 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
8359
0432680e
PY
83602013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
8361
8362 [BZ #12492]
8363 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
8364 mprotect making __stack_prot writable.
8365
ce61a2ad
NF
83662013-06-28 Nathan Froyd <froydnj@codesourcery.com>
8367 Joseph Myers <joseph@codesourcery.com>
8368
8369 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
8370 as being properly aligned.
8371
f91f1c0f
MR
83722013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
8373
3d0f5d0c
MR
8374 * dlfcn/modstatic5.c: New file.
8375 * dlfcn/tststatic5.c: New file.
8376 * dlfcn/Makefile (tests): Add tststatic5.
8377 (tests-static): Likewise.
8378 (modules-names): Add modstatic5.
8379 (tststatic5-ENV): New variable.
8380 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
8381
f91f1c0f
MR
8382 [BZ #15022]
8383 * elf/dl-support.c (_dl_main_map): New variable.
8384 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
8385 (_dl_nns, _dl_load_adds): Set to 1.
8386 (_dl_initial_searchlist): Refer to _dl_main_map.
8387 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
8388 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
8389 call to _dl_get_origin.
8390 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
8391 around call_map.
8392 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
8393 * dlfcn/modstatic3.c: New file.
8394 * dlfcn/tststatic3.c: New file.
8395 * dlfcn/tststatic4.c: New file.
8396 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
8397 (tests-static): Likewise.
8398 (modules-names): Add modstatic3.
8399 (tststatic3-ENV, tststatic4-ENV): New variables.
8400 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
8401 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
8402
cbe7d24b
JM
84032013-06-26 Joseph Myers <joseph@codesourcery.com>
8404
8405 * configure.in (CC): Require GCC version 4.4 or later.
8406 * configure: Regenerated.
8407 * manual/install.texi (Tools for Compilation): Update GCC version
8408 requirement.
8409 * INSTALL: Regenerated.
8410
11b8a0e1
LD
84112013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8412
8413 [BZ #15674]
bb5bb87c
L
8414 * string/test-memcmp.c (check2): New.
8415 (main): Call check2.
8416
11b8a0e1
LD
8417 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
8418
b0037103
MR
84192013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
8420
8421 [BZ #15022]
8422 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
8423 over to...
8424 (dl_open_worker) [!SHARED]: ... here.
8425
c18c701d
RA
84262013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8427
8428 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
8429
1d17fa5f
RH
84302013-06-25 Richard Henderson <rth@redhat.com>
8431
8432 * locale/programs/locarchive.c: Include <libc-internal.h>
8433
8fcb833a
JM
84342013-06-25 Joseph Myers <joseph@codesourcery.com>
8435
8436 * manual/texinfo.tex: Update to version 2013-06-21.17, with
8437 trailing whitespace removed.
8438
17db6e8d
MF
84392013-06-24 Mike Frysinger <vapier@gentoo.org>
8440
8441 [BZ #10283]
17db6e8d
MF
8442 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
8443 * locale/programs/locarchive.c: Include libc-mmap.h.
8444 (prepare_address_space): Take two new outputs (the mmap base and len).
8445 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
8446 values.
8447 (create_archive): Declare new mmap base and len values for
8448 prepare_address_space, and store the result in ah.
8449 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
8450 (enlarge_archive): If ah->mmap_base is not NULL, use that and
8451 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8452 Declare new mmap base and len values for
8453 prepare_address_space, and store the result in new_ah.
8454 (open_archive): Declare new mmap base and len values for
8455 prepare_address_space, and store the result in ah.
8456 (close_archive): If ah->mmap_base is not NULL, use that and
8457 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8458 * sysdeps/generic/libc-mmap.h: New file.
8459
d605071e
MF
84602013-06-24 Mike Frysinger <vapier@gentoo.org>
8461
8462 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
8463 (ALIGN_UP): Likewise.
8464 (PTR_ALIGN_DOWN): Likewise.
8465 (PTR_ALIGN_UP): Likewise.
8466
2f063a6e
RA
84672013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8468
8469 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
8470 entry mapped to PPC_PLATFORM_POWER8.
8471 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
8472 POWER8.
8473 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
8474 (_dl_string_platform): Add case for exporting platform position for
8475 POWER8.
8476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
8477 search path to sysdeps/powerpc/powerpc32/power8 directory.
8478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
8479 search path to sysdeps/powerpc/powerpc64/power8 directory.
8480 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
8481 power7 directories.
8482 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
8483 power7 directories.
8484
a31ee4b3
SP
84852013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8486
a74ca98f
SP
8487 * INSTALL: Regenerate.
8488
a31ee4b3
SP
8489 * nscd/connections.c (nscd_init): Fix comment.
8490
695c378f
JM
84912013-06-22 Joseph Myers <joseph@codesourcery.com>
8492
d8412221
JM
8493 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
8494
695c378f
JM
8495 [BZ #15667]
8496 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
8497 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
8498
d1d54715
MR
84992013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8500
8501 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
8502 DL_DST_REQ_STATIC.
8503 (DL_DST_REQ_STATIC): Remove macro.
8504
8fdda7af
JM
85052013-06-21 Joseph Myers <joseph@codesourcery.com>
8506
8507 [BZ #7006]
8508 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
8509 with a shift of 0 bits.
8510
f3bc5e5a
MR
85112013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8512
8513 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
8514 $(tststatic-ENV).
8515
be09e8c9
KK
85162013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8517
8518 [BZ #15655]
8519 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
8520
85c2e611
AZ
85212013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8522
8523 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
8524 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
8525 accepts -fno-tree-loop-distribute-patterns.
8526 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
8527 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
8528 recursive call.
8529 * string/memset.c (memset): Likewise.
8530 * string/test-memmove.c (simple_memmove): Disable loop transformation
8531 to library calls.
8532 * string/test-memset.c (simple_memset): Likewise.
8533 * benchtests/bench-memmove.c (simple_memmove): Likewise.
8534 * benchtests/bench-memset.c (simple_memset): Likewise.
8535 * configure: Regenerated.
8536
c91e0825
JM
85372013-06-20 Joseph Myers <joseph@codesourcery.com>
8538
b8c792af
JM
8539 * math/test-misc.c (main): Ignore fesetround failure when failures
8540 of subsequent rounding tests would be ignored.
8541
c91e0825
JM
8542 [BZ #15654]
8543 * math/fedisblxcpt.c (fedisableexcept): Return 0.
8544 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
8545 * math/fegetenv.c (__fegetenv): Return 0.
8546 * math/fegetexcept.c (fegetexcept): Return 0.
8547 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
8548 FE_TONEAREST.
8549 * math/feholdexcpt.c (feholdexcept): Return 0.
8550 * math/fesetenv.c (__fesetenv): Return 0.
8551 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
8552 argument FE_TONEAREST.
8553 * math/feupdateenv.c (__feupdateenv): Return 0.
8554 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
8555
bfcacbde
RM
85562013-06-18 Roland McGrath <roland@hack.frob.com>
8557
8558 * elf/rtld-Rules (rtld-compile-command.S): New variable.
8559 (rtld-compile-command.s, rtld-compile-command.c): New variables.
8560 ($(objpfx)rtld-%.os rules): Use them.
8561
e55a9b25
AZ
85622013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8563
8564 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
8565 fields.
8566
346d65b3
RM
85672013-06-17 Roland McGrath <roland@hack.frob.com>
8568
12086fb4
RM
8569 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
8570 length of target pattern, then descending length of dependency pattern.
8571 * configure.in (AWK): Require gawk 3.1.2 or newer.
8572 * manual/install.texi (Tools for Compilation): Say that we do.
8573 * configure: Regenerated.
8574
346d65b3
RM
8575 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
8576 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
8577 * scripts/sysd-rules.awk: ... this new script.
8578 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
8579 than a glob-style pattern.
8580
1a846317
JM
85812013-06-17 Joseph Myers <joseph@codesourcery.com>
8582
8583 * math/test-misc.c (main): Do not treat incorrectly rounded
8584 conversions as failure unless ROUNDING_TESTS passes.
8585
8fc75e6f
JM
85862013-06-15 Joseph Myers <joseph@codesourcery.com>
8587
3711a167
JM
8588 [BZ #15631]
8589 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
8590 restore exception state around main square root computation, then
8591 check for inexactness explicitly.
8592
8fc75e6f
JM
8593 * math/libm-test.inc (fma_test_data): Add another test.
8594
61dd6208
SP
85952013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8596
adf23d2c
SP
8597 * manual/threads.texi (Non-POSIX Extensions): New document
8598 node. Document pthread_getattr_default_np and
8599 pthread_setattr_default_np.
8600
61dd6208
SP
8601 * Versions.def (libpthread): Add GLIBC_2.18.
8602 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
8603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8604 Likewise.
8605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8606 Likewise.
8607 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8608 Likewise.
8609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8610 Likewise.
8611 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
8612 Likewise.
8613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8614 Likewise.
8615 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8616 Likewise.
8617 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
8618 Likewise.
8619 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8620 Likewise.
8621
d086fc7b
LD
86222013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8623
8624 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8625 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
8626
747ef469
SP
86272013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8628 H.J. Lu <hjl.tools@gmail.com>
8629
8630 [BZ #15627]
8631 * sysdeps/x86_64/rtld-memset.c: Remove file.
8632 * sysdeps/x86_64/rtld-memset.S: New file.
8633
1b2feed2
JM
86342013-06-14 Joseph Myers <joseph@codesourcery.com>
8635
8636 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
8637 (test_in_one_mode): Take arguments for whether the rounding mode
8638 is supported for each floating-point type.
8639 (do_test): Pass new arguments to test_in_one_mode using
8640 ROUNDING_TESTS.
8641
a58ad3f8
RM
86422013-06-13 Roland McGrath <roland@hack.frob.com>
8643
8644 * posix/tst-waitid.c (do_test): Distinguish different instances of
8645 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
8646 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
8647 before entering the kernel for waitpid.
8648
c204ab28
SP
86492013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8650
8651 * NEWS: Fix note on clock function precision. Text by Roland
8652 McGrath.
8653
f4a29fba
RM
86542013-06-13 Roland McGrath <roland@hack.frob.com>
8655
8656 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
8657 it into place only when and if the sanity check passes.
8658
1f24b9ad
JM
86592013-06-13 Joseph Myers <joseph@codesourcery.com>
8660
8661 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
8662 output for whether conversion result is exact. Take argument
8663 indicating whether type is IBM long double.
8664 (round_for_all): Change need_exact field to ibm_ld.
8665 * stdlib/tst-strtod-round.c (struct exactness): New type.
8666 (struct test): Change bool ld_ok field to struct exactness exact.
8667 (TEST): Update all definitions for change to field.
8668 (tests): Regenerate array contents.
8669 (test_in_one_mode): Take pointer to new field instead of old ld_ok
8670 field value. Check for IBM long double here.
8671 (do_test): Update calls to test_in_one_mode.
8672
58206c68
SP
86732013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8674
8675 [BZ #12515]
8676 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
8677 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
8678
2d6f4c5b 86792013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
8680
8681 [BZ #15605]
8682 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
8683 generated by the compiler on loop optimizations.
8684 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
8685 general definitions.
8686
94f2c076
JM
86872013-06-12 Joseph Myers <joseph@codesourcery.com>
8688
8689 * math/bug-nextafter.c: Include <math-tests.h>.
8690 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8691 the relevant type.
8692 * math/bug-nexttoward.c: Include <math-tests.h>.
8693 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8694 the relevant type.
8695 * math/test-misc.c: Include <math-tests.h>.
8696 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8697 the relevant type.
8698
e0e50a0a
AJ
86992013-06-12 Andreas Jaeger <aj@suse.de>
8700
8701 * po/ia.po: Update Interlingua translation from translation
8702 project.
8703
25061094
SP
87042013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8705
8706 * include/fenv.h: Include stdbool.h.
8707 (struct rm_ctx): New structure.
8708 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
8709 Define macro.
8710 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
8711 (SET_RESTORE_ROUNDF): Likewise.
8712 (SET_RESTORE_ROUNDL): Likewise.
8713 (SET_RESTORE_ROUND_NOEX): Likewise.
8714 (SET_RESTORE_ROUND_NOEXF): Likewise.
8715 (SET_RESTORE_ROUND_NOEXL): Likewise.
8716 (SET_RESTORE_ROUND_53BIT): Likewise.
8717 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
8718 (libc_feresetround_noexf_ctx): Likewise.
8719 (libc_feresetround_noexl_ctx): Likewise.
8720 (libc_feholdsetround_53bit_ctx): Likewise.
8721 (libc_feresetround_53bit_ctx): Likewise.
8722 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
8723 (libc_feholdexcept_setround_sse_ctx): New function.
8724 (libc_fesetenv_sse_ctx): Likewise.
8725 (libc_feupdateenv_sse_ctx): Likewise.
8726 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
8727 (libc_feholdexcept_setround_387_ctx): Likewise.
8728 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
8729 (libc_feholdsetround_387_prec_ctx): Likewise.
8730 (libc_feholdsetround_387_ctx): Likewise.
8731 (libc_feholdsetround_387_53bit_ctx): Likewise.
8732 (libc_feholdsetround_sse_ctx): Likewise.
8733 (libc_feresetround_sse_ctx): Likewise.
8734 (libc_feresetround_387_ctx): Likewise.
8735 (libc_feupdateenv_387_ctx): Likewise.
8736 (libc_feholdexcept_setroundf_ctx): Define macro.
8737 (libc_fesetenvf_ctx): Likewise.
8738 (libc_feupdateenvf_ctx): Likewise.
8739 (libc_feholdsetroundf_ctx): Likewise.
8740 (libc_feresetroundf_ctx): Likewise.
8741 (libc_feholdexcept_setround_ctx): Likewise.
8742 (libc_fesetenv_ctx): Likewise.
8743 (libc_feupdateenv_ctx): Likewise.
8744 (libc_feholdsetround_ctx): Likewise.
8745 (libc_feresetround_ctx): Likewise.
8746 (libc_feholdexcept_setroundl_ctx): Likewise.
8747 (libc_feupdateenvl_ctx): Likewise.
8748 (libc_feholdsetroundl_ctx): Likewise.
8749 (libc_feresetroundl_ctx): Likewise.
8750 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
8751 (libc_feresetround_53bit_ctx): Likewise.
8752
59b30555
SP
87532013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8754
8755 * locale/iso-639.def: Convert to UTF-8.
8756
f1d73d30
JM
87572013-06-11 Joseph Myers <joseph@codesourcery.com>
8758
8759 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
8760 (EXCEPTION_TESTS_double): Likewise.
8761 (EXCEPTION_TESTS_long_double): Likewise.
8762 (EXCEPTION_TESTS): Likewise.
8763 * math/libm-test.inc (test_exceptions): Only test exceptions if
8764 EXCEPTION_TESTS (FLOAT).
8765
94aca5e7
SP
87662013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8767
8768 * benchtests/Makefile (string-bench): Add strcpy_chk and
8769 stpcpy_chk.
8770 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
8771 * benchtests/bench-stpcpy_chk.c: New file.
8772 * benchtests/bench-strcpy_chk-ifunc.c: New file.
8773 * benchtests/bench-strcpy_chk.c: New file.
8774 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
8775 code.
8776 (do_test): Likewise.
8777
fac0c5f2
RA
87782013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8779
8780 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
8781 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
8782 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
8783 with tabs where appropriate.
8784 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
8785 dl-procinfo.h.
8786 [PPC_PLATFORM_PPC440]: Likewise.
8787 [PPC_PLATFORM_PPC464]: Likewise.
8788 [PPC_PLATFORM_PPC476]: Likewise.
8789 (_dl_string_platform): Add support for detecting ppc405, ppc440,
8790 ppc464, and ppc476 platform strings merging from ports/
8791 dl-procinfo.h.
8792
f22bc486
AS
87932013-06-11 Andreas Schwab <schwab@suse.de>
8794
8795 [BZ #14991]
8796 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
8797 (from_ucs4_idx): Regenerate.
8798 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
8799 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
8800 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
8801 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
8802 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
8803 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
8804 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
8805 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
8806 from FROM_LOOP and TO_LOOP specific macros.
8807 (BODY): Handle combining characters.
8808 * iconvdata/BIG5HKSCS.irreversible: Update.
8809 * iconvdata/BIG5HKSCS.precomposed: New file.
8810 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
8811 characters.
8812 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
8813
c1f75dc3
SP
88142013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8815
4eacded2
SP
8816 * include/sys/time.h: Fix indentation and add copyright header.
8817
fec799f8
SP
8818 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
8819 (do_test): Likewise.
8820 * string/test-memchr.c (do_one_test): Likewise.
8821 (do_test): Likewise.
8822 * string/test-memcmp.c (do_one_test): Likewise.
8823 (do_test): Likewise.
8824 * string/test-memcpy.c (do_one_test): Likewise.
8825 (do_test): Likewise.
8826 * string/test-memmem.c (do_one_test): Likewise.
8827 (do_test): Likewise.
8828 (do_random_tests): Likewise.
8829 * string/test-memmove.c (do_one_test): Likewise.
8830 (do_test): Likewise.
8831 * string/test-memset.c (do_one_test): Likewise.
8832 (do_test): Likewise.
8833 * string/test-rawmemchr.c (do_one_test): Likewise.
8834 (do_test): Likewise.
8835 * string/test-strcasecmp.c (do_one_test): Likewise.
8836 (do_test): Likewise.
8837 * string/test-strcasestr.c (do_one_test): Likewise.
8838 (do_test): Likewise.
8839 * string/test-strcat.c (do_one_test): Likewise.
8840 (do_test): Likewise.
8841 * string/test-strchr.c (do_one_test): Likewise.
8842 (do_test): Likewise.
8843 * string/test-strcmp.c (do_one_test): Likewise.
8844 (do_test): Likewise.
8845 * string/test-strcpy.c (do_one_test): Likewise.
8846 (do_test): Likewise.
8847 * string/test-string.h: Likewise.
8848 (test_init): Likewise.
8849 * string/test-strlen.c (do_one_test): Likewise.
8850 (do_test): Likewise.
8851 * string/test-strncasecmp.c (do_one_test): Likewise.
8852 (do_test): Likewise.
8853 * string/test-strncat.c (do_one_test): Likewise.
8854 (do_test): Likewise.
8855 * string/test-strncmp.c (do_one_test): Likewise.
8856 (do_test_limit): Likewise.
8857 (do_test): Likewise.
8858 * string/test-strncpy.c (do_one_test): Likewise.
8859 (do_test): Likewise.
8860 * string/test-strnlen.c (do_one_test): Likewise.
8861 (do_test): Likewise.
8862 * string/test-strpbrk.c (do_one_test): Likewise.
8863 (do_test): Likewise.
8864 * string/test-strrchr.c (do_one_test): Likewise.
8865 (do_test): Likewise.
8866 * string/test-strspn.c (do_one_test): Likewise.
8867 (do_test): Likewise.
8868 * string/test-strstr.c (do_one_test): Likewise.
8869 (do_test): Likewise.
8870
97020474
SP
8871 * benchtests/Makefile (string-bench): Add string benchmarks.
8872 * benchtests/bench-bcopy-ifunc.c: New file.
8873 * benchtests/bench-bcopy.c: New file.
8874 * benchtests/bench-bzero-ifunc.c: New file.
8875 * benchtests/bench-bzero.c: New file.
8876 * benchtests/bench-memccpy-ifunc.c: New file.
8877 * benchtests/bench-memccpy.c: New file.
8878 * benchtests/bench-memchr-ifunc.c: New file.
8879 * benchtests/bench-memchr.c: New file.
8880 * benchtests/bench-memcmp-ifunc.c: New file.
8881 * benchtests/bench-memcmp.c: New file.
8882 * benchtests/bench-memmem-ifunc.c: New file.
8883 * benchtests/bench-memmem.c: New file.
8884 * benchtests/bench-memmove-ifunc.c: New file.
8885 * benchtests/bench-memmove.c: New file.
8886 * benchtests/bench-mempcpy-ifunc.c: New file.
8887 * benchtests/bench-mempcpy.c: New file.
8888 * benchtests/bench-memset-ifunc.c: New file.
8889 * benchtests/bench-memset.c: New file.
8890 * benchtests/bench-rawmemchr-ifunc.c: New file.
8891 * benchtests/bench-rawmemchr.c: New file.
8892 * benchtests/bench-stpcpy-ifunc.c: New file.
8893 * benchtests/bench-stpcpy.c: New file.
8894 * benchtests/bench-stpncpy-ifunc.c: New file.
8895 * benchtests/bench-stpncpy.c: New file.
8896 * benchtests/bench-strcasecmp-ifunc.c: New file.
8897 * benchtests/bench-strcasecmp.c: New file.
8898 * benchtests/bench-strcasestr-ifunc.c: New file.
8899 * benchtests/bench-strcasestr.c: New file.
8900 * benchtests/bench-strcat-ifunc.c: New file.
8901 * benchtests/bench-strcat.c: New file.
8902 * benchtests/bench-strchr-ifunc.c: New file.
8903 * benchtests/bench-strchr.c: New file.
8904 * benchtests/bench-strchrnul-ifunc.c: New file.
8905 * benchtests/bench-strchrnul.c: New file.
8906 * benchtests/bench-strcmp-ifunc.c: New file.
8907 * benchtests/bench-strcmp.c: New file.
8908 * benchtests/bench-strcpy-ifunc.c: New file.
8909 * benchtests/bench-strcpy.c: New file.
8910 * benchtests/bench-strcspn-ifunc.c: New file.
8911 * benchtests/bench-strcspn.c: New file.
8912 * benchtests/bench-strlen-ifunc.c: New file.
8913 * benchtests/bench-strlen.c: New file.
8914 * benchtests/bench-strncasecmp-ifunc.c: New file.
8915 * benchtests/bench-strncasecmp.c: New file.
8916 * benchtests/bench-strncat-ifunc.c: New file.
8917 * benchtests/bench-strncat.c: New file.
8918 * benchtests/bench-strncmp-ifunc.c: New file.
8919 * benchtests/bench-strncmp.c: New file.
8920 * benchtests/bench-strncpy-ifunc.c: New file.
8921 * benchtests/bench-strncpy.c: New file.
8922 * benchtests/bench-strnlen-ifunc.c: New file.
8923 * benchtests/bench-strnlen.c: New file.
8924 * benchtests/bench-strpbrk-ifunc.c: New file.
8925 * benchtests/bench-strpbrk.c: New file.
8926 * benchtests/bench-strrchr-ifunc.c: New file.
8927 * benchtests/bench-strrchr.c: New file.
8928 * benchtests/bench-strspn-ifunc.c: New file.
8929 * benchtests/bench-strspn.c: New file.
8930 * benchtests/bench-strstr-ifunc.c: New file.
8931 * benchtests/bench-strstr.c: New file.
8932
c1f75dc3
SP
8933 * benchtests/Makefile: Disable parallel execution of targets.
8934 (string-bench): Add memcpy.
8935 (benchset): New variable to store a list of benchmark sets.
8936 (bench-func): Renamed from bench.
8937 (bench-set): New target.
8938 (bench): Depend on bench-func and bench-set.
8939 * benchtests/README: Add section on benchmark sets.
8940 * benchtests/bench-memcpy-ifunc.c: New file.
8941 * benchtests/bench-memcpy.c: New file.
8942 * benchtests/bench-string.h: New file.
8943
50fd745b
AS
89442013-06-11 Andreas Schwab <schwab@suse.de>
8945
8946 [BZ #15577]
8947 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
8948 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
8949 values in the triple.
8950 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
8951 terminator in the group key.
8952
3ee7e9fe
AJ
89532013-06-11 Andreas Jaeger <aj@suse.de>
8954
8955 * po/zh_TW.po: Update Chinese (traditional) translation from
8956 translation project.
8957
89fb6835
SP
89582013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8959
8960 * include/time.h (__clock_gettime): Add libc_hidden_proto.
8961 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
8962 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
8963 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8964 (clock_getcpuclockid): Likewise.
8965 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
8966 Add weak_alias and libc_hidden_def.
8967 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
8968 * rt/clock_gettime.c (clock_gettime): Rename to
8969 __clock_gettime. Add weak_alias and libc_hidden_def.
8970 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
8971 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
8972 __clock_nanosleep. Add weak_alias and libc_hidden_def.
8973 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
8974 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
8975 Likewise.
8976 * rt/clock_settime.c (clock_settime): Rename to
8977 __clock_settime. Add weak_alias and libc_hidden_def.
8978 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
8979
0efa6f8b
JM
89802013-06-10 Joseph Myers <joseph@codesourcery.com>
8981
b8c61b4b
JM
8982 * mach/err_boot.sub: Remove trailing whitespace.
8983 * mach/err_ipc.sub: Likewise.
8984 * mach/err_mach.sub: Likewise.
8985
0efa6f8b
JM
8986 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
8987 (ROUNDING_TESTS_double): Likewise.
8988 (ROUNDING_TESTS_long_double): Likewise.
8989 (ROUNDING_TESTS): Likewise.
8990 * math/libm-test.inc: Include <math-tests.h>.
8991 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
8992 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8993 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8994 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8995
50b818bf
SP
89962013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8997
8998 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
8999 of assigning.
9000
60d2f8f3
JM
90012013-06-08 Joseph Myers <joseph@codesourcery.com>
9002
4902d2c3
JM
9003 * sysdeps/gnu/errlist.awk: Do not generate space at end of
9004 otherwise empty TRANS lines.
9005 * sysdeps/gnu/errlist.c: Regenerated.
9006
60d2f8f3
JM
9007 * catgets/gencat.c (error_print): Use (void) in function
9008 definition.
9009 * crypt/crypt_util.c (__init_des): Likewise.
9010 * crypt/speeds.c (Stop): Likewise.
9011 (main): Likewise.
9012 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
9013 * inet/ruserpass.c (token): Likewise.
9014 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
9015 * intl/localealias.c (extend_alias_table): Likewise.
9016 * intl/plural-exp.c (init_germanic_plural): Likewise.
9017 * libio/fcloseall.c (__fcloseall): Likewise.
9018 * libio/genops.c (_IO_flush_all): Likewise.
9019 (_IO_flush_all_linebuffered): Likewise.
9020 (_IO_cleanup): Likewise.
9021 (_IO_iter_begin): Likewise.
9022 (_IO_iter_end): Likewise.
9023 (_IO_list_lock): Likewise.
9024 (_IO_list_unlock): Likewise.
9025 (_IO_list_resetlock): Likewise.
9026 * libio/getchar.c (getchar): Likewise.
9027 * libio/getchar_u.c (getchar_unlocked): Likewise.
9028 * libio/getwchar.c (getwchar): Likewise.
9029 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
9030 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
9031 * login/getpt.c (__getpt): Likewise.
9032 * login/tst-utmp.c (main): Likewise.
9033 * malloc/hooks.c (__malloc_check_init): Likewise.
9034 * malloc/malloc.c (__malloc_stats): Likewise.
9035 * malloc/mtrace.c (tr_break): Likewise.
9036 (mtrace): Likewise.
9037 (muntrace): Likewise.
9038 * misc/fstab.c (endfsent): Likewise.
9039 * misc/getclktck.c (__getclktck): Likewise.
9040 * misc/getdtsz.c (__getdtablesize): Likewise.
9041 * misc/gethostid.c (gethostid): Likewise.
9042 * misc/getpagesize.c (__getpagesize): Likewise.
9043 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
9044 (__get_nprocs): Likewise.
9045 (__get_phys_pages): Likewise.
9046 (__get_avphys_pages): Likewise.
9047 * misc/getttyent.c (getttyent): Likewise.
9048 (setttyent): Likewise.
9049 (endttyent): Likewise.
9050 * misc/getusershell.c (getusershell): Likewise.
9051 (endusershell): Likewise.
9052 (setusershell): Likewise.
9053 (initshells): Likewise.
9054 * misc/hsearch.c (__hdestroy): Likewise.
9055 * misc/sync.c (sync): Likewise.
9056 * misc/syslog.c (closelog_internal): Likewise.
9057 (closelog): Likewise.
9058 * misc/ttyslot.c (ttyslot): Likewise.
9059 * misc/vhangup.c (vhangup): Likewise.
9060 * posix/fork.c (__fork): Likewise.
9061 * posix/getegid.c (__getegid): Likewise.
9062 * posix/geteuid.c (__geteuid): Likewise.
9063 * posix/getgid.c (__getgid): Likewise.
9064 * posix/getpid.c (__getpid): Likewise.
9065 * posix/getppid.c (__getppid): Likewise.
9066 * posix/getuid.c (__getuid): Likewise.
9067 * posix/pause.c (pause): Likewise.
9068 * posix/setpgrp.c (setpgrp): Likewise.
9069 * posix/setsid.c (__setsid): Likewise.
9070 * posix/test-vfork.c (noop): Likewise.
9071 * resolv/gethnamaddr.c (_endhtent): Likewise.
9072 (_gethtent): Likewise.
9073 (ht_endhostent): Likewise.
9074 (gethostent): Likewise.
9075 (dns_service): Likewise.
9076 * stdlib/drand48.c (drand48): Likewise.
9077 * stdlib/lrand48.c (lrand48): Likewise.
9078 * stdlib/mrand48.c (mrand48): Likewise.
9079 * stdlib/rand.c (rand): Likewise.
9080 * stdlib/random.c (__random): Likewise.
9081 * stdlib/setenv.c (clearenv): Likewise.
9082 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
9083 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
9084 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
9085 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
9086 (__get_nprocs): Likewise.
9087 (__get_phys_pages): Likewise.
9088 (__get_avphys_pages): Likewise.
9089 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
9090 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
9091 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
9092 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
9093 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
9094 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
9095 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
9096 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
9097 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
9098 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
9099 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
9100 * sysdeps/mach/hurd/sync.c (sync): Likewise.
9101 * sysdeps/posix/clock.c (clock): Likewise.
9102 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
9103 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
9104 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
9105 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
9106 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
9107 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
9108 (__get_nprocs_conf): Likewise.
9109 (__get_phys_pages): Likewise.
9110 (__get_avphys_pages): Likewise.
9111 * time/clock.c (clock): Likewise.
9112 * time/tzset.c (__tzname_max): Likewise.
9113
2e09a79a
JM
91142013-06-07 Joseph Myers <joseph@codesourcery.com>
9115
9116 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
9117 (__bswap_32): Do not use "register".
9118 * crypt/crypt.c (_ufc_doit_r): Likewise.
9119 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9120 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9121 * gmon/gmon.c (__monstartup): Likewise.
9122 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
9123 * hurd/hurdmalloc.c (more_memory): Likewise.
9124 (malloc): Likewise.
9125 (free): Likewise.
9126 (realloc): Likewise.
9127 (malloc_fork_prepare): Likewise.
9128 (malloc_fork_parent): Likewise.
9129 (malloc_fork_child): Likewise.
9130 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
9131 (_svcauth_des): Likewise.
9132 * inet/inet_lnaof.c (inet_lnaof): Likewise.
9133 * inet/inet_net.c (inet_network): Likewise.
9134 * inet/inet_netof.c (inet_netof): Likewise.
9135 * inet/rcmd.c (__validuser2_sa): Likewise.
9136 * io/fts.c (fts_open): Likewise.
9137 (fts_load): Likewise.
9138 (fts_close): Likewise.
9139 (fts_read): Likewise.
9140 (fts_children): Likewise.
9141 (fts_build): Likewise.
9142 (fts_stat): Likewise.
9143 (fts_sort): Likewise.
9144 (fts_alloc): Likewise.
9145 (fts_lfree): Likewise.
9146 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
9147 (_IO_file_xsgetn): Likewise.
9148 (_IO_file_xsgetn_mmap): Likewise.
9149 * libio/iofopncook.c (_IO_cookie_read): Likewise.
9150 (_IO_cookie_write): Likewise.
9151 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
9152 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
9153 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
9154 * malloc/obstack.c (_obstack_begin): Likewise.
9155 (_obstack_begin_1): Likewise.
9156 (_obstack_newchunk): Likewise.
9157 (_obstack_allocated_p): Likewise.
9158 (obstack_free): Likewise.
9159 (_obstack_memory_used): Likewise.
9160 * misc/getttyent.c (getttynam): Likewise.
9161 (getttyent): Likewise.
9162 (skip): Likewise.
9163 (value): Likewise.
9164 * misc/getusershell.c (initshells): Likewise.
9165 * misc/syslog.c (__vsyslog_chk): Likewise.
9166 * misc/ttyslot.c (ttyslot): Likewise.
9167 * nis/nis_hash.c (__nis_hash): Likewise.
9168 * posix/fnmatch_loop.c (FCT): Likewise.
9169 * posix/getconf.c (print_all): Likewise.
9170 (main): Likewise.
9171 * posix/getopt.c (exchange): Likewise.
9172 * posix/glob.c (globfree): Likewise.
9173 (prefix_array): Likewise.
9174 (__glob_pattern_type): Likewise.
9175 * resolv/arpa/nameser.h (NS_GET16): Likewise.
9176 (NS_GET32): Likewise.
9177 (NS_PUT16): Likewise.
9178 (NS_PUT32): Likewise.
9179 * resolv/gethnamaddr.c (getanswer): Likewise.
9180 (gethostbyname2): Likewise.
9181 (gethostbyaddr): Likewise.
9182 (_gethtent): Likewise.
9183 (_gethtbyname2): Likewise.
9184 (_gethtbyaddr): Likewise.
9185 * resolv/ns_print.c (dst_s_get_int16): Likewise.
9186 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
9187 * resolv/res_init.c (__res_vinit): Likewise.
9188 (net_mask): Likewise.
9189 * resolv/res_mkquery.c (outchar): Likewise.
9190 (PRINT): Likewise.
9191 * stdio-common/printf_fp.c (outchar): Likewise.
9192 (PRINT): Likewise.
9193 * stdio-common/printf_fphex.c (outchar): Likewise.
9194 (PRINT): Likewise.
9195 * stdio-common/printf_size.c (outchar): Likewise.
9196 (PRINT): Likewise.
9197 * stdio-common/test_rdwr.c (main): Likewise.
9198 * stdio-common/tfformat.c (matches): Likewise.
9199 * stdio-common/vfprintf.c (outchar): Likewise.
9200 (printf_unknown): Likewise.
9201 (buffered_vfprintf): Likewise.
9202 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9203 * stdio-common/xbug.c (AppendToBuffer): Likewise.
9204 (ReadFile): Likewise.
9205 * stdlib/qsort.c (SWAP): Likewise.
9206 (_quicksort): Likewise.
9207 * stdlib/setenv.c (__add_to_environ): Likewise.
9208 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9209 * stdlib/strtol_l.c (__strtol_l): Likewise.
9210 * stdlib/tst-strtod.c (main): Likewise.
9211 * stdlib/tst-strtol.c (main): Likewise.
9212 * stdlib/tst-strtoll.c (main): Likewise.
9213 * string/bits/string2.h (__strcmp_cc): Likewise.
9214 (__strcmp_cg): Likewise.
9215 (__strcspn_c1): Likewise.
9216 (__strcspn_c2): Likewise.
9217 (__strcspn_c3): Likewise.
9218 (__strspn_c1): Likewise.
9219 (__strspn_c2): Likewise.
9220 (__strspn_c3): Likewise.
9221 (__strsep_1c): Likewise.
9222 (__strsep_2c): Likewise.
9223 (__strsep_3c): Likewise.
9224 * string/memccpy.c (__memccpy): Likewise.
9225 * string/stpcpy.c (__stpcpy): Likewise.
9226 * string/strcmp.c (strcmp): Likewise.
9227 * string/strrchr.c (strrchr): Likewise.
9228 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
9229 Likewise.
9230 * sysdeps/mach/hurd/getcwd.c
9231 (_hurd_canonicalize_directory_name_internal): Likewise.
9232 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
9233 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
9234 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
9235 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
9236 Likewise, in both definitions.
9237 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
9238 definitions.
9239 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
9240 64] (__bswap_64): Likewise.
9241 * time/test_time.c (main): Likewise.
9242 * time/tzfile.c (__tzfile_read): Likewise.
9243 (__tzfile_compute): Likewise.
9244 * time/tzset.c (__tzset_parse_tz): Likewise.
9245 (tzset_internal): Likewise.
9246 (compute_change): Likewise.
9247 * wcsmbs/wcscat.c (__wcscat): Likewise.
9248 * wcsmbs/wcschr.c (wcschr): Likewise.
9249 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
9250 * wcsmbs/wcscspn.c (wcscspn): Likewise.
9251 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
9252 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
9253 * wcsmbs/wcsspn.c (wcsspn): Likewise.
9254 * wcsmbs/wcsstr.c (wcsstr): Likewise.
9255 * wcsmbs/wmemchr.c (wmemchr): Likewise.
9256 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9257 * wcsmbs/wmemset.c (wmemset): Likewise.
9258
9e54314b
JM
92592013-06-06 Joseph Myers <joseph@codesourcery.com>
9260
9261 * scripts/config.guess: Update to version 2013-05-16.
9262 * scripts/config.sub: Update to version 2013-04-24.
9263 * scripts/install-sh: Update to version 2011-11-20.07.
9264 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
9265 * scripts/move-if-change: Update to version 2012-01-06 07:23.
9266
350635a5
OB
92672013-06-06 Ondřej Bílka <neleai@seznam.cz>
9268
9269 * debug/fgetws_u_chk.c: Fix leading whitespaces.
9270 * elf/sln.c: Likewise.
9271 * hurd/hurd/ioctl.h: Likewise.
9272 * hurd/hurdmalloc.c: Likewise.
9273 * hurd/xattr.c: Likewise.
9274 * include/shlib-compat.h: Likewise.
9275 * inet/ruserpass.c: Likewise.
9276 * libio/iofgets_u.c: Likewise.
9277 * libio/iofgetws_u.c: Likewise.
9278 * locale/programs/ld-identification.c: Likewise.
9279 * locale/programs/ld-time.c: Likewise.
9280 * mach/msg-destroy.c: Likewise.
9281 * nss/nss_files/files-netgrp.c: Likewise.
9282 * resolv/res_data.c: Likewise.
9283 * soft-fp/op-1.h: Likewise.
9284 * soft-fp/op-2.h: Likewise.
9285 * soft-fp/op-4.h: Likewise.
9286 * soft-fp/op-common.h: Likewise.
9287 * stdio-common/printf_fphex.c: Likewise.
9288 * stdlib/strtod_l.c: Likewise.
9289 * sunrpc/rpc/clnt.h: Likewise.
9290 * sysdeps/generic/framestate.c: Likewise.
9291 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9292 * sysdeps/i386/bsd-setjmp.S: Likewise.
9293 * sysdeps/i386/__longjmp.S: Likewise.
9294 * sysdeps/i386/setjmp.S: Likewise.
9295 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9296 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9297 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9298 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9299 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9300 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9301 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9302 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9303 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9304 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9305 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9306 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9307 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9308 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9309 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9310 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9311 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9312 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
9313 * sysdeps/ieee754/support.c: Likewise.
9314 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9315 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
9316 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
9317 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
9318 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
9319 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
9320 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
9321 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
9322 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
9323 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
9324 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
9325 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
9326 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
9327 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
9328 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
9329 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
9330 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9332
44a988af
OB
93332013-06-05 Ondřej Bílka <neleai@seznam.cz>
9334
25506f09 9335 * posix/transbug.c: Remove executable mode.
44a988af 9336
9c84384c
JM
93372013-06-05 Joseph Myers <joseph@codesourcery.com>
9338
9339 * crypt/speeds.c: Remove trailing whitespace.
9340 * dlfcn/default.c: Likewise.
9341 * elf/ifuncdep2.c: Likewise.
9342 * elf/ifuncmain1.c: Likewise.
9343 * elf/ifuncmain1vis.c: Likewise.
9344 * elf/testobj.h: Likewise.
9345 * elf/tst-stackguard1.c: Likewise.
9346 * gmon/sys/gmon.h: Likewise.
9347 * hurd/hurdmsg.c: Likewise.
9348 * hurd/new-fd.c: Likewise.
9349 * hurd/ports-get.c: Likewise.
9350 * iconvdata/ibm1008_420.c: Likewise.
9351 * inet/tst-getni1.c: Likewise.
9352 * inet/tst-getni2.c: Likewise.
9353 * libio/ioungetc.c: Likewise.
9354 * libio/wfiledoalloc.c: Likewise.
9355 * manual/libm-err-tab.pl: Likewise.
9356 * math/w_dremf.c: Likewise.
9357 * misc/ftruncate.c: Likewise.
9358 * posix/bug-glob2.c: Likewise.
9359 * posix/tst-pcre.c: Likewise.
9360 * posix/wait4.c: Likewise.
9361 * resolv/README: Likewise.
9362 * resolv/res_debug.h: Likewise.
9363 * resolv/tst-inet_ntop.c: Likewise.
9364 * setjmp/bug269-setjmp.c: Likewise.
9365 * soft-fp/extended.h: Likewise.
9366 * soft-fp/op-1.h: Likewise.
9367 * soft-fp/op-2.h: Likewise.
9368 * soft-fp/op-4.h: Likewise.
9369 * soft-fp/op-8.h: Likewise.
9370 * soft-fp/testit.c: Likewise.
9371 * stdio-common/bug16.c: Likewise.
9372 * stdlib/random.c: Likewise.
9373 * sunrpc/rpcsvc/rquota.x: Likewise.
9374 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
9375 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9376 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9377 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9378 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9379 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9380 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9381 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9382 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9383 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9384 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9385 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9386 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9387 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9388 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9389 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9390 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9391 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9392 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9393 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9394 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9395 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9396 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9397 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9398 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9399 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9400 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9401 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9402 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9403 * sysdeps/ieee754/s_lib_version.c: Likewise.
9404 * sysdeps/mach/hurd/check_fds.c: Likewise.
9405 * sysdeps/mach/hurd/getsockname.c: Likewise.
9406 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
9407 * sysdeps/mach/hurd/recvfrom.c: Likewise.
9408 * sysdeps/powerpc/bits/link.h: Likewise.
9409 * sysdeps/powerpc/dl-procinfo.c: Likewise.
9410 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
9411 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
9412 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
9413 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9414 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9415 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
9416 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9417 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
9418 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9419 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9420 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9421 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
9422 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9423 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9424 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9425 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9426 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9427 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9428 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9429 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9430 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
9431 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9432 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9433 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
9434 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9435 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9436 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9437 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9438 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9439 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9440 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9441 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9442 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9443 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
9444 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9445 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
9446 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9447 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9448 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
9449 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
9450 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
9451 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
9452 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
9453 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9454 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
9455 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
9456 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9457 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
9458 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
9459 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9460 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9461 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9462 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9463 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
9464 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9465 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9466 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9467 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
9468 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9469 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
9470 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
9471 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
9472 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9473 * sysdeps/powerpc/sysdep.h: Likewise.
9474 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9475 * sysdeps/s390/s390-64/sub_n.S: Likewise.
9476 * sysdeps/sh/dl-trampoline.S: Likewise.
9477 * sysdeps/sh/memset.S: Likewise.
9478 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
9479 * sysdeps/sh/strlen.S: Likewise.
9480 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
9481 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
9482 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
9483 * sysdeps/sparc/sparc32/rem.S: Likewise.
9484 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
9485 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
9486 * sysdeps/sparc/sparc32/strchr.S: Likewise.
9487 * sysdeps/sparc/sparc32/udiv.S: Likewise.
9488 * sysdeps/sparc/sparc32/urem.S: Likewise.
9489 * sysdeps/sparc/sparc64/add_n.S: Likewise.
9490 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9491 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
9492 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
9493 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
9494 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
9495 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
9496 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
9497 * sysdeps/unix/bsd/times.c: Likewise.
9498 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
9499 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
9500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9503 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9504 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9505 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
9506 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
9507 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
9508 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
9509 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9510 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
9511 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9512 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9513 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
9514 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9515 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
9516 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
9517 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
9518 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
9519 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
9520 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9521 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
9522 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
9523 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9524 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
9525 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9526 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
9527 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
9528 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
9529 * sysdeps/x86_64/strcspn.S: Likewise.
9530
869378a5
RA
95312013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9532
9533 * locale/C-translit.h: Revert #include <stdint.h> because this is a
9534 generated file. Regenerate properly from gen-translit.pl.
9535 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
9536 locale/C-translit.h.
9537
840e2943
AS
95382013-06-05 Andreas Schwab <schwab@suse.de>
9539
9540 [BZ #15100]
9541 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
9542 week as 6 instead of -1.
9543 * time/tst-strptime.c (day_tests): Add test case.
9544
4c60cb0c
SP
95452013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9546
9547 * sysdeps/generic/math_private.h
9548 (libc_feholdexcept_setround_53bit): Replace with
9549 libc_feholdsetround_53bit.
9550 (libc_feupdateenv_53bit): Replace with
9551 libc_feresetround_53bit.
9552 (SET_RESTORE_ROUND_53BIT): Adjust.
9553
d180203e
SP
95542013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9555
96df079a
SP
9556 * string/test-strchrnul.c: Add copyright header.
9557
d180203e
SP
9558 * posix/tst-getaddrinfo4.c: Increase test timeout.
9559
8b0ccb2d
CD
95602013-06-03 Carlos O'Donell <carlos@redhat.com>
9561
9562 [BZ #15536]
9563 * math/libm-test.inc (MAX_EXP): Remove
9564 (MIN_EXP): Define.
9565 (ulp): Use MIN_EXP - MANT_DIG.
9566 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
9567
3b3c4d40
CD
95682013-05-31 Carlos O'Donell <carlos@redhat.com>
9569
9570 * po/be.po: Revert last change.
9571 * po/zh_CN.po: Likewise.
9572 * po/header.pot: Likewise.
9573
fab7ce3f
JM
95742013-05-31 Joseph Myers <joseph@codesourcery.com>
9575
9576 * Makefile ($(common-objpfx)linkobj/libc.so): Define
9577 link-libc-deps to empty as target-specific variable.
9578 * Makerules (link-libc-args): New variable.
9579 (libc-for-link): Likewise.
9580 (link-libc-deps): Likewise.
9581 (lib%.so): Depend on $(link-libc-deps). Link with
9582 $(link-libc-args).
9583 (build-module): Link with $(link-libc-args).
9584 (build-module-asneeded): Likewise.
9585 (build-module-helper-objlist): Filter out $(link-libc-deps) from
9586 list of objects.
9587 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
9588 target-specific variable.
9589 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
9590 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
9591 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
9592 libc.
9593 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
9594 libc and ld.so.
9595 ($(objpfx)libpcprofile.so): Likewise.
9596 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
9597 libc_nonshared.a.
9598 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
9599 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
9600 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
9601 $(link-libc-deps).
9602 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
9603 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
9604 * login/Makefile ($(objpfx)libutil.so): Likewise.
9605 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
9606 * math/Makefile ($(objpfx)libm.so): Likewise.
9607 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
9608 $(objpfx)libnsl.so): Define libc-for-link as target-specific
9609 variable instead of depending directly on libc.
9610 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
9611 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
9612 $(link-libc-deps).
9613 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
9614 libc.
9615 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
9616 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
9617 ($(objpfx)libanl.so): Likewise.
9618 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
9619 ld.so.
9620 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
9621 $(link-libc-deps).
9622 * sysdeps/i386/fpu/Makefile: Remove file.
9623 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
9624 ($(objpfx)libm.so): Remove dependency on ld.so.
9625
eca5920c
PF
96262013-05-30 Patsy Franklin <pfrankli@redhat.com>
9627
9628 [BZ # 15553]
9629 * nis/yp_xdr.c (XDRMAXNAME): Define.
9630 (XDRMAXRECORD): Define.
9631 (xdr_domainname): Use XDRMAXNAME.
9632 (xdr_mapname): Likewise.
9633 (xdr_peername): Likewise.
9634 (xdr_keydat): Use XDRMAXRECORD.
9635 (xdr_valdat): Likewise.
9636
96372013-05-30 Jeff Law <law@redhat.com>
96945714
JL
9638
9639 [BZ #14256]
9640 * manual/errno.texi (ESTALE): Update to account for more than
9641 just NFS file systems.
9642 * sysdeps/gnu/errlist.c: Regenerated.
9643
b9375348
SP
96442013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9645
9646 [BZ #15465]
9647 * elf/Makefile (tests): Add tst-null-argv.
9648 (modules-names): Add tst-null-argv-lib.
9649 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
9650 (tst-null-argv-ENV): Set environment for tst-null-argv.
9651 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
9652 (RTLD_PROGNAME): New macro.
9653 * elf/tst-null-argv.c: New test case.
9654 * elf/tst-null-argv-lib.c: Library for test case.
9655 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
9656 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
9657 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
9658 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
9659 * elf/dl-init.c (call_init): Likewise.
9660 (_dl_init): Likewise.
9661 * elf/dl-load.c (print_search_path): Likewise.
9662 (_dl_map_object): Likewise.
9663 * elf/dl-lookup.c (do_lookup_x): Likewise.
9664 (add_dependency): Likewise.
9665 (_dl_lookup_symbol_x): Likewise.
9666 (_dl_debug_bindings): Likewise.
9667 * elf/dl-open.c (_dl_show_scope): Likewise.
9668 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9669 * elf/dl-version.c (match_symbol): Likewise.
9670 (_dl_check_map_versions): Likewise.
9671 * elf/rtld.c (dl_main): Likewise.
9672 (print_unresolved): Use RTLD_PROGNAME.
9673 (print_missing_version): Likewise.
9674 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
9675 (elf_machine_rela): Likewise.
9676 * sysdeps/powerpc/powerpc32/dl-machine.c
9677 (__process_machine_rela): Likewise.
9678 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9679 Likewise.
9680 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9681 Likewise.
9682 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9683 Likewise.
9684 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9685 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
9686 Likewise.
9687 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
9688 Likewise.
9689 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9690
8a9f20c8
CD
96912013-05-28 Carlos O'Donell <carlos@redhat.com>
9692
9693 * po/be.po: Add descriptive title.
9694 * po/zh_CN.po: Likewise.
9695 * po/header.pot: Likewise.
9696
0e60d68e
MF
96972013-05-28 Mike Frysinger <vapier@gentoo.org>
9698
9699 * locale/programs/locarchive.c (create_archive): Inlucde fname in
9700 error message.
9701 (enlarge_archive): Likewise.
9702
56b672e9
BN
97032013-05-28 Ben North <ben@redfrontdoor.org>
9704
9705 * manual/arith.texi (frexp): It is the magnitude of the return
9706 value which lies in [0.5, 1), not the return value itself.
9707
5e056687
AZ
97082013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9709
9710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9711
2b66ef5d
TS
97122013-05-26 Thomas Schwinge <thomas@codesourcery.com>
9713
528c2405
TS
9714 * stdio-common/bug26.c (main): Correct fscanf template.
9715
07b4c13d
TS
9716 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
9717 declare _dl_skip_args.
9718
ec9dd97c
TS
9719 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
9720 Don't declare.
9721
2b66ef5d
TS
9722 * manual/platform.texi: Add missing @end deftypefun.
9723
4f8dfe27
JM
97242013-05-24 Joseph Myers <joseph@codesourcery.com>
9725
0323d086
JM
9726 [BZ #15529]
9727 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
9728 bit of mantissa of 2^16382.
9729 * math/libm-test.inc (hypot_test_data): Add more tests.
9730
dd4259b9
JM
9731 * math/libm-test.inc: Add drem and pow10 to list of tested
9732 functions.
9733 (pow10_test): New function.
9734 (drem_test): Likewise.
9735 (drem_test_tonearest): Likewise.
9736 (drem_test_towardzero): Likewise.
9737 (drem_test_downward): Likewise.
9738 (drem_test_upward): Likewise.
9739 (main): Call the new functions.
9740
4f8dfe27
JM
9741 * math/libm-test.inc (finite_test_data): Remove.
9742 (finite_test): Run tests from isfinite_test_data.
9743 (gamma_test_data): Remove.
9744 (gamma_test): Run tests from lgamma_test_data.
9745 * sysdeps/i386/fpu/libm-test-ulps: Update.
9746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9747
d116b7c4
AZ
97482013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9749
9750 * manual/platform.texi: Add PowerPC PPR function set documentation.
9751 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
9752 implementation.
9753
e96e3767
CD
97542013-05-24 Carlos O'Donell <carlos@redhat.com>
9755
9756 * math/libm-test.inc (MAX_EXP): Define.
9757 (ULPDIFF): Define.
9758 (ulp): New function.
9759 (check_float_internal): Use ULPDIFF.
9760 (cpow_test): Disable failing test.
9761 (check_ulp): Test ulp() implemetnation.
9762 (main): Call check_ulp before starting tests.
9763
b679a606
JM
97642013-05-24 Joseph Myers <joseph@codesourcery.com>
9765
e8bdba36
JM
9766 * math/gen-libm-test.pl (generate_testfile): Do not handle
9767 START_DATA and END_DATA.
9768 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
9769 END_DATA.
9770 (acos_tonearest_test_data): Likewise.
9771 (acos_towardzero_test_data): Likewise.
9772 (acos_downward_test_data): Likewise.
9773 (acos_upward_test_data): Likewise.
9774 (acosh_test_data): Likewise.
9775 (asin_test_data): Likewise.
9776 (asin_tonearest_test_data): Likewise.
9777 (asin_towardzero_test_data): Likewise.
9778 (asin_downward_test_data): Likewise.
9779 (asin_upward_test_data): Likewise.
9780 (asinh_test_data): Likewise.
9781 (atan_test_data): Likewise.
9782 (atanh_test_data): Likewise.
9783 (atan2_test_data): Likewise.
9784 (cabs_test_data): Likewise.
9785 (cacos_test_data): Likewise.
9786 (cacosh_test_data): Likewise.
9787 (carg_test_data): Likewise.
9788 (casin_test_data): Likewise.
9789 (casinh_test_data): Likewise.
9790 (catan_test_data): Likewise.
9791 (catanh_test_data): Likewise.
9792 (cbrt_test_data): Likewise.
9793 (ccos_test_data): Likewise.
9794 (ccosh_test_data): Likewise.
9795 (ceil_test_data): Likewise.
9796 (cexp_test_data): Likewise.
9797 (cimag_test_data): Likewise.
9798 (clog_test_data): Likewise.
9799 (clog10_test_data): Likewise.
9800 (conj_test_data): Likewise.
9801 (copysign_test_data): Likewise.
9802 (cos_test_data): Likewise.
9803 (cos_tonearest_test_data): Likewise.
9804 (cos_towardzero_test_data): Likewise.
9805 (cos_downward_test_data): Likewise.
9806 (cos_upward_test_data): Likewise.
9807 (cosh_test_data): Likewise.
9808 (cosh_tonearest_test_data): Likewise.
9809 (cosh_towardzero_test_data): Likewise.
9810 (cosh_downward_test_data): Likewise.
9811 (cosh_upward_test_data): Likewise.
9812 (cpow_test_data): Likewise.
9813 (cproj_test_data): Likewise.
9814 (creal_test_data): Likewise.
9815 (csin_test_data): Likewise.
9816 (csinh_test_data): Likewise.
9817 (csqrt_test_data): Likewise.
9818 (ctan_test_data): Likewise.
9819 (ctan_tonearest_test_data): Likewise.
9820 (ctan_towardzero_test_data): Likewise.
9821 (ctan_downward_test_data): Likewise.
9822 (ctan_upward_test_data): Likewise.
9823 (ctanh_test_data): Likewise.
9824 (ctanh_tonearest_test_data): Likewise.
9825 (ctanh_towardzero_test_data): Likewise.
9826 (ctanh_downward_test_data): Likewise.
9827 (ctanh_upward_test_data): Likewise.
9828 (erf_test_data): Likewise.
9829 (erfc_test_data): Likewise.
9830 (exp_test_data): Likewise.
9831 (exp_tonearest_test_data): Likewise.
9832 (exp_towardzero_test_data): Likewise.
9833 (exp_downward_test_data): Likewise.
9834 (exp_upward_test_data): Likewise.
9835 (exp10_test_data): Likewise.
9836 (exp2_test_data): Likewise.
9837 (expm1_test_data): Likewise.
9838 (fabs_test_data): Likewise.
9839 (fdim_test_data): Likewise.
9840 (finite_test_data): Likewise.
9841 (floor_test_data): Likewise.
9842 (fma_test_data): Likewise.
9843 (fma_towardzero_test_data): Likewise.
9844 (fma_downward_test_data): Likewise.
9845 (fma_upward_test_data): Likewise.
9846 (fmax_test_data): Likewise.
9847 (fmin_test_data): Likewise.
9848 (fmod_test_data): Likewise.
9849 (fpclassify_test_data): Likewise.
9850 (frexp_test_data): Likewise.
9851 (gamma_test_data): Likewise.
9852 (hypot_test_data): Likewise.
9853 (ilogb_test_data): Likewise.
9854 (isfinite_test_data): Likewise.
9855 (isgreater_test_data): Likewise.
9856 (isgreaterequal_test_data): Likewise.
9857 (isinf_test_data): Likewise.
9858 (isless_test_data): Likewise.
9859 (islessequal_test_data): Likewise.
9860 (islessgreater_test_data): Likewise.
9861 (isnan_test_data): Likewise.
9862 (isnormal_test_data): Likewise.
9863 (issignaling_test_data): Likewise.
9864 (isunordered_test_data): Likewise.
9865 (j0_test_data): Likewise.
9866 (j1_test_data): Likewise.
9867 (jn_test_data): Likewise.
9868 (ldexp_test_data): Likewise.
9869 (lgamma_test_data): Likewise.
9870 (lrint_test_data): Likewise.
9871 (lrint_tonearest_test_data): Likewise.
9872 (lrint_towardzero_test_data): Likewise.
9873 (lrint_downward_test_data): Likewise.
9874 (lrint_upward_test_data): Likewise.
9875 (llrint_test_data): Likewise.
9876 (llrint_tonearest_test_data): Likewise.
9877 (llrint_towardzero_test_data): Likewise.
9878 (llrint_downward_test_data): Likewise.
9879 (llrint_upward_test_data): Likewise.
9880 (log_test_data): Likewise.
9881 (log10_test_data): Likewise.
9882 (log1p_test_data): Likewise.
9883 (log2_test_data): Likewise.
9884 (logb_test_data): Likewise.
9885 (logb_downward_test_data): Likewise.
9886 (lround_test_data): Likewise.
9887 (llround_test_data): Likewise.
9888 (modf_test_data): Likewise.
9889 (nearbyint_test_data): Likewise.
9890 (nextafter_test_data): Likewise.
9891 (nexttoward_test_data): Likewise.
9892 (pow_test_data): Likewise.
9893 (pow_tonearest_test_data): Likewise.
9894 (pow_towardzero_test_data): Likewise.
9895 (pow_downward_test_data): Likewise.
9896 (pow_upward_test_data): Likewise.
9897 (remainder_test_data): Likewise.
9898 (remainder_tonearest_test_data): Likewise.
9899 (remainder_towardzero_test_data): Likewise.
9900 (remainder_downward_test_data): Likewise.
9901 (remainder_upward_test_data): Likewise.
9902 (remquo_test_data): Likewise.
9903 (rint_test_data): Likewise.
9904 (rint_tonearest_test_data): Likewise.
9905 (rint_towardzero_test_data): Likewise.
9906 (rint_downward_test_data): Likewise.
9907 (rint_upward_test_data): Likewise.
9908 (round_test_data): Likewise.
9909 (scalb_test_data): Likewise.
9910 (scalbn_test_data): Likewise.
9911 (scalbln_test_data): Likewise.
9912 (signbit_test_data): Likewise.
9913 (sin_test_data): Likewise.
9914 (sin_tonearest_test_data): Likewise.
9915 (sin_towardzero_test_data): Likewise.
9916 (sin_downward_test_data): Likewise.
9917 (sin_upward_test_data): Likewise.
9918 (sincos_test_data): Likewise.
9919 (sinh_test_data): Likewise.
9920 (sinh_tonearest_test_data): Likewise.
9921 (sinh_towardzero_test_data): Likewise.
9922 (sinh_downward_test_data): Likewise.
9923 (sinh_upward_test_data): Likewise.
9924 (sqrt_test_data): Likewise.
9925 (tan_test_data): Likewise.
9926 (tan_tonearest_test_data): Likewise.
9927 (tan_towardzero_test_data): Likewise.
9928 (tan_downward_test_data): Likewise.
9929 (tan_upward_test_data): Likewise.
9930 (tanh_test_data): Likewise.
9931 (tgamma_test_data): Likewise.
9932 (trunc_test_data): Likewise.
9933 (y0_test_data): Likewise.
9934 (y1_test_data): Likewise.
9935 (yn_test_data): Likewise.
9936 (significand_test_data): Likewise.
9937
b679a606
JM
9938 * math/gen-libm-test.pl (@functions): Remove variable.
9939 (generate_testfile): Don't handle START and END lines.
9940 * math/libm-test.inc (START): New macro.
9941 (END): Likewise.
9942 (END_COMPLEX): Likewise.
9943 (acos_test): Use END macro without arguments.
9944 (acos_test_tonearest): Likewise.
9945 (acos_test_towardzero): Likewise.
9946 (acos_test_downward): Likewise.
9947 (acos_test_upward): Likewise.
9948 (acosh_test): Likewise.
9949 (asin_test): Likewise.
9950 (asin_test_tonearest): Likewise.
9951 (asin_test_towardzero): Likewise.
9952 (asin_test_downward): Likewise.
9953 (asin_test_upward): Likewise.
9954 (asinh_test): Likewise.
9955 (atan_test): Likewise.
9956 (atanh_test): Likewise.
9957 (atan2_test): Likewise.
9958 (cabs_test): Likewise.
9959 (cacos_test): Use END_COMPLEX macro without arguments.
9960 (cacosh_test): Likewise.
9961 (carg_test): Use END macro without arguments.
9962 (casin_test): Use END_COMPLEX macro without arguments.
9963 (casinh_test): Likewise.
9964 (catan_test): Likewise.
9965 (catanh_test): Likewise.
9966 (cbrt_test): Use END macro without arguments.
9967 (ccos_test): Use END_COMPLEX macro without arguments.
9968 (ccosh_test): Likewise.
9969 (ceil_test): Use END macro without arguments.
9970 (cexp_test): Use END_COMPLEX macro without arguments.
9971 (cimag_test): Use END macro without arguments.
9972 (clog_test): Use END_COMPLEX macro without arguments.
9973 (clog10_test): Likewise.
9974 (conj_test): Likewise.
9975 (copysign_test): Use END macro without arguments.
9976 (cos_test): Likewise.
9977 (cos_test_tonearest): Likewise.
9978 (cos_test_towardzero): Likewise.
9979 (cos_test_downward): Likewise.
9980 (cos_test_upward): Likewise.
9981 (cosh_test): Likewise.
9982 (cosh_test_tonearest): Likewise.
9983 (cosh_test_towardzero): Likewise.
9984 (cosh_test_downward): Likewise.
9985 (cosh_test_upward): Likewise.
9986 (cpow_test): Use END_COMPLEX macro without arguments.
9987 (cproj_test): Likewise.
9988 (creal_test): Use END macro without arguments.
9989 (csin_test): Use END_COMPLEX macro without arguments.
9990 (csinh_test): Likewise.
9991 (csqrt_test): Likewise.
9992 (ctan_test): Likewise.
9993 (ctan_test_tonearest): Likewise.
9994 (ctan_test_towardzero): Likewise.
9995 (ctan_test_downward): Likewise.
9996 (ctan_test_upward): Likewise.
9997 (ctanh_test): Likewise.
9998 (ctanh_test_tonearest): Likewise.
9999 (ctanh_test_towardzero): Likewise.
10000 (ctanh_test_downward): Likewise.
10001 (ctanh_test_upward): Likewise.
10002 (erf_test): Use END macro without arguments.
10003 (erfc_test): Likewise.
10004 (exp_test): Likewise.
10005 (exp_test_tonearest): Likewise.
10006 (exp_test_towardzero): Likewise.
10007 (exp_test_downward): Likewise.
10008 (exp_test_upward): Likewise.
10009 (exp10_test): Likewise.
10010 (exp2_test): Likewise.
10011 (expm1_test): Likewise.
10012 (fabs_test): Likewise.
10013 (fdim_test): Likewise.
10014 (finite_test): Likewise.
10015 (floor_test): Likewise.
10016 (fma_test): Likewise.
10017 (fma_test_towardzero): Likewise.
10018 (fma_test_downward): Likewise.
10019 (fma_test_upward): Likewise.
10020 (fmax_test): Likewise.
10021 (fmin_test): Likewise.
10022 (fmod_test): Likewise.
10023 (fpclassify_test): Likewise.
10024 (frexp_test): Likewise.
10025 (gamma_test): Likewise.
10026 (hypot_test): Likewise.
10027 (ilogb_test): Likewise.
10028 (isfinite_test): Likewise.
10029 (isgreater_test): Likewise.
10030 (isgreaterequal_test): Likewise.
10031 (isinf_test): Likewise.
10032 (isless_test): Likewise.
10033 (islessequal_test): Likewise.
10034 (islessgreater_test): Likewise.
10035 (isnan_test): Likewise.
10036 (isnormal_test): Likewise.
10037 (issignaling_test): Likewise.
10038 (isunordered_test): Likewise.
10039 (j0_test): Likewise.
10040 (j1_test): Likewise.
10041 (jn_test): Likewise.
10042 (ldexp_test): Likewise.
10043 (lgamma_test): Likewise.
10044 (lrint_test): Likewise.
10045 (lrint_test_tonearest): Likewise.
10046 (lrint_test_towardzero): Likewise.
10047 (lrint_test_downward): Likewise.
10048 (lrint_test_upward): Likewise.
10049 (llrint_test): Likewise.
10050 (llrint_test_tonearest): Likewise.
10051 (llrint_test_towardzero): Likewise.
10052 (llrint_test_downward): Likewise.
10053 (llrint_test_upward): Likewise.
10054 (log_test): Likewise.
10055 (log10_test): Likewise.
10056 (log1p_test): Likewise.
10057 (log2_test): Likewise.
10058 (logb_test): Likewise.
10059 (logb_test_downward): Likewise.
10060 (lround_test): Likewise.
10061 (llround_test): Likewise.
10062 (modf_test): Likewise.
10063 (nearbyint_test): Likewise.
10064 (nextafter_test): Likewise.
10065 (nexttoward_test): Likewise.
10066 (pow_test): Likewise.
10067 (pow_test_tonearest): Likewise.
10068 (pow_test_towardzero): Likewise.
10069 (pow_test_downward): Likewise.
10070 (pow_test_upward): Likewise.
10071 (remainder_test): Likewise.
10072 (remainder_test_tonearest): Likewise.
10073 (remainder_test_towardzero): Likewise.
10074 (remainder_test_downward): Likewise.
10075 (remainder_test_upward): Likewise.
10076 (remquo_test): Likewise.
10077 (rint_test): Likewise.
10078 (rint_test_tonearest): Likewise.
10079 (rint_test_towardzero): Likewise.
10080 (rint_test_downward): Likewise.
10081 (rint_test_upward): Likewise.
10082 (round_test): Likewise.
10083 (scalb_test): Likewise.
10084 (scalbn_test): Likewise.
10085 (scalbln_test): Likewise.
10086 (signbit_test): Likewise.
10087 (sin_test): Likewise.
10088 (sin_test_tonearest): Likewise.
10089 (sin_test_towardzero): Likewise.
10090 (sin_test_downward): Likewise.
10091 (sin_test_upward): Likewise.
10092 (sincos_test): Likewise.
10093 (sinh_test): Likewise.
10094 (sinh_test_tonearest): Likewise.
10095 (sinh_test_towardzero): Likewise.
10096 (sinh_test_downward): Likewise.
10097 (sinh_test_upward): Likewise.
10098 (sqrt_test): Likewise.
10099 (tan_test): Likewise.
10100 (tan_test_tonearest): Likewise.
10101 (tan_test_towardzero): Likewise.
10102 (tan_test_downward): Likewise.
10103 (tan_test_upward): Likewise.
10104 (tanh_test): Likewise.
10105 (tgamma_test): Likewise.
10106 (trunc_test): Likewise.
10107 (y0_test): Likewise.
10108 (y1_test): Likewise.
10109 (yn_test): Likewise.
10110 (significand_test): Likewise.
10111
bae143d2
OB
101122013-05-24 Ondřej Bílka <neleai@seznam.cz>
10113
10114 [BZ #15381]
10115 * libio/genops.c (_IO_no_init): Initialize wide struct info.
10116
9323d39b
EM
101172013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
10118
d4ea44a0 10119 [BZ #14894]
9323d39b
EM
10120 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
10121 __ppc_mdoio and __ppc_mdoom.
10122 * manual/platform.texi: Document new functions __ppc_yield,
10123 __ppc_mdoio and __ppc_mdoom.
10124
13e23af7
CD
101252013-05-22 Carlos O'Donell <carlos@redhat.com>
10126
10127 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
10128 (main): Mention "tls" pseudo-hwcap is legacy.
10129 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
10130
351fe550
JM
101312013-05-22 Joseph Myers <joseph@codesourcery.com>
10132
10133 * math/gen-libm-test.pl (parse_args): Output only string of
10134 arguments as text for test name, not full call or descriptions of
10135 tests for extra outputs.
10136 (generate_testfile): Do not pass function name to parse_args.
10137 Generate this_func variable from START.
10138 * math/libm-test.inc (struct test_f_f_data): Rename test_name
10139 field to arg_str.
10140 (struct test_ff_f_data): Likewise.
10141 (test_ff_f_data_nexttoward): Likewise.
10142 (struct test_fi_f_data): Likewise.
10143 (struct test_fl_f_data): Likewise.
10144 (struct test_if_f_data): Likewise.
10145 (struct test_fff_f_data): Likewise.
10146 (struct test_c_f_data): Likewise.
10147 (struct test_f_f1_data): Likewise. Remove field extra_name.
10148 (struct test_fF_f1_data): Likewise.
10149 (struct test_ffI_f1_data): Likewise.
10150 (struct test_c_c_data): Rename test_name field to arg_str.
10151 (struct test_cc_c_data): Likewise.
10152 (struct test_f_i_data): Likewise.
10153 (struct test_ff_i_data): Likewise.
10154 (struct test_f_l_data): Likewise.
10155 (struct test_f_L_data): Likewise.
10156 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
10157 and extra2_name.
10158 (COMMON_TEST_SETUP): New macro.
10159 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
10160 (COMMON_TEST_CLEANUP): Likewise.
10161 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
10162 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
10163 macros.
10164 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
10165 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
10166 macros.
10167 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
10168 (RUN_TEST_fff_f): Take argument string. Call new setup and
10169 cleanup macros.
10170 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
10171 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
10172 macros.
10173 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
10174 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
10175 macros.
10176 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10177 (RUN_TEST_fF_f1): Take argument string. Call new setup and
10178 cleanup macros.
10179 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10180 (RUN_TEST_fI_f1): Take argument string. Call new setup and
10181 cleanup macros.
10182 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10183 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
10184 cleanup macros.
10185 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10186 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
10187 macros.
10188 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
10189 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
10190 macros.
10191 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
10192 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
10193 macros.
10194 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
10195 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
10196 cleanup macros.
10197 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
10198 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
10199 cleanup macros.
10200 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
10201 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
10202 macros.
10203 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
10204 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
10205 cleanup macros.
10206 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
10207 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
10208 macros.
10209 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
10210 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
10211 macros.
10212 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
10213 (RUN_TEST_fFF_11): Take argument string. Call new setup and
10214 cleanup macros.
10215 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
10216
85118d4d
EBM
102172013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10218
10219 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
10220 to _sifields.sigfault.
10221 (si_addr_lsb): Define new macro.
10222 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10223 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10224 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
10225
7a44c18f
CD
102262013-05-03 Carlos O'Donell <carlos at redhat.com>
10227
10228 [BZ #15441]
10229 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
10230 returns -1.
10231 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
10232 null return -1.
10233 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
10234 loading the domain.
10235
b50a7181
JM
102362013-05-22 Joseph Myers <joseph@codesourcery.com>
10237
10238 * math/gen-libm-test.pl (parse_args): Do not include expected
10239 result in test name.
10240 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
10241 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10242 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10243 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10244 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10246
051063c8
SP
102472013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10248
3ce9e010
SP
10249 * benchtests/Makefile: Sort function entries.
10250
051063c8
SP
10251 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
10252 tanh, asinh, acosh, atanh.
10253 * benchtests/acos-inputs: New file.
10254 * benchtests/acosh-inputs: New file.
10255 * benchtests/asin-inputs: New file.
10256 * benchtests/asinh-inputs: New file.
10257 * benchtests/atanh-inputs: New file.
10258 * benchtests/cosh-inputs: New file.
10259 * benchtests/log-inputs: New file.
10260 * benchtests/sinh-inputs: New file.
10261 * benchtests/tanh-inputs: New file.
10262
47c22455
DL
102632013-05-21 Dmitry V. Levin <ldv@altlinux.org>
10264
10265 [BZ #15339]
10266 * posix/tst-getaddrinfo4.c: New test.
10267 * posix/Makefile (tests): Add it.
10268
3d04f5db
SP
102692013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10270
10271 [BZ #15339]
10272 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
10273 when no services were used.
10274 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
10275 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
10276
d5dd6189
AS
102772013-05-21 Andreas Schwab <schwab@suse.de>
10278
10279 [BZ #15014]
10280 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
10281 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
10282 successful.
10283 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
10284 redundant variable declarations and reallocation of buffer when
10285 parsing as IPv6 address. Always set NSS status when called from
10286 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
10287 buffer too small. Correct computation of needed size.
10288 * nss/Makefile (tests): Add test-digits-dots.
10289 * nss/test-digits-dots.c: New test.
10290
fef94eab
SP
102912013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10292
10293 * benchtests/Makefile: Remove instructions for adding
10294 benchmark tests.
10295 * benchtests/README: New file to explain how to execute and
10296 enhance the benchmark tests.
10297
e39adf43
AS
102982013-05-21 Andreas Schwab <schwab@suse.de>
10299
10300 [BZ #15493]
10301 * setjmp/Makefile (tests): Add tst-sigsetjmp.
10302 * setjmp/tst-sigsetjmp.c: New test.
10303
b2b671b6
OB
103042013-05-20 Ondřej Bílka <neleai@seznam.cz>
10305
10306 * sysdeps/x86_64/memset.S (memset): New implementation.
10307 (__bzero): Likewise.
10308 (__memset_tail): New function.
10309
2d48b41c
OB
103102013-05-20 Ondřej Bílka <neleai@seznam.cz>
10311
10312 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
10313 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
10314 __memcpy_sse2_unaligned ifunc selection.
10315 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10316 Add memcpy-sse2-unaligned.S.
10317 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10318 Add: __memcpy_sse2_unaligned.
10319
f16cc3eb
JM
103202013-05-19 Joseph Myers <joseph@codesourcery.com>
10321
3e694268
JM
10322 [BZ #15490]
10323 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10324 math_force_eval before restoring floating-point envrionment.
10325 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
10326 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
10327 Likewise.
10328 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
10329 <math_private.h>.
10330 (__nearbyintl): Use math_force_eval before restoring
10331 floating-point environment.
10332 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
10333
db62a907
JM
10334 * math/gen-libm-test.pl (special_functions): Remove.
10335 (parse_args): Don't handle TEST_extra. Handle functions with no
10336 return value.
10337 * math/libm-test.inc (struct test_sincos_data): Replace with
10338 struct test_fFF_11_data.
10339 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
10340 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
10341 (sincos_test_data): Change element type to struct
10342 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
10343 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
10344 RUN_TEST_LOOP_sincos.
10345 * math/README.libm-test: Don't mention special handling of
10346 individual functions.
10347 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
10348 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10349 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10350 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10351 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10353
f16cc3eb
JM
10354 * math/gen-libm-test.pl (get_variable): Remove function.
10355 (parse_args): Don't show pointer parameters to call in test
10356 names. Use "extra output N" in test names for extra outputs
10357 rather than naming variables.
10358
3779b5b6
JM
103592013-05-18 Joseph Myers <joseph@codesourcery.com>
10360
2ee094ff
JM
10361 [BZ #15488]
10362 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
10363 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
10364 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
10365 double tests.
10366 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
10367 disable.
10368 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
10369 check_long_double.
10370
3779b5b6
JM
10371 * math/gen-libm-test.pl (@tests): Remove variable.
10372 ($count): Likewise.
10373 (new_test): Remove function.
10374 (show_exceptions): New function.
10375 (special_functions): Use show_exceptions instead of new_test.
10376 (parse_args): Likewise.
10377 (generate_testfile): Pass only function name in generated call to
10378 print_max_error or print_complex_max_error.
10379 (get_ulps): Do not handle complex tests specially.
10380 (output_test): Rename to ...
10381 (get_all_ulps_for_test): ... this. Return a string rather than
10382 printing to a file. Require ulps to be present.
10383 (output_ulps): Generate arrays rather than #defines.
10384 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
10385 (struct ulp_data): New type.
10386 (BUILD_COMPLEX_ULP): Remove macro.
10387 (compare_ulp_data): New function.
10388 (find_ulps): Likewise.
10389 (find_test_ulps): Likewise.
10390 (find_function_ulps): Likewise.
10391 (find_complex_function_ulps): Likewise.
10392 (print_max_error): Determine allowed ulps using
10393 find_function_ulps.
10394 (print_complex_max_error): Determine allowed ulps using
10395 find_complex_function_ulps.
10396 (check_float_internal): Determine max ulps using find_test_ulps.
10397 (check_float): Do not take max_ulp parameter. Update call to
10398 check_float_internal.
10399 (check_complex): Likewise.
10400 (check_int): Do not take max_ulp parameter.
10401 (check_long): Likewise.
10402 (check_bool): Likewise.
10403 (check_longlong): Likewise.
10404 (struct test_f_f_data): Remove max_ulp field.
10405 (struct test_ff_f_data): Likewise.
10406 (struct test_ff_f_data_nexttoward): Likewise.
10407 (struct test_fi_f_data): Likewise.
10408 (struct test_fl_f_data): Likewise.
10409 (struct test_if_f_data): Likewise.
10410 (struct test_fff_f_data): Likewise.
10411 (struct test_c_f_data): Likewise.
10412 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
10413 (struct test_fF_f1_data): Likewise.
10414 (struct test_ffI_f1_data): Likewise.
10415 (struct test_c_c_data): Remove max_ulp field.
10416 (struct test_cc_c_data): Likewise.
10417 (struct test_f_i_data): Likewise.
10418 (struct test_ff_i_data): Likewise.
10419 (struct test_f_l_data): Likewise.
10420 (struct test_f_L_data): Likewise.
10421 (struct test_sincos_data): Likewise.
10422 (RUN_TEST_f_f): Do not handle ulps.
10423 (RUN_TEST_LOOP_f_f): Likewise.
10424 (RUN_TEST_2_f): Likewise.
10425 (RUN_TEST_LOOP_2_f): Likewise.
10426 (RUN_TEST_fff_f): Likewise.
10427 (RUN_TEST_LOOP_fff_f): Likewise.
10428 (RUN_TEST_c_f): Likewise.
10429 (RUN_TEST_LOOP_c_f): Likewise.
10430 (RUN_TEST_f_f1): Likewise.
10431 (RUN_TEST_LOOP_f_f1): Likewise.
10432 (RUN_TEST_fF_f1): Likewise.
10433 (RUN_TEST_LOOP_fF_f1): Likewise.
10434 (RUN_TEST_fI_f1): Likewise.
10435 (RUN_TEST_LOOP_fI_f1): Likewise.
10436 (RUN_TEST_ffI_f1): Likewise.
10437 (RUN_TEST_LOOP_ffI_f1): Likewise.
10438 (RUN_TEST_c_c): Likewise.
10439 (RUN_TEST_LOOP_c_c): Likewise.
10440 (RUN_TEST_cc_c): Likewise.
10441 (RUN_TEST_LOOP_cc_c): Likewise.
10442 (RUN_TEST_f_i): Likewise.
10443 (RUN_TEST_LOOP_f_i): Likewise.
10444 (RUN_TEST_f_i_tg): Likewise.
10445 (RUN_TEST_LOOP_f_i_tg): Likewise.
10446 (RUN_TEST_ff_i_tg): Likewise.
10447 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10448 (RUN_TEST_f_b): Likewise.
10449 (RUN_TEST_LOOP_f_b): Likewise.
10450 (RUN_TEST_f_b_tg): Likewise.
10451 (RUN_TEST_LOOP_f_b_tg): Likewise.
10452 (RUN_TEST_f_l): Likewise.
10453 (RUN_TEST_LOOP_f_l): Likewise.
10454 (RUN_TEST_f_L): Likewise.
10455 (RUN_TEST_LOOP_f_L): Likewise.
10456 (RUN_TEST_sincos): Likewise.
10457 (RUN_TEST_LOOP_sincos): Likewise.
10458
8269107f
JM
104592013-05-17 Joseph Myers <joseph@codesourcery.com>
10460
bb38759d
JM
10461 [BZ #15480]
10462 [BZ #15485]
10463 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
10464 main case of finite arguments, set rounding mode to FE_TONEAREST
10465 and discard exceptions.
10466 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
10467 exceptions.
10468 (remainder_tonearest_test_data): New variable.
10469 (remainder_test_tonearest): New function.
10470 (remainder_towardzero_test_data): New variable.
10471 (remainder_test_towardzero): New function.
10472 (remainder_downward_test_data): New variable.
10473 (remainder_test_downward): New function.
10474 (remainder_upward_test_data): New variable.
10475 (remainder_test_upward): New function.
10476 (main): Call the new test functions.
10477
a00bdcf0
JM
10478 * math/libm-test.inc (struct test_f_f1_data): Remove field
10479 extra_init.
10480 (struct test_fF_f1_data): Likewise.
10481 (struct test_ffI_f1_data): Likewise.
10482 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
10483 based on value of EXTRA_EXPECTED.
10484 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10485 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
10486 EXTRA_VAR based on value of EXTRA_EXPECTED.
10487 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10488 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
10489 EXTRA_VAR based on value of EXTRA_EXPECTED.
10490 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10491 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
10492 EXTRA_VAR based on value of EXTRA_EXPECTED.
10493 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10494 * math/gen-libm-test.pl (parse_args): Don't output initializers
10495 for extra output values.
10496
de407f79
JM
10497 * math/libm-test.inc (check_int): Expect result to be exactly
10498 equal to expected value and do not handle ulps.
10499 (check_long): Likewise.
10500 (check_longlong): Likewise.
10501
8269107f
JM
10502 * math/libm-test.inc (ceil_test_data): Test for "inexact"
10503 exceptions.
10504 (cimag_test_data): Likewise.
10505 (conj_test_data): Likewise.
10506 (copysign_test_data): Likewise.
10507 (cproj_test_data): Likewise.
10508 (creal_test_data): Likewise.
10509 (fabs_test_data): Likewise.
10510 (fdim_test_data): Likewise.
10511 (finite_test_data): Likewise.
10512 (floor_test_data): Likewise.
10513 (fmax_test_data): Likewise.
10514 (fmin_test_data): Likewise.
10515 (fmod_test_data): Likewise.
10516 (fpclassify_test_data): Likewise.
10517 (frexp_test_data): Likewise.
10518 (ilogb_test_data): Likewise.
10519 (isfinite_test_data): Likewise.
10520 (isgreater_test_data): Likewise.
10521 (isgreaterequal_test_data): Likewise.
10522 (isinf_test_data): Likewise.
10523 (isless_test_data): Likewise.
10524 (islessequal_test_data): Likewise.
10525 (islessgreater_test_data): Likewise.
10526 (isnan_test_data): Likewise.
10527 (isnormal_test_data): Likewise.
10528 (issignaling_test_data): Likewise.
10529 (isunordered_test_data): Likewise.
10530 (ldexp_test_data): Likewise.
10531 (lrint_test_data): Likewise.
10532 (lrint_test_data) [TEST_FLOAT]: Disable one test.
10533 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
10534 (lrint_tonearest_test_data): Test for "inexact" exceptions.
10535 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10536 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
10537 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10538 test input.
10539 (lrint_towardzero_test_data): Test for "inexact" exceptions.
10540 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10541 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
10542 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
10543 that test input.
10544 (lrint_downward_test_data): Test for "inexact" exceptions.
10545 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10546 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
10547 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10548 test input.
10549 (lrint_upward_test_data): Test for "inexact" exceptions.
10550 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
10551 test input.
10552 (llrint_test_data): Test for "inexact" exceptions.
10553 (llrint_test_data) [TEST_FLOAT]: Disable one test.
10554 (llrint_tonearest_test_data): Test for "inexact" exceptions.
10555 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10556 (llrint_towardzero_test_data): Test for "inexact" exceptions.
10557 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10558 (llrint_downward_test_data): Test for "inexact" exceptions.
10559 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10560 (llrint_upward_test_data): Test for "inexact" exceptions.
10561 (logb_test_data): Likewise.
10562 (logb_downward_test_data): Likewise.
10563 (nextafter_test_data): Likewise.
10564 (nexttoward_test_data): Likewise.
10565 (remainder_test_data): Likewise.
10566 (remquo_test_data): Likewise.
10567 (scalbn_test_data): Likewise.
10568 (scalbln_test_data): Likewise.
10569 (signbit_test_data): Likewise.
10570 (sqrt_test_data): Likewise.
10571 (significand_test_data): Likewise.
10572
48a18de1
SP
105732013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10574
10575 [BZ #15424]
10576 * benchtests/bench-modf.c (struct args): Mark arg0 as
10577 volatile.
10578 * scripts/bench.pl: Mark members of struct args as volatile.
10579
13d3b41a
AZ
105802013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10581
68191c1d 10582 [BZ # 15497]
13d3b41a
AZ
10583 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
10584 negative infinity on POWER6 or lower.
10585 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
10586
2848b105
MR
105872013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
10588
10589 [BZ #15442]
10590 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
10591 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
10592 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
10593 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
10594 (_FP_SETQNAN): New macro.
10595 (_FP_SETQNAN_SEMIRAW): Likewise.
10596 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
10597 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
10598 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
10599 (FP_EXTEND): Use _FP_FRAC_SNANP.
10600 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
10601 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
10602 into account.
10603 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10604 New macro.
10605 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10606 Likewise.
10607
323e5cb7
JM
106082013-05-16 Joseph Myers <joseph@codesourcery.com>
10609
c58b274f
JM
10610 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
10611 with DIVIDE_BY_ZERO_EXCEPTION.
10612 (gamma_test_data): Likewise.
10613 (lgamma_test_data): Likewise.
10614 (log_test_data): Likewise.
10615 (log10_test_data): Likewise.
10616 (log2_test_data): Likewise.
10617 (tgamma_test_data): Likewise.
10618
0ab34904
JM
10619 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
10620 (acos_test_tonearest): Likewise.
10621 (acos_test_towardzero): Likewise.
10622 (acos_test_downward): Likewise.
10623 (acos_test_upward): Likewise.
10624 (acosh_test): Likewise.
10625 (asin_test): Likewise.
10626 (asin_test_tonearest): Likewise.
10627 (asin_test_towardzero): Likewise.
10628 (asin_test_downward): Likewise.
10629 (asin_test_upward): Likewise.
10630 (asinh_test): Likewise.
10631 (atan_test): Likewise.
10632 (atanh_test): Likewise.
10633 (atan2_test): Likewise.
10634 (cabs_test): Likewise.
10635 (cacos_test): Likewise.
10636 (cacosh_test): Likewise.
10637 (casin_test): Likewise.
10638 (casinh_test): Likewise.
10639 (catan_test): Likewise.
10640 (catanh_test): Likewise.
10641 (cbrt_test): Likewise.
10642 (ccos_test): Likewise.
10643 (ccosh_test): Likewise.
10644 (cexp_test): Likewise.
10645 (clog_test): Likewise.
10646 (clog10_test): Likewise.
10647 (cos_test): Likewise.
10648 (cos_test_tonearest): Likewise.
10649 (cos_test_towardzero): Likewise.
10650 (cos_test_downward): Likewise.
10651 (cos_test_upward): Likewise.
10652 (cosh_test): Likewise.
10653 (cosh_test_tonearest): Likewise.
10654 (cosh_test_towardzero): Likewise.
10655 (cosh_test_downward): Likewise.
10656 (cosh_test_upward): Likewise.
10657 (cpow_test): Likewise.
10658 (csin_test): Likewise.
10659 (csinh_test): Likewise.
10660 (csqrt_test): Likewise.
10661 (ctan_test): Likewise.
10662 (ctan_test_tonearest): Likewise.
10663 (ctan_test_towardzero): Likewise.
10664 (ctan_test_downward): Likewise.
10665 (ctan_test_upward): Likewise.
10666 (ctanh_test): Likewise.
10667 (ctanh_test_tonearest): Likewise.
10668 (ctanh_test_towardzero): Likewise.
10669 (ctanh_test_downward): Likewise.
10670 (ctanh_test_upward): Likewise.
10671 (erf_test): Likewise.
10672 (erfc_test): Likewise.
10673 (exp_test): Likewise.
10674 (exp_test_tonearest): Likewise.
10675 (exp_test_towardzero): Likewise.
10676 (exp_test_downward): Likewise.
10677 (exp_test_upward): Likewise.
10678 (exp10_test): Likewise.
10679 (exp2_test): Likewise.
10680 (expm1_test): Likewise.
10681 (fmod_test): Likewise.
10682 (gamma_test): Likewise.
10683 (hypot_test): Likewise.
10684 (j0_test): Likewise.
10685 (j1_test): Likewise.
10686 (jn_test): Likewise.
10687 (lgamma_test): Likewise.
10688 (log_test): Likewise.
10689 (log10_test): Likewise.
10690 (log1p_test): Likewise.
10691 (log2_test): Likewise.
10692 (logb_test_downward): Likewise.
10693 (pow_test): Likewise.
10694 (pow_test_tonearest): Likewise.
10695 (pow_test_towardzero): Likewise.
10696 (pow_test_downward): Likewise.
10697 (pow_test_upward): Likewise.
10698 (remainder_test): Likewise.
10699 (remquo_test): Likewise.
10700 (sin_test): Likewise.
10701 (sin_test_tonearest): Likewise.
10702 (sin_test_towardzero): Likewise.
10703 (sin_test_downward): Likewise.
10704 (sin_test_upward): Likewise.
10705 (sincos_test): Likewise.
10706 (sinh_test): Likewise.
10707 (sinh_test_tonearest): Likewise.
10708 (sinh_test_towardzero): Likewise.
10709 (sinh_test_downward): Likewise.
10710 (sinh_test_upward): Likewise.
10711 (sqrt_test): Likewise.
10712 (tan_test): Likewise.
10713 (tan_test_tonearest): Likewise.
10714 (tan_test_towardzero): Likewise.
10715 (tan_test_downward): Likewise.
10716 (tan_test_upward): Likewise.
10717 (tanh_test): Likewise.
10718 (tgamma_test): Likewise.
10719 (y0_test): Likewise.
10720 (y1_test): Likewise.
10721 (yn_test): Likewise.
10722
323e5cb7
JM
10723 * math/gen-libm-test.pl (adjust_arg): Remove function.
10724 (special_function): Remove argument $in_func. Only handle
10725 generating output for tables of tests, not inside functions.
10726 (parse_args): Likewise.
10727 (generate_testfile): Remove variable $in_func. Update call to
10728 parse_args.
10729 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
10730 (MINUS_ZERO_INIT): Rename macro to minus_zero.
10731 (PLUS_INFTY_INIT): Rename macro to plus_infty.
10732 (MINUS_INFTY_INIT): Rename macro to minus_infty.
10733 (QNAN_VALUE_INIT): Rename macro to qnan_value.
10734 (MAX_VALUE_INIT): Rename macro to max_value.
10735 (MIN_VALUE_INIT): Rename macro to min_value.
10736 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
10737 (plus_zero): Remove variable.
10738 (minus_zero): Likewise.
10739 (plus_infty): Likewise.
10740 (minus_infty): Likewise.
10741 (qnan_value): Likewise.
10742 (max_value): Likewise.
10743 (min_value): Likewise.
10744 (min_subnorm_value): Likewise.
10745
e054f494
RA
107462013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10747
10748 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
10749 uint64_t or uint32_t usage.
10750 * crypt/sha256-block.c: Likewise.
10751 * crypt/sha256-crypt.c: Likewise.
10752 * crypt/sha256.c: Likewise.
10753 * crypt/sha512-block.c: Likewise.
10754 * crypt/sha512-crypt.c: Likewise.
10755 * crypt/sha512.c: Likewise.
10756 * debug/backtrace-tst.c: Likewise.
10757 * debug/pcprofiledump.c: Likewise.
10758 * elf/cache.c: Likewise.
10759 * elf/dl-cache.c: Likewise.
10760 * elf/dl-misc.c: Likewise.
10761 * elf/dl-profile.c: Likewise.
10762 * elf/dl-support.c: Likewise.
10763 * elf/ldconfig.c: Likewise.
10764 * elf/sprof.c: Likewise.
10765 * iconv/dummy-repertoire.c: Likewise.
10766 * iconv/iconv_charmap.c: Likewise.
10767 * iconv/skeleton.c: Likewise.
10768 * iconvdata/8bit-generic.c: Likewise.
10769 * iconvdata/cp737.h: Likewise.
10770 * iconvdata/cp775.h: Likewise.
10771 * iconvdata/ibm1008.h: Likewise.
10772 * iconvdata/ibm1025.h: Likewise.
10773 * iconvdata/ibm1046.h: Likewise.
10774 * iconvdata/ibm1097.h: Likewise.
10775 * iconvdata/ibm1112.h: Likewise.
10776 * iconvdata/ibm1122.h: Likewise.
10777 * iconvdata/ibm1123.h: Likewise.
10778 * iconvdata/ibm1124.h: Likewise.
10779 * iconvdata/ibm1129.h: Likewise.
10780 * iconvdata/ibm1130.h: Likewise.
10781 * iconvdata/ibm1132.h: Likewise.
10782 * iconvdata/ibm1133.h: Likewise.
10783 * iconvdata/ibm1137.h: Likewise.
10784 * iconvdata/ibm1140.h: Likewise.
10785 * iconvdata/ibm1141.h: Likewise.
10786 * iconvdata/ibm1142.h: Likewise.
10787 * iconvdata/ibm1143.h: Likewise.
10788 * iconvdata/ibm1144.h: Likewise.
10789 * iconvdata/ibm1145.h: Likewise.
10790 * iconvdata/ibm1146.h: Likewise.
10791 * iconvdata/ibm1147.h: Likewise.
10792 * iconvdata/ibm1148.h: Likewise.
10793 * iconvdata/ibm1149.h: Likewise.
10794 * iconvdata/ibm1153.h: Likewise.
10795 * iconvdata/ibm1154.h: Likewise.
10796 * iconvdata/ibm1155.h: Likewise.
10797 * iconvdata/ibm1156.h: Likewise.
10798 * iconvdata/ibm1157.h: Likewise.
10799 * iconvdata/ibm1158.h: Likewise.
10800 * iconvdata/ibm1160.h: Likewise.
10801 * iconvdata/ibm1161.h: Likewise.
10802 * iconvdata/ibm1162.h: Likewise.
10803 * iconvdata/ibm1163.h: Likewise.
10804 * iconvdata/ibm1164.h: Likewise.
10805 * iconvdata/ibm1166.h: Likewise.
10806 * iconvdata/ibm1167.h: Likewise.
10807 * iconvdata/ibm12712.h: Likewise.
10808 * iconvdata/ibm1390.h: Likewise.
10809 * iconvdata/ibm1399.h: Likewise.
10810 * iconvdata/ibm16804.h: Likewise.
10811 * iconvdata/ibm4517.h: Likewise.
10812 * iconvdata/ibm4899.h: Likewise.
10813 * iconvdata/ibm4909.h: Likewise.
10814 * iconvdata/ibm4971.h: Likewise.
10815 * iconvdata/ibm5347.h: Likewise.
10816 * iconvdata/ibm803.h: Likewise.
10817 * iconvdata/ibm856.h: Likewise.
10818 * iconvdata/ibm901.h: Likewise.
10819 * iconvdata/ibm902.h: Likewise.
10820 * iconvdata/ibm9030.h: Likewise.
10821 * iconvdata/ibm9066.h: Likewise.
10822 * iconvdata/ibm921.h: Likewise.
10823 * iconvdata/ibm922.h: Likewise.
10824 * iconvdata/ibm9448.h: Likewise.
10825 * iconvdata/isiri-3342.h: Likewise.
10826 * iconvdata/jis0201.h: Likewise.
10827 * include/link.h: Likewise.
10828 * include/netdb.h: Likewise.
10829 * inet/check_native.c: Likewise.
10830 * inet/check_pf.c: Likewise.
10831 * inet/getipv4sourcefilter.c: Likewise.
10832 * inet/getnameinfo.c: Likewise.
10833 * inet/getsourcefilter.c: Likewise.
10834 * inet/htonl.c: Likewise.
10835 * inet/setipv4sourcefilter.c: Likewise.
10836 * inet/setsourcefilter.c: Likewise.
10837 * inet/test-inet6_opt.c: Likewise.
10838 * inet/tst-network.c: Likewise.
10839 * locale/C-collate.c: Likewise.
10840 * locale/C-ctype.c: Likewise.
10841 * locale/C-time.c: Likewise.
10842 * locale/C-translit.h: Likewise.
10843 * locale/loadarchive.c: Likewise.
10844 * locale/programs/3level.h: Likewise.
10845 * locale/programs/charmap.c: Likewise.
10846 * locale/programs/charmap.h: Likewise.
10847 * locale/programs/ld-address.c: Likewise.
10848 * locale/programs/ld-collate.c: Likewise.
10849 * locale/programs/ld-ctype.c: Likewise.
10850 * locale/programs/ld-identification.c: Likewise.
10851 * locale/programs/ld-measurement.c: Likewise.
10852 * locale/programs/ld-messages.c: Likewise.
10853 * locale/programs/ld-monetary.c: Likewise.
10854 * locale/programs/ld-name.c: Likewise.
10855 * locale/programs/ld-numeric.c: Likewise.
10856 * locale/programs/ld-paper.c: Likewise.
10857 * locale/programs/ld-telephone.c: Likewise.
10858 * locale/programs/ld-time.c: Likewise.
10859 * locale/programs/linereader.c: Likewise.
10860 * locale/programs/locale.c: Likewise.
10861 * locale/programs/locarchive.c: Likewise.
10862 * locale/programs/locfile.h: Likewise.
10863 * locale/programs/repertoire.c: Likewise.
10864 * locale/programs/simple-hash.c: Likewise.
10865 * locale/programs/simple-hash.h: Likewise.
10866 * malloc/memusage.c: Likewise.
10867 * malloc/memusagestat.c: Likewise.
10868 * nis/nis_defaults.c: Likewise.
10869 * nis/nis_hash.c: Likewise.
10870 * nis/nis_print.c: Likewise.
10871 * nis/nis_xdr.c: Likewise.
10872 * nscd/connections.c: Likewise.
10873 * nscd/hstcache.c: Likewise.
10874 * nscd/nscd_gethst_r.c: Likewise.
10875 * nscd/nscd_getserv_r.c: Likewise.
10876 * nscd/nscd_helper.c: Likewise.
10877 * nscd/servicescache.c: Likewise.
10878 * nss/makedb.c: Likewise.
10879 * nss/nss_db/db-XXX.c: Likewise.
10880 * nss/nss_db/db-initgroups.c: Likewise.
10881 * nss/nss_db/db-netgrp.c: Likewise.
10882 * nss/nss_files/files-network.c: Likewise.
10883 * nss/nss_files/files-parse.c: Likewise.
10884 * posix/bug-regex5.c: Likewise.
10885 * posix/fnmatch_loop.c: Likewise.
10886 * posix/regcomp.c: Likewise.
10887 * posix/regexec.c: Likewise.
10888 * posix/tst-rfc3484-2.c: Likewise.
10889 * posix/tst-rfc3484-3.c: Likewise.
10890 * posix/tst-rfc3484.c: Likewise.
10891 * resolv/nss_dns/dns-canon.c: Likewise.
10892 * resolv/nss_dns/dns-network.c: Likewise.
10893 * resolv/res_init.c: Likewise.
10894 * resolv/res_mkquery.c: Likewise.
10895 * resolv/tst-aton.c: Likewise.
10896 * stdlib/cxa_atexit.c: Likewise.
10897 * stdlib/cxa_finalize.c: Likewise.
10898 * stdlib/gen-fpioconst.c: Likewise.
10899 * stdlib/strtol_l.c: Likewise.
10900 * string/tst-endian.c: Likewise.
10901 * sunrpc/auth_des.c: Likewise.
10902 * sunrpc/clnt_udp.c: Likewise.
10903 * sunrpc/rtime.c: Likewise.
10904 * sunrpc/svcauth_des.c: Likewise.
10905 * sunrpc/xdr.c: Likewise.
10906 * sunrpc/xdr_intXX_t.c: Likewise.
10907 * sunrpc/xdr_rec.c: Likewise.
10908 * sysdeps/generic/ldconfig.h: Likewise.
10909 * sysdeps/generic/ldsodefs.h: Likewise.
10910 * sysdeps/generic/memusage.h: Likewise.
10911 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10912 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
10913 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
10914 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10915 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10916 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10917 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10918 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10919 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10920 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10921 * sysdeps/posix/getaddrinfo.c: Likewise.
10922 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10923 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10924 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10925 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10926 * sysdeps/powerpc/test-gettimebase.c: Likewise.
10927 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10928 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
10929 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
10930 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10931 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
10932 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10933 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10934 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
10935 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
10936 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
10937 * sysdeps/x86_64/dl-tls.h: Likewise.
10938 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
10939 * time/alt_digit.c: Likewise.
10940 * time/era.c: Likewise.
10941 * wcsmbs/tst-c16c32-1.c: Likewise.
10942
8c75f674
JM
109432013-05-16 Joseph Myers <joseph@codesourcery.com>
10944
10945 * math/libm-test.inc (struct test_sincos_data): New type.
10946 (RUN_TEST_LOOP_sincos): New macro.
10947 (sincos_test_data): New variable.
10948 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
10949
e6e49e59
RH
109502013-05-16 Richard Henderson <rth@redhat.com>
10951
10952 * math/atest-exp2.c (LIMB64): New macro.
10953 (CONSTSZ): New macro.
10954 (mp_exp1, mp_exp_m1, mp_log2): New variables.
10955 (hexdig): Move ...
10956 (print_mpn_fp): ... to function scope.
10957 (read_mpn_hex): Remove.
10958 (get_log2): Remove.
10959 (exp2_mpn): Use mp_log2.
10960 (main): Use mp_exp1.
10961
15c7c18d
JM
109622013-05-16 Joseph Myers <joseph@codesourcery.com>
10963
105a07df
JM
10964 * math/libm-test.inc: Remove comment about not testing "inexact"
10965 exceptions.
10966 (INEXACT_EXCEPTION): New macro.
10967 (NO_INEXACT_EXCEPTION): Likewise.
10968 (INVALID_EXCEPTION_OK): Update value.
10969 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10970 (OVERFLOW_EXCEPTION_OK): Likewise.
10971 (UNDERFLOW_EXCEPTION_OK): Likewise.
10972 (IGNORE_ZERO_INF_SIGN): Likewise.
10973 (ERRNO_UNCHANGED): Likewise.
10974 (ERRNO_EDOM): Likewise.
10975 (ERRNO_ERANGE): Likewise.
10976 (test_exceptions): Handle testing "inexact" exceptions.
10977 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
10978 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
10979 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
10980 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
10981 INEXACT_EXCEPTION.
10982 (rint_towardzero_test_data): Likewise.
10983 (rint_downward_test_data): Likewise.
10984 (rint_upward_test_data): Likewise.
10985
e9eee333
JM
10986 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
10987 with OVERFLOW_EXCEPTION.
10988 (exp10_test_data): Likewise.
10989 (exp2_test_data): Likewise.
10990 (expm1_test_data): Likewise.
10991 (lgamma_test_data): Likewise.
10992 (pow_test_data): Likewise.
10993 (tgamma_test_data): Likewise.
10994 (yn_test_data): Remove duplicate test of overflow.
10995
1c38ff73
JM
10996 * math/libm-test.inc (struct test_cc_c_data): New type.
10997 (RUN_TEST_LOOP_cc_c): New macro.
10998 (cpow_test_data): New variable.
10999 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
11000
15c7c18d
JM
11001 * math/libm-test.inc (struct test_f_L_data): New type.
11002 (RUN_TEST_LOOP_f_L): New macro.
11003 (llrint_test_data): New variable.
11004 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
11005 (llrint_tonearest_test_data): New variable.
11006 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
11007 (llrint_towardzero_test_data): New variable.
11008 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
11009 (llrint_downward_test_data): New variable.
11010 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
11011 (llrint_upward_test_data): New variable.
11012 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
11013 (llround_test_data): New variable.
11014 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
11015
f137ff13
PC
110162013-05-13 Peter Collingbourne <pcc@google.com>
11017
11018 * math/atest-exp2.c (get_log2): Remove const attribute.
11019
3608cb24
JM
110202013-05-15 Joseph Myers <joseph@codesourcery.com>
11021
11022 * math/libm-test.inc (struct test_f_l_data): New type.
11023 (RUN_TEST_LOOP_f_l): New macro.
11024 (lrint_test_data): New variable.
11025 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
11026 (lrint_tonearest_test_data): New variable.
11027 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
11028 (lrint_towardzero_test_data): New variable.
11029 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
11030 (lrint_downward_test_data): New variable.
11031 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
11032 (lrint_upward_test_data): New variable.
11033 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
11034 (lround_test_data): New variable.
11035 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
11036
39b1f617
PC
110372013-05-15 Peter Collingbourne <pcc@google.com>
11038
1deff3dc
PC
11039 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
11040 (EXTRACT_WORDS64) Use where appropriate.
11041 (INSERT_WORDS64) Likewise.
11042
791f3ba0
PC
11043 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
11044 constraints with x constraints.
11045 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
11046
39b1f617
PC
11047 * malloc/obstack.c (_obstack_compat): Add initializer.
11048
12fba011
EM
110492013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
11050
11051 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
11052 si_trapno and add si_addr_lsb to _sifields.sigfault.
11053 (si_trapno): Remove macro.
11054 (si_addr_lsb): Define new macro.
11055 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
11056
d369f531
JM
110572013-05-15 Joseph Myers <joseph@codesourcery.com>
11058
b861c6c4
JM
11059 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
11060 instead of TEST_f_l.
11061 (llrint_test_tonearest): Likewise.
11062 (llrint_test_towardzero): Likewise.
11063 (llrint_test_downward): Likewise.
11064 (llrint_test_upward): Likewise.
11065 (llround_test): Likewise.
11066
7abeee12
JM
11067 * math/libm-test.inc (struct test_f_i_data): Add comment.
11068 (RUN_TEST_LOOP_f_b): New macro.
11069 (RUN_TEST_LOOP_f_b_tg): Likewise.
11070 (finite_test_data): New variable.
11071 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
11072 (isfinite_test_data): New variable.
11073 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11074 (isinf_test_data): New variable.
11075 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11076 (isnan_test_data): New variable.
11077 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11078 (isnormal_test_data): New variable.
11079 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11080 (issignaling_test_data): New variable.
11081 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11082 (signbit_test_data): New variable.
11083 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11084
cbe8c4d3
JM
11085 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
11086 with INVALID_EXCEPTION.
11087 (acosh_test_data): Likewise.
11088 (asin_test_data): Likewise.
11089 (atanh_test_data): Likewise.
11090 (fmod_test_data): Likewise.
11091 (log_test_data): Likewise.
11092 (log10_test_data): Likewise.
11093 (log2_test_data): Likewise.
11094 (pow_test_data): Likewise.
11095 (sqrt_test_data): Likewise.
11096 (y0_test_data): Likewise.
11097 (y1_test_data): Likewise.
11098 (yn_test_data): Likewise.
11099
5575c0e5
JM
11100 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
11101 function contents.
11102
d369f531
JM
11103 * math/libm-test.inc (struct test_ff_i_data): New type.
11104 (RUN_TEST_LOOP_ff_i_tg): New macro.
11105 (isgreater_test_data): New variable.
11106 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11107 (isgreaterequal_test_data): New variable.
11108 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11109 (isless_test_data): New variable.
11110 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11111 (islessequal_test_data): New variable.
11112 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11113 (islessgreater_test_data): New variable.
11114 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11115 (isunordered_test_data): New variable.
11116 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11117
781fd748
DM
111182013-05-14 David S. Miller <davem@davemloft.net>
11119
11120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11121
87aa21df
JM
111222013-05-14 Joseph Myers <joseph@codesourcery.com>
11123
5e908270
JM
11124 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
11125
f71172e5
JM
11126 * math/libm-test.inc (struct test_fF_f1_data): Change type of
11127 extra_test to int.
11128 (struct test_f_i_data): Change type of max_ulp to int.
11129
8cfa635a
JM
11130 * math/libm-test.inc (test_ffI_f1_data): New type.
11131 (RUN_TEST_LOOP_ffI_f1): New macro.
11132 (remquo_test_data): New variable.
11133 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
11134
2bcb36b2
JM
11135 * setjmp/tst-setjmp-fp.c: New file.
11136 * setjmp/Makefile (tests): Add tst-setjmp-fp.
11137 (link-libm): New variable.
11138 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
11139
acbd839a
JM
11140 * math/libm-test.inc (struct test_f_i_data): New type.
11141 (RUN_TEST_LOOP_f_i): New macro.
11142 (RUN_TEST_LOOP_f_i_tg): Likewise.
11143 (fpclassify_test_data): New variable.
11144 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
11145 (ilogb_test_data): New variable.
11146 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
11147
e414d745
JM
11148 * math/libm-test.inc (scalbln_test): Correct function name in END
11149 call.
11150
d9c2a0fd
JM
11151 * math/libm-test.inc (struct test_f_f1_data): Add comment.
11152 (RUN_TEST_LOOP_fI_f1): New macro.
11153 (frexp_test_data): New variable.
11154 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
11155
9dc9095d
JM
11156 * math/libm-test.inc (struct test_fF_f1_data): New type.
11157 (RUN_TEST_LOOP_fF_f1): New macro.
11158 (modf_test_data): New variable.
11159 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
11160
87aa21df
JM
11161 * math/libm-test.inc (struct test_f_f1_data): New type.
11162 (RUN_TEST_LOOP_f_f1): New macro.
11163 (gamma_test_data): New variable.
11164 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
11165 (lgamma_test_data): New variable.
11166 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
11167
141af660
CD
111682013-05-13 Carlos O'Donell <carlos@redhat.com>
11169
11170 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
11171 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
11172 (main): Comment "tls" pseudo-hwcap.
11173
6d33265c
JM
111742013-05-13 Joseph Myers <joseph@codesourcery.com>
11175
68fc074c
JM
11176 * math/libm-test.inc (struct test_fl_f_data): New type.
11177 (RUN_TEST_LOOP_fl_f): New variable.
11178 (scalbln_test_data): New variable.
11179 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
11180
243216e1
JM
11181 * math/libm-test.inc (struct test_fi_f_data): New type.
11182 (RUN_TEST_LOOP_fi_f): New macro.
11183 (ldexp_test_data): New variable.
11184 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
11185 (scalbn_test_data): New variable.
11186 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
11187
6a1992e2
JM
11188 * math/libm-test.inc (struct test_c_f_data): New type.
11189 (RUN_TEST_LOOP_c_f): New macro.
11190 (cabs_test_data): New variable.
11191 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
11192 (carg_test_data): New variable.
11193 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
11194 (cimag_test_data): New variable.
11195 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
11196 (creal_test_data): New variable.
11197 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
11198
0e400df5
JM
11199 * math/libm-test.inc (struct test_if_f_data): New type.
11200 (RUN_TEST_LOOP_if_f): New macro.
11201 (jn_test_data): New variable.
11202 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
11203 (yn_test_data): New variable.
11204 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
11205
6d33265c
JM
11206 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
11207
f98ece5f
AZ
112082013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11209
11210 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
11211 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
11212
0f7d347b
SP
112132013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11214
43fe811b
SP
11215 * benchtests/Makefile (CPPFLAGS-nonlib): Add
11216 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
11217 (bench-deps): Add bench-timing.h.
11218 * benchtests-bench-skeleton.c: Include bench-timing.h.
11219 (main): Use TIMING_* macros instead of clock_gettime.
11220 * benchtests/bench-timing.h: New file.
11221
0f7d347b
SP
11222 [BZ #14582]
11223 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
11224 Renamed from _LIB_VERSION.
11225 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
11226
601a3a5f
JM
112272013-05-12 Joseph Myers <joseph@codesourcery.com>
11228
4f184d30
JM
11229 * math/libm-test.inc (struct test_fff_f_data): New type.
11230 (RUN_TEST_LOOP_fff_f): New macro.
11231 (fma_test_data): New variable.
11232 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
11233 (fma_towardzero_test_data): New variable.
11234 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
11235 (fma_downward_test_data): New variable.
11236 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
11237 (fma_upward_test_data): New variable.
11238 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
11239
08198877
JM
11240 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
11241 (struct test_c_c_data): New type.
11242 (RUN_TEST_LOOP_c_c): New macro.
11243 (cacos_test_data): New variable.
11244 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
11245 (cacosh_test_data): New variable.
11246 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
11247 (casin_test_data): New variable.
11248 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
11249 (casinh_test_data): New variable.
11250 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
11251 (catan_test_data): New variable.
11252 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
11253 (catanh_test_data): New variable.
11254 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
11255 (ccos_test_data): New variable.
11256 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
11257 (ccosh_test_data): New variable.
11258 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
11259 (cexp_test_data): New variable.
11260 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
11261 (clog_test_data): New variable.
11262 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
11263 (clog10_test_data): New variable.
11264 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
11265 (conj_test_data): New variable.
11266 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
11267 (cproj_test_data): New variable.
11268 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
11269 (csin_test_data): New variable.
11270 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
11271 (csinh_test_data): New variable.
11272 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
11273 (csqrt_test_data): New variable.
11274 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
11275 (ctan_test_data): New variable.
11276 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
11277 (ctan_tonearest_test_data): New variable.
11278 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11279 (ctan_towardzero_test_data): New variable.
11280 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11281 (ctan_downward_test_data): New variable.
11282 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11283 (ctan_upward_test_data): New variable.
11284 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11285 (ctanh_test_data): New variable.
11286 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
11287 (ctanh_tonearest_test_data): New variable.
11288 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11289 (ctanh_towardzero_test_data): New variable.
11290 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11291 (ctanh_downward_test_data): New variable.
11292 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11293 (ctanh_upward_test_data): New variable.
11294 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11295 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
11296 of BUILD_COMPLEX.
11297
601a3a5f
JM
11298 * math/libm-test.inc (struct test_ff_f_data): New type.
11299 (struct test_ff_f_data_nexttoward): Likewise.
11300 (RUN_TEST_LOOP_2_f): New macro.
11301 (RUN_TEST_LOOP_ff_f): Likewise.
11302 (atan2_test_data): New variable.
11303 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
11304 (copysign_test_data): New variable.
11305 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
11306 (fdim_test_data): New variable.
11307 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
11308 (fmax_test_data): New variable.
11309 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
11310 (fmin_test_data): New variable.
11311 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
11312 (fmod_test_data): New variable.
11313 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
11314 (hypot_test_data): New variable.
11315 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
11316 (nextafter_test_data): New variable.
11317 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
11318 (nexttoward_test_data): New variable.
11319 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
11320 (pow_test_data): New variable.
11321 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
11322 (pow_tonearest_test_data): New variable.
11323 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
11324 (pow_towardzero_test_data): New variable.
11325 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
11326 (pow_downward_test_data): New variable.
11327 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
11328 (pow_upward_test_data): New variable.
11329 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
11330 (remainder_test_data): New variable.
11331 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
11332 (scalb_test_data): New variable.
11333 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
11334 * sysdeps/i386/fpu/libm-test-ulps: Update.
11335
74c57478
JM
113362013-05-11 Joseph Myers <joseph@codesourcery.com>
11337
8329e4da
JM
11338 * math/libm-test.inc (fma_test): Use max_value instead of local
11339 variable fltmax.
11340 (nextafter_test): Likewise.
11341
74c57478
JM
11342 * math/libm-test.inc (acos_towardzero_test_data): New variable.
11343 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11344 (acos_downward_test_data): New variable.
11345 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11346 (acos_upward_test_data): New variable.
11347 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11348 (acosh_test_data): New variable.
11349 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
11350 (asin_test_data): New variable.
11351 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
11352 (asin_tonearest_test_data): New variable.
11353 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11354 (asin_towardzero_test_data): New variable.
11355 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11356 (asin_downward_test_data): New variable.
11357 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11358 (asin_upward_test_data): New variable.
11359 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11360 (asinh_test_data): New variable.
11361 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
11362 (atan_test_data): New variable.
11363 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
11364 (atanh_test_data): New variable.
11365 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
11366 (cbrt_test_data): New variable.
11367 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
11368 (ceil_test_data): New variable.
11369 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
11370 (cos_test_data): New variable.
11371 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
11372 (cos_tonearest_test_data): New variable.
11373 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11374 (cos_towardzero_test_data): New variable.
11375 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11376 (cos_downward_test_data): New variable.
11377 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11378 (cos_upward_test_data): New variable.
11379 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11380 (cosh_test_data): New variable.
11381 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
11382 (cosh_tonearest_test_data): New variable.
11383 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11384 (cosh_towardzero_test_data): New variable.
11385 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11386 (cosh_downward_test_data): New variable.
11387 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11388 (cosh_upward_test_data): New variable.
11389 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11390 (erf_test_data): New variable.
11391 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
11392 (erfc_test_data): New variable.
11393 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
11394 (exp_test_data): New variable.
11395 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
11396 (exp_tonearest_test_data): New variable.
11397 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11398 (exp_towardzero_test_data): New variable.
11399 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11400 (exp_downward_test_data): New variable.
11401 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11402 (exp_upward_test_data): New variable.
11403 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11404 (exp10_test_data): New variable.
11405 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
11406 (exp2_test_data): New variable.
11407 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
11408 (expm1_test_data): New variable.
11409 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
11410 (fabs_test_data): New variable.
11411 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
11412 (floor_test_data): New variable.
11413 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
11414 (j0_test_data): New variable.
11415 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
11416 (j1_test_data): New variable.
11417 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
11418 (log_test_data): New variable.
11419 (log_test): Run tests with RUN_TEST_LOOP_f_f.
11420 (log10_test_data): New variable.
11421 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
11422 (log1p_test_data): New variable.
11423 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
11424 (log2_test_data): New variable.
11425 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
11426 (logb_test_data): New variable.
11427 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
11428 (logb_downward_test_data): New variable.
11429 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11430 (nearbyint_test_data): New variable.
11431 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
11432 (rint_test_data): New variable.
11433 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
11434 (rint_tonearest_test_data): New variable.
11435 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11436 (rint_towardzero_test_data): New variable.
11437 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11438 (rint_downward_test_data): New variable.
11439 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11440 (rint_upward_test_data): New variable.
11441 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11442 (round_test_data): New variable.
11443 (round_test): Run tests with RUN_TEST_LOOP_f_f.
11444 (sin_test_data): New variable.
11445 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
11446 (sin_tonearest_test_data): New variable.
11447 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11448 (sin_towardzero_test_data): New variable.
11449 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11450 (sin_downward_test_data): New variable.
11451 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11452 (sin_upward_test_data): New variable.
11453 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11454 (sinh_test_data): New variable.
11455 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
11456 (sinh_tonearest_test_data): New variable.
11457 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11458 (sinh_towardzero_test_data): New variable.
11459 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11460 (sinh_downward_test_data): New variable.
11461 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11462 (sinh_upward_test_data): New variable.
11463 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11464 (sqrt_test_data): New variable.
11465 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
11466 (tan_test_data): New variable.
11467 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
11468 (tan_tonearest_test_data): New variable.
11469 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11470 (tan_towardzero_test_data): New variable.
11471 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11472 (tan_downward_test_data): New variable.
11473 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11474 (tan_upward_test_data): New variable.
11475 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11476 (tanh_test_data): New variable.
11477 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
11478 (tgamma_test_data): New variable.
11479 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
11480 (trunc_test_data): New variable.
11481 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
11482 (y0_test_data): New variable.
11483 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
11484 (y1_test_data): New variable.
11485 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
11486 (significand_test_data): New variable.
11487 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
11488
7187d844
CG
114892013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
11490
11491 [BZ #12387]
11492 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
11493
f63fae73
PT
114942013-05-10 Pino Toscano <toscano.pino@tiscali.it>
11495
11496 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
11497
8a67a4b3
AJ
114982013-05-10 Andreas Jaeger <aj@suse.de>
11499
11500 [BZ #15448]
11501 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
11502 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
11503
51df539d
JM
115042013-05-10 Joseph Myers <joseph@codesourcery.com>
11505
11506 * math/gen-libm-test.pl (adjust_arg): New function.
11507 (special_functions): Handle generating output in both functions
11508 and arrays.
11509 (parse_args): Likewise.
11510 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
11511 $in_func argument to parse_args.
11512 * math/libm-test.inc (struct test_f_f_data): New type.
11513 (IF_ROUND_INIT_): New macro.
11514 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
11515 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11516 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11517 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11518 (ROUND_RESTORE_): Likewise.
11519 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
11520 (ROUND_RESTORE_FE_TONEAREST): Likewise.
11521 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
11522 (ROUND_RESTORE_FE_UPWARD): Likewise.
11523 (RUN_TEST_LOOP_f_f): New macro.
11524 (acos_test_data): New variable.
11525 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
11526 (acos_tonearest_test_data): New variable.
11527 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11528
5c637fe5
SP
115292013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11530
11531 * benchtests/bench-skeleton.c (startup): Fix coding style.
11532
ab2b9461
JM
115332013-05-10 Joseph Myers <joseph@codesourcery.com>
11534
11535 [BZ #6809]
11536 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
11537 negative infinity argument.
11538 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
11539 negative infinity argument.
11540 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
11541 negative infinity argument.
11542 * math/libm-test.inc (tgamma_test): Expect errno to be set for
11543 domain errors.
11544
4c0fe6fe
FW
115452013-05-10 Florian Weimer <fweimer@redhat.com>
11546
11547 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
11548 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
11549 * iconv/iconv_prog.c (main): Likewise.
11550 * locale/programs/charmap-dir.c (charmap_readdir)
11551 (fopen_uncompressed): Likewise.
11552 * locale/programs/locfile.c (siblings_uncached)
11553 (write_locale_data): Use lstat64 instead of lstat.
11554 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
11555 stat.
11556
a3375d29
AJ
115572013-05-10 Andreas Jaeger <aj@suse.de>
11558
11559 [BZ #15395]
11560 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
11561 localization.
11562 Include <locale.h>.
11563
36129722
CD
115642013-05-09 Carlos O'Donell <carlos@redhat.com>
11565
11566 * elf/dl-close.c (_dl_close_worker): Add comments.
11567
faa7f811
JM
115682013-05-09 Joseph Myers <joseph@codesourcery.com>
11569
ed41ffef
JM
11570 [BZ #15359]
11571 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
11572 high part of pi/2.
11573 (__ieee754_rem_pio2l): Update comments.
11574
d0213cd0
JM
11575 [BZ #15429]
11576 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
11577 high part of pi/2.
11578 (__ieee754_rem_pio2l): Update comments.
11579
0d3e777a
JM
11580 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
11581 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
11582
24f56066
JM
11583 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
11584 M_PI_4l.
11585
faa7f811
JM
11586 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
11587 (M_PI_34_LOG10El): Likewise.
11588 (M_PI2_LOG10El): Likewise.
11589 (M_PI4_LOG10El): Likewise.
11590 (M_PI_LOG10El): Likewise.
11591
e9a5e0fd
AZ
115922013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11593
11594 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11595
d8cd06db
JM
115962013-05-08 Joseph Myers <joseph@codesourcery.com>
11597
a0d9f9d7
JM
11598 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
11599 (MINUS_ZERO_INIT): Likewise.
11600 (PLUS_INFTY_INIT): Likewise.
11601 (MINUS_INFTY_INIT): Likewise.
11602 (QNAN_VALUE_INIT): Likewise.
11603 (MAX_VALUE_INIT): Likewise.
11604 (MIN_VALUE_INIT): Likewise.
11605 (MIN_SUBNORM_VALUE_INIT): Likewise.
11606 (plus_zero): Initialize with PLUS_ZERO_INIT.
11607 (minus_zero): Initialize with MINUS_ZERO_INIT.
11608 (plus_infty): Initialize with PLUS_INFTY_INIT.
11609 (minus_infty): Initialize with MINUS_INFTY_INIT.
11610 (qnan_value): Initialize with QNAN_VALUE_INIT.
11611 (max_value): Initialize with MAX_VALUE_INIT.
11612 (min_value): Initialize with MIN_VALUE_INIT.
11613 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
11614
ae08db3b
JM
11615 * math/libm-test.inc (RUN_TEST_if_f): New macro.
11616 (jn_test): Use TEST_if_f instead of TEST_ff_f.
11617 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
11618 (yn_test): Use TEST_if_f instead of TEST_ff_f.
11619
f44bf14a
JM
11620 * math/libm-test.inc (RUN_TEST_f_f): New macro.
11621 (RUN_TEST_2_f): Likewise.
11622 (RUN_TEST_ff_f): Likewise.
11623 (RUN_TEST_fi_f): Likewise.
11624 (RUN_TEST_fl_f): Likewise.
11625 (RUN_TEST_fff_f): Likewise.
11626 (RUN_TEST_c_f): Likewise.
11627 (RUN_TEST_f_f1): Likewise.
11628 (RUN_TEST_fF_f1): Likewise.
11629 (RUN_TEST_fI_f1): Likewise.
11630 (RUN_TEST_ffI_f1): Likewise.
11631 (RUN_TEST_c_c): Likewise.
11632 (RUN_TEST_cc_c): Likewise.
11633 (RUN_TEST_f_i): Likewise.
11634 (RUN_TEST_f_i_tg): Likewise.
11635 (RUN_TEST_ff_i_tg): Likewise.
11636 (RUN_TEST_f_b): Likewise.
11637 (RUN_TEST_f_b_tg): Likewise.
11638 (RUN_TEST_f_l): Likewise.
11639 (RUN_TEST_f_L): Likewise.
11640 (RUN_TEST_sincos): Likewise.
11641 * math/gen-libm-test.pl (new_test): Take new argument to indicate
11642 whether to show exceptions. Do not include ");\n" in return
11643 value.
11644 (special_functions): Output call to RUN_TEST_sincos instead of
11645 check_float calls. Update calls to new_test.
11646 (parse_args): Output call to single RUN_TEST_* macro instead of
11647 check_* calls and other assignments. Update calls to new_test.
11648
d8cd06db
JM
11649 [BZ #2546]
11650 [BZ #2560]
11651 [BZ #5159]
11652 [BZ #15426]
11653 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
11654 input to result for tgamma overflow.
11655 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
11656 (gamma_coeff): New variable.
11657 (NCOEFF): New macro.
11658 (gamma_positive): New function.
11659 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
11660 underflow here. Use gamma_positive instead of exp (lgamma) for
11661 other arguments.
11662 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
11663 (gamma_coeff): New variable.
11664 (NCOEFF): New macro.
11665 (gammaf_positive): New function.
11666 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
11667 underflow here. Use gamma_positive instead of exp (lgamma) for
11668 other arguments.
11669 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
11670 (gamma_coeff): New variable.
11671 (NCOEFF): New macro.
11672 (gammal_positive): New function.
11673 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
11674 underflow here. Use gamma_positive instead of exp (lgamma) for
11675 other arguments.
11676 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
11677 (gamma_coeff): New variable.
11678 (NCOEFF): New macro.
11679 (gammal_positive): New function.
11680 (__ieee754_gammal_r): Handle positive infinity, overflow and
11681 underflow here. Handle NaN the same as positive infinity. Remove
11682 check x < 0xffffffff for negative integers. Use gamma_positive
11683 instead of exp (lgamma) for other arguments.
11684 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
11685 (gamma_coeff): New variable.
11686 (NCOEFF): New macro.
11687 (gammal_positive): New function.
11688 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
11689 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11690 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11691 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
11692 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11693 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
11694 * sysdeps/generic/math_private.h (__gamma_productf): New
11695 prototype.
11696 (__gamma_product): Likewise.
11697 (__gamma_productl): Likewise.
11698 * math/Makefile (libm-calls): Add gamma_product.
11699 * math/libm-test.inc (tgamma_test): Add more tests.
11700 * sysdeps/i386/fpu/libm-test-ulps: Update.
11701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11702
bb7cf681
OB
117032013-05-08 Ondřej Bílka <neleai@seznam.cz>
11704
11705 * benchtests/bench-skeleton.c (main): Preheat CPU.
11706
ba853947
AJ
117072013-05-07 Aurelien Jarno <aurelien@aurel32.net>
11708
11709 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
11710
8347c74c
RM
117112013-05-07 Roland McGrath <roland@hack.frob.com>
11712
11713 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
11714 and _dl_skip_args_internal.
11715
e8dd4791
CD
117162013-05-07 Carlos O'Donell <carlos@redhat.com>
11717
11718 * manual/message.texi (Message Translation): Talk about users.
11719 Message to key mapping impacts design.
11720
c7405830
RM
117212013-05-06 Roland McGrath <roland@hack.frob.com>
11722
a9173057
RM
11723 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
11724
976e2f03
RM
11725 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
11726
9723ffc5
RM
11727 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
11728 * sysdeps/wordsize-64/glob64.c: ... here.
11729
962e6658
RM
11730 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
11731 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
11732 New macros.
11733
ee586a6d
RM
11734 * debug/getlogin_r_chk.c: Moved to ...
11735 * login/getlogin_r_chk.c: ... here.
11736 * debug/Makefile (routines): Move getlogin_r_chk to ...
11737 * login/Makefile (routines): ... here.
11738 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
11739 * login/Versions (libc: GLIBC_2.4): ... here.
11740
355f9165
RM
11741 * io/poll.c (__poll): Renamed from poll.
11742 Add libc_hidden_def.
11743 (poll): Define as weak alias.
11744
bd9ffde6
RM
11745 * debug/ptsname_r_chk.c: Moved to ...
11746 * login/ptsname_r_chk.c: ... here.
11747 * debug/Makefile (routines): Move ptsname_r_chk to ...
11748 * login/Makefile (routines): ... here.
11749 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
11750 * login/Versions (libc: GLIBC_2.4): ... here.
11751
8fb16a04
RM
11752 * posix/getlogin.c: Moved to ...
11753 * login/getlogin.c: ... here.
11754 * posix/getlogin_r.c: Moved to ...
11755 * login/getlogin_r.c: ... here.
11756 * posix/getlogin_r.c: Moved to ...
11757 * login/getlogin_r.c: ... here.
11758 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
11759 * login/Makefile (routines): ... here.
11760 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
11761 * login/Versions (libc: GLIBC_2.0): ... here.
11762
b99b892f
RM
11763 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
11764 (setrlimit): Define as weak alias.
11765
c7405830
RM
11766 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
11767 Call __ names for open, ftruncate, and close.
11768 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
11769 (truncate): Define as weak alias.
11770
5bf96de5
JM
117712013-05-06 Joseph Myers <joseph@codesourcery.com>
11772
9ea3513c
JM
11773 * math/gen-libm-test.pl (parse_args): Initialize x before each
11774 test of frexp, modf and remquo.
11775
5bf96de5
JM
11776 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
11777 test signgam value.
11778
16e616a7
AZ
117792013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11780
11781 [BZ #15418]
11782 [BZ #15419]
11783 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
11784 internal tests.
11785 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11786
d5e82754
RM
117872013-05-06 Roland McGrath <roland@hack.frob.com>
11788
11789 * elf/dl-writev.h: New file.
11790 * elf/dl-misc.c: Include it.
11791 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
11792 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
11793
a7548d41
JM
117942013-05-04 Joseph Myers <joseph@codesourcery.com>
11795
b7dab1e4
JM
11796 * math/libm-test.inc (noXFails): Remove variable.
11797 (noXPasses): Likewise.
11798 (BUILD_COMPLEX_INT): Remove macro.
11799 (print_screen): Remove xfail argument.
11800 (print_screen_max_error): Likewise.
11801 (update_stats): Likewise.
11802 (print_max_error): Likewise. Update calls to other affected
11803 functions.
11804 (print_complex_max_error): Likewise.
11805 (test_single_exception): Update calls to print_screen.
11806 (test_single_errno): Likewise.
11807 (check_float_internal): Remove xfail argument. Update calls to
11808 other affected functions.
11809 (check_float): Likewise.
11810 (check_complex): Likewise.
11811 (check_int): Likewise.
11812 (check_long): Likewise.
11813 (check_bool): Likewise.
11814 (check_longlong): Likewise.
11815 (main): Don't print noXFails and noXPasses.
11816 * math/gen-libm-test.pl (top level): Don't mention expected
11817 failure handling in comment.
11818 (new_test): Don't handle expected failures.
11819 (parse_args): Don't mention expected failure handling in comment.
11820 (generate_testfile): Don't handle expected failures.
11821 (parse_ulps): Likewise.
11822 (print_ulps_file): Likewise.
11823 (get_failure): Remove function.
11824 (output_test): Don't handle expected failures.
11825 * make/README.libm-test: Don't mention expected failure handling.
11826
a7548d41
JM
11827 * math/libm-test.inc (plus_zero): Make const. Add initializer.
11828 (minus_zero): Likewise.
11829 (plus_infty): Likewise.
11830 (minus_infty): Likewise.
11831 (qnan_value): Likewise.
11832 (max_value): Likewise.
11833 (min_value): Likewise.
11834 (min_subnorm_value): Likewise.
11835 (initialize): Do not initialize those variables dynamically.
11836
60bfd54c
RM
118372013-05-03 Roland McGrath <roland@hack.frob.com>
11838
cc0e6ed8
RM
11839 * io/open.c (__open_2): Moved to ...
11840 * io/open_2.c: ... this new file.
11841 * io/open64.c (__open64_2): Moved to ...
11842 * io/open64_2.c: ... this new file.
11843 * io/openat.c (__openat_2): Moved to ...
11844 * io/openat_2.c: ... this new file.
11845 * io/openat64.c (__openat64_2): Moved to ...
11846 * io/openat64_2.c: ... this new file.
11847 * io/Makefile (routines): Add them.
11848 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
11849 * sysdeps/unix/sysv/linux/open_2.c: File removed.
11850 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
11851 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
11852 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
11853 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
11854 (__openat64): Add hidden_ver.
11855 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
11856 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
11857
60bfd54c
RM
11858 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
11859 Separately conditionalize setting of GLRO(dl_sysinfo) so
11860 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
11861 as well, but the actual setting is only under [NEED_DL_SYSINFO].
11862
83e7640f
AZ
118632013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11864
11865 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
11866 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
11867 definition.
11868 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
11869 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11870 (_libc_vdso_platform_setup): Add __vdso_time initialization.
11871 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
11872 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
11873
d5dc2af3
JM
118742013-05-03 Joseph Myers <joseph@codesourcery.com>
11875
c31a5b1e
JM
11876 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
11877 test signgam value.
11878
d5dc2af3
JM
11879 * math/libm-test.inc (hypot_test): Do not use
11880 IGNORE_ZERO_INF_SIGN.
11881
164fd39d
AJ
118822013-05-03 Andreas Jaeger <aj@suse.de>
11883
11884 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
11885 Linux 3.9.
11886 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
11887 (PF_MAX): Adjust for VSOCK change.
11888
8237f48c
AZ
118892013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11890
11891 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11892
9df02941
CD
118932013-05-02 Carlos O'Donell <carlos@redhat.com>
11894
11895 [BZ #15264]
11896 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
11897 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
11898 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
11899
d422395e
DM
119002013-05-02 David S. Miller <davem@davemloft.net>
11901
11902 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11903
a07c5731
OB
119042013-05-01 Ondřej Bílka <neleai@seznam.cz>
11905
11906 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
11907
1324e37f
RM
119082013-05-01 Roland McGrath <roland@hack.frob.com>
11909
11910 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
11911
0695940b
RS
119122013-05-01 Richard Smith <richard@metafoo.co.uk>
11913
bb5f27ad 11914 [BZ #14952]
0695940b
RS
11915 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
11916 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11917 Use __attribute__ ((__gnu_inline__)).
11918 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11919 Don't use __attribute__ ((__gnu_inline__)).
11920
10de07f5
JM
119212013-05-01 Joseph Myers <joseph@codesourcery.com>
11922
11923 [BZ #15423]
11924 * math/s_catan.c (__catan): Handle small real or imaginary part of
11925 input specially to avoid spurious underflow.
11926 * math/s_catanf.c (__catanf): Likewise.
11927 * math/s_catanh.c (__catanh): Likewise.
11928 * math/s_catanhf.c (__catanhf): Likewise.
11929 * math/s_catanhl.c (__catanhl): Likewise.
11930 * math/s_catanl.c (__catanl): Likewise.
11931 * math/libm-test.inc (catan_test): Add more tests.
11932 (catanh_test): Likewise.
11933 * sysdeps/i386/fpu/libm-test-ulps: Update.
11934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11935
cb4d5414
AZ
119362013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11937
11938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11939
caf84319
JM
119402013-04-30 Joseph Myers <joseph@codesourcery.com>
11941
11942 [BZ #15416]
11943 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
11944 accurately for denominator in atan2.
11945 * math/s_catanf.c (__catanf): Likewise.
11946 * math/s_catanh.c (__catanh): Likewise.
11947 * math/s_catanhf.c (__catanhf): Likewise.
11948 * math/s_catanhl.c (__catanhl): Likewise.
11949 * math/s_catanl.c (__catanl): Likewise.
11950 * math/libm-test.inc (catan_test): Add more tests.
11951 (catanh_test): Likewise.
11952 * sysdeps/i386/fpu/libm-test-ulps: Update.
11953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11954
d569c6ee
SP
119552013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11956
6dbe713d
SP
11957 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
11958
f0ee064b
SP
11959 * benchtests/Makefile (bench): Remove slow benchmarks.
11960 * benchtests/atan-inputs: Add slow benchmark inputs.
11961 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
11962 (BENCH_FUNC): Accept variant offset.
11963 (VARIANT): Define.
11964 * benchtests/bench-skeleton.c (main): Run benchmark for each
11965 variant.
11966 * benchtests/cos-inputs: Add slow benchmark inputs.
11967 * benchtests/exp-inputs: Likewise.
11968 * benchtests/pow-inputs: Likewise.
11969 * benchtests/sin-inputs: Likewise.
11970 * benchtests/slowatan-inputs: Remove.
11971 * benchtests/slowatan.c: Remove.
11972 * benchtests/slowcos-inputs: Remove.
11973 * benchtests/slowcos.c: Remove.
11974 * benchtests/slowexp-inputs: Remove.
11975 * benchtests/slowexp.c: Remove.
11976 * benchtests/slowpow-inputs: Remove.
11977 * benchtests/slowpow.c: Remove.
11978 * benchtests/slowsin-inputs: Remove.
11979 * benchtests/slowsin.c: Remove.
11980 * benchtests/slowtan-inputs: Remove.
11981 * benchtests/slowtan.c: Remove.
11982 * benchtests/tan-inputs: Add slow benchmark inputs.
11983 * scripts/bench.pl: Parse comments and directives.
11984
d569c6ee
SP
11985 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
11986 in CPPFLAGS.
11987 ($(objpfx)bench-%.c): Remove *-ITER.
11988 * benchtests/bench-modf.c: Remove definition of ITER.
11989 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
11990 (main): Loop for DURATION seconds instead of fixed number of
11991 iterations.
11992 * scripts/bench.pl: Don't expect iterations in parameters.
11993
a6a242fe
RM
119942013-04-29 Roland McGrath <roland@hack.frob.com>
11995
11996 * io/fchdir.c (__fchdir): Renamed from fchdir.
11997 (fchdir): Define as weak alias.
11998
f2da7793
JM
119992013-04-29 Joseph Myers <joseph@codesourcery.com>
12000
12001 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
12002 (ERRNO_EDOM): Likewise.
12003 (ERRNO_ERANGE): Likewise.
12004 (noErrnoTests): New variable.
12005 (init_max_error): Set errno to 0.
12006 (test_single_errno): New function.
12007 (test_errno): Likewise.
12008 (check_float_internal): Call test_errno. Set errno to 0.
12009 (check_complex): Refer to errno tests in comment.
12010 (check_int): Call test_errno. Set errno to 0.
12011 (check_long): Likewise.
12012 (check_bool): Likewise.
12013 (check_longlong): Likewise.
12014 (cos_test): Use ERRNO_* flags for errno tests instead of
12015 check_int.
12016 (expm1_test): Likewise.
12017 (fmod_test): Likewise.
12018 (ilogb_test): Likewise.
12019 (lgamma_test): Likewise.
12020 (pow_test): Likewise.
12021 (remainder_test): Likewise.
12022 (sin_test): Likewise.
12023 (tan_test): Likewise.
12024 (yn_test): Likewise.
12025 (initialize): Set errno to 0.
12026 (main): Print number of errno tests.
12027 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
12028
b1a36ceb
AJ
120292013-04-29 Andreas Jaeger <aj@suse.de>
12030
c3ed8088
AJ
12031 [BZ #15084]
12032 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
12033 and RES_USEVC.
12034
f1a24198
AJ
12035 [BZ #15085]
12036 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
12037 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
12038 unimplemented.
12039
9ce3b2cb
AJ
12040 [BZ #15380]
12041 * stdlib/random.c (__initstate): Return NULL if
12042 __initstate fails.
12043
f1a24198 12044 [BZ #15086]
b1a36ceb
AJ
12045 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
12046 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
12047 RES_SNGLKUPREOP.
12048
7e7b6f36
AZ
120492013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12050
12051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12052
4d14f449
JM
120532013-04-29 Joseph Myers <joseph@codesourcery.com>
12054
12055 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
12056 of individual tests.
12057 (casin_test): Likewise.
12058 (casinh_test): Likewise.
12059
5b4217d7
JM
120602013-04-27 Joseph Myers <joseph@codesourcery.com>
12061
12062 [BZ #15409]
12063 * math/s_catan.c (__catan): Handle arguments with large real or
12064 imaginary part separately without squaring.
12065 * math/s_catanf.c (__catanf): Likewise.
12066 * math/s_catanh.c (__catanh): Likewise.
12067 * math/s_catanhf.c (__catanhf): Likewise.
12068 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12069 and redefine.
12070 (__catanhl): Handle arguments with large real or imaginary part
12071 separately without squaring.
12072 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12073 and redefine.
12074 (__catanl): Handle arguments with large real or imaginary part
12075 separately without squaring.
12076 * math/libm-test.inc (catan_test): Add more tests.
12077 (catanh_test): Likewise.
12078 * sysdeps/i386/fpu/libm-test-ulps: Update.
12079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12080
4220c3ef
AJ
120812013-04-27 Andreas Jaeger <aj@suse.de>
12082
12083 [BZ #15007]
12084 * stdlib/stdlib.h: Update guards for qecvt.
12085 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
12086 <stdlib.h>.
12087
4721b2d1
AM
120882013-04-27 Allan McRae <allan@archlinux.org>
12089
12090 * sysdeps/i386/fpu/libm-test-ulps: Update.
12091
f0302940
JM
120922013-04-26 Joseph Myers <joseph@codesourcery.com>
12093
9457fd95
JM
12094 [BZ #15406]
12095 * math/s_catan.c: Include <float.h>.
12096 (__catan): Ensure underflow exception occurs for underflowed
12097 result.
12098 * math/s_catanf.c: Include <float.h>.
12099 (__catanf): Ensure underflow exception occurs for underflowed
12100 result.
12101 * math/s_catanh.c: Include <float.h>.
12102 (__catanh): Ensure underflow exception occurs for underflowed
12103 result.
12104 * math/s_catanhf.c: Include <float.h>.
12105 (__catanhf): Ensure underflow exception occurs for underflowed
12106 result.
12107 * math/s_catanhl.c: Include <float.h>.
12108 (__catanhl): Ensure underflow exception occurs for underflowed
12109 result.
12110 * math/s_catanl.c: Include <float.h>.
12111 (__catanl): Ensure underflow exception occurs for underflowed
12112 result.
12113 * math/libm-test.inc (catan_test): Add more tests.
12114 (catanh_test): Likewise.
12115
f0302940
JM
12116 [BZ #15405]
12117 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
12118 underflowed result.
12119 * math/s_ccoshf.c (__ccoshf): Likewise.
12120 * math/s_ccoshl.c (__ccoshl): Likewise.
12121 * math/s_csin.c (__csin): Likewise.
12122 * math/s_csinf.c (__csinf): Likewise.
12123 * math/s_csinh.c (__csinh): Likewise.
12124 * math/s_csinhf.c (__csinhf): Likewise.
12125 * math/s_csinhl.c (__csinhl): Likewise.
12126 * math/s_csinl.c (__csinl): Likewise.
12127 * math/libm-test.inc (ccos_test): Add more tests.
12128 (ccosh_test): Likewise.
12129 (csin_test): Likewise.
12130 (csinh_test): Likewise.
12131
aa630f59
AZ
121322013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12133
12134 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
12135 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
12136 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
12137 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
12138 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
12139 powerpc/power5+/fpu folders.
12140 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
12141
12142
1b835983
MT
121432013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12144
12145 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12146
73709b26
JM
121472013-04-25 Joseph Myers <joseph@codesourcery.com>
12148
12149 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
12150 additions to variable.
12151 [$(config-machine) = x86_64] (modules-names): Likewise.
12152 ($(objpfx)tst-audit3): Remove dependency.
12153 ($(objpfx)tst-audit3.out): Likewise.
12154 ($(objpfx)tst-audit4): Likewise.
12155 ($(objpfx)tst-audit4.out): Likewise.
12156 ($(objpfx)tst-audit5): Likewise.
12157 ($(objpfx)tst-audit5.out): Likewise.
12158 ($(objpfx)tst-audit6): Likewise.
12159 ($(objpfx)tst-audit6.out): Likewise.
12160 ($(objpfx)tst-audit7): Likewise.
12161 ($(objpfx)tst-audit7.out): Likewise.
12162 (tst-audit3-ENV): Remove variable.
12163 (tst-audit4-ENV): Likewise.
12164 (tst-audit5-ENV): Likewise.
12165 (tst-audit6-ENV): Likewise.
12166 (tst-audit7-ENV): Likewise.
12167 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
12168 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
12169 addition to variable.
12170 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
12171 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
12172 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
12173 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
12174 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
12175 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
12176 tst-audit3, tst-audit4 and tst-audit5.
12177 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
12178 tst-audit6 and tst-audit7.
12179 [$(subdir) = elf] (modules-names): Add audit modules for those
12180 tests.
12181 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
12182 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
12183 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
12184 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
12185 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
12186 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
12187 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
12188 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
12189 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
12190 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
12191 [$(subdir) = elf] (tst-audit3-ENV): New variable.
12192 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
12193 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
12194 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
12195 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
12196 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
12197 Likewise.
12198 [$(subdir) = elf && $(config-cflags-avx) = yes]
12199 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
12200 [$(subdir) = elf && $(config-cflags-avx) = yes]
12201 (CFLAGS-tst-auditmod4a.c): Likewise.
12202 [$(subdir) = elf && $(config-cflags-avx) = yes]
12203 (CFLAGS-tst-auditmod4b.c): Likewise.
12204 [$(subdir) = elf && $(config-cflags-avx) = yes]
12205 (CFLAGS-tst-auditmod6b.c): Likewise.
12206 [$(subdir) = elf && $(config-cflags-avx) = yes]
12207 (CFLAGS-tst-auditmod6c.c): Likewise.
12208 [$(subdir) = elf && $(config-cflags-avx) = yes]
12209 (CFLAGS-tst-auditmod7b.c): Likewise.
12210 * elf/tst-audit3.c: Move to ...
12211 * sysdeps/x86_64/tst-audit3.c: ... here.
12212 * elf/tst-audit4.c: Move to ...
12213 * sysdeps/x86_64/tst-audit4.c: ... here.
12214 * elf/tst-audit5.c: Move to ...
12215 * sysdeps/x86_64/tst-audit5.c: ... here.
12216 * elf/tst-audit6.c: Move to ...
12217 * sysdeps/x86_64/tst-audit6.c: ... here.
12218 * elf/tst-audit7.c: Move to ...
12219 * sysdeps/x86_64/tst-audit7.c: ... here.
12220 * elf/tst-auditmod3a.c: Move to ...
12221 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
12222 * elf/tst-auditmod3b.c: Move to ...
12223 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
12224 * elf/tst-auditmod4a.c: Move to ...
12225 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
12226 * elf/tst-auditmod4b.c: Move to ...
12227 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
12228 * elf/tst-auditmod5a.c: Move to ...
12229 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
12230 * elf/tst-auditmod5b.c: Move to ...
12231 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
12232 * elf/tst-auditmod6a.c: Move to ...
12233 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
12234 * elf/tst-auditmod6b.c: Move to ...
12235 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
12236 * elf/tst-auditmod6c.c: Move to ...
12237 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
12238 * elf/tst-auditmod7a.c: Move to ...
12239 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
12240 * elf/tst-auditmod7b.c: Move to ...
12241 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
12242
1ef74943
PP
122432013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
12244
12245 [BZ #15366]
12246 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
12247 define unconditionally.
12248 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
12249 define unconditionally.
12250 (INT8_C, INT16_C, etc.): Likewise.
12251
93fd48c5
MR
122522013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
12253
ae9552cf
MR
12254 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
12255 __ehdr_start with hidden visibility.
12256
93fd48c5
MR
12257 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
12258
418601aa
CD
122592013-04-24 Carlos O'Donell <carlos@redhat.com>
12260
12261 * math/libm-test.inc (cos_test): Use accurate hex constants.
12262 (sincost_test): Likewise.
12263
2f38fbfe
JM
122642013-04-24 Joseph Myers <joseph@codesourcery.com>
12265
5e221800
JM
12266 * math/libm-test.inc (catan_test): Add more tests.
12267 (catanh_test): Likewise.
12268
77f143fd
JM
12269 * math/s_catanf.c (__catanf): Use suffixed floating-point
12270 constants.
12271 * math/s_catanhf.c (__catanhf): Likewise.
12272 * math/s_catanhl.c (__catanhl): Likewise.
12273 * math/s_catanl.c (__catanl): Likewise.
12274
2f38fbfe
JM
12275 [BZ #15394]
12276 * math/s_catan.c (__catan): Calculate imaginary part of result
12277 with log1p not log unless computing log of number close to 0.
12278 * math/s_catanf.c (__catanf): Likewise.
12279 * math/s_catanl.c (__catanl): Likewise.
12280 * math/s_catanh.c (__catanh): Calculate real part of result with
12281 log1p not log unless computing log of number close to 0.
12282 * math/s_catanhf.c (__catanhf): Likewise.
12283 * math/s_catanhl.c (__catanhl): Likewise.
12284 * math/libm-test.inc (catan_test): Add more tests.
12285 (catanh_test): Likewise.
12286 * sysdeps/i386/fpu/libm-test-ulps: Update.
12287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12288
45d69176
SP
122892013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12290
12291 * benchtests/Makefile: Mention files in which fast and slow
12292 paths of math functions are implemented.
12293
87f51853
RM
122942013-04-23 Roland McGrath <roland@hack.frob.com>
12295
12296 * sysdeps/posix/timespec_get.c: New file.
12297
3c026539
AZ
122982013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12299
12300 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
12301 POWER.
12302 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
12303 for POWER.
12304 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
12305 powerpc/power5/fpu folders.
12306 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
12307 * benchtests/Makefile: Add modf testcase.
12308 * benchtests/bench-modf.c: New file: Benchmark test for mo
12309
ff491d14
SP
123102013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12311
12312 [BZ #14888]
12313 * time/Makefile (tests): Add tst-strptime-whitespace.
12314 * time/strptime_l.c (get_number): Use ISSPACE.
12315 (__strptime_internal): Likewise.
12316 * time/tst-strptime-whitespace.c: New test case.
12317
7ed3f4e8
AS
123182013-04-23 Andreas Schwab <schwab@linux-m68k.org>
12319
12320 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
12321 member.
12322 (_nss_files_init): Set it here.
12323
5c95f7b6
HC
123242013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
12325
12326 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
12327 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
12328 unsigned.
12329
d34c9158
JBG
123302013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
12331
12332 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
12333
2169712d
SP
123342013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12335
12336 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
12337 size just once.
12338
29c5de99
DM
123392013-04-21 David S. Miller <davem@davemloft.net>
12340
12341 * po/ru.po: Update Russion translation from translation project.
12342
ccdad15d
AC
123432013-04-17 Adam Conrad <adconrad@0c3.net>
12344
12345 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
12346 and setfsgid.
12347
0f122b8d
CD
123482013-04-17 Carlos O'Donell <carlos@redhat.com>
12349
5c5b07da 12350 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 12351 * configure: Regenerate.
5c5b07da 12352 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
12353 Add example to error message.
12354 * sysdeps/i386/configure: Regenerate.
12355
037714dd
SP
123562013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12357
12358 * benchtests/Makefile (bench): Add cos, tan, slowcos and
12359 slowtan.
12360 * benchtests/cos-inputs: New file.
12361 * benchtests/slowcos-inputs: New file.
12362 * benchtests/slowcos.c: New file.
12363 * benchtests/slowtan-inputs: New file.
12364 * benchtests/slowtan.c: New file.
12365 * benchtests/tan-inputs: New file.
12366
e913141d
RM
123672013-04-16 Roland McGrath <roland@hack.frob.com>
12368
12369 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
12370 considered kosher.
12371
a2964074
SP
123722013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12373
4856bcd2
SP
12374 * benchtests/Makefile: Include cppflags-iterator.mk to add
12375 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
12376
a2964074
SP
12377 * Makefile.in (bench-clean): New target.
12378 * benchtests/Makefile (bench-clean): Likewise.
12379
9fbf9aca
DH
123802013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
12381
12382 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
12383
207d1e2a
TS
123842013-04-15 Thomas Schwinge <thomas@codesourcery.com>
12385
12386 * stdio-common/tstdiomisc.c: Fix coding-style violation.
12387
306dfba9
AS
123882013-04-15 Andreas Schwab <schwab@suse.de>
12389
12390 * nscd/grpcache.c (cache_addgr): Properly check for short write.
12391 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12392 * nscd/pwdcache.c (cache_addpw): Likewise.
12393 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
12394 more than recsize.
12395
206a6699
SP
123962013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12397
12398 * benchtests/Makefile (bench): Write all output to
12399 bench-out.tmp together.
12400
0582f6b3
AS
124012013-04-15 Andreas Schwab <schwab@suse.de>
12402
12403 * nscd/nscd.c (main): Don't fork again after closing files.
12404
acb4325f
SP
124052013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12406
5cb26d0a
SP
12407 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
12408
acb4325f
SP
12409 * benchtests/Rules (bench-deps): Collect dependencies into a
12410 single variable. Add Makefile to dependencies.
12411 ($(objpfx)bench-%.c): Depend on bench-deps.
12412
47792506
RM
124132013-04-12 Roland McGrath <roland@hack.frob.com>
12414 Xavier Roche <roche+kml2@exalead.com>
12415
12416 [BZ #15361]
12417 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
12418 just that it's a file descriptor.
12419 * manual/llio.texi (Synchronizing AIO Operations): Update description
12420 for EBADF error from aio_fsync.
12421
8fc1bee5
SP
124222013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12423
12424 * Rules (bench): Move target definition...
12425 * benchtests/Makefile: ... here.
12426
aba5e333
CD
124272013-04-11 Carlos O'Donell <carlos@redhat.com>
12428
12429 * math/libm-test.inc (cos_test): Fix PI/2 test.
12430 (sincos_test): Likewise.
12431 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12432 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
12433
273cdee8
AS
124342013-04-11 Andreas Schwab <schwab@suse.de>
12435
6ecec3b6
AS
12436 [BZ #13988]
12437 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
12438 accept exponent character only when digits were seen.
12439 * stdio-common/Makefile (tests): Add bug26.
12440 * stdio-common/bug26.c: New file.
12441
273cdee8
AS
12442 [BZ #14293]
12443 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
12444 non-freeable.
12445
8da491f5
SP
124462013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12447
01dc6df9
SP
12448 * Makeconfig (rtld-prefix): Define built linker prefix.
12449 * Rules (run-bench): Use it.
12450 * math/Makefile (run-regen-ulps): Likewise.
12451
8da491f5
SP
12452 * Rules (bench): Remove eval.
12453
abe7f530
SP
124542013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12455 Roland McGrath <roland@hack.frob.com>
12456 Ondrej Bilka <neleai@seznam.cz>
12457
12458 [BZ #15346]
12459 * time/getdate.c: Include ctype.h and alloca.h.
12460 (__getdate_r): Trim leading and trailing spaces of input.
12461 * time/tst-getdate.c (tests): Add tests with leading and
12462 trailing spaces.
12463
61c23e62
RM
124642013-04-08 Roland McGrath <roland@hack.frob.com>
12465
12466 [BZ #14280]
12467 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
12468 when computing value.
12469
7208a313
CD
124702013-04-06 Carlos O'Donell <carlos@redhat.com>
12471
085b2d41
CD
12472 * math/README.libm-test (How can I generate "libm-test-ulps"?):
12473 Use testrun.sh to run libm tests.
12474
7208a313
CD
12475 [BZ #15309]
12476 * elf/dl-open.c (dl_open_worker): memset all of seen array.
12477
872c0acd
MM
124782013-04-06 Marko Myllynen <myllynen@redhat.com>
12479
12480 [BZ #15264]
12481 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
12482
26510bdd
CD
124832013-04-06 Carlos O'Donell <carlos@redhat.com>
12484
12485 * Makefile.in (regen-ulps): New target.
12486 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
12487 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
12488 [ifneq (no,$(PERL)] (regen-ulps): New target.
12489 [ifeq (no,$(PERL)] (regen-ulps): New target.
12490 * math/libm-test.inc (ulps_file_name): Define.
12491 (output_dir): New variable.
12492 (options): Add "output-dir" option.
12493 (parse_opt): Handle 'o' case.
12494 (main): If output_dir is non-NULL use it as a prefix
12495 otherwise use "".
12496 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
12497
a01f19c8
CD
124982013-04-06 Carlos O'Donell <carlos@redhat.com>
12499
12500 [BZ #10060, #10062]
12501 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
12502 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
12503 fail configure if __sync_val_compare_and_swap is not inlined.
12504 * sysdeps/i386/configure: Regenerate.
12505 * configure.in: Build for i686 when configured for i386.
12506 * configure: Regenerate.
12507 * README: Remove i386 reference.
12508
b7a329a5
CD
125092013-04-06 Carlos O'Donell <carlos@redhat.com>
12510
12511 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
12512 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12513
bf0f50df
TS
125142013-04-05 Thomas Schwinge <thomas@codesourcery.com>
12515
ee091edf
TS
12516 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
12517 (lmsnanval): New variables.
12518 (F): Add conversion tests.
12519 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
12520 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
12521
a8b792d6
TS
12522 * stdio-common/tstdiomisc.c (F): Properly collect individual
12523 tests' results.
12524
a1cbf437
TS
12525 [BZ #14686, #15336]
12526 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
12527 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
12528 Instead, use input NaN values or generate a qNaN by arithmetic
12529 operation. Also fix bugs to comply with the standard.
12530 * math/libm-test.inc (remainder_test): Add more tests.
12531
8b43a0c9
TS
12532 [BZ #15335, #15342]
12533 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
12534 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
12535 input NaN values or generate a qNaN by arithmetic operation.
12536
d91da4ce
TS
12537 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
12538 unreachable code.
12539
bf0f50df
TS
12540 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
12541 definitions.
12542
05e166c8
JM
125432013-04-03 Joseph Myers <joseph@codesourcery.com>
12544
12545 [BZ #14478]
12546 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
12547 underflowed result.
12548 * math/s_cexpf.c (__cexpf): Likewise.
12549 * math/s_cexpl.c (__cexpl): Likewise.
12550 * math/libm-test.inc (cexp_test): Add more tests.
12551
1cef1b19
AS
125522013-04-03 Andreas Schwab <schwab@suse.de>
12553
12554 [BZ #15330]
12555 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
12556 order arrays from heap if bigger than alloca cutoff.
12557
74d87055
TS
125582013-04-03 Thomas Schwinge <thomas@codesourcery.com>
12559
12560 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
12561 (SNAN_TESTS_double): Refer to GCC PR56831.
12562 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
12563 GCC PR56828.
12564
d755bba4
SP
125652013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12566
90d5d5bb
SP
12567 * Rules (bench): Move bench.out after the run is complete.
12568
73e0cd5d
SP
12569 * Rules (bench): Echo currently running benchmark.
12570
64aabd4b
SP
12571 * benchtests/Makefile (bench): Add atan and slowatan.
12572 * benchtests/atan-inputs: New file.
12573 * benchtests/slowatan-inputs: New file.
12574 * benchtests/slowatan.c: New file.
12575
c871eccd
SP
12576 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
12577 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
12578 its value.
12579
d755bba4
SP
12580 [BZ #15305]
12581 * sysdeps/unix/sysv/linux/kernel-features.h
12582 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
12583 __ASSUME_XFS_RESTRICTED_CHOWN.
12584 * sysdeps/unix/sysv/linux/pathconf.c
12585 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12586 Save and restore errno.
12587
52ce4860
JM
125882013-04-02 Joseph Myers <joseph@codesourcery.com>
12589
12590 [BZ #15327]
12591 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
12592 arguments using __kernel_casinh.
12593 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
12594 arguments using __kernel_casinhf.
12595 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
12596 arguments using __kernel_casinhl.
12597 * math/libm-test.inc (cacosh_test): Add more tests.
12598 * sysdeps/i386/fpu/libm-test-ulps: Update.
12599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12600
81f311c2
SP
126012013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12602
e7906a47
SP
12603 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
12604 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
12605
92e3664b
SP
12606 * bench/Makefile (bench): Add sin and slowsin.
12607 * benchtests/sin-inputs: New file.
12608 * benchtests/slowsin-inputs: New file.
12609 * benchtests/slowsin.c: New file.
12610
81f311c2
SP
12611 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
12612 (bench): Add slowexp and slowpow.
12613 (exp-ITER): Increase iterations.
12614 (pow-ITER): Likewise.
12615 * benchtests/exp-inputs: Change input.
12616 * benchtests/pow-inputs: Likewise.
12617 * benchtests/slowexp-inputs: New file.
12618 * benchtests/slowexp.c: New file.
12619 * benchtests/slowpow-inputs: New file.
12620 * benchtests/slowpow.c: New file.
12621
ab0f1aa9
AZ
126222013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12623
12624 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
12625 instructions.
12626 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12627 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
12628 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12629 * benchtests/Makefile: Add rint benchtest.
12630 * benchtests/rint-inputs: Input for rint benchtest.
12631
57267616
TS
126322013-04-02 Thomas Schwinge <thomas@codesourcery.com>
12633
12634 * Versions.def (libm): Add GLIBC_2.18.
12635 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
12636 hidden libm prototypes.
12637 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
12638 * math/Makefile (libm-calls): Add s_issignaling.
12639 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
12640 __issignalingf, __issignalingl. Adjust all libm.abilist files.
12641 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
12642 declaration.
12643 * math/math.h [__USE_GNU] (issignaling): New macro.
12644 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
12645 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
12646 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
12647 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
12648 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
12649 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
12650 * manual/arith.texi (issignaling): New section.
12651 * manual/libm-err-tab.pl (@all_functions): Update comment.
12652 * math/gen-libm-test.pl (parse_args): Apply special handling for
12653 issignaling.
12654 * math/libm-test.inc (print_float, issignaling_test): New
12655 functions.
12656 (check_float_internal): Add issignaling checks.
12657 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
12658 default definition.
12659 * sysdeps/powerpc/math-tests.h: New file.
12660 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
12661 tests.
12662 * math/test-snan.c (TEST_FUNC): Likewise.
12663
6142896d
DM
126642013-03-30 David S. Miller <davem@davemloft.net>
12665
12666 * po/de.po: Update from translation team.
12667
ccc8cadf
JM
126682013-03-30 Joseph Myers <joseph@codesourcery.com>
12669
12670 [BZ #10357]
12671 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12672 imaginary part less than 1.0 and real part less than 0.5
12673 specially.
12674 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12675 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12676 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
12677 (cacos_test): Add more tests.
12678 (casin_test): Likewise.
12679 (casinh_test): Likewise.
12680 * sysdeps/i386/fpu/libm-test-ulps: Update.
12681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12682
0f6a8d4b
SP
126832013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12684
0d1029de
SP
12685 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
12686 ONE with its value.
12687
c2d94018
SP
12688 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
12689 (__pow_mp): Replace ONE and MONE with their values.
12690 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12691 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
12692 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12693 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
12694 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12695 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12696
27ec37f1
SP
12697 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
12698
a64d7e0e
SP
12699 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
12700 (__pow_mp): Replace ZERO and MZERO with their values.
12701 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12702 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12703 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12704 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12705 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12706 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
12707 (__sqr): Likewise.
12708
d26dd3eb
SP
12709 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
12710
0f6a8d4b
SP
12711 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
12712
e57b0c61
RM
127132013-03-28 Roland McGrath <roland@hack.frob.com>
12714
12715 * include/stdlib.h [!SHARED] (__call_tls_dtors):
12716 Declare with __attribute__ ((weak)).
12717 * stdlib/exit.c (__libc_atexit) [!SHARED]:
12718 Call __call_tls_dtors only if it's not NULL.
12719
356b3480
RM
127202013-03-28 Roland McGrath <roland@hack.frob.com>
12721
288f7d79
RM
12722 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
12723 didn't do it already, then set _dl_phdr and _dl_phnum based on the
12724 magic __ehdr_start linker symbol if it's defined.
12725 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
12726 them up here if it was already done.
12727
dc0a0263
RM
12728 * elf/dl-support.c (_dl_phdr): Make pointer to const.
12729 (_dl_aux_init): Use const in cast when setting it.
12730 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
12731 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
12732 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
12733
3d3436ae
RM
12734 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
12735 Declare them here.
12736 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
12737 * csu/libc-tls.c: Nor here.
12738 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
12739
356b3480
RM
12740 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
12741 (__libc_message): Never call vsyslog.
12742
b0f1246a
AM
127432013-03-28 Alan Modra <amodra@gmail.com>
12744
12745 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
12746 Define as empty.
12747 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
12748 Likewise.
12749
fbbe2b9a
AZ
127502013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12751
12752 [BZ #15214]
12753 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
12754 underflow.
12755 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12756
1728ab37
SP
127572013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12758
7a86be6e
SP
12759 [BZ #15304]
12760 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12761 Don't add gid passed as argument.
12762
1728ab37
SP
12763 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
12764
3a7182a1
JM
127652013-03-27 Joseph Myers <joseph@codesourcery.com>
12766
12767 [BZ #15307]
12768 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12769 imaginary part between 1.0 and 1.5 and real part less than 0.5
12770 specially.
12771 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12772 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12773 * math/libm-test.inc (cacos_test): Add more tests.
12774 (casin_test): Likewise.
12775 (casinh_test): Likewise.
12776 * sysdeps/i386/fpu/libm-test-ulps: Update.
12777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12778
6f2e90e7
SP
127792013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12780
5739f705
SP
12781 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
12782 constants.
12783 (norm): Likewise.
12784 (denorm): Likewise.
12785 (__dbl_mp): Likewise.
12786 (add_magnitudes): Likewise.
12787 (sub_magnitudes): Likewise.
12788 (__add): Likewise.
12789 (__sub): Likewise.
12790 (__mul): Likewise.
12791 (__sqr): Likewise.
12792 (__inv): Likewise.
12793 (__dvd): Likewise.
12794
e375e83d
SP
12795 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
12796 commented code.
12797 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
12798 (__dubcos): Likewise.
12799 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
12800 (__ieee754_acos): Likewise.
12801 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12802 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
12803 (__exp1): Likewise.
12804 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12805 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12806 (log1): Likewise.
12807 (my_log2): Likewise.
12808 (checkint): Likewise.
12809 * sysdeps/ieee754/dbl-64/e_remainder.c
12810 (__ieee754_remainder): Likewise.
12811 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12812 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12813 (bsloww): Likewise.
12814 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12815
6f2e90e7
SP
12816 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12817 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
12818 MANTISSA_STORE_T to store computations on mantissa. Use
12819 macros for rounding and division.
12820 (denorm): Likewise.
12821 (__dbl_mp): Likewise.
12822 (add_magnitudes): Likewise.
12823 (sub_magnitudes): Likewise.
12824 (__mul): Likewise.
12825 (__sqr): Likewise.
12826 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
12827 powers of two in terms of TWOPOW macro.
12828 (mp_no): Make type of mantissa as MANTISSA_T.
12829 [!RADIXI]: Define RADIXI.
12830 [!TWO52]: Define TWO52.
12831 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12832
fce14d4e
AZ
128332013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12834
12835 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
12836 llroundl symbol when building for PPC32.
12837
9ad027fb
MW
128382013-03-24 Mark H Weaver <mhw@netris.org>
12839
12840 * manual/arith.texi (Normalization Functions): Fix prototypes for
12841 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
12842
e42a38dd
AZ
128432013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12844
12845 [BZ #13889]
12846 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
12847 high value to check if expl overflow.
12848 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
12849 to check for underflow and overflow.
12850 * math/libm-test.inc: Add exp test.
12851
2e0fb521
DL
128522013-03-21 Dmitry V. Levin <ldv@altlinux.org>
12853
12854 [BZ #11120]
12855 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
12856 with NOT_IN_libc.
12857
b5784d95
AZ
128582013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12859
12860 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
12861 symbol.
12862
5aa4a1a1
TS
128632013-03-21 Thomas Schwinge <thomas@codesourcery.com>
12864
bdef0be7
TS
12865 * math/gen-libm-test.pl (parse_args, special_functions): Properly
12866 wrap blocks consisting of several statements.
12867
5aa4a1a1
TS
12868 * sysdeps/generic/math-tests.h: New file.
12869 * sysdeps/i386/fpu/math-tests.h: Likewise.
12870 * math/test-snan.c: Include it.
12871 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
12872
98c48fe5
JM
128732013-03-21 Joseph Myers <joseph@codesourcery.com>
12874
12875 [BZ #15285]
12876 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
12877 (__ieee754_j0l): Do not improve calculations using cos of twice
12878 input for inputs above LDBL_MAX / 2.0L.
12879 (__ieee754_y0l): Likewise.
12880 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
12881 (__ieee754_j1l): Do not improve calculations using cos of twice
12882 input for inputs above LDBL_MAX / 2.0L.
12883 (__ieee754_y1l): Likewise.
12884 * math/libm-test.inc (j0_test): Add another test.
12885 (j1_test): Likewise.
12886 (y0_test): Likewise.
12887 (y1_test): Likewise.
12888 * sysdeps/i386/fpu/libm-test-ulps: Update.
12889
3775a8bc
SP
128902013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12891
12892 * Rules ($(objpfx)bench-%.c): Include code from a C source
12893 file.
12894
0a1b2ae6
JM
128952013-03-21 Joseph Myers <joseph@codesourcery.com>
12896
12897 [BZ #15287]
12898 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12899 imaginary part 1.0 and real part less than 0.5 specially.
12900 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12901 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12902 * math/libm-test.inc (cacos_test): Add more tests.
12903 (casin_test): Likewise.
12904 (casinh_test): Likewise.
12905 * sysdeps/i386/fpu/libm-test-ulps: Update.
12906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12907
b33d4ce4
SP
129082013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12909
12910 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
12911 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
12912
bef0b507
JM
129132013-03-20 Joseph Myers <joseph@codesourcery.com>
12914
12915 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
12916 * config.make.in (config-cflags-sse4): Remove variable.
12917 (config-cflags-avx): Likewise.
12918 (config-cflags-sse2avx): Likewise.
12919 (config-cflags-novzeroupper): Likewise.
12920 (config-asflags-i686): Likewise.
12921 (have-mfma4): Likewise.
12922 (have-as-vis3): Likewise.
12923 (MIG): Likewise.
12924 * configure.in (MIG): Do not AC_SUBST.
12925 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
12926 (libc_cv_cc_sse4): Do not AC_SUBST.
12927 (libc_cv_cc_avx): Likewise.
12928 (libc_cv_cc_sse2avx): Likewise.
12929 (libc_cv_cc_novzeroupper): Likewise.
12930 (libc_cv_cc_fma4): Likewise.
12931 (libc_cv_as_i686): Likewise.
12932 (libc_cv_sparc_as_vis3): Likewise.
12933 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
12934 LIBC_CONFIG_VAR.
12935 (config-asflags-i686): Likewise.
12936 (config-cflags-avx): Likewise.
12937 (config-cflags-sse2avx): Likewise.
12938 (have-mfma4): Likewise.
12939 (config-cflags-novzeroupper): Likewise.
12940 * sysdeps/mach/configure.in (MIG): Likewise.
12941 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
12942 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
12943 LIBC_CONFIG_VAR.
12944 (config-cflags-avx): Likewise.
12945 (config-cflags-sse2avx): Likewise.
12946 (have-mfma4): Likewise.
12947 (config-cflags-novzeroupper): Likewise.
12948 * configure: Regenerated.
12949 * sysdeps/i386/configure: Likewise.
12950 * sysdeps/mach/configure: Likewise.
12951 * sysdeps/sparc/configure: Likewise.
12952 * sysdeps/x86_64/configure: Likewise.
12953
912cc4b3
RM
129542013-03-20 Roland McGrath <roland@hack.frob.com>
12955
12956 [BZ #14812]
12957 * locale/programs/localedef.c (options): Put N_ translation marker
12958 on argument names, not just descriptions.
12959
04eed2b0
MS
129602013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12961
12962 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
12963
a065ceff
OB
129642013-03-20 Ondřej Bílka <neleai@seznam.cz>
12965
9bb2a810 12966 [BZ #14176]
a065ceff
OB
12967 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
12968
a600e5ce
RM
129692013-03-19 Roland McGrath <roland@hack.frob.com>
12970
12971 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
12972 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
12973 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
12974 [!BEFORE_ABORT] (before_abort): New function.
12975 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
12976 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
12977 (writev_for_fatal): New function.
12978 (WRITEV_FOR_FATAL): New macro; call that.
12979 (backtrace_and_maps): New function.
12980 (BEFORE_ABORT): New macro; call that.
12981 (struct str_list): Type removed.
12982 (__libc_message, __libc_fatal): Functions removed.
12983 Include <sysdeps/posix/libc_fatal.c> instead.
12984
6b18bea6
JM
129852013-03-19 Joseph Myers <joseph@codesourcery.com>
12986
12987 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
12988 constants.
12989 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
12990 double constants.
12991
aaa8cb4b
AS
129922013-03-19 Andreas Schwab <schwab@suse.de>
12993
44673770
AS
12994 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
12995 * sysdeps/gnu/configure: Regenerate.
12996
aaa8cb4b
AS
12997 * configure.in: Substitute libc_cv_rtlddir.
12998 * configure: Regenerate.
12999 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
13000 * Makeconfig (rtlddir, inst_rtlddir): New variables.
13001 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
13002 * elf/Makefile (install-others, CFLAGS-interp.c)
13003 (ldso_install, common-ldd-rewrite): Likewise.
13004 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
13005 $(inst_slibdir)/$(rtld-installed-name).
13006 * scripts/rellns-sh: Add -p option.
13007 * Makerules (make-shlib-link): Use rellns-sh to get relative name
13008 for source.
13009
d3cfc668
SP
130102013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13011
13012 * manual/nptl.texi: Renamed to ...
13013 * manual/threads.texi: ... this.
13014 * manual/Makefile (chapters): Update.
13015
0e2b9cdd
RM
130162013-03-18 Roland McGrath <roland@hack.frob.com>
13017
13018 [BZ #14812]
13019 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
13020 on argument names, not just descriptions.
0e2b9cdd
RM
13021 * malloc/memusagestat.c (options): Likewise.
13022 * nss/getent.c (options): Likewise.
63270c24
RM
13023
130242013-03-18 Benno Schulenberg <bensberg@justemail.net>
13025
13026 [BZ #14812]
13027 * iconv/iconv_prog.c (options): Put N_ translation marker
13028 on argument names, not just descriptions.
13029 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 13030
b2e1393c
OB
130312013-03-18 Ondrej Bilka <neleai@seznam.cz>
13032
13033 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
13034 implementation which is faster on all x86_64 architectures.
13035 Tested on AMD, Intel Nehalem, SNB, IVB.
13036 * sysdeps/x86_64/strnlen.S: Likewise.
13037
13038 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13039 Remove all multiarch strlen and strnlen versions.
13040 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13041 Remove strlen and strnlen related parts.
13042
13043 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
13044 Inline strlen part.
13045 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
13046
13047 * sysdeps/x86_64/multiarch/strlen.S: Remove.
13048 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
13049 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
13050 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
13051 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13052 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
13053
ec4ff04d
CD
130542013-03-17 Carlos O'Donell <carlos@redhat.com>
13055
13056 * manual/memory.texi (Malloc Tunable Parameters):
13057 Sort parameters alphabetically. Add comments for missing entries.
13058
cd18e90a
DM
130592013-03-17 David S. Miller <davem@davemloft.net>
13060
13061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13062
2a185d32
JM
130632013-03-16 Joseph Myers <joseph@codesourcery.com>
13064
d2f9799e
JM
13065 [BZ #15283]
13066 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
13067 for arguments at most half maximum finite value.
13068 * math/libm-test.inc (j0_test): Add more tests.
13069 (j1_test): Likewise.
13070 (y0_test): Likewise.
13071 (y1_test): Likewise.
13072 * sysdeps/i386/fpu/libm-test-ulps: Update.
13073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13074
2a185d32
JM
13075 [BZ #14155]
13076 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
13077 1 / x and functions P and Q for arguments above 0x1p256L.
13078 (__ieee754_y0l): Likewise.
13079 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13080 (__ieee754_y1l): Likewise.
13081 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
13082 (j1_test): Likewise.
13083 (y0_test): Likewise.
13084 (y1_test): Likewise.
13085
6cbec759
TS
130862013-03-16 Thomas Schwinge <thomas@codesourcery.com>
13087
13088 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
13089 variable.
13090
bc16e260
RM
130912013-03-15 Roland McGrath <roland@hack.frob.com>
13092
aefc9b8c
RM
13093 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
13094 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
13095 zero since it's initialized to EXEC_PAGESIZE.
13096
bc16e260
RM
13097 * sysdeps/unix/sysv/linux/ldsodefs.h
13098 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
13099 * sysdeps/generic/ldsodefs.h: ... here.
13100
a57da955
TS
131012013-03-15 Thomas Schwinge <thomas@codesourcery.com>
13102
af00a34d
TS
13103 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
13104
495ded2c
TS
13105 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
13106 math/test-snan.c.
13107 * math/test-snan.c: Renamed from
13108 sysdeps/powerpc/fpu/test-powerpc-snan.c.
13109 * math/Makefile (tests): Add test-snan.
13110 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
13111 test-powerpc-snan.
13112
777b0332
TS
13113 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
13114 SUFFIX. Initialize qNaN_var with __builtin_nan family of
13115 functions.
13116 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
13117 __builtin_nan family of functions.
13118 * math/libm-test.inc (initialize): Initialize qnan_value with
13119 __builtin_nan family of functions.
13120 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
13121 Remove variables.
13122 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
13123 Remove functions.
13124 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
13125 storage class. Initialize qNaN_var and sNaN_var with
13126 __builtin_nan and __builtin_nans families of functions,
13127 respectively.
13128
64d063b8
TS
13129 * math/libm-test.inc (acosh_test): Also test with qNaN input.
13130 (sqrt_test): Remove duplicate test with qNaN input.
13131 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
13132 (round_test, signbit_test, significand_test): Note missing +/-Inf
13133 as well as qNaN tests.
13134
67e971f1
TS
13135 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
13136 qNaN_var. Fix a few strings, too.
13137 * math/libm-test.inc (nan_value): Rename to qnan_value.
13138 * math/gen-libm-test.pl (%beautify): Adjust to that.
13139 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
13140 * math/test-misc.c (main): Likewise.
13141 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
13142 to __qnan_bytes, and __qnan_union, respectively.
13143 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
13144 Likewise.
13145 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
13146 and lqnanval, respectively.
13147 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
13148 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
13149 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
13150 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
13151
64487e12
TS
13152 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
13153 * math/test-misc.c (main) [__x86_64__]: Enable test for long
13154 doubles.
13155
e015e27b
TS
13156 * math/test-misc.c (main): Fix copy'n'pastos.
13157 * misc/tst-efgcvt.c (special): Likewise.
13158
a57da955
TS
13159 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
13160 Remove declarations.
13161
1e380345
SP
131622013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13163
13164 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
13165 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
13166 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
13167 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
13168
ef26eece
AZ
131692013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13170
13171 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
13172 macro to return vdso values correctly in IFUNC implementations.
13173 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13174 Optimization by using IFUNC.
13175
8cfdb7e0
SP
131762013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13177 Richard Henderson <rth@redhat.com>
13178 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13179
13180 * Makefile.in (bench): New target.
13181 * NEWS: Mention the benchmark framework.
13182 * Rules (bench): Likewise.
13183 (binaries-bench): Generate binaries for functions to
13184 benchmark.
13185 * benchtests/Makefile: New makefile for benchmark tests.
13186 * benchtests/bench-skeleton.c: New skeleton file for benchmark
13187 programs.
13188 * benchtests/exp-inputs: New input file for EXP function.
13189 * benchtests/pow-inputs: New input file for POW function.
13190 * scripts/bench.pl: New script to generate source files for
13191 benchmark programs.
13192
bcda9880
SP
131932013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13194
d22ca8cd
SP
13195 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
13196 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
13197 computations on mantissa. Use macros for rounding and
13198 division.
13199 (denorm): Likewise.
13200 (__dbl_mp): Likewise.
13201 (add_magnitudes): Likewise.
13202 (sub_magnitudes): Likewise.
13203 (__mul): Likewise.
13204 (__sqr): Likewise.
13205 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
13206 powers of two in terms of TWOPOW macro.
13207 (mp_no): Make type of mantissa as MANTISSA_T.
13208 [!RADIXI]: Define RADIXI.
13209 [!TWO52]: Define TWO52.
13210 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
13211
bcda9880
SP
13212 * manual/nptl.texi (cindex): Modify threads to pthreads.
13213
06d5adfb
JM
132142013-03-15 Joseph Myers <joseph@codesourcery.com>
13215
13216 * sysdeps/x86_64/preconfigure: Regenerated.
13217
41c7328e
JM
132182013-03-14 Joseph Myers <joseph@codesourcery.com>
13219
13220 [BZ #14155]
13221 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
13222 0x1p28 and above.
13223 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
13224 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
13225 0x1p28 and above.
13226 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
13227 * math/libm-test.inc (j0_test): Do not allow one spurious
13228 underflow exception.
13229 (y1_test): Likewise.
13230
e25cfa60
SP
132312013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13232
0409959c
SP
13233 * manual/Makefile (chapters): Add nptl.
13234 * manual/debug.texi (Debugging Support): Add link to Threads
13235 chapter.
13236 * manual/nptl.texi: New file.
13237
e25cfa60
SP
13238 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
13239
58a1335e
PB
132402013-03-14 Petr Baudis <pasky@ucw.cz>
13241
13242 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
13243 for non-NULL pointer before the memory validity test. Pointed
13244 out by Holger Brunck <holger.brunck@keymile.com>.
13245
9dc7c64f
AS
132462013-03-13 Andreas Schwab <schwab@suse.de>
13247
13248 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
13249 instead of .os.
13250
54206aa6
JM
132512013-03-13 Joseph Myers <joseph@codesourcery.com>
13252
13253 * timezone/zic.c: Update from tzcode 2013b.
13254
e98cdb38
CD
132552013-03-12 Carlos O'Donell <carlos@redhat.com>
13256
13257 * manual/install.texi (Configuring and compiling):
13258 Mention i686 and i586.
13259 * INSTALL: Regenerate.
13260
9967e003
RM
132612013-03-12 Roland McGrath <roland@hack.frob.com>
13262
13263 * sysdeps/init_array/elf-init.c: New file.
13264 * csu/elf-init.c
13265 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
13266 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
13267
13268 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
13269 __gmon_start__ as global, but as static with a .preinit_array pointer.
13270 * sysdeps/init_array/gmon-start.c: New file. Use that.
13271 * sysdeps/init_array/crti.S: New file, empty except for comments.
13272 * sysdeps/init_array/crtn.S: Likewise.
13273
e6b5a293 132742013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
13275
13276 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
13277 definining bcopy.
80f844c9
OB
13278 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13279 Remove Prefer_SSE_for_memop.
13280 * sysdeps/x86_64/multiarch/init-arch.h: Remove
13281 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
13282 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
13283 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13284 memset-x86-64.
80f844c9 13285 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 13286 Remove bzero, memset ifunc support.
80f844c9
OB
13287 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
13288 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
13289 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13290 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13291
fb6b0fcb
AS
132922013-03-11 Andreas Schwab <schwab@suse.de>
13293
13294 [BZ #15234]
13295 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
13296 by SHLIB_COMPAT.
13297 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
13298 (GLIBC_2.16): Remove pthread_atfork.
13299
3e6bd4b1
PP
133002013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
13301
13302 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
13303 (ptestcases.h): Likewise.
13304
222d7f00
RM
133052013-03-08 Roland McGrath <roland@hack.frob.com>
13306
13307 * Makeconfig ($(common-objpfx)config.status): Depend on
13308 sysdeps/*/preconfigure{,.in} too.
13309
1ba4f030
JM
133102013-03-08 Joseph Myers <joseph@codesourcery.com>
13311
a222d91a
JM
13312 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
13313 (__free_hook): Use void * instead of __malloc_ptr_t.
13314 (__malloc_hook): Likewise.
13315 (__realloc_hook): Likewise.
13316 (__memalign_hook): Likewise.
13317 (__after_morecore_hook): Likewise.
13318 * malloc/arena.c (save_malloc_hook): Likewise.
13319 (save_free_hook): Likewise.
13320 * malloc/hooks.c (malloc_hook_ini): Likewise.
13321 (realloc_hook_ini): Likewise.
13322 (memalign_hook_ini): Likewise.
13323 * malloc/malloc.c (malloc_hook_ini): Likewise.
13324 (realloc_hook_ini): Likewise.
13325 (memalign_hook_ini): Likewise.
13326 (__free_hook): Likewise.
13327 (__malloc_hook): Likewise.
13328 (__realloc_hook): Likewise.
13329 (__memalign_hook): Likewise.
13330 (__libc_malloc): Likewise.
13331 (__libc_free): Likewise.
13332 (__libc_realloc): Likewise.
13333 (__libc_memalign): Likewise.
13334 (__libc_valloc): Likewise.
13335 (__libc_pvalloc): Likewise.
13336 (__libc_calloc): Likewise.
13337 (__posix_memalign): Likewise.
13338 * malloc/morecore.c (__sbrk): Likewise.
13339 (__default_morecore): Likewise.
13340
5cc45e10
JM
13341 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
13342
dd54b864
JM
13343 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
13344 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
13345 __malloc_ptrdiff_t.
13346
1ba4f030
JM
13347 * malloc/malloc.h (__malloc_size_t): Remove macro.
13348 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
13349 __malloc_size_t.
13350 (old_memalign_hook): Likewise.
13351 (old_realloc_hook): Likewise.
13352 (struct hdr): Likewise.
13353 (flood): Likewise.
13354 (mallochook): Likewise.
13355 (memalignhook): Likewise.
13356 (reallochook): Likewise.
13357 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
13358 (tr_old_realloc_hook): Likewise.
13359 (tr_old_memalign_hook): Likewise.
13360 (tr_mallochook): Likewise.
13361 (tr_reallochook): Likewise.
13362 (tr_memalignhook): Likewise.
13363
edf66e57
AZ
133642013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13365
13366 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
13367 default_ldbl_pack and using as default implementation.
13368 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
13369 implementation.
13370 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
13371 redundant definition.
13372 (ldbl_insert_mantissa): Likewise.
13373 (ldbl_canonicalize): Likewise.
13374 (ldbl_nearbyint): Likewise.
13375 (ldbl_pack): Rename to ldbl_pack_ppc.
13376 (ldbl_unpack): Rename to ldbl_unpack_ppc.
13377 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
13378 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
13379
6d9145d8
SP
133802013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13381
13382 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
13383 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
13384 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
13385 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
13386 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
13387 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
13388 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
13389 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
13390
4dd4e157
AJ
133912013-03-07 Andreas Jaeger <aj@suse.de>
13392
13393 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13394 bits/mman-linux.h.
13395
adbb8027
SP
133962013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13397
ce544b5b
SP
13398 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
13399 Include mpa.h and declare __MPEXP.
13400 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
13401 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13402 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13403 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
13404 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13405 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13406 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
13407
4cc149fd
SP
13408 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
13409 (__slowpow): Use long double EXPL and LOGL functions to
13410 compute POW.
13411 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13412 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13413 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
13414 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13415 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13416 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
13417
e6ebd4a7
SP
13418 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
13419 intermediate variable to calculate exponent.
13420 (__sqr): Likewise.
13421 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13422 Likewise.
13423 (__sqr): Likewise.
13424
82a9811d
SP
13425 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
13426 [!NO__SQR]: Define __sqr.
13427 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
13428 and NO__SQR. Remove all code except __mul and __sqr. Include
13429 sysdeps/ieee754/dbl-64/mpa.c.
13430 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13431
adbb8027
SP
13432 [BZ #12723]
13433 * posix/Makefile (tests): Add tst-pathconf.
13434 * posix/tst-pathconf.c: New test case.
13435 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
13436 _PC_PIPE_BUF.
13437 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
13438
39120df9
PF
134392013-03-06 Patsy Franklin <pfrankli@redhat.com>
13440
13441 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
13442
67525cb8
AJ
134432013-03-06 Andreas Jaeger <aj@suse.de>
13444
664a9ce4
AJ
13445 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
13446 definition via __MAP_ANONYMOUS.
13447
8e39047d
AJ
13448 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
13449 it's not part of Linux headers.
13450
67525cb8
AJ
13451 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
13452 (MAP_HUGE_MASK): Define.
13453
13454 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13455 Define.
13456 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13457 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13458 Define.
13459 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13460 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13461 Define.
13462 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13463 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
13464 Define.
13465 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13466
13467 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
13468 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
13469 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
13470 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
13471 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
13472 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
13473
13474 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13475 Handle f2fs.
13476
13477 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13478 Handle f2fs and efivarfs.
13479
13480 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
13481 f2fs.
13482
13483 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
13484 (EFIVARFS_MAGIC): Add.
13485 (F2FS_LINK_MAX): Add.
13486
e1b42695
PP
134872013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13488
13489 * stdio-common/vfprintf.c: Replace __builtin_expect with
13490 __glibc_unlikely.
13491
2d67d91a
JM
134922013-03-06 Joseph Myers <joseph@codesourcery.com>
13493
13494 [BZ #13550]
13495 * sysdeps/generic/bp-sym.h: Remove file.
13496 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
13497 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
13498 <bp-sym.h> and <bp-asm.h>.
13499 (__longjmp): Don't use BP_SYM.
13500 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
13501 and <bp-asm.h>.
13502 (memcpy): Don't use BP_SYM.
13503 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
13504 <bp-sym.h> and <bp-asm.h>.
13505 (memcpy): Don't use BP_SYM.
13506 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
13507 <bp-asm.h>.
13508 (memcpy): Don't use BP_SYM.
13509 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
13510 <bp-asm.h>.
13511 (memset): Don't use BP_SYM.
13512 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13513 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13514 (__bzero): Don't use BP_SYM.
13515 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13516 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13517 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
13518 <bp-sym.h> and <bp-asm.h>.
13519 (memcmp): Don't use BP_SYM. Remove comment about bounded
13520 pointers.
13521 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
13522 <bp-sym.h> and <bp-asm.h>.
13523 (memcpy): Don't use BP_SYM.
13524 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
13525 <bp-sym.h> and <bp-asm.h>.
13526 (memset): Don't use BP_SYM.
13527 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13528 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13529 (__bzero): Don't use BP_SYM.
13530 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13531 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13532 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
13533 <bp-sym.h> and <bp-asm.h>.
13534 (strncmp): Don't use BP_SYM. Remove comment about bounded
13535 pointers.
13536 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
13537 <bp-sym.h> and <bp-asm.h>.
13538 (memcpy): Don't use BP_SYM.
13539 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
13540 <bp-sym.h> and <bp-asm.h>.
13541 (memset): Don't use BP_SYM.
13542 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13543 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13544 (__bzero): Don't use BP_SYM.
13545 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13546 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13547 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
13548 <bp-sym.h> and <bp-asm.h>.
13549 (__memchr): Don't use BP_SYM.
13550 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
13551 <bp-sym.h> and <bp-asm.h>.
13552 (memcmp): Don't use BP_SYM. Remove comment about bounded
13553 pointers.
13554 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
13555 <bp-sym.h> and <bp-asm.h>.
13556 (memcpy): Don't use BP_SYM.
13557 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
13558 <bp-sym.h> and <bp-asm.h>.
13559 (__mempcpy): Don't use BP_SYM.
13560 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
13561 <bp-sym.h> and <bp-asm.h>.
13562 (__memrchr): Don't use BP_SYM.
13563 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
13564 <bp-sym.h> and <bp-asm.h>.
13565 (memset): Don't use BP_SYM.
13566 (__bzero): Likewise.
13567 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
13568 <bp-sym.h> and <bp-asm.h>.
13569 (__rawmemchr): Don't use BP_SYM.
13570 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
13571 <bp-sym.h> and <bp-asm.h>.
13572 (__STRCMP): Don't use BP_SYM.
13573 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
13574 <bp-sym.h> and <bp-asm.h>.
13575 (strchr): Don't use BP_SYM.
13576 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
13577 <bp-sym.h> and <bp-asm.h>.
13578 (__strchrnul): Don't use BP_SYM.
13579 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
13580 <bp-sym.h> and <bp-asm.h>.
13581 (strlen): Don't use BP_SYM.
13582 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
13583 <bp-sym.h> and <bp-asm.h>.
13584 (strncmp): Don't use BP_SYM. Remove comment about bounded
13585 pointers.
13586 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
13587 <bp-sym.h> and <bp-asm.h>.
13588 (__strnlen): Don't use BP_SYM.
13589 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
13590 <bp-sym.h> and <bp-asm.h>.
13591 (__GI__setjmp): Don't use BP_SYM.
13592 (_setjmp): Likewise.
13593 (__sigsetjmp): Likewise.
13594 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
13595 (L(start_addresses)): Don't use BP_SYM.
13596 (_start): Likewise.
13597 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
13598 <bp-asm.h>.
13599 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
13600 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
13601 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13602 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13603 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
13604 <bp-asm.h>.
13605 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
13606 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
13607 about bounded pointers.
13608 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13609 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13610 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
13611 <bp-asm.h>.
13612 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13613 about bounded pointers. Remove GKM FIXME comments.
13614 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13615 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
13616 <bp-asm.h>.
13617 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
13618 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
13619 Remove GKM FIXME comments.
13620 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13621 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13622 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
13623 <bp-asm.h>.
13624 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13625 about bounded pointers. Remove GKM FIXME comment.
13626 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
13627 and <bp-asm.h>.
13628 (strncmp): Don't use BP_SYM. Remove comment about bounded
13629 pointers.
13630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
13631 <bp-sym.h> and <bp-asm.h>.
13632 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
13634 <bp-sym.h> and <bp-asm.h>.
13635 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13636 comment.
13637
cdcf361f
PP
136382013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13639
13640 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
13641 call free(NULL).
13642
3c4a2b15
DM
136432013-03-05 David S. Miller <davem@davemloft.net>
13644
13645 * po/es.po: Update from translation team.
13646
cdcf361f 136472013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
13648
13649 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
13650 <bits/mman-linux.h>.
13651 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13652 is fine.
13653 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
13654 <bits/mman-linux.h> to end of file.
13655 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13656 is fine.
13657 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
13658 <bits/mman-linux.h> to end of file.
13659 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13660 is fine.
13661 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
13662 <bits/mman-linux.h> to end of file.
13663
13664 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
13665 (MCL_CURRENT, MCL_FUTURE): Define here.
13666
5f67c04f
AK
136672013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13668
8a4473cc 13669 [BZ #15232]
5f67c04f
AK
13670 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
13671 attribute_hidden.
13672 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13673
c3e94a95
AK
136742013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13675
13676 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
13677 fourth parameter needed for rt_sigprocmask syscall.
13678 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13679 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13680 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
13681 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13682 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13683 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
13684
cfb6382a
JM
136852013-03-04 Joseph Myers <joseph@codesourcery.com>
13686
13687 [BZ #13550]
13688 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
13689 comment about bounded pointers.
13690 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
13691 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
13692
539d8e01
AJ
136932013-03-04 Andreas Jaeger <aj@suse.de>
13694
13695 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
13696 common definitions.
13697
13698 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
13699 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
13700 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
13701 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13702 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
13703 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13704
2e167a70 137052013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
13706
13707 [BZ #15055]
13708 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
13709 __ieee754_sqrl instead of __sqrl.
13710
68508633
JM
137112013-03-01 Joseph Myers <joseph@codesourcery.com>
13712
13713 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
13714 * sysdeps/powerpc/fpu_control.h: ... here.
13715 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
13716 * sysdeps/powerpc/bits/fenvinline.h: ... here.
13717 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
13718 * sysdeps/powerpc/bits/mathinline.h: ... here.
13719
7775448e
RM
137202013-03-01 Roland McGrath <roland@hack.frob.com>
13721
13722 * elf/dl-hwcaps.c (_dl_important_hwcaps):
13723 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
13724 to just [NEED_DL_SYSINFO_DSO].
13725 * elf/dl-support.c: Likewise.
13726 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13727 * elf/rtld.c (dl_main): Likewise.
13728 * elf/setup-vdso.h (setup_vdso): Likewise.
13729 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
13730 * sysdeps/unix/sysv/linux/dl-sysdep.c
13731 (_dl_discover_osversion): Likewise.
13732
4e9b5995
CD
137332013-03-01 Carlos O'Donell <carlos@redhat.com>
13734
13735 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
13736 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13737
e23872c8
SP
137382013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13739
e5c74c63
SP
13740 * NEWS: Mention libm performance improvements and non-x86 PI
13741 futex support.
13742
e23872c8
SP
13743 * csu/libc-start.c (__pthread_initialize_minimal): Change
13744 function arguments.
13745 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13746
b5510883
JM
137472013-02-28 Joseph Myers <joseph@codesourcery.com>
13748
13749 [BZ #13550]
13750 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
13751 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
13752 <bp-sym.h> and <bp-asm.h>.
13753 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13754 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
13755 and <bp-asm.h>.
13756 (memcpy): Don't use BP_SYM.
13757 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
13758 <bp-asm.h>.
13759 (__mpn_add_n): Don't use BP_SYM.
13760 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
13761 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
13762 and <bp-asm.h>.
13763 (__mpn_addmul_1): Don't use BP_SYM.
13764 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13765 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
13766 <bp-sym.h>.
13767 (_setjmp): Don't use BP_SYM.
13768 (__novmx_setjmp): Likewise.
13769 (__GI__setjmp): Likewise.
13770 (__vmx_setjmp): Likewise.
13771 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
13772 <bp-sym.h>.
13773 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
13774 (__bzero): Don't use BP_SYM.
13775 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13776 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13777 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
13778 <bp-sym.h> and <bp-asm.h>.
13779 (memcpy): Don't use BP_SYM.
13780 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
13781 <bp-sym.h> and <bp-asm.h>.
13782 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13783 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
13784 <bp-sym.h> and <bp-asm.h>.
13785 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13786 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
13787 <bp-asm.h>.
13788 (__mpn_lshift): Don't use BP_SYM.
13789 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13790 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
13791 <bp-asm.h>.
13792 (memset): Don't use BP_SYM.
13793 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13794 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13795 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
13796 <bp-asm.h>.
13797 (__mpn_mul_1): Don't use BP_SYM.
13798 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13799 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
13800 <bp-sym.h> and <bp-asm.h>.
13801 (memcmp): Don't use BP_SYM.
13802 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
13803 <bp-sym.h> and <bp-asm.h>.
13804 (memcpy): Don't use BP_SYM.
13805 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
13806 <bp-sym.h> and <bp-asm.h>.
13807 (memset): Don't use BP_SYM.
13808 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
13809 <bp-sym.h> and <bp-asm.h>.
13810 (strncmp): Don't use BP_SYM.
13811 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
13812 <bp-sym.h> and <bp-asm.h>.
13813 (memcpy): Don't use BP_SYM.
13814 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
13815 <bp-sym.h> and <bp-asm.h>.
13816 (memset): Don't use BP_SYM.
13817 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
13818 <bp-sym.h> and <bp-asm.h>.
13819 (__memchr): Don't use BP_SYM.
13820 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
13821 <bp-sym.h> and <bp-asm.h>.
13822 (memcmp): Don't use BP_SYM.
13823 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
13824 <bp-sym.h> and <bp-asm.h>.
13825 (memcpy): Don't use BP_SYM.
13826 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
13827 <bp-sym.h> and <bp-asm.h>.
13828 (__mempcpy): Don't use BP_SYM.
13829 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
13830 <bp-sym.h> and <bp-asm.h>.
13831 (__memrchr): Don't use BP_SYM.
13832 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
13833 <bp-sym.h> and <bp-asm.h>.
13834 (memset): Don't use BP_SYM.
13835 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
13836 <bp-sym.h> and <bp-asm.h>.
13837 (__rawmemchr): Don't use BP_SYM.
13838 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
13839 <bp-sym.h> and <bp-asm.h>.
13840 (__STRCMP): Don't use BP_SYM.
13841 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
13842 <bp-sym.h> and <bp-asm.h>.
13843 (strchr): Don't use BP_SYM.
13844 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
13845 <bp-sym.h> and <bp-asm.h>.
13846 (__strchrnul): Don't use BP_SYM.
13847 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
13848 <bp-sym.h> and <bp-asm.h>.
13849 (strlen): Don't use BP_SYM.
13850 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
13851 <bp-sym.h> and <bp-asm.h>.
13852 (strncmp): Don't use BP_SYM.
13853 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
13854 <bp-sym.h> and <bp-asm.h>.
13855 (__strnlen): Don't use BP_SYM.
13856 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
13857 <bp-asm.h>.
13858 (__mpn_rshift): Don't use BP_SYM.
13859 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13860 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
13861 <bp-sym.h> and <bp-asm.h>.
13862 (__sigsetjmp): Don't use BP_SYM.
13863 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
13864 (L(start_addresses)): Don't use BP_SYM.
13865 (_start): Likewise.
13866 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
13867 <bp-asm.h>.
13868 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
13869 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13870 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13871 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
13872 <bp-asm.h>.
13873 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
13874 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13875 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13876 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
13877 <bp-asm.h>.
13878 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13879 comments.
13880 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13881 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
13882 <bp-asm.h>.
13883 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
13884 FIXME comments.
13885 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13886 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13887 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
13888 <bp-asm.h>.
13889 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13890 comment.
13891 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
13892 and <bp-asm.h>.
13893 (strncmp): Don't use BP_SYM,
13894 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
13895 <bp-asm.h>.
13896 (__mpn_sub_n): Don't use BP_SYM.
13897 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13898 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
13899 and <bp-asm.h>.
13900 (__mpn_submul_1): Don't use BP_SYM.
13901 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
13903 <bp-sym.h> and <bp-asm.h>.
13904 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
13906 <bp-sym.h> and <bp-asm.h>.
13907 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13908 comment.
13909
8d19fe64
SP
139102013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13911
13912 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
13913 Use ZK to minimize writes to Z.
13914 (sub_magnitudes): Simplify code a bit.
13915 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
13916 Use ZK to minimize writes to Z.
13917 (sub_magnitudes): Simplify code a bit.
13918
85bd816a
RM
139192013-02-27 Roland McGrath <roland@hack.frob.com>
13920
13921 * csu/gmon-start.c: Add special exception to license text.
13922
b5977bf2
RH
139232013-02-27 Richard Henderson <rth@redhat.com>
13924
13925 * scripts/config.guess: Update from config.git.
13926 * scripts/config.sub: Likewise.
13927
11d6e2f2
SP
139282013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13929
09c14ed2
SP
13930 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
13931
a688864e
SP
13932 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
13933
6295157a
SP
13934 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
13935
b8de2202
SP
13936 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
13937
11d6e2f2
SP
13938 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
13939
7e80ddb8
RM
139402013-02-26 Roland McGrath <roland@hack.frob.com>
13941
13942 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
13943 [$(build-shared = yes].
7e80ddb8 13944
7da6d9ed
SP
139452013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13946
45f05884
SP
13947 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
13948 (__mul): Reduce iterations for calculating mantissa.
13949
2236d359
SP
13950 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
13951 MPTWO.
13952 (__mpranred): Likewise.
13953
7da6d9ed
SP
13954 [BZ #15160]
13955 * malloc/memusagestat.c (main): Draw graphs for heap and stack
13956 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
13957
b7688c42
PE
139582013-02-26 Paul Eggert <eggert@cs.ucla.edu>
13959
13960 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
13961 Define __attribute__.
13962
53a5c423
SP
139632013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13964
13965 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
13966 unused.
13967 * posix/regex_internal.h (__attribute): Remove.
13968 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
13969 (re_string_context_at): Likewise.
13970 (bitset_not): Use __attribute__ and mark function as possibly
13971 unused.
13972 (bitset_merge): Likewise.
13973 (bitset_mask): Likewise.
13974 (re_string_char_size_at): Likewise.
13975 (re_string_wchar_at): Likewise.
13976 (re_string_elem_size_at): Likewise.
13977
60f5a8b5
SP
139782013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13979
2a983a2e
SP
13980 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
13981 code.
13982 (cc32): Likewise.
13983
e69804d1
SP
13984 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
13985 (__acr): Likewise.
13986 (__cpy): Likewise.
13987 (norm): Likewise.
13988 (denorm): Likewise.
13989 (__dbl_mp): Likewise.
13990 (add_magnitudes): Likewise.
13991 (sub_magnitudes): Likewise.
13992 (__mul): Likewise.
13993 (__inv): Likewise.
13994
2f22a1e8
SP
13995 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
13996 style.
13997
8930ddc7
SP
13998 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
13999 style.
14000
dc60cb11
SP
14001 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
14002 code.
14003
60f5a8b5
SP
14004 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
14005 up changes with default code.
14006 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
14007 Likewise.
14008
b4d1fd33
AM
140092013-02-24 Allan McRae <allan@archlinux.org>
14010
faf6f8bc
AM
14011 * manual/socket.texi (The Internet Namespace): Order menu items
14012 to match that in the file.
14013
b4d1fd33
AM
14014 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
14015 node listing of the info page menu.
14016
2366713d
JM
140172013-02-21 Joseph Myers <joseph@codesourcery.com>
14018
14019 [BZ #13550]
14020 * sysdeps/i386/bp-asm.h: Remove file.
14021 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14022 (PARMS): Do not use macros from bp-asm.h.
14023 (S1): Likewise.
14024 (S2): Likewise.
14025 (SIZE): Likewise.
14026 (__mpn_add_n): Do not use BP_SYM
14027 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
14028 "bp-asm.h".
14029 (PARMS): Do not use macros from bp-asm.h.
14030 (S1): Likewise.
14031 (SIZE): Likewise.
14032 (__mpn_addmul_1): Do not use BP_SYM
14033 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
14034 "bp-asm.h".
14035 (PARMS): Do not use macros from bp-asm.h.
14036 (SIGMSK): Likewise.
14037 (_setjmp): Likewise. Do not use BP_SYM.
14038 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
14039 "bp-asm.h".
14040 (PARMS): Do not use macros from bp-asm.h.
14041 (SIGMSK): Likewise.
14042 (setjmp): Likewise. Do not use BP_SYM.
14043 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
14044 "bp-asm.h".
14045 (PARMS): Do not use macros from bp-asm.h.
14046 (__frexp): Do not use BP_SYM.
14047 (frexp): Likewise.
14048 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
14049 "bp-asm.h".
14050 (PARMS): Do not use macros from bp-asm.h.
14051 (__frexpf): Do not use BP_SYM.
14052 (frexpf): Likewise.
14053 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
14054 "bp-asm.h".
14055 (PARMS): Do not use macros from bp-asm.h.
14056 (__frexpl): Do not use BP_SYM.
14057 (frexpl): Likewise.
14058 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
14059 "bp-asm.h".
14060 (PARMS): Do not use macros from bp-asm.h.
14061 (__remquo): Do not use BP_SYM.
14062 (remquo): Likewise.
14063 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
14064 "bp-asm.h".
14065 (PARMS): Do not use macros from bp-asm.h.
14066 (__remquof): Do not use BP_SYM.
14067 (remquof): Likewise.
14068 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
14069 "bp-asm.h".
14070 (PARMS): Do not use macros from bp-asm.h.
14071 (__remquol): Do not use BP_SYM.
14072 (remquol): Likewise.
14073 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
14074 "bp-asm.h".
14075 (PARMS): Do not use macros from bp-asm.h.
14076 (DEST): Likewise.
14077 (SRC): Likewise.
14078 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
14079 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
14080 "bp-asm.h".
14081 (PARMS): Do not use macros from bp-asm.h.
14082 (strlen): Do not use BP_SYM.
14083 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
14084 "bp-asm.h".
14085 (PARMS): Do not use macros from bp-asm.h.
14086 (S1): Likewise.
14087 (S2): Likewise.
14088 (SIZE): Likewise.
14089 (__mpn_add_n): Do not use BP_SYM.
14090 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
14091 "bp-asm.h".
14092 (PARMS): Do not use macros from bp-asm.h.
14093 (S1): Likewise.
14094 (SIZE): Likewise.
14095 (__mpn_addmul_1): Do not use BP_SYM.
14096 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
14097 weak_alias.
14098 (bzero): Likewise.
14099 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
14100 "bp-asm.h".
14101 (PARMS): Do not use macros from bp-asm.h.
14102 (S): Likewise.
14103 (SIZE): Likewise.
14104 (__mpn_lshift): Do not use BP_SYM.
14105 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
14106 "bp-asm.h".
14107 (PARMS): Do not use macros from bp-asm.h.
14108 (DEST): Likewise.
14109 (SRC): Likewise.
14110 (LEN): Likewise.
14111 (memcpy): Likewise. Do not use BP_SYM.
14112 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
14113 libc_hidden_def and weak_alias.
14114 (mempcpy): Do not use BP_SYM in weak_alias.
14115 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
14116 "bp-asm.h".
14117 (PARMS): Do not use macros from bp-asm.h.
14118 (DEST): Likewise.
14119 (LEN): Likewise.
14120 [!BZERO_P] (CHR): Likewise.
14121 (memset): Likewise. Do not use BP_SYM.
14122 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
14123 "bp-asm.h".
14124 (PARMS): Do not use macros from bp-asm.h.
14125 (S1): Likewise.
14126 (SIZE): Likewise.
14127 (__mpn_mul_1): Do not use BP_SYM.
14128 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
14129 "bp-asm.h".
14130 (PARMS): Do not use macros from bp-asm.h.
14131 (S): Likewise.
14132 (SIZE): Likewise.
14133 (__mpn_rshift): Do not use BP_SYM.
14134 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
14135 "bp-asm.h".
14136 (PARMS): Do not use macros from bp-asm.h.
14137 (STR): Likewise.
14138 (CHR): Likewise.
14139 (strchr): Likewise. Do not use BP_SYM.
14140 (index): Do not use BP_SYM in weak_alias.
14141 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
14142 "bp-asm.h".
14143 (PARMS): Do not use macros from bp-asm.h.
14144 (DEST): Likewise.
14145 (SRC): Likewise.
14146 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
14147 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
14148 "bp-asm.h".
14149 (PARMS): Do not use macros from bp-asm.h.
14150 (strlen): Do not use BP_SYM.
14151 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
14152 "bp-asm.h".
14153 (PARMS): Do not use macros from bp-asm.h.
14154 (S1): Likewise.
14155 (S2): Likewise.
14156 (SIZE): Likewise.
14157 (__mpn_sub_n): Do not use BP_SYM.
14158 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
14159 "bp-asm.h".
14160 (PARMS): Do not use macros from bp-asm.h.
14161 (S1): Likewise.
14162 (SIZE): Likewise.
14163 (__mpn_submul_1): Do not use BP_SYM.
14164 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
14165 "bp-asm.h".
14166 (PARMS): Do not use macros from bp-asm.h.
14167 (S1): Likewise.
14168 (S2): Likewise.
14169 (SIZE): Likewise.
14170 (__mpn_add_n): Do not use BP_SYM.
14171 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
14172 weak_alias.
14173 (bzero): Likewise.
14174 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
14175 "bp-asm.h".
14176 (PARMS): Do not use macros from bp-asm.h.
14177 (BLK2): Likewise.
14178 (LEN): Likewise.
14179 (memcmp): Do not use BP_SYM.
14180 (bcmp): Do not use BP_SYM in weak_alias.
14181 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
14182 "bp-asm.h".
14183 (PARMS): Do not use macros from bp-asm.h.
14184 (DEST): Likewise.
14185 (SRC): Likewise.
14186 (LEN): Likewise.
14187 (memcpy): Likewise. Do not use BP_SYM.
14188 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
14189 "bp-asm.h".
14190 (PARMS): Do not use macros from bp-asm.h.
14191 (DEST): Likewise.
14192 (SRC): Likewise.
14193 (LEN): Likewise.
14194 (memmove): Likewise. Do not use BP_SYM.
14195 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
14196 "bp-asm.h".
14197 (PARMS): Do not use macros from bp-asm.h.
14198 (DEST): Likewise.
14199 (SRC): Likewise.
14200 (LEN): Likewise.
14201 (__mempcpy): Likewise. Do not use BP_SYM.
14202 (mempcpy): Do not use BP_SYM in weak_alias.
14203 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
14204 "bp-asm.h".
14205 (PARMS): Do not use macros from bp-asm.h.
14206 (DEST): Likewise.
14207 (LEN): Likewise.
14208 [!BZERO_P] (CHR): Likewise.
14209 (memset): Likewise. Do not use BP_SYM.
14210 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
14211 "bp-asm.h".
14212 (PARMS): Do not use macros from bp-asm.h.
14213 (STR2): Likewise.
14214 (strcmp): Do not use BP_SYM.
14215 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
14216 "bp-asm.h".
14217 (PARMS): Do not use macros from bp-asm.h.
14218 (STR): Likewise.
14219 (DELIM): Likewise.
14220 [USE_AS_STRTOK_R] (SAVE): Likewise.
14221 (FUNCTION): Likewise. Do not use BP_SYM.
14222 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
14223 aliases.
14224 (strtok_r): Likewise.
14225 (__GI___strtok_r): Likewise.
14226 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14227 (PARMS): Do not use macros from bp-asm.h.
14228 (S): Likewise.
14229 (SIZE): Likewise.
14230 (__mpn_lshift): Do not use BP_SYM.
14231 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14232 (PARMS): Do not use macros from bp-asm.h.
14233 (STR): Likewise.
14234 (CHR): Likewise.
14235 (__memchr): Do not use BP_SYM.
14236 (memchr): Do not use BP_SYM in weak_alias.
14237 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14238 (PARMS): Do not use macros from bp-asm.h.
14239 (BLK2): Likewise.
14240 (LEN): Likewise.
14241 (memcmp): Do not use BP_SYM.
14242 (bcmp): Do not use BP_SYM in weak_alias.
14243 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
14244 (PARMS): Do not use macros from bp-asm.h.
14245 (S1): Likewise.
14246 (SIZE): Likewise.
14247 (__mpn_mul_1): Do not use BP_SYM.
14248 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
14249 "bp-asm.h".
14250 (PARMS): Do not use macros from bp-asm.h.
14251 (STR): Likewise.
14252 (CHR): Likewise.
14253 (__rawmemchr): Do not use BP_SYM.
14254 (rawmemchr): Do not use BP_SYM in weak_alias.
14255 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14256 (PARMS): Do not use macros from bp-asm.h.
14257 (S): Likewise.
14258 (SIZE): Likewise.
14259 (__mpn_rshift): Do not use BP_SYM.
14260 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14261 (PARMS): Do not use macros from bp-asm.h.
14262 (SIGMSK): Likewise.
14263 (__sigsetjmp): Likewise. Do not use BP_SYM.
14264 * sysdeps/i386/start.S: Do not include "bp-sym.h".
14265 (_start): Do not use BP_SYM.
14266 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
14267 (PARMS): Do not use macros from bp-asm.h.
14268 (DEST): Likewise.
14269 (SRC): Likewise.
14270 (__stpcpy): Likewise. Do not use BP_SYM.
14271 (stpcpy): Do not use BP_SYM in weak_alias.
14272 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
14273 "bp-asm.h".
14274 (PARMS): Do not use macros from bp-asm.h.
14275 (DEST): Likewise.
14276 (SRC): Likewise.
14277 (LEN): Likewise.
14278 (__stpncpy): Likewise. Do not use BP_SYM.
14279 (stpncpy): Do not use BP_SYM in weak_alias.
14280 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14281 (PARMS): Do not use macros from bp-asm.h.
14282 (STR): Likewise.
14283 (CHR): Likewise.
14284 (strchr): Likewise. Do not use BP_SYM.
14285 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
14286 "bp-asm.h".
14287 (PARMS): Do not use macros from bp-asm.h.
14288 (STR): Likewise.
14289 (CHR): Likewise.
14290 (__strchrnul): Likewise. Do not use BP_SYM.
14291 (strchrnul): Do not use BP_SYM in weak_alias.
14292 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
14293 "bp-asm.h".
14294 (PARMS): Do not use macros from bp-asm.h.
14295 (STOP): Likewise.
14296 (strcspn): Do not use BP_SYM.
14297 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
14298 "bp-asm.h".
14299 (PARMS): Do not use macros from bp-asm.h.
14300 (STR): Likewise.
14301 (STOP): Likewise.
14302 (strpbrk): Likewise. Do not use BP_SYM.
14303 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
14304 "bp-asm.h".
14305 (PARMS): Do not use macros from bp-asm.h.
14306 (STR): Likewise.
14307 (CHR): Likewise.
14308 (strrchr): Likewise. Do not use BP_SYM.
14309 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
14310 (PARMS): Do not use macros from bp-asm.h.
14311 (SKIP): Likewise.
14312 (strspn): Do not use BP_SYM.
14313 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
14314 (PARMS): Do not use macros from bp-asm.h.
14315 (STR): Likewise.
14316 (DELIM): Likewise.
14317 (SAVE): Likewise.
14318 (FUNCTION): Likewise. Do not use BP_SYM.
14319 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
14320 aliases.
14321 (strtok_r): Likewise.
14322 (__GI___strtok_r): Likewise.
14323 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14324 (PARMS): Do not use macros from bp-asm.h.
14325 (S1): Likewise.
14326 (S2): Likewise.
14327 (SIZE): Likewise.
14328 (__mpn_sub_n): Do not use BP_SYM.
14329 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
14330 "bp-asm.h".
14331 (PARMS): Do not use macros from bp-asm.h.
14332 (S1): Likewise.
14333 (SIZE): Likewise.
14334 (__mpn_submul_1): Do not use BP_SYM.
14335 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
14336 <bp-sym.h>.
14337 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
14338 and <bp-asm.h>.
14339 (PARMS): Do not use macros from bp-asm.h.
14340 (FLAGS): Likewise.
14341 (PTID): Likewise.
14342 (TLS): Likewise.
14343 (CTID): Likewise.
14344 (__clone): Do not use BP_SYM.
14345 (clone): Do not use BP_SYM in weak_alias.
14346 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
14347 and <bp-asm.h>.
14348 (PARMS): Do not use macros from bp-asm.h.
14349 (LEN): Likewise.
14350 (__mmap64): Do not use BP_SYM.
14351 (mmap64): Do not use BP_SYM in weak_alias.
14352 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14353 <bp-sym.h> and <bp-asm.h>.
14354 (PARMS): Do not use macros from bp-asm.h.
14355 (__posix_fadvise64_l64): Do not use BP_SYM.
14356 * sysdeps/unix/sysv/linux/i386/semtimedop.S
14357 (PARMS): Do not use macros from bp-asm.h.
14358 (NSOPS): Likewise.
14359 (semtimedop): Do not use BP_SYM.
14360 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
14361 and <bp-asm.h>.
14362
582a3cff
AM
143632013-02-21 Allan McRae <allan@archlinux.org>
14364
14365 * manual/message.texi (Charset conversion in gettext):
14366 Move @end statement to beginning of line.
14367
bab8a695
SP
143682013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14369
80945231
SP
14370 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
14371 static.
14372 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14373 Likewise.
14374
bab8a695
SP
14375 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
14376 (denorm): Likewise.
14377 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
14378 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
14379
e21d7aa7
AK
143802013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14381
14382 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
14383 tail-call to the resolved function if pltexit isn't needed.
14384
4c7a4263
SP
143852013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14386
14387 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
14388 or Y being zero as being unlikely.
14389 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
14390 Likewise.
14391
41f49342
CD
143922013-02-20 Carlos O'Donell <carlos@redhat.com>
14393
14394 * manual/nss.texi (System Databases and Name Service Switch):
14395 Remove frobnicate @pxref.
14396
50022a93
TS
143972013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14398
14399 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14400 __attribute__ ((unused)) to __attribute__ ((__unused__)).
14401
08cbd996
PM
144022013-02-20 Petr Machata <pmachata@redhat.com>
14403
14404 * elf/elf.h (R_ARM_TARGET1): New macro.
14405 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
14406 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
14407 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
14408 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
14409 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
14410 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
14411 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
14412 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
14413 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
14414 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
14415 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
14416 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
14417 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
14418 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
14419 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
14420 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
14421 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
14422 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
14423 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
14424 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
14425 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
14426 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
14427 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
14428 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
14429 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
14430 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
14431 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
14432 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
14433 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
14434 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
14435 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
14436 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
14437 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
14438 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
14439 (R_ARM_THM_GOT_BREL12): Likewise.
14440 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
14441 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
14442 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
14443 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
14444 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
14445 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
14446 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
14447 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
14448 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
14449
c7b275d6
TS
144502013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14451
14452 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14453 __attribute_used__ to __attribute__ ((unused)).
14454
20cd7fb3
SP
144552013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14456
14457 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
14458 powerpc mpa.c.
14459 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
14460 comment formatting.
14461 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
14462
92945b52
JM
144632013-02-19 Joseph Myers <joseph@codesourcery.com>
14464
14465 [BZ #13550]
14466 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
14467 Remove macro.
14468 (ENTER): Remove both macro definitions.
14469 (LEAVE): Likewise.
14470 (CHECK_BOUNDS_LOW): Likewise.
14471 (CHECK_BOUNDS_HIGH): Likewise.
14472 (CHECK_BOUNDS_BOTH): Likewise.
14473 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
14474 (RETURN_BOUNDED_POINTER): Likewise.
14475 (RETURN_NULL_BOUNDED_POINTER): Likewise.
14476 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
14477 (POP_ERRNO_LOCATION_RETURN): Likewise.
14478 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
14479 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14480 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
14481 macros.
14482 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14483 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
14484 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
14485 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
14486 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
14487 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
14488 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
14489 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
14490 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
14491 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
14492 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
14493 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
14494 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14495 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
14496 removed macros.
14497 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14498 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
14499 macros.
14500 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14501 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
14502 * sysdeps/i386/i586/memset.S (memset): Likewise.
14503 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
14504 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14505 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
14506 macros.
14507 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14508 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
14509 Change uses of L(2) to L(out).
14510 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
14511 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
14512 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
14513 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14514 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
14515 removed macros.
14516 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14517 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
14518 macros.
14519 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14520 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
14521 (RETURN): Do not use macro LEAVE.
14522 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
14523 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
14524 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
14525 * sysdeps/i386/i686/memset.S (memset): Likewise.
14526 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
14527 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
14528 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14529 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
14530 Likewise.
14531 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14532 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
14533 L(1_2) and L(1_3) into L(1).
14534 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14535 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
14536 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14537 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
14538 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14539 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
14540 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
14541 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14542 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
14543 macros.
14544 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
14545 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14546 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
14547 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
14548 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
14549 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14550 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
14551 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
14552 * sysdeps/i386/strcspn.S (strcspn): Likewise.
14553 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
14554 * sysdeps/i386/strrchr.S (strrchr): Likewise.
14555 * sysdeps/i386/strspn.S (strspn): Likewise.
14556 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
14557 conditional code.
14558 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14559 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
14560 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14561 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
14562 L(1_3) into L(1_1).
14563 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
14564 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14565 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
14566 macros.
14567 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14568
2389741a
JJ
145692013-02-19 Jakub Jelinek <jakub@redhat.com>
14570
14571 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
14572 macro.
14573
2016b3cd
SP
145742013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14575
e4f22324
SP
14576 * math/atest-exp.c (exp_mpn): Remove ROUND.
14577 * math/atest-exp2.c (exp_mpn): Likewise.
14578 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
14579
2016b3cd
SP
14580 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
14581 * stdlib/tst-tls-atexit-lib.c: Likewise.
14582 * stdlib/tst-tls-atexit.c: Likewise.
14583
4be9b544
MF
145842013-02-18 Mike Frysinger <vapier@gentoo.org>
14585
14586 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
14587 and __attribute_alloc_size__.
14588
2f62b9ee
MF
145892013-02-18 Mike Frysinger <vapier@gentoo.org>
14590
14591 * include/programs/xmalloc.h: Change __attribute_alloc_size to
14592 __attribute_alloc_size__.
14593 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
14594 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
14595
6ff444c4
MF
145962013-02-18 Mike Frysinger <vapier@gentoo.org>
14597
14598 * include/programs/xmalloc.h: New file.
14599 * catgets/gencat.c: Include it.
14600 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
14601 * elf/pldd.c: Likewise.
14602 * iconv/iconv_charmap.c: Likewise.
14603 * iconv/iconvconfig.c: Likewise.
14604 * iconv/strtab.c: Likewise.
14605 * locale/programs/locale.c: Likewise.
14606 * locale/programs/localedef.h: Likewise.
14607 * locale/programs/simple-hash.c: Likewise.
14608 * nscd/nscd.h: Likewise.
14609 * nss/makedb.c: Likewise.
14610 * sysdeps/generic/ldconfig.h: Likewise.
14611
be179c8a
SP
146122013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14613
ba384f6e
SP
14614 * Versions.def: Add GLIBC_2.18.
14615 * include/link.h (struct link_map): New member l_tls_dtor_count.
14616 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
14617 (__call_tls_dtors): Likewise.
14618 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
14619 __cxa_thread_atexit_impl.
14620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14621 Likewise.
14622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14623 Likewise.
14624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14625 Likewise.
14626 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14627 Likewise.
14628 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14629 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
14630 Likewise.
14631 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
14632 Likewise.
14633 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14634 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
14635 Likewise.
14636 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
14637 (tests): Add test case tst-tls-atexit.
14638 (modules-names): Add shared library for tst-tls-atexit.
85891aca 14639 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
14640 (GLIBC_PRIVATE): Add __call_tls_dtors.
14641 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
14642 for libstdc++.
14643 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
14644 * stdlib/tst-tls-atexit.c: New test case.
14645 * stdlib/tst-tls-atexit-lib.c: New test case.
14646
ffaa74cf 14647 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 14648
be179c8a
SP
14649 * elf/Versions (ld): Add _dl_find_dso_for_object.
14650 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
14651 * elf/dl-open.c (_dl_find_dso_for_object): New function.
14652 (dl_open_worker): Use _dl_find_dso_for_object.
14653 * elf/dl-sym.c (do_sym): Likewise.
14654 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
14655
f78b5caa
AK
146562013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14657
14658 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
14659 Syntactic changes only.
14660 (_dl_runtime_profile): Do a tail-call to the resolved function.
14661
29691210
JM
146622013-02-17 Joseph Myers <joseph@codesourcery.com>
14663
14664 [BZ #13550]
14665 * sysdeps/x86_64/bp-asm.h: Remove file.
14666 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
14667 <bp-sym.h> and <bp-asm.h>.
14668 (__clone): Do not use BP_SYM.
14669 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
14670 <bp-sym.h> and <bp-asm.h>.
14671 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14672 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
14673 "bp-asm.h".
14674 (_setjmp): Do not use BP_SYM.
14675 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
14676 "bp-asm.h".
14677 (setjmp): Do not use BP_SYM.
14678 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
14679 libc_hidden_def.
14680 (mempcpy): Do not use BP_SYM in weak_alias.
14681 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
14682 "bp-asm.h".
14683 (strchr): Do not use BP_SYM.
14684 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
14685 "bp-asm.h".
14686 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
14687 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
14688 (_start): Do not use BP_SYM.
14689 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
14690 "bp-asm.h".
14691 (strcat): Do not use BP_SYM.
14692 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
14693 "bp-asm.h".
14694 (STRCMP): Do not use BP_SYM.
14695 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
14696 "bp-asm.h".
14697 (STRCPY): Do not use BP_SYM.
14698 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
14699 "bp-asm.h".
14700 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
14701 "bp-asm.h".
14702 (FUNCTION): Do not use BP_SYM.
14703 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
14704 weak_alias.
14705 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
14706
f238fd19
AJ
147072013-02-17 Andreas Jaeger <aj@suse.de>
14708
14709 * time/Versions: Sort entries.
14710 * string/Versions: Likewise.
14711 * resolv/Versions: Likewise.
14712 * posix/Versions: Likewise.
14713 * iconv/Versions: Likewise.
14714 * elf/Versions: Likewise.
14715 * wcsmbs/Versions: Likewise.
14716
bd07f23c 147172013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 14718
22af19f9
SP
14719 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
14720 loop termination condition.
14721
4709fe76
SP
14722 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
14723 variable to calculate EZ.
14724 (__sqr): Likewise.
2d0e0f29
SP
14725
14726 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
14727 the lower precision input.
14728
daaa7713
JM
147292013-02-15 Joseph Myers <joseph@codesourcery.com>
14730
14731 [BZ #13550]
14732 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
14733 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
14734 (run-via-rtld-prefix): Do not handle %-bp tests.
14735 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
14736 (all-object-suffixes): Remove .ob.
14737 (bppfx): Remove variable.
14738 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
14739 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
14740 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
14741 [$(build-bounded) = yes] (libtype.ob): Likewise.
14742 * Makerules (elide-routines.ob): Remove variable.
14743 (do-tests-clean): Do not handle *-bp.out.
14744 (common-mostlyclean): Do not handle *-bp and *-bp.out.
14745 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
14746 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
14747 (tests): Do not include $(tests-bp.out).
14748 (xtests): Do not include $(xtests-bp.out).
14749 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
14750 [$(build-bounded) = yes] ($(addprefix
14751 $(objpfx),$(binaries-bounded))): Remove rule.
14752 ($(objpfx)%-bp.out): Remove rule.
14753 * config.make.in (build-bounded): Remove variable.
14754 * crypt/Makefile [$(build-bounded) = yes]
14755 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
14756 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
14757 append to variable.
14758 [$(build-bounded) = yes] (install-lib): Likewise.
14759 [$(build-bounded) = yes] (generated): Likewise.
14760 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
14761 Remove rule.
14762 * intl/Makefile [$(build-bounded) = yes]
14763 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
14764 * math/Makefile [$(build-bounded) = yes]
14765 ($(tests:%=$(objpfx)%-bp): Likewise.
14766 * misc/Makefile [$(build-bounded) = yes]
14767 ($(objpfx)tst-tsearch-bp): Likewise.
14768 * nptl/Makeconfig (bounded-thread-library): Remove variable.
14769 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
14770 Remove dependency.
14771 * string/Makefile (o-objects.ob): Remove variable.
14772 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
14773 (CFLAGS-.ob): Remove variable.
14774 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
14775 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
14776 both definitions of variable.
14777 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
14778 (ASFLAGS-.ob): Remove variable.
14779
e97ed6dd
JM
147802013-02-14 Joseph Myers <joseph@codesourcery.com>
14781
2bdd4ca6
JM
14782 [BZ #13550]
14783 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
14784 Remove __BOUNDED_POINTERS__ from condition.
14785 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
14786 * string/bits/string2.h [!__NO_STRING_INLINES &&
14787 !__BOUNDED_POINTERS__]: Likewise.
14788 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
14789 Likewise.
14790 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
14791 Remove conditional code.
14792 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
14793 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
14794 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
14795 condition.
14796
e97ed6dd
JM
14797 [BZ #13550]
14798 * csu/libc-start.c: Do not include <bp-sym.h>.
14799 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
14800 * elf/dl-open.c: Do not include <bp-sym.h>.
14801 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
14802 * math/fegetenv.c: Do not include <bp-sym.h>.
14803 (fegetenv): Do not use BP_SYM in versioned symbols.
14804 * nptl/sysdeps/pthread/bits/libc-lockP.h
14805 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
14806 <bp-sym.h>.
14807 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14808 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
14809 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14810 (__pthread_mutex_destroy): Likewise.
14811 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14812 (__pthread_mutex_lock): Likewise.
14813 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14814 (__pthread_mutex_trylock): Likewise.
14815 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14816 (__pthread_mutex_unlock): Likewise.
14817 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14818 (__pthread_mutexattr_init): Likewise.
14819 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14820 (__pthread_mutexattr_destroy): Likewise.
14821 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14822 (__pthread_mutexattr_settype): Likewise.
14823 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14824 (__pthread_rwlock_init): Likewise.
14825 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14826 (__pthread_rwlock_destroy): Likewise.
14827 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14828 (__pthread_rwlock_rdlock): Likewise.
14829 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14830 (__pthread_rwlock_tryrdlock): Likewise.
14831 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14832 (__pthread_rwlock_wrlock): Likewise.
14833 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14834 (__pthread_rwlock_trywrlock): Likewise.
14835 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14836 (__pthread_rwlock_unlock): Likewise.
14837 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14838 (__pthread_key_create): Likewise.
14839 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14840 (__pthread_setspecific): Likewise.
14841 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14842 (__pthread_getspecific): Likewise.
14843 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
14844 Likewise.
14845 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14846 (_pthread_cleanup_push_defer): Likewise.
14847 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14848 (_pthread_cleanup_pop_restore): Likewise.
14849 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14850 (pthread_setcancelstate): Likewise.
14851 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
14852 <bp-sym.h>.
14853 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
14854 (memchr): Do not use BP_SYM in weak_alias.
14855 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
14856 (fegetenv): Do not use BP_SYM in versioned symbols.
14857 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
14858 (fesetenv): Do not use BP_SYM in versioned symbols.
14859 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14860 (feupdateenv): Do not use BP_SYM in versioned symbols.
14861 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14862 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14863 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
14864 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
14865 (open64): Do not use BP_SYM in weak_alias.
14866 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
14867 (fegetenv): Do not use BP_SYM in versioned symbols.
14868 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
14869 (fesetenv): Do not use BP_SYM in versioned symbols.
14870 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14871 (feupdateenv): Do not use BP_SYM in versioned symbols.
14872 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
14873 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
14874 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
14875 (feraiseexcept): Do not use BP_SYM in versioned symbols.
14876 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14877 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14878 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
14879 <bp-sym.h>.
14880 (__libc_start_main): Do not use BP_SYM.
14881
d6752ccd
SP
148822013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14883
cb57ce60
SP
14884 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
14885 redundant return line.
14886 (norm): Likewise.
14887 (denorm): Likewise.
14888 (dbl_mp): Likewise.
14889 (sub_magnitudes): Likewise.
14890 (__add): Likewise.
14891 (__sub): Likewise.
14892 (__mul): Likewise.
14893 (__inv): Likewise.
14894 (__dvd): Likewise.
14895 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
14896 (norm): Likewise.
14897 (denorm): Likewise.
14898 (dbl_mp): Likewise.
14899 (sub_magnitudes): Likewise.
14900 (__add): Likewise.
14901 (__sub): Likewise.
14902 (__mul): Likewise.
14903 (__inv): Likewise.
14904 (__dvd): Likewise.
14905
f414520d
SP
14906 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
14907 instead of __mul.
14908 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14909 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
14910 (cc32): Likewise.
14911
d6752ccd
SP
14912 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
14913 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
14914 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
14915 of __mul for squares.
14916 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
14917 function
14918 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
14919 Likewise.
14920 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
14921 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14922
70d9946a
JM
149232013-02-13 Joseph Myers <joseph@codesourcery.com>
14924
14925 [BZ #13550]
14926 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
14927 code.
14928 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
14929 prototype or function definition. Rename ubp_* variables and
14930 parameters. Remove argv definitions conditional on
14931 [__BOUNDED_POINTERS__].
14932 * debug/backtrace.c (__backtrace): Do not use __unbounded.
14933 * elf/dl-runtime.c (_dl_fixup): Likewise.
14934 * include/set-hooks.h (RUN_HOOK): Likewise.
14935 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
14936 definition.
14937 * string/strcpy.c (strcpy): Do not use __unbounded.
14938 * sysdeps/generic/frame.h (struct layout): Likewise.
14939 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
14940 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
14941 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
14942 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
14943 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
14944 (__backtrace): Likewise.
14945 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
14946 use __ptrvalue.
14947 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
14948 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14949 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
14950 Likewise.
14951 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
14952 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
14953 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14954 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14955 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
14956 Do not use __unbounded.
14957 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
14958 Rename __unboundedrlimits parameter to rlimits in prototype.
14959 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
14960 Do not use __unbounded.
14961 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
14962 not use __ptrvalue.
14963 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14964 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
14965 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14966 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
14967 __ptrvalue or __unbounded.
14968 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
14969 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
14970 use __unbounded.
14971 (__new_msgctl): Do not use __ptrvalue.
14972 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
14973 __unbounded.
14974 (__libc_msgrcv): Do not use __ptrvalue.
14975 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
14976 startup_info): Do not use __unbounded.
14977 (__libc_start_main): Likewise. Rename ubp_* variables and
14978 parameters. Remove argv definitions conditional on
14979 [__BOUNDED_POINTERS__].
14980 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
14981 __ptrvalue.
14982 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
14983 use __unbounded.
14984 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
14985 or __ptrvalue.
14986 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
14987 use __unbounded.
14988 (__new_shmctl): Do not use __ptrvalue.
14989 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
14990 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
14991 Likewise.
14992 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
14993 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
14994 (__libc_sigaction): Likewise.
14995 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
14996 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
14997 Likewise.
14998 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14999
cc7834d6
OB
150002013-02-13 Ondřej Bílka <neleai@seznam.cz>
15001
ffb1ec7b 15002 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
15003
15004 * string/mempcpy.c: Implement by calling memcpy.
15005
bdf02814
SP
150062013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15007
c2af38aa
SP
15008 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
15009
4e92d59e
SP
15010 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
15011 evaluation.
15012
909279a5
SP
15013 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
15014 values in the mantissa.
15015
bdf02814
SP
15016 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
15017 minimize writes to Z.
15018 (sub_magnitudes): Simplify code a bit.
15019
cd525923
RM
150202013-02-12 Roland McGrath <roland@hack.frob.com>
15021
15022 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
15023 from the message. The linker prefixes all warnings with that already.
15024
7e2f0d2d
AS
150252013-02-12 Andreas Schwab <schwab@suse.de>
15026
a445af0b
AS
15027 [BZ #15078]
15028 * posix/regexec.c (extend_buffers): Add parameter min_len.
15029 (check_matching): Pass minimum needed length.
15030 (clean_state_log_if_needed): Likewise.
15031 (get_subexp): Likewise.
15032 * posix/Makefile (tests): Add bug-regex34.
15033 (bug-regex34-ENV): Define.
15034 * posix/bug-regex34.c: New file.
15035
7e2f0d2d
AS
15036 [BZ #11561]
15037 * posix/regcomp.c (parse_bracket_exp): When looking up collating
15038 elements compare against the byte sequence of it, not its name.
15039 * posix/Makefile (tests): Add bug-regex35.
15040 (bug-regex35-ENV): Define.
15041 * posix/bug-regex35.c: New file.
15042
a175b684
TV
150432013-02-11 Tom de Vries <tom@codesourcery.com>
15044
15045 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
15046 comment.
15047 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
15048 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
15049 (CHECK_EOL): Add undef.
15050
310998fe 150512013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
15052
15053 * bits/stdlib-bsearch.h: New file.
15054 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 15055 * stdlib/stdlib.h: Likewise.
41eda41d 15056
8ded91fb
RM
150572013-02-11 Roland McGrath <roland@hack.frob.com>
15058
15059 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
15060 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
15061 declaration.
15062 * manual/search.texi (Array Search Function): Add missing const in
15063 lfind prototype.
15064 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
15065 declaration to use rlim_t.
15066 (Basic Scheduling Functions): Remove erroneous const from
15067 sched_getparam prototype. Remove erroneous * from
15068 sched_get_priority_max and sched_get_priority_min prototypes.
15069 (Resource Usage): Fix summary @comment on vtimes to refer to
15070 sys/vtimes.h rather than vtimes.h.
15071 Add missing *s in vtimes prototype.
15072 (Limits on Resources): Fix ulimit prototype to return long int.
15073 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
15074 prototypes to use long int rather than double.
15075 (BSD Random): Fix initstate and setstate to use char *, not void *.
15076 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
15077 prototype to make second argument 'struct aiocb64 *const[]'.
15078 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
15079 (Status of AIO Operations): Remove erroneous const in aio_return and
15080 aio_return64 prototypes.
15081 (Synchronizing I/O): Fix sync prototype to return void.
15082 * manual/startup.texi (Suboptions): Remove an erroneous const in
15083 getsubopt prototype.
15084 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
15085 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
15086 use size_t rather than int.
15087 (Scanning All Users): Likewise for getpwent_r.
15088 (Setting Groups): Add missing const to setgroups prototype.
15089 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
15090 * manual/socket.texi (Host Names): Fix gethostbyaddr and
15091 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
15092 'const void *' rather than 'const char *'.
15093 (Host Address Functions): Likewise for inet_ntop.
15094 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
15095 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
15096 ssize_t for return value.
15097 (Sending Data): Likewise for send, sendto, sendmsg.
15098 (Socket Option Functions): Add a missing const in setsockopt prototype.
15099 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
15100 use wchar_t for the argument.
15101 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
15102 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
15103 take no arguments.
15104 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
15105 double/float/long double for second argument.
15106 Fix return types of significand, significandf, significandl.
15107 * manual/filesys.texi (Setting Permissions): Use mode_t for second
15108 argument in fchmod prototype.
15109 (File Owner): Use uid_t and gid_t in fchown prototype.
15110 (File Times): Add const to utimes, futimes, and lutimes prototypes.
15111 (Making Special Files): Use mode_t and dev_t in mknod prototype.
15112 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
15113 use 'const struct dirent **' as argument types to CMP function pointer
15114 argument.
15115 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
15116 (File Times): Fix summary magic @comment for struct utimbuf and utime
15117 to refer to utime.h, not time.h.
15118 * manual/string.texi (Argz Functions): Add missing const in
15119 argz_extract and argz_next prototypes.
15120 (Finding Tokens in a String): Likewise for basename.
15121 (String/Array Comparison): Fix typo in wcscasecmp prototype.
15122 (Copying and Concatenation): Fix typo in wmemmove prototype.
15123 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
15124 (Signal Stack): Remove erroneous const in sigstack prototype.
15125 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
15126 prototype.
15127 (Simple Calendar Time): Likewise for stime.
15128 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
15129 prototype.
15130 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
15131 say sys/sysctl.h instead.
15132 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
15133 and vsyslog prototypes.
15134
fe77fe6d
TV
151352013-02-11 Tom de Vries <tom@codesourcery.com>
15136
15137 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
15138 Remove.
15139
3a09b620
RM
151402013-02-11 Roland McGrath <roland@hack.frob.com>
15141
15142 * misc/sys/mman.h: Fix typo in mremap comment.
15143
550a0b89
RM
151442013-02-08 Roland McGrath <roland@hack.frob.com>
15145
15146 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
15147 the '\0' terminator.
15148
a2da1673
JM
151492013-02-08 Joseph Myers <joseph@codesourcery.com>
15150
15151 [BZ #13550]
15152 * debug/segfault.c: Don't include <bp-checks.h>.
15153 * sysdeps/generic/bp-checks.h: Remove file.
15154 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
15155 (__GETDENTS): Don't use CHECK_N.
15156 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
15157 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
15158 (__getgroups): Don't use CHECK_N.
15159 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
15160 (setgroups): Don't use CHECK_N.
15161 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
15162 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
15163 (__libc_msgrcv): Don't use CHECK_N.
15164 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
15165 (__libc_msgsnd): Don't use CHECK_N.
15166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
15167 <bp-checks.h>.
15168 (__libc_pread): Don't use CHECK_N.
15169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
15170 include <bp-checks.h>.
15171 (__libc_pread64): Don't use CHECK_N.
15172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
15173 include <bp-checks.h>.
15174 (__libc_pwrite): Don't use CHECK_N.
15175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
15176 include <bp-checks.h>.
15177 (__libc_pwrite64): Don't use CHECK_N.
15178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
15179 <bp-checks.h>.
15180 (__libc_pread): Don't use CHECK_N.
15181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
15182 include <bp-checks.h>.
15183 (__libc_pread64): Don't use CHECK_N.
15184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
15185 include <bp-checks.h>.
15186 (__libc_pwrite): Don't use CHECK_N.
15187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
15188 include <bp-checks.h>.
15189 (__libc_pwrite64): Don't use CHECK_N.
15190 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
15191 (do_pread): Don't use CHECK_N.
15192 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
15193 (do_pread64): Don't use CHECK_N.
15194 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
15195 (do_pwrite): Don't use CHECK_N.
15196 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
15197 (do_pwrite64): Don't use CHECK_N.
15198 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
15199 (__libc_readv): Don't use CHECK_N.
15200 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
15201 (semop): Don't use CHECK_N.
15202 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
15203 <bp-checks.h>.
15204 (semtimedop): Don't use CHECK_N.
15205 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
15206 (__libc_pread): Don't use CHECK_N.
15207 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
15208 <bp-checks.h>.
15209 (__libc_pread64): Don't use CHECK_N.
15210 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
15211 <bp-checks.h>.
15212 (__libc_pwrite): Don't use CHECK_N.
15213 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
15214 <bp-checks.h>.
15215 (__libc_pwrite64): Don't use CHECK_N.
15216 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
15217 <bp-checks.h>.
15218 (__libc_msgrcv): Don't use CHECK_N.
15219 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
15220 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
15221 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
15222 (__libc_writev): Don't use CHECK_N.
15223
b84660a8
RM
152242013-02-08 Roland McGrath <roland@hack.frob.com>
15225
7f3e75f8
RM
15226 * string/strcpy.c: Removed unused variable.
15227
b84660a8
RM
15228 * Makeconfig (+sysdep-includes): Define with := rather than =.
15229 Use an existing include/ subdir of each sysdeps dir before it.
15230
471514d3
CD
152312013-02-08 Carlos O'Donell <carlos@redhat.com>
15232
15233 * nscd/connection.c (register_traced_file): Comment function.
15234 [HAVE_INOTIFY] (union __inev): Define.
15235 [HAVE_INOTIFY] (inotify_check_files): New function.
15236 [HAVE_INOTIFY] (clear_db_cache): Likewise.
15237 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
15238 clear_db_cache.
15239 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
15240
b2d3c3be
CD
152412013-02-08 Carlos O'Donell <carlos@redhat.com>
15242
15243 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
15244 loaded if not already and that a failure is permanent.
15245
b39949d2
CD
152462013-02-08 Carlos O'Donell <carlos@redhat.com>
15247
ddacd1db 15248 [BZ #15006]
b39949d2
CD
15249 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
15250 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
15251
b2c9eff4
JM
152522013-02-08 Joseph Myers <joseph@codesourcery.com>
15253
f3aae3f3
JM
15254 [BZ #13550]
15255 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
15256 (CHECK_1_NULL_OK): Likewise.
15257 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
15258 (__fxstat): Do not use CHECK_1.
15259 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
15260 <bp-checks.h>.
15261 (___fxstat64): Do not use CHECK_1.
15262 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15263 <bp-checks.h>.
15264 (__fxstatat): Do not use CHECK_1.
15265 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15266 <bp-checks.h>.
15267 (__fxstatat64): Do not use CHECK_1.
15268 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
15269 <bp-checks.h>.
15270 (__fxstat): Do not use CHECK_1.
15271 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15272 <bp-checks.h>.
15273 (__fxstatat): Do not use CHECK_1.
15274 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15275 <bp-checks.h>.
15276 (__getresgid): Do not use CHECK_1.
15277 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15278 <bp-checks.h>.
15279 (__getresuid): Do not use CHECK_1.
15280 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
15281 <bp-checks.h>.
15282 (__lxstat): Do not use CHECK_1.
15283 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15284 <bp-checks.h>.
15285 (__old_msgctl): Do not use CHECK_1.
15286 (__new_msgctl): Likewise.
15287 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
15288 <bp-checks.h>.
15289 (__new_setrlimit): Do not use CHECK_1.
15290 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15291 <bp-checks.h>.
15292 (__old_shmctl): Do not use CHECK_1.
15293 (__new_shmctl): Likewise.
15294 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
15295 <bp-checks.h>.
15296 (__xstat): Do not use CHECK_1.
15297 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
15298 (__lxstat): Do not use CHECK_1.
15299 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
15300 <bp-checks.h>.
15301 (___lxstat64): Do not use CHECK_1.
15302 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
15303 (__old_msgctl): Do not use CHECK_1.
15304 (__new_msgctl): Likewise.
15305 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
15306 <bp-checks.h>.
15307 (__gettimeofday): Do not use CHECK_1.
15308 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
15309 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
15310 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
15311 <bp-checks.h>.
15312 (__gettimeofday): Do not use CHECK_1.
15313 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
15314 (__old_shmctl): Do not use CHECK_1_NULL_OK.
15315 (__new_shmctl): Do not use CHECK_1.
15316 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
15317 <bp-checks.h>.
15318 (do_sigtimedwait): Do not use CHECK_1.
15319 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
15320 <bp-checks.h>.
15321 (do_sigwaitinfo): Do not use CHECK_1.
15322 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
15323 <bp-checks.h>.
15324 (msgctl): Do not use CHECK_1.
15325 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
15326 <bp-checks.h>.
15327 (shmctl): Do not use CHECK_1.
15328 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
15329 (ustat): Do not use CHECK_1.
15330 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
15331 <bp-checks.h>.
15332 (__fxstat): Do not use CHECK_1.
15333 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15334 <bp-checks.h>.
15335 (__fxstatat): Do not use CHECK_1.
15336 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
15337 <bp-checks.h>.
15338 (__lxstat): Do not use CHECK_1.
15339 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
15340 <bp-checks.h>.
15341 (__xstat): Do not use CHECK_1.
15342 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
15343 (__xstat): Do not use CHECK_1.
15344 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
15345 (___xstat64): Do not use CHECK_1.
15346
b2c9eff4
JM
15347 [BZ #13550]
15348 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
15349 definitions.
15350 (CHECK_BOUNDS_HIGH): Likewise.
15351 * string/strcpy.c: Do not include <bp-checks.h>.
15352 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
15353
f1d70dad
RM
153542013-02-07 Roland McGrath <roland@hack.frob.com>
15355
15356 * nscd/nscd-client.h (__nscd_drop_map_ref):
15357 Add __attribute__ ((unused)).
15358 * nis/nss-nisplus.h (niserr2nss): Likewise.
15359
15360 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
15361 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
15362
15363 * csu/libc-tls.c (init_static_tls, init_slotinfo):
15364 Remove inline keyword.
15365 * include/rounding-mode.h (round_away): Likewise.
15366 * libio/wfileops.c (adjust_wide_data): Likewise.
15367 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
15368 (__m128i_strloadu_tolower): Likewise.
15369 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
15370 (__m128i_strloadu_tolower): Likewise.
15371 * time/mktime.c (ydhms_diff): Likewise.
15372 * locale/elem-hash.h (elem_hash): Likewise.
15373 * locale/setlocale.c (setdata): Likewise.
15374 * posix/regex_internal.h (re_string_char_size_at): Likewise.
15375 (re_string_wchar_at): Likewise.
15376 (bitset_not, bitset_merge, bitset_mask): Likewise.
15377 [!(__GNUC__ > 3)] (inline): Remove macro.
15378 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
15379 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
15380 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
15381 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
15382 * string/memcmp.c (memcmp_bytes): Likewise.
15383 * locale/programs/locarchive.c (compute_hashval): Likewise.
15384 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
15385 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
15386 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
15387 * nss/getent.c (print_rpc, print_protocols): Likewise.
15388 (print_passwd, print_group, print_aliases): Likewise.
15389 * nis/nss-nisplus.h (niserr2nss): Likewise.
15390 * nscd/connections.c (restart_p): Likewise.
15391 Change return type to bool.
15392
eab55bfb
RM
153932013-02-05 Roland McGrath <roland@hack.frob.com>
15394
7bd642f5
RM
15395 * Makeconfig (all-Depend-files): Add existing
15396 $(sorted-subdirs:=/Depend) files.
15397 (all-subdirs): Remove nss.
15398 * sysdeps/unix/inet/Subdirs: Add it here instead.
15399 * hesiod/Depend: New file.
15400
573c29b2
RM
15401 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
15402 instead of calling alloca.
15403
b2e25af0
RM
15404 * io/lseek.c (__lseek): Rename to __libc_lseek.
15405 Define __lseek as an alias.
15406
eab55bfb
RM
15407 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
15408
9a0d1941
CD
154092013-02-04 Carlos O'Donell <carlos@redhat.com>
15410
15411 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
15412 else clause and remove check for non-standard endianness.
15413
b83bbec4
DM
154142013-02-04 David S. Miller <davem@davemloft.net>
15415
15416 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15417
6277fdab
JM
154182013-02-04 Joseph Myers <joseph@codesourcery.com>
15419
15420 [BZ #13550]
15421 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
15422 (__ubp_memchr): Remove prototype.
15423 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
15424 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15425 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
15426 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15427 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
15428 Remove alias.
15429 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
15430 (__ubp_memchr): Likewise.
15431 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
15432 (__ubp_memchr): Likewise.
15433 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
15434 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
15435 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
15436 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
15437 CHECK_STRING.
15438 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15439 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
15440 (__getcwd): Do not use CHECK_STRING.
15441 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15442 <bp-checks.h>.
15443 (__real_chown): Do not use CHECK_STRING.
15444 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
15445 <bp-checks.h>.
15446 (fchownat): Do not use CHECK_STRING.
15447 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
15448 CHECK_STRING.
15449 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15450 <bp-checks.h>.
15451 (__lchown): Do not use CHECK_STRING.
15452 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15453 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15454 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15455 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
15456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15457 include <bp-checks.h>.
15458 (truncate64): Do not use CHECK_STRING.
15459 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15460 <bp-checks.h>.
15461 (__real_chown): Do not use CHECK_STRING.
15462 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15463 <bp-checks.h>.
15464 (__lchown): Do not use CHECK_STRING.
15465 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15466 <bp-checks.h>.
15467 (__chown): Do not use CHECK_STRING.
15468 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
15469 <bp-checks.h>.
15470 (truncate64): Do not use CHECK_STRING.
15471 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
15472 Likewise.
15473 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
15474 (__xmknod): Do not use CHECK_STRING.
15475 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15476 <bp-checks.h>.
15477 (__xmknodat): Do not use CHECK_STRING.
15478 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15479 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
15480
903ae060
AS
154812013-02-04 Andreas Schwab <schwab@suse.de>
15482
15483 [BZ #14142]
15484 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
15485 * include/netdb.h: Likewise for h_errno.
15486 * elf/tst-stackguard1.c: Include <tls.h>.
15487
542f9466
JK
154882013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15489
15490 * elf/link.h (struct link_map): Extend the l_addr comment.
15491 * include/link.h (struct link_map): Likewise.
15492
e782a927
JM
154932013-02-01 Joseph Myers <joseph@codesourcery.com>
15494
15495 [BZ #13550]
15496 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
15497 (BOUNDED_1): Remove macro.
15498 * debug/backtrace.c: Don't include <bp-checks.h>.
15499 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
15500 (__backtrace): Likewise.
15501 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
15502 <bp-checks.h>.
15503 (__backtrace): Don't use BOUNDED_1.
15504 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
15505 <bp-checks.h>.
15506 (__backtrace): Don't use BOUNDED_1.
15507 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
15508 (__backtrace): Don't use BOUNDED_1.
15509 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
15510 (shmat): Don't use BOUNDED_N.
15511
8cf28c5e
JM
155122013-01-31 Joseph Myers <joseph@codesourcery.com>
15513
3a7ac8a0
JM
15514 [BZ #13550]
15515 * sysdeps/generic/bp-start.h: Remove file.
15516 * csu/libc-start.c: Don't include <bp-start.h>.
15517 (LIBC_START_MAIN): Set up __environ directly instead of using
15518 INIT_ARGV_and_ENVIRON.
15519 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
15520 <bp-start.h>.
15521
f3499f95
JM
15522 [BZ #13550]
15523 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
15524 definitions.
15525 (CHECK_FCNTL): Likewise.
15526 (CHECK_N_PAGES): Likewise.
15527
32a45bea
JM
15528 [BZ #13550]
15529 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
15530 definitions.
15531 (CHECK_SIGSET_NULL_OK): Likewise.
15532 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
15533 <bp-checks.h>.
15534 (sigpending): Don't use CHECK_SIGSET.
15535 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
15536 <bp-checks.h>.
15537 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15538 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
15539 <bp-checks.h>.
15540 (do_sigsuspend): Don't use CHECK_SIGSET.
15541 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
15542 use CHECK_SIGSET.
15543 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
15544 (do_sigwait): Don't use CHECK_SIGSET.
15545 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
15546 use CHECK_SIGSET.
15547 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
15548 include <bp-checks.h>.
15549 (sigpending): Don't use CHECK_SIGSET.
15550 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
15551 include <bp-checks.h>.
15552 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15553 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
15554 <bp-checks.h>.
15555 (sigpending): Don't use CHECK_SIGSET.
15556 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
15557 <bp-checks.h>.
15558 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15559
2e8a5c8c
JM
15560 [BZ #13550]
15561 * sysdeps/generic/bp-semctl.h: Remove file.
15562 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
15563 <bp-checks.h> and <bp-semctl.h>.
15564 (__old_semctl): Don't use CHECK_SEMCTL.
15565 (__new_semctl): Likewise.
15566 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
15567 and <bp-semctl.h>.
15568 (__old_semctl): Don't use CHECK_SEMCTL.
15569 (__new_semctl): Likewise.
15570 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
15571 <bp-checks.h> and <bp-semctl.h>.
15572 (__old_semctl): Don't use CHECK_SEMCTL.
15573 (__new_semctl): Likewise.
15574 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
15575 <bp-checks.h> and <bp-semctl.h>.
15576 (semctl): Don't use CHECK_SEMCTL.
15577
c2d54929
JM
15578 [BZ #13550]
15579 * Makerules (elide-bp-thunks): Remove variable.
15580 (elide-routines.oS): Don't use $(elide-bp-thunks).
15581 (elide-routines.os): Likewise.
15582 (elide-routines.o): Likewise.
15583 (elide-routines.op): Likewise.
15584 (elide-routines.og): Likewise.
15585 (objects): Don't use $(bp-thunks).
15586 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
15587 include.
15588 (common-generated): Do not add s-proto-bp.d.
15589 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
15590 (int): Likewise.
15591 (typ): Likewise.
15592 Do not generate makefile rules for bounded-pointer thunks.
15593 * sysdeps/generic/bp-thunks.h: Remove file.
15594 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
15595 * sysdeps/unix/s-proto-bp.S: Likewise.
15596
8cf28c5e
JM
15597 [BZ #15062]
15598 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
15599 parts of result separately when argument is not close to line from
15600 -i to i and one part of argument is small.
15601 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15602 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15603 * math/libm-test.inc (cacos_test): Add more tests.
15604 (casin_test): Likewise.
15605 (casinh_test): Likewise.
15606 * sysdeps/i386/fpu/libm-test-ulps: Update.
15607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15608
c4e33b8d
DM
156092013-01-31 David S. Miller <davem@davemloft.net>
15610
15611 * po/de.po: Update from translation team.
15612
3b60b421
MK
156132013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
15614
15615 * time/tzfile.c: Include stdint.h for SIZE_MAX.
15616
bb931195
TS
156172013-01-25 Thomas Schwinge <thomas@codesourcery.com>
15618
b5a5da23
TS
15619 * configure.in (_AC_PROG_CC_C89): New definition.
15620 * configure: Regenerate.
15621
bb931195
TS
15622 * configure.in (AC_PROG_CPP): New definition.
15623 * configure: Regenerate.
15624
8c53a12c
JM
156252013-01-23 Joseph Myers <joseph@codesourcery.com>
15626
15627 * debug/tst-backtrace.h: New file.
15628 * debug/tst-backtrace2.c: Include tst-backtrace.h.
15629 (ret): Remove variable.
15630 (x): Likewise.
15631 (FAIL): Remove macro.
15632 (NO_INLINE): Likewise.
15633 (fn1): Use match function instead of strstr.
15634 * debug/tst-backtrace3.c: Include tst-backtrace.h.
15635 (ret): Remove variable.
15636 (x): Likewise.
15637 (FAIL): Remove macro.
15638 (NO_INLINE): Likewise.
15639 (fn): Use match function instead of strstr.
15640 * debug/tst-backtrace4.c: Include tst-backtrace.h.
15641 (ret): Remove variable.
15642 (x): Likewise.
15643 (FAIL): Remove macro.
15644 (NO_INLINE): Likewise.
15645 (handle_signal): Use match function instead of strstr.
15646 * debug/tst-backtrace5.c: Include tst-backtrace.h.
15647 (ret): Remove variable.
15648 (x): Likewise.
15649 (FAIL): Remove macro.
15650 (NO_INLINE): Likewise.
15651 (handle_signal): Use match function instead of strstr.
15652
4858fa2a
RM
156532013-01-23 Roland McGrath <roland@hack.frob.com>
15654
15655 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
15656
bae8e7f5
DM
156572013-01-23 David S. Miller <davem@davemloft.net>
15658
15659 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
15660 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
15661 argument of CAS if possible.
15662 * sysdeps/sparc/sparc64/bits/atomic.h
15663 (__arch_compare_and_exchange_val_32_acq): Likewise.
15664 (__arch_compare_and_exchange_val_64_acq): Likewise.
15665
9cbbc4ae
PT
156662013-01-23 Pino Toscano <toscano.pino@tiscali.it>
15667
15668 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
15669 * sysdeps/posix/ulimit.c: ... this.
92a601b8 15670 Include <limits.h>.
67b3f58c 15671 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 15672
5655a0b5
AC
156732013-01-23 Adam Conrad <adconrad@0c3.net>
15674
15675 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
15676 (LDFLAGS-tst-array5): Likewise.
15677
052aff95
JM
156782013-01-23 Joseph Myers <joseph@codesourcery.com>
15679
15680 [BZ #15036]
15681 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
15682 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
15683 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
15684 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
15685
7c1e01aa
DM
156862013-01-21 David S. Miller <davem@davemloft.net>
15687
15688 * sysdeps/sparc/backtrace.c: New file.
15689 * sysdeps/sparc/sparc32/backtrace.h: New file.
15690 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
15691 * sysdeps/sparc/sparc64/backtrace.h: New file.
15692 * sysdeps/sparc/sparc64/backtrace.c: Delete.
15693 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
15694 -funwind-tables.
15695
ab087e0a
AS
156962013-01-21 Andreas Schwab <schwab@suse.de>
15697
15698 [BZ #15020]
15699 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
15700 closed its stdout.
15701
ed689c2f
AS
157022013-01-20 Andreas Schwab <schwab@linux-m68k.org>
15703
15704 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
15705 "mpa2.h".
15706 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15707
31d470ac
JM
157082013-01-18 Joseph Myers <joseph@codesourcery.com>
15709 Mark Mitchell <mark@codesourcery.com>
15710 Tom de Vries <tom@codesourcery.com>
15711 Paul Pluzhnikov <ppluzhnikov@google.com>
15712
15713 * debug/tst-backtrace2.c: New file.
15714 * debug/tst-backtrace3.c: Likewise.
15715 * debug/tst-backtrace4.c: Likewise.
15716 * debug/tst-backtrace5.c: Likewise.
15717 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
15718 (CFLAGS-tst-backtrace3.c): Likewise.
15719 (CFLAGS-tst-backtrace4.c): Likewise.
15720 (CFLAGS-tst-backtrace5.c): Likewise.
15721 (LDFLAGS-tst-backtrace2): Likewise.
15722 (LDFLAGS-tst-backtrace3): Likewise.
15723 (LDFLAGS-tst-backtrace4): Likewise.
15724 (LDFLAGS-tst-backtrace5): Likewise.
15725 (tests): Add new tests tst-backtrace2, tst-backtrace3,
15726 tst-backtrace4 and tst-backtrace5.
15727
90567f30 157282013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
15729 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15730
15731 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
15732 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
15733 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
15734 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
15735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15736 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
15737 "+r" and remove output regs list as redundant. Add explicit inline
15738 asm to specify register of return val to work around compiler codegen
15739 bug. Remove (int) cast on return value. Add return type parameter to
15740 use in macro so that this macro does not truncate return value for
15741 64-bit values.
15742 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
15743 pass to INTERNAL_VSYSCALL_NCS.
15744 (INLINE_VSYSCALL): Add 'long int' as return type to
15745 INTERNAL_VSYSCALL_NCS macro invocation.
15746 (INTERNAL_VSYSCALL): Add 'long int' as return type to
15747 INTERNAL_VSYSCALL_NCS macro invocation.
15748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15749
d3b9ea61
SP
157502013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15751
0b57daeb
SP
15752 [BZ #14496]
15753 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
15754 Fix application of SIMD FP exception mask.
15755
caa99d06
SP
15756 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
15757 mp_no from a power of two.
15758 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
15759 __mpexp_twomm1. Use __pow_mp.
15760
d3b9ea61
SP
15761 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
15762 multiplication.
15763
1dbaee3c
DM
157642013-01-17 David S. Miller <davem@davemloft.net>
15765
15766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15767
728d7b43
JM
157682013-01-17 Joseph Myers <joseph@codesourcery.com>
15769
15770 [BZ #15023]
15771 * include/complex.h: Condition contents on [!_COMPLEX_H].
15772 (__kernel_casinhf): New prototype.
15773 (__kernel_casinh): Likewise.
15774 (__kernel_casinhl): Likewise.
15775 * math/Makefile (libm_calls): Add k_casinh.
15776 * math/k_casinh.c: New file.
15777 * math/k_casinhf.c: Likewise.
15778 * math/k_casinhl.c: Likewise.
15779 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
15780 finite nonzero arguments.
15781 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
15782 finite nonzero arguments.
15783 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
15784 finite nonzero arguments.
15785 * math/s_casinh.c: Do not include <float.h>.
15786 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
15787 * math/s_casinhf.c: Do not include <float.h>.
15788 (__casinhf): Move code for finite nonzero arguments to
15789 k_casinhf.c.
15790 * math/s_casinhl.c: Do not include <float.h>.
15791 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
15792 redefine.
15793 (__casinhl): Move code for finite nonzero arguments to
15794 k_casinhl.c.
15795 * math/libm-test.inc (cacos_test): Add more tests.
15796 * sysdeps/i386/fpu/libm-test-ulps: Update.
15797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15798
2a26ef3a
PT
157992013-01-17 Pino Toscano <toscano.pino@tiscali.it>
15800
15801 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
15802 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
15803 [!HAVE_MREMAP]: Remove [defined linux] case.
15804 * malloc/arena.c: Do not include <malloc-sysdep.h>.
15805
a897655d
SP
158062013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15807
15808 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
15809
881ebe89 158102013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
15811
15812 * elf/elf.h (R_386_SIZE32): New relocation.
15813 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
15814 R_386_SIZE32.
15815 (elf_machine_rela): Likewise.
15816 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15817 R_X86_64_SIZE64 and R_X86_64_SIZE32.
15818
59981e9b
JM
158192013-01-17 Joseph Myers <joseph@codesourcery.com>
15820
15821 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
15822 (FP_FAST_FMA): Do not define.
15823 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
15824 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
15825 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
15826 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
15827 !_SOFT_FLOAT]: Likewise.
15828 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
15829 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
15830 value.
15831 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
15832 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
15833 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
15834 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
15835 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
15836 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
15837 file.
15838
cfa8054f
AS
158392013-01-16 Andreas Schwab <schwab@suse.de>
15840
15841 [BZ #14327]
15842 * include/stdlib.h (__mktemp): Add declaration.
15843 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
15844 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
15845
dd930cc5
SP
158462013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15847
881ebe89
SP
15848 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
15849 definitions.
15850 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15851 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
15852 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
15853 definitions here.
15854 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
15855 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
15856 definitions.
15857 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
15858 and ONE.
15859 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
15860 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
15861 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
15862 definitions.
15863 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
15864 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
15865 definitions.
15866 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 15867
dd930cc5
SP
15868 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
15869
c19a9f89
DM
158702013-01-15 David S. Miller <davem@davemloft.net>
15871
1aa61767
DM
15872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15873 trunc{,f} to libm-sysdep_routes.
15874 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
15876 file.
15877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
15878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
15879 file.
15880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
15881 file.
15882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
15883 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
15884 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
15885 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
15886 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
15887 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
15888 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
15889 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
15890
c42d5e98
DM
15891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15892 nearbyint{,f} to libm-sysdep_routes.
15893 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
15895 New file.
15896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
15897 file.
15898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
15899 New file.
15900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
15901 file.
15902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
15903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
15904 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
15905 file.
15906 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
15907 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
15908 file.
15909 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
15910 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
15911 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
15912
c19a9f89
DM
15913 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15914 libc_feholdexcept and libc_fesetenv.
15915
357679d2
MF
159162013-01-15 Mike Frysinger <vapier@gentoo.org>
15917
15918 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
15919
65a82e3d
DM
159202013-01-14 David S. Miller <davem@davemloft.net>
15921
8b954ab9
DM
15922 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
15923 (SPARC_ASM_VIS2_IFUNC): Likewise.
15924 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
15925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
15926 use of 'siam' instruction.
15927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
15928 Likewise.
15929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
15930 Likewise.
15931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
15932 Likewise.
15933 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
15934 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15935 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
15936 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
15937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
15938 file.
15939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
15940 file.
15941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
15942 file.
15943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
15944 file.
15945 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
15946 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
15947 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
15948 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
15949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
15950 new VIS2 routines.
15951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15954 Likewise.
15955 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15956 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15957 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15958 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
15960 routines to libm-sysdep_routines.
15961 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15962
65a82e3d
DM
15963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15964 fdim/fdimf to libm-sysdep_routines.
15965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
15966 file.
15967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
15968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
15969 file.
15970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
15971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
15972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
15973 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
15974 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
15975 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
15976 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
15977
e34ab705
SP
159782013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15979
2a91b573
SP
15980 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
15981 to optimize copies.
15982
1066a534
SP
15983 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
15984 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15985 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15986
e34ab705
SP
15987 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
15988 local variable MPTWO.
15989 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
15990 Likewise.
15991
aba5e596
MF
159922013-01-13 Mike Frysinger <vapier@gentoo.org>
15993
15994 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
15995 GLOB_NOESCAPE.
15996
e557e9e5
MF
159972013-01-13 Mike Frysinger <vapier@gentoo.org>
15998
15999 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
16000
0428cec9
MF
160012013-01-13 Mike Frysinger <vapier@gentoo.org>
16002
16003 * manual/pattern.texi (glob_t): Document gl_flags.
16004 (glob64_t): Likewise.
16005
8794a964
DM
160062013-01-11 David S. Miller <davem@davemloft.net>
16007
66438c3f
RM
16008 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
16009 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
16010 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
16011 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
16012 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
16013 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
16014 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
16015 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
16016 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
16017 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
16018 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
16019 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
16020 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
16021
4ae4244d
DM
16022 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
16023 sparc V9 rather than using V8 code.
16024 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16025 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16026
8794a964
DM
16027 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16028 Move to...
16029 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
16030 Here.
16031
6270516e
RM
160322013-01-11 Roland McGrath <roland@hack.frob.com>
16033
16034 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
16035 not in the main loop.
16036 * configure: Regenerated.
16037
6a57d931
JM
160382013-01-11 Joseph Myers <joseph@codesourcery.com>
16039
16040 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
16041 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
16042 to just #else.
16043 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
16044 [!__GLIBC_HAVE_LONG_LONG] case.
16045 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
16046 condition to just #else.
16047 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
16048 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
16049 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
16050 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
16051 unconditional.
16052 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
16053 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
16054 #elif condition to just #else.
16055 * sysdeps/unix/sysv/linux/sys/sysmacros.h
16056 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
16057 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
16058 #elif condition to just #else.
16059
0e8529e9
SE
160602013-01-11 Steve Ellcey <sellcey@mips.com>
16061
16062 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
16063 (EF_MIPS_ARCH_64): Fix value.
16064 (EF_MIPS_ARCH_32R2): New.
16065 (EF_MIPS_ARCH_64R2): New.
16066
740b3dbe
L
160672013-01-11 H.J. Lu <hongjiu.lu@intel.com>
16068
16069 * Makeconfig (+link-pie-before-libc): New.
16070 (+link-pie-after-libc): Likewise.
16071 (+link-pie-tests): Likewise.
16072 (+link-pie): Rewritten.
16073 (link-before-libc): Remove $(config-LDFLAGS).
16074 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
16075 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
16076 (config-LDFLAGS): Renamed to ...
16077 (rtld-LDFLAGS): This.
16078 (rtld-tests-LDFLAGS): New macro.
16079 (link-libc-rpath-link): Likewise.
16080 (link-libc-tests-rpath-link): Likewise.
16081 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
16082 (link-libc): Prepand $(link-libc-rpath-link).
16083 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
16084 (test-program-prefix): New macro.
16085 (test-via-rtld-prefix): Likewise.
16086 (test-program-cmd): Likewise.
16087 (host-test-program-cmd): Likewise.
16088 * Makefile ($(common-objpfx)testrun.sh): Replace
16089 $(run-program-prefix) with $(test-program-prefix).
16090 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
16091 $(rtld-LDFLAGS).
16092 ($(common-objpfx)shlib.lds): Likewise.
16093 (build-module-helper): Likewise.
16094 ($(common-objpfx)format.lds): Likewise.
16095 * Rules (binaries-pie-tests): New.
16096 (binaries-pie-notests): Likewise.
16097 (binaries-pie): Rewritten.
16098 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
16099 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
16100 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
16101 (make-test-out): Replace $(host-built-program-cmd) with
16102 $(host-test-program-cmd).
16103 * config.make.in (build-hardcoded-path-in-tests): New variable.
16104 * configure.in (--enable-hardcoded-path-in-tests): New configure
16105 option.
16106 (hardcoded_path_in_tests): New AC_SUBST.
16107 * configure: Regenerated.
16108 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
16109 $(built-program-cmd) with $(test-program-cmd).
16110 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
16111 (test_program_cmd): This.
16112 * elf/Makefile ($(objpfx)order.out): Run test with
16113 $(test-program-prefix).
16114 ($(objpfx)order2.out): Likewise.
16115 ($(objpfx)tst-initorder.out): Likewise.
16116 ($(objpfx)tst-initorder2.out): Likewise.
16117 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
16118 $(test-program-cmd).
16119 ($(objpfx)tst-array1-static.out): Likewise.
16120 ($(objpfx)tst-array2.out): Likewise.
16121 ($(objpfx)tst-array3.out): Likewise.
16122 ($(objpfx)tst-array4.out): Likewise.
16123 ($(objpfx)tst-array5.out): Likewise.
16124 ($(objpfx)tst-array5-static.out): Likewise.
16125 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
16126 $(test-program-cmd).
16127 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
16128 $(run-program-prefix) with $(test-program-prefix).
16129 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
16130 (test_program_prefix): This.
16131 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
16132 $(run-program-prefix) with $(test-program-prefix).
16133 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
16134 (test_program_prefix): This.
16135 * iconvdata/tst-tables.sh: Likewise.
16136 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
16137 $(run-program-prefix) with $(test-program-prefix).
16138 ($(objpfx)tst-translit.out): Likewise.
16139 ($(objpfx)tst-gettext2.out): Likewise.
16140 ($(objpfx)tst-gettext4.out): Likewise.
16141 ($(objpfx)tst-gettext6.out): Likewise.
16142 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
16143 (test_program_prefix): This.
16144 * intl/tst-gettext2.sh: Likewise.
16145 * intl/tst-gettext4.sh Likewise.
16146 * intl/tst-gettext6.sh: Likewise.
16147 * intl/tst-translit.sh: Likewise.
16148 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
16149 with $(test-program-cmd).
16150 * libio/Makefile ($(objpfx)test-freopen.out): Replace
16151 $(run-program-prefix) with $(test-program-prefix).
16152 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
16153 (test_program_prefix): This.
16154 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
16155 $(run-program-prefix) with $(test-program-prefix).
16156 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
16157 (test_program_prefix): This.
16158 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
16159 * posix/Makefile ($(objpfx)globtest.out): Replace
16160 $(run-via-rtld-prefix) and $(test-wrapper) with
16161 $(test-program-prefix) and $(test-via-rtld-prefix).
16162 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
16163 $(test-program-prefix).
16164 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
16165 $(host-test-program-cmd).
16166 (tst-spawn-ARGS): Likewise.
16167 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
16168 $(test-program-prefix).
16169 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
16170 (test_via_rtld_prefix): This.
16171 (test_wrapper): Renamed to ...
16172 (test_program_prefix): This.
16173 (run_program_prefix): Replaced by test_program_prefix.
16174 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
16175 (test_program_prefix): This.
16176 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
16177 with $(host-test-program-cmd).
16178 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
16179 $(run-program-prefix) with $(test-program-prefix).
16180 ($(objpfx)tst-printf.out): Likewise.
16181 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
16182 $(test-program-cmd).
16183 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
16184 (test_program_prefix): This.
16185 * stdio-common/tst-unbputc.sh: Likewise.
16186 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
16187 $(run-program-prefix) with $(test-program-prefix).
16188 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
16189 (test_program_prefix): This.
16190 * string/Makefile ($(objpfx)tst-svc.out): Replace
16191 $(built-program-cmd) with $(test-program-cmd).
16192
c6fe55cf
AJ
161932013-01-11 Andreas Jaeger <aj@suse.de>
16194
16195 [BZ #15003]
16196 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
16197 value. Sync with Linux 3.7.
16198
9e6919c8
DM
161992013-01-10 David S. Miller <davem@davemloft.net>
16200
16201 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
16202 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16203 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16204
1c9f1a02
RM
162052013-01-10 Roland McGrath <roland@hack.frob.com>
16206
16207 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
16208 never set.
16209 * configure: Regenerated.
16210
b9de2dde
DM
162112013-01-10 David S. Miller <davem@davemloft.net>
16212
16213 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
16214 sparc V9 rather than using V8 code.
16215 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16216 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16217
e7f68ef4
RM
162182013-01-10 Roland McGrath <roland@hack.frob.com>
16219
16220 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
16221 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
16222 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
16223 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
16224 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
16225 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
16226 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
16227 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
16228 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
16229 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
16230 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
16231 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
16232 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
16233 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
16234 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
16235 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
16236 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
16237 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
16238 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
16239 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
16240 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
16241 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
16242 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
16243 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
16244 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
16245 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
16246 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
16247
5a47cc9c
DM
162482013-01-10 David S. Miller <davem@davemloft.net>
16249
16250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16251
4cf8f209
L
162522013-01-10 H.J. Lu <hongjiu.lu@intel.com>
16253
16254 * posix/Makefile (tests-static): New variable.
16255 (tests): Add $(tests-static).
16256 (tst-exec-static-ARGS): New variable.
16257 (tst-spawn-static-ARGS): Likewise.
16258 * posix/tst-exec-static.c: New file.
16259 * posix/tst-spawn-static.c: Likewise.
16260 * posix/tst-exec.c: Support run directly.
16261 * posix/tst-spawn.c: Likewise.
16262
fed0faa1
JM
162632013-01-10 Joseph Myers <joseph@codesourcery.com>
16264
828beb13
JM
16265 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
16266 long.
16267 * math/bits/mathcalls.h (llrint): Likewise.
16268 (llround): Likewise.
16269 * stdlib/stdlib.h (struct drand48_data): Likewise.
16270 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
16271 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
16272 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
16273 Likewise.
16274 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
16275 Likewise.
16276 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
16277 (elf_greg_t): Likewise.
16278 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
16279 (__jmp_buf): Likewise.
16280 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
16281 definitions.
16282 (llrint): Likewise, for all definitions.
16283 (llrintl): Likewise.
16284
fed0faa1
JM
16285 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
16286 Remove [__GNUC__] condition.
16287 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
16288 condition to just [__USE_ISOC99].
16289 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
16290
1a20cb20
L
162912013-01-10 H.J. Lu <hongjiu.lu@intel.com>
16292
16293 [BZ #14200]
16294 * sysdeps/unix/sysv/linux/x86/bits/environments.h
16295 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
16296 defined.
16297 (_POSIX_V6_ILP32_OFF32): Likewise.
16298 (_XBS5_ILP32_OFF32): Likewise.
16299 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
16300 (__ILP32_OFFBIG_LDFLAGS): Likewise.
16301
751b85f7
SP
163022013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16303
7490eb81
SP
16304 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
16305
751b85f7
SP
16306 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
16307 doubles __mpexp_twomm1. Adjust usage.
16308 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
16309 Remove.
16310
988197f0
AS
163112013-01-10 Andreas Schwab <schwab@suse.de>
16312
16313 [BZ #14964]
16314 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
16315 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
16316
e83d7298
DM
163172013-01-09 David S. Miller <davem@davemloft.net>
16318
034ed64b 16319 [BZ #15003]
e83d7298
DM
16320 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
16321 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
16322 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
16323 TCP_FASTOPEN): Define.
16324 (tcp_repair_opt): New structure.
16325 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
16326 enum values.
16327 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
16328 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
16329 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
16330 (tcp_cookie_transactions): New structure.
16331
d5e0b9bd
AB
163322013-01-09 Anton Blanchard <anton@samba.org>
16333
16334 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
16335 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
16336 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
16337 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
16338
0c07e3ea
JM
163392013-01-09 Joseph Myers <joseph@codesourcery.com>
16340
16341 * include/features.h (__USE_ANSI): Remove.
16342
232f7002
RM
163432013-01-09 Roland McGrath <roland@hack.frob.com>
16344
ad98e30c
RM
16345 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
16346
232f7002
RM
16347 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
16348
950c99ca
SP
163492013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
16350
b5792741
SP
16351 * sysdeps/s390/fpu/libm-test-ulps: Update.
16352
47cf2278
SP
16353 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16354
950c99ca
SP
16355 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
16356 (__acr): Likewise.
16357 (__cpy): Likewise.
16358 (norm): Likewise.
16359 (denorm): Likewise.
16360 (__mp_dbl): Likewise.
16361 (__dbl_mp): Likewise.
16362 (add_magnitudes): Likewise.
16363 (sub_magnitudes): Likewise.
16364 (__add): Likewise.
16365 (__sub): Likewise.
16366 (__mul): Likewise.
16367 (__inv): Likewise.
16368 (__dvd): Likewise.
16369 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
16370 (__acr): Likewise.
16371 (__cpy): Likewise.
16372 (norm): Likewise.
16373 (denorm): Likewise.
16374 (__mp_dbl): Likewise.
16375 (__dbl_mp): Likewise.
16376 (add_magnitudes): Likewise.
16377 (sub_magnitudes): Likewise.
16378 (__add): Likewise.
16379 (__sub): Likewise.
16380 (__mul): Likewise.
16381 (__inv): Likewise.
16382 (__dvd): Likewise.
16383 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
16384 (__acr): Likewise.
16385 (__cpy): Likewise.
16386 (norm): Likewise.
16387 (denorm): Likewise.
16388 (__mp_dbl): Likewise.
16389 (__dbl_mp): Likewise.
16390 (add_magnitudes): Likewise.
16391 (sub_magnitudes): Likewise.
16392 (__add): Likewise.
16393 (__sub): Likewise.
16394 (__mul): Likewise.
16395 (__inv): Likewise.
16396 (__dvd): Likewise.
16397
eede9df9
JM
163982013-01-08 Joseph Myers <joseph@codesourcery.com>
16399
16400 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
16401 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
16402 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
16403 2 && __USE_EXTERN_INLINES]: Likewise.
16404
c40ea3d9
AJ
164052013-01-08 Andreas Jaeger <aj@suse.de>
16406
16407 [BZ# 14985]
16408 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
16409 Remove.
16410 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16411 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16412
2ccdea26
AB
164132013-01-07 Anton Blanchard <anton@samba.org>
16414
16415 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
16416 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16417 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
16418 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16419 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16420 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16421 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
16422 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16423 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16424 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16425 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16426 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16427 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16428 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16429 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16430 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16431 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16432 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16433 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16434 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16435 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16436 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
16437 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16438 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16439 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
16440 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16441 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16442 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16443 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
16444 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16445 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16446 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16447 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16448 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16449 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16450 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16451 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16452 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16453 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
16454 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16455 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
16456 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16457 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16458
a9708fed
JM
164592013-01-07 Joseph Myers <joseph@codesourcery.com>
16460
375607b9
JM
16461 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
16462 (__MALLOC_PMT): Likewise.
16463 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
16464 [__GNUC__], only on [_LIBC].
16465 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16466 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
16467 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16468 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
16469 forward declaration.
16470 (realloc_hook_ini): Likewise.
16471 (memalign_hook_ini): Likewise.
16472 (__libc_memalign): Do not use __MALLOC_PMT in variable
16473 declaration.
16474 (__libc_valloc): Likewise.
16475 (__libc_pvalloc): Likewise.
16476 (__libc_calloc): Likewise.
16477 (__posix_memalign): Likewise.
16478
a9708fed
JM
16479 [BZ #14996]
16480 * math/s_casinh.c: Include <float.h>.
16481 (__casinh): Do not do computation with squaring and square root
16482 for large arguments.
16483 * math/s_casinhf.c: Include <float.h>.
16484 (__casinhf): Do not do computation with squaring and square root
16485 for large arguments.
16486 * math/s_casinhl.c: Include <float.h>.
16487 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
16488 (__casinhl): Do not do computation with squaring and square root
16489 for large arguments.
16490 * math/libm-test.inc (casin_test): Add more tests.
16491 (casinh_test): Likewise.
16492 * sysdeps/i386/fpu/libm-test-ulps: Update.
16493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16494
afec409a
L
164952013-01-04 H.J. Lu <hongjiu.lu@intel.com>
16496
16497 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
16498 (__x86_64_raw_data_cache_size): Likewise.
16499 (__x86_64_data_cache_size_half): Likewise.
16500 (__x86_64_raw_data_cache_size_half): Likewise.
16501 (__x86_64_shared_cache_size): Likewise.
16502 (__x86_64_raw_shared_cache_size): Likewise.
16503 (__x86_64_shared_cache_size_half): Likewise.
16504 (__x86_64_raw_shared_cache_size_half): Likewise.
16505 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
16506 to ...
16507 (__x86_data_cache_size): This.
16508 (__x86_64_raw_data_cache_size): Renamed to ...
16509 (__x86_raw_data_cache_size): This.
16510 (__x86_64_data_cache_size_half): Renamed to ...
16511 (__x86_data_cache_size_half): This.
16512 (__x86_64_raw_data_cache_size_half): Renamed to ...
16513 (__x86_raw_data_cache_size_half): This.
16514 (__x86_64_shared_cache_size): Renamed to ...
16515 (__x86_shared_cache_size): This.
16516 (__x86_64_raw_shared_cache_size): Renamed to ...
16517 (__x86_raw_shared_cache_size): This.
16518 (__x86_64_shared_cache_size_half): Renamed to ...
16519 (__x86_shared_cache_size_half): This.
16520 (__x86_64_raw_shared_cache_size_half): Renamed to ...
16521 (__x86_raw_shared_cache_size_half): This.
16522 * sysdeps/x86_64/memcpy.S: Updated.
16523 * sysdeps/x86_64/memset.S: Likewise.
16524 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16525 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16526 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16527
0b3986d0
DM
165282013-01-04 David S. Miller <davem@davemloft.net>
16529
16530 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16531
e47686e9
AS
165322013-01-04 Andreas Schwab <schwab@linux-m68k.org>
16533
d643bac1
AS
16534 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
16535 1 to avoid redefinition warning.
16536 (__USE_GNU): Don't define.
16537 (init_signaling_nan): Protoize.
16538
e47686e9
AS
16539 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16540
b18decba
SP
165412013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16542
fffb407f
SP
16543 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
16544 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
16545 (__cpymn): Likewise.
16546 (norm): Remove commented code.
16547 (denorm): Likewise.
16548 (__mp_dbl): Likewise.
16549 (__inv): Likewise.
16550 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
16551 (__cpymn): Likewise.
16552 (norm): Remove commented code.
16553 (denorm): Likewise.
16554 (__mp_dbl): Likewise.
16555 (__inv): Likewise.
16556
b18decba
SP
16557 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
16558 mp_no value for 1.0 and 2.0.
16559 (norm): Use RADIXI instead of radixi.d.
16560 (denorm): Likewise.
16561 (__mul): Use 0.0 instead of zero.d.
16562 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
16563 mp_no value for 1.0 and 2.0.
16564 (norm): Use RADIXI instead of radixi.d.
16565 (denorm): Likewise.
16566 (__mul): Use 0.0 instead of zero.d.
16567
cdc1c96f
JM
165682013-01-04 Joseph Myers <joseph@codesourcery.com>
16569
16570 [BZ #14994]
16571 * math/s_casinh.c (__casinh): Reduce finite argument to first
16572 quadrant then set signs of results at the end.
16573 * math/s_casinhf.c (__casinhf): Likewise.
16574 * math/s_casinhl.c (__casinhl): Likewise.
16575 * math/libm-test.inc (casin_test): Add more tests.
16576 (casinh_test): Likewise.
16577 * sysdeps/i386/fpu/libm-test-ulps: Update.
16578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16579
302913e1
SP
165802013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16581
6420d207
SP
16582 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
16583
a9e48ab4
SP
16584 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
16585
b7837264
SP
16586 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
16587 declarations.
16588 (denorm): Likewise.
16589 (__mp_dbl): Likewise.
16590 (__inv): Likewise.
16591
f8af25d2
SP
16592 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
16593 and adjust the header comment.
16594
302913e1
SP
16595 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
16596 variable name from declaration.
16597
5d7dd1ca
L
165982013-01-03 H.J. Lu <hongjiu.lu@intel.com>
16599
16600 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16601 Initialize COMMON_CPUID_INDEX_7 element.
16602 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
16603 (CPUID_RTM): Likewise.
16604 (HAS_RTM): Likewise.
16605 (COMMON_CPUID_INDEX_7): New enum.
16606
2f5f40f4
AS
166072013-01-03 Andreas Schwab <schwab@linux-m68k.org>
16608
16609 [BZ #14981]
16610 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
16611 size is zero, record memory as freed.
16612
4056f4a0
AJ
166132013-01-03 Andreas Jaeger <aj@suse.de>
16614
16615 * po/ia.po: Add new Interlingua translation.
16616
ab15736f 166172012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
16618
16619 * locale/programs/localedef.c: Fix description of '--posix' flag.
16620
568035b7
JM
166212013-01-02 Joseph Myers <joseph@codesourcery.com>
16622
e6898b8d
JM
16623 * NEWS: Update dates in second copyright notice.
16624 * README: Update copyright dates in example.
16625 * manual/libc.texinfo: Update copyright dates.
16626 * scripts/test-installation.pl: Update copyright date in --version
16627 output.
16628
0e2f9562
JM
16629 * hurd/ctty-input.c: Fix copyright notice formatting.
16630 * hurd/ctty-output.c: Likewise.
16631 * hurd/dtable.c: Likewise.
16632 * hurd/hurd-raise.c: Likewise.
16633 * hurd/hurdprio.c: Likewise.
16634 * hurd/msgportdemux.c: Likewise.
16635 * misc/sys/file.h: Likewise.
16636 * misc/sys/ioctl.h: Likewise.
16637 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16638 * sysdeps/mach/hurd/chdir.c: Likewise.
16639 * sysdeps/mach/hurd/fchdir.c: Likewise.
16640 * sysdeps/mach/hurd/rename.c: Likewise.
16641 * sysdeps/mach/hurd/rmdir.c: Likewise.
16642 * sysdeps/mach/hurd/seekdir.c: Likewise.
16643 * sysdeps/mach/hurd/setsid.c: Likewise.
16644 * sysdeps/posix/wait3.c: Likewise.
16645
568035b7
JM
16646 * All files with FSF copyright notices: Update copyright dates
16647 using scripts/update-copyrights.
16648 * intl/plural.c: Regenerated.
16649 * locale/programs/charmap-kw.h: Likewise.
16650 * locale/programs/locfile-kw.h: Likewise.
16651
da08f647
SP
166522013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16653
0f5477af
SP
16654 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
16655 four values.
16656
44e0d4c2
SP
16657 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
16658 calculation loop and add branch prediction.
16659
4d55b4e5
SP
16660 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
16661 check access beyond bounds of m1np.
16662
da08f647
SP
16663 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16664 MPTWO.
16665 (__inv): Remove local variable MPTWO to use the global
16666 constant.
16667 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
16668 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16669 variable MPTWO.
16670 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
16671 MP3HALFS static const.
16672
8e051029
DM
166732013-01-01 David S. Miller <davem@davemloft.net>
16674
16675 * po/ca.po: Update from translation team.
16676
f4cf5f2d
JM
166772013-01-01 Joseph Myers <joseph@codesourcery.com>
16678
16679 * scripts/update-copyrights: New file.
16680 * Makeconfig: Reformat copyright notice.
16681 * ctype/ctype.h: Likewise.
16682 * debug/swprintf_chk.c: Likewise.
16683 * elf/dl-cache.c: Likewise.
16684 * elf/dl-debug.c: Likewise.
16685 * elf/dl-object.c: Likewise.
16686 * grp/initgroups.c: Likewise.
16687 * hurd/Makefile: Likewise.
16688 * hurd/hurd/signal.h: Likewise.
16689 * hurd/hurdfault.c: Likewise.
16690 * hurd/hurdioctl.c: Likewise.
16691 * hurd/hurdlookup.c: Likewise.
16692 * hurd/intr-msg.c: Likewise.
16693 * iconv/gconv_open.c: Likewise.
16694 * libio/swprintf.c: Likewise.
16695 * locale/lc-ctype.c: Likewise.
16696 * locale/nl_langinfo.c: Likewise.
16697 * mach/Machrules: Likewise.
16698 * mach/Makefile: Likewise.
16699 * malloc/obstack.h: Likewise.
16700 * manual/Makefile: Likewise.
16701 * manual/tsort.awk: Likewise.
16702 * misc/bits/stab.def: Likewise.
16703 * nis/nis_print_group_entry.c: Likewise.
16704 * nis/nis_table.c: Likewise.
16705 * nis/nss_compat/compat-pwd.c: Likewise.
16706 * nis/nss_compat/compat-spwd.c: Likewise.
16707 * po/Makefile: Likewise.
16708 * posix/fnmatch.c: Likewise.
16709 * posix/regex.h: Likewise.
16710 * resolv/Makefile: Likewise.
16711 * resolv/nss_dns/dns-network.c: Likewise.
16712 * resolv/res_hconf.c: Likewise.
16713 * scripts/gen-sorted.awk: Likewise.
16714 * soft-fp/soft-fp.h: Likewise.
16715 * stdio-common/printf.h: Likewise.
16716 * stdlib/monetary.h: Likewise.
16717 * stdlib/random.c: Likewise.
16718 * stdlib/random_r.c: Likewise.
16719 * sysdeps/generic/Makefile: Likewise.
16720 * sysdeps/gnu/Makefile: Likewise.
16721 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16722 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16723 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16724 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16725 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16726 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16727 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16728 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16729 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16730 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16731 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16732 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16733 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16734 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16735 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16736 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16737 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16738 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16739 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16740 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16741 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16742 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16743 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16744 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16745 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
16746 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16747 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16748 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
16749 * sysdeps/mach/hurd/errnos.awk: Likewise.
16750 * sysdeps/mach/hurd/fork.c: Likewise.
16751 * sysdeps/mach/hurd/getcwd.c: Likewise.
16752 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
16753 * sysdeps/mach/hurd/mmap.c: Likewise.
16754 * sysdeps/mach/hurd/utimes.c: Likewise.
16755 * sysdeps/mach/hurd/xmknod.c: Likewise.
16756 * sysdeps/posix/profil.c: Likewise.
16757 * sysdeps/posix/readdir_r.c: Likewise.
16758 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16759 * sysdeps/powerpc/bits/setjmp.h: Likewise.
16760 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
16761 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16762 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16763 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16764 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16765 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16766 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16767 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16768 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16769 * sysdeps/pthread/lio_listio.c: Likewise.
16770 * sysdeps/sparc/dl-procinfo.h: Likewise.
16771 * sysdeps/unix/i386/sysdep.S: Likewise.
16772 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
16773 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
16774 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
16775 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
16776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16777 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16778 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16779 * sysdeps/unix/sysv/linux/speed.c: Likewise.
16780 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16781 * sysdeps/wordsize-32/divdi3.c: Likewise.
16782 * time/sys/time.h: Likewise.
16783 * wcsmbs/Makefile: Likewise.
16784
0549fbba
DM
167852013-01-01 David S. Miller <davem@davemloft.net>
16786
a141f1a7
DM
16787 * po/fr.po: Update from translation team.
16788
0549fbba
DM
16789 * catgets/gencat.c: Update copyright year.
16790 * csu/version.c: Likewise.
16791 * debug/catchsegv.sh: Likewise.
16792 * debug/pcprofiledump.c: Likewise.
16793 * debug/xtrace.sh: Likewise.
16794 * elf/ldconfig.c: Likewise.
16795 * elf/ldd.bash.in: Likewise.
16796 * elf/pldd.c: Likewise.
16797 * elf/sotruss.ksh: Likewise.
16798 * elf/sprof.c: Likewise.
16799 * iconv/iconv_prog.c: Likewise.
16800 * iconv/iconvconfig.c: Likewise.
16801 * locale/programs/locale.c: Likewise.
16802 * locale/programs/localedef.c: Likewise.
16803 * login/programs/pt_chown.c: Likewise.
16804 * malloc/memusage.sh: Likewise.
16805 * malloc/memusagestat.c: Likewise.
16806 * malloc/mtrace.pl: Likewise.
16807 * nscd/nscd.c: Likewise.
16808 * nss/getent.c: Likewise.
16809 * nss/makedb.c: Likewise.
16810 * posix/getconf.c: Likewise.
16811
18ea052c
SP
168122012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16813
16814 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
16815 numbers.
16816
9c89fca6
MF
168172012-12-30 Mike Frysinger <vapier@gentoo.org>
16818
16819 * math/bits/mathcalls.h (modf): Use __nonnull.
16820
085ec079
SP
168212012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16822
16823 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
16824 (split): Use macro CN instead of the bare value.
16825 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
16826 could be used.
16827 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
16828 instead of the bare value.
16829 (power1): Likewise.
16830
6d9f97e1
SP
168312012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16832
d63f73be
SP
16833 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
16834 __ATAN_TWOM.
16835 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16836
6d9f97e1
SP
16837 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
16838 their values.
16839 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16840 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16841 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
16842 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
16843
4c4febf5
AJ
168442012-12-28 Andreas Jaeger <aj@suse.de>
16845
af5843ef
AJ
16846 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
16847 values are from Linux 3.7.
16848
4c4febf5
AJ
16849 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
16850 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
16851
99136f82
SP
168522012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16853
2f216c3c 16854 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
16855 TRUE case.
16856
99136f82
SP
16857 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
16858 (norm): Likewise.
16859 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
16860 variables with preprocessor constants.
16861 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16862 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16863 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16864
7fffbdff
BH
168652012-12-27 Bruno Haible <bruno@clisp.org>
16866
16867 [BZ #14317]
16868 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
16869 only if needed.
16870
b76eb5f0
SP
168712012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16872
31a7fe5c
SP
16873 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
16874 and use variable directly.
16875 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
16876
b76eb5f0
SP
16877 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16878 MPONE.
16879 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
16880 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16881 variable MPONE.
16882 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16883 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16884 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
16885 include directive. Remove local variable MPONE.
16886 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
16887 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
16888 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16889
2c8bfe7d
DM
168902012-12-25 David S. Miller <davem@davemloft.net>
16891
16892 * version.h (RELEASE): Set to "development".
16893 (VERSION): Set to "2.17.90".
16894 * NEWS: Add 2.18 section.
16895
147d03b0
DM
168962012-12-21 David S. Miller <davem@davemloft.net>
16897
16898 * po/hr.po: Update from translation team.
16899
a8ebb2b9
AK
169002012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16901
16902 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
16903
95b4f1b6
SE
169042012-12-19 Steve Ellcey <sellcey@mips.com>
16905
b2d94007 16906 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 16907
cedb2a90
MS
169082012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16909
16910 * manual/contrib.texi (Contributors): Spelling correction.
16911
bbf527d6
DM
169122012-12-15 David S. Miller <davem@davemloft.net>
16913
16914 * po/ru.po: Update from translation team.
16915
bc38c906
DM
169162012-12-13 David S. Miller <davem@davemloft.net>
16917
85429b1a
DM
16918 * NEWS: Mention IFUNC testsuite enhancements.
16919
d283e353
DM
16920 * po/pl.po: Update from translation team.
16921 * po/bg.po: Likewise.
16922
bc38c906
DM
16923 * manual/contrib.texi (Contributors): Update entries for Hongjiu
16924 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
16925
a181b0d7
DM
169262012-12-11 David S. Miller <davem@davemloft.net>
16927
4641d57e
DM
16928 * po/sv.po: Update from translation team.
16929
f7bc6495
DM
16930 * po/vi.po: Update from translation team.
16931
6fc9048f
DM
16932 * po/cs.po: Update from translation team.
16933
a181b0d7
DM
16934 * po/de.po: Update from translation team.
16935 * po/eo.po: Likewise.
16936 * po/nl.po: Likewise.
16937
f70bfe80
SP
169382012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16939
3c8b4190
SP
16940 [BZ #14246]
16941 * manual/argp.texi (Argp Helper Functions): Move node to follow
16942 Argp Parsing State.
16943
f70bfe80
SP
16944 [BZ #14872]
16945 * manual/conf.texi (Limits on File System Capacity): Mention if
16946 terminating null is included in the max size.
16947
188f0adf
AJ
169482012-12-10 Andreas Jaeger <aj@suse.de>
16949
16950 * po/cs.po: Update from translation team.
16951
56e7d3ad
SP
169522012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16953
16954 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
16955 void pointer and cast to uintptr_t.
16956 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
16957 path.
16958 * sysdeps/s390/s390-64/memcpy.S: Likewise.
16959 * sysdeps/s390/s390-64/memset.S: Likewise.
16960
76f2d2ea 169612012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
16962
16963 [BZ #14833]
16964 * menual/message.texi (Message Translation): Fix typos.
16965 (Helper programs for gettext): Likewise.
16966
67cbf9a2
AS
169672012-12-07 Andreas Schwab <schwab@linux-m68k.org>
16968
16969 [BZ #14898]
16970 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
16971 Change to -1.
16972
682d0e9a
DM
169732012-12-07 David S. Miller <davem@davemloft.net>
16974
16975 * po/libc.pot: Update.
16976
573cd484
RH
169772012-12-07 Richard Henderson <rth@redhat.com>
16978
7e9da188 16979 [BZ #10114]
573cd484
RH
16980 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
16981 normal/normal case to before the switch.
16982 (_FP_DIV): Likewise.
16983
e933a943
MF
169842012-12-06 Carlos O'Donell <carlos@systemhalted.org>
16985 Mike Frysinger <vapier@gentoo.org>
16986
16987 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
16988 check for __NR_fadvise64_64.
16989
82123268
CM
169902012-12-06 Chris Metcalf <cmetcalf@tilera.com>
16991
16992 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
16993 0, not just to plain "0" as a statement.
16994 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
16995 with cw.
16996
d9814526
JM
169972012-12-06 Joseph Myers <joseph@codesourcery.com>
16998
16999 * NEWS: Use sourceware.org in Bugzilla URL.
17000
7728c574
SP
170012012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17002
f16946dd
SP
17003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17004 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
17005
5704bbcb
SP
17006 * stdio-common/tst-put-error.c (do_test): Add newline to the
17007 padded test to ensure flush.
17008
17aa0516
JL
170092012-12-05 Jeff Law <law@redhat.com>
17010
17011 * sunrpc/etc.rpc (fedfs_admin): Add entry.
17012
363313b5
JM
170132012-12-05 Joseph Myers <joseph@codesourcery.com>
17014
effbd42a
JM
17015 * README: Don't refer to ports add-on as distributed separately.
17016 Mention AArch64 in list of systems supported in the ports add-on.
17017
87600365
JM
17018 * LICENSES: Add more non-FSF copyright and license notices.
17019
a0d7066a
JM
17020 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
17021 ((unused)).
17022
66ca5a5b
JM
17023 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
17024
363313b5
JM
17025 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
17026 10000 as width of padded output.
17027
b37984ad
JM
170282012-12-04 Joseph Myers <joseph@codesourcery.com>
17029
9003570a
JM
17030 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
17031
b37984ad
JM
17032 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
17033 variable LX with __attribute__ ((unused)).
17034 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17035 Likewise.
17036 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17037 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17038 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
17039 with __attribute__ ((unused)).
17040
c8df52ec
DM
170412012-12-04 David S. Miller <davem@abraco.davemloft.net>
17042
17043 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
17044
b3b099af
JM
170452012-12-04 Joseph Myers <joseph@codesourcery.com>
17046
c33aa6e3
JM
17047 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
17048 (CFLAGS-nldbl-acos.c): New variable.
17049 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
17050 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
17051 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
17052 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
17053 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
17054 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
17055 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
17056 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
17057 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
17058 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
17059 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
17060 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
17061 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
17062 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
17063 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
17064 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
17065 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
17066 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
17067 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
17068 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
17069 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
17070 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
17071 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
17072 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
17073 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
17074 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
17075 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
17076 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
17077 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
17078 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
17079 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
17080 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
17081 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
17082 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
17083 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
17084 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
17085 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
17086 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
17087 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
17088 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
17089 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
17090 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
17091 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
17092 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
17093 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
17094 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
17095 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
17096 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
17097 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
17098 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
17099 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
17100 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
17101 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
17102 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
17103 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
17104 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
17105 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
17106 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
17107 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
17108 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
17109 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
17110 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
17111 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
17112 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
17113 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
17114 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
17115 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
17116 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
17117 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
17118 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
17119 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
17120 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
17121 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
17122 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
17123 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
17124 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
17125 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
17126 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
17127 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
17128 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
17129 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
17130 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
17131 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
17132 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
17133 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
17134 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
17135 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
17136 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
17137 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
17138 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
17139 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
17140 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
17141 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
17142 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
17143 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
17144 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
17145 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
17146
20f0018d
JM
17147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17148 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
17149
b3b099af
JM
17150 [BZ #14914]
17151 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
17152 whole low double instead of just low 47 bits when splitting values
17153 into two parts.
17154
029264d1
AM
171552012-12-03 Allan McRae <allan@archlinux.org>
17156
17157 * manual/stdio.texi (Predefined Printf Handlers): Remove
17158 @hsep and @vsep usage.
17159
c9d6789e
MF
171602012-12-03 Mike Frysinger <vapier@gentoo.org>
17161
17162 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
17163 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
17164
4b7634a5
JL
171652012-12-03 Jeff Law <law@redhat.com>
17166
17167 * time/sys/time.h (settimeofday): Do not mark TV argument
17168 as __nonnull.
17169
eb6cbd24
MF
171702012-12-01 Mike Frysinger <vapier@gentoo.org>
17171
17172 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
17173 when currently writing and seek to current position when not.
17174 * libio/Makefile (tests): Remove bug-fclose1.
17175 * libio/bug-fclose1.c: Delete.
17176
f638872a
JM
171772012-12-01 Joseph Myers <joseph@codesourcery.com>
17178
17179 * manual/arith.texi (feenableexcept): Fix typo.
17180 (fedisableexcept): Likewise.
17181
48085d14
RM
171822012-11-30 Roland McGrath <roland@hack.frob.com>
17183
17184 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
17185 second, differently-typed declaration, rather than a cast.
17186
1a538b9f
SP
171872012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17188
17189 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
17190 * include/rpc/svc.h: ... here.
17191
d07f2ff1 171922012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
17193
17194 [BZ #13013]
17195 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
17196 depending n and resplen2 to catch cases where answer
17197 equals answerp2.
17198
c93ec1f0
CD
171992012-11-29 Carlos O'Donell <carlos@systemhalted.org>
17200
17201 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
17202 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
17203
37db69de
MF
172042012-11-29 Mike Frysinger <vapier@gentoo.org>
17205
17206 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
17207
e10c4e4f
RM
172082012-11-29 Roland McGrath <roland@hack.frob.com>
17209
17210 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
17211
2af1b328
JL
172122012-11-28 Jeff Law <law@redhat.com>
17213
17214 [BZ #13761]
17215 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
17216 dataset_temporary. Track alloca usage into alloca_used.
17217 If dataset is large allocate and release it via malloc/free.
17218
111db5b1
FW
172192012-06-04 Florian Weimer <fweimer@redhat.com>
17220
f06cc227 17221 [BZ #14197]
111db5b1
FW
17222 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
17223
dd694abd
DM
172242012-11-28 David S. Miller <davem@davemloft.net>
17225
17226 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17227
9984dd01
JM
172282012-11-28 Joseph Myers <joseph@codesourcery.com>
17229
17230 [BZ #14803]
17231 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
17232 of pi/2 rounded to nearest to 64 bits.
17233 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
17234 nearest to 64 bits.
17235 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
17236 bits.
17237
14bc93a9
JL
172382012-11-28 Jeff Law <law@redhat.com>
17239 Martin Osvald <mosvald@redhat.com>
17240
17241 [BZ #14889]
17242 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
17243 * sunrpc/svc.c: Include time.h.
17244 (__svc_accept_failed): New function.
17245 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
17246 any reason other than EINTR, call __svc_accept_failed.
17247 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
17248 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
17249
e3c6aa3a
AS
172502012-11-28 Andreas Schwab <schwab@suse.de>
17251
17252 * scripts/abilist.awk: Also handle indirect functions in .opd
17253 section.
17254
1bead169
JM
172552012-11-28 Joseph Myers <joseph@codesourcery.com>
17256
17257 [BZ #13881]
17258 * sysdeps/x86/fpu/powl_helper.c: New file.
17259 * sysdeps/x86/fpu/Makefile: Likewise.
17260 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
17261 (p3): New object.
17262 (__ieee754_powl): Use __powl_helper for finite arguments except
17263 integer exponents below 8.
17264 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
17265 (p3): New object.
17266 (__ieee754_powl): Use __powl_helper for finite arguments except
17267 integer exponents below 8.
17268 * math/libm-test.inc (pow_test): Add more tests and enable some
17269 previously disabled tests.
17270 * sysdeps/i386/fpu/libm-test-ulps: Update.
17271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17272
0817d63d
SP
172732012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17274 Carlos O'Donell <carlos_odonell@mentor.com>
17275
17276 * nss/makedb.c (is_prime): Assert that input is odd and greater
17277 than 4. Note that fact in a comment too.
17278 (next_prime): Add 4 to input.
17279
de2fd463
SP
172802012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17281
17282 [BZ #11741]
17283 * libio/Makefile (tests): Add test case tst-fwrite-error.
17284 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
17285 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
17286 * libio/tst-fwrite-error.c: New test case.
17287
c515fb51
L
172882012-11-26 H.J. Lu <hongjiu.lu@intel.com>
17289
17290 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
17291 before casting to void *.
17292 * include/libc-internal.h (__pointer_type): New macro.
17293 (__integer_if_pointer_type_sub): Likewise.
17294 (__integer_if_pointer_type): Likewise.
17295 (cast_to_integer): Likewise.
17296 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
17297 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
17298 before casting to atomic64_t.
17299 (atomic_exchange_acq): Likewise.
17300 (__arch_exchange_and_add_body): Likewise.
17301 (__arch_add_body): Likewise.
17302 (atomic_add_negative): Likewise.
17303 (atomic_add_zero): Likewise.
17304
4cf77aa9
JM
173052012-11-26 Joseph Myers <joseph@codesourcery.com>
17306
17307 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
17308 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
17309 (add_fdes): Likewise.
17310 (linear_search_fdes): Likewise.
17311 (binary_search_unencoded_fdes): Likewise.
17312
d260b3b4
AS
173132012-11-26 Andreas Schwab <schwab@linux-m68k.org>
17314
17315 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
17316
67060746
AC
173172012-11-24 Adam Conrad <adconrad@0c3.net>
17318
17319 * configure.in: Autodetect C++ header directories.
17320 * configure: Regenerated.
17321
800938a1
MF
173222012-11-23 Mike Frysinger <vapier@gentoo.org>
17323
17324 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
17325
4e6e34e6
AS
173262012-11-23 Andreas Schwab <schwab@linux-m68k.org>
17327
17328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17329
7c7feb47
JM
173302012-11-22 Joseph Myers <joseph@codesourcery.com>
17331
7184dcdf
JM
17332 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
17333 LDBL_MANT_DIG == 106]: Disable some tests.
17334 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17335 Likewise.
17336 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17337 Likewise.
17338
0a42601f
JM
17339 [BZ #14871]
17340 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
17341 input for small inputs. Return +/- pi/2 for large inputs.
17342 * math/libm-test.inc (atan_test): Add more tests.
17343
79c9b9fe
JM
17344 * sysdeps/generic/unwind-dw2-fde-glibc.c
17345 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
17346 __attribute__ ((unused)).
17347
c60d3bf2
JM
17348 [BZ #14645]
17349 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
17350 x * y if x and y are nonzero and z is zero.
17351
ef1e0867
JM
17352 [BZ #14811]
17353 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
17354 nonzero exponents with absolute value below 0x1p-117 to +/-
17355 0x1p-117.
17356
1468ded3
JM
17357 [BZ #14869]
17358 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
17359 up arguments below 2**-450, not just those below 2**-500.
17360 * math/libm-test.inc (hypot_test): Add another test.
17361
8e27e3cc
JM
17362 [BZ #14868]
17363 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
17364 Return a+b for ratio over 2**120, not 2**60.
17365 * math/libm-test.inc (hypot_test): Add another test.
17366
c9c0279b
JM
17367 * math/libm-test.inc (clog_test): Use
17368 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
17369 (clog10_test): Likewise.
17370
7c7feb47
JM
17371 [BZ #6778]
17372 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
17373
fff1530e
AS
173742012-11-22 Andreas Schwab <schwab@suse.de>
17375
17376 * sysdeps/i386/fpu/libm-test-ulps: Update.
17377
94558d30
PT
173782012-11-22 Pino Toscano <toscano.pino@tiscali.it>
17379
17380 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
17381 printf output with newline.
17382
7e1be741
L
173832012-11-21 H.J. Lu <hongjiu.lu@intel.com>
17384
6bfea974
L
17385 [BZ #14865]
17386 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
17387 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
17388 -z nodlopen, -z initfirst and -z execstack support.
17389 * configure: Regenerated.
17390
7e1be741
L
17391 * elf/elf.h (DF_1_NODIRECT): New macro.
17392 (DF_1_IGNMULDEF): Likewise.
17393 (DF_1_NOKSYMS): Likewise.
17394 (DF_1_NOHDR): Likewise.
17395 (DF_1_EDITED): Likewise.
17396 (DF_1_NORELOC): Likewise.
17397 (DF_1_SYMINTPOSE): Likewise.
17398 (DF_1_GLOBAUDIT): Likewise.
17399 (DF_1_SINGLETON): Likewise.
17400 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
17401 DT_1_SUPPORTED_MASK bits.
17402 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
17403
105ce2ce
CD
174042012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
17405
17406 * sysdeps/unix/make-syscalls.sh: Document prefixes.
17407
123be9de
TS
174082012-11-20 Thomas Schwinge <thomas@codesourcery.com>
17409
d072f3f7
TS
17410 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
17411 macro.
17412
123be9de
TS
17413 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
17414 (sendmmsg): Move declarations...
17415 * socket/sys/socket.h: ... here.
17416 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
17417 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
17418 include it from...
17419 * socket/recvmmsg.c: ... this new file.
17420 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
17421 (sendmmsg): Rename to __sendmmsg, create weak alias and make
17422 definition of __sendmmsg hidden.
17423 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17424 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
17425 Move ENOSYS stub into and include it from...
17426 * socket/sendmmsg.c: ... this new file.
17427 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
17428 (sysdep_routines): Move recvmmsg and sendmmsg...
17429 * socket/Makefile (routines): ... here.
17430 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
17431 (GLIBC_PRIVATE): Add __sendmmsg.
17432 * include/sys/socket.h (__sendmmsg): Add declarations.
17433 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
17434 sendmmsg.
17435
cf9a5d18
JM
174362012-11-20 Joseph Myers <joseph@codesourcery.com>
17437
17438 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
17439 variable I1 with __attribute__ ((unused)).
17440 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17441
ecd4caf9
JM
174422012-11-19 Joseph Myers <joseph@codesourcery.com>
17443
be14d48f
JM
17444 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
17445 DUMMY variables with __attribute__ ((unused)).
17446
ecd4caf9
JM
17447 * bits/byteswap.h: Include <bits/types.h>.
17448 (__bswap_64): Use __uint64_t instead of unsigned long long int.
17449
986cab95
PT
174502012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17451
17452 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
17453 string_t. Do not manually set errno.
17454 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
17455 length with __strnlen. Make sure to both set errno and return it on
17456 failure.
17457
6d33cc9d
DM
174582012-11-19 David S. Miller <davem@davemloft.net>
17459
17460 With help from Joseph Myers.
17461 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
17462 very large arguments properly.
17463 * math/libm-test.inc (atan_test): New tests.
17464 (atan2_test): New tests.
17465 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17466 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17467
ee663277
JM
174682012-11-19 Joseph Myers <joseph@codesourcery.com>
17469
877f2d8e
JM
17470 [BZ #14856]
17471 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
17472 Define to 3.
17473
116fc08a
JM
17474 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
17475 [POSIX] (EADDRNOTAVAIL): Likewise.
17476 [POSIX] (EAFNOSUPPORT): Likewise.
17477 [POSIX] (EALREADY): Likewise.
17478 [POSIX] (ECONNABORTED): Likewise.
17479 [POSIX] (ECONNREFUSED): Likewise.
17480 [POSIX] (ECONNRESET): Likewise.
17481 [POSIX] (EDESTADDRREQ): Likewise.
17482 [POSIX] (EDQUOT): Likewise.
17483 [POSIX] (EHOSTUNREACH): Likewise.
17484 [POSIX] (EIDRM): Likewise.
17485 [POSIX] (EISCONN): Likewise.
17486 [POSIX] (ELOOP): Likewise.
17487 [POSIX] (EMULTIHOP): Likewise.
17488 [POSIX] (ENETDOWN): Likewise.
17489 [POSIX] (ENETUNREACH): Likewise.
17490 [POSIX] (ENOBUFS): Likewise.
17491 [POSIX] (ENODATA): Likewise.
17492 [POSIX] (ENOLINK): Likewise.
17493 [POSIX] (ENOMSG): Likewise.
17494 [POSIX] (ENOPROTOOPT): Likewise.
17495 [POSIX] (ENOSR): Likewise.
17496 [POSIX] (ENOSTR): Likewise.
17497 [POSIX] (ENOTCONN): Likewise.
17498 [POSIX] (ENOTSOCK): Likewise.
17499 [POSIX] (EOPNOTSUPP): Likewise.
17500 [POSIX] (EOVERFLOW): Likewise.
17501 [POSIX] (EPROTO): Likewise.
17502 [POSIX] (EPROTONOSUPPORT): Likewise.
17503 [POSIX] (EPROTOTYPE): Likewise.
17504 [POSIX] (ESTALE): Likewise.
17505 [POSIX] (ETIME): Likewise.
17506 [POSIX] (ETXTBSY): Likewise.
17507 [POSIX] (EWOULDBLOCK): Likewise.
17508 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
17509 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
17510 [POSIX] (SEEK_CUR): Likewise.
17511 [POSIX] (SEEK_END): Likewise.
17512 [POSIX || UNIX98] (mode_t): Do not require.
17513 [POSIX] (off_t): Likewise.
17514 [POSIX] (pid_t): Likewise.
17515 [POSIX] (sys/stat.h): Do not allow header.
17516 [POSIX] (unistd.h): Likewise.
17517 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
17518 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
17519 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
17520 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
17521 require.
17522 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
17523 sigevent): Specify elements.
17524 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
17525 entry.
17526 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
17527 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
17528
a483863f
JM
17529 * conform/data/cpio.h-data [POSIX]: Disable whole file.
17530 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
17531 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
17532 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
17533 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
17534 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
17535 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
17536 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
17537 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
17538 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
17539 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
17540 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
17541 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
17542 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
17543 Likewise.
17544 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
17545 Likewise.
17546 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
17547 Likewise.
17548 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
17549 Likewise.
17550 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
17551 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
17552 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
17553 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
17554 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
17555 Specify lower bound on value.
17556 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
17557 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
17558 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
17559 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
17560 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
17561 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
17562 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
17563 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
17564 value.
17565 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
17566 as optional.
17567 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
17568 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
17569 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
17570 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
17571 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
17572 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
17573 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
17574 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
17575 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
17576 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
17577 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
17578 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
17579 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
17580 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
17581 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
17582 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
17583 entry.
17584 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
17585 optional.
17586 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
17587 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
17588 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
17589 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
17590 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
17591 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
17592 Likewise.
17593 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
17594 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
17595 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
17596 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
17597 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
17598 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
17599 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
17600 as optional.
17601 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
17602 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
17603 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
17604 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
17605 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
17606 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
17607 specify as optional.
17608 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
17609 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
17610 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
17611 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
17612 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
17613 [XPG3] (NL_LANGMAX): Likewise.
17614 [POSIX || XPG3] (NL_MSGMAX): Likewise.
17615 [POSIX || XPG3] (NL_NMAX): Likewise.
17616 [POSIX || XPG3] (NL_SETMAX): Likewise.
17617 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
17618 [XPG3] (NZERO): Likewise.
17619 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
17620 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
17621 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
17622 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
17623 (REG_ERANGE): Expect.
17624 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
17625 optional-constant.
17626 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
17627 Use (void) in prototype.
17628 [POSIX] (*_t): Allow.
17629 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
17630 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
17631 (WRDE_BADVAL): Expect.
17632
5ba924e3
JM
17633 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
17634 expect.
17635 [XPG3 || XPG4] (O_RSYNC): Likewise.
17636 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
17637 Likewise.
17638 [XPG3 || XPG4] (pthread_sigmask): Likewise.
17639 [XPG3 || XPG4] (sigqueue): Likewise.
17640 [XPG3 || XPG4] (sigtimedwait): Likewise.
17641 [XPG3 || XPG4] (sigwaitinfo): Likewise.
17642 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
17643 [XPG3 || XPG4] (vsnprintf): Likewise.
17644 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
17645 Likewise.
17646 [XPG3 || XPG4] (blksize_t): Likewise.
17647 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
17648 Likewise.
17649 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
17650 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17651 [XPG3 || XPG4] (struct itimerspec): Likewise.
17652 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
17653 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
17654 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
17655 [XPG3 || XPG4] (clockid_t): Likewise.
17656 [XPG3 || XPG4] (timer_t): Likewise.
17657 [XPG3 || XPG4] (clock_getres): Likewise.
17658 [XPG3 || XPG4] (clock_gettime): Likewise.
17659 [XPG3 || XPG4] (clock_settime): Likewise.
17660 [XPG3 || XPG4] (nanosleep): Likewise.
17661 [XPG3 || XPG4] (timer_create): Likewise.
17662 [XPG3 || XPG4] (timer_delete): Likewise.
17663 [XPG3 || XPG4] (timer_gettime): Likewise.
17664 [XPG3 || XPG4] (timer_getoverrun): Likewise.
17665 [XPG3 || XPG4] (timer_settime): Likewise.
17666 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
17667 [XPG3 || XPG4] (getlogin_r): Likewise.
17668 [XPG3 || XPG4] (pread): Likewise.
17669 [XPG3 || XPG4] (pthread_atfork): Likewise.
17670 [XPG3 || XPG4] (pwrite): Likewise.
17671
ee663277
JM
17672 [BZ #14835]
17673 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
17674 <bits/siginfo.h>.
17675
942caa16
PT
176762012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17677
e19af380
PT
17678 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
17679 finalizing MALLSTREAM.
17680
942caa16
PT
17681 * sysdeps/mach/hurd/syncfs.c: New file.
17682
cfde9b46
SP
176832012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17684
17685 [BZ #14719]
17686 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
17687 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
17688 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
17689 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
17690 (_nss_dns_gethostbyname4_r): Likewise.
17691 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
17692 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
17693
f6da27e5
PH
176942012-11-19 Peng Haitao <penght@cn.fujitsu.com>
17695
17696 [BZ #13763]
17697 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
17698
6665d4a2
SM
176992012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
17700
1f51ee92
SM
17701 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
17702 * elf/cache.c (print_entry): Print ",AArch64" for
17703 FLAG_AARCH64_LIB64
17704
6665d4a2
SM
17705 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
17706 * elf/cache.c (print_entry): Print ",hard-float" for
17707 FLAG_ARM_LIBHF.
17708
05b227bd
DM
177092012-11-18 David S. Miller <davem@davemloft.net>
17710
17711 With help from Joseph Myers.
17712 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
17713 cutoff to 2**-13.
17714 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
17715 cutoff to 2**-25.
17716 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
17717 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
17718 small.
17719 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
17720 * math/libm-test.inc (y0_test): New tests.
17721 (y1_test): New tests.
17722 * sysdeps/i386/fpu/libm-test-ulps: Update.
17723 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17725
786b0b67
AS
177262012-11-18 Andreas Schwab <schwab@linux-m68k.org>
17727
17728 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
17729 64-bit targets.
17730 * configure: Regenerated.
17731
8e18b86d
DM
177322012-11-17 David S. Miller <davem@davemloft.net>
17733
17734 [BZ #14811]
17735 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
17736 nonzero exponents with absolute value below 0x1p-128 to +/-
17737 0x1p-128.
17738
531f1ae0
JM
177392012-11-17 Joseph Myers <joseph@codesourcery.com>
17740
12df29e2
JM
17741 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
17742
150dc1a0
JM
17743 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
17744
531f1ae0
JM
17745 * posix/getconf-speclist.c: New file.
17746 * posix/posix-envs.def: Likewise.
17747 * posix/confstr.c (START_ENV_GROUP): New macro.
17748 (END_ENV_GROUP): Likewise.
17749 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17750 (KNOWN_PRESENT_ENV_STRING): Likewise.
17751 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17752 (UNKNOWN_ENVIRONMENT): Likewise.
17753 (confstr): Include posix-envs.def instead of handling
17754 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
17755 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
17756 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
17757 (END_ENV_GROUP): Likewise.
17758 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17759 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17760 (UNKNOWN_ENVIRONMENT): Likewise.
17761 (__sysconf): Include posix-envs.def instead of handling associated
17762 cases directly here.
17763 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
17764 preprocessing getconf-speclist.c rather than running getconf or
17765 generating empty file.
17766
a93f9cbc
PT
177672012-11-16 Pino Toscano <toscano.pino@tiscali.it>
17768
17769 * scripts/check-local-headers.sh: Ignore 'mach' headers.
17770
d64d9f87
AL
177712012-11-16 Andrej Lajovic <natrij@gmail.com>
17772
17773 [BZ #14672]
17774 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
17775
447885eb
DM
177762012-11-16 David S. Miller <davem@davemloft.net>
17777
17778 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
17779 smaller than LDBL_EPSILON/2.0L, just return xm1.
17780
bcbf9830
L
177812012-11-16 H.J. Lu <hongjiu.lu@intel.com>
17782
17783 * elf/tst-array1.c (init): Set constructor priority to 1000.
17784 (fini): Set destructor priority to 1000.
17785 * elf/tst-array2dep.c: Likewise.
17786
2b766585
SP
177872012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17788
17789 [BZ #11741]
17790 * libio/fileops.c (_IO_new_file_write): Correctly return error.
17791 (_IO_new_file_xsputn): Also return EOF if none of the input
17792 data was written when overflow failed.
17793 * libio/iopadn.c (_IO_padn): Likewise.
17794 * libio/iowpadn.c (_IO_wpadn): Likewise.
17795 * stdio-common/tst-put-error.c: Add copyright notice.
17796 (do_test): Add case for printing padded string.
17797 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
17798 _IO_padn returned error.
17799 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
17800 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
17801 return EOF.
17802
b1848fde
SP
178032012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17804
17805 * libio/libioP.h: Add comment note that the references to C++
17806 bits are now obsolete.
17807
2fd89785
MS
178082012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17809
17810 * math/libm-test.inc (check_complex): Use asprintf.
17811
e3ea5409
JM
178122012-11-14 Joseph Myers <joseph@codesourcery.com>
17813
17814 * debug/pcprofiledump.c (print_version): Update copyright year.
17815 * malloc/memusagestat.c (print_version): Likewise.
17816
2e64d265
L
178172012-11-14 H.J. Lu <hongjiu.lu@intel.com>
17818
17819 [BZ #14831]
17820 * elf/Makefile (tests): Add tst-audit8.
17821 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
17822 ($(objpfx)tst-audit8.out): New target.
17823 (tst-audit8-ENV): New variable.
17824 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
17825 audit if l_reloc_result is NULL.
17826 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
17827 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
17828 * elf/tst-audit8.c: New file.
17829
c485e4d2
MS
178302012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17831
17832 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
17833 * misc/Makefile (CFLAGS-select.c): Define.
17834 * posix/Makefile (CFLAGS-pause.c): Define.
17835
3a0d900a
DM
178362012-11-13 David S. Miller <davem@davemloft.net>
17837
17838 * crypt/Makefile: Move test targets after toplevel Rules
17839 inclusion. Grab any necessary sysdep routines when linking.
17840 * crypt/md5.c (md5_process_block): Remove define, we will always
17841 name it __md5_process_block.
17842 (md5_finish_ctx): Update md5_process_block call.
17843 (md5_stream): Likewise.
17844 (md5_process_bytes): Likewise.
17845 (md5_process_block): Rename to __md5_process_block and move to ...
17846 * crypt/md5-block.c: ... here.
17847 * crypt/sha256.c (sha256_process_block): Move to ...
17848 * crypt/sha256-block.c: ... here.
17849 * crypt/sha512.c (sha512_process_block): Move to ...
17850 * crypt/sha512-block.c: ... here.
17851 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
17852 path.
17853 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
17854 * sysdeps/sparc/sparc64/multiarch/Makefile
17855 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
17856 crypt subdir.
17857 (localedef-aux): Add md5 crypto assembler when in locale subdir.
17858 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
17859 multiarch changes.
17860 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
17861 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
17862 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
17863 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
17864 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
17865 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
17866 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
17867 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
17868 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
17869 file.
17870 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
17871 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
17872 file.
17873 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
17874
8ca89318
JM
178752012-11-13 Joseph Myers <joseph@codesourcery.com>
17876
e27d476a
JM
17877 * timezone/tzselect.ksh: Update from tzcode git revision
17878 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
17879 * timezone/zdump.c: Likewise.
17880 * timezone/zic.c: Likewise.
17881 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
17882 in TZVERSION setting, not $(PKGVERSION).
17883 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
17884 REPORT_BUGS_TO settings.
17885
8ca89318
JM
17886 [BZ #14838]
17887 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
17888 macro.
17889
47594329
MS
178902012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17891
17892 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
17893 detection to immediately after _FP_ROUND().
17894 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
17895 bits are 0.
17896
640ac3f1
DM
178972012-11-11 David S. Miller <davem@davemloft.net>
17898
17899 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
17900 inttypes.h
17901 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
17902 __close rather than their public counterparts.
17903
3d2577bb
JM
179042012-11-10 Joseph Myers <joseph@codesourcery.com>
17905
17906 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
17907 file.
17908 [UNIX98] (sem_timedwait): Do not expect.
17909 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
17910 [XPG4 || UNIX98] (sockatmark): Do not expect.
17911 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
17912 (clock_getcpuclockid): Do not expect.
17913 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
17914 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
17915 Do not expect.
17916 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
17917 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
17918 [UNIX98] (vwscanf): Likewise.
17919 [UNIX98] (vswscanf): Likewise.
17920
fb1ae1ee
JM
179212012-11-09 Joseph Myers <joseph@codesourcery.com>
17922
9ec6f8bd
JM
17923 * timezone/version.h: Remove file.
17924 * timezone/README: Do not refer to version.h.
17925 * timezone/Makefile ($(objpfx)zic.o): New dependency on
17926 $(objpfx)version.h.
17927 ($(objpfx)zdump.o): Likewise.
c3f81911 17928 ($(objpfx)version.h): New target.
9ec6f8bd 17929
0aa8f8a1
JM
17930 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
17931 2012i.
17932 * timezone/README: Don't mention modification to tzselect.ksh.
17933 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
17934 work on unmodified tzselect.ksh. Substitute version numbers in
17935 tzselect.ksh.
17936
4e87147f
JM
17937 * Makefile (format-me): Remove.
17938 (INSTALL): Adjust indentation. Use commands directly instead of
17939 using $(format-me).
17940
8b748aed
JM
17941 * aclocal.m4 (ACX_PKGVERSION): New macro.
17942 (ACX_BUGURL): Likewise.
17943 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
17944 (PKGVERSION): New AC_DEFINE_UNQUOTED.
17945 (REPORT_BUGS_TO): Likewise.
17946 * configure: Regenerated.
17947 * config.h.in (PKGVERSION): New macro.
17948 (REPORT_BUGS_TO): Likewise.
17949 * config.make.in (PKGVERSION): New variable.
17950 (PKGVERSION_TEXI): Likewise.
17951 (REPORT_BUGS_TO): Likewise.
17952 (REPORT_BUGS_TEXI): Likewise.
17953 * Makefile (format-me): Use -I$(common-objpfx)manual.
17954 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
17955 ($(common-objpfx)manual/%): New target.
17956 (manual/%): Remove target.
17957 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
17958 (print_version): Use PKGVERSION.
17959 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
17960 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
17961 and REPORT_BUGS_TO.
17962 ($(objpfx)xtrace): Likewise.
17963 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
17964 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
17965 (print_version): Use PKGVERSION.
17966 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
17967 (do_version): Use PKGVERSION.
17968 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
17969 REPORT_BUGS_TO.
17970 (common-ldd-rewrite): Likewise.
17971 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
17972 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
17973 (print_version): Use PKGVERSION.
17974 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
17975 * elf/pldd.c (argp_program_bug_address): Remove variable.
17976 (more_help): New function.
17977 (argp): Use more_help.
17978 (print_version): Use PKGVERSION.
17979 * elf/sln.c (main): Use PKGVERSION.
17980 (usage): Use REPORT_BUGS_TO.
17981 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
17982 (top level): Use PKGVERSION.
17983 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
17984 (print_version): Use PKGVERSION.
17985 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
17986 (print_version): Use PKGVERSION.
17987 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
17988 (print_version): Use PKGVERSION.
17989 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
17990 (print_version): Use PKGVERSION.
17991 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
17992 (print_version): Use PKGVERSION.
17993 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
17994 (print_version): Use PKGVERSION.
17995 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
17996 and BUGURL.
17997 ($(objpfx)memusage): Likewise.
17998 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
17999 (do_version): Use PKGVERSION.
18000 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
18001 (print_version): Use PKGVERSION.
18002 * malloc/mtrace.pl ($PACKAGE): Remove variable.
18003 ($PKGVERSION): New variable.
18004 ($REPORT_BUGS_TO): Likewise.
18005 (usage): Use $REPORT_BUGS_TO.
18006 (top level): Use $PKGVERSION.
18007 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
18008 ($(objpfx)pkgvers.texi): New rule.
18009 ($(objpfx)stamp-pkgvers): Likewise.
18010 * manual/install.texi: Include pkgvers.texi.
18011 (--with-pkgversion): Document new configure option.
18012 (--with-bugurl): Likewise.
18013 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
18014 than necessarily for this particular distribution. Use
18015 REPORT_BUGS_TO for where to report bugs.
18016 * INSTALL: Regenerated.
18017 * manual/libc.texinfo: Include pkgvers.texi.
18018 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
18019 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
18020 (print_version): Use PKGVERSION.
18021 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
18022 (print_version): Use PKGVERSION.
18023 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
18024 (print_version): Use PKGVERSION.
18025 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
18026 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
18027 macro.
18028 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
18029 (print_version): Use PKGVERSION.
18030 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
18031 (print_version): Use PKGVERSION.
18032 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
18033 and PKGVERSION.
18034
92e4b6a9
JM
18035 * timezone/checktab.awk: Update from tzcode 2012i.
18036 * timezone/ialloc.c: Likewise.
18037 * timezone/private.h: Likewise.
18038 * timezone/scheck.c: Likewise.
18039 * timezone/tzfile.h: Likewise.
18040 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
18041 (TZVERSION): Hardcode tzcode version number.
18042 * timezone/zdump.c: Update from tzcode 2012i.
18043 * timezone/zic.c: Likewise.
18044 * timezone/version.h: New file.
18045 * timezone/README: Describe version.h. Update upstream location.
18046
9bde902c
JM
18047 [BZ #14824]
18048 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
18049 (mktemp): Enable declaration.
18050 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
18051 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
18052 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
18053 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
18054 Likewise.
18055 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
18056 Likewise.
18057 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
18058 Likewise.
18059 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
18060 Likewise.
18061 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
18062 Likewise.
18063 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
18064 Likewise.
18065
fb1ae1ee
JM
18066 [BZ #14821]
18067 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
18068 offset in buffer as u_int32_t not u_long. Consistently use memcpy
18069 for copies of such integer values.
18070 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18071 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18072
2c1adbcb
AJ
180732012-11-09 Andreas Jaeger <aj@suse.de>
18074
18075 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
18076 definitions and declarations that are provided by
18077 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18078
d0f8457e
AK
180792012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18080
3a235abb 18081 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
18082 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
18083 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
18084 definition.
18085
57241e26
MS
180862012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18087
18088 * elf/elf.h: Update comment before AArch64 relocations.
18089
60e8270d
DM
180902012-11-07 David S. Miller <davem@davemloft.net>
18091
18092 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
18093 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18094 (__start_context): Declare.
18095 (__makecontext_ret): Delete.
18096 (__makecontext): Hook up __start_context instead of
18097 __makecontext_ret.
18098 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
18099 (sysdep_routines): Add __start_context when in stdlib.
18100
0fbb0fbc
JM
181012012-11-07 Joseph Myers <joseph@codesourcery.com>
18102
18103 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
18104 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
18105 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
18106 hardcoded "nm".
18107 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
18108 (READELF): New variable. Use it instead of hardcoded "readelf".
18109
eb48db7e
L
181102012-11-07 H.J. Lu <hongjiu.lu@intel.com>
18111
18112 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
18113 * sysdeps/x86/Makefile: Here.
18114 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
18115 * sysdeps/x86/tst-xmmymm.sh: This.
18116
05bcf62a
JM
181172012-11-07 Joseph Myers <joseph@codesourcery.com>
18118
c4b6cf53
JM
18119 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
18120 expectations.
18121 [UNIX98] (pthread_barrier_t): Do not expect.
18122 [UNIX98] (pthread_barrierattr_t): Likewise.
18123 [UNIX98] (pthread_spinlock_t): Likewise.
18124 [UNIX98] (pthread_barrier_destroy): Likewise.
18125 [UNIX98] (pthread_barrier_init): Likewise.
18126 [UNIX98] (pthread_barrier_wait): Likewise.
18127 [UNIX98] (pthread_barrierattr_destroy): Likewise.
18128 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
18129 [UNIX98] (pthread_barrierattr_init): Likewise.
18130 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
18131 [UNIX98] (pthread_getcpuclockid): Likewise.
18132 [UNIX98] (pthread_mutex_timedlock): Likewise.
18133 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
18134 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
18135 [UNIX98] (pthread_sigmask): Likewise.
18136 [UNIX98] (pthread_spin_destroy): Likewise.
18137 [UNIX98] (pthread_spin_init): Likewise.
18138 [UNIX98] (pthread_spin_lock): Likewise.
18139 [UNIX98] (pthread_spin_trylock): Likewise.
18140 [UNIX98] (pthread_spin_unlock): Likewise.
18141 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
18142 Do not expect.
18143 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
18144 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
18145 [XPG3 || XPG4] (pthread_cond_t): Likewise.
18146 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
18147 [XPG3 || XPG4] (pthread_key_t): Likewise.
18148 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
18149 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
18150 [XPG3 || XPG4] (pthread_once_t): Likewise.
18151 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
18152 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
18153 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
18154 [XPG3 || XPG4] (pthread_t): Likewise.
18155
cbe6e120
JM
18156 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
18157 not expect.
18158 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
18159
1b126443
JM
18160 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
18161 Change function return type to int.
18162
b961a573
JM
18163 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
18164 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
18165 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
18166 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
18167 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
18168 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
18169 [!POSIX] (posix_madvise): Likewise.
18170 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
18171 && !UNIX98].
18172 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
18173 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
18174 (mode_t): Likewise.
18175 (posix_mem_offset): Likewise.
18176 (posix_typed_mem_get_info): Likewise.
18177 (posix_typed_mem_open): Likewise.
18178
9e188909
JM
18179 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
18180 Change condition to [XOPEN2K8].
18181
05bcf62a
JM
18182 * conform/conformtest.pl: Preprocess allow-header data with -x c
18183 instead of from stdin.
18184 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
18185 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
18186 [C99-based standards] (cerfc): Likewise.
18187 [C99-based standards] (cexp2): Likewise.
18188 [C99-based standards] (cexpm1): Likewise.
18189 [C99-based standards] (clog10): Likewise.
18190 [C99-based standards] (clog1p): Likewise.
18191 [C99-based standards] (clog2): Likewise.
18192 [C99-based standards] (clgamma): Likewise.
18193 [C99-based standards] (ctgamma): Likewise.
18194 [C99-based standards] (cerff): Likewise.
18195 [C99-based standards] (cerfcf): Likewise.
18196 [C99-based standards] (cexp2f): Likewise.
18197 [C99-based standards] (cexpm1f): Likewise.
18198 [C99-based standards] (clog10f): Likewise.
18199 [C99-based standards] (clog1pf): Likewise.
18200 [C99-based standards] (clog2f): Likewise.
18201 [C99-based standards] (clgammaf): Likewise.
18202 [C99-based standards] (ctgammaf): Likewise.
18203 [C99-based standards] (cerfl): Likewise.
18204 [C99-based standards] (cerfcl): Likewise.
18205 [C99-based standards] (cexp2l): Likewise.
18206 [C99-based standards] (cexpm1l): Likewise.
18207 [C99-based standards] (clog10l): Likewise.
18208 [C99-based standards] (clog1pl): Likewise.
18209 [C99-based standards] (clog2l): Likewise.
18210 [C99-based standards] (clgammal): Likewise.
18211 [C99-based standards] (ctgammal): Likewise.
18212 * conform/data/inttypes.h-data [C99-based standards]: Include
18213 stdint.h-data. Remove all expectations for stdint.h contents.
18214 [C99-based standards] (PRI*): Do not allow.
18215 [C99-based standards] (SCN*): Likewise.
18216 [C99-based standards] (*_t): Likewise.
18217 [C99-based-standards] (PRId8): Expect macro.
18218 [C99-based-standards] (PRIi8): Likewise.
18219 [C99-based-standards] (PRIo8): Likewise.
18220 [C99-based-standards] (PRIu8): Likewise.
18221 [C99-based-standards] (PRIx8): Likewise.
18222 [C99-based-standards] (PRIX8): Likewise.
18223 [C99-based-standards] (SCNd8): Likewise.
18224 [C99-based-standards] (SCNi8): Likewise.
18225 [C99-based-standards] (SCNo8): Likewise.
18226 [C99-based-standards] (SCNu8): Likewise.
18227 [C99-based-standards] (SCNx8): Likewise.
18228 [C99-based-standards] (PRIdLEAST8): Likewise.
18229 [C99-based-standards] (PRIiLEAST8): Likewise.
18230 [C99-based-standards] (PRIoLEAST8): Likewise.
18231 [C99-based-standards] (PRIuLEAST8): Likewise.
18232 [C99-based-standards] (PRIxLEAST8): Likewise.
18233 [C99-based-standards] (PRIXLEAST8): Likewise.
18234 [C99-based-standards] (SCNdLEAST8): Likewise.
18235 [C99-based-standards] (SCNiLEAST8): Likewise.
18236 [C99-based-standards] (SCNoLEAST8): Likewise.
18237 [C99-based-standards] (SCNuLEAST8): Likewise.
18238 [C99-based-standards] (SCNxLEAST8): Likewise.
18239 [C99-based-standards] (PRIdFAST8): Likewise.
18240 [C99-based-standards] (PRIiFAST8): Likewise.
18241 [C99-based-standards] (PRIoFAST8): Likewise.
18242 [C99-based-standards] (PRIuFAST8): Likewise.
18243 [C99-based-standards] (PRIxFAST8): Likewise.
18244 [C99-based-standards] (PRIXFAST8): Likewise.
18245 [C99-based-standards] (SCNdFAST8): Likewise.
18246 [C99-based-standards] (SCNiFAST8): Likewise.
18247 [C99-based-standards] (SCNoFAST8): Likewise.
18248 [C99-based-standards] (SCNuFAST8): Likewise.
18249 [C99-based-standards] (SCNxFAST8): Likewise.
18250 [C99-based-standards] (PRId16): Likewise.
18251 [C99-based-standards] (PRIi16): Likewise.
18252 [C99-based-standards] (PRIo16): Likewise.
18253 [C99-based-standards] (PRIu16): Likewise.
18254 [C99-based-standards] (PRIx16): Likewise.
18255 [C99-based-standards] (PRIX16): Likewise.
18256 [C99-based-standards] (SCNd16): Likewise.
18257 [C99-based-standards] (SCNi16): Likewise.
18258 [C99-based-standards] (SCNo16): Likewise.
18259 [C99-based-standards] (SCNu16): Likewise.
18260 [C99-based-standards] (SCNx16): Likewise.
18261 [C99-based-standards] (PRIdLEAST16): Likewise.
18262 [C99-based-standards] (PRIiLEAST16): Likewise.
18263 [C99-based-standards] (PRIoLEAST16): Likewise.
18264 [C99-based-standards] (PRIuLEAST16): Likewise.
18265 [C99-based-standards] (PRIxLEAST16): Likewise.
18266 [C99-based-standards] (PRIXLEAST16): Likewise.
18267 [C99-based-standards] (SCNdLEAST16): Likewise.
18268 [C99-based-standards] (SCNiLEAST16): Likewise.
18269 [C99-based-standards] (SCNoLEAST16): Likewise.
18270 [C99-based-standards] (SCNuLEAST16): Likewise.
18271 [C99-based-standards] (SCNxLEAST16): Likewise.
18272 [C99-based-standards] (PRIdFAST16): Likewise.
18273 [C99-based-standards] (PRIiFAST16): Likewise.
18274 [C99-based-standards] (PRIoFAST16): Likewise.
18275 [C99-based-standards] (PRIuFAST16): Likewise.
18276 [C99-based-standards] (PRIxFAST16): Likewise.
18277 [C99-based-standards] (PRIXFAST16): Likewise.
18278 [C99-based-standards] (SCNdFAST16): Likewise.
18279 [C99-based-standards] (SCNiFAST16): Likewise.
18280 [C99-based-standards] (SCNoFAST16): Likewise.
18281 [C99-based-standards] (SCNuFAST16): Likewise.
18282 [C99-based-standards] (SCNxFAST16): Likewise.
18283 [C99-based-standards] (PRId32): Likewise.
18284 [C99-based-standards] (PRIi32): Likewise.
18285 [C99-based-standards] (PRIo32): Likewise.
18286 [C99-based-standards] (PRIu32): Likewise.
18287 [C99-based-standards] (PRIx32): Likewise.
18288 [C99-based-standards] (PRIX32): Likewise.
18289 [C99-based-standards] (SCNd32): Likewise.
18290 [C99-based-standards] (SCNi32): Likewise.
18291 [C99-based-standards] (SCNo32): Likewise.
18292 [C99-based-standards] (SCNu32): Likewise.
18293 [C99-based-standards] (SCNx32): Likewise.
18294 [C99-based-standards] (PRIdLEAST32): Likewise.
18295 [C99-based-standards] (PRIiLEAST32): Likewise.
18296 [C99-based-standards] (PRIoLEAST32): Likewise.
18297 [C99-based-standards] (PRIuLEAST32): Likewise.
18298 [C99-based-standards] (PRIxLEAST32): Likewise.
18299 [C99-based-standards] (PRIXLEAST32): Likewise.
18300 [C99-based-standards] (SCNdLEAST32): Likewise.
18301 [C99-based-standards] (SCNiLEAST32): Likewise.
18302 [C99-based-standards] (SCNoLEAST32): Likewise.
18303 [C99-based-standards] (SCNuLEAST32): Likewise.
18304 [C99-based-standards] (SCNxLEAST32): Likewise.
18305 [C99-based-standards] (PRIdFAST32): Likewise.
18306 [C99-based-standards] (PRIiFAST32): Likewise.
18307 [C99-based-standards] (PRIoFAST32): Likewise.
18308 [C99-based-standards] (PRIuFAST32): Likewise.
18309 [C99-based-standards] (PRIxFAST32): Likewise.
18310 [C99-based-standards] (PRIXFAST32): Likewise.
18311 [C99-based-standards] (SCNdFAST32): Likewise.
18312 [C99-based-standards] (SCNiFAST32): Likewise.
18313 [C99-based-standards] (SCNoFAST32): Likewise.
18314 [C99-based-standards] (SCNuFAST32): Likewise.
18315 [C99-based-standards] (SCNxFAST32): Likewise.
18316 [C99-based-standards] (PRId64): Likewise.
18317 [C99-based-standards] (PRIi64): Likewise.
18318 [C99-based-standards] (PRIo64): Likewise.
18319 [C99-based-standards] (PRIu64): Likewise.
18320 [C99-based-standards] (PRIx64): Likewise.
18321 [C99-based-standards] (PRIX64): Likewise.
18322 [C99-based-standards] (SCNd64): Likewise.
18323 [C99-based-standards] (SCNi64): Likewise.
18324 [C99-based-standards] (SCNo64): Likewise.
18325 [C99-based-standards] (SCNu64): Likewise.
18326 [C99-based-standards] (SCNx64): Likewise.
18327 [C99-based-standards] (PRIdLEAST64): Likewise.
18328 [C99-based-standards] (PRIiLEAST64): Likewise.
18329 [C99-based-standards] (PRIoLEAST64): Likewise.
18330 [C99-based-standards] (PRIuLEAST64): Likewise.
18331 [C99-based-standards] (PRIxLEAST64): Likewise.
18332 [C99-based-standards] (PRIXLEAST64): Likewise.
18333 [C99-based-standards] (SCNdLEAST64): Likewise.
18334 [C99-based-standards] (SCNiLEAST64): Likewise.
18335 [C99-based-standards] (SCNoLEAST64): Likewise.
18336 [C99-based-standards] (SCNuLEAST64): Likewise.
18337 [C99-based-standards] (SCNxLEAST64): Likewise.
18338 [C99-based-standards] (PRIdFAST64): Likewise.
18339 [C99-based-standards] (PRIiFAST64): Likewise.
18340 [C99-based-standards] (PRIoFAST64): Likewise.
18341 [C99-based-standards] (PRIuFAST64): Likewise.
18342 [C99-based-standards] (PRIxFAST64): Likewise.
18343 [C99-based-standards] (PRIXFAST64): Likewise.
18344 [C99-based-standards] (SCNdFAST64): Likewise.
18345 [C99-based-standards] (SCNiFAST64): Likewise.
18346 [C99-based-standards] (SCNoFAST64): Likewise.
18347 [C99-based-standards] (SCNuFAST64): Likewise.
18348 [C99-based-standards] (SCNxFAST64): Likewise.
18349 [C99-based-standards] (PRIdMAX): Likewise.
18350 [C99-based-standards] (PRIiMAX): Likewise.
18351 [C99-based-standards] (PRIoMAX): Likewise.
18352 [C99-based-standards] (PRIuMAX): Likewise.
18353 [C99-based-standards] (PRIxMAX): Likewise.
18354 [C99-based-standards] (PRIXMAX): Likewise.
18355 [C99-based-standards] (SCNdMAX): Likewise.
18356 [C99-based-standards] (SCNiMAX): Likewise.
18357 [C99-based-standards] (SCNoMAX): Likewise.
18358 [C99-based-standards] (SCNuMAX): Likewise.
18359 [C99-based-standards] (SCNxMAX): Likewise.
18360 [C99-based-standards] (PRIdPTR): Likewise.
18361 [C99-based-standards] (PRIiPTR): Likewise.
18362 [C99-based-standards] (PRIoPTR): Likewise.
18363 [C99-based-standards] (PRIuPTR): Likewise.
18364 [C99-based-standards] (PRIxPTR): Likewise.
18365 [C99-based-standards] (PRIXPTR): Likewise.
18366 [C99-based-standards] (SCNdPTR): Likewise.
18367 [C99-based-standards] (SCNiPTR): Likewise.
18368 [C99-based-standards] (SCNoPTR): Likewise.
18369 [C99-based-standards] (SCNuPTR): Likewise.
18370 [C99-based-standards] (SCNxPTR): Likewise.
18371 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
18372 allow.
18373 * conform/data/stdint.h-data: Update comments to clarify
18374 requirements.
18375 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
18376 type.
18377 [C99-based standards] (INT8_MAX): Likewise.
18378 [C99-based standards] (INT16_MIN): Likewise.
18379 [C99-based standards] (INT16_MAX): Likewise.
18380 [C99-based standards] (INT32_MIN): Likewise.
18381 [C99-based standards] (INT32_MAX): Likewise.
18382 [C99-based standards] (INT64_MIN): Likewise.
18383 [C99-based standards] (INT64_MAX): Likewise.
18384 [C99-based standards] (UINT8_MAX): Likewise.
18385 [C99-based standards] (UINT16_MAX): Likewise.
18386 [C99-based standards] (UINT32_MAX): Likewise.
18387 [C99-based standards] (UINT64_MAX): Likewise.
18388 [C99-based standards] (INT_LEAST8_MIN): Likewise.
18389 [C99-based standards] (INT_LEAST8_MAX): Likewise.
18390 [C99-based standards] (INT_LEAST16_MIN): Likewise.
18391 [C99-based standards] (INT_LEAST16_MAX): Likewise.
18392 [C99-based standards] (INT_LEAST32_MIN): Likewise.
18393 [C99-based standards] (INT_LEAST32_MAX): Likewise.
18394 [C99-based standards] (INT_LEAST64_MIN): Likewise.
18395 [C99-based standards] (INT_LEAST64_MAX): Likewise.
18396 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
18397 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
18398 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
18399 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
18400 [C99-based standards] (INT_FAST8_MIN): Likewise.
18401 [C99-based standards] (INT_FAST8_MAX): Likewise.
18402 [C99-based standards] (INT_FAST16_MIN): Likewise.
18403 [C99-based standards] (INT_FAST16_MAX): Likewise.
18404 [C99-based standards] (INT_FAST32_MIN): Likewise.
18405 [C99-based standards] (INT_FAST32_MAX): Likewise.
18406 [C99-based standards] (INT_FAST64_MIN): Likewise.
18407 [C99-based standards] (INT_FAST64_MAX): Likewise.
18408 [C99-based standards] (UINT_FAST8_MAX): Likewise.
18409 [C99-based standards] (UINT_FAST16_MAX): Likewise.
18410 [C99-based standards] (UINT_FAST32_MAX): Likewise.
18411 [C99-based standards] (UINT_FAST64_MAX): Likewise.
18412 [C99-based standards] (INTPTR_MIN): Likewise.
18413 [C99-based standards] (INTPTR_MAX): Likewise.
18414 [C99-based standards] (UINTPTR_MAX): Likewise.
18415 [C99-based standards] (INTMAX_MIN): Likewise.
18416 [C99-based standards] (INTMAX_MAX): Likewise.
18417 [C99-based standards] (UINTMAX_MAX): Likewise.
18418 [C99-based standards] (PTRDIFF_MIN): Likewise.
18419 [C99-based standards] (PTRDIFF_MAX): Likewise.
18420 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
18421 [C99-based standards] (SIZE_MAX): Likewise.
18422 [C99-based standards] (WCHAR_MAX): Likewise.
18423 [C99-based standards] (WINT_MAX): Likewise.
18424 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
18425 constraint on value.
18426 [C99-based standards] (WCHAR_MIN): Likewise.
18427 [C99-based standards] (WINT_MIN): Likewise.
18428 [C99-based standards] (*_t): Allow.
18429 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
18430 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
18431 Include math.h-data and complex.h-data. Remove all expectations
18432 of math.h and complex.h contents.
18433 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
18434 at end of line.
18435 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
18436 (struct tm): Expect tag.
18437 [C99-based-standards] (wcstof): Expect function.
18438 [C99-based-standards] (wcstold): Likewise.
18439 [C99-based-standards] (wcstoll): Likewise.
18440 [C99-based-standards] (wcstoull): Likewise.
18441 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
18442 macro-int-constant. Specify type.
18443 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
18444 constraint on value.
18445 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18446 Specify type.
18447 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
18448 Specify value.
18449 [ISO C standards]: Do not allow headers.
18450 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
18451 wcs[abcdefghijklmnopqrstuvwxyz]*.
18452 [ISO C standards] (*_t): Do not allow.
18453 * conform/data/wctype.h-data [C99-based standards] (iswblank):
18454 Expect function.
18455 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
18456 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18457 Specify type.
18458 [ISO C standards]: Do not allow headers.
18459 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
18460 is[abcdefghijklmnopqrstuvwxyz]*.
18461 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
18462 to[abcdefghijklmnopqrstuvwxyz]*.
18463 [ISO C standards] (*_t): Do not allow.
18464 * conform/data/stdalign.h-data: New file.
18465 * conform/data/stdbool.h-data: Likewise.
18466 * conform/data/stdnoreturn.h-data: Likewise.
18467
7514feb8
RM
184682012-11-07 Roland McGrath <roland@hack.frob.com>
18469
18470 [BZ #14815]
18471 * manual/filesys.texi (Directory Entries): Typo fix.
18472 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
18473
19b2ecfc
MS
184742012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18475
18476 * elf/elf.h (EM_AARCH64): New macro.
18477 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
18478 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
18479 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
18480 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
18481 (R_AARCH64_TLSDESC): Likewise.
18482 (NT_ARM_TLS): Likewise.
18483 (NT_ARM_HW_BREAK): Likewise.
18484 (NT_ARM_HW_WATCH): Likewise.
18485
60e235ee
JM
184862012-11-07 Joseph Myers <joseph@codesourcery.com>
18487
18488 [BZ #14811]
18489 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
18490 (__ieee754_powl): Saturate nonzero exponents with absolute value
18491 below 0x1p-79 to +/- 0x1p-79.
18492 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
18493 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
18494 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
18495 nonzero exponents with absolute value below 0x1p-32 to +/-
18496 0x1p-32.
18497 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
18498 (__ieee754_powl): Saturate nonzero exponents with absolute value
18499 below 0x1p-79 to +/- 0x1p-79.
18500 * math/libm-test.inc (pow_test): Add more tests.
18501
0ab234b7
AK
185022012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18503
18504 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
18505 _dl_s390_cap_flags with kernel. Increase string length.
18506 (_dl_s390_platforms): Add z196 and zEC12.
18507
45832f74
JM
185082012-11-07 Joseph Myers <joseph@codesourcery.com>
18509
18510 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
18511 Change XOPEN21K to XOPEN2K.
18512
19218757
MK
185132012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
18514
18515 * string/memmove.c: Use memcpy when possible.
18516
c5f45721
AJ
185172012-11-06 Andreas Jaeger <aj@suse.de>
18518
18519 * po/eo.po: Update from translation team.
18520
82477c28
JM
185212012-11-06 Joseph Myers <joseph@codesourcery.com>
18522
18523 [BZ #14793]
18524 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
18525 exponent and small x and y exponents, scale x or y up. Increase
18526 by 2 the exponent used in scaling up.
18527 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18528 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18529 * math/libm-test.inc (fma_test): Add more tests.
18530 (fma_test_towardzero): Likewise.
18531 (fma_test_downward): Likewise.
18532 (fma_test_upward): Likewise.
18533
99252c8c
JM
185342012-11-05 Joseph Myers <joseph@codesourcery.com>
18535
acfa885f
JM
18536 [BZ #14805]
18537 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
18538 fenv_t *.
18539
99252c8c
JM
18540 [BZ #14801]
18541 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
18542 namespace for names of struct fields.
18543 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
18544 fenv_t fields.
18545 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
18546 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
18547
d6d98dea
ST
185482012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18549
18550 [BZ #3665]
18551 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
18552
e10bb107
TS
185532012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18554
18555 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
18556 PTR_DEMANGLE.
18557
18558 [BZ #5246]
18559 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
18560 PTR_DEMANGLE.
18561
a0c2940d
JM
185622012-11-04 Joseph Myers <joseph@codesourcery.com>
18563
18564 [BZ #14797]
18565 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
18566 definitely overflow as x * y not x * y + z.
18567 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18568 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18569 * math/libm-test.inc (fma_test): Add more tests.
18570 (fma_test_towardzero): Likewise.
18571 (fma_test_downward): Likewise.
18572 (fma_test_upward): Likewise.
18573
b830319d
TS
185742012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18575
18576 [BZ #157]
18577
18578 * include/stub-tag.h: Remove file.
18579 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
18580 '#include' of it.
18581 * manual/maint.texi (Porting): Don't reference it.
18582 * Makerules ($(objpfx)stubs): Likewise.
18583 * dirent/closedir.c: Don't include <stub-tag.h>.
18584 * dirent/dirfd.c: Likewise.
18585 * dirent/fdopendir.c: Likewise.
18586 * dirent/getdents.c: Likewise.
18587 * dirent/getdents64.c: Likewise.
18588 * dirent/opendir.c: Likewise.
18589 * dirent/readdir.c: Likewise.
18590 * dirent/readdir64.c: Likewise.
18591 * dirent/readdir64_r.c: Likewise.
18592 * dirent/readdir_r.c: Likewise.
18593 * dirent/rewinddir.c: Likewise.
18594 * dirent/seekdir.c: Likewise.
18595 * dirent/telldir.c: Likewise.
18596 * gmon/profil.c: Likewise.
18597 * grp/setgroups.c: Likewise.
18598 * inet/if_index.c: Likewise.
18599 * io/access.c: Likewise.
18600 * io/chdir.c: Likewise.
18601 * io/chmod.c: Likewise.
18602 * io/chown.c: Likewise.
18603 * io/close.c: Likewise.
18604 * io/dup.c: Likewise.
18605 * io/dup2.c: Likewise.
18606 * io/dup3.c: Likewise.
18607 * io/euidaccess.c: Likewise.
18608 * io/faccessat.c: Likewise.
18609 * io/fchdir.c: Likewise.
18610 * io/fchmod.c: Likewise.
18611 * io/fchmodat.c: Likewise.
18612 * io/fchown.c: Likewise.
18613 * io/fchownat.c: Likewise.
18614 * io/fcntl.c: Likewise.
18615 * io/flock.c: Likewise.
18616 * io/fstatfs.c: Likewise.
18617 * io/fstatfs64.c: Likewise.
18618 * io/fstatvfs.c: Likewise.
18619 * io/fstatvfs64.c: Likewise.
18620 * io/futimens.c: Likewise.
18621 * io/fxstat.c: Likewise.
18622 * io/fxstat64.c: Likewise.
18623 * io/fxstatat.c: Likewise.
18624 * io/fxstatat64.c: Likewise.
18625 * io/getcwd.c: Likewise.
18626 * io/isatty.c: Likewise.
18627 * io/lchmod.c: Likewise.
18628 * io/lchown.c: Likewise.
18629 * io/link.c: Likewise.
18630 * io/linkat.c: Likewise.
18631 * io/lseek.c: Likewise.
18632 * io/lseek64.c: Likewise.
18633 * io/lxstat64.c: Likewise.
18634 * io/mkdir.c: Likewise.
18635 * io/mkdirat.c: Likewise.
18636 * io/mkfifo.c: Likewise.
18637 * io/mkfifoat.c: Likewise.
18638 * io/open.c: Likewise.
18639 * io/open64.c: Likewise.
18640 * io/openat.c: Likewise.
18641 * io/openat64.c: Likewise.
18642 * io/pipe.c: Likewise.
18643 * io/pipe2.c: Likewise.
18644 * io/poll.c: Likewise.
18645 * io/posix_fadvise.c: Likewise.
18646 * io/posix_fadvise64.c: Likewise.
18647 * io/posix_fallocate.c: Likewise.
18648 * io/posix_fallocate64.c: Likewise.
18649 * io/read.c: Likewise.
18650 * io/readlink.c: Likewise.
18651 * io/readlinkat.c: Likewise.
18652 * io/rmdir.c: Likewise.
18653 * io/sendfile.c: Likewise.
18654 * io/sendfile64.c: Likewise.
18655 * io/statfs.c: Likewise.
18656 * io/statfs64.c: Likewise.
18657 * io/statvfs.c: Likewise.
18658 * io/statvfs64.c: Likewise.
18659 * io/symlink.c: Likewise.
18660 * io/symlinkat.c: Likewise.
18661 * io/ttyname.c: Likewise.
18662 * io/ttyname_r.c: Likewise.
18663 * io/umask.c: Likewise.
18664 * io/unlink.c: Likewise.
18665 * io/unlinkat.c: Likewise.
18666 * io/utime.c: Likewise.
18667 * io/utimensat.c: Likewise.
18668 * io/write.c: Likewise.
18669 * io/xmknod.c: Likewise.
18670 * io/xmknodat.c: Likewise.
18671 * io/xstat.c: Likewise.
18672 * io/xstat64.c: Likewise.
18673 * login/getpt.c: Likewise.
18674 * login/grantpt.c: Likewise.
18675 * login/unlockpt.c: Likewise.
18676 * math/e_acoshl.c: Likewise.
18677 * math/e_acosl.c: Likewise.
18678 * math/e_asinl.c: Likewise.
18679 * math/e_atan2l.c: Likewise.
18680 * math/e_atanhl.c: Likewise.
18681 * math/e_coshl.c: Likewise.
18682 * math/e_expl.c: Likewise.
18683 * math/e_fmodl.c: Likewise.
18684 * math/e_gammal_r.c: Likewise.
18685 * math/e_hypotl.c: Likewise.
18686 * math/e_j0l.c: Likewise.
18687 * math/e_j1l.c: Likewise.
18688 * math/e_jnl.c: Likewise.
18689 * math/e_lgammal_r.c: Likewise.
18690 * math/e_log10l.c: Likewise.
18691 * math/e_log2l.c: Likewise.
18692 * math/e_logl.c: Likewise.
18693 * math/e_powl.c: Likewise.
18694 * math/e_rem_pio2l.c: Likewise.
18695 * math/e_sinhl.c: Likewise.
18696 * math/e_sqrtl.c: Likewise.
18697 * math/fclrexcpt.c: Likewise.
18698 * math/fedisblxcpt.c: Likewise.
18699 * math/feenablxcpt.c: Likewise.
18700 * math/fegetenv.c: Likewise.
18701 * math/fegetexcept.c: Likewise.
18702 * math/fegetround.c: Likewise.
18703 * math/feholdexcpt.c: Likewise.
18704 * math/fesetenv.c: Likewise.
18705 * math/fesetround.c: Likewise.
18706 * math/feupdateenv.c: Likewise.
18707 * math/fgetexcptflg.c: Likewise.
18708 * math/fraiseexcpt.c: Likewise.
18709 * math/fsetexcptflg.c: Likewise.
18710 * math/ftestexcept.c: Likewise.
18711 * math/k_cosl.c: Likewise.
18712 * math/k_rem_pio2l.c: Likewise.
18713 * math/k_sinl.c: Likewise.
18714 * math/k_tanl.c: Likewise.
18715 * math/s_asinhl.c: Likewise.
18716 * math/s_atanl.c: Likewise.
18717 * math/s_cbrtl.c: Likewise.
18718 * math/s_erfl.c: Likewise.
18719 * math/s_expm1l.c: Likewise.
18720 * math/s_log1pl.c: Likewise.
18721 * math/s_tanhl.c: Likewise.
18722 * misc/acct.c: Likewise.
18723 * misc/brk.c: Likewise.
18724 * misc/chflags.c: Likewise.
18725 * misc/chroot.c: Likewise.
18726 * misc/fchflags.c: Likewise.
18727 * misc/fgetxattr.c: Likewise.
18728 * misc/flistxattr.c: Likewise.
18729 * misc/fremovexattr.c: Likewise.
18730 * misc/fsetxattr.c: Likewise.
18731 * misc/fsync.c: Likewise.
18732 * misc/ftruncate.c: Likewise.
18733 * misc/futimes.c: Likewise.
18734 * misc/futimesat.c: Likewise.
18735 * misc/getdomain.c: Likewise.
18736 * misc/getdtsz.c: Likewise.
18737 * misc/gethostid.c: Likewise.
18738 * misc/gethostname.c: Likewise.
18739 * misc/getloadavg.c: Likewise.
18740 * misc/getpagesize.c: Likewise.
18741 * misc/getsysstats.c: Likewise.
18742 * misc/getxattr.c: Likewise.
18743 * misc/gtty.c: Likewise.
18744 * misc/ioctl.c: Likewise.
18745 * misc/lgetxattr.c: Likewise.
18746 * misc/listxattr.c: Likewise.
18747 * misc/llistxattr.c: Likewise.
18748 * misc/lremovexattr.c: Likewise.
18749 * misc/lsetxattr.c: Likewise.
18750 * misc/lutimes.c: Likewise.
18751 * misc/madvise.c: Likewise.
18752 * misc/mincore.c: Likewise.
18753 * misc/mlock.c: Likewise.
18754 * misc/mlockall.c: Likewise.
18755 * misc/mmap.c: Likewise.
18756 * misc/mprotect.c: Likewise.
18757 * misc/msync.c: Likewise.
18758 * misc/munlock.c: Likewise.
18759 * misc/munlockall.c: Likewise.
18760 * misc/munmap.c: Likewise.
18761 * misc/preadv.c: Likewise.
18762 * misc/preadv64.c: Likewise.
18763 * misc/ptrace.c: Likewise.
18764 * misc/pwritev.c: Likewise.
18765 * misc/pwritev64.c: Likewise.
18766 * misc/readv.c: Likewise.
18767 * misc/reboot.c: Likewise.
18768 * misc/remap_file_pages.c: Likewise.
18769 * misc/removexattr.c: Likewise.
18770 * misc/revoke.c: Likewise.
18771 * misc/select.c: Likewise.
18772 * misc/setdomain.c: Likewise.
18773 * misc/setegid.c: Likewise.
18774 * misc/seteuid.c: Likewise.
18775 * misc/sethostid.c: Likewise.
18776 * misc/sethostname.c: Likewise.
18777 * misc/setregid.c: Likewise.
18778 * misc/setreuid.c: Likewise.
18779 * misc/setxattr.c: Likewise.
18780 * misc/sstk.c: Likewise.
18781 * misc/stty.c: Likewise.
18782 * misc/swapoff.c: Likewise.
18783 * misc/swapon.c: Likewise.
18784 * misc/sync.c: Likewise.
18785 * misc/syncfs.c: Likewise.
18786 * misc/syscall.c: Likewise.
18787 * misc/truncate.c: Likewise.
18788 * misc/ualarm.c: Likewise.
18789 * misc/usleep.c: Likewise.
18790 * misc/ustat.c: Likewise.
18791 * misc/utimes.c: Likewise.
18792 * misc/vhangup.c: Likewise.
18793 * misc/writev.c: Likewise.
18794 * posix/_exit.c: Likewise.
18795 * posix/alarm.c: Likewise.
18796 * posix/execve.c: Likewise.
18797 * posix/fexecve.c: Likewise.
18798 * posix/fork.c: Likewise.
18799 * posix/fpathconf.c: Likewise.
18800 * posix/getaddrinfo.c: Likewise.
18801 * posix/getegid.c: Likewise.
18802 * posix/geteuid.c: Likewise.
18803 * posix/getgid.c: Likewise.
18804 * posix/getgroups.c: Likewise.
18805 * posix/getlogin.c: Likewise.
18806 * posix/getlogin_r.c: Likewise.
18807 * posix/getpgid.c: Likewise.
18808 * posix/getpid.c: Likewise.
18809 * posix/getppid.c: Likewise.
18810 * posix/getresgid.c: Likewise.
18811 * posix/getresuid.c: Likewise.
18812 * posix/getsid.c: Likewise.
18813 * posix/getuid.c: Likewise.
18814 * posix/glob64.c: Likewise.
18815 * posix/nanosleep.c: Likewise.
18816 * posix/pathconf.c: Likewise.
18817 * posix/pause.c: Likewise.
18818 * posix/posix_madvise.c: Likewise.
18819 * posix/pread.c: Likewise.
18820 * posix/pread64.c: Likewise.
18821 * posix/pwrite.c: Likewise.
18822 * posix/pwrite64.c: Likewise.
18823 * posix/sched_getaffinity.c: Likewise.
18824 * posix/sched_getp.c: Likewise.
18825 * posix/sched_gets.c: Likewise.
18826 * posix/sched_primax.c: Likewise.
18827 * posix/sched_primin.c: Likewise.
18828 * posix/sched_rr_gi.c: Likewise.
18829 * posix/sched_setaffinity.c: Likewise.
18830 * posix/sched_setp.c: Likewise.
18831 * posix/sched_sets.c: Likewise.
18832 * posix/sched_yield.c: Likewise.
18833 * posix/setgid.c: Likewise.
18834 * posix/setlogin.c: Likewise.
18835 * posix/setpgid.c: Likewise.
18836 * posix/setresgid.c: Likewise.
18837 * posix/setresuid.c: Likewise.
18838 * posix/setsid.c: Likewise.
18839 * posix/setuid.c: Likewise.
18840 * posix/sleep.c: Likewise.
18841 * posix/spawni.c: Likewise.
18842 * posix/sysconf.c: Likewise.
18843 * posix/times.c: Likewise.
18844 * posix/wait.c: Likewise.
18845 * posix/wait3.c: Likewise.
18846 * posix/wait4.c: Likewise.
18847 * posix/waitpid.c: Likewise.
18848 * resolv/gai_sigqueue.c: Likewise.
18849 * resource/getpriority.c: Likewise.
18850 * resource/getrlimit.c: Likewise.
18851 * resource/getrusage.c: Likewise.
18852 * resource/nice.c: Likewise.
18853 * resource/setpriority.c: Likewise.
18854 * resource/setrlimit.c: Likewise.
18855 * resource/ulimit.c: Likewise.
18856 * rt/aio_cancel.c: Likewise.
18857 * rt/aio_fsync.c: Likewise.
18858 * rt/aio_read.c: Likewise.
18859 * rt/aio_sigqueue.c: Likewise.
18860 * rt/aio_suspend.c: Likewise.
18861 * rt/aio_write.c: Likewise.
18862 * rt/clock_getres.c: Likewise.
18863 * rt/clock_gettime.c: Likewise.
18864 * rt/clock_nanosleep.c: Likewise.
18865 * rt/clock_settime.c: Likewise.
18866 * rt/lio_listio.c: Likewise.
18867 * rt/mq_close.c: Likewise.
18868 * rt/mq_getattr.c: Likewise.
18869 * rt/mq_notify.c: Likewise.
18870 * rt/mq_open.c: Likewise.
18871 * rt/mq_receive.c: Likewise.
18872 * rt/mq_send.c: Likewise.
18873 * rt/mq_setattr.c: Likewise.
18874 * rt/mq_timedreceive.c: Likewise.
18875 * rt/mq_timedsend.c: Likewise.
18876 * rt/mq_unlink.c: Likewise.
18877 * rt/shm_open.c: Likewise.
18878 * rt/shm_unlink.c: Likewise.
18879 * rt/timer_create.c: Likewise.
18880 * rt/timer_delete.c: Likewise.
18881 * rt/timer_getoverr.c: Likewise.
18882 * rt/timer_gettime.c: Likewise.
18883 * rt/timer_settime.c: Likewise.
18884 * setjmp/__longjmp.c: Likewise.
18885 * setjmp/setjmp.c: Likewise.
18886 * signal/kill.c: Likewise.
18887 * signal/killpg.c: Likewise.
18888 * signal/raise.c: Likewise.
18889 * signal/sigaction.c: Likewise.
18890 * signal/sigaltstack.c: Likewise.
18891 * signal/sigblock.c: Likewise.
18892 * signal/sigignore.c: Likewise.
18893 * signal/sigintr.c: Likewise.
18894 * signal/signal.c: Likewise.
18895 * signal/sigpause.c: Likewise.
18896 * signal/sigpending.c: Likewise.
18897 * signal/sigqueue.c: Likewise.
18898 * signal/sigreturn.c: Likewise.
18899 * signal/sigset.c: Likewise.
18900 * signal/sigsetmask.c: Likewise.
18901 * signal/sigstack.c: Likewise.
18902 * signal/sigsuspend.c: Likewise.
18903 * signal/sigtimedwait.c: Likewise.
18904 * signal/sigvec.c: Likewise.
18905 * signal/sigwait.c: Likewise.
18906 * signal/sigwaitinfo.c: Likewise.
18907 * signal/sysv_signal.c: Likewise.
18908 * socket/accept.c: Likewise.
18909 * socket/accept4.c: Likewise.
18910 * socket/bind.c: Likewise.
18911 * socket/connect.c: Likewise.
18912 * socket/getpeername.c: Likewise.
18913 * socket/getsockname.c: Likewise.
18914 * socket/getsockopt.c: Likewise.
18915 * socket/isfdtype.c: Likewise.
18916 * socket/listen.c: Likewise.
18917 * socket/recv.c: Likewise.
18918 * socket/recvfrom.c: Likewise.
18919 * socket/recvmsg.c: Likewise.
18920 * socket/send.c: Likewise.
18921 * socket/sendmsg.c: Likewise.
18922 * socket/sendto.c: Likewise.
18923 * socket/setsockopt.c: Likewise.
18924 * socket/shutdown.c: Likewise.
18925 * socket/sockatmark.c: Likewise.
18926 * socket/socket.c: Likewise.
18927 * socket/socketpair.c: Likewise.
18928 * stdio-common/ctermid.c: Likewise.
18929 * stdio-common/cuserid.c: Likewise.
18930 * stdio-common/remove.c: Likewise.
18931 * stdio-common/rename.c: Likewise.
18932 * stdio-common/renameat.c: Likewise.
18933 * stdio-common/tempname.c: Likewise.
18934 * stdlib/getcontext.c: Likewise.
18935 * stdlib/makecontext.c: Likewise.
18936 * stdlib/setcontext.c: Likewise.
18937 * stdlib/swapcontext.c: Likewise.
18938 * stdlib/system.c: Likewise.
18939 * streams/fattach.c: Likewise.
18940 * streams/fdetach.c: Likewise.
18941 * streams/getmsg.c: Likewise.
18942 * streams/getpmsg.c: Likewise.
18943 * streams/putmsg.c: Likewise.
18944 * streams/putpmsg.c: Likewise.
18945 * sysdeps/unix/bsd/getpt.c: Likewise.
18946 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
18947 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
18948 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18950 Likewise.
18951 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
18952 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18953 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
18954 * sysvipc/msgctl.c: Likewise.
18955 * sysvipc/msgget.c: Likewise.
18956 * sysvipc/msgrcv.c: Likewise.
18957 * sysvipc/msgsnd.c: Likewise.
18958 * sysvipc/semctl.c: Likewise.
18959 * sysvipc/semget.c: Likewise.
18960 * sysvipc/semop.c: Likewise.
18961 * sysvipc/semtimedop.c: Likewise.
18962 * sysvipc/shmat.c: Likewise.
18963 * sysvipc/shmctl.c: Likewise.
18964 * sysvipc/shmdt.c: Likewise.
18965 * sysvipc/shmget.c: Likewise.
18966 * termios/tcdrain.c: Likewise.
18967 * termios/tcflow.c: Likewise.
18968 * termios/tcflush.c: Likewise.
18969 * termios/tcgetattr.c: Likewise.
18970 * termios/tcgetpgrp.c: Likewise.
18971 * termios/tcsendbrk.c: Likewise.
18972 * termios/tcsetattr.c: Likewise.
18973 * termios/tcsetpgrp.c: Likewise.
18974 * time/adjtime.c: Likewise.
18975 * time/clock.c: Likewise.
18976 * time/getitimer.c: Likewise.
18977 * time/gettimeofday.c: Likewise.
18978 * time/setitimer.c: Likewise.
18979 * time/settimeofday.c: Likewise.
18980 * time/stime.c: Likewise.
18981 * time/time.c: Likewise.
18982
189832012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 18984
a20492cf
PT
18985 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
18986 /usr/old/bin.
18987
72e182e3
PT
18988 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
18989 instead of spaces.
18990 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
18991
fbeafede
JM
189922012-11-03 Joseph Myers <joseph@codesourcery.com>
18993
5b5b04d6
JM
18994 [BZ #14796]
18995 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
18996 FE_TONEAREST before applying Dekker multiplication and Knuth
18997 addition. Clear inexact exceptions and check for exact zero
18998 results afterwards.
18999 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19000 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19001 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19002 * math/libm-test.inc (fma_test): Add more tests.
19003 (fma_test_towardzero): Likewise.
19004 (fma_test_downward): Likewise.
19005 (fma_test_upward): Likewise.
19006 * sysdeps/generic/math_private.h (default_libc_fesetround): New
19007 function.
19008 (libc_fesetround): New macro.
19009 (libc_fesetroundf): Likewise.
19010 (libc_fesetroundl): Likewise.
19011 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
19012 function.
19013 (libc_fesetround_387): Likewise.
19014 (libc_fesetroundf): New macro.
19015 (libc_fesetround): Likewise.
19016 (libc_fesetroundl): Likewise.
19017 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
19018 function.
19019 (libc_fesetroundf): New macro.
19020 (libc_fesetround): Likewise.
19021 (libc_fesetroundl): Likewise.
19022 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
19023 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
19024 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
19025 libm_hidden_ver.
19026 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
19027 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
19028 libm_hidden_def.
19029 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
19030 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
19031 libm_hidden_ver.
19032 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
19033 libm_hidden_def.
19034
fbeafede
JM
19035 [BZ #3439]
19036 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
19037 integer constant usable in #if and use that to give value to enum
19038 constant.
19039 (FE_DIVBYZERO): Likewise.
19040 (FE_UNDERFLOW): Likewise.
19041 (FE_OVERFLOW): Likewise.
19042 (FE_INVALID): Likewise.
19043 (FE_INVALID_SNAN): Likewise.
19044 (FE_INVALID_ISI): Likewise.
19045 (FE_INVALID_IDI): Likewise.
19046 (FE_INVALID_ZDZ): Likewise.
19047 (FE_INVALID_IMZ): Likewise.
19048 (FE_INVALID_COMPARE): Likewise.
19049 (FE_INVALID_SOFTWARE): Likewise.
19050 (FE_INVALID_SQRT): Likewise.
19051 (FE_INVALID_INTEGER_CONVERSION): Likewise.
19052 (FE_TONEAREST): Likewise.
19053 (FE_TOWARDZERO): Likewise.
19054 (FE_UPWARD): Likewise.
19055 (FE_DOWNWARD): Likewise.
19056 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
19057 (FE_DIVBYZERO): Likewise.
19058 (FE_OVERFLOW): Likewise.
19059 (FE_UNDERFLOW): Likewise.
19060 (FE_INEXACT): Likewise.
19061 (FE_TONEAREST): Likewise.
19062 (FE_DOWNWARD): Likewise.
19063 (FE_UPWARD): Likewise.
19064 (FE_TOWARDZERO): Likewise.
19065 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
19066 (FE_UNDERFLOW): Likewise.
19067 (FE_OVERFLOW): Likewise.
19068 (FE_DIVBYZERO): Likewise.
19069 (FE_INVALID): Likewise.
19070 (FE_TONEAREST): Likewise.
19071 (FE_TOWARDZERO): Likewise.
19072 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
19073 (FE_OVERFLOW): Likewise.
19074 (FE_UNDERFLOW): Likewise.
19075 (FE_DIVBYZERO): Likewise.
19076 (FE_INEXACT): Likewise.
19077 (FE_TONEAREST): Likewise.
19078 (FE_TOWARDZERO): Likewise.
19079 (FE_UPWARD): Likewise.
19080 (FE_DOWNWARD): Likewise.
19081 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
19082 (FE_DIVBYZERO): Likewise.
19083 (FE_OVERFLOW): Likewise.
19084 (FE_UNDERFLOW): Likewise.
19085 (FE_INEXACT): Likewise.
19086 (FE_TONEAREST): Likewise.
19087 (FE_DOWNWARD): Likewise.
19088 (FE_UPWARD): Likewise.
19089 (FE_TOWARDZERO): Likewise.
19090
105ca950
CM
190912012-11-02 Chris Metcalf <cmetcalf@tilera.com>
19092
19093 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
19094
a542b389
AS
190952012-11-03 Andreas Schwab <schwab@linux-m68k.org>
19096
19097 * scripts/cross-test-ssh.sh (command): Use newlines to separate
19098 commands. Quote $PWD.
19099 (blacklist_exports): Don't use remove_newlines. Replace "declare
19100 -x" by "export".
19101 (remove_newlines): Remove.
19102
f62c8abc
L
191032012-11-02 H.J. Lu <hongjiu.lu@intel.com>
19104
19105 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
19106 * stdlib/stdlib.h (atof): Moved to ...
19107 * include/bits/stdlib-float.h: Here. New file.
19108 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
19109 * stdlib/bits/stdlib-float.h: New file.
19110 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
19111 -mno-sse -mno-mmx.
19112 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
19113 <xmmintrin.h>.
19114
0155d5b2
JM
191152012-11-02 Joseph Myers <joseph@codesourcery.com>
19116
a68d0680
JM
19117 * conform/conformtest.pl (@headers): Add fenv.h.
19118 * conform/data/fenv.h-data: New file.
19119 * include/fenv.h [_ISOMAC]: Disable all contents of file except
19120 include of <math/fenv.h>.
19121
caf7f573
JM
19122 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
19123 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
19124 && !UNIX98]. Enables tests for XOPEN2K8.
19125 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
19126 POSIX2008]: Likewise.
19127
6c073ad6
JM
19128 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
19129 (struct rusage): Do not expect type or its members.
19130
0155d5b2
JM
19131 [BZ #3439]
19132 * math/math.h (FP_NAN): Define macro to integer constant usable in
19133 #if and use that to give value to enum constant.
19134 (FP_INFINITE): Likewise.
19135 (FP_ZERO): Likewise.
19136 (FP_SUBNORMAL): Likewise.
19137 (FP_NORMAL): Likewise.
19138
b5dcacb4
AS
191392012-11-02 Andreas Schwab <schwab@linux-m68k.org>
19140
19141 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
19142 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
19143 arguments.
19144
f7934be8
RM
191452012-11-02 Roland McGrath <roland@hack.frob.com>
19146
19147 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
19148 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
19149 autoconf-time if not.
19150 * configure.in: Remove AC_PREREQ.
19151
d7d08bde
TMQMF
191522012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19153
19154 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
19155 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
19156 of the internal implementation.
19157
dcdae19a
JM
191582012-11-02 Joseph Myers <joseph@codesourcery.com>
19159
19160 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
19161 except include of <misc/sys/syslog.h>.
19162
d6cffd3e
AS
191632012-11-01 Andreas Schwab <schwab@linux-m68k.org>
19164
19165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
19166 function returns with a NULL context exit with zero.
19167
b3563932
TMQMF
191682012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19169
19170 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
19171
b288a93d
L
191722012-11-01 H.J. Lu <hongjiu.lu@intel.com>
19173
19174 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
19175 (run_program_cmd): This.
19176 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
19177 (tst_langinfo): New variable. Use it.
19178
a2421a68
SAS
191792012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
19180
19181 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
19182 floating point opcodes.
19183
6f796e1b
TS
191842012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19185
7402596b
TS
19186 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
19187 variable.
19188
d0d4f868
TS
19189 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
19190
6f796e1b
TS
19191 * sysdeps/mach/hurd/powerpc: Remove directory.
19192 * sysdeps/mach/powerpc: Likewise.
19193
4da224a2
AS
191942012-11-01 Andreas Schwab <schwab@linux-m68k.org>
19195
19196 * scripts/check-local-headers.sh: Ignore c++ headers.
19197
341dd673
TS
191982012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19199
19200 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
19201 __libc_cleanup_region_start argument.
19202
473611b2
JM
192032012-11-01 Joseph Myers <joseph@codesourcery.com>
19204
19205 [BZ #14784]
19206 [BZ #14785]
19207 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
19208 x * y using scaling, not as x * y + z.
19209 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19210 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19211 * math/libm-test.inc (fma_test): Add more tests.
19212 (fma_test_towardzero): Likewise.
19213 (fma_test_downward): Likewise.
19214 (fma_test_upward): Likewise.
19215
4078da3d
TS
192162012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19217
19218 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
19219
903252aa
JM
192202012-10-31 Joseph Myers <joseph@codesourcery.com>
19221
19222 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
19223 New variable.
19224
cbc818d0
TS
192252012-10-31 Thomas Schwinge <thomas@codesourcery.com>
19226
19227 * rt/tst-shm.c (worker): Correct checking for mmap failure.
19228
5a03cb1e
AS
192292012-10-31 Andreas Schwab <schwab@linux-m68k.org>
19230
19231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19232 Fix sort order.
19233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19234 Likewise.
19235
90aff2ff
TMQMF
192362012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19237
19238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19239 Fix the order of the list for glibc 2.17.
19240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19241 Likewise.
19242
1818fcb7
AS
192432012-10-31 Andreas Schwab <schwab@linux-m68k.org>
19244
19245 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19246
ef82f4da
JM
192472012-10-31 Joseph Myers <joseph@codesourcery.com>
19248
16a0e2ec
JM
19249 [BZ #14610]
19250 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
19251 for low part of x being zero before using __atanl (y).
19252 * math/libm-test.inc (atan2_test): Add another test.
19253
0eb69512
JM
19254 * manual/install.texi (Configuring and compiling): Document
19255 general use of test-wrapper and test-wrapper-env.
19256 * INSTALL: Regenerated.
19257
ef82f4da
JM
19258 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
19259 (__fma): Do not extract and scale down low bits on after-rounding
19260 systems when result rounded to normal precision would have normal
19261 exponent.
19262 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
19263 (__fmal): Do not extract and scale down low bits on after-rounding
19264 systems when result rounded to normal precision would have normal
19265 exponent.
19266 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
19267 (__fmal): Do not extract and scale down low bits on after-rounding
19268 systems when result rounded to normal precision would have normal
19269 exponent.
19270 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
19271 macro.
19272 (fma_test): Add more tests.
19273 (fma_test_towardzero): Likewise.
19274 (fma_test_downward): Likewise.
19275 (fma_test_upward): Likewise.
19276
954ef0d9
L
192772012-10-30 H.J. Lu <hongjiu.lu@intel.com>
19278
19279 * sysdeps/i386/tininess.h: Renamed to ...
19280 * sysdeps/x86/tininess.h: This.
19281 * sysdeps/x86_64/tininess.h: Removed.
19282
df61ffb2
JM
192832012-10-30 Joseph Myers <joseph@codesourcery.com>
19284
19285 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
19286 input. Use $(build-program-cmd).
19287 ($(objpfx)tst-array1-static.out): Likewise.
19288 ($(objpfx)tst-array2.out): Likewise.
19289 ($(objpfx)tst-array3.out): Likewise.
19290 ($(objpfx)tst-array4.out): Likewise.
19291 ($(objpfx)tst-array5.out): Likewise.
19292 ($(objpfx)tst-array5-static.out): Likewise.
19293
01767843
CM
192942012-10-30 Chris Metcalf <cmetcalf@tilera.com>
19295
47cc1490
CM
19296 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
19297 if defined.
19298
01767843
CM
19299 * nss/nsswitch.h (nss_interface_function): Provide new
19300 macro for use with NSS functions.
19301 * grp/initgroups.c: Use new macro.
19302 * nss/getXXbyYY.c: Likewise.
19303 * nss/getXXbyYY_r.c: Likewise.
19304 * nss/getXXent.c: Likewise.
19305 * nss/getXXent_r.c: Likewise.
19306 * sysdeps/posix/getaddrinfo.c: Likewise.
19307
8321aa97
AJ
193082012-10-30 Andreas Jaeger <aj@suse.de>
19309
19310 * po/ru.po: Update Russion translation from translation project.
19311
2a27fd6d
JM
193122012-10-30 Joseph Myers <joseph@codesourcery.com>
19313
8627a232
JM
19314 [BZ #14152]
19315 [BZ #14783]
19316 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
19317 result and shift together with sticky bit instead of replicating
19318 round-to-nearest rounding.
19319 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19320 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19321 * math/libm-test.inc (fma_test): Add more tests. Do not permit
19322 missing underflow exceptions.
19323 (fma_test_towardzero): Add more tests.
19324 (fma_test_downward): Likewise.
19325 (fma_test_upward): Likewise.
19326
2a27fd6d
JM
19327 [BZ #14047]
19328 * sysdeps/generic/tininess.h: New file.
19329 * sysdeps/i386/tininess.h: Likewise.
19330 * sysdeps/sh/tininess.h: Likewise.
19331 * sysdeps/x86_64/tininess.h: Likewise.
19332 * stdlib/tst-strtod-underflow.c: Likewise.
19333 * stdlib/tst-tininess.c: Likewise.
19334 * stdlib/strtod_l.c: Include <tininess.h>.
19335 (round_and_return): Do not set errno for exact underflow cases.
19336 Force an underflow exception when setting errno for underflow.
19337 Determine underflow based on rounding to normal precision if
19338 TININESS_AFTER_ROUNDING.
19339 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
19340 ERANGE for exact underflow cases.
19341 * stdlib/Makefile (tests): Add tst-tininess and
19342 tst-strtod-underflow.
19343 ($(objpfx)tst-tininess): Use $(link-libm).
19344 ($(objpfx)tst-strtod-underflow): Likewise.
19345
e7170363
AJ
193462012-10-30 Andreas Jaeger <aj@suse.de>
19347
e5088dc6
AJ
19348 [BZ#14767]
19349 * elf/Makefile (tests): Remove conditional for have-initfini-array
19350 since this is now always required and the variable does not exist
19351 anymore.
19352 (tests-static): Likewise.
19353 (modules-names): Likewise.
19354
e7170363 19355 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
19356
19357 * elf/tst-array1.c (fini_array): Make writeable so that it can be
19358 merged with constructor/destructor.
19359 (init_array): Likewise.
19360 * elf/tst-array2dep.c (fini_array): Likewise.
19361 (init_array): Likewise.
19362
60457d8a
MF
193632012-10-29 Mike Frysinger <vapier@gentoo.org>
19364
19365 * manual/message.texi: Delete @cartouche tags.
19366
8bece752
PT
193672012-10-29 Pino Toscano <toscano.pino@tiscali.it>
19368
94ce799f
PT
19369 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
19370 EOPNOTSUPP.
19371 * sysdeps/mach/hurd/fsync.c: Likewise.
19372
8bece752
PT
19373 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
19374 [_POSIX_REALTIME_SIGNALS]: Change condition to
19375 [_POSIX_REALTIME_SIGNALS > 0].
19376
86ebe6b1
AJ
193772012-10-27 Andreas Jaeger <aj@suse.de>
19378
19379 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
19380 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
19381 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
19382 [__WORDSIZE != 64]: Likewise.
19383
54399c08
L
193842012-10-26 H.J. Lu <hongjiu.lu@intel.com>
19385
19386 * iconvdata/tst-table.sh: Remove ${SHELL}.
19387 * iconvdata/tst-tables.sh: Likewise.
19388
e2211bed
DM
193892012-10-25 David S. Miller <davem@davemloft.net>
19390
19391 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19392 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
19393 of strtoull.
19394
f303f97c
DM
19395 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
19396 ifunc-impl-list.c
19397 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19398 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
19399 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
19400 file.
19401
1e9d84cd
RM
194022012-10-25 Roland McGrath <roland@hack.frob.com>
19403
19404 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19405 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
19406 __getdirentries.
19407
df381762
JM
194082012-10-25 Joseph Myers <joseph@codesourcery.com>
19409 Jim Blandy <jimb@codesourcery.com>
19410
19411 * scripts/cross-test-ssh.sh: New file.
19412 * manual/install.texi (Configuring and compiling): Document use of
19413 cross-test-ssh.sh.
19414 * INSTALL: Regenerated.
19415
bff64913
PT
194162012-10-25 Pino Toscano <toscano.pino@tiscali.it>
19417
19418 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
19419 EOPNOTSUPP.
19420
25fe8932
JM
194212012-10-25 Joseph Myers <joseph@codesourcery.com>
19422
19423 * Makeconfig (run-program-prefix): Fix comment.
19424
cc1290d0
JM
194252012-10-24 Joseph Myers <joseph@codesourcery.com>
19426 Jim Blandy <jimb@codesourcery.com>
19427
19428 * Makeconfig (test-wrapper): New variable,
19429 (test-wrapper-env): Likewise.
19430 [$(cross-compiling) = yes && $(test-wrapper) != ""]
19431 (run-built-tests): Define to yes.
19432 (run-program-prefix): Use $(test-wrapper).
19433 (built-program-cmd): Likewise.
19434 * Rules (make-test-out): Use $(test-wrapper-env) and
19435 $(host-built-program-cmd).
19436 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
19437 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
19438 tst-pathopt.sh.
19439 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
19440 $(test-wrapper-env) to tst-rtld-load-self.sh.
19441 ($(objpfx)order2.out): Use $(test-wrapper).
19442 ($(objpfx)tst-initorder.out): Likewise.
19443 ($(objpfx)tst-initorder2.out): Likewise.
19444 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
19445 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
19446 (test_wrapper_env): New variable. Use it to run ld.so.
19447 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
19448 Use it to run ld.so.
19449 (test_wrapper_env): Likewise.
19450 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
19451 $(test-wrapper) to run-iconv-test.sh.
19452 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
19453 (ICONV): Use $test_wrapper.
19454 * posix/Makefile ($(objpfx)globtest.out): Pass
19455 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
19456 globtest.sh, not $(run-program-prefix).
19457 * posix/globtest.sh (run_via_rtld_prefix): New variable.
19458 (test_wrapper): Likewise.
19459 (test_wrapper_env): Likewise. Use it to run globtest with HOME
19460 set together with run_via_rtld_prefix.
19461 (run_program_prefix): Define in terms of test_wrapper and
19462 run_via_rtld_prefix.
19463
6e6249d0
RM
194642012-10-24 Roland McGrath <roland@hack.frob.com>
19465
19466 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
19467 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
19468 Targets removed.
19469
19470 [BZ #14743]
19471 * include/time.h: Remove librt_hidden_proto (clock_gettime).
19472 Declare __clock_getres, __clock_gettime, __clock_settime,
19473 __clock_nanosleep, and __clock_getcpuclockid.
19474 * rt/clock_gettime.c: Define __clock_gettime as an alias.
19475 Remove librt_hidden_def (clock_gettime).
19476 * sysdeps/unix/clock_gettime.c: Likewise.
19477 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
19478 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
19479 * rt/clock_getres.c: Define __clock_getres as an alias.
19480 * sysdeps/posix/clock_getres.c: Likewise.
19481 * rt/clock_settime.c: Define __clock_settime as an alias.
19482 * sysdeps/unix/clock_settime.c: Likewise.
19483 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
19484 * sysdeps/unix/clock_nanosleep.c: Likewise.
19485 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
19486 * rt/clock-compat.c: New file.
19487 * rt/Makefile (librt-routines): Add clock-compat and move
19488 $(clock-routines) to ...
19489 (routines): ... here, new variable.
19490 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
19491 Don't add get_clockfreq here.
19492 * rt/Versions (libc: GLIBC_2.17): New version set.
19493 Add clock_* symbols here.
19494 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
19495 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
19496 (GLIBC_2.17): Add clock_* symbols.
19497 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19498 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19499 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19501 Likewise.
19502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19503 Likewise.
19504 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19505 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
19506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19508 * NEWS: Mention the move.
19509
19510 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19511 Use __open, __read, __close rather than their public counterparts.
19512 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19513 (__get_clockfreq_via_cpuinfo): Likewise.
19514 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
19515 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
19516
19517 * config.h.in (HAVE_IFUNC): New #undef.
19518 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
19519 was successful.
19520 * configure: Regenerated.
19521
0cae3f4b
MF
195222012-10-24 Mike Frysinger <vapier@gentoo.org>
19523
19524 * configure.in: Move READELF check to start of file.
19525 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
19526 libc_cv_asm_gnu_indirect_function in the process.
19527 * configure: Regenerated.
19528
8175a253
MF
195292012-10-24 Mike Frysinger <vapier@gentoo.org>
19530
19531 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
19532 send the output to /dev/null.
19533 (libc_cv_cc_with_libunwind): Likewise.
19534 (libc_cv_as_noexecstack): Likewise.
19535 * configure: Regenerate.
19536
0708a7d1
JM
195372012-10-24 Joseph Myers <joseph@codesourcery.com>
19538
10b40d85
JM
19539 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
19540
0708a7d1
JM
19541 * posix/globtest.sh (TMPDIR): Do not set.
19542 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
19543 (testout): Likewise.
19544
9fddec1a
AJ
195452012-10-24 Andreas Jaeger <aj@suse.de>
19546
3a8db22f
AJ
19547 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
19548 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
19549 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
19550 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
19551 posix_fadvise64, posix_fallocate64.
19552
9fddec1a
AJ
19553 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
19554 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
19555 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
19556 Likewise.
19557 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
19558 Likewise.
19559 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
19560
19561 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
19562 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
19563 <bits/fcntl-linux.h>.
19564 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
19565
19566 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
19567 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
19568 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
19569 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
19570 [__WORDSIZE != 64]: Likewise.
19571
ebfd1bbd
JM
195722012-10-23 Joseph Myers <joseph@codesourcery.com>
19573
03ac099f
JM
19574 * Makeconfig (run-built-tests): New variable.
19575 * Rules [$(cross-compiling) = yes]: Change condition to
19576 [$(run-built-tests) = no].
19577 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
19578 to [$(run-built-tests) = yes].
19579 * elf/Makefile [$(cross-compiling) = no]: Likewise
19580 * grp/Makefile [$(cross-compiling) = no]: Likewise.
19581 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
19582 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
19583 * intl/Makefile [$(cross-compiling) = no]: Likewise.
19584 * io/Makefile [$(cross-compiling) = no]: Likewise.
19585 * libio/Makefile [$(cross-compiling) = no]: Likewise.
19586 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
19587 * misc/Makefile [$(cross-compiling) = no]: Likewise.
19588 * posix/Makefile [$(cross-compiling) = no]: Likewise.
19589 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
19590 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
19591 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
19592 * string/Makefile [$(cross-compiling) = no]: Likewise.
19593
ebfd1bbd
JM
19594 * posix/Makefile ($(objpfx)globtest.out): Pass
19595 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
19596 $(rtld-installed-name).
19597 * posix/globtest.sh (elf_objpfx): Remove variable.
19598 (rtld_installed_name): Likewise.
19599 (library_path): Likewise.
19600 (run_program_prefix): New variable. Use for running globtest
19601 binary.
19602
166bca24
JB
196032012-10-23 Jim Blandy <jimb@codesourcery.com>
19604 Joseph Myers <joseph@codesourcery.com>
19605
19606 * Makeconfig (host-built-program-cmd): New variable.
19607 * elf/Makefile (tst-stackguard1-ARGS): Use
19608 $(host-built-program-cmd).
19609 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
19610 (tst-spawn-ARGS): Likewise.
19611 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
19612
88866099
JM
196132012-10-23 Joseph Myers <joseph@codesourcery.com>
19614 Jim Blandy <jimb@codesourcery.com>
19615
19616 * Makeconfig (run-via-rtld-prefix): New variable.
19617 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
19618 (built-program-cmd): Likewise.
19619
b4b4c296
AJ
196202012-10-22 Andreas Jaeger <aj@suse.de>
19621
19622 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
19623 __O_RSYNC if it exists, otherwise to O_SYNC.
19624
6fb54a22
JB
196252012-10-22 Jim Blandy <jimb@codesourcery.com>
19626 Joseph Myers <joseph@codesourcery.com>
19627
19628 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
19629 /dev/null.
19630 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
19631 from /dev/null
19632 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
19633 /dev/null.
19634
481b90b9
AJ
196352012-10-22 Andreas Jaeger <aj@suse.de>
19636
2a0e2669
AJ
19637 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
19638 Define always.
19639 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
19640
76e38f9a
AJ
19641 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19642 bits/fcntl-linux.h.
19643
7cd37b43
AJ
19644 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
19645 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
19646
481b90b9
AJ
19647 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
19648 to __O_LARGEFILE.
19649 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
19650 to __O_LARGEFILE.
19651
aba75984
JB
196522012-10-21 Jim Blandy <jimb@codesourcery.com>
19653 Joseph Myers <joseph@codesourcery.com>
19654
19655 * config.make.in (NM): New variable.
19656
88d4247f
AJ
196572012-10-21 Andreas Jaeger <aj@suse.de>
19658
19659 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
19660 definitions and declarations that are provided by
19661 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
19662
f2eed205
L
196632012-10-20 H.J. Lu <hongjiu.lu@intel.com>
19664
19665 [BZ #14683]
19666 * elf/Makefile (tests-static): Add tst-leaks1-static.
19667 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
19668 ($(objpfx)tst-leaks1-static): New rule.
19669 ($(objpfx)tst-leaks1-static-mem): Likewise.
19670 (tst-leaks1-static-ENV): New macro.
19671 * elf/dl-open.c (dl_open_worker): Check the main application
19672 only if SHARED is defined.
19673 * elf/tst-leaks1-static.c: New file.
19674
335e6931
AJ
196752012-10-20 Andreas Jaeger <aj@suse.de>
19676
19677 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
19678 generic values for Linux.
19679 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
19680 and declarations that are provided by <bits/fcntl-linux.h> and
19681 include <bits/fcntl-linux.h>.
19682 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19683 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19684
ac5c94d3
RM
196852012-10-20 Roland McGrath <roland@hack.frob.com>
19686
19687 * io/fcntl.h: Move include of <bits/types.h> to the top and
19688 include it unconditionally.
19689
de54b33a
L
196902012-10-20 H.J. Lu <hongjiu.lu@intel.com>
19691
228cfb01
L
19692 * wcsmbs/Makefile (tests-ifunc): New variable.
19693 (tests): Add $(tests-ifunc).
19694 * wcsmbs/test-wcschr-ifunc.c: New file.
19695 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
19696 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
19697 * wcsmbs/test-wcslen-ifunc.c: Likewise.
19698 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
19699 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
19700
69f07e5f
L
19701 * string/Makefile (tests-ifunc): New variable.
19702 (tests): Add $(tests-ifunc).
19703 * string/test-memccpy.c (TEST_NAME): New macro.
19704 * string/test-memchr.c (TEST_NAME): Likewise.
19705 * string/test-memcmp.c (TEST_NAME): Likewise.
19706 * string/test-memcpy.c (TEST_NAME): Likewise.
19707 * string/test-memmem.c (TEST_NAME): Likewise.
19708 * string/test-memmove.c (TEST_NAME): Likewise.
19709 * string/test-memset.c (TEST_NAME): Likewise.
19710 * string/test-rawmemchr.c (TEST_NAME): Likewise.
19711 * string/test-stpcpy.c (TEST_NAME): Likewise.
19712 * string/test-stpncpy.c (TEST_NAME): Likewise.
19713 * string/test-strcasecmp.c (TEST_NAME): Likewise.
19714 * string/test-strcasestr.c (TEST_NAME): Likewise.
19715 * string/test-strcat.c (TEST_NAME): Likewise.
19716 * string/test-strchr.c (TEST_NAME): Likewise.
19717 * string/test-strcmp.c(TEST_NAME): Likewise.
19718 * string/test-strcpy.c (TEST_NAME): Likewise.
19719 * string/test-strcspn.c (TEST_NAME): Likewise.
19720 * string/test-strlen.c (TEST_NAME): Likewise.
19721 * string/test-strncasecmp.c (TEST_NAME): Likewise.
19722 * string/test-strncmp.c (TEST_NAME): Likewise.
19723 * string/test-strncpy.c (TEST_NAME): Likewise.
19724 * string/test-strnlen.c (TEST_NAME): Likewise.
19725 * string/test-strpbrk.c (TEST_NAME): Likewise.
19726 * string/test-strrchr.c (TEST_NAME): Likewise.
19727 * string/test-strspn.c (TEST_NAME): Likewise.
19728 * string/test-strstr.c (TEST_NAME): Likewise.
19729 * string/test-bcopy-ifunc.c: New file.
19730 * string/test-bzero-ifunc.c: Likewise.
19731 * string/test-memccpy-ifunc.c: Likewise.
19732 * string/test-memchr-ifunc.c: Likewise.
19733 * string/test-memcmp-ifunc.c: Likewise.
19734 * string/test-memcpy-ifunc.c: Likewise.
19735 * string/test-memmem-ifunc.c: Likewise.
19736 * string/test-memmove-ifunc.c: Likewise.
19737 * string/test-mempcpy-ifunc.c: Likewise.
19738 * string/test-memset-ifunc.c: Likewise.
19739 * string/test-rawmemchr-ifunc.c: Likewise.
19740 * string/test-stpcpy-ifunc.c: Likewise.
19741 * string/test-stpncpy-ifunc.c: Likewise.
19742 * string/test-strcasecmp-ifunc.c: Likewise.
19743 * string/test-strcasestr-ifunc.c: Likewise.
19744 * string/test-strcat-ifunc.c: Likewise.
19745 * string/test-strchr-ifunc.c: Likewise.
19746 * string/test-strchrnul-ifunc.c: Likewise.
19747 * string/test-strcmp-ifunc.c: Likewise.
19748 * string/test-strcpy-ifunc.c: Likewise.
19749 * string/test-strcspn-ifunc.c: Likewise.
19750 * string/test-strlen-ifunc.c: Likewise.
19751 * string/test-strncasecmp-ifunc.c: Likewise.
19752 * string/test-strncat-ifunc.c: Likewise.
19753 * string/test-strncmp-ifunc.c: Likewise.
19754 * string/test-strncpy-ifunc.c: Likewise.
19755 * string/test-strnlen-ifunc.c: Likewise.
19756 * string/test-strpbrk-ifunc.c: Likewise.
19757 * string/test-strrchr-ifunc.c: Likewise.
19758 * string/test-strspn-ifunc.c: Likewise.
19759 * string/test-strstr-ifunc.c: Likewise.
19760
de54b33a
L
19761 * debug/Makefile (tests-ifunc): New variable.
19762 (tests): Add $(tests-ifunc).
19763 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
19764 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
19765 * debug/test-stpcpy_chk-ifunc.c: New file.
19766 * debug/test-strcpy_chk-ifunc.c: Likewise.
19767
88481c16
SP
197682012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19769
19770 [BZ #13601]
19771 * elf/dl-load.c (open_verify): Retry read if the entire ELF
19772 header is not read in.
19773
135948bd
JM
197742012-10-19 Joseph Myers <joseph@codesourcery.com>
19775
89f1c388
JM
19776 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
19777 script to $(SHELL) as $<. Pass $(common-objpfx) to script
19778 directly. Pass built executable to script as
19779 $(built-program-cmd).
19780 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
19781 $testprogram without using LD_LIBRARY_PATH and $ldso.
19782
e40a0d21
JM
19783 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
19784 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
19785 $(rtld-installed-name).
19786 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
19787 (rtld_installed_name): Likewise.
19788 (library_path): Likewise.
19789 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
19790 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
19791 $(run-program-prefix) to tst-tables.sh.
19792 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
19793 it to run tst-table-from and tst-table-to.
19794 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
19795 Pass it to tst-table.sh.
19796 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
19797 $(run-program-prefix) to tst-gettext.sh.
19798 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
19799 tst-translit.sh.
19800 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
19801 tst-gettext2.sh.
19802 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
19803 to run tst-gettext.
19804 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
19805 to run tst-gettext2.
19806 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
19807 to run tst-translit.
19808 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
19809 $(run-program-prefix) to tst-mtrace.sh.
19810 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
19811 to run tst-mtrace.
19812 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
19813 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
19814 $(rtld-installed-name).
19815 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
19816 (rtld_installed_name): Likewise.
19817 (run_program_prefix): New variable. Use it to run wordexp-test.
19818
728e272a
JM
19819 * Makeconfig (ARCH): Remove all definitions.
19820 (machine): Likewise.
19821 [ARCH]: Remove conditional code.
19822 [!objdir]: Give error.
19823 [!objdir] (objpfx): Remove.
19824 [!objdir] (common-objpfx): Likewise.
19825 [!objdir] (common-objdir): Likewise.
19826 * configure.in (config_makefile): Remove. Hardcode Makefile in
19827 AC_CONFIG_FILES call.
19828 * configure: Regenerated.
19829
d528cdcf
JM
19830 [BZ #13888]
19831 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
19832 or TMPDIR.
19833 (testout): Likewise.
19834
135948bd
JM
19835 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
19836 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
19837 $(rtld-installed-name).
19838 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
19839 (rtld_installed_name): Likwise.
19840 (runit): Remove function.
19841 (run_getconf): New variable, Use it for running getconf binary.
19842
38c78296
L
198432012-10-18 H.J. Lu <hongjiu.lu@intel.com>
19844
19845 [BZ #14716]
19846 * string/test-memmem.c (check_result): New function.
19847 (do_one_test): Use it.
19848 (check1): New function.
19849 (test_main): Use it.
19850
d077f65f
MT
198512012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
19852
19853 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
19854
ced52c71
JM
198552012-10-18 Joseph Myers <joseph@codesourcery.com>
19856
19857 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
19858 (_G_LSEEK64): Likewise.
19859 (_G_MMAP64): Likewise.
19860 (_G_FSTAT64): Likewise.
19861 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
19862 (_G_LSEEK64): Likewise.
19863 (_G_MMAP64): Likewise.
19864 (_G_FSTAT64): Likewise.
19865 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
19866 unconditional. Call __mmap64 directly.
19867 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
19868 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
19869 __lseek64 directly.
19870 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
19871 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
19872 __mmap64 directly.
19873 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
19874 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
19875 __lseek64 directly.
19876 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
19877 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
19878 __lseek64 directly.
19879 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
19880 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
19881 __lseek64 directly.
19882 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
19883 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
19884 __fxstat64 directly.
19885 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
19886 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
19887 unconditional.
19888 (freopen64) [!_G_OPEN64]: Remove conditional code.
19889 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
19890 unconditional.
19891 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
19892 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
19893 unconditional.
19894 (ftello64) [!_G_LSEEK64]: Remove conditional code.
19895 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
19896 unconditional.
19897 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19898 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
19899 unconditional.
19900 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
19901 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
19902 unconditional.
19903 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19904 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
19905 unconditional.
19906 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19907 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
19908 unconditional.
19909 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19910
b741de23
SP
199112012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19912
19913 [BZ #12140]
19914 * manual/memory.texi (Malloc Tunable Parameters): Add note
19915 about free list pointers overwriting some perturb bytes.
19916 Wording suggested by Roland McGrath.
19917
f9b9d9c9
JM
199182012-10-17 Joseph Myers <joseph@codesourcery.com>
19919
19920 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
19921 (lgamma_test): Likewise.
19922 (tgamma_test): Likewise.
19923
172a631a
FW
199242012-10-16 Florian Weimer <fweimer@redhat.com>
19925
19926 [BZ #14700]
19927 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
19928 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
19929
e9f37252
MK
199302012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
19931
19932 * NEWS: Mention BZ #14716.
19933 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
19934 when removing AVAILABLE1_USES_J macro.
19935
d394eb74
L
199362012-10-12 H.J. Lu <hongjiu.lu@intel.com>
19937
19938 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
19939 (__bswap_64): __uint64_t for unsigned 64-bit int.
19940
ca38dc17
AS
199412012-10-12 Andreas Schwab <schwab@linux-m68k.org>
19942
19943 * include/string.h (memmem): Declare libc hidden alias.
19944 * string/memmem.c (memmem): Define libc hidden alias.
19945 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
19946 __read, __close instead of open, read, close.
19947
9a387d1f
L
199482012-10-11 H.J. Lu <hongjiu.lu@intel.com>
19949
ac49ecaf
L
19950 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
19951 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
19952 global and hidden.
19953 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
19954 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
19955 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
19956 Likewise.
19957 (__rawmemchr_sse2): Likewise.
19958 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
19959 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
19960 (__strchr_sse2): Likewise.
19961 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
19962 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
19963 (__strcasecmp_sse2): Likewise.
19964 (__strncasecmp_sse2): Likewise.
19965 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
19966 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
19967 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
19968 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
19969 (__strrchr_sse2): Likewise.
19970 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
19971 ifunc-impl-list.c.
19972 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19973 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19974 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19975 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19976 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19977 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19978 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19979 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19980 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
19981 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
19982 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
19983 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
19984 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
19985 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19986 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19987 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19988 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19989 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19990 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
19991 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
19992 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
19993 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
19994 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
19995 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19996 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
19997 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19998 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19999 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20000 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20001 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20002
b090e8ea
L
20003 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
20004 global and hidden.
20005 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
20006 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
20007 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
20008 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
20009 Likewise.
20010 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
20011 Likewise.
20012 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
20013 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
20014 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
20015 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
20016 ifunc-impl-list.c.
20017 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20018 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20019 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20020 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20021 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20022 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20023 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20024 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20025 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20026 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20027 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20028 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20029 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20030 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
20031 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
20032 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20033 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
20034 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
20035 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20036 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20037 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20038 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20039 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20040 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20041 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20042 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
20043 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
20044 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
20045 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
20046 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20047 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
20048 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20049 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20050 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
20051 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20052 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20053 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20054 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20055 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20056 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20057 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
20058
11dd4af6
L
20059 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
20060 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
20061 * include/ifunc-impl-list.h: New file.
20062 * misc/ifunc-impl-list.c: Likewise.
20063 * misc/Makefile (routines): Add ifunc-impl-list.
20064 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
20065 * string/test-string.h: Include <ifunc-impl-list.h>.
20066 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
20067 impl_array): New variables.
20068 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
20069 are defined.
20070 (test_init): Call __libc_ifunc_impl_list to initialize
20071 func_list if TEST_IFUNC and TEST_NAME are defined.
20072
9a387d1f
L
20073 * string/Makefile (strop-tests): Add bcopy and bzero.
20074 * string/test-bcopy.c: New file.
20075 * string/test-bzero.c: Likewise.
20076 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
20077 defined.
20078 * string/test-memset.c: Support bzero test if TEST_BZERO is
20079 defined.
20080 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
20081 __libc_memmove.
20082 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
20083 __libc_memset.
20084 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
20085 of memset.
20086
472371b9
JM
200872012-10-10 Joseph Myers <joseph@codesourcery.com>
20088
1e4a9536
JM
20089 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
20090 * configure: Regenerated.
20091
d173d12e
JM
20092 * Makeconfig (+link-static-before-libc): Don't include
20093 $(link-static-libc).
20094
472371b9
JM
20095 * libio/libio.h (_IO_pos_t): Remove.
20096
89a3ad0b
AO
200972012-10-10 Alexandre Oliva <aoliva@redhat.com>
20098
20099 * NEWS: Add note about FIPS mode. Wording suggested by Roland
20100 McGrath.
20101
e7451425
AO
201022012-10-10 Alexandre Oliva <aoliva@redhat.com>
20103
20104 * crypt/crypt-entry.c: Include fips-private.h.
20105 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
20106 * crypt/md5c-test.c (main): Tolerate disabled MD5.
20107 * sysdeps/unix/sysv/linux/fips-private.h: New file.
20108 * sysdeps/generic/fips-private.h: New file, dummy fallback.
20109
4ba74a35
AO
201102012-10-10 Alexandre Oliva <aoliva@redhat.com>
20111
20112 * crypt/crypt-private.h: Include stdbool.h.
20113 (_ufc_setup_salt_r): Return bool.
20114 * crypt/crypt-entry.c: Include errno.h.
20115 (__crypt_r): Return NULL with EINVAL for bad salt.
20116 * crypt/crypt_util.c (bad_for_salt): New.
20117 (_ufc_setup_salt_r): Check that salt is long enough and within
20118 the specified alphabet.
20119 * crypt/badsalttest.c: New file.
20120 * crypt/Makefile (tests): Add it.
20121 ($(objpfx)badsalttest): New.
20122
f96f1242
MK
201232012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
20124
20125 * NEWS: Add entry for BZ #14602.
20126
0e8e0c1c
JM
201272012-10-09 Joseph Myers <joseph@codesourcery.com>
20128
20129 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
20130 type-generic.
20131 * math/libm-test.inc: Update comment listing what functions and
20132 macros are tested.
20133 (isgreater_test): New function.
20134 (isgreaterequal_test): Likewise.
20135 (isless_test): Likewise.
20136 (islessequal_test): Likewise.
20137 (islessgreater_test): Likewise.
20138 (isunordered_test): Likewise.
20139 (main): Call the new functions.
20140
273edc5e
RM
201412012-10-09 Roland McGrath <roland@hack.frob.com>
20142
b8493de0
RM
20143 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
20144 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
20145 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
20146 * sysdeps/i386/configure: Regenerated.
20147 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
20148 * sysdeps/mach/configure: Regenerated.
20149 * sysdeps/mach/hurd/configure: Regenerated.
20150 * sysdeps/powerpc/configure: Regenerated.
20151 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20152 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20153 * sysdeps/s390/s390-32/configure: Regenerated.
20154 * sysdeps/s390/s390-64/configure: Regenerated.
20155 * sysdeps/sh/configure: Regenerated.
20156 * sysdeps/sparc/configure: Regenerated.
20157 * sysdeps/unix/sysv/linux/configure: Regenerated.
20158 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
20159 * sysdeps/x86_64/configure: Regenerated.
20160
273edc5e
RM
20161 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
20162 defined. Don't check if MAP is NULL.
20163
c8450f70
JM
201642012-10-09 Joseph Myers <joseph@codesourcery.com>
20165
20166 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
20167 (_G_stat64): Likewise.
20168 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
20169 (_G_stat64): Likewise.
20170 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
20171 instead of struct _G_stat64.
20172 * libio/fileops.c (mmap_remap_check): Likewise.
20173 (decide_maybe_mmap): Likewise.
20174 (_IO_new_file_seekoff): Likewise.
20175 (_IO_file_stat): Likewise.
20176 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
20177 _G_off64_t.
20178 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
20179 instead of struct _G_stat64.
20180 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20181
57e605ba
MK
201822012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
20183
20184 [BZ #14602]
20185 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20186 Replace with ...
20187 (CHECK_EOL): New macro.
20188 (two_way_short_needle): Check beginning of haystack for EOL. Use
20189 CHECK_EOL.
20190 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20191 Replace with CHECK_EOL.
20192 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20193 Replace with CHECK_EOL.
20194
ef1bb361
JM
201952012-10-08 Joseph Myers <joseph@codesourcery.com>
20196
20197 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
20198 type-generic.
20199 * math/libm-test.inc: Update comment listing what functions and
20200 macros are tested.
20201 (finite_test): New function.
20202 (isinf_test): Likewise.
20203 (isnan_test): Likewise.
20204 (fpclassify_test): Test subnormal input.
20205 (isfinite_test): Likewise.
20206 (isnormal_test): Likewise.
20207 (main): Call the new functions.
20208
55f11534
JN
202092012-10-08 Jonathan Nieder <jrnieder@gmail.com>
20210
20211 [BZ #14660]
20212 * Makerules (%.dynsym): Force C locale when running
20213 $(OBJDUMP) --dynamic-syms.
20214
1ab29350
AS
202152012-10-08 Andreas Schwab <schwab@linux-m68k.org>
20216
20217 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
20218 <stdint.h>.
20219
f1ecb7ef
DM
202202012-10-06 David S. Miller <davem@davemloft.net>
20221
20222 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
20223 upper 32-bits of the length value in %o2 since we use branch-on-register
20224 tests which consider the entire 64-bit register.
20225
5d41d91a
L
202262012-10-06 H.J. Lu <hongjiu.lu@intel.com>
20227
20228 * string/test-strstr.c (check2): Add a test for page boundary.
20229
3baddb72
DM
202302012-10-05 David S. Miller <davem@davemloft.net>
20231
20232 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
20233 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
20234 file.
20235 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20236 sysdep_routines.
20237 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20238 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
20239 and bzero when HWCAP_SPARC_CRYPTO is present.
20240
9cee5585
L
202412012-10-05 H.J. Lu <hongjiu.lu@intel.com>
20242
d7e0dab9
L
20243 [BZ #14602]
20244 * string/test-strstr.c (check2): New function.
20245 (test_main): Call check2.
20246
03759f47
L
20247 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
20248 and bug-strchr1.
20249 * string/bug-strcasestr1.c (do_test): Moved to ...
20250 * string/test-strcasestr.c (check1): Here. New function.
20251 (do_one_test): Break out result checking code into ...
20252 (check_result): This. New function.
20253 (do_one_test): Call check_result.
20254 (test_main): Call check1.
20255 * string/bug-strchr1.c (do_test): Moved to ...
20256 * string/test-strchr.c (check1): Here. New function.
20257 (do_one_test): Break out result checking code into ...
20258 (check_result): This. New function.
20259 (do_one_test): Call check_result.
20260 (test_main): Call check1.
20261 * string/bug-strstr1.c (main): Moved to ...
046f153e 20262 * string/test-strstr.c (check1): Here. New function.
03759f47
L
20263 (do_one_test): Break out result checking code into ...
20264 (check_result): This. New function.
20265 (do_one_test): Call check_result.
20266 (test_main): Call check1.
20267 * string/bug-strcasestr1.c: Removed.
20268 * string/bug-strchr1.c: Likewise.
20269 * string/bug-strstr1.c: Likewise.
20270
53cea63e
L
20271 * elf/Makefile (dl-routines): Add hwcaps.
20272 * elf/dl-support.c (_dl_important_hwcaps): Removed.
20273 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
20274 (_dl_important_hwcaps): Moved to ...
20275 * elf/dl-hwcaps.c: Here. New file.
20276 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
20277
9cee5585 20278 [BZ #14557]
bb859b06
L
20279 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
20280 if IS_IN_rtld isn't defined.
20281
9cee5585
L
20282 * elf/dl-support.c (_dl_sysinfo_map): New.
20283 Include "get-dynamic-info.h" and "setup-vdso.h".
20284 (_dl_non_dynamic_init): Call setup_vdso.
20285 * elf/dynamic-link.h: Don't include <assert.h>.
20286 (elf_get_dynamic_info): Moved to ...
20287 * elf/get-dynamic-info.h: Here. New file.
20288 * elf/dynamic-link.h: Include "get-dynamic-info.h".
20289 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
20290 * elf/setup-vdso.h: Here. New file.
20291 * elf/rtld.c: Include "setup-vdso.h".
20292 (dl_main): Call setup_vdso.
20293
23c31b76
JM
202942012-10-05 Joseph Myers <joseph@codesourcery.com>
20295
28234b07
JM
20296 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
20297 creal in comment listing functions tested. List finite, isinf,
20298 isnan, isless, islessequal, isgreater, isgreaterequal,
20299 islessgreater, isunordered, lgamma_r and pow10 as functions and
20300 macros not tested. Mention which functions not tested are aliases
20301 for other functions. Fix typo. Note that signs of NaNs are not
20302 tested.
20303
23c31b76
JM
20304 * scripts/config.guess: Update from config.git.
20305 * scripts/config.sub: Likewise.
20306
9043e228
RM
203072012-10-04 Roland McGrath <roland@hack.frob.com>
20308
20309 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
20310 * misc/madvise.c (madvise): Renamed to __madvise.
20311 Make madvise a weak alias.
20312 * include/sys/mman.h: Declare __madvise.
20313 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
20314 * sysdeps/unix/syscalls.list
20315 (madvise): Make __madvise the strong name, and madvise a weak alias.
20316 * sysdeps/unix/sysv/linux/syscalls.list
20317 (madvise, mmap): Remove redundant entries.
20318 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
20319 * malloc/malloc.c (mtrim): Likewise.
20320 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
20321
f57f8055
RM
203222012-10-03 Roland McGrath <roland@hack.frob.com>
20323
20324 * sysdeps/mach/hurd/dl-cache.c: File removed.
20325 * config.h.in (USE_LDCONFIG): New #undef.
20326 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
20327 * configure: Regenerated.
20328 * elf/Makefile (dl-routines): Add dl-cache only under
20329 [$(use-ldconfig) = yes].
20330 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
20331 cache on [USE_LDCONFIG].
20332 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
20333 [USE_LDCONFIG].
20334 * elf/rtld.c (dl_main): Likewise.
20335
5bb0c10a
PT
203362012-10-03 Pino Toscano <toscano.pino@tiscali.it>
20337
20338 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
20339 _SC_LEVEL4_CACHE_LINESIZE.
20340
010188c6
RM
203412012-10-03 Roland McGrath <roland@hack.frob.com>
20342
20343 * sysdeps/unix/bsd/confstr.h: File removed.
20344
b6c5ec07
AO
203452012-10-02 Alexandre Oliva <aoliva@redhat.com>
20346
20347 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
20348 sys/sdt-config.h.
20349
408223d4
RM
203502012-10-02 Roland McGrath <roland@hack.frob.com>
20351
20352 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
20353 Make 'mapoff' field ElfW(Off) rather than off_t.
20354
bb9510dc
DL
203552012-10-02 Dmitry V. Levin <ldv@altlinux.org>
20356
fc997c6e
DL
20357 * nscd/Makefile: Remove nscd-cflags and all its users.
20358 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
20359 (CFLAGS-nonlib): Add compiler flags for nscd modules.
20360
bb9510dc
DL
20361 [BZ #10631]
20362 * malloc.c (malloc_printerr): Clarify error message.
20363
05699367
L
203642012-10-02 H.J. Lu <hongjiu.lu@intel.com>
20365
20366 [BZ #14648]
20367 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20368 Set bit_FMA_Usable if FMA is supported.
20369 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
20370 macro.
20371 (bit_FMA4_Usable): Updated.
20372 (index_FMA_Usable): New macro.
20373 (CPUID_FMA): Likewise
20374 (HAS_FMA): Defined with bit_FMA_Usable.
20375
51367701
RM
203762012-10-01 Roland McGrath <roland@hack.frob.com>
20377
20378 * bits/types.h (__swblk_t): Type removed.
20379 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
20380 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
20381 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20382 (__SWBLK_T_TYPE): Likewise.
20383 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20384 (__SWBLK_T_TYPE): Likewise.
20385 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20386 (__SWBLK_T_TYPE): Likewise.
20387 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20388 (__SWBLK_T_TYPE): Likewise.
20389
4d57bf63 203902012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 20391 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
20392
20393 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
20394 (xdr_mapname): Use YPMAXMAP as maxsize.
20395 (xdr_peername): Use YPMAXPEER as maxsize.
20396 (xdr_keydat): Use YPAXRECORD as maxsize.
20397 (xdr_valdat): Use YPMAXRECORD as maxsize.
20398
93c65d43
RM
203992012-10-01 Roland McGrath <roland@hack.frob.com>
20400
497a03d6
RM
20401 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
20402
93c65d43
RM
20403 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
20404 * csu/init-first.c: ... here.
20405 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
20406 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
20407 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
20408 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20409 * sysdeps/i386/init-first.c: File removed.
20410 * sysdeps/sh/init-first.c: File removed.
20411
bec749fd
JM
204122012-10-01 Joseph Myers <joseph@codesourcery.com>
20413
20414 [BZ #14645]
20415 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
20416 if x * y might underflow to zero and z is zero.
20417 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20418 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20419 * math/libm-test.inc (min_subnorm_value): New variable.
20420 (fma_test): Add more tests.
20421 (fma_test_towardzero): Likewise.
20422 (fma_test_downward): Likewise
20423 (fma_test_upward): Likewise.
20424 (initialize): Set min_subnorm_value.
20425
8ec5b013
JM
204262012-09-29 Joseph Myers <joseph@codesourcery.com>
20427
20428 [BZ #14638]
20429 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
20430 0 + 0.
20431 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
20432 mode for addition resulting in exact zero.
20433 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
20434 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
20435 exact 0 + 0.
20436 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20437 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20438 * math/libm-test.inc (fma_test): Add more tests.
20439 (fma_test_towardzero): New function.
20440 (fma_test_downward): Likewise.
20441 (fma_test_upward): Likewise.
20442 (main): Call the new functions.
20443
b1fa802e
DM
204442012-09-28 David S. Miller <davem@davemloft.net>
20445
20446 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
20447
d3b9fd9e
RM
204482012-09-28 Roland McGrath <roland@hack.frob.com>
20449
ea4d37b3
RM
20450 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
20451 instead of SIGALRM.
20452
ac51c949
RM
20453 * sysdeps/gnu/_G_config.h: Moved to ...
20454 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
20455 * sysdeps/mach/hurd/_G_config.h: Moved to ...
20456 * sysdeps/generic/_G_config.h: ... here.
20457
28c195f7
RM
20458 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
20459
848917f9
RM
20460 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
20461
6bacf05b
RM
20462 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
20463 Conditionalize target on [libnss_test1.so-version].
20464
91363dbb
RM
20465 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
20466
cc87f7d8
RM
20467 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
20468 (elfobjdir): Move out of conditionals.
20469
b1c608fe
RM
20470 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
20471 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
20472 (__nss_lookup_function): Conditionalize label remove_from_tree on
20473 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 20474
1d9a6d96
DM
204752012-09-28 David S. Miller <davem@davemloft.net>
20476
20477 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
20478 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
20479 file.
20480 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20481 sysdep_routines.
20482 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20483 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
20484 when HWCAP_SPARC_CRYPTO is present.
20485
72581615
PT
204862012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20487
20488 * io/tst-mknodat.c: Create a FIFO instead of a socket.
20489
715a900c
JL
204902012-09-28 Andreas Schwab <schwab@linux-m68k.org>
20491
20492 [BZ #6530]
20493 * stdio-common/vfprintf.c (process_string_arg): Revert
20494 2000-07-22 change.
20495
204962011-09-28 Jonathan Nieder <jrnieder@gmail.com>
20497
20498 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
20499 for testcase.
20500 * stdio-common/tst-sprintf.c: Include <locale.h>
20501 (main): Test sprintf's handling of incomplete multibyte
20502 characters.
20503
9bac1d86
L
205042012-09-28 H.J. Lu <hongjiu.lu@intel.com>
20505
20506 * elf/dl-runtime.c (VERSYMIDX): Removed.
20507 * elf/dl-version.c (VERSYMIDX): Likewise.
20508 * elf/do-rel.h (VERSYMIDX): Likewise.
20509 (VALIDX): Likewise.
20510 * elf/dynamic-link.h (VERSYMIDX): Likewise.
20511 * elf/rtld.c (VALIDX): Likewise.
20512 (ADDRIDX): Likewise.
9bac1d86
L
20513 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
20514 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
20515 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
20516 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
20517 (VALIDX): Likewise.
20518 (ADDRIDX): Likewise.
9bac1d86 20519
b31606c0
PT
205202012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20521
20522 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
20523
11541177
JL
205242012-09-28 Dmitry V. Levin <ldv@altlinux.org>
20525
20526 [BZ #11438]
20527 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
20528 to global scope.
20529 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
20530 addresses are in the same scope as 192.0.2/24.
20531 * posix/gai.conf: Document new scope table defaults.
20532
adb26fae
SP
205332012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20534
20535 [BZ #5298]
20536 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
20537 for ftell. Compute offsets from write pointers instead.
20538 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20539
4573c6b0
SP
205402012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20541
20542 [BZ #14543]
20543 * libio/Makefile (tests): New test case tst-fseek.
20544 * libio/tst-fseek.c: New test case to verify that fseek/ftell
20545 combination works in wide mode.
20546 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
20547 state when the external buffer state changes.
20548
aa9bbfe6
DM
205492012-09-27 David S. Miller <davem@davemloft.net>
20550
20551 [BZ #14376]
20552 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
20553 pass reloc->r_addend in as the 'high' argument to
20554 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
20555
784421e7
DM
20556 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20557
c39bc8b8
PT
205582012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20559
20560 * rt/tst-aio2.c: Include <pthread.h>.
20561 * rt/tst-aio3.c: Likewise.
20562
1ccc2399
SE
205632012-09-27 Steve Ellcey <sellcey@mips.com>
20564
20565 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
20566
31ed4153
L
205672012-09-27 H.J. Lu <hongjiu.lu@intel.com>
20568
25f5f885
L
20569 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
20570 contents on [SHARED].
31ed4153 20571
b7bfe116
MP
205722012-09-26 Marek Polacek <polacek@redhat.com>
20573
20574 [BZ #14530]
20575 [BZ #13741]
20576 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
20577 for C++ and GCC <4.3 as well as for non GCC compilers.
20578
43c4edba
MT
205792012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20580
20581 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20582
6a1bf82f
RM
205832012-09-25 Roland McGrath <roland@hack.frob.com>
20584
20585 * Makefile.in (all, install): Declare with .PHONY.
20586 Reported by Michael Hope <michael.hope@linaro.org>.
20587
8ad11b9a
TMQMF
205882012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20589
20590 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
20591 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
20592 system header.
20593 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
20594 Likewise.
20595 (sydep_routines): Add the new and the internal functions.
20596 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
20597 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
20598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
20599 (GLIBC_2.17): Add the new function.
20600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20601 (GLIBC_2.17): Likewise.
20602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
20603 (GLIBC_2.17): Likewise.
20604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
20605 (GLIBC_2.17): Likewise.
20606 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
20607
7e2fca8d
AM
206082012-09-25 Alan Modra <amodra@gmail.com>
20609
20610 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
20611 Add release barrier before setting once_control to say
20612 initialisation is done. Add hints on lwarx. Use macro in
20613 place of isync.
20614 (clear_once_control): Add release barrier.
20615
b87c4b24
JM
206162012-09-25 Joseph Myers <joseph@codesourcery.com>
20617
d032e0d2
JM
20618 [BZ #13629]
20619 * math/s_clog.c (__clog): Handle more values close to |z| = 1
20620 specially.
20621 * math/s_clog10.c (__clog10): Likewise.
20622 * math/s_clog10f.c (__clog10f): Likewise.
20623 * math/s_clog10l.c (__clog10l): Likewise.
20624 * math/s_clogf.c (__clogf): Likewise.
20625 * math/s_clogl.c (__clogl): Likewise.
20626 * math/Makefile (libm-calls): Add x2y2m1.
20627 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
20628 (__x2y2m1): Likewise.
20629 (__x2y2m1l): Likewise.
20630 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
20631 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
20632 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
20633 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20634 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
20635 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
20636 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
20637 * sysdeps/i386/fpu/libm-test-ulps: Update.
20638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20639
b87c4b24
JM
20640 [BZ #14621]
20641 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
20642 int as type of variable DEPTH.
20643 (glob): Use size_t instead of int as type of variables NEWCOUNT
20644 and OLD_PATHC.
20645
6d3bf199
LD
206462012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20647
22bf5c17
LD
20648 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20649 Add s_sincosf-sse2.
20650 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
20651 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
20652 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
20653 macros for using routine as __sincosf_ia32.
20654 Use macro for function declaration and weak_alias.
20655 * sysdeps/i386/fpu/libm-test-ulps: Update.
20656
20657 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
20658 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20659
20660 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
20661 subnormal argument.
20662 * math/s_cexpf.c (__cexpf): Likewise.
20663 * math/s_csinf.c (__csinf): Likewise.
20664 * math/s_csinhf.c (__csinhf): Likewise.
20665 * math/s_ctanf.c (__ctanf): Likewise.
20666 * math/s_ctanhf.c (__ctanhf): Likewise.
20667 * math/s_ccosh.c (__ccoshf): Likewise.
20668 * math/s_cexp.c (__cexpl): Likewise.
20669 * math/s_csin.c (__csin): Likewise.
20670 * math/s_csinh.c (__csinh): Likewise.
20671 * math/s_ctan.c (__ctan): Likewise.
20672 * math/s_ctanh.c (ctanh): Likewise.
20673 * math/s_ccoshl.c (__ccoshl): Likewise.
20674 * math/s_cexpl.c (__cexpl): Likewise.
20675 * math/s_csinl.c (__csinl): Likewise.
20676 * math/s_csinhl.c (__csinhl): Likewise.
20677 * math/s_ctanl.c (__ctanl): Likewise.
20678 * math/s_ctanhl.c (__ctanhl): Likewise.
20679
203e5603
JM
206802012-09-25 Joseph Myers <joseph@codesourcery.com>
20681
20682 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
20683 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
20684 (_IO_off_t): Define to __off_t, not _G_off_t.
20685 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
20686 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
20687 (_IO_wint_t): Define to wint_t, not _G_wint_t.
20688 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
20689 type of __dummy and __dummy2 fields.
20690 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
20691 (_G_ssize_t): Likewise.
20692 (_G_off_t): Likewise.
20693 (_G_pid_t): Likewise.
20694 (_G_uid_t): Likewise.
20695 (_G_wchar_t): Likewise.
20696 (_G_wint_t): Likewise.
20697 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
20698 (_G_ssize_t): Likewise.
20699 (_G_off_t): Likewise.
20700 (_G_pid_t): Likewise.
20701 (_G_uid_t): Likewise.
20702 (_G_wchar_t): Likewise.
20703 (_G_wint_t): Likewise.
20704 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
20705 (_G_ssize_t): Likewise.
20706 (_G_off_t): Likewise.
20707 (_G_pid_t): Likewise.
20708 (_G_uid_t): Likewise.
20709 (_G_wchar_t): Likewise.
20710 (_G_wint_t): Likewise.
20711
9fab36eb
SP
207122012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20713
20714 * malloc/arena.c: Include malloc-sysdep.h.
20715 (shrink_heap): Use check_may_shrink_heap to decide if madvise
20716 is sufficient to shrink the heap or an unmap is needed.
20717 * sysdeps/generic/malloc-sysdep.h: New file. Define
20718 new function check_may_shrink_heap.
20719 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
20720 new function check_may_shrink_heap.
20721
2b4f00d1
SP
207222012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20723
20724 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
20725 comments.
20726
9a9028b1
DL
207272012-09-24 Dmitry V. Levin <ldv@altlinux.org>
20728
57c69bef
DL
20729 * catgets/test-gencat.sh: Add "set -e".
20730 * elf/tst-pathopt.sh: Likewise.
20731 * grp/tst_fgetgrent.sh: Likewise.
20732 * iconvdata/run-iconv-test.sh: Likewise.
20733 * intl/tst-gettext.sh: Likewise.
20734 * intl/tst-gettext2.sh: Likewise.
20735 * intl/tst-gettext4.sh: Likewise.
20736 * intl/tst-gettext6.sh: Likewise.
20737 * intl/tst-translit.sh: Likewise.
20738 * io/ftwtest-sh: Likewise.
20739 * libio/test-freopen.sh: Likewise.
20740 * malloc/tst-mtrace.sh: Likewise.
20741 * posix/globtest.sh: Likewise.
20742 * posix/tst-getconf.sh: Likewise.
20743 * posix/wordexp-tst.sh: Likewise.
20744 * stdio-common/tst-printf.sh: Likewise.
20745 * stdio-common/tst-unbputc.sh: Likewise.
20746 * stdlib/tst-fmtmsg.sh: Likewise.
20747 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20748 * catgets/Makefile: Do not specify -e option when running
20749 testsuite shell scripts.
20750 * elf/Makefile: Likewise.
20751 * grp/Makefile: Likewise.
20752 * iconvdata/Makefile: Likewise.
20753 * intl/Makefile: Likewise.
20754 * io/Makefile: Likewise.
20755 * libio/Makefile: Likewise.
20756 * malloc/Makefile: Likewise.
20757 * posix/Makefile: Likewise.
20758 * stdio-common/Makefile: Likewise.
20759 * stdlib/Makefile: Likewise.
20760 * sysdeps/x86_64/Makefile: Likewise.
20761
9a9028b1
DL
20762 * io/ftwtest-sh: Add copyright header.
20763 * posix/globtest.sh: Likewise.
20764 * posix/tst-getconf.sh: Likewise.
20765 * posix/wordexp-tst.sh: Likewise.
20766 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20767
ced6f16e
L
207682012-09-24 H.J. Lu <hongjiu.lu@intel.com>
20769
94b32c39
L
20770 [BZ #13679]
20771 * Makeconfig (+link): Defined as $(+link-static) if
20772 $(build-shared) isn't yes.
20773 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
20774 isn't yes.
20775 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
20776
189e935b
L
20777 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
20778
ced6f16e
L
20779 [BZ #14562]
20780 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
20781 new chunk size with MALLOC_ALIGN_MASK.
20782
a9f8e53a
JM
207832012-09-24 Joseph Myers <joseph@codesourcery.com>
20784
20785 [BZ #5044]
20786 * stdio-common/printf_fphex.c: Include <stdbool.h> and
20787 <rounding-mode.h>.
20788 (__printf_fphex): Determine rounding using get_rounding_mode and
20789 round_away.
20790 * stdio-common/tst-printf-round.c (struct hex_test): New
20791 structure.
20792 (hex_tests): New variable.
20793 (test_hex_in_one_mode): New function.
20794 (do_test): Also run tests for hex float output.
20795
43153109
JM
207962012-09-21 Joseph Myers <joseph@codesourcery.com>
20797
20798 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20799 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20800 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
20801 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20802 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20803 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
20804 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20805 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20806
8a26625d
JM
208072012-09-20 Joseph Myers <joseph@codesourcery.com>
20808
20809 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
20810 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
20811 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
20812 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
20813
f3fd569c
DL
208142012-09-19 Dmitry V. Levin <ldv@altlinux.org>
20815
20816 [BZ #14579]
20817 * elf/rtld.c (dl_main): Limit the check for self loading to normal
20818 mode only.
20819 * elf/tst-rtld-load-self.sh: New test.
20820 * elf/Makefile: Run it.
20821
63bbedd4
JM
208222012-09-18 Joseph Myers <joseph@codesourcery.com>
20823
20824 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
20825 (tst-writev-ENV): Remove.
20826 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
20827
626f8b6a
CM
208282012-09-17 Chris Metcalf <cmetcalf@tilera.com>
20829
20830 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
20831
b7aaa4d6
JM
208322012-09-17 Joseph Myers <joseph@codesourcery.com>
20833
20834 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
20835 unconditional.
20836 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
20837 Likewise.
20838 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
20839 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
20840 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
20841 Likewise.
20842
65513990
L
208432012-09-14 H.J. Lu <hongjiu.lu@intel.com>
20844
20845 [BZ #14587]
20846 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
20847 * config.make.in (have-cpp-asm-debuginfo): Removed.
20848 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
20849 * configure: Regenerated.
20850
784761be
JM
208512012-09-14 Joseph Myers <joseph@codesourcery.com>
20852
20853 [BZ #5044]
20854 * stdio-common/printf_fp.c: Include <stdbool.h> and
20855 <rounding-mode.h>.
20856 (___printf_fp): Determine rounding using get_rounding_mode and
20857 round_away.
20858 * stdio-common/tst-printf-round.c: New file.
20859 * stdio-common/Makefile (tests): Add tst-printf-round.
20860 (link-libm): New variable.
20861 ($(objpfx)tst-printf-round): Depend in $(link-libm).
20862
9503345f
L
208632012-09-13 H.J. Lu <hongjiu.lu@intel.com>
20864
20865 [BZ #14576]
20866 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
20867 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
20868 Likewise.
20869 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
20870 Likewise.
20871
ad35fc00
JM
208722012-09-13 Joseph Myers <joseph@codesourcery.com>
20873
20874 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
20875 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20876 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20877 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20878
6c9b0f68
JM
208792012-09-12 Joseph Myers <joseph@codesourcery.com>
20880
20881 [BZ #14518]
20882 * include/rounding-mode.h: New file.
20883 * sysdeps/generic/get-rounding-mode.h: Likewise.
20884 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
20885 * stdlib/strtod_l.c: Include <rounding-mode.h>.
20886 (MAX_VALUE): New macro.
20887 (MIN_VALUE): Likewise.
20888 (overflow_value): New function.
20889 (underflow_value): Likewise.
20890 (round_and_return): Use overflow_value and underflow_value to
20891 determine return values in overflow and underflow cases. Use
20892 round_away to determine rounding depending on rounding mode.
20893 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
20894 determine return values in overflow and underflow cases.
20895 * stdlib/tst-strtod-round.c: Include <fenv.h>.
20896 (struct test_results): New structure.
20897 (struct test): Use struct test_results to store expected results
20898 for all rounding modes.
20899 (TEST): Include expected results for all rounding modes.
20900 (test_in_one_mode): New function.
20901 (do_test): Use test_in_one_mode to compute and check results.
20902 Check results for all rounding modes.
20903 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
20904 $(link-libm).
20905
19fcedd5
AM
209062012-12-09 Allan McRae <allan@archlinux.org>
20907
1e9d84cd 20908 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 20909
8bbfd2f1
JM
209102012-09-11 Joseph Myers <joseph@codesourcery.com>
20911
20912 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
20913 (_G_int32_t): Likewise.
20914 (_G_uint16_t): Likewise.
20915 (_G_uint32_t): Likewise.
20916 (_G_HAVE_BOOL): Likewise.
20917 (_G_HAVE_ATEXIT): Likewise.
20918 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20919 (_G_HAVE_IO_FILE_OPEN): Likewise.
20920 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
20921 (_G_int32_t): Likewise.
20922 (_G_uint16_t): Likewise.
20923 (_G_uint32_t): Likewise.
20924 (_G_HAVE_BOOL): Likewise.
20925 (_G_HAVE_ATEXIT): Likewise.
20926 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20927 (_G_HAVE_IO_FILE_OPEN): Likewise.
20928 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
20929 (_G_int32_t): Likewise.
20930 (_G_uint16_t): Likewise.
20931 (_G_uint32_t): Likewise.
20932 (_G_HAVE_BOOL): Likewise.
20933 (_G_HAVE_ATEXIT): Likewise.
20934 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20935 (_G_HAVE_IO_FILE_OPEN): Likewise.
20936
b1dc5912
L
209372012-09-11 H.J. Lu <hongjiu.lu@intel.com>
20938
20939 * csu/libc-tls.c: Update copyright years.
20940
0e886ef9
JM
209412012-09-10 Joseph Myers <joseph@codesourcery.com>
20942
28361c5e
JM
20943 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
20944 [!_G_USING_THUNKS]: Remove conditional code.
20945 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
20946 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
20947
0e886ef9
JM
20948 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
20949 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
20950 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20951 (_G_VTABLE_LABEL_PREFIX): Likewise.
20952 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20953 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20954 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20955 (_G_VTABLE_LABEL_PREFIX): Likewise.
20956 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20957 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20958 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20959 (_G_VTABLE_LABEL_PREFIX): Likewise.
20960 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20961
bcba7aa2
L
209622012-09-10 H.J. Lu <hongjiu.lu@intel.com>
20963
20964 * libio/Makefile: Include ../Makeconfig before tests.
20965 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
20966 only if $(build-shared) is yes.
20967
06585ee8
L
20968 * iconv/gconv_db.c: Update copyright years.
20969
80ccd52c
LD
209702012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20971
20972 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
20973 unwind info if defined PIC. Fix special cases description.
20974 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
20975
20976 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
20977 DP_HI_MASK entry.
20978 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
20979
691bc9c1
L
209802012-09-07 H.J. Lu <hongjiu.lu@intel.com>
20981
3d9b46b3
L
20982 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
20983
de2139a9
L
20984 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
20985 is NULL.
20986
5ca78dd0
L
20987 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
20988 (LDLIBS-tst-chk4): This.
20989 (LDFLAGS-tst-chk5): Renamed to ...
20990 (LDLIBS-tst-chk5): This.
20991 (LDFLAGS-tst-chk6): Renamed to ...
20992 (LDLIBS-tst-chk6): This.
20993 (LDFLAGS-tst-lfschk4): Renamed to ...
20994 (LDLIBS-tst-lfschk4): This.
20995 (LDFLAGS-tst-lfschk5): Renamed to ...
20996 (LDLIBS-tst-lfschk5): This.
20997 (LDFLAGS-tst-lfschk6): Renamed to ...
20998 (LDLIBS-tst-lfschk6): This.
20999
691bc9c1
L
21000 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
21001 on $(common-objpfx)soversions.mk.
21002
65cafb1c
JM
210032012-09-07 Joseph Myers <joseph@codesourcery.com>
21004
21005 [BZ #10014]
21006 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
21007 example host name.
21008
c78ab094
SP
210092012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21010
21011 * malloc/arena.c (arena_get_retry): New function that gets
21012 another arena for the caller to try its request on.
21013 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
21014 current arena cannot fulfill the request.
21015 (__libc_memalign): Likewise.
21016 (__libc_memalign): Likewise.
21017 (__libc_pvalloc): Likewise.
21018 (__libc_calloc): Likewise.
21019
01f49f59
JT
210202012-09-05 John Tobey <john.tobey@gmail.com>
21021
21022 [BZ #13542]
21023 * manual/arith.texi (Operations on Complex): Fix description
21024 of carg branch cut.
21025
4c23fed5
JM
210262012-09-06 Joseph Myers <joseph@codesourcery.com>
21027
1d3c8572
JM
21028 [BZ #10014]
21029 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
21030 host name.
21031
4c23fed5
JM
21032 [BZ #10038]
21033 * manual/memory.texi (Memory): Make order of menu items match
21034 order of sections.
21035
04570aaa
L
210362012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21037
21038 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
21039 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
21040 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
21041
b80af2f4
L
210422012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21043
21044 * csu/libc-tls.c (static_dtv): Renamed to ...
21045 (_dl_static_dtv): This. Make it global.
21046 (_dl_initial_dtv): Removed.
21047 (__libc_setup_tls): Updated.
21048 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
21049 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
21050 DL_INITIAL_DTV.
21051
2abe9f15
PM
210522012-09-06 Petr Machata <pmachata@redhat.com>
21053
21054 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
21055 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
21056 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
21057 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
21058
0948c3af
L
210592012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21060
21061 [BZ #14545]
21062 * csu/libc-tls.c (_dl_initial_dtv): New variable.
21063 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
21064 freeing dtv[-1].
21065
a5055ad1
L
210662012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21067
21068 [BZ #14544]
21069 * Makeconfig (link-static-before-libc): Replace $(+prector)
21070 with $(+prectorT).
21071 (link-static-after-libc): Replace $(+postctor) with
21072 $(+postctorT).
21073 (link-bounded): Replace $(+prector)/$(+postctor) with
21074 $(+prectorT)/$(+postctorT).
21075 (+prectorT): New macro.
21076 (+postctorT): Likewise.
21077
ed8c2ecd
JM
210782012-09-06 Joseph Myers <joseph@codesourcery.com>
21079
21080 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
21081 (round_str): Handle values above the maximum for IBM long double
21082 as inexact.
21083 * stdlib/tst-strtod-round.c (tests): Regenerated.
21084
14c996c8
AK
210852012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21086
21087 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
21088 assembler flag.
21089 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
21090 zarch_nohighgprs around the zarch optimized routines.
21091 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
21092 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
21093 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
21094 for zarch.
21095
430d6ce6
DM
210962012-09-05 David S. Miller <davem@davemloft.net>
21097
21098 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21099
ff04dda4
DM
21100 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
21101 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
21102 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
21103 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21104 entries.
21105
24d4e01b
AO
211062012-09-05 Alexandre Oliva <aoliva@redhat.com>
21107
21108 * malloc/arena.c: Fold copyright years.
21109 * malloc/mcheck.c, malloc/memusage.c: Likewise.
21110
61d58174
AO
211112012-09-05 Alexandre Oliva <aoliva@redhat.com>
21112
21113 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
21114
20196a5e
AO
211152012-09-05 Alexandre Oliva <aoliva@redhat.com>
21116
21117 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
21118
5c447383
AO
211192012-09-05 Alexandre Oliva <aoliva@redhat.com>
21120
21121 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
21122 change internal state upon failure.
21123
fad64255
AO
211242012-09-05 Alexandre Oliva <aoliva@redhat.com>
21125
21126 * malloc/mcheck.c (mcheck_check_all): Fix typo.
21127 * malloc/memusage.c (mmap): Likewise.
21128 (mmap64, mremap): Likewise. Adjust name in comment.
21129
1ffb8c90
SP
211302012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21131
21132 * libio/fileops.c: Fix typos in comments.
21133 * libio/oldfileops.c: Likewise.
21134 * libio/wfileops.c: Likewise.
21135
6ef9cc37
SP
211362012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21137
21138 [BZ #1349]
21139 * malloc/Makefile (tests): Add tst-malloc-usable test case.
21140 (tst-malloc-usable-ENV): Set environment for test case.
21141 * malloc/hooks.c (malloc_check_get_size): New function to get
21142 requested size.
21143 * malloc/malloc.c (musable): Use malloc_check_get_size.
21144 * malloc/tst-malloc-usable.c: New test case.
21145
4d038ae3
AS
211462012-09-05 Andreas Schwab <schwab@linux-m68k.org>
21147
21148 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
21149
c4e85184
AM
211502012-09-05 Allan McRae <allan@archlinux.org>
21151
b9dafc56 21152 [BZ #13966]
c4e85184
AM
21153 * configure.in (CXX_SYSINCLUDES): Use compiler output to
21154 determine header location.
21155 * configure: Regenerated.
21156
e1343020
AS
211572012-09-05 Andreas Schwab <schwab@linux-m68k.org>
21158
21159 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
21160 float format.
21161 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
21162 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
21163 format.
e1343020
AS
21164 (test): Regenerate.
21165
0a9f1987
DM
211662012-09-04 David S. Miller <davem@davemloft.net>
21167
21168 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
21169 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
21170 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
21171
29237804
FW
211722012-09-04 Florian Weimer <fweimer@redhat.com>
21173
21174 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
21175 failures.
21176
edb3cb88
FW
21177 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
21178
60160d83
JM
211792012-09-04 Joseph Myers <joseph@codesourcery.com>
21180
21181 [BZ #9914]
21182 * libio/iogetdelim.c: Include <limits.h>.
21183 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
21184 + len + 1 would overflow.
21185
bcd6c8dc
AJ
211862012-09-03 Andreas Jaeger <aj@suse.de>
21187
21188 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21189 * sysdeps/i386/fpu/libm-test-ulps: Update.
21190
4ffffbd2
LD
211912012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21192
21193 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
21194 Add s_sinf-sse2, s_conf-sse2.
21195
21196 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
21197 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
21198 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
21199 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
21200
21201 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
21202 for using routine as __sinf_ia32.
21203 Use macro for function declaration and weak_alias.
21204 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
21205 for using routine as __cosf_ia32.
21206 Use macro for function declaration and weak_alias.
21207
21208 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
21209 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
21210
21211 * sysdeps/x86_64/fpu/s_sinf.S: New file.
21212 * sysdeps/x86_64/fpu/s_cosf.S: New file.
21213 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21214
21215 * math/libm-test.inc (cos_test): Add more test cases.
21216 (sin_test): Likewise.
21217 (sincos_test): Likewise.
21218
511fa286
AK
212192012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21220
21221 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
21222 (IFUNC_RESOLVE): Make pointers to the specialized implementations
21223 hidden.
21224 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21225
5f30cfec
L
212262012-09-02 H.J. Lu <hongjiu.lu@intel.com>
21227
21228 [BZ #14538]
21229 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
21230 first element of the GOT.
21231 (elf_machine_load_address): Return the difference between
21232 the runtime address of _DYNAMIC and elf_machine_dynamic ().
21233
0786794f
AM
212342012-09-01 Allan McRae <allan@archlinux.org>
21235
5f30cfec
L
21236 [BZ #13412]
21237 * configure.in (AWK): Require gawk version 3.0 or later.
21238 * configure: Regenerated.
0786794f 21239
26889eac
JM
212402012-09-01 Joseph Myers <joseph@codesourcery.com>
21241
21242 * sysdeps/unix/sysv/linux/kernel-features.h
21243 (__ASSUME_POSIX_CPU_TIMERS): Remove.
21244 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21245 [__NR_clock_getres]: Make code unconditional.
21246 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
21247 (clock_getcpuclockid): Remove code left unreachable by removal of
21248 conditionals.
21249 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
21250 code unconditional.
21251 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21252 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21253 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
21254 Make code unconditional.
21255 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21256 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21257 * sysdeps/unix/sysv/linux/clock_settime.c
21258 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
21259 conditional code.
21260 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
21261 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21262
d22e28b0
L
212632012-08-29 H.J. Lu <hongjiu.lu@intel.com>
21264
21265 [BZ #14476]
21266 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
21267 scripts/test-installation.pl.
21268
21269 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
21270 and $ld_so_version if it is set.
21271
050af9c4
SP
212722012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21273
21274 [BZ #14516]
21275 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
21276 failure if reading from procfs failed.
21277 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
21278
ad845c0b
JM
212792012-08-27 Joseph Myers <joseph@codesourcery.com>
21280
21281 * sysdeps/unix/sysv/linux/kernel-features.h
21282 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
21283 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21284 Remove conditional code.
21285 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21286 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
21287 Remove conditional code.
21288 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21289 * sysdeps/unix/sysv/linux/i386/fxstat.c
21290 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21291 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21292 * sysdeps/unix/sysv/linux/i386/fxstatat.c
21293 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21294 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21295 * sysdeps/unix/sysv/linux/i386/lxstat.c
21296 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21297 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21298 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
21299 Remove conditional code.
21300 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21301 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21302 Remove conditional code.
21303 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21304 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
21305 <kernel-features.h>.
21306 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
21307 Remove.
21308 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
21309 Remove conditional code.
21310 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21311 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
21312 Remove conditional.
21313
5dbf56af
MF
213142012-08-27 Mike Frysinger <vapier@gentoo.org>
21315
21316 [BZ #5400]
21317 * NEWS: Add fixed bug number.
21318
d6e70f43
JM
213192012-08-27 Joseph Myers <joseph@codesourcery.com>
21320
7efb4737
JM
21321 [BZ #14519]
21322 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
21323 underflowing exponent in case of negative sign.
21324 * stdlib/tst-strtod-round-data: Add more tests.
21325 * stdlib/tst-strtod-round.c (tests): Regenerated.
21326
af92131a
JM
21327 [BZ #3479]
21328 * stdlib/strtod_l.c (NDIG): Remove.
21329 (HEXNDIG): Likewise.
21330 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
21331 smallest representable value.
21332 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
21333 lie within an exact representation of 1/2 ulp of the result.
21334 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
21335 unconditionally.
21336 (TENS_P9_IDX): Define unconditionally.
21337 (TENS_P9_SIZE): Likewise.
21338 (TENS_P10_IDX): Likewise.
21339 (TENS_P10_SIZE): Likewise.
21340 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
21341 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
21342 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
21343 entries for 10^2^13 and 10^2^14.
21344 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
21345 (TENS_P13_IDX): Define.
21346 (TENS_P13_SIZE): Likewise.
21347 (TENS_P14_IDX): Likewise.
21348 (TENS_P14_SIZE): Likewise.
21349 (_fpioconst_pow10): Change array size to
21350 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
21351 unconditional.
21352 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
21353 1024]: Add entries for 10^2^13 and 10^2^14.
21354 [LAST_POW10 > _LAST_POW10]: Remove #error.
21355 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
21356 (_fpioconst_pow10): Change array size to
21357 FPIOCONST_POW10_ARRAY_SIZE.
21358 * stdlib/gen-fpioconst.c: New file.
21359 * stdlib/gen-tst-strtod-round.c: Likewise.
21360 * stdlib/tst-strtod-round-data: Likewise.
21361 * stdlib/tst-strtod-round.c: Likewise.
21362 * stdlib/Makefile (tests): Add tst-strtod-round.
21363
d6e70f43
JM
21364 [BZ #14459]
21365 * stdlib/strtod_l.c: Include <stdint.h>.
21366 (NDEBUG): Do not define.
21367 (round_and_return): Change EXPONENT parameter to type intmax_t.
21368 Rearrange calculations to avoid internal overflow possibilities.
21369 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
21370 Rearrange calculations to avoid internal overflow possibilities.
21371 Assert that number fits inside MPNSIZE limbs.
21372 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
21373 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
21374 calculations and add assertions to avoid internal overflow
21375 possibilities. Add casts to avoid signed/unsigned operations.
21376 * stdlib/tst-strtod-overflow.c: New file.
21377 * stdlib/Makefile (tests): Add tst-strtod-overflow.
21378
1f529f7d
MP
213792012-08-25 Marek Polacek <polacek@redhat.com>
21380
21381 * time/time.h: Fix some typos in comments.
21382
59a629f1
RM
213832012-08-23 Roland McGrath <roland@hack.frob.com>
21384
21385 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
21386 * posix/tst-rfc3484-2.c: Likewise.
21387 * posix/tst-rfc3484-3.c: Likewise.
21388
d3bafbc9
SM
213892012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
21390
21391 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
21392 (EF_ARM_ABI_FLOAT_HARD): Likewise.
21393
4efcc022
JM
213942012-08-23 Joseph Myers <joseph@codesourcery.com>
21395
21396 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
21397 #include of fxstatat64.c.
21398
3cc3ef96
RM
213992012-08-22 Roland McGrath <roland@hack.frob.com>
21400
f04e2132
RM
21401 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
21402 * shadow/getspent_r.c: Likewise.
21403 * shadow/getspnam.c: Likewise.
21404 * shadow/getspnam_r.c: Likewise.
21405 * gshadow/getsgent.c: Likewise.
21406 * gshadow/getsgent_r.c: Likewise.
21407 * gshadow/getsgnam.c: Likewise.
21408 * gshadow/getsgnam_r.c: Likewise.
21409 * inet/getnetbyad.c: Likewise.
21410 * inet/getnetbyad_r.c: Likewise.
21411 * inet/getnetbynm.c: Likewise.
21412 * inet/getnetbynm_r.c: Likewise.
21413 * inet/getnetent.c: Likewise.
21414 * inet/getnetent_r.c: Likewise.
21415 * inet/getproto.c: Likewise.
21416 * inet/getproto_r.c: Likewise.
21417 * inet/getprtent.c: Likewise.
21418 * inet/getprtent_r.c: Likewise.
21419 * inet/getprtname.c: Likewise.
21420 * inet/getprtname_r.c: Likewise.
21421 * inet/getrpcbyname.c: Likewise.
21422 * inet/getrpcbyname_r.c: Likewise.
21423 * inet/getrpcbynumber.c: Likewise.
21424 * inet/getrpcbynumber_r.c: Likewise.
21425 * inet/getrpcent.c: Likewise.
21426 * inet/getrpcent_r.c: Likewise.
21427 * inet/getaliasent.c: Likewise.
21428 * inet/getaliasent_r.c: Likewise.
21429 * inet/getaliasname.c: Likewise.
21430 * inet/getaliasname_r.c: Likewise.
21431 * nscd/getgrgid_r.c: Likewise.
21432 * nscd/getgrnam_r.c: Likewise.
21433 * nscd/gethstbyad_r.c: Likewise.
21434 * nscd/gethstbynm3_r.c: Likewise.
21435 * nscd/getpwnam_r.c: Likewise.
21436 * nscd/getpwuid_r.c: Likewise.
21437 * nscd/getsrvbynm_r.c: Likewise.
21438 * nscd/getsrvbypt_r.c: Likewise.
21439 * nscd/gai.c: Likewise.
21440
c53d909c
RM
21441 * configure.in (build_nscd): New substituted variable, set
21442 by --disable-build-nscd and defaults to $use_nscd.
21443 * configure: Regenerated.
21444 * config.make.in (build-nscd): New substituted variable.
21445 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
21446 Change conditional to require [$(build-nscd) = yes] as well.
21447 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
21448
3cc3ef96
RM
21449 [BZ# 13696]
21450 * configure.in (use_nscd): New substituted variable, set by
21451 --disable-nscd. If enabled, define USE_NSCD.
21452 * configure: Regenerated.
21453 * config.h.in: Add USE_NSCD.
21454 * config.make.in (use-nscd): New substituted variable.
21455 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21456 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
21457 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
21458 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
21459 (CFLAGS-getgrnam_r.c): Likewise.
21460 (CFLAGS-initgroups.c): Likewise.
21461 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
21462 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
21463 Variables removed.
21464 * inet/getnetgrent_r.c
21465 (nscd_setnetgrent): New function, broken out of ...
21466 (setnetgrent): ... here. Call it.
21467 (innetgr): Conditionalize nscd bits on [USE_NSCD].
21468 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
21469 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
21470 * nscd/Makefile (routines, aux): Move definitions after include of
21471 Makeconfig. Conditionalize on [$(use-nscd) != no].
21472 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
21473 Conditionalize on [USE_NSCD].
21474 (is_nscd, nscd_init_cb): Likewise.
21475 (nss_load_library): Conditionalize init callback on [USE_NSCD].
21476 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
21477 * nss/nss_db/db-init.c: Likewise.
21478 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
21479 [USE_NSCD].
21480 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
21481 (make_request): Use it.
21482 (cache_valid_p): New function.
21483 (__check_pf): Use it.
21484 * NEWS: Add item for --disable-nscd.
21485
07e51550
DL
214862012-08-22 Dmitry V. Levin <ldv@altlinux.org>
21487
21488 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
21489 to support sed >= 4.2.1-20-ga9bf076.
21490 * configure: Regenerated.
21491
35a5b08b
RM
214922012-08-22 Roland McGrath <roland@hack.frob.com>
21493
21494 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
21495 Conditionalize whole body on [IREL].
21496
8479f23a
JL
214972012-08-22 Jeff Law <law@redhat.com>
21498
21499 [BZ #14505]
21500 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
21501 if the family is PF_UNSPEC.
21502
48da0b21
MF
215032012-08-22 Mike Frysinger <vapier@gentoo.org>
21504
21505 * Makerules (lib-version): Rename from V.
21506 (install-lib-nosubdir): Change V to lib-version.
21507
15d0da8c
WS
215082012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
21509
21510 [BZ #14252]
21511 * powerpc32/power6/wcschr.c: New file.
21512 * powerpc32/power6/wcscpy.c: New file.
21513 * powerpc32/power6/wcsrchr.c: New file.
21514 * powerpc64/power6/wcschr.c: New file.
21515 * powerpc64/power6/wcscpy.c: New file.
21516 * powerpc64/power6/wcsrchr.c: New file.
21517
bcca0895
MK
215182012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21519
21520 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
21521 (two_way_short_needle): Use it.
5a4aaa33
RM
21522 * string/strstr.c (AVAILABLE1_USES_J): Define.
21523 * string/strcasestr.c: Likewise.
99677e57
MK
21524
21525 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
21526 array references.
21527 * string/strcasestr.c (TOLOWER): Make side-effect safe.
21528
400726de
MK
21529 [BZ #11607]
21530 * NEWS: Add an entry.
21531 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
21532 define their defaults.
21533 (two_way_short_needle): Detect end-of-string on-the-fly.
21534 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
21535 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
21536 * string/bug-strcasestr1.c: New test.
21537 * string/Makefile: Run it.
21538
20a71f2c
MK
215392012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21540
21541 [BZ #11607]
21542 * string/str-two-way.h (two_way_short_needle): Optimize matching of
21543 the first character.
21544
21ad0558
RM
215452012-08-21 Roland McGrath <roland@hack.frob.com>
21546
21547 * csu/elf-init.c (__libc_csu_irel): Function removed.
21548 * csu/libc-start.c (apply_irel): New function.
21549 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
21550
0e1d9911
JM
215512012-08-21 Joseph Myers <joseph@codesourcery.com>
21552
21553 * sysdeps/unix/sysv/linux/kernel-features.h
21554 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
21555 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21556 <kernel-features.h>.
21557 [__NR_fadvise64_64]: Make code unconditional.
21558 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
21559 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21560 !__NR_fadvise64_64)]: Likewise.
21561 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21562 !__NR_fadvise64_64))]: Likewise.
21563 [__NR_fadvise64]: Make code unconditional.
21564 [!__NR_fadvise64]: Remove conditional code.
21565 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
21566 <kernel-features.h>.
21567 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21568 unconditional.
21569 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21570 conditional code.
21571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
21572 not include <kernel-features.h>.
21573 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21574 unconditional.
21575 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21576 conditional code.
21577 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
21578 include <kernel-features.h>.
21579 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21580 unconditional.
21581 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21582 conditional code.
21583
14a50c9d
WS
215842012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21585
21586 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
21587 slight instruction rearrangements per scrollpipe analysis.
21588 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21589
c0f4faf0
RM
215902012-08-20 Roland McGrath <roland@hack.frob.com>
21591
696da859
RM
21592 * manual/syslog.texi (syslog; vsyslog, closelog):
21593 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
21594 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
21595
c0f4faf0
RM
21596 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
21597 DSOCAPS to match condition on defining it.
21598
348363b2
JM
215992012-08-20 Joseph Myers <joseph@codesourcery.com>
21600
a35cbf28
JM
21601 * sysdeps/unix/sysv/linux/kernel-features.h
21602 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
21603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
21604 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21605 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
21607 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21608 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
21610 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21611 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21612
445f7ecd
JM
21613 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
21614 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
21615
348363b2
JM
21616 * sysdeps/unix/sysv/linux/kernel-features.h
21617 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
21618 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
21619 unconditional.
21620 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21621 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
21622 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21623 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21624 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
21625 Make code unconditional.
21626 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21627 (__mmap64) [!__NR_mmap2]: Likewise.
21628 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
21629 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21630 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21631 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
21632 [__NR_mmap2]: Make code unconditional.
21633 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21634 (__mmap64) [!__NR_mmap2]: Likewise.
21635
bc5bc0e5
AK
216362012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21637
21638 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
21639
88d506de
AJ
216402012-08-18 Andreas Jaeger <aj@suse.de>
21641
21642 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
21643
493387d2
MF
216442012-08-18 Mike Frysinger <vapier@gentoo.org>
21645
21646 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
21647 * include/unistd.h (__have_sock_cloexec): Likewise.
21648 (__have_pipe2): Likewise.
21649 (__have_dup3): Likewise.
21650
a277af22
MF
216512012-08-18 Mike Frysinger <vapier@gentoo.org>
21652
21653 [BZ #9685]
21654 * include/unistd.h (__have_pipe2): Change define into an extern int.
21655 (__have_dup3): Likewise.
21656 * socket/have_sock_cloexec.c: Include fcntl.h.
21657 (__have_pipe2): New variable.
21658 (__have_dup3): Likewise.
21659
fdab8fd3
MF
216602012-08-17 Mike Frysinger <vapier@gentoo.org>
21661
21662 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
21663
31035e80
MP
216642012-08-17 Marek Polacek <polacek@redhat.com>
21665
21666 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
21667 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
21668
3bd9e993
RM
216692012-08-17 Roland McGrath <roland@hack.frob.com>
21670
c91c505f
RM
21671 * configure.in: Add AC_SUBST for sysheaders.
21672 * configure: Regenerated.
21673 * config.make.in (sysheaders): New substituted variable.
21674
7c6f9d53
RM
21675 * sysdeps/unix/mkfifo.c: Moved ...
21676 * sysdeps/posix/mkfifo.c: ... here.
21677 * sysdeps/unix/mkfifoat.c: Moved ...
21678 * sysdeps/posix/mkfifoat.c: ... here.
21679
21680 * sysdeps/unix/utime.c: Moved ...
21681 * sysdeps/posix/utime.c: ... here.
21682
21683 * sysdeps/unix/time.c: Moved ...
21684 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
21685 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
21686 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
21687
21688 * sysdeps/unix/nice.c: Moved ...
21689 * sysdeps/posix/nice.c: ... here.
21690
21691 * sysdeps/unix/alarm.c: Moved ...
21692 * sysdeps/posix/alarm.c: ... here.
21693
3bd9e993
RM
21694 * intl/Makefile ($(codeset_mo)): Depend on the input file.
21695
d1f09384
JL
216962012-08-17 Jeff Law <law@redhat.com>
21697
21698 * intl/Makefile (codeset_mo): New variable.
21699 ($(codeset_mo)): New target.
21700 (tst-codeset.out): Depend on that. Remove explicit rule.
21701 (tst-gettext3.out, tst-gettext5.out): Likewise.
21702 (LOCPATH-ENV, tst-codeset-ENV): New variables.
21703 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
21704 * intl/tst-codeset.sh: Remove.
21705 * intl/tst-gettext3.sh: Likewise.
21706 * intl/tst-gettext5.sh: Likewise.
21707
2ae1ae5c
RM
217082012-08-17 Roland McGrath <roland@hack.frob.com>
21709
c31fdb83
RM
21710 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
21711 * sysdeps/unix/syscalls.list: ... here.
21712
a0844057
RM
21713 * sysdeps/posix/getaddrinfo.c
21714 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
21715 (gaiconf_init, gaiconf_reload): Use them.
21716 [!_STATBUF_ST_NSEC]
21717 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
21718 Define using time_t rather than struct timespec.
21719
750c1f2a
RM
21720 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
21721 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
21722 Macros removed.
21723 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
21724 [!NO_THREADS].
21725 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
21726 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
21727 Likewise.
21728
2ae1ae5c
RM
21729 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
21730 __libc_cleanup_push argument.
21731
e66a42f5
RM
21732 * bits/param.h: New file.
21733 * misc/sys/param.h: New file.
21734 * include/sys/param.h: New file.
21735 * misc/Makefile (headers): Add bits/param.h.
21736 * sysdeps/generic/sys/param.h: File removed.
21737 * sysdeps/unix/sysv/linux/bits/param.h: New file.
21738 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
21739 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 21740 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 21741
b7c08a66
RM
21742 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
21743 last change.
21744
b2e1c562
RM
21745 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
21746 [_IO_MTSAFE_IO].
21747 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
21748 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
21749 New macros.
21750
c75ccd4c
RM
21751 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
21752 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
21753 rather than -D_IO_MTSAFE_IO conditionally.
21754 * stdio-common/Makefile (CPPFLAGS): Likewise.
21755 * wcsmbs/Makefile (CPPFLAGS): Likewise.
21756 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
21757 Use $(libio-mtsafe).
21758 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
21759 of -D_IO_MTSAFE_IO.
21760 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
21761 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
21762 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
21763 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
21764 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
21765 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
21766 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
21767 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
21768 (CFLAGS-fread_u_chk.c): Likewise.
21769 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
21770 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
21771 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
21772 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
21773 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
21774 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
21775 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
21776 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
21777 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
21778
21779 * libio/Makefile: Test [$(libc-reentrant) = yes]
21780 instead of [$(filter %REENTRANT, $(defines)) nonempty].
21781
21782 * Makeconfig
21783 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
21784 * sysdeps/pthread/configure: File removed.
21785 * sysdeps/pthread/Makeconfig: New file.
21786 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
21787 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
21788
d9195db8
GB
217892012-08-16 Gary Benson <gbenson@redhat.com>
21790
21791 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
21792 unmapping the first object in a namespace.
21793
86466cd9
RM
217942012-08-16 Roland McGrath <roland@hack.frob.com>
21795
21796 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
21797 (__internal_setnetgrent): ... this. Add internal_function to
21798 definition. Add libc_hidden_def.
21799 (setnetgrent): Update caller.
21800 (internal_endnetgrent): Renamed to ...
21801 (__internal_endnetgrent): ... this. Add internal_function to
21802 definition. Add libc_hidden_def.
21803 (endnetgrent): Update caller.
21804 (internal_getnetgrent_r): Renamed to ...
21805 (__internal_getnetgrent_r): ... this. Add internal_function to
21806 definition. Add libc_hidden_def.
21807 (__getnetgrent_r): Update caller.
21808 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
21809
c3c8283c
JM
218102012-08-16 Joseph Myers <joseph@codesourcery.com>
21811
21812 * stdlib/longlong.h: Update from GCC.
21813
db1ee0a8
RM
218142012-08-16 Roland McGrath <roland@hack.frob.com>
21815
21816 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
21817 on _QL, which is set by umul_ppmm but never used.
21818 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
21819 variables, which are set by GMP macros but never used.
21820 * stdio-common/_itowa.c (_itowa): Likewise.
21821 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
21822 * stdlib/mod_1.c (mpn_mod_1): Likewise.
21823
30f69637
CD
218242012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
21825
21826 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
21827 struct La_sh_regs is not constant.
21828 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
21829 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
21830 and struct La_sparc64_regs are not constant.
21831
93a78ac4
JM
218322012-08-16 Joseph Myers <joseph@codesourcery.com>
21833
21834 * sysdeps/unix/sysv/linux/kernel-features.h
21835 (__ASSUME_POSIX_TIMERS): Remove.
21836 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21837 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21838 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
21839 Make code unconditional.
21840 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21841 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
21842 Make code unconditional.
21843 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21844 * sysdeps/unix/sysv/linux/clock_nanosleep.c
21845 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
21846 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21847 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
21848 Make code unconditional.
21849 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21850 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
21851 (__libc_missing_posix_timers): Remove.
21852
dd924cd7
RM
218532012-08-15 Roland McGrath <roland@hack.frob.com>
21854
4b4f2771
RM
21855 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
21856 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
21857
601c888b
RM
21858 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
21859
176790a7
RM
21860 * elf/dl-sym.c: Include <stdlib.h>.
21861
329bc018
RM
21862 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
21863 constants, which avoids warnings in 32-bit builds.
21864
e04e272d
RM
21865 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
21866 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
21867
952bf94a
RM
21868 * misc/lseek.c: File moved to ...
21869 * io/lseek.c: ... here.
21870
7c99b50a
RM
21871 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
21872
dd924cd7
RM
21873 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
21874 shifting LEN more than 31 bits at once.
21875
b3f479a8
LD
218762012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21877
21878 [BZ #14195]
8c4ae0d4
RM
21879 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
21880 segmentation fault for a case of two empty input strings.
b3f479a8
LD
21881 * string/test-strncasecmp.c (check1): Renamed to...
21882 (bz12205): ...this.
21883 (bz14195): Add new testcase for two empty input strings and N > 0.
21884 (test_main): Call new testcase, adapt for renamed function.
21885
9c55864e
AJ
218862012-08-15 Andreas Jaeger <aj@suse.de>
21887
21888 [BZ #14090]
21889 * crypt/md5test2.c: New test, based on test supplied by Serge
21890 Belyshev <belyshev@depni.sinp.msu.ru>.
21891 * crypt/Makefile (xtests): Add md5test-giant..
21892 * crypt/Makefile ($(objpfx)md5test-giant): Add.
21893
02dcb6c5
PE
218942012-08-15 Paul Eggert <eggert@cs.ucla.edu>
21895
21896 [BZ #14090]
21897 * crypt/md5.c (md5_process_block): Don't assume the buffer
21898 length is less than 2**32.
21899 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
21900 length is less than 2**64.
21901
a3f95dcc
RM
219022012-08-15 Roland McGrath <roland@hack.frob.com>
21903
be75d758
RM
21904 * string/str-two-way.h: Include <sys/param.h>.
21905 (MAX): Macro removed.
21906
7312ca90
RM
21907 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
21908 Move #define and #undef of memmove to just before and after
21909 including <string.h>.
21910
9a0a5486
RM
21911 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
21912 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
21913 and after including <string.h>. Move declarations of
21914 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
21915 to before #include "string/memmove.c".
21916
67cc348d
RM
21917 * include/dirent.h: Declare __getdirentries.
21918
a3f95dcc
RM
21919 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
21920 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
21921
ca98e171
MF
219222012-08-14 Mike Frysinger <vapier@gentoo.org>
21923
21924 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
21925 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
21926 * sysdeps/i386/configure: Regenerated.
21927 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
21928 STABS_CURRENT_FILE, and STABS_FUN.
21929 (END): Remove call to STABS_FUN_END.
21930 (STABS_CURRENT_FILE1): Delete.
21931 (STABS_CURRENT_FILE): Likewise.
21932 (STABS_FUN): Likewise.
21933 (STABS_FUN_END): Likewise.
21934 (STABS_FUN2): Likewise.
21935 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
21936 * sysdeps/x86_64/configure: Regenerated.
21937
5908bf46
RM
219382012-08-14 Roland McGrath <roland@hack.frob.com>
21939
21940 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 21941 * elf/dl-lookup.c: Likewise.
5908bf46 21942
f2c05b9e
JM
219432012-08-14 Joseph Myers <joseph@codesourcery.com>
21944
21945 * sysdeps/unix/sysv/linux/kernel-features.h
21946 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
21947 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
21948 unconditionally.
21949 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
21950 unconditionally.
21951 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
21952 condition on __ASSUME_CLONE_THREAD_FLAGS.
21953
e11f5155
AJ
219542012-08-14 Andreas Jaeger <aj@suse.de>
21955
21956 * sysdeps/i386/fpu/libm-test-ulps: Update.
21957
51a9ba86
MK
219582012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
21959
2fdd4f78
AJ
21960 * include/atomic.h (atomic_exchange_and_add): Split into ...
21961 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
21962 New atomic macros.
51a9ba86 21963
ba6cba9e
MT
219642012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
21965
21966 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21967
42443a47
JL
219682012-08-13 Jeff Law <law@redhat.com>
21969
21970 * manual/stdio.texi (snprintf): Clarify handling of the trailing
21971 null byte in the output string.
21972
121dce05
JM
219732012-08-10 Joseph Myers <joseph@codesourcery.com>
21974
21975 * sysdeps/unix/sysv/linux/kernel-features.h
21976 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
21977 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
21978 (__ASSUME_ARG_MAX_STACK_BASED): Define.
21979 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21980 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
21981 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
21982 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
21983
bf51f568
JL
219842012-08-09 Jeff Law <law@redhat.com>
21985
21986 [BZ #13939]
21987 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
21988 When avoid_arena is set, don't retry in the that arena. Pick the
21989 next one, whatever it might be.
21990 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
21991 (arena_lock): Pass in new parameter to arena_get2.
21992 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
21993 arena_get2.
21994 (__libc_malloc): Unify retrying after main arena failure with
21995 __libc_memalign version.
21996 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
21997
f85fa270
L
219982012-08-09 H.J. Lu <hongjiu.lu@intel.com>
21999
22000 [BZ #14166]
22001 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
22002 to __redirect_strstr.
22003 (__strstr_sse42): Use typeof __redirect_strstr.
22004 (__strstr_ia32): Likewise.
22005 (__libc_strstr): New prototype.
22006 (strstr): Renamed to ...
22007 (__libc_strstr): This.
22008 (strstr): New strong alias of __libc_strstr.
22009 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22010 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
22011 __redirect_time.
22012 Include <time.h>.
22013 (__libc_time): New prototype.
22014 (time_ifunc): Replace time with __libc_time.
22015 (time): New strong alias and hidden definition of __libc_time.
22016 (__GI_time): Remove strong alias.
22017 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
22018 Include <stddef.h>.
22019 (memmove): Redefined to __redirect_memmove.
22020 (__memmove_sse2): Use typeof __redirect_memmove.
22021 (__memmove_ssse3): Likewise.
22022 (__memmove_ssse3_back): Likewise.
22023 (__libc_memmove): New prototype.
22024 (memmove): Renamed to ...
22025 (__libc_memmove): This.
22026 (memmove): New strong alias of __libc_memmove.
22027
33b4a91e
MS
220282012-08-08 Mark Salter <msalter@redhat.com>
22029
22030 * elf/elf.h
22031 (R_MN10300_TLS_GD): Define.
22032 (R_MN10300_TLS_LD): Likewise.
22033 (R_MN10300_TLS_LDO): Likewise.
22034 (R_MN10300_TLS_GOTIE): Likewise.
22035 (R_MN10300_TLS_IE): Likewise.
22036 (R_MN10300_TLS_LE): Likewise.
22037 (R_MN10300_TLS_DTPMOD): Likewise.
22038 (R_MN10300_TLS_DTPOFF): Likewise.
22039 (R_MN10300_TLS_TPOFF): Likewise.
22040 (R_MN10300_SYM_DIFF): Likewise.
22041 (R_MN10300_ALIGN): Likewise.
22042 (R_MN10300_NUM): Update.
22043
b36137f1
JM
220442012-08-08 Joseph Myers <joseph@codesourcery.com>
22045
22046 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
22047 Remove.
22048
cdd915fd
RM
220492012-08-08 Roland McGrath <roland@hack.frob.com>
22050
a2433aac
RM
22051 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
22052
cdd915fd
RM
22053 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
22054 sysdeps/unix -> sysdeps/posix move.
22055 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22056
bf9b740a
AM
220572012-08-07 Allan McRae <allan@archlinux.org>
22058
22059 [BZ #14303]
22060 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
22061 (SUNOS_CPP): Likewise.
22062 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
22063 not found.
22064 (open_input): Call CPP using execvp.
22065
93df14ee
JM
220662012-08-07 Joseph Myers <joseph@codesourcery.com>
22067
22068 * sysdeps/unix/sysv/linux/kernel-features.h
22069 (__ASSUME_PROT_GROWSUPDOWN): Remove.
22070 (__ASSUME_NO_CLONE_DETACHED): Likewise.
22071 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
22072 (__ASSUME_WAITID_SYSCALL): Likewise.
22073 * sysdeps/unix/sysv/linux/dl-execstack.c
22074 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
22075 code unconditional.
22076 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
22077 conditional code.
22078 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
22079 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
22080 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
22081 code.
22082 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
22083 unconditional.
22084 [__ASSUME_WAITID_SYSCALL]: Likewise.
22085 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
22086
d34689de
RM
220872012-08-07 Roland McGrath <roland@hack.frob.com>
22088
a281decc
RM
22089 * sysdeps/unix/closedir.c: Renamed to ...
22090 * sysdeps/posix/closedir.c: ... here.
22091 * sysdeps/unix/dirfd.c: Renamed to ...
22092 * sysdeps/posix/dirfd.c: ... here.
22093 * sysdeps/unix/dirstream.h: Renamed to ...
22094 * sysdeps/posix/dirstream.h: ... here.
22095 * sysdeps/unix/fdopendir.c: Renamed to ...
22096 * sysdeps/posix/fdopendir.c: ... here.
22097 * sysdeps/unix/opendir.c: Renamed to ...
22098 * sysdeps/posix/opendir.c: ... here.
22099 * sysdeps/unix/readdir.c: Renamed to ...
22100 * sysdeps/posix/readdir.c: ... here.
22101 * sysdeps/unix/readdir_r.c: Renamed to ...
22102 * sysdeps/posix/readdir_r.c: ... here.
22103 * sysdeps/unix/rewinddir.c: Renamed to ...
22104 * sysdeps/posix/rewinddir.c: ... here.
22105 * sysdeps/unix/seekdir.c: Renamed to ...
22106 * sysdeps/posix/seekdir.c: ... here.
22107 * sysdeps/unix/telldir.c: Renamed to ...
22108 * sysdeps/posix/telldir.c: ... here.
22109 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
22110 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
22111 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
22112 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
22113
22895b47
RM
22114 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
22115 * bits/fcntl.h: ... here.
22116
707a53b6
RM
22117 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
22118 not 0.
22119 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
22120 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
22121 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
22122 (struct flock): Move l_start, l_len to the beginning.
22123 Use __pid_t for l_pid.
22124 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
22125 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
22126 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
22127 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
22128 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
22129 [__USE_LARGEFILE64] (struct flock64): New type.
22130 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
22131
f0bd3e25
RM
22132 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
22133 * bits/dirent.h: ... here.
22134
d34689de
RM
22135 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
22136 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
22137
6dad2c06
JM
221382012-08-07 Joseph Myers <joseph@codesourcery.com>
22139
22140 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22141 Change from 2.6.0 to 2.6.16.
22142 * sysdeps/unix/sysv/linux/configure: Regenerated.
22143 * sysdeps/unix/sysv/linux/kernel-features.h
22144 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
22145 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
22146 version.
22147 (__ASSUME_UTIMES): Likewise.
22148 (__ASSUME_CLONE_STOPPED): Remove.
22149 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
22150 architectures, not kernel version.
22151 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
22152 (__ASSUME_NO_CLONE_DETACHED): Likewise.
22153 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
22154 (__ASSUME_WAITID_SYSCALL): Likewise.
22155 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
22156 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
22157 * README: State 2.6.16 as minimum Linux kernel version. Do not
22158 refer to older versions.
22159
03af9520
RM
221602012-08-06 Roland McGrath <roland@hack.frob.com>
22161
8e49df1d
RM
22162 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
22163 Define alphasort64 as an alias.
22164 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
22165 Define versionsort64 as an alias.
22166 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
22167 Define scandir64 as an alias.
22168 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
22169 Define scandirat64 as an alias.
22170 * dirent/alphasort64.c (alphasort64):
22171 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
22172 * dirent/versionsort64.c: Likewise.
22173 * dirent/scandir64.c: Likewise.
22174 * dirent/scandirat64.c: Likewise.
22175 * sysdeps/wordsize-64/alphasort.c: File removed.
22176 * sysdeps/wordsize-64/alphasort64.c: File removed.
22177 * sysdeps/wordsize-64/scandir.c: File removed.
22178 * sysdeps/wordsize-64/scandir64.c: File removed.
22179 * sysdeps/wordsize-64/scandirat.c: File removed.
22180 * sysdeps/wordsize-64/scandirat64.c: File removed.
22181 * sysdeps/wordsize-64/versionsort.c: File removed.
22182 * sysdeps/wordsize-64/versionsort64.c: File removed.
22183 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
22184 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
22185 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
22186 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
22187 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
22188 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
22189 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
22190 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
22191
22192 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
22193 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22194 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
22195 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22196 [defined __arch64__ || defined __sparcv9]
22197 (__INO_T_MATCHES_INO64_T): New macro.
22198 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22199 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
22200 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
22201 * sysdeps/unix/sysv/linux/bits/dirent.h
22202 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
22203 (_DIRENT_MATCHES_DIRENT64): New macro.
22204
03af9520
RM
22205 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
22206 Define lockf64 as an alias.
22207 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
22208 Define fseeko64 as an alias.
22209 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
22210 Define ftello64 as an alias.
22211 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
22212 Define _IO_fgetpos64 and fgetpos64 as aliases.
22213 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
22214 Define _IO_fsetpos64 and fsetpos64 as aliases.
22215 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
22216 Conditionalize body on this.
22217 * libio/fseeko64.c: Likewise.
22218 * libio/ftello64.c: Likewise.
22219 * libio/iofgetpos64.c: Likewise.
22220 * libio/iofsetpos64.c: Likewise.
22221 * sysdeps/wordsize-64/lockf.c: File removed.
22222 * sysdeps/wordsize-64/lockf64.c: File removed.
22223 * sysdeps/wordsize-64/fseeko.c: File removed.
22224 * sysdeps/wordsize-64/fseeko64.c: File removed.
22225 * sysdeps/wordsize-64/ftello.c: File removed.
22226 * sysdeps/wordsize-64/ftello64.c: File removed.
22227 * sysdeps/wordsize-64/iofgetpos.c: File removed.
22228 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
22229 * sysdeps/wordsize-64/iofsetpos.c: File removed.
22230 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
22231 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
22232 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
22233 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
22234 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
22235 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
22236 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
22237 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
22238 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
22239 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
22240 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
22241
22242 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22243 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22244 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
22245 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22246 [defined __arch64__ || defined __sparcv9]
22247 (__OFF_T_MATCHES_OFF64_T): New macro.
22248 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22249 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22250 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22251 (__OFF_T_MATCHES_OFF64_T): New macro.
22252
c5757acd
L
222532012-08-06 H.J. Lu <hongjiu.lu@intel.com>
22254
22255 * stdlib/secure-getenv.c (__secure_getenv): Replace
22256 GLIBC_2_16 with GLIBC_2_17.
22257
3a31811e
L
222582012-08-06 H.J. Lu <hongjiu.lu@intel.com>
22259
22260 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
22261 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22262
faa2bccb
DM
222632012-08-03 David S. Miller <davem@davemloft.net>
22264
22265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22266
85fe1997
JM
222672012-08-03 Joseph Myers <joseph@codesourcery.com>
22268
22269 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
22270 Remove.
22271 (__ASSUME_CORRECT_SI_PID): Likewise.
22272 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
22273 (__ASSUME_TMPFS_NAME): Likewise.
22274 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
22275 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
22276 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
22277 (HAVE_AUX_SECURE): Make definition unconditional.
22278 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
22279 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
22280
4f75b7a0
RM
222812012-08-03 Roland McGrath <roland@hack.frob.com>
22282
22283 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
22284 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
22285 * sysdeps/mach/hurd/eloop-threshold.h: New file.
22286 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22287 __eloop_threshold instead of SYMLOOP_MAX.
22288
22289 * sysdeps/generic/eloop-threshold.h: New file.
22290 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
22291 of MAXSYMLINKS.
22292 * elf/chroot_canon.c (chroot_canon): Likewise.
22293
7aab07e4
JM
222942012-08-03 Joseph Myers <joseph@codesourcery.com>
22295
22296 [BZ #13717]
22297 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22298 Change to 2.6.0 everywhere.
22299 * sysdeps/unix/sysv/linux/configure: Regenerated.
22300 * sysdeps/unix/sysv/linux/kernel-features.h
22301 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
22302 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
22303 kernel versions.
22304 (__ASSUME_POSIX_TIMERS): Define unconditionally.
22305 (__ASSUME_FUTEX_REQUEUE): Remove.
22306 (__ASSUME_STATFS64): Define unconditionally.
22307 (__ASSUME_AT_SECURE): Likewise.
22308 (__ASSUME_CORRECT_SI_PID): Likewise.
22309 (__ASSUME_TGKILL): Define without depending on kernel version for
22310 i386.
22311 (__ASSUME_UTIMES): Likewise.
22312 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
22313 kernel version.
22314 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
22315 (__ASSUME_TMPFS_NAME): Likewise.
22316 * README: Update reference to Linux kernel versions.
22317
b67e9372
MP
223182012-08-02 Marek Polacek <polacek@redhat.com>
22319
1f529f7d 22320 [BZ# 14150]
b67e9372
MP
22321 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
22322 libc_cv_asm_type_prefix with %.
22323 * configure: Regenerated.
d2441631
RM
22324 * include/libc-symbols.h: Remove comment about
22325 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
22326 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
22327 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
22328 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
22329 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
22330 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
22331 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
22332 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
22333 * elf/tst-unique2mod1.c: Likewise.
22334 * elf/tst-unique1mod2.c: Likewise.
22335 * elf/tst-unique1mod1.c: Likewise.
22336 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
22337 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
22338 Replace ASM_TYPE_DIRECTIVE with .type.
22339 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22340 * sysdeps/i386/sysdep.h: Likewise.
22341 * sysdeps/x86_64/sysdep.h: Likewise.
22342 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
22343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22344 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 22345 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
22346 * sysdeps/powerpc/powerpc32/sysdep.h:
22347 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
22348 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22349 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22350 * sysdeps/i386/fpu/e_powf.S: Likewise.
22351 * sysdeps/i386/fpu/e_expl.S: Likewise.
22352 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22353 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22354 * sysdeps/i386/fpu/e_pow.S: Likewise.
22355 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22356 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22357 * sysdeps/i386/fpu/s_expm1.S: Likewise.
22358 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22359 * sysdeps/i386/fpu/e_log2.S: Likewise.
22360 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22361 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22362 * sysdeps/i386/fpu/e_powl.S: Likewise.
22363 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22364 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22365 * sysdeps/i386/fpu/e_logl.S: Likewise.
22366 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22367 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22368 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22369 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22370 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22371 * sysdeps/i386/fpu/e_log.S: Likewise.
22372 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22373 * sysdeps/i386/fpu/e_logf.S: Likewise.
22374 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22375 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22376 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22377 * sysdeps/i386/fpu/e_log10.S: Likewise.
22378 * sysdeps/i386/fpu/s_frexp.S: Likewise.
22379 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22380 * sysdeps/i386/fpu/s_asinh.S: Likewise.
22381 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22382 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22383 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
22384 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22385 * sysdeps/i386/i686/strtok.S: Likewise.
22386 * sysdeps/i386/i386-mcount.S: Likewise.
22387 * sysdeps/i386/strtok.S: Likewise.
22388 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
22389 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22390 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22391 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22392 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22393 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22394 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22395 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22396 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22397 * sysdeps/x86_64/_mcount.S: Likewise.
22398 * sysdeps/x86_64/strtok.S: Likewise.
22399 * sysdeps/sh/_mcount.S: Likewise.
22400
2747bf9a
RM
224012012-08-01 Roland McGrath <roland@hack.frob.com>
22402
22403 * libio/iofopen.c: Include <fcntl.h>.
22404 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
22405 (_IO_fopen64, fopen64): Define as aliases.
22406 * libio/iofopen64.c: Include <fcntl.h>.
22407 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
22408 Conditionalize body on this.
22409 * sysdeps/wordsize-64/iofopen.c: File removed.
22410 * sysdeps/wordsize-64/iofopen64.c: File removed.
22411
3fb791b8
MP
224122012-08-01 Marek Polacek <polacek@redhat.com>
22413
22414 * libc/Makeconfig: Use elf in place of binfmt-subdir.
22415 Use dlfcn directly instead of a variable.
22416 (binfmt-subdir): Do not define.
22417 (dlfcn): Likewise.
22418
a9f1039f
JM
224192012-08-01 Joseph Myers <joseph@codesourcery.com>
22420
23bddc06
JM
22421 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
22422 Remove all definitions.
22423 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
22424 <kernel-features.h>.
22425 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22426 (miss_F_GETOWN_EX): Remove all definitions.
22427 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
22428 macro definition.
22429 [!__ASSUME_FCNTL64]: Remove conditional code.
22430 [__ASSUME_FCNTL64]: Make code unconditional.
22431 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
22432 <kernel-features.h>.
22433 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22434 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
22435 (lockf64) [__NR_fcntl64]: Make code unconditional.
22436 (lockf64) [__ASSUME_FCNTL64]: Likewise.
22437
a9f1039f
JM
22438 * sysdeps/unix/sysv/linux/kernel-features.h
22439 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
22440 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
22441 Make code unconditional.
22442 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22443 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
22445 [__NR_vfork]: Make code unconditional.
22446 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22447 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
22449 [__NR_vfork]: Make code unconditional.
22450 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22451 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22452
09c0ee5f
RM
224532012-08-01 Roland McGrath <roland@hack.frob.com>
22454
48aec5b9
RM
22455 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
22456 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
22457
cd97c966
RM
22458 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22459 Define mkstemp64 as an alias.
3f55550c
RM
22460 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22461 Define mkstemps64 as an alias.
cd97c966
RM
22462 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22463 Define mkostemp64 as an alias.
b8625cfc
RM
22464 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22465 Define mkostemps64 as an alias.
cd97c966
RM
22466 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
22467 Conditionalize body on this.
22468 * misc/mkostemp64.c: Likewise.
b8625cfc 22469 * misc/mkostemps64.c: Likewise.
3f55550c 22470 * misc/mkstemps64.c: Likewise.
cd97c966
RM
22471 * sysdeps/wordsize-64/mkstemp64.c: File removed.
22472 * sysdeps/wordsize-64/mkostemp64.c: File removed.
22473 * sysdeps/wordsize-64/mkostemp.c: File removed.
22474 * sysdeps/wordsize-64/mkstemp.c: File removed.
22475 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
22476 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
22477 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
22478 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
22479
09c0ee5f
RM
22480 [BZ #14138]
22481 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
22482 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
22483 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
22484 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
22485
22486 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
22487 compat_symbol macros from <shlib-compat.h> rather than the underlying
22488 default_symbol_version and symbol_version macros, so that DEFAULT
22489 lines in shlib-versions are respected.
22490 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
22491
7e66ee51
FW
224922012-08-01 Florian Weimer <fweimer@redhat.com>
22493
22494 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
22495 Declare with warn_unused_result.
22496 (setgid, setregid, setegid, setresgid): Likewise.
22497 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
22498 Likewise.
22499 * WUR-REPORT: Remove set*id functions.
22500
d2a54255
PT
225012012-07-31 Pino Toscano <toscano.pino@tiscali.it>
22502
22503 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
22504
7ecdb005
RM
225052012-07-31 Roland McGrath <roland@hack.frob.com>
22506
b4180a5e 22507 [BZ #10191]
789bd351
RM
22508 * include/sys/socket.h (__libc_accept, __libc_accept4):
22509 Add attribute_hidden.
22510 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
22511
40ce302d
RM
22512 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
22513 use of PTR_MANGLE.
22514 * inet/getnetgrent_r.c (setup): Likewise.
22515
7ecdb005
RM
22516 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
22517
e2eabb2c
DM
225182012-07-31 David S. Miller <davem@davemloft.net>
22519
22520 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22521
d0419dbf
JM
225222012-07-31 Joseph Myers <joseph@codesourcery.com>
22523
22524 [BZ #13629]
22525 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
22526 value between 1.0 and 2.0 and smaller part has absolute value less
22527 than 1.0.
22528 * math/s_clog10.c (__clog10): Likewise.
22529 * math/s_clog10f.c (__clog10f): Likewise.
22530 * math/s_clog10l.c (__clog10l): Likewise.
22531 * math/s_clogf.c (__clogf): Likewise.
22532 * math/s_clogl.c (__clogl): Likewise.
22533 * math/libm-test.inc (clog_test): Add more tests.
22534 (clog10_test): Likewise.
22535 * sysdeps/i386/fpu/libm-test-ulps: Update.
22536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22537
2bc13872
FW
225382012-07-31 Florian Weimer <fweimer@redhat.com>
22539
22540 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
22541 Exit with zero in case no suitable GID is found, and write a
22542 message to standard error.
22543
bea9b193
RM
225442012-07-30 Roland McGrath <roland@hack.frob.com>
22545
22546 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
22547 rather than to 1.
22548 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
22549 (MAXPATHLEN): Removed.
22550 (NOGROUP, NODEV): New macros.
22551 (setbit, clrbit, isset, isclr): New macros.
22552 (howmany, roundup, powerof2): New macros.
22553 (DEV_BSIZE): New macro.
22554
22555 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
22556 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
22557
22558 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
22559 definition on [!__NO_LONG_DOUBLE_MATH].
22560
22561 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
22562 PTR_MANGLE and PTR_DEMANGLE.
22563
22564 * socket/accept4.c (accept4): Rename to __libc_accept4.
22565 Define accept4 as a weak alias.
22566
22567 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
22568 on [_DIRENT_HAVE_D_TYPE].
22569 * io/ftw.c (ftw_dir): Likewise.
22570
22571 * io/xmknod.c (__xmknod): Don't check PATH for being null.
22572
22573 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
22574
22575 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
22576 Use the BSD numbers rather than the arbitrary ones we had.
22577 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
22578 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
22579 (SIGXCPU, SIGXFSZ): New macros.
22580 (_NSIG): Now 32.
22581
22582 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
22583 initializer on [_LIBC_REENTRANT].
22584
22585 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
22586 definitions inside [_POSIX_MAPPED_FILES].
22587
22588 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
22589
22590 * dirent/opendir.c: Include <fcntl.h>.
22591
22592 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
22593 (__libc_getspecific): Likewise.
22594 (__libc_key_create): Likewise.
22595
22596 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
22597 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
22598 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
22599 (tmpfile64): Define as alias.
22600 * sysdeps/wordsize-64/tmpfile.c: File removed.
22601 * sysdeps/wordsize-64/tmpfile64.c: File removed.
22602 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
22603 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
22604
22605 * stdio-common/vfscanf.c: Include <stdbool.h>.
22606 * nss/makedb.c: Likewise.
22607 * stdio-common/_i18n_number.h: Likewise.
22608 * argp/argp-help.c: Likewise.
22609 * posix/wordexp.c: Likewise.
22610 * sysdeps/posix/spawni.c: Likewise.
22611 * nss/nss_files/files-initgroups.c: Likewise.
22612 * stdio-common/reg-modifier.c: Include <stdlib.h>.
22613 * nss/nss_files/files-initgroups.c: Likewise.
22614 * nss/nss_db/db-netgrp.c: Likewise.
22615 * nss/nss_db/db-initgroups.c: Likewise.
22616 * io/fchmodat.c: Include <sys/stat.h>.
22617
22618 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
22619 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
22620
22621 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
22622 [HAVE_MMAP].
22623
22624 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
22625 Add multiple inclusion protection.
22626
e5abc686
DM
226272012-07-27 David S. Miller <davem@davemloft.net>
22628
22629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22630
815e6fa3
GB
226312012-07-27 Gary Benson <gbenson@redhat.com>
22632
22633 [BZ #14298]
22634 * elf/rtld.c: Include <stap-probe.h>.
22635 (dl_main): Added static probes "init_start" and "init_complete".
22636 * elf/dl-load.c: Include <stap-probe.h>.
22637 (lose): Take new parameter "nsid".
22638 Added static probe "map_failed".
22639 (_dl_map_object_from_fd): Pass namespace id to lose.
22640 Added static probe "map_start".
22641 (open_verify): Pass namespace id to lose.
22642 * elf/dl-open.c: Include <stap-probe.h>.
22643 (dl_open_worker) Added static probes "map_complete", "reloc_start"
22644 and "reloc_complete".
22645 * elf/dl-close.c: Include <stap-probe.h>.
22646 (_dl_close_worker): Added static probes "unmap_start" and
22647 "unmap_complete".
22648 * elf/rtld-debugger-interface.txt: New file documenting the above.
22649
9f98c16c
RM
226502012-07-26 Roland McGrath <roland@hack.frob.com>
22651
22652 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
22653 rather than a string variable.
22654 * sunrpc/rpc_main.c (h_output): Likewise.
22655 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
22656
f3c22df3
PT
226572012-07-26 Pino Toscano <toscano.pino@tiscali.it>
22658
22659 * inet/check_native.c: New file.
22660
3129cfc6
JM
226612012-07-26 Joseph Myers <joseph@codesourcery.com>
22662
da865e95
JM
22663 [BZ #13629]
22664 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
22665 if larger part has absolute value 1.0.
22666 * math/s_clog10.c (__clog10): Likewise.
22667 * math/s_clog10f.c (__clog10f): Likewise.
22668 * math/s_clog10l.c (__clog10l): Likewise.
22669 * math/s_clogf.c (__clogf): Likewise.
22670 * math/s_clogl.c (__clogl): Likewise.
22671 * math/libm-test.inc (clog_test): Add more tests.
22672 (clog10_test): Likewise.
22673 * sysdeps/i386/fpu/libm-test-ulps: Update.
22674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22675
3129cfc6
JM
22676 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
22677 (pltexit): Likewise.
22678 (La_regs): Likewise.
22679 (La_retval): Likewise.
22680 (int_retval): Likewise.
22681 Update #error for removed macros to refer only to definitions in
22682 tst-audit.h.
22683 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
22684 macro.
22685 (pltexit): Likewise.
22686 (La_regs): Likewise.
22687 (La_retval): Likewise.
22688 (int_retval): Likewise.
22689 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
22690 macro.
22691 (pltexit): Likewise.
22692 (La_regs): Likewise.
22693 (La_retval): Likewise.
22694 (int_retval): Likewise.
22695 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
22696 macro.
22697 (pltexit): Likewise.
22698 (La_regs): Likewise.
22699 (La_retval): Likewise.
22700 (int_retval): Likewise.
22701 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
22702 macro.
22703 (pltexit): Likewise.
22704 (La_regs): Likewise.
22705 (La_retval): Likewise.
22706 (int_retval): Likewise.
22707 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
22708 macro.
22709 (pltexit): Likewise.
22710 (La_regs): Likewise.
22711 (La_retval): Likewise.
22712 (int_retval): Likewise.
22713 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
22714 macro.
22715 (pltexit): Likewise.
22716 (La_regs): Likewise.
22717 (La_retval): Likewise.
22718 (int_retval): Likewise.
22719 * sysdeps/generic/tst-audit.h: Update comment to refer only to
22720 macro definitions in tst-audit.h.
22721 * sysdeps/i386/tst-audit.h: New file.
22722 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
22723 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
22724 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
22725 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
22726 * sysdeps/sh/tst-audit.h: Likewise.
22727 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
22728 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
22729 * sysdeps/x86_64/tst-audit.h: Likewise.
22730
bfc07087
AJ
227312012-07-26 Andreas Jaeger <aj@suse.de>
22732
b1b2aaf8
AJ
22733 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
22734 ptrace.
22735
22736 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
22737 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
22738 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
22739 PTRACE_O_MASK.
22740 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
22741 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
22742 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
22743
bfc07087
AJ
22744 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
22745 value.
22746
22747 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
22748 _sigsys.
22749 (si_call_addr, si_syscall, si_arch): Define new macro.
22750 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
22751 _sigsys.
22752 (si_call_addr, si_syscall, si_arch): Define new marcro.
22753 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
22754 _sigsys.
22755 (si_call_addr, si_syscall, si_arch): Define new macro.
22756 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
22757 _sigsys.
22758 (si_call_addr, si_syscall, si_arch): Define new macro.
22759
89b4b02f
JM
227602012-07-25 Joseph Myers <joseph@codesourcery.com>
22761
22762 [BZ #13717]
22763 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22764 Change to 2.4.21 where previously 2.4.1.
22765 * sysdeps/unix/sysv/linux/configure: Regenerated.
22766 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
22767 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
22768 Linux kernel version.
22769 (__ASSUME_STD_AUXV): Remove.
22770 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
22771 kernel version.
22772 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
22773 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
22774 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
22775 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
22776 (__ASSUME_NETLINK_SUPPORT): Likewise.
22777 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
22778 (__no_netlink_support): Remove conditional definition.
22779 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
22780 Remove.
22781 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22782 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
22783 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
22784 (if_nameindex_ioctl): Remove.
22785 (if_nameindex_netlink): Do not handle __no_netlink_support.
22786 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22787 code.
22788 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
22789 Remove conditional code.
22790 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22791 code.
22792 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
22793 unconditional.
22794 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22795 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
22796 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
22797 Remove.
22798 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
22799 [!__ASSUME_STD_AUXV]: Remove conditional code.
22800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
22801 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
22802 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
22803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
22804 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
22805 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22806 code.
22807 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22809 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
22810 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22811 conditional code.
22812 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22814 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22815 code.
22816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22817 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22818 conditional code.
22819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
22820 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22821 code unconditional.
22822 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22823 conditional code.
22824 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22825 unconditional.
22826 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22827 conditional code.
22828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22829 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22830 unconditional.
22831 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22832 conditional code.
22833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
22834 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22835 code unconditional.
22836 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22837 conditional code.
22838 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22839 unconditional.
22840 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22841 conditional code.
22842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
22843 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22844 code unconditional.
22845 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22846 conditional code.
22847 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22848 unconditional.
22849 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22850 conditional code.
22851
842a39cd
AS
228522012-07-25 Andreas Schwab <schwab@linux-m68k.org>
22853
22854 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
22855 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
22856 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22857 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
22858 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
22859 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
22860 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22861 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
22862 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
22863 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
22864 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
22865 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
22866 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
22867 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
22868 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
22869 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
22870 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
22871 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
22872 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
22873 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
22874 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
22875 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
22876 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22877
84b3fd84
FW
228782012-07-25 Florian Weimer <fweimer@redhat.com>
22879
22880 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
22881 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
22882 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
22883 Introduce __libc_secure_getenv.
0c7936d5
FW
22884 * stdlib/Versions (2.17): Add secure_getenv
22885 (GLIBC_PRIVATE): Add __libc_secure_getenv.
22886 * stdlib/secure-getenv.c: Rename __secure_getenv to
22887 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
22888 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
22889 * stdlib/tst-secure-getenv.c: New.
22890 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
22891 * manual/startup.texi (Environment Access): Document
22892 secure_getenv.
84b3fd84
FW
22893 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
22894 __libc_secure_getenv.
22895 * inet/ruserpass.c (ruserpass): Likewise.
22896 * malloc/mtrace.c (mtrace): Likewise.
22897 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 22898 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
22899 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
22900 * sysdeps/posix/tempname.c: Likewise. Evaluate
22901 HAVE_SECURE_GETENV.
22902 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 22903 __secure_getenv to __libc_secure_getenv.
84b3fd84 22904 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
22905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22906 Likewise.
22907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22908 Likewise.
22909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22910 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22911 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22912 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22913 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22914 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22915 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 22916
56e49b71
JM
229172012-07-25 Joseph Myers <joseph@codesourcery.com>
22918
22919 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
22920 (struct La_i86_retval): Likewise.
22921 (struct La_x86_64_regs): Likewise.
22922 (struct La_x86_64_retval): Likewise.
22923 (struct La_x32_regs): Likewise.
22924 (struct La_x32_retval): Likewise.
22925 (struct La_ppc32_regs): Likewise.
22926 (struct La_ppc32_retval): Likewise.
22927 (struct La_ppc64_regs): Likewise.
22928 (struct La_ppc64_retval): Likewise.
22929 (struct La_sh_regs): Likewise.
22930 (struct La_sh_retval): Likewise.
22931 (struct La_s390_32_regs): Likewise.
22932 (struct La_s390_32_retval): Likewise.
22933 (struct La_s390_64_regs): Likewise.
22934 (struct La_s390_64_retval): Likewise.
22935 (struct La_sparc32_regs): Likewise.
22936 (struct La_sparc32_retval): Likewise.
22937 (struct La_sparc64_regs): Likewise.
22938 (struct La_sparc64_retval): Likewise.
22939 (struct audit_ifaces): Remove architecture-specific pltenter and
22940 pltexit members.
22941 * sysdeps/i386/ldsodefs.h: New file.
22942 * sysdeps/powerpc/ldsodefs.h: Likewise.
22943 * sysdeps/s390/ldsodefs.h: Likewise.
22944 * sysdeps/sh/ldsodefs.h: Likewise.
22945 * sysdeps/sparc/ldsodefs.h: Likewise.
22946 * sysdeps/x86_64/ldsodefs.h: Likewise.
22947
354691b7
MP
229482012-07-25 Marek Polacek <polacek@redhat.com>
22949
22950 [BZ #6808]
22951 * math/libm-test.inc (yn_test): Add another test.
22952 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
22953 to ERANGE when the result is +-Inf.
22954 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22955 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
22956 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
22957 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
22958
bf9e2071
JM
229592012-07-24 Joseph Myers <joseph@codesourcery.com>
22960
22961 * conform/data/time.h-data (NULL): Use macro-constant. Require
22962 equal to 0.
22963 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
22964 clock_t.
22965 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
22966
57633811
TS
229672012-07-23 Thomas Schwinge <thomas@codesourcery.com>
22968
22969 * configure.in <sysdeps resolving>: Correct printing
22970 Implies_before.
22971 * configure: Regenerate.
22972
c23c33b0
TS
229732012-07-22 Thomas Schwinge <thomas@codesourcery.com>
22974
22975 * math/w_ilogb.c: Include <limits.h>.
22976 * math/w_ilogbl.c: Likewise.
22977
b5982523
JM
229782012-07-20 Joseph Myers <joseph@codesourcery.com>
22979
22980 * manual/lang.texi (__va_copy): Document primarily as ISO C99
22981 va_copy. Document allowing for unavailable va_copy only as
22982 pre-C99 compatibility.
22983 * manual/string.texi (Copying and Concatenation): Use va_copy
22984 instead of __va_copy in concat example.
22985
ac4ea442
PT
229862012-07-20 Pino Toscano <toscano.pino@tiscali.it>
22987
22988 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
22989 (__sendto): Use create_address_port. Initialize APORT and deallocate
22990 it if not null.
22991
f98eafbd
PT
22992 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
22993 with O_NOLINK passed to __file_name_lookup.
22994
898c7aab
PT
22995 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
22996 with O_NOLINK passed to __file_name_lookup.
22997
0ced335a
PT
22998 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
22999 negative N or less than NGIDS.
23000
b3404dbd
PT
23001 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
23002 type to string_t. Set ERANGE as errno and return it if NAME is not big
23003 enough. Use memcpy instead of strncpy.
23004
0f48659e
JM
230052012-07-20 Joseph Myers <joseph@codesourcery.com>
23006
23007 * elf/Makefile (check-data): Remove.
23008 (localplt.data): New vpath directive.
23009 ($(objpfx)check-localplt.out): Use localplt.data from vpath
23010 instead of $(check-data).
23011 * scripts/data/localplt-generic.data: Move to ...
23012 * sysdeps/generic/localplt.data: ... here.
23013 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
23014 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
23015 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
23016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
23017 ... here.
23018 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
23019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
23020 ... here.
23021 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
23022 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
23023 ... here.
23024 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
23025 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
23026 ... here.
23027 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
23028 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
23029 ... here.
23030 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
23031 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
23032 ... here.
23033
d37cbdaa
AZ
230342012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23035
23036 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
23037 PPC32 and PPC64 files.
23038 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
23039 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
23040
46f85fc2
AK
230412012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23042
23043 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
23044 __makecontext_ret to ...
23045 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
23046 ... here and call exit if uc_link is NULL. New file.
23047 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
23048 __makecontext_ret.S.
23049 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
23050 __makecontext_ret to ...
23051 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
23052 ... here and call exit if uc_link is NULL. New file.
23053 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
23054 __makecontext_ret.S.
23055
08f43f9b
AK
230562012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23057
23058 * elf/elf.h (R_390_IRELATIVE): New definition.
23059 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
23060 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
23061 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
23062 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23063 (elf_machine_lazy_rel): Likewise.
23064 * sysdeps/s390/dl-irel.h: New file.
23065 * sysdeps/s390/s390-64/memcpy.S: New asm code.
23066 * sysdeps/s390/s390-64/memset.S: New asm code.
23067 * sysdeps/s390/s390-64/memcmp.S: New asm code.
23068 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
23069 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
23070 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
23071 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
23072 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
23073 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
23074 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
23075 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
23076 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
23077 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
23078 * sysdeps/s390/s390-32/memcpy.S: New asm code.
23079 * sysdeps/s390/s390-32/memset.S: New asm code.
23080 * sysdeps/s390/s390-32/memcmp.S: New asm code.
23081
3b05db33
MP
230822012-07-17 Marek Polacek <polacek@redhat.com>
23083
23084 [BZ #14349]
23085 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
23086 * sysdeps/s390/s390-64/configure.in: Likewise.
23087 * sysdeps/sparc/configure.in: Likewise.
23088 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
23089 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
23090 * sysdeps/i386/configure.in: Likewise.
23091 * sysdeps/x86_64/configure.in: Likewise.
23092 * sysdeps/sh/configure.in: Likewise.
23093 * sysdeps/s390/s390-32/configure: Regenerated.
23094 * sysdeps/s390/s390-64/configure: Likewise.
23095 * sysdeps/x86_64/configure: Likewise.
23096 * sysdeps/sh/configure: Likewise.
23097 * sysdeps/powerpc/powerpc64/configure: Likewise.
23098 * sysdeps/powerpc/powerpc32/configure: Likewise.
23099 * sysdeps/sparc/configure: Likwise.
23100 * sysdeps/i386/configure: Likewise.
23101
a66877c6
MP
23102 * elf/dl-open.c: Comment fixes.
23103
cfc82fd8
JM
231042012-07-17 Joseph Myers <joseph@codesourcery.com>
23105
bd29910a
JM
23106 * Makefile [CXX] (check-data): Remove.
23107 [CXX] (c++-types.data): New vpath directive.
23108 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
23109 vpath. Do not allow for C++ type data being missing.
23110 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
23111 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
23112 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
23113 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
23114 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
23115 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
23116 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
23117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
23118 ... here.
23119 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
23120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
23121 ... here.
23122 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
23123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
23124 ... here.
23125 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
23126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
23127 ... here.
23128 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
23129 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
23130 ... here.
23131 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
23132 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
23133 ... here.
23134 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
23135 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
23136 ... here.
23137 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
23138 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
23139
cfc82fd8
JM
23140 * elf/tls-macros.h (TLS_LE): Move architecture-specific
23141 definitions to architecture-specific files.
23142 (TLS_IE): Likewise.
23143 (TLS_LD): Likewise.
23144 (TLS_GD): Likewise.
23145 * sysdeps/i386/tls-macros.h: New file.
23146 * sysdeps/powerpc/tls-macros.h: Likewise.
23147 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
23148 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
23149 * sysdeps/sh/tls-macros.h: Likewise.
23150 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
23151 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
23152 * sysdeps/x86_64/tls-macros.h: Likewise.
23153
f7db3170
TS
231542012-07-17 Thomas Schwinge <thomas@codesourcery.com>
23155
07cbfc23
TS
23156 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
23157 zero value for regular exit case.
23158
f7db3170
TS
23159 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
23160 (__start_context): Preserve zero value for regular exit case.
23161
dc97c227
TS
231622012-07-17 Thomas Schwinge <thomas@codesourcery.com>
23163 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23164
23165 * manual/setjmp.texi (setcontext): Clarify normal process
23166 termination when uc_link is the null pointer.
23167 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
23168 exit call.
23169
d0cd7d02
AS
231702012-07-16 Andreas Schwab <schwab@linux-m68k.org>
23171
23172 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
23173 preprocessor. Test for each exception mask separately.
23174
dd318934
AJ
231752012-07-16 Andreas Jaeger <aj@suse.de>
23176
23177 * po/ru.po: Update from translation team.
23178
8048311a
JM
231792012-07-15 Joseph Myers <joseph@codesourcery.com>
23180
23181 * conform/data/string.h-data (NULL): Use macro-constant. Require
23182 equal to 0.
23183 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23184 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23185 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
23186 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
23187 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23188
b637d46e
AJ
231892012-07-13 Andreas Jaeger <aj@suse.de>
23190
23191 * po/fr.po: Update from translation team.
23192
541428fe
MP
231932012-07-12 Marek Polacek <polacek@redhat.com>
23194
23195 [BZ #14173]
23196 * math/libm-test.inc (yn_test): Add test for BZ #14173.
23197 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
23198 loop condition.
23199
ec332e94
JM
232002012-07-12 Joseph Myers <joseph@codesourcery.com>
23201
23202 [BZ #13717]
23203 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23204 Change to 2.4.1 where previously 2.4.0.
23205 * sysdeps/unix/sysv/linux/configure: Regenerated.
23206 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
23207 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
23208 version.
23209 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
23210 (__ASSUME_AT_CLKTCK): Remove.
23211 (__ASSUME_AT_PAGESIZE): Likewise.
23212 (__ASSUME_AT_XID): Likewise.
23213 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
23214 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
23215 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
23216 unconditionally.
23217 (HAVE_AUX_PAGESIZE): Likewise.
23218 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
23219 [__ASSUME_AT_CLKTCK]: Make code unconditional.
23220 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
23221
7b6e99be
JB
232222012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
23223
23224 [BZ #14307]
23225 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
23226 the temporary buffer used to invoke __gethostbyname2_r,
23227 __gethostbyaddr_r and gethostbyname4_r to make room for struct
23228 host_data / struct gaih_addrtuple.
23229 * resolv/nss_dns/dns-host.c (global scope): Move definition of
23230 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
23231 header file nss/nsswitch.h.
23232 * nss/nsswitch.h (global scope): Add definition of implementation
23233 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
23234 resolv/nss_dns/dns-host.c).
23235
608404eb
AJ
232362012-07-11 Andreas Jaeger <aj@suse.de>
23237
23238 * po/fr.po: Update from translation team.
23239
71220aca
AJ
23240 * po/sv.po: Update from translation team
23241 * po/fr.po: Another update from translation team.
23242
28cfe843
AZ
232432012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23244
23245 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
23246 for subnormals or multiply small sinh result by itself.
23247 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23249
6b90f981
DM
232502012-07-11 David S. Miller <davem@davemloft.net>
23251
23252 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23253
c6825772
AS
232542012-07-10 Andreas Schwab <schwab@linux-m68k.org>
23255
23256 [BZ #14347]
23257 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
23258 (INTERNAL_MARK): Shift it here.
23259
7b8e0d49
MP
232602012-07-10 Marek Polacek <polacek@redhat.com>
23261
23262 [BZ #14151]
23263 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
23264 libc_cv_asm_global_directive with .globl.
23265 * configure: Regenerated.
23266 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
23267 with .globl.
23268 * sysdeps/i386/configure: Regenerated.
23269 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
23270 with .globl.
23271 * sysdeps/x86_64/configure: Regenerated.
23272 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
23273 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
23274 * elf/tst-unique2mod2.c: Likewise.
23275 * elf/tst-unique2mod1.c: Likewise.
23276 * elf/tst-unique1mod2.c: Likewise.
23277 * elf/tst-unique1mod1.c: Likewise.
23278 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23279 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
23280 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23281 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23282 * sysdeps/mach/sysdep.h: Likewise.
23283 * sysdeps/i386/sysdep.h: Likewise.
23284 * sysdeps/i386/i386-mcount.S: Likewise.
23285 * sysdeps/x86_64/_mcount.S: Likewise.
23286 * sysdeps/x86_64/sysdep.h: Likewise.
23287 * sysdeps/sh/_mcount.S: Likewise.
23288 * sysdeps/sh/sysdep.h: Likewise.
23289 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
23290 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
23291 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
23292 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23293 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
23294 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
23295 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
23296 * locale/localeinfo.h: Likewise.
23297 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
23298 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
23299
6c55cda3
RM
233002012-07-09 Roland McGrath <roland@hack.frob.com>
23301
23302 [BZ #14336]
23303 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
23304 system".
23305 * manual/message.texi (The Uniforum approach): Likewise.
23306 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
23307 (glibc iconv Implementation): Likewise.
23308
638a572e
JM
233092012-07-09 Joseph Myers <joseph@codesourcery.com>
23310
23311 [BZ #14337]
23312 * math/s_clog.c (__clog): Avoid scaling a value down where that
23313 could result in underflow.
23314 * math/s_clog10.c (__clog10): Likewise.
23315 * math/s_clog10f.c (__clog10f): Likewise.
23316 * math/s_clog10l.c (__clog10l): Likewise.
23317 * math/s_clogf.c (__clogf): Likewise.
23318 * math/s_clogl.c (__clogl): Likewise.
23319 * math/libm-test.inc (clog_test): Add more tests.
23320 (clog10_test): Likewise.
23321 * sysdeps/i386/fpu/libm-test-ulps: Update.
23322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23323
261f4859
AS
233242012-07-06 Andreas Schwab <schwab@linux-m68k.org>
23325
0abaf3e4
AS
23326 [BZ #14283]
23327 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
23328 by 7 not 8 to examine high bit of fractional part.
23329
261f4859
AS
23330 [BZ #14042]
23331 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
23332 for call to __mcount_internal.
23333 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
23334 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
23335 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
23336
f17ac40d
JM
233372012-07-06 Joseph Myers <joseph@codesourcery.com>
23338
9ad63c23
JM
23339 [BZ #14154]
23340 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
23341 approximation for values within 0x1p-13f of an odd multiple of
23342 pi/4.
23343 * math/libm-test.inc (tan_test): Do not allow spurious underflow
23344 exception. Add more tests.
23345 * sysdeps/i386/fpu/libm-test-ulps: Update.
23346
f17ac40d
JM
23347 [BZ #6778]
23348 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
23349 inputs and return -1 for them. Do not check for +Inf in case not
23350 reachable for +Inf.
23351 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
23352 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
23353 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23354 and return -1 for them. Do not check for +Inf in case not
23355 reachable for +Inf.
23356 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
23357 define.
23358 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23359 and return -1 for them. Do not check for +Inf in case not
23360 reachable for +Inf.
23361 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
23362 spurious underflow.
23363 * sysdeps/i386/fpu/libm-test-ulps: Update.
23364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23365
fb21f89b
MF
233662012-07-06 Mike Frysinger <vapier@gentoo.org>
23367
23368 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
23369
cdfe2c5e
JM
233702012-07-05 Joseph Myers <joseph@codesourcery.com>
23371
23372 [BZ #14157]
23373 [BZ #14331]
23374 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
23375 could result in spurious underflow. Scale down values above
23376 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
23377 * math/s_csqrtf.c (__csqrtf): Likewise.
23378 * math/s_csqrtl.c (__csqrtl): Likewise.
23379 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
23380 spurious underflow.
23381 * sysdeps/i386/fpu/libm-test-ulps: Update.
23382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23383
70d35b67
AS
233842012-07-04 Andreas Schwab <schwab@linux-m68k.org>
23385
704bc459
AS
23386 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
23387 xopen-msg.sed.
23388 * catgets/xopen-msg.awk: New file.
23389 * catgets/xopen-msg.sed: Removed.
23390
70d35b67
AS
23391 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
23392 po2text.sed.
23393 * intl/po2test.awk: New file.
23394 * intl/po2test.sed: Removed.
23395
ca61cf32
JM
233962012-07-04 Joseph Myers <joseph@codesourcery.com>
23397
23398 [BZ #14328]
23399 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
23400 or multiply small sinh result by itself.
23401 * math/s_ctanf.c (__ctanf): Likewise.
23402 * math/s_ctanh.c (__ctanh): Likewise.
23403 * math/s_ctanhf.c (__ctanhf): Likewise.
23404 * math/s_ctanhl.c (__ctanhl): Likewise.
23405 * math/s_ctanl.c (__ctanl): Likewise.
23406 * math/libm-test.inc (ctan_test_tonearest): New function.
23407 (ctan_test_towardzero): Likewise.
23408 (ctan_test_downward): Likewise.
23409 (ctan_test_upward): Likewise.
23410 (ctanh_test_tonearest): Likewise.
23411 (ctanh_test_towardzero): Likewise.
23412 (ctanh_test_downward): Likewise.
23413 (ctanh_test_upward): Likewise.
23414 (main): Call these new functions.
23415 * sysdeps/i386/fpu/libm-test-ulps: Update.
23416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23417
ca48a46a
MF
234182012-07-03 Mike Frysinger <vapier@gentoo.org>
23419
23420 * .gitignore: Delete /ports entry.
23421
9d63d37d
AJ
234222012-07-03 Andreas Jaeger <aj@suse.de>
23423
23424 * po/bg.po: Update from translation team.
23425 * po/cs.po: Likewise.
23426 * po/de.po: Likewise.
23427 * po/hr.po: Likewise.
23428 * po/nl.pl: Likewise.
23429 * po/pl.po: Likewise.
23430 * po/vi.po: Likewise.
23431
370ca3d2
JM
234322012-07-03 Joseph Myers <joseph@codesourcery.com>
23433
95f5a9a8
JM
23434 * Makeconfig [!+link] (+link-before-libc): New variable.
23435 [!+link] (+link-after-libc): Likewise.
23436 [!+link] (+link-tests): Likewise.
23437 [!+link] (+link): Define in terms of $(+link-before-libc) and
23438 $(+link-after-libc).
23439 [!+link-static] (+link-static-before-libc): New variable.
23440 [!+link-static] (+link-static-after-libc): Likewise.
23441 [!+link-static] (+link-static-tests): Likewise.
23442 [!+link-static] (+link-static): Define in terms of
23443 $(+link-static-before-libc) and $(+link-static-after-libc).
23444 [build-shared] (link-libc-before-gnulib): New variable.
23445 [build-shared] (link-libc-tests): Likewise.
23446 [build-shared] (link-libc): Define in terms of
23447 $(link-libc-before-gnulib).
23448 [!build-shared] (link-libc-tests): New variable.
23449 (link-libc-static-tests): New variable.
23450 [!gnulib] (gnulib-arch): New variable.
23451 [!gnulib] (gnulib-tests): Likewise.
23452 [!gnulib] (static-gnulib-arch): Likewise.
23453 [!gnulib] (static-gnulib-tests): Likewise.
23454 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
23455 Define with "=" instead of ":=".
23456 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
23457 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
23458 * Rules (binaries-all-notests): New variable.
23459 (binaries-all-tests): Likewise.
23460 (binaries-static-notests): Likewise.
23461 (binaries-static-tests): Likewise.
23462 (binaries-all): Define using $(binaries-all-notests) and
23463 $(binaries-all-tests).
23464 (binaries-static): Define using $(binaries-static-notests) and
23465 $(binaries-static-tests).
23466 (binaries-shared-tests): New variable.
23467 (binaries-shared-notests): Likewise.
23468 (binaries-shared): Remove variable.
23469 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
23470 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
23471 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
23472 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
23473 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
23474 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
23475 * elf/Makefile (sln-modules): New variable.
23476 (extra-objs): Add $(sln-modules:=.o).
23477 (ldconfig-modules): Add static-stubs.
23478 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
23479 * elf/static-stubs.c: New file.
23480
7a845b2c
JM
23481 [BZ #14283]
23482 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
23483 by 7 not 8 to examine high bit of fractional part. Use volatile
23484 variables when splitting into final array of floats if
23485 __FLT_EVAL_METHOD__ != 0.
23486 * math/libm-test.inc (cos_test): Add another test.
23487 (sin_test): Likewise.
23488 * sysdeps/i386/fpu/libm-test-ulps: Update.
23489
e2283f38
JM
23490 [BZ #14273]
23491 * math/libm-test.inc (cosh_test): Add more tests.
23492
370ca3d2
JM
23493 * version.h (RELEASE): Set to "development".
23494 (VERSION): Set to "2.16.90".
23495
ee9247c3
CD
234962012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
23497
23498 * NEWS: Update copyright. Remove last-updated date.
23499 Mention math library bug fixes and timezone data changes.
23500 * README: Mention GNU/Hurd, x32, and HPPA support status.
23501
4648c381
TS
235022012-06-28 Thomas Schwinge <thomas@codesourcery.com>
23503
23504 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
23505
aac78a43
AJ
235062012-06-27 Andreas Jaeger <aj@suse.de>
23507
23508 * manual/contrib.texi (Contributors): Add Samuel Thibault.
23509
ed3dbfad
AJ
235102012-06-25 Andreas Jaeger <aj@suse.de>
23511
23512 * sysdeps/s390/fpu/libm-test-ulps: Update.
23513
4d0ee855
AS
235142012-06-23 Andreas Schwab <schwab@linux-m68k.org>
23515 Thomas Schwinge <thomas@codesourcery.com>
23516
23517 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
23518 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
23519 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
23520 fanotify_mark.
23521
af1bce34
TS
235222012-06-23 Thomas Schwinge <thomas@codesourcery.com>
23523
a9fa33ba
TS
23524 * sysdeps/mach/start.c: Remove file.
23525 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
23526 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
23527 * sysdeps/sh/init-first.c: Likewise.
23528
58f902b8
TS
23529 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
23530 registers for frame unwinding purposes, add CFI directives.
23531 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23532 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
23533 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
23534 Likewise.
23535
1518f58b
TS
23536 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
23537 __fortify_fail returning.
23538 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23539
db9b5059
TS
23540 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
23541 sysdeps/sh/____longjmp_chk.S.
23542 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
23543 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
23544 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
23545 (gen-as-const-headers): Append sigaltstack-offsets.sym.
23546
967705fe
TS
23547 * sysdeps/sh/abort-instr.h: New file.
23548 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
23549 process in case exit returns.
23550
a9def8c4
TS
23551 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
23552 initialize the GOT register before use.
23553
2a649725
TS
23554 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
23555 calculation of ARGC > 4.
23556
af1bce34
TS
23557 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
23558 meaningful names to some local labels.
23559
d230f50a
KK
235602012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23561 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23562
23563 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
23564 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
23565 (__arch_compare_and_exchange_val_16_acq): Likewise.
23566 (__arch_compare_and_exchange_val_32_acq): Likewise.
23567 (atomic_exchange_and_add): Fix gUSA sequence.
23568 (atomic_add): Likewise.
23569 (atomic_add_negative): Likewise.
23570 (atomic_add_zero): Likewise.
23571 (atomic_bit_test_set): Likewise.
23572
0479b305
AS
235732012-06-22 Andreas Schwab <schwab@redhat.com>
23574
23575 [BZ #13579]
23576 * include/link.h (struct link_map): Add l_free_initfini.
23577 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
23578 l_initfini.
23579 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
23580 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
23581 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
23582 set.
23583
0e3933b9
CD
235842012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
23585
23586 * configure.in: Use AC_LANG_SOURCE.
23587 * configure: Regenerate.
23588
4248b1b1
RM
235892012-06-22 Roland McGrath <roland@hack.frob.com>
23590
23591 * configure.in (libc_cv_localstatedir): New substituted variable.
23592 * configure: Regenerated.
23593 * config.make.in (localstatedir): New variable, substituted from
23594 libc_cv_localstatedir.
23595 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
23596 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
23597 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
23598 * sysdeps/gnu/configure: Regenerated.
23599
006dd861
JL
236002012-06-21 Jeff Law <law@redhat.com>
23601
23602 [BZ #14277]
23603 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
23604 free. Simplify list management for _LIBC case.
23605
79662d42
JM
236062012-06-21 Joseph Myers <joseph@codesourcery.com>
23607
b7abb4bf
JM
23608 [BZ #14273]
23609 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
23610 Clear sign bit of 64-bit integer value before comparing against
23611 overflow value.
23612
79662d42
JM
23613 * sysdeps/mach/configure: Regenerated.
23614
1f150908
L
236152012-06-21 H.J. Lu <hongjiu.lu@intel.com>
23616
23617 [BZ #14278]
23618 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
23619
28363bbf
JL
236202012-06-21 Jeff Law <law@redhat.com>
23621
23622 [BZ #13882]
23623 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
23624 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 23625 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
23626 * elf/dl-open.c (dl_open_worker): Likewise.
23627
09615db4
CD
236282012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
23629
23630 * scripts/list-sources.sh: Scan PORTS for translations.
23631 * po/libc.pot: Regenerated.
23632
2174c6dd
AJ
236332012-06-21 Andreas Jaeger <aj@suse.de>
23634
23635 [BZ #12194]
23636 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
23637 warning.
23638 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
23639 * bits/byteswap-16.h (__bswap_16): Likewise.
23640 * bits/byteswap.h (__bswap_constant_16): Likewise.
23641
3ee947b1
L
236422012-06-18 H.J. Lu <hongjiu.lu@intel.com>
23643
23644 [BZ #14117]
a2f34833
L
23645 * sysdeps/i386/fpu_control.h: Removed.
23646 * sysdeps/x86_64/fpu_control.h: Moved to ...
23647 * sysdeps/x86/fpu_control.h: Here.
23648
3ee947b1
L
23649 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
23650 (_FPU_SETCW): Likewise.
23651
ed1825f8
L
236522012-06-15 H.J. Lu <hongjiu.lu@intel.com>
23653
25f1282a
L
23654 [BZ #14117]
23655 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
23656 * sysdeps/x86/fpu/bits/mathinline.h: This.
23657 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
23658
ed1825f8
L
23659 [BZ #14050]
23660 [BZ #14117]
23661 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
23662 functions if __x86_64__ is defined.
23663
36d54b74
CLT
236642012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
23665
23666 * string/endian.h: Add !__ASSEMBLER__ condition for including
23667 conversion interfaces.
23668
10285c21
JM
236692012-06-15 Joseph Myers <joseph@codesourcery.com>
23670
23671 [BZ #14241]
23672 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
23673 of ABS(x) in calculating zero to negative powers other than odd
23674 integers.
23675 * math/libm-test.inc (pow_test): Add more tests.
23676
06c5abbd
AJ
236772012-06-15 Andreas Jaeger <aj@suse.de>
23678
23679 * manual/contrib.texi (Contributors): Update entry of Liubov
23680 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
23681 Machado Filho.
23682
a3aeac40
CH
236832012-06-15 Cyril Hrubis <metan@ucw.cz>
23684
23685 * string/string.h: Add __wur to GNU version of strerror_r.
23686
49bdf4c1
L
236872012-06-14 H.J. Lu <hongjiu.lu@intel.com>
23688
23689 [BZ #14229]
23690 * string/Makefile (tests): Add tst-strtok_r.
23691 * string/tst-strtok_r.c: New file.
23692 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
23693 RAX_LP/RDX_LP on SAVE_PTR.
23694
834f9b8d
RM
236952012-06-14 Roland McGrath <roland@hack.frob.com>
23696
23697 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
23698
75fa1921
JM
236992012-06-14 Joseph Myers <joseph@codesourcery.com>
23700
23701 * libm_test.inc (csqrt_test): Allow more spurious underflow
23702 exceptions.
23703 (j0_test): Likewise.
23704 (j1_test): Likewise.
23705 (y0_test): Likewise.
23706 (y1_test): Likewise.
23707
771766df
CD
237082012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
23709
23710 * po/Makefile (libc.pot): Use UTF-8 charset.
23711
ceb9e56b
PP
237122012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
23713
23714 [BZ #14210]
23715 Suppress sign-conversion warning from FD_SET.
23716 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
23717 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
23718 not unsigned long int.
23719 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
23720
ddb28975
L
237212012-06-12 H.J. Lu <hongjiu.lu@intel.com>
23722
23723 [BZ #14050]
23724 [BZ #14117]
23725 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
23726 __extern_always_inline instead of __extern_inline.
23727 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
23728 (__signbit): Likewise.
23729 (__signbitl): Support C++ namespace.
23730 (lrintf): New inline function.
23731 (lrint): Likewise.
23732 (llrintf): Likewise.
23733 (llrint): Likewise.
23734 (fmaxf): Likewise.
23735 (fmax): Likewise.
23736 (fminf): Likewise.
23737 (fmin): Likewise.
23738 (rint): Likewise.
23739 (rintf): Likewise.
23740 (ceil): Likewise.
23741 (ceilf): Likewise.
23742 (floor): Likewise.
23743 (floorf): Likewise.
23744 (nearbyint): Likewise.
23745 (nearbyintf): Likewise.
23746
d7b4fb26
TS
237472012-06-12 Thomas Schwinge <thomas@codesourcery.com>
23748
23749 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
23750 non-default versions.
23751
eb55f5c2
RM
237522012-06-11 Roland McGrath <roland@hack.frob.com>
23753
23754 [BZ #14218]
23755 * manual/argp.texi (Argp): Reword argp_parse description slightly.
23756
366af02c
TS
237572012-06-09 Thomas Schwinge <thomas@codesourcery.com>
23758
99ff6e5c
TS
23759 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
23760 (FE_UPWARD, FE_DOWNWARD): Don't define.
23761 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
23762 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23763
366af02c
TS
23764 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
23765 reading it.
23766 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23767 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23768
793ea851
KK
237692012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23770
23771 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23772 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
23773 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
23774 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
23775
a728a38f
L
237762012-06-06 H.J. Lu <hongjiu.lu@intel.com>
23777
23778 [BZ #14117]
c08010c7
L
23779 * sysdeps/i386/fpu/bits/fenv.h: Removed.
23780 * sysdeps/i386/fpu/Implies: New file.
23781 * sysdeps/x86_64/fpu/Implies: Likewise.
23782 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
23783 * sysdeps/x86/fpu/bits/fenv.h: This.
23784
a728a38f
L
23785 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
23786 __SSE_MATH__.
23787
6e230d11
SP
237882012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23789
23790 [BZ #14134]
23791 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
23792 character 0xffff that matches the last element of the
23793 conversion table.
23794
1b671feb
AZ
237952012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23796
23797 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
23798 fmodl commit.
23799
6043738b
AZ
238002012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23801
23802 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
23803 values higher than 25.6283.
23804
34ae0b32
AZ
238052012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23806
23807 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
23808 subnormal exponent extraction and add some __builtin_expect.
23809 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
23810 Fix for subnormal mantissa calculation.
23811
1214ec8f
MF
238122012-06-04 Mike Frysinger <vapier@gentoo.org>
23813
23814 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
23815 cpu2 is -1 and errno is not ENOSYS.
23816
f3d1f93c
L
238172012-06-04 H.J. Lu <hongjiu.lu@intel.com>
23818
23819 [BZ #14117]
0e4a3cd7
L
23820 * sysdeps/i386/i486/bits/string.h: Renamed to ...
23821 * sysdeps/x86/bits/string.h: This.
23822 * sysdeps/x86_64/bits/string.h: Removed.
23823
6704c645
L
23824 * sysdeps/i386/i486/bits/string.h: Define inline functions only
23825 if not compiling for x86-64, but compiling for >= i486.
23826
48495318
L
23827 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
23828 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
23829
14adcbfc
L
23830 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
23831 New macro from Linux kernel 3.4.0.
23832 (FP_XSTATE_MAGIC2): Likewise.
23833 (FP_XSTATE_MAGIC2_SIZE): Likewise.
23834 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
23835 (struct _fpx_sw_bytes): New struct.
23836 (struct _xsave_hdr): Likewise.
23837 (struct _ymmh_state): Likewise.
23838 (struct _xstate): Likewise.
23839
68e408ab
L
23840 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
23841 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
23842 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
23843 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
23844 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
23845 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
23846
f3d1f93c
L
23847 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
23848 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
23849 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
23850 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
23851 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
23852 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
23853
d9dc34cd
TMQMF
238542012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23855
23856 [BZ #13743]
23857 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
23858 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
23859 (sysdep_headers): Include sys/platform/ppc.h.
23860 * sysdeps/powerpc/test-gettimebase.c: Test for
23861 __ppc_get_timebase() to catch future ISA opcode/insn changes.
23862 * manual/Makefile (appendices): Include platform.texi.
23863 * manual/contrib.texi (Contributors): Update @node pointers.
23864 * manual/maint.texi (Maintenance): Likewise.
23865 (Platform): New node.
23866 * manual/platform.texi: New file. Document the new features.
23867
4af3879c
SP
238682012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23869 Jakub Jelinek <jakub@redhat.com>
23870
23871 [BZ #14188]
23872 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
23873 where __builtin_expect is unavailable.
23874
2fd6ff13
DM
238752012-06-03 David S. Miller <davem@davemloft.net>
23876
23877 * stdlib/longlong.h: Updated from GCC.
23878
173f7220
AS
238792012-06-02 Andreas Schwab <schwab@linux-m68k.org>
23880
23881 [BZ #14042]
23882 * sysdeps/powerpc/powerpc32/mcount.c: New file.
23883 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
23884 __mcount_internal.
23885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23886 (GLIBC_2.16): Likewise.
23887
f34a1c6f
L
238882012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23889
23890 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
23891
88a4576f
JM
238922012-06-01 Joseph Myers <joseph@codesourcery.com>
23893
ea32bcdd
JM
23894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
23895 (default-abi): New variable.
23896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
23897 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
23898 variable.
23899 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
23900 Likewise.
23901 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
23902 Likewise.
23903 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
23904 Likewise.
23905
88a4576f
JM
23906 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
23907 definition. Document in comment.
23908
402fe938
DM
239092012-06-01 David S. Miller <davem@davemloft.net>
23910
23911 * stdlib/longlong.h: Updated from GCC.
23912
3553723f
L
239132012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23914
23915 [BZ #14117]
3bd872c4
L
23916 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
23917 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
23918 sys/debugreg.h sys/io.h here.
23919 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
23920 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
23921 sys/io.h.
23922 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
23923 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
23924 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
23925 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
23926 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
23927 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
23928
3553723f
L
23929 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
23930 Define only if __x86_64__ is defined.
23931
4842e4fe
JM
239322012-06-01 Joseph Myers <joseph@codesourcery.com>
23933
c5bfe3d5
JM
23934 [BZ #14048]
23935 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
23936 Use int64_t for variable i.
23937 * math/libm-test.inc (fmod_test): Add more tests.
23938
4842e4fe
JM
23939 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
23940 z computation is not scheduled after fetestexcept.
23941 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
23942 Use math_force_eval instead of asm to ensure calculation scheduled
23943 before exception test.
23944 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
23945 Ensure a1 + u.d computation is not scheduled after fetestexcept.
23946
efb73488
AJ
239472012-06-01 Aurelien Jarno <aurelien@aurel32.net>
23948
23949 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
23950 computation is not scheduled after fetestexcept.
23951
29bcce7c
L
239522012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23953
23954 [BZ #14117]
23955 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
23956 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
23957
73a68f94
AZ
239582012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23959
23960 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
23961 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23962
67b6df78
L
239632012-05-31 H.J. Lu <hongjiu.lu@intel.com>
23964
edf2933a 23965 [BZ #14117]
ebc64a18
L
23966 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
23967 <bits/wordsize.h>.
23968 (__WCHAR_MIN): Support __WORDSIZE == 64.
23969 (__WCHAR_MAX): Likewise.
23970
edf2933a
L
23971 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
23972 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
23973
57c6cf40
L
23974 [BZ #14183]
23975 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
23976 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
23977
67b6df78 23978 [BZ #14117]
8eb6281e
L
23979 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
23980 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
23981
aac639f4
L
23982 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
23983 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
23984
67b6df78
L
23985 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
23986 Defined to 1 if __x86_64__ isn't defined.
23987 (_STAT_VER_LINUX_OLD): New.
23988 (st_atime): Remove duplicate.
23989 (st_mtime): Likewise.
23990 (st_ctime): Likewise.
23991
1c2cfe81
DM
239922012-05-31 David S. Miller <davem@davemloft.net>
23993
23994 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
23995 entries.
23996
5be8418c
AS
239972012-06-01 Andreas Schwab <schwab@linux-m68k.org>
23998
e7725326
AS
23999 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
24000 gen-libm-test.pl.
24001
5be8418c
AS
24002 [BZ #14132]
24003 * elf/dl-reloc.c: Include <_itoa.h>.
24004 (_dl_reloc_bad_type): Remove use of INTUSE.
24005 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
24006 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
24007 * stdio-common/psiginfo.c (psiginfo): Likewise.
24008 * stdio-common/psignal.c (psignal): Likewise.
24009 * string/strsignal.c (strsignal): Likewise.
24010 * include/signal.h (_sys_siglist): Declare hidden proto.
24011 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
24012 INTVARDEF with libc_hidden_data_def.
24013 * stdio-common/itoa-udigits.c: Likewise.
24014 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
24015 (_itoa_lower_digits_internal): Remove declaration.
24016 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
24017 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
24018 (_sys_sigabbrev_internal): Remove aliases.
24019 (_sys_siglist): Define hidden alias.
24020
507352f1
MT
240212012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
24022
24023 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24024 bits/sysctl.h.
24025
42bbb1c3
L
240262012-05-31 H.J. Lu <hongjiu.lu@intel.com>
24027
24028 [BZ #14117]
6bd784b6
L
24029 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
24030 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
24031
8bca20f0
L
24032 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
24033 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
24034 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
24035 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
24036 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
24037 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
24038
f9e890a9
L
24039 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
24040 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
24041 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
24042
471101a1
L
24043 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
24044 with __addr.
24045 (insw): Likewise.
24046 (insl): Likewise.
24047 (outsb): Likewise.
24048 (outsw): Likewise.
24049 (outsl): Likewise.
24050
6451c862
L
24051 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
24052 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
24053 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
24054
a254b8c9
L
24055 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
24056 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
24057 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
24058 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
24059 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
24060 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
24061
b8dfdd92
L
24062 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
24063 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
24064
578cd270
L
24065 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
24066 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
24067
de662f5f
L
24068 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
24069 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
24070 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
24071
25653439
L
24072 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
24073 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
24074 to ...
24075 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
24076
6bad24a0
L
24077 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
24078 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
24079 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
24080
42bbb1c3
L
24081 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
24082 for x86-64.
24083 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
24084
2d10d547
JM
240852012-05-31 Joseph Myers <joseph@codesourcery.com>
24086
24087 * math/math.h (M_El): Use two more decimal places.
24088 (M_LOG2El): Likewise.
24089 (M_LOG10El): Likewise.
24090 (M_LN2l): Likewise.
24091 (M_LN10l): Likewise.
24092 (M_PIl): Likewise.
24093 (M_PI_2l): Likewise.
24094 (M_PI_4l): Likewise.
24095 (M_1_PIl): Likewise.
24096 (M_2_PIl): Likewise.
24097 (M_2_SQRTPIl): Likewise.
24098 (M_SQRT2l): Likewise.
24099 (M_SQRT1_2l): Likewise.
24100
f230c29b
DM
241012012-05-31 David S. Miller <davem@davemloft.net>
24102
24103 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
24104 values between float registers.
24105 * sysdeps/sparc/sparc64/memset.S: Likewise.
24106 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24107
fed806c3
MF
241082012-05-31 Mike Frysinger <vapier@gentoo.org>
24109
24110 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
24111 -D_FORTIFY_SOURCE=1.
24112 (CPPFLAGS-tst-longjmp_chk.c): Define.
24113 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
24114 (CPPFLAGS-tst-longjmp_chk2.c): Define.
24115 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
24116 CFLAGS-tst-wchar-h.c.
24117
30917259
MP
241182012-05-31 Marek Polacek <polacek@redhat.com>
24119
24120 [BZ #14132]
24121 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
24122 __endmntent_internal): Remove declaration.
24123 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
24124 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
24125 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
24126
1c58d5dc
DM
241272012-05-30 David S. Miller <davem@davemloft.net>
24128
24129 * sysdeps/sparc/sparc32/soft-fp/q_util.c
24130 (___Q_simulate_exceptions): Use real FP ops rather than writing
24131 into the %fsr.
24132 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
24133 Likewise.
24134
7dc00e0d
L
241352012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24136
24137 [BZ #14117]
0bd53985
L
24138 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
24139 * sysdeps/x86/bits/xtitypes.h: This.
24140
3a257e66
L
24141 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
24142 * sysdeps/x86/bits/wordsize.h: This.
24143
62f62904
L
24144 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
24145 * sysdeps/x86/bits/huge_vall.h: This.
24146
404fe9d9
L
24147 * sysdeps/i386/bits/select.h: Removed.
24148 * sysdeps/x86_64/bits/select.h: Renamed to ...
24149 * sysdeps/x86/bits/select.h: This.
24150
d48d0446
L
24151 * sysdeps/i386/bits/setjmp.h: Removed.
24152 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
24153 * sysdeps/x86/bits/setjmp.h: This.
24154
7dc00e0d
L
24155 * sysdeps/i386/bits/mathdef.h: Removed.
24156 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
24157 * sysdeps/x86/bits/mathdef.h: This.
24158
03277f8f
AS
241592012-05-30 Andreas Schwab <schwab@linux-m68k.org>
24160
24161 [BZ #14132]
24162 * include/sys/socket.h (__connect_internal)
24163 (__libc_sa_len_internal): Remove declaration.
24164 (__connect, __libc_sa_len): Declare hidden_proto.
24165 (SA_LEN): Remove use of INTUSE.
24166 * socket/connect.c: Add libc_hidden_def.
24167 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
24168 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
24169 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
24170 alias.
24171 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
24172 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
24173 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
24174 of adding _internal alias.
24175
13764867
L
241762012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24177
24178 [BZ #14117]
6bd97696
L
24179 * sysdeps/i386/bits/link.h: Removed.
24180 * sysdeps/i386/bits/linkmap.h: Likewise.
24181 * sysdeps/x86_64/bits/link.h: Renamed to ...
24182 * sysdeps/x86/bits/link.h: This.
24183 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
24184 * sysdeps/x86/bits/linkmap.h: This.
24185
f726f0bb
L
24186 * sysdeps/i386/bits/endian.h: Removed.
24187 * sysdeps/x86_64/bits/endian.h: Renamed to ...
24188 * sysdeps/x86/bits/endian.h: This.
24189
13764867
L
24190 * sysdeps/i386/bits/byteswap.h: Removed.
24191 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24192 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
24193 * sysdeps/x86/bits/byteswap.h: This.
24194 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
24195 * sysdeps/x86/bits/byteswap-16.h: This.
24196 * sysdeps/i386/Implies: Add x86.
24197 * sysdeps/x86_64/Implies: Likewise.
24198
ae251b0b
DM
241992012-05-30 David S. Miller <davem@davemloft.net>
24200
24201 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
24202 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
24203 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24204 (FP_TRAPPING_EXCEPTIONS): Define.
24205 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24206 (FP_TRAPPING_EXCEPTIONS): Define.
24207 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
24208 subnormals only when inexact has been signalled or underflow
24209 exceptions are enabled.
24210 (_FP_PACK_CANONICAL): Likewise.
24211
d5c90867
L
242122012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24213
24214 [BZ #14183]
24215 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
24216 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
24217
63f1549e
RH
242182012-05-30 Richard Henderson <rth@twiddle.net>
24219
8d8f2279
RH
24220 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
24221 with #ifndef NOT_IN_libc.
24222
63f1549e
RH
24223 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
24224 marked to avoid plt entry.
24225
0ab0291b
L
242262012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24227
24228 [BZ #14112]
24229 * Makeconfig (default-abi): New macro.
24230 (abi-includes): Likewise.
24231 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
24232 $(abi-$(default-abi)-lib-soname) for soname if defined.
24233 ($(common-objpfx)gnu/lib-names.stmp): Generate from
24234 abi-variants.
24235 * Makefile (installed-stubs): Likewise.
24236 * include/stubs-biarch.h: Removed.
24237 * scripts/lib-names.awk: Only handle one library at a time.
24238 * scripts/soversions.awk: Remove WORDSIZE support.
24239 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
24240 entries.
24241 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
24242 Removed.
24243 (syscall-list-default-condition): Likewise.
24244 (syscall-list-default-condition): Likewise.
24245 (syscall-list-includes): Likewise.
24246 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
24247 syscall-list-* with abi-*. Handle undefined abi-variants.
24248 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
24249 * sysdeps/unix/sysv/linux/i386/Implies: New file.
24250 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
24251 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
24252 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
24253 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
24254 Removed.
24255 (syscall-list-32-options): Likewise.
24256 (syscall-list-32-condition): Likewise.
24257 (syscall-list-64-options): Likewise.
24258 (syscall-list-64-condition): Likewise.
24259 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
24260 macro.
24261 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
24262 Renamed to ...
24263 (abi-*): This.
24264 (abi-64-ld-soname): New macro.
24265 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
24266 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
24267 Renamed to ...
24268 (abi-*): This.
24269 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
24270 * sysdeps/x86_64/x32/shlib-versions: Likewise.
24271
4da0431d
JM
242722012-05-30 Joseph Myers <joseph@codesourcery.com>
24273
3a85279c
JM
24274 * sysdeps/unix/sysv/linux/kernel-features.h
24275 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
24276 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
24277 include <kernel-features.h>.
24278 [!__NR_ftruncate64]: Remove conditional code.
24279 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24280 [__NR_ftruncate64]: Make code unconditional.
24281 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24282 * sysdeps/unix/sysv/linux/truncate64.c: Do not
24283 include <kernel-features.h>.
24284 [!__NR_ftruncate64]: Remove conditional code.
24285 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24286 [__NR_ftruncate64]: Make code unconditional.
24287 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
24289 include <kernel-features.h>.
24290 [!__NR_ftruncate64]: Remove conditional code.
24291 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24292 [__NR_ftruncate64]: Make code unconditional.
24293 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24295 include <kernel-features.h>.
24296 [!__NR_ftruncate64]: Remove conditional code.
24297 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24298 [__NR_ftruncate64]: Make code unconditional.
24299 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24300
4da0431d
JM
24301 * configure.in (libc_cv_fpie): Weaken to a compile test using
24302 LIBC_TRY_CC_OPTION.
24303 * configure: Regenerated.
24304
11ef492c
AK
243052012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24306
24307 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
24308 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
24309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
24310 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24311 Refreshed.
24312 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
24313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
24314 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
24315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
24316 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
24317 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24318 Refreshed.
24319
d66ef399
DM
243202012-05-27 David S. Miller <davem@davemloft.net>
24321
24322 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
24323 (___Q_zero): New.
24324 (__Q_simulate_exceptions): Return void. Change to simulate
24325 exceptions by writing into the %fsr.
24326 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
24327 (__Qp_handle_exceptions): Likewise.
24328 (numbers): Delete.
24329 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
24330 __Qp_handle_exceptions.
24331 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
24332 __Qp_handle_exceptions.
24333 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24334 as unused and give dummy FP_RND_NEAREST initializer.
24335 (FP_INHIBIT_RESULTS): Define.
24336 (___Q_simulate_exceptions): Update declaration.
24337 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
24338 formatting.
24339 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24340 as unused and give dummy FP_RND_NEAREST initializer.
24341 (__Qp_handle_exceptions): Update declaration.
24342 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
24343 formatting.
24344
04fb54b5
TS
243452012-05-27 Thomas Schwinge <thomas@codesourcery.com>
24346
24347 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
24348 the temporary FPU control word.
24349 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
24350 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
24351 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
24352 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
24353 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24354 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
24355 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24356 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24357 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24358 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
24359 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24360
3f99608f
KK
243612012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24362
24363 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
24364 fields.
24365
65a4de4e
CLT
243662012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
24367
24368 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
24369 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
24370 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
24371 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
24372 Likewise.
24373 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
24374 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
24375 Likewise.
24376
15749d40
UD
243772012-05-27 Ulrich Drepper <drepper@gmail.com>
24378
24379 * po/h.po: Update from translation team.
24380
25dbcb27
AS
243812012-05-26 Andreas Schwab <schwab@linux-m68k.org>
24382
3d3f8e55
AS
24383 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
24384
25dbcb27
AS
24385 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
24386 handling of denormals.
24387 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24388 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24389 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24390 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24391 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24392 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
24393 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
24394 Likewise.
24395
7ad47a80 243962012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
24397
24398 [BZ #14152]
24399 * math/libm-test.inc (fma_test): Don't always expect underflow
24400 exception.
24401
9c6ea9fa
SP
244022012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24403
24404 [BZ #12416]
24405 * elf/tst-execstack.c: Include stackinfo.h.
24406 (do_test): Adjust test case to ensure that pthread_getattr_np
24407 behaviour remains the same after marking stack executable.
24408
a8239222
JM
244092012-05-25 Joseph Myers <joseph@codesourcery.com>
24410
24411 * sysdeps/unix/sysv/linux/kernel-features.h
24412 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
24413 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
24414 kernel-features.h.
24415 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24416 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24417 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
24418 kernel-features.h.
24419 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24420 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24421
918b5606
L
244222012-05-25 H.J. Lu <hongjiu.lu@intel.com>
24423
24424 * configure.in: Define the default includes to being none.
24425 * configure: Regenerated.
24426
3a097cc7
RM
244272012-05-25 Roland McGrath <roland@hack.frob.com>
24428
8422c9a5
RM
24429 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
24430 * sysdeps/x86_64/setjmp.S: Likewise.
24431 * sysdeps/i386/bsd-setjmp.S: Likewise.
24432 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24433 * sysdeps/i386/setjmp.S: Likewise.
24434 * sysdeps/i386/__longjmp.S: Likewise.
24435 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24436 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
24437
3a097cc7
RM
24438 * include/stap-probe.h: New file.
24439 * configure.in: Handle --enable-systemtap.
24440 * configure: Regenerated.
24441 * config.h.in (USE_STAP_PROBE): New #undef.
24442 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
24443 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
24444 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24445
21708942
JM
244462012-05-25 Joseph Myers <joseph@codesourcery.com>
24447
24448 [BZ #13717]
24449 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24450 to 2.4.0 where earlier.
24451 * sysdeps/unix/sysv/linux/configure: Regenerated.
24452 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24453 <kernel-features.h>.
24454 [__ASSUME_32BITUIDS]: Make code unconditional.
24455 [!__ASSUME_32BITUIDS]: Remove conditional code.
24456 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
24457 <kernel-features.h>.
24458 [__ASSUME_32BITUIDS]: Make code unconditional.
24459 [!__ASSUME_32BITUIDS]: Remove conditional code.
24460 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
24461 [__ASSUME_32BITUIDS]: Make code unconditional.
24462 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
24463 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
24464 <kernel-features.h>.
24465 [__ASSUME_32BITUIDS]: Make code unconditional.
24466 [!__ASSUME_32BITUIDS]: Remove conditional code.
24467 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
24468 <kernel-features.h>.
24469 [__ASSUME_32BITUIDS]: Make code unconditional.
24470 [!__ASSUME_32BITUIDS]: Remove conditional code.
24471 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
24472 <kernel-features.h>.
24473 [__ASSUME_32BITUIDS]: Make code unconditional.
24474 [!__ASSUME_32BITUIDS]: Remove conditional code.
24475 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
24476 <kernel-features.h>.
24477 [__ASSUME_32BITUIDS]: Make code unconditional.
24478 [!__ASSUME_32BITUIDS]: Remove conditional code.
24479 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24480 <kernel-features.h>.
24481 [__ASSUME_32BITUIDS]: Make code unconditional.
24482 [!__ASSUME_32BITUIDS]: Remove conditional code.
24483 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24484 <kernel-features.h>.
24485 [__ASSUME_32BITUIDS]: Make code unconditional.
24486 [!__ASSUME_32BITUIDS]: Remove conditional code.
24487 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
24488 <kernel-features.h>.
24489 [__ASSUME_32BITUIDS]: Make code unconditional.
24490 [!__ASSUME_32BITUIDS]: Remove conditional code.
24491 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24492 <kernel-features.h>.
24493 [__ASSUME_32BITUIDS]: Make code unconditional.
24494 [!__ASSUME_32BITUIDS]: Remove conditional code.
24495 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24496 <kernel-features.h>.
24497 [__ASSUME_32BITUIDS]: Make code unconditional.
24498 [!__ASSUME_32BITUIDS]: Remove conditional code.
24499 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
24500 <kernel-features.h>.
24501 [__ASSUME_32BITUIDS]: Make code unconditional.
24502 [!__ASSUME_32BITUIDS]: Remove conditional code.
24503 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
24504 <kernel-features.h>.
24505 [__NR_setresgid] (__setresgid): Do not declare.
24506 [__ASSUME_32BITUIDS]: Make code unconditional.
24507 [!__ASSUME_32BITUIDS]: Remove conditional code.
24508 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
24509 <kernel-features.h>.
24510 [__NR_setresuid] (__setresuid): Do not declare.
24511 [__ASSUME_32BITUIDS]: Make code unconditional.
24512 [!__ASSUME_32BITUIDS]: Remove conditional code.
24513 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
24514 <kernel-features.h>.
24515 [__ASSUME_32BITUIDS]: Make code unconditional.
24516 [!__ASSUME_32BITUIDS]: Remove conditional code.
24517 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
24518 <kernel-features.h>.
24519 [__ASSUME_32BITUIDS]: Make code unconditional.
24520 [!__ASSUME_32BITUIDS]: Remove conditional code.
24521 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
24522 <kernel-features.h>.
24523 [__ASSUME_32BITUIDS]: Make code unconditional.
24524 [!__ASSUME_32BITUIDS]: Remove conditional code.
24525 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
24526 <kernel-features.h>.
24527 [__ASSUME_32BITUIDS]: Make code unconditional.
24528 [!__ASSUME_32BITUIDS]: Remove conditional code.
24529 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
24530 <kernel-features.h>.
24531 [__ASSUME_32BITUIDS]: Make code unconditional.
24532 [!__ASSUME_32BITUIDS]: Remove conditional code.
24533 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
24534 <kernel-features.h>.
24535 [__ASSUME_32BITUIDS]: Make code unconditional.
24536 [!__ASSUME_32BITUIDS]: Remove conditional code.
24537 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
24538 <kernel-features.h>.
24539 [__ASSUME_32BITUIDS]: Make code unconditional.
24540 [!__ASSUME_32BITUIDS]: Remove conditional code.
24541 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
24542 <kernel-features.h>.
24543 [__ASSUME_32BITUIDS]: Make code unconditional.
24544 [!__ASSUME_32BITUIDS]: Remove conditional code.
24545 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
24546 <kernel-features.h>.
24547 [__ASSUME_32BITUIDS]: Make code unconditional.
24548 [!__ASSUME_32BITUIDS]: Remove conditional code.
24549 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24550 <kernel-features.h>.
24551 [__ASSUME_32BITUIDS]: Make code unconditional.
24552 [!__ASSUME_32BITUIDS]: Remove conditional code.
24553 * sysdeps/unix/sysv/linux/kernel-features.h
24554 (__ASSUME_SETRESUID_SYSCALL): Remove.
24555 (__ASSUME_SETRESGID_SYSCALL): Likewise.
24556 (__ASSUME_32BITUIDS): Likewise.
24557 (__ASSUME_LDT_WORKS): Likewise.
24558 (__ASSUME_O_DIRECTORY): Likewise.
24559 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
24560 architecture but not kernel version.
24561 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
24562 (__ASSUME_MMAP2_SYSCALL): Likewise.
24563 (__ASSUME_STAT64_SYSCALL): Likewise.
24564 (__ASSUME_IPC64): Likewise.
24565 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
24566 <kernel-features.h>.
24567 [__ASSUME_32BITUIDS]: Make code unconditional.
24568 [!__ASSUME_32BITUIDS]: Remove conditional code.
24569 * sysdeps/unix/sysv/linux/opendir.c: Do not include
24570 <kernel-features.h>.
24571 [__ASSUME_O_DIRECTORY]: Make code unconditional.
24572 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
24573 132096]: Remove conditional code.
24574 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
24575 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24576 <kernel-features.h>.
24577 [__ASSUME_32BITUIDS]: Make code unconditional.
24578 [!__ASSUME_32BITUIDS]: Remove conditional code.
24579 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24580 <kernel-features.h>.
24581 [__ASSUME_32BITUIDS]: Make code unconditional.
24582 [!__ASSUME_32BITUIDS]: Remove conditional code.
24583 * sysdeps/unix/sysv/linux/setegid.c: Do not include
24584 <kernel-features.h>.
24585 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
24586 unconditional.
24587 (__setresgid): Do not declare.
24588 [__ASSUME_32BITUIDS]: Make code unconditional.
24589 [!__ASSUME_32BITUIDS]: Remove conditional code.
24590 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
24591 <kernel-features.h>.
24592 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
24593 unconditional.
24594 (__setresuid): Do not declare.
24595 [__ASSUME_32BITUIDS]: Make code unconditional.
24596 [!__ASSUME_32BITUIDS]: Remove conditional code.
24597 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24598 <kernel-features.h>.
24599 [__ASSUME_32BITUIDS]: Make code unconditional.
24600 [!__ASSUME_32BITUIDS]: Remove conditional code.
24601 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
24602 <kernel-features.h>.
24603 [__ASSUME_32BITUIDS]: Make code unconditional.
24604 [!__ASSUME_32BITUIDS]: Remove conditional code.
24605
a386f1cc
RH
246062012-05-25 Richard Henderson <rth@twiddle.net>
24607
24608 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
24609 dl_hwcap to ifunc resolver.
24610 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
24611 elf_ifunc_invoke.
24612 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
24613 dl_hwcap to ifunc resolver.
24614 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
24615
b6550497
JM
246162012-05-24 Joseph Myers <joseph@codesourcery.com>
24617
24618 [BZ #14153]
24619 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
24620 for |x| <= 2**-26, not 2**-57.
24621 * math/libm-test.inc (acos_test): Do not allow spurious underflow
24622 exception.
24623
b0bc23a1
JL
246242012-05-24 Jeff Law <law@redhat.com>
24625
24626 * stdio-common/Makefile (tests): Add bug25.
24627 * stdio-common/bug25.c: New test.
24628
347c92e9
L
246292012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24630
24631 [BZ #13576]
24632 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
24633 multiple of MALLOC_ALIGNMENT in size.
24634 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
24635
6bcc8b3f
JM
246362012-05-24 Joseph Myers <joseph@codesourcery.com>
24637
24638 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
24639 Require >= 256.
24640 (FILENAME_MAX): Use macro-int-constant.
24641 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
24642 (_IOFBF): Use macro-int-constant.
24643 (_IOLBF): Likewise.
24644 (_IONBF): Likewise.
24645 (SEEK_CUR): Likewise.
24646 (SEEK_END): Likewise.
24647 (SEEK_SET): Likewise.
24648 (TMP_MAX): Likewise.
24649 (EOF): Use macro-int-constant. Require < 0.
24650 (NULL): Use macro-constant. Require == 0.
24651 (stdin): Require type to be FILE *.
24652 (stdout): Likewise.
24653 (stderr): Likewise.
24654 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
24655 macro-int-constant.
24656 (EXIT_SUCCESS): Likewise.
24657 (NULL): Use macro-constant. Require == 0.
24658 (RAND_MAX): Use macro-int-constant.
24659 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
24660 [C99-based standards] (strtof): Require function.
24661 [C99-based standards] (strtold): Likewise.
24662 [C99-based standards] (strtoll): Likewise.
24663 [C99-based standards] (strtoull): Likewise.
24664 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
24665 [ISO || ISO99 || ISO11] (limits.h): Likewise.
24666 [ISO || ISO99 || ISO11] (math.h): Likewise.
24667 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
24668 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
24669 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24670
d18ea0c5
AS
246712012-05-24 Andreas Schwab <schwab@linux-m68k.org>
24672
24673 [BZ #14132]
56d25bb8
AS
24674 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
24675 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
24676 * intl/dgettext.c (DCGETTEXT): Likewise.
24677 * intl/gettext.c (DCGETTEXT): Likewise.
24678 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
24679 * posix/regex_internal.h (gettext): Likewise.
24680 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
24681 Remove declaration.
24682 * include/argz.h (__argz_count_internal)
24683 (__argz_stringify_internal): Remove declaration.
24684 (__argz_count, __argz_stringify): Declare hidden proto.
24685 * intl/dcgettext.c: Remove use of INTDEF.
24686 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
24687 * string/argz-stringify.c: Likewise.
24688 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24689 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24690 Declare hidden proto.
d18ea0c5
AS
24691 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24692 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24693 Declare hidden proto.
24694 * include/stdio.h (__asprintf_internal): Don't declare.
24695 (__asprintf): Don't define as macro. Declare hidden proto.
24696 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
24697 (__fsetlocking): Declare hidden proto.
24698 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
24699 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
24700 hidden proto.
24701 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
24702 (_IO_setlinebuf): Remove use of INTUSE.
24703 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
24704 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
24705 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
24706 Remove declaration.
24707 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
24708 (_IO_do_flush): Remove use of INTUSE.
24709 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
24710 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
24711 (_IO_adjust_column, _IO_least_wmarker)
24712 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
24713 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
24714 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
24715 (_IO_default_doallocate, _IO_wdefault_doallocate)
24716 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
24717 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
24718 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
24719 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
24720 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
24721 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
24722 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
24723 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
24724 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
24725 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
24726 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
24727 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
24728 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
24729 proto.
24730 (_IO_flush_all_internal, _IO_adjust_column_internal)
24731 (_IO_default_uflow_internal, _IO_default_finish_internal)
24732 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
24733 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
24734 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
24735 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
24736 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
24737 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
24738 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
24739 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
24740 (_IO_file_close_internal, _IO_file_close_it_internal)
24741 (_IO_file_underflow_internal, _IO_file_overflow_internal)
24742 (_IO_file_init_internal, _IO_file_attach_internal)
24743 (_IO_file_fopen_internal, _IO_file_read_internal)
24744 (_IO_file_sync_internal, _IO_file_seek_internal)
24745 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
24746 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
24747 (_IO_str_underflow_internal, _IO_str_overflow_internal)
24748 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
24749 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
24750 (_IO_list_all_internal, _IO_link_in_internal)
24751 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
24752 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
24753 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
24754 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
24755 (_IO_do_write_internal, _IO_padn_internal)
24756 (_IO_getline_info_internal, _IO_getline_internal)
24757 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
24758 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
24759 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
24760 (_IO_vfscanf_internal, _IO_vfprintf_internal)
24761 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
24762 (_IO_init_internal, _IO_un_link_internal): Don't declare.
24763 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
24764 with libc_hidden_ver, remove use of INTUSE.
24765 * libio/genops.c: Likewise.
24766 * libio/freopen.c: Likewise.
24767 * libio/freopen64.c: Likewise.
24768 * libio/iofclose.c: Likewise.
24769 * libio/iofdopen.c: Likewise.
24770 * libio/iofflush.c: Likewise.
24771 * libio/iofflush_u.c: Likewise.
24772 * libio/iofgets.c: Likewise.
24773 * libio/iofgets_u.c: Likewise.
24774 * libio/iofopen.c: Likewise.
24775 * libio/iofopncook.c: Likewise.
24776 * libio/iofread.c: Likewise.
24777 * libio/iofread_u.c: Likewise.
24778 * libio/ioftell.c: Likewise.
24779 * libio/iofwrite.c: Likewise.
24780 * libio/iogetline.c: Likewise.
24781 * libio/iogets.c: Likewise.
24782 * libio/iogetwline.c: Likewise.
24783 * libio/iopadn.c: Likewise.
24784 * libio/iopopen.c: Likewise.
24785 * libio/ioseekoff.c: Likewise.
24786 * libio/ioseekpos.c: Likewise.
24787 * libio/iosetbuffer.c: Likewise.
24788 * libio/iosetvbuf.c: Likewise.
24789 * libio/ioungetc.c: Likewise.
24790 * libio/ioungetwc.c: Likewise.
24791 * libio/iovdprintf.c: Likewise.
24792 * libio/iovsprintf.c: Likewise.
24793 * libio/iovsscanf.c: Likewise.
24794 * libio/memstream.c: Likewise.
24795 * libio/obprintf.c: Likewise.
24796 * libio/oldfileops.c: Likewise.
24797 * libio/oldiofclose.c: Likewise.
24798 * libio/oldiofdopen.c: Likewise.
24799 * libio/oldiofopen.c: Likewise.
24800 * libio/oldiopopen.c: Likewise.
24801 * libio/oldstdfiles.c: Likewise.
24802 * libio/putc.c: Likewise.
24803 * libio/setbuf.c: Likewise.
24804 * libio/setlinebuf.c: Likewise.
24805 * libio/stdfiles.c: Likewise.
24806 * libio/strops.c: Likewise.
24807 * libio/vasprintf.c: Likewise.
24808 * libio/vscanf.c: Likewise.
24809 * libio/vsnprintf.c: Likewise.
24810 * libio/vswprintf.c: Likewise.
24811 * libio/wfiledoalloc.c: Likewise.
24812 * libio/wfileops.c: Likewise.
24813 * libio/wgenops.c: Likewise.
24814 * libio/wmemstream.c: Likewise.
24815 * libio/wstrops.c: Likewise.
24816 * libio/__fpurge.c: Likewise.
24817 * libio/__fsetlocking.c: Likewise.
24818 * assert/assert.c: Likewise.
24819 * debug/fgets_chk.c: Likewise.
24820 * debug/fgets_u_chk.c: Likewise.
24821 * debug/fread_chk.c: Likewise.
24822 * debug/fread_u_chk.c: Likewise.
24823 * debug/gets_chk.c: Likewise.
24824 * debug/obprintf_chk.c: Likewise.
24825 * debug/vasprintf_chk.c: Likewise.
24826 * debug/vdprintf_chk.c: Likewise.
24827 * debug/vsnprintf_chk.c: Likewise.
24828 * debug/vsprintf_chk.c: Likewise.
24829 * malloc/mtrace.c: Likewise.
24830 * misc/error.c: Likewise.
24831 * misc/syslog.c: Likewise.
24832 * stdio-common/asprintf.c: Likewise.
24833 * stdio-common/fxprintf.c: Likewise.
24834 * stdio-common/getw.c: Likewise.
24835 * stdio-common/isoc99_fscanf.c: Likewise.
24836 * stdio-common/isoc99_scanf.c: Likewise.
24837 * stdio-common/isoc99_vfscanf.c: Likewise.
24838 * stdio-common/isoc99_vscanf.c: Likewise.
24839 * stdio-common/isoc99_vsscanf.c: Likewise.
24840 * stdio-common/printf-prs.c: Likewise.
24841 * stdio-common/printf_fp.c: Likewise.
24842 * stdio-common/printf_fphex.c: Likewise.
24843 * stdio-common/printf_size.c: Likewise.
24844 * stdio-common/putw.c: Likewise.
24845 * stdio-common/scanf.c: Likewise.
24846 * stdio-common/sprintf.c: Likewise.
24847 * stdio-common/tmpfile.c: Likewise.
24848 * stdio-common/vfprintf.c: Likewise.
24849 * stdio-common/vfscanf.c: Likewise.
24850 * stdlib/strfmon_l.c: Likewise.
24851 * sunrpc/openchild.c: Likewise.
24852 * sunrpc/xdr_stdio.c: Likewise.
24853 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
24854 * sysdeps/mach/hurd/tmpfile.c: Likewise.
24855
d6c33fda
RM
248562012-05-24 Roland McGrath <roland@hack.frob.com>
24857
c1487492
RM
24858 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24859
24860 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
24861 in the third column, to generate for the shared library an IFUNC
24862 that uses _dl_vdso_vsym.
24863 * Makerules (COMPILE.c, compile-stdin.c): New variables.
24864 * Makeconfig (object-suffixes-noshared): New variable.
24865
24866 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
24867 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
24868 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
24869 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
24870
d6c33fda
RM
24871 [BZ #14132]
24872 * include/sys/time.h (__gettimeofday): Remove macro.
24873 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
24874 * time/gettimeofday.c (__gettimeofday): Remove #undef.
24875 Remove INTDEF.
24876 (__gettimeofday): Add libc_hidden_def.
24877 (gettimeofday): Add libc_hidden_weak.
24878 * sysdeps/mach/gettimeofday.c: Likewise.
24879 * sysdeps/posix/gettimeofday.c: Likewise.
24880 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
24881 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
24882 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
24883 (__gettimeofday_internal): Remove strong_alias.
24884 (__gettimeofday): Add libc_hidden_def.
24885 (gettimeofday): Add libc_hidden_weak.
24886 * sysdeps/unix/syscalls.list (gettimeofday):
24887 Remove __gettimeofday_internal alias.
24888
b5a2bbe6
L
248892012-05-24 Daniel Jacobowitz <drow@false.org>
24890 H.J. Lu <hongjiu.lu@intel.com>
24891
24892 [BZ #12495]
24893 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
24894 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
24895 (largebin_index_32_big): New.
24896 (largebin_index): Use it for 16-byte alignment.
24897 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
24898 correction with front_misalign.
24899
cfba4fda
L
249002012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24901
7f907421
L
24902 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
24903 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
24904 Likewise.
24905 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
24906 Likewise.
24907 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24908 Likewise.
24909 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
24910 Likewise.
24911 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
24912 Likewise.
24913 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
24914 Likewise.
24915 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
24916 Likewise.
24917 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24918 Likewise.
24919 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
24920 Likewise.
24921 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
24922 Likewise.
24923 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
24924 Likewise.
24925 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
24926 Likewise.
24927
cfba4fda
L
24928 * scripts/data/c++-types-x32-linux-gnu.data: New file.
24929 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
24930
80bad0cc
JM
249312012-05-24 Joseph Myers <joseph@codesourcery.com>
24932
7a25eb06
JM
24933 [BZ #10846]
24934 [BZ #14036]
24935 * math/libm-test.inc (exp_test): Add test from bug 14036.
24936 (pow_test): Add test from bug 10846.
24937
795405f9
JM
24938 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
24939 and other flags.
24940 (special_function): Do not include flags in test name.
24941 (parse_args): Likewise.
24942 * sysdeps/i386/fpu/libm-test-ulps: Update.
24943 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24944 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24945 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24947
80bad0cc
JM
24948 * math/gen-libm-test.pl (%beautify): Add entries for underflow
24949 exceptions.
24950 * math/libm-test.inc ("Philosophy"): Update comment about
24951 exception testing.
24952 (UNDERFLOW_EXCEPTION): New macro.
24953 (UNDERFLOW_EXCEPTION_OK): Likewise.
24954 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
24955 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
24956 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
24957 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
24958 (INVALID_EXCEPTION_OK): Update value.
24959 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24960 (OVERFLOW_EXCEPTION_OK): Likewise.
24961 (IGNORE_ZERO_INF_SIGN): Likewise.
24962 (test_exceptions): Handle underflow exceptions.
24963 (acos_test): Update for underflow exception expectations.
24964 (cexp_test): Likewise.
24965 (clog_test): Likewise.
24966 (clog10_test): Likewise.
24967 (csqrt_test): Likewise.
24968 (ctan_test): Likewise.
24969 (ctanh_test): Likewise.
24970 (exp_test): Likewise.
24971 (exp10_test): Likewise.
24972 (exp2_test): Likewise.
24973 (expm1_test): Likewise.
24974 (fma_test): Likewise.
24975 (j0_test): Likewise.
24976 (jn_test): Likewise.
24977 (nexttoward_test): Likewise.
24978 (pow_test): Likewise.
24979 (scalbn_test): Likewise.
24980 (scalbln_test): Likewise.
24981 (tan_test): Likewise.
24982 (y1_test): Likewise.
24983 * sysdeps/i386/fpu/libm-test-ulps: Update.
24984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24985
9e0e3d0b
DM
249862012-05-23 David S. Miller <davem@davemloft.net>
24987
24988 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24989 (__libc_sigaction): Remove unused local variables.
24990
ccd0a08f
L
249912012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24992
24993 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
24994
62bdf9a6
PE
249952012-05-23 Paul Eggert <eggert@cs.ucla.edu>
24996
f8591f80
PE
24997 mktime: avoid signed integer overflow
24998 * time/mktime.c (__mktime_internal): Do not mishandle the case
24999 where diff == INT_MIN.
25000
94c7d826
PE
25001 mktime: simplify computation of average
25002 * time/mktime.c (ranged_convert): Use new time_t_avg function
25003 instead of rolling our own (probably-slower) code.
25004
ce73d683
PE
25005 mktime: do not assume signed right shift propagates sign bit
25006 * time/mktime.c (isdst_differ): New static function.
25007 (__mktime_internal): No need to normalize tm_isdst now.
25008 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
25009 tm_isdst values.
25010
72a22e59
PE
25011 mktime: merge another wrapv change from gnulib
25012 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
25013 from some compilers.
25014
68605433
PE
25015 mktime: remove incorrect attempt at unusual arithmetics
25016 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
25017 The code didn't really work on such machines anyway.
25018 (TYPE_MINIMUM): Assume two's complement.
25019 (twos_complement_arithmetic): Verify that long_int and time_t
25020 are two's complement (or unsigned, in the latter case).
25021
03cf7fe3
PE
25022 mktime: check signed shifts on long_int and time_t, too
25023 * time/mktime.c (SHR): Check that shifts work as desired
25024 on the types long_int and time_t too, as SHR is used on
25025 such types.
25026
f04dfbc2
PE
25027 mktime: do not assume 'long' is wide enough
25028 * time/mktime.c (verify): Move decl up.
25029 (long_int): New type.
25030 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
25031 to remove assumption in the code that 'long' is wide enough to
25032 store year values. This assumption is not true on x32 and on
25033 some non-glibc platforms.
25034
62bdf9a6
PE
25035 mktime: merge wrapv change from gnulib
25036 * time/mktime.c (WRAPV): New macro.
25037 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
25038 (guess_time_tm, __mktime_internal): Do not assume that signed
25039 integer overflow wraps around; modern compilers generate code
25040 where this assumption is no longer valid.
25041
5e292e4f
L
250422012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25043
25044 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
25045 Replace "jmp L(pseudo_end)" with "ret".
25046 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
25047 Likewise.
25048
8caf8c87
AJ
250492012-05-23 Andreas Jaeger <aj@suse.de>
25050
25051 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
25052 * sysdeps/unix/sysv/linux/poll.c: Remove file.
25053
1a09dc56
AJ
250542012-05-23 Andreas Jaeger <aj@suse.de>
25055 Maximilian Attems <max@stro.at>
25056
25057 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
25058 New macros.
25059
1c87aba0
L
250602012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25061
25062 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
25063 code so that pseudo_end is just ret and the stack pointer is
25064 correct also for static library in error case.
25065
40e45bd5
JM
250662012-05-23 Joseph Myers <joseph@codesourcery.com>
25067
c2670533
JM
25068 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
25069 move to syscalls.list.
25070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
25071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25074
40e45bd5
JM
25075 * manual/install.texi (Running make install): Do not mention Linux
25076 kernel version for which pt_chown is not needed.
25077 (Linux): Do not mention problems with nscd with 2.0 kernels.
25078 * INSTALL: Regenerated.
25079
be08eda5
AJ
250802012-05-23 Andreas Jaeger <aj@suse.de>
25081
25082 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
25083 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
25084 macro.
25085 * sysdeps/unix/sysv/linux/s390/bits/mman.h
25086 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25087 * sysdeps/unix/sysv/linux/sh/bits/mman.h
25088 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25089 * sysdeps/unix/sysv/linux/i386/bits/mman.h
25090 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25091 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
25092 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25093 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
25094 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25095 * sysdeps/unix/sysv/linux/bits/in.h
25096 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
25097
a6a056bb
RM
250982012-05-22 Roland McGrath <roland@hack.frob.com>
25099
25100 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
25101 (PREPARE_VERSION): Just use assert instead, it will be elided
25102 under [NDEBUG] anyway.
25103
c9009328
L
251042012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25105
25106 * sysdeps/unix/sysv/linux/Makefile: Include
25107 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 25108 (sysdep_routines): Remove sysctl.
c9009328
L
25109 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
25110 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
25111 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
25112 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
25113 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
25114
73338355
AJ
251152012-05-22 Andreas Jaeger <aj@suse.de>
25116
25117 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
25118 that pseudo_end is just ret and the stack pointer is correct also
25119 for static library in error case.
25120
d44638b0
PP
251212012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
25122
25123 [BZ #14122]
25124 * nss/nsswitch.c (defconfig_entries): New variable.
25125 (__nss_database_lookup): Don't leak defconfig entries.
25126 (nss_parse_service_list): Don't leak on error paths.
25127 (free_database_entries): New function.
25128 (free_defconfig): New function.
25129 (free_mem): Move common code to free_database_entries.
25130
31a39bd8
L
251312012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25132
da0331a8
L
25133 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
25134 Add arch_prctl.
25135 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
25136
31a39bd8
L
25137 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25138 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
25139 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
25140 New macro.
25141 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
25142 (INTERNAL_SYSCALL_TYPES): Likewise.
25143 (LOAD_ARGS_TYPES_[1-6]): Likewise.
25144 (LOAD_REGS_TYPES_[1-6]): Likewise.
25145 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
25146 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
25147
45470df3
AZ
251482012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25149
25150 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
25151 copysignl for GLIBC_2_0.
25152 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
25153 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
25154 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
25155 logbl for GLIBC_2_0.
25156 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
25157 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
25158
98a61bcb
L
251592012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25160
a4f6e481
L
25161 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
25162 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25163
f63d5db6
L
25164 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
25165 Use "neg %eax".
25166
98a61bcb
L
25167 * time/mktime.c: Update copyright years.
25168
95770f14
PE
251692012-05-22 Paul Eggert <eggert@cs.ucla.edu>
25170
6226efbd
PE
25171 mktime: merge comment-quoting-style change from gnulib
25172 * time/mktime.c: Quote 'like this' in comments.
25173 The GNU coding standards suggest that we no longer quote `like this',
25174 as "`" and "'" are typically rendered asymmetrically nowadays.
25175 The typical gnulib style is to quote 'like this' when quoting
25176 code, and "like this" when quoting English.
25177
b99e4f78
PE
25178 * time/mktime.c (compile-command): Add "-I.".
25179
643e01e6
PE
25180 mktime: merge mktime-internal.h change from gnulib
25181 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
25182
2554247d
PE
25183 mktime: merge time_r change from gnulib
25184 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
25185
826dd0ab
PE
25186 mktime: merge DEBUG change from gnulib
25187 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
25188 case system <time.h> has a #define.
25189
bd83aabe
PE
25190 mktime: merge <sys/types.h> change from gnulib
25191 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
25192 since <time.t> is now guaranteed to define time_t.
25193
95770f14
PE
25194 mktime: merge HAVE_CONFIG_H change from gnulib
25195 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
25196
5e1a27a9
L
251972012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25198
0e44a77e
L
25199 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25200 Use "neg %eax".
25201
5e1a27a9
L
25202 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
25203 __rlim_t cast.
25204 (struct rusage): Use anonymous union to pad each field to
25205 __syscall_slong_t.
25206
46259bec
DM
252072012-05-21 David S. Miller <davem@davemloft.net>
25208
25209 * Makefules (o-iterator): Remove .s cases.
25210 (compile-command.s): Delete.
25211 (COMPILE.s): Delete.
25212 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
25213
59f0c22e
JM
252142012-05-21 Joseph Myers <joseph@codesourcery.com>
25215
25216 * configure.in (libc_cv_predef_stack_protector): Only consider
25217 "foobar" and "__stack_chk_fail" lines in libc_undefs.
25218 * configure: Regenerated.
25219
20c07380
L
252202012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25221
bbb3154b
L
25222 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25223 New macro. Use R*LP on int and pointer.
25224 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
25225 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
25226 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
25227 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
25228
20c07380
L
25229 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
25230 [__WORDSIZE_TIME64_COMPAT32] instead of
25231 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
25232 (struct utmp): Likewise.
25233 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
25234 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
25235 Renamed to ...
25236 (__WORDSIZE_TIME64_COMPAT32): This.
25237 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
25238 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
25239 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
25240 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
25241 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
25242 (__WORDSIZE_TIME64_COMPAT32): New macro.
25243
d8d1017e
AJ
252442012-05-21 Andreas Jaeger <aj@suse.de>
25245
25246 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
25247 only if [SHARED]. Add prototype for __wcschr_ia32.
25248
6c7fb145
RM
252492012-05-21 Roland McGrath <roland@hack.frob.com>
25250
25251 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
25252 of %rbp unmolested in the jmp_buf while mangling the low bits.
25253 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
25254 unmolested high bits of %rbp while demangling the low bits.
25255 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
25256
66274218
AJ
252572012-05-21 Andreas Jaeger <aj@suse.de>
25258
07c58f8f
AJ
25259 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
25260 * sunrpc/svc_simple.c: Use it for registerrpc.
25261 * sunrpc/xcrypt.c: Use it for passwd2des.
25262
66274218
AJ
25263 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
25264
61f65140
L
252652012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25266
25267 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
25268 Don't define if [__SYSCALL_WORDSIZE != 32].
25269 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
25270 New macro.
25271
5fefb436
AJ
252722012-05-21 Bruno Haible <bruno@clisp.org>
25273 Andreas Jaeger <aj@suse.de>
25274
25275 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
25276 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
25277 inptr and inend for must_buffer_ch.
25278 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
25279 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
25280 * stdio-common/Makefile (tests): Remove bug15.
25281 (bug15-ENV): Remove macro.
25282 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
25283 anymore.
25284
d8e272ab
AJ
252852012-05-19 Andreas Jaeger <aj@suse.de>
25286 Roland McGrath <roland@hack.frob.com>
25287
25288 * manual/contrib.texi: Completely rewritten. It contains now an
25289 alphabetical list of contributors and their contributions.
25290
4a56a162
RH
252912012-05-21 Richard Henderson <rth@twiddle.net>
25292
25293 * misc/getauxval.c (__getauxval): Use unsigned long int.
25294 * misc/sys/auxv.h: Include <sys/cdefs.h>.
25295 (getauxval): Use unsigned long int.
25296
d024d23c
L
252972012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25298
25299 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
25300
cbc00a03
RM
253012012-05-21 Roland McGrath <roland@hack.frob.com>
25302
25303 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
25304 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
25305 __alignof__ (long double).
25306
478143fa
AZ
253072012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25308
25309 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25310
c7683a6d
RH
253112012-05-20 Richard Henderson <rth@twiddle.net>
25312
25313 * misc/getauxval.c: New file.
25314 * misc/sys/auxv.h: New file.
25315 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
25316 (routines): Add getauxval.
25317 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
25318 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
25319 * elf/dl-sysdep.c (_dl_auxv): Remove.
25320 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
25321 * elf/dl-support.c (_dl_auxv): New variable.
25322 (_dl_aux_init): Initialize it.
25323 * manual/startup.texi (Auxiliary Vector): New node.
25324 * sysdeps/generic/bits/hwcap.h: New file.
25325 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
25326 * sysdeps/powerpc/sysdep.h: ... here. Include it.
25327 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
25328 * sysdeps/sparc/sysdep.h: ... here. Include it.
25329 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
25330 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
25331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25332 Update.
c7683a6d
RH
25333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
25334 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
25335 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
25336 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
25337 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25338 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25339 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
25340 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
25341
a6f1845d
AZ
253422012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25343
25344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25345
cbcbe830
DM
253462012-05-19 David S. Miller <davem@davemloft.net>
25347
25348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25349
e0b16cc2
JM
253502012-05-19 Joseph Myers <joseph@codesourcery.com>
25351
25352 [BZ #14123]
25353 * math/s_ccosh.c: Include <float.h>
25354 (__ccosh): Avoid internal overflow calculating sinh and cosh
25355 values before multiplying by sin and cos values.
25356 * math/s_ccoshf.c: Likewise.
25357 * math/s_ccoshl.c: Likewise.
25358 * math/s_csin.c: Likewise.
25359 * math/s_csinf.c: Likewise.
25360 * math/s_csinl.c: Likewise.
25361 * math/s_csinh.c: Likewise.
25362 * math/s_csinhf.c: Likewise.
25363 * math/s_csinhl.c: Likewise.
25364 * math/libm-test.inc (ccos_test): Add more tests.
25365 (ccosh_test): Likewise.
25366 (csin_test): Likewise.
25367 (csinh_test): Likewise.
25368 * sysdeps/i386/fpu/libm-test-ulps: Update.
25369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25370
6ad13e08
L
253712012-05-19 H.J. Lu <hongjiu.lu@intel.com>
25372
f66f0ce8
L
25373 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
25374 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
25375
6ad13e08
L
25376 * sysdeps/x86_64/x32/_itoa.h: Add comment.
25377
b1d072a7
JM
253782012-05-19 Joseph Myers <joseph@codesourcery.com>
25379
25380 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
25381 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
25382 * sysdeps/powerpc/soft-fp/Versions: Likewise.
25383 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
25384 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
25385 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
25386 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
25387 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
25388 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
25389 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
25390 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
25391 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
25392 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
25393 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
25394 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
25395 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
25396 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
25397 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
25398 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
25399 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
25400 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
25401 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
25402 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
25403 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
25404 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
25405 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
25406 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
25407 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
25408 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
25409 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
25410 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
25411
9eae47cb
AJ
254122012-05-18 Andreas Jaeger <aj@suse.de>
25413
25414 * csu/.gitignore: Delete.
25415
bb07f69f
L
254162012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25417
25418 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
25419 (timex): Use __syscall_slong_t.
25420
e6bdb741
AJ
254212012-05-18 Andreas Jaeger <aj@suse.de>
25422 Carlos O'Donell <carlos_odonell@mentor.com>
25423
25424 * manual/install.texi (Configuring and compiling): Update
25425 description about files modified in the source directory.
d6c33fda 25426 * INSTALL: Regenerated.
e6bdb741 25427
1b74487e
L
254282012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25429
25430 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
25431 value. Use "or" to set return value to -1.
25432 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
25433 negate return value.
25434
a88b64b9
TMQMF
254352012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25436
25437 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
25438 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
25439 failure if the compiler has Graphite support disabled.
25440 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
25441 Likewise.
25442 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
25443 CFLAGS-memmove.c): Likewise.
25444 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
25445 Likewise.
25446
3707636e
L
254472012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25448
610b8622
L
25449 * sysdeps/x86_64/x32/_itoa.h: New file.
25450
7cd195df
L
25451 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
25452 getdents system call only if kernel and user dirents have the
25453 same d_ino and d_off.
25454
94b07d20
L
25455 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25456 LLONG_MAX != LONG_MAX.
25457 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25458 (_fitoa_word): Likewise.
25459
18298070
L
25460 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
25461 years.
25462 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
25463 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
25464 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
25465
553c7ea4
L
25466 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
25467 include <bits/wordsize.h>. Check __x86_64__ instead of
25468 __WORDSIZE.
25469 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
25470 if __x86_64__ is defined. Use anonymous union on fpstate.
25471
3707636e
L
25472 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
25473 anonymous union.
25474
b53ef01a
AS
254752012-05-18 Andreas Schwab <schwab@linux-m68k.org>
25476
37fb1dc0
AS
25477 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
25478 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
25479 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
25480 Refer to _rtld_local_ro instead of _rtld_global_ro.
25481 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
25482 Likewise.
25483 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
25484 Likewise.
25485 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
25486 Likewise.
25487 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
25488 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
25489 of _rtld_global, and rtld_progname instead of _dl_argv[0].
25490
b53ef01a
AS
25491 * sysdeps/powerpc/powerpc32/dl-machine.c
25492 (__elf_machine_runtime_setup) [PROF]: Don't reference
25493 _dl_prof_resolve.
25494
7a185db2
AJ
254952012-05-18 Andreas Jaeger <aj@suse.de>
25496
25497 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
25498 function only available for GCCs before 3.4 since GCC 3.4
25499 introduced a builtin.
25500 (lrint): Likewise.
25501 (llrintf): Likewise.
25502 (llrint): Likewise.
25503 (fmaxf): Likewise.
25504 (fmax): Likewise.
25505 (fminf): Likewise.
25506 (fmin): Likewise.
25507 (rint): Likewise.
25508 (rintf): Likewise.
25509 (nearbyint): Likewise.
25510 (nearbyintf): Likewise.
25511 (ceil): Likewise.
25512 (ceilf): Likewise.
25513 (floor): Likewise.
25514 (floorf): Likewise.
25515
3e5aef87
L
255162012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25517
428bd707
L
25518 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
25519 on both fields and cast pointer to __syscall_ulong_t.
25520
3e5aef87
L
25521 * bits/types.h (__fsword_t): New type.
25522 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
25523 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
25524 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25525 (__FSWORD_T_TYPE): Likewise.
25526 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25527 (__FSWORD_T_TYPE): Likewise.
25528 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25529 (__FSWORD_T_TYPE): Likewise.
25530 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
25531 (__FSWORD_T_TYPE): Likewise.
25532 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
25533 __SWORD_TYPE with __fsword_t.
25534 (statfs64): Likewise.
25535
1ba7c3dc
DM
255362012-05-17 David S. Miller <davem@davemloft.net>
25537
25538 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
25539
59910343
AJ
255402012-05-17 Andreas Jaeger <aj@suse.de>
25541
25542 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
25543 warning.
25544
2e4c1e9e
L
255452012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25546
25547 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
25548
de7f5ce7
AJ
255492012-05-17 Andreas Jaeger <aj@suse.de>
25550
25551 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
25552 when it is used.
25553
286abc3d
CM
255542012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25555
25556 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
25557
477cc68e
L
255582012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25559
25560 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
25561 * sysdeps/x86_64/tst-mallocalign1.c: New file.
25562
1a0994f5
CD
255632012-05-17 Andreas Jaeger <aj@suse.de>
25564 Carlos O'Donell <carlos_odonell@mentor.com>
25565
25566 [BZ #14059]
25567 * sysdeps/x86_64/multiarch/init-arch.h
25568 (bit_YMM_Usable): Rename to...
25569 (bit_AVX_Usable): ... this.
25570 (bit_FMA4_Usable): New macro.
25571 (bit_XMM_state): New macro.
25572 (bit_YMM_state): New macro.
25573 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
25574 [__ASSEMBLER__] (index_AVX_Usable): ... this.
25575 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
25576 (CPUID_OSXSAVE): New macro.
25577 (CPUID_AVX): New macro.
25578 (CPUID_FMA4): New macro.
25579 (index_YMM_Usable): Rename to...
25580 (index_AVX_Usable): ... this.
25581 (HAS_AVX): Use HAS_ARCH_FEATURE.
25582 (HAS_FMA4): Likewise.
25583 (HAS_YMM_USABLE): Remove.
25584 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25585 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
25586 are present.
25587 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
25588 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
25589 * sysdeps/x86_64/multiarch/Makefile: Likewise.
25590 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
25591 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
25592
0af797de
CM
255932012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25594
25595 * math/libm-test.c: Support platforms without multiple rounding modes.
25596 * math/bug-nextafter.c: Support platforms without FP exceptions.
25597 * math/bug-nexttoward.c: Likewise.
25598 * math/test-fenv.c: Likewise.
25599 * math/test-misc.c: Likewise.
25600 * stdlib/bug-getcontext.c: Likewise.
25601
e39745ff
AJ
256022012-05-17 Andreas Jaeger <aj@suse.de>
25603
25604 * manual/examples/search.c (critter_cmp): Change signature to
25605 avoid warnings.
25606 * manual/string.texi (Collation Functions): Likewise.
25607
48970aba
L
256082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25609
25610 * bits/types.h: Fold copyright years.
25611 * bits/typesizes.h: Likewise.
25612 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
25613 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25614 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
25615 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
25616 * time/time.h: Likewise.
25617
bedee953
PP
256182012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
25619
25620 [BZ #208]
25621 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
25622 in instead of returning them. Return void.
25623 (__libc_mallinfo): Accumulate over all arenas.
25624 (__malloc_stats): Adjust for change in int_mallinfo interface.
25625
61653dfb
RM
256262012-05-16 Roland McGrath <roland@hack.frob.com>
25627
30b99d79
RM
25628 [BZ #10375]
25629 * configure.in (NM): Add AC_CHECK_TOOL for it.
25630 (libc_extra_cflags): New substituted variable.
25631 Check for -fstack-protector being used implicitly.
25632 * configure: Regenerated.
25633 * config.make.in (config-extra-cflags): New variable,
25634 gets @libc_extra_cflags@.
25635 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
25636
61653dfb
RM
25637 [BZ #10375]
25638 * configure.in: Check for _FORTIFY_SOURCE being predefined.
25639 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
25640 * configure: Regenerated.
25641 * config.make.in (CPPUNDEFS): New substituted variable.
25642 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
25643 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
25644 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
25645
661768bb
L
256462012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25647
25648 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
25649 (mq_attr): Use __syscall_slong_t.
25650
d4261567
L
256512012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25652
25653 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
25654 Check __x86_64__ instead of __WORDSIZE.
25655 (_STAT_VER_LINUX): Likewise.
25656 (stat): Check __x86_64__ instead of __WORDSIZE. Use
25657 __syscall_ulong_t and __syscall_slong_t.
25658 (stat64): Likewise.
25659
cf3ff365
L
256602012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25661
25662 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
25663
76cf3e4d
L
256642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25665
25666 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
25667
a637753a
L
256682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25669
25670 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
25671 __syscall_ulong_t.
25672
d5e05119
L
25673 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
25674 include <bits/wordsize.h>. Check __x86_64__ instead of
25675 __WORDSIZE.
25676 (greg_t): Use "__extension__ long long int" if __x86_64__ is
25677 defined.
25678 (mcontext_t): Replace "unsigned long" with "unsigned long long".
25679
f62ee380
L
25680 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
25681 include <bits/wordsize.h>. Check __x86_64__ instead of
25682 __WORDSIZE.
25683 (user_regs_struct): Use "__extension__ unsigned long long"
25684 instead of "unsigned long" if __x86_64__ is defined.
25685 (user): Likewise. Pad after pointer field if __ILP32__ is
25686 defined.
25687
4e124ced
JM
256882012-05-16 Joseph Myers <joseph@codesourcery.com>
25689
6a3951a0
JM
25690 * configure.in (makeinfo): Require version 4.5 or later. Allow
25691 versions 5 to 9.
25692 * configure: Regenerated.
25693 * manual/install.texi (texinfo): Increase version requirement to
25694 4.5 or later.
25695 * INSTALL: Regenerated.
25696
4e124ced
JM
25697 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
25698
953ca31a
L
256992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25700
25701 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
25702
617aca05
L
25703 * sysdeps/x86_64/x32/ffs.c: New file.
25704
5762f7ae
L
25705 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
25706 __syscall_ulong_t.
25707 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
25708 defined. Use __syscall_ulong_t.
25709 (shminfo): Use __syscall_ulong_t.
25710 (shm_info): Likewise.
25711
a26b6856
L
25712 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
25713 __syscall_ulong_t.
25714
cb2b9ef7
L
25715 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
25716 <bits/wordsize.h>.
25717 (msgqnum_t): Use __syscall_ulong_t.
25718 (msglen_t): Likewise.
25719 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
25720 __syscall_ulong_t.
25721
34683bb0
L
25722 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
25723 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25724
84a68786
L
25725 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
25726
48baa5f1
L
25727 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
25728 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
25729
180be88b
L
25730 * sysvipc/sys/msg.h (msgbuf): Replace long int with
25731 __syscall_slong_t.
25732
5e90c8ad
L
25733 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
25734 include <bits/wordsize.h>. Check __x86_64__ instead of
25735 __WORDSIZE.
25736
23dfb58b
L
25737 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
25738 "unsigned long long int" if __x86_64__ is defined.
25739 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
25740
ce5d54b0
L
25741 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
25742 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25743 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
25744
13dc9eac
L
25745 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
25746 <stdint.h>.
25747 (GET_PC): Cast to uintptr_t first.
25748 (GET_FRAME): Likewise.
25749 (GET_STACK): Likewise.
25750
a7895d15
L
25751 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
25752 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
25753 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
25754 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
25755 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
25756 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
25757 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
25758 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
25759 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
25760 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
25761 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
25762 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
25763 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25764 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
25765 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
25766 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
25767 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
25768 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
25769 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
25770 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
25771 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
25772 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
25773 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
25774 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
25775 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
25776 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
25777 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
25778 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
25779 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
25780
656416c9
AS
257812012-05-16 Andreas Schwab <schwab@linux-m68k.org>
25782
5bd66283
AS
25783 * Makerules (+depfiles): Also collect depfiles from .oS in
25784 $(extra-objs).
25785 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
25786 .oS, $(libnldbl-routines)).
25787
656416c9
AS
25788 * Makerules (native-compile-mkdep-flags): Define.
25789 * sunrpc/Makefile (extra-objs): Add $(addprefix
25790 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
25791 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
25792 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
25793 calling $(make-target-directory).
25794
a46f2169
L
257952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25796
25797 * bits/types.h (__snseconds_t): Removed.
25798 * time/time.h (struct timespec): Replace __snseconds_t with
25799 __syscall_slong_t.
25800 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
25801 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
25802 Likewise.
25803 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25804 (__SNSECONDS_T_TYPE): Likewise.
25805 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25806 (__SNSECONDS_T_TYPE): Likewise.
25807 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25808 (__SNSECONDS_T_TYPE): Likewise.
25809
6af6528b
L
258102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25811
25812 * sysdeps/mach/hurd/bits/typesizes.h
25813 (__SYSCALL_SLONG_TYPE): New macro.
25814 (__SYSCALL_ULONG_TYPE): Likewise.
25815
de986b56
L
258162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25817
25818 * bits/types.h (__syscall_slong_t): New type.
25819 (__syscall_ulong_t): Likewise.
25820
25821 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
25822 (__SYSCALL_ULONG_TYPE): Likewise.
25823 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25824 (__SYSCALL_SLONG_TYPE): Likewise.
25825 (__SYSCALL_ULONG_TYPE): Likewise.
25826 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25827 (__SYSCALL_SLONG_TYPE): Likewise.
25828 (__SYSCALL_ULONG_TYPE): Likewise.
25829 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25830 (__SYSCALL_SLONG_TYPE): Likewise.
25831 (__SYSCALL_ULONG_TYPE): Likewise.
25832
85736dc7
L
258332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25834
25835 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
25836 Add sigaltstack-offsets.sym.
25837 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
25838 <sigaltstack-offsets.h>.
25839 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
25840 longjmp_msg pointer.
25841 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
25842 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
25843 signal stack.
25844 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
25845
cc03b296
JM
258462012-05-15 Joseph Myers <joseph@codesourcery.com>
25847
a9538892
JM
25848 * elf/stackguard-macros.h: Remove file.
25849 * sysdeps/generic/stackguard-macros.h: New file.
25850 * sysdeps/i386/stackguard-macros.h: Likewise.
25851 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25852 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25853 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25854 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25855 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25856 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25857 * sysdeps/x86_64/stackguard-macros.h: Likewise.
25858 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
25859 <elf/stackguard-macros.h>.
25860
cc03b296
JM
25861 [BZ #14109]
25862 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
25863 __aligned__ in attribute.
25864 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
25865 (gregset_t): Likewise.
25866
93171016
L
258672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25868
25869 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
25870 * sysdeps/x86_64/64/Implies-after: Here. New file.
25871 * sysdeps/x86_64/x32/Implies-after: New file.
25872
d86813a0
L
258732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25874
25875 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
25876 and access return value for _dl_profile_fixup. Use R10_LP to
25877 load frame size.
25878
2953ec75
L
258792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25880
25881 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
25882
3b550e9e
L
258832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25884
25885 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
25886 * sysdeps/x86_64/x32/sysdep.h: New file.
25887
eda41706
L
258882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25889
25890 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
25891 * sysdeps/x86_64/setjmp.S: Likewise.
25892
9ea01d93
AZ
258932012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25894
25895 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
25896 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
25897 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
25898 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
25899 remove unused global constant.
25900
02a91938
CM
259012012-05-15 Chris Metcalf <cmetcalf@tilera.com>
25902
25903 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
25904 include of <not-cancel.h>.
25905
6540185f
RM
259062012-05-15 Roland McGrath <roland@hack.frob.com>
25907
25908 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
25909
509072a0
AJ
259102012-05-15 Jeff Law <law@redhat.com>
25911 Andreas Jaeger <aj@suse.de>
25912
25913 [BZ #13594]
25914 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
25915 out from...
25916 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
25917 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
25918 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
25919 code changing __hst_map_handle.map.
25920
ba75122d
RM
259212012-05-15 Roland McGrath <roland@hack.frob.com>
25922
25923 * configure.in (sysnames): Look for Implies-before and Implies-after
25924 files.
25925 * configure: Regenerated.
25926
890d8bd8
L
259272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25928
25929 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
25930 8-byte data alignment with LP_SIZE alignment.
25931
f6ee6623
L
259322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25933
25934 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
25935 into R10_LP.
25936
ea2626f6
L
259372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25938
25939 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
25940
085f715e
L
259412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25942
25943 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
25944 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
25945 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
25946 Likewise.
25947 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25948
be8498fc
L
259492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25950
25951 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
25952 (stackinfo_sub_sp): Likewise.
25953
70bc83b9
L
259542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25955
25956 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
25957 RAX_LP.
25958
9bc0b730
L
259592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25960
25961 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
25962 into R*_LP.
25963
6d2850e7
L
259642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25965
25966 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
25967 sizes into R*_LP.
25968
3cb84561
L
259692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25970
25971 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
25972
54e2ed81
L
259732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25974
25975 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
25976 into R11_LP and load __x86_64_shared_cache_size_half into
25977 R8_LP.
25978
8a17f349
L
259792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25980
25981 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
25982 R8_LP.
25983
777b1eea
AZ
259842012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25985
25986 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
25987 logb for POWER7.
25988 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
25989 logbf for POWER7.
25990 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
25991 logbl for POWER7.
25992 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
25993 powerpc32/power7/fpu/s_logb.c via #include.
25994 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
25995 powerpc32/power7/fpu/s_logbf.c via #include.
25996 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
25997 powerpc32/power7/fpu/s_logbl.c via #include.
25998
d20d4ac2
JM
259992012-05-15 Joseph Myers <joseph@codesourcery.com>
26000
26001 * README.libm: Remove file.
26002
6cdef1ab
L
260032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26004
26005 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
26006 count for x32. Use R*_LP and omit operand-size suffix.
26007
0b254d8f
L
260082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26009
26010 * shlib-versions: Move x86_64-.*-linux.* entries to ...
26011 * sysdeps/x86_64/64/shlib-versions: Here. New file.
26012 * sysdeps/x86_64/x32/shlib-versions: New file.
26013
ceb809dc
RM
260142012-05-14 Roland McGrath <roland@hack.frob.com>
26015
26016 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
26017 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
26018 Use _dl_fatal_printf instead.
26019
37f1abd4
JM
260202012-05-14 Joseph Myers <joseph@codesourcery.com>
26021
26022 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
26023 set if not set by the user. Do not allow for being unset.
26024 * sysdeps/unix/sysv/linux/configure: Regenerated.
26025
11de3a33
L
260262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26027
26028 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
26029 the `q' suffix from lea and replace .quad with ASM_ADDR.
26030
e02f153a
L
260312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26032
26033 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
26034 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
26035 instead of $17.
26036 (PTR_DEMANGLE): Likewise.
26037
520ae0fd
L
260382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26039
26040 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
26041 (LP_OP): Likewise.
26042 (ASM_ADDR): Likewise.
26043 (RAX_LP): Likewise.
26044 (RBP_LP): Likewise.
26045 (RBX_LP): Likewise.
26046 (RCX_LP): Likewise.
26047 (RDI_LP): Likewise.
26048 (RSI_LP): Likewise.
26049 (RSP_LP): Likewise.
26050 (R8_LP): Likewise.
26051 (R9_LP): Likewise.
26052 (R10_LP): Likewise.
26053 (R10_LP): Likewise.
26054 (R11_LP): Likewise.
26055 (R12_LP): Likewise.
26056 (R13_LP): Likewise.
26057 (R14_LP): Likewise.
26058 (R15_LP): Likewise.
26059
b985be81
L
260602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26061
26062 * sysdeps/x86_64/x32/dl-machine.h: New file.
26063
6a4888ff
AJ
260642012-05-14 Andreas Jaeger <aj@suse.de>
26065
26066 * manual/Makefile (subdir): Remove export of subdir.
26067 (all): Remove target.
26068 (.PHONY): Remove all from list.
26069 (mkinstalldirs): Remove.
26070 (.PHONY): Remove installdirs from list.
26071 ($(inst_infodir)/libc.info): Use make-target-directory.
26072 (installdirs): Remove.
26073 (subdir_%): Remove.
26074 (glibc-targets): Remove.
26075 (lib): Remove.
26076 (stubs): Remove.
26077 ($(objpfx)stubs ../po/manual.pot): Remove.
26078 ($(objpfx)stamp%): Remove.
26079 (make-target-directory): Remove.
26080 (subdir_install): Remove.
26081 (routines): Remove.
26082 (aux): Remove.
26083 (sources): Remove.
26084 (objects): Remove.
26085 (headers): Remove.
26086
26087 [BZ #13750]
26088 * manual/.gitignore: Remove, it's not needed anymore.
26089 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
26090 all files in it.
26091 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
26092 directory.
26093 (texis): Renamed to $(objpfx)texis.
26094 (texis-path): New, contains path to generated files.
26095 (chapters.%): Use texis-path for complete path, add extra argument
26096 libc-texinfo.sh.
26097 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
26098 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
26099 (summary,texi, stamp-summary): Use complete path of
26100 files. Generate files in build dir.
26101 (dir-add.texi): Build in build dir.
26102 (libm-err.texi,stamp-libm-err): Likewise.
26103 (version.texi, stamp-version): Likewise.
26104 (.%c.texi): Likewise.
26105 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
26106 (mostlyclean): Remove target.
26107 (realclean): Remove target.
26108 (generated): Add new variable with contents from mostlyclean and
26109 realclean, remove entries duplicated in common-mostlyclean, add
26110 stamp-libm-err and stamp-version.
26111 (generated-dirs): Add libc directory.
26112 ($(inst_infodir)/libc.info): Install files from build dir.
26113
26114 * manual/install.texi (Configuring and compiling): Adjust since
26115 the info files are not part of the tar ball anymore.
26116
7ac77294
AJ
261172012-05-14 Andreas Jaeger <aj@suse.de>
26118
26119 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
26120 variable.
26121
ffb7875d
JM
261222012-05-14 Joseph Myers <joseph@codesourcery.com>
26123
26124 [BZ #13717]
26125 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26126 to 2.2.0 where earlier.
26127 * sysdeps/unix/sysv/linux/configure: Regenerated.
26128 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
26129 Remove conditional code.
26130 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
26131 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
26132 Remove conditional code.
26133 [!__NR_lchown]: Likewise.
26134 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26135 [__NR_lchown]: Likewise.
26136 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
26137 comment referencing __ASSUME_LCHOWN_SYSCALL.
26138 * sysdeps/unix/sysv/linux/i386/sigaction.c
26139 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26140 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26141 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
26142 Remove conditional code.
26143 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
26144 (__protocol_available): Remove #if 0 code.
26145 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
26146 conditional code.
26147 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
26148 * sysdeps/unix/sysv/linux/kernel-features.h
26149 (__ASSUME_GETCWD_SYSCALL): Don't define.
26150 (__ASSUME_REALTIME_SIGNALS): Likewise.
26151 (__ASSUME_PREAD_SYSCALL): Likewise.
26152 (__ASSUME_PWRITE_SYSCALL): Likewise.
26153 (__ASSUME_POLL_SYSCALL): Likewise.
26154 (__ASSUME_LCHOWN_SYSCALL): Likewise.
26155 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
26156 non-SPARC.
26157 (__ASSUME_SIOCGIFNAME): Don't define.
26158 (__ASSUME_MSG_NOSIGNAL): Likewise.
26159 (__ASSUME_SENDFILE): Define unconditionally.
26160 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
26161 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
26162 conditional code.
26163 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
26164 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
26165 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
26166 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26167 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
26168 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
26169 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
26171 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26172 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
26174 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26175 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
26177 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26178 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
26180 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26181 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
26183 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26184 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
26186 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26187 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
26189 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26190 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
26192 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26193 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26194 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
26195 Remove conditional code.
26196 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26197 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26198 Remove conditional code.
26199 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26200 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
26201 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
26202 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26203 Remove conditional code.
26204 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26205 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
26206 Remove conditional code.
26207 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26208 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
26209 Remove conditional code.
26210 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26211 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26212 Remove conditional code.
26213 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26214 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26215 Remove conditional code.
26216 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26217 * sysdeps/unix/sysv/linux/sh/pwrite64.c
26218 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26219 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26220 * sysdeps/unix/sysv/linux/sigaction.c
26221 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26222 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26223 * sysdeps/unix/sysv/linux/sigpending.c
26224 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26225 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26226 * sysdeps/unix/sysv/linux/sigprocmask.c
26227 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26228 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26229 * sysdeps/unix/sysv/linux/sigsuspend.c
26230 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26231 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26232 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
26233 (__libc_missing_rt_sigs): Remove.
26234 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
26235 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
26236 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
26237 Remove conditional code.
26238 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
26239 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
26240 return 1.
26241 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
26242 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
26243 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
26244 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
26245
1bfb7291
AJ
262462012-05-14 Andreas Jaeger <aj@suse.de>
26247
caae5a81
AJ
26248 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
26249 it's not used in glibc.
26250 (__coshm1): Likewise.
26251 (__acosh1p): Likewise.
26252 (__sgn): Likewise.
26253
1bfb7291
AJ
26254 * manual/string.texi (Copying and Concatenation): Add missing
26255 variable in concat example.
26256 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
26257
c044d724
L
262582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26259
144c5467 26260 [BZ #14103]
c044d724
L
26261 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
26262 __builtin_clzl with __builtin_clzll.
26263
2523c62b
L
262642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26265
26266 [BZ #14104]
26267 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
26268 libc_freeres_ptr.
26269
d7bb4c42
LD
262702012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26271
26272 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
26273 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
26274 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
26275 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
26276
9dc4e1fb
MF
262772012-05-14 Mike Frysinger <vapier@gentoo.org>
26278
26279 * NEWS: Update ia64 info.
26280
c7df0112
AS
262812012-05-12 Andreas Schwab <schwab@linux-m68k.org>
26282
26283 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
26284 used as bcopy.
26285
dc70356c
TS
262862012-05-12 Thomas Schwinge <thomas@codesourcery.com>
26287
26288 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
26289 * sysdeps/unix/syscalls.list (dup3): Likewise.
26290 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
26291 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
26292
9fb1a21f
L
262932012-05-11 H.J. Lu <hongjiu.lu@intel.com>
26294
26295 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
26296 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
26297
4822a2a5
L
262982012-05-11 H.J. Lu <hongjiu.lu@intel.com>
26299
26300 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
26301 thread pointer.
26302 (TLS_IE): Use mov/add instead of movq/addq to load thread
26303 pointer.
26304 (TLS_GD_PREFIX): New.
26305 (TLS_GD): Use it.
26306
842b81d6
DM
263072012-05-11 David S. Miller <davem@davemloft.net>
26308
26309 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
26310 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
26311 (_FPU_SETCW): Likewise.
26312
1cf463cd
L
263132012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26314
26315 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
26316 is 32-byte aligned.
26317
60cc4a18
AS
263182012-05-11 Andreas Schwab <schwab@linux-m68k.org>
26319
26320 [BZ #11837]
26321 * iconvdata/gb18030.c: Update tables.
26322 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
26323 characters specially.
26324 (BODY for TO_LOOP): Add encoding of missing ranges.
26325
febb44a4
TS
263262012-05-11 Thomas Schwinge <thomas@codesourcery.com>
26327
26328 [BZ #13673]
26329 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
26330 * sysdeps/mach/hurd/dup3.c: Likewise.
26331 * sysdeps/mach/hurd/readlinkat.c: Likewise.
26332 * sysdeps/powerpc/memmove.c:: Likewise.
26333
0a10fb9e
L
263342012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26335
26336 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
26337 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
26338
df8a552f
L
263392012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26340
26341 * elf/elf.h (R_X86_64_RELATIVE64): New.
26342 (R_X86_64_NUM): Updated.
26343 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26344 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
26345 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
26346 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
26347 tst-quad1pie tst-quad2pie
26348 (modules-names): Add tst-quadmod1 tst-quadmod2.
26349 ($(objpfx)tst-quad1): New dependency.
26350 ($(objpfx)tst-quad2): Likewise.
26351 ($(objpfx)tst-quad1pie): Likewise.
26352 ($(objpfx)tst-quad2pie): Likewise.
26353 * sysdeps/x86_64/tst-quad1.c: New file.
26354 * sysdeps/x86_64/tst-quad1pie.c: New file.
26355 * sysdeps/x86_64/tst-quad2.c: Likewise.
26356 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
26357 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
26358 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
26359 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
26360 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
26361
f34d6f84
ST
263622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26363
f42d41d1
ST
26364 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
26365 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
26366 * streams/stropts.h (t_scalar_t): Define type.
26367
3c3571fc
ST
26368 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
26369 (_PATH_PRESERVE): Set to "/var/lib".
26370 (_PATH_RWHODIR): Set to "/var/spool/rwho".
26371
61f06bd3
ST
26372 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
26373 instead of int.
26374
918d4d71
ST
26375 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
26376 if __dir_mkfile succeeded.
26377
f34d6f84
ST
26378 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
26379 checking for _hurd_dtablesize. Unlock it right after having
26380 finished _hurd_dtable allocation.
26381
10589b4a
TS
263822012-05-10 Thomas Schwinge <thomas@schwinge.name>
26383
674cdbc7
TS
26384 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
26385 * sysdeps/mach/hurd/configure: Regenerated.
26386 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
26387 special-casing to...
26388 * sysdeps/gnu/configure.in: ... this new file.
26389 * sysdeps/unix/sysv/linux/configure: Regenerated.
26390 * sysdeps/gnu/configure: New generated file.
26391
8e41b99f
TS
26392 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
26393 for Linux: use nsec instead of usec, as well as:
26394 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
26395 members of type struct timespec.
26396 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
26397 New macros.
26398 (struct stat64): Likewise.
26399 (_STATBUF_ST_NSEC): New macro.
26400 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
26401
10589b4a
TS
26402 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26403 __strtoul_internal rather than strtoul.
26404
63643c85
PT
264052012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26406
26407 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
26408 and reject them.
26409
3faebe6a
ST
264102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26411
26412 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
26413 which preserves existing values.
26414 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
26415
c6474b07
PT
264162012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26417
26418 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
26419 TIMEOUT values. Return EINVAL for NFDS values either negative or
26420 greater than FD_SETSIZE.
26421
1043890b
ST
264222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26423
26424 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
26425 allocated, call __vm_protect to finish enabling the existing space, and
26426 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
26427 allocate the remainder.
26428
37ed8b9b
PT
264292012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26430
26431 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
26432 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
26433
db653660
ST
264342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26435
37ed8b9b
PT
26436 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
26437 sysdeps/mach/hurd/readlink.c.
b29d4053 26438
db653660
ST
26439 * posix/tst-sysconf.c (posix_options): Only use
26440 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
26441 _POSIX_SYNCHRONIZED_IO when they are defined
26442 * sysdeps/mach/hurd/bits/posix_opt.h:
26443 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
26444 (_XOPEN_REALTIME): Undefine macro.
26445 (_XOPEN_REALTIME_THREADS): Undefine macro.
26446 (_XOPEN_SHM): Undefine macro.
26447 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
26448 macro to -1.
26449 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
26450 macro to -1.
26451 (_POSIX_ASYNC_IO): Undefine macro.
26452 (_POSIX_PRIORITIZED_IO): Undefine macro.
26453 (_POSIX_SPIN_LOCKS): Define macro to -1.
26454
ee16e894
ST
26455 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
26456 SA_NODEFER, SA_RESETHAND.
26457 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
26458 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
26459 F_DUPFD_CLOEXEC.
26460
6103ae3b
TS
264612012-05-10 Thomas Schwinge <thomas@schwinge.name>
26462
26463 * elf/Makefile (pldd-modules): Define unconditionally.
26464
80b4e5f3
TS
264652012-05-10 Thomas Schwinge <thomas@schwinge.name>
26466
26467 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
26468
edadcbd6
ST
264692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26470
26471 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
26472 Return ENOENT when name is empty.
26473 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
26474
80694780
TS
264752012-05-10 Thomas Schwinge <thomas@schwinge.name>
26476
1792c087
TS
26477 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
26478
80694780
TS
26479 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
26480
6b645f0d
ST
264812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26482
80694780
TS
26483 Fix mlock in all cases except non-readable pages.
26484 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
26485 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 26486
6b645f0d
ST
26487 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
26488 (__mkdir): When path is `/', just fail with EEXIST.
26489 * sysdeps/mach/hurd/mkdirat.c: Likewise.
26490
e468f8a3
TS
264912012-05-10 Thomas Schwinge <thomas@schwinge.name>
26492
26493 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
26494 <sys/uio.h> (for writev).
26495 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
26496 and <sys/param.h> (for MIN).
26497
a4186cff
PT
264982012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26499
26500 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
26501 REQUESTED_TIME. Properly set the remaining time and return EINTR
26502 if interrupted.
26503
510bbf14
TS
265042012-05-10 Thomas Schwinge <thomas@schwinge.name>
26505
26506 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
26507 Depend on against $(link-rpcuserlibs).
26508
5d5722e8
ST
265092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26510
a4186cff
PT
26511 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
26512 (__libc_stack_end): Do not use attribute_relro.
26513 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
26514 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 26515 to libthread-provided value.
a4186cff
PT
26516 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
26517 attribute_relro.
5d5722e8 26518
37233df9
TS
265192012-05-10 Thomas Schwinge <thomas@schwinge.name>
26520
be971a2b
TS
26521 [BZ #3748]
26522 * bits/libc-lock.h (__libc_once_get): New macro.
26523 * sysdeps/mach/bits/libc-lock.h: Likewise.
26524 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
26525 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
26526 instead of using implementation details.
26527
37233df9
TS
26528 * libio/fileops.c: Unconditionally include <kernel-features.h>.
26529 * libio/freopen.c: Likewise.
26530 * libio/freopen64.c: Likewise.
26531 * misc/syslog.c: Likewise.
26532 * nscd/connections.c: Likewise.
26533 * nscd/netgroupcache.c: Likewise.
26534 * sysdeps/posix/getcwd.c: Likewise.
26535
38de94a5
RM
265362012-05-10 Roland McGrath <roland@hack.frob.com>
26537
26538 * math/w_ilogbf.c: Add #include <limits.h>.
26539
67530489
ST
265402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26541
a4186cff 26542 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
26543 path instead of returning without unlocking.
26544
67530489
ST
26545 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
26546 immediate-write ioctls.
26547 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
26548
5aa3a74a
TS
265492012-05-10 Thomas Schwinge <thomas@schwinge.name>
26550
18bad2ae
TS
26551 * sysdeps/mach/hurd/i386/init-first.c (init): Use
26552 __builtin_frame_address instead of making assumptions about the
26553 location of the return address relative to DATA. Force early load of
26554 the return address.
26555 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
26556 __builtin_frame_address.
26557
5aa3a74a
TS
26558 dup3 for GNU Hurd.
26559 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
26560 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
26561 implement dup3 and do some further code clean-ups.
26562 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
26563 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
26564
ecd0de9a
ST
265652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26566
cd9fa985
ST
26567 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
26568
a4186cff
PT
26569 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
26570 HURD_CRITICAL_END around holding _hurd_dtable_lock.
26571 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
26572 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
26573 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
26574 d->port.lock.
802ca5a5 26575
a4186cff
PT
26576 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
26577 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
26578 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 26579
bcf55240
TS
265802012-05-10 Thomas Schwinge <thomas@schwinge.name>
26581
6960eb42
TS
26582 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
26583 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
26584 definitions.
26585
eb43375f
TS
26586 accept4 for GNU Hurd.
26587 * include/sys/socket.h (__libc_accept4): New prototype.
26588 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
26589 to implement __libc_accept4.
26590 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
26591 __libc_accept4.
26592 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
26593
bcf55240
TS
26594 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
26595 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
26596 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
26597 signal-defines.sym.
26598
6178c55b
ST
265992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26600
a4186cff 26601 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 26602
6f080c2f
TS
266032012-05-10 Thomas Schwinge <thomas@schwinge.name>
26604
26605 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
26606 assertion on O_CLOEXEC flag.
26607 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
26608 * hurd/intern-fd.c: Likewise.
26609 * hurd/port2fd.c: Likewise.
26610
bcfe3a54
ST
266112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26612
26613 [BZ #3906]
26614 * bits/in.h (IPV6_PKTINFO): Define new macro.
26615 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
26616
89c9aa49
AZ
266172012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26618
26619 [BZ #13954]
26620 [BZ #13955]
26621 [BZ #13956]
26622 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
26623 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26624 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
26625 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26626 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26627 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26628 * math/libm-test.inc (logb_test) : Additional logb tests.
26629
021db4be
AJ
266302012-05-09 Andreas Schwab <schwab@linux-m68k.org>
26631 Andreas Jaeger <aj@suse.de>
26632
26633 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
26634 * configure: Regenerated.
26635 * config.h.in (LINK_OBSOLETE_RPC): New macro.
26636 * config.make.in (link-obsolete-rpc): New substituted variable.
26637 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
26638 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
26639 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26640 (shared-only-routines): Don't set it under [link-obsolete-rpc],
26641 so that libc.a contains the symbols.
26642 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26643 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
26644 * sunrpc/auth_none.c: Likewise.
26645 * sunrpc/auth_unix.c: Likewise.
26646 * sunrpc/authdes_prot.c: Likewise.
26647 * sunrpc/authuxprot.c: Likewise.
26648 * sunrpc/clnt_gen.c: Likewise.
26649 * sunrpc/clnt_perr.c: Likewise.
26650 * sunrpc/clnt_raw.c: Likewise.
26651 * sunrpc/clnt_simp.c: Likewise.
26652 * sunrpc/clnt_tcp.c: Likewise.
26653 * sunrpc/clnt_udp.c: Likewise.
26654 * sunrpc/clnt_unix.c: Likewise.
26655 * sunrpc/des_crypt.c: Likewise.
26656 * sunrpc/des_soft.c: Likewise.
26657 * sunrpc/get_myaddr.c: Likewise.
26658 * sunrpc/key_call.c: Likewise.
26659 * sunrpc/key_prot.c: Likewise.
26660 * sunrpc/netname.c: Likewise.
26661 * sunrpc/pm_getmaps.c: Likewise.
26662 * sunrpc/pm_getport.c: Likewise.
26663 * sunrpc/pmap_clnt.c: Likewise.
26664 * sunrpc/pmap_prot.c: Likewise.
26665 * sunrpc/pmap_prot2.c: Likewise.
26666 * sunrpc/pmap_rmt.c: Likewise.
26667 * sunrpc/publickey.c: Likewise.
26668 * sunrpc/rpc_cmsg.c: Likewise.
26669 * sunrpc/rpc_common.c: Likewise.
26670 * sunrpc/rpc_dtable.c: Likewise.
26671 * sunrpc/rpc_prot.c: Likewise.
26672 * sunrpc/rpc_thread.c: Likewise.
26673 * sunrpc/rtime.c: Likewise.
26674 * sunrpc/svc.c: Likewise.
26675 * sunrpc/svc_auth.c: Likewise.
26676 * sunrpc/svc_raw.c: Likewise.
26677 * sunrpc/svc_run.c: Likewise.
26678 * sunrpc/svc_tcp.c: Likewise.
26679 * sunrpc/svc_udp.c: Likewise.
26680 * sunrpc/svc_unix.c: Likewise.
26681 * sunrpc/svcauth_des.c: Likewise.
26682 * sunrpc/xcrypt.c: Likewise.
26683 * sunrpc/xdr.c: Likewise.
26684 * sunrpc/xdr_array.c: Likewise.
26685 * sunrpc/xdr_float.c: Likewise.
26686 * sunrpc/xdr_intXX_t.c: Likewise.
26687 * sunrpc/xdr_mem.c: Likewise.
26688 * sunrpc/xdr_rec.c: Likewise.
26689 * sunrpc/xdr_ref.c: Likewise.
26690 * sunrpc/xdr_sizeof.c: Likewise.
26691 * sunrpc/xdr_stdio.c: Likewise.
26692
b5c086a2
RM
266932012-05-10 Roland McGrath <roland@hack.frob.com>
26694
26695 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
26696 change. Update copyright years.
26697
6d74dd09
JM
266982012-05-10 Joseph Myers <joseph@codesourcery.com>
26699
26700 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
26701
28e72501
MK
267022012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
26703 Joseph Myers <joseph@codesourcery.com>
26704 Paul Pluzhnikov <ppluzhnikov@google.com>
26705
26706 [BZ #14012]
26707 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
26708 requiring rpcgen.
26709 [cross-compiling] (extra-libs): Likewise.
26710 [cross-compiling] (extra-libs-others): Likewise.
26711 [cross-compiling] (librpcsvc-routines): Likewise.
26712 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
26713 [cross-compiling] (omit-deps): Likewise.
26714 (sunrpc-CPPFLAGS): New variable.
26715 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
26716 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
26717 (cross-rpcgen-objs): New variable.
26718 (extra-objs): Append $(cross-rpcgen-objs).
26719 ($(cross-rpcgen-objs)): New rule.
26720 ($(objpfx)cross-rpcgen): Likewise.
26721 (rpcgen-cmd): Define to use $(built-program-file). Expand
26722 comment.
26723 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
26724 ($(objpfx)x%.stmp): Likewise.
26725 * sunrpc/proto.h [IS_IN_build] (_): Define.
26726 [IS_IN_build] (_libc_intl_domainname): Likewise.
26727
c8c59454
L
267282012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26729
26730 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
26731 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
26732 and R_X86_64_TPOFF64.
26733
6f27cd16
JM
267342012-05-10 Joseph Myers <joseph@codesourcery.com>
26735
26736 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
26737 sysdeps/unix/sysv/syscalls.list.
26738 (stime): Likewise.
26739 (utime): Likewise.
26740 * sysdeps/unix/sysv/syscalls.list: Remove file.
26741
02467e1c
PE
267422012-05-10 Paul Eggert <eggert@cs.ucla.edu>
26743
26744 [BZ #3440]
26745 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
26746 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
26747 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
26748 (__LC_IDENTIFICATION): Make these macros useful in #if
26749 expressions, as required by C99.
26750
da392631
AS
267512012-05-10 Andreas Schwab <schwab@linux-m68k.org>
26752
26753 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
26754 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
26755 after this.
26756
8115f29b
L
267572012-05-09 H.J. Lu <hongjiu.lu@intel.com>
26758
26759 * stdlib/longlong.h: Updated from GCC.
26760
bdd74070
AJ
267612012-05-09 Andreas Jaeger <aj@suse.de>
26762
edfe0dbe
AJ
26763 * nscd/nscd.c (run_modes): Make named enum, reorder so that
26764 default is first entry.
26765 (run_mode): Set type.
26766 (main): Remove informal message about syslog.
26767 (options): Fix typo.
26768
bcfe3a54
ST
26769 [BZ #14053]
26770 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 26771 to asm.
bcfe3a54
ST
26772 (lrint): Likewise.
26773 (llrintf): Likewise.
26774 (llrint): Likewise.
26775 (rint): Likewise.
26776 (rintf): Likewise.
26777 (nearbyint): Likewise.
26778 (nearbyintf): Likewise.
bdd74070 26779
91d8d69e
AJ
267802012-05-09 Andreas Jaeger <aj@suse.de>
26781 Pedro Alves <palves@redhat.com>
26782
26783 * nscd/nscd.c (run_mode): Use enum.
26784 (main): Cleanup coding style issue.
26785
bb90b80b
AJ
267862012-05-09 Alexandre Oliva <aoliva@redhat.com>
26787 Andreas Jaeger <aj@suse.de>
26788
bcfe3a54
ST
26789 * nscd/nscd.c (go_background): Replaced with...
26790 (run_mode): ... this.
bb90b80b 26791 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
26792 (options): Add -F --foreground.
26793 (main): Implement it.
26794 (parse_opt): Parse it.
bb90b80b 26795
1a4b75a1
AJ
267962012-05-09 Andreas Jaeger <aj@suse.de>
26797
26798 [BZ #14083]
26799 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
26800 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
26801 -Wconversion warning.
26802 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
26803 Likewise.
26804
b1cc2472
JM
268052012-05-09 Joseph Myers <joseph@codesourcery.com>
26806
26807 * conform/data/locale.h-data (NULL): Use macro-constant. Require
26808 == 0.
26809 (LC_ALL): Use macro-int-constant.
26810 (LC_COLLATE): Likewise.
26811 (LC_CTYPE): Likewise.
26812 (LC_MESSAGES): Likewise.
26813 (LC_MONETARY): Likewise.
26814 (LC_NUMERIC): Likewise.
26815 (LC_TIME): Likewise.
26816 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
26817 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26818 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26819 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
26820 Specify type.
26821 [C99-based standards] (float_t): Expect type.
26822 [C99-based standards] (double_t): Expect type.
26823 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
26824 type.
26825 [C99-based standards] (HUGE_VALL): Likewise.
26826 [C99-based standards] (INFINITY): Likewise.
26827 [C99-based standards] (NAN): Likewise.
26828 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
26829 [C99-based standards] (FP_NAN): Likewise.
26830 [C99-based standards] (FP_NORMAL): Likewise.
26831 [C99-based standards] (FP_SUBNORMAL): Likewise.
26832 [C99-based standards] (FP_ZERO): Likewise.
26833 [C99-based standards] (FP_FAST_FMA): Use
26834 optional-macro-int-constant. Specify type. Require == 1.
26835 [C99-based standards] (FP_FAST_FMAF): Likewise.
26836 [C99-based standards] (FP_FAST_FMAL): Likewise.
26837 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
26838 [C99-based standards] (FP_ILOGBNAN): Likewise.
26839 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
26840 Specify type.
26841 [C99-based standards] (MATH_ERREXCEPT): Likewise.
26842 [C99-based standards] (math_errhandling): Specify type.
26843 [ISO99 || ISO11] (signgam): Do not allow.
26844 [non-C99-based standards] (copysignf): Do not allow.
26845 [non-C99-based standards] (exp2f): Likewise.
26846 [non-C99-based standards] (log2f): Likewise.
26847 [non-C99-based standards] (modff): Allow.
26848 [non-C99-based standards] (erff): Do not allow.
26849 [non-C99-based standards] (erfcf): Likewise.
26850 [non-C99-based standards] (gammaf): Likewise.
26851 [non-C99-based standards] (hypotf): Likewise.
26852 [non-C99-based standards] (j0f): Likewise.
26853 [non-C99-based standards] (j1f): Likewise.
26854 [non-C99-based standards] (jnf): Likewise.
26855 [non-C99-based standards] (lgammaf): Likewise.
26856 [non-C99-based standards] (tgammaf): Likewise.
26857 [non-C99-based standards] (y0f): Likewise.
26858 [non-C99-based standards] (y1f): Likewise.
26859 [non-C99-based standards] (ynf): Likewise.
26860 [non-C99-based standards] (isnanf): Likewise.
26861 [non-C99-based standards] (acoshf): Likewise.
26862 [non-C99-based standards] (asinhf): Likewise.
26863 [non-C99-based standards] (atanhf): Likewise.
26864 [non-C99-based standards] (cbrtf): Likewise.
26865 [non-C99-based standards] (expm1f): Likewise.
26866 [non-C99-based standards] (ilogbf): Likewise.
26867 [non-C99-based standards] (log1pf): Likewise.
26868 [non-C99-based standards] (logbf): Likewise.
26869 [non-C99-based standards] (nextafterf): Likewise.
26870 [non-C99-based standards] (remainderf): Likewise.
26871 [non-C99-based standards] (rintf): Likewise.
26872 [non-C99-based standards] (scalbf): Likewise.
26873 [non-C99-based standards] (copysignl): Likewise.
26874 [non-C99-based standards] (exp2l): Likewise.
26875 [non-C99-based standards] (log2l): Likewise.
26876 [non-C99-based standards] (modfl): Allow.
26877 [non-C99-based standards] (erfl): Do not allow.
26878 [non-C99-based standards] (erfcl): Likewise.
26879 [non-C99-based standards] (gammal): Likewise.
26880 [non-C99-based standards] (hypotl): Likewise.
26881 [non-C99-based standards] (j0l): Likewise.
26882 [non-C99-based standards] (j1l): Likewise.
26883 [non-C99-based standards] (jnl): Likewise.
26884 [non-C99-based standards] (lgammal): Likewise.
26885 [non-C99-based standards] (tgammal): Likewise.
26886 [non-C99-based standards] (y0l): Likewise.
26887 [non-C99-based standards] (y1l): Likewise.
26888 [non-C99-based standards] (ynl): Likewise.
26889 [non-C99-based standards] (isnanl): Likewise.
26890 [non-C99-based standards] (acoshl): Likewise.
26891 [non-C99-based standards] (asinhl): Likewise.
26892 [non-C99-based standards] (atanhl): Likewise.
26893 [non-C99-based standards] (cbrtl): Likewise.
26894 [non-C99-based standards] (expm1l): Likewise.
26895 [non-C99-based standards] (ilogbl): Likewise.
26896 [non-C99-based standards] (log1pl): Likewise.
26897 [non-C99-based standards] (logbl): Likewise.
26898 [non-C99-based standards] (nextafterl): Likewise.
26899 [non-C99-based standards] (remainderl): Likewise.
26900 [non-C99-based standards] (rintl): Likewise.
26901 [non-C99-based standards] (scalbl): Likewise.
26902 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26903 [non-C99-based standards] (FP_*): Do not allow.
26904 [C99-based standards] (FP_*): Change to
26905 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26906 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26907 allow.
26908 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
26909 (SIG_ERR): Likewise.
26910 [X/Open-based standards] (SIG_HOLD): Likewise.
26911 (SIG_IGN): Likewise.
26912 (SIGABRT): Use macro-int-constant. Specify type. Require
26913 positive value.
26914 (SIGFPE): Likewise.
26915 (SIGILL): Likewise.
26916 (SIGINT): Likewise.
26917 (SIGSEGV): Likewise.
26918 (SIGTER): Likewise.
26919 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
26920 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
26921 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
26922 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
26923 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
26924 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
26925 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
26926 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
26927 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
26928 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
26929 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
26930 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
26931 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
26932 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
26933 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
26934 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
26935 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
26936 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
26937 [X/Open-based standards] (SIGTRAP): Likewise.
26938 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
26939 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
26940 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
26941 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
26942 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26943 allow.
26944
b9f1922d
IW
269452012-05-08 Ian Wienand <ianw@vmware.com>
26946
26947 [BZ #14080]
26948 * time/tzset.c (__tzset_parse_tz): Update default rules for
26949 daylight time changes in the Energy Policy Act of 2005.
26950
1db86e88
AJ
269512012-05-09 Andreas Jaeger <aj@suse.de>
26952
26953 [BZ #13983]
26954 * elf/ldconfig.c (parse_conf): Change string to make clear that
26955 ldconfig only issued a warning if ld.so.conf does not exist.
26956
dee4a4e3
DM
269572012-05-08 David S. Miller <davem@davemloft.net>
26958
ee0db190
DM
26959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
26960 movxtod instead of popping the value on the stack.
26961
dee4a4e3
DM
26962 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26963
6a43ec98
CD
269642012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
26965
26966 * config.h.in: Add HAVE_ARM_PCS_VFP.
26967
05c2c961
RMG
269682012-05-08 Roland Mc Grath <roland@hack.frob.com>
26969
bcfe3a54
ST
26970 [BZ #13979]
26971 * include/features.h: Warn if user requests __FORTIFY_SOURCE
26972 checking but the checks are disabled for any reason.
05c2c961 26973
4b30f61a
L
269742012-05-08 H.J. Lu <hongjiu.lu@intel.com>
26975
26976 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
26977 and ELF64_R_TYPE with ELFW(R_TYPE).
26978
eee2bc67
JM
269792012-05-08 Joseph Myers <joseph@codesourcery.com>
26980
7ea5391a
JM
26981 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
26982 (ulimit): Likewise.
26983
eee2bc67
JM
26984 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
26985 (settimeofday): Likewise.
26986
abb66a67
MF
269872012-05-08 Mike Frysinger <vapier@gentoo.org>
26988
26989 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
26990 a struct th_u2 inside the union, and move tu_block/tu_code into
26991 a new th_u3 union of tu_block/tu_code inside of that. Move
26992 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
26993 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
26994 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
26995 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
26996 (th_stuff): Change to th_u1.tu_stuff.
26997 (th_data): Define.
26998 (th_msg): Change to th_u1.th_u2.tu_data.
26999
7f18b530
DM
270002012-05-07 David S. Miller <davem@davemloft.net>
27001
05760585
DM
27002 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27003
7f18b530
DM
27004 [BZ #14074]
27005 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
27006 (SETUP_PIC_REG): Use it.
27007 (SETUP_PIC_REG_LEAF): Use it.
27008
495fd99f
JM
270092012-05-07 Joseph Myers <joseph@codesourcery.com>
27010
27011 [BZ #13885]
27012 [BZ #13923]
27013 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27014 USE_AS_EXPM1L.
27015 (EXPL_FINITE): Likewise.
27016 (FLDLOG): Likewise.
27017 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
27018 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
27019 e_expl.S.
27020 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27021 USE_AS_EXPM1L.
27022 (EXPL_FINITE): Likewise.
27023 (FLDLOG): Likewise.
27024 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
27025 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
27026 e_expl.S.
27027 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
27028 test of -max_value argument for long double.
27029 * sysdeps/i386/fpu/libm-test-ulps: Update.
27030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27031
6693d694
DM
270322012-05-06 David S. Miller <davem@davemloft.net>
27033
27034 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
27035 quad soft-float symbols whose references which are compiler
27036 generated.
27037 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27038
6c23e11c
JM
270392012-05-06 Joseph Myers <joseph@codesourcery.com>
27040
d8b82cad
JM
27041 [BZ #13884]
27042 [BZ #13914]
27043 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27044 USE_AS_EXP10L.
27045 (EXPL_FINITE): Likewise.
27046 (FLDLOG): Likewise.
27047 (c0): Likewise.
27048 (c1): Likewise.
27049 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
27050 Adjust comments for base varying.
27051 (__expl_finite): Change alias to EXPL_FINITE.
27052 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
27053 e_expl.S.
27054 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
27055 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
27056 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
27057 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
27058 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27059 USE_AS_EXP10L.
27060 (EXPL_FINITE): Likewise.
27061 (FLDLOG): Likewise.
27062 (c0): Likewise.
27063 (c1): Likewise.
27064 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
27065 Adjust comments for base varying.
27066 (__expl_finite): Change alias to EXPL_FINITE.
27067 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
27068 tests for bugs.
27069 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27070
6c23e11c
JM
27071 [BZ #14064]
27072 * math/libm-test.inc (check_float_internal): Correct ulp
27073 calculation for subnormal expected results.
27074
29ba805c
AJ
270752012-05-06 Andreas Jaeger <aj@suse.de>
27076
27077 * Makeconfig (+math-flags): New, set to -frounding-math.
27078 (+cflags): Add +math-flags so that all of glibc gets compiled with
27079 it.
27080
27081 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
27082
7b17aeda
JM
270832012-05-05 Joseph Myers <joseph@codesourcery.com>
27084
5779f134
JM
27085 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
27086 Disable one test.
27087
41498f4d
JM
27088 [BZ #13787]
27089 [BZ #13922]
27090 [BZ #14036]
27091 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
27092 (__ieee754_expl): Allow for and saturate large arguments.
27093 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
27094 (u_threshold): Likewise.
27095 (__exp): Call __ieee754_exp before checking for overflow and
27096 underflow.
27097 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
27098 (u_threshold): Likewise.
27099 (__expf): Call __ieee754_expf before checking for overflow and
27100 underflow.
27101 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
27102 (u_threshold): Likewise.
27103 (__expl): Call __ieee754_expl before checking for overflow and
27104 underflow.
27105 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
27106 (__ieee754_expl): Allow for and saturate large arguments.
27107 * math/libm-test.inc (exp_test): Add another test. Do not allow
27108 missing overflow exception on overflow.
27109 (expm1_test): Do not allow missing overflow exception on overflow.
27110
6698b8bf
JM
27111 * sysdeps/i386/fpu/e_expl.c: Move to ...
27112 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
27113 rather than using inline asm.
27114 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
27115 * sysdeps/x86_64/fpu/e_expl.S: Copy from
27116 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
27117
7b17aeda
JM
27118 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
27119 (nice): Likewise.
27120 (poll): Likewise.
27121 (signal): Likewise.
27122 (time): Likewise.
27123 (times): Likewise.
27124
f7c85819
JM
271252012-05-04 Joseph Myers <joseph@codesourcery.com>
27126
27127 * sysdeps/unix/syscalls.list (adjtime): Add entry from
27128 sysdeps/unix/common/syscalls.list.
27129 (fchmod): Likewise.
27130 (fchown): Likewise.
27131 (ftruncate): Likewise.
27132 (getrusage): Likewise.
27133 (gettimeofday): Likewise.
27134 (setpgid): Likewise.
27135 (setregid): Likewise.
27136 (setreuid): Likewise.
27137 (sigaction): Likewise.
27138 (truncate): Likewise.
27139 (vhangup): Likewise.
27140 * sysdeps/unix/common/syscalls.list: Remove file.
27141 * sysdeps/unix/bsd/Implies: Don't include unix/common.
27142 * sysdeps/unix/sysv/linux/Implies: Likewise.
27143
336270d0
L
271442012-05-04 H.J. Lu <hongjiu.lu@intel.com>
27145
27146 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
27147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
27148 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
27149 Moved to ...
27150 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
27151 Here.
27152 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
27153 to ...
27154 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
27155 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
27156 to ...
27157 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
27158 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
27159 to ...
27160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
27161 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
27162 to ...
27163 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
27164 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
27165 to ...
27166 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
27167 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
27168 to ...
27169 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
27170 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
27171 to ...
27172 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
27173 Here.
27174 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
27175 to ...
27176 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
27177 Here.
27178 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
27179 to ...
27180 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
27181 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
27182 Moved to ...
27183 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
27184 Here.
27185 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
27186 to ...
27187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
27188
d128e450
JM
271892012-05-04 Joseph Myers <joseph@codesourcery.com>
27190
fa8ee516
JM
27191 * sysdeps/unix/common/bits/dirent.h: Remove file.
27192 * sysdeps/unix/common/bits/fcntl.h: Likewise.
27193
d128e450
JM
27194 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
27195 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
27196 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
27197 * sysdeps/unix/bsd/isatty.c: Likewise.
27198 * sysdeps/unix/bsd/tcdrain.c: Likewise.
27199 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
27200 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
27201
ff8faaf0 272022012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 27203
62881be4 27204 [BZ #13563]
31dc8730
AZ
27205 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
27206 long double comparison inaccuracies.
27207 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
27208 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27209
6fef930c
AS
272102012-05-04 Andreas Schwab <schwab@linux-m68k.org>
27211
27212 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
27213 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
27214
8f203e6c
JM
272152012-05-04 Joseph Myers <joseph@codesourcery.com>
27216
27217 [BZ #14049]
27218 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
27219 nonzero digits before rounding a hex value.
27220 * stdlib/tst-strtod.c (tests): Add another test.
27221
5197d9c2
AK
272222012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27223
27224 * sysdeps/s390/fpu/libm-test-ulps: Update.
27225
f0c1dedf
AJ
272262012-05-03 Andreas Jaeger <aj@suse.de>
27227
27228 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
27229 does not get optimized out.
27230 (malloc_opt_barrier): New.
27231
a65ef2ae 272322012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 27233 Roland McGrath <roland@hack.frob.com>
a65ef2ae 27234
2b942cb7 27235 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 27236 intermediate file deletion.
2b942cb7 27237 (generated): Add .symlist files.
a65ef2ae 27238
54b71e02
JM
272392012-05-03 Joseph Myers <joseph@codesourcery.com>
27240
27241 [BZ #13775]
27242 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
27243 Redirect under this condition.
27244 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27245 [__USE_GNU] (__dprintf_chk): Not under this condition.
27246 [__USE_GNU] (__vdprintf_chk): Likewise.
27247 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
27248 under this condition.
27249 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27250 [__USE_XOPEN2K8] (dprintf): Define under this condition.
27251 [__USE_XOPEN2K8] (vdprintf): Likewise.
27252 [__USE_GNU] (__dprintf_chk): Not under this condition.
27253 [__USE_GNU] (__vdprintf_chk): Likewise.
27254 [__USE_GNU] (dprintf): Likewise.
27255 [__USE_GNU] (vdprintf): Likewise.
27256
d3dfcc41
RM
272572012-05-03 Roland McGrath <roland@hack.frob.com>
27258
27259 * elf/Makefile (common-generated): Set this instead of generated for
27260 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
27261 $(all-built-dso)-derived lists.
27262
7ac30cc5
AJ
272632012-05-03 Andreas Jaeger <aj@suse.de>
27264
0c51e550
AJ
27265 * sysdeps/i386/fpu/libm-test-ulps: Update.
27266
7ac30cc5
AJ
27267 * FAQ: Removed.
27268 * FAQ.in: Likewise.
27269 * scripts/gen-FAQ.pl: Likewise.
27270 * manual/install.texi (Installation): Point to online location of
27271 FAQ.
27272 * Makefile (files-for-dist): Remove FAQ.
27273 (FAQ): Remove.
27274
d4c2917f
AM
272752012-05-02 Allan McRae <allan@archlinux.org>
27276
27277 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
27278 (LDFLAGS-reldepmod5.so): Likewise.
27279 (LDFLAGS-reldep6mod1.so): Likewise.
27280 (LDFLAGS-reldep6mod4.so): Likewise.
27281 (LDFLAGS-reldep8mod3.so): Likewise.
27282 (LDFLAGS-unload4mod1.so): Likewise.
27283 (LDFLAGS-unload4mod2.so): Likewise.
27284 (LDFLAGS-tst-initorder): Likewise.
27285 (LDFLAGS-tst-initordera2.so): Likewise.
27286 (LDFLAGS-tst-initordera3.so): Likewise.
27287 (LDFLAGS-tst-initordera4.so): Likewise.
27288 (LDFLAGS-tst-initorderb2.so): Likewise.
27289 (LDFLAGS-noload): Likewise.
27290 (LDFLAGS-next): Likewise.
27291 (LDFLAGS-order2mod1.so): Likewise.
27292 (LDFLAGS-order2mod2.so): Likewise.
27293 (LDFLAGS-tst-initorder2): Likewise.
27294 (LDFLAGS-tst-initorder2a.so): Likewise.
27295 (LDFLAGS-tst-initorder2b.so): Likewise.
27296 (LDFLAGS-tst-initorder2c.so): Likewise.
27297 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
27298
d77f993f
DM
272992012-05-02 David S. Miller <davem@davemloft.net>
27300
27301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27302
171a70b4
PP
273032012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
27304
27305 [BZ #14055]
27306 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
27307
0be196ad
AJ
273082012-05-02 Andreas Jaeger <aj@suse.de>
27309
27310 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
27311 since we manipulate rounding mode.
27312 (CPPFLAGS-test-idouble.c): Likewise.
27313 (CPPFLAGS-test-ifloat.c): Likewise.
27314 (CFLAGS-test-ldouble.c): Likewise.
27315 (CFLAGS-test-double.c): Likewise.
27316 (CFLAGS-test-float.c): Likewise.
27317 (CFLAGS-test-misc.c): Likewise.
27318 (CFLAGS-test-test-fenv.c): Likewise.
27319
4f9d04aa
AZ
273202012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27321
2b942cb7
RM
27322 [BZ #2550]
27323 [BZ #2570]
27324 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
27325 comparisons to determine direction to adjust input.
4f9d04aa 27326
82a79e7d
RM
273272012-05-01 Roland McGrath <roland@hack.frob.com>
27328
f5a01ca9
RM
27329 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
27330 output to the target.
27331
90fe4186
RM
27332 * scripts/localplt.awk: New file.
27333 * elf/Makefile ($(objpfx)check-localplt): Target removed.
27334 (check-localplt-CFLAGS): Variable removed.
27335 ($(all-built-dso:=.jmprel)): New static pattern rule.
27336 (generated): Add those targets.
27337 (localplt-built-dso): New variable.
27338 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
27339
27340 * elf/check-localplt.c: File removed.
27341
82397ed6
RM
27342 * scripts/check-execstack.awk: New file.
27343 * elf/Makefile ($(objpfx)check-execstack): Target removed.
27344 (check-execstack-CFLAGS): Variable removed.
27345 ($(objpfx)check-execstack.h): Target removed.
27346 ($(objpfx)execstack-default): New target.
27347 (generated): Add that instead of check-execstack.h.
27348 ($(all-built-dso:=.phdr)): New static pattern rule.
27349 (generated): Add those targets.
27350 * elf/check-execstack.c: File removed.
27351
82a79e7d
RM
27352 * scripts/check-textrel.awk: New file.
27353 * elf/Makefile ($(objpfx)check-textrel): Target removed.
27354 (check-textrel-CFLAGS): Variable removed.
27355 (all-built-dso): Use := to define.o
27356 ($(all-built-dso:=.dyn)): New static pattern rule.
27357 (generated): Add those targets.
27358 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
27359 * config.make.in (READELF): New substituted variable.
27360 * elf/check-textrel.c: File removed.
27361
62fde54f 273622012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 27363
615605c9
JM
27364 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27365 allow.
27366 * conform/data/ctype.h-data [C99-based standards] (isblank):
27367 Expect function.
27368 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
27369 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
27370 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27371 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
27372 Specify type. Require positive value.
27373 (EILSEQ): Likewise.
27374 (ERANGE): Likewise.
27375 [ISO || POSIX] (EILSEQ): Do not expect.
27376 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
27377 Specify type. Require positive value.
27378 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
27379 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
27380 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
27381 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
27382 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
27383 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
27384 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
27385 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
27386 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
27387 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
27388 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
27389 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
27390 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
27391 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
27392 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
27393 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
27394 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
27395 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
27396 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
27397 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
27398 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
27399 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
27400 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
27401 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
27402 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
27403 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
27404 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
27405 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
27406 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
27407 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
27408 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
27409 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
27410 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
27411 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
27412 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
27413 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
27414 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
27415 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
27416 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
27417 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
27418 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
27419 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
27420 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
27421 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
27422 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
27423 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
27424 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
27425 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
27426 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
27427 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
27428 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
27429 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
27430 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
27431 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
27432 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
27433 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
27434 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
27435 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
27436 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
27437 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
27438 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
27439 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
27440 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
27441 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
27442 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
27443 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
27444 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
27445 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
27446 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
27447 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
27448 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
27449 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
27450 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
27451 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
27452 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
27453 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
27454 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
27455 Require >= 2.
27456 (FLT_ROUNDS): Expect as macro, not constant.
27457 (FLT_MANT_DIG): Use macro-int-constant.
27458 (DBL_MANT_DIG): Likewise.
27459 (LDBL_MANT_DIG): Likewise.
27460 (FLT_DIG): Likewise.
27461 (DBL_DIG): Likewise.
27462 (LDBL_DIG): Likewise.
27463 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
27464 (DBL_MIN_EXP): Likewise.
27465 (LDBL_MIN_EXP): Likewise.
27466 (FLT_MAX_EXP): Use macro-int-constant.
27467 (DBL_MAX_EXP): Likewise.
27468 (LDBL_MAX_EXP): Likewise.
27469 (FLT_MAX_10_EXP): Likewise.
27470 (DBL_MAX_10_EXP): Likewise.
27471 (LDBL_MAX_10_EXP): Likewise.
27472 (FLT_MAX): Use macro-constant.
27473 (DBL_MAX): Likewise.
27474 (LDBL_MAX): Likewise.
27475 (FLT_EPSILON): Use macro-constant. Give upper bound.
27476 (DBL_EPSILON): Likewise.
27477 (LDBL_EPSILON): Likewise.
27478 (FLT_MIN): Likewise.
27479 (DBL_MIN): Likewise.
27480 (LDBL_MIN): Likewise.
27481 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
27482 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
27483 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
27484 [ISO11] (FLT_HAS_SUBNORM): Likewise.
27485 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
27486 [ISO11] (DBL_DECIMAL_DIG): Likewise.
27487 [ISO11] (FLT_DECIMAL_DIG): Likewise.
27488 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
27489 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
27490 [ISO11] (FLT_TRUE_MIN): Likewise.
27491 [ISO11] (LDBL_TRUE_MIN): Likewise.
27492 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27493 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
27494 (SCHAR_MIN): Use macro-int-constant. Specify type.
27495 (SCHAR_MAX): Likewise.
27496 (UCHAR_MAX): Likewise.
27497 (CHAR_MIN): Likewise.
27498 (CHAR_MAX): Likewise.
27499 (MB_LEN_MAX): Use macro-int-constant.
27500 (SHRT_MIN): Use macro-int-constant. Specify type.
27501 (SHRT_MAX): Likewise.
27502 (USHRT_MAX): Likewise.
27503 (INT_MAX): Likewise.
27504 (INT_MIN): Use macro-int-constant. Specify type. Make upper
27505 bound negative.
27506 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
27507 bound with "U".
27508 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27509 bound with "L".
27510 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
27511 bound negative. Suffix upper bound with "L".
27512 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27513 bound with "UL".
27514 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
27515 Specify type.
27516 [C99-based standards] (LLONG_MAX): Likewise.
27517 [C99-based standards] (ULLONG_MAX): Likewise.
27518 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
27519 == 0.
27520 [ISO11] (max_align_t): Require type.
27521 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27522
c9140a62
JM
27523 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
27524 from $CFLAGS, without defining away __attribute__ calls.
27525 (checknamespace): Use $CFLAGS_namespace.
27526
9af0bf29
JM
27527 * conform/conformtest.pl (@keywords): Only include C99 keywords
27528 for standards based on C99 or C11.
27529
343222a2
JM
27530 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
27531 Disable tests.
27532 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
27533 UNIX98]: Likewise.
27534
661f8cf0
JM
27535 * conform/conformtest.pl: Handle "macro-int-constant" and test for
27536 usability of symbols in #if.
27537
ee74b9cb
JM
27538 * conform/conformtest.pl: If macro or constant types start
27539 "promoted:", expect the symbol to be of the following type
27540 promoted by the integer promotions.
62fde54f 27541
aafc49b3
JM
27542 * conform/conformtest.pl: Parse all "constant" and "macro" lines
27543 in one place. Also handle "macro-constant".
27544
fefdf574
JM
27545 * conform/conformtest.pl: Only accept expected macro values with
27546 "==". Parse all "macro" lines in one place.
27547 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
27548
f2d922fe
JM
27549 * conform/conformtest.pl: Handle braced types on "constant" lines
27550 instead of handling "typed-constant".
27551 * conform/data/signal.h-data: Use "constant" instead of
27552 "typed-constant".
27553
d22956c9
JM
27554 * conform/conformtest.pl: Handle "optional-" at start of lines in
27555 one place rather than duplicating several cases. Handle each
27556 format of "macro" line with initial "optional-".
27557
028e2e38
JM
27558 * conform/conformtest.pl: Only accept expected constant or
27559 optional-constant values with "==". Parse all "constant" lines in
27560 one place. Parse all "optional-constant" lines in one place.
27561 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
27562 * conform/data/fmtmsg.h-data: Likewise.
27563 * conform/data/netinet/in.h-data: Likewise.
27564 * conform/data/tar.h-data: Likewise.
27565 * conform/data/limits.h-data: Use "==" form on "constant" and
27566 "optional-constant" lines.
27567
1b8f2850
JM
27568 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
27569 Use -std=c99 for XOPEN2K.
27570 (@knownproblems): Remove.
27571 (newtoken): Don't check %isknown.
27572
a05a144b
JM
27573 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
27574 Do not expect macro.
27575 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
27576 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
27577 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
27578 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
27579 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
27580 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
27581 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
27582 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
27583 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
27584 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
27585 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
27586 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
27587 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
27588 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
27589 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
27590 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
27591 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
27592 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
27593 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
27594 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
27595 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
27596 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
27597 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
27598 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
27599 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
27600 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
27601 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
27602 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
27603 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
27604 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
27605 [XPG3] (acosh): Likewise.
27606 [XPG3] (asinh): Likewise.
27607 [XPG3] (atanh): Likewise.
27608 [XPG3] (cbrt): Likewise.
27609 [XPG3] (expm1): Likewise.
27610 [XPG3] (ilogb): Likewise.
27611 [XPG3] (log1p): Likewise.
27612 [XPG3] (logb): Likewise.
27613 [XPG3] (nextafter): Likewise.
27614 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
27615 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
27616 [XPG3] (remainder): Likewise.
27617 [XPG3] (rint): Likewise.
27618 [XPG3 || XPG4 || UNIX98] (round): Likewise.
27619 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
27620 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
27621 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
27622 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
27623 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
27624 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
27625 [UNIX98 || XOPEN2K] (scalb): Expect.
27626 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
27627 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
27628 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
27629 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
27630 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
27631 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
27632 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
27633 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
27634 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
27635 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
27636 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
27637 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
27638 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
27639 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
27640 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
27641 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
27642 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
27643 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
27644 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
27645 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
27646 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
27647 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
27648 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
27649 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
27650 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
27651 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
27652 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
27653 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
27654 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
27655 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
27656 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
27657 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
27658 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
27659 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
27660 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
27661 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
27662 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
27663 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
27664 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
27665 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
27666 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
27667 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
27668 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
27669 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
27670 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
27671 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
27672 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
27673 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
27674 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
27675 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
27676 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
27677 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
27678 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
27679 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
27680 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
27681 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
27682 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
27683 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
27684 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
27685 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
27686 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
27687 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
27688 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
27689 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
27690 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
27691 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
27692 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
27693 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
27694 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
27695 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
27696 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
27697 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
27698 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
27699 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
27700 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
27701 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
27702 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
27703 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
27704 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
27705 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
27706 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
27707 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
27708 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
27709 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
27710 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
27711 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
27712 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
27713 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
27714 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
27715 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
27716 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
27717 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
27718 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
27719 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
27720 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
27721 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
27722 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
27723 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
27724 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
27725 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
27726 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
27727 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
27728 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
27729 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
27730 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
27731 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
27732 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
27733 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
27734 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
27735 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
27736 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
27737 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
27738 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
27739 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
27740 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
27741 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
27742 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
27743 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
27744 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
27745 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
27746 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
27747 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
27748 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
27749 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
27750 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
27751 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
27752 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
27753 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
27754 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
27755 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
27756 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
27757 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
27758 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
27759 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
27760 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
27761 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
27762 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
27763
73c5ebe3
JM
27764 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
27765 _XOPEN_SOURCE_EXTENDED for XPG4.
27766
39c33b6c
JM
27767 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
27768
62fde54f
JM
27769 * Makeconfig (localtime): Remove variable.
27770 (inst_localtime-file): Likewise.
27771
0741d64c
AS
277722012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27773
27774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27775 Update.
27776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27777 Update.
27778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27779 Update.
27780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27781 Update.
27782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
27783 Update.
27784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
27785 Update.
27786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27787 Update.
27788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
27789 Update.
27790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27791 Update.
27792
7cb029ee
JM
277932012-05-01 Joseph Myers <joseph@codesourcery.com>
27794
27795 [BZ #2550]
27796 [BZ #2570]
27797 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
27798 comparisons to determine direction to adjust input.
27799 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27800 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
27801 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
27802 Likewise.
27803 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
27804 Likewise.
27805 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27806 Likewise.
27807 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
27808 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27809 Likewise.
27810 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27811 Likewise.
27812 * math/libm-test.inc (nexttoward_test): Add more tests.
27813
412bd966
AS
278142012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27815
27816 [BZ #14040]
27817 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
27818 in version GLIBC_2.1, not GLIBC_2.0.
27819 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
27820 Likewise.
27821
9568c0c2
JM
278222012-04-30 Joseph Myers <joseph@codesourcery.com>
27823
adfbc8ac
JM
27824 [BZ #13942]
27825 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
27826 (1 - x) * (1 + x).
27827 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27828 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
27829 * math/libm-test.inc (acos_test): Add more tests.
27830 (asin_test): Likewise.
27831 * sysdeps/i386/fpu/libm-test-ulps: Update.
27832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27833
5ba3cc69
JM
27834 [BZ #14034]
27835 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
27836 of square root.
27837 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
27838 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27839 * math/libm-test.inc (acos_test_tonearest): New function.
27840 (acos_test_towardzero): Likewise.
27841 (acos_test_downward): Likewise.
27842 (acos_test_upward): Likewise.
27843 (asin_test_tonearest): Likewise.
27844 (asin_test_towardzero): Likewise.
27845 (asin_test_downward): Likewise.
27846 (asin_test_upward): Likewise.
27847 (main): Call the new functions.
27848 * sysdeps/i386/fpu/libm-test-ulps: Update.
27849 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27850
9568c0c2
JM
27851 [BZ #13884]
27852 [BZ #13924]
27853 * math/e_exp10.c: Include <float.h>.
27854 (__ieee754_exp10): Handle underflow here rather than multiplying
27855 large negative argument by M_LN10.
27856 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
27857 of __ieee754_expf.
27858 * math/e_exp10l.c: Include <float.h>.
27859 (__ieee754_exp10l): Handle underflow here rather than multiplying
27860 large negative argument by M_LN10l.
27861 * math/libm-test.inc (exp10_test): Add another test. Do not allow
27862 spurious overflow exception on underflow.
27863
5ac3ea17
MP
278642012-04-29 Marek Polacek <polacek@redhat.com>
27865
27866 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
27867 (__fortify_function): New macro.
27868 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
27869 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
27870 __extern_always_inline.
27871 * libio/bits/stdio2.h: Likewise.
27872 * libio/bits/stdio.h: Likewise.
27873 * string/string.h: Likewise.
27874 * string/bits/string3.h: Likewise.
27875 * include/stdio.h: Likewise.
27876 * stdlib/bits/stdlib.h: Likewise.
27877 * stdlib/stdlib.h: Likewise.
27878 * rt/bits/mqueue2.h: Likewise.
27879 * rt/mqueue.h: Likewise.
27880 * posix/bits/unistd.h: Likewise.
27881 * posix/unistd.h: Likewise.
27882 * io/bits/poll2.h: Likewise.
27883 * io/bits/fcntl2.h: Likewise.
27884 * io/fcntl.h: Likewise.
27885 * io/sys/poll.h: Likewise.
27886 * misc/bits/syslog.h: Likewise.
27887 * misc/bits/syslog-ldbl.h: Likewise.
27888 * misc/sys/syslog.h: Likewise.
27889 * socket/bits/socket2.h: Likewise.
27890 * socket/sys/socket.h: Likewise.
27891 * debug/tst-chk1.c: Likewise.
27892 * wcsmbs/bits/wchar2.h: Likewise.
27893 * wcsmbs/bits/wchar-ldbl.h: Likewise.
27894 * wcsmbs/wchar.h: Likewise.
27895
ecf0ebfb
AJ
278962012-04-29 Andreas Jaeger <aj@suse.de>
27897
27898 * Makerules (tests): Remove enable-check-abi protection.
27899 (check-abi-warn): Remove.
27900 (check-abi-%): Remove check-abi-warn usage.
27901
27902 * configure.in: Remove check-abi configure option.
27903 * configure: Regenerated.
27904 * config.make.in (enable-check-abi): Remove.
27905
6d5c57fa
AS
279062012-04-28 Andreas Schwab <schwab@linux-m68k.org>
27907
24c5d07e 27908 [BZ #14033]
ded5180a
AS
27909 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
27910 double functions to double *_finite functions.
27911
7e0d315d
AS
27912 [BZ #13941]
27913 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
27914 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
27915 LDBL_MIN_EXP.
27916 * stdio-common/Makefile (tests): Add tst-sprintf3.
27917 * stdio-common/tst-sprintf3.c: New file.
27918
6d5c57fa
AS
27919 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
27920 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
27921
0749ff8b
JM
279222012-04-28 Joseph Myers <joseph@codesourcery.com>
27923
27924 * conform/conformtest.pl: Remove duplicate typed-constant
27925 handling.
27926
8dbd5d7b
DM
279272012-04-28 David S. Miller <davem@davemloft.net>
27928
27929 * Makerules (%.abilist): Add vpath on sysdep_dirs.
27930 (check-abi-%): Remove AWK script prerequisite and explicit
27931 abilist directory.
27932 (check-abi): Rewrite to just diff the symlist with the abilist.
27933 (config-tls, config-abi-config): Delete, no longer used.
27934 (update-abi-%): Remove AWK script and explicit abilist directory.
27935 (update-abi): Rewrite to simply compare and conditionally copy the
27936 symlist and the sysdep abilist file. Remove update-abi-config
27937 checks.
27938 * abilist/ld.abilist: Remove.
27939 * abilist/libBrokenLocale.abilist: Remove.
27940 * abilist/libanl.abilist: Remove.
27941 * abilist/libcrypt.abilist: Remove.
27942 * abilist/libdl.abilist: Remove.
27943 * abilist/librt.abilist: Remove.
27944 * abilist/libthread_db.abilist: Remove.
27945 * abilist/libutil.abilist: Remove.
27946 * scripts/extract-abilist.awk: Remove.
27947 * scripts/merge-abilist.awk: Remove.
27948 * sysdeps/generic/libcidn.abilist: New file.
27949 * sysdeps/generic/libnss_compat.abilist: New file.
27950 * sysdeps/generic/libnss_db.abilist: New file.
27951 * sysdeps/generic/libnss_dns.abilist: New file.
27952 * sysdeps/generic/libnss_files.abilist: New file.
27953 * sysdeps/generic/libnss_hesiod.abilist: New file.
27954 * sysdeps/generic/libnss_nis.abilist: New file.
27955 * sysdeps/generic/libnss_nisplus.abilist: New file.
27956 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
27957 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
27958 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
27959 file.
27960 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
27961 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
27962 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
27963 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
27964 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
27965 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
27966 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
27967 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
27968 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
27969 file.
27970 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
27971 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
27972 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
27973 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
27974 file.
27975 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
27976 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
27977 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
27978 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
27979 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
27980 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
27981 file.
27982 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
27983 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
27984 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
27985 file.
27986 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
27987 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
27988 New file.
27989 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
27990 New file.
27991 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
27992 New file.
27993 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
27994 New file.
27995 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
27996 New file.
27997 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
27998 New file.
27999 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
28000 New file.
28001 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
28002 New file.
28003 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
28004 New file.
28005 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
28006 New file.
28007 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
28008 New file.
28009 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
28010 New file.
28011 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
28012 New file.
28013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
28014 file.
28015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
28016 New file.
28017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
28018 New file.
28019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
28020 file.
28021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
28022 New file.
28023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
28024 New file.
28025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
28026 file.
28027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
28028 New file.
28029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28030 New file.
28031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
28032 New file.
28033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
28034 New file.
28035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
28036 New file.
28037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
28038 New file.
28039 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
28040 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
28041 file.
28042 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
28043 New file.
28044 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
28045 file.
28046 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
28047 file.
28048 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
28049 file.
28050 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
28051 file.
28052 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
28053 file.
28054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28055 New file.
28056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
28057 file.
28058 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
28059 file.
28060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
28061 New file.
28062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
28063 file.
28064 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
28065 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
28066 file.
28067 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
28068 New file.
28069 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
28070 file.
28071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
28072 file.
28073 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
28074 file.
28075 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
28076 file.
28077 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
28078 file.
28079 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28080 New file.
28081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
28082 file.
28083 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
28084 file.
28085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
28086 New file.
28087 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
28088 file.
28089 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28090 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
28091 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
28092 file.
28093 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
28094 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
28095 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
28096 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
28097 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
28098 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
28099 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
28100 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
28101 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
28102 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
28103 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
28104 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
28105 file.
28106 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
28107 New file.
28108 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
28109 file.
28110 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
28111 file.
28112 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
28113 file.
28114 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
28115 file.
28116 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
28117 file.
28118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28119 New file.
28120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
28121 New file.
28122 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
28123 file.
28124 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
28125 New file.
28126 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
28127 file.
28128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
28129 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
28130 file.
28131 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
28132 New file.
28133 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
28134 file.
28135 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
28136 file.
28137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
28138 file.
28139 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
28140 file.
28141 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
28142 file.
28143 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28144 New file.
28145 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
28146 New file.
28147 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
28148 file.
28149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
28150 New file.
28151 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
28152 file.
28153
41d73a1b
JM
281542012-04-28 Joseph Myers <joseph@codesourcery.com>
28155
28156 * conform/conformtest.pl: Fix typo in handling typed-constant from
28157 allow-header.
28158
28aeeda4
JM
281592012-04-27 Joseph Myers <joseph@codesourcery.com>
28160
adae8f5e
JM
28161 * README: Cut down references to pre-2.6 Linux kernels and
28162 Linuxthreads. Update lists of configurations in libc and ports
28163 and sort alphabetically. Say "or newer" with Linux kernel version
28164 requirements.
28165
28aeeda4
JM
28166 * config.h.in [IS_IN_build]: Allow compiling without optimization.
28167
a462cb63
RA
281682012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28169
28170 [BZ #887]
28171 * math/libm-test.inc (logb_test_downward): New test to expose
28172 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
28173 rounding mode.
28174
6ad3493e
JM
281752012-04-27 Joseph Myers <joseph@codesourcery.com>
28176
28177 [BZ #14027]
28178 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
28179 to be done.
28180 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
28181 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
28182
2ce4f015
JM
281832012-04-26 Joseph Myers <joseph@codesourcery.com>
28184
5aeb141a
JM
28185 * sysdeps/unix/i386/brk.S: Remove file.
28186 * sysdeps/unix/i386/dl-brk.S: Likewise.
28187 * sysdeps/unix/i386/pipe.S: Likewise.
28188 * sysdeps/unix/i386/sigreturn.S: Likewise.
28189 * sysdeps/unix/i386/syscall.S: Likewise.
28190 * sysdeps/unix/i386/vfork.S: Likewise.
28191 * sysdeps/unix/i386/wait.S: Likewise.
28192
7143acae
JM
28193 * sysdeps/unix/common/tcsendbrk.c: Move to ...
28194 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
28195
2ce4f015
JM
28196 * configure.in (arm*-none*): Do not allow without
28197 --enable-hacker-mode.
28198 (netbsd*): Remove case setting base_os.
28199 (386bsd*): Likewise.
28200 (freebsd*): Likewise.
28201 (bsdi*): Likewise.
28202 (osf*): Likewise.
28203 (sunos*): Likewise.
28204 (ultrix*): Likewise.
28205 (newsos*): Likewise.
28206 (dynix*): Likewise.
28207 (*bsd*): Likewise.
28208 (sysv*): Likewise.
28209 (isc*): Likewise.
28210 (esix*): Likewise.
28211 (sco*): Likewise.
28212 (minix*): Likewise.
28213 (irix4*): Likewise.
28214 (irix6*): Likewise.
28215 (solaris[2-9]*): Likewise.
28216 (none): Likewise.
28217 * configure: Regenerated.
28218
0ac229c8
AZ
282192012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28220
28221 [BZ #11521]
28222 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
28223 overflow or cancellation in calculating denominator.
28224 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
28225 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
28226 down expression to avoid unexpected rounding in newer GCCs.
28227 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
28228
33f244f4
DM
282292012-04-26 David S. Miller <davem@davemloft.net>
28230
28231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
28232 long-double compat symbols.
28233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
28237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
28239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
28240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
28241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
28242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
28243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
28244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
28245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28246
cfa1f3e8
DM
282472012-04-25 David S. Miller <davem@davemloft.net>
28248
28249 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
28250 HWCAP_* values only after the memory barriers have been defined.
28251 (atomic_full_barrier): Define.
28252 (atomic_read_barrier): Define.
28253 (atomic_write_barrier): Define.
28254
6e236b92
SP
282552012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28256
28257 * shlib-versions: Add libgcc_s version information.
28258 * sysdeps/generic/libgcc_s.h: Remove.
28259 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
28260 libgcc_s.h.
28261 * sysdeps/gnu/unwind-resume.c: Likewise.
28262 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
28263
aab39a09
DM
282642012-04-25 David S. Miller <davem@davemloft.net>
28265
28266 * sysdeps/unix/sparc/brk.S: Delete.
28267 * sysdeps/unix/sparc/dl-brk.S: Delete.
28268 * sysdeps/unix/sparc/pipe.S: Delete.
28269 * sysdeps/unix/sparc/sysdep.S: Delete.
28270 * sysdeps/unix/sparc/sysdep.h: Delete.
28271 * sysdeps/unix/sparc/vfork.S: Delete.
28272 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
28273 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
28274 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
28275 ret_ERRVAL, r0, r1, MOVE): Define.
28276 (JUMPTARGET): Remove.
28277 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
28278 sysdeps/unix/sparc/sysdep.h
28279 (ENTRY, END): Remove.
28280 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28281
a3cc4f48
JM
282822012-04-25 Joseph Myers <joseph@codesourcery.com>
28283
2ed8cda2
JM
28284 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
28285 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
28286 -DIS_IN_build.
28287
35d76d59
JM
28288 * timezone/README: Update upstream location and email address for
28289 tzcode and tzdata.
28290 * timezone/zdump.c: Update from tzcode 2012b.
28291 * timezone/zic.c: Likewise.
28292
a3cc4f48
JM
28293 * configure.in (libc_cv_as_needed): Remove test.
28294 * configure: Regenerated.
28295 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
28296 conditional definition.
28297 [$(have-as-needed) != yes] (no-as-needed): Likewise.
28298 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
28299 * config.make.in (have-as-needed): Remove variable.
28300
ceab42c3
SP
283012012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28302 Paul Pluzhnikov <ppluzhnikov@google.com>
28303
28304 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
28305 strings correctly.
28306
3ce2865f
CLT
283072012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
28308
28309 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
28310 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
28311 * sysdeps/sh/strlen.S: Likewise.
28312
f37e0d68
JM
283132012-04-24 Joseph Myers <joseph@codesourcery.com>
28314
ae186e9a
JM
28315 * sysdeps/unix/fork.S: Remove file.
28316 * sysdeps/unix/i386/fork.S: Likewise.
28317 * sysdeps/unix/sparc/fork.S: Likewise.
28318
b96914af
JM
28319 * sysdeps/unix/system.c: Remove file.
28320 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
28321
f37e0d68
JM
28322 * sysdeps/unix/getegid.S: Remove file.
28323 * sysdeps/unix/geteuid.S: Likewise.
28324
87ef29ca
RM
283252012-04-24 Roland McGrath <roland@hack.frob.com>
28326
83bcd236
RM
28327 * scripts/check-localplt.awk: New file.
28328 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
28329 of diff.
28330 * scripts/data/localplt-generic.data: Add a comment.
28331
87ef29ca
RM
28332 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
28333 NODE when __dir_mkfile failed.
28334 * sysdeps/mach/hurd/symlinkat.c: Likewise.
28335 Reported by Ludovic Courtès <ludo@gnu.org>.
28336
e5a6e567
AJ
283372012-04-24 Andreas Jaeger <aj@suse.de>
28338
28339 * Makerules (common-clean): Also remove gen-as-const-headers
28340 files.
28341
c1820385
JM
283422012-04-24 Joseph Myers <joseph@codesourcery.com>
28343
28344 * Makerules (native-compile): Do not change working directory for
28345 build. Use $(OUTPUT_OPTION) in command.
28346 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
28347
94e02fc4
AZ
283482012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28349
28350 [BZ #13886]
28351 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
28352 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
28353 * math/libm-test.inc (floor_test): Add more tests.
28354 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
28355
3a533ca3
JM
283562012-04-24 Joseph Myers <joseph@codesourcery.com>
28357
940ab4b3
JM
28358 * sysdeps/unix/getdents.c: Remove file.
28359 * sysdeps/unix/sysv/getdents.c: Likewise.
28360 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
28361
90e037bd
JM
28362 * sysdeps/unix/syscalls.list (madvise): Add syscall from
28363 sysdeps/unix/mman/syscalls.list.
28364 (mmap): Likewise.
28365 (mprotect): Likewise.
28366 (msync): Likewise.
28367 (munmap): Likewise.
28368 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
28369 * sysdeps/unix/mman/syscalls.list: Remove.
28370 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
28371
3a533ca3
JM
28372 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
28373 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
28374 * configure: Regenerated.
28375 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
28376 $(libgcc_s_suffix).
28377 * config.make.in (libgcc_s_suffix): Remove variable.
28378
1ad743de
JM
283792012-04-23 Joseph Myers <joseph@codesourcery.com>
28380
4ad451e2
JM
28381 * sysdeps/unix/sysv/gethostname.c: Move to ...
28382 * sysdeps/posix/gethostname.c: ... here.
28383
5e37ce39
JM
28384 * sysdeps/unix/execve.S: Remove file.
28385
1ad743de
JM
28386 * sysdeps/unix/_exit.S: Remove file.
28387
4e681b5b
AJ
283882012-04-23 Andreas Jaeger <aj@suse.de>
28389
28390 [BZ #13739]
28391 * manual/Makefile: Remove make dist support, there's no
28392 need for a stand-alone documentation tar ball.
28393 (TEXI2DVI): Define always, it's not in Makeconfig.
28394 (dist): Removed.
28395 (tar-it): Removed.
28396 (edition): Removed.
28397 (glibc-doc-$(edition).tar): Removed
28398 (%.Z): Removed.
28399 (%.gz): Removed.
28400 (%.uu): Removed.
28401 (ETAGS): Remove, it's in Makeconfig.
28402 (move-if-change): Remove, it's in Makeconfig.
28403
38686a03 284042012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
28405
28406 [BZ #13970]
28407 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
28408 (strtod, strtof, strtold, strtol, strtoul, strtoq)
28409 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
28410 (strtod_l, strtof_l, strtold_l): Remove __wur.
28411 It is not necessarily an error to ignore strtol's return value.
28412 One can reliably look at the stored endptr to decide whether
28413 the number had valid syntax.
28414
7c0616fa
AJ
284152012-04-21 Andreas Jaeger <aj@suse.de>
28416
803cb6b7 28417 [BZ #13739]
7c0616fa
AJ
28418 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
28419
b0fe253f
JM
284202012-04-21 Joseph Myers <joseph@codesourcery.com>
28421
28422 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
28423 * sysdeps/unix/sysv/Versions: Remove file.
28424
8280f22d
MT
284252012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
28426
28427 [BZ #13927]
28428 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28429
75ce411f 284302012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
28431
28432 [BZ #7064]
28433 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
28434 version from __vm86.
28435
097d59fa
JM
284362012-04-20 Joseph Myers <joseph@codesourcery.com>
28437
a90f3bcb
JM
28438 * sysdeps/unix/common/lxstat.c: Remove file.
28439 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
28440
edc7ea78
JM
28441 * sysdeps/unix/sysv/Makefile: Remove file.
28442
cb78c221
JM
28443 * sysdeps/unix/sysv/direct.h: Remove file.
28444
efa6a45f
JM
28445 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
28446 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
28447 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
28448 * sysdeps/unix/sysv/bits/signum.h: Likewise.
28449 * sysdeps/unix/sysv/bits/stat.h: Likewise.
28450 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
28451 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
28452
9c9f2d0c
JM
28453 * sysdeps/unix/sysv/setrlimit.c: Remove file.
28454
4541c83b
JM
28455 * sysdeps/unix/xmknod.c: Remove file.
28456 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
28457
f5d153a0
JM
28458 * sysdeps/unix/sysv/settimeofday.c: Remove file.
28459
aa746595
JM
28460 * sysdeps/unix/sysv/i386/time.S: Remove file.
28461
cce5905e
JM
28462 * sysdeps/unix/fxstat.c: Remove file.
28463 * sysdeps/unix/xstat.c: Likewise.
28464 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
28465
37fa3841
JM
28466 * sysdeps/unix/sysv/sigaction.c: Remove file.
28467
ff1962a3
JM
28468 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
28469 (sysdep_headers): Remove variable.
28470 [termio.h not in sysdep_headers] (generated): Likewise.
28471 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
28472 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
28473 * sysdeps/unix/sysv/tcdrain.c: Likewise.
28474 * sysdeps/unix/sysv/tcflow.c: Likewise.
28475 * sysdeps/unix/sysv/tcflush.c: Likewise.
28476 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
28477 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
28478 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
28479 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
28480 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
28481
e7740d31
JM
28482 * sysdeps/unix/siglist.c: Remove file.
28483
ee06f18b
JM
28484 * sysdeps/unix/getppid.S: Remove file.
28485
097d59fa
JM
28486 * sysdeps/unix/mkdir.c: Remove file.
28487 * sysdeps/unix/rmdir.c: Likewise.
28488
ff3d51ec
AS
284892012-04-19 Andreas Schwab <schwab@linux-m68k.org>
28490
28491 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
28492 ERR_MAX value.
28493 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
28494 errlist-compat value.
28495
50f81fd7
DM
284962012-04-18 David S. Miller <davem@davemloft.net>
28497
28498 * sysdeps/generic/memcopy.h (reg_char): Delete.
28499 * debug/strcat_chk.c: Use char, not reg_char.
28500 * debug/strcpy_chk.c: Likewise.
28501 * debug/strncat_chk.c: Likewise.
28502 * debug/strncpy_chk.c: Likewise.
28503 * string/memchr.c: Likewise.
28504 * string/memrchr.c: Likewise.
28505 * string/rawmemchr.c: Likewise.
28506 * string/strcat.c: Likewise.
28507 * string/strchr.c: Likewise.
28508 * string/strchrnul.c: Likewise.
28509 * string/strcmp.c: Likewise.
28510 * string/strcpy.c: Likewise.
28511 * string/strncat.c: Likewise.
28512 * string/strncmp.c: Likewise.
28513 * string/strncpy.c: Likewise.
28514
8ff41c46
WS
285152012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28516
28517 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
28518 __builtin_memcopy is called when src and dest ranges are known to not
28519 overlap.
28520
6b652f46
WS
285212012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28522
28523 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
28524 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
28525 fwd_align_merge macro call.
28526 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
28527 bwd_align_merge macro call.
28528 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28529
b282631e
WS
285302012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28531
28532 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
28533 bwd_align_merge macros.
28534 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
28535 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
28536 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28537
95aa737c
DM
285382012-04-18 David S. Miller <davem@davemloft.net>
28539
28540 * sysdeps/sparc/sparc64/memcopy.h: Delete.
28541
7a99a614
AJ
285422012-04-18 Andreas Jaeger <aj@suse.de>
28543
28544 [BZ# 6794]
28545 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
28546 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
28547 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28548
28549 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
28550 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
28551 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28552
28553 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
28554 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
28555 Adjust for changed ldbl-128 files.
28556
28557 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
28558 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
28559 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28560
e5270c23
DM
285612012-04-17 David S. Miller <davem@davemloft.net>
28562
28563 * sysdeps/sparc/sparc32/memcopy.h: Delete.
28564
fb5e92c9
AS
285652012-04-17 Andreas Schwab <schwab@linux-m68k.org>
28566
28567 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
28568 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
28569 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
28570 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
28571 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28572 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
28573
76da7265
AZ
285742012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28575
28576 [BZ #6794]
28577 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
28578 * math/libm-test.inc: Add ilogb errno and exception tests.
28579 * math/w_ilogb.c: New file: ilogb wrapper.
28580 * math/w_ilogbf.c: New file: ilogbf wrapper.
28581 * math/w_ilogbl.c: New file: ilogbl wrapper.
28582 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
28583 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
28584 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
28585 exception being thrown with 0.0 as argument.
28586 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
28587 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
28588 exception being thrown with 0.0 as argument.
28589 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
28590 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28591 exception being thrown with 0.0 as argument.
28592 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
28593 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28594 exception being thrown with 0.0 as argument.
28595 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
28596 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 28597 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
28598 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
28599 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
28600 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
28601 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
28602 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
28603 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
28604
0396e69d
PB
286052012-04-17 Petr Baudis <pasky@ucw.cz>
28606
28607 * include/sys/uio.h: Change __vector to __iovec to avoid clash
28608 with altivec.
28609
750b5926
MP
286102012-04-16 Marek Polacek <polacek@redhat.com>
28611
28612 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
28613
751728a1
MP
286142012-04-16 Marek Polacek <polacek@redhat.com>
28615
28616 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
28617 operands of fdivp instruction.
28618
34a27407
L
286192012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28620
28621 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
28622 * elf/tst-auditmod3b.c: Likewise.
28623 * elf/tst-auditmod4b.c: Likewise.
28624 * elf/tst-auditmod5b.c: Likewise.
28625 * elf/tst-auditmod6b.c: Likewise.
28626 * elf/tst-auditmod6c.c: Likewise.
28627 * elf/tst-auditmod7b.c: Likewise.
28628 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
28629 * sysdeps/x86_64/preconfigure.in: Likewise.
28630 * sysdeps/x86_64/preconfigure: Regenerated.
28631
7e73e17d
L
286322012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28633
28634 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
28635 __ILP32__.
28636
c7a6ab72
AB
286372012-04-13 Antoine Balestrat <merkil33@gmail.com>
28638
28639 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28640 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
28641
a9e8e0e0
CL
286422012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
28643
28644 [BZ #13973]
28645 * locale/iso-639.def: Fix gl language name. Spotted by
28646 Yaron Shahrabani.
28647
ec98af7d
RM
286482012-04-12 Roland McGrath <roland@hack.frob.com>
28649
28650 [BZ #2074]
28651 * libio/libio.h (__io_write_fn): Update comment.
28652
247c3ede
PB
286532012-04-12 Petr Baudis <pasky@ucw.cz>
28654
28655 [BZ #2074]
28656 * stdio.texi (Hook Functions): The user provided writer function
28657 is not allowed to return -1.
28658
55939d6d
DM
286592012-04-11 David S. Miller <davem@davemloft.net>
28660
28661 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28662
90020f5a
MF
286632012-04-11 Mike Frysinger <vapier@gentoo.org>
28664
28665 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
28666 Add a leading slash to rtkaio.
28667
288f9098
JM
286682012-04-11 Jim Meyering <meyering@redhat.com>
28669
90020f5a
MF
28670 [BZ #11959]
28671 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
28672 It is not necessarily an error to ignore fwrite's return
28673 value. One can reliably use ferror to test for errors after
28674 the fact.
288f9098 28675
4be2b570
L
286762012-04-10 H.J. Lu <hongjiu.lu@intel.com>
28677
28678 * bits/types.h (__snseconds_t): New type.
28679 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
28680
28681 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
28682 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28683 (__SNSECONDS_T_TYPE): Likewise.
28684 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28685 (__SNSECONDS_T_TYPE): Likewise.
28686 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28687 (__SNSECONDS_T_TYPE): Likewise.
28688
288f9098 286892012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
28690
28691 [BZ #2636]
28692 * manual/time.texi (Processor Time): Return type of times is
28693 elapsed real time since an arbitrary point in the past.
28694 (CPU Time): Move CLK_TCK from here...
28695 (Processor Time): ...to here. Correct description.
28696 * manual/conf.texi (Constants for Sysconf): Correct description of
28697 _SC_CLK_TCK.
28698
d7dd4413
DM
286992012-04-10 David S. Miller <davem@davemloft.net>
28700
28701 [BZ #13967]
28702 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
28703 where the is a gap between DT_REL(A) and DT_JMPREL.
28704
b46068fc
L
287052012-04-10 H.J. Lu <hongjiu.lu@intel.com>
28706
28707 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
28708 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28709 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28710
73d65cc3
SP
287112012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28712
28713 * elf/dl-support.c (_dl_inhibit_cache): New variable.
28714 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
28715 (dl_main): Handle --inhibit-cache.
28716 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
28717 _dl_inhibit_cache.
28718 * elf/dl-load.c (_dl_map_object): Use it.
28719 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
28720
bcc8d661
JM
287212012-04-09 Joseph Myers <joseph@codesourcery.com>
28722
8f9a2fae
JM
28723 [BZ #13872]
28724 * sysdeps/i386/fpu/e_powl.S (p78): New object.
28725 (__ieee754_powl): Saturate large exponents rather than testing for
28726 overflow of y*log2(x).
28727 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28728 * math/libm-test.inc (pow_test): Do not permit spurious overflow
28729 exceptions.
28730
bcc8d661
JM
28731 [BZ #11521]
28732 * math/s_ctan.c: Include <float.h>.
28733 (__ctan): Avoid internal overflow or cancellation in calculating
28734 denominator.
28735 * math/s_ctanf.c: Likewise.
28736 * math/s_ctanl.c: Likewise.
28737 * math/s_ctanh.c: Likewise.
28738 * math/s_ctanhf.c: Likewise.
28739 * math/s_ctanhl.c: Likewise.
28740 * math/libm-test.inc (ctan_test): Add more tests.
28741 (ctanh_test): Likewise.
28742 * sysdeps/i386/fpu/libm-test-ulps: Update.
28743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28744
823fbbb4
AJ
287452012-04-09 Andreas Jaeger <aj@suse.de>
28746
03879793
AJ
28747 [BZ #6894]
28748 * manual/filesys.texi (Directory Entries): Mention that d_namlen
28749 is an optional BSD extension.
28750
823fbbb4
AJ
28751 [BZ #10254]
28752 * manual/stdio.texi (Opening Streams): Document additional fopen
28753 parameters.
28754
8de131cb
RM
287552012-04-09 Roland McGrath <roland@hack.frob.com>
28756
28757 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
28758 %eax without telling the compiler.
28759
c0ed9d7d
CD
287602012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
28761
28762 [BZ # 13963]
28763 * manual/install.texi: Use sourceware.org.
28764
c483f6b4
JM
287652012-04-09 Joseph Myers <joseph@codesourcery.com>
28766
d7dd9453
JM
28767 [BZ #13873]
28768 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
28769 (__ieee754_pow): Generate overflow and underflow using huge*huge
28770 and tiny*tiny rather than just returning constant infinity or zero
28771 for large exponents.
28772 * math/libm-test.inc (pow_test): Require overflow exceptions for
28773 applicable cases of large exponents.
28774
c483f6b4
JM
28775 [BZ #706]
28776 * sysdeps/i386/fpu/e_pow.S (p10): New object.
28777 (__ieee754_pow): Use iterative multiplication algorithm only for
28778 integer exponents with absolute value below 1024. Check for odd
28779 integer exponents when using algorithm for real exponents.
28780 * math/libm-test.inc (pow_test): Add more tests.
28781 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28782
d2de7579
JM
287832012-04-08 Joseph Myers <joseph@codesourcery.com>
28784
28785 [BZ #13705]
28786 * math/libm-test.inc (exp_test): Do not allow overflow exception
28787 on underflow test.
28788
f77f1232
AJ
287892012-04-08 Aurelien Jarno <aurelien@aurel32.net>
28790
28791 [BZ #13705]
28792 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
28793 instead of __kernel_standard_f.
28794
3884932b
MF
287952012-04-08 Mike Frysinger <vapier@gentoo.org>
28796
28797 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
28798 * sysdeps/x86_64/memset_chk.S: Likewise.
28799
54472e9c
AJ
288002012-04-08 Andreas Jaeger <aj@suse.de>
28801
6ab0fbfc
AJ
28802 [BZ #10153]
28803 * manual/startup.texi (Environment Access): Describe return value
28804 for putenv and setenv.
28805
61efba8c
AJ
28806 [BZ #6895]
28807 * manual/filesys.texi (Directory Entries): Add description for
28808 DT_LNK.
28809
95c3f29a
AJ
28810 [BZ #6890]
28811 * manual/filesys.texi (Directory Entries): Clarify that it's file
28812 system not operating system in the description of DT_UNKNOWN.
28813
54472e9c
AJ
28814 [BZ #6578]
28815 * manual/syslog.texi (closelog): Fix reference, it's openlog.
28816
624254b1
SC
288172012-04-08 Stephen Compall <s11@member.fsf.org>
28818
28819 [BZ #6649]
28820 * manual/llio.texi (Opening and Closing Files): Add cross
28821 reference to explain mode argument.
28822
1e4920e0
MF
288232012-04-07 Mike Frysinger <vapier@gentoo.org>
28824
28825 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
28826 * sysdeps/x86_64/memset_chk.S: Likewise.
28827
5ed848f3
DM
288282012-04-07 David S. Miller <davem@davemloft.net>
28829
28830 * elf/elf.h (R_SPARC_WDISP10): Define.
28831 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
28832 R_SPARC_SIZE32.
28833 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
28834 R_SPARC_SIZE64 and R_SPARC_H34.
28835
96154cd8
CD
288362012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
28837
28838 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
28839 conditions and remove no longer applicable assertion.
28840
9904dc47
L
288412012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28842
28843 * bits/byteswap.h: Include <features.h>.
28844 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28845 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28846
f8887d0a
L
288472012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28848
28849 * bits/byteswap.h (__bswap_16): Removed.
28850 Include <bits/byteswap-16.h> to get __bswap_16.
28851 * sysdeps/i386/bits/byteswap.h: Likewise.
28852 * sysdeps/s390/bits/byteswap.h: Likewise.
28853 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28854 * bits/byteswap-16.h: New file.
28855 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28856 * sysdeps/s390/bits/byteswap-16.h: Likewise.
28857 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
28858 * string/Makefile (headers): Add bits/byteswap-16.h.
28859
62470f60
PP
288602012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28861
28862 [BZ #13895]
28863 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
28864 extra indirection.
28865 * nss/Makefile (tests-static, tests): Add tst-nss-static.
28866 * nss/tst-nss-static.c: New.
28867
4dad7bab
RM
288682012-04-06 Robert Millan <rmh@gnu.org>
28869
28870 [BZ #6486]
28871 * manual/llio.texi (File Position Primitive): lseek
28872 refers to WHENCE when it really means OFFSET.
28873
e9142a17
AJ
288742012-04-06 Andreas Jaeger <aj@suse.de>
28875
2c040eff
AJ
28876 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
28877 strncmp declarations.
28878
e9142a17
AJ
28879 * abilist/libc.abilist: Add __poll and __ppoll.
28880
ff9f1c5f
DM
288812012-04-05 David S. Miller <davem@davemloft.net>
28882
dcd2ae90
DM
28883 * scripts/check-local-headers.sh: Accept a host triplet in the
28884 path matched by the exclude regexp.
28885
993eb054
DM
28886 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
28887 definition.
28888 * sysdeps/powerpc/powerpc32/dl-machine.h
28889 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
28890 * sysdeps/s390/s390-32/dl-machine.h
28891 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28892 * sysdeps/sparc/sparc32/dl-machine.h
28893 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28894 * sysdeps/sparc/sparc64/dl-machine.h
28895 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28896
ff9f1c5f
DM
28897 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
28898 lazy binding.
48e2e132 28899 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
28900 undefined symbol errors.
28901
48e2e132 28902 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
28903 DT_NEEDED entries.
28904
e80d6f94
MM
289052012-04-05 Michael Matz <matz@suse.de>
28906
28907 [BZ #13592]
28908 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
28909
349fa79f
AJ
289102012-04-05 Andreas Jaeger <aj@suse.de>
28911
28912 [BZ #13908]
28913 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
28914 comment.
28915
f402708f
KK
289162012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28917
28918 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
28919 which ROUND is no valid rounding mode.
28920
2ecccfc9
KK
289212012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28922
28923 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
28924 read again.
28925 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
28926
8a53f50f
KK
289272012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28928
28929 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
28930 an exception using FPU order intentionally.
28931
289322012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28933
28934 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
28935 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
28936 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
28937 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
28938
d653abb7
SJ
289392012-04-05 Simon Josefsson <simon@josefsson.org>
28940
28941 [BZ #12340]
28942 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
28943 EINVAL when BUFLEN is too smal.
28944
c3b1bf7d
TS
289452012-04-05 Thomas Schwinge <thomas@codesourcery.com>
28946
28947 [BZ #13553]
28948 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
28949 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
28950
b1aa60f3
AJ
289512012-04-03 Andreas Jaeger <aj@suse.de>
28952
c3b1bf7d 28953 [BZ #13938]
67f60a26
AJ
28954 * manual/setjmp.texi (System V contexts): Fix sentence.
28955
b1aa60f3
AJ
28956 [BZ #13926]
28957 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
28958 New macro for this case.
28959 [!__GNUC__] (__bswap_64): New inline function for this case.
28960 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28961 * bits/byteswap.h: Likewise.
28962 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
28963 ull, guard with __GLIBC_HAVE_LONG_LONG.
28964
28965 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
28966 __GLIBC_HAVE_LONG_LONG.
28967
28968 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
28969 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
28970
39c59c35
TMQMF
289712012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28972
28973 [BZ #13691]
28974 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
28975 inptr and inend, rather than using last_ch.
28976
135ffda8
DM
289772012-04-02 David S. Miller <davem@davemloft.net>
28978
28979 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
28980 * stdio-common/printf-parse.h (read_int): Change return type to
28981 'int', return -1 on INT_MAX overflow.
28982 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
28983 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
28984 overflows INT_MAX. Check for overflow of in-format-string precision
28985 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
28986 SIZE_MAX not INT_MAX for integer overflow test.
28987 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
28988 skip the construct in the format string but do not record anything.
28989 * stdio-common/bug22.c: Adjust to test both width/prevision
28990 INT_MAX overflow as well as total length INT_MAX overflow. Check
28991 explicitly for proper errno values.
28992
228c019e
TS
289932012-04-02 Thomas Schwinge <thomas@codesourcery.com>
28994
302cadd3
TS
28995 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
28996 CHAR_MAX.
28997 * string/test-strcmp.c [! WIDE]: Likewise.
28998 * time/tst-mktime2.c: Likewise for INT_MAX.
28999 * string/test-string.h: #include <sys/param.h> for MIN.
29000
228c019e
TS
29001 * csu/init-first.c (__libc_init_first): Call __ctype_init.
29002 * sysdeps/i386/init-first.c (init): Likewise.
29003 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
29004 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
29005 * sysdeps/sh/init-first.c (init): Likewise.
29006
cfa633f5
UD
290072012-04-01 Ulrich Drepper <drepper@gmail.com>
29008
29009 * po/ru.po: Update from translation team.
d1635ef8 29010 * po/vi.po: Likewise.
cfa633f5 29011
6cd0a5ea
SP
290122012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
29013
29014 * resolv/nss_dns/dns-host.c: Merge copyright years.
29015
4b43400f
LD
290162012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29017
29018 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29019 Optimize memcpy with prefetch if
29020 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
29021 src, dst pointers have unequal 16 byte alignments.
29022
48c41d04
SP
290232012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29024
29025 [BZ #13928]
29026 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
29027 from a CNAME entry and return the minimum ttl for the query.
29028 (gaih_getanswer_slice): Likewise.
29029
b8dc394d
JL
290302012-03-30 Jeff Law <law@redhat.com>
29031
29032 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
29033 due to long keys.
29034 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
29035 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
29036
2f5a5ed0
JL
29037 * resolv/nss_dns/dns-host.c: Update copyright year.
29038
1d39e359
UD
290392012-03-30 Ulrich Drepper <drepper@gmail.com>
29040
c030f70c 29041 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 29042 requests to save a system call. Fix check that all bytes are sent.
c030f70c 29043
1d39e359
UD
29044 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
29045 comments for sendmmsg.
29046
290472012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
29048
29049 [BZ #13691]
29050 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
29051 with only 1 character between 0x0041 and 0x01b0.
29052 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
29053 * wcsmbs/tst-mbsnrtowcs.c: New file.
29054
20fde227
DM
290552012-03-29 David S. Miller <davem@davemloft.net>
29056
29057 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
29058 small copies by hand.
29059
984a4237
JL
290602012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29061
29062 [BZ #13761]
29063 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
29064 _nss_compat_initgroups_dyn): Fall back to malloc/free
29065 for large group memberships.
29066
18c9d62b
DM
290672012-03-28 David S. Miller <davem@davemloft.net>
29068
88d85d4f
DM
29069 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
29070 that branches into memcpy.
29071 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
29072 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
29073 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29074 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
29075 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
29076 bits.
29077 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
29078 implementation too.
29079 * sysdeps/sparc/mempcpy.S: New file.
29080
e5aa83e1
DM
29081 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
29082 the IFUNC routine in the libc case.
29083 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29084
88570753
DM
29085 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
29086 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
29087 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
29088 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
29089 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
29090 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
29091 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
29092 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
29093
249d7567
DM
29094 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
29095 loop to 256 bytes instead of 64 bytes and fix test signedness.
29096
18c9d62b
DM
29097 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
29098 * sysdeps/sparc/sparc32/Makefile: rather than here...
29099 * sysdeps/sparc/sparc64/Makefile: and here.
29100
05f3d1f6
UD
291012012-03-28 Ulrich Drepper <drepper@gmail.com>
29102
29103 * malloc/mallocbug.c: Avoid warnings about unused variables.
29104
86ae07a8
JL
291052012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29106
29107 [BZ #13760]
29108 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
29109 in the right place. Discard and retry query if response is
29110 larger than input buffer size.
29111
41bf21a1
JM
291122012-03-28 Joseph Myers <joseph@codesourcery.com>
29113
d6270972
JM
29114 [BZ #369]
29115 [BZ #2678]
29116 [BZ #3866]
29117 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
29118 x for large integer exponent.
29119 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29120 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
29121 sign of result as needed afterwards.
29122 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
29123 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
29124 result for underflowing pow the same as for overflow.
29125 (__kernel_standard_l): Handle powl overflow and underflow here
29126 rather than calling __kernel_standard.
29127 * math/libm-test.inc (pow_test): Add more tests.
29128
414fca03 29129 [BZ #3868]
41bf21a1
JM
29130 [BZ #13879]
29131 [BZ #13910]
29132 [BZ #13911]
29133 [BZ #13912]
29134 [BZ #13913]
29135 [BZ #13915]
29136 [BZ #13916]
29137 [BZ #13917]
29138 [BZ #13918]
29139 [BZ #13919]
29140 [BZ #13920]
29141 [BZ #13921]
29142 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
29143 * sysdeps/ieee754/k_standard.c: Include <float.h>.
29144 (__kernel_standard_l): New function.
29145 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
29146 __kernel_standard.
29147 * math/w_acosl.c (__acosl): Likewise.
29148 * math/w_asinl.c (__asinl): Likewise.
29149 * math/w_atan2l.c (__atan2l): Likewise.
29150 * math/w_atanhl.c (__atanhl): Likewise.
29151 * math/w_coshl.c (__coshl): Likewise.
29152 * math/w_exp10l.c (__exp10l): Likewise.
29153 * math/w_exp2l.c (__exp2l): Likewise.
29154 * math/w_fmodl.c (__fmodl): Likewise.
29155 * math/w_hypotl.c (__hypotl): Likewise.
29156 * math/w_j0l.c (__j0l, __y0l): Likewise.
29157 * math/w_j1l.c (__j1l, __y1l): Likewise.
29158 * math/w_jnl.c (__jnl, __ynl): Likewise.
29159 * math/w_lgammal.c (__lgammal): Likewise.
29160 * math/w_log10l.c (__log10l): Likewise.
29161 * math/w_log2l.c (__log2l): Likewise.
29162 * math/w_logl.c (__logl): Likewise.
29163 * math/w_powl.c (__powl): Likewise.
29164 * math/w_remainderl.c (__remainderl): Likewise.
29165 * math/w_scalbl.c (sysv_scalbl): Likewise.
29166 * math/w_sinhl.c (__sinhl): Likewise.
29167 * math/w_sqrtl.c (__sqrtl): Likewise.
29168 * math/w_tgammal.c (__tgammal): Likewise.
29169 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
29170 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
29171 * math/libm-test.inc (acos_test): Add more tests.
29172 (acosh_test): Likewise.
29173 (asin_test): Likewise.
29174 (atanh_test): Likewise.
29175 (exp_test): Likewise.
29176 (exp10_test): Likewise.
29177 (exp2_test): Likewise.
29178 (expm1_test): Likewise.
29179 (lgamma_test): Likewise.
29180 (log_test): Likewise.
29181 (log10_test): Likewise.
29182 (log1p_test): Likewise.
29183 (log2_test): Likewise.
29184 (pow_test): Do not allow some spurious overflow exceptions.
29185 (sqrt_test): Add more tests.
29186 (tgamma_test): Likewise.
29187 (y0_test): Likewise.
29188 (y1_test): Likewise.
29189 (yn_test): Likewise.
29190
dd62fda6
AB
291912012-03-27 Anton Blanchard <anton@samba.org>
29192
29193 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
29194 MAP_HUGETLB.
29195 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29196 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29197 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29198
1e3cdfda
AJ
291992012-03-27 David S. Miller <davem@davemloft.net>
29200
b855ab85
DM
29201 * conform/Makefile: Run run-conformtest.sh using $(BASH).
29202
1e3cdfda
AJ
29203 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
29204 have-as-vis3 check.
29205
292062012-03-27 Andreas Jaeger <aj@suse.de>
29207
29208 * sysdeps/x86_64/elf/configure.in: Moved to ...
29209 * sysdeps/x86_64/configure.in: ... here.
29210 * sysdeps/x86_64/elf/start.S: Moved to ...
29211 * sysdeps/x86_64/start.S: ... here.
29212 * sysdeps/x86_64/elf/configure: Delete.
29213
29214 * sysdeps/x86_64/configure.in: Merge contents from
29215 sysdeps/i386/configure.in (without i686 check).
29216
29217 * sysdeps/i386/elf/Versions: Merge into ...
29218 * sysdeps/i386/Versions: ... this.
29219 * sysdeps/i386/elf/Versions: Delete file.
29220 * sysdeps/i386/elf/start.S: Moved to ...
29221 * sysdeps/i386/start.S: ...here.
29222 * sysdeps/i386/elf/configure.in: Merge into...
29223 * sysdeps/i386/configure.in: ...here.
29224 * sysdeps/i386/elf/configure.in: Delete file.
29225 * sysdeps/i386/elf/configure: Delete file.
29226
29227 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
29228 * debug/backtracesyms.c: ... here.
29229 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
29230 * debug/backtracesymsfd.c: ... here.
29231 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
29232 * sysdeps/generic/ifunc-sel.h: ... here.
29233
29234 * sysdeps/unix/i386/start.c: Delete file.
29235 * sysdeps/unix/sparc/start.c: Delete file.
29236 * sysdeps/unix/start.c: Delete file.
29237
29238 * sysdeps/sh/elf/configure.in: Moved to ...
29239 * sysdeps/sh/configure.in: ... here.
29240 * sysdeps/sh/elf/start.S: Moved to ...
29241 * sysdeps/sh/start.S: ... here.
29242 * sysdeps/sh/elf/configure: Delete file.
29243
29244 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
29245 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
29246 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
29247 * sysdeps/powerpc/powerpc64/entry.h: ... here.
29248 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
29249 * sysdeps/powerpc/powerpc64/start.S: here.
29250 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
29251 * sysdeps/powerpc/powerpc64/Makefile: ... this.
29252 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
29253 * sysdeps/powerpc/powerpc64/configure.in: ... this.
29254 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
29255
29256 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
29257 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
29258 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
29259 * sysdeps/powerpc/powerpc32/start.S: ... here.
29260 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
29261 * sysdeps/powerpc/powerpc32/configure.in: ... this.
29262 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
29263
29264 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
29265 * sysdeps/powerpc/ifunc-sel.h: ... here.
29266 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
29267 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
29268
29269 * sysdeps/sparc/elf/configure.in: Moved to ...
29270 * sysdeps/sparc/configure.in: ... here.
29271 * sysdeps/sparc/elf/configure: Delete file.
29272 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
29273 * sysdeps/sparc/sparc32/start.S: ... here.
29274 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
29275 * sysdeps/sparc/sparc64/start.S: ... here.
29276 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
29277 * sysdeps/sparc/sparc32/Makefile: ... this.
29278 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
29279 * sysdeps/sparc/sparc64/Makefile: ... this.
29280
29281 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
29282 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
29283 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
29284 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
29285 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
29286 * sysdeps/s390/s390-32/setjmp.S: ... here.
29287 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
29288 * sysdeps/s390/s390-32/configure.in: ... here.
29289 * sysdeps/s390/s390-32/elf/configure: Delete file.
29290 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
29291 * sysdeps/s390/s390-32/start.S: ... here.
29292
29293 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
29294 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
29295 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
29296 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
29297 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
29298 * sysdeps/s390/s390-64/setjmp.S: ... here.
29299 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
29300 * sysdeps/s390/s390-64/configure.in: ... here
29301 * sysdeps/s390/s390-64/elf/configure: Delete file.
29302 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
29303 * sysdeps/s390/s390-64/start.S: ... here.
29304 * sysdeps/s390/s390-64/elf/configure: Delete.
29305
29306 * configure.in: Remove support for elf directories in sysdeps.
29307
29308 * configure: Regenerated.
29309 * sysdeps/i386/configure: Regenerated.
29310 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29311 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29312 * sysdeps/s390/s390-32/configure: Regenerated.
29313 * sysdeps/s390/s390-64/configure: Regenerated.
29314 * sysdeps/sh/configure: Regenerated.
29315 * sysdeps/sparc/configure: Regenerated.
29316 * sysdeps/x86_64/configure: Regenerated.
29317
a3f61311
AS
293182012-03-26 Andreas Schwab <schwab@linux-m68k.org>
29319
c876e002
AS
29320 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29321
a3f61311
AS
29322 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
29323 denormal result into account.
29324
ac4c54f0
RM
293252012-03-25 Roland McGrath <roland@hack.frob.com>
29326
29327 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
29328 Reported by Allan McRae <allan@archlinux.org>.
29329
6a9b9c02
JL
293302012-03-23 Jeff Law <law@redhat.com>
29331
29332 * nss/getnssent.c (__nss_getent): Fix typo.
29333
4c42a0c1
DM
293342012-03-23 David S. Miller <davem@davemloft.net>
29335
29336 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29337
1532c7ac
L
293382012-03-23 H.J. Lu <hongjiu.lu@intel.com>
29339
29340 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
29341 to pad to uint64_t for each field.
29342 (dl_tls_index): Replace unsigned long with uint64_t.
29343
3ff42526
PP
293442012-03-23 Daniel Jacobowitz <dmj@google.com>
29345 Paul Pluzhnikov <ppluzhnikov@google.com>
29346
29347 [BZ #6528]
29348 * grp/Makefile (otherlibs): Don't set it.
29349 * inet/Makefile (otherlibs): Likewise.
29350 * login/Makefile (otherlibs): Likewise.
29351 * nscd/Makefile (otherlibs): Likewise.
29352 * posix/Makefile (otherlibs): Likewise.
29353 * pwd/Makefile (otherlibs): Likewise.
29354 * rt/Makefile (otherlibs): Likewise.
29355 * sunrpc/Makefile (otherlibs): Likewise.
29356 * nss/Makefile (otherlibs): Likewise.
29357 Add libnss_files to routines and static-only-routines.
29358 ($(objpfx)getent): Remove rule.
29359 * resolv/Makefile: Add libnss_dns and libresolv to routines and
29360 static-only-routines.
29361
7c69cd14
JM
293622012-03-22 Joseph Myers <joseph@codesourcery.com>
29363
29364 [BZ #13892]
29365 * math/s_cexp.c: Include <float.h>.
29366 (__cexp): Handle exp result overflowing not necessarily
29367 overflowing both real and imaginary parts of result.
29368 * math/s_cexpf.c: Likewise.
29369 * math/s_cexpl.c: Likewise.
29370 * math/libm-test.inc (cexp_test): Add more tests.
29371 * sysdeps/i386/fpu/libm-test-ulps: Update.
29372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29373
81b035fe
L
293742012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29375
29376 * include/link.h (ELFW): New macro.
29377 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
29378 Replace ELF64_R_TYPE with ELFW(R_TYPE).
29379
1da7940c
L
293802012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29381
29382 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
29383 with uint64_t.
29384
b749dbb9
L
293852012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29386
29387 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
29388 declaration.
29389 (struct La_x32_retval): Likewise.
29390
2ff87f3f
L
293912012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29392
29393 * sysdeps/x86_64/preconfigure.in: New file.
29394 * sysdeps/x86_64/preconfigure: New generated file.
29395
c0df8e69
JM
293962012-03-22 Joseph Myers <joseph@codesourcery.com>
29397
48e44791
JM
29398 [BZ #13824]
29399 * math/e_exp2l.c: Include <float.h>.
29400 (__ieee754_exp2l): Handle overflow and underflow cases
29401 separately. Only pass fractional part of argument to
29402 __ieee754_expl.
29403 * math/libm-test.inc (exp2_test): Add more tests.
29404
c0df8e69
JM
29405 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
29406 negating x to take absolute value.
29407 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
29408 Likewise.
29409 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29410 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
29411 Likewise.
29412 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
29413 computing low part if x was negated.
29414 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29415
c8e43ba7
L
294162012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29417
29418 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
29419 la_x32_gnu_pltexit.
29420 (pltexit): Cast int_retval to ptrdiff_t.
29421 * elf/tst-auditmod3b.c: Likewise.
29422 * elf/tst-auditmod4b.c: Likewise.
29423 * elf/tst-auditmod5b.c: Likewise.
29424 * elf/tst-auditmod6b.c: Likewise.
29425 * elf/tst-auditmod6c.c: Likewise.
29426 * elf/tst-auditmod7b.c: Likewise.
29427
29428 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
29429 and x32_gnu_pltexit.
29430
29431 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
29432 __ELF_NATIVE_CLASS.
29433 (La_x32_regs): New macro.
29434 (La_x32_retval): Likewise.
29435 (la_x32_gnu_pltenter): New function prototype.
29436 (la_x32_gnu_pltexit): Likewise.
29437
7998fa78
AS
294382012-03-21 Andreas Schwab <schwab@linux-m68k.org>
29439
dcb33988
AS
29440 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
29441 exponent.
29442
233fc563
AS
29443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29444
7998fa78
AS
29445 * configure.in (libc_cv_cc_nofma): Check for option to disable
29446 generation of FMA instructions.
29447 * configure: Regenerate.
29448 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
29449 * sysdeps/ieee754/dbl-64/Makefile: New file.
29450 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29451 Remove brandred-fma4.
29452 (CFLAGS-brandred-fma4.c): Remove.
29453 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
29454 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
29455 define.
29456 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
29457 define.
29458
8e95c99a
L
294592012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29460
29461 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29462 LLONG_MAX != LONG_MAX.
29463 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29464 (_fitoa_word): Likewise.
29465 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
29466 LLONG_MAX != LONG_MAX.
29467 * stdio-common/_itowa.h: Include <_itoa.h>.
29468 (_itowa_word): Use _ITOA_WORD_TYPE on value.
29469 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
29470 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
29471 only if not defined.
29472 (_ITOA_WORD_TYPE): Likewise.
29473 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29474 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
29475
6f4db457
DM
294762012-03-21 David S. Miller <davem@davemloft.net>
29477
29478 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29479
7785fe5a
L
294802012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29481
29482 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
29483 of x86_64 when setting libc_cv_slibdir, libdir and
29484 libc_cv_localedir.
29485 * sysdeps/unix/sysv/linux/configure: Regenerated.
29486
4535cd55
JM
294872012-03-21 Joseph Myers <joseph@codesourcery.com>
29488
29489 * manual/lang.texi (Old Varargs): Remove section.
29490 (How Variadic): Update menu.
29491 (va_start): Do not mention varargs.h.
29492
17228132
TS
294932012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29494 Joseph Myers <joseph@codesourcery.com>
29495
29496 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
29497 link test.
29498 * configure: Regenerated.
29499
8149f976
TS
295002012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29501
05f3d1f6
UD
29502 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
29503 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
29504 conformtest.pl
8149f976 29505
1a4ac776
JM
295062012-03-21 Joseph Myers <joseph@codesourcery.com>
29507
be22ce65
JM
29508 * NOTES: Remove.
29509 * Makefile (files-for-dist): Remove NOTES.
29510 (NOTES): Remove rule.
29511 * README: Don't refer to NOTES.
29512 * manual/creature.texi: Don't include macros.texi.
29513 * manual/intro.texi (creature.texi): Remove comment referring to
29514 NOTES.
29515
40b601fb
JM
29516 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
29517 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
29518 * configure: Regenerated.
29519 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
29520 LIBC_TRY_CC_OPTION.
29521 (libc_cv_as_i686): Likewise.
29522 (libc_cv_cc_avx): Likewise.
29523 (libc_cv_cc_sse2avx): Likewise.
29524 (libc_cv_cc_fma4): Likewise.
29525 (libc_cv_cc_novzeroupper): Likewise.
29526 * sysdeps/i386/configure: Regenerated.
29527
1a4ac776
JM
29528 [BZ #13883]
29529 * sysdeps/i386/fpu/s_cexp.S: Remove.
29530 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29531 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29532 * math/libm-test.inc (cexp_test): Add more tests.
29533 * sysdeps/i386/fpu/libm-test-ulps: Update.
29534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29535
a458e7fe
AM
295362012-03-21 Allan McRae <allan@archlinux.org>
29537
29538 * timezone/Makefile: Do not install iso3166.tab and zone.tab
29539
0cb7efc5
JM
295402012-03-21 Joseph Myers <joseph@codesourcery.com>
29541
29542 [BZ #13871]
29543 * math/w_exp2.c: Do not include <float.h>.
29544 (o_threshold, u_threshold): Remove.
29545 (__exp2): Calculate result before checking finiteness and calling
29546 __kernel_standard.
29547 * math/w_exp2f.c: Likewise.
29548 * math/w_exp2l.c: Likewise.
29549 * math/libm-test.inc (exp2_test): Require overflow exception for
29550 1e6 input.
2460d3aa
JM
29551
29552 [BZ #3866]
29553 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
29554 range of signed 64-bit integers before using fistpll. Remove
29555 checks for whether integers fit in mantissa bits.
29556 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
29557 the range of signed 32-bit integers before using fistpl. Remove
29558 checks for whether integers fit in mantissa bits.
29559 * sysdeps/i386/fpu/e_powl.S (p64): New object.
29560 (__ieee754_powl): Test for y outside the range of signed 64-bit
29561 integers before using fistpll. Reduce 64-bit values to 63-bit
29562 ones as needed.
29563 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
29564 divide-by-zero is raised for zero to large negative powers.
29565 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
29566 (__ieee754_powl): Test for y outside the range of signed 64-bit
29567 integers before using fistpll. Reduce 64-bit values to 63-bit
29568 ones as needed.
29569 * math/libm-test.inc (pow_test): Add more tests.
29570
eb96ffb0
L
295712012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29572
29573 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
29574 <stdio-common/_itoa.h>.
29575 * debug/segfault.c: Likewise.
29576 * elf/dl-cache.c: Likewise.
29577 * elf/dl-minimal.c: Likewise.
29578 * elf/dl-misc.c: Likewise.
29579 * elf/dl-sysdep.c: Likewise.
29580 * elf/dl-version.c: Likewise.
29581 * elf/rtld.c: Likewise.
29582 * hurd/hurdsock.c: Likewise.
29583 * hurd/lookup-retry.c: Likewise.
29584 * malloc/malloc.c: Likewise.
29585 * malloc/mtrace.c: Likewise.
29586 * nscd/nscd_getgr_r.c: Likewise.
29587 * nscd/nscd_getpw_r.c: Likewise.
29588 * nscd/nscd_getserv_r.c: Likewise.
29589 * posix/getopt_init.c: Likewise.
29590 * posix/wordexp.c: Likewise.
29591 * stdio-common/_itoa.c: Likewise.
29592 * stdio-common/printf_fphex.c: Likewise.
29593 * stdio-common/vfprintf.c: Likewise.
29594 * string/_strerror.c: Likewise.
29595 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
29596 * sysdeps/i386/i686/hp-timing.h: Likewise.
29597 * sysdeps/mach/_strerror.c: Likewise.
29598 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
29599 * sysdeps/mach/hurd/sethostid.c: Likewise.
29600 * sysdeps/mach/hurd/xmknodat.c: Likewise.
29601 * sysdeps/mach/xpg-strerror.c: Likewise.
29602 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29603 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29604 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
29605 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
29606 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29607 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
29608 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
29609 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
29610 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
29611 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
29612 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
29613 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29614 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
29615 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
29616 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
29617 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
29618 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
29619 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
29620 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
29621 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
29622 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
29623
29624 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
29625
29626 * stdio-common/_itoa.h: Moved to ...
29627 * sysdeps/generic/_itoa.h: Here.
29628
29629 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
29630
29631 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
29632 instead of "_itoa.h" and "_itowa.h".
29633 * stdio-common/vfprintf.: Likewise.
29634
d1af992d
L
296352012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29636
29637 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
29638 <bits/wordsize.h>.
29639 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
29640 (__signbit): Likwise.
29641 (llrintf): Likwise.
29642 (llrint): Likwise.
29643
114883e0
L
296442012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29645
29646 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
29647 __WORDSIZE != 64.
29648
c135cc1b
JM
296492012-03-20 Joseph Myers <joseph@codesourcery.com>
29650
29651 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
29652 OVERFLOW_EXCEPTION_OK.
29653 * math/libm-test.inc ("Philosophy"): Update comment about
29654 exception testing.
29655 (OVERFLOW_EXCEPTION): Define.
29656 (OVERFLOW_EXCEPTION_OK): Likewise.
29657 (INVALID_EXCEPTION_OK): Renumber.
29658 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29659 (IGNORE_ZERO_INF_SIGN): Likewise.
29660 (test_exceptions): Handle FE_OVERFLOW.
29661 (exp10_test): Expect overflow exceptions.
29662 (exp2_test): Likewise.
29663 (expm1_test): Likewise.
29664 (nextafter_test): Likewise.
29665 (pow_test): Likewise.
29666 (scalbn_test): Likewise.
29667 (scalbln_test): Likewise.
29668
95443d88
L
296692012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29670
29671 * sysdeps/x86_64/bits/atomic.h
29672 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
29673 64bit integer.
29674 (atomic_exchange_acq): Likewise.
29675 (__arch_exchange_and_add_body): Likewise.
29676 (__arch_add_body): Likewise.
29677 (atomic_add_negative): Likewise.
29678 (atomic_add_zero): Likewise.
29679
490df6c4
L
296802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29681
c2722551 29682 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
29683 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
29684
5e52b189
L
296852012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29686
29687 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
29688 Check __x86_64__ instead of __WORDSIZE.
29689
a9879d4c
L
296902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29691
29692 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
29693
5df98260
DM
296942012-03-19 David S. Miller <davem@davemloft.net>
29695
e1497744
DM
29696 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29697
5df98260
DM
29698 * sysdeps/sparc/fpu/fenv_private.h: New file.
29699 * sysdeps/sparc/fpu/math_private.h: Use it.
29700 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
29701 Remove.
29702 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
29703 (libc_feholdexcept_setroundl): Remove.
29704 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
29705 Remove.
29706 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
29707 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
29708
b4c35121
L
297092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29710
29711 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
29712 int64_t instead of long int.
29713 (INSERT_WORDS64): Likwise.
29714
56965fd7
L
297152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29716
29717 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
29718 _Unwind_GetCFA return to _Unwind_Ptr first.
29719
83d1aec8
JM
297202012-03-19 Joseph Myers <joseph@codesourcery.com>
29721
1897ad44
JM
29722 [BZ #13629]
29723 * math/s_clog.c: Include <float.h>.
29724 (__clog): Scale large or subnormal inputs.
29725 * math/s_clogf.c: Likewise.
29726 * math/s_clogl.c: Likewise.
29727 * math/s_clog10.c: Include <float.h>.
29728 (M_LOG10_2): Define.
29729 (__clog10): Scale large or subnormal inputs.
29730 * math/s_clog10f.c: Likewise.
29731 * math/s_clog10l.c: Likewise.
29732 * math/libm-test.inc (clog_test): Add more tests.
29733 (clog10_test): Likewise.
29734 * sysdeps/i386/fpu/libm-test-ulps: Update.
29735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29736
7726d6a9
JM
29737 [BZ #11451]
29738 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
29739 x and y.
29740 * math/libm-test.inc (atan2_test): Add another test.
29741
83d1aec8
JM
29742 * Makerules (common-objdir-compile): Remove.
29743 * sysdeps/unix/Makefile (config-generated): Do not add
29744 $(unix-generated) to variable.
29745 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
29746 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
29747 Remove rule.
29748 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
29749 Likewise.
29750 [generic bits/local_lim.h] (before-compile): Do not append to
29751 variable.
29752 [generic bits/local_lim.h] (common-generated): Likewise.
29753 [generic sys/param.h] (before-compile): Do not append to variable.
29754 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
29755 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
29756 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
29757 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
29758 include.
29759 [generic sys/param.h] (sys/param.h-includes): Remove variable.
29760 [generic sys/param.h] (sys/param.h-includes): Remove rule.
29761 [generic sys/param.h] ($(addprefix
29762 $(common-objpfx),$(sys/param.h-includes))): Likewise.
29763 [generic sys/param.h] (common-generated): Do not append to
29764 variable.
29765 [generic sys/param.h] (sysdep_headers): Likewise.
29766 [generic bits/errno.h] (before-compile): Do not append to
29767 variable.
29768 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
29769 rule.
29770 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
29771 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
29772 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
29773 [generic bits/errno.h] (common-generated): Do not append to
29774 variable.
29775 [generic bits/ioctls.h] (before-compile): Do not append to
29776 variable.
29777 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
29778 rule.
29779 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
29780 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
29781 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
29782 rule.
29783 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
29784 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
29785 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
29786 [generic bits/ioctls.h] (common-generated): Do not append to
29787 variable.
29788 [generic sys/syscall.h] (syscall.h): Remove variable.
29789 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
29790 rule.
29791 [generic sys/syscall.h] (before-compile): Do not append to
29792 variable.
29793 [generic sys/syscall.h] (common-generated): Likewise.
29794 * sysdeps/unix/errnos-tmpl.c: Remove file.
29795 * sysdeps/unix/errnos.awk: Likewise.
29796 * sysdeps/unix/ioctls-tmpl.c: Likewise.
29797 * sysdeps/unix/ioctls.awk: Likewise.
29798 * sysdeps/unix/mk-local_lim.c: Likewise.
29799 * sysdeps/unix/snarf-ioctls: Likewise.
29800
4851a949
RH
298012012-03-19 Richard Henderson <rth@twiddle.net>
29802
bd37f2ee
RH
29803 * sysdeps/i386/fpu/fenv_private.h: New file.
29804 * sysdeps/i386/fpu/math_private.h: Use it.
29805 (math_opt_barrier, math_force_eval): Remove.
29806 (libc_feholdexcept_setround_53bit): Remove.
29807 (libc_feupdateenv_53bit): Remove.
29808 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29809 (math_opt_barrier, math_force_eval): Remove.
29810 (libc_feholdexcept): Remove.
29811 (libc_feholdexcept_setround): Remove.
29812 (libc_fetestexcept, libc_fesetenv): Remove.
29813 (libc_feupdateenv_test): Remove.
29814 (libc_feupdateenv, libc_feholdsetround): Remove.
29815 (libc_feresetround): Remove.
29816
d0adc922
RH
29817 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
29818 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29819
0fe0f1f8
RH
29820 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
29821 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
29822 (libc_feupdateenv_testl): New.
29823 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
29824 (libc_feupdateenv_testf): New.
29825 (libc_feupdateenv): Use libc_feupdateenv_test.
29826 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
29827 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
29828
eb92c487
RH
29829 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
29830 (libc_feholdsetroundf, libc_feholdsetroundl): New.
29831 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
29832 (libc_feresetround_noex): New.
29833 (libc_feresetround_noexf): New.
29834 (libc_feresetround_noexl): New.
29835 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
29836 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
29837 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
29838 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
29839 SET_RESTORE_ROUND.
29840 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29841 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
29842 (__cos): Likewise.
29843 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
29844 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
29845 SET_RESTORE_ROUND_NOEX.
29846 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
29847 SET_RESTORE_ROUND_NOEXF.
29848 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
29849 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
29850 (libc_feholdsetroundf): New.
29851 (libc_feresetround, libc_feresetroundf): New.
29852
7d2e8012
RH
29853 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
29854 (libc_feholdexcept_setround_53bit): Convert from macro to function.
29855 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
29856
b4dabbb4
RH
29857 * sysdeps/generic/math_private.h: Include <fenv.h>.
29858 (default_libc_feholdexcept): New.
29859 (default_libc_feholdexcept_setround): New.
29860 (default_libc_fesetenv, default_libc_feupdateenv): New.
29861 (libc_feholdexcept): Only define if undefined.
29862 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
29863 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
29864 (libc_feholdexcept_setroundl): Likewise.
29865 (libc_feholdexcept_setround_53bit): Likewise.
29866 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
29867 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
29868 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
29869 (libc_feupdateenv_53bit): Likewise.
29870 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
29871 (libc_feholdexcept): Convert from macro to inline function.
29872 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
29873 (libc_fesetenv, libc_feupdateenv): Likewise.
29874
4851a949
RH
29875 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
29876 not previously defined.
29877 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
29878 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
29879 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
29880 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
29881 * sysdeps/ieee754/flt-32/math_private.h: New file.
29882 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
29883 math_private.h below SET_FLOAT_WORD.
29884 (__isnan, __isinf_ns, __finite): Remove.
29885 (__isnanf, __isinf_nsf, __finitef): Remove.
29886
e79d442e
AS
298872012-03-18 Andreas Schwab <schwab@linux-m68k.org>
29888
29889 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29890
90b80344
DM
298912012-03-17 David S. Miller <davem@davemloft.net>
29892
29893 [BZ #6471]
29894 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
29895 for 2.16.
29896
edc21804
DM
298972012-03-16 David S. Miller <davem@davemloft.net>
29898
77e927af
DM
29899 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
29900 warnings.
29901
374976dd
DM
29902 [BZ #6471]
29903 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
29904 properly.
29905 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
29906 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
29907 sysdep_routines when subdir is sysvipc.
29908 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
29909 __getshmlba helper.
29910
edc21804
DM
29911 * sysdeps/sparc/fpu/libm-test/ulps: Update.
29912
473c3ef3
L
299132012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29914
29915 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
29916 [__LP64__].
29917
eb0f39b6
L
299182012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29919
29920 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
29921 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
29922 (__lround): Renamed to ...
29923 (__llround): This. Replace long int with long long int.
29924 Define lround functions as aliases of llround functions.
29925 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
29926
6b6cd74b
L
299272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29928
29929 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
29930 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
29931 adresses to uintptr_t. Replace "long int" and "unsigned long
29932 int" with "greg_t" on va_arg.
29933
f1a77b01
L
299342012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29935
29936 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
29937 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
29938
29939 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
29940 Move e_machine check before EI_CLASS check. Handle x32
29941 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
29942 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
29943 SKIP_EM_IA_64 and include
29944 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
29945
29946 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
29947 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
29948 (add_system_dir): New macro.
29949
29950 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
29951 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
29952
11b90b9f
JM
299532012-03-16 Joseph Myers <joseph@codesourcery.com>
29954
c36e1d23
JM
29955 [BZ #2551]
29956 [BZ #2552]
29957 [BZ #2553]
29958 [BZ #2554]
29959 [BZ #2562]
29960 [BZ #2563]
29961 [BZ #2565]
29962 [BZ #2566]
29963 [BZ #2576]
29964 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
29965 (y0): Likewise.
29966 * math/w_j0f.c (j0f): Likewise.
29967 (y0f): Likewise.
29968 * math/w_j0l.c (__j0l): Likewise.
29969 (__y0l): Likewise.
29970 * math/w_j1.c (j1): Likewise.
29971 (y1): Likewise.
29972 * math/w_j1f.c (j1f): Likewise.
29973 (y1f): Likewise.
29974 * math/w_j1l.c (__j1l): Likewise.
29975 (__y1l): Likewise.
29976 * math/w_jn.c (jn): Likewise.
29977 (yn): Likewise.
29978 * math/w_jnf.c (jnf): Likewise.
29979 (ynf): Likewise.
29980 * math/w_jnl.c (__jnl): Likewise.
29981 (__ynl): Likewise.
29982 * math/libm-test.inc (j0_test): Add more tests.
29983 (j1_test): Likewise.
29984 (jn_test): Likewise. Add trailing semicolon to existing test.
29985 (y0_test): Likewise.
29986 (y1_test): Likewise.
29987 * sysdeps/i386/fpu/libm-test-ulps: Update.
29988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29989
11b90b9f
JM
29990 [BZ #13851]
29991 [BZ #13854]
29992 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
29993 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
29994 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
29995 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
29996 (__tanl): Set errno for infinite argument.
29997 * sysdeps/i386/fpu/mptan.c: Remove.
29998 * sysdeps/i386/fpu/s_tan.S: Likewise.
29999 * sysdeps/i386/fpu/s_tanl.S: Likewise.
30000 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
30001 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
30002 * math/libm-test.inc (tan_test): Add more tests and enable more
30003 tests for double and long double.
30004 * sysdeps/i386/fpu/libm-test-ulps: Update.
30005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30006
6a1bd2a1
JK
300072012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
30008
30009 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
30010 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
30011
10a803e0
RM
300122012-03-16 Roland McGrath <roland@hack.frob.com>
30013
30014 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
30015 * configure.in: Use it for both main tree and add-ons.
30016 * configure: Regenerated.
30017
f196c7f7
L
300182012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30019
30020 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
30021
8848d99d
JM
300222012-03-16 Joseph Myers <joseph@codesourcery.com>
30023
96cbe7f4
JM
30024 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
30025 in comment.
30026
8848d99d
JM
30027 [BZ #13851]
30028 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
30029 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
30030 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
30031 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
30032 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
30033 infinite argument.
30034 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
30035 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
30036 != 0 for prec == 2.
30037 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
30038 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
30039 * sysdeps/i386/fpu/s_cosl.S: Likewise.
30040 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
30041 * sysdeps/i386/fpu/s_sinl.S: Likewise.
30042 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
30043 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
30044 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
30045 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
30046 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
30047 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
30048 * math/libm-test.inc (cos_test): Add more tests and enable more
30049 tests for long double.
30050 (sin_test): Likewise.
30051 (sincos_test): Likewise.
30052 * sysdeps/i386/fpu/libm-test-ulps: Update.
30053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30054
dd7f4703
DM
300552012-03-16 David S. Miller <davem@davemloft.net>
30056
30057 * sysdeps/sparc/fpu/math_private.h: New file.
30058
006f1daa
DM
300592012-03-15 David S. Miller <davem@davemloft.net>
30060
c0c83bc8
DM
30061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
30062 file.
e6a62e18 30063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
30064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
30065 file.
e6a62e18
DM
30066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
30067 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
30068 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
30069 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
30070 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
30071 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
30072 sysdep routines.
30073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
30074
88cb87d9
DM
30075 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
30076 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
30077
006f1daa 30078 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
30079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
30080 sparc-ifunc.h
006f1daa 30081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
30082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
30083 Likewise.
30084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
30085 Likewise.
006f1daa
DM
30086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
30087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
30088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
30089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30090 Likewise.
006f1daa
DM
30091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
30093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
30095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
30096 Likewise.
30097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
30098 Likewise.
006f1daa
DM
30099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
30101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
30102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
30103 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30104 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30105 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
30106 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
30107 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30108 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30109 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
30110 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
30111 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
30112 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
30113 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
30114 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
30115 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
30116 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
30117 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
30118 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
30119 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
30120 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
30121 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
30122 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
30123
11e0098e
AS
301242012-03-15 Andreas Schwab <schwab@linux-m68k.org>
30125
30126 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
30127 scaling.
30128 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30129
e85b09d0
AJ
301302012-03-15 Andreas Jaeger <aj@suse.de>
30131
30132 [BZ #13852]
30133 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
30134 ieee754/flt-32 implementation for sin, cos and sincos.
30135 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
30136 * sysdeps/i386/fpu/s_cosf.S: Likewise.
30137 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
30138 * sysdeps/i386/fpu/s_sinf.S: Likewise.
30139 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
30140 ieee754/flt-32 implementation for tan.
30141
30142 * math/libm-test.inc (cos_test): Enable some large input tests for
30143 float as well
30144 (sin_test): Likewise.
30145 (sincos_test): Likewise.
30146 (tan_test): Add tests for large input.
30147
30148 * sysdeps/i386/fpu/libm-test-ulps: Update.
30149
81c64153
AJ
301502012-03-15 Andreas Jaeger <aj@suse.de>
30151
30152 [BZ #13658]
30153 * math/libm-test.inc (cos_test): Add more test cases.
30154 (sin_test): Likewise.
30155 (sincos_test): Likewise.
30156
7bbfa5c6
AJ
301572012-03-15 Andreas Jaeger <aj@suse.de>
30158
30159 [BZ #13837]
30160 * math/libm-test.inc (cos_test): Add a test case for large input
30161 value.
30162 (sin_test): Likewise.
30163 (sincos_test): Likewise.
30164
301652012-03-15 Andreas Jaeger <aj@suse.de>,
30166 Joseph Myers <joseph@codesourcery.com>
30167
30168 [BZ #13658]
0671f479 30169 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
30170 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
30171 * sysdeps/i386/fpu/branred.c: Likewise.
30172 * sysdeps/i386/fpu/dosincos.c: Likewise.
30173 * sysdeps/i386/fpu/mpa.c: Likewise.
30174 * sysdeps/i386/fpu/s_cos.S: Likewise.
30175 * sysdeps/i386/fpu/s_sin.S: Likewise.
30176 * sysdeps/i386/fpu/s_sincos.S: Likewise.
30177 * sysdeps/i386/fpu/sincos32.c: Likewise.
30178
30179 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
30180 Define.
30181 (libc_feupdateenv_53bit): Define.
30182 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
30183 Define.
30184 (libc_feupdateenv_53bit): Define.
30185
30186 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
30187 53 bit (without extend i386 double precision).
30188
30189 * math/libm-test.inc (sincos_test): Add tests for large input.
30190 (sin): Likewise.
30191 (cos): Likewise.
30192
30193 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30194
9cad04ea
AS
301952012-03-15 Andreas Schwab <schwab@linux-m68k.org>
30196
30197 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30198
f7062b9a
DM
301992012-03-15 David S. Miller <davem@davemloft.net>
30200
30201 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
30202 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
30203 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
30204 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
30205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
30206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
30207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
30208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
30209 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
30210 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
30211 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
30212 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
30213 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
30214 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
30215 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
30216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
30217 file.
f7062b9a 30218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
30219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
30220 file.
f7062b9a 30221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
30222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
30223 file.
f7062b9a 30224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
30225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
30226 file.
f7062b9a
DM
30227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
30228 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
30229 fmin/fmax sysdep routines.
30230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
30231
7bd951ff
DM
302322012-03-14 David S. Miller <davem@davemloft.net>
30233
559398ab
DM
30234 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
30235 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
30236 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
30237 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
30238 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
30239 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
30240 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
30241 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
30242 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
30243 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
30244 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
30245 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
30246 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
30247 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
30248 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
30249 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
30250 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
30251 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
30252 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
30253 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
30254 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
30255 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
30256 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
30257 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
30258 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
30259 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
30260 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
30261 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
30262 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
30263 routines.
30264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
30265 file.
559398ab 30266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
30267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
30268 file.
559398ab 30269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
30270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
30271 file.
559398ab 30272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
30273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
30274 file.
559398ab 30275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
30276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
30277 file.
559398ab 30278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
30279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
30280 file.
30281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
30282 file.
30283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
30284 file.
30285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
30286 file.
30287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
30288 New file.
30289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
30290 file.
30291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
30292 file.
559398ab 30293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
30294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
30295 file.
559398ab 30296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
30297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
30298 file.
559398ab 30299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
30300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
30301 file.
559398ab 30302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
30303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
30304 VIS3 routines.
559398ab
DM
30305
30306 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30307 New file.
30308
5a1c1e32
DM
30309 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30310
eae47a36
DM
30311 * sysdeps/sparc/configure.in: New file.
30312 * sysdeps/sparc/configure: Generate.
30313 * configure.in (libc_cv_sparc_as_vis3): Substitute.
30314 * configure: Regenerate.
30315 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
30316 * config.make.in (have-as-vis3): New.
30317 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
30318 available use -Av9d instead of -Av9a.
30319 * sysdeps/sparc/sparc64/Makefile: Likewise.
30320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
30321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
30322 New file.
30323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
30324 file.
30325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
30326 New file.
30327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
30328 file.
eae47a36
DM
30329 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
30330 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
30331 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
30332 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
30333 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
30334
c0c83bc8
DM
30335 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
30336 fzeros/fnegs to load 0x80000000 into a float register instead of
30337 using the stack.
7bd951ff
DM
30338 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
30339
bd951ccb
JM
303402012-03-14 Joseph Myers <joseph@codesourcery.com>
30341
30342 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30343 bits/syscall.h.
30344 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
30345 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
30346 ($(inst_includedir)/bits/syscall.h): Remove rule.
30347 ($(objpfx)bits/syscall.d): Include instead of
30348 $(objpfx)syscall-list.d.
30349 (generated): Change syscall-list.h and syscall-list.d to
30350 bits/syscall.h and bits/syscall.d.
30351
bb4e6db2
RM
303522012-03-14 Roland McGrath <roland@hack.frob.com>
30353
30354 [BZ #13846]
30355 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
30356
aa4a2ae1
JM
303572012-03-14 Joseph Myers <joseph@codesourcery.com>
30358
e456826d
JM
30359 [BZ #13841]
30360 * math/s_csqrt.c: Include <float.h>.
30361 (__csqrt): Scale large or subnormal inputs.
30362 * math/s_csqrtf.c: Likewise.
30363 * math/s_csqrtl.c: Likewise.
30364 * math/libm-test.inc (csqrt_test): Add more tests.
30365 * sysdeps/i386/fpu/libm-test-ulps: Update.
30366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30367
aa4a2ae1
JM
30368 [BZ #13840]
30369 * math/libm-test.inc (hypot_test): Add more tests.
30370
7c10fd35
DM
303712012-03-13 David S. Miller <davem@davemloft.net>
30372
30373 [BZ #13840]
30374 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
30375 double-precision for the calculation instead of scaling.
30376
f453b98b
JM
303772012-03-13 Joseph Myers <joseph@codesourcery.com>
30378
30379 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
30380 manipulate bits before adding and subtracting TWO52[sx].
30381 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
30382 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
30383 Likewise.
30384 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
30385
09a3453f
DM
303862012-03-13 David S. Miller <davem@davemloft.net>
30387
8e59da90
DM
30388 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
30389 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
30390 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
30391 rtld-global-offsets.h
30392 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30393
2a8ab7f2
DM
30394 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
30395 large parameters.
30396
10f62770
DM
30397 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
30398
5f0bdb18
DM
30399 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
30400 'err' in the ifdef scope in which it is actually used.
30401
09a3453f
DM
30402 * nss/nss_db/db-init.c: Include string.h
30403
b4b2eb5e
DM
304042012-03-12 David S. Miller <davem@davemloft.net>
30405
98bb2f1c
DM
30406 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30407 masking out of the most significant byte of random value used.
30408 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30409 Fix coding style in previous change.
30410
b4b2eb5e
DM
30411 * sysdeps/unix/sysv/linux/kernel-features.h
30412 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
30413 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
30414 expression.
30415 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
30416 later.
30417
6e226b09
DM
304182012-03-11 David S. Miller <davem@davemloft.net>
30419
a1bcbd40
DM
30420 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30421 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
30422 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
30423 for 'resultvar' otherwise things get truncated on 64-bit.
30424
cb9d6174
DM
30425 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30426 Fix masking out of the most significant byte of random value used.
30427
6e226b09
DM
30428 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30429
058c132d
AS
304302012-03-10 Andreas Schwab <schwab@linux-m68k.org>
30431
30432 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30433
2d2cd515
DM
304342012-03-09 David S. Miller <davem@davemloft.net>
30435
30436 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
30437 variables with appropriate CPP guards.
30438 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
30439 frame pointer, not the stack pointer. Correct layout comments. Fix test
30440 on resulting framesize and the management of the outregs buffer for pltexit.
30441 Preserve floating point return values across _dl_call_pltexit call.
30442 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
30443 framesize and the management of the outregs buffer for pltexit.
30444 Preserve floating point return values across _dl_call_pltexit
30445 call.
30446 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
30447 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
30448 (print_exit): Fix format string for return register value.
30449
9a07f9d0
JM
304502012-03-10 Joseph Myers <joseph@codesourcery.com>
30451
30452 * sunrpc/Makefile (others): Add rpcgen.
30453 ($(objpfx)rpcgen): Remove special build rule and dependency on
30454 libc.
30455 * sunrpc/rpcgen.c: New file.
30456
547b5e30
PE
304572012-03-09 Paul Eggert <eggert@cs.ucla.edu>
30458
c524201a
PE
30459 [BZ #13673]
30460 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
30461 * stdio-common/bug-vfprintf-nargs.c: Likewise.
30462 * sysdeps/i386/crti.S: Likewise.
30463 * sysdeps/i386/crtn.S: Likewise.
30464 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
30465 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
30466 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
30467 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
30468 * sysdeps/sh/crti.S: Likewise.
30469 * sysdeps/sh/crtn.S: Likewise.
30470 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30471
7b6235f2
PE
30472 [BZ #13673]
30473 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
30474 with URL.
30475 * locale/programs/locfile-kw.gperf: Likewise.
30476 * locale/programs/charmap-kw.h: Regenerated.
30477 * locale/programs/locfile-kw.h: Likewise.
30478
547b5e30
PE
30479 [BZ #13673]
30480 * intl/plural.y: Replace FSF snail mail address with URL.
30481 * intl/plural.c: Regenerated.
30482
5f0a5dae
RH
304832012-03-09 Richard Henderson <rth@twiddle.net>
30484
30485 * include/math_private.h: Remove file.
30486 * math/math_private.h: Move file ...
30487 * sysdeps/generic/math_private.h: ... here.
30488
b8c03620
RH
30489 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
30490 * sysdeps/powerpc/fpu/math_private.h: Likewise.
30491 * sysdeps/x86_64/fpu/math_private.h: Likewise.
30492
4e234f5d 30493 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
30494 and <math_private.h>.
30495 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30496 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30497 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30498 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30499 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30500 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
30501 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30502 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30503 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30504 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30505 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30506 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30507 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30508 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30509 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30510 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30511 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30512 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30513 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30514 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30515 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30516 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30517 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30518 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30519 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30520 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30521 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30522 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30523 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30524 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30525 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30526 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30527 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30528 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30529 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30530 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30531 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30532 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30533 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30534 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30535 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
30536 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30537 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30538 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
30539 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
30540 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30541 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
30542 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
30543 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30544 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30545 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
30546 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
30547 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
30548 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30549 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
30550 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30551 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30552 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30553 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
30554 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
30555 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30556 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
30557 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30558 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30559 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
30560 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30561 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30562 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30563 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
30564 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
30565 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
30566 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30567 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
30568 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30569 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
30570 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
30571 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
30572 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30573 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
30574 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
30575 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
30576 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
30577 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
30578 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30579 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30580 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
30581 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
30582 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
30583 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30584 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30585 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30586 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30587 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30588 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30589 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30590 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30591 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30592 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30593 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30594 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30595 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30596 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30597 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30598 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30599 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30600 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30601 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30602 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30603 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30604 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30605 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30606 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30607 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30608 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30609 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
30610 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30611 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30612 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30613 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30614 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30615 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30616 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30617 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30618 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
30619 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30620 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30621 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30622 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
30623 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30624 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
30625 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
30626 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30627 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30628 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
30629 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
30630 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30631 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30632 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30633 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
30634 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30635 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30636 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30637 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30638 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
30639 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
30640 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30641 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30642 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30643 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
30644 * sysdeps/ieee754/k_standard.c: Likewise.
30645 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30646 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30647 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30648 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30649 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30650 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30651 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30652 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30653 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30654 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30655 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30656 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30657 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30658 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30659 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30660 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30661 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30662 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30663 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30664 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
30665 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
30666 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
30667 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30668 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30669 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30670 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
30671 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30672 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30673 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30674 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30675 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30676 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30677 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30678 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30679 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30680 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30681 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30682 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
30683 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
30684 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30685 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30686 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30687 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30688 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30689 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30690 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30691 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30692 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30693 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30694 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30695 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30696 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30697 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30698 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
30699 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30700 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30701 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
30702 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
30703 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30704 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30705 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30706 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30707 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30708 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30709 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30710 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30711 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30712 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30713 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30714 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30715 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30716 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30717 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30718 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30719 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30720 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30721 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
30722 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30723 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30724 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30725 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30726 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30727 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30728 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30729 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
30730 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30731 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30732 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30733 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30734 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30735 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
30736 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30737 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30738 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30739 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30740 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30741 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
30742 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30743 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30744 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
30745 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30746 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30747 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30748 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30749 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
30750 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30751 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30752 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30753 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
30754 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30755 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30756 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30757 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30758 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30759 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30760 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30761 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30762 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30763 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30764 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30765 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30766 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30767 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30768 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30769 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30770 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
30771 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30772 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30773 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30774 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30775 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30776 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30777 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30778 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30779 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30780 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30781 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
30782 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30783 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30784 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
30785 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
30786 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30787 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
30788 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
30789 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30790 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30791 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30792 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30793 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30794 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
30795 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30796 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30797 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30798 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30799 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
30800 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
30801 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30802 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30803 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30804 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30805 * sysdeps/ieee754/s_lib_version.c: Likewise.
30806 * sysdeps/ieee754/s_matherr.c: Likewise.
30807 * sysdeps/ieee754/s_signgam.c: Likewise.
30808 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30809 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30810 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
30811 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
30812 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
30813 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30814 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
30815 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
30816 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
30817 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
30818 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30819 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
30820 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30821 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30822 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
30823 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30824 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30825 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30826 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30827 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30828 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 30829
1991fa03
JM
308302012-03-09 Joseph Myers <joseph@codesourcery.com>
30831
30832 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
30833 * sunrpc/rpc_main.c: Likewise.
30834 * sunrpc/rpc_svcout.c: Likewise.
30835
60d6f5a6
DM
308362012-03-09 David S. Miller <davem@davemloft.net>
30837
30838 * include/math_private.h: New file.
30839
4962050e
JM
308402012-03-09 Joseph Myers <joseph@codesourcery.com>
30841
02a6f887
JM
30842 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
30843 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
30844 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
30845 from <bits/socket_type.h>.
30846 (enum __socket_type): Don't define here.
30847 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
30848 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30849 bits/socket_type.h.
30850
c6e013c1
JM
30851 [BZ #13566]
30852 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
30853 checking __USE_GNU.
30854
4962050e
JM
30855 * Makerules ($(inst_includedir)/%.h): New rule.
30856 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
30857 (install-others): Remove variable setting.
30858 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
30859
38842f45
RH
308602012-03-08 Richard Henderson <rth@twiddle.net>
30861
67bb6da6
RH
30862 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
30863 from macro to inline function; merge with the
30864 !__LIBC_INTERNAL_MATH_INLINES version.
30865 (__ieee754_sqrtf): Likewise.
30866
15194b4b
RH
30867 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
30868 to inline function.
30869 (__rintf, __floor, __floorf): Likewise.
30870
64e21ede
RH
30871 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
30872 macro to inline function.
30873 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
30874
38842f45
RH
30875 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
30876 not <math/math_private.h>.
30877
c64bf5fe
DM
308782012-03-08 David S. Miller <davem@davemloft.net>
30879
30880 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
30881 copyright year.
30882 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
30883
82d86f28
TS
308842012-03-08 Thomas Schwinge <thomas@codesourcery.com>
30885
30886 * resolv/gai_misc.c (handle_requests): Fix struct timespec
30887 normalization.
30888 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
30889 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
30890
aea5d727
UD
308912012-03-08 Ulrich Drepper <drepper@gmail.com>
30892
30893 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
30894 be defined individually, they must be defined as a block. Define
30895 S for printing a string instead of hidint the different by using a
30896 macro for adding the 'l'.
30897 * stdio-common/tst-fphex-wide.c: Adjust.
30898
70bca0a3
MP
308992012-03-07 Marek Polacek <polacek@redhat.com>
30900
30901 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
30902
65b81130
MP
309032012-03-08 Marek Polacek <polacek@redhat.com>
30904
30905 [BZ #13806]
30906 * stdio-common/Makefile (tests): Add tst-fphex-wide.
30907 * stdio-common/tst-fphex.c: Define a few macros to make the
30908 test reusable. Use them.
30909 * stdio-common/tst-fphex-wide.c: New file.
30910
07037eeb
JM
309112012-03-08 Joseph Myers <joseph@codesourcery.com>
30912
a7a93d50
JM
30913 [BZ #6911]
30914 * manual/macros.texi (gnusystems): New macro.
30915 (nongnusystems): Likewise.
30916 (gnulinuxhurdsystems): Likewise.
30917 (gnuhurdsystems): Likewise..
30918 (gnulinuxsystems): Likewise.
30919 * manual/charset.texi: Use new macros or @theglibc{} to refer to
30920 variants of the GNU system, not "GNU system".
30921 * manual/conf.texi: Likewise.
30922 * manual/errno.texi: Likewise. Update example of errno macro
30923 expansion.
30924 * manual/filesys.texi: Likewise.
30925 (getumask): Document as specific to GNU/Hurd.
30926 * manual/install.texi: Likewise. Reword some references to
30927 GNU/Linux.
30928 * manual/intro.texi: Likewise.
30929 * manual/io.texi: Likewise.
30930 (File Name Portability): Detail which constraints are inapplicable
30931 to all GNU systems and which are only inapplicable to GNU/Hurd.
30932 * manual/job.texi: Likewise.
30933 * manual/llio.texi: Likewise.
30934 (O_NOCTTY): Document as present on GNU/Linux.
30935 * manual/maint.texi: Likewise.
30936 * manual/memory.texi: Likewise.
30937 * manual/pattern.texi: Likewise.
30938 * manual/pipe.texi: Likewise.
30939 * manual/process.texi: Likewise.
30940 * manual/resource.texi: Likewise.
30941 (RUSAGE_CHILDREN): Remove statement about specifying a particular
30942 child on GNU/Hurd.
30943 * manual/setjmp.texi: Likewise.
30944 * manual/signal.texi: Likewise.
30945 * manual/startup.texi: Likewise.
30946 * manual/stdio.texi: Likewise.
30947 * manual/terminal.texi: Likewise.
30948 (ONLCR): Document as POSIX.
30949 (OXTABS): Document availability on GNU/Linux as XTABS.
30950 (ONOEOT): Document availability separately from other bits.
30951 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
30952 * manual/time.texi: Likewise.
30953 * manual/users.texi: Likewise.
30954 * INSTALL: Regenerated.
30955 * sysdeps/gnu/errlist.c: Regenerated.
30956
07037eeb
JM
30957 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
30958 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
30959 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
30960 puts.
30961 * configure: Regenerated.
30962
d1d3431a
JM
309632012-03-07 Joseph Myers <joseph@codesourcery.com>
30964
af6a1e37
JM
30965 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
30966 default includes instead of AC_HEADER_CHECK.
30967 * sysdeps/i386/configure: Regenerated.
30968
d1d3431a
JM
30969 [BZ #10716]
30970 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
30971 * math/s_cacoshf.c (__cacoshf): Likewise.
30972 * math/s_cacoshl.c (__cacoshl): Likewise.
30973 * math/s_casinh.c (__casinh): Set signs of result from argument.
30974 * math/s_casinhf.c (__casinhf): Likewise.
30975 * math/s_casinhl.c (__casinhl): Likewise.
30976 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
30977 (casinh_test): Add more tests.
30978 * sysdeps/i386/fpu/libm-test-ulps: Update.
30979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30980
482ff4da
UD
309812012-03-07 Ulrich Drepper <drepper@gmail.com>
30982
872fda05
UD
30983 * po/zh_TW.po: Update from translation team.
30984
a4300c7a
UD
30985 * login/Makefile (distribute): Remove variable.
30986 * catgets/Makefile: Likewise.
30987 * mach/Makefile: Likewise.
30988 * malloc/Makefile: Likewise.
30989 * misc/Makefile: Likewise.
30990 * iconv/Makefile: Likewise.
30991 * nscd/Makefile: Likewise.
30992 * hurd/Makefile: Likewise.
30993 * manual/Makefile: Likewise.
30994 * locale/Makefile: Likewise.
30995 * intl/Makefile: Likewise.
30996 * conform/Makefile: Likewise.
30997 * nss/Makefile: Likewise.
30998 * time/Makefile: Likewise.
30999 * soft-fp/Makefile: Likewise.
31000 * dirent/Makefile: Likewise.
31001 * gmon/Makefile: Likewise.
31002 * po/Makefile: Likewise.
31003 * rt/Makefile: Likewise.
31004 * socket/Makefile: Likewise.
31005 * math/Makefile: Likewise.
31006 * signal/Makefile: Likewise.
31007 * debug/Makefile: Likewise.
31008 * elf/Makefile: Likewise.
31009 * timezone/Makefile: Likewise.
31010 * stdlib/Makefile: Likewise.
31011 * iconvdata/Makefile: Likewise.
31012 * sunrpc/Makefile: Likewise.
31013 * io/Makefile: Likewise.
31014 * argp/Makefile: Likewise.
31015 * inet/Makefile: Likewise.
31016 * hesiod/Makefile: Likewise.
31017 * grp/Makefile: Likewise.
31018 * csu/Makefile: Likewise.
31019 * wctype/Makefile: Likewise.
31020 * crypt/Makefile: Likewise.
31021 * libio/Makefile: Likewise.
31022 * string/Makefile: Likewise.
31023 * nis/Makefile: Likewise.
31024 * resolv/Makefile: Likewise.
31025 * stdio-common/Makefile: Likewise.
31026 * wcsmbs/Makefile: Likewise.
31027 * dlfcn/Makefile: Likewise.
31028 * posix/Makefile: Likewise.
31029
3b7c4e74 31030 [BZ #6959]
482ff4da
UD
31031 * timezone/Makefile: Don't install timezone files, just the programs
31032 and scripts.
31033
f72ed77d
UD
310342012-03-06 Ulrich Drepper <drepper@gmail.com>
31035
a000466f
UD
31036 * nss/databases.def: Add missing gshadow entry.
31037
f72ed77d
UD
31038 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
31039
a53b7a4e
MP
310402012-03-06 Marek Polacek <polacek@redhat.com>
31041
31042 [BZ #13726]
31043 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
31044 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
31045 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
31046 * stdio-common/tst-long-dbl-fphex.c: New file.
31047
e9258400
DM
310482012-03-06 David S. Miller <davem@davemloft.net>
31049
31050 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31051 (set_obp_int): New function.
31052 (get_obp_int): New function.
31053 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
31054 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
31055 Avoid unused variable warnings on 'val' and use builtin_expect.
31056 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
31057 __builtin_expect.
e9258400
DM
31058 (INLINE_CLONE_SYSCALL): Likewise.
31059
3bd2c723
DM
310602012-03-05 David S. Miller <davem@davemloft.net>
31061
31062 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31063
bbb78d03
AS
310642012-03-05 Andreas Schwab <schwab@linux-m68k.org>
31065
884c5db4
AS
31066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31067
bbb78d03
AS
31068 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
31069 only for |x| >= 40.
31070 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31071
1c9f702a 310722012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
31073
31074 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
31075 Replace gettimeofday with __vdso_gettimeofday.
31076
7be16f82
RM
31077 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31078 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
31079 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
31080
31081 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
31082 time with __vdso_time.
31083
ed58a00f
JM
310842012-03-05 Joseph Myers <joseph@codesourcery.com>
31085
31086 * manual/lang.texi (size_t): Note types to which size_t may be
31087 equivalent with the GNU C Library, but do not describe when
31088 differences between them are significant.
31089
30ee4ced
AJ
310902012-03-05 Andreas Jaeger <aj@suse.de>
31091
31092 * sysdeps/i386/fpu/libm-test-ulps: Update.
31093
b7cd39e8
JM
310942012-03-05 Joseph Myers <joseph@codesourcery.com>
31095
31096 [BZ #3976]
31097 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
31098 (__ieee754_pow): Save and restore rounding mode and use
31099 round-to-nearest for main computations.
31100 * math/libm-test.inc (pow_test_tonearest): New function.
31101 (pow_test_towardzero): Likewise.
31102 (pow_test_downward): Likewise.
31103 (pow_test_upward): Likewise.
31104 (main): Call the new functions.
31105 * sysdeps/i386/fpu/libm-test-ulps: Update.
31106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
31107
31108 [BZ #3976]
31109 * math/libm-test.inc (cosh_test_tonearest): New function.
31110 (cosh_test_towardzero): Likewise.
31111 (cosh_test_downward): Likewise.
31112 (cosh_test_upward): Likewise.
31113 (sinh_test_tonearest): Likewise.
31114 (sinh_test_towardzero): Likewise.
31115 (sinh_test_downward): Likewise.
31116 (sinh_test_upward): Likewise.
31117 (main): Call the new functions.
31118 * sysdeps/i386/fpu/libm-test-ulps: Update.
31119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31120
6c6a98c9
TV
311212012-03-05 Tom de Vries <tom@codesourcery.com>
31122
31123 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
31124 default stack guard is set in last bytes.
31125 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
31126
21bb2d2e 311272012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 31128
21bb2d2e 31129 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 31130
21bb2d2e
AJ
31131 [BZ #13656]
31132 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
31133 possibly allocate from heap instead of stack.
31134 * stdio-common/bug-vfprintf-nargs.c: New file.
31135 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 31136
c6922934
AS
311372012-03-03 Andreas Schwab <schwab@linux-m68k.org>
31138
31139 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31140
bc957d53
MP
311412012-03-03 Marek Polacek <polacek@redhat.com>
31142
31143 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
31144 * math/math_private.h: Likewise.
31145 * stdlib/tst-strtod.c: Likewise.
31146 * sysdeps/i386/i486/bits/atomic.h: Likewise.
31147 * sysdeps/x86_64/bits/atomic.h: Likewise.
31148
6358490d
DM
311492012-03-02 David S. Miller <davem@davemloft.net>
31150
31151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
31152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
31153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
31154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
31155 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
31156 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
31157 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
31158 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
31159
01ae168d
RM
311602012-03-02 Roland McGrath <roland@hack.frob.com>
31161
d9a17c07
RM
31162 [BZ #13792]
31163 * manual/examples/README: New file, says the example source files
31164 can be used under GPL>=2.
31165 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
31166 line containing just "*/".
31167 * manual/examples/add.c: Add copyright header (GPL>=2).
31168 * manual/examples/argp-ex1.c: Likewise.
31169 * manual/examples/argp-ex2.c: Likewise.
31170 * manual/examples/argp-ex3.c: Likewise.
31171 * manual/examples/argp-ex4.c: Likewise.
31172 * manual/examples/atexit.c: Likewise.
31173 * manual/examples/db.c: Likewise.
31174 * manual/examples/dir.c: Likewise.
31175 * manual/examples/dir2.c: Likewise.
31176 * manual/examples/execinfo.c: Likewise.
31177 * manual/examples/filecli.c: Likewise.
31178 * manual/examples/filesrv.c: Likewise.
31179 * manual/examples/fmtmsgexpl.c: Likewise.
31180 * manual/examples/genpass.c: Likewise.
31181 * manual/examples/inetcli.c: Likewise.
31182 * manual/examples/inetsrv.c: Likewise.
31183 * manual/examples/isockad.c: Likewise.
31184 * manual/examples/longopt.c: Likewise.
31185 * manual/examples/memopen.c: Likewise.
31186 * manual/examples/memstrm.c: Likewise.
31187 * manual/examples/mkfsock.c: Likewise.
31188 * manual/examples/mkisock.c: Likewise.
31189 * manual/examples/mygetpass.c: Likewise.
31190 * manual/examples/pipe.c: Likewise.
31191 * manual/examples/popen.c: Likewise.
31192 * manual/examples/rprintf.c: Likewise.
31193 * manual/examples/search.c: Likewise.
31194 * manual/examples/select.c: Likewise.
31195 * manual/examples/setjmp.c: Likewise.
31196 * manual/examples/sigh1.c: Likewise.
31197 * manual/examples/sigusr.c: Likewise.
31198 * manual/examples/stpcpy.c: Likewise.
31199 * manual/examples/strdupa.c: Likewise.
31200 * manual/examples/strftim.c: Likewise.
31201 * manual/examples/strncat.c: Likewise.
31202 * manual/examples/subopt.c: Likewise.
31203 * manual/examples/swapcontext.c: Likewise.
31204 * manual/examples/termios.c: Likewise.
31205 * manual/examples/testopt.c: Likewise.
31206 * manual/examples/testpass.c: Likewise.
31207 * manual/examples/timeval_subtract.c: Likewise.
31208
01ae168d
RM
31209 [BZ #13792]
31210 * manual/time.texi (Elapsed Time): Move timeval_subtract example
31211 function to ...
31212 * manual/timeval_subtract.c.texi: ... here, new file.
31213
49efa33d
DM
312142012-03-02 David S. Miller <davem@davemloft.net>
31215
31216 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
31217
28afd92d
JM
312182012-03-02 Joseph Myers <joseph@codesourcery.com>
31219
804360ed
JM
31220 [BZ #3976]
31221 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
31222 (__sin): Save and restore rounding mode and use round-to-nearest
31223 for all computations.
31224 (__cos): Save and restore rounding mode and use round-to-nearest
31225 for all computations.
31226 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
31227 <fenv.h>.
31228 (tan): Save and restore rounding mode and use round-to-nearest for
31229 all computations.
31230 * math/libm-test.inc (cos_test_tonearest): New function.
31231 (cos_test_towardzero): Likewise.
31232 (cos_test_downward): Likewise.
31233 (cos_test_upward): Likewise.
31234 (sin_test_tonearest): Likewise.
31235 (sin_test_towardzero): Likewise.
31236 (sin_test_downward): Likewise.
31237 (sin_test_upward): Likewise.
31238 (tan_test_tonearest): Likewise.
31239 (tan_test_towardzero): Likewise.
31240 (tan_test_downward): Likewise.
31241 (tan_test_upward): Likewise.
31242 (main): Call the new functions.
31243 * sysdeps/i386/fpu/libm-test-ulps: Update.
31244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31245
a6d06d7b
JM
31246 [BZ #10135]
31247 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
31248 small n, then large n, before computing and testing k+n.
31249 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
31250 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
31251 Likewise.
31252 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
31253 Likewise.
31254 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
31255 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
31256 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
31257 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
31258 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
31259 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
31260 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
31261 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
31262 * math/libm-test.inc (scalbn_test): Add more tests.
31263 (scalbln_test): Likewise.
31264
07e12bb3
JM
31265 * manual/filesys.texi (mode_t): Describe constraints on size and
31266 signedness, not exact equivalence to a particular type.
31267 (ino_t): Likewise.
31268 (ino64_t): Likewise.
31269 (dev_t): Likewise.
31270 (nlink_t): Likewise.
31271 (blkcnt_t): Likewise.
31272 (blkcnt64_t): Likewise.
31273 * manual/llio.texi (off_t): Likewise.
31274
28afd92d
JM
31275 [BZ #3976]
31276 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
31277 (__ieee754_exp): Save and restore rounding mode and use
31278 round-to-nearest for all computations.
31279 * math/libm-test.inc (exp_test_tonearest): New function.
31280 (exp_test_towardzero): Likewise.
31281 (exp_test_downward): Likewise.
31282 (exp_test_upward): Likewise.
31283 (main): Call the new functions.
31284 * sysdeps/i386/fpu/libm-test-ulps: Update.
31285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31286
b1eeb65d
CD
312872012-03-01 Chris Demetriou <cgd@google.com>
31288
31289 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
31290 have predictable order.
31291
53362a4b
DM
312922012-03-01 David S. Miller <davem@davemloft.net>
31293
3c969083
DM
31294 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
31295
759707de
DM
31296 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
31297 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
31298 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
31299 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
31300
dfdb8ff2
DM
31301 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
31302 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
31303 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
31304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
31305 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
31306 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
31307 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
31308 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
31309 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
31310
ead89f96
DM
31311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31312
7f66bd07
DM
31313 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
31314 * sysdeps/sparc/fpu/libm-test-ulps: to here.
31315 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
31316
53362a4b
DM
31317 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
31318 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31319 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31320 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
31321 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
31322 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
31323 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
31324 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31325 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31326 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
31327 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
31328 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31329 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31330 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31331 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31332 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31333 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
31334 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
31335 * sysdeps/sparc/elf/configure: Regenerated.
31336
7b1902cb
JM
313372012-03-01 Joseph Myers <joseph@codesourcery.com>
31338
bec039bc
JM
31339 * configure.in (AS, LD): Require binutils 2.20 or later.
31340 * configure: Regenerated.
31341 * manual/install.texi (Tools for Compilation): Give binutils 2.20
31342 as required minimum version.
31343 * INSTALL: Regenerated.
31344
7b1902cb
JM
31345 [BZ #2541]
31346 [BZ #4108]
31347 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
31348 before squaring exponent.
31349 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
31350 bottom long double and 27 bits of top long double before squaring
31351 exponent.
31352 * math/libm-test.inc (erfc_test): Add more tests.
31353 * sysdeps/i386/fpu/libm-test-ulps: Update.
31354 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31356
f775c276
KT
313572012-03-01 Kai Tietz <ktietz@redhat.com>
31358
31359 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
31360 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
31361 containing bit-fields.
31362 * soft-fp/extended.h (_FP_UNION_E): Likewise.
31363 * soft-fp/single.h (_FP_UNION_S): Likewise.
31364 * soft-fp/double.h (_FP_UNION_D): Likewise.
31365
5b8a4d4a
JM
313662012-02-29 Joseph Myers <joseph@codesourcery.com>
31367
0bab47b6
JM
31368 [BZ #13786]
31369 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
31370 not include ../strcmp.S.
31371 [USE_AS_STRNCASECMP_L]: Likewise.
31372 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
31373 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
31374 * sysdeps/i386/i686/multiarch/strncase_l-c.c
31375 (__strncasecmp_l_ia32): Define as alias to
31376 __strncasecmp_l_nonascii.
31377
0fcad3e2
JM
31378 [BZ #5794]
31379 * math/libm-test.inc (expm1_test): Add test for bug 5794.
31380 * sysdeps/i386/fpu/libm-test-ulps: Update.
31381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31382
5b8a4d4a
JM
31383 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
31384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31385
8fdceb2e
JL
313862012-02-29 Jeff Law <law@redhat.com>
31387
31388 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
31389 out of bounds read.
31390
1f393a11
MP
313912012-02-29 Marek Polacek <polacek@redhat.com>
31392
31393 [BZ #13706]
31394 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
31395 * elf/Makefile: Add rules to run tst-unused-dep.out.
31396
8847f037
DM
313972012-02-28 David S. Miller <davem@davemloft.net>
31398
31399 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
31400 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
31401 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
31402 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
31403 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
31404 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
31405
169d7f11
JM
314062012-02-29 Joseph Myers <joseph@codesourcery.com>
31407
31408 * math/libm-test.inc (llround_test): Move one test from
31409 lround_test. Use TEST_f_L in moved test.
31410 (lround_test): Move misplaced test to llround_test. Add testcase
31411 from bug 2561.
31412
39adf059
UD
314132012-02-28 Ulrich Drepper <drepper@gmail.com>
31414
31415 * sysdeps/x86_64/fpu/e_expf.S: New file.
31416 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
31417
71b5d1c5
SB
314182012-02-28 Stanislav Brabec <sbrabec@suse.cz>
31419
31420 [BZ #13637]
31421 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
31422 of remain_len that may cause incomplete multi-byte character and
31423 false match.
31424 * posix/bug-regex33.c: New file.
31425 * posix/Makefile (tests): Add bug-regex33.
31426
1f77f049
JM
314272012-02-28 Joseph Myers <joseph@codesourcery.com>
31428
31429 * manual/macros.texi: New file.
31430 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
31431 * manual/libc.texinfo: Include macros.texi.
31432 * manual/creatute.texi: Likewise.
31433 * manual/install.texi: Likewise.
31434 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
31435 @glibcadj{} in references to the GNU C Library.
31436 * manual/charset.texi: Likewise.
31437 * manual/conf.texi: Likewise.
31438 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
31439 when not using those macros.
31440 * manual/creature.texi: Likewise.
31441 * manual/crypt.texi: Likewise.
31442 * manual/errno.texi: Likewise.
31443 * manual/filesys.texi: Likewise.
31444 * manual/header.texi: Likewise.
31445 * manual/install.texi: Likewise.
31446 * manual/intro.texi: Likewise.
31447 * manual/io.texi: Likewise.
31448 * manual/job.texi: Likewise.
31449 * manual/lang.texi: Likewise.
31450 * manual/libc.texiinfo: Likewise.
31451 * manual/llio.texi: Likewise.
31452 * manual/locale.texi: Likewise.
31453 * manual/maint.texi: Likewise.
31454 * manual/math.texi: Likewise.
31455 * manual/memory.texi: Likewise.
31456 * manual/message.texi: Likewise.
31457 * manual/nss.texi: Likewise.
31458 * manual/pattern.texi: Likewise.
31459 * manual/process.texi: Likewise.
31460 * manual/resource.texi: Likewise.
31461 * manual/search.texi: Likewise.
31462 * manual/setjmp.texi: Likewise.
31463 * manual/signal.texi: Likewise.
31464 * manual/socket.texi: Likewise.
31465 * manual/startup.texi: Likewise.
31466 * manual/stdio.texi: Likewise.
31467 * manual/string.texi: Likewise.
31468 * manual/sysinfo.texi: Likewise.
31469 * manual/syslog.texi: Likewise.
31470 * manual/terminal.texi: Likewise.
31471 * manual/time.texi: Likewise.
31472 * manual/users.texi: Likewise.
31473 * INSTALL: Regenerated.
31474 * NOTES: Regenerated.
d40c5d54 31475 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 31476
450bf206
AS
314772012-02-28 Andreas Schwab <schwab@linux-m68k.org>
31478
31479 * include/dirent.h: Include <dirstream.h> before
31480 <dirent/dirent.h>.
31481
741a235b
DM
314822012-02-28 David S. Miller <davem@davemloft.net>
31483
31484 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
31485 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
31486 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
31487 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
31488
d6b5aa58
DM
314892012-02-27 David S. Miller <davem@davemloft.net>
31490
1aff59a3
DM
31491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
31492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
31493 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
31494 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
31495
d6b5aa58
DM
31496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
31497 frame pointer instead of stack pointer relative arg slot.
31498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31499 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31500 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31501
433f48bf
CD
315022012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
31503
31504 [BZ #3992]
31505 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
31506
d674b76d
DM
315072012-02-27 David S. Miller <davem@davemloft.net>
31508
31509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
31510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
31513 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31514 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31515 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
31516 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
31517
0e7727f7
JM
315182012-02-27 Joseph Myers <joseph@codesourcery.com>
31519
31520 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
31521 later. Allow versions 5-9.
43be4ca2 31522 * configure: Regenerated.
0e7727f7
JM
31523 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
31524 required minimum version and 4.6 as recommended version. Do not
31525 mention bugs in GCC 2.7 and 2.8.
43be4ca2 31526 * INSTALL: Regenerated.
0e7727f7 31527
a78bc654
DM
315282012-02-27 David S. Miller <davem@davemloft.net>
31529
428d5830
DM
31530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
31531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
31532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
31533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
31534 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
31535 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
31536 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
31537 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
31538
a78bc654
DM
31539 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
31540 manipulate bits before adding and subtracting TWO112[sx].
31541 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31542
4579f81c
RM
315432012-02-27 Roland McGrath <roland@hack.frob.com>
31544
36c8acb4
RM
31545 [BZ #13775]
31546 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
31547 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
31548 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
31549 being in POSIX, because they are in 1003.1-2008.
31550
84ad622b
RM
31551 * rt/tst-aio.c: Include <fcntl.h>.
31552 * rt/tst-aio7.c: Likewise.
31553 * rt/tst-aio64.c: Likewise.
31554
4579f81c
RM
31555 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
31556
abd923db
JM
315572012-02-27 Joseph Myers <joseph@codesourcery.com>
31558
31559 * manual/install.texi (--with-headers): Describe headers as
31560 interface headers, not private headers.
31561 (Specific advice for GNU/Linux systems): Describe use of headers
31562 from "make headers_install", not private headers from older
31563 kernels.
43be4ca2 31564 * INSTALL: Regenerated.
abd923db
JM
31565 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
31566 Change to 2.6.19.
31567 * sysdeps/unix/sysv/linux/configure: Regenerated.
31568
6664049b
JM
31569 * manual/llio.texi (fclean): Remove documentation.
31570
bb8b6697
JM
31571 * manual/Makefile (libc-texi-generated): New variable. Include
31572 version.texi.
31573 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
31574 $(libc-texi-generated), not duplicated list of files.
31575 (version.texi, stamp-version): New rules.
31576 (realclean): Remove $(libc-texi-generated), not individual files
31577 from that list. Do not remove dir-add.texinfo.
31578 * manual/libc.texinfo: Comment out uses of edition numbers and
31579 references to printed manual. Remove last-updated dates.
31580 (EDITION): Comment out.
31581 (ISBN): Likewise.
31582 (VERSION, UPDATED): Remove.
31583 (version.texi): Include.
31584
12e5c3b9
AS
315852012-02-27 Andreas Schwab <schwab@linux-m68k.org>
31586
31587 * sysdeps/posix/spawni.c: Include <signal.h>.
31588 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
31589 * sysdeps/pthread/aio_fsync.c: Likewise.
31590
4efeffc1 315912012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 31592
ba63ba08
UD
31593 * conform/Makefile (tests): Run only when not cross-compiling and
31594 when fast-check is not defined.
31595
d94a4670
UD
31596 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
31597 * conform/data/limits.h-data: Fixes for POSIX2008.
31598 * conform/run-conformtest.sh: Run all tests.
31599 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
31600 headers.
31601 * include/bits/dlfcn.h: Likewise.
31602 * include/langinfo.h: Likewise.
31603 * include/monetary.h: Likewise.
31604 * include/sys/poll.h: Likewise.
31605
31606 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
31607 for __USE_GNU.
31608 * posix/spawn.h: Define __need_sigset_t.
31609 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
31610 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
31611 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
31612 to get sigevent_t only.
31613 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
31614 only for __USE_GNU.
31615 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31616 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31617 process_vm_writev only for __USE_GNU.
31618 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
31619
31620 * conform/Makefile: For now ignore errors from run-conformtest.
31621 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
31622 POSIX to avoid namespace pollution. Don't prepend headers.
31623 * conform/data/aio.h-data: Fixes for POSIX testing.
31624 * conform/data/fcntl.h-data: Likewise.
31625 * conform/data/glob.h-data: Likewise.
31626 * conform/data/grp.h-data: Likewise.
31627 * conform/data/pthread.h-data: Likewise.
31628 * conform/data/pwd.h-data: Likewise.
31629 * conform/data/signal.h-data: Likewise.
31630 * conform/data/spawn.h-data: Likewise.
31631 * conform/data/stdio.h-data: Likewise.
31632 * conform/data/stdlib.h-data: Likewise.
31633 * conform/data/stropts.h-data: Likewise.
31634 * conform/data/sys/mman.h-data: Likewise.
31635 * conform/data/sys/stat.h-data: Likewise.
31636 * conform/data/sys/types.h-data: Likewise.
31637 * conform/data/sys/wait.h-data: Likewise.
31638 * conform/data/time.h-data: Likewise.
31639 * conform/data/unistd.h-data: Likewise.
31640 * conform/data/utime.h-data: Likewise.
31641
31642 * io/sys/stat.h: fchmod was always in POSIX.
31643 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
31644 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
31645 * rt/aio.h: Define __need_timespec before including <time.h>.
31646 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
31647 struct. Add forward declaration of pthread_attr_t and use it in
31648 sigevent.
31649 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31650 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31651 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
31652 always remove CLK_TCK definition.
31653
c20105c3
AS
316542012-02-26 Andreas Schwab <schwab@linux-m68k.org>
31655
31656 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
31657
7a270350
UD
316582012-02-25 Ulrich Drepper <drepper@gmail.com>
31659
31341567
UD
31660 * conform/run-conformtest.sh: New file.
31661 * conform/Makefile: Run run-conformtest for tests.
31662 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
31663 support.
31664
31665 * conform/data/uchar.h-data: New file.
31666 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
31667 * conform/data/arpa/inet.h-data: Likewise.
31668 * conform/data/assert.h-data: Likewise.
31669 * conform/data/complex.h-data: Likewise.
31670 * conform/data/cpio.h-data: Likewise.
31671 * conform/data/ctype.h-data: Likewise.
31672 * conform/data/dirent.h-data: Likewise.
31673 * conform/data/dlfcn.h-data: Likewise.
31674 * conform/data/errno.h-data: Likewise.
31675 * conform/data/fcntl.h-data: Likewise.
31676 * conform/data/float.h-data: Likewise.
31677 * conform/data/fmtmsg.h-data: Likewise.
31678 * conform/data/fnmatch.h-data: Likewise.
31679 * conform/data/ftw.h-data: Likewise.
31680 * conform/data/glob.h-data: Likewise.
31681 * conform/data/grp.h-data: Likewise.
31682 * conform/data/iconv.h-data: Likewise.
31683 * conform/data/inttypes.h-data: Likewise.
31684 * conform/data/langinfo.h-data: Likewise.
31685 * conform/data/libgen.h-data: Likewise.
31686 * conform/data/limits.h-data: Likewise.
31687 * conform/data/locale.h-data: Likewise.
31688 * conform/data/math.h-data: Likewise.
31689 * conform/data/monetary.h-data: Likewise.
31690 * conform/data/mqueue.h-data: Likewise.
31691 * conform/data/ndbm.h-data: Likewise.
31692 * conform/data/net/if.h-data: Likewise.
31693 * conform/data/netdb.h-data: Likewise.
31694 * conform/data/netinet/in.h-data: Likewise.
31695 * conform/data/nl_types.h-data: Likewise.
31696 * conform/data/poll.h-data: Likewise.
31697 * conform/data/pthread.h-data: Likewise.
31698 * conform/data/pwd.h-data: Likewise.
31699 * conform/data/regex.h-data: Likewise.
31700 * conform/data/sched.h-data: Likewise.
31701 * conform/data/search.h-data: Likewise.
31702 * conform/data/semaphore.h-data: Likewise.
31703 * conform/data/setjmp.h-data: Likewise.
31704 * conform/data/signal.h-data: Likewise.
31705 * conform/data/spawn.h-data: Likewise.
31706 * conform/data/stdarg.h-data: Likewise.
31707 * conform/data/stdio.h-data: Likewise.
31708 * conform/data/stdlib.h-data: Likewise.
31709 * conform/data/string.h-data: Likewise.
31710 * conform/data/strings.h-data: Likewise.
31711 * conform/data/stropts.h-data: Likewise.
31712 * conform/data/sys/ipc.h-data: Likewise.
31713 * conform/data/sys/mman.h-data: Likewise.
31714 * conform/data/sys/msg.h-data: Likewise.
31715 * conform/data/sys/resource.h-data: Likewise.
31716 * conform/data/sys/select.h-data: Likewise.
31717 * conform/data/sys/sem.h-data: Likewise.
31718 * conform/data/sys/shm.h-data: Likewise.
31719 * conform/data/sys/socket.h-data: Likewise.
31720 * conform/data/sys/stat.h-data: Likewise.
31721 * conform/data/sys/statvfs.h-data: Likewise.
31722 * conform/data/sys/time.h-data: Likewise.
31723 * conform/data/sys/timeb.h-data: Likewise.
31724 * conform/data/sys/times.h-data: Likewise.
31725 * conform/data/sys/types.h-data: Likewise.
31726 * conform/data/sys/uio.h-data: Likewise.
31727 * conform/data/sys/un.h-data: Likewise.
31728 * conform/data/sys/utsname.h-data: Likewise.
31729 * conform/data/sys/wait.h-data: Likewise.
31730 * conform/data/syslog.h-data: Likewise.
31731 * conform/data/tar.h-data: Likewise.
31732 * conform/data/termios.h-data: Likewise.
31733 * conform/data/utime.h-data: Likewise.
31734 * conform/data/utmpx.h-data: Likewise.
31735 * conform/data/varargs.h-data: Likewise.
31736 * conform/data/wchar.h-data: Likewise.
31737 * conform/data/wctype.h-data: Likewise.
31738 * conform/data/wordexp.h-data: Likewise.
31739
31740 * include/stropts.h: New file.
31741 * include/uchar.h: New file.
31742 * include/aio.h: Changes to allow conformtest.pl to use the headers.
31743 * include/assert.h: Likewise.
31744 * include/ctype.h: Likewise.
31745 * include/dirent.h: Likewise.
31746 * include/dlfcn.h: Likewise.
31747 * include/fcntl.h: Likewise.
31748 * include/fnmatch.h: Likewise.
31749 * include/glob.h: Likewise.
31750 * include/grp.h: Likewise.
31751 * include/libio.h: Likewise.
31752 * include/locale.h: Likewise.
31753 * include/math.h: Likewise.
31754 * include/net/if.h: Likewise.
31755 * include/netdb.h: Likewise.
31756 * include/netinet/in.h: Likewise.
31757 * include/pthread.h: Likewise.
31758 * include/pwd.h: Likewise.
31759 * include/regex.h: Likewise.
31760 * include/sched.h: Likewise.
31761 * include/search.h: Likewise.
31762 * include/setjmp.h: Likewise.
31763 * include/signal.h: Likewise.
31764 * include/stdio.h: Likewise.
31765 * include/stdlib.h: Likewise.
31766 * include/string.h: Likewise.
31767 * include/sys/cdefs.h: Likewise.
31768 * include/sys/mman.h: Likewise.
31769 * include/sys/msg.h: Likewise.
31770 * include/sys/resource.h: Likewise.
31771 * include/sys/select.h: Likewise.
31772 * include/sys/socket.h: Likewise.
31773 * include/sys/stat.h: Likewise.
31774 * include/sys/statvfs.h: Likewise.
31775 * include/sys/time.h: Likewise.
31776 * include/sys/times.h: Likewise.
31777 * include/sys/uio.h: Likewise.
31778 * include/sys/utsname.h: Likewise.
31779 * include/sys/wait.h: Likewise.
31780 * include/termios.h: Likewise.
31781 * include/time.h: Likewise.
31782 * include/ulimit.h: Likewise.
31783 * include/unistd.h: Likewise.
31784 * include/utime.h: Likewise.
31785 * include/wchar.h: Likewise.
31786 * include/wctype.h: Likewise.
31787 * include/wordexp.h: Likewise.
31788
31789 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
31790
7a270350
UD
31791 * time/time.h: TIME_UTC must be a macro.
31792 Make timespec_get available for ISO C11 only as well.
31793
7724defc
UD
317942012-02-24 Ulrich Drepper <drepper@gmail.com>
31795
31796 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
31797 Reported by Peng Haitao <penght@cn.fujitsu.com>.
31798
6b1d1d46
JM
317992012-02-24 Joseph Myers <joseph@codesourcery.com>
31800
31801 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 31802
0f8bbd69
JM
318032012-02-24 Joseph Myers <joseph@codesourcery.com>
31804
31805 * manual/texinfo.tex: Update to version 2012-01-19.16.
31806
66ab80bc
JM
318072012-02-24 Joseph Myers <joseph@codesourcery.com>
31808
31809 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
31810
74981cc5
RM
318112012-02-24 Roland McGrath <roland@hack.frob.com>
31812
ee968201
RM
31813 [BZ #13738]
31814 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
31815 * manual/fdl-1.3.texi: New file.
31816 * manual/fdl-1.1.texi: File removed.
31817
74981cc5
RM
31818 [BZ #13738]
31819 * manual/libc.texinfo (FDL_VERSION): New @set.
31820 Use it for mention of FDL in cover text.
31821 (Documentation License): Use it in @include file name.
31822
7bb764bc
JM
318232012-02-22 Joseph Myers <joseph@codesourcery.com>
31824 Roland McGrath <roland@hack.frob.com>
31825
31826 [BZ #5461]
31827 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
31828 not LONG_LONG_MAX and LONG_LONG_MIN.
31829 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
31830 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
31831 name.
31832 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
31833
6cbeae47
JM
318342012-02-22 Joseph Myers <joseph@codesourcery.com>
31835
31836 [BZ #2547]
31837 [BZ #11365]
31838 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
31839 manipulate bits before adding and subtracting TWO23[sx].
31840 * math/libm-test.inc (nearbyint_test): Add more tests.
31841
fe45ce09
JM
318422012-02-22 Joseph Myers <joseph@codesourcery.com>
31843
31844 [BZ #2548]
31845 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
31846 bits before adding and subtracting TWO23[sx].
31847 * math/libm-test.inc (rint_test): Add more tests.
31848 (rint_test_tonearest): Likewise.
31849 (rint_test_towardzero): Likewise.
31850 (rint_test_downward): Likewise.
31851 (rint_test_upward: Likewise.
31852
ff3b3d82
JM
318532012-02-22 Joseph Myers <joseph@codesourcery.com>
31854
31855 [BZ #10110]
31856 * include/stdc-predef.h: New file. Extracted from features.h.
31857 * include/features.h: Include stdc-predef.h.
31858 * Makefile (headers): Add stdc-predef.h.
31859 * CONFORMANCE (Compiler limitations): Update.
31860
ef0aab35
JM
318612012-02-22 Joseph Myers <joseph@codesourcery.com>
31862
31863 * manual/libc.texinfo (VERSION, UPDATED): Revert.
31864
58639409
DM
318652012-02-21 David S. Miller <davem@davemloft.net>
31866
31867 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
31868 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31869
c0e70b25
DM
318702012-02-20 David S. Miller <davem@davemloft.net>
31871
31872 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
31873 using a normal save/restore sequence, rather than allocating a
31874 dummy stack frame just to store a frame pointer and restore.
31875 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31876
fb06851d
JM
318772012-02-21 Joseph Myers <joseph@codesourcery.com>
31878
31879 * manual/install.texi: Fix stray word in line-wrapped comment.
31880
7a8b71c3
DM
318812012-02-20 David S. Miller <davem@davemloft.net>
31882
d510c123
DM
31883 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
31884 both binutils and gcc support GOTDATA.
31885
0722d7c2
DM
31886 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
31887 "rd %pc" in the PIC register setup sequences.
31888
3d2b3019
DM
31889 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
31890 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31891 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31892 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31893 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31894 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31895 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31896 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31897 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
31898 (SYSCALL_ERROR_HANDLER): Likewise.
31899 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31900 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31901 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
31902 (SYSCALL_ERROR_HANDLER): Likewise.
31903
c80098a9
DM
31904 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
31905 (HAVE_GCC_GOTDATA): New.
31906 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
31907 relocation support in both binutils and gcc.
31908 * sysdeps/sparc/elf/configure: Regenerate.
31909
3a2545a0
DM
31910 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
31911 * sysdeps/sparc/sparc32/elf/configure: Delete.
31912 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
31913 * sysdeps/sparc/sparc64/elf/configure: Delete.
31914 * sysdeps/sparc/elf/configure.in: New file.
31915 * sysdeps/sparc/elf/configure: Generate.
31916
7a8b71c3
DM
31917 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
31918 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
31919 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31920 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
31921 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
31922
f1e86fca
JM
319232012-02-21 Joseph Myers <joseph@codesourcery.com>
31924
31925 * manual/install.texi: Do not mention specific glibc version
31926 numbers.
31927 * manual/libc.texinfo (VERSION, UPDATED): Update.
31928 (@copying): Use @copyright{} and range of years.
31929
0e7dfaef
JM
319302012-02-21 Joseph Myers <joseph@codesourcery.com>
31931
31932 [BZ #13695]
31933 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
31934 [crti.S not in sysdirs] (generated): Do not append.
31935 [crti.S not in sysdirs] (omit-deps): Likewise.
31936 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
31937 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
31938 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
31939 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
31940 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
31941 Likewise.
31942 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
31943 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
31944 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
31945 * csu/defs.awk: Remove file.
31946 * sysdeps/generic/initfini.c: Likewise.
31947 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
31948 variable.
31949 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
31950 Likewise.
31951
599af3ca
JM
319522012-02-20 Joseph Myers <joseph@codesourcery.com>
31953
31954 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
31955 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
31956 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
31957 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
31958 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31959 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
31960 <bits/epoll.h>.
31961 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
31962 (__EPOLL_PACKED): Define to empty if not defined by
31963 <bits/epoll.h>.
31964 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
31965 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31966 bits/epoll.h.
31967
0e499750
JM
319682012-02-20 Joseph Myers <joseph@codesourcery.com>
31969
31970 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
31971 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
31972 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
31973 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
31974 <bits/timerfd.h>.
31975 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
31976 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31977 bits/timerfd.h.
31978
5ad91f6e
JM
319792012-02-20 Joseph Myers <joseph@codesourcery.com>
31980
31981 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
31982 in C locale.
31983 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31984 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31985 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
31986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31987
06b99b02
AJ
319882012-02-20 Aurelien Jarno <aurelien@aurel32.net>
31989
31990 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31991 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31992
7638c0fd
AS
319932012-02-19 Andreas Schwab <schwab@linux-m68k.org>
31994
31995 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
31996 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
31997 defined.
31998 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
31999 Likewise.
32000 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
32001 entry for 2.16.
32002
92221550
AJ
320032012-02-19 Aurelien Jarno <aurelien@aurel32.net>
32004
32005 * math/w_acos.c: Use non-signaling floating-point comparisons.
32006 * math/w_acosf.c: Likewise.
32007 * math/w_acosh.c: Likewise.
32008 * math/w_acoshf.c: Likewise.
32009 * math/w_acoshl.c: Likewise.
32010 * math/w_acosl.c: Likewise.
32011 * math/w_asin.c: Likewise.
32012 * math/w_asinf.c: Likewise.
32013 * math/w_asinl.c: Likewise.
32014 * math/w_atanh.c: Likewise.
32015 * math/w_atanhf.c: Likewise.
32016 * math/w_atanhl.c: Likewise.
32017 * math/w_exp2.c: Likewise.
32018 * math/w_exp2f.c: Likewise.
32019 * math/w_exp2l.c: Likewise.
32020 * math/w_j0.c: Likewise.
32021 * math/w_j0f.c: Likewise.
32022 * math/w_j0l.c: Likewise.
32023 * math/w_j1.c: Likewise.
32024 * math/w_j1f.c: Likewise.
32025 * math/w_j1l.c: Likewise.
32026 * math/w_jn.c: Likewise.
32027 * math/w_jnf.c: Likewise.
32028 * math/w_log.c: Likewise.
32029 * math/w_log10.c: Likewise.
32030 * math/w_log10f.c: Likewise.
32031 * math/w_log10l.c: Likewise.
32032 * math/w_log2.c: Likewise.
32033 * math/w_log2f.c: Likewise.
32034 * math/w_log2l.c: Likewise.
32035 * math/w_logf.c: Likewise.
32036 * math/w_logl.c: Likewise.
32037 * math/w_sqrt.c: Likewise.
32038 * math/w_sqrtf.c: Likewise.
32039 * math/w_sqrtl.c: Likewise.
32040 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32041 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
32042 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32043 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32044 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32045
ebaf36eb
JM
320462012-02-19 Joseph Myers <joseph@codesourcery.com>
32047
32048 [BZ #9739]
32049 * manual/string.texi (strnlen): Use correct parameter name in
32050 equivalent expression.
32051
71c254a6
JM
320522012-02-19 Joseph Myers <joseph@codesourcery.com>
32053
32054 [BZ #11174]
32055 * manual/users.texi (seteuid): Consistently use neweuid for
32056 argument name.
32057
16d2c631
JM
320582012-02-19 Joseph Myers <joseph@codesourcery.com>
32059
32060 [BZ #13704]
32061 * manual/nss.texi (Services in the NSS configuration): Correct
32062 list of services in example configuration file.
32063
cd837b09
NB
320642012-02-19 Nick Bowler <nbowler@draconx.ca>
32065
32066 [BZ #11322]
32067 * manual/arith.texi: Remove statements about negative zero
32068 behaving identically to zero.
32069
02c4bbad
JM
320702012-02-18 Joseph Myers <joseph@codesourcery.com>
32071
32072 [BZ #5993]
32073 * manual/install.texi: Do not document upgrading from libc5.
32074
366842e7
JM
320752012-02-18 Joseph Myers <joseph@codesourcery.com>
32076
32077 [BZ #4596]
32078 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
32079
dd54084d
DM
320802012-02-18 David S. Miller <davem@davemloft.net>
32081
32082 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
32083 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
32084 %o7 across the call.
32085 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
32086 instead.
32087 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
32088 SETUP_PIC_REG_LEAF.
32089 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32090 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
32091 * sysdeps/sparc/crtn.S: Likewise.
32092
2bcc53a3
UD
320932012-02-17 Ulrich Drepper <drepper@gmail.com>
32094
32095 * aout/Makefile: Remove.
32096
09c093b5
RK
320972012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
32098
32099 [BZ #13058]
32100 * manual/examples/argp-ex1.c (main): Format definition in GNU
32101 style.
32102 * manual/examples/argp-ex2.c (main): Likewise.
32103 * manual/examples/argp-ex3.c (main): Likewise.
32104 * manual/examples/argp-ex4.c (main): Likewise.
32105 * manual/examples/longopt.c (main): Use new-style prototype
32106 definition.
32107 * manual/examples/strncat.c (main): Specify return type and use
32108 (void) for arguments.
32109 * manual/examples/subopt.c (main): Use char **argv argument.
32110
2ee633a2
JM
321112012-02-17 Joseph Myers <joseph@codesourcery.com>
32112
32113 [BZ #5077]
32114 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
32115 rounding modes.
32116
0520adde
FB
321172012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
32118
32119 [BZ #6907]
32120 * manual/string.texi (strchr): Change when strchrnul is
32121 recommended.
32122
3f4081cd
DGM
321232012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
32124
32125 [BZ #174]
32126 * manual/locale.texi (setlocale): Document LOCPATH.
32127
d1b10e78
JM
321282012-02-17 Joseph Myers <joseph@codesourcery.com>
32129
32130 [BZ #10210]
32131 * manual/process.texi (execle): Move @dots{} before last argument.
32132
79c6869c
PB
321332012-02-17 Paul Bolle <pebolle@tiscali.nl>
32134
32135 [BZ #12047]
32136 * manual/charset.texi (Generic Charset Conversion): Fix typo
32137 (LC_TYPE -> LC_CTYPE).
32138
cc6e48bc
NB
321392012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
32140
32141 [BZ #5805]
32142 * manual/arith.texi (scalbn): Use @var{} on parameter names.
32143 (scalbnf): Likewise.
32144 (scalbnl): Likewise.
32145 (scalbln): Likewise.
32146 (scalblnf): Likewise.
32147 (scalblnl): Likewise.
32148 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
32149 (vwarnx): Likewise.
32150 (verr): Likewise.
32151 (verrx): Likewise.
32152 * manual/filesys.texi (telldir): Use braces around return type.
32153 * manual/llio.texi (mmap): Add space after comma.
32154 (mmap64): Likewise.
32155 * manual/math.texi (jn): Use @var{} on parameter names.
32156 (jnf): Likewise.
32157 (jnl): Likewise.
32158 (yn): Likewise.
32159 (ynf): Likewise.
32160 (ynl): Likewise.
32161 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
32162 line.
32163 * manual/resource.texi (ulimit): Use @dots{} instead of literal
32164 "...".
32165 (sched_get_priority_min): Remove semicolon on @deftypefun line.
32166 (sched_get_priority_max): Likewise.
32167 * manual/signal.texi (sigvec): Add space after comma.
32168 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
32169 names.
32170 (if_indextoname): Likewise.
32171 (if_freenameindex): Likewise.
32172 (sendto): Use ',' instead of '.' in prototype.
32173 * manual/startup.texi (syscall): Use @dots{} instead of literal
32174 "...".
32175 * manual/stdio.texi (__fpending): Separate initial words of
32176 paragraph from @deftypefun line.
32177 * manual/syslog.texi (syslog): Use @dots{} instead of literal
32178 "...".
32179 (vsyslog): Use @var{} on parameter names.
32180 * manual/terminal.texi (stty): Use @var{} on parameter names.
32181 * manual/users.texi (getutmp): Use @var{} on parameter names.
32182 (getutmpx): Likewise.
32183
5b23062f
JM
321842012-02-17 Joseph Myers <joseph@codesourcery.com>
32185
32186 [BZ #6884]
32187 * manual/stdio.texi (fopen): Fix typos in description of
32188 ",ccs=STRING".
32189
8dee4833
AJ
321902012-02-17 Aurelien Jarno <aurelien@aurel32.net>
32191
32192 [BZ #4026]
32193 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
32194 get clock_id definition.
32195
9078ce93
TS
321962012-02-17 Thomas Schwinge <thomas@schwinge.name>
32197
32198 [BZ #4822]
32199 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
32200 (madvise): Cast every argument to void on its own.
32201
3835c55f
JM
322022012-02-17 Joseph Myers <joseph@codesourcery.com>
32203
32204 [BZ #9902]
32205 * manual/startup.texi (Exit Status): Fix typo.
32206
35c47e37
JM
322072012-02-17 Joseph Myers <joseph@codesourcery.com>
32208
32209 [BZ #10140]
32210 * manual/examples/argp-ex1.c: Include <stdlib.h>.
32211 * manual/examples/argp-ex2.c: Likewise.
32212 * manual/examples/argp-ex3.c: Likewise.
32213
e3b69ca7
RH
322142012-02-16 Richard Henderson <rth@redhat.com>
32215
32216 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
32217 * sysdeps/s390/s390-32/initfini.c: Remove.
32218 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
32219 * sysdeps/s390/s390-64/initfini.c: Remove.
32220
df83af67
KK
322212012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32222
32223 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
32224 compiler output for sysdeps/generic/initfini.c.
32225 * sysdeps/sh/elf/initfini.c: Remove file.
32226
f63f3380
DM
322272012-02-16 David S. Miller <davem@davemloft.net>
32228
fb59b3a4
DM
32229 [BZ #11494]
32230 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
32231
f63f3380
DM
32232 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
32233 * sysdeps/sparc/crti.S: New file.
32234 * sysdeps/sparc/crtn.S: New file.
32235 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
32236 * sysdeps/sparc/sparc64/Makefile: Likewise.
32237
df6a4a4a
MF
322382012-02-15 Mike Frysinger <vapier@gentoo.org>
32239
6dd8f3dc 32240 [BZ #3335]
df6a4a4a
MF
32241 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
32242
1cac7236
RM
322432012-02-15 Roland McGrath <roland@hack.frob.com>
32244
d2c736f8
RM
32245 [BZ #4822]
32246 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
32247
1cac7236
RM
32248 * mach/devstream.c (cookie_io_functions_t): Macro removed.
32249 (write, read, close): Likewise.
32250 Patch by Aurelien Jarno <aurelien@aurel32.net>.
32251
8e475601
JM
322522012-02-15 Joseph Myers <joseph@codesourcery.com>
32253
32254 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
32255 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
32256 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
32257 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
32258 <bits/signalfd.h>.
32259 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
32260 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32261 bits/signalfd.h.
32262
ed656b40
MP
322632012-02-14 Marek Polacek <polacek@redhat.com>
32264
32265 * sysdeps/x86_64/crti.S: New file.
32266 * sysdeps/x86_64/crtn.S: New file.
32267 * sysdeps/x86_64/elf/initfini.c: Remove file.
32268
2a979d3a
JM
322692012-02-13 Joseph Myers <joseph@codesourcery.com>
32270
32271 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
32272 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
32273 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
32274 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
32275 <bits/inotify.h>.
32276 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
32277 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32278 bits/inotify.h.
32279
2a418ac3
JM
322802012-02-13 Joseph Myers <joseph@codesourcery.com>
32281
32282 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
32283 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
32284 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
32285 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
32286 <bits/eventfd.h>.
32287 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
32288 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32289 bits/eventfd.h.
32290
fb779be7
TS
322912012-02-10 Thomas Schwinge <thomas@codesourcery.com>
32292
e19e83c5
RM
32293 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
32294 __feraiseexcept instead of feraiseexcept.
7c35ffed 32295
fb779be7
TS
32296 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
32297 nanosleep invocations.
32298 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
32299 strings, and add error checking for a nanosleep invocations.
32300
59ba27a6
PE
323012012-02-09 Paul Eggert <eggert@cs.ucla.edu>
32302
32303 Replace FSF snail mail address with URLs, as per GNU coding standards.
32304 Most of the snail mail addresses were wrong anyway, and omitting
32305 them makes the source code easier to maintain. Almost all of the
32306 changes are to license notices and to locale LC_IDENTIFICATION
32307 addresses, except for this one:
32308 * manual/libc.texinfo: In "Published by", give the FSF's URL,
32309 not its snail mail address.
32310
57b957eb
RH
323112012-02-09 Richard Henderson <rth@twiddle.net>
32312
af850b1c
RH
32313 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
32314 of kernel-features.h.
32315
57b957eb
RH
32316 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
32317
6b73181a
MP
323182012-02-08 Marek Polacek <polacek@redhat.com>
32319
32320 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
32321 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
32322 * sysdeps/gnu/_G_config.h: Likewise.
32323 * sysdeps/generic/_G_config.h: Likewise.
32324
26ecc33a
AS
323252012-02-08 Andreas Schwab <schwab@linux-m68k.org>
32326
6c6dbc63
AS
32327 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
32328 tests.
32329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32330
e216c012
AS
32331 * sysdeps/powerpc/powerpc32/crti.S: New file.
32332 * sysdeps/powerpc/powerpc32/crtn.S: New file.
32333 * sysdeps/powerpc/powerpc64/crti.S: New file.
32334 * sysdeps/powerpc/powerpc64/crtn.S: New file.
32335
26ecc33a
AS
32336 * Makeconfig (have-initfini): Don't set.
32337 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
32338 * configure.in (nopic_initfini): Don't substitute.
32339 * config.h.in (HAVE_INITFINI): Don't #undef.
32340 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
32341 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
32342
3add8e13
JM
323432012-02-08 Joseph Myers <joseph@codesourcery.com>
32344
32345 Support crti.S and crtn.S provided directly by architectures.
32346 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
32347 [crti.S in sysdirs] (omit-deps): Likewise.
32348 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
32349 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
32350 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
32351 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
32352 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
32353 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
32354 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
32355 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
32356 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
32357 compiler output for sysdeps/generic/initfini.c.
32358 * sysdeps/i386/elf/Makefile: Remove file.
32359 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
32360
a22f12b4
MP
323612012-02-07 Marek Polacek <polacek@redhat.com>
32362
32363 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
32364 * sysdeps/gnu/_G_config.h: Likewise.
32365 * sysdeps/mach/hurd/_G_config.h: Likewise.
32366
148cf100
MP
323672012-02-07 Marek Polacek <polacek@redhat.com>
32368
32369 * math/Makefile (tests): Add tst-CMPLX2.
32370 * math/tst-CMPLX2.c: New file.
32371
cfdc0dd7
AS
323722012-02-07 Andreas Schwab <schwab@linux-m68k.org>
32373
84ba42c4
AS
32374 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32375
cfdc0dd7
AS
32376 * math/libm-test.inc (jn_test): Add missing L suffix.
32377
622c86f4
MP
323782012-02-06 Marek Polacek <polacek@redhat.com>
32379
32380 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
32381 * sysdeps/i386/fpu/e_powf.S: Likewise.
32382 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32383 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32384 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32385 * sysdeps/i386/fpu/e_pow.S: Likewise.
32386 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32387 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32388 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32389 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32390 * sysdeps/i386/fpu/e_log2.S: Likewise.
32391 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32392 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32393 * sysdeps/i386/fpu/e_powl.S: Likewise.
32394 * sysdeps/i386/fpu/s_log1p.S: Likewise.
32395 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32396 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32397 * sysdeps/i386/fpu/e_logl.S: Likewise.
32398 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32399 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
32400 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32401 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32402 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32403 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32404 * sysdeps/i386/fpu/e_log.S: Likewise.
32405 * sysdeps/i386/fpu/s_cexp.S: Likewise.
32406 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32407 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
32408 * sysdeps/i386/fpu/e_logf.S: Likewise.
32409 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32410 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32411 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
32412 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32413 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32414 * sysdeps/i386/fpu/e_log10.S: Likewise.
32415 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32416 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32417 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32418 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32419 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32420 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32421 * sysdeps/i386/asm-syntax.h: Likewise.
32422 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32423 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32424 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32425 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
32426 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
32427 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32428 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32429 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32430 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32431 * sysdeps/powerpc/sysdep.h: Likewise.
32432 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
32433 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32434
d4a54ac6
JM
324352012-02-06 Joseph Myers <joseph@codesourcery.com>
32436
32437 [BZ #411]
32438 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
32439
314054ea
JM
324402012-02-06 Joseph Myers <joseph@codesourcery.com>
32441
32442 * sysdeps/i386/sysdep.h: Include <features.h>.
32443 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
32444 version.
32445
d8e0ca50
JM
324462012-02-05 Joseph Myers <joseph@codesourcery.com>
32447
32448 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
32449 Define.
32450 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
32451 LOAD_PIC_REG_STR.
32452
b1da7dd9
JM
324532012-02-03 Joseph Myers <joseph@codesourcery.com>
32454
32455 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
32456 (SETUP_PIC_REG): Use GET_PC_THUNK.
32457 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
32458 macro.
32459
9a1d9254
JM
324602012-02-03 Joseph Myers <joseph@codesourcery.com>
32461
32462 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
32463 for non-PIC compilation.
32464 (SETUP_PIC_REG): Add .p2align directive.
32465 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
32466 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32467 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32468 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32469 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32470 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32471 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32472 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32473 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32474 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32475 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32476 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32477 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32478 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32479 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32480 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32481 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32482 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32483 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32484 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32485 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32486 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32487 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32488 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32489 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32490 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32491 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32492 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32493 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32494 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32495 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32496 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32497 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32498 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32499 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32500 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32501 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32502 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32503 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32504 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32505 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32506
65dc3b75
JM
325072012-02-03 Joseph Myers <joseph@codesourcery.com>
32508
32509 * math/tst-CMPLX.c: Include <stdio.h>.
32510
d55bf177
JM
325112012-01-31 Joseph Myers <joseph@codesourcery.com>
32512
32513 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
32514 float.
32515 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32516 * sysdeps/sparc/bits/mathdef.h: Likewise.
32517
69db4f8f
MP
325182012-01-31 Marek Polacek <polacek@redhat.com>
32519
32520 * libio/libio.h: Don't define _PARAMS.
32521 * locale/programs/config.h: Don't define PARAMS.
32522 * stdlib/strtol_l.c: Likewise.
32523 (__strtol_l): Remove PARAMS from the prototype.
32524
41b81892
UD
325252012-01-31 Ulrich Drepper <drepper@gmail.com>
32526
3b49edc0
UD
32527 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
32528 names. Just use the correct names. Remove unnecessary wrapper
32529 functions.
32530 * malloc/arena.c: Likewise.
32531 * malloc/hooks.c: Likewise.
32532
41b81892
UD
32533 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
32534 ARENA_TEST says not to. Simplify test for creation of a new arena.
32535 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
32536
27a25b6e
UD
325372012-01-30 Ulrich Drepper <drepper@gmail.com>
32538
32539 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
32540 into tail calls.
32541 (update_get_addr): New function.
32542 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
32543 GET_ADDR_MODULE parameter.
32544
c8a89e7d
JM
325452012-01-30 Joseph Myers <joseph@codesourcery.com>
32546
32547 * crypt/cert.c: Remove __STDC__ conditionals.
32548 * crypt/crypt-entry.c: Likewise.
32549 * crypt/crypt_util.c: Likewise.
32550 * libio/filedoalloc.c: Likewise.
32551 * libio/fileops.c: Likewise.
32552 * libio/genops.c: Likewise.
32553 * libio/iofclose.c: Likewise.
32554 * libio/iofdopen.c: Likewise.
32555 * libio/iofopen.c: Likewise.
32556 * libio/iofopen64.c: Likewise.
32557 * libio/iogetdelim.c: Likewise.
32558 * libio/iopopen.c: Likewise.
32559 * libio/obprintf.c: Likewise.
32560 * libio/oldfileops.c: Likewise.
32561 * libio/oldiofclose.c: Likewise.
32562 * libio/oldiofdopen.c: Likewise.
32563 * libio/oldiofopen.c: Likewise.
32564 * libio/oldiopopen.c: Likewise.
32565 * libio/wfiledoalloc.c: Likewise.
32566 * libio/wgenops.c: Likewise.
32567 * locale/programs/xmalloc.c: Likewise.
32568 * misc/syslog.c: Likewise.
32569 * stdio-common/xbug.c: Likewise.
32570 * string/memchr.c: Likewise.
32571 * string/memcmp.c: Likewise.
32572 * string/memrchr.c: Likewise.
32573 * string/rawmemchr.c: Likewise.
32574 * sysdeps/posix/getcwd.c: Likewise.
32575 * time/strftime_l.c: Likewise.
32576
3b100462
JM
325772012-01-30 Joseph Myers <joseph@codesourcery.com>
32578
32579 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
32580 * config.make.in (config-cflags-sse2avx): Define.
32581 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
32582 Fix typo.
32583
607998af
CM
325842012-01-29 Chris Metcalf <cmetcalf@tilera.com>
32585
32586 * scripts/config.guess: Update from upstream config git repository.
32587 * scripts/config.sub: Likewise.
32588
3601428f
CM
325892012-01-28 Chris Metcalf <cmetcalf@tilera.com>
32590
3ac8b282
CM
32591 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
32592 (EM_NUM): Update.
32593 (R_TILEPRO_*, R_TILEGX_*): New macros.
32594
e034841e
CM
32595 * scripts/firstversions.awk: Fix bug in version range handling.
32596
540d7568
CM
32597 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
32598
3601428f
CM
32599 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
32600
463de862
CM
32601 * include/sys/epoll.h: New file.
32602 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
32603 libc_hidden_def.
32604
73139a76
UD
326052012-01-28 Ulrich Drepper <drepper@gmail.com>
32606
96bc5b45
UD
32607 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
32608 Avoid unnecessary __WORDSIZE == 64 test.
32609 (fmaxf): Use VEX format if possible.
32610 (fmax): Likewise.
32611 (fminf): Likewise.
32612 (fmin): Likewise.
32613
56f6f6a2
UD
32614 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
32615 * math/math_private.h: Remove libc_fegetround* and
32616 libc_fesetround*.
32617 * sysdeps/i386/configure.in: Check for -msse2avx.
32618 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
32619 also if SSE2AVX is defined.
32620 Remove libc_fegetround* and libc_fesetround*.
32621 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
32622 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
32623 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
32624 of HAS_YMM_USABLE.
32625 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32626 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32627 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32628 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32629 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32630
73139a76
UD
32631 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
32632
d73f93a4
AZ
326332012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32634
32635 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
32636 size is not set.
32637 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32638
6ee65ed6
UD
326392012-01-27 Ulrich Drepper <drepper@gmail.com>
32640
32641 [BZ #13618]
32642 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
32643 relocation.
32644 * Makeconfig (libm): Define.
32645 * elf/Makefile: Add rules to build and run tst-relsort1.
32646 * elf/tst-relsort1.c: New file.
32647 * elf/tst-relsort1mod1.c: New file.
32648 * elf/tst-relsort1mod2.c: New file.
32649
8db21882
JM
326502012-01-27 Joseph Myers <joseph@codesourcery.com>
32651
32652 * math/s_ldexp.c: Remove __STDC__ conditionals.
32653 * math/s_ldexpf.c: Likewise.
32654 * math/s_ldexpl.c: Likewise.
32655 * math/s_nextafter.c: Likewise.
32656 * math/s_nexttowardf.c: Likewise.
32657 * math/s_significand.c: Likewise.
32658 * math/s_significandf.c: Likewise.
32659 * math/s_significandl.c: Likewise.
32660 * math/w_jnl.c: Likewise.
32661 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32662 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32663 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32664 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32665 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32666 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32667 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
32668 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32669 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32670 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32671 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32672 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32673 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32674 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32675 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32676 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32677 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32678 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32679 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32680 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32681 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32682 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32683 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32684 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32685 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32686 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32687 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32688 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32689 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32690 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32691 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32692 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32693 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32694 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32695 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32696 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32697 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32698 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32699 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32700 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32701 * sysdeps/ieee754/k_standard.c: Likewise.
32702 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32703 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32704 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32705 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32706 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32707 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32708 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32709 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32710 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32711 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32712 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32713 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32714 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32715 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32716 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32717 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32718 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32719 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32720 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32721 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32722 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32723 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32724 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32725 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32726 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32727 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32728 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32729 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32730 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32731 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32732 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32733 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
32734 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32735 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32736 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32737 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32738 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
32739 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32740 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32741 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
32742 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
32743 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32744 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
32745 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
32746 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32747 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32748 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32749 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32750 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32751 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
32752 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
32753 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32754 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32755 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32756 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32757 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32758 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
32759 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32760 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32761 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32762 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32763 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32764 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32765 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32766 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32767 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32768 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32769 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32770 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32771 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32772 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32773 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32774 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32775 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32776 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32777 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32778 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32779 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32780 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32781 * sysdeps/ieee754/s_matherr.c: Likewise.
32782 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32783 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32784 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32785 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32786
965a54a4
JM
327872012-01-26 Joseph Myers <joseph@codesourcery.com>
32788
32789 * crypt/md5.h: Remove __STDC__ conditionals.
32790 * libio/libioP.h: Likewise.
32791 * locale/programs/config.h: Likewise.
32792 * sysdeps/generic/sysdep.h: Likewise.
32793 * sysdeps/i386/asm-syntax.h: Likewise.
32794 * sysdeps/s390/asm-syntax.h: Likewise.
32795 * sysdeps/unix/sysdep.h: Likewise.
32796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32798
7071ad79
JM
327992012-01-26 Joseph Myers <joseph@codesourcery.com>
32800
32801 * libio/libio.h: Remove __STDC__ conditionals.
32802 * malloc/obstack.h: Likewise.
32803 * math/complex.h: Likewise.
32804 * math/math.h: Likewise.
32805 * sysdeps/generic/_G_config.h: Likewise.
32806 * sysdeps/gnu/_G_config.h: Likewise.
32807 * sysdeps/mach/hurd/_G_config.h: Likewise.
32808 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32809 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32810 * sysdeps/sparc/bits/mathdef.h: Likewise.
32811
afc5ed09
UD
328122012-01-26 Ulrich Drepper <drepper@gmail.com>
32813
32814 [BZ #13583]
32815 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 32816 Clean up HAS_* macros.
afc5ed09 32817 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
32818 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
32819 possible.
32820 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
32821 HAS_AVX.
32822 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32823 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32824 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32825 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32826 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 32827
bdb6de1d
JM
328282012-01-25 Joseph Myers <joseph@codesourcery.com>
32829
32830 * elf/tst-unique3.cc (gets): Remove declaration.
32831 * elf/tst-unique3lib.cc (gets): Likewise.
32832 * elf/tst-unique3lib2.cc (gets): Likewise.
32833 * elf/tst-unique4.cc (gets): Likewise.
32834
b15549e6
UD
328352012-01-24 Ulrich Drepper <drepper@gmail.com>
32836
32837 * include/stdio.h: Add C++ protection. Add gets declarations and
32838 definitions.
32839 * debug/tst-chk1.c: Don't declare gets here.
32840 * stdio-common/tst-gets.c: Likewise.
32841
a037381f
JM
328422012-01-24 Joseph Myers <joseph@codesourcery.com>
32843
32844 * posix/glob: Remove directory.
32845
f1d4aa75
JM
328462012-01-24 Joseph Myers <joseph@codesourcery.com>
32847
32848 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
32849
81c0c964
PT
328502012-01-22 Pino Toscano <toscano.pino@tiscali.it>
32851
32852 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
32853 of the non-standard EPFNOSUPPORT.
32854
0ea698ae
ST
328552011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
32856
32857 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
32858 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
32859 ANYWHERE set to 1 only on KERN_NO_SPACE error.
32860
d220b117
UD
328612012-01-21 Ulrich Drepper <drepper@gmail.com>
32862
32863 * wcsmbs/uchar.h: Test __STDC_VERSION__.
32864
3e1aa84e
UD
328652012-01-20 Ulrich Drepper <drepper@gmail.com>
32866
32867 * nscd/aicache.c (addhstaiX): Do not cache negative results of
32868 transient errors.
32869 * nscd/grpcache.c (cache_addgr): Likewise.
32870 * nscd/hstcache.c (cache_addhst): Likewise.
32871 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32872 * nscd/pwdcache.c (cache_addpw): Likewise.
32873 * nscd/servicescache.c (cache_addserv): Likewise.
32874
400aa020
UD
328752012-01-16 Ulrich Drepper <drepper@gmail.com>
32876
d77e7869
UD
32877 * malloc/malloc.c: Various cleanups.
32878 * malloc/hooks.c: Likewise.
32879
400aa020
UD
32880 * stdlib/Makefile (tests): Add bug-fmtmsg1.
32881 * stdlib/bug-fmtmsg1.c: New file.
32882
32883 * stdlib/fmtmsg.c (init): Add missing unlock.
32884 Patch by Peng Haitao <penght@cn.fujitsu.com>.
32885
e0a309cf
MP
328862012-01-12 Marek Polacek <polacek@redhat.com>
32887
32888 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
32889 and _GNU_SOURCE.
32890
929d11c7
WS
328912012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32892
32893 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
32894 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
32895 macro to ensure uniqueness of label name.
32896 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32897 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32898
41d0e869
UD
328992012-01-11 Ulrich Drepper <drepper@gmail.com>
32900
0cc5ed3b
UD
32901 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
32902
41d0e869
UD
32903 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
32904 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32905 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32906 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
32907
a47a831a
UD
329082012-01-10 Ulrich Drepper <drepper@gmail.com>
32909
daa891c0
UD
32910 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
32911
32912 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
32913 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32914 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32915
e58ef0f2
UD
32916 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
32917
a47a831a 32918 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
32919 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32920 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 32921 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
32922
32923 * math/bits/math-finite.h: Add ldexp support.
32924
a0bfc9c7
MP
329252012-01-10 Marek Polacek <polacek@redhat.com>
32926
32927 * locale/programs/localedef.h (show_archive_content): Add noreturn
32928 attribute.
32929
d6e97a1d
UD
329302012-01-09 Ulrich Drepper <drepper@gmail.com>
32931
32932 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
32933
d5835c26
UD
329342012-01-08 Ulrich Drepper <drepper@gmail.com>
32935
e5f484c6
UD
32936 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
32937
d5835c26
UD
32938 * io/Makefile (headers): Add bits/poll2.h.
32939
d1f741e9
WS
329402011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
32941
32942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
32943 typo #include statement.
32944
ec09c1c4
UD
329452012-01-08 Ulrich Drepper <drepper@gmail.com>
32946
32947 * include/sys/cdefs.h: Define __attribute_alloc_size.
32948 * catgets/gencat.c: Add alloc_size attribute and apply consistently
32949 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
32950 * elf/pldd.c: Likewise.
32951 * iconv/iconv_charmap.c: Likewise.
32952 * iconv/iconvconfig.c: Likewise.
32953 * iconv/strtab.c: Likewise.
32954 * locale/programs/locale.c: Likewise.
32955 * locale/programs/localedef.h: Likewise.
32956 * locale/programs/simple-hash.c: Likewise.
32957 * nscd/nscd.h: Likewise.
32958 * nss/makedb.c: Likewise.
32959 * sysdeps/generic/ldconfig.h: Likewise.
32960 * locale/programs/localedef.c: Remove xmalloc prototype.
32961 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
32962
20b38e03
PP
329632012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32964
32965 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
32966 appropriate.
32967
a0da5fe1
UD
329682012-01-08 Ulrich Drepper <drepper@gmail.com>
32969
1d5a644a 32970 * math/Makefile (tests): Add tst-CMPLX.
669704fd 32971 * math/tst-CMPLX.c: New file.
1d5a644a 32972
8784a6db
UD
32973 * math/complex.h (CMPLXL): Fix typo.
32974
d9a216c0
UD
32975 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
32976 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
32977 GLIBC_2.16.
32978 * debug/tst-chk1.c: Add poll and ppoll tests.
32979 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
32980 * include/sys/poll.h: Add hidden proto for ppoll.
32981 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
32982 * sysdeps/mach/hurd/ppoll.c: Likewise.
32983 * io/ppoll.c: Likewise.
32984 * debug/poll_chk.c: New file.
32985 * debug/ppoll_chk.c: New file.
32986 * include/bits/poll2.h: New file.
32987 * io/bits/poll2.h: New file.
32988
ac097f5c
UD
32989 [BZ #1350]
32990 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
32991
2119dcfa
UD
32992 * configure.in: static is always set to yes. Remove.
32993 * config.make.in: Don't set build-static.
32994 * Makeconfig: Remove use of build-static.
32995 * dlfcn/Makefile: Likewise.
32996 * elf/Makefile: Likewise.
32997 * math/Makefile: Likewise.
32998 * misc/Makefile: Likewise.
32999 * nptl/Makefile: Likewise.
33000 * sysdeps/mach/hurd/Makefile: Likewise.
33001
121766a9
UD
33002 * configure.in: PWD_P is not used anymore.
33003 * config.make.in: Remove PWD_P entry.
33004
51a1d39c 33005 * configure.in: Remove last remnants of RANLIB.
8720d066 33006 No need to check for signed size_t anymore.
215f4bdc
UD
33007 Don't set libc_commonpagesize and libc_relro_required here for Alpha
33008 and IA-64.
3857022a 33009 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
33010 * aclocal.m4: Likewise.
33011
d3ed7225
UD
33012 * wcsmbs/mbrtoc16.c: Implement using towc function.
33013 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
33014 * wcsmbs/wcsmbsload.c: Likewise.
33015 * iconv/gconv_simple.c: Likewise.
33016 * iconv/gconv_int.h: Likewise.
33017 * iconv/gconv_builtin.h: Likewise.
33018 * iconv/iconv_prog.c: Remove CHAR16 handling.
33019
33020 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
33021
33022 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
33023
a0da5fe1
UD
33024 * configure.in: Remove --with-elf and --enable-bounded options.
33025 Dont set base_machine for ia64. More non-ELF conditions removed.
33026 Remove testing and setting of leading underscore information.
33027 * config.make.in (build-bounded): Set to no.
33028 * config.h.in: Remove NO_UNDERSCORES entry.
33029 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
33030 them.
33031 * csu/start.c: Remove !NO_UNDERSCORE code.
33032 * locale/localeinfo.h: Likewise.
33033 * sysdeps/generic/machine-gmon.h: Likewise.
33034 * sysdeps/generic/sysdep.h: Likewise.
33035 * sysdeps/i386/sysdep.h: Likewise.
33036 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
33037 * sysdeps/mach/sysdep.h: Likewise.
33038 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33039 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33040 * sysdeps/sh/sysdep.h: Likewise.
33041 * sysdeps/sparc/sparc32/alloca.S: Likewise.
33042 * sysdeps/unix/i386/sysdep.S: Likewise.
33043 * sysdeps/unix/sparc/start.c: Likewise.
33044 * sysdeps/unix/sparc/sysdep.S: Likewise.
33045 * sysdeps/unix/sparc/sysdep.h: Likewise.
33046 * sysdeps/unix/start.c: Likewise.
33047 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33048 * sysdeps/x86_64/sysdep.h: Likewise.
33049
df78418a
UD
330502012-01-07 Ulrich Drepper <drepper@gmail.com>
33051
a784e502
UD
33052 [BZ #13553]
33053 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
33054 for non-gcc.
33055 * argp/argp-fmtstream.h: Use const instead __const.
33056 * argp/argp.h: Likewise.
33057 * assert/assert.h: Likewise.
33058 * bits/fenv.h: Likewise.
33059 * bits/sched.h: Likewise.
33060 * bits/sigset.h: Likewise.
33061 * bits/sigthread.h: Likewise.
33062 * catgets/nl_types.h: Likewise.
33063 * conform/data/pthread.h-data: Likewise.
33064 * crypt/crypt-private.h: Likewise.
33065 * crypt/crypt.h: Likewise.
33066 * crypt/crypt_util.c: Likewise.
33067 * ctype/ctype.h: Likewise.
33068 * debug/execinfo.h: Likewise.
33069 * debug/mbsnrtowcs_chk.c: Likewise.
33070 * debug/mbsrtowcs_chk.c: Likewise.
33071 * debug/wcsnrtombs_chk.c: Likewise.
33072 * debug/wcsrtombs_chk.c: Likewise.
33073 * debug/wcstombs_chk.c: Likewise.
33074 * dirent/dirent.h: Likewise.
33075 * dlfcn/dlfcn.h: Likewise.
33076 * elf/neededtest4.c: Likewise.
33077 * grp/grp.h: Likewise.
33078 * gshadow/gshadow.h: Likewise.
33079 * iconv/gconv.h: Likewise.
33080 * iconv/gconv_int.h: Likewise.
33081 * iconv/gconv_simple.c: Likewise.
33082 * iconv/iconv.h: Likewise.
33083 * iconv/loop.c: Likewise.
33084 * iconv/skeleton.c: Likewise.
33085 * include/aio.h: Likewise.
33086 * include/aliases.h: Likewise.
33087 * include/argz.h: Likewise.
33088 * include/arpa/inet.h: Likewise.
33089 * include/assert.h: Likewise.
33090 * include/dirent.h: Likewise.
33091 * include/dlfcn.h: Likewise.
33092 * include/execinfo.h: Likewise.
33093 * include/fcntl.h: Likewise.
33094 * include/fenv.h: Likewise.
33095 * include/glob.h: Likewise.
33096 * include/grp.h: Likewise.
33097 * include/libintl.h: Likewise.
33098 * include/mntent.h: Likewise.
33099 * include/netdb.h: Likewise.
33100 * include/pwd.h: Likewise.
33101 * include/rpc/netdb.h: Likewise.
33102 * include/sched.h: Likewise.
33103 * include/search.h: Likewise.
33104 * include/shadow.h: Likewise.
33105 * include/signal.h: Likewise.
33106 * include/stdio.h: Likewise.
33107 * include/stdlib.h: Likewise.
33108 * include/string.h: Likewise.
33109 * include/sys/socket.h: Likewise.
33110 * include/sys/stat.h: Likewise.
33111 * include/sys/statfs.h: Likewise.
33112 * include/sys/statvfs.h: Likewise.
33113 * include/sys/syslog.h: Likewise.
33114 * include/sys/time.h: Likewise.
33115 * include/sys/uio.h: Likewise.
33116 * include/time.h: Likewise.
33117 * include/unistd.h: Likewise.
33118 * include/utmp.h: Likewise.
33119 * include/wchar.h: Likewise.
33120 * include/wctype.h: Likewise.
33121 * inet/aliases.h: Likewise.
33122 * inet/arpa/inet.h: Likewise.
33123 * inet/netinet/ether.h: Likewise.
33124 * inet/netinet/in.h: Likewise.
33125 * intl/libintl.h: Likewise.
33126 * io/bits/fcntl2.h: Likewise.
33127 * io/fcntl.h: Likewise.
33128 * io/ftw.h: Likewise.
33129 * io/sys/poll.h: Likewise.
33130 * io/sys/stat.h: Likewise.
33131 * io/sys/statfs.h: Likewise.
33132 * io/sys/statvfs.h: Likewise.
33133 * io/utime.h: Likewise.
33134 * libio/bits/stdio.h: Likewise.
33135 * libio/bits/stdio2.h: Likewise.
33136 * libio/libio.h: Likewise.
33137 * libio/libioP.h: Likewise.
33138 * libio/stdio.h: Likewise.
33139 * locale/lc-ctype.c: Likewise.
33140 * locale/locale.h: Likewise.
33141 * login/utmp.h: Likewise.
33142 * malloc/arena.c: Likewise.
33143 * malloc/malloc.c: Likewise.
33144 * malloc/malloc.h: Likewise.
33145 * malloc/mcheck.c: Likewise.
33146 * malloc/mtrace.c: Likewise.
33147 * math/bits/mathcalls.h: Likewise.
33148 * math/fenv.h: Likewise.
33149 * math/math_private.h: Likewise.
33150 * misc/bits/error.h: Likewise.
33151 * misc/bits/syslog.h: Likewise.
33152 * misc/err.h: Likewise.
33153 * misc/error.h: Likewise.
33154 * misc/fstab.h: Likewise.
33155 * misc/mntent.h: Likewise.
33156 * misc/regexp.h: Likewise.
33157 * misc/search.h: Likewise.
33158 * misc/sgtty.h: Likewise.
33159 * misc/sys/mman.h: Likewise.
33160 * misc/sys/syslog.h: Likewise.
33161 * misc/sys/uio.h: Likewise.
33162 * misc/sys/xattr.h: Likewise.
33163 * misc/ttyent.h: Likewise.
33164 * nis/rpcsvc/ypclnt.h: Likewise.
33165 * nss/nss.h: Likewise.
33166 * posix/bits/unistd.h: Likewise.
33167 * posix/fnmatch.h: Likewise.
33168 * posix/glob.h: Likewise.
33169 * posix/sched.h: Likewise.
33170 * posix/spawn.h: Likewise.
33171 * posix/sys/wait.h: Likewise.
33172 * posix/unistd.h: Likewise.
33173 * posix/wordexp.h: Likewise.
33174 * pwd/pwd.h: Likewise.
33175 * resolv/netdb.h: Likewise.
33176 * resource/sys/resource.h: Likewise.
33177 * rt/aio.h: Likewise.
33178 * rt/bits/mqueue2.h: Likewise.
33179 * rt/mqueue.h: Likewise.
33180 * shadow/shadow.h: Likewise.
33181 * signal/signal.h: Likewise.
33182 * socket/send.c: Likewise.
33183 * socket/sendto.c: Likewise.
33184 * socket/sys/socket.h: Likewise.
33185 * stdio-common/printf.h: Likewise.
33186 * stdlib/bits/stdlib.h: Likewise.
33187 * stdlib/fmtmsg.h: Likewise.
33188 * stdlib/monetary.h: Likewise.
33189 * stdlib/stdlib.h: Likewise.
33190 * stdlib/ucontext.h: Likewise.
33191 * streams/stropts.h: Likewise.
33192 * string/argz.h: Likewise.
33193 * string/bits/string2.h: Likewise.
33194 * string/string.h: Likewise.
33195 * string/strings.h: Likewise.
33196 * sunrpc/rpc/auth.h: Likewise.
33197 * sunrpc/rpc/auth_des.h: Likewise.
33198 * sunrpc/rpc/clnt.h: Likewise.
33199 * sunrpc/rpc/netdb.h: Likewise.
33200 * sunrpc/rpc/pmap_clnt.h: Likewise.
33201 * sunrpc/rpc/xdr.h: Likewise.
33202 * sysdeps/generic/inttypes.h: Likewise.
33203 * sysdeps/generic/net/if.h: Likewise.
33204 * sysdeps/generic/sys/swap.h: Likewise.
33205 * sysdeps/gnu/net/if.h: Likewise.
33206 * sysdeps/gnu/utmpx.h: Likewise.
33207 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
33208 * sysdeps/i386/i486/bits/string.h: Likewise.
33209 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
33210 * sysdeps/s390/bits/string.h: Likewise.
33211 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
33212 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
33213 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
33214 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
33215 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
33216 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
33217 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
33218 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
33219 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
33220 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
33221 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
33222 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33223 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
33224 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33225 * sysdeps/unix/sysv/linux/readv.c: Likewise.
33226 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
33227 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
33228 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33229 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
33230 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
33231 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33232 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
33233 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
33234 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
33235 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
33236 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
33237 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
33238 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33239 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
33240 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
33241 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
33242 * sysvipc/sys/ipc.h: Likewise.
33243 * sysvipc/sys/msg.h: Likewise.
33244 * sysvipc/sys/sem.h: Likewise.
33245 * sysvipc/sys/shm.h: Likewise.
33246 * termios/termios.h: Likewise.
33247 * time/sys/time.h: Likewise.
33248 * time/time.h: Likewise.
33249 * wcsmbs/bits/wchar2.h: Likewise.
33250 * wcsmbs/uchar.h: Likewise.
33251 * wcsmbs/wchar.h: Likewise.
33252 * wctype/wctype.h: Likewise.
33253
0269750c
UD
33254 [BZ #13551]
33255 * Makeconfig: Remove all but ELF support including AIX support.
33256 * Makerules: Likewise.
33257 * config.h.in: Likewise.
33258 * config.make.in: Likewise.
33259 * configure: Likewise.
33260 * configure.in: Likewise.
33261 * csu/Makefile: Likewise.
33262 * csu/version.c: Likewise.
33263 * debug/Makefile: Likewise.
33264 * dlfcn/Makefile: Likewise.
33265 * elf/Makefile: Likewise.
33266 * extra-lib.mk: Likewise.
33267 * iconv/Makefile: Likewise.
33268 * include/libc-symbols.h: Likewise.
33269 * include/shlib-compat.h: Likewise.
33270 * resolv/Makefile: Likewise.
33271 * resolv/res_libc.c: Likewise.
33272 * rt/Makefile: Likewise.
33273 * sysdeps/i386/asm-syntax.h: Likewise.
33274 * sysdeps/i386/sysdep.h: Likewise.
33275 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
33276 * sysdeps/mach/sysdep.h: Likewise.
33277 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
33278 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
33279 * sysdeps/s390/asm-syntax.h: Likewise.
33280 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33281 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33282 * sysdeps/sh/sysdep.h: Likewise.
33283 * sysdeps/unix/sparc/sysdep.h: Likewise.
33284 * sysdeps/wordsize-32/divdi3.c: Likewise.
33285 * sysdeps/x86_64/sysdep.h: Likewise.
33286
00bbd29b
UD
33287 * argp/Versions: Remove _argp_unlock_xxx.
33288
33289 [BZ #13559]
33290 * abilist/ld.abilist: Update. Adjust for removal of tls option.
33291 * abilist/libBrokenLocale.abilist: Likewise.
33292 * abilist/libanl.abilist: Likewise.
33293 * abilist/libc.abilist: Likewise.
33294 * abilist/libcrypt.abilist: Likewise.
33295 * abilist/libdl.abilist: Likewise.
33296 * abilist/libm.abilist: Likewise.
33297 * abilist/libnsl.abilist: Likewise.
33298 * abilist/libpthread.abilist: Likewise.
33299 * abilist/libresolv.abilist: Likewise.
33300 * abilist/librt.abilist: Likewise.
33301 * abilist/libthread_db.abilist: Likewise.
33302 * abilist/libutil.abilist: Likewise.
33303 * abilist/libnss_db.abilist: New file.
33304
33305 * scripts/abilist.awk: Add support for indirect functions.
33306
a2693a0e
UD
33307 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
33308
3f05895f
UD
33309 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
33310
ecb6fb48
UD
33311 * shlib-versions: Remove entries for ports architectures.
33312
664f8cb9
UD
33313 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
33314 files in ports.
33315 * elf/stackguard-macros.h: Remove support for IA-64.
33316 * elf/tst-auditmod1.c: Likewise.
33317 * sysdeps/generic/ldsodefs.h: Likewise.
33318
7ae81d88
UD
33319 * sysdeps/unix/sysv/linux/configure.in: Ports should define
33320 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
33321 configure files.
33322
bdeba135
UD
33323 [BZ #13552]
33324 * configure.in: Remove --enable-omitfp support.
33325 * FAQ.in: Adjust.
33326 * config.make.in: Likewise.
33327 * Makeconfig: Likewise.
33328 * manual/install.texi: Likewise.
33329
d75a0a62
UD
33330 In case anyone cares, the IA-64 architecture could move to ports.
33331 * sysdeps/ia64/*: Removed.
33332 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 33333 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 33334
dcc9756b
UD
33335 [BZ #13555]
33336 * configure.in: Remove entries for unsupported architectures.
33337
d3761ebc 33338 [BZ #13533]
9954432e
UD
33339 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
33340 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
33341 routines.
33342 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
33343 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
33344 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
33345 fall back to using wcrtomb.
33346 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
33347 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
33348 renaming.
33349 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
33350 * wcsmbs/tst-c16c32-1.c: New file.
33351
33352 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
33353 local variable.
33354
c3a87236
UD
33355 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
33356
28926a1b
UD
33357 * elf/tst-unique3.cc: Add explicit declaration of gets.
33358 * elf/tst-unique3lib.cc: Likewise.
33359 * elf/tst-unique3lib2.cc: Likewise.
33360 * elf/tst-unique4.cc: Likewise.
33361
df78418a
UD
33362 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
33363
8ecd6b2a
JM
333642012-01-06 Joseph Myers <joseph@codesourcery.com>
33365
33366 [BZ #13566]
33367 * assert/assert.h (static_assert): Don't define for C++.
33368 * libio/stdio.h (gets): Do declare for C++ <= C++11.
33369 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
33370
9f115170
UD
333712012-01-03 Ulrich Drepper <drepper@gmail.com>
33372
5e0d0300
UD
33373 * iconv/loop.c (single loop): Fix assertion in storing of
33374 remaining bytes.
33375
9f115170
UD
33376 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
33377
81fb02b0
UD
333782012-01-01 Ulrich Drepper <drepper@gmail.com>
33379
33380 * posix/getconf.c: Update copyright year.
33381 * nss/getent.c: Likewise.
a316c1f6 33382 * nss/makedb.c: Likewise.
81fb02b0
UD
33383 * iconv/iconvconfig.c: Likewise.
33384 * iconv/iconv_prog.c: Likewise.
33385 * elf/ldconfig.c: Likewise.
a316c1f6
UD
33386 * elf/pldd.c: Likewise.
33387 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
33388 * catgets/gencat.c: Likewise.
33389 * csu/version.c: Likewise.
33390 * elf/ldd.bash.in: Likewise.
33391 * elf/sprof.c (print_version): Likewise.
33392 * locale/programs/locale.c: Likewise.
33393 * locale/programs/localedef.c: Likewise.
a316c1f6 33394 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
33395 * nscd/nscd.c (print_version): Likewise.
33396 * debug/xtrace.sh: Likewise.
33397 * malloc/memusage.sh: Likewise.
33398 * malloc/mtrace.pl: Likewise.
33399 * debug/catchsegv.sh: Likewise.
33400
2ba92745
JJ
334012011-12-30 Jakub Jelinek <jakub@redhat.com>
33402
33403 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
33404 pure attribute.
33405
dadebdae
UD
334062011-12-24 Ulrich Drepper <drepper@gmail.com>
33407
d3761ebc 33408 [BZ #13533]
db6af3eb
UD
33409 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
33410 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
33411 transformations.
33412 * iconv/gconv_int.h: Likewise.
33413 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
33414 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
33415 from libc for GLIBC_2.16.
33416 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
33417 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
33418 * wcsmbs/uchar.h: Really define mbstate_t.
33419 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
33420 * wcsmbs/c16rtomb.c: New file.
33421 * wcsmbs/mbrtoc16.c: New file.
33422 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
33423 for C/POSIX locale.
33424 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
33425 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
33426
dadebdae
UD
33427 * wcsmbs/wchar.h: Add missing __restrict.
33428
67371b56
UD
334292011-12-23 Ulrich Drepper <drepper@gmail.com>
33430
74033a25
UD
33431 [BZ #13532]
33432 * time/Makefile (routines): Add timespec_get.
33433 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
33434 * time/time.h: Define TIME_UTC and declare timespec_get. Define
33435 timespec for ISO C11.
33436 * time/timespec_get.c: New file.
33437 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
33438 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
33439
380d7e87
UD
33440 [BZ #13531]
33441 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
33442 * stdlib/stdlib.h: Declare aligned_alloc.
33443 * Versions.def: Add GLIBC_2.16 for libc.
33444 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
33445
4e9e7a35
UD
33446 [BZ 13527]
33447 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
33448 ISO C11.
33449
380d7e87 33450 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
33451 code.
33452
03a71829
UD
33453 [BZ #13528]
33454 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
33455
839e283e
UD
33456 [BZ #13529]
33457 * assert/assert.h (static_assert): Define.
33458
ce5294e2 33459 * version.h: Update for 2.16 development version.
90fa7312 33460
8d44e150 33461 [BZ #13526]
d7809905
UD
33462 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
33463 _ISOC11_SOURCE.
33464
c0da14cd
UD
33465 * version.h (RELEASE): Bump for 2.15 release.
33466 * include/features.h (__GLIBC_MINOR__): Bump to 15.
33467
530a3249
MP
33468 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
33469 Patch by Marek Polacek <mpolacek@redhat.com>.
33470
67371b56
UD
33471 * bits/byteswap.h: Protect long long constants with __extension__.
33472 * sysdeps/i386/bits/byteswap.h: Likewise.
33473 * sysdeps/ia64/bits/byteswap.h: Likewise.
33474 * sysdeps/s390/bits/byteswap.h: Likewise.
33475 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33476
15db4de1
LD
334772011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33478
33479 [BZ #13540]
bbe315ea
LD
33480 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
33481 destination buffer.
15db4de1
LD
33482 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
33483
2b2596b1
MP
334842011-12-23 Marek Polacek <polacek@redhat.com>
33485
33486 * elf/dl-addr.c (determine_info): Add inline keyword.
33487 * elf/tst-auditmod4b.c (check_avx): Likewise.
33488 * elf/tst-auditmod6b.c (check_avx): Likewise.
33489 * elf/tst-auditmod6c.c (check_avx): Likewise.
33490 * elf/tst-auditmod7b.c (check_avx): Likewise.
33491
70c6c246
UD
334922011-12-23 Ulrich Drepper <drepper@gmail.com>
33493
33494 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
33495 !__SSE_MATH__.
33496
c044cf14
LD
334972011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33498
15db4de1 33499 [BZ #13540]
c044cf14
LD
33500 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
33501 processing for last bytes.
33502
6b13d9d9
BH
335032011-08-06 Bruno Haible <bruno@clisp.org>
33504
d455f537
BH
33505 [BZ #13061]
33506 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
33507 U+0385, not to U+1FEE.
33508
6b13d9d9
BH
33509 [BZ #13062]
33510 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
33511 entry for U+00A5 U+0301.
33512
db910efd
UD
335132011-12-22 Ulrich Drepper <drepper@gmail.com>
33514
27deeafc
UD
33515 [BZ #13166]
33516 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
33517 buffer for the output is too small.
33518
aed9d171
UD
33519 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
33520 optimization.
33521
db910efd
UD
33522 [BZ #13185]
33523 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
33524 SSE flags if possible.
33525
2bd779ae
LD
335262011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33527
e7f9dac3 33528 [BZ #13540]
2bd779ae
LD
33529 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
33530 processing for last bytes.
33531
154bfc16
JM
335322011-12-22 Joseph Myers <joseph@codesourcery.com>
33533
33534 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
33535 (syscall-list-default-options, syscall-list-default-condition)
33536 (syscall-list-includes): Define.
33537 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
33538 list of ABIs and options and #if conditions for each ABI. Do not
33539 handle common syscalls between ABIs specially.
33540 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
33541 Remove.
33542 (syscall-list-variants, syscall-list-32bit-options)
33543 (syscall-list-32bit-condition, syscall-list-64bit-options)
33544 (syscall-list-64bit-condition): Define.
33545 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
33546 (syscall-list-variants, syscall-list-32bit-options)
33547 (syscall-list-32bit-condition, syscall-list-64bit-options)
33548 (syscall-list-64bit-condition): Define.
33549 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
33550 Remove.
33551 (syscall-list-variants, syscall-list-32bit-options)
33552 (syscall-list-32bit-condition, syscall-list-64bit-options)
33553 (syscall-list-64bit-condition): Define.
33554 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
33555 Remove.
33556 (syscall-list-variants, syscall-list-32bit-options)
33557 (syscall-list-32bit-condition, syscall-list-64bit-options)
33558 (syscall-list-64bit-condition): Define.
33559
21eaf3a5
UD
335602011-12-22 Ulrich Drepper <drepper@gmail.com>
33561
16c6f992
UD
33562 * locale/iso-639.def: Add brx entry.
33563
41043168
UD
33564 [BZ #13328]
33565 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
33566 Proposed by Mariusz_Cukr <marcukr@op.pl>.
33567
21eaf3a5
UD
33568 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
33569 __feraiseexcept_renamed.
33570
e3a851a2
UD
335712011-12-21 Ulrich Drepper <drepper@gmail.com>
33572
4920765e
UD
33573 [BZ #13538]
33574 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
33575 EPOLLET with unsigned values.
33576 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33577 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33578
e3a851a2
UD
33579 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
33580 to large cancellation.
33581 * math/s_cacoshf.c: Likewise.
33582 * math/s_cacoshl.c: Likewise.
33583
b27e24b8
RK
335842011-11-18 Richard B. Kreckel <kreckel@ginac.de>
33585
33586 [BZ #13305]
aebefeee 33587 [BZ #12786]
b27e24b8
RK
33588 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
33589 * math/s_cacoshf.c: Likewise.
33590 * math/s_cacoshl.c: Likewise.
33591
ee190f67
UD
335922011-12-21 Ulrich Drepper <drepper@gmail.com>
33593
33594 [BZ #13439]
33595 * iconv/gconv.h: Define __GCONV_SWAP.
33596 * iconvdata/unicode.c: The swap bit must be stored in __flags.
33597 * iconvdata/utf-16.c: Likewise.
33598 * iconvdata/utf-32.c: Likewise.
33599
707f25df
AS
336002011-12-21 Andreas Schwab <schwab@linux-m68k.org>
33601
33602 [BZ #13524]
33603 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
33604 numerator after shifting it by one limb.
33605
d2daaa1e
RÁE
336062011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
33607
33608 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
33609 under [__USE_EXTERN_INLINES].
33610
a4647e72
UD
336112011-12-17 Ulrich Drepper <drepper@gmail.com>
33612
33613 [BZ #13446]
33614 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
33615
f0b264f1
AZ
336162011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33617
33618 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
33619 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
33620 optimized code.
33621 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
33622 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
33623 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
33624 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
33625 for strncasecmp/strncasecmp_l compilation.
33626 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
33627 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
33628
8ef4f244
MP
336292011-12-08 Marek Polacek <mpolacek@redhat.com>
33630
33631 [BZ #13484]
33632 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
33633 of __asm__.
33634
97ac2654
UD
336352011-12-17 Ulrich Drepper <drepper@gmail.com>
33636
33637 [BZ #13506]
33638 * time/tzfile.c (__tzfile_read): Check values from file header.
33639
91d2a845
WS
336402011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33641
33642 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
33643 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
33644 * powerpc/powerpc32/dl-start.S: Likewise.
33645 * powerpc/powerpc32/elf/start.S: Likewise.
33646 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33647 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
33648 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
33649 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
33650 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33651 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
33652 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
33653 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
33654 * powerpc/powerpc32/fpu/s_round.S: Likewise.
33655 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33656 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33657 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33658 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
33659 * powerpc/powerpc32/memset.S: Likewise.
33660 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33661 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33662 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33663 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33664 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33665 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33666 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33667 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33668 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
33669 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
33670 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
33671 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
33672 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
33673
a1267ba1
AZ
336742011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33675
33676 * math/libm-test.inc: Added more nearbyint tests.
33677 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
33678 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
33679 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
33680 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
33681
ad8ac1bd
RL
336822011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
33683
33684 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
33685 FD_CLOEXEC.
33686
1d3e4b61
UD
336872011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33688
33689 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
33690 Add wcscpy-ssse3 wcscpy-c.
33691 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
33692 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
33693 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
33694 * sysdeps/x86_64/wcschr.S: New file.
33695 * sysdeps/x86_64/wcsrchr.S: New file.
33696 * string/test-strcmp.c: Remove checking of wcscmp function for
33697 wrong alignments.
33698 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
33699 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
33700 wcsrchr-sse2 wcsrchr-c.
33701 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
33702 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
33703 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
33704 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
33705 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
33706 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
33707 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
33708 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
33709 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
33710 * wcsmbc/wcschr.c (WCSCHR): New macro.
33711
5b330a2d
UD
337122011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33713
33714 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
33715 * wcsmbs/test-wcsrchr.c: New file.
33716 * string/test-strrchr.c: Add wcsrchr support.
33717 (WIDE): New macro.
33718 * wcsmbs/test-wcscpy.c: New file.
33719 * string/test-strcpy.c: Add wcscpy support.
33720 (WIDE): New macro.
26428b7c 33721
f039c043
UD
337222011-12-10 Ulrich Drepper <drepper@gmail.com>
33723
33724 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
33725 the inner loop.
33726
850fb039
AS
337272011-12-06 Andreas Schwab <schwab@linux-m68k.org>
33728
33729 [BZ #13472]
33730 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
33731
4efbd5cb
UD
337322011-12-04 Ulrich Drepper <drepper@gmail.com>
33733
52ff5dd0 33734 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 33735 Minor optimizations.
52ff5dd0 33736
4efbd5cb
UD
33737 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
33738 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
33739 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33740
8a426e12
UD
337412011-12-03 Ulrich Drepper <drepper@gmail.com>
33742
aff2453d
UD
33743 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
33744 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
33745 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
33746 for gcc to avoid warnings.
33747 * inet/Makefile (tests): Add tst-checks.
33748 * inet/tst-checks.c: New file.
33749
33750 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
33751 warning.
33752
33753 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
33754 __wmemcmp_sse2.
33755
33756 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
33757 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
33758
8a426e12
UD
33759 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
33760
9bea3473
UD
337612011-12-02 Ulrich Drepper <drepper@gmail.com>
33762
3a965496
UD
33763 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
33764 problem.
33765
9bea3473
UD
33766 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
33767
f101631b
UD
337682011-11-29 Joseph Myers <joseph@codesourcery.com>
33769
33770 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
33771 conditional on GCC version.
33772 (__arch_compare_and_exchange_val_8_acq)
33773 (__arch_compare_and_exchange_val_16_acq)
33774 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
33775 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
33776 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
33777
a98275aa
UD
337782011-12-02 Joseph Myers <joseph@codesourcery.com>
33779
33780 * sysdeps/sh/backtrace.c: New file.
33781
d4cc29a2
AS
337822011-12-02 Andreas Schwab <schwab@redhat.com>
33783
33784 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
33785 parenthesis.
33786
6257af2d
AS
337872011-12-01 Andreas Schwab <schwab@redhat.com>
33788
33789 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
33790 falling back to utime.
33791
b5f44c1a
AS
337922011-11-30 Andreas Schwab <schwab@redhat.com>
33793
33794 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
33795 expectations for float.
33796
f3a6cc0a
AS
337972011-11-29 Andreas Schwab <schwab@redhat.com>
33798
33799 * locale/weight.h (findidx): Add parameter len.
33800 * locale/weightwc.h (findidx): Likewise.
33801 * posix/fnmatch_loop.c (FCT): Adjust caller.
33802 * posix/regcomp.c (build_equiv_class): Likewise.
33803 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
33804 * posix/regexec.c (check_node_accept_bytes): Likewise.
33805 * string/strcoll_l.c (STRCOLL): Likewise.
33806 * string/strxfrm_l.c (STRXFRM): Likewise.
33807
9d65ea3a
UD
338082011-11-17 Ulrich Drepper <drepper@gmail.com>
33809
33810 * Makefile.in: Remove CVSOPT handling.
33811 * configure.in: Remove use of AC_REVISION.
33812 * iconvdata/Makefile (distribute): No need to filter out CVS.
33813 * scripts/list-sources.sh: Remove CVS, subversion and monotone
33814 handling.
33815
5583a086
AS
338162011-11-16 Andreas Schwab <schwab@redhat.com>
33817
33818 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
33819 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
33820 [USE_AS_STRNCASECMP_L]: Likewise.
33821 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
33822 NO_TLS_DIRECT_SEG_REFS.
33823 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
33824 Fix argument offsets for non-PIC.
33825 [USE_AS_STRNCASECMP_L]: Likewise.
33826 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
33827 NO_TLS_DIRECT_SEG_REFS.
33828
d62a8200
UD
338292011-11-15 Ulrich Drepper <drepper@gmail.com>
33830
9d65ea3a 33831 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
33832 O_CLOEXEC.
33833 * locale/loadlocale.c (_nl_load_locale): Likewise.
33834
09f93bd3
AS
338352011-11-15 Andreas Schwab <schwab@redhat.com>
33836
446514f9
AS
33837 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
33838 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
33839 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
33840 (SYSCALL_GETTIME): Set errno on error.
33841
09f93bd3
AS
33842 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
33843 count references to noai6ai_cached.
33844
312be3f9
UD
338452011-11-15 Ulrich Drepper <drepper@gmail.com>
33846
33847 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
33848
33849 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
33850 FD_CLOEXEC for /proc/self/maps.
33851
33852 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
33853 FD_CLOEXEC for /proc/meminfo.
33854
33855 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
33856 gai.conf.
33857
33858 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
33859 FD_CLOEXEC for given file.
33860
33861 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
33862
33863 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
33864 FD_CLOEXEC for /etc/hosts.
33865 (_gethtent): Likewise.
33866
33867 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
33868
33869 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
33870 cancellation and set FD_CLOEXEC for /etc/netgroup.
33871
33872 * nss/nss_files/files-key.c (search): Don't allow cancellation when
33873 reading /etc/publickey.
33874
33875 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
33876 allow cancellation when reading /etc/group.
33877
33878 * nss/nss_files/files-alias.c (internal_setent): Don't allow
33879 cancellation.
33880 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
33881
33882 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
33883 when using data file.
33884
33885 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
33886
33887 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
33888 (write_nis_obj): Use "c" and "e" in fopen.
33889
33890 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
33891
33892 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
33893
33894 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
33895
33896 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
33897
33898 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
33899 locale.alias.
33900
33901 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
33902
33903 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
33904
33905 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
33906
33907 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
33908 file parsing and set FD_CLOEXEC.
33909
82af0fa8
UD
339102011-11-14 Ulrich Drepper <drepper@gmail.com>
33911
33912 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
33913
a5fb313c
AS
339142011-11-14 Andreas Schwab <schwab@redhat.com>
33915
33916 * malloc/arena.c (arena_get2): Don't call reused_arena when
33917 _int_new_arena failed.
33918
6abf3465
UD
339192011-11-14 Ulrich Drepper <drepper@gmail.com>
33920
33921 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
33922 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
33923 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
33924 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33925 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33926 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
33927 to compile strcasecmp and strncasecmp.
33928 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
33929 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
33930
33931 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
33932
76e3966e
UD
339332011-11-13 Ulrich Drepper <drepper@gmail.com>
33934
33935 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
33936 locale-defines.sym to gen-as-const-headers.
33937 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
33938 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
33939 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
33940 to compile strcasecmp and strncasecmp.
33941 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
33942 strcasecmp_l and strncasecmp_l.
33943 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
33944 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
33945 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
33946 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
33947 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
33948 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
33949 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
33950 * sysdeps/i386/i686/multiarch/strncase.S: New file.
33951 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
33952 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
33953 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
33954
ab26144e
UD
339552011-11-12 Ulrich Drepper <drepper@gmail.com>
33956
7edb22ef
UD
33957 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
33958 result of SYSDEP_GETTIME_CPU to retval.
33959 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
33960 parameter list to macro. Remove trailing semicolon. Adjust users.
33961
9694fc44
UD
33962 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
33963 variable.
33964
8ad89ef8
UD
33965 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
33966 mantissa words.
33967 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33968
0c822ef9
UD
33969 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
33970 from unused variable.
33971
874e0564
UD
33972 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
33973 DWARF definitions.
33974 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
33975 for assembling.
33976
3a2edc79
UD
33977 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
33978 over namespaces.
33979
f3c2577f
UD
33980 * sunrpc/rpc_prot.c (rejected): Fix case value.
33981
294ce126
UD
33982 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
33983 unsigned long long int to avoid warnings in shift.
33984
5e2b63c6
UD
33985 * posix/regex_internal.c (re_string_reconstruct): Actually use result
33986 of use of trans.
33987 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
33988 variable tmp.
33989
e7f4b08e
UD
33990 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
33991 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
33992 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
33993
ab26144e
UD
33994 * nis/nis_table.c (nis_list): Use variable of correct type for
33995 result of __follow_path call.
33996
8a6d5255
AZ
339972011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33998
33999 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
34000 of math functions ceil, trunc, floor, round, and sqrt, when
34001 avaliable on the platform.
34002 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
34003 name clash.
34004 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34005 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
34006 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
34007
aaddc98c
MP
340082011-10-30 Marek Polacek <mpolacek@redhat.com>
34009
34010 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
34011 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
34012
95b7042b
RM
340132011-11-11 Roland McGrath <roland@hack.frob.com>
34014
34015 * include/unistd.h: Fix __readlink return type.
34016 Reported by Chris Metcalf <cmetcalf@tilera.com>.
34017
57769839
UD
340182011-11-11 Ulrich Drepper <drepper@gmail.com>
34019
34020 * stdlib/ucontext.h: Undo last change for makecontext.
34021
edc5984d
AS
340222011-11-11 Andreas Schwab <schwab@redhat.com>
34023
98591e58
AS
34024 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
34025
edc5984d
AS
34026 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
34027 * setjmp/setjmp.h: Mark functions as non-leaf.
34028 * setjmp/bits/setjmp2.h: Likewise.
34029 * stdlib/ucontext.h: Likewise.
34030
77cdc054
AS
340312011-11-10 Andreas Schwab <schwab@redhat.com>
34032
34033 * malloc/arena.c (_int_new_arena): Don't increment narenas.
34034 (reused_arena): Don't check arena limit.
34035 (arena_get2): Atomically check arena limit.
34036
fe72eebd
UD
340372011-11-08 Ulrich Drepper <drepper@gmail.com>
34038
5f078c32
UD
34039 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
34040 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
34041
fe72eebd
UD
34042 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
34043 instructions.
34044
ae1bc2fa
AS
340452011-11-07 Andreas Schwab <schwab@redhat.com>
34046
7583a88d
AS
34047 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
34048 handler when locking.
34049
ae1bc2fa
AS
34050 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34051 Fix size of allocated buffer.
34052
10fb0bfa
AS
340532011-11-04 Andreas Schwab <schwab@redhat.com>
34054
998832a4
AS
34055 [BZ #10103]
34056 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
34057 declarations for long double functions.
34058 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
34059
10fb0bfa
AS
34060 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
34061
3d7ba52b
AS
340622011-11-03 Andreas Schwab <schwab@redhat.com>
34063
a9ae54a1
AS
34064 * nscd/nscd.c (main): Don't start AVC thread until credentials are
34065 installed.
34066
3d7ba52b
AS
34067 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
34068 is disabled.
34069
bc8db248
ST
340702011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
34071
34072 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
34073
45b96dd6
AS
340742011-11-01 Andreas Schwab <schwab@linux-m68k.org>
34075
647776f6
AS
34076 * include/alloca.h (stackinfo_alloca_round): Define.
34077 (extend_alloca): Use it.
34078 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
34079 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
34080 here.
34081
d91a8b93
AS
34082 * scripts/check-local-headers.sh: Ignore libaudit.h.
34083
45b96dd6
AS
34084 * nscd/Makefile (extra-objs): Make recursively expanded.
34085
432d41ce
UD
340862011-11-01 Ulrich Drepper <drepper@gmail.com>
34087
34372fc6
UD
34088 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
34089 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
34090
fadb59f8
UD
34091 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
34092 * posix/tst-rfc3484-2.c: Likewise.
34093 * posix/tst-rfc3484-3.c: Likewise.
34094
78239589
UD
34095 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34096 process_vm_writev.
34097 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
34098 process_vm_writev.
34099 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
34100 process_vm_writev from libc using GLIBC_2.15 version.
34101
432d41ce
UD
34102 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
34103
02f9c6cf
PP
341042011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
34105
34106 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
34107 stack usage.
34108
3a2c0242
UD
341092011-10-31 Ulrich Drepper <drepper@gmail.com>
34110
f4ec4833
UD
34111 [BZ #13367]
34112 * nss/getent.c (initgroups_keys): Show error message in case no group
34113 names are given.
34114
3a2c0242
UD
34115 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
34116 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
34117 __bump_nl_timestamp.
34118 * nscd/connections (nscd_init): When host database is served open
34119 netlink socket and request notification about configuration changes.
34120 (main_loop_poll): Track netlink file descriptor and bump timestamp
34121 in case data becomes available.
34122 (main_loop_epoll): Likewise.
34123 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
34124 (database_pers_head): Add extra_data fileds.
34125 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
34126 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
34127 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
34128 Adjust caller.
34129 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
34130 in6ai data, call __free_in6ai.
34131 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
34132 Add -DHAVE_NETLINK.
34133 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
34134 interface information. Reuse previous data if netlink timestamp
34135 is not changed.
34136 (__bump_nl_timestamp): New function.
34137 (__free_in6ai): New function.
34138
636064eb
UD
341392011-10-30 Ulrich Drepper <drepper@gmail.com>
34140
34141 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
34142 close_not_cancel_no_status here.
34143 (__check_pf): Reorganize code a bit to not call close twice if OOM.
34144
9beb2334
UD
341452011-10-29 Ulrich Drepper <drepper@gmail.com>
34146
6ef76f3b
UD
34147 [BZ #13276]
34148 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
34149 return value.
34150
0ffc4f3e 34151 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
34152 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
34153 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
34154
cb95113e
UD
341552011-07-03 Andreas Jaeger <aj@suse.de>
34156
34157 [BZ #10709]
34158 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
34159 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
34160 * math/libm-test.inc (sin_test): Add test case.
34161
a1b560ff
UD
341622011-10-29 Ulrich Drepper <drepper@gmail.com>
34163
c9aaface
UD
34164 [BZ #13337]
34165 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
34166 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
34167
d272e7f1
UD
34168 * elf/chroot_canon.c (chroot_canon): Cleanups.
34169
1bc33071
UD
34170 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
34171
1760874d
TJ
34172 [BZ #13335]
34173 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
34174 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
34175
51d91b18
UD
34176 * string/test-strchr.c: Make usable for strchrnul testing.
34177 * string/test-strchrnul.c: New file.
34178 * string/Makefile (strop-tests): Add strchrnul.
34179
a1b560ff 34180 * po/it.po: Update from translation team.
b611fb81 34181 * po/es.po: Likewise.
a1b560ff 34182
a5b81e1f
UD
341832011-10-28 Ulrich Drepper <drepper@gmail.com>
34184
fd52bc6d
UD
34185 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
34186 the three constants needed as parameters. Drop the others.
34187 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
34188 __m128i_strloadu_tolower.
52e4b9eb
UD
34189 Create and initialize variable zero and use it in all the places
34190 where _mm_setzero_si128 was used.
fd52bc6d 34191
a5b81e1f
UD
34192 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
34193 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
34194 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
34195 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
34196 anymore.
34197 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
34198 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
34199 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
34200 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
34201 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
34202 __mpranred, __mptan.
34203 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
34204 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
34205 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
34206 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
34207 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
34208 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
34209 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
34210 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
34211 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
34212
b4343346
AS
342132011-10-28 Andreas Schwab <schwab@redhat.com>
34214
0c92d8a8
AS
34215 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
34216 redefine if SHARED.
34217 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
34218
b4343346
AS
34219 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
34220 wide char related routines to wcsmbs subdir.
34221
3871f58f
AS
342222011-10-27 Andreas Schwab <schwab@redhat.com>
34223
34224 [BZ #13344]
34225 * misc/sys/cdefs.h (__THROWNL): Define.
34226 * posix/unistd.h: Use __THREADNL instead of __THREAD
34227 for memory synchronization functions.
34228
94d44d9f
RM
342292011-10-26 Roland McGrath <roland@hack.frob.com>
34230
21b64b15 34231 [BZ #13349]
94d44d9f
RM
34232 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
34233 doesn't exist.
34234 * manual/stdio.texi (Obstack Streams): Node removed.
34235
f6ce9294
AS
342362011-10-26 Andreas Schwab <schwab@redhat.com>
34237
80479147
AS
34238 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
34239 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34240 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34241
f6ce9294
AS
34242 * math/math_private.h (math_force_eval): Allow non-addressable
34243 arguments.
34244 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
34245
618280a1
UD
342462011-10-25 Ulrich Drepper <drepper@gmail.com>
34247
e0016b11
UD
34248 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
34249 file is not needed.
34250
34251 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
34252 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34253 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34254 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34255 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34256 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34257 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34258 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
34259 Add AVX variants.
34260 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
34261 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
34262 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
34263 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
34264 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
34265 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
34266 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
34267 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
34268 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
34269 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
34270 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
34271 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
34272 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
34273 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
34274 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
34275 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
34276 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
34277 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
34278 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
34279
34280 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
34281 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
34282
618280a1
UD
34283 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
34284 place. Use VEX encoding when compiling for AVX.
34285
37822576
AS
342862011-10-25 Andreas Schwab <schwab@redhat.com>
34287
1f1e1947
AS
34288 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
34289 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
34290
37822576
AS
34291 * string/test-strchr.c (do_test): Don't generate NUL bytes.
34292
31ea014d
UD
342932011-10-25 Ulrich Drepper <drepper@gmail.com>
34294
d7826aa1 34295 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 34296 useless if() expression.
d7826aa1
UD
34297 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34298 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34299 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34300 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34301 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34302 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34303 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34304 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34305 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34306 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34307 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34308 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34309 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34310 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34311 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34312 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34313 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34314 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34315 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34316
31ea014d
UD
34317 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
34318
16437fec
AS
343192011-10-25 Andreas Schwab <schwab@redhat.com>
34320
34321 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
34322 condition.
34323 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34324
31d3cc00
UD
343252011-10-25 Ulrich Drepper <drepper@gmail.com>
34326
34327 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
34328 .text section. Avoid duplicate constants.
34329 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34330 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34331 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34332 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34333 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34334 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34335 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34336 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34337 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34338 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
34339 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34340 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34341 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34342 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34343 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34344 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34345 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34346 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34347 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34348 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34349 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34350 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34351 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34352 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
34353 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
34354 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
34355 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
34356 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
34357 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
34358 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
34359 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
34360 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
34361 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34362 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
34363 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
34364 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
34365 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
34366 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
34367 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
34368 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
34369 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
34370 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
34371 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
34372 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
34373 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
34374
58985aa9
UD
343752011-10-24 Ulrich Drepper <drepper@gmail.com>
34376
202c9deb
UD
34377 * sysdeps/x86_64/dla.h: Move to ...
34378 * sysdeps/x86_64/fpu/dla.h: ...here.
34379 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
34380 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 34381
af968f62
UD
34382 * config.make.in: Add have-mfma4 entry.
34383 * configure.in: Substitute libc_cv_cc_fma4.
34384 * math/Makefile (dbl-only-routines): Add sincostab.
34385 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
34386 Use __sincostab not sincos.
34387 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
34388 name is a macro.
34389 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34390 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34391 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34392 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
34393 using __copysign.
34394 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
34395 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
34396 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
34397 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
34398 and __inv.
34399 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
34400 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
34401 __copysign.
34402 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
34403 define aliases when function name is a macro.
34404 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
34405 sysdeps/ieee754/dbl-64/sincos.tbl.
34406 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
34407 fma4-enabled routines.
34408 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
34409 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
34410 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
34411 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
34412 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
34413 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
34414 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
34415 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
34416 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
34417 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
34418 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
34419 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
34420 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
34421 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
34422 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
34423 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
34424 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
34425 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
34426 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
34427 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
34428 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
34429 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
34430 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
34431 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
34432 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
34433 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
34434 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
34435 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
34436 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
34437 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
34438
58985aa9
UD
34439 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
34440 rename.
34441 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34442 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34443 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34444 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34445 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34446 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34447 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34448 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34449
a201fbcf
AS
344502011-10-24 Andreas Schwab <schwab@redhat.com>
34451
34452 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
34453
fc2ee42a
LD
344542011-10-23 Ulrich Drepper <drepper@gmail.com>
34455
bb3129bd
UD
34456 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
34457
0275fff8
UD
34458 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
34459 prediction.
34460 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
34461
2fa2ae85
UD
34462 * string/strnlen.c: Don't define STRNLEN, reverse logic.
34463 Remove unused variable magic_bits.
34464 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
34465
fc2ee42a
LD
34466 * string/strnlen.c: Define and use STRNLEN macro.
34467 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
34468 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
34469 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
34470 * wcsmbs/wcslen.c: Define and use WCSLEN.
34471 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
34472 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
34473 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
34474 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
34475 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
34476 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
34477 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34478
ce7dd29f
LD
344792011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34480
34481 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34482 strnlen-sse2-no-bsf.
34483 Rename strlen-no-bsf to strlen-sse2-no-bsf.
34484 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
34485 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
34486 Add strnlen support.
34487 (USE_AS_STRNLEN): New macro.
34488 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
34489 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
34490 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
34491 * sysdeps/x86_64/wcslen.S: New file.
34492
979c70a3
MZ
344932011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
34494
34495 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34496 XMM-moves are used for copying on small sizes.
34497
2d09f82f
LD
344982011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34499
34500 * wcsmbs/Makefile (strop-tests): Add wcschr.
34501 * wcsmbs/test-wcschr.c: New file.
34502 * string/test-strchr.c: Update.
34503 Add wcschr support.
34504 (WIDE): New macro.
34505
619fccca
LD
345062011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34507
2d09f82f 34508 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
34509 * wcsmbs/test-wcslen.c: New file.
34510 * string/test-strlen.c: Update.
34511 Add wcslen support.
34512 (WIDE): New macro.
34513
09f699ea
UD
345142011-10-23 Ulrich Drepper <drepper@gmail.com>
34515
34516 * po/it.po: Update from translation team.
34517
95584d3b
LD
345182011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34519
34520 * sysdeps/x86_64/wcscmp.S: Update.
34521 Fix wrong comparison semantics.
34522 wcscmp shall use signed comparison not unsigned.
34523 Don't use substraction to avoid overflow bug.
34524 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
34525 * wcsmbc/wcscmp.c: Likewise.
34526 * string/test-strcmp.c: Likewise.
34527 Add new tests to check cases with negative values.
34528
c8b3296b
UD
345292011-10-23 Ulrich Drepper <drepper@gmail.com>
34530
34531 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
34532 * sysdeps/x86_64/dla.h: ...here. New file.
34533 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
34534 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34535 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34536 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34537 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34538 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34539 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34540 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34541 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34542
246ad57a
AS
345432011-10-23 Andreas Schwab <schwab@linux-m68k.org>
34544
34545 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
34546 __ynl_finite aliases.
34547
a1a87169
UD
345482011-10-22 Ulrich Drepper <drepper@gmail.com>
34549
0d355eb7
UD
34550 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34551
a1a87169
UD
34552 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
34553 define DLA_FMA.
34554 [DLA_FMA] (EMULV): Use DLA_FMA.
34555 [DLA_FMA] (MUL12): Use EMULV.
34556 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
34557 that are not needed.
34558 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34559 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34560 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34561 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34562 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34563 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34564 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34565
ee2aafe0
AS
345662011-10-22 Andreas Schwab <schwab@linux-m68k.org>
34567
34568 * math/s_nan.c: Undef __nan.
34569 * math/s_nanf.c: Undef __nanf.
34570 * math/s_nanl.c: Undef __nanl.
34571 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
34572 "math_private.h".
34573
bc62c2fb
UD
345742011-10-22 Ulrich Drepper <drepper@gmail.com>
34575
77425c63
UD
34576 * math/s_catan.c: Add branch predictions.
34577 * math/s_catanf.c: Likewise.
34578 * math/s_catanh.c: Likewise.
34579 * math/s_catanhf.c: Likewise.
34580 * math/s_catanhl.c: Likewise.
34581 * math/s_catanl.c: Likewise.
34582 * math/s_cexp.c: Likewise.
34583 * math/s_cexpf.c: Likewise.
34584 * math/s_cexpl.c: Likewise.
34585 * math/s_clog.c: Likewise.
34586 * math/s_clog10.c: Likewise.
34587 * math/s_clog10f.c: Likewise.
34588 * math/s_clog10l.c: Likewise.
34589 * math/s_clogf.c: Likewise.
34590 * math/s_clogl.c: Likewise.
34591 * math/s_csqrt.c: Likewise.
34592 * math/s_csqrtf.c: Likewise.
34593 * math/s_csqrtl.c: Likewise.
34594 * math/s_ctanf.c: Likewise.
34595 * math/s_ctanh.c: Likewise.
34596 * math/s_ctanhf.c: Likewise.
34597 * math/s_ctanhl.c: Likewise.
34598 * math/s_ctanl.c: Likewise.
34599
bc62c2fb
UD
34600 * math/math_private.h: Define __nan, __nanf, __nanl.
34601 * math/s_cacosh.c: Include <math_private.h>.
34602 * math/s_cacoshl.c: Likewise.
34603 * math/s_casinh.c: Likewise.
34604 * math/s_casinhf.c: Likewise.
34605 * math/s_casinhl.c: Likewise.
34606 * math/s_ccos.c: Rely entire on ccosh.
34607 * math/s_ccosf.c: Rely entire on ccoshf.
34608 * math/s_ccosl.c: Rely entirely on ccoshl.
34609 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
34610 Remove tests for FE_INVALID.
34611 * math/s_ccoshf.c: Likewise.
34612 * math/s_ccoshl.c: Likewise.
34613 * math/s_csin.c: Likewise.
34614 * math/s_csinf.c: Likewise.
34615 * math/s_csinh.c Likewise.
34616 * math/s_csinhf.c: Likewise.
34617 * math/s_csinhl.c: Likewise.
34618 * math/s_csinl.c: Likewise.
34619 * math/s_ctan.c: Likewise.
34620 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
34621 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
34622 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
34623
8ec250a4
UD
346242011-10-21 Ulrich Drepper <drepper@gmail.com>
34625
c196fed8
UD
34626 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
34627 compilation problems.
34628
8ec250a4
UD
34629 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
34630 __builtin_expect.
34631
8d4f46c6
UD
346322011-10-20 Ulrich Drepper <drepper@gmail.com>
34633
ed72b654
UD
34634 * sysdeps/i386/configure.in: Test for -mfma4 option.
34635 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
34636 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
34637 COMMON_CPUID_INDEX_80000001.
34638 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
34639 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
34640 use it if FMA3 is not supported.
34641 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
34642
8d4f46c6
UD
34643 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
34644 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34645
d45c60c2
AS
346462011-10-20 Andreas Schwab <schwab@redhat.com>
34647
34648 [BZ #12892]
34649 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
34650 it would create a cycle with a link time dependency.
34651
d9a4d2ab
UD
346522011-10-19 Ulrich Drepper <drepper@gmail.com>
34653
855d1560
UD
34654 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
34655 instruction.
34656 * string/Makefile (strop-tests): Add rawmemchr.
34657 * string/test-rawmemchr.c: New file.
34658
d9a4d2ab
UD
34659 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
34660 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
34661 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
34662 when compiling str{,n}casecmp and when AVX is available. Hook up
34663 new optimized code in initializers.
34664
8f3b1ffe
AS
346652011-10-19 Andreas Schwab <schwab@redhat.com>
34666
34667 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
34668 __feraiseexcept instead of feraiseexcept.
34669
d38f1dba
UD
346702011-10-18 Ulrich Drepper <drepper@gmail.com>
34671
d9a8d0ab
UD
34672 * math/math_private.h: Define defaults for libc_fetestexcept and
34673 libc_feupdateenv.
34674 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
34675 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
34676 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34677 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34678 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34679 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34680 libc_fetestexcept and libc_feupdateenv.
34681
4855e3dd
UD
34682 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
34683 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
34684 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
34685 * sysdeps/x86_64/fpu/math_private.h: Define special version of
34686 libc_feholdexcept_setround.
34687
581d30e3
UD
34688 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
34689 Add s_nearbyint-c and s_nearbyintf-c.
34690 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
34691 nearbyintf inlines.
34692 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
34693 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
34694 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
34695 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
34696
d38f1dba
UD
34697 * math/math_private.h: Define defaults for libc_fegetround,
34698 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
34699 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
34700 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
34701 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
34702 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
34703 standard functions.
34704 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34705 Remove comments and hacks for old compiler versions.
34706 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34707 libc_fegetround, libc_fesetround, libc_feholdexcept, and
34708 libc_feholdexceptl.
34709
caa6c9d8
AS
347102011-10-18 Andreas Schwab <schwab@redhat.com>
34711
34712 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
34713 (__feraiseexcept_renamed): Add __NTH.
34714 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
34715 namespace violations.
34716
97c066e6
UD
347172011-10-17 Ulrich Drepper <drepper@gmail.com>
34718
99ce7b04
UD
34719 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
34720
1004d182
UD
34721 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
34722
228a984d
UD
34723 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
34724 recently added interfaces.
34725 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
34726
c8553a6a
UD
34727 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
34728 about macro parameter expansion.
34729
ed22dcf6
UD
34730 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
34731 __NO_MATH_INLINES is defined. Cleanups.
34732
34733 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
34734 and __floorf is target has SSE4.1.
34735 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
34736 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
34737 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
34738 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
34739
b171c137
UD
34740 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
34741 name.
34742 (floorf): Likewise.
34743
97c066e6
UD
34744 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
34745
629f62ef
AS
347462011-10-17 Andreas Schwab <schwab@redhat.com>
34747
49a43d80
AS
34748 * misc/sys/cdefs.h: Fix last change.
34749
629f62ef
AS
34750 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
34751 database lookup.
34752
e453f6cd
UD
347532011-10-16 Ulrich Drepper <drepper@gmail.com>
34754
aa78043a
UD
34755 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
34756
ad0f5cad
UD
34757 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
34758 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34759 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34760 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34761 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34762 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34763 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34764 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34765 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34766 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
34767 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
34768 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
34769 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
34770 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
34771 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
34772 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
34773 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
34774 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
34775 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
34776 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
34777 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
34778 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
34779
34780 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
34781 ceil, ceilf, floor, floorf.
34782
34783 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
34784 Perform IRELATIVE relocations last.
34785
e453f6cd
UD
34786 * elf/do-rel.h: Add another parameter nrelative, replacing the
34787 local variable with the same name. Change name of the function
34788 to end in Rel or Rela (uppercase).
34789 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
34790 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
34791 elf_dynamic_do_##reloc function.
34792
fd5bdc09
UD
347932011-10-15 Ulrich Drepper <drepper@gmail.com>
34794
79b195b5
UD
34795 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
34796 is sufficient, at least on modern CPUs.
34797
d4a28569
UD
34798 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
34799
b61099b5
UD
34800 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
34801 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
34802
bcf01e6d
UD
34803 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
34804 __expl_finite.
34805 * math/bits/math-finite.h: Add entries for exp.
34806 * math/e_expl.c: Add __*_finite alias.
34807 * sysdeps/i386/fpu/e_exp.S: Likewise.
34808 * sysdeps/i386/fpu/e_expf.S: Likewise.
34809 * sysdeps/i386/fpu/e_expl.c: Likewise.
34810 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34811 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34812 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34813 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34814 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
34815 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34816 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34817
ba1a0d59
UD
34818 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
34819 is sufficient, at least on modern CPUs.
34820
fd5bdc09
UD
34821 * ctype/ctype-info.c (__ctype_init): Define.
34822 * include/ctype.h (__ctype_init): Declare.
34823 (__ctype_b_loc): The variable is always initialized.
34824 (__ctype_toupper_loc): Likewise.
34825 (__ctype_tolower_loc): Likewise.
34826 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
34827 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
34828
7872cfb0
AS
348292011-10-15 Andreas Schwab <schwab@linux-m68k.org>
34830
b468825a
AS
34831 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
34832
7872cfb0
AS
34833 * configure.in: Also look in $cxxmachine/include for C++ system
34834 headers.
34835
be13f7bf
LD
348362011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34837
34838 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
34839 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
34840 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
34841 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
34842 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
34843 (USE_AS_WMEMCMP): New macro.
34844 Fixing indents.
34845 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
34846 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
34847 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
34848 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
34849 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34850 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
34851 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
34852 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
34853 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
34854 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
34855 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
34856 (USE_AS_WMEMCMP): New macro.
34857 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
34858 * sysdeps/string/test-memcmp.c: Update.
34859 Fix simple_wmemcmp.
34860 Add new tests.
34861 * wcsmbs/wmemcmp.c: Update.
34862 (WMEMCMP): New macro.
34863 Fix overflow bug.
34864
556a2007
AJ
348652011-10-12 Andreas Jaeger <aj@suse.de>
34866
34867 [BZ #13268]
34868 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
34869
538faaa7
UD
348702011-10-15 Ulrich Drepper <drepper@gmail.com>
34871
ab6737ff
UD
34872 * libio/iofwide.c (do_length): Avoid warning.
34873
538faaa7
UD
34874 * ctype/ctype.h (__isctype_f): Add missing __THROW.
34875
396a21b1
UD
348762011-10-14 Ulrich Drepper <drepper@gmail.com>
34877
cdf2901f
UD
34878 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
34879
38ad40ce
UD
34880 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
34881 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
34882 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
34883 * sysdeps/i386/i686/fpu/e_log.S: New file.
34884 * sysdeps/i386/i686/fpu/e_logf.S: New file.
34885 * sysdeps/i386/i686/fpu/e_logl.S: New file.
34886
396a21b1
UD
34887 * ctype/ctype.h: Add support for inlined isXXX functions when
34888 compiling C++ code.
34889
6b1f68c9
AS
348902011-10-14 Andreas Schwab <schwab@redhat.com>
34891
349290c0
AS
34892 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34893
6b1f68c9
AS
34894 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
34895
f2282d42
RM
348962011-10-13 Roland McGrath <roland@hack.frob.com>
34897
34898 [BZ #13291]
34899 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
34900
5298ffa8
AS
349012011-10-13 Andreas Schwab <schwab@redhat.com>
34902
714fad23
AS
34903 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
34904 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
34905 feraiseexcept.
34906
81dcc7fb
AS
34907 * sysdeps/x86_64/memrchr.S: Check for zero size.
34908
5298ffa8
AS
34909 * string/stratcliff.c: Add memrchr tests.
34910
951fbcec
LD
349112011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34912
34913 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34914 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
34915 rawmemchr-sse2 rawmemchr-sse2-bsf.
34916 * sysdeps/i386/i686/multiarch/memchr.S: New file.
34917 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
34918 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
34919 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
34920 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
34921 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
34922 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
34923 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
34924 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
34925 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
34926 * string/memrchr.c (MEMRCHR): New macro.
34927
0ac5ae23
UD
349282011-10-12 Ulrich Drepper <drepper@gmail.com>
34929
34930 Add integration with gcc's -ffinite-math-only and optimize wrapper
34931 functions in libm.
34932 * Versions.def: Define GLIBC_2.15 version for libm.
34933 * math/Makefile (headers): Add bits/math-finite.h.
34934 * math/bits/math-finite.h: New file.
34935 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
34936 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
34937 * math/e_acoshl.c: Add __*_finite alias.
34938 * math/e_acosl.c: Likewise.
34939 * math/e_asinl.c: Likewise.
34940 * math/e_atan2l.c: Likewise.
34941 * math/e_atanhl.c: Likewise.
34942 * math/e_coshl.c: Likewise.
34943 * math/e_exp10.c: Likewise.
34944 * math/e_exp10f.c: Likewise.
34945 * math/e_exp10l.c: Likewise.
34946 * math/e_exp2l.c: Likewise.
34947 * math/e_fmodl.c: Likewise.
34948 * math/e_gammal_r.c: Likewise.
34949 * math/e_hypotl.c: Likewise.
34950 * math/e_j0l.c: Likewise.
34951 * math/e_j1l.c: Likewise.
34952 * math/e_jnl.c: Likewise.
34953 * math/e_lgammal_r.c: Likewise.
34954 * math/e_log10l.c: Likewise.
34955 * math/e_log2l.c: Likewise.
34956 * math/e_logl.c: Likewise.
34957 * math/e_powl.c: Likewise.
34958 * math/e_sinhl.c: Likewise.
34959 * math/e_sqrtl.c: Likewise.
34960 * math/e_scalb.c: Completely rewritten and optimized.
34961 * math/e_scalbf.c: Likewise.
34962 * math/e_scalbl.c: Likewise.
34963 * math/w_acos.c: Likewise.
34964 * math/w_acosf.c: Likewise.
34965 * math/w_acosl.c: Likewise.
34966 * math/w_acosh.c: Likewise.
34967 * math/w_acoshf.c: Likewise.
34968 * math/w_acoshl.c: Likewise.
34969 * math/w_asin.c: Likewise.
34970 * math/w_asinf.c: Likewise.
34971 * math/w_asinl.c: Likewise.
34972 * math/w_atan2.c: Likewise.
34973 * math/w_atan2f.c: Likewise.
34974 * math/w_atan2l.c: Likewise.
34975 * math/w_atanh.c: Likewise.
34976 * math/w_atanhf.c: Likewise.
34977 * math/w_atanhl.c: Likewise.
34978 * math/w_exp10.c: Likewise.
34979 * math/w_exp10f.c: Likewise.
34980 * math/w_exp10l.c: Likewise.
34981 * math/w_fmod.c: Likewise.
34982 * math/w_fmodf.c: Likewise.
34983 * math/w_fmodl.c: Likewise.
34984 * math/w_j0.c: Likewise.
34985 * math/w_j0f.c: Likewise.
34986 * math/w_j0l.c: Likewise.
34987 * math/w_j1.c: Likewise.
34988 * math/w_j1f.c: Likewise.
34989 * math/w_j1l.c: Likewise.
34990 * math/w_jn.c: Likewise.
34991 * math/w_jnf.c: Likewise.
34992 * math/w_log.c: Likewise.
34993 * math/w_logf.c: Likewise.
34994 * math/w_logl.c: Likewise.
34995 * math/w_log10.c: Likewise.
34996 * math/w_log10f.c: Likewise.
34997 * math/w_log10l.c: Likewise.
34998 * math/w_log2.c: Likewise.
34999 * math/w_log2f.c: Likewise.
35000 * math/w_log2l.c: Likewise.
35001 * math/w_pow.c: Likewise.
35002 * math/w_powf.c: Likewise.
35003 * math/w_powl.c: Likewise.
35004 * math/w_remainder.c: Likewise.
35005 * math/w_remainderf.c: Likewise.
35006 * math/w_remainderl.c: Likewise.
35007 * math/w_scalb.c: Likewise.
35008 * math/w_scalbf.c: Likewise.
35009 * math/w_scalbl.c: Likewise.
35010 * math/w_sqrt.c: Likewise.
35011 * math/w_sqrtf.c: Likewise.
35012 * math/w_sqrtl.c: Likewise.
35013 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
35014 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
35015 used.
35016 * math/math_private.h: Declare __kernel_standard_f.
35017 * math/w_cosh.c: Remove cruft and optimize a bit.
35018 * math/w_coshf.c: Likewise.
35019 * math/w_coshl.c: Likewise.
35020 * math/w_exp2.c: Likewise.
35021 * math/w_exp2f.c: Likewise.
35022 * math/w_exp2l.c: Likewise.
35023 * math/w_hypot.c: Likewise.
35024 * math/w_hypotf.c: Likewise.
35025 * math/w_hypotl.c: Likewise.
35026 * math/w_lgamma.c: Likewise.
35027 * math/w_lgamma_r.c: Likewise.
35028 * math/w_lgammaf.c: Likewise.
35029 * math/w_lgammaf_r.c: Likewise.
35030 * math/w_lgammal.c: Likewise.
35031 * math/w_lgammal_r.c: Likewise.
35032 * math/w_sinh.c: Likewise.
35033 * math/w_sinhf.c: Likewise.
35034 * math/w_sinhl.c: Likewise.
35035 * math/w_tgamma.c: Likewise.
35036 * math/w_tgammaf.c: Likewise.
35037 * math/w_tgammal.c: Likewise.
35038 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35039 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35040 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
35041 Minor optimizations. Pretty printing. Remove cruft.
35042 * sysdeps/i386/fpu/e_acosf.S: Likewise.
35043 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35044 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35045 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35046 * sysdeps/i386/fpu/e_acosl.c: Likewise.
35047 * sysdeps/i386/fpu/e_asin.S: Likewise.
35048 * sysdeps/i386/fpu/e_asinf.S: Likewise.
35049 * sysdeps/i386/fpu/e_atan2.S: Likewise.
35050 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
35051 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
35052 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35053 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35054 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35055 * sysdeps/i386/fpu/e_exp10.S: Likewise.
35056 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
35057 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
35058 * sysdeps/i386/fpu/e_exp2.S: Likewise.
35059 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
35060 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
35061 * sysdeps/i386/fpu/e_fmod.S: Likewise.
35062 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
35063 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
35064 * sysdeps/i386/fpu/e_hypot.S: Likewise.
35065 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
35066 * sysdeps/i386/fpu/e_log.S: Likewise.
35067 * sysdeps/i386/fpu/e_log10.S: Likewise.
35068 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35069 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35070 * sysdeps/i386/fpu/e_log2.S: Likewise.
35071 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35072 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35073 * sysdeps/i386/fpu/e_logf.S: Likewise.
35074 * sysdeps/i386/fpu/e_logl.S: Likewise.
35075 * sysdeps/i386/fpu/e_pow.S: Likewise.
35076 * sysdeps/i386/fpu/e_powf.S: Likewise.
35077 * sysdeps/i386/fpu/e_powl.S: Likewise.
35078 * sysdeps/i386/fpu/e_remainder.S: Likewise.
35079 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
35080 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
35081 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35082 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35083 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35084 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
35085 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
35086 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
35087 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35088 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35089 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35090 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35091 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35092 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35093 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
35094 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35095 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35096 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35097 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35098 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35099 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35100 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35101 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35102 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35103 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35104 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35105 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35106 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35107 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35108 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35109 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35110 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35111 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35112 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35113 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
35114 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35115 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
35116 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35117 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35118 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35119 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35120 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35121 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35122 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35123 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35124 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35125 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35126 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35127 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35128 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35129 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35130 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35131 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35132 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35133 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35134 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35135 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35136 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
35137 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35138 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35139 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35140 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35141 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35142 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35143 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35144 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35145 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35146 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35147 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35148 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35149 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35150 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35151 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35152 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35153 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35154 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35155 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
35156 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35157 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35158 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35159 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35160 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35161 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35162 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35163 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
35164 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35165 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35166 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35167 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35168 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35169 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
35170 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35171 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35172 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35173 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35174 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35175 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35176 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35177 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35178 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35179 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35180 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
35181 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35182 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
35183 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
35184 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
35185 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
35186 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
35187 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
35188 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
35189 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
35190 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
35191 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35192 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35193 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35194 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35195 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
35196 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35197 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
35198 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
35199 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
35200 (__isnanf): Likewise.
35201 (__isinf_ns): Likewise.
35202 (__isinf_nsf): Likewise.
35203 (__finite): Likewise.
35204 (__finitef): Likewise.
35205 (__ieee754_sqrt): Define as macro.
35206 (__ieee754_sqrtf): Define as macro.
35207 (__ieee754_sqrtl): Define as macro.
35208 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
35209 inlined copy.
35210 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
35211 __FINITE_MATH_ONLY__ consistent.
35212 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
35213
12cc2fcd
AS
352142011-10-10 Andreas Schwab <schwab@linux-m68k.org>
35215
a843a204
AS
35216 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
35217 of rawmemchr.
35218
12cc2fcd
AS
35219 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
35220
c853acd5
UD
352212011-10-09 Ulrich Drepper <drepper@gmail.com>
35222
35223 * po/ja.po: Update from translation team.
35224
c658d255
RM
352252011-10-08 Roland McGrath <roland@hack.frob.com>
35226
110946e4
RM
35227 * locale/programs/locarchive.c (prepare_address_space): New function.
35228 (create_archive, enlarge_archive, open_archive): Use it.
35229
50604220
RM
35230 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
35231 inside [SHARED], where it is used.
35232
c658d255
RM
35233 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
35234
35235 * nss/getent.c (netgroup_keys): Remove unused variable.
35236 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35237
6a621eb7
UD
352382011-10-08 Ulrich Drepper <drepper@gmail.com>
35239
7edb55ce
UD
35240 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
35241 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
35242 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
35243 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
35244 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
35245 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
35246 * math/Makefile (libm-calls): Add s_isinf_ns.
35247 * math/divtc3.c: Use __isinf_nsl instead of isinf.
35248 * math/multc3.c: Likewise.
35249 * math/s_casin.c: Likewise.
35250 * math/s_casinf.c: Likewise.
35251 * math/s_casinl.c: Likewise.
35252 * math/s_ccos.c: Likewise.
35253 * math/s_ccosf.c: Likewise.
35254 * math/s_ccosl.c: Likewise.
35255 * math/s_ctan.c: Likewise.
35256 * math/s_ctanf.c: Likewise.
35257 * math/s_ctanh.c: Likewise.
35258 * math/s_ctanhf.c: Likewise.
35259 * math/s_ctanhl.c: Likewise.
35260 * math/s_ctanl.c: Likewise.
35261 * math/w_fmod.c: Likewise.
35262 * math/w_fmodf.c: Likewise.
35263 * math/w_fmodl.c: Likewise.
35264 * math/w_remainder.c: Likewise.
35265 * math/w_remainderf.c: Likewise.
35266 * math/w_remainderl.c: Likewise.
35267 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
35268 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
35269 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
35270 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
35271 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
35272 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
35273 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
35274 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
35275
187da0ae
UD
35276 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
35277 of the number.
35278 * stdio-common/printf_fphex.c: Likewise.
35279 * stdio-common/printf_size.c: Likewise.
35280
9277c064
UD
35281 * math/e_exp10.c: Include math_private.h using <...> not "...".
35282 * math/e_exp10f.c: Likewise.
35283 * math/e_exp10l.c: Likewise.
35284 * math/e_exp2l.c: Likewise.
35285 * math/e_j0l.c: Likewise.
35286 * math/e_j1l.c: Likewise.
35287 * math/e_jnl.c: Likewise.
35288 * math/e_lgammal_r.c: Likewise.
35289 * math/e_rem_pio2l.c: Likewise.
35290 * math/e_scalb.c: Likewise.
35291 * math/e_scalbf.c: Likewise.
35292 * math/e_scalbl.c: Likewise.
35293 * math/k_cosl.c: Likewise.
35294 * math/k_sinl.c: Likewise.
35295 * math/k_tanl.c: Likewise.
35296 * math/s_cacoshf.c: Likewise.
35297 * math/s_catan.c: Likewise.
35298 * math/s_catanf.c: Likewise.
35299 * math/s_catanh.c: Likewise.
35300 * math/s_catanhf.c: Likewise.
35301 * math/s_catanhl.c: Likewise.
35302 * math/s_catanl.c: Likewise.
35303 * math/s_ccosh.c: Likewise.
35304 * math/s_ccoshf.c: Likewise.
35305 * math/s_ccoshl.c: Likewise.
35306 * math/s_cexp.c: Likewise.
35307 * math/s_cexpf.c: Likewise.
35308 * math/s_cexpl.c: Likewise.
35309 * math/s_clog.c: Likewise.
35310 * math/s_clog10.c: Likewise.
35311 * math/s_clog10f.c: Likewise.
35312 * math/s_clog10l.c: Likewise.
35313 * math/s_clogf.c: Likewise.
35314 * math/s_clogl.c: Likewise.
35315 * math/s_csin.c: Likewise.
35316 * math/s_csinf.c: Likewise.
35317 * math/s_csinh.c: Likewise.
35318 * math/s_csinhf.c: Likewise.
35319 * math/s_csinhl.c: Likewise.
35320 * math/s_csinl.c: Likewise.
35321 * math/s_csqrt.c: Likewise.
35322 * math/s_csqrtf.c: Likewise.
35323 * math/s_csqrtl.c: Likewise.
35324 * math/s_ctan.c: Likewise.
35325 * math/s_ctanf.c: Likewise.
35326 * math/s_ctanh.c: Likewise.
35327 * math/s_ctanhf.c: Likewise.
35328 * math/s_ctanhl.c: Likewise.
35329 * math/s_ctanl.c: Likewise.
35330 * math/s_ldexp.c: Likewise.
35331 * math/s_ldexpf.c: Likewise.
35332 * math/s_ldexpl.c: Likewise.
35333 * math/s_significand.c: Likewise.
35334 * math/s_significandf.c: Likewise.
35335 * math/s_significandl.c: Likewise.
35336 * math/w_acos.c: Likewise.
35337 * math/w_acosf.c: Likewise.
35338 * math/w_acosh.c: Likewise.
35339 * math/w_acoshf.c: Likewise.
35340 * math/w_acoshl.c: Likewise.
35341 * math/w_acosl.c: Likewise.
35342 * math/w_asin.c: Likewise.
35343 * math/w_asinf.c: Likewise.
35344 * math/w_asinl.c: Likewise.
35345 * math/w_atan2.c: Likewise.
35346 * math/w_atan2f.c: Likewise.
35347 * math/w_atan2l.c: Likewise.
35348 * math/w_atanh.c: Likewise.
35349 * math/w_atanhf.c: Likewise.
35350 * math/w_atanhl.c: Likewise.
35351 * math/w_cosh.c: Likewise.
35352 * math/w_coshf.c: Likewise.
35353 * math/w_coshl.c: Likewise.
35354 * math/w_dremf.c: Likewise.
35355 * math/w_exp10.c: Likewise.
35356 * math/w_exp10f.c: Likewise.
35357 * math/w_exp10l.c: Likewise.
35358 * math/w_exp2.c: Likewise.
35359 * math/w_exp2f.c: Likewise.
35360 * math/w_fmod.c: Likewise.
35361 * math/w_fmodf.c: Likewise.
35362 * math/w_fmodl.c: Likewise.
35363 * math/w_hypot.c: Likewise.
35364 * math/w_hypotf.c: Likewise.
35365 * math/w_hypotl.c: Likewise.
35366 * math/w_j0.c: Likewise.
35367 * math/w_j0f.c: Likewise.
35368 * math/w_j0l.c: Likewise.
35369 * math/w_j1.c: Likewise.
35370 * math/w_j1f.c: Likewise.
35371 * math/w_j1l.c: Likewise.
35372 * math/w_jn.c: Likewise.
35373 * math/w_jnf.c: Likewise.
35374 * math/w_jnl.c: Likewise.
35375 * math/w_lgamma.c: Likewise.
35376 * math/w_lgamma_r.c: Likewise.
35377 * math/w_lgammaf.c: Likewise.
35378 * math/w_lgammaf_r.c: Likewise.
35379 * math/w_lgammal.c: Likewise.
35380 * math/w_lgammal_r.c: Likewise.
35381 * math/w_log.c: Likewise.
35382 * math/w_log10.c: Likewise.
35383 * math/w_log10f.c: Likewise.
35384 * math/w_log10l.c: Likewise.
35385 * math/w_log2.c: Likewise.
35386 * math/w_log2f.c: Likewise.
35387 * math/w_log2l.c: Likewise.
35388 * math/w_logf.c: Likewise.
35389 * math/w_logl.c: Likewise.
35390 * math/w_pow.c: Likewise.
35391 * math/w_powf.c: Likewise.
35392 * math/w_powl.c: Likewise.
35393 * math/w_remainder.c: Likewise.
35394 * math/w_remainderf.c: Likewise.
35395 * math/w_remainderl.c: Likewise.
35396 * math/w_scalb.c: Likewise.
35397 * math/w_scalbf.c: Likewise.
35398 * math/w_scalbl.c: Likewise.
35399 * math/w_sinh.c: Likewise.
35400 * math/w_sinhf.c: Likewise.
35401 * math/w_sinhl.c: Likewise.
35402 * math/w_sqrt.c: Likewise.
35403 * math/w_sqrtf.c: Likewise.
35404 * math/w_sqrtl.c: Likewise.
35405 * math/w_tgamma.c: Likewise.
35406 * math/w_tgammaf.c: Likewise.
35407 * math/w_tgammal.c: Likewise.
35408
6a621eb7
UD
35409 * po/ja.po: Update from translation team.
35410
bf582445
AJ
354112011-09-29 Andreas Jaeger <aj@suse.de>
35412
f9efbf3a
AJ
35413 [BZ #13179]
35414 * sunrpc/netname.c (netname2host): Fix logic.
35415
bf582445
AJ
35416 [BZ #6779]
35417 [BZ #6783]
35418 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
35419 correctly.
35420 * math/w_remainder.c (__remainder): Likewise.
35421 * math/w_remainderf.c (__remainderf): Likewise.
35422 * math/libm-test.inc (remainder_test): Add test cases.
35423
48693bea
AK
354242011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35425
35426 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
35427 sdiv_qrnnd.
35428
42622229
LD
354292011-10-07 Ulrich Drepper <drepper@gmail.com>
35430
35431 * string/test-memcmp.c: Avoid unncessary #defines.
35432 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
35433
093ecf92
LD
354342011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35435
35436 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
35437 Use new sse2 version for core i3 - i7 as it's faster
35438 than sse42 version.
35439 (bit_Prefer_PMINUB_for_stringop): New.
35440 * sysdeps/x86_64/rawmemchr.S: Update.
35441 Replace with faster SSE2 version.
35442 * sysdeps/x86_64/memrchr.S: New file.
35443 * sysdeps/x86_64/memchr.S: Update.
35444 Replace with faster SSE2 version.
35445
fde56e5c
MP
354462011-09-12 Marek Polacek <mpolacek@redhat.com>
35447
35448 * elf/dl-load.c (lose): Add cast to avoid warning.
35449
21fd49a9
UD
354502011-10-07 Ulrich Drepper <drepper@gmail.com>
35451
5a06e643
UD
35452 * po/ca.po: Update from translation team.
35453
684ae515
UD
35454 * inet/getnetgrent_r.c: Hook up nscd.
35455 * nscd/Makefile (routines): Add nscd_netgroup.
35456 (nscd-modules): Add netgroupcache.
35457 (CFLAGS-netgroupcache.c): Define.
35458 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
35459 (cache_search): Add const to second parameter.
35460 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
35461 INNETGR.
35462 (dbs): Add netgrdb entry.
35463 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
35464 (verify_persistent_db): Handle netgrdb.
35465 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
35466 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
35467 GETFDNETGR.
35468 (netgroup_response_header): Define.
35469 (innetgroup_response_header): Define.
35470 (datahead): Add netgroup_response_header and innetgroup_response_header
35471 elements.
35472 * nscd/nscd.conf: Add entries for netgroup cache.
35473 * nscd/nscd.h (dbtype): Add netgrdb.
35474 (_PATH_NSCD_NETGROUP_DB): Define.
35475 (netgroup_iov_disabled): Declare.
35476 (xmalloc, xcalloc, xrealloc): Move declarations here.
35477 (cache_search): Adjust prototype.
35478 Add netgroup-related prototypes.
35479 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
35480 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
35481 (__nscd_innetgr): Declare.
35482 * nscd/selinux.c (perms): Use access_vector_t as element type and
35483 add netgroup-related initializers.
35484 * nscd/netgroupcache.c: New file.
35485 * nscd/nscd_netgroup.c: New file.
35486 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
35487 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
35488 For four parameters use innetgr.
35489 * nss/nss_files/files-init.c: Add definition and callback for netgr.
35490 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
35491 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
35492 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
35493
21fd49a9
UD
35494 * nscd/connections.c (register_traced_file): Don't register file
35495 for disabled databases.
35496
054c0457
UD
354972011-10-06 Ulrich Drepper <drepper@gmail.com>
35498
32b63198
UD
35499 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
35500
054c0457
UD
35501 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
35502 from tree and freeing node.
35503
64031225
JO
355042011-09-25 Jiri Olsa <jolsa@redhat.com>
35505
35506 * nss/nsswitch.c (__nss_database_lookup): Handle
35507 nss_parse_service_list out of memory case.
35508
0490345c
JO
355092011-09-15 Jiri Olsa <jolsa@redhat.com>
35510
35511 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
35512 out of memory case.
35513
3a62d00d
AS
355142011-10-04 Andreas Schwab <schwab@redhat.com>
35515
35516 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
35517 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
35518 pass it down.
35519 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
35520 elf_machine_rela, elf_machine_lazy_rel.
35521 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
35522 (ELF_DYNAMIC_DO_REL): Likewise.
35523 (ELF_DYNAMIC_DO_RELA): Likewise.
35524 (ELF_DYNAMIC_RELOCATE): Likewise.
35525 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
35526 to ELF_DYNAMIC_DO_REL.
35527 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
35528 (dl_main): In trace mode always set __RTLD_NOIFUNC.
35529 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
35530 elf_machine_rela.
35531 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
35532 skip_ifunc, don't call ifunc function if non-zero.
35533 (elf_machine_rela): Likewise.
35534 (elf_machine_lazy_rel): Likewise.
35535 (elf_machine_lazy_rela): Likewise.
35536 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
35537 (elf_machine_lazy_rel): Likewise.
35538 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
35539 Likewise.
35540 (elf_machine_lazy_rel): Likewise.
35541 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35542 Likewise.
35543 (elf_machine_lazy_rel): Likewise.
35544 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
35545 (elf_machine_lazy_rel): Likewise.
35546 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
35547 (elf_machine_lazy_rel): Likewise.
35548 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35549 (elf_machine_lazy_rel): Likewise.
35550 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
35551 (elf_machine_lazy_rel): Likewise.
35552 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
35553 (elf_machine_lazy_rel): Likewise.
35554 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
35555 (elf_machine_lazy_rel): Likewise.
35556
68577918
UD
355572011-09-28 Ulrich Drepper <drepper@gmail.com>
35558
35559 * nss/nss_files/files-init.c (_nss_files_init): Use static
35560 initialization for all the *_traced_file variables.
35561
68822d74
AS
355622011-09-28 Andreas Schwab <schwab@redhat.com>
35563
35564 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35565
2056100b
RM
355662011-09-27 Roland McGrath <roland@hack.frob.com>
35567
35568 [BZ #13226]
35569 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
35570
32c76b63
AS
355712011-09-27 Andreas Schwab <schwab@redhat.com>
35572
35573 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
35574 Reread the line before reparsing it.
35575
bf972c9d
AS
355762011-09-26 Andreas Schwab <schwab@redhat.com>
35577
35578 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
35579
e057a1b5
JM
355802011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
35581 Maxim Kuvyrkov <maxim@codesourcery.com>
35582 Joseph Myers <joseph@codesourcery.com>
35583
35584 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
35585 if needed for __stack_chk_guard.
35586
bc7e1c36
RM
355872011-09-19 Roland McGrath <roland@hack.frob.com>
35588
ecb1482f
RM
35589 * sysdeps/posix/spawni.c (script_execute): Always define it.
35590 It will be optimized away if unused.
35591 (maybe_script_execute): New function.
35592 (__spawni): Call it.
35593
bc7e1c36
RM
35594 * Makerules: Don't include tls.make.
35595 (config-tls): Always set to thread.
35596 * tls.make.c: File removed.
35597
1c3b002b
MF
355982011-09-19 Mike Frysinger <vapier@gentoo.org>
35599
35600 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
35601 * config.make.in (CPPFLAGS-config): New substituted variable.
35602
2840865d
UD
356032011-09-15 Ulrich Drepper <drepper@gmail.com>
35604
88738eb6
UD
35605 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
35606
cbf645a6 35607 [BZ #13192]
2840865d
UD
35608 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
35609 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
35610
b402e91a
RM
356112011-09-15 Roland McGrath <roland@hack.frob.com>
35612
35613 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
35614 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
35615 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35616 (CALL_FAIL): Likewise.
35617 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
35618 (CALL_FAIL): Macro removed.
35619 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
35620
4c1a1f71
UD
356212011-09-15 Ulrich Drepper <drepper@gmail.com>
35622
35623 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
35624 for __FINITE_MATH_ONLY__ == 1.
35625
edc121be
AS
356262011-09-15 Andreas Schwab <schwab@redhat.com>
35627
35628 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
35629 __ieee754_sqrt instead of sqrt.
35630 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
35631 __ieee754_sqrtf instead of sqrtf.
35632 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
35633 __floorf instead of floorf.
35634 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
35635 __floorf, __truncf instead of floorf, truncf.
35636
cd205654
UD
356372011-09-14 Ulrich Drepper <drepper@gmail.com>
35638
ee4d0315
UD
35639 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
35640
cd205654
UD
35641 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
35642 __extern_always_inline.
35643 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
35644 32-bit.
35645
48b67d71
AS
356462011-09-14 Andreas Schwab <schwab@redhat.com>
35647
35648 * elf/rtld.c (dl_main): Also relocate in dependency order when
35649 doing symbol dependency testing.
35650
1ae12c75
AS
356512011-09-13 Andreas Schwab <schwab@linux-m68k.org>
35652
35653 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35654 Always define `refsym'.
35655
995a80df
AS
356562011-09-13 Andreas Schwab <schwab@redhat.com>
35657
e529793b
AS
35658 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
35659 (__FD_ELT): Renamed from __FDELT.
35660 * misc/bits/select2.h (__FD_ELT): Likewise.
35661 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
35662 __FD_MASK instead of __FDELT, __FDMASK.
35663 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35664 Likewise.
35665 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35666 Likewise.
35667
52d4fef8
AS
35668 * elf/Makefile (gen-ldd): Fix pattern.
35669
995a80df
AS
35670 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
35671 (init_tls): Likewise.
35672
8682f8b0
UD
356732011-09-12 Ulrich Drepper <drepper@gmail.com>
35674
35675 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
35676
de82006d
AS
356772011-09-12 Andreas Schwab <schwab@redhat.com>
35678
a7c8e6a1
AS
35679 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
35680 `struct cmsghdr *' instead of `void *'.
35681 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
35682 Likewise.
35683
0f31fe77
AS
356842011-09-11 Andreas Schwab <schwab@linux-m68k.org>
35685
35686 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
35687 if non-absolute.
35688 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
35689 ldd_rewrite_script.
0f31fe77 35690
32b4c839
UD
356912011-09-11 Ulrich Drepper <drepper@gmail.com>
35692
83cd1420
UD
35693 * configure.in: Remove --with-tls option.
35694 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
35695 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
35696 out in case it is missing.
35697 * sysdeps/ia64/elf/configure.in: Likewise.
35698 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
35699 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
35700 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
35701 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
35702 * sysdeps/sh/elf/configure.in: Likewise.
35703 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
35704 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35705 * sysdeps/x86_64/elf/configure.in: Likewise.
35706 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
35707 * sysdeps/mach/hurd/tls.h: Likewise.
35708
633f745d
UD
35709 [BZ #13067]
35710 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
35711
f318beb8
UD
35712 [BZ #13090]
35713 * configure.in: Fix use of AC_INIT.
35714
32b4c839
UD
35715 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
35716
3ce1f295
UD
357172011-09-10 Ulrich Drepper <drepper@gmail.com>
35718
bb016596
UD
35719 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
35720 __set_errno.
8e58439c
UD
35721 * malloc/hooks.c: Likewise.
35722
aebae053 35723 [BZ #11929]
02d46fc4
UD
35724 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
35725 variables statically.
35726 (narenas): Initialize.
35727 (list_lock): Initialize.
bb016596
UD
35728 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
35729 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
35730 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
35731 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
35732 Add initializers to main_arena and mp_.
35733 (malloc_state): Remove pagesize member. Change all users to use
35734 GLRO(dl_pagesize).
35735
35736 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
35737 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
35738 is always initialized.
35739
22a89187
UD
35740 * malloc/malloc.c: Removed unused configurations and dead code.
35741 * malloc/arena.c: Likewise.
35742 * malloc/hooks.c: Likewise.
02d46fc4 35743 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 35744
d063d164
UD
35745 * include/tls.h: Removed. USE___THREAD must always be defined.
35746 * bits/libc-tsd.h: Don't handle !USE___THREAD.
35747 * elf/dl-libc.c: Likewise.
35748 * elf/dl-tsd.c: Likewise.
35749 * include/errno.h: Likewise.
35750 * include/netdb.h: Likewise.
35751 * include/resolv.h: Likewise.
35752 * inet/herrno-loc.c: Likewise.
35753 * inet/herrno.c: Likewise.
35754 * malloc/arena.c: Likewise.
35755 * malloc/hooks.c: Likewise.
35756 * malloc/malloc.c: Likewise.
35757 * resolv/res-state.c: Likewise.
35758 * resolv/res_libc.c: Likewise.
35759 * sysdeps/i386/dl-machine.h: Likewise.
35760 * sysdeps/ia64/dl-machine.h: Likewise.
35761 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35762 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35763 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35764 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35765 * sysdeps/sh/dl-machine.h: Likewise.
35766 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35767 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35768 * sysdeps/unix/i386/sysdep.S: Likewise.
35769 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35770 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
35771 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
35772 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35773 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
35774 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35775 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35776 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35777 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35778 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35779 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35780 * sysdeps/x86_64/dl-machine.h: Likewise.
35781 * tls.make.c: Likewise.
35782
3ce1f295
UD
35783 * configure.in: Remove --with-__thread option. Make tests for
35784 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
35785 tls_model attribute fail if no support is available. Remove
35786 USE_IN_LIBIO.
35787 * Makeconfig: Adjust for dropped configure option. All features are
35788 now mandatory.
35789 * Makerules: Likewise.
35790 * Versions.def: Likewise.
35791 * argp/argp-fmtstream.c: Likewise.
35792 * argp/argp-fmtstream.h: Likewise.
35793 * argp/argp-help.c: Likewise.
35794 * assert/assert.c: Likewise.
35795 * config.h.in: Likewise.
35796 * config.make.in: Likewise.
35797 * configure: Likewise.
35798 * configure.in: Likewise.
35799 * csu/Versions: Likewise.
35800 * csu/init.c: Likewise.
35801 * elf/tst-audit2.c: Likewise.
35802 * elf/tst-tls10.c: Likewise.
35803 * elf/tst-tls10.h: Likewise.
35804 * elf/tst-tls11.c: Likewise.
35805 * elf/tst-tls12.c: Likewise.
35806 * elf/tst-tls14.c: Likewise.
35807 * elf/tst-tlsmod11.c: Likewise.
35808 * elf/tst-tlsmod12.c: Likewise.
35809 * elf/tst-tlsmod13.c: Likewise.
35810 * elf/tst-tlsmod13a.c: Likewise.
35811 * elf/tst-tlsmod14a.c: Likewise.
35812 * elf/tst-tlsmod15b.c: Likewise.
35813 * elf/tst-tlsmod16a.c: Likewise.
35814 * elf/tst-tlsmod16b.c: Likewise.
35815 * elf/tst-tlsmod7.c: Likewise.
35816 * elf/tst-tlsmod8.c: Likewise.
35817 * elf/tst-tlsmod9.c: Likewise.
35818 * gmon/gmon.c: Likewise.
35819 * grp/fgetgrent_r.c: Likewise.
35820 * grp/putgrent.c: Likewise.
35821 * hurd/fopenport.c: Likewise.
35822 * include/libc-symbols.h: Likewise.
35823 * include/tls.h: Likewise.
35824 * intl/gettextP.h: Likewise.
35825 * intl/loadinfo.h: Likewise.
35826 * locale/global-locale.c: Likewise.
35827 * locale/localeinfo.h: Likewise.
35828 * mach/devstream.c: Likewise.
35829 * malloc/arena.c: Likewise.
35830 * malloc/set-freeres.c: Likewise.
35831 * misc/err.c: Likewise.
35832 * misc/getttyent.c: Likewise.
35833 * misc/mntent_r.c: Likewise.
35834 * posix/getopt.c: Likewise.
35835 * posix/wordexp.c: Likewise.
35836 * pwd/fgetpwent_r.c: Likewise.
35837 * resolv/Versions: Likewise.
35838 * resolv/res_hconf.c: Likewise.
35839 * shadow/fgetspent_r.c: Likewise.
35840 * shadow/putspent.c: Likewise.
35841 * stdio-common/printf_fphex.c: Likewise.
35842 * stdio-common/tmpfile.c: Likewise.
35843 * stdlib/abort.c: Likewise.
35844 * stdlib/fmtmsg.c: Likewise.
35845 * sunrpc/auth_unix.c: Likewise.
35846 * sunrpc/clnt_perr.c: Likewise.
35847 * sunrpc/clnt_tcp.c: Likewise.
35848 * sunrpc/clnt_udp.c: Likewise.
35849 * sunrpc/clnt_unix.c: Likewise.
35850 * sunrpc/openchild.c: Likewise.
35851 * sunrpc/svc_simple.c: Likewise.
35852 * sunrpc/svc_tcp.c: Likewise.
35853 * sunrpc/svc_udp.c: Likewise.
35854 * sunrpc/svc_unix.c: Likewise.
35855 * sunrpc/xdr.c: Likewise.
35856 * sunrpc/xdr_array.c: Likewise.
35857 * sunrpc/xdr_rec.c: Likewise.
35858 * sunrpc/xdr_ref.c: Likewise.
35859 * sunrpc/xdr_stdio.c: Likewise.
35860
1248c1c4
PB
358612011-09-09 Ulrich Drepper <drepper@gmail.com>
35862
35863 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35864
358652011-07-03 Andreas Jaeger <aj@suse.de>
35866
35867 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
35868 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
35869 regenerate with gen-libm-tests.pl.
35870
358712010-05-12 Petr Baudis <pasky@suse.cz>
35872
35873 [BZ #11589]
35874 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
35875 around j0() zero points by switching to j1().
35876 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35877 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35878 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35879 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35880
f22e1074
UD
358812011-09-09 Ulrich Drepper <drepper@gmail.com>
35882
f19009c1
UD
35883 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
35884 instead of 0.
35885 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 35886 instead of 0.
f19009c1
UD
35887 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35888 Patch in part by Pavel Roskin <proski@gnu.org>.
35889
3f8cc204
UD
35890 [BZ #13138]
35891 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
35892 realloc.
35893 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
35894 Free memory block if necessary.
35895
f22e1074
UD
35896 [BZ #12847]
35897 * libio/genops.c (INTDEF): For string streams the _lock pointer can
35898 be NULL. Don't lock in this case.
35899
0a2349f9
RM
359002011-09-09 Roland McGrath <roland@hack.frob.com>
35901
35902 * elf/elf.h (ELFOSABI_GNU): New macro.
35903 (ELFOSABI_LINUX): Define to that.
35904
f3cdd467
DZ
359052011-07-29 Denis Zaitceff <zaitceff@gmail.com>
35906
35907 * string/strncat.c (strncat): Undef the symbol in case it has been
35908 defined in bits/string.h.
35909
74718d13
UD
359102011-09-09 Ulrich Drepper <drepper@gmail.com>
35911
633e9e0f
UD
35912 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
35913
0a2349f9 35914 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
35915 link map.
35916
f9924780
AJ
359172011-08-17 Andreas Jaeger <aj@suse.de>
35918
35919 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
35920
7f5517aa
PP
359212011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
35922 Ian Lance Taylor <iant@google.com>
35923
35924 * math/libm-test.inc (lround_test): New testcase.
35925 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
35926
762011fe
UD
359272011-09-08 Ulrich Drepper <drepper@gmail.com>
35928
92963737
UD
35929 * Makefile: Remove support for automatic cvs check-ins.
35930 * Makerules: Likewise.
35931 * config.make.in: Likewise.
35932 * configure.in: Likewise.
35933 * intl/Makefile: Likewise.
35934 * locale/Makefile: Likewise.
35935 * po/Makefile: Likewise.
35936 * posix/Makefile: Likewise.
35937 * sysdeps/gnu/Makefile: Likewise.
35938 * sysdeps/mach/hurd/Makefile: Likewise.
35939 * sysdeps/sparc/sparc32/Makefile: Likewise.
35940
b0727fd8
JS
35941 [BZ #13118]
35942 * posix/Makefile (bug-regex32-ENV): Define.
35943 Patch by John Stanley <jpsinthemix@verizon.net>.
35944
a0f33f99
UD
35945 * misc/Makefile (headers): Add bits/select2.h.
35946 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
35947 * misc/bits/select2.h: New file.
35948 * include/bits/select2.h: New file.
35949 * debug/Makefile (routines): Add fdelt_chk.
35950 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
35951 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
35952 FD_ISSET.
35953 * debug/fdelt_chk.c: New file.
35954
762011fe
UD
35955 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
35956 * wcsmbs/test-wmemcmp.c: Likewise.
35957 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 35958 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
35959
359602011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35961
35962 * string/Makefile (strop-tests): Add memcmp.
35963 * string/test-wmemcmp.c: New file.
35964 * string/test-memcmp.c: Add wmemcmp support.
35965
7f513ec8
RM
359662011-09-08 Roland McGrath <roland@hack.frob.com>
35967
0442afb4
RM
35968 [BZ #13153]
35969 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
35970 2011-07-19 change.
35971
7f513ec8
RM
35972 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
35973 garbage value in a __mach_port_mod_refs call in the cases of the
35974 task-self and thread-self ports.
35975
a12b2239
ST
359762011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35977
35978 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
35979
610f9ab4
AS
359802011-09-08 Andreas Schwab <schwab@redhat.com>
35981
7f513ec8 35982 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 35983
48882a1a
LD
359842011-09-07 Ulrich Drepper <drepper@gmail.com>
35985
b49865be
UD
35986 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
35987
fdc86bc9
UD
35988 * elf/dl-libc.c (dlerror_run): Pass back error code from
35989 dl_catch_error.
35990
c966526a
UD
35991 [BZ #13123]
35992 * elf/dl-load.c (lose): Free l_origin if it is valid.
35993
48882a1a
LD
35994 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
35995 names.
35996 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
35997 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35998 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35999 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36000 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
36001 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
36002
77a2a8b4
AZ
360032011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36004
36005 * sysdeps/powerpc/fpu/e_hypot.c: New file.
36006 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
36007 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
36008 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
36009 * sysdeps/powerpc/fpu/k_cosf.c: New file.
36010 * sysdeps/powerpc/fpu/k_sinf.c: New file.
36011 * sysdeps/powerpc/fpu/s_cosf.c: New file.
36012 * sysdeps/powerpc/fpu/s_sinf.c: New file.
36013 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
36014 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
36015
24f579d8
AM
360162011-08-15 Alan Modra <amodra@gmail.com>
36017
36018 [BZ #13092]
36019 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
36020 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
36021 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
36022 ppc_mcount to static-only-routines.
36023 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
36024 __mcount_internal.
36025 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
36026 __mcount_internal with usual JUMPTARGET. Remove useless nop.
36027
3d4837df
UD
360282011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
36029
36030 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
36031 for finite and infinity parameters.
36032
22700377
WS
360332011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36034
36035 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
36036 and add nop instructions for throughput optimization.
36037 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36038
5025581e
WS
360392011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
36040
36041 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
36042 aligned copy for power7 with vector-scalar instructions.
36043 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
36044
08a300c9
L
360452011-07-24 H.J. Lu <hongjiu.lu@intel.com>
36046
36047 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
36048 AVX check.
36049
59178ef9
AS
360502011-09-07 Andreas Schwab <schwab@redhat.com>
36051
36052 [BZ #13144]
36053 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
36054 last change.
36055
e38ba7ab
UD
360562011-09-07 Ulrich Drepper <drepper@gmail.com>
36057
36058 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36059 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
36060 syscall wrapper around clock_gettime in __vdso_clock_gettime.
36061 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
36062 clock_gettime.
36063
d53a73ac
UD
360642011-09-06 Ulrich Drepper <drepper@gmail.com>
36065
fc8bffcc
UD
36066 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
36067 Forgot to demangle the pointer.
36068
ceaa0c5d
UD
36069 * sysdeps/i386/sysdep.h: Define atom_text_section.
36070 * sysdeps/x86_64/sysdep.h: Likewise.
36071 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
36072 section with atom_text_section.
36073 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36074 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36075 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
36076 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36077 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
36078
a77d3c17
UD
36079 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
36080 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
36081 already be defined. Change to take two parameters and don't assign
36082 result to variable. Adjust all users.
36083 Define INTERNAL_GETTIME if not already defined.
36084 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
36085 call.
36086 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
36087 HAVE_CLOCK_GETTIME_VSYSCALL.
36088 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
36089
d53a73ac
UD
36090 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
36091 gettimeofday vsyscall, just use time.
36092
a8f84144
AS
360932011-09-06 Andreas Schwab <schwab@redhat.com>
36094
36095 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
36096 <errno.h>.
36097
ef606249
UD
360982011-09-06 Ulrich Drepper <drepper@gmail.com>
36099
36100 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
36101 syscall on x86-64.
36102 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
36103 syscall.
36104 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
36105 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
36106 syscall if possible.
36107
6585cb60
UD
361082011-09-05 Ulrich Drepper <drepper@gmail.com>
36109
36110 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
36111 e_ident. Don't pass to find_mapsXX.
36112 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
36113
a5f524e4
LD
361142011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36115
36116 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36117 strchr-sse2-no-bsf strrchr-sse2-no-bsf
36118 * sysdeps/x86_64/multiarch/strchr.S: Update.
36119 Check bit_slow_BSF bit.
36120 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36121 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
36122 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
36123
554881ef
UD
361242011-09-05 Ulrich Drepper <drepper@gmail.com>
36125
d96de963
UD
36126 [BZ #13134]
36127 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
36128 before glibc 2.15.
36129 (tryshell): Define.
36130 (__spawni): Change last parameter to be flag. Test
36131 SPAWN_XFLAGS_USE_PATH flag to use path or not.
36132 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
36133 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
36134 * posix/spawni.c: Likewise.
36135 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
36136 * posix/spawnp.c: Likewise. Change normal version to use
36137 SPAWN_XFLAGS_USE_PATH.
36138 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
36139 SPAWN_XFLAGS_TRY_SHELL.
36140
d48e5868
UD
36141 [BZ #13150]
36142 * posix/glob.h: Remove gcc 1.x support.
36143
554881ef
UD
36144 [BZ #13068]
36145 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
36146
693fb948
LD
361472011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36148
36149 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36150 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
36151 strrchr-sse2-bsf
36152 * sysdeps/i386/i686/multiarch/strchr.S: New file.
36153 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
36154 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
36155 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
36156 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
36157 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
36158
1b48c537
UD
361592011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36160
49d42c37
UD
36161 * sysdeps/x86_64/wcscmp.S: New file.
36162
1b48c537
UD
36163 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
36164 wcscmp-c wcscmp-sse2
36165 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
36166 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
36167 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
36168 * wcsmbs/wcscmp.c: Allow renaming.
36169
15c95c5d
DM
361702011-09-05 David S. Miller <davem@davemloft.net>
36171
36172 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
36173 stack slot, rather than the struct return pointer slot.
36174 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
36175 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
36176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
36177 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
36178
2f0ad8f3
UD
361792011-09-05 Ulrich Drepper <drepper@gmail.com>
36180
d88ae418
UD
36181 * po/ja.po: Update from translation team.
36182
2f0ad8f3
UD
36183 [BZ #13144]
36184 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
36185 kernel in 64-bit binaries.
36186
5f4318d1
DM
361872011-09-01 David S. Miller <davem@davemloft.net>
36188
36189 * elf/elf.h (HWCAP_SPARC_*): Move to..
36190 * sysdeps/sparc/sysdep.h: this new file and add new values.
36191 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
36192 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
36193 _DL_HWCAP_COUNT to 24.
36194 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36195 entries.
36196 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
36197 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
36198 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
36199 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
36200 instead of magic constants.
36201 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36202
3ba57516
DM
362032011-08-31 David S. Miller <davem@davemloft.net>
36204
36205 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
36206 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
36207 Reimplement to do errno handling inline.
36208 (SYSCALL_ERROR_HANDLER): New macro.
36209 (__SYSCALL_STRING): Do not do errno handling in asm.
36210 (__CLONE_SYSCALL_STRING): Delete.
36211 (__INTERNAL_SYSCALL_STRING): Delete.
36212 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
36213 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
36214 (PSEUDO): Reimplement to do errno handling inline.
36215 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
36216 (SYSCALL_ERROR_HANDLER): New macro.
36217 (__SYSCALL_STRING): Do not do errno handling in asm.
36218 (__CLONE_SYSCALL_STRING): Delete.
36219 (__INTERNAL_SYSCALL_STRING): Delete.
36220 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
36221 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
36222 i386.
36223 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
36224 (inline_syscall*): Add 'err' argument.
36225 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
36226 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
36227 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
36228 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
36229
36230 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
36231 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36232
2bc17433
AS
362332011-08-30 Andreas Schwab <schwab@redhat.com>
36234
36235 * elf/rtld.c (dl_main): Relocate objects in dependency order.
36236
fbeb5f4d
JO
362372011-08-29 Jiri Olsa <jolsa@redhat.com>
36238
36239 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
36240 directive.
36241
ad69cc26
DM
362422011-08-24 David S. Miller <davem@davemloft.net>
36243
36244 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
36245
39dd69df
AS
362462011-08-24 Andreas Schwab <schwab@redhat.com>
36247
36248 * elf/Makefile: Add rules to build and run unload8 test.
36249 * elf/unload8.c: New file.
36250 * elf/unload8mod1.c: New file.
36251 * elf/unload8mod1x.c: New file.
36252 * elf/unload8mod2.c: New file.
36253 * elf/unload8mod3.c: New file.
36254
36255 * elf/dl-close.c (_dl_close_worker): Reset private search list if
36256 it wasn't used.
36257
2c0b250a
DM
362582011-08-23 David S. Miller <davem@davemloft.net>
36259
36260 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
36261 subtract stack bias.
36262 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
36263 %sp not %fp in calculations.
36264 (_JMPBUF_UNWINDS_ADJ): Likewise.
36265
22044b48
DM
36266 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
36267 (aio_suspend): Call it to force an exception region around the
36268 AIO_MISC_WAIT() invocation.
36269
2cae4995
AS
362702011-08-23 Andreas Schwab <schwab@redhat.com>
36271
36272 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
36273 backslash.
36274
873a772e
AJ
362752011-07-04 Aurelien Jarno <aurelien@aurel32.net>
36276
36277 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
36278 protection macro.
36279 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
36280 and <dl-machine.h>.
36281 (Elf64_FuncDesc): Remove.
36282
25ad0df1
DM
362832011-08-22 David S. Miller <davem@davemloft.net>
36284
36285 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
36286 sigaltstack check, add missing cfi directives.
36287 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
36288 missing cfi directives, and sigaltstack handling.
36289
e888bcbe
AS
362902011-08-16 Andreas Schwab <schwab@redhat.com>
36291
36292 [BZ #11724]
36293 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
36294 object is seen twice.
36295 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36296
36297 * elf/Makefile (distribute): Add tst-initorder2.c.
36298 (tests): Add tst-initorder2.
36299 (modules-names): Add tst-initorder2a tst-initorder2b
36300 tst-initorder2c tst-initorder2d. Add rules to build them.
36301 ($(objpfx)tst-initorder2.out): New rule.
36302 * elf/tst-initorder2.c: New file.
36303 * elf/tst-initorder2.exp: New file.
36304
87162f46
AS
363052011-08-22 Andreas Schwab <schwab@redhat.com>
36306
70538b7f
AS
36307 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
36308
f55ffe58
AS
36309 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
36310 dependencies back to end of function.
36311
87162f46
AS
36312 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36313 $(elfobjdir)/ld.so.
36314
91b392a4
UD
363152011-08-21 Ulrich Drepper <drepper@gmail.com>
36316
36317 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
36318 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
36319 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
36320 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
36321 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
36322 of __vdso_gettimeofday.
36323 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
36324 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
36325 attribute_hidden.
36326 (_libc_vdso_platform_setup): Remove initialization of
36327 __vdso_gettimeofday and __vdso_time.
36328
5c43483f
UD
363292011-08-20 Ulrich Drepper <drepper@gmail.com>
36330
775a77e7
UD
36331 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
36332 and fgetc_unlocked.
36333 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
36334 getc_unlocked.
89f447ed 36335
49c74ba9
UD
36336 * elf/dl-open.c (add_to_global): Report additions to the global scope
36337 for LD_DEBUG=scopes.
36338 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 36339 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 36340
5c43483f
UD
36341 [BZ #13114]
36342 * stdio-common/Makefile (tests): Add bug24.
36343 * stdio-common/bug24.c: New file.
36344
a101b025
AJ
363452011-08-19 Andreas Jaeger <aj@suse.de>
36346
36347 [BZ #13114]
36348 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
36349 non-existant file when using close-on-exec mode.
36350
c88f1766
UD
363512011-08-20 Ulrich Drepper <drepper@gmail.com>
36352
0276a718
UD
36353 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
36354 the very first instruction.
36355
c88f1766
UD
36356 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
36357 the CFI state in the end.
36358 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
36359 inclusion of dl-trampoline.h.
36360 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
36361
51ccffa0
AS
363622011-08-19 Andreas Schwab <schwab@redhat.com>
36363
94d7165f
AS
36364 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
36365 expectations for long double.
36366
51ccffa0
AS
36367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
36368 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
36369
fd708658 363702011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
36371
36372 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
36373 artificual limit depends upon the system page size.
36374
44f0a71e
UD
363752011-08-17 Ulrich Drepper <drepper@gmail.com>
36376
36377 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
36378 * resolv/Makefile: Define CFLAGS-libresolv.
36379
8de79a24
AS
363802011-08-17 Andreas Schwab <schwab@redhat.com>
36381
36382 * nss/makedb.c (compute_tables): Make variables used in nested
36383 function static.
36384
27724598
UD
363852011-08-17 Ulrich Drepper <drepper@gmail.com>
36386
c5305d88
UD
36387 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
36388 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
36389 if buffer was too small.
36390
27724598
UD
36391 * elf/pldd.c (main): Attach to all threads in the process.
36392 Rewrite /proc handling to use *at functions.
36393
076fe015
UD
363942011-08-16 Ulrich Drepper <drepper@gmail.com>
36395
174baab3
UD
36396 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
36397 specifies first scope to show.
36398 (dl_open_worker): Update callers. Move printing scope of new
36399 object to before the relocation.
44f0a71e 36400 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
36401 * sysdeps/generic/ldsodefs.h: Update declaration.
36402
076fe015
UD
36403 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
36404 string for the scope number.
36405
a60df2c3
UD
364062011-08-14 Ulrich Drepper <drepper@gmail.com>
36407
36408 * nscd/servicescache.c (cache_addserv): Make sure written is always
36409 initialized.
36410
5e4287d1
RM
364112011-08-14 Roland McGrath <roland@hack.frob.com>
36412
85ae0589
RM
36413 * sysdeps/i386/i486/bits/atomic.h
36414 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
36415 statement expression, so as to suppress "set but not used" warning.
36416 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
36417
69f63097
RM
36418 * string/strncat.c (STRNCAT): Use prototype definition.
36419
675456ef
RM
36420 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
36421 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
36422 -Iprograms here.
36423 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
36424 (localedef-modules): Add localedef.
36425 (locale-modules): Add locale.
36426
5e4287d1
RM
36427 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
36428 * elf/rtld.c (dl_main): Invert order of assignment in last change,
36429 to avoid a warning.
36430
9c96ff23
DM
364312011-08-14 David S. Miller <davem@davemloft.net>
36432
36433 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
36434 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
36435
f9ddf089
UD
364362011-08-13 Ulrich Drepper <drepper@gmail.com>
36437
44f0a71e 36438 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
36439 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
36440 * elf/rtld.c (dl_main): Set l_name of vDSO.
36441 Call _dl_show_scope when DL_DEBUG_SCOPES.
36442 (process_dl_debug): Recognize scopes flag and also set it for all.
36443 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
36444 Declare _dl_show_scope.
36445
1dc27704
UD
36446 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
36447 (do_dlopen): Pass caller_dlopen to dl_open.
36448 (__libc_dlopen_mode): Initialize caller_dlopen.
36449
f9ddf089
UD
36450 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
36451 of libc. Make tolower call locale-independent. Optimize a bit by
36452 using isdigit instead of isalnum.
36453 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
36454
9ac533d3
UD
364552011-08-12 Ulrich Drepper <drepper@gmail.com>
36456
36457 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
36458 was a dependency or dynamically loaded.
36459
89edf2e9
UD
364602011-08-11 Ulrich Drepper <drepper@gmail.com>
36461
8e999d29
UD
36462 * intl/l10nflist.c: Allow architecture-specific pop function.
36463 * sysdeps/x86_64/l10nflist.c: New file.
36464
89edf2e9
UD
36465 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
36466 classification.
36467
14d96785
AS
364682011-08-10 Andreas Schwab <schwab@redhat.com>
36469
36470 * include/dirent.h: Add libc_hidden_proto for scandirat and
36471 scandirat64. Don't declare __scandirat64.
36472 * dirent/scandirat.c: Add libc_hidden_def.
36473 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
36474 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
36475
6761ac04
DM
364762011-08-10 David S. Miller <davem@davemloft.net>
36477
36478 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
36479 enum.
36480 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36481 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36482 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36483
c55fbd1e
UD
364842011-08-09 Ulrich Drepper <drepper@gmail.com>
36485
36486 * Versions.def [libc]: Add GLIBC_2.15.
36487 * dirent/Makefile (routines): Add scandirat and scandirat64.
36488 * dirent/Versions [libc]: Export scandirat and scandirat64 for
36489 GLIBC_2.15.
36490 * dirent/dirent.h: Declare scandirat and scandirat64.
36491 * dirent/scandirat.c: New file.
36492 * dirent/scandirat64.c: New file.
36493 * sysdeps/wordsize-64/scandirat.c: New file.
36494 * sysdeps/wordsize-64/scandirat64.c: New file.
36495 * dirent/opendir.c: Define opendirat.
36496 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
36497 using scandirat.
36498 * dirent/scandir64.c: Adjust for scandir.c change.
36499 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
36500 __scandirat64, and __scandir_cancel_handler.
36501 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
36502 additional parameter and use openat instead of open (outside of ld.so).
36503 Add new __opendir as wrapper around __opendirat.
36504 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
36505 here without requiring old scandirat implementation.
36506
879165f2
UD
365072011-08-08 Ulrich Drepper <drepper@gmail.com>
36508
36509 * dirent/scandir.c (cancel_handler): Renamed to
36510 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
36511 defined. Adjust users.
36512 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
36513 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
36514
cb7e923b
UD
365152011-08-04 Ulrich Drepper <drepper@gmail.com>
36516
16292edd
UD
36517 * string/test-string.h (IMPL): Use __STRING to expand name and then
36518 stringify it.
36519
cb7e923b
UD
36520 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
36521 of cleanups.
36522
cff82933
LD
365232011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36524
36525 * string/Makefile: Update.
36526 (strop-tests): Append strncat.
36527 * string/test-wcscmp.c: New file.
36528 New comprehensive test for wcscmp.
36529 * string/test-strcmp.c: Update.
36530 (WIDE): New define.
36531
9be9bfcc
AS
365322011-07-22 Andreas Schwab <schwab@redhat.com>
36533
36534 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
36535 line.
36536
2e96f1c7
AS
365372011-07-26 Andreas Schwab <schwab@redhat.com>
36538
36539 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36540 encoding to ACE if AI_IDN.
36541
85188888
JJ
365422011-08-01 Jakub Jelinek <jakub@redhat.com>
36543
36544 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
36545 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
36546
5fa16e9b
LD
365472011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36548
36549 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
36550 Fix overflow bug in strncat.
36551 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
36552
36553 * string/test-strncat.c: Update.
36554 Add new tests for checking overflow bugs.
36555
365562011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36557
36558 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36559 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
36560 * sysdeps/i386/i686/multiarch/strcat.S: New file.
36561 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
36562 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
36563 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
36564 * sysdeps/i386/i686/multiarch/strncat.S: New file.
36565 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
36566 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
36567
36568 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
36569 (USE_AS_STRCAT): Define.
36570 Add strcat and strncat support.
36571 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36572
8c1a459f
AS
365732011-07-25 Andreas Schwab <schwab@redhat.com>
36574
36575 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
36576 __n bigger than INT_MAX+1.
36577 (__strncmp_g): Likewise.
36578
bba33c28
UD
365792011-07-23 Ulrich Drepper <drepper@gmail.com>
36580
798be72d
UD
36581 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
36582 * libio/stido.h: Likewise.
36583
8accd4dc
UD
36584 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
36585 (AF_NFC): Define.
36586 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
36587 (AF_NFC): Define.
36588
cbff0d96
UD
36589 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
36590 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36591 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36592 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
36593 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36594
9191c04a
UD
36595 [BZ #13021]
36596 * scripts/test-installation.pl: Don't expect libnss_test1 to be
36597 installed.
36598
bba33c28
UD
36599 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
36600 typo.
36601 (_dl_x86_64_save_sse): Likewise.
36602
90f139dd
UD
366032011-07-22 Ulrich Drepper <drepper@gmail.com>
36604
1aae088a
UD
36605 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
36606 OSXSAVE.
36607 (_dl_x86_64_save_sse): Likewise.
36608
8e2045f5
UD
36609 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
36610
90f139dd
UD
36611 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
36612
1d002f25
AS
366132011-07-21 Andreas Schwab <schwab@redhat.com>
36614
36615 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
36616 change.
36617 (_dl_x86_64_save_sse): Use correct AVX check.
36618
21137f89
UD
366192011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36620
36621 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
36622 bug in strncpy/strncat.
36623 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
36624
a65c0b7a
UD
366252011-07-21 Ulrich Drepper <drepper@gmail.com>
36626
36627 * string/tester.c (test_strcat): Add tests for different alignments
36628 of source and destination.
36629 (test_strncat): Likewise.
36630
6986b98a
UD
366312011-07-20 Ulrich Drepper <drepper@gmail.com>
36632
90bb2039
UD
36633 [BZ #12852]
36634 * posix/glob.c (glob): Check passed in values before using them in
36635 expressions to avoid some overflows.
36636 (glob_in_dir): Likewise.
36637
5644ef54
UD
36638 [BZ #13007]
36639 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
36640 check for AVX enablement so that we don't crash with old kernels and
36641 new hardware.
36642 * elf/tst-audit4.c: Add same checks here.
36643 * elf/tst-audit6.c: Likewise.
36644
36645 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 36646
bfc9dc9b
AS
366472011-07-09 Andreas Schwab <schwab@linux-m68k.org>
36648
36649 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
36650
702e64bb
UD
366512011-07-20 Ulrich Drepper <drepper@gmail.com>
36652
36653 * po/cs.po: Update from translation team.
36654 * po/bg.po: Likewise.
36655
295e904f
MP
366562011-07-12 Marek Polacek <mpolacek@redhat.com>
36657
36658 * misc/sys/cdefs.h: Add support for const attribute.
36659 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
36660 to gnu_dev_{major,minor,makedev} functions.
36661
3ff94596
MP
366622011-07-20 Marek Polacek <mpolacek@redhat.com>
36663
36664 * intl/dcigettext.c (get_output_charset): Add missing bracket.
36665
28b59fca
AS
366662011-07-20 Andreas Schwab <schwab@redhat.com>
36667
36668 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
36669 strlen results.
36670
19df733e
AK
366712011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36672
36673 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
36674 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
36675 register in order to avoid conflicts with the soft frame pointer
36676 being held in r11 when necessary.
36677 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
36678 (INTERNAL_VSYSCALL_NCS): Likewise.
36679
c8835729
MP
366802011-07-14 Marek Polacek <mpolacek@redhat.com>
36681
36682 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
36683 * elf/dl-fini.c (_dl_fini): Adjust caller.
36684 * elf/dl-close.c (_dl_close_worker): Likewise.
36685 * sysdeps/generic/ldsodefs.h: Adjust declaration.
36686
b902330c
MP
366872011-07-15 Marek Polacek <mpolacek@redhat.com>
36688
8991e135
MP
36689 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
36690 "aux_cache->nlibs < 0".
36691
b902330c
MP
36692 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
36693 in the reload-count case.
36694
99710781
LD
366952011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36696
36697 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36698 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
36699 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
36700 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
36701 * sysdeps/x86_64/multiarch/strcat.S: New file.
36702 * sysdeps/x86_64/multiarch/strncat.S: New file.
36703 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
36704 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
36705 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
36706 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
36707 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
36708 (USE_AS_STRCAT): Define.
36709 Add strcat and strncat support.
36710 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36711 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36712 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
36713 * string/strncat.c: Update.
36714 (USE_AS_STRNCAT): Define.
36715 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36716 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
36717 and i7.
36718 * sysdeps/x86_64/multiarch/init-arch.h
36719 (bit_Prefer_PMINUB_for_stringop): New.
36720 (index_Prefer_PMINUB_for_stringop): Likewise.
36721 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
36722 bit_Prefer_PMINUB_for_stringop.
36723
7dc6bd90
UD
367242011-07-19 Ulrich Drepper <drepper@gmail.com>
36725
36726 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
36727 buffer64.
36728 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
36729 of casting of buffer.
36730 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
36731 buffer32 and buffer64.
36732 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
36733 writes instead of casting of buffer.
36734 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
36735 buffer32.
36736 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
36737 casting of buffer.
36738
e0e72284
AS
367392011-07-19 Andreas Schwab <schwab@redhat.com>
36740
36741 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
36742
feb1eb0b
UD
367432011-07-19 Ulrich Drepper <drepper@gmail.com>
36744
36745 * nscd/nscd.c (termination_handler): Don't do anything for a database
36746 if it has not yet been initialized.
36747
298711ff
UD
367482011-07-18 Ulrich Drepper <drepper@gmail.com>
36749
36750 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36751
367522011-07-15 Marek Polacek <mpolacek@redhat.com>
36753
36754 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36755
f9d68389
UD
367562011-07-18 Ulrich Drepper <drepper@gmail.com>
36757
36758 * po/nl.po: Update from translation team.
36759 * po/sv.po: Likewise.
36760
db290cf5
RM
367612011-07-16 Roland McGrath <roland@hack.frob.com>
36762
36763 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
36764 now disallowed by GCC.
5c550700 36765
fd5e21c7
RM
36766 * configure.in (use-default-link): Default to yes if a test -shared
36767 link meets our qualifications.
36768 * configure: Regenerated.
36769
5c550700
RM
36770 * config.make.in (output-format): New variable.
36771 * configure.in: Check for ld --print-output-format support.
36772 * configure: Regenerated.
36773 * Makerules ($(common-objpfx)format.lds)
36774 [$(output-format) != unknown]: Just use $(output-format),
36775 instead of the linker-script munging.
36776
9fa2c032
RM
367772011-07-14 Roland McGrath <roland@hack.frob.com>
36778
a6928d51
RM
36779 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
36780 of $(common-objpfx)shlib.lds.
36781 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
36782
661607b3
RM
36783 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
36784 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
36785
9fa2c032
RM
36786 * configure.in (-z relro check): Adjust test code to add a large
36787 writable data section after it.
36788 * configure: Regenerated.
36789
defe9061
RM
367902011-07-11 Roland McGrath <roland@hack.frob.com>
36791
36792 * configure.in (-z relro check): Fix test code to make the variable
36793 truly const.
36794 * configure: Regenerated.
36795
319b9ad4
UD
367962011-07-11 Ulrich Drepper <drepper@gmail.com>
36797
36798 * nscd/nscd.h (struct traced_file): Define.
36799 (struct database_dyn): Remove inotify_descr, reset_res, and filename
36800 elements. Add traced_files.
36801 (inotify_fd): Declare.
36802 (register_traced_file): Declare.
36803 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
36804 (inotify_fd): Export.
36805 (resolv_conf_descr): Remove.
36806 (nscd_init): Move inotify descriptor creation to main.
36807 Don't register files for notification here.
36808 (register_traced_file): New function.
36809 (invalidate_cache): Don't use reset_res to determine whether to call
36810 res_init, go through the list of registered files.
36811 (main_loop_poll): The inotify descriptors are now stored in the
36812 structures for the traced files.
36813 (main_loop_epoll): Likewise
36814 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
36815 to __nss_disable_nscd.
36816 * nscd/cache.c (prune_cache): There is no single inotify descriptor
36817 for a database anymore. Check the records for all the registered
36818 files instead.
36819 * nss/Makefile (libnss_files-routines): Add files-init.
36820 (libnss_db-routines): Add db-init.
36821 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
36822 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
36823 * nss/nss_db/db-init.c: New file.
36824 * nss/nss_files/files-init.c: New file.
36825 * nss/nsswitch.c (nss_load_library): New function. Broken out of
36826 __nss_lookup_function.
36827 (__nss_lookup_function): Call nss_load_library.
36828 (nss_load_all_libraries): New function.
36829 (__nss_disable_nscd): Take parameter with callback function for files
36830 to register. Set is_nscd. Load all the DSOs for the NSS modules
36831 used for the cached services.
36832 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
36833 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
36834 options for features to all the files in nscd.
36835
36836 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
36837
23bee3e8
RM
368382011-07-10 Roland McGrath <roland@hack.frob.com>
36839
36840 * csu/elf-init.c (__libc_csu_init): Comment typo.
36841
46a5b7f0
UD
368422011-07-09 Ulrich Drepper <drepper@gmail.com>
36843
36844 * po/pl.po: Update from translation team.
36845 * po/ja.po: Likewise.
36846 * po/ru.po: Likewise.
36847 * po/ko.po: Likewise.
36848 * po/fr.po: Likewise.
36849
d30cf5bb
RM
368502011-07-09 Roland McGrath <roland@hack.frob.com>
36851
113ddea4
RM
36852 * configure.in (.ctors/.dtors header and trailer check):
36853 Use an empirical test on a built program.
36854 * configure: Regenerated.
36855
574920b4
RM
36856 * configure.in (-z relro check): Use an empirical test on a built DSO.
36857 Detect, but do not require, on ia64.
36858 * configure: Regenerated.
36859
d30cf5bb
RM
36860 * configure.in (READELF): Find it with AC_CHECK_TOOL.
36861 Update tests that use readelf to use $READELF instead.
36862 * configure: Regenerated.
36863
8538fdb3
UD
368642011-07-08 Ulrich Drepper <drepper@gmail.com>
36865
36866 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
36867 if the result is not used.
36868
04d08991
AJ
368692011-07-05 Andreas Jaeger <aj@suse.de>
36870
36871 [BZ#9696]
36872 * stdlib/tst-strtod.c: Add testcase.
36873
de283087
AD
368742011-07-07 Ulrich Drepper <drepper@gmail.com>
36875
4e5f31c8 36876 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 36877 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
36878 The latter has a higher limit. Take additional parameter to pass to
36879 the new function.
36880 (__pathconf): Pass file to __statfs_link_max.
36881 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
36882 __statfs_link_max.
36883 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
36884 __statfs_link_max.
36885
de283087
AD
36886 [BZ #12868]
36887 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
36888 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36889 Handle Lustre.
36890 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
36891 (__statfs_filesize_max): Likewise.
36892 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
36893
c75fa153
AJ
368942011-07-05 Andreas Jaeger <aj@suse.de>
36895
36896 * resolv/res_comp.c (dn_skipname): Remove unused variable.
36897
1a544854
UD
368982011-07-06 Marek Polacek <mpolacek@redhat.com>
36899
36900 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
36901 `status' variable.
36902 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
36903 Likewise.
36904
6f0eec67
UD
369052011-07-04 H.J. Lu <hongjiu.lu@intel.com>
36906
36907 * Makefile (strop-tests): Add strncat.
36908 * string/test-strncat.c: New file.
36909
aae30307
UD
369102011-06-30 Marek Polacek <mpolacek@redhat.com>
36911
36912 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
36913
c0cfb5eb
UD
369142011-06-21 Andreas Jaeger <aj@suse.de>
36915
36916 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
36917 Copy rule from iconvdata/Makefile.
36918
01636b21
UD
369192011-07-06 Ulrich Drepper <drepper@gmail.com>
36920
36921 [BZ #12922]
36922 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
36923 but no long options are defined, just return 'W'.
36924
9895c8bc
UD
369252011-06-22 Marek Polacek <mpolacek@redhat.com>
36926
36927 [BZ #9696]
36928 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
36929
5d4cf042
UD
369302011-07-06 Ulrich Drepper <drepper@gmail.com>
36931
36932 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
36933 netgroups to read.
960e5535 36934 (innetgr): Likewise.
5d4cf042 36935
751eb97e
RM
369362011-07-05 Roland McGrath <roland@hack.frob.com>
36937
36938 * config.make.in (install_root): Default to $(DESTDIR).
36939
f15f1e45
UD
369402011-07-05 Ulrich Drepper <drepper@gmail.com>
36941
36942 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
36943
4e34ac6a
RM
369442011-07-02 Roland McGrath <roland@hack.frob.com>
36945
5e9b6af4
RM
36946 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
36947
84f9ea0f
RM
36948 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
36949 containing directory rather than embedding absolute directory names.
36950
ea5ee9f7
RM
36951 * scripts/check-local-headers.sh: Rewritten using awk.
36952 Match by word, not by line. Print error messages for matches.
36953 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
36954
1b74661a
RM
36955 * Makerules [shlib-lds-flags empty]:
36956 ($(common-objpfx)libc_pic.opts): New target.
36957 ($(common-objpfx)libc_pic.os.clean): New target.
36958 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
36959
36960 * config.make.in (OBJCOPY): New variable.
36961 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
36962 * configure: Regenerated.
36963
f781ef40
RM
36964 * config.make.in (use-default-link): New variable.
36965 * configure.in (use_default_link): Grok --with-default-link to set it.
36966 * configure: Regenerated.
36967 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
36968 (shlib-lds, shlib-lds-flags): Define to empty.
36969
2d4fa81e
RM
36970 * Makerules (shlib-lds): New variable.
36971 (shlib-lds-flags): New variable.
36972 (build-shlib, build-moduile, build-module-asneeded): Use it.
36973 ($(common-objpfx)libc.so): Use $(shlib-lds).
36974 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
36975 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
36976
31fffa6b
RM
36977 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
36978 DT_FLAGS/DT_FLAGS_1 with zero flags.
36979
4e34ac6a
RM
36980 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
36981 linker script munging.
36982
fcfc776b
UD
369832011-07-02 Ulrich Drepper <drepper@gmail.com>
36984
36985 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
36986 as 128-bit value.
36987 * crypt/sha512.c (sha512_process_block): Perform total addition using
36988 128-bit if possible.
36989 (__sha512_finish_ctx): Likewise.
36990 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
36991 as 64-bit value.
36992 * crypt/sha256.c (SWAP64): Define.
36993 (sha256_process_block): Perform total addition using 64-bit if
36994 possible.
36995 (__sha256_finish_ctx): Likewise.
36996
99231d9a
UD
369972011-07-01 Ulrich Drepper <drepper@gmail.com>
36998
36999 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
37000 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37001 * nscd/hstcache.c (cache_addhst): Likewise.
37002 * nscd/grpcache.c (cache_addgr): Likewise.
37003 * nscd/aicache.c (addhstaiX): Likewise
37004 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
37005
445b4a53
TK
370062011-07-01 Thorsten Kukuk <kukuk@suse.de>
37007
37008 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
37009 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37010 * nscd/hstcache.c (cache_addhst): Likewise.
37011 * nscd/grpcache.c (cache_addgr): Likewise.
37012 * nscd/aicache.c (addhstaiX): Likewise
37013
6d4d8e8e
AS
370142011-07-01 Andreas Schwab <schwab@redhat.com>
37015
37016 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
37017 domain only when needed.
37018
89f654c5
AS
370192011-06-30 Andreas Schwab <schwab@redhat.com>
37020
37021 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
37022 is always restored.
37023
cf3b23ff
UD
370242011-06-29 Ulrich Drepper <drepper@gmail.com>
37025
37026 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
37027 are re-adding the entry.
37028 * nscd/servicescache.c (cache_addserv): Likewise.
37029
751626f9
AJ
370302011-06-30 Aurelien Jarno <aurelien@aurel32.net>
37031
37032 * sysdeps/generic/dl-irel.h: fix protection against multiple
37033 inclusions.
37034 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
37035
9113ea1f
UD
370362011-06-28 Ulrich Drepper <drepper@gmail.com>
37037
5c0b8d90
UD
37038 [BZ #12935]
37039 * malloc/memusage.sh: Fix quoting in message.
37040 * debug/xtrace.sh: Likewise.
37041
9113ea1f
UD
37042 * configure.in: Remove support for --experimental-malloc option, make
37043 it the default.
37044 * config.make.in: Likewise.
37045 * malloc/Makefile: Likewise.
37046
a4172181
AS
370472011-06-27 Andreas Schwab <schwab@redhat.com>
37048
37049 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
37050 two-byte characters.
37051
78a7eee7
RM
370522011-06-27 Roland McGrath <roland@hack.frob.com>
37053
62bede13
RM
37054 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
37055 AC_CACHE_CHECK invocation.
37056 * configure: Regenerated.
37057
78a7eee7
RM
37058 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
37059
5ce33a62
UD
370602011-06-27 Ulrich Drepper <drepper@gmail.com>
37061
034807a9
UD
37062 [BZ #12350]
37063 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
37064 bit from old_res_options.
37065
4902da17
UD
37066 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
37067
5ce33a62
UD
37068 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
37069 value type for setfct.
37070
c2344f56
L
370712011-06-23 H.J. Lu <hongjiu.lu@intel.com>
37072
37073 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
37074 __gettimeofday instead of gettimeofday.
37075
68468076
UD
370762011-06-26 Ulrich Drepper <drepper@gmail.com>
37077
37078 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
37079
acb0d739
L
370802011-06-24 H.J. Lu <hongjiu.lu@intel.com>
37081
37082 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
37083
37084 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
37085 info.
37086
8912479f
L
370872011-06-22 H.J. Lu <hongjiu.lu@intel.com>
37088
37089 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37090 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
37091 strcpy-sse2-unaligned strncpy-sse2-unaligned
37092 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
37093 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
37094 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
37095 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
37096 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
37097 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
37098 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
37099 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
37100 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
37101 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
37102 (STRCPY): Support SSE2 and SSSE3 versions.
37103
d5495a11
UD
371042011-06-24 Ulrich Drepper <drepper@gmail.com>
37105
37106 [BZ #12874]
37107 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
37108 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
37109 kernels which artificially limit size of requests.
37110
0b1cbaae
L
371112011-06-22 H.J. Lu <hongjiu.lu@intel.com>
37112
37113 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37114 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
37115 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
37116 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
37117 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
37118 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
37119 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
37120 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
37121 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
37122 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
37123 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
37124 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
37125 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
37126 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
37127 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
37128 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37129 Enable unaligned load optimization for Intel Core i3, i5 and i7
37130 processors.
37131 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
37132 Define.
37133 (index_Fast_Unaligned_Load): Define.
37134 (HAS_FAST_UNALIGNED_LOAD): Define.
37135
07f494a0
MP
371362011-06-23 Marek Polacek <mpolacek@redhat.com>
37137
37138 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
37139
fa3fc0fe
UD
371402011-06-22 Ulrich Drepper <drepper@gmail.com>
37141
37142 [BZ #12907]
37143 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
37144 until it is clear that the information is realy needed.
37145 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
37146
e12df166
AS
371472011-06-22 Andreas Schwab <schwab@redhat.com>
37148
37149 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
37150
852eb34d
UD
371512011-06-22 Ulrich Drepper <drepper@gmail.com>
37152
84e2a551
UD
37153 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
37154 /sys/devices/system/cpu/online if it is usable.
37155
852eb34d
UD
37156 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
37157 reading the information from the /proc filesystem to once a second.
37158
6e502e19
UD
371592011-06-21 Andreas Jaeger <aj@suse.de>
37160
37161 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
37162 NULL after inclusion of kernel headers.
37163
75d39ff2
UD
371642011-06-21 Ulrich Drepper <drepper@gmail.com>
37165
51f9aa6a
UD
37166 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
37167 calls to internal_setent.
37168
c0244a9d
UD
37169 [BZ #12885]
37170 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
37171 addresses using gethostbyname4_r ignore IPv4 addresses.
37172
c5e3c2ae
UD
37173 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
37174 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
37175
75d39ff2
UD
37176 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
37177
42675c6f
DM
371782011-06-20 David S. Miller <davem@davemloft.net>
37179
37180 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
37181 inclusions.
37182 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
37183
37184 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
37185 (elf_irel): Use it.
37186 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
37187 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
37188 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
37189 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
37190 * sysdeps/x86_64/dl-irel.h: Likewise.
37191
37192 * elf/dl-runtime.c: Use elf_ifunc_invoke.
37193 * elf/dl-sym.c: Likewise.
37194
57912a71
UD
371952011-06-15 Ulrich Drepper <drepper@gmail.com>
37196
37197 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
37198 need to dereference resplen2.
37199
ee22793d
AS
372002011-06-14 Andreas Schwab <schwab@redhat.com>
37201
37202 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
37203
a9e836b0
UD
372042011-06-15 Ulrich Drepper <drepper@gmail.com>
37205
77fb9117
UD
37206 * Makeconfig: Define vardbdir and inst_vardbdir.
37207 * nss/Makefile: Add rules to install db-Makefile.
37208
40c1b22c
UD
37209 * nss/nss_db/db-XXX.c: Cleanup.
37210
9f2da732
UD
37211 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
37212 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
37213 GLIBC_PRIVATE.
37214 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
37215 * nss/makedb.c: Implement -g option to specify that value strings
37216 are generated and should not be added to table iterated over for
37217 get*ent calls.
37218 * nss/nss_db/db-initgroups.c: New file.
37219
82e9a1f7
UD
37220 * nss/getent.c: Add support for initgroups lookups through getgrouplist
37221 interface.
37222
c41af17e
UD
37223 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
37224 (internal_getgrouplist): Adjust to name change.
37225 Update use_initgroups_entry if this is not the first call.
37226 * nss/databases.def: Add initgroups entry.
37227
a9e836b0
UD
37228 * nss/makedb.c (compute_tables): Check result of multiple hash table
37229 sizes to minimize maximum chain length.
37230
2666d441
UD
372312011-06-14 Ulrich Drepper <drepper@gmail.com>
37232
37233 * Versions.def: Add entry for libnss_db.
37234 * shlib-versions: Likewise.
37235 * nss/Makefile: Add rules to build libnss_db.
37236 * nss/Versions: Add libnss_db information. Organize libnss_files
37237 entries better.
37238 * nss/db-Makefile: Add gshadow support. Change rules for the new
37239 makedb progra. Some minor improvements to generate smaller files.
37240 * nss/nss_db/nss_db.h: Move NSS database header data structures to
37241 here from...
37242 * nss/makedb.c: ...here.
37243 Improve database format to be smaller and require less memory at
37244 runtime.
37245 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
37246 db anymore.
37247 * nss/nss_db/db-netgrp.c: Likewise.
37248 * nss/nss_db/db-open.c: Likewise.
37249 * nss/nss_files/flies-XXX.x: Adjust comments.
37250 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
37251 * nss/nss_files/files-grp.c: Likewise.
37252 * nss/nss_files/files-hosts.c: Likewise.
37253 * nss/nss_files/files-network.c: Likewise.
37254 * nss/nss_files/files-proto.c: Likewise.
37255 * nss/nss_files/files-pwd.c: Likewise.
37256 * nss/nss_files/files-rpc.c: Likewise.
37257 * nss/nss_files/files-service.c: Likewise.
37258 * nss/nss_files/files-sgrp.c: Likewise.
37259 * nss/nss_files/files-spwd.c: Likewise.
37260 * nss/nss_db/db-alias.c: Removed.
37261 * nss/nss_db/dummy-db.h: Removed.
37262
9ee76b5a
UD
372632011-06-02 Ulrich Drepper <drepper@gmail.com>
37264
37265 * nss/makedb.c: Rewritten to not use database library.
37266 * nss/Makefile: Update to build new makedb program.
37267
c71ca1f8
AJ
372682011-06-14 Andreas Jaeger <aj@suse.de>
37269
37270 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
37271 memset declaration.
37272
3154bfb8
UD
372732011-06-10 Andreas Schwab <schwab@redhat.com>
37274
37275 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
37276 tmpbuf.
37277
b350afab
RM
372782011-06-10 Roland McGrath <roland@hack.frob.com>
37279
decd4e50
RM
37280 * Makerules (shlib.lds): Fail if the linker script comes out empty.
37281 * elf/Makefile ($(objpfx)ld.so): Likewise.
37282
5615eaf2
RM
37283 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
37284 Don't list ld.so twice in dependencies.
37285
37286 * posix/bug-regex31.c: Include <stdlib.h>.
37287
37288 * nscd/hstcache.c (cache_addhst): Remove unused variable.
37289
37290 * nis/nss_compat/compat-spwd.c
37291 (getspent_next_nss_netgr): Remove unused variable.
37292 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
37293
37294 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
37295 nonmembers" output to use the right array.
37296
37297 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
37298
37299 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
37300
37301 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
37302 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
37303 * catgets/gencat.c (read_input_file): Likewise.
37304 * locale/programs/locarchive.c (enlarge_archive): Likewise.
37305
37306 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
37307 variable definition inside #if's controlling its use.
37308
37309 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
37310
37311 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
37312
37313 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
37314
37315 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
37316 unreachable code.
37317
37318 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
37319
b68e08db
RM
37320 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
37321 * configure: Regenerated.
37322
b350afab
RM
37323 * Makerules: Revert last change.
37324 * elf/Makefile: Likewise.
37325
28368601
RM
373262011-06-09 Roland McGrath <roland@hack.frob.com>
37327
37328 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
37329 * elf/Makefile ($(objpfx)librtld.os): Likewise.
37330 (reloc-link): Likewise.
37331
11988f8f
UD
373322011-06-09 Ulrich Drepper <drepper@gmail.com>
37333
37334 * elf/Makefile: Add rules to build pldd.
37335 * elf/pldd.c: New file.
37336 * elf/pldd-xx.c: New file.
37337
e80fab37
UD
373382011-06-07 Ulrich Drepper <drepper@gmail.com>
37339
37340 * version.h: Update for 2.15 development version.
37341
9b849836
DM
373422011-06-07 David S. Miller <davem@davemloft.net>
37343
37344 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
37345 ifuncs.
37346 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
37347 elf_machine_lazy_rel): Likewise.
37348 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
37349 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
37350 elf_machine_lazy_rel): Likewise.
37351 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
37352 dl_hwcap via passed in argument.
37353 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
37354 Likewise.
37355
5a31b283
AK
373562011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37357
37358 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
37359
069e52f8
RM
373602011-06-06 Roland McGrath <roland@hack.frob.com>
37361
37362 [BZ #12849]
37363 * manual/fdl-1.1.texi: New file, verbatim from:
37364 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
37365 * manual/lgpl-2.1.texi: New file, verbatim from:
37366 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
37367 * manual/Makefile (licenses): New variable, list those new file names.
37368 (texis): Use it.
37369 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
37370
37371 * manual/fdl.texi: File removed.
37372 * manual/lesser.texi: File removed.
37373 * manual/libc.texinfo (Copying, Documentation License):
37374 Use new @include file names, put @appendix directive before @include.
37375
f16846a5
JJ
373762011-06-04 Jakub Jelinek <jakub@redhat.com>
37377
37378 [BZ #12841]
37379 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
37380 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
37381 (mq_open): Add __NTH.
37382
3d29045b
L
373832011-06-02 H.J. Lu <hongjiu.lu@intel.com>
37384
37385 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37386 Assume Intel Core i3/i5/i7 processor if AVX is available.
37387
8c297311
UD
373882011-05-31 Ulrich Drepper <drepper@gmail.com>
37389
37390 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37391 typo.
37392
c8fc0c91
UD
373932011-05-31 Andreas Schwab <schwab@redhat.com>
37394
37395 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
37396 memory. Use alloca_account. Fix memory leak when retrying.
37397
5b27a807
UD
373982011-05-31 Ulrich Drepper <drepper@gmail.com>
37399
356f8bc6
UD
37400 * version.h (RELEASE): Bump for 2.14 release.
37401 * include/features.h (__GLIBC_MINOR__): Bump to 14.
37402
5b27a807
UD
37403 * config.make.in (RANLIB): Remove entry.
37404
01f16ab0
UD
374052011-05-30 Ulrich Drepper <drepper@gmail.com>
37406
41fce8bd
UD
37407 * po/Makefile (po-sed-cmd): Add ksh to extensions.
37408 (libc.pot): Work around missing support for .ksh extension in xgettext.
37409
4769ae77
UD
37410 [BZ #12684]
37411 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
37412 if both request failed.
37413 (send_dg): In case of server errors clear resplen or *resplen2.
37414
6b1e7d19
UD
37415 [BZ #12454]
37416 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
37417 when there are multiple maps.
37418 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
37419 (_dl_fini): Remove test here.
37420
01f16ab0
UD
37421 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
37422
b1ebd700
UD
374232011-05-29 Ulrich Drepper <drepper@gmail.com>
37424
7ae22829
UD
37425 [BZ #12350]
37426 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
37427 bit from old_res_options.
37428 (gaih_inet): Likewise.
37429
553149f6 37430 [BZ #11099]
18a84741 37431 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
37432 as signed.
37433
652ffab1
UD
37434 * resolv/res_init.c (res_setoptions): Make the code more compact.
37435
16985fd0
UD
37436 [BZ #11558]
37437 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
37438 set RES_USEVC.
37439
0464f746
UD
37440 [BZ #11634]
37441 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
37442
7d17596c
UD
37443 * malloc/malloc.h: Mark malloc hook variables as deprecated.
37444
cf6bbbd7
UD
37445 [BZ #11781]
37446 * malloc/malloc.h: Declare malloc hook variables as volatile.
37447
13f1ab36
UD
37448 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
37449 in last patch.
37450
b1ebd700
UD
37451 [BZ #11799]
37452 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 37453 raise in the comment.
80e2212d
UD
37454 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37455 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37456 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 37457
ce67228d
UD
374582011-05-28 Ulrich Drepper <drepper@gmail.com>
37459
8887a920
UD
37460 [BZ #12811]
37461 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
37462 grow the buffers more if it already has to be sufficient.
37463 (build_wcs_upper_buffer): Likewise.
37464 * posix/regexec.c (check_matching): Likewise.
37465 (clean_state_log_if_needed): Likewise.
37466 (extend_buffers): Don't enlarge buffers beyond size of the input
37467 buffer.
37468 Patches mostly by Emil Wojak <emil@wojak.eu>.
37469 * posix/bug-regex32.c: New file.
37470 * posix/Makefile (tests): Add bug-regex32.
37471
4f031072
UD
37472 * locale/findlocale.c (_nl_find_locale): Return right away if
37473 _nl_explode_name failed.
37474 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
37475
d0478f0c
UD
37476 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
37477
de81b246
UD
37478 * debug/xtrace.sh: Unify messages.
37479 * malloc/memusage.sh: Likewise.
37480
c738465a
UD
37481 [BZ #12813]
37482 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
37483 time symbol from vDSO. Substitute with vsyscall if not available.
37484 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
37485 __vdso_time.
37486
f1f929d7
UD
37487 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
37488 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
37489 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
37490 Add sendmmsg and internal_sendmmsg.
37491 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
37492 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
37493 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
37494
ce67228d
UD
37495 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
37496 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
37497 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
37498
e57420c6
UD
374992011-05-27 Ulrich Drepper <drepper@gmail.com>
37500
a8509ca5
UD
37501 [BZ #12813]
37502 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
37503 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
37504 available.
37505 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
37506 __vdso_getcpu.
37507
e57420c6
UD
37508 [BZ #12814]
37509 * iconvdata/Makefile (tests): Add bug-iconv9.
37510 * iconvdata/bug-iconv9.c: New file.
37511
4d07db15
AS
375122011-05-27 Andreas Schwab <schwab@redhat.com>
37513
37514 [BZ #12814]
37515 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
37516
ea486f69
JJ
375172011-05-25 Jakub Jelinek <jakub@redhat.com>
37518
37519 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37520 (struct user_regs_struct): Change intcs field back to cs.
37521
6f038433
UD
375222011-05-25 Ulrich Drepper <drepper@gmail.com>
37523
37524 * po/ja.po: Update from translation team.
37525
67f86a25
UD
375262011-05-23 Ulrich Drepper <drepper@gmail.com>
37527
37528 [BZ #12795]
37529 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
37530 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
37531
def7fbd6
AS
375322011-05-20 Andreas Schwab <schwab@redhat.com>
37533
37534 * stdlib/longlong.h: Update from GCC.
37535
f50ef8f1
AS
375362011-05-23 Andreas Schwab <schwab@redhat.com>
37537
37538 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
37539 parameter name.
37540 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
37541 Add parameter name.
37542 (__sysconf): Pass it down.
37543
de7ce8f1
UD
375442011-05-22 Ulrich Drepper <drepper@gmail.com>
37545
f2962a71
UD
37546 [BZ #12671]
37547 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
37548 some situations.
37549 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
37550 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
37551 add in in __libc_use_alloca calls. Adjust callers.
37552 (glob): Use malloc in some situations.
37553
de7ce8f1
UD
37554 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
37555 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
37556 pltexit.
37557
aec84f53
UD
375582011-05-21 Ulrich Drepper <drepper@gmail.com>
37559
05bb4a68
UD
37560 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
37561 and CLOCK_BOOTTIME_ALARM.
37562
7ea72f99
UD
37563 [BZ #12782]
37564 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
37565 is returned.
37566
7e4afad5
UD
37567 * string/_strerror.c (__strerror_r): Print negative errors as signed
37568 numbers.
37569
8e211fec
UD
37570 [BZ #12777]
37571 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
37572 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
37573 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
37574
f7d82dc9
UD
37575 * configure.in: Fix typo in redirection and correct removal of test
37576 files in two cases.
37577
cc9e536d
UD
37578 [BZ #12788]
37579 * locale/setlocale.c (new_composite_name): Fix test to check for
37580 identical name of all categories.
37581
aec84f53
UD
37582 [BZ #12792]
37583 * libio/filedoalloc.c (local_isatty): New function.
37584 (_IO_file_doallocate): Use local_isatty.
37585 * stdio-common/perror.c (perror): In case a new stream is used
37586 forward the stream error.
37587 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
37588 error flag.
37589
78e64fdc
RT
375902011-05-20 Ulrich Drepper <drepper@gmail.com>
37591
34a9094f
UD
37592 [BZ #11869]
37593 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
37594 alloca.
37595 * include/alloca.h (extend_alloca_account): Define.
37596
78e64fdc
RT
37597 [BZ #11857]
37598 * posix/regex.h: Fix comments with documentation of user-accessible
37599 fields after compilation and describe correct free'ing of pattern
37600 after re_compile_pattern.
37601 Patch by Reuben Thomas <rrt@sc3d.org>.
37602
457bddfc
RA
376032011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
37604
37605 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
37606 and -mno-altivec to prevent the compiler from using Altivec and/or
37607 VSX instructions when the corresponding registers are not available.
37608
a4527b51
AS
376092011-05-19 Andreas Schwab <schwab@redhat.com>
37610
37611 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
37612
ed690b2f
UD
376132011-05-19 Ulrich Drepper <drepper@gmail.com>
37614
37615 * libio/freopen.c (freopen): Use __dup2, not dup2.
37616 * libio/freopen64.c (freopen64): Likewise.
37617
8db73634
L
376182011-05-17 H.J. Lu <hongjiu.lu@intel.com>
37619
37620 [BZ #12775]
37621 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
37622 * math/Makefile (tests): Add test-powl.
37623 (CFLAGS-test-powl.c): Define.
37624 * math/test-powl.c: New file.
37625
0a197a9d
L
376262011-05-16 H.J. Lu <hongjiu.lu@intel.com>
37627
37628 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
37629
ee30c380
UD
376302011-05-17 Ulrich Drepper <drepper@gmail.com>
37631
37632 [BZ #11837]
37633 * iconvdata/gb18030.c: Update to GB18020-2005.
37634
6ce75379
UD
376352011-05-16 Ulrich Drepper <drepper@gmail.com>
37636
a4b89fd8
AR
37637 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
37638 RE_SYNTAX_POSIX_AWK): Update to match recent development.
37639 Patch by Aharon Robbins <arnold@skeeve.com>.
37640
ea389b12
UD
37641 [BZ #11892]
37642 * stdlib/putenv.c (putenv): Don't always create copy of the variable
37643 on the stack.
37644
68a3f91f
UD
37645 [BZ #11895]
37646 * misc/pselect.c (__pselect): Handle timeout value errors hidden
37647 through underflows.
37648
15cc7dd1
UD
37649 [BZ #12766]
37650 * misc/error.c (error_at_line): Ensure file_name and old_file_name
37651 point to strings before performing equality test for error_one_per_line
37652 mode.
37653
f3799213
UD
37654 [BZ #11697]
37655 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
37656
d79a9c94
UD
37657 [BZ #11820]
37658 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37659 (struct user_fpregs_struct): Avoid __uint*_t types.
37660
56e5eb46
UD
37661 [BZ #6420]
37662 * malloc/mtrace.c (tr_where): Add additional parameter to point to
37663 symbol info. Use it instead of calling _dl_addr locally.
37664 (lock_and_info): New function.
37665 (tr_freehook): Call lock_and_info and pass symbol info as additional
37666 parameter to tr_where.
37667 (tr_mallochook): Likewise.
37668 (tr_reallochook): Likewise.
37669 (tr_memalignhook): Likewise.
37670
6ce75379
UD
37671 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
37672 used and couldn't be at all thread-safe.
37673
f8a3b5bf
UD
376742011-05-15 Ulrich Drepper <drepper@gmail.com>
37675
94b7cc37
UD
37676 * libio/freopen.c (freopen): Don't close old file descriptor
37677 before the new one is opened. Instead dup the new file descriptor
37678 to the old one after the new stream is created.
37679 * libio/freopen64.c (freopen64): Likewise.
37680 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
37681 * libio/fileops.c (_IO_new_file_close_it): Handle new
37682 _IO_FLAGS2_NOCLOSE flag.
37683 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
37684 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
37685 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
37686 _IO_FLAGS2_NOCLOSE flag.
37687 * include/unistd.h: Add hidden_proto for dup3.
37688 Define __have_dup3.
37689 * io/dup3.c: Define hidden symbol.
37690 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
37691
bd25564e
UD
37692 [BZ #7101]
37693 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
37694 when an incomplete long option is used.
37695 * posix/tst-getopt_long1.c: New file.
37696 * posix/Makefile (tests): Add tst-getopt_long1.
37697
c84cfef4
UD
37698 [BZ #10138]
37699 * scripts/config.guess: Update from autoconf-2.68.
37700 * scripts/config.sub: Likewise.
37701
3b85df27
UD
37702 [BZ #10157]
37703 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
37704 tests into ...
37705 (has_cpuclock): ...this. New function.
37706 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
37707 macro here based on has_cpuclock code.
37708
15a856b1
UD
37709 [BZ #10149]
37710 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37711 First byte (not low byte) is now always NUL.
37712 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
37713
05f399e6
UD
37714 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37715 Use non-cancelable interfaces.
37716
10a52685 37717 [BZ #9809]
94ecc67d
UD
37718 * locale/iso-639.def: Add entry for Sorani.
37719
f8a3b5bf
UD
37720 [BZ #11901]
37721 * include/stdlib.h: Move include protection to the right place.
37722 Define abort_msg_s. Declare __abort_msg with it.
37723 * stdlib/abort.c (__abort_msg): Adjust type.
37724 * assert/assert.c (__assert_fail_base): New function. Majority
37725 of code from __assert_fail. Allocate memory for __abort_msg with
37726 mmap.
37727 (__assert_fail): Now call __assert_fail_base.
37728 * assert/assert-perr.c: Remove bulk of implementation. Use
37729 __assert_fail_base.
37730 * include/assert.hL Declare __assert_fail_base.
37731 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
37732 mmap.
37733 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
37734
1af4e298
UD
377352011-05-14 Ulrich Drepper <drepper@gmail.com>
37736
f8a3b5bf 37737 [BZ #11952]
d26dfc60
MG
37738 [BZ #12453]
37739 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
37740 until all modules are registered in the DTV.
37741 * elf/Makefile: Add rules to build and run tst-tls19.
37742 * elf/tst-tls19.c: New file.
37743 * elf/tst-tls19mod1.c: New file.
37744 * elf/tst-tls19mod2.c: New file.
37745 * elf/tst-tls19mod3.c: New file.
37746 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
37747
2fc54d6f
UD
37748 [BZ #12083]
37749 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
37750 correctly.
37751
98d76b46
UD
37752 [BZ #12601]
37753 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
37754 two-byte sequence errors.
37755 * iconvdata/Makefile (tests): Add bug-iconv8.
37756 * iconvdata/bug-iconv8.c: New file.
37757
da3c19ef
UD
37758 [BZ #12626]
37759 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
37760 buf2 definition.
37761
ca408c15
UD
37762 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
37763
d6f67f7d
UD
37764 [BZ #12432]
37765 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
37766 (dummy_getcfa): New function.
37767 (init): Get _Unwind_GetCFA address, use dummy if not found.
37768 (backtrace_helper): In recursion check, also check whether CFA changes.
37769 (__backtrace): Completely initialize arg.
37770
1af4e298 37771 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
37772 storing incomplete byte sequence in state object. Avoid testing for
37773 guaranteed too small input if we know there is enough data available.
1af4e298 37774
da62f81b
AS
377752011-05-11 Andreas Schwab <schwab@redhat.com>
37776
37777 * Makeconfig (+link-pie): Indent.
37778 * Rules (binaries-pie): Define if $(have-fpie) and
37779 $(build-shared).
37780 (binaries-shared): Also filter out $(binaries-pie).
37781 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
37782 * nscd/Makefile (others-pie): Add nscd.
37783 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
37784 ($(objpfx)nscd): Remove command override.
37785 * login/Makefile (others-pie): Add pt_chown.
37786 ($(objpfx)pt_chown): Remove command override.
37787 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
37788 remove command overrides.
37789
fcabc0f8
UD
377902011-05-13 Ulrich Drepper <drepper@gmail.com>
37791
20030ae6
UD
37792 * libio/tst_putwc.c: Fix error messages.
37793
fcabc0f8
UD
37794 [BZ #12724]
37795 * libio/fileops.c (_IO_new_file_close_it): Always flush when
37796 currently writing and seek to current position when not.
37797 * libio/Makefile (tests): Add bug-fclose1.
37798 * libio/bug-fclose1.c: New file.
37799
320a5dc0
PB
378002011-05-12 Ulrich Drepper <drepper@gmail.com>
37801
37802 [BZ #12511]
37803 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
37804 don't set DF_1_NODELETE here.
37805 (do_lookup_x): When entering new entry test for copy relocation
37806 and if necessary set DF_1_NODELETE flag.
37807 * elf/tst-unique4.cc: New file.
37808 * elf/tst-unique4.h: New file.
37809 * elf/tst-unique4lib.cc: New file.
37810 * elf/Makefile: Add rules to build and run tst-unique4.
37811 Patch by Piotr Bury <pbury@goahead.com>.
37812
22836f52
UD
378132011-05-11 Ulrich Drepper <drepper@gmail.com>
37814
f574184a
UD
37815 [BZ #12052]
37816 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
37817
e1fb097f
UD
37818 [BZ #12625]
37819 * misc/mntent_r.c (addmntent): Flush the stream after the output
37820
22836f52
UD
37821 [BZ #12393]
37822 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
37823 (is_trusted_path_normalize): Skip initial colon. Append slash
37824 to empty buffer. Duplicate is_trusted_path code but allow
37825 constructed patch to be prefix.
37826 (is_dst): Allow $ORIGIN followed by /.
37827 (_dl_dst_substitute): Correct clearing of check_for_trusted.
37828 Correct testing of result of is_trusted_path_normalize
37829 (decompose_rpath): Fix warning.
37830
7b3b0b2a
UD
378312011-05-10 Ulrich Drepper <drepper@gmail.com>
37832
37833 [BZ #11257]
37834 * grp/initgroups.c (internal_getgrouplist): When we found the service
37835 list through the initgroups entry in nsswitch.conf do not always
37836 continue on a successful lookup. Don't always use the
eac80ce2 37837 __nss_group_database value if it is set.
7b3b0b2a
UD
37838 * nss/nsswitch.conf (initgroups): Change action for successful db
37839 lookup to continue for compatibility.
37840
2a81eaa5
UD
378412011-05-09 Ulrich Drepper <drepper@gmail.com>
37842
be97a69e
UD
37843 [BZ #11532]
37844 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
37845 and CP774 modules.
37846 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
37847 and CP774 modules.
37848 * iconvdata/tst-tables.sh: Likewise.
37849 * iconvdata/cp770.c: New file.
37850 * iconvdata/cp771.c: New file.
37851 * iconvdata/cp772.c: New file.
37852 * iconvdata/cp773.c: New file.
37853 * iconvdata/cp774.c: New file.
37854 * iconvdata/testdata/CP770: New file.
37855 * iconvdata/testdata/CP770..UTF8: New file.
37856 * iconvdata/testdata/CP771: New file.
37857 * iconvdata/testdata/CP771..UTF8: New file.
37858 * iconvdata/testdata/CP772: New file.
37859 * iconvdata/testdata/CP772..UTF8: New file.
37860 * iconvdata/testdata/CP773: New file.
37861 * iconvdata/testdata/CP773..UTF8: New file.
37862 * iconvdata/testdata/CP774: New file.
37863 * iconvdata/testdata/CP774..UTF8: New file.
37864
37865 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
37866 END CHARMAP line.
37867 * iconvdata/gen-8bit-gap.sh: Likewise.
37868 * iconvdata/gen-8bit.sh: Likewise.
37869
c1e9e399
UD
37870 * locale/iso-639.def: Add ary entry.
37871
24c55fb3 37872 [BZ #11258]
96b4b1b0
UD
37873 * locale/C-translit.h.in: Add U20A1 transliteration.
37874
bdc2f971
KB
37875 [BZ #12178]
37876 * locale/iso-639.def: Add wae entry.
37877 Patch by Kevin Bortis <bortis@translate-wae.ch>.
37878
2952b117
UD
37879 [BZ #12545]
37880 * locale/programs/localedef.c (construct_output_path): Use ssize_t
37881 for n.
37882
2a81eaa5
UD
37883 [BZ #12711]
37884 * locale/C-translit.h.in: Add entry for U20B9.
37885 Patch by pravin.d.s@gmail.com.
37886
28377d1b
UD
378872011-05-08 Ulrich Drepper <drepper@gmail.com>
37888
7fb90fb8
UD
37889 [BZ #12713]
37890 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
37891 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
37892 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
37893 in rtld. Use *stat64.
7fb90fb8 37894 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 37895 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 37896 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
37897 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
37898 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
37899 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
37900 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
37901 __fstatat64 macros.
7fb90fb8
UD
37902 * include/dirent.h: Add libc_hidden_proto for rewinddir.
37903 * dirent/rewinddir.c: Add libc_hidden_def.
37904 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 37905 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 37906
28377d1b
UD
37907 * include/dirent.h (__alloc_dir): Add flags parameter.
37908 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
37909 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
37910 __alloc_dir.
37911 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
37912 from fdopendir if O_CLOEXEC is already set.
37913
66bdbaa4
AM
379142011-03-15 Alan Modra <amodra@gmail.com>
37915
37916 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
37917 l_tls_firstbyte_offset non-zero. Save padding offset in
37918 l_tls_firstbyte_offset for later use.
37919 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
37920 freeing static tls block.
37921
95721191
JN
379222011-03-05 Jonathan Nieder <jrnieder@gmail.com>
37923
37924 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
37925 where #ifdef was intended. The intent is to prevent ARG_MAX from
37926 being defined by the kernel headers.
37927
f87dfb1f
UD
379282011-05-07 Ulrich Drepper <drepper@gmail.com>
37929
37930 [BZ #12734]
37931 * resolv/resolv.h: Define RES_NOTLDQUERY.
37932 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
37933 no-tld-query and set RES_NOTLDQUERY.
37934 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
37935 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
37936 modern BIND to search name as TLD unless forbidden.
37937
47c3cd7a
UD
379382011-05-07 Petr Baudis <pasky@suse.cz>
37939 Ulrich Drepper <drepper@gmail.com>
37940
37941 [BZ #12393]
37942 * elf/dl-load.c (fillin_rpath): Move trusted path check...
37943 (is_trusted_path): ...to here.
c1e9ea35 37944 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 37945 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 37946 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 37947
8a35c912
PP
379482011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37949
37950 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
37951 __BEGIN/__END_DECLS.
37952
acd41f47
UD
379532011-05-06 Ulrich Drepper <drepper@gmail.com>
37954
37955 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
37956 NSS_STATUS_NOTFOUND if no record was found.
37957
597df647
AS
379582011-05-05 Andreas Schwab <schwab@redhat.com>
37959
37960 * sunrpc/Makefile (headers): Add rpc/netdb.h.
37961 (headers-not-in-tirpc): Remove rpc/netdb.h
37962 * resolv/netdb.h: Revert last change.
37963
b9af1301
PP
379642011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37965
37966 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
37967 circular dependency between libgcc.a and libc.a.
37968
4e34d5f5
AS
379692011-05-05 Andreas Schwab <schwab@redhat.com>
37970
37971 * resolv/netdb.h: Don't include <rpc/netdb.h>.
37972 * nis/Makefile: Don't install rpcsvc/*.
37973 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
37974 instead of <rpc/types.h>.
37975 (MAXHOSTNAMELEN): Define.
37976
00ee369c
AS
379772011-05-03 Andreas Schwab <schwab@redhat.com>
37978
37979 * elf/ldconfig.c (add_dir): Don't crash on empty path.
37980
0b592a30
MB
379812011-04-28 Maciej Babinski <mbabinski@google.com>
37982
37983 [BZ #12714]
37984 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
37985 gethostbyname4_r when IPv6 results are possible.
37986
6e04cbbe
UD
379872011-05-02 Ulrich Drepper <drepper@gmail.com>
37988
37989 [BZ #12723]
37990 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
37991 _PC_PIPE_BUF handling.
37992
e4ecafe0
BH
379932011-04-30 Bruno Haible <bruno@clisp.org>
37994
37995 [BZ #12717]
37996 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
37997 * resolv/netdb.h (getnameinfo): Change type of flags parameter
37998 to 'int'.
37999 * inet/getnameinfo.c (getnameinfo): Likewise.
38000
125ee683
UD
380012011-04-29 Ulrich Drepper <drepper@gmail.com>
38002
38003 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
38004 to groups setting in database lookup.
38005 * nss/nsswitch.conf: Add initgroups entry.
38006
b722481a
EB
380072011-04-22 Ulrich Drepper <drepper@gmail.com>
38008
38009 [BZ #12685]
38010 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
38011 mode string.
38012 Patch by Eric Blake <eblake@redhat.com>.
38013
4df46dbd
L
380142011-04-20 H.J. Lu <hongjiu.lu@intel.com>
38015
38016 * sunrpc/Makefile (need-export-routines): Add svc_run.
38017 (routines): Remove svc_run.
38018 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
38019 * sunrpc/clnt_perr.c (clnt_perrno): Export.
38020 * sunrpc/svc_run.c (svc_run): Likewise.
38021 * sunrpc/svc_udp.c (svcudp_create): Likewise.
38022
e84142d2
UD
380232011-04-21 Ulrich Drepper <drepper@gmail.com>
38024
38025 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
38026 problem in reallocation in last patch.
38027
877175d8
UD
380282011-04-20 Ulrich Drepper <drepper@gmail.com>
38029
38030 * sunrpc/Makefile: Move inclusion of Rules.
38031
ab8eed78
UD
380322011-04-19 Ulrich Drepper <drepper@gmail.com>
38033
38034 * nss/nss_files/files-initgroups.c: New file.
38035 * nss/Makefile (libnss_files-routines): Add files-initgroups.
38036 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
38037 _nss_files_initgroups_dyn.
38038
e3d8f584
RS
380392011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
38040
38041 * elf/elf.h (R_ARM_IRELATIVE): Define.
38042
af190f45
UD
380432011-04-19 Ulrich Drepper <drepper@gmail.com>
38044
38045 * po/ru.po: Update from translation team.
38046
53cf59ef
UD
380472011-04-17 Ulrich Drepper <drepper@gmail.com>
38048
38049 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
38050 dependencies.
38051
4c559bcd
MF
380522011-02-06 Mike Frysinger <vapier@gentoo.org>
38053
38054 [BZ #12653]
38055 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
38056 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
38057 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38058 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38059 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38060
4420675c
AS
380612011-03-28 Andreas Schwab <schwab@linux-m68k.org>
38062
38063 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
38064 differing bytes.
38065 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38066 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38067 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38068
75ea32ab
UD
380692011-04-17 Ulrich Drepper <drepper@gmail.com>
38070
38071 [BZ #12420]
38072 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
38073 storing it.
38074 * stdlib/bug-getcontext.c: New file.
38075 * stdlib/Makefile: Add rules to build and run bug-getcontext.
38076
27390476
AK
380772011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38078
38079 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
38080 instructions into .machine "z9-109".
38081 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
38082 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
38083
10442705
AK
380842011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38085
38086 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
38087 between environment variables and auxiliary vector.
38088
7b57bfe5
UD
380892011-04-16 Ulrich Drepper <drepper@gmail.com>
38090
38091 * Makefile: Add rules to build linkobj/libc.so.
38092 * include/libc-symbols.h: Define libc_hidden_nolink.
38093 * include/rpc/auth.h: Mark functions which are to be hidden.
38094 * include/rpc/auth_des.h: Likewise.
38095 * include/rpc/auth_unix.h: Likewise.
38096 * include/rpc/clnt.h: Likewise.
38097 * include/rpc/des_crypt.h: Likewise.
38098 * include/rpc/key_prot.h: Likewise.
38099 * include/rpc/pmap_clnt.h: Likewise.
38100 * include/rpc/pmap_prot.h: Likewise.
38101 * include/rpc/pmap_rmt.h: Likewise.
38102 * include/rpc/rpc_msg.h: Likewise.
38103 * include/rpc/svc.h: Likewise.
38104 * include/rpc/svc_auth.h: Likewise.
38105 * include/rpc/xdr.h: Likewise.
38106 * nis/Makefile: Link all DSOs against linkobj/libc.so.
38107 * nss/Makefile: Likewise.
38108 * sunrpc/Makefile: Don't install headers. Build library with normal
38109 entry points. Don't build rpcinfo. Link RPC tests appropriately.
38110 * sunrpc/auth_des.c: Hide exported symbols by default, export some
38111 for the compat linking library. Remove use of INTDEF/INTUSE.
38112 * sunrpc/auth_none.c: Likewise.
38113 * sunrpc/auth_unix.c: Likewise.
38114 * sunrpc/authdes_prot.c: Likewise.
38115 * sunrpc/authuxprot.c: Likewise.
38116 * sunrpc/clnt_gen.c: Likewise.
38117 * sunrpc/clnt_perr.c: Likewise.
38118 * sunrpc/clnt_raw.c: Likewise.
38119 * sunrpc/clnt_simp.c: Likewise.
38120 * sunrpc/clnt_tcp.c: Likewise.
38121 * sunrpc/clnt_udp.c: Likewise.
38122 * sunrpc/clnt_unix.c: Likewise.
38123 * sunrpc/des_crypt.c: Likewise.
38124 * sunrpc/des_soft.c: Likewise.
38125 * sunrpc/get_myaddr.c: Likewise.
38126 * sunrpc/key_call.c: Likewise.
38127 * sunrpc/key_prot.c: Likewise.
38128 * sunrpc/netname.c: Likewise.
38129 * sunrpc/pm_getmaps.c: Likewise.
38130 * sunrpc/pm_getport.c: Likewise.
38131 * sunrpc/pmap_clnt.c: Likewise.
38132 * sunrpc/pmap_prot.c: Likewise.
38133 * sunrpc/pmap_prot2.c: Likewise.
38134 * sunrpc/pmap_rmt.c: Likewise.
38135 * sunrpc/publickey.c: Likewise.
38136 * sunrpc/rpc_cmsg.c: Likewise.
38137 * sunrpc/rpc_common.c: Likewise.
38138 * sunrpc/rpc_dtable.c: Likewise.
38139 * sunrpc/rpc_prot.c: Likewise.
38140 * sunrpc/rpc_thread.c: Likewise.
38141 * sunrpc/rtime.c: Likewise.
38142 * sunrpc/svc.c: Likewise.
38143 * sunrpc/svc_auth.c: Likewise.
38144 * sunrpc/svc_authux.c: Likewise.
38145 * sunrpc/svc_raw.c: Likewise.
38146 * sunrpc/svc_run.c: Likewise.
38147 * sunrpc/svc_simple.c: Likewise.
38148 * sunrpc/svc_tcp.c: Likewise.
38149 * sunrpc/svc_udp.c: Likewise.
38150 * sunrpc/svc_unix.c: Likewise.
38151 * sunrpc/svcauth_des.c: Likewise.
38152 * sunrpc/xcrypt.c: Likewise.
38153 * sunrpc/xdr.c: Likewise.
38154 * sunrpc/xdr_array.c: Likewise.
38155 * sunrpc/xdr_float.c: Likewise.
38156 * sunrpc/xdr_intXX_t.c: Likewise.
38157 * sunrpc/xdr_mem.c: Likewise.
38158 * sunrpc/xdr_rec.c: Likewise.
38159 * sunrpc/xdr_ref.c: Likewise.
38160 * sunrpc/xdr_sizeof.c: Likewise.
38161 * sunrpc/xdr_stdio.c: Likewise.
38162
e6c61494
UD
381632011-04-10 Ulrich Drepper <drepper@gmail.com>
38164
38165 [BZ #12650]
38166 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
38167 * sysdeps/ia64/dl-tls.h: Likewise.
38168 * sysdeps/powerpc/dl-tls.h: Likewise.
38169 * sysdeps/s390/dl-tls.h: Likewise.
38170 * sysdeps/sh/dl-tls.h: Likewise.
38171 * sysdeps/sparc/dl-tls.h: Likewise.
38172 * sysdeps/x86_64/dl-tls.h: Likewise.
38173 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
38174
34fe483e
AS
381752011-03-14 Andreas Schwab <schwab@redhat.com>
38176
38177 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
38178 rpath element also skip the following colon.
38179 (expand_dynamic_string_token): Add is_path parameter and pass
38180 down to DL_DST_REQUIRED and _dl_dst_substitute.
38181 (decompose_rpath): Call expand_dynamic_string_token with
38182 non-zero is_path. Ignore empty rpaths.
38183 (_dl_map_object_from_fd): Call expand_dynamic_string_token
38184 with zero is_path.
38185
f12a32e6
AS
381862011-04-08 Andreas Schwab <schwab@linux-m68k.org>
38187
38188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
38189 Make cancelable.
38190
38a7d692
UD
381912011-04-09 Ulrich Drepper <drepper@gmail.com>
38192
38193 [BZ #12655]
38194 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
38195 Patch by Filipe David Manana <fdmanana@apache.org>.
38196
e451d22b
AS
381972011-04-07 Andreas Schwab <schwab@redhat.com>
38198
38199 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
38200 Maintain aligned stack.
38201 (CHECK_RSP): Remove unused macro.
38202
dedc7c7b
UD
382032011-04-03 Ulrich Drepper <drepper@gmail.com>
38204
38205 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
38206 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
38207
94521213
UD
382082011-04-02 Ulrich Drepper <drepper@gmail.com>
38209
38210 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
38211
8cb700c0 38212 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 38213
0354e355
L
382142011-03-26 H.J. Lu <hongjiu.lu@intel.com>
38215
38216 [BZ #12518]
38217 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
38218 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
38219 * sysdeps/x86_64/memmove.c: New file.
38220 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
38221 (memcpy): Renamed to ...
38222 (__new_memcpy): This.
38223 (memcpy): Provide GLIBC_2_14 memcpy.
38224 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
38225 (memcpy): Provide GLIBC_2_2_5 memcpy.
38226
8593482f
UD
382272011-04-01 Ulrich Drepper <drepper@gmail.com>
38228
38229 [BZ #12631]
38230 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
38231
81a5726b
AS
382322011-03-30 Andreas Schwab <schwab@redhat.com>
38233
38234 * misc/syncfs.c: New file.
38235 * misc/Makefile (routines): Add syncfs.
38236 * posix/unistd.h: Declare syncfs.
38237 * sysdeps/unix/syscalls.list: Add syncfs.
38238
00e5419f
AS
382392011-04-01 Andreas Schwab <schwab@redhat.com>
38240
38241 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
38242 open_by_handle_at.
38243 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38244 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38245 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38246 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38247 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38248 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
38249 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38250
748876bf
UD
382512011-04-01 Ulrich Drepper <drepper@gmail.com>
38252
658e451d
UD
38253 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
38254 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38255 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
38256 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38257 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38258 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38259 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38260
748876bf
UD
38261 * io/Makefile: Compile fallocate.c, fallocate64.c, and
38262 sync_file_range.c with -fexceptions.
38263 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
38264 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
38265 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
38266 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
38267 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
38268 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
38269 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
38270 sync_file_range as cancellation point
38271 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
38272 now a wrapper around __call_sync_file_range with cancellation handling.
38273 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
38274 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
38275 function name to __call_sync_file_range.
38276 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
38277 Add call_sync_file_range.
748876bf 38278
6e63d5e1
AS
382792011-04-01 Andreas Schwab <schwab@redhat.com>
38280
38281 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 38282 bits/timex.h.
6e63d5e1 38283
46998f74
UD
382842011-04-01 Ulrich Drepper <drepper@gmail.com>
38285
4c1423ed
UD
38286 * iconv/iconv.h: Fix typo in comment.
38287 * io/fcntl.h: Likewise.
38288 * libio/stdio.h: Likewise.
38289 * posix/spawn.h: Likewise.
38290 * posix/unistd.h: Likewise.
38291 * stdlib/stdlib.h: Likewise.
38292 * time/time.h: Likewise.
38293 * wcsmbs/wchar.h: Likewise.
38294
158648c0
UD
38295 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
38296 open_by_handle): Add.
38297 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
38298 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
38299 Augment a few comments.
38300 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38301 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38302 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38303 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38304 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38305 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
38306 open_by_handle.
38307
46998f74
UD
38308 * io/fcntl.h (AT_EMPTY_PATH): Define.
38309
83fe108b
UD
383102011-03-30 Ulrich Drepper <drepper@gmail.com>
38311
38312 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
38313 * sysdeps/unix/sysv/linux/bits/time.h: New file.
38314 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
38315 to...
38316 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
38317 * Versions.def: Add GLIBC_2.14.
38318 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
38319 Export.
83fe108b 38320
bb242059
UD
383212011-03-22 Ulrich Drepper <drepper@gmail.com>
38322
38323 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
38324 round counter.
38325 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38326
c97a1282
L
383272011-03-20 H.J. Lu <hongjiu.lu@intel.com>
38328
38329 [BZ #12597]
38330 * string/test-strncmp.c (do_page_test): New function.
38331 (check2): Likewise.
38332 (test_main): Call check2.
38333 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
38334
2a115601
UD
383352011-03-20 Ulrich Drepper <drepper@gmail.com>
38336
38337 [BZ #12587]
38338 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
38339 Handle cache information in CPU leaf 4.
38340 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38341
8126d904
UD
383422011-03-18 Ulrich Drepper <drepper@gmail.com>
38343
042c49c6 38344 [BZ #12583]
8126d904
UD
38345 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
38346 character representation.
38347 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
38348
ccfe366e
RA
383492011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
38350
38351 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
38352 END(__isnan) to END(__isnanf) to match function entry point/label
38353 EALIGN(__isnanf,...).
38354
c6e13027
JJ
383552011-03-10 Jakub Jelinek <jakub@redhat.com>
38356
38357 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
38358
33f85a3f
UD
383592011-03-10 Ulrich Drepper <drepper@gmail.com>
38360
028478fa
UD
38361 [BZ #12510]
38362 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
38363 copy from the symbol referenced in the relocation to initialize the
38364 used variable.
38365 Patch by Piotr Bury <pbury@goahead.com>.
38366 * elf/Makefile: Add rules to build and tst-unique3.
38367 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
38368 * elf/tst-unique3.cc: New file.
38369 * elf/tst-unique3.h: New file.
38370 * elf/tst-unique3lib.cc: New file.
38371 * elf/tst-unique3lib2.cc: New file.
38372
33f85a3f
UD
38373 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
38374
03592fc7
MF
383752011-03-10 Mike Frysinger <vapier@gentoo.org>
38376
38377 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
38378 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
38379 to _start.
03592fc7 38380
6a5ee102
UD
383812011-03-06 Ulrich Drepper <drepper@gmail.com>
38382
38383 * elf/dl-load.c (_dl_map_object): If we are looking for the first
38384 to-be-loaded object along a path to loader is ld.so.
38385
7e4ba49c
HJ
383862011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38387 Ulrich Drepper <drepper@gmail.com>
38388
38389 * sysdeps/x86_64/memset.S: After aligning destination, code
38390 branches to different locations depending on the value of
38391 misalignment, when multiarch is enabled. Fix this.
38392
383932011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38394
38395 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
38396 Set _x86_64_preferred_memory_instruction for AMD processsors.
38397 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38398 Set bit_Prefer_SSE_for_memop for AMD processors.
38399
13a804de
UD
384002011-03-04 Ulrich Drepper <drepper@gmail.com>
38401
38402 * libio/fmemopen.c (fmemopen): Optimize a bit.
38403
9d25c392
AS
384042011-03-03 Andreas Schwab <schwab@redhat.com>
38405
38406 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
38407
a5543c6a
RM
384082011-03-03 Roland McGrath <roland@redhat.com>
38409
38410 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
38411
012d35f7
DM
384122011-02-28 Aurelien Jarno <aurelien@aurel32.net>
38413
7e4ba49c 38414 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
38415 __bzero_ultra1 instead of __memset_ultra1.
38416
4bff6e01
AS
384172011-02-23 Andreas Schwab <schwab@redhat.com>
38418 Ulrich Drepper <drepper@gmail.com>
38419
38420 [BZ #12509]
38421 * include/link.h (struct link_map): Add l_orig_initfini.
38422 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
38423 returning unsuccessfully.
38424 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
38425 close of a file loaded at startup, restore the original l_initfini
38426 list.
38427 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
38428 list, store the pointer.
38429 * elf/Makefile ($(objpfx)noload-mem): New rule.
38430 (noload-ENV): Define.
38431 (tests): Add $(objpfx)noload-mem.
38432 * elf/noload.c: Include <memcheck.h>.
38433 (main): Call mtrace. Close all opened handles.
38434
f2092faf
AS
384352011-02-17 Andreas Schwab <schwab@redhat.com>
38436
38437 [BZ #12454]
38438 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
38439 dependencies are missing.
38440
6c8a2e88
ST
384412011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
38442
f2092faf 38443 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
38444 Hurd needs munmap.
38445 * sysdeps/mach/hurd/ifreq.h: New file.
38446
84a42118
PB
384472011-01-27 Petr Baudis <pasky@suse.cz>
38448 Ulrich Drepper <drepper@gmail.com>
38449
071f805e 38450 [BZ 12445]#
84a42118
PB
38451 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
38452 to extend_alloca().
38453 * stdio-common/bug23.c: New file.
38454 * stdio-common/Makefile (tests): Add bug23.
38455
e23fe25b
AS
384562010-09-28 Andreas Schwab <schwab@redhat.com>
38457 Ulrich Drepper <drepper@gmail.com>
38458
38459 [BZ #12489]
38460 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
38461 before performing relro protection. At old place add assertion
38462 to make sure nothing changed.
38463
d3f02e10
NS
384642011-02-17 Nathan Sidwell <nathan@codesourcery.com>
38465 Glauber de Oliveira Costa <glommer@gmail.com>
38466
38467 * elf/elf.h: Add new ARM TLS relocs.
38468
d55fd7a5
RA
384692011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
38470
38471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38472 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
38473 cast from r3.
38474 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
38475 'tests' variable.
38476 * sysdeps/wordsize-64/tst-writev.c: New file.
38477
2206397e
RA
384782011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
38479
38480 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
38481 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
38482 insns in _dl_start to prevent a TOC reference before relocs are
38483 resolved.
38484
e9433893
UD
384852011-02-15 Ulrich Drepper <drepper@gmail.com>
38486
38487 [BZ #12469]
38488 * Makeconfig: Remove RANLIB definition.
38489 * Makerules: Don't use RANLIB.
38490 * aclocal.m4: Remove ranlib test.
38491 * configure.in: No need to check for ranlib.
38492 * elf/rtld-Rules: Don't use RANLIB.
38493
f75286c6
ST
384942011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
38495
8e31c82d
ST
38496 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
38497 protection macro.
38498 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
38499 inclusion protection macro.
38500
f75286c6
ST
38501 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
38502 SIGRTMIN and SIGRTMAX and print information in that case only when
38503 SIGRTMIN is defined.
38504
c1d0e639
JJ
385052011-02-11 Jakub Jelinek <jakub@redhat.com>
38506
38507 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
38508 arginfo fn returning -1.
38509
38510 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
38511 and thousands string is zero terminated.
38512
edf9294e
AS
385132011-02-03 Andreas Schwab <schwab@redhat.com>
38514
38515 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
38516 sysdeps/unix/sysv/linux/bits/socket.h.
38517
2b7e92df
ST
385182011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
38519
edf9294e
AS
38520 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
38521 (__CPU_COUNT): Remove old macros.
38522 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
38523 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
38524 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
38525 (__sched_cpualloc, __sched_cpufree): Add declarations.
38526
a4c7ea7b
UD
385272011-02-05 Ulrich Drepper <drepper@gmail.com>
38528
38529 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
38530 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
38531 * nscd/aicache.c (addhstaiX): Return timeout of added value.
38532 (readdhstai): Return value of addhstaiX call.
38533 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
38534 (addgrbyX): Return value returned by cache_addgr.
38535 (readdgrbyname): Return value returned by addgrbyX.
38536 (readdgrbygid): Likewise.
38537 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
38538 (addpwbyX): Return value returned by cache_addpw.
38539 (readdpwbyname): Return value returned by addhstbyX.
38540 (readdpwbyuid): Likewise.
38541 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
38542 (addservbyX): Return value returned by cache_addserv.
38543 (readdservbyname): Return value returned by addservbyX:
38544 (readdservbyport): Likewise.
38545 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
38546 (addhstbyX): Return value returned by cache_addhst.
38547 (readdhstbyname): Return value returned by addhstbyX.
38548 (readdhstbyaddr): Likewise.
38549 (readdhstbynamev6): Likewise.
38550 (readdhstbyaddrv6): Likewise.
38551 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
38552 (readdinitgroups): Return value returned by addinitgroupsX.
38553 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
38554 (prune_cache): Keep track of timeout value of re-added entries.
38555 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
38556 * nscd/nscd.h: Adjust prototypes of readd* functions.
38557
a0bf67cc
RM
385582011-02-04 Roland McGrath <roland@redhat.com>
38559
38560 * nis/nis_server.c (nis_servstate): Use the right name for 0.
38561 (nis_stats): Likewise.
38562 * nis/nis_modify.c (nis_modify): Likewise.
38563 * nis/nis_remove.c (nis_remove): Likewise.
38564 * nis/nis_add.c (nis_add): Likewise.
38565
38566 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
38567
38568 * posix/fnmatch_loop.c: Add some consts.
38569
38570 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
38571
435b95eb
L
385722011-02-02 H.J. Lu <hongjiu.lu@intel.com>
38573
38574 [BZ #12460]
38575 * config.make.in (config-cflags-novzeroupper): Define.
38576 * configure.in: Substitute libc_cv_cc_novzeroupper.
38577 * elf/Makefile (AVX-CFLAGS): Define.
38578 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
38579 (CFLAGS-tst-auditmod4a.c): Likewise.
38580 (CFLAGS-tst-auditmod4b.c): Likewise.
38581 (CFLAGS-tst-auditmod6b.c): Likewise.
38582 (CFLAGS-tst-auditmod6c.c): Likewise.
38583 (CFLAGS-tst-auditmod7b.c): Likewise.
38584 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
38585
8517b15e
UD
385862011-02-02 Ulrich Drepper <drepper@gmail.com>
38587
38588 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
38589 function to the callback.
38590 Patch partly by Jiri Olsa <jolsa@redhat.com>.
38591
10a656fe
AS
385922011-02-02 Andreas Schwab <schwab@redhat.com>
38593
38594 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
38595 of errno.
38596
968dad0a
UD
385972011-01-19 Ulrich Drepper <drepper@gmail.com>
38598
9f94d2ea 38599 [BZ #11724]
968dad0a
UD
38600 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
38601 of constructors.
38602 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
38603 of destructors.
38604 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
38605
38606 [BZ #11724]
38607 * elf/Makefile: Add rules to build and run new test.
38608 * elf/tst-initorder.c: New file.
38609 * elf/tst-initorder.exp: New file.
38610 * elf/tst-initordera1.c: New file.
38611 * elf/tst-initordera2.c: New file.
38612 * elf/tst-initordera3.c: New file.
38613 * elf/tst-initordera4.c: New file.
38614 * elf/tst-initorderb1.c: New file.
38615 * elf/tst-initorderb2.c: New file.
38616 * elf/tst-order-a1.c: New file.
38617 * elf/tst-order-a2.c: New file.
38618 * elf/tst-order-a3.c: New file.
38619 * elf/tst-order-a4.c: New file.
38620 * elf/tst-order-b1.c: New file.
38621 * elf/tst-order-b2.c: New file.
38622 * elf/tst-order-main.c: New file.
38623 New test case by George Gensure <werkt0@gmail.com>.
38624
86e92359
UD
386252010-10-01 Andreas Schwab <schwab@redhat.com>
38626
38627 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38628 decoding ACE if AI_CANONIDN.
38629
5d5732b0
UD
386302011-01-18 Ulrich Drepper <drepper@gmail.com>
38631
38632 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
38633
a77e8cbc
UD
386342011-01-17 Ulrich Drepper <drepper@gmail.com>
38635
6392473f
UD
38636 * version.h (RELEASE): Bump for 2.13 release.
38637 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
38638
620a0529
UD
38639 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
38640
18ba70a5
UD
38641 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
38642 MADV_NOHUGEPAGE.
32465c3e
UD
38643 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
38644 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38645 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38646 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38647 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38648 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38649
c0dafcf1
UD
38650 * posix/getconf.c: Update copyright year.
38651 * catgets/gencat.c: Likewise.
38652 * csu/version.c: Likewise.
38653 * debug/catchsegv.sh: Likewise.
38654 * debug/xtrace.sh: Likewise.
38655 * elf/ldconfig.c: Likewise.
38656 * elf/ldd.bash.in: Likewise.
38657 * elf/sprof.c (print_version): Likewise.
38658 * iconv/iconv_prog.c: Likewise.
38659 * iconv/iconvconfig.c: Likewise.
38660 * locale/programs/locale.c: Likewise.
38661 * locale/programs/localedef.c: Likewise.
38662 * malloc/memusage.sh: Likewise.
38663 * malloc/mtrace.pl: Likewise.
38664 * nscd/nscd.c (print_version): Likewise.
38665 * nss/getent.c: Likewise.
38666
a77e8cbc
UD
38667 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
38668 PF_CAIF, and PF_ALG.
38669 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38670
77e8bddf
AS
386712011-01-16 Andreas Schwab <schwab@linux-m68k.org>
38672
1f20b93a
AS
38673 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
38674 (modules-names): Use them.
38675 (ifunc-test-modules, ifunc-pie-tests): Define.
38676 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
38677 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
38678 (test-extras): Likewise.
38679 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
38680 $(compile-command.c).
38681 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
38682 (all-built-dso): Define.
38683 (check-textrel.out, check-execstack.out): Depend on it.
38684
77e8bddf
AS
38685 * configure.in: Don't override --enable-multi-arch.
38686
bc425b33
UD
386872011-01-15 Ulrich Drepper <drepper@gmail.com>
38688
38689 [BZ #6812]
38690 * nscd/hstcache.c (tryagain): Define.
38691 (cache_addhst): Return tryagain not notfound for temporary errors.
38692 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
38693 failed.
38694
794c3ad3
UD
386952011-01-14 Ulrich Drepper <drepper@gmail.com>
38696
70181fdd
UD
38697 [BZ #10563]
38698 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
38699 to make the syscall.
38700 * sysdeps/unix/sysv/linux/setgroups.c: New file.
38701
794c3ad3
UD
38702 [BZ #12378]
38703 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
38704 and fall back to matching as normal character if the string ends before
38705 the matching ']' is found. This is what POSIX requires.
38706 * posix/testfnm.c: Adjust test result.
38707 * posix/globtest.sh: Adjust test result. Add new test.
38708 * posix/tst-fnmatch.input: Likewise.
38709 * posix/tst-fnmatch2.c: Add new test.
38710
68dc9497
AS
387112010-12-28 Andreas Schwab <schwab@linux-m68k.org>
38712
38713 * elf/Makefile (check-execstack): Revert last change. Depend on
38714 check-execstack.h.
38715 (check-execstack.h): New target.
38716 (generated): Add check-execstack.h.
38717 * elf/check-execstack.c: Include "check-execstack.h".
38718 (main): Revert last change.
38719 (handle_file): Return zero if GNU_STACK is absent and
38720 DEFAULT_STACK_PERMS doesn't include PF_X.
38721
451f001b
UD
387222011-01-13 Ulrich Drepper <drepper@gmail.com>
38723
cfa28e56
UD
38724 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
38725 in child fails because the descriptor is already closed.
8cf8ce17
UD
38726 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
38727 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
38728 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 38729
1086d70d
UD
38730 [BZ #12397]
38731 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
38732 syscall.
38733
451f001b
UD
38734 [BZ #10484]
38735 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
38736 temporary buffer used to handle multi lookups locally.
a85b5cb4 38737 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 38738
08769175
UD
387392011-01-12 Ulrich Drepper <drepper@gmail.com>
38740
38741 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
38742 loader is ld.so.
38743
5e49c52e
UD
387442011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
38745
38746 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
38747 alignment for SSE2.
38748
60522a5f
UD
387492011-01-12 Ulrich Drepper <drepper@gmail.com>
38750
38751 [BZ #12394]
38752 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
38753 characters. When rounding increased number of integer digits recompute
38754 number of groups.
38755 * stdio-common/tst-grouping.c: New file.
38756 * stdio-common/Makefile: Add rules to build and run tst-grouping.
38757
f257bbd7
UD
387582011-01-09 Ulrich Drepper <drepper@gmail.com>
38759
38760 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
38761 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
38762
38763 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
38764 void.
38765 * bits/select.h: Likewise.
38766
fa9c15cb
UD
387672011-01-08 Ulrich Drepper <drepper@gmail.com>
38768
38769 * po/ja.po: Update from translation team.
38770
16c2895f
DM
387712011-01-04 David S. Miller <davem@sunset.davemloft.net>
38772
38773 [BZ #11155]
38774 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
38775 implementation just like for lxstat, fxstatat, et al.
38776
2543fef2
JM
387772010-12-27 Jim Meyering <meyering@redhat.com>
38778
38779 [BZ #12348]
38780 * posix/regexec.c (build_trtable): Return failure indication upon
38781 calloc failure. Otherwise, re_search_internal could infloop on OOM.
38782
98727dbe
UD
387832010-12-25 Ulrich Drepper <drepper@gmail.com>
38784
5bd6dc5c
UD
38785 [BZ #12201]
38786 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
38787 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
38788 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
38789 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
38790
97983464
UD
38791 [BZ #12207]
38792 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
38793
98727dbe
UD
38794 [BZ #12204]
38795 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
38796 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
38797
4a531bb0
L
387982010-12-15 H.J. Lu <hongjiu.lu@intel.com>
38799
38800 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
38801 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
38802 script has SORT_BY_INIT_PRIORITY.
38803 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
38804 NO_CTORS_DTORS_SECTIONS is defined.
38805 * elf/soinit.c: Likewise.
38806 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
38807 NO_CTORS_DTORS_SECTIONS is defined.
38808 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
38809 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
38810 * sysdeps/sh/init-first.c: Likewise.
38811 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
38812
07eb4b71
UD
388132010-12-24 Ulrich Drepper <drepper@gmail.com>
38814
38815 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
38816 always use the slow path.
38817
30950a5f
RA
388182010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
38819
38820 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
38821 similar rule which adds the sysdep directories to the header search in
38822 order to pick up the correct platform stackinfo.h.
38823 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
38824 perform test if it is, otherwise return successfully without testing.
38825 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
38826 DEFAULT_STACK_PERMS define in stackinfo.h.
38827 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
38828 defined in stackinfo.h.
38829 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
38830 DEFAULT_STACK_PERMS defined in stackinfo.h.
38831 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
38832 * sysdeps/ia64/stackinfo.h: Likewise.
38833 * sysdeps/s390/stackinfo.h: Likewise.
38834 * sysdeps/sh/stackinfo.h: Likewise.
38835 * sysdeps/sparc/stackinfo.h: Likewise.
38836 * sysdeps/x86_64/stackinfo.h: Likewise.
38837 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
38838 PF_X for powerpc64. Retain PF_X for powerpc32.
38839
db753e2c
UD
388402010-12-19 Ulrich Drepper <drepper@gmail.com>
38841
14b697f7
UD
38842 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
38843 accurately.
db753e2c
UD
38844 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
38845 GETDENTS_64BIT_ALIGNED.
38846
28300719
UD
388472010-12-14 Ulrich Drepper <dreper@gmail.com>
38848
14b697f7 38849 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 38850
4f197237
AS
388512010-12-10 Andreas Schwab <schwab@redhat.com>
38852
dbb0472f
AS
38853 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
38854 _GNU_SOURCE.
38855
4f197237
AS
38856 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
38857 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
38858 Remove __restrict.
38859 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
38860 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
38861
fb88ac72
UD
388622010-12-09 Ulrich Drepper <drepper@gmail.com>
38863
38864 [BZ #11655]
38865 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
38866 are initialized.
38867
42acbb92
JJ
388682010-12-09 Jakub Jelinek <jakub@redhat.com>
38869
38870 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
38871
c038d98d
UD
388722010-12-03 Ulrich Drepper <drepper@gmail.com>
38873
38874 * po/it.po: Update from translation team.
38875
3a4a2499
L
388762010-12-01 H.J. Lu <hongjiu.lu@intel.com>
38877
38878 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
38879 unused codes.
38880
1e24cf6e
UD
388812010-11-30 Ulrich Drepper <drepper@gmail.com>
38882
38883 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
38884
a7690819
AS
388852010-11-24 Andreas Schwab <schwab@redhat.com>
38886
38887 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
38888 specially.
38889 (gaih_getanswer_slice): Likewise.
38890
3bf8d1b1
JJ
388912010-10-20 Jakub Jelinek <jakub@redhat.com>
38892
38893 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
38894
6db52fbb
PB
388952010-05-31 Petr Baudis <pasky@suse.cz>
38896
38897 [BZ #11149]
38898 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
38899 silently even in the chroot mode.
38900
eaca7569
UD
389012010-11-22 Ulrich Drepper <drepper@gmail.com>
38902
38903 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
38904 last patch a bit. Pretty printing
38905
3056dcdb
UD
389062010-05-31 Petr Baudis <pasky@suse.cz>
38907
38908 [BZ #10085]
38909 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
38910 initialization of skip_initgroups_dyn.
38911
cf7c9078
UD
389122010-11-19 Ulrich Drepper <drepper@gmail.com>
38913
38914 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
38915 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38916
a1fb5e3e
UD
389172010-11-16 Ulrich Drepper <drepper@gmail.com>
38918
38919 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
38920
3540d66b
AS
389212010-11-11 Andreas Schwab <schwab@redhat.com>
38922
38923 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
38924 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
38925 (tst-fnmatch-ENV): Set MALLOC_TRACE.
38926 ($(objpfx)tst-fnmatch-mem): New rule.
38927 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
38928 * posix/tst-fnmatch.c (main): Call mtrace.
38929
13b69574
L
389302010-11-11 H.J. Lu <hongjiu.lu@intel.com>
38931
38932 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38933 Support Intel processor model 6 and model 0x2c.
38934
da93d214
LM
389352010-11-10 Luis Machado <luisgpm@br.ibm.com>
38936
38937 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
38938 signed comparison.
38939
8ca52c6e
L
389402010-11-09 H.J. Lu <hongjiu.lu@intel.com>
38941
38942 [BZ #12205]
38943 * string/test-strncasecmp.c (check_result): New function.
38944 (do_one_test): Use it.
38945 (check1): New function.
38946 (test_main): Use it.
38947 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
38948 Support strcasecmp and strncasecmp.
38949
69da074d
UD
389502010-11-08 Ulrich Drepper <drepper@gmail.com>
38951
38952 [BZ #12194]
38953 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
38954 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38955
ff02d528
L
389562010-11-07 H.J. Lu <hongjiu.lu@intel.com>
38957
38958 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
38959 IFUNC support.
38960 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38961 memset-x86-64.
38962 * sysdeps/x86_64/multiarch/bzero.S: New file.
38963 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
38964 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
38965 * sysdeps/x86_64/multiarch/memset.S: New file.
38966 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
38967 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38968 Set bit_Prefer_SSE_for_memop for Intel processors.
38969 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
38970 Define.
38971 (index_Prefer_SSE_for_memop): Define.
38972 (HAS_PREFER_SSE_FOR_MEMOP): Define.
38973
344d0b54
LM
389742010-11-04 Luis Machado <luisgpm@br.ibm.com>
38975
38976 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
38977 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
38978
c0dde15b
UD
389792010-11-03 H.J. Lu <hongjiu.lu@intel.com>
38980
38981 [BZ #12191]
38982 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38983 (__x86_64_raw_data_cache_size_half): Likewise.
38984 (__x86_64_raw_shared_cache_size): Likewise.
38985 (__x86_64_raw_shared_cache_size_half): Likewise.
38986
38987 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38988 (__x86_64_raw_data_cache_size_half): Likewise.
38989 (__x86_64_raw_shared_cache_size): Likewise.
38990 (__x86_64_raw_shared_cache_size_half): Likewise.
38991 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
38992 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
38993 and __x86_64_raw_shared_cache_size_half. Round
38994 __x86_64_data_cache_size_half, __x86_64_data_cache_size
38995 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
38996 to multiple of 256 bytes.
38997
0e516e0e
MS
389982010-11-03 Ulrich Drepper <drepper@gmail.com>
38999
39000 [BZ #12167]
39001 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
39002 of inacessible symlinks. Verify result of symlink before returning it.
39003 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
39004 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
39005
0e012e87
ER
390062010-10-28 Erich Ritz <erichritz@gmail.com>
39007
39008 * math/math.h (isinf): Fix typo in comment.
39009
de0ff7bc
UD
390102010-11-01 Ulrich Drepper <drepper@gmail.com>
39011
39012 * po/da.po: Update from translation team.
39013
fa41c84d
UD
390142010-10-26 Ulrich Drepper <drepper@gmail.com>
39015
39016 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
39017 is added to the list.
39018
f0967738
AK
390192010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39020 Ulrich Drepper <drepper@gmail.com>
39021
39022 * elf/dl-object.c (_dl_new_object): Don't append the new object to
39023 the global list here. Move code to...
39024 (_dl_add_to_namespace_list): ...here. New function.
39025 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
39026 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
39027 * elf/dl-load.c (lose): Don't remove the element from the list.
39028 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
39029 (_dl_map_object): Likewise.
39030
390312010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
39032
39033 [BZ #12159]
39034 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
39035 into all bytes of SSE register.
39036 Patch by Richard Li <richardpku@gmail.com>.
39037
f0967738 390382010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
39039
39040 [BZ #12140]
39041 * malloc/malloc.c (_int_free): Fill correct number of bytes when
39042 perturbing.
39043
d0b9e94f
MB
390442010-10-20 Michael B. Brutman <brutman@us.ibm.com>
39045
39046 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
39047 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
39048 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
39049 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
39051 submachine.
39052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
39053
8e9f92e9
AS
390542010-10-22 Andreas Schwab <schwab@redhat.com>
39055
39056 * include/dlfcn.h (__RTLD_SECURE): Define.
39057 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
39058 mode & __RTLD_SECURE instead.
39059 (open_path): Rename preloaded parameter to secure.
39060 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
39061 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
39062 * elf/dl-deps.c (openaux): Likewise.
39063 * elf/rtld.c (struct map_args): Remove is_preloaded.
39064 (map_doit): Don't use it.
39065 (dl_main): Likewise.
39066 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
39067 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
39068
bc96fbda
AS
390692010-09-09 Andreas Schwab <schwab@redhat.com>
39070
39071 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
39072 (sysd-rules-targets): Remove duplicates.
39073 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
39074 rtld-%.$o dependency.
39075
22cd1c9b
AS
390762010-10-18 Andreas Schwab <schwab@redhat.com>
39077
39078 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
39079 _dl_map_object do it.
39080
18edac48
UD
390812010-10-19 Ulrich Drepper <drepper@gmail.com>
39082
39083 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
39084 fast fma builtins, define the macros in the C99 standard.
39085 (FP_FAST_FMAF): Likewise.
39086 (FP_FAST_FMAL): Likewise.
39087 * sysdeps/x86_64/bits/mathdef.h: Likewise.
39088
39089 * bits/mathdef.h: Update copyright year.
39090 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39091
d2050124
MM
390922010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
39093
39094 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
39095 builtins, define the macros in the C99 standard.
39096 (FP_FAST_FMAF): Likewise.
39097 (FP_FAST_FMAL): Likewise.
39098 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
39099 multiply/add.
39100 (FP_FAST_FMAF): Likewise.
39101
475facd1
JJ
391022010-10-15 Jakub Jelinek <jakub@redhat.com>
39103
39104 [BZ #3268]
39105 * math/libm-test.inc (fma_test): Some new testcases.
39106 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
39107 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
39108 y and infinite z. Do multiplication by C already in long double.
39109 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
39110 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
39111 y and infinite z. Do bitwise or of inexact bit into u.d.
39112 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
39113 * sysdeps/i386/fpu/s_fmaf.S: Removed.
39114 * sysdeps/i386/fpu/s_fma.S: Removed.
39115 * sysdeps/i386/fpu/s_fmal.S: Removed.
39116
7c08a05c
JJ
391172010-10-16 Jakub Jelinek <jakub@redhat.com>
39118
39119 [BZ #3268]
39120 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
39121 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
39122 computation is not scheduled after fetestexcept. Fix value
39123 of minimum denormal long double.
39124
f3f7372d
JJ
391252010-10-14 Jakub Jelinek <jakub@redhat.com>
39126
39127 [BZ #3268]
39128 * math/libm-test.inc (fma_test): Add some more tests.
39129 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
39130 correctly.
39131
14d43591
AS
391322010-10-15 Andreas Schwab <schwab@redhat.com>
39133
39134 * scripts/data/localplt-s390-linux-gnu.data: New file.
39135 * scripts/data/localplt-s390x-linux-gnu.data: New file.
39136
5e908464
JJ
391372010-10-13 Jakub Jelinek <jakub@redhat.com>
39138
39139 [BZ #3268]
39140 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
39141 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
39142 instead of dbl-64.
39143 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
39144 inlines.
39145 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
39146 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
39147 if one of x and y is very large and the other is subnormal.
39148 * sysdeps/s390/fpu/s_fmaf.c: New file.
39149 * sysdeps/s390/fpu/s_fma.c: New file.
39150 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
39151 * sysdeps/powerpc/fpu/s_fma.S: New file.
39152 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
39153 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
39154 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
39155
391562010-10-12 Jakub Jelinek <jakub@redhat.com>
39157
39158 [BZ #3268]
39159 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
39160 fma tests.
39161 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
39162 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
39163 * sysdeps/i386/i686/multiarch/s_fma.c: Include
39164 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
39165 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
39166 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
39167 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
39168
b833d51f
UD
391692010-10-12 Ulrich Drepper <drepper@redhat.com>
39170
39171 [BZ #12078]
39172 * posix/regcomp.c (parse_branch): One more memory leak plugged.
39173 * posix/bug-regex31.input: Add test case.
39174
1751705d
UD
391752010-10-11 Ulrich Drepper <drepper@gmail.com>
39176
e9b9cbf5
UD
39177 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
39178 * posix/bug-regex31.input: New file.
39179
39180 [BZ #12078]
39181 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
39182 (parse_sub_exp): Fix last change, use postorder.
39183
ef06edbe
UD
39184 * posix/bug-regex31.c: New file.
39185 * posix/Makefile: Add rules to build and run bug-regex31.
39186
a129c80d
UD
39187 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
39188
39189 [BZ #12078]
39190 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
39191
b76b818e
UD
39192 [BZ #12108]
39193 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
39194 to have entries in sys_siglist.
39195
1751705d
UD
39196 [BZ #12093]
39197 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
39198 be NULL.
39199
9ff8d36f
JJ
392002010-10-07 Jakub Jelinek <jakub@redhat.com>
39201
39202 [BZ #3268]
39203 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
39204 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
39205 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
39206 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
39207 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39208 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
39209 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
39210 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
39211 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
39212 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
39213 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
39214 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
39215 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
39216 * math/ftestexcept.c (fetestexcept): Likewise.
39217 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
39218 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
39219 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
39220 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
39221 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
39222 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
39223 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39224
af325969
UD
392252010-10-11 Ulrich Drepper <drepper@gmail.com>
39226
c579b202 39227 [BZ #12107]
af325969
UD
39228 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
39229 newline.
39230
67a67b95
UD
392312010-10-06 Ulrich Drepper <drepper@gmail.com>
39232
39233 * string/bug-strstr1.c: New file.
39234 * string/Makefile: Add rules to build and run bug-strstr1.
39235
5fb308bc
EB
392362010-10-05 Eric Blake <eblake@redhat.com>
39237
39238 [BZ #12092]
39239 * string/str-two-way.h (two_way_long_needle): Always clear memory
39240 when skipping input due to the shift table.
39241
45db99c7
UD
392422010-10-03 Ulrich Drepper <drepper@gmail.com>
39243
3b111893
UD
39244 [BZ #12005]
39245 * malloc/mcheck.c: Handle large requests.
39246
45db99c7
UD
39247 [BZ #12077]
39248 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
39249 for strncmp and strncasecmp.
39250 * string/stratcliff.c: Add tests for strcmp and strncmp.
39251 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
39252
cf7a1eb8
NI
392532010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39254
39255 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
39256 __set_fpscr.
39257
6484ba5e
AJ
392582010-09-30 Andreas Jaeger <aj@suse.de>
39259
39260 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
39261 (CGROUP_SUPER_MAGIC): Define.
39262 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39263 Handle btrfs and cgroup file systems.
39264 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
39265 Likewise.
39266
91c42559
LM
392672010-09-27 Luis Machado <luisgpm@br.ibm.com>
39268
39269 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
39270 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
39271
87a97932
AK
392722010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39273
39274 [BZ #12067]
39275 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
39276 trying to locate the ELF header.
39277
c21cc9bc
AS
392782010-09-27 Andreas Schwab <schwab@redhat.com>
39279
39280 [BZ #11611]
39281 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
39282 Mask out sign-bit copies when constructing f_fsid.
39283
315970f6
PB
392842010-09-24 Petr Baudis <pasky@suse.cz>
39285
39286 * debug/stack_chk_fail_local.c: Add missing licence exception.
39287 * debug/warning-nop.c: Likewise.
39288
1ac7a2c7
JM
392892010-09-15 Joseph Myers <joseph@codesourcery.com>
39290
39291 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
39292 implementing getdents64 using getdents syscall, set d_type if
39293 __ASSUME_GETDENTS32_D_TYPE.
39294
56801c50
AS
392952010-09-16 Andreas Schwab <schwab@redhat.com>
39296
39297 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
39298 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
39299
dda51327
UD
393002010-09-21 Ulrich Drepper <drepper@redhat.com>
39301
39302 [BZ #12037]
39303 * posix/unistd.h: Undo change of feature selection for ftruncate from
39304 2010-01-11.
39305
8ffcee4a
UD
393062010-09-20 Ulrich Drepper <drepper@redhat.com>
39307
a545ecd9 39308 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
39309 detection.
39310
e24f0a8b
AS
393112010-09-20 Andreas Schwab <schwab@redhat.com>
39312
39313 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
39314 fanotify_mark.
39315 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39316
7291c56f
AS
393172010-09-14 Andreas Schwab <schwab@redhat.com>
39318
39319 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
39320 variables after CHECK_SP call.
39321 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
39322
bc5fb037
AS
393232010-09-13 Andreas Schwab <schwab@redhat.com>
39324 Ulrich Drepper <drepper@redhat.com>
39325
39326 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
39327 re-relocationg ld.so.
39328 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
39329 _dl_init_paths call.
39330 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
39331 here anymore.
39332
e66e7419
UD
393332010-09-14 Ulrich Drepper <drepper@redhat.com>
39334
39335 * resolv/res_init.c (__res_vinit): Count the default server we added.
39336
c044aa75
CLT
393372010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
39338 Ulrich Drepper <drepper@redhat.com>
39339
39340 [BZ #11968]
39341 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39342 (____longjmp_chk): Use %ebx for saving value across system call.
39343 Add unwind info.
39344
32cf4069
AS
393452010-09-06 Andreas Schwab <schwab@redhat.com>
39346
39347 * manual/Makefile: Don't mix pattern rules with normal rules.
39348
817328ee
AS
393492010-09-05 Andreas Schwab <schwab@linux-m68k.org>
39350
39351 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
39352 operation.
39353 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
39354 * libio/iofopncook.c (_IO_cookie_init): Likewise.
39355 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
39356 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
39357 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39358 Likewise.
39359
29fddf61
UD
393602010-09-04 Ulrich Drepper <drepper@redhat.com>
39361
39362 [BZ #11979]
39363 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
39364 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
39365
0959ffc9
UD
393662010-09-02 Ulrich Drepper <drepper@redhat.com>
39367
39368 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
39369 * sysdeps/x86_64/addmul_1.S: Likewise.
39370 * sysdeps/x86_64/lshift.S: Likewise.
39371 * sysdeps/x86_64/mul_1.S: Likewise.
39372 * sysdeps/x86_64/rshift.S: Likewise.
39373 * sysdeps/x86_64/sub_n.S: Likewise.
39374 * sysdeps/x86_64/submul_1.S: Likewise.
39375
ece29840
ST
393762010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
39377
0959ffc9
UD
39378 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
39379 Define __sched_param instead of SCHED_* and sched_param when
ece29840 39380 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 39381 * bits/sched.h [__need_schedparam]
ece29840 39382 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
39383 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
39384 (__defined_schedparam): Define to 1.
ece29840
ST
39385 (__sched_param): New structure, identical to sched_param.
39386 (__need_schedparam): Undefine.
39387
e53a31fe
MF
393882010-08-31 Mike Frysinger <vapier@gentoo.org>
39389
fdc0c10d
MF
39390 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
39391 (epoll_create1): Declare.
39392
e53a31fe
MF
39393 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
39394
a726d796
AS
393952010-08-31 Andreas Schwab <schwab@redhat.com>
39396
39397 [BZ #7066]
39398 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
39399 shifting retval into place.
39400
2f3e3dc7
UD
394012010-09-01 Ulrich Drepper <drepper@redhat.com>
39402
f2933da9
UD
39403 * nis/rpcsvc/nis.h: Update copyright notice.
39404 * nis/rpcsvc/nis.x: Likewise.
39405 * nis/rpcsvc/nis_callback.h: Likewise.
39406 * nis/rpcsvc/nis_callback.x: Likewise.
39407 * nis/rpcsvc/nis_object.x: Likewise.
39408 * nis/rpcsvc/nis_tags.h: Likewise.
39409 * nis/rpcsvc/yp.h: Likewise.
39410 * nis/rpcsvc/yp.x: Likewise.
39411 * nis/rpcsvc/ypupd.h: Likewise.
39412 * nis/yp_xdr.c: Likewise.
39413 * nis/ypupdate_xdr.c: Likewise.
39414
2f3e3dc7
UD
39415 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
39416 mainly the body of pmap_getport. Add parameters to specify timeouts.
39417 (pmap_getport): Use __libc_rpc_getport.
39418 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
39419 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
39420 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
39421
f3dcc2f9
AS
394222010-08-31 Andreas Schwab <schwab@linux-m68k.org>
39423
39424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
39425 fanotify_mark.
39426
6d34eb5b
RM
394272010-08-27 Roland McGrath <roland@redhat.com>
39428
39429 * sysdeps/i386/i686/multiarch/Makefile
39430 (CFLAGS-varshift.c): New variable.
39431
9ea3de11
UD
394322010-08-27 Ulrich Drepper <drepper@redhat.com>
39433
c96d23fc
UD
39434 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
39435 * sysdeps/i386/i686/multiarch/varshift.c: New file.
39436
9ea3de11
UD
39437 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
39438
39439 * sysdeps/x86_64/strlen.S: Minimal code improvement.
39440
623aac7f
L
394412010-08-26 H.J. Lu <hongjiu.lu@intel.com>
39442
39443 * sysdeps/x86_64/strlen.S: Unroll the loop.
39444 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39445 strlen-sse2 strlen-sse2-bsf.
39446 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
39447 __strlen_no_bsf if bit_Slow_BSF is set.
39448 (__strlen_sse42): Removed.
39449 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
39450 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
39451
8b2b7715
RM
394522010-08-25 Roland McGrath <roland@redhat.com>
39453
39454 * sysdeps/x86_64/multiarch/varshift.S: File removed.
39455 * sysdeps/x86_64/multiarch/varshift.c: New file.
39456 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
39457 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
39458 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
39459 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
39460
e73015f2
L
394612010-08-25 H.J. Lu <hongjiu.lu@intel.com>
39462
39463 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39464 strlen-sse2 strlen-sse2-bsf.
39465 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
39466 __strlen_sse2_bsf if bit_Slow_BSF is unset.
39467 (__strlen_sse2): Removed.
39468 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
39469 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
39470 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
39471 bit_Slow_BSF for Atom.
39472 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
39473 (index_Slow_BSF): Define.
39474 (HAS_SLOW_BSF): Define.
39475
df24a73e
UD
394762010-08-25 Ulrich Drepper <drepper@redhat.com>
39477
39478 [BZ #10851]
39479 * resolv/res_init.c (__res_vinit): When no server address at all
39480 is given default to loopback.
39481
f2ac4868
RM
394822010-08-24 Roland McGrath <roland@redhat.com>
39483
09055553
RM
39484 * configure.in: Remove config-name.h generation.
39485 * configure: Regenerated.
39486 * config-name.in: File removed.
39487 * scripts/config-uname.sh: New file.
39488 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
39489 ($(objdir)config-name.h): New target.
39490
f2ac4868
RM
39491 * sunrpc/rpc_parse.h: Avoid nested comment.
39492
73f27d5e
RH
394932010-08-24 Richard Henderson <rth@redhat.com>
39494 Ulrich Drepper <drepper@redhat.com>
39495 H.J. Lu <hongjiu.lu@intel.com>
39496
39497 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
39498 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
39499 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
39500 Replace _mm_srli_si128 with __m128i_shift_right. Replace
39501 _mm_alignr_epi8 with _mm_loadu_si128.
39502 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
39503 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
39504 (__m128i_shift_right): Removed.
39505 * sysdeps/i386/i686/multiarch/varshift.h: New file.
39506 * sysdeps/i386/i686/multiarch/varshift.S: New file.
39507 * sysdeps/x86_64/multiarch/varshift.h: New file.
39508 * sysdeps/x86_64/multiarch/varshift.S: New file.
39509
84b9230c
MF
395102010-08-21 Mike Frysinger <vapier@gentoo.org>
39511
39512 * configure.in: Move assembler checks to before sysdep dir checking.
39513
9bbd0ddc
PB
395142010-08-20 Petr Baudis <pasky@suse.cz>
39515
39516 * LICENSES: Sync the sunrpc license.
39517
9da4bb31
UD
395182010-08-19 Ulrich Drepper <drepper@redhat.com>
39519
a7ab6ec8
UD
39520 * sunrpc/auth_des.c: Update copyright notice once again.
39521 * sunrpc/auth_none.c: Likewise.
39522 * sunrpc/auth_unix.c: Likewise.
39523 * sunrpc/authdes_prot.c: Likewise.
39524 * sunrpc/authuxprot.c: Likewise.
39525 * sunrpc/bindrsvprt.c: Likewise.
39526 * sunrpc/clnt_gen.c: Likewise.
39527 * sunrpc/clnt_perr.c: Likewise.
39528 * sunrpc/clnt_raw.c: Likewise.
39529 * sunrpc/clnt_simp.c: Likewise.
39530 * sunrpc/clnt_tcp.c: Likewise.
39531 * sunrpc/clnt_udp.c: Likewise.
39532 * sunrpc/clnt_unix.c: Likewise.
39533 * sunrpc/des_crypt.c: Likewise.
39534 * sunrpc/des_soft.c: Likewise.
39535 * sunrpc/get_myaddr.c: Likewise.
39536 * sunrpc/getrpcport.c: Likewise.
39537 * sunrpc/key_call.c: Likewise.
39538 * sunrpc/key_prot.c: Likewise.
39539 * sunrpc/openchild.c: Likewise.
39540 * sunrpc/pm_getmaps.c: Likewise.
39541 * sunrpc/pm_getport.c: Likewise.
39542 * sunrpc/pmap_clnt.c: Likewise.
39543 * sunrpc/pmap_prot.c: Likewise.
39544 * sunrpc/pmap_prot2.c: Likewise.
39545 * sunrpc/pmap_rmt.c: Likewise.
39546 * sunrpc/rpc/auth.h: Likewise.
39547 * sunrpc/rpc/auth_unix.h: Likewise.
39548 * sunrpc/rpc/clnt.h: Likewise.
39549 * sunrpc/rpc/des_crypt.h: Likewise.
39550 * sunrpc/rpc/key_prot.h: Likewise.
39551 * sunrpc/rpc/netdb.h: Likewise.
39552 * sunrpc/rpc/pmap_clnt.h: Likewise.
39553 * sunrpc/rpc/pmap_prot.h: Likewise.
39554 * sunrpc/rpc/pmap_rmt.h: Likewise.
39555 * sunrpc/rpc/rpc.h: Likewise.
39556 * sunrpc/rpc/rpc_des.h: Likewise.
39557 * sunrpc/rpc/rpc_msg.h: Likewise.
39558 * sunrpc/rpc/svc.h: Likewise.
39559 * sunrpc/rpc/svc_auth.h: Likewise.
39560 * sunrpc/rpc/types.h: Likewise.
39561 * sunrpc/rpc/xdr.h: Likewise.
39562 * sunrpc/rpc_clntout.c: Likewise.
39563 * sunrpc/rpc_cmsg.c: Likewise.
39564 * sunrpc/rpc_common.c: Likewise.
39565 * sunrpc/rpc_cout.c: Likewise.
39566 * sunrpc/rpc_dtable.c: Likewise.
39567 * sunrpc/rpc_hout.c: Likewise.
39568 * sunrpc/rpc_main.c: Likewise.
39569 * sunrpc/rpc_parse.c: Likewise.
39570 * sunrpc/rpc_parse.h: Likewise.
39571 * sunrpc/rpc_prot.c: Likewise.
39572 * sunrpc/rpc_sample.c: Likewise.
39573 * sunrpc/rpc_scan.c: Likewise.
39574 * sunrpc/rpc_scan.h: Likewise.
39575 * sunrpc/rpc_svcout.c: Likewise.
39576 * sunrpc/rpc_tblout.c: Likewise.
39577 * sunrpc/rpc_util.c: Likewise.
39578 * sunrpc/rpc_util.h: Likewise.
39579 * sunrpc/rpcinfo.c: Likewise.
39580 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
39581 * sunrpc/rpcsvc/key_prot.x: Likewise.
39582 * sunrpc/rpcsvc/klm_prot.x: Likewise.
39583 * sunrpc/rpcsvc/mount.x: Likewise.
39584 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
39585 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
39586 * sunrpc/rpcsvc/rex.x: Likewise.
39587 * sunrpc/rpcsvc/rstat.x: Likewise.
39588 * sunrpc/rpcsvc/rusers.x: Likewise.
39589 * sunrpc/rpcsvc/sm_inter.x: Likewise.
39590 * sunrpc/rpcsvc/spray.x: Likewise.
39591 * sunrpc/rpcsvc/yppasswd.x: Likewise.
39592 * sunrpc/rtime.c: Likewise.
39593 * sunrpc/svc.c: Likewise.
39594 * sunrpc/svc_auth.c: Likewise.
39595 * sunrpc/svc_authux.c: Likewise.
39596 * sunrpc/svc_raw.c: Likewise.
39597 * sunrpc/svc_run.c: Likewise.
39598 * sunrpc/svc_simple.c: Likewise.
39599 * sunrpc/svc_tcp.c: Likewise.
39600 * sunrpc/svc_udp.c: Likewise.
39601 * sunrpc/svc_unix.c: Likewise.
39602 * sunrpc/svcauth_des.c: Likewise.
39603 * sunrpc/xcrypt.c: Likewise.
39604 * sunrpc/xdr.c: Likewise.
39605 * sunrpc/xdr_array.c: Likewise.
39606 * sunrpc/xdr_float.c: Likewise.
39607 * sunrpc/xdr_mem.c: Likewise.
39608 * sunrpc/xdr_rec.c: Likewise.
39609 * sunrpc/xdr_ref.c: Likewise.
39610 * sunrpc/xdr_sizeof.c: Likewise.
39611 * sunrpc/xdr_stdio.c: Likewise.
39612
9da4bb31
UD
39613 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
39614 handling.
39615
bdaa77bc
AS
396162010-08-19 Andreas Schwab <schwab@redhat.com>
39617
39618 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
39619
fe2f79db
LM
396202010-08-19 Luis Machado <luisgpm@br.ibm.com>
39621
39622 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
39623 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
39624 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
39625 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
39626 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
39627 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
39628 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
39629 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
39630 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
39631 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
39632 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
39633 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
39634 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
39635 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
39636
b9b42ee0
AB
396372010-07-26 Anton Blanchard <anton@samba.org>
39638
39639 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
39640 * malloc/arena.c (heap_trim): Likewise.
39641
1c06ba31
UD
396422010-08-16 Ulrich Drepper <drepper@redhat.com>
39643
39644 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
39645 here. Not...
39646 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
39647 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
39648
f8392f40
L
396492010-08-12 H.J. Lu <hongjiu.lu@intel.com>
39650
39651 * sysdeps/i386/elf/Makefile: New file.
39652
3162f12e
AS
396532010-08-14 Andreas Schwab <schwab@linux-m68k.org>
39654
39655 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
39656 from fanotify_init.
39657 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
39658 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39659
28c90b2c
UD
396602010-08-15 Ulrich Drepper <drepper@redhat.com>
39661
39662 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
39663 of strncasecmp_l.
1feccb6c 39664 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 39665
ca6bb004
UD
396662010-08-14 Ulrich Drepper <drepper@redhat.com>
39667
e9f82e0d
UD
39668 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39669 strncase_l-nonascii.
39670 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39671 Add strncase_l-ssse3.
39672 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
39673 * sysdeps/x86_64/strcmp.S: Likewise.
39674 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
39675 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
39676 * sysdeps/x86_64/strncase.S: New file.
39677 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
39678 * sysdeps/x86_64/strncase_l.S: New file.
39679 * string/Makefile (strop-tests): Add strncasecmp.
39680 * string/test-strncasecmp.c: New file.
39681
39682 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
39683 warning.
39684
ca6bb004
UD
39685 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
39686 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
39687
052fa7b3
AS
396882010-08-14 Andreas Schwab <schwab@linux-m68k.org>
39689
39690 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
39691
962dba78
UD
396922010-08-12 Ulrich Drepper <drepper@redhat.com>
39693
39694 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
39695 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
39696 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
39697
bebff237
AM
396982010-05-01 Alan Modra <amodra@gmail.com>
39699
39700 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
39701 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
39702 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
39703 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
39704 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
39705 tidying. Don't tail-call __sigjmp_save for static lib.
39706 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
39707 save location.
39708 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
39709 (CALL_MCOUNT): Add eh info, and nop after bl.
39710 (TAIL_CALL_SYSCALL_ERROR): New macro.
39711 (PSEUDO_RET): Use it.
39712 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
39713 Correct save location of integer regs and cr.
39714 (_dl_profile_resolve): Correct cr save location. Delete nops
39715 after bl when SHARED. Reduce cfi size a little by better
39716 placement of cfi directives.
39717 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
39718 make a stack frame. Instead use parm save area as a temp.
39719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
39720 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
39721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
39722 Don't make a stack frame for parent, use parm save area.
39723 Increase child stack frame to 112 bytes. Don't save unused reg,
39724 and adjust reg usage. Set up cfi on error recovery and
39725 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
39726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39727 (__makecontext): Add dummy nop after jump to exit.
39728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
39729 Use correct parm save area and cr save, reduce stack frame.
39730 Correct cfi for possible PSEUDO_RET frame setup.
39731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
39732 Branch to local label emitted by PSEUDO_RET rather than
39733 __syscall_error.
39734
02637374
AS
397352010-08-12 Andreas Schwab <schwab@redhat.com>
39736
39737 [BZ #11904]
39738 * locale/programs/locale.c (print_assignment): New function.
39739 (show_locale_vars): Use it.
39740
c3e2f19b
UD
397412010-08-11 Ulrich Drepper <drepper@redhat.com>
39742
3cdaa6ad
UD
39743 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
39744 field.
39745 (struct statfs64): Likewise.
39746 (_STATFS_F_FLAGS): Define.
39747 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
39748 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39749 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
39750 (ST_VALID): Define locally.
39751 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
39752 __statvfs_getflags, use the provided value.
39753 * sysdeps/unix/sysv/linux/kernel-features.h: Define
39754 __ASSUME_STATFS_F_FLAGS.
39755
754f7da3
UD
39756 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
39757
10b3bedc
UD
39758 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
39759 Add sys/fanotify.h.
39760 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
39761 fanotify_mask for GLIBC_2.13.
39762 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
39763 fanotify_init and fanotify_mark.
39764 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39765 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
39766
c08fb0d7
UD
39767 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
39768 Add prlimit.
39769 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
39770 prlimit64 for GLIBC_2.13.
39771 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
39772 prlimit64.
39773 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
39774 syscall.
39775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
39776 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39777 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
39778 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
39779 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
39780 add prlimit alias.
39781 * sysdeps/unix/sysv/linux/prlimit.c: New file.
39782
15bac72b
UD
39783 [BZ #11903]
39784 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
39785 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
39786
c3e2f19b
UD
39787 * nss/Makefile: Add rules to build and run tst-nss-test1.
39788 * shlib-versions: Add entry for libnss_test1.
39789 * nss/nss_test1.c: New file.
39790 * nss/tst-nss-test1.c: New file.
39791
39792 * nss/nsswitch.c (__nss_database_custom): Define new variable.
39793 (__nss_configure_lookup): Set appropriate entry in
39794 __nss_configure_lookup to true.
39795 * nss/nsswitch.h: Define enum with indeces of databases in
39796 databases and __nss_database_custom arrays. Declare
39797 __nss_database_custom.
39798 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
39799 to avoid using nscd when custom rules are installed.
39800 * nss/getXXbyYY_r.c: Likewise.
39801 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39802
39803 * nss/nss_files/files-parse.c: Whitespace fixes.
39804
f15ce4d8
UD
398052010-08-09 Ulrich Drepper <drepper@redhat.com>
39806
39807 [BZ #11883]
39808 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
39809 * posix/fnmatch_loop.c: Likewise.
39810
d22e4cc9
AK
398112010-07-17 Andi Kleen <ak@linux.intel.com>
39812
39813 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
39814 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
39815 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
39816 * Versions.def [GLIBC_2.13]: Add.
39817
805bc17d
UD
398182010-08-06 Ulrich Drepper <drepper@redhat.com>
39819
39820 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39821 Also fail if tpwd after pwuid call is NULL.
39822
5a42321d
ST
398232010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
39824
39825 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
39826 when converting to ms.
39827
fd3ebeda
ST
398282010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39829
39830 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
39831 EOPNOTSUPP errors with ENOTTY.
39832 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
39833 EOPNOTSUPP errors with ENOTTY.
39834
73507d3a
UD
398352010-07-31 Ulrich Drepper <drepper@redhat.com>
39836
39837 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39838 Add strcasecmp_l-ssse3.
39839 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
39840 strcasecmp.
39841 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
39842 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
39843 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
39844
fe36dd02
UD
398452010-07-30 Ulrich Drepper <drepper@redhat.com>
39846
66f6765a
UD
39847 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
39848
42e08a54
UD
39849 * string/Makefile (strop-tests): Add strcasecmp.
39850 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39851 strcasecmp_l-nonascii.
39852 (gen-as-const-headers): Add locale-defines.sym.
39853 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
39854 * sysdeps/x86_64/strcasecmp.S: New file.
39855 * sysdeps/x86_64/strcasecmp_l.S: New file.
39856 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
39857 * sysdeps/x86_64/locale-defines.sym: New file.
39858 * string/test-strcasecmp.c: New file.
39859
fe36dd02
UD
39860 * string/test-strcasestr.c: Test both ends of the range of characters.
39861 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
39862
48cbc0d6
RM
398632010-07-29 Roland McGrath <roland@redhat.com>
39864
76e6d6bc 39865 [BZ #11856]
48cbc0d6
RM
39866 * manual/locale.texi (Yes-or-No Questions): Fix example code.
39867
880113d9
UD
398682010-07-27 Ulrich Drepper <drepper@redhat.com>
39869
39870 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
39871 for ld.so.
39872
deb9cabb
AS
398732010-07-27 Andreas Schwab <schwab@redhat.com>
39874
39875 * manual/memory.texi (Malloc Tunable Parameters): Document
39876 M_PERTURB.
39877
1c7570ff
RM
398782010-07-26 Roland McGrath <roland@redhat.com>
39879
39880 [BZ #11840]
39881 * configure.in (-fgnu89-inline check): Set and substitute
39882 gnu89_inline, not libc_cv_gnu89_inline.
39883 * configure: Regenerated.
39884 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
39885
24fb0f88
UD
398862010-07-26 Ulrich Drepper <drepper@redhat.com>
39887
39888 * string/test-strnlen.c: New file.
39889 * string/Makefile (strop-tests): Add strnlen.
39890 * string/tester.c (test_strnlen): Add a few more test cases.
39891 * string/tst-strlen.c: Better error reporting.
39892
39893 * sysdeps/x86_64/strnlen.S: New file.
39894
8e96b93a
UD
398952010-07-24 Ulrich Drepper <drepper@redhat.com>
39896
39897 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
39898 lower-latency instructions.
39899
dbc676d4
UD
399002010-07-23 Ulrich Drepper <drepper@redhat.com>
39901
39902 * string/test-strcasestr.c: New file.
39903 * string/test-strstr.c: New file.
39904 * string/Makefile (strop-tests): Add strstr and strcasestr.
39905 * string/str-two-way.h: Don't undefine MAX.
39906 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
39907
f6a31e0e
AS
399082010-07-21 Andreas Schwab <schwab@redhat.com>
39909
39910 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39911 strcasestr-nonascii.
39912 (CFLAGS-strcasestr-nonascii.c): Define.
39913 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
39914 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
39915 Remove unused attribute.
39916
5dbc3b6c
RM
399172010-07-20 Roland McGrath <roland@redhat.com>
39918
39919 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
39920 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
39921 ld.so.cache was broken. With it, there is no way to disable dsocaps
39922 like LD_HWCAP_MASK can disable hwcaps.
39923
23d101d8
EPM
399242010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
39925
39926 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
39927
cc9f2e47
UD
399282010-07-16 Ulrich Drepper <drepper@redhat.com>
39929
39930 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
39931 call in strcasestr.
39932 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
39933 __strcasestr_sse42_nonascii.
39934 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
39935 strcasestr-nonascii.c.
39936 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
39937
77c1b069
LM
399382010-06-15 Luis Machado <luisgpm@br.ibm.com>
39939
39940 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
39941 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
39942 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
39943 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
39944
440566c3
UD
399452010-07-09 Ulrich Drepper <drepper@redhat.com>
39946
39947 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
39948 fcntl.
39949
5be9d05d
AS
399502010-07-06 Andreas Schwab <schwab@redhat.com>
39951
c30b7ee2 39952 [BZ #11577]
5be9d05d
AS
39953 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
39954 dl_signal_cerror.
39955
8a492a67
UD
399562010-07-06 Ulrich Drepper <drepper@redhat.com>
39957
39958 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
39959 _PC_PIPE_BUF using F_GETPIPE_SZ.
39960
713df3d5
RM
399612010-07-05 Roland McGrath <roland@redhat.com>
39962
39963 * manual/arith.texi (Rounding Functions): Fix rint description
39964 implicit in round description.
39965
702e8f14
UD
399662010-07-02 Ulrich Drepper <drepper@redhat.com>
39967
39968 * elf/Makefile: Fix linking for a few tests to make recent linker
39969 happy.
39970
52ed8be9
AS
399712010-06-30 Andreas Schwab <schwab@redhat.com>
39972
39973 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39974 $(common-objpfx)libc_nonshared.a.
39975
f47c9a11
LM
399762010-06-21 Luis Machado <luisgpm@br.ibm.com>
39977
39978 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
39979 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
39980 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39981 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39982 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
39983 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
39984 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39985 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
39987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
39988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
39989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
39991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
39993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
39994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
39995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
39996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
39998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
40000 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
40001 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
40002 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
40003 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
40004 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
40005 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
40006 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
40007 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
40008 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
40009 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
40010 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
40011 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
40012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
40013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
40014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
40015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
40016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
40017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
40018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
40019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
40020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
40021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
40022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
40023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
40024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
40025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
40026
6fb8cbcb
L
400272010-06-25 H.J. Lu <hongjiu.lu@intel.com>
40028
40029 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
40030 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
40031 * string/memmove.c (memmove): Renamed to ...
40032 (MEMMOVE): ...this. Default to memmove.
40033 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
40034 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
40035 (END_CHK): Define.
40036 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40037 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
40038 mempcpy-ssse3-back memmove-ssse3-back.
40039 * sysdeps/x86_64/multiarch/bcopy.S: New file .
40040 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
40041 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
40042 * sysdeps/x86_64/multiarch/memcpy.S: New file.
40043 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
40044 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
40045 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
40046 * sysdeps/x86_64/multiarch/memmove.c: New file.
40047 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
40048 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
40049 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
40050 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
40051 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
40052 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
40053 Define.
40054 (index_Fast_Copy_Backward): Define.
40055 (HAS_ARCH_FEATURE): Define.
40056 (HAS_FAST_REP_STRING): Define.
40057 (HAS_FAST_COPY_BACKWARD): Define.
40058
4e733bac 400592010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
40060
40061 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
40062 Restore proper fallback handling.
40063
63c4ed22
UD
400642010-06-19 Ulrich Drepper <drepper@redhat.com>
40065
ac2b484c
UD
40066 [BZ #11701]
40067 * posix/group_member.c (__group_member): Correct checking loop.
40068
63c4ed22
UD
40069 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
40070 OOM in getpwuid_r correctly. Return error number when the caller
40071 should return, otherwise -1.
40072 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
40073 call returning > 0 value.
40074 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
40075
765ade4b
AS
400762010-06-07 Andreas Schwab <schwab@redhat.com>
40077
40078 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
40079 libc_nonshared.a from targets in modules-names.
40080
80da2e09
KS
400812010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
40082
40083 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
40084 requires it.
40085
158db122
LM
400862010-06-10 Luis Machado <luisgpm@br.ibm.com>
40087
40088 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
40089 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
40090 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
40091 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
40092
caa78cf8
AS
400932010-06-02 Andreas Schwab <schwab@redhat.com>
40094
40095 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
40096
b2ef2c01
UD
400972010-06-14 Ulrich Drepper <drepper@redhat.com>
40098
40099 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
40100 and F_GETPIPE_SZ.
40101 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40102 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40103 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40104 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40105 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40106 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
40107
fbd643b6
RM
401082010-06-14 Roland McGrath <roland@redhat.com>
40109
40110 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
40111
f32f2869
JJ
401122010-06-07 Jakub Jelinek <jakub@redhat.com>
40113
40114 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
40115 __REDIRECT followed by __THROW.
40116 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
40117 * posix/getopt.h (getopt): Likewise.
40118
2a50c078
EPM
401192010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
40120
40121 * hurd/lookup-at.c (__file_name_lookup_at): Accept
40122 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
40123 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
40124 in AT_FLAGS.
40125 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
40126 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
40127
eb5ad2eb
LM
401282010-05-28 Luis Machado <luisgpm@br.ibm.com>
40129
40130 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
40131
3c88fe1e
L
401322010-05-26 H.J. Lu <hongjiu.lu@intel.com>
40133
40134 [BZ #11640]
40135 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40136 Properly check family and model.
40137
d2f73151
TY
401382010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
40139
40140 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
40141
ebd2e13d
LM
401422010-05-24 Luis Machado <luisgpm@br.ibm.com>
40143
40144 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
40145
b32b8b45
UD
401462010-05-21 Ulrich Drepper <drepper@redhat.com>
40147
40148 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
40149 symbol reference.
40150
9acbe24d
AS
401512010-05-19 Andreas Schwab <schwab@redhat.com>
40152
40153 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
40154 symbol reference.
40155
f0ccf6ea
AS
401562010-05-21 Andreas Schwab <schwab@redhat.com>
40157
3d04ff3a
AS
40158 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
40159 and internal_recvmmsg.
40160 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
40161 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
40162 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
40163 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
40164
f0ccf6ea
AS
40165 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
40166 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40167 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40168
5b08ac57
AS
401692010-05-20 Andreas Schwab <schwab@redhat.com>
40170
40171 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
40172
4828935d
LM
401732010-05-17 Luis Machado <luisgpm@br.ibm.com>
40174
40175 POWER7 optimizations.
40176 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
40177 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
40178
373d545e
UD
401792010-05-19 Ulrich Drepper <drepper@redhat.com>
40180
40181 * version.h: Update for 2.13 development version.
40182
21a2b1ae
AS
401832010-05-12 Andrew Stubbs <ams@codesourcery.com>
40184
40185 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
40186 exceptions. Return 0.
40187
3f7dcb2b
RM
401882010-05-07 Roland McGrath <roland@redhat.com>
40189
40190 * elf/ldconfig.c (main): Add a const.
40191
5f24d53a 401922010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 40193
a160f8d8
UD
40194 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
40195 (args_options): Add no-idn option.
40196 (ahosts_keys_int): Add idn_flags to ai_flags.
40197 (parse_option): Handle 'i' option to clear idn_flags.
40198
5f24d53a
UD
40199 * malloc/malloc.c (_int_free): Possible race in the most recently
40200 added check. Only act on the data if no current modification
40201 happened.
265bb1ce
UD
40202
40203See ChangeLog.17 for earlier changes.