]> sourceware.org Git - glibc.git/blame - ChangeLog
BZ #16632: Change [_BSD/_SVID]_SOURCE warning.
[glibc.git] / ChangeLog
CommitLineData
ade40b10
CD
12014-02-25 Carlos O'Donell <carlos@redhat.com>
2
3 [BZ #16632]
4 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
5 _DEFAULT_SOURCE is defined.
6
d0503676
CD
72014-02-25 Ulrich Drepper <drepper@gmail.com>
8 Carlos O'Donell <carlos@redhat.com>
9
10 [BZ #16613]
11 * elf/dl-tls.c (_dl_count_modids): New function.
12 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
13 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
14 audit library and increment generation counter.
15 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
16 * elf/tst-audit9.c: New file.
17 * elf/tst-auditmod9a.c: New file.
18 * elf/tst-auditmod9b.c: New file.
19 * elf/Makefile: Add rules to build and run tst-audit9.
20
4cbf380c
FW
212014-02-25 Florian Weimer <fweimer@redhat.com>
22
23 [BZ #15347]
24 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
25
80a56cc3
WN
262014-02-25 Will Newton <will.newton@linaro.org>
27
28 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
29 (__longjmp): Restore sp and lr before restoring callee
30 saved registers. Add longjmp and longjmp_target
31 SystemTap probe point.
32 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
33 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
34 Define to zero to match jmpbuf layout.
35 * sysdeps/arm/setjmp.S: Include stap-probe.h.
36 (__sigsetjmp): Save sp and lr before saving callee
37 saved registers. Add setjmp SystemTap probe point.
38
3ea0f74e
SL
392014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
40
41 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42
b04acb26
AS
432014-02-24 Andreas Schwab <schwab@suse.de>
44
45 [BZ #15804]
46 * elf/pldd.c (wait_for_ptrace_stop): New function.
47 (main): Call it after attaching.
48
098ad55c
RM
492014-02-22 Roland McGrath <roland@hack.frob.com>
50
d4ec6ae1
RM
51 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
52 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
53 Versions files is now verboten.
54 * hurd/Versions (libc: GLIBC_2.0):
55 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
56 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
57 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
58 * mach/Versions: Likewise.
59
098ad55c
RM
60 * csu/Versions: Remove unused %include.
61 * resolv/Versions: Likewise.
62
acd7f096
JM
632014-02-21 Joseph Myers <joseph@codesourcery.com>
64
f0881698
JM
65 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
66 ($(objpfx)check-local-headers.out): Likewise.
67 ($(objpfx)begin-end-check.out): Likewise.
68 * Makerules (check-abi-%.out): Likewise.
69 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
70 ($(objpfx)test2.cat): Likewise.
71 ($(objpfx)de/libc.cat): Likewise.
72 ($(objpfx)test-gencat.out): Likewise.
73 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
74 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
75 ($(objpfx)noload-mem): Likewise.
76 ($(objpfx)tst-pathopt.out): Likewise.
77 ($(objpfx)tst-rtld-load-self.out): Likewise.
78 ($(objpfx)tst-array1-cmp.out): Likewise.
79 ($(objpfx)tst-array1-static-cmp.out): Likewise.
80 ($(objpfx)tst-array2-cmp.out): Likewise.
81 ($(objpfx)tst-array3-cmp.out): Likewise.
82 ($(objpfx)tst-array4-cmp.out): Likewise.
83 ($(objpfx)tst-array5-cmp.out): Likewise.
84 ($(objpfx)tst-array5-static-cmp.out): Likewise.
85 ($(objpfx)check-textrel.out): Likewise.
86 ($(objpfx)check-execstack.out): Likewise.
87 ($(objpfx)check-localplt.out): Likewise.
88 ($(objpfx)order2-cmp.out): Likewise.
89 ($(objpfx)tst-leaks1-mem): Likewise.
90 ($(objpfx)tst-leaks1-static-mem): Likewise.
91 ($(objpfx)tst-initorder-cmp.out): Likewise.
92 ($(objpfx)tst-initorder2-cmp.out): Likewise.
93 ($(objpfx)tst-unused-dep.out): Likewise.
94 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
95 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
96 * iconv/Makefile (test-iconvconfig): Likewise.
97 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
98 ($(objpfx)iconv-test.out): Likewise.
99 ($(objpfx)tst-tables.out): Likewise.
100 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
101 ($(objpfx)tst-gettext.out): Likewise.
102 ($(objpfx)tst-translit.out): Likewise.
103 ($(objpfx)tst-gettext2.out): Likewise.
104 ($(objpfx)tst-gettext4.out): Likewise.
105 ($(objpfx)tst-gettext6.out): Likewise.
106 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
107 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
108 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
109 ($(objpfx)tst-fopenloc-mem.out): Likewise.
110 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
111 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
112 * posix/Makefile ($(objpfx)globtest.out): Likewise.
113 ($(objpfx)wordexp-tst.out): Likewise.
114 ($(objpfx)annexc.out): Likewise.
115 ($(objpfx)tst-fnmatch-mem): Likewise.
116 ($(objpfx)bug-regex2-mem): Likewise.
117 ($(objpfx)bug-regex14-mem): Likewise.
118 ($(objpfx)bug-regex21-mem): Likewise.
119 ($(objpfx)bug-regex31-mem): Likewise.
120 ($(objpfx)tst-vfork3-mem): Likewise.
121 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
122 ($(objpfx)tst-pcre-mem): Likewise.
123 ($(objpfx)tst-boost-mem): Likewise.
124 ($(objpfx)tst-getconf.out): Likewise.
125 ($(objpfx)bug-ga2-mem): Likewise.
126 ($(objpfx)bug-glob2-mem): Likewise.
127 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
128 ($(objpfx)mtrace-tst-leaks2): Likewise.
129 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
130 ($(objpfx)tst-printf.out): Likewise.
131 ($(objpfx)tst-setvbuf1.out): Likewise.
132 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
133 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
134 ($(objpfx)tst-fmtmsg.out): Likewise.
135 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
136 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
137
acd7f096
JM
138 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
139 * bits/sigaction.h [__USE_MISC]: Likewise.
140 * bits/waitstatus.h: Update #endif comments.
141 * ctype/ctype.h: Likewise.
142 * dirent/dirent.h: Likewise.
143 [__USE_MISC]: Remove redundant conditionals.
144 * grp/grp.h: Update #endif comments.
145 [__USE_GNU]: Remove redundant conditionals.
146 [__USE_MISC]: Likewise.
147 * inet/netinet/in.h [__USE_GNU]: Likewise.
148 * io/sys/stat.h [__USE_MISC]: Likewise.
149 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
150 * libio/bits/stdio.h: Update #endif comments.
151 [__USE_MISC]: Remove redundant conditionals.
152 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
153 * libio/stdio.h: Update #endif comments.
154 [__USE_MISC]: Remove redundant conditionals.
155 * math/bits/math-finite.h [__USE_MISC]: Likewise.
156 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
157 * math/math.h: Update #else and #endif comments.
158 [__USE_MISC]: Remove redundant conditionals.
159 * misc/sys/uio.h: Update #endif comments.
160 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
161 * posix/glob.h [__USE_MISC]: Likewise.
162 * posix/sys/types.h: Update #endif comments.
163 [__USE_MISC]: Remove redundant conditionals.
164 * posix/sys/wait.h: Update #endif comments.
165 [__USE_MISC]: Remove redundant conditionals.
166 * posix/unistd.h: Update #endif comments.
167 [__USE_MISC]: Remove redundant conditionals.
168 * pwd/pwd.h [__USE_GNU]: Likewise.
169 [__USE_MISC]: Likewise.
170 * resolv/netdb.h [__USE_GNU]: Likewise.
171 * signal/signal.h: Update #endif comments.
172 [__USE_MISC]: Remove redundant conditionals.
173 * stdlib/stdlib.h: Update #else and #endif comments.
174 [__USE_MISC]: Remove redundant conditionals.
175 [__USE_GNU]: Likewise.
176 * string/bits/string2.h [__USE_MISC]: Likewise.
177 * string/string.h: Update #endif comments.
178 [__USE_MISC]: Remove redundant conditionals.
179 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
180 Likewise.
181 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
182 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
183 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
184 Likewise.
185 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
186 Likewise.
187 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
188 comments.
189 [__USE_MISC]: Remove redundant conditionals.
190 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
191 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
192 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
193 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
194 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
195 Likewise.
196 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
197 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
198 Likewise.
199 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
200 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
201 Likewise.
202 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
203 Likewise.
204 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
205 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
206 Likewise.
207 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
208 Likewise.
209 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
210 * sysdeps/x86/bits/string.h: Update #endif comments.
211 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
212 conditionals.
213 * time/sys/time.h: Update #endif comments.
214 * time/time.h: Likewise.
215 [__USE_MISC]: Remove redundant conditionals.
216
a5d82e4e
YG
2172014-02-21 Yury Gribov <y.gribov@samsung.com>
218
219 [BZ #16600]
220 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
221
9a80491d
AS
2222014-02-21 Andreas Schwab <schwab@linux-m68k.org>
223
224 * Versions.def (librt): Add GLIBC_2.17.
225
105fa381
AC
2262014-02-21 Adam Conrad <adconrad@0c3.net>
227
228 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
229 synonym for _SYS_AUXV_H to allow direct inclusion.
230 * sysdeps/sparc/bits/hwcap.h: Likewise.
231 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
232 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
233 * sysdeps/sparc/sysdep.h: Likewise.
234
b8cd1c4e
SP
2352014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
236
237 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
238
bd939d23
RS
2392014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
240
241 * benchtests/bench-strrchr.c: Print length instead of position.
242
5d7b57ca
JM
2432014-02-20 Joseph Myers <joseph@codesourcery.com>
244
bc688c10
JM
245 [BZ #16611]
246 * sysdeps/unix/sysv/linux/kernel-features.h
247 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
248 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
249 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
250 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
251 Likewise.
252 [__i386__ || __powerpc__ || __sh__ || __sparc__]
253 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
254 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
255 (__ASSUME_SENDMMSG): Define instead of using previous
256 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
257 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
258 (__ASSUME_SENDMMSG_SYSCALL): Define.
259 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
260 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
261 Likewise.
262 * sysdeps/unix/sysv/linux/arm/kernel-features.h
263 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
264 Likewise.
265 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
266 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
267 Likewise.
268 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
269 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
270 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
271 [__ASSUME_SENDMMSG]: Change conditionals to
272 [__ASSUME_SENDMMSG_SOCKETCALL].
273 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
274 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
275 Define.
276 * sysdeps/unix/sysv/linux/mips/kernel-features.h
277 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
278 Likewise.
279 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
280 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
281 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
282 [!__ASSUME_SENDMMSG]: Change conditional to
283 [!__ASSUME_SENDMMSG_SOCKETCALL].
284 * sysdeps/unix/sysv/linux/tile/kernel-features.h
285 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
286 Define.
287
0e31b18c
JM
288 [BZ #16610]
289 * sysdeps/unix/sysv/linux/kernel-features.h
290 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
291 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
292 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
293 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
294 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
295 [__i386__ || __sparc__]
296 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
297 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
298 (__ASSUME_RECVMMSG): Define instead of using previous
299 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
300 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
301 (__ASSUME_RECVMMSG_SYSCALL): Define.
302 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
303 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
304 Likewise.
305 * sysdeps/unix/sysv/linux/arm/kernel-features.h
306 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
307 Likewise.
308 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
309 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
310 Likewise.
311 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
312 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
313 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
314 [__ASSUME_RECVMMSG]: Change condition to
315 [__ASSUME_RECVMMSG_SOCKETCALL].
316 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
317 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
318 Define.
319 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
320 * sysdeps/unix/sysv/linux/mips/kernel-features.h
321 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
322 Likewise.
323 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
324 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
325 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
326 [!__ASSUME_RECVMMSG]: Change condition to
327 [!__ASSUME_RECVMMSG_SOCKETCALL].
328 * sysdeps/unix/sysv/linux/tile/kernel-features.h
329 (__ASSUME_RECVMMSG_SYSCALL): Define.
330
dd481ccf
JM
331 [BZ #16609]
332 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
333 __powerpc__ || __s390__ || __sh__ || __sparc__]
334 (__ASSUME_SOCKETCALL): Define.
335 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
336 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
337 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
338 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
339 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
340 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
341 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
342 (__ASSUME_ACCEPT4): Define instead of using previous
343 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
344 __powerpc__ || __sparc__ || __s390__)] condition.
345 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
346 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
347 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
348 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
349 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
350 [!__ASSUME_ACCEPT4]: Change condition to
351 [!__ASSUME_ACCEPT4_SOCKETCALL].
352 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
353 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
354 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
355 * sysdeps/unix/sysv/linux/arm/kernel-features.h
356 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
357 __ASSUME_ACCEPT4_SYSCALL.
358 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
359 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
360 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
361 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
362 __ASSUME_ACCEPT4_SYSCALL.
363 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
364 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
365 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
366 [__ASSUME_ACCEPT4]: Change condition to
367 [__ASSUME_ACCEPT4_SOCKETCALL].
368 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
369 (__ASSUME_SOCKETCALL): Define.
370 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
371 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
372 (__ASSUME_SOCKETCALL): Define.
373 (__ASSUME_ACCEPT4): Remove.
374 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
375 Define.
376 * sysdeps/unix/sysv/linux/mips/kernel-features.h
377 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
378 Likewise.
379 * sysdeps/unix/sysv/linux/tile/kernel-features.h
380 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
381
5d7b57ca
JM
382 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
383 macro.
384 (HWCAP_ARM_LPAE): Likewise.
385 (HWCAP_ARM_EVTSTRM): Likewise.
386 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
387 Add vpfd32, lpae and evtstrm.
388 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
389 Increase to 22.
390
63689d61
JM
3912014-02-19 Joseph Myers <joseph@codesourcery.com>
392
393 * math/auto-libm-test-in: Add tests of clog10.
394 * math/auto-libm-test-out: Regenerated.
395 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
396 * sysdeps/i386/fpu/libm-test-ulps: Update.
397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
398
ab09bf61
AS
3992014-02-18 Andreas Schwab <schwab@suse.de>
400
401 [BZ #16574]
402 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
403 Store non-zero if the second buffer was newly allocated.
404 (send_dg): Likewise.
405 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
406 to send_vc and send_dg.
407 (res_nsend): Pass NULL for ansp2_malloced.
408 * resolv/res_query.c (__libc_res_nquery): Add parameter
409 answerp2_malloced and pass it down to __libc_res_nsend.
410 (res_nquery): Pass additional NULL to __libc_res_nquery.
411 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
412 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
413 second answer buffer if answerp2_malloced was set.
414 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
415 (__libc_res_nquerydomain): Add parameter
416 answerp2_malloced and pass it down to __libc_res_nquery.
417 (res_nquerydomain): Pass additional NULL to
418 __libc_res_nquerydomain.
419 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
420 additional NULL to __libc_res_nsend and __libc_res_nquery.
421 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
422 additional NULL to __libc_res_nsearch.
423 (_nss_dns_gethostbyname4_r): Revert last change. Use new
424 parameter of __libc_res_nsearch to check for separately allocated
425 second buffer.
426 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
427 __libc_res_nquery.
428 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
429 additional NULL to __libc_res_nquery.
430 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
431 __libc_res_nsearch.
432 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
433 * include/resolv.h: Update prototypes of __libc_res_nquery,
434 __libc_res_nsearch, __libc_res_nsend.
435
a4fb7861
JM
4362014-02-18 Joseph Myers <joseph@codesourcery.com>
437
c6af2d89
JM
438 * math/auto-libm-test-in: Add tests of fma.
439 * math/auto-libm-test-out: Regenerated.
440 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
441 (fma_towardzero_test_data): Likewise.
442 (fma_downward_test_data): Likewise.
443 (fma_upward_test_data): Likewise.
444 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
445 mpc_mode.
446 (rounding_modes): Add values for new field.
447 (func_calc_method): Add value mpfr_fff_f.
448 (func_calc_desc): Add mpfr_fff_f union field.
449 (test_function): Add field exact_args.
450 (FUNC): Add macro argument EXACT_ARGS.
451 (FUNC_mpfr_f_f): Update call to FUNC.
452 (FUNC_mpfr_f_f): Likewise.
453 (FUNC_mpfr_ff_f): Likewise.
454 (FUNC_mpfr_if_f): Likewise.
455 (FUNC_mpc_c_f): Likewise.
456 (FUNC_mpc_c_c): Likewise.
457 (test_functions): Add fma. Update calls to FUNC.
458 (handle_input_arg): Add argument exact_args.
459 (add_test): Update call to handle_input_arg.
460 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
461 (output_for_one_input_case): Update call to calc_generic_results.
462 Recalculate exact zero results in each rounding mode.
463
a4fb7861
JM
464 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
465 non-negative before setting low bit.
466 * math/auto-libm-test-in: Mark one asin test possibly having
467 spurious underflow.
468 * math/auto-libm-test-out: Regenerated.
469 * sysdeps/i386/fpu/libm-test-ulps: Update.
470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
471
ef114eaf
DH
4722014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
473
474 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
475 * sysdeps/unix/sysv/linux/microblaze: Move directory from
476 ports/sysdeps/unix/sysv/linux/microblaze.
477 * README: Add missing listing for microblaze*-*-linux-gnu.
478
c70a4b1d
MF
4792014-02-16 Mike Frysinger <vapier@gentoo.org>
480
481 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
482 * sysdeps/unix/sysv/linux/ia64: Move directory from
483 ports/sysdeps/unix/sysv/linux/ia64.
484 * README: Update listing for ia64-*-linux-gnu.
485
591aeaf7
TD
4862014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
487 Joseph Myers <joseph@codesourcery.com>
488
489 * Makeconfig (test-name): New variable.
490 (evaluate-test): Likewise.
491 * Makerules (do-test-clean): Remove .test-result files.
492 (common-mostlyclean): Likewise.
493 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
494 * scripts/evaluate-test.sh: New file.
495
6e89caf1
JM
4962014-02-14 Joseph Myers <joseph@codesourcery.com>
497
7f98f180
JM
498 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
499 separate $(objpfx)tst-fopenloc-cmp.out and
500 $(objpfx)tst-fopenloc-mem.out targets.
501 (tests): Update dependencies.
502 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
503 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
504 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
505 (tst-rxspencer-no-utf8-ARGS): New variable.
506 (tst-rxspencer-no-utf8-ENV): Likewise.
507 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
508 instead of $(objpfx)tst-rxspencer-mem.
509 ($(objpfx)tst-rxspencer-mem): Change target to
510 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
511 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
512 * posix/tst-rxspencer-no-utf8.c: New file.
513
6e89caf1
JM
514 * elf/Makefile ($(objpfx)order.out): Remove rule.
515 [$(run-built-tests) = yes] (tests): Depend on
516 $(objpfx)order-cmp.out.
517 ($(objpfx)order-cmp.out): New rule.
518 [$(run-built-tests) = yes] (tests): Depend on
519 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
520 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
521 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
522 $(objpfx)tst-array5-static-cmp.out.
523 ($(objpfx)tst-array1.out): Remove rule.
524 ($(objpfx)tst-array1-cmp.out): New rule.
525 ($(objpfx)tst-array1-static.out): Remove rule.
526 ($(objpfx)tst-array1-static-cmp.out): New rule.
527 ($(objpfx)tst-array2.out): Remove rule.
528 ($(objpfx)tst-array2-cmp.out): New rule.
529 ($(objpfx)tst-array3.out): Remove rule.
530 ($(objpfx)tst-array3-cmp.out): New rule.
531 ($(objpfx)tst-array4.out): Remove rule.
532 ($(objpfx)tst-array4-cmp.out): New rule.
533 ($(objpfx)tst-array5.out): Remove rule.
534 ($(objpfx)tst-array5-cmp.out): New rule.
535 ($(objpfx)tst-array5-static.out): Remove rule.
536 ($(objpfx)tst-array5-static-cmp.out): New rule.
537 [$(run-built-tests) = yes] (tests): Depend on
538 $(objpfx)order2-cmp.out.
539 ($(objpfx)order2.out): Remove rule.
540 ($(objpfx)order2-cmp.out): New rule.
541 ($(objpfx)tst-initorder.out): Remove rule.
542 [$(run-built-tests) = yes] (tests): Depend on
543 $(objpfx)tst-initorder-cmp.out.
544 ($(objpfx)tst-initorder-cmp.out): New rule.
545 ($(objpfx)tst-initorder2.out): Remove rule.
546 [$(run-built-tests) = yes] (tests): Depend on
547 $(objpfx)tst-initorder2-cmp.out.
548 ($(objpfx)tst-initorder2-cmp.out): New rule.
549 [$(run-built-tests) = yes] (tests): Depend on
550 $(objpfx)tst-unused-dep-cmp.out.
551 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
552 ($(objpfx)tst-unused-dep-cmp.out): New rule.
553 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
554 on $(objpfx)tst-setvbuf1-cmp.out.
555 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
556 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
557 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
558 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
559 ($(objpfx)tst-svc.out): Remove rule.
560 ($(objpfx)tst-svc-cmp.out): New rule.
561
ed9a38e2
JM
5622014-02-13 Joseph Myers <joseph@codesourcery.com>
563
564 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
565 * ctype/ctype.h [__USE_MISC]: Likewise.
566 * dirent/dirent.h [__USE_MISC]: Likewise.
567 * grp/grp.h [__USE_MISC]: Likewise.
568 * io/fcntl.h [__USE_MISC]: Likewise.
569 * io/sys/stat.h [__USE_MISC]: Likewise.
570 * libio/stdio.h [__USE_MISC]: Likewise.
571 * posix/unistd.h [__USE_MISC]: Likewise.
572 * pwd/pwd.h [__USE_MISC]: Likewise.
573 * stdlib.h [__USE_MISC]: Likewise.
574 * string/bits/string2.h [__USE_MISC]: Likewise.
575 * string/string.h [__USE_MISC]: Likewise.
576 * time/time.h [__USE_MISC]: Likewise.
577
d6680619
AS
5782014-02-13 Andreas Schwab <schwab@suse.de>
579
580 [BZ #16574]
581 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
582 second answer buffer if it was separately allocated.
583
ace614b8
JM
5842014-02-12 Joseph Myers <joseph@codesourcery.com>
585
743151ae
JM
586 * sysdeps/mips/math-tests.h: Include <features.h>.
587 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
588 (ROUNDING_TESTS_long_double): Do not define.
589 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
590 (EXCEPTION_TESTS_long_double): Likewise.
591 * sysdeps/mips/mips64/libm-test-ulps: Update.
592
498afc54
JM
593 * include/features.h (__USE_BSD): Remove macro definitions.
594 (__USE_SVID): Likewise.
595 (_BSD_SOURCE): Likewise.
596 (_SVID_SOURCE): Likewise.
597 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
598 from definition of _DEFAULT_SOURCE.
599 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
600 [_DEFAULT_SOURCE].
601 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
602 * bits/mman.h [__USE_BSD]: Likewise.
603 * bits/termios.h [__USE_BSD]: Likewise.
604 * bits/waitstatus.h [__USE_BSD]: Likewise.
605 * ctype/ctype.h [__USE_SVID]: Likewise.
606 * dirent/dirent.h [__USE_BSD]: Likewise.
607 * grp/grp.h [__USE_SVID]: Likewise.
608 [__USE_BSD]: Likewise.
609 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
610 * io/fcntl.h [__USE_BSD]: Likewise.
611 * io/ftw.h [__USE_BSD]: Likewise.
612 * io/sys/stat.h [__USE_BSD]: Likewise.
613 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
614 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
615 * libio/stdio.h [__USE_SVID]: Likewise.
616 [__USE_BSD]: Likewise.
617 * math/math.h [__USE_SVID]: Likewise.
618 [__USE_BSD]: Likewise.
619 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
620 * misc/bits/syslog.h [__USE_BSD]: Likewise.
621 * misc/search.h [__USE_SVID]: Likewise.
622 * misc/sys/mman.h [__USE_BSD]: Likewise.
623 * misc/sys/syslog.h [__USE_BSD]: Likewise.
624 * misc/sys/uio.h [__USE_BSD]: Likewise.
625 * posix/bits/unistd.h [__USE_BSD]: Likewise.
626 * posix/glob.h [__USE_BSD]: Likewise.
627 * posix/regex.h [__USE_BSD]: Likewise.
628 * posix/sys/types.h [__USE_BSD]: Likewise.
629 [__USE_SVID]: Likewise.
630 * posix/sys/utsname.h [__USE_SVID]: Likewise.
631 * posix/sys/wait.h [__USE_BSD]: Likewise.
632 [__USE_SVID]: Likewise.
633 * posix/unistd.h [__USE_BSD]: Likewise.
634 [__USE_SVID]: Likewise.
635 * pwd/pwd.h [__USE_SVID]: Likewise.
636 * resolv/netdb.h [__USE_BSD]: Likewise.
637 * setjmp/setjmp.h [__USE_BSD]: Likewise.
638 * signal/signal.h [__USE_BSD]: Likewise.
639 [__USE_SVID]: Likewise.
640 * socket/sys/socket.h [__USE_BSD]: Likewise.
641 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
642 * stdlib/stdlib.h [__USE_BSD]: Likewise.
643 [__USE_SVID]: Likewise.
644 * string/bits/string2.h [__USE_BSD]: Likewise.
645 [__USE_SVID]: Likewise.
646 * string/bits/string3.h [__USE_BSD]: Likewise.
647 * string/endian.h [__USE_BSD]: Likewise.
648 * string/string.h [__USE_SVID]: Likewise.
649 [__USE_BSD]: Likewise.
650 * string/strings.h [__USE_BSD]: Likewise.
651 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
652 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
653 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
654 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
655 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
656 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
657 Likewise.
658 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
659 Likewise.
660 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
661 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
662 Likewise.
663 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
664 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
665 Likewise.
666 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
667 Likewise.
668 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
669 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
670 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
671 Likewise.
672 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
673 Likewise.
674 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
675 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
676 * termios/termios.h [__USE_BSD]: Likewise.
677 * time/sys/time.h [__USE_BSD]: Likewise.
678 * time/time.h [__USE_BSD]: Likewise.
679 [__USE_SVID]: Likewise.
680
dd7b064c
JM
681 * Makefile (subdir_targets): Remove subdir_lint.out.
682
a2c4c199
JM
683 * stdio-common/Makefile (do-tst-unbputc): Remove target.
684 (do-tst-printf): Likewise.
685 (tests): Depend directly on $(objpfx)tst-unbputc.out and
686 $(objpfx)tst-printf.out.
687
8756f740
JM
688 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
689
1b6dd3f1
JM
690 * Makerules (check-abi-%): Change target to
691 $(objpfx)check-abi-%.out.
692 (check-abi target): Update dependencies.
693 (check-abi-pattern variable): Redirect output of diff to $@.
694 (check-abi variable): Likewise.
695 * elf/Makefile (check-abi): Update dependencies.
696
ace614b8
JM
697 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
698 unused.
699 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
700 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
701 subnormal range.
702 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
703 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
704 value has largest subnormal exponent.
705 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
706 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
707 * sysdeps/aarch64/soft-fp/sfp-machine.h
708 (_FP_TININESS_AFTER_ROUNDING): New macro.
709 * sysdeps/alpha/soft-fp/sfp-machine.h
710 (_FP_TININESS_AFTER_ROUNDING): Likewise.
711 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
712 Likewise.
713 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
714 (_FP_TININESS_AFTER_ROUNDING): Likewise.
715 * sysdeps/mips/soft-fp/sfp-machine.h
716 (_FP_TININESS_AFTER_ROUNDING): Likewise.
717 * sysdeps/powerpc/soft-fp/sfp-machine.h
718 (_FP_TININESS_AFTER_ROUNDING): Likewise.
719 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
720 Likewise.
721 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
722 (_FP_TININESS_AFTER_ROUNDING): Likewise.
723 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
724 (_FP_TININESS_AFTER_ROUNDING): Likewise.
725 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
726 Likewise.
727
fbfdf9cb
DAS
7282014-02-12 Dylan Alex Simon <dylan@dylex.net>
729
730 [BZ #16545]
731 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
732 model 1.
733
68b7efaa
RH
7342014-02-12 Richard Henderson <rth@redhat.com>
735
c70a4b1d 736 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
737 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
738 * sysdeps/unix/sysv/linux/alpha: Move directory from
739 ports/sysdeps/unix/sysv/linux/alpha.
740 * README: Update listing for alpha-*-linux-gnu.
741
cb4a2928
JM
7422014-02-11 Joseph Myers <joseph@codesourcery.com>
743
c941736c
JM
744 * include/features.h: Update comment documenting feature test
745 macros.
746 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
747 _DEFAULT_SOURCE.
748 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
749 (_SVID_SOURCE): Likewise.
750 (_DEFAULT_SOURCE): Update description of default features.
751 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
752 with _GNU_SOURCE.
753 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
754 (S_ISVTX): Likewise.
755 * manual/math.texi (Mathematical Constants): Likewise.
756 * manual/signal.texi (Interrupted Primitives): Likewise.
757 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
758 * math/test-matherr.c (_SVID_SOURCE): Do not define.
759 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
760 Don't refer to _SVID_SOURCE in warning text.
761
e8d8d7ec
JM
762 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
763
cb4a2928
JM
764 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
765 already defined.
766 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
767 * sysdeps/mips/dl-lookup.c: Remove.
768 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
769
7e6424e3
AK
7702014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
771
772 [BZ #16447]
773 * math/auto-libm-test-in: Add testcase for expl.
774 * math/auto-libm-test-out: Regenerate.
775 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
776 calculation of unsafe.
777 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
778
75eff3fe
MS
7792014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
780
781 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
782 * sysdeps/unix/sysv/linux/aarch64: Move directory from
783 ports/sysdeps/unix/sysv/linux/aarch64.
784 * README: Update listing for aarch64*-*-linux-gnu.
785
d35f1e80
WN
7862014-02-11 Will Newton <will.newton@linaro.org>
787
788 * manual/probes.texi (Mathematical Function Probes): Use
789 "triggered" instead of "hit".
790
7b3436d4
WN
7912014-02-11 Will Newton <will.newton@linaro.org>
792
793 * manual/probes.texi (Internal Probes): Add documentation
794 of setjmp, longjmp and longjmp_target probes.
795
b4f12ca3
WN
7962014-02-11 Will Newton <will.newton@linaro.org>
797
798 * include/stap-probe.h: Add comment about probe argument
799 format.
800
c13a72b7
WN
8012014-02-11 Will Newton <will.newton@linaro.org>
802
803 * malloc/mtrace.c (attribute_hidden): Remove unused macro
804 definition. (tr_where, tr_freehook, tr_mallochook,
805 tr_reallochook, tr_memalignhook): Use ANSI protoype.
806
195b8165
DM
8072014-02-11 David S. Miller <davem@davemloft.net>
808
809 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
810 processing int_tests.
811
2ad7600b
JM
8122014-02-10 Joseph Myers <joseph@codesourcery.com>
813
814 * sysdeps/mips: Move directory from ports/sysdeps/mips.
815 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
816 * sysdeps/unix/sysv/linux/mips: Move directory from
817 ports/sysdeps/unix/sysv/linux/mips.
818 * README: Update listing for mips-*-linux-gnu and
819 mips64-*-linux-gnu.
820
73588a72
AS
8212014-02-10 Andreas Schwab <schwab@linux-m68k.org>
822
823 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
824 * sysdeps/unix/sysv/linux/m68k: Move directory from
825 ports/sysdeps/unix/sysv/linux/m68k.
826 * README: Update listing for m68k-*-linux-gnu.
827
4372980f
CM
8282014-02-10 Chris Metcalf <cmetcalf@tilera.com>
829
830 * sysdeps/tile: Move directory from ports/sysdeps/tile.
831 * sysdeps/unix/sysv/linux/generic: Move directory from
832 ports/sysdeps/unix/sysv/linux/generic.
833 * sysdeps/unix/sysv/linux/tile: Move directory from
834 ports/sysdeps/unix/sysv/linux/tile.
835 * README: Update listing for tile*-*-linux-gnu.
836
a1ffb40e
OB
8372014-02-10 Ondřej Bílka <neleai@seznam.cz>
838
839 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
840 * benchtests/bench-memmem.c (simple_memmem): Likewise.
841 * catgets/open_catalog.c (__open_catalog): Likewise.
842 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
843 * debug/confstr_chk.c: Likewise.
844 * debug/fread_chk.c (__fread_chk): Likewise.
845 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
846 * debug/getgroups_chk.c: Likewise.
847 * debug/mbsnrtowcs_chk.c: Likewise.
848 * debug/mbsrtowcs_chk.c: Likewise.
849 * debug/mbstowcs_chk.c: Likewise.
850 * debug/memcpy_chk.c: Likewise.
851 * debug/memmove_chk.c: Likewise.
852 * debug/mempcpy_chk.c: Likewise.
853 * debug/memset_chk.c: Likewise.
854 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
855 * debug/strcat_chk.c (__strcat_chk): Likewise.
856 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
857 * debug/strncat_chk.c (__strncat_chk): Likewise.
858 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
859 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
860 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
861 * debug/wcpncpy_chk.c: Likewise.
862 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
863 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
864 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
865 * debug/wcsncpy_chk.c: Likewise.
866 * debug/wcsnrtombs_chk.c: Likewise.
867 * debug/wcsrtombs_chk.c: Likewise.
868 * debug/wcstombs_chk.c: Likewise.
869 * debug/wmemcpy_chk.c: Likewise.
870 * debug/wmemmove_chk.c: Likewise.
871 * debug/wmempcpy_chk.c: Likewise.
872 * debug/wmemset_chk.c: Likewise.
873 * dirent/scandirat.c (SCANDIRAT): Likewise.
874 * dlfcn/dladdr1.c (dladdr1): Likewise.
875 * dlfcn/dladdr.c (dladdr): Likewise.
876 * dlfcn/dlclose.c (dlclose_doit): Likewise.
877 * dlfcn/dlerror.c (__dlerror): Likewise.
878 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
879 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
880 * dlfcn/dlopen.c (dlopen_doit): Likewise.
881 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
882 * dlfcn/dlsym.c (dlsym_doit): Likewise.
883 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
884 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
885 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
886 Likewise.
887 * elf/dl-conflict.c: Likewise.
888 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
889 * elf/dl-dst.h: Likewise.
890 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
891 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
892 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
893 * elf/dl-init.c (call_init, _dl_init): Likewise.
894 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
895 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
896 _dl_map_object_from_fd, open_verify, open_path,
897 _dl_map_object): Likewise.
898 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
899 Likewise.
900 * elf/dl-minimal.c (__libc_memalign): Likewise.
901 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
902 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
903 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
904 * elf/dl-sym.c (do_sym): Likewise.
905 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
906 _dl_tls_get_addr_soft): Likewise.
907 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
908 * elf/dl-writev.h (_dl_writev): Likewise.
909 * elf/ldconfig.c (search_dir): Likewise.
910 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
911 dl_main): Likewise.
912 * elf/setup-vdso.h (setup_vdso): Likewise.
913 * grp/compat-initgroups.c (compat_call): Likewise.
914 * grp/fgetgrent.c (fgetgrent): Likewise.
915 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
916 * grp/putgrent.c (putgrent): Likewise.
917 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
918 Likewise.
919 * hurd/hurdinit.c: Likewise.
920 * iconvdata/8bit-gap.c (struct): Likewise.
921 * iconvdata/ansi_x3.110.c : Likewise.
922 * iconvdata/big5.c : Likewise.
923 * iconvdata/big5hkscs.c : Likewise.
924 * iconvdata/cp1255.c: Likewise.
925 * iconvdata/cp1258.c : Likewise.
926 * iconvdata/cp932.c : Likewise.
927 * iconvdata/euc-cn.c: Likewise.
928 * iconvdata/euc-jisx0213.c : Likewise.
929 * iconvdata/euc-jp.c: Likewise.
930 * iconvdata/euc-jp-ms.c : Likewise.
931 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
932 * iconvdata/gb18030.c : Likewise.
933 * iconvdata/gbbig5.c (const): Likewise.
934 * iconvdata/gbgbk.c: Likewise.
935 * iconvdata/gbk.c : Likewise.
936 * iconvdata/ibm1364.c : Likewise.
937 * iconvdata/ibm930.c : Likewise.
938 * iconvdata/ibm932.c: Likewise.
939 * iconvdata/ibm933.c : Likewise.
940 * iconvdata/ibm935.c : Likewise.
941 * iconvdata/ibm937.c : Likewise.
942 * iconvdata/ibm939.c : Likewise.
943 * iconvdata/ibm943.c: Likewise.
944 * iconvdata/iso_11548-1.c: Likewise.
945 * iconvdata/iso-2022-cn.c : Likewise.
946 * iconvdata/iso-2022-cn-ext.c : Likewise.
947 * iconvdata/iso-2022-jp-3.c: Likewise.
948 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
949 * iconvdata/iso-2022-kr.c : Likewise.
950 * iconvdata/iso646.c (gconv_end): Likewise.
951 * iconvdata/iso_6937-2.c : Likewise.
952 * iconvdata/iso_6937.c : Likewise.
953 * iconvdata/iso8859-1.c: Likewise.
954 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
955 * iconvdata/shift_jisx0213.c : Likewise.
956 * iconvdata/sjis.c : Likewise.
957 * iconvdata/t.61.c : Likewise.
958 * iconvdata/tcvn5712-1.c : Likewise.
959 * iconvdata/tscii.c: Likewise.
960 * iconvdata/uhc.c : Likewise.
961 * iconvdata/unicode.c (gconv_end): Likewise.
962 * iconvdata/utf-16.c (gconv_end): Likewise.
963 * iconvdata/utf-32.c (gconv_end): Likewise.
964 * iconvdata/utf-7.c (base64): Likewise.
965 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
966 * iconv/gconv_close.c (__gconv_close): Likewise.
967 * iconv/gconv_open.c (__gconv_open): Likewise.
968 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
969 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
970 internal_ucs4le_loop_single, ucs4le_internal_loop,
971 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
972 * iconv/iconv.c (iconv): Likewise.
973 * iconv/iconv_close.c: Likewise.
974 * iconv/loop.c (SINGLE): Likewise.
975 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
976 * include/atomic.h: Likewise.
977 * inet/inet6_option.c (option_alloc): Likewise.
978 * intl/bindtextdom.c (set_binding_values): Likewise.
979 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
980 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
981 * intl/localealias.c (read_alias_file): Likewise.
982 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
983 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
984 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
985 * libio/fmemopen.c (fmemopen): Likewise.
986 * libio/iofgets.c (_IO_fgets): Likewise.
987 * libio/iofgets_u.c (fgets_unlocked): Likewise.
988 * libio/iofgetws.c (fgetws): Likewise.
989 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
990 * libio/iogetdelim.c (_IO_getdelim): Likewise.
991 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
992 adjust_wide_data, _IO_wfile_seekoff): Likewise.
993 * locale/findlocale.c (_nl_find_locale): Likewise.
994 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
995 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
996 Likewise.
997 * locale/setlocale.c (setlocale): Likewise.
998 * login/programs/pt_chown.c (main): Likewise.
999 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
1000 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
1001 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
1002 mmap, mmap64, mremap, munmap): Likewise.
1003 * math/e_exp2l.c: Likewise.
1004 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
1005 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
1006 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
1007 * math/s_catan.c (__catan): Likewise.
1008 * math/s_catanf.c (__catanf): Likewise.
1009 * math/s_catanh.c (__catanh): Likewise.
1010 * math/s_catanhf.c (__catanhf): Likewise.
1011 * math/s_catanhl.c (__catanhl): Likewise.
1012 * math/s_catanl.c (__catanl): Likewise.
1013 * math/s_ccosh.c (__ccosh): Likewise.
1014 * math/s_ccoshf.c (__ccoshf): Likewise.
1015 * math/s_ccoshl.c (__ccoshl): Likewise.
1016 * math/s_cexp.c (__cexp): Likewise.
1017 * math/s_cexpf.c (__cexpf): Likewise.
1018 * math/s_cexpl.c (__cexpl): Likewise.
1019 * math/s_clog10.c (__clog10): Likewise.
1020 * math/s_clog10f.c (__clog10f): Likewise.
1021 * math/s_clog10l.c (__clog10l): Likewise.
1022 * math/s_clog.c (__clog): Likewise.
1023 * math/s_clogf.c (__clogf): Likewise.
1024 * math/s_clogl.c (__clogl): Likewise.
1025 * math/s_csin.c (__csin): Likewise.
1026 * math/s_csinf.c (__csinf): Likewise.
1027 * math/s_csinh.c (__csinh): Likewise.
1028 * math/s_csinhf.c (__csinhf): Likewise.
1029 * math/s_csinhl.c (__csinhl): Likewise.
1030 * math/s_csinl.c (__csinl): Likewise.
1031 * math/s_csqrt.c (__csqrt): Likewise.
1032 * math/s_csqrtf.c (__csqrtf): Likewise.
1033 * math/s_csqrtl.c (__csqrtl): Likewise.
1034 * math/s_ctan.c (__ctan): Likewise.
1035 * math/s_ctanf.c (__ctanf): Likewise.
1036 * math/s_ctanh.c (__ctanh): Likewise.
1037 * math/s_ctanhf.c (__ctanhf): Likewise.
1038 * math/s_ctanhl.c (__ctanhl): Likewise.
1039 * math/s_ctanl.c (__ctanl): Likewise.
1040 * math/w_pow.c: Likewise.
1041 * math/w_powf.c: Likewise.
1042 * math/w_powl.c: Likewise.
1043 * math/w_scalb.c (sysv_scalb): Likewise.
1044 * math/w_scalbf.c (sysv_scalbf): Likewise.
1045 * math/w_scalbl.c (sysv_scalbl): Likewise.
1046 * misc/error.c (error_tail): Likewise.
1047 * misc/pselect.c (__pselect): Likewise.
1048 * nis/nis_callback.c (__nis_create_callback): Likewise.
1049 * nis/nis_call.c (__nisfind_server): Likewise.
1050 * nis/nis_creategroup.c (nis_creategroup): Likewise.
1051 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
1052 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1053 * nis/nis_getservlist.c (nis_getservlist): Likewise.
1054 * nis/nis_lookup.c (nis_lookup): Likewise.
1055 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
1056 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
1057 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
1058 * nis/nis_xdr.c (xdr_endpoint): Likewise.
1059 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
1060 internal_getgrgid_r): Likewise.
1061 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
1062 Likewise.
1063 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
1064 internal_getpwuid_r): Likewise.
1065 * nis/nss_compat/compat-spwd.c (getspent_next_file,
1066 internal_getspnam_r): Likewise.
1067 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
1068 _nss_nis_getaliasbyname_r): Likewise.
1069 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
1070 _nss_nis_getntohost_r): Likewise.
1071 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
1072 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
1073 Likewise.
1074 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
1075 internal_nis_gethostent_r, internal_gethostbyname2_r,
1076 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
1077 _nss_nis_gethostbyname4_r): Likewise.
1078 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
1079 initgroups_netid): Likewise.
1080 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
1081 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
1082 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
1083 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
1084 _nss_nis_getprotobynumber_r): Likewise.
1085 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
1086 _nss_nis_getsecretkey): Likewise.
1087 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
1088 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
1089 Likewise.
1090 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
1091 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
1092 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
1093 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
1094 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
1095 _nss_nis_getspnam_r): Likewise.
1096 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
1097 Likewise.
1098 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
1099 _nss_nisplus_getntohost_r): Likewise.
1100 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
1101 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
1102 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
1103 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
1104 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
1105 Likewise.
1106 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
1107 _nss_nisplus_getnetbyaddr_r): Likewise.
1108 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
1109 _nss_nisplus_getprotobynumber_r): Likewise.
1110 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
1111 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
1112 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
1113 Likewise.
1114 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
1115 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
1116 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
1117 _nss_nisplus_getspnam_r): Likewise.
1118 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
1119 * nscd/aicache.c (addhstaiX): Likewise.
1120 * nscd/cache.c (cache_search, prune_cache): Likewise.
1121 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
1122 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
1123 * nscd/grpcache.c (addgrbyX): Likewise.
1124 * nscd/hstcache.c (addhstbyX): Likewise.
1125 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1126 * nscd/mem.c (gc, mempool_alloc): Likewise.
1127 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
1128 Likewise.
1129 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
1130 Likewise.
1131 * nscd/nscd_getai.c (__nscd_getai): Likewise.
1132 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1133 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
1134 Likewise.
1135 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
1136 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
1137 * nscd/nscd_helper.c (__readvall, open_socket,
1138 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
1139 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
1140 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
1141 * nscd/pwdcache.c (addpwbyX): Likewise.
1142 * nscd/selinux.c (preserve_capabilities): Likewise.
1143 * nscd/servicescache.c (addservbyX): Likewise.
1144 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
1145 * posix/fnmatch.c (fnmatch): Likewise.
1146 * posix/getopt.c (_getopt_internal_r): Likewise.
1147 * posix/glob.c (glob, glob_in_dir): Likewise.
1148 * posix/wordexp.c (exec_comm_child): Likewise.
1149 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
1150 gaih_getanswer_slice): Likewise.
1151 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
1152 * resolv/res_init.c: Likewise.
1153 * resolv/res_mkquery.c (res_nmkquery): Likewise.
1154 * resolv/res_query.c (__libc_res_nquery): Likewise.
1155 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
1156 Likewise.
1157 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
1158 * stdio-common/perror.c (perror): Likewise.
1159 * stdio-common/printf_fp.c (___printf_fp): Likewise.
1160 * stdio-common/tmpnam.c (tmpnam): Likewise.
1161 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1162 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
1163 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
1164 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
1165 * stdlib/putenv.c (putenv): Likewise.
1166 * stdlib/setenv.c (__add_to_environ): Likewise.
1167 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1168 * stdlib/strtol_l.c (INTERNAL): Likewise.
1169 * string/memmem.c (memmem): Likewise.
1170 * string/strerror.c (strerror): Likewise.
1171 * string/strnlen.c (__strnlen): Likewise.
1172 * string/test-memmem.c (simple_memmem): Likewise.
1173 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
1174 * sunrpc/pm_getport.c (__get_socket): Likewise.
1175 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
1176 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
1177 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
1178 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
1179 Likewise.
1180 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
1181 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1182 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
1183 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
1184 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
1185 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
1186 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
1187 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
1188 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
1189 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1190 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
1191 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
1192 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
1193 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1194 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
1195 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
1196 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
1197 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
1198 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
1199 Likewise.
1200 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
1201 Likewise.
1202 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
1203 Likewise.
1204 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
1205 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1206 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
1207 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
1208 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
1209 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
1210 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1211 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
1212 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
1213 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
1214 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
1215 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1216 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1217 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
1218 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1219 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
1220 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
1221 Likewise.
1222 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
1223 Likewise.
1224 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
1225 Likewise.
1226 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1227 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1228 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
1229 Likewise.
1230 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
1231 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
1232 * sysdeps/posix/opendir.c (__opendirat): Likewise.
1233 * sysdeps/posix/sleep.c: Likewise.
1234 * sysdeps/posix/tempname.c: Likewise.
1235 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
1236 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1237 Likewise.
1238 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
1239 elf_machine_rela): Likewise.
1240 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1241 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1242 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
1243 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
1244 Likewise.
1245 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
1246 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
1247 elf_machine_rela, elf_machine_lazy_rel): Likewise.
1248 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
1249 elf_machine_rela, elf_machine_lazy_rel): Likewise.
1250 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
1251 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
1252 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
1253 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1254 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
1255 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
1256 elf_machine_lazy_rel): Likewise.
1257 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
1258 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
1259 elf_machine_lazy_rel): Likewise.
1260 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
1261 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
1262 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
1263 * sysdeps/unix/grantpt.c (grantpt): Likewise.
1264 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
1265 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
1266 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
1267 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1268 Likewise.
1269 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
1270 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
1271 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
1272 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
1273 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1274 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1275 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
1276 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
1277 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
1278 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1279 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1280 Likewise.
1281 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
1282 (__posix_fallocate64_l64): Likewise.
1283 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
1284 (posix_fallocate): Likewise.
1285 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
1286 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1287 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
1288 getifaddrs_internal): Likewise.
1289 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
1290 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
1291 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
1292 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1293 * sysdeps/unix/sysv/linux/posix_fallocate64.c
1294 (__posix_fallocate64_l64): Likewise.
1295 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1296 Likewise.
1297 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
1298 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1299 Likewise.
1300 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
1301 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1302 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
1303 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1304 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1305 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
1306 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
1307 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
1308 Likewise.
1309 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
1310 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
1311 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
1312 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
1313 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1314 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
1315 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
1316 Likewise.
1317 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1318 (posix_fallocate): Likewise.
1319 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1320 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
1321 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
1322 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
1323 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
1324 Likewise.
1325 * time/asctime.c (asctime_internal): Likewise.
1326 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
1327 * time/tzset.c (__tzset_parse_tz): Likewise.
1328 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1329 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1330 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
1331 * wcsmbs/wcsmbsload.h: Likewise.
1332
f3d338c9
OB
13332014-02-10 Ondřej Bílka <neleai@seznam.cz>
1334
1335 [BZ #15894]
1336 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
1337
bdfe308a
OB
13382014-02-10 Ondřej Bílka <neleai@seznam.cz>
1339
1340 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
1341 arena_get2): Remove THREAD_STATS conditionals.
1342 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
1343 __malloc_stats, int): Likewise.
1344
d674667c
MF
13452014-02-08 Mike Frysinger <vapier@gentoo.org>
1346
1347 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
1348 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
1349
6349768c
MF
13502014-02-08 Mike Frysinger <vapier@gentoo.org>
1351
1352 * manual/setjmp.texi: Fix typos/grammar errors.
1353
0b7c7473
MF
13542014-02-08 Mike Frysinger <vapier@gentoo.org>
1355
1356 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
1357 Only return early when n is <= 0. Delete unused return statement.
1358
ac8cc9e3
MF
13592014-02-08 Mike Frysinger <vapier@gentoo.org>
1360
1361 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
1362 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
1363 * debug/tst-longjmp_chk3.c: New file.
1364
c5bb8e23
MF
13652014-02-08 Mike Frysinger <vapier@gentoo.org>
1366
1367 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
1368 (test_main): Replace code with set_fortify_handler call.
1369 * debug/test-strcpy_chk.c: Likewise.
1370 * debug/tst-chk1.c: Likewise.
1371 * debug/tst-longjmp_chk.c: Likewise.
1372 * test-skeleton.c: Include fcntl.h & paths.h
1373 (set_fortify_handler): Define.
1374
10444e42
MF
13752014-02-08 Mike Frysinger <vapier@gentoo.org>
1376
1377 * debug/tst-longjmp_chk.c: Add header comment and include
1378 ../test-skeleton.c.
1379 (do_test): Mark static.
1380 (TEST_FUNCTION): Define.
1381
1e805e8d
MF
13822014-02-08 Mike Frysinger <vapier@gentoo.org>
1383
1384 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
1385 (IP_PMTUDISC_INTERFACE): Likewise.
1386 (IP_MULTICAST_IF): Likewise.
1387 (IP_MULTICAST_TTL): Likewise.
1388 (IP_MULTICAST_LOOP): Likewise.
1389 (IP_ADD_MEMBERSHIP): Likewise.
1390 (IP_DROP_MEMBERSHIP): Likewise.
1391 (IP_UNBLOCK_SOURCE): Likewise.
1392 (IP_BLOCK_SOURCE): Likewise.
1393 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
1394 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
1395 (IP_MSFILTER): Likewise.
1396 (MCAST_JOIN_GROUP): Likewise.
1397 (MCAST_BLOCK_SOURCE): Likewise.
1398 (MCAST_UNBLOCK_SOURCE): Likewise.
1399 (MCAST_LEAVE_GROUP): Likewise.
1400 (MCAST_JOIN_SOURCE_GROUP): Likewise.
1401 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1402 (MCAST_MSFILTER): Likewise.
1403 (IP_MULTICAST_ALL): Likewise.
1404 (IP_UNICAST_IF): Likewise.
1405
73f79bb7
MF
14062014-02-08 Mike Frysinger <vapier@gentoo.org>
1407
1408 * timezone/Makefile: Delete $(have-ksh) check.
1409 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
1410 * timezone/tzselect.ksh: Add +x mode bits.
1411
8da79b60
MF
14122014-02-08 Mike Frysinger <vapier@gentoo.org>
1413
1414 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
1415 (ANON_INODE_FS_MAGIC): Likewise.
1416 (BDEVFS_MAGIC): Likewise.
1417 (BINFMTFS_MAGIC): Likewise.
1418 (BTRFS_TEST_MAGIC): Likewise.
1419 (CRAMFS_MAGIC_WEND): Likewise.
1420 (DEBUGFS_MAGIC): Likewise.
1421 (ECRYPTFS_SUPER_MAGIC): Likewise.
1422 (EXT3_SUPER_MAGIC): Likewise.
1423 (EXT4_SUPER_MAGIC): Likewise.
1424 (FUTEXFS_SUPER_MAGIC): Likewise.
1425 (HOSTFS_SUPER_MAGIC): Likewise.
1426 (HUGETLBFS_MAGIC): Likewise.
1427 (MINIX3_SUPER_MAGIC): Likewise.
1428 (MTD_INODE_FS_MAGIC): Likewise.
1429 (NILFS_SUPER_MAGIC): Likewise.
1430 (OPENPROM_SUPER_MAGIC): Likewise.
1431 (PIPEFS_MAGIC): Likewise.
1432 (PSTOREFS_MAGIC): Likewise.
1433 (QNX6_SUPER_MAGIC): Likewise.
1434 (RAMFS_MAGIC): Likewise.
1435 (REISERFS_SUPER_MAGIC_STRING): Likewise.
1436 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
1437 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
1438 (SECURITYFS_MAGIC): Likewise.
1439 (SELINUX_MAGIC): Likewise.
1440 (SMACK_MAGIC): Likewise.
1441 (SOCKFS_MAGIC): Likewise.
1442 (SQUASHFS_MAGIC): Likewise.
1443 (STACK_END_MAGIC): Likewise.
1444 (TMPFS_MAGIC): Likewise.
1445 (USBDEVICE_SUPER_MAGIC): Likewise.
1446 (V9FS_MAGIC): Likewise.
1447 (XENFS_SUPER_MAGIC): Likewise.
1448 (CRAMFS_MAGIC): Fix typo in comment.
1449 (EXT2_SUPER_MAGIC): Update comment.
1450 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
1451
464263cc
JM
14522014-02-08 Joseph Myers <joseph@codesourcery.com>
1453
c6bfe5c4
JM
1454 * sysdeps/arm: Move directory from ports/sysdeps/arm.
1455 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
1456 * sysdeps/unix/sysv/linux/arm: Move directory from
1457 ports/sysdeps/unix/sysv/linux/arm.
1458 * README: Update listing for arm-*-linux-gnueabi.
1459
464263cc
JM
1460 * README: Remove mention of am33.
1461
32749f6c
RM
14622014-02-07 Roland McGrath <roland@hack.frob.com>
1463
1464 * bits/sigset.h (__sigemptyset): Use a statement expression rather
1465 than the comma operator, to avoid "rhs of comma has no effect"
1466 compiler warnings.
1467 (__sigfillset, __sigandset, __sigorset): Likewise.
1468 * include/signal.h (__sigemptyset): Likewise.
1469 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
1470
d5b396c1
AM
14712014-02-07 Allan McRae <allan@archlinux.org>
1472
1473 * version.h (RELEASE): Set to "development".
1474 (VERSION): Set to "2.19.90"
1475 * NEWS: Add 2.20 section.
1476
3bfff2ed
CD
14772014-02-06 Carlos O'Donell <carlos@redhat.com>
1478
1479 [BZ #16529]
1480 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
1481
ee7cc385
SP
14822014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1483
1484 * manual/contrib.texi: Update entry for Carlos O'Donell,
1485 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
1486
f877c4f2
CD
14872014-02-05 Carlos O'Donell <carlos@rehdat.com>
1488
27e839f6
CD
1489 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
1490
f877c4f2
CD
1491 * sysdeps/unix/sysv/linux/kernel-features.h
1492 [__LINUX_KERNEL_VERSION >= 0x020621]
1493 (__ASSUME_PROC_PID_TASK_COMM): Define.
1494
68159946
SP
14952014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1496
1497 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
1498 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
1499 Leonard and Allan McRae.
1500
2b528732
DM
15012014-02-04 David S. Miller <davem@davemloft.net>
1502
1503 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
1504 32-bit.
1505
0ff82463
AZ
15062014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1507
c01603f7
AZ
1508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
1509 file
1510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1511 New file
1512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
1513 file.
1514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
1515 file.
1516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1517 New file.
1518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
1519 file.
1520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
1521 file.
1522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1523 New file.
1524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1525 New file.
1526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1527 New file.
1528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1529 New file.
1530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1531 New file.
1532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1533 New file.
1534
15352014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1536
0ff82463
AZ
1537 * nptl/shlib-versions: Change powerpc*le start to 2.17.
1538 * shlib-versions: Likewise.
1539
1695c773
AZ
15402014-02-04 Roland McGrath <roland@hack.frob.com>
1541 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1542
1543 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
1544 (abilist-pattern): New variable, set to %-le.abilist.
1545
1546 * Makerules (abilist-pattern): New variable.
1547 (vpath): Use $(abilist-pattern) in place of %.abilist.
1548 (check-abi-% pattern rule): Likewise.
1549 (check-abi, update-abi): Likewise.
1550
6c0ce4b4
EW
15512014-02-04 Eric Wong <normalperson@yhbt.net>
1552
1553 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1554
dc98b8f5
EW
15552014-02-04 Eric Wong <normalperson@yhbt.net>
1556
1557 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1558
481e3524
CD
15592014-02-03 Carlos O'Donell <carlos@redhat.com>
1560
1561 * manual/startup.texi: Add next, previous, and top entries for
1562 the `Program Arguments' and `Environment Variables' nodes.
1563
375592d3
AO
15642014-02-03 Alexandre Oliva <aoliva@redhat.com>
1565
1566 * manual/macros.texi: Add comments before MTASC-safety macros.
1567
f54838ba
AO
1568 * manual/users.texi: Document MTASC-safety properties.
1569
909e12ad
AO
1570 * manual/threads.texi (pthread_key_create, pthread_key_delete,
1571 pthread_getspecific, pthread_setspecific): Format with
1572 @deftypefun, and add @safety note.
1573 * manual/signal.texi: Move comments that analyze the above
1574 functions to their home place.
1575
fd3daba4
AM
15762014-02-03 Allan McRae <allan@archlinux.org>
1577
1578 * po/sl.po: Update Slovenian translation from translation project.
1579
597636d7
AO
15802014-02-02 Alexandre Oliva <aoliva@redhat.com>
1581
1582 * manual/time.texi (timegm): Add missing blank after @c.
1583 Reported by Joseph Myers <joseph@codesourcery.com>.
1584
ee196e3c
AO
15852014-02-01 Alexandre Oliva <aoliva@redhat.com>
1586
1587 * manual/check-safety.sh: New.
1588 * manual/Makefile ($(objpfx)stamp-summary): Run it.
1589
f8d529d5
AO
1590 * manual/terminal.texi: Document MTASC-safety properties.
1591
de55fdf4
AO
1592 * manual/filesys.texi: Document MTASC-safety properties.
1593
c3299c08
AO
1594 * manual/errno.texi: Document MTASC-safety properties.
1595
06e90b14
AO
1596 * manual/intro.texi: Document safety identifiers and
1597 conditionals.
1598
1acd4371
AO
1599 * manual/string.texi (wcstok): Fix prototype.
1600 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
1601
23e5b8cb
AO
1602 * manual/time.texi: Document MTASC-safety properties.
1603
11087373
AO
1604 * manual/string.texi: Document MTASC-safety properties.
1605
5da2c93d
AO
1606 * manual/threads.texi: Document MTASC-safety properties.
1607
171e9210
AO
1608 * manual/stdio.texi: Document MTASC-safety properties.
1609
d9e02532
AO
1610 * manual/syslog.texi: Document MTASC-safety properties.
1611
6af8bab7
AO
1612 * manual/sysinfo.texi: Document MTASC-safety properties.
1613
663b02d7
AO
1614 * manual/startup.texi: Document MTASC-safety properties.
1615
973f180b
AO
1616 * manual/socket.texi: Document MTASC-safety properties.
1617
8f3c25c8
AO
1618 * manual/signal.texi: Document MTASC-safety properties.
1619
542210fb
AO
16202014-01-31 Alexandre Oliva <aoliva@redhat.com>
1621
1622 * manual/setjmp.texi: Document MTASC-safety properties.
1623
433c45a2
AO
1624 * manual/search.texi: Document MTASC-safety properties.
1625
c8ce789c
AO
1626 * manual/resource.texi: Document MTASC-safety properties.
1627
19f5d29c
AO
1628 * manual/process.texi: Document MTASC-safety properties.
1629
e2dfb7f4
AO
1630 * manual/platform.texi: Document MTASC-safety properties.
1631
8c1413f5
AO
1632 * manual/pipe.texi: Document MTASC-safety properties.
1633
03483ada
AO
1634 * manual/pattern.texi: Document MTASC-safety properties.
1635
29e7e2df
AO
1636 * manual/message.texi: Document MTASC-safety properties.
1637
9f529d7c
AO
1638 [BZ #12751]
1639 * manual/memory.texi: Document MTASC-safety properties.
1640
27aaa791
AO
1641 * manual/math.texi: Document MTASC-safety properties.
1642
f2d58726
AO
1643 * manual/locale.texi: Document MTASC-safety properties.
1644
2cc3615c
AO
1645 * manual/llio.texi: Document MTASC-safety properties.
1646
d9f0ec97
AO
1647 * manual/libdl.texi: New.
1648
e7c4409a
AO
1649 * manual/lang.texi: Document MTASC-safety properties.
1650
27bdc63c
AO
1651 * manual/job.texi: Document MTASC-safety properties.
1652
a7b90ea9
AO
1653 * manual/getopt.texi: Document MTASC-safety properties.
1654
c49130e3
AO
1655 * manual/ctype.texi: Document MTASC-safety properties.
1656
0d23a5c1
MR
16572014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
1658
1659 [BZ #16046]
1660 * csu/libc-tls.c (static_map): Remove variable.
1661 (__libc_setup_tls): Use main executable's link map for TLS data.
1662 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
1663 casing for LM_ID_BASE and GL(dl_nns).
1664 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
1665 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
1666 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
1667 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
1668 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
1669 member.
1670 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
1671 l_phnum members.
1672
0037bb60
AO
16732014-01-30 Alexandre Oliva <aoliva@redhat.com>
1674
1675 * manual/debug.texi: Document MTASC-safety properties.
1676
409e00bd
L
16772014-01-29 H.J. Lu <hongjiu.lu@intel.com>
1678
1679 [BZ #16510]
1680 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
1681 of __x86_64__ when disabling x87 inline functions.
1682
86e60666
AO
16832014-01-29 Alexandre Oliva <aoliva@redhat.com>
1684
1685 * manual/charset.texi: Document MTASC-safety properties.
1686
76167637
AO
1687 * manual/crypt.texi: Document MTASC-safety properties.
1688
e567f2a0
AO
1689 * manual/conf.texi: Document MTASC-safety properties.
1690
b719dafd
AO
1691 * manual/arith.texi: Document MTASC-safety properties.
1692
4a16c662
AO
1693 * manual/argp.texi: Document MTASC-safety properties.
1694
0a57b83e
AO
1695 * manual/macros.texi: Introduce macros to document multi
1696 thread, asynchronous signal and asynchronous cancellation
1697 safety properties.
1698 * manual/intro.texi: Introduce the properties themselves.
1699
feab2397
KK
17002014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1701
1702 * sysdeps/sh/sh4/Makefile: New file.
1703
1c0d11bc
AS
17042014-01-27 Andreas Schwab <schwab@linux-m68k.org>
1705
1706 * math/gen-libm-test.pl ($srcdir): New variable.
1707 ($auto_input): Use it.
1708
af37a8a3
SP
17092014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1710
d7b00f98
SP
1711 [BZ #16506]
1712 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
1713 access beyond array bounds when parsing netgroups file.
1714
af37a8a3
SP
1715 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
1716 the old buffer before realloc.
1717
0c00f062
AM
17182014-01-27 Allan McRae <allan@archlinux.org>
1719
1720 * po/fr.po: Update French translation from translation project.
1721
7d69a1b0
KK
17222014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1723
1724 * sysdeps/sh/libm-test-ulps: Regenerate.
1725
6e697ff7
DM
17262014-01-24 David S. Miller <davem@davemloft.net>
1727
1728 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
1729
9cadb35c
KK
17302014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1731
1732 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
1733 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
1734
5d41dadf
SP
17352013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1736
1737 [BZ #16474]
1738 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
1739 string pointers after reallocation.
1740
0bad441c
KK
17412014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1742
1743 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
1744 __SH4A__ instead of __SH_FPU_ANY__.
1745
7007c661
KK
17462014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1747
1748 * sysdeps/sh/fpu_control.h: New file.
1749 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
1750 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
1751 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
1752 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
1753 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
1754 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
1755 * sysdeps/sh/sys/ucontext.h: Remove.
1756 * sysdeps/sh/sys: Remove directory.
1757
0f0c35e4
AK
17582014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1759
1760 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
1761 s390/sys/ucontext.h.
1762 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1763 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
1764
4959e284
L
17652014-01-20 H.J. Lu <hongjiu.lu@intel.com>
1766
1767 [BZ #15605]
1768 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
1769
d98720e0
AZ
17702014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1771
1772 [BZ#16431]
1773 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1774 Adjust the vDSO correctly for internal calls.
1775 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
1776
91cbd0bc
AM
17772014-01-20 Allan McRae <allan@archlinux.org>
1778
1779 * po/ca.po: Update Catalan translation from translation project.
1780
7a02cfad
MF
17812014-01-16 Mike Frysinger <vapier@gentoo.org>
1782
1783 * sysdeps/s390/sotruss-lib.c: New file.
1784
736c304a
AZ
17852014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1786
1787 [BZ#16430]
6e077ee5 1788 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
1789 (__GI___gettimeofday): Alias for a different internal symbol to avoid
1790 local calls issues by not having a PLT stub required for IFUNC calls.
1791 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
1792
94d0cea0
JM
17932014-01-16 Joseph Myers <joseph@codesourcery.com>
1794
1795 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
1796 * math/test-fpucw-static.c: Likewise.
1797
980cb518
SP
17982013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1799
1800 [BZ #16453]
1801 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
1802
2393fc01
AZ
18032014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1804
1805 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
1806 implementation for powerpc.
1807
d359bcc2
OB
18082014-01-15 Ondřej Bílka <neleai@seznam.cz>
1809
1810 [BZ #14782]
1811 * sysdeps/posix/system.c (__libc_system): Do not enable
1812 asynchronous cancellation.
1813
7beb48cb
AK
18142014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1815
1816 [BZ #16427]
1817 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
1818 handling only for numbers special also in the IEEE case.
1819
c20d5bf5
AK
18202014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1821
1822 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1823
e83bd4ee
AM
18242014-01-11 Allan McRae <allan@archlinux.org>
1825
76d0ea69
AM
1826 * po/bg.po: Update Bulgarian translation from translation project.
1827
e83bd4ee
AM
1828 * po/de.po: Update German translation from translation project.
1829
bc2ba20a
RM
18302014-01-10 Roland McGrath <roland@hack.frob.com>
1831
1832 * sysdeps/generic/gcc-compat.h: New file.
1833
649ecea2
SP
18342014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1835
1836 * benchtests/asin-inputs: Correct slow inputs.
1837 * benchtests/acos-inputs: Likewise.
1838
1b19c006
AM
18392014-01-10 Allan McRae <allan@archlinux.org>
1840
a46dab08
AM
1841 * po:sv.po: Update Swedish translation from translation project.
1842
421df74a
AM
1843 * po/vi.po: Update Vietnamese translation from translation project.
1844
d61c51a7
AM
1845 * po/eo.po: Update Esperanto translation from translation project.
1846
0339a319
AM
1847 * po/cs.po: Update Czech translation from translation project.
1848
94ad3e99
AM
1849 * po/nl.po: Update Dutch translation from translation project.
1850
e349ca71
AM
1851 * po/pl.po: Update Polish translation from translation project.
1852
ddf930c1
AM
1853 * po/ru.po: Update Russian translation from translation project.
1854
1b19c006
AM
1855 * po/uk.po: Update Ukrainian translation from translation project.
1856
9f236c49
BM
18572014-01-08 Brooks Moses <bmoses@google.com>
1858
1859 * elf/dl-load.c: Fix comment typo.
1860
cd6701cf
CD
18612014-01-08 Carlos O'Donell <carlos@redhat.com>
1862
1863 * po/header.pot: Rename to...
1864 * po/pot.header: ... this.
1865 * po/Makefile: Use pot.header.
1866
66671c84
YK
18672014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
1868 Maxim Kuvyrkov <maxim@kugelworks.com>
1869
1870 [BZ #16394]
cd6701cf
CD
1871 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
1872 SRC and DEST against LEN.
66671c84 1873
38f34581
AZ
18742014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1875
1876 [BZ #16414]
1877 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
1878 implementation.
1879 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
1880
18812014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
1882
1883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1884
4c327f2a
JM
18852014-01-08 Joseph Myers <joseph@codesourcery.com>
1886
1887 [BZ #16408]
1888 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
1889 for large positive arguments.
1890
b821f414
JM
18912014-01-07 Joseph Myers <joseph@codesourcery.com>
1892
1f0f2067
JM
1893 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1894
a5a326f6
JM
1895 * math/auto-libm-test-in: Mark various tests with
1896 xfail-rounding:ldbl-128ibm.
1897 * math/auto-libm-test-out: Regenerated.
1898
b821f414
JM
1899 [BZ #16407]
1900 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1901 Increase overflow threshold.
1902
94c8a4bc
OB
19032014-01-07 Ondřej Bílka <neleai@seznam.cz>
1904
1905 [BZ #14286]
1906 * stdio-common/vfprintf.c: Check for integer overflow.
1907
87ded0c3
AK
19082014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1909
1910 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
1911 the first argument and return value of __tls_get_addr_internal.
1912
c5eebdd0
AK
19132014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1914
1915 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
1916 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
1917
05d138ef
AK
19182014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1919
1920 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
1921 * sysdeps/s390/rtld-global-offsets.sym: New file.
1922 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
1923 GLIBC_2.19 symbol.
1924 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
1925 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
1926 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1927 ... this.
1928 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
1929 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1930 ... this.
1931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1932 Regenerate.
1933 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1934 Regenerate.
1935 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
1936 halfs of GPRs for high_gprs contexts.
1937 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
1938 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
1939 field.
1940 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
1941 uc_flags field.
1942 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
1943 64 bit versions:
1944 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
1945 for high GPRs (uc_high_gprs) and for future extensions
1946 (__reserved).
1947 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
1948 for future extensions (__reserved).
1949 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
1950 64 bit versions:
1951 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
1952 SC_HIGHGPRS offset definition.
1953 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
1954 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
1955
93a45ff1
AK
19562014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1957
1958 * Versions.def: Add GLIBC_2.19 for libpthread.
1959 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
1960 siglongjmp for libpthread with GLIBC_2.19 symver.
1961 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
1962 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
1963 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
1964 * sysdeps/s390/__longjmp.c: New file.
1965 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
1966 * sysdeps/s390/longjmp.c: New file.
1967 * sysdeps/s390/setjmp.S: New file.
1968 * sysdeps/s390/sigjmp.S: New file.
1969 * sysdeps/s390/v1-longjmp.c: New file.
1970 * sysdeps/s390/v1-setjmp.h: New file.
1971 * sysdeps/s390/v1-sigjmp.c: New file.
1972 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
1973 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
1974 GLIBC_2.19 version.
1975 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
1976 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
1977 versioned symbols for ____longjmp_chk.
1978 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1979 Likewise.
1980 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1981 Regenerate.
1982 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1983 Regenerate.
1984 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1985 Regenerate.
1986 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1987 Regenerate.
1988 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
1989 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
1990 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
1991 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
1992 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
1993 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
1994 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
1995 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
1996 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
1997 * sysdeps/s390/rtld-__longjmp.c: New file.
1998 * sysdeps/s390/rtld-setjmp.S: New file.
1999
eb3fc44b
JM
20002014-01-06 Joseph Myers <joseph@codesourcery.com>
2001
2002 [BZ #16400]
2003 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2004 Return -__logl (x) for small positive arguments without evaluating
2005 a polynomial.
2006
9341dde4
MF
20072014-01-06 Mike Frysinger <vapier@gentoo.org>
2008
2009 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
2010 Rename to ...
2011 (__ptrace_peeksiginfo_args): ... this.
2012 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2013 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2014 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2015
4cff0293
AM
20162014-01-06 Allan McRae <allan@archlinux.org>
2017
2018 * inet/netinet/in.h: Fix typo in comment.
2019
75595dcf
AJ
20202014-01-05 Andreas Jaeger <aj@suse.de>
2021
2022 * sysdeps/i386/fpu/libm-test-ulps: Update.
2023
79c1e109
AM
20242014-01-05 Allan McRae <allan@archlinux.org>
2025
dd804818
AM
2026 * po/libc.pot: Regenerated.
2027
79c1e109
AM
2028 * malloc/memusagestat.c: Fix gettext call formatting.
2029
0c813d1f
SK
20302014-01-04 Sami Kerola <kerolasa@iki.fi>
2031
2032 * nscd/nscd.c: Improve usage() output.
2033
20f4a8d9
MF
20342014-01-04 Mike Frysinger <vapier@gentoo.org>
2035
2036 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
2037 * sysdeps/unix/sysv/linux/configure: Regenerated.
2038 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
2039 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
2040
22562bb2
JM
20412014-01-03 Joseph Myers <joseph@codesourcery.com>
2042
2043 [BZ #16390]
2044 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2045 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
2046
d7ad2d9b
AZ
20472014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2048
2049 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
2050 extra tokens at end of #undef directive.
2051 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
2052 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
2053 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2054
7dd009d8
JM
20552014-01-03 Joseph Myers <joseph@codesourcery.com>
2056
24db925a
JM
2057 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2058
7dd009d8
JM
2059 * math/auto-libm-test-in: Mark various tests with
2060 xfail-rounding:ldbl-128ibm.
2061 * math/auto-libm-test-out: Regenerated.
2062
396e3ecf
JM
20632014-01-02 Joseph Myers <joseph@codesourcery.com>
2064
819e5d50
JM
2065 [BZ #16386]
2066 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
2067 numbers with subnormal high part when calculating exponent.
2068
90b6a1e5
JM
2069 [BZ #16385]
2070 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
2071 fabs.
2072
396e3ecf
JM
2073 [BZ #16384]
2074 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
2075 M_LN2l.
2076 (__ieee754_acoshl): Use __log1pl not __log1p.
2077
6c8dbf00
OB
20782013-01-02 Ondřej Bílka <neleai@seznam.cz>
2079
2080 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
2081 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
2082 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
2083 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
2084 Convert to GNU style.
2085 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
2086 mem2mem_check, mem2chunk_check, top_check, realloc_check,
2087 memalign_check, __malloc_set_state): Likewise.
2088 * malloc/mallocbug.c (main): Likewise.
2089 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
2090 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
2091 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
2092 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
2093 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
2094 * malloc/malloc.h: Likewise.
2095 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
2096 memalignhook, reallochook, mabort): Likewise.
2097 * malloc/mcheck.h: Likewise.
2098 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
2099 mmap64, mremap, munmap, dest): Likewise.
2100 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
2101 * malloc/morecore.c (__default_morecore): Likewise.
2102 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
2103 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
2104 _obstack_allocated_p, obstack_free, _obstack_memory_used,
2105 print_and_abort): Likewise.
2106 * malloc/obstack.h: Likewise.
2107 * malloc/set-freeres.c (__libc_freeres): Likewise.
2108 * malloc/tst-mallocstate.c (main): Likewise.
2109 * malloc/tst-mtrace.c (main): Likewise.
2110 * malloc/tst-realloc.c (do_test): Likewise.
2111
d4124212
SP
21122013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2113
9a3c6a6f
SP
2114 [BZ #16366]
2115 * nscd/netgroupcache.c (do_notfound): New function.
2116 (addgetnetgrentX): Use it.
2117
d4124212
SP
2118 [BZ # 16365]
2119 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
2120 NSS_STATUS_NOTFOUND.
2121
97b9a009
JM
21222014-01-01 Joseph Myers <joseph@codesourcery.com>
2123
2124 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2126
d4697bc9
AM
21272014-01-01 Allan McRae <allan@archlinux.org>
2128
ddb3687f
AM
2129 * scripts/update-copyrights: Update configure input file suffix.
2130
88726d48
AM
2131 * NEWS: Update copyright year.
2132 * catgets/gencat.c: Likewise.
2133 * csu/version.c: Likewise.
2134 * debug/catchsegv.sh: Likewise.
2135 * debug/pcprofiledump.c: Likewise.
2136 * debug/xtrace.sh: Likewise.
2137 * elf/ldconfig.c: Likewise.
2138 * elf/ldd.bash.in: Likewise.
2139 * elf/pldd.c: Likewise.
2140 * elf/sotruss.ksh: Likewise.
2141 * elf/sprof.c: Likewise.
2142 * iconv/iconv_prog.c: Likewise.
2143 * iconv/iconvconfig.c: Likewise.
2144 * locale/programs/locale.c: Likewise.
2145 * locale/programs/localedef.c: Likewise.
2146 * login/programs/pt_chown.c: Likewise.
2147 * malloc/memusage.sh: Likewise.
2148 * malloc/memusagestat.c: Likewise.
2149 * malloc/mtrace.pl: Likewise.
2150 * manual/libc.texinfo: Likewise.
2151 * nscd/nscd.c: Likewise.
2152 * nss/getent.c: Likewise.
2153 * nss/makedb.c: Likewise.
2154 * posix/getconf.c: Likewise.
2155 * scripts/test-installation.pl: Likewise.
2156
d4697bc9
AM
2157 * All files with FSF copyright notices: Update copyright dates
2158 using scripts/update-copyrights.
2159 * intl/plural.c: Regenerated.
2160 * locale/programs/charmap-kw.h: Likewise.
2161 * locale/programs/locfile-kw.h: Likewise.
2162
c8590f9d
MF
21632013-12-31 Mike Frysinger <vapier@gentoo.org>
2164
2165 * sysdeps/unix/sysv/linux/configure: Regenerated.
2166 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
2167 the linux/fanotify.h header.
2168 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
2169 HAVE_LINUX_FANOTIFY_H is defined.
2170
b19221b9
SP
21712013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2172
dd1d85e5
SP
2173 * benchtests/cos-inputs: New inputs.
2174 * benchtests/sin-inputs: Likewise.
2175
1acbb90f
SP
2176 * benchtests/atan-inputs: New inputs. Fix name of multiple
2177 precision fallback inputs.
2178
4c012ed3
SP
2179 * benchtests/atanh-inputs: New inputs.
2180 * benchtests/tanh-inputs: Likewise.
2181
eff98324
SP
2182 * benchtests/acosh-inputs: New inputs.
2183 * benchtests/asinh-inputs: Likewise.
2184
ce641152
SP
2185 * benchtests/cosh-inputs: New inputs.
2186 * benchtests/sinh-inputs: Likewise.
2187
b19221b9
SP
2188 * benchtests/acos-inputs: Add more inputs.
2189 * benchtests/asin-inputs: Likewise.
2190
030a4976 21912013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 2192
030a4976 2193 [BZ #16375]
9dcc8f11
VS
2194 * manual/arith.texi: Fix spelling.
2195 * manual/charset.texi: Likewise.
2196 * manual/errno.texi: Likewise.
2197 * manual/filesys.texi: Likewise.
2198 * manual/lang.texi: Likewise.
2199 * manual/llio.texi: Likewise.
2200 * manual/locale.texi: Likewise.
2201 * manual/message.texi: Likewise.
2202 * manual/resource.texi: Likewise.
2203 * manual/search.texi: Likewise.
2204 * manual/setjmp.texi: Likewise.
2205 * manual/stdio.texi: Likewise.
2206 * manual/string.texi: Likewise.
2207 * manual/sysinfo.texi: Likewise.
2208 * manual/time.texi: Likewise.
2209
11520a57
CD
22102013-12-27 Carlos O'Donell <carlos@redhat.com>
2211
2212 * po/sl.po: New file.
2213
471103ae
MF
22142013-12-27 Mike Frysinger <vapier@gentoo.org>
2215
2216 * .gitignore: Add core/.gdbinit/.gdb_history.
2217
6c9642ed
AM
22182013-12-27 Allan McRae <allan@archlinux.org>
2219
2220 [BZ #16369]
2221 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
2222 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
2223
3f637079
BM
22242013-12-24 Brooks Moses <bmoses@google.com>
2225
2226 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
2227 all compilers that claim C++98 compliance, not just GCC.
2228 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
2229 Likewise.
2230
abc26e99
MK
22312013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
2232
2233 * NEWS: Restore accidentally deleted bug-fix entries.
2234
362b47fe
MK
22352013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
2236 Ondřej Bílka <neleai@seznam.cz>
2237
2238 [BZ #15073]
2239 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 2240 have_lock.
362b47fe 2241
b9bcbbcb
OB
22422013-12-23 Ondřej Bílka <neleai@seznam.cz>
2243
2244 [BZ #12986]
2245 * manual/stdio.texi (String Input Conversions): Clarify that character
2246 classes are not supported.
2247
fb55fcd2
AZ
22482013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2249
2250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2251
ef7344f0
JM
22522013-12-22 Joseph Myers <joseph@codesourcery.com>
2253
4f40e4b3
JM
2254 [BZ #16337]
2255 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2256 Calculate results for small negative arguments directly rather
2257 than using reflection formula with special underflow handling.
2258
ef7344f0
JM
2259 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
2260 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
2261 sysdeps/unix/bsd/bsd4.4/syscalls.list.
2262 (fchflags): Likewise.
2263 (revoke): Likewise.
2264 (setlogin): Likewise.
2265 (sigaltstack): Likewise.
2266 (wait4): Likewise.
2267 (sigblock): Remove.
2268 (sigsetmask): Likewise.
2269 (wait3): Likewise.
2270 (waitpid): Likewise.
2271 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
2272 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
2273 file.
2274 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
2275 * sysdeps/unix/bsd/Makefile: ... here.
2276 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
2277 * sysdeps/unix/bsd/Versions: ... here.
2278 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
2279 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
2280 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
2281 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
2282 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
2283 * sysdeps/unix/bsd/sigblock.c: ... here.
2284 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
2285 * sysdeps/unix/bsd/sigsetmask.c: ... here.
2286 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
2287 * sysdeps/unix/bsd/sigvec.c: ... here.
2288 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
2289 * sysdeps/unix/bsd/tcdrain.c: ... here.
2290 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
2291 * sysdeps/unix/bsd/tcgetattr.c: ... here.
2292 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
2293 * sysdeps/unix/bsd/tcsetattr.c: ... here.
2294 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
2295 * sysdeps/unix/bsd/wait.c: ... here.
2296 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
2297 * sysdeps/unix/bsd/wait3.c: ... here.
2298 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
2299 * sysdeps/unix/bsd/waitpid.c: ... here.
2300
5b0626b9
JM
23012013-12-21 Joseph Myers <joseph@codesourcery.com>
2302
2303 [BZ #16356]
2304 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
2305 round-to-nearest for [!USE_AS_EXPM1L].
2306 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
2307 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
2308 more tests of exp and exp10. Expect some exp10 tests to miss
2309 exceptions or fail in directed rounding modes.
2310 * math/auto-libm-test-out: Regenerated.
2311 * math/libm-test.inc (exp10_tonearest_test_data): New array.
2312 (exp10_test_tonearest): New function.
2313 (exp10_towardzero_test_data): New array.
2314 (exp10_test_towardzero): New function.
2315 (exp10_downward_test_data): New array.
2316 (exp10_test_downward): New function.
2317 (exp10_upward_test_data): New array.
2318 (exp10_test_upward): New function.
2319 (main): Call the new functions.
2320 * sysdeps/i386/fpu/libm-test-ulps: Update.
2321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2322
7fda5682
JM
23232013-12-20 Joseph Myers <joseph@codesourcery.com>
2324
31e3a405
JM
2325 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2326 asinh, atan, atan2, atanh, cbrt, cos and cosh.
2327 * math/auto-libm-test-out: Regenerated.
2328 * math/libm-test.inc (acosh_test_data): Add more tests.
2329 (atanh_test_data): Likewise.
2330 (ceil_test_data): Likewise.
2331 (copysign_test_data): Likewise.
2332 * sysdeps/i386/fpu/libm-test-ulps: Update.
2333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2334
85bff96a
JM
2335 * timezone/checktab.awk: Update from tzcode 2013i.
2336 * timezone/private.h: Likewise.
2337 * timezone/scheck.c: Likewise.
2338 * timezone/tzfile.h: Likewise.
2339 * timezone/tzselect.ksh: Likewise.
2340 * timezone/zdump.c: Likewise.
2341 * timezone/zic.c: Likewise.
2342
b7867a3b
JM
2343 * math/auto-libm-test-in: Add tests of cpow.
2344 * math/auto-libm-test-out: Regenerated.
2345 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
2346 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
2347 mpc_cc_c.
2348 (func_calc_desc): Add mpc_cc_c union field.
2349 (test_functions): Add cpow.
2350 (special_fill_2pi): New function.
2351 (special_real_inputs): Add 2pi.
2352 (calc_generic_results): Handle mpc_cc_c.
2353 * sysdeps/i386/fpu/libm-test-ulps: Update.
2354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2355
7fda5682
JM
2356 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
2357 csqrt, ctan and ctanh.
2358 * math/auto-libm-test-out: Regenerated.
2359 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2360 (TEST_COND_x86): Likewise.
2361 (ccos_test_data): Use AUTO_TESTS_c_c.
2362 (ccosh_test_data): Likewise.
2363 (cexp_test_data): Likewise.
2364 (clog_test_data): Likewise.
2365 (csqrt_test_data): Likewise.
2366 (ctan_test_data): Likewise.
2367 (ctan_tonearest_test_data): Likewise.
2368 (ctan_towardzero_test_data): Likewise.
2369 (ctan_downward_test_data): Likewise.
2370 (ctan_upward_test_data): Likewise.
2371 (ctanh_test_data): Likewise.
2372 (ctanh_tonearest_test_data): Likewise.
2373 (ctanh_towardzero_test_data): Likewise.
2374 (ctanh_downward_test_data): Likewise.
2375 (ctanh_upward_test_data): Likewise.
2376 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2377 mpc_c_c.
2378 (func_calc_desc): Add mpc_c_c union field.
2379 (FUNC_mpc_c_c): New macro.
2380 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
2381 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
2382 ctanh.
2383 (special_fill_min_subnorm_p120): New function.
2384 (special_real_inputs): Add min_subnorm_p120.
2385 (calc_generic_results): Handle mpc_c_c.
2386 * sysdeps/i386/fpu/libm-test-ulps: Update.
2387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2388
5ff8d60e
SP
23892013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2390
392dd2de
SP
2391 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
2392 do_sin_slow): New functions.
2393 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
2394 cslow2, csloww1, csloww2): Use the new functions.
2395
84ba214c
SP
2396 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
2397 Use M to change sign of result instead of X. Assume X is
2398 positive.
2399 (csloww1): Likewise.
2400 (__sin): Adjust.
2401 (__cos): Adjust.
2402
975195e4
SP
2403 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
2404 arguments A and DA.
2405 (__sin): Adjust.
2406 (__cos): Likewise.
2407
5ff8d60e
SP
2408 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
2409 (__cos): Likewise.
2410 (sloww1): Don't adjust sign of DX.
2411 (csloww1): Likewise.
2412 (sloww2): Use X directly and don't adjust sign of DX.
2413 (csloww2): Likewise.
2414
eb983568
JM
24152013-12-19 Joseph Myers <joseph@codesourcery.com>
2416
64a17f1a
JM
2417 * math/auto-libm-test-in: Add tests of cabs and carg.
2418 * math/auto-libm-test-out: Regenerated.
2419 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
2420 (carg_test_data): Likewise.
2421 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2422 mpc_c_f.
2423 (func_calc_desc): Add mpc_c_f union field.
2424 (test_functions): Add cabs and carg.
2425 (calc_generic_results): Handle mpc_c_f.
2426
eb983568
JM
2427 * sysdeps/powerpc/powerpc32/libgcc-compat.S
2428 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
2429 as a macro and a compat symbol.
2430 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2431 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2432 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2433 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2434 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
2435 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
2436 not use .hidden.
2437 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
2438 Likewise.
2439 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
2440 Likewise.
2441 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
2442 Likewise.
2443 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
2444 Likewise.
2445 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
2446 Likewise.
2447 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
2448 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
2449 from GLIBC_2.3.2.
2450
6eeb678a
AZ
24512013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2452
2453 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2454
6f6fc482
JM
24552013-12-19 Joseph Myers <joseph@codesourcery.com>
2456
21fea2e2
JM
2457 * manual/texinfo.tex: Update to version 2013-11-26.10 with
2458 trailing whitespace removed.
2459 * scripts/config.guess: Update to version 2013-11-29.
2460 * scripts/config.sub: Update to version 2013-10-01.
2461
6f6fc482
JM
2462 * math/auto-libm-test-in: Add tests of sincos.
2463 * math/auto-libm-test-out: Regenerated.
2464 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
2465 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2466 mpfr_f_11.
2467 (func_calc_desc): Add mpfr_f_11 union field.
2468 (test_functions): Add sincos.
2469 (calc_generic_results): Handle mpfr_f_11.
2470 * sysdeps/i386/fpu/libm-test-ulps: Update.
2471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2472
83f5c32d
AS
24732013-12-19 Andreas Schwab <schwab@suse.de>
2474
2475 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
2476 CALL_MCOUNT.
2477 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2478 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
2479 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
2480
c688b419
JM
24812013-12-19 Joseph Myers <joseph@codesourcery.com>
2482
335ee092
JM
2483 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
2484 * sysdeps/i386/fpu/libm-test-ulps: Update.
2485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2486
f88acd39
JM
2487 [BZ #16293]
2488 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
2489 round-to-nearest mode when using frndint.
2490 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
2491 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2492 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2493 Likewise.
2494 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
2495 sinh test to fail.
2496 * math/auto-libm-test-out: Regenerated.
2497 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
2498 (TEST_COND_x86): Likewise.
2499 (expm1_tonearest_test_data): New array.
2500 (expm1_test_tonearest): New function.
2501 (expm1_towardzero_test_data): New array.
2502 (expm1_test_towardzero): New function.
2503 (expm1_downward_test_data): New array.
2504 (expm1_test_downward): New function.
2505 (expm1_upward_test_data): New array.
2506 (expm1_test_upward): New function.
2507 (main): Run the new test functions.
2508 * sysdeps/i386/fpu/libm-test-ulps: Update.
2509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2510
c688b419
JM
2511 * include/features.h: Update comment documenting feature test
2512 macros. Mention _DEFAULT_SOURCE in comment.
2513 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
2514 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
2515 _BSD_SOURCE and _SVID_SOURCE.
2516 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
2517 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
2518 !_SVID_SOURCE]: Likewise.
2519 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2520 (__USE_POSIX_IMPLICITLY): Define.
2521 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2522 (_POSIX_SOURCE): Undefine and redefine.
2523 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2524 (_POSIX_C_SOURCE): Likewise.
2525 * manual/creature.texi (_DEFAULT_SOURCE): Document.
2526 (Feature Test Macros): Update documentation of default features.
2527
9f6e964c
RS
25282013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2529
2530 * benchtests/Makefile: Add bench-strtok.
2531 * benchtests/bench-strtok.c: New file: strtok benchtest.
2532
ee0a148a
AM
25332013-12-19 Allan McRae <allan@archlinux.org>
2534
2535 * manual/install.texi: Suppress menu for plain text output.
2536 * INSTALL: Regenerated.
2537
b9ab448f
BM
25382013-12-18 Brooks Moses <bmoses@google.com>
2539
2540 [BZ #15846]
2541 * misc/getauxval.c: Include errno.h.
2542 (__getauxval): Set errno to ENOENT if the requested type is not
2543 found.
2544 * misc/sys/auxv.h (getauxval): Document that it may set errno;
2545 don't declare with __attribute_const__.
2546 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
2547 * manual/startup.texi: Document that getauxval sets errno.
2548
23776487
JM
25492013-12-18 Joseph Myers <joseph@codesourcery.com>
2550
f889953b
JM
2551 * math/auto-libm-test-in: Add tests of jn and yn.
2552 * math/auto-libm-test-out: Regenerated.
2553 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
2554 (yn_test_data): Likewise.
2555 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2556 mpfr_if_f.
2557 (func_calc_desc): Add mpfr_if_f union field.
2558 (FUNC_mpfr_if_f): New macro.
2559 (test_functions): Add jn and yn.
2560 (calc_generic_results): Assert type of second input for
2561 mpfr_ff_f. Handle mpfr_if_f.
2562 (output_for_one_input_case): Disable all checking for arguments
2563 fitting floating-point types in case of an integer argument.
2564 * sysdeps/i386/fpu/libm-test-ulps: Update.
2565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2566
23776487
JM
2567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2568 Don't expect fegetround reference in libm.so.
2569
cb756c6d
MS
25702013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2571
2572 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
2573 $(config-cflags-nofma).
2574
2dec468f
JM
25752013-12-18 Joseph Myers <joseph@codesourcery.com>
2576
5953eb3a
JM
2577 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
2578 * math/auto-libm-test-out: Regenerated.
2579
2dec468f
JM
2580 [BZ #16338]
2581 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
2582 to determine exponent and adjust argument to have exponent of -1.
2583 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
2584 log2.
2585 * math/auto-libm-test-out: Regenerated.
2586 * sysdeps/i386/fpu/libm-test-ulps: Update.
2587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2588
4d84e6ad
OB
25892013-12-18 Ondřej Bílka <neleai@seznam.cz>
2590
2591 * manual/probes.texi: Remove cases when per-thread arenas are
2592 disabled.
2593
1818483b
AS
25942013-12-18 Andreas Schwab <schwab@suse.de>
2595
2596 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
2597 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
2598 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
2599 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
2600 * sysdeps/i386/i686/multiarch/Makefile: Update.
2601 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
2602
25de95bf
JM
26032013-12-17 Joseph Myers <joseph@codesourcery.com>
2604
2605 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
2606 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
2607
674762d9
PE
26082013-12-17 Paul Eggert <eggert@cs.ucla.edu>
2609
ed27ed83 2610 [BZ #15968]
0748546f
PE
2611 Support TZ transition times < 00:00:00.
2612 This is needed for version-3 tz-format files; it supports time
2613 stamps past 2037 for America/Godthab (the only entry in the tz
2614 database for which this change is relevant).
2615 * manual/time.texi (TZ Variable): Document transition times
2616 from -167:59:59 through -00:00:01.
2617 * time/tzset.c (tz_rule): Time of day is now signed.
2618 (__tzset_parse_tz): Parse negative time of day.
2619
4480e934
PE
2620 Document TZ transition times >= 25:00:00.
2621 * manual/time.texi (TZ Variable): Document transition times from
2622 25:00:00 through 167:59:59. These are already supported, and this
2623 support will help with version-3 tz-format files.
2624
69947401
PE
2625 * manual/time.texi (TZ Variable): Modernize North America example
2626 to reflect current (i.e., 2007-and-later) daylight saving rules.
2627
674762d9
PE
2628 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
2629
7011c262
JM
26302013-12-17 Joseph Myers <joseph@codesourcery.com>
2631
2fc6557e
JM
2632 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
2633 * sysdeps/unix/bsd/bits/stat.h: Likewise.
2634 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
2635 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2636 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
2637 * sysdeps/unix/bsd/bsdstat.h: Likewise.
2638 * sysdeps/unix/bsd/clock.c: Likewise.
2639 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
2640 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
2641 * sysdeps/unix/bsd/init-posix.c: Likewise.
2642 * sysdeps/unix/bsd/poll.c: Likewise.
2643 * sysdeps/unix/bsd/ptsname.c: Likewise.
2644 * sysdeps/unix/bsd/seekdir.c: Likewise.
2645 * sysdeps/unix/bsd/setegid.c: Likewise.
2646 * sysdeps/unix/bsd/seteuid.c: Likewise.
2647 * sysdeps/unix/bsd/setgid.c: Likewise.
2648 * sysdeps/unix/bsd/setrgid.c: Likewise.
2649 * sysdeps/unix/bsd/setruid.c: Likewise.
2650 * sysdeps/unix/bsd/setsid.c: Likewise.
2651 * sysdeps/unix/bsd/setuid.c: Likewise.
2652 * sysdeps/unix/bsd/sigaction.c: Likewise.
2653 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
2654 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
2655 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
2656 * sysdeps/unix/bsd/telldir.c: Likewise.
2657 * sysdeps/unix/bsd/times.c: Likewise.
2658 * sysdeps/unix/bsd/usleep.c: Likewise.
2659
029c7b25
JM
2660 * misc/Makefile (install-lib): Remove libbsd-compat.a.
2661 ($(objpfx)libbsd-compat.a): Remove rule.
2662
7011c262
JM
2663 * include/features.h (__FAVOR_BSD): Do not define.
2664 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
2665 features conflicting with POSIX.
2666 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
2667 (_BSD_SOURCE): Remove description of not being a subset of other
2668 feature test macros.
2669 * manual/job.texi (getpgrp): Do not document BSD version.
2670 (getpgid): Do not document by reference to BSD getpgrp.
2671 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
2672 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
2673 * signal/signal.h [__FAVOR_BSD]: Likewise.
2674 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
2675 instead of making contents conditional on [__FAVOR_BSD].
2676 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
2677
affb6f78
AZ
26782013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2679
2680 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2681
c88769dd
JM
26822013-12-17 Joseph Myers <joseph@codesourcery.com>
2683
6432a540
JM
2684 [BZ #16314]
2685 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
2686 values below 2**-450, not 2**-500.
2687 * math/auto-libm-test-in: Don't allow spurious underflow from
2688 hypot.
2689 * math/auto-libm-test-out: Regenerated.
2690
c88769dd
JM
2691 [BZ #16316]
2692 [BZ #16330]
2693 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
2694 values of ha and hb and sort them after adjusting subnormal
2695 arguments.
2696 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2697 Likewise.
2698 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
2699 values of ea and eb and sort them after adjusting subnormal
2700 arguments.
2701 * math/auto-libm-test-in: Do not expect some hypot tests of
2702 subnormals to fail. Add more hypot tests.
2703 * math/auto-libm-test-out: Regenerated.
2704
29618f6b
KK
27052013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2706
2707 [BZ #13304]
2708 * sysdeps/sh/s_fma.c: New file.
2709 * sysdeps/sh/s_fmaf.c: New file.
2710 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
2711 version.
2712 * sysdeps/sh/Implies: Add sh/soft-fp.
2713
eacfdfbf
RM
27142013-12-16 Roland McGrath <roland@hack.frob.com>
2715
2716 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
2717 level of indirection to members `objname', `errstring', `malloced'.
2718 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
2719 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
2720 it as the __longjmp argument (just pass 1 instead).
2721 (_dl_catch_error): Initialize C with argument pointers and address of
2722 volatile local ERRCODE rather than copying values out of C at return.
2723
ff362e5b
JM
27242013-12-16 Joseph Myers <joseph@codesourcery.com>
2725
2726 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
2727 * math/auto-libm-test-out: Regenerated.
2728 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
2729 (hypot_test_data): Likewise.
2730 (pow_test_data): Likewise.
2731 (pow_tonearest_test_data): Likewise.
2732 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2733 mpfr_ff_f.
2734 (func_calc_desc): Add mpfr_ff_f union field.
2735 (FUNC_mpfr_ff_f): New macro.
2736 (test_functions): Add atan2, hypot and pow.
2737 (special_fill_min): New function.
2738 (special_fill_minus_min): Likewise.
2739 (special_fill_min_subnorm): Likewise.
2740 (special_fill_minus_min_subnorm): Likewise.
2741 (special_real_inputs): Add min, -min, min_subnorm and
2742 -min_subnorm.
2743 (calc_generic_results): Handle mpfr_ff_f.
2744 * sysdeps/i386/fpu/libm-test-ulps: Update.
2745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2746
5764c27f
WN
27472013-12-16 Will Newton <will.newton@linaro.org>
2748
2749 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
2750 (Aligned Memory Blocks): Add documentation for aligned_alloc
2751 and suggest it as an alternative to posix_memalign.
2752 (Hooks for Malloc): Document __memalign_hook is also called
2753 for aligned_alloc. (Summary of Malloc): Add summary for
2754 aligned alloc. Document __memalign_hook is also called
2755 for aligned_alloc.
2756
0a096e44
WN
27572013-12-16 Will Newton <will.newton@linaro.org>
2758
2759 * manual/memory.texi (Malloc Examples): Clarify default
2760 alignment documentation. Suggest posix_memalign rather
2761 than memalign or valloc.
2762 (Aligned Memory Blocks): Remove suggestion to use memalign
2763 or valloc. Remove obsolete comment about BSD.
2764 Document memalign errno values and mark the function obsolete.
2765 Document posix_memalign returned error codes. Mark valloc
2766 as obsolete. (Hooks for Malloc): __memalign_hook is also
2767 called for posix_memalign and valloc.
2768 (Summary of Malloc): Add posix_memalign to function summary.
2769 __memalign_hook is also called for posix_memalign and valloc.
2770
8d561986
SP
27712013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2772
2773 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
2774 TAYLOR_SIN.
2775 (__sin): Adjust.
2776 (__cos): Likewise.
2777 (sloww): Use mynumber union. Expand ternary operator into
2778 if-else statements.
2779 (cslow): use mynumber union.
2780
73616a74
AM
27812013-12-16 Allan McRae <allan@archlinux.org>
2782
9e8ac24b
AM
2783 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
2784 * configure: Regenerated.
2785
6f8e37eb
AM
2786 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
2787
8894bad3
AM
2788 [BZ #14120]
2789 * configure.ac: Added --enable-maintainer-mode. Check for
2790 autoconf when enabled.
2791 * configure: Regenerated.
2792
73616a74
AM
2793 * nscd/nscd.service: New file.
2794 * nscd/nscd.tmpfiles: New file.
2795
584b18eb
OB
27962013-12-14 Ondřej Bílka <neleai@seznam.cz>
2797
2798 [BZ #12100]
2799 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
2800 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
2801 * sysdeps/x86_64/multiarch/strstr.c: ... here.
2802 (strstr): Add __strstr_sse2_unaligned ifunc.
2803 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
2804 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
2805 (strcasestr): Remove __strcasestr_sse42 ifunc.
2806 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
2807 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2808 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2809
8a5c7897
KK
28102013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2811
2812 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
2813 * sysdeps/sh/bits/fenv.h: ... here.
2814 * sysdeps/sh/sh4/fpu/bits: Remove directory.
2815
fd712ef3
AZ
28162013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2817
2818 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
2819
42fcb46c
AZ
28202013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2821
2822 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
2823 hypotf multiarch implementations.
2824 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
2825 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
2826 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
2827 multiarch hypot for PPC64.
2828 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
2829 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
2830 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
2831 multiarch hypotf for PPC64.
2832
83efded4
AZ
28332013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2834
2835 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
2836 modff multiarch implementations.
2837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
2838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
2839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
2840 multiarch modf for PPC64.
2841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
2842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
2843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
2844 multiarch modff for PPC64.
2845
43e246d2
AZ
28462013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2847
2848 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
2849 and logl multiarch implementations.
2850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
2851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
2852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
2853 multiarch logb for PPC64.
2854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
2855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
2856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
2857 multiarch logb for PPC64.
2858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
2859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
2860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
2861 multiarch logb for PPC64.
2862
8fdad123
AZ
28632013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2864
2865 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
2866 isinff multiarch implementation.
2867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
2868 file.
2869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
2870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
2871 multiarch isinf for PPC64.
2872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
2873 file.
2874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
2875 multiarch isinff for PPC64.
2876
1481d706
AZ
28772013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2878
2879 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
2880 finitef multiarch implementation.
2881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
2882 file.
2883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
2884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
2885 multiarch finite for PPC64.
2886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
2887 file.
2888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
2889 multiarch finitef for PPC64.
2890
5ccd5fc8
AZ
28912013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2892
2893 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
2894 lrint multiarch implementation.
2895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
2896 file.
2897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
2898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
2899 multiarch llrint for PPC64.
2900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
2901 multiarch lrint for PPC64.
2902
2568f3fa
AZ
29032013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2904
2905 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
2906 copysignf multiarch implementation.
2907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
2908 file.
2909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
2910 file.
2911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
2912 multiarch copysign for PPC64.
2913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
2914 multiarch copysignf for PPC64.
2915
1cb341fd
AZ
29162013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2917
2918 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
2919 multiarch implementation.
2920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
2921 file.
2922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
2923 file.
2924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
2925 file.
2926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
2927 file.
2928 multiarch llround for PPC64.
2929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
2930 multiarch trunc for PPC64.
2931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
2932 multiarch truncf for PPC64.
2933
59a3e194
AZ
29342013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2935
2936 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
2937 multiarch implementation.
2938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
2939 file.
2940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
2941 file.
2942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
2943 file.
2944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
2945 file.
2946 multiarch llround for PPC64.
2947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
2948 multiarch round for PPC64.
2949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
2950 multiarch roundf for PPC64.
2951
357fd3b4
AZ
29522013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2953
2954 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
2955 multiarch implementation.
2956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
2957 file.
2958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
2959 file.
2960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
2961 file.
2962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
2963 file.
2964 multiarch llround for PPC64.
2965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
2966 multiarch floor for PPC64.
2967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
2968 multiarch floorf for PPC64.
2969
96770f12
AZ
29702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2971
2972 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
2973 multiarch implementation.
2974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
2975 file.
2976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
2977 file.
2978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
2979 file.
2980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
2981 file.
2982 multiarch llround for PPC64.
2983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
2984 multiarch ceil for PPC64.
2985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
2986 multiarch ceilf for PPC64.
2987
c3627f6e
AZ
29882013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2989
2990 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
2991 multiarch implementation.
2992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
2993 file.
2994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
2995 file.
2996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
2997 file.
2998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
2999 multiarch llround for PPC64.
3000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
3001 multiarch lround for PPC64.
3002
b2284ad7
AZ
30032013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3004
3005 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3006 multiarch implementation.
3007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
3008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
3009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
3010 file.
3011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
3012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
3013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
3014 multiarch isnan for PPC64.
3015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
3016 multiarch isnanf for PPC64.
3017
69bbc63d
AZ
30182013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3019
3020 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
3021 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
3022 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
3023 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
3024 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
3025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
3026
c24517c9
AZ
30272013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3028
3029 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
3030 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3031 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3032 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3033
a52374e8
AZ
30342013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3035
3036 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
3037 multiarch implementations.
3038 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3039 (__libc_ifunc_impl_list): Likewise.
3040 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
3041 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
3042 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
3043 multiarch stpcpy for PPC64.
3044
7f5ec113
AZ
30452013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3046
3047 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
3048 multiarch implementations.
3049 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3050 (__libc_ifunc_impl_list): Likewise.
3051 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
3052 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
3053 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
3054 multiarch strcpy for PPC64.
3055
e28bcd42
AZ
30562013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3057
3058 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
3059 redefine function name.
3060 (_wordcopy_fwd_dest_aligned): Likewise.
3061 (_wordcopy_bwd_aligned): Likewise.
3062 (_wordcopy_bwd_dest_aligned): Likewise.
3063 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
3064 multiarch implementations.
3065 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3066 (__libc_ifunc_impl_list): Likewise.
3067 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
3068 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
3069 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
3070 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
3071 multiarch wcscpy for PPC64.
3072
92cacfce
AZ
30732013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3074
3075 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
3076 multiarch implementations.
3077 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3078 (__libc_ifunc_impl_list): Likewise.
3079 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
3080 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
3081 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
3082 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
3083 multiarch wcscpy for PPC64.
3084
7b714620
AZ
30852013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3086
3087 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
3088 multiarch implementations.
3089 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3090 (__libc_ifunc_impl_list): Likewise.
3091 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
3092 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
3093 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
3094 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
3095 multiarch wcsrchr for PPC64.
3096
16fd2ae3
AZ
30972013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3098
3099 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
3100 multiarch implementations.
3101 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3102 (__libc_ifunc_impl_list): Likewise.
3103 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
3104 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
3105 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
3106 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
3107 multiarch wcschr for PPC64.
3108
9ee2969b
AZ
31092013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3110
3111 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
3112 multiarch implementations.
3113 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3114 (__libc_ifunc_impl_list): Likewise.
3115 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
3116 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
3117 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
3118 multiarch strchrnul for PPC64.
3119
372dc060
AZ
31202013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3121
3122 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
3123 implementations.
3124 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3125 (__libc_ifunc_impl_list): Likewise.
3126 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
3127 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
3128 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
3129 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
3130 strchr for PPC64.
3131
24c2c3b9
AZ
31322013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3133
3134 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
3135 implementations.
3136 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3137 (__libc_ifunc_impl_list): Likewise.
3138 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
3139 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
3140 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
3141 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
3142 strncmp for PPC64.
3143
1c92d9a0
AZ
31442013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3145
3146 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
3147 multiarch implementations.
3148 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3149 (__libc_ifunc_impl_list): Likewise.
3150 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
3151 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
3152 strncasecmp for PPC64.
3153 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
3154 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
3155 multiarch strncasecmp_l for PPC64.
3156
17de3ee3
AZ
31572013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3158
3159 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
3160 multiarch implementations.
3161 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3162 (__libc_ifunc_impl_list): Likewise.
3163 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
3164 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
3165 multiarch strcasecmp for PPC64.
3166 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
3167 file.
3168 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
3169 multiarch strcasecmp_l for PPC64.
3170
62982bf9
AZ
31712013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3172
3173 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
3174 implementations.
3175 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3176 (__libc_ifunc_impl_list): Likewise.
3177 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
3178 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
3179 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
3180 strnlen for PPC64.
3181
a65f4904
AZ
31822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3183
3184 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
3185 implementations.
3186 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3187 (__libc_ifunc_impl_list): Likewise.
3188 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
3189 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
3190 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
3191 strlen for PPC64.
3192
1fd005ad
AZ
31932013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3194
3195 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
3196 implementations.
3197 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3198 (__libc_ifunc_impl_list): Likewise.
3199 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
3200 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
3201 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
3202 rawmemrchr for PPC64.
3203
cd05ba91
AZ
32042013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3205
3206 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
3207 implementation.
3208 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3209 (__libc_ifunc_impl_list): Likewise.
3210 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
3211 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
3212 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
3213 memrchr for PPC64.
3214
870f8676
AZ
32152013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3216
3217 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
3218 implementation.
3219 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3220 (__libc_ifunc_impl_list): Likewise.
3221 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
3222 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
3223 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
3224 memchr for PPC64.
3225
f00be62b
AZ
32262013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3227
3228 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
3229 implementation.
3230 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3231 (__libc_ifunc_impl_list): Likewise.
3232 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
3233 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
3234 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
3235 mempcpy for PPC64.
3236
8a29a3d0
AZ
32372013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3238
3239 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
3240 avoid cretion of __bzero symbol.
3241 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
3242 Likewise.
3243 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
3244 Likewise.
3245 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
3246 Likewise.
3247 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
3248 multiarch implementations.
3249 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3250 (__libc_ifunc_impl_list): Likewise.
3251 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
3252 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
3253 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
3254 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
3255 bzero for PPC32.
3256 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
3257 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
3258 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
3259 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
3260 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
3261 memset for PPC64.
3262 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
3263
07253fcf
AZ
32642013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3265
3266 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
3267 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
3268 implementations.
3269 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3270 (__libc_ifunc_impl_list): Likewise.
3271 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
3272 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
3273 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
3274 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
3275 memcmp for PPC64.
3276
b5beafbc
AZ
32772013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3278
3279 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
3280 multiarch for POWER/PPC64.
3281 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3282 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
3283 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
3284 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
3285 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
3286 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
3287 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
3288 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
3289 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
3290 memcpy for PPC64.
3291
5e6a4d4b
AZ
32922013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3293
3294 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
3295 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
3296 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
3297 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
3298 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
3299 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
3300 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
3301 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
3302 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
3303 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
3304 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
3305 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
3306 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
3307 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
3308 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
3309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
3310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
3311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
3312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
3313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
3314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
3315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
3316
ddfab6dc
KK
33172013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3318
3319 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
3320
19b5525e
SP
33212013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3322
3323 * benchtests/Makefile (bench): Add exp2 and log2.
3324 (LDLIBS-bench-exp2): Add -lm.
3325 (LDLIBS-bench-log2): Likewise.
3326 * benchtests/exp2-inputs: New inputs file.
3327 * benchtests/log2-inputs: New inputs file.
3328 * benchtests/log-inputs: Add new inputs.
3329 * benchtests/tan-inputs: Likewise.
3330
196f7f5d
SP
33312013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3332
7a74607f
SP
3333 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
3334 definition...
3335 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
3336 csloww1, csloww2): ... from here.
3337
196f7f5d
SP
3338 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
3339 instead of structures.
3340 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
3341 (POLYNOMIAL): Likewise.
3342 (TAYLOR_SLOW): Likewise.
3343 (__sin): Likewise.
3344 (__cos): Likewise.
3345 (slow1): Likewise.
3346 (slow2): Likewise.
3347 (sloww): Likewise.
3348 (sloww1); Likewise.
3349 (sloww2): Likewise.
3350 (bsloww1): Likewise.
3351 (bsloww2): Likewise.
3352 (cslow2): Likewise.
3353 (csloww): Likewise.
3354 (csloww1): Likewise.
3355 (csloww2): Likewise.
3356
0dfa665c
OB
33572013-12-10 Ondřej Bílka <neleai@seznam.cz>
3358
3359 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
3360 (__malloc_assert, __libc_realloc, __libc_calloc,
3361 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
3362 memcpy and memset.
3363 * malloc/hooks.c (realloc_check): Likewise.
3364
5782a80f
OB
33652013-12-10 Ondřej Bílka <neleai@seznam.cz>
3366
3367 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
3368 * malloc/arena.c: Remove PER_THREAD conditional.
3369 [!PER_THREAD]: Remove code.
3370 (ptmalloc_unlock_all2): Likewise.
3371 (ptmalloc_init): Likewise.
3372 (_int_new_arena): Likewise.
3373 (arena_get2): Likewise.
3374 * malloc/hooks.c (__malloc_get_state): Likewise.
3375 (__malloc_set_state): Likewise.
3376 * malloc/malloc.c: Likewise.
3377 (struct malloc_state): Likewise.
3378 (struct malloc_par): Likewise.
3379 (__libc_realloc): Likewise.
3380 (__libc_mallopt): Likewise.
3381
aeb95445
AZ
33822013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3383
3384 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
3385
e8349efd
OB
33862013-12-09 Ondřej Bílka <neleai@seznam.cz>
3387
3388 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
3389 macro to a function. Check for zero perturb_byte.
3390 (_int_malloc, _int_free): Remove zero perturb_byte checks.
3391
f3eeb3fc
OB
33922013-12-09 Ondřej Bílka <neleai@seznam.cz>
3393
3394 * malloc/malloc.c: (force_reg): Remove.
3395 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
3396 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
3397 force_reg by atomic_forced_read.
3398 * malloc/arena.c (ptmalloc_init): Likewise.
3399 * malloc/hooks.c (top_check): Likewise.
3400
be2f9009
AZ
34012013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3402
3403 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3404
e7b914bd
MT
34052013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
3406
3407 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3408
9f0be4f8
JM
34092013-12-08 Joseph Myers <joseph@codesourcery.com>
3410
3411 * math/auto-libm-test-in: Add tests of lgamma.
3412 * math/auto-libm-test-out: Regenerated.
3413 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
3414 (M_LOG_2_SQRT_PIl): Likewise.
3415 (lgamma_test_data): Use AUTO_TESTS_f_f1.
3416 * math/gen-auto-libm-tests.c (func_calc_method): Add value
3417 mpfr_f_f1.
3418 (func_calc_desc): Add mpfr_f_f1 union field.
3419 (ARGS1): New macro.
3420 (ARGS2): Likewise.
3421 (ARGS3): Likewise.
3422 (ARGS4): Likewise.
3423 (RET1): Likewise.
3424 (RET2): Likewise.
3425 (CALC): Likewise.
3426 (FUNC): Likewise.
3427 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
3428 (test_functions): Add lgamma.
3429 (calc_generic_results): Handle mpfr_f_f1.
3430 * sysdeps/i386/fpu/libm-test-ulps: Update.
3431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3432
24eeafdb
AZ
34332013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3434
3435 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
3436 __mpn_add_n for PowerPC64/POWER7.
3437 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
3438 __mpn_sub_n for PowerPC64/POWER7.
3439
4a2c0fd4
AZ
34402013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3441
3442 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
3443 __mpn_addmul_1 for PowerPC64.
3444 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
3445 __mpn_submul_1 for PowerPC64.
3446 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
3447 for PowerPC64.
3448 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
3449 for PowerPC64.
3450
4b5b548c
FS
34512013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
3452
3453 [BZ #15089]
3454 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
3455
0a3ac0aa
AZ
34562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3457
3458 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
3459
ccdc8438
AZ
34602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3461
3462 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
3463 add multiarch folders.
3464 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
3465 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
3466 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
3467 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
3468 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
3469 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
3470 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
3471 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
3472 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
3473 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
3474 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
3475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
3476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
3477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
3478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
3479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
3480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
3481
2e973d99
AZ
34822013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3483
3484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3485 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
3486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
3487 New file.
3488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
3489 New file.
3490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
3491 multiarch __ieee754_hypot for PowerPC32.
3492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
3493 New file.
3494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
3495 New file.
3496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
3497 multiarch __ieee754_hypotf for PowerPC32.
3498
2d9470b2
AZ
34992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3500
3501 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
3502 long_double_symbol only if __logbl is defined.
3503 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
3504 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
3505 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
3506 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
3507 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
3508 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
3509 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
3510 path for implementation.
3511 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
3512 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
3513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
3514 logb, and logbl multiarch implementations for PowerPC32.
3515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
3516 file.
3517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
3518 file.
3519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
3520 multiarch logb for PowerPC32.
3521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
3522 file.
3523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
3524 file.
3525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
3526 multiarch logbf for PowerPC32.
3527 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
3528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
3529 file.
3530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
3531 multiarch logbl implementation for PowerPC32.
3532
5212ffce
AZ
35332013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3534
3535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
3536 and modff multiarch implementations.
3537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
3538 New file.
3539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
3540 New file.
3541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
3542 multiarch modf for PowerPC32.
3543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
3544 New file.
3545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
3546 New file.
3547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
3548 multiarch modff for PowerPC32.
3549
79dccf31
AZ
35502013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3551
3552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
3553 and lrintf multiarch implementations.
3554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
3555 New file.
3556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3557 New file.
3558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
3559 multiarch lrint for PowerPC32.
3560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
3561 file: multiarch lrintf for PowerPC32.
3562
deb66480
AZ
35632013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3564
3565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
3566 and lroundf multiarch implementations.
3567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
3568 New file.
3569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
3570 New file.
3571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
3572 New file.
3573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
3574 multiarch lround for PowerPC32.
3575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
3576 file: multiarch lroundf for PowerPC32.
3577
264b036b
AZ
35782013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3579
3580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3581 copysign and copysignf multiarch implementations.
3582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3583 New file.
3584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3585 New file.
3586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
3587 file: multiarch copysign for PowerPC32.
3588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
3589 file: multiarch copysignf for PowerPC32.
3590
d47db6c9
AZ
35912013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3592
3593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
3594 and truncf multiarch implementations.
3595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
3596 New file.
3597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
3598 file.
3599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
3600 multiarch trunc for PowerPC32.
3601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
3602 New file.
3603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
3604 New file.
3605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
3606 multiarch truncf for PowerPC32.
3607
ddb60b5a
AZ
36082013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3609
3610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
3611 and roundf multiarch implementations.
3612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
3613 New file.
3614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
3615 file.
3616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
3617 multiarch round for PowerPC32.
3618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
3619 New file.
3620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
3621 New file.
3622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
3623 multiarch roundf for PowerPC32.
3624
bedcf49b
AZ
36252013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3626
3627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
3628 and floorf multiarch implementations.
3629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
3630 New file.
3631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
3632 file.
3633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
3634 multiarch floor for PowerPC32.
3635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
3636 New file.
3637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
3638 New file.
3639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
3640 multiarch floorf for PowerPC32.
3641
35ae5b40
AZ
36422013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3643
3644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
3645 and ceilf multiarch implementations.
3646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
3647 New file.
3648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
3649 file.
3650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
3651 multiarch ceil for PowerPC32.
3652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
3653 New file.
3654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
3655 file.
3656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
3657 multiarch ceilf for PowerPC32.
3658
ae1a4cd9
AZ
36592013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3660
3661 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
3662 is defined.
3663 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
3664 FINITEF is defined.
3665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
3666 and finitef multiarch implementations.
3667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3668 New file.
3669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
3670 file.
3671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
3672 multiarch finite for PowerPC32.
3673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3674 New file.
3675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
3676 file: multiarch finitef for PowerPC32.
3677
64fffd65
AZ
36782013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3679
3680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
3681 and isinff multiarch implementations.
3682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
3683 file.
3684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
3685 file.
3686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
3687 multiarch isinf for PowerPC32.
3688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3689 New file.
3690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
3691 multiarch isinff for PowerPC32.
3692
8e4e7ba2
AZ
36932013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3694
3695 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
3696 alias when __isnan is defined.
3697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
3698 and isnanf multiarch implementations.
3699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
3700 file.
3701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
3702 file.
3703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
3704 file.
3705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
3706 file.
3707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
3708 multiarch isnan for PowerPC32.
3709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3710 New file.
3711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
3712 New file.
3713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
3714 multiarch isnanf for PowerPC32.
3715
ddba588e
AZ
37162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3717
3718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
3719 and sqrtf multiarch implementations.
3720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
3721 file.
3722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
3723 file.
3724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
3725 multiarch sqrt for PowerPC32.
3726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
3727 file.
3728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
3729 file.
3730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
3731 multiarch sqrtf for PowerPC32.
3732
0f96a2f0
AZ
37332013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3734
3735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
3736 and llroundf multiarch implementations.
3737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
3738 New file.
3739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
3740 New file.
3741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
3742 New file.
3743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
3744 file: multiarch llround for PowerPC32.
3745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
3746 file: multiarch llroundf for PowerPC32.
3747
c9b5d79e
AZ
37482013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3749
3750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
3751 multiarch PowerPC32 fpu implementations.
3752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3753 New file.
3754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3755 New file.
3756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
3757 multiarch llrint for PowerPC32.
3758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3759 New file.
3760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3761 New file.
3762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
3763 file.
3764
9cbb3aab
AZ
37652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3766
3767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
3768
ea5a72f8
AZ
37692013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3770
3771 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
3772 file.
3773 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
3774 file.
3775 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
3776 file.
3777 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
3778 multiarch wordcopy for PPC32.
3779 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3780 wordcopy objects.
3781 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3782 (__libc_ifunc_impl_list): Likewise.
3783 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
3784 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
3785 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
3786 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
3787 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
3788 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
3789
93be09e7
AZ
37902013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3791
3792 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
3793 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
3794 file.
3795 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
3796 file.
3797 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
3798 file.
3799 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
3800 multiarch wcscpy for PPC32.
3801 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3802 multiarch objects.
3803 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3804 (__libc_ifunc_impl_list): Likewise.
3805 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3806 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3807 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
3808 sysdeps/powerpc/power6/wcscpy.c.
3809
bb04e529
AZ
38102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3811
3812 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
3813 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
3814 file.
3815 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
3816 file.
3817 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
3818 file.
3819 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
3820 multiarch wcsrchr for PPC32.
3821 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3822 multiarch objects.
3823 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3824 (__libc_ifunc_impl_list): Likewise.
3825 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3826 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3827 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
3828 sysdeps/powerpc/power6/wcsrchr.c.
3829
05b5cd1c
AZ
38302013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3831
3832 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
3833 file.
3834 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
3835 file.
3836 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
3837 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
3838 multiarch wcschr for PPc32.
3839 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3840 multiarch objects.
3841 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3842 (__libc_ifunc_impl_list): Likewise.
3843 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
3844 * sysdeps/powerpc/power6/wcschr.c: ... to here.
3845 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
3846 sysdeps/powerpc/power6/wcschr.c.
3847
ba964147
AZ
38482013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3849
3850 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
3851 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
3852 file.
3853 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
3854 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
3855 file: multiarch strchr for PPC32.
3856 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
3857 multiarch objects.
3858 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3859 (__libc_ifunc_impl_list): Likewise.
3860
31c81aaa
AZ
38612013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3862
3863 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
3864 name.
3865 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
3866 file.
3867 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
3868 file.
3869 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
3870 multiarch strchrnul for PPC32.
3871 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
3872 multiarch objects.
3873 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3874 (__libc_ifunc_impl_list): Likewise.
3875
0d0607d9
AZ
38762013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3877
3878 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
3879 file.
3880 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
3881 multiarch strncasecmp for PPC32.
3882 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
3883 file.
3884 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
3885 multiarch strncasecmp_l for PPC32.
3886 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
3887 strncasecmp multiarch objects.
3888 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3889 (__libc_ifunc_impl_list): Likewise.
3890
4dfd5c86
AZ
38912013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3892
3893 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
3894 file.
3895 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
3896 multiarch strncasecmp for PPC32.
3897 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3898 New file.
3899 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
3900 multiarch strcasecmp_l for PPC32.
3901 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
3902 multiarch objects.
3903 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3904 (__libc_ifunc_impl_list): Likewise.
3905
a19e01a3
AZ
39062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3907
3908 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
3909 file.
3910 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
3911 file.
3912 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
3913 multiarch strncmp for PPC32.
3914 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
3915 multiarch objects.
3916 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3917 (__libc_ifunc_impl_list): Likewise.
3918
ae9cf7a2
AZ
39192013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3920
3921 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
3922 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
3923 file.
3924 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
3925 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
3926 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
3927 multiarch objects.
3928 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3929 (__libc_ifunc_impl_list): Likewise.
3930
3148bb7d
AZ
39312013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3932
3933 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
3934 file.
3935 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
3936 file.
3937 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
3938 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
3939 multiarch objects.
3940 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3941 (__libc_ifunc_impl_list): Likewise.
3942
7af8b946
AZ
39432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3944
3945 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
3946 file.
3947 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
3948 file.
3949 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
3950 multiarch rawmemchr for PPC32.
3951 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
3952 multiarch objects.
3953 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3954 (__libc_ifunc_impl_list): Likewise.
3955
03a6aa6a
AZ
39562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3957
3958 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
3959 file.
3960 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
3961 file.
3962 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
3963 file: memrchr multiarch for PPC32.
3964 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
3965 multiarch objects.
3966 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3967 (__libc_ifunc_impl_list): Likewise.
3968
1c62e6d9
AZ
39692013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3970
3971 * string/memchr.c (__memchr): Using macro to redefine symbol name.
3972 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
3973 file.
3974 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
3975 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
3976 multiarch memchr for PPC32.
3977 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
3978 multiarch objects.
3979 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3980 (__libc_ifunc_impl_list): Likewise.
3981
87da8bdb
AZ
39822013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3983
3984 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
3985 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
3986 file.
3987 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
3988 file.
3989 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
3990 file: multiarch mempcpy for PPC32.
3991 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
3992 multiarch objects.
3993 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3994 (__libc_ifunc_impl_list): Likewise.
3995
20ed4714
AZ
39962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3997
3998 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
3999 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
4000 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
4001 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
4002 multiarch bzero for PPC32.
4003 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
4004 file.
4005 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
4006 file.
4007 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
4008 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
4009 file: multiarch memset for PPC32.
4010 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
4011 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
4012 memset multiarch objects.
4013 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4014 (__libc_ifunc_impl_list): Likewise.
4015
ab3e3a46
AZ
40162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4017
4018 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
4019 file.
4020 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
4021 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
4022 memcmp for PPC32.
4023 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
4024 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
4025 multiarch objects.
4026 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4027 (__libc_ifunc_impl_list): Likewise.
4028
930de6f0
AZ
40292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4030
4031 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
4032 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
4033 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
4034 file.
4035 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
4036 file.
4037 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
4038 file.
4039 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
4040 multiarch memcpy for PPC32.
4041 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
4042 multiarch objects.
4043 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4044 (__libc_ifunc_impl_list): Likewise.
4045
4c628e00
AZ
40462013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4047
4048 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
4049 support multiarch for POWER/PPC32.
4050 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4051 Likewise.
4052 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
4054 Implies file to make multiarch folder appers before the fpu and
4055 default folder for power4 configuration.
4056
f4479220
SP
40572013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4058
4059 * scripts/bench.pl: Append volatile keyword to type.
4060
8517800f
KK
40612013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4062
4063 * sysdeps/sh/sotruss-lib.c: New file.
4064 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
4065
180138f1
AZ
40662013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4067
4068 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4069
bbf37bdc
JM
40702013-12-05 Joseph Myers <joseph@codesourcery.com>
4071
e47cc4e0
JM
4072 [BZ #6810]
4073 * math/w_tgamma.c: Include <errno.h>.
4074 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
4075 * math/w_tgammaf.c: Include <errno.h>.
4076 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
4077 * math/w_tgammal.c: Include <errno.h>.
4078 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
4079 * math/auto-libm-test-in: Do not allow missing errno on tgamma
4080 underflow. Add more tgamma tests.
4081 * math/auto-libm-test-out: Regenerated.
4082 * sysdeps/i386/fpu/libm-test-ulps: Update.
4083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4084
bbf37bdc
JM
4085 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
4086 sin, sinh, tan, tanh, tgamma, y0 and y1.
4087 * math/auto-libm-test-out: Regenerated.
4088 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4089 (TEST_COND_x86): Likewise.
4090 (M_E2l): Remove macro.
4091 (M_E3l): Likewise.
4092 (M_2_SQRT_PIl): Likewise.
4093 (M_SQRT_PIl): Likewise.
4094 (M_1_DIV_El): Likewise.
4095 (log_test_data): Use AUTO_TESTS_f_f.
4096 (log10_test_data): Likewise.
4097 (log1p_test_data): Likewise.
4098 (log2_test_data): Likewise.
4099 (sin_test_data): Likewise.
4100 (sin_tonearest_test_data): Likewise.
4101 (sin_towardzero_test_data): Likewise.
4102 (sin_downward_test_data): Likewise.
4103 (sin_upward_test_data): Likewise.
4104 (sinh_test_data): Likewise.
4105 (sinh_tonearest_test_data): Likewise.
4106 (sinh_towardzero_test_data): Likewise.
4107 (sinh_downward_test_data): Likewise.
4108 (sinh_upward_test_data): Likewise.
4109 (tan_test_data): Likewise.
4110 (tan_tonearest_test_data): Likewise.
4111 (tan_towardzero_test_data): Likewise.
4112 (tan_downward_test_data): Likewise.
4113 (tan_upward_test_data): Likewise.
4114 (tanh_test_data): Likewise.
4115 (tgamma_test_data): Likewise.
4116 (y0_test_data): Likewise.
4117 (y1_test_data): Likewise.
4118 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
4119 (special_real_inputs): Add pi/4.
4120 * sysdeps/i386/fpu/libm-test-ulps: Update.
4121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4122
eb5ad6b9
AZ
41232013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4124
4125 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
4126 "longjmp_target" static probes.
4127 (__longjmp): Rename to __longjmp_symbol.
4128 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4129 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
4130 on which longjmp to generate.
4131 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4132 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
4133 probe.
4134 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4135 (__sigjmp_save): Rename to __sigjmp_save_symbol.
4136 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4137 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
4138 and __sigjmp_save_symbol based on which sigsetjmp to generated.
4139 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
4140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
4141 __longjmp_symbol based on which __longjmp to generate.
4142 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
4143 probe.
4144 (setjmp): Rename to setjmp_symbol.
4145 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4146 (_setjmp): Rename to _setjmp_symbol.
4147 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4148 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
4149 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
4150 which setjmp to generate.
4151 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
4152 "longjmp_target" static probes.
4153
d136c6dc
SP
41542013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4155
9298ecba
SP
4156 * benchtests/README: Add note about output arguments.
4157 * benchtests/bench-sincos.c: Remove file.
4158 * benchtests/sincos-inputs: New file.
4159 * scripts/bench.pl: Identify output arguments and define
4160 static variables for them.
4161
232983e9
SP
4162 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
4163
d136c6dc
SP
4164 [BZ #15941]
4165 * Makefile (INSTALL): Add install-plain.texi as the primary
4166 dependency.
4167 * manual/install-plain.texi: New file.
4168 * manual/install.texi: Include node directive only for
4169 non-plaintext output.
4170
699ff837
JM
41712013-12-04 Joseph Myers <joseph@codesourcery.com>
4172
ab07cea8
JM
4173 * stdlib/longlong.h: Update from GCC.
4174
699ff837
JM
4175 [BZ #6807]
4176 [BZ #15901]
4177 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
4178 * math/w_j0f.c (y0f): Likewise.
4179 * math/w_j0l.c (__y0l): Likewise.
4180 * math/w_j1.c (y1): Likewise.
4181 * math/w_j1f.c (y1f): Likewise.
4182 * math/w_j1l.c (__y1l): Likewise
4183 * math/w_jn.c (yn): Likewise.
4184 * math/w_jnf.c (ynf): Likewise.
4185 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
4186 Bessel function pole errors in _POSIX_ mode. Use NAN as return
4187 value for Bessel function domain errors outside _SVID_ mode.
4188 Adjust sign of return value for yn (negative integer, 0).
4189 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
4190 by zero in return for negative x and set sign appropriately for
4191 negative n.
4192 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
4193 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
4194 * math/libm-test.inc (y0_test_data): Add more tests and adjust
4195 expectations in error cases.
4196 (y1_test_data): Likewise.
4197 (yn_test_data): Likewise.
4198 * sysdeps/i386/fpu/libm-test-ulps: Update.
4199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4200
5b118558
UW
42012013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4202
4203 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
4204 "64" to "64-v1". Add "64-v2".
4205 (abi-64-options): Rename to ...
4206 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
4207 (abi-64-condition): Rename to ...
4208 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
4209 (abi-64-ld-soname): Rename to ...
4210 (abi-64-v1-ld-soname): ... this.
4211 (abi-64-v2-options): Define.
4212 (abi-64-v2-condition): Likewise.
4213 (abi-64-v2-ld-soname): Likewise.
4214 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
4215 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
4216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
4217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
4218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
4219
61cd8fe4
UW
42202013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4221 Alan Modra <amodra@gmail.com>
4222
4223 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
4224 New versions for use with the ELFv2 ABI.
4225 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
4226 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
4227 declaration.
4228 (struct La_ppc64v2_retval): Likewise.
4229 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
4230 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
4231 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
4232 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
4233 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
4234 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
4235 Do not save or restore CR.
4236 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
4237 (_dl_profile_resolve): Do no save or restore CR. Support extended
4238 return values for ELFv2 ABI. Fix location of FPR return registers.
4239 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
4240 updated values for _CALL_ELF == 2.
4241 (La_regs, La_retval, int_retval): Likewise.
4242
8b8a692c
UW
42432013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4244
4245 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
4246 (FRAME_MIN_SIZE_PARM): Likewise.
4247 (FRAME_BACKCHAIN): Likewise.
4248 (FRAME_CR_SAVE): Likewise.
4249 (FRAME_LR_SAVE): Likewise.
4250 (FRAME_TOC_SAVE): Likewise.
4251 (FRAME_PARM_SAVE): Likewise.
4252 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4253 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4254 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4255 (call_mcount_parm_offset): New macro.
4256 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
4257 (PROF): Use symbolic stack frame offsets.
4258 (TAIL_CALL_SYSCALL_ERROR): Likewise.
4259 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
4260 Redefine in terms of FRAME_MIN_SIZE.
4261 (_dl_runtime_resolve): Use symbolic stack frame offsets.
4262 (_dl_profile_resolve): Likewise. Update comment.
4263 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
4264 symbols stack frame offsets.
4265 (__sigsetjmp): Likewise.
4266 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
4267 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
4268 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
4269 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
4270
4271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
4272 (FRAME_BACKCHAIN): Remove.
4273 (FRAME_CR_SAVE): Likewise.
4274 (FRAME_LR_SAVE): Likewise.
4275 (FRAME_COMPILER_DW): Likewise.
4276 (FRAME_LINKER_DW): Likewise.
4277 (FRAME_TOC_SAVE): Likewise.
4278 (FRAME_PARM_SAVE): Likewise.
4279 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4280 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4281 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
4283 (CHECK_SP): Use symbolic stack frame offsets.
4284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
4285 zone" instead of caller's parameter save area for temp storage.
4286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4287 Likewise. Also, use symbolic stack frame offsets.
4288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
4289 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
4290 our own stack frame instead of the caller's.
4291 (__socket): Use symbolic stack frame offsets.
4292
122b66de
UW
42932013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4294 Alan Modra <amodra@gmail.com>
4295
4296 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
4297 Define.
4298 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
4299 PPC64_LOCAL_ENTRY_OFFSET): Define.
4300 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
4301 New function.
4302 (elf_machine_fixup_plt): Call it.
4303 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
4304 reloc arguments.
4305 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
4306 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4307 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
4308 r2 before calling target.
4309
696caf1d
UW
43102013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4311 Alan Modra <amodra@gmail.com>
4312
4313 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
4314 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
4315 versions of macros to support ELFv2 ABI.
4316 (LOCALENTRY): New macro.
4317 (ENTRY, EALIGN): Use it.
4318 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
4319 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
4320 fall through into ENTRY entry point.
4321 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
4322 Only define if _CALL_ELF != 2.
4323
4324 (elf_machine_matches_host): Verify ABI version matches.
4325 (RTLD_START): Use LOCALENTRY.
4326 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
4327 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
4328 (PLT_ENTRY_WORDS): New macro.
4329 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
4330 (elf_machine_runtime_setup): Support ELFv2 ABI.
4331 (elf_machine_fixup_plt): Likewise.
4332 (elf_machine_plt_conflict): Likewise.
4333 (resolve_ifunc): Likewise.
4334 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4335 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4336 Likewise.
4337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
4338 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
4339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4340 (makecontext): Support ELFv2 ABI.
4341 * elf/elf.h (EF_PPC64_ABI): Define.
4342
d31beafa
UW
43432013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4344
4345 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
4346 New assembler macro.
4347 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
4348 [ASSEMBLER] (ENTRY): ... but instead here ...
4349 [ASSEMBLER] (EALIGN): ... and here.
4350 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
4351 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
4352 [!ASSEMBLER] (ENTRY_2): Use it.
4353 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
4354 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
4355 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4356 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
4357 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
4358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
4359 Use PPC64_LOAD_FUNCPTR.
4360
b525166b
UW
43612013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4362
4363 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
4364
7ec07d9a
AM
43652013-12-04 Alan Modra <amodra@gmail.com>
4366
4367 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
4368 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
4369 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
4370 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
4371
4372 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
4373 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
4374 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
4375 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
4376 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
4377 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
4378
5162e7dd
UW
43792013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4380
4381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4382 (__makecontext): Fix incorrect CFI when backtracing out of
4383 context created via makecontext.
4384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
4385 (__setcontext): Fix incorrect CFI during switch to new context.
4386 (__novec_setcontext): Likewise.
4387
19e3372b
OB
43882013-12-04 Ondřej Bílka <neleai@seznam.cz>
4389
4390 [BZ #4772]
4391 * time/strptime_l.c (__strptime_internal): Allow modifiers
4392 in strptime.
4393 * time/tst-strptime.c (day_tests): Add testcase.
4394
4395
ecaf142d
SP
43962013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4397
4398 * scripts/bench.pl: Skip over blank lines.
4399
fbf964ae
PE
44002013-12-04 Paul Eggert <eggert@cs.ucla.edu>
4401
4402 [BZ #926]
4403 * manual/time.texi (Calendar Time): Clarify what timezone functions
4404 use.
4405
fa60a674
AZ
44062013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4407
4408 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4409
d674f0ef
OB
44102013-12-04 Ondřej Bílka <neleai@seznam.cz>
4411
4412 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
4413 implementation.
4414 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
4415 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
4416 * debug/memset_chk.c (__memset_chk): Likewise.
4417 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
4418 * debug/strncpy_chk.c: Likewise.
4419
17dea188
JM
44202013-12-03 Joseph Myers <joseph@codesourcery.com>
4421
749008ff
JM
4422 [BZ #15268]
4423 [BZ #15425]
4424 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
4425 (__ieee754_exp): For possibly underflowing results, check size of
4426 result and force underflow exception if required.
4427 * math/auto-libm-test-in: Add more tests of exp.
4428 * math/auto-libm-test-out: Regenerated.
4429 * sysdeps/i386/fpu/libm-test-ulps: Update.
4430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4431
17dea188
JM
4432 [BZ #16283]
4433 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
4434 * math/w_exp2f.c (__exp2f): Likewise.
4435 * math/w_exp2l.c (__exp2l): Likewise.
4436 * math/auto-libm-test-in: Do not allow missing errno on exp2
4437 underflow.
4438 * math/auto-libm-test-out: Regenerated.
4439
b20de2c3
OB
44402013-12-03 Ondřej Bílka <neleai@seznam.cz>
4441
4442 [BZ #16274]
4443 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
4444 handle filename validation.
4445 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
4446 (do_open): Delete.
4447
d8e2dbe3
JM
44482013-12-03 Joseph Myers <joseph@codesourcery.com>
4449
34e16df5
JM
4450 [BZ #6786]
4451 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
4452 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
4453 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
4454 <float.h>.
4455 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
4456 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
4457 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4458 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
4459 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4460 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
4461 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4462 * math/auto-libm-test-in: Don't allow missing errno from erfc.
4463 Add more erfc tests.
4464 * math/auto-libm-test-out: Regenerated.
4465 * sysdeps/i386/fpu/libm-test-ulps: Update.
4466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4467
d8e2dbe3
JM
4468 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
4469 exp2, expm1, j0 and j1.
4470 * math/auto-libm-test-out: Regenerated.
4471 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
4472 (erfc_test_data): Likewise.
4473 (exp_test_data): Likewise.
4474 (exp_tonearest_test_data): Likewise.
4475 (exp_towardzero_test_data): Likewise.
4476 (exp_downward_test_data): Likewise.
4477 (exp_upward_test_data): Likewise.
4478 (exp10_test_data): Likewise.
4479 (exp2_test_data): Likewise.
4480 (expm1_test_data): Likewise.
4481 (j0_test_data): Likewise.
4482 (j1_test_data): Likewise.
4483 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
4484 (input_flag_type): Add flag_xfail_rounding.
4485 (input_flags): Add xfail-rounding.
4486 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
4487 (output_for_one_input_case): Handle flag_xfail_rounding.
4488 * sysdeps/i386/fpu/libm-test-ulps: Update.
4489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4490
18d14251
AJ
44912013-12-03 Aurelien Jarno <aurelien@aurel32.net>
4492
3d2e6075 4493 [BZ #16289]
18d14251
AJ
4494 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
4495 division by 0.
4496
520d437b
SP
44972013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4498
4499 [BZ #16195]
4500 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
4501 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
4502 (STAP_PROBE0): New macro.
4503 (STAP_PROBE1): Likewise.
4504 (STAP_PROBE2): Likewise.
4505 (STAP_PROBE3): Likewise.
4506 (STAP_PROBE4): Likewise.
4507
416e0145
OB
45082013-12-02 Ondřej Bílka <neleai@seznam.cz>
4509
4510 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
4511
9d17796a
SE
45122013-12-02 Steve Ellcey <sellcey@mips.com>
4513
4514 * benchtests/Makefile (bench): Add sqrt.
4515 (LDLIBS-bench-sqrt): New.
4516 * benchtests/sqrt-input: New.
4517
f524d6a8
PS
45182013-12-02 Pavel Simerda <psimerda@redhat.com>
4519
639a0ef8
PS
4520 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
4521 (GAIH_EAI): Likewise.
4522 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
4523 (gaih_inet): Likewise.
4524 (getaddrinfo): Don't use GAIH_EAI.
4525
f524d6a8
PS
4526 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
4527 (struct gaih): Remove definition.
4528
df3aedaf
SP
45292013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4530
4531 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
4532 Use HERRNOP directly.
4533
1ab19dec
AZ
45342013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4535
b42ad38d 4536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 4537
176b0c79
JM
45382013-11-30 Joseph Myers <joseph@codesourcery.com>
4539
4540 * math/gen-auto-libm-tests.c (test_functions): Add more
4541 single-argument functions.
4542 (special_fill_pi_2): New function.
4543 (special_fill_minus_pi_2): Likewise.
4544 (special_fill_pi_6): Likewise.
4545 (special_fill_minus_pi_6): Likewise.
4546 (special_fill_pi_3): Likewise.
4547 (special_fill_2pi_3): Likewise.
4548 (special_fill_e): Likewise.
4549 (special_fill_1_e): Likewise.
4550 (special_fill_e_minus_1): Likewise.
4551 (special_real_inputs): Add more special inputs.
4552 (output_for_one_input_case): Do not require ERANGE on underflow to
4553 zero if round-to-nearest result does not underflow to zero, unless
4554 exact results required.
4555 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
4556 atan, atanh, cbrt, cos and cosh.
4557 * math/auto-libm-test-out: Regenerated.
4558 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
4559 (acos_tonearest_test_data): Likewise.
4560 (acos_towardzero_test_data): Likewise.
4561 (acos_downward_test_data): Likewise.
4562 (acos_upward_test_data): Likewise.
4563 (acosh_test_data): Likewise.
4564 (asin_test_data): Likewise.
4565 (asin_tonearest_test_data): Likewise.
4566 (asin_towardzero_test_data): Likewise.
4567 (asin_upward_test_data): Likewise.
4568 (asinh_test_data): Likewise.
4569 (atan_test_data): Likewise.
4570 (atanh_test_data): Likewise.
4571 (cbrt_test_data): Likewise.
4572 (cos_test_data): Likewise.
4573 (cos_tonearest_test_data): Likewise.
4574 (cos_towardzero_test_data): Likewise.
4575 (cos_downward_test_data): Likewise.
4576 (cos_upward_test_data): Likewise.
4577 (cosh_test_data): Likewise.
4578 (cosh_tonearest_test_data): Likewise.
4579 (cosh_towardzero_test_data): Likewise.
4580 (cosh_downward_test_data): Likewise.
4581 (cosh_upward_test_data): Likewise.
4582 * sysdeps/i386/fpu/libm-test-ulps: Update.
4583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4584
ffb536d0
JM
45852013-11-29 Joseph Myers <joseph@codesourcery.com>
4586
2a77a467
JM
4587 [BZ #6787]
4588 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
4589 * math/w_exp10f.c (__exp10f): Likewise.
4590 * math/w_exp10l.c (__exp10l): Likewise.
4591 * math/libm-test.inc (exp10_test_data): Add more tests and expect
4592 errno settings in existing tests.
4593
ea3bc4e8
JM
4594 [BZ #14032]
4595 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
4596 precision control set to double precision.
4597 * sysdeps/i386/fpu/w_sqrt.c: New file.
4598 * math/auto-libm-test-in: Add more tests.
4599 * math/auto-libm-test-out: Update.
4600
0712c9d8
JM
4601 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
4602 (sqrt_test_tonearest): New function.
4603 (sqrt_towardzero_test_data): New variable.
4604 (sqrt_test_towardzero): New function.
4605 (sqrt_downward_test_data): New variable.
4606 (sqrt_test_downward): New function.
4607 (sqrt_upward_test_data): New variable.
4608 (sqrt_test_upward): New function.
4609 (main): Call the new functions.
4610
ffb536d0
JM
4611 * math/gen-auto-libm-tests.c: New file.
4612 * math/auto-libm-test-in: Likewise.
4613 * math/auto-libm-test-out: New generated file.
4614 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
4615 variables.
4616 (%beautify): Add generated representations of zero.
4617 (top level): Set $auto_input and call parse_auto_input.
4618 (beautify): Remove trailing "f" from hex float constants.
4619 (parse_args): Handle XFAIL_TEST.
4620 (convert_condition): New function.
4621 (or_value): Likewise.
4622 (or_cond_value): Likewise.
4623 (generate_testfile): Handle AUTO_TESTS_* lines.
4624 (parse_auto_input): New function.
4625 * math/libm-test.inc (XFAIL_TEST): New macro.
4626 (ERRNO_UNCHANGED): Update value.
4627 (ERRNO_EDOM): Likewise.
4628 (ERRNO_ERANGE): Likewise.
4629 (IGNORE_RESULT): Likewise.
4630 (TEST_COND_flt_32): New macro.
4631 (TEST_COND_dbl_64): Likewise.
4632 (TEST_COND_ldbl_96_intel): Likewise.
4633 (TEST_COND_ldbl_96_m68k): Likewise.
4634 (TEST_COND_ldbl_128): Likewise.
4635 (TEST_COND_ldbl_128ibm): Likewise.
4636 (TEST_COND_long32): Likewise.
4637 (TEST_COND_long64): Likewise.
4638 (TEST_COND_before_rounding): Likewise.
4639 (TEST_COND_after_rounding): Likewise.
4640 (enable_test): Handle XFAIL_TEST flag.
4641 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
4642 with finite results.
4643 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
4644 auto-libm-test-out.
4645
acd98a8e
AK
46462013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4647 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4648
4649 [BZ #16214]
4650 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
4651 __tls_get_addr_internal instead of __tls_get_offset in order to
4652 avoid GOT pointer dependency. Make rtld export
4653 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
4654 __tls_get_addr since we are a __tls_get_offset platform.
4655 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
4656 GOT pointer being set up before.
4657 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
4658
3c1c46a6
JM
46592013-11-28 Joseph Myers <joseph@codesourcery.com>
4660
7475aef5
JM
4661 * manual/math.texi (Errors in Math Functions): Document accuracy
4662 goals.
4663
8bca7cd8
JM
4664 [BZ #15004]
4665 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
4666 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
4667 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4668 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4669 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4670 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4671 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4672 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4673 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4674 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4675 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4676 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4677 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4678 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4679 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4680 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4681
91a1f3fe
JM
4682 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
4683 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
4684 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
4685 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
4686 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
4687 Likewise.
4688 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
4689 Likewise.
4690 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
4691 Likewise.
4692 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
4693 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
4694 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
4695 atomic-feupdateenv and flt-rounds.
4696 * sysdeps/powerpc/nofpu/Versions (libc): Add
4697 __atomic_feholdexcept, __atomic_feclearexcept,
4698 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
4699 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
4700 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
4701 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
4702 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
4703 here.
4704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4705 Update.
4706
c5df7609
JM
4707 * manual/arith.texi (FP Exceptions): Document that exceptions may
4708 not be raised when matherr is used.
4709 (Math Error Reporting): Document overflow in directed rounding
4710 modes. Document that errno may not be set when finite values are
4711 returned on overflow. Document intent to set errno on underflow
4712 only for underflow to zero.
4713
3c1c46a6
JM
4714 [BZ #16271]
4715 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
4716 round-to-nearest then adjust result for other rounding modes.
4717 * include/fenv.h (fegetround): Use libm_hidden_proto.
4718 * math/fegetround.c (fegetround): Use libm_hidden_def.
4719 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
4720 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
4721 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4722 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
4723 Likewise.
4724 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
4725 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4726 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
4727 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
4728
5a4c6d53
SP
47292013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4730
4731 [BZ #16077]
4732 * nss/Versions (libnss_files): Add
4733 _nss_files_gethostbyname3_r.
4734 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
4735 New function.
4736 (HOST_DB_LOOKUP): Remove macro.
4737 (_nss_files_gethostbyname_r): Implement function without the
4738 HOST_DB_LOOKUP macro.
4739 (_nss_files_gethostbyname2_r): Likewise.
4740
897b98ba
OB
47412013-11-28 Ondřej Bílka <neleai@seznam.cz>
4742
4743 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
4744
6f476861
UB
47452013-11-26 Uros Bizjak <ubizjak@gmail.com>
4746
4747 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
4748 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
4749 warning.
4750
bd12ab55
AZ
47512013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4752
4753 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
4754 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
4755 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4756 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4757 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
4758 __fe_nomask_env_priv and attribute_hidden.
4759 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
4760 (libc_feupdateenv_test_ppc): Likewise.
4761 (libc_feresetround_ppc): Likewise.
4762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4763 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
4764 compat_symbol macro.
4765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4766 (__fe_nomask_env): Likewise.
4767 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
4768
52bb6543
OB
47692013-11-26 Ondřej Bílka <neleai@seznam.cz>
4770
4771 * string/Makefile: Remove ifunc tests.
4772 * string/test-string.h: Define TEST_IFUNC.
4773 * string/test-bcopy-ifunc.c: Remove.
4774 * string/test-bzero-ifunc.c: Likewise.
4775 * string/test-memccpy-ifunc.c: Likewise.
4776 * string/test-memchr-ifunc.c: Likewise.
4777 * string/test-memcmp-ifunc.c: Likewise.
4778 * string/test-memcpy-ifunc.c: Likewise.
4779 * string/test-memmem-ifunc.c: Likewise.
4780 * string/test-memmove-ifunc.c: Likewise.
4781 * string/test-mempcpy-ifunc.c: Likewise.
4782 * string/test-memrchr-ifunc.c: Likewise.
4783 * string/test-memset-ifunc.c: Likewise.
4784 * string/test-rawmemchr-ifunc.c: Likewise.
4785 * string/test-stpcpy-ifunc.c: Likewise.
4786 * string/test-stpncpy-ifunc.c: Likewise.
4787 * string/test-strcasecmp-ifunc.c: Likewise.
4788 * string/test-strcasestr-ifunc.c: Likewise.
4789 * string/test-strcat-ifunc.c: Likewise.
4790 * string/test-strchr-ifunc.c: Likewise.
4791 * string/test-strchrnul-ifunc.c: Likewise.
4792 * string/test-strcmp-ifunc.c: Likewise.
4793 * string/test-strcpy-ifunc.c: Likewise.
4794 * string/test-strcspn-ifunc.c: Likewise.
4795 * string/test-strlen-ifunc.c: Likewise.
4796 * string/test-strncasecmp-ifunc.c: Likewise.
4797 * string/test-strncat-ifunc.c: Likewise.
4798 * string/test-strncmp-ifunc.c: Likewise.
4799 * string/test-strncpy-ifunc.c: Likewise.
4800 * string/test-strnlen-ifunc.c: Likewise.
4801 * string/test-strpbrk-ifunc.c: Likewise.
4802 * string/test-strrchr-ifunc.c: Likewise.
4803 * string/test-strspn-ifunc.c: Likewise.
4804 * string/test-strstr-ifunc.c: Likewise.
4805
ab260039 48062013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
4807
4808 * benchtests/Makefile: Remove ifunc tests.
4809 * benchtests/bench-string.h: Define TEST_IFUNC.
4810 * benchtests/bench-bcopy-ifunc.c: Remove.
4811 * benchtests/bench-bzero-ifunc.c: Likewise.
4812 * benchtests/bench-memccpy-ifunc.c: Likewise.
4813 * benchtests/bench-memchr-ifunc.c: Likewise.
4814 * benchtests/bench-memcmp-ifunc.c: Likewise.
4815 * benchtests/bench-memcpy-ifunc.c: Likewise.
4816 * benchtests/bench-memmem-ifunc.c: Likewise.
4817 * benchtests/bench-memmove-ifunc.c: Likewise.
4818 * benchtests/bench-mempcpy-ifunc.c: Likewise.
4819 * benchtests/bench-memrchr-ifunc.c: Likewise.
4820 * benchtests/bench-memset-ifunc.c: Likewise.
4821 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
4822 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
4823 * benchtests/bench-stpcpy-ifunc.c: Likewise.
4824 * benchtests/bench-stpncpy-ifunc.c: Likewise.
4825 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
4826 * benchtests/bench-strcasestr-ifunc.c: Likewise.
4827 * benchtests/bench-strcat-ifunc.c: Likewise.
4828 * benchtests/bench-strchr-ifunc.c: Likewise.
4829 * benchtests/bench-strchrnul-ifunc.c: Likewise.
4830 * benchtests/bench-strcmp-ifunc.c: Likewise.
4831 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
4832 * benchtests/bench-strcpy-ifunc.c: Likewise.
4833 * benchtests/bench-strcspn-ifunc.c: Likewise.
4834 * benchtests/bench-strlen-ifunc.c: Likewise.
4835 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
4836 * benchtests/bench-strncat-ifunc.c: Likewise.
4837 * benchtests/bench-strncmp-ifunc.c: Likewise.
4838 * benchtests/bench-strncpy-ifunc.c: Likewise.
4839 * benchtests/bench-strnlen-ifunc.c: Likewise.
4840 * benchtests/bench-strpbrk-ifunc.c: Likewise.
4841 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 4842 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
4843 * benchtests/bench-strspn-ifunc.c: Likewise.
4844 * benchtests/bench-strstr-ifunc.c: Likewise.
4845
48462013-11-26 Ondřej Bílka <neleai@seznam.cz>
4847
ab260039
OB
4848 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
4849
d1d9eaf4 48502013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 4851
d1d9eaf4
OB
4852 * resolv/netdb.h: Use __glibc_reserved instead __unused.
4853 * rt/aio.h: Likewise.
4854 * sysdeps/gnu/bits/utmp.h: Likewise.
4855 * sysdeps/gnu/bits/utmpx.h: Likewise.
4856 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4857 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
4858 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
4859 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
4860 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
4861 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
4862 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
4863 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
4864 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4865 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
4866 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
4867 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4868 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
4870 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4871 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
4872 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
4873 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
4874 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
4875 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4876 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
4877 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
4878 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
4879 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4880 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4881 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4882 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
4883 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
4884 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
4885 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4886 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4887 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
4888 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
4889 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4890 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
4891 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
4892 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
4893 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
4894 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4895 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
4896 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4897 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4898
a7624ed9
CD
48992013-11-25 Carlos O'Donell <carlos@redhat.com>
4900
4901 [BZ #16245]
4902 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
4903 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
4904
63cfe52b
JM
49052013-11-25 Joseph Myers <joseph@codesourcery.com>
4906
4907 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
4908 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4909 Likewise.
4910
41e8926a
AZ
49112013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4912
4913 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
4914 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
4915 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
4916 (__fesetround): Remove define.
4917 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
4918 rounding and exceptions handling.
4919 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
4920 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
4921 (__fe_nomask_env): Likewise.
4922 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
4923 __fegetround instead of fegetround.
4924 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4925 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4926
6851bd4d
RM
49272013-11-21 Roland McGrath <roland@hack.frob.com>
4928
070906ff
RM
4929 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
4930 it's there.
4931
6851bd4d
RM
4932 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
4933
84ae135d
MI
49342013-11-21 Meador Inge <meadori@codesourcery.com>
4935
4936 [BZ #11157]
4937 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
4938 (encrypt_r): Likewise.
4939 * malloc/obstack.h (obstack_free): Likewise.
4940 * posix/unistd.h (encrypt): Likewise.
4941
daf75146
GM
49422013-11-21 Guy Martin <gmsoft@tuxicoman.be>
4943
4944 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
4945 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
4946 DL_CALL_DT_FINI() that call the functions directly.
4947 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
4948 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
4949 * elf/dl-fini.c: Likewise.
4950
10ad46bc
OB
49512013-11-20 Ondřej Bílka <neleai@seznam.cz>
4952
4953 * malloc/hooks.c (memalign_check): Add alignment rounding.
4954 * malloc/malloc.c (_mid_memalign): New function.
4955 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
4956 Implement by calling _mid_memalign.
4957 * manual/probes.texi (Memory Allocation Probes): Remove
4958 memory_valloc_retry and memory_pvalloc_retry.
4959
f3fd2628
SP
49602013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4961
4712799f
SP
4962 * locale/programs/locarchive.c (open_archive): Add const
4963 qualifier to ARCHIVEFNAME and copy default fname to
4964 DEFAULT_FNAME.
4965
0417b20f
SP
4966 [BZ #15601]
4967 * libio/tst-widetext.input: Rename Oriya to Odia.
4968 * locale/iso-639.def: Likewise.
4969
f3fd2628
SP
4970 * manual/probes.texi (Mathematical Function Probes): Add
4971 documentation for sin, cos, asin and acos probes.
4972 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
4973 (__sin32): Add slowasin probe.
4974 (__cos32): Add slowacos probe.
4975 (__mpsin): Add slowsin probe.
4976 (__mpcos): Add slowcos probe.
4977
73c1ce4f
JM
49782013-11-19 Joseph Myers <joseph@codesourcery.com>
4979
4980 [BZ #15483]
4981 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
4982 thread-local __sim_exceptions_thread and global
4983 __sim_exceptions_global.
4984 (__sim_disabled_exceptions): Change to thread-local
4985 __sim_disabled_exceptions_thread and global
4986 __sim_disabled_exceptions_global.
4987 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4988 and global __sim_round_mode_global.
4989 (__simulate_exceptions): Use thread-local floating-point state and
4990 set global state from it as needed.
4991 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
4992 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
4993 __sim_round_mode_thread.
4994 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
4995 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
4996 and global __sim_exceptions_global.
4997 (__sim_disabled_exceptions): Change to thread-local
4998 __sim_disabled_exceptions_thread and global
4999 __sim_disabled_exceptions_global.
5000 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
5001 and global __sim_round_mode_global.
5002 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
5003 (SIM_SET_GLOBAL): Likewise.
5004 * sysdeps/powerpc/soft-fp/sfp-machine.h
5005 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
5006 __sim_round_mode_thread.
5007 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
5008 __sim_disabled_exceptions_thread.
5009 (__sim_exceptions): Change to __sim_exceptions_thread.
5010 (__sim_disabled_exceptions): Change to
5011 __sim_disabled_exceptions_thread.
5012 (__sim_round_mode): Change to __sim_round_mode_thread.
5013 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
5014 thread-local floating-point state and set global state from it as
5015 needed.
5016 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
5017 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
5018 (__sim_disabled_exceptions): Remove extern declaration.
5019 (feenableexcept): Use thread-local floating-point state and set
5020 global state from it as needed.
5021 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
5022 extern declaration.
5023 (__sim_disabled_exceptions): Likewise.
5024 (__sim_round_mode): Likewise.
5025 (__fegetenv): Use thread-local floating-point state.
5026 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
5027 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
5028 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
5029 floating-point state and set global state from it as needed.
5030 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
5031 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5032 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
5033 Likewise.
5034 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
5035 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
5036 Likewise.
5037 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
5038 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
5039 Use __sim_round_mode_thread.
5040 * math/test-fenv-tls.c: New file.
5041 * math/Makefile (tests): Add test-fenv-tls.
5042 ($(objpfx)test-fenv-tls): Depend on
5043 $(common-objpfx)nptl/libpthread.so.
5044
b5449b12
AS
50452013-11-19 Andreas Schwab <schwab@suse.de>
5046
5047 * locale/programs/locale.c (show_info): Decode wordarray elements.
5048 * locale/categories.def (LC_MONETARY): Add element for
5049 _NL_MONETARY_CRNCYSTR.
5050 * locale/C-monetary.c (conversion_rate): New variable.
5051 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
5052 element.
5053
e186536b
CM
50542013-11-18 Chris Metcalf <cmetcalf@tilera.com>
5055
5056 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
5057 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
5058
5c349950
PP
50592013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5060
5061 * elf/Makefile (tst-auxv): New test.
5062 * elf/tst-auxv.c: New
5063 * elf/rtld.c (dl_main): Adjust AT_EXECFN
5064
699df45b
JM
50652013-11-18 Joseph Myers <joseph@codesourcery.com>
5066
5067 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
5068 (hidden_proto): Caller changed.
5069 (hidden_tls_proto): New macro.
5070 (libc_hidden_tls_proto): Likewise.
5071 (rtld_hidden_tls_proto): Likewise.
5072 (libm_hidden_tls_proto): Likewise.
5073 (libresolv_hidden_tls_proto): Likewise.
5074 (librt_hidden_tls_proto): Likewise.
5075 (libdl_hidden_tls_proto): Likewise.
5076 (libnss_files_hidden_tls_proto): Likewise.
5077 (libnsl_hidden_tls_proto): Likewise.
5078 (libnss_nisplus_hidden_tls_proto): Likewise.
5079 (libutil_hidden_tls_proto): Likewise.
5080
b7589107
OB
50812013-11-18 Ondřej Bílka <neleai@seznam.cz>
5082
5083 [BZ #10253]
5084 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
5085 (decompose_rpath): Defer expansion to fillin_rpath.
5086 (_dl_init_paths): Pass linkmap to fillin_rpath.
5087
250c23bd
RS
50882013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5089
5090 * benchtests/Makefile: Add strsep.
5091 * benchtests/bench-strsep.c: New file: strsep benchtest.
5092 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
5093
a7931fcf
AS
50942013-11-18 Andreas Schwab <schwab@suse.de>
5095
5096 * locale/programs/locale.c (show_info) [case byte]: Check for
5097 '\377' instead of '\177'.
5098 * locale/C-monetary.c (not_available): Always use "\377".
5099 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
5100 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
5101 detect unavailable sign_posn locale elements.
5102 * locale/localeconv.c (__localeconv): For grouping and
5103 mon_grouping handle "\177" and "\377" like no grouping.
5104 (INT_ELEM): New macro. Use it to set all numeric members.
5105 * locale/programs/ld-monetary.c (monetary_read)
5106 <tok_mon_grouping>: Normalize single -1 to the empty string.
5107 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
5108 Likewise.
5109
728dab0e
OB
51102013-11-07 Ondřej Bílka <neleai@seznam.cz>
5111
5112 [BZ #16055]
5113 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
5114 when we match (nil).
5115 * stdio-common/tst-sscanf.c (struct test): Add testcase.
5116
66294491
JM
51172013-11-16 Joseph Myers <joseph@codesourcery.com>
5118
ce665817
JM
5119 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
5120 (NO_TEST_INLINE): Update value.
5121 (ERRNO_UNCHANGED): Likewise.
5122 (ERRNO_EDOM): Likewise.
5123 (ERRNO_ERANGE): Likewise.
5124 (IGNORE_RESULT): Likewise.
5125 (check_float_internal): Check signs of NaN results if
5126 TEST_NAN_SIGN used.
5127 (check_complex): Pass TEST_NAN_SIGN flag through to second
5128 check_float_internal call.
5129 (copysign_test_data): Add tests with quiet NaNs as second
5130 argument. Use TEST_NAN_SIGN.
5131 (fabs_test_data): Add test of negative quiet NaN argument. Use
5132 TEST_NAN_SIGN.
5133 (signbit_test_data): Add tests of quiet NaN argument.
5134 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
5135
ee1466a9
JM
5136 * math/gen-libm-test.pl (show_exceptions): Take extra argument
5137 $ignore_result.
5138 (parse_args): Handle function results specified as IGNORE.
5139 * math/libm-test.inc (IGNORE_RESULT): New macro.
5140 (check_float_internal): Do not check numerical result if flag
5141 IGNORE_RESULT set.
5142 (check_complex): Pass through IGNORE_RESULT to second
5143 check_float_internal call.
5144 (check_int): Do not check numerical result if flag IGNORE_RESULT
5145 set.
5146 (check_long): Likewise.
5147 (check_bool): Likewise.
5148 (check_longlong): Likewise.
5149 (lrint_test_data): Add tests of infinite and NaN arguments.
5150 (lrint_tonearest_test_data): Likewise.
5151 (lrint_towardzero_test_data): Likewise.
5152 (lrint_downward_test_data): Likewise.
5153 (lrint_upward_test_data): Likewise.
5154 (llrint_test_data): Likewise.
5155 (llrint_tonearest_test_data): Likewise.
5156 (llrint_towardzero_test_data): Likewise.
5157 (llrint_downward_test_data): Likewise.
5158 (llrint_upward_test_data): Likewise.
5159 (lround_test_data): Likewise.
5160 (llround_test_data): Likewise.
5161
14407b7e
JM
5162 * math/libm-test.inc (NO_TEST_INLINE): New macro.
5163 (ERRNO_UNCHANGED): Update value.
5164 (ERRNO_EDOM): Likewise.
5165 (ERRNO_ERANGE): Likewise.
5166 (NO_TEST_INLINE_FLOAT): New macro.
5167 (NO_TEST_INLINE_DOUBLE): Likewise.
5168 (enable_test): New function.
5169 (RUN_TEST_f_f): Check enable_test before running test.
5170 (RUN_TEST_2_f): Likewise.
5171 (RUN_TEST_fff_f): Likewise.
5172 (RUN_TEST_c_f): Likewise.
5173 (RUN_TEST_f_f1): Likewise.
5174 (RUN_TEST_fF_f1): Likewise.
5175 (RUN_TEST_fI_f1): Likewise.
5176 (RUN_TEST_ffI_f1): Likewise.
5177 (RUN_TEST_c_c): Likewise.
5178 (RUN_TEST_cc_c): Likewise.
5179 (RUN_TEST_f_i): Likewise.
5180 (RUN_TEST_f_i_tg): Likewise.
5181 (RUN_TEST_ff_i_tg): Likewise.
5182 (RUN_TEST_f_b): Likewise.
5183 (RUN_TEST_f_b_tg): Likewise.
5184 (RUN_TEST_f_l): Likewise.
5185 (RUN_TEST_f_L): Likewise.
5186 (RUN_TEST_fFF_11): Likewise.
5187 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
5188 conditionals.
5189 (cosh_test_data): Likewise.
5190 (exp_test_data): Likewise.
5191 (expm1_test_data): Likewise.
5192 (hypot_test_data): Likewise.
5193 (pow_test_data): Likewise.
5194 (sinh_test_data): Likewise.
5195 (tanh_test_data): Likewise.
5196 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
5197 flags argument.
5198
ca07f197
JM
5199 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
5200 tests with quiet NaN input and output.
5201 (acosh_test_data): Likewise.
5202 (asin_test_data): Likewise.
5203 (asinh_test_data): Likewise.
5204 (atan_test_data): Likewise.
5205 (atanh_test_data): Likewise.
5206 (atan2_test_data): Likewise.
5207 (cbrt_test_data): Likewise.
5208 (cos_test_data): Likewise.
5209 (cosh_test_data): Likewise.
5210 (erf_test_data): Likewise.
5211 (erfc_test_data): Likewise.
5212 (exp_test_data): Likewise.
5213 (exp10_test_data): Likewise.
5214 (exp2_test_data): Likewise.
5215 (expm1_test_data): Likewise.
5216 (hypot_test_data): Likewise.
5217 (j0_test_data): Likewise.
5218 (j1_test_data): Likewise.
5219 (jn_test_data): Likewise.
5220 (lgamma_test_data): Likewise.
5221 (log_test_data): Likewise.
5222 (log10_test_data): Likewise.
5223 (log1p_test_data): Likewise.
5224 (log2_test_data): Likewise.
5225 (pow_test_data): Likewise.
5226 (scalb_test_data): Likewise.
5227 (sin_test_data): Likewise.
5228 (sincos_test_data): Likewise.
5229 (sinh_test_data): Likewise.
5230 (tan_test_data): Likewise.
5231 (tanh_test_data): Likewise.
5232 (tgamma_test_data): Likewise.
5233 (y0_test_data): Likewise.
5234 (y1_test_data): Likewise.
5235 (yn_test_data): Likewise.
5236
66294491
JM
5237 [BZ #16167]
5238 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
5239 argument being NaN and avoid computations with second argument in
5240 that case.
5241 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5242 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5243 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5244
1820b143
CL
52452013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
5246
5247 * locale/iso-639.def: Add Chitwani Tharu (the).
5248
714bd261
AS
52492013-11-14 Andreas Schwab <schwab@suse.de>
5250
5251 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
5252 word instead of empty string.
5253
7ab44563
AZ
52542013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5255
5256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5257 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
5258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5259 (__fe_nomask_env): Likewise.
5260
e8470ea2
SE
52612013-11-13 Steve Ellcey <sellcey@mips.com>
5262
5263 * benchtests/bench-timing.h: Include time.h.
5264
17c1d9f0
L
52652013-11-13 H.J. Lu <hongjiu.lu@intel.com>
5266
5267 [BZ #15997]
5268 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
5269 to 3.4.0 for x32.
5270 * sysdeps/unix/sysv/linux/configure: Regenerated.
5271
9310c284
JM
52722013-11-13 Joseph Myers <joseph@codesourcery.com>
5273
5274 [BZ #16151]
5275 * stdlib/strtod_l.c (round_and_return): Do not consider
5276 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
5277 exponent one less than half the least subnormal exponent.
5278 * stdlib/test-strtod-round-data: Add more tests.
5279 * stdlib/tst-strtod-round.c (tests): Regenerated.
5280
7a2ad8cf
AZ
52812013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5282
5283 [BZ #14143]
5284 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
5285 (__fe_mask_env): Likewise.
5286 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
5287 libm_hidden_proto and add function prototype.
5288 (__fe_mask_env): Add function prototype.
5289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5290 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
5291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5292 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
5293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5294 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
5295
50727aa7
MS
52962013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5297
b2f386c1 5298 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
5299 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
5300
a615be46
MS
53012013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5302
5303 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
5304 of htab_find_slot().
5305
7ddace62
DM
53062013-11-11 David S. Miller <davem@davemloft.net>
5307
5308 [BZ #16150]
5309 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
5310 symbol in the non-vis3 case in static builds.
5311 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
5312 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
5313 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
5314 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
5315
9182aa67
JK
53162013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5317
5318 [BZ #387]
5319 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
5320 it is empty.
5321
450a2e2d
AZ
53222013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5323
b2f386c1
SP
5324 * benchtests/Makefile: Add bench-strtod.
5325 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 5326
8ec3f656
AS
53272013-11-11 Andreas Schwab <schwab@suse.de>
5328
5329 [BZ #16153]
5330 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
5331 terminating NUL in key length.
5332
76a9b998
AZ
53332013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5334
5335 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
5336 Add artificial ODP entry for vDSO symbol for PPC64.
5337 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
5338 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5339
e4368156
OB
53402013-11-07 Ondřej Bílka <neleai@seznam.cz>
5341
5342 [BZ #15374]
5343 * nss/getent.c (services_keys): Recognize services starting with digit.
5344
8d6bb57c
DM
53452013-11-06 David S. Miller <davem@davemloft.net>
5346
5347 [BZ #15985]
5348 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
5349 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
5350
e256c421
WN
53512013-11-06 Will Newton <will.newton@linaro.org>
5352
5353 * manual/memory.texi (Malloc Examples): Remove register
5354 keyword from examples.
5355
f6e12daa 53562013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 5357
f6e12daa 5358 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 5359
9d880655
AS
53602013-11-04 Joseph Myers <joseph@codesourcery.com>
5361
fd2f9486 5362 [BZ #6981]
9d880655
AS
5363 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
5364 depending on [__GCC_IEC_559 > 0].
5365 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
5366 depending on [__GCC_IEC_559_COMPLEX > 0].
5367
ae129d3c
CL
53682013-11-03 Chris Leonard <cjl@sugarlabs.org>
5369
5370 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
5371 to iso-639.def.
5372
4a15c2a4 53732013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
5374
5375 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
5376
8b35e35d
OB
53772013-11-01 Ondřej Bílka <neleai@seznam.cz>
5378
5379 [BZ #16112]
5380 * malloc/malloc (malloc_info): Do not handle first bin as
5381 special case.
5382
1d70fd6c
CL
53832013-11-01 Chris Leonard <cjl@sugarlabs.org>
5384
5385 * locale/iso-639.def: Add Central Nahuatl (nhn).
5386
8c5c2600
BH
53872013-11-01 Bruno Haible <bruno@clisp.org>
5388
5389 [BZ #7003]
5390 * manual/math.texi (BSD Random): Specify range upper bound as
5391 in POSIX.
5392
da5579c2
CL
53932013-10-31 Chris Leonard <cjl@sugarlabs.org>
5394
5395 * locale/iso-639.def: Add Meadow Mari (mhr).
5396
5d30d853
OB
53972013-10-31 Ondřej Bílka <neleai@seznam.cz>
5398
5399 [BZ #14752], [BZ #15763]
5400 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
5401 Validate name.
5402 * rt/tst_shm.c: Add test for escaping directory.
5403
a4966c61
AS
54042013-10-31 Andreas Schwab <schwab@suse.de>
5405
8a43e768 5406 [BZ #15917]
a4966c61
AS
5407 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
5408 followed by 'x' as part of digit sequence.
5409 * stdio-common/tst-sscanf.c (double_tests2): New tests.
5410
28d708c4
MAP
54112013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
5412
5413 [BZ #16037]
5414 * configure.ac: allow GNU Make 4.0 and greater.
5415 * configure: Regenerated.
5416
a56ee40b
WN
54172013-10-30 Will Newton <will.newton@linaro.org>
5418
5419 [BZ #16038]
5420 * malloc/hooks.c (memalign_check): Limit alignment to the
5421 maximum representable power of two.
5422 * malloc/malloc.c (__libc_memalign): Likewise.
5423 * malloc/tst-memalign.c (do_test): Add test for very
5424 large alignment values.
5425 * malloc/tst-posix_memalign.c (do_test): Likewise.
5426
c6e4925d
OB
54272013-10-30 Ondřej Bílka <neleai@seznam.cz>
5428
5429 [BZ #11087]
5430 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
5431 (munmap_chunk): Likewise.
5432 (mremap_chunk): Likewise.
5433
54342013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 5435
8a43e768 5436 [BZ #15799]
bbea82f7
OB
5437 * stdlib/div.c (div): Remove obsolete code.
5438 * stdlib/ldiv.c (ldiv): Likewise.
5439 * stdlib/lldiv.c (lldiv): Likewise.
5440
977f4b31
SP
54412013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5442
5443 [BZ #16071]
5444 * nss/nss_files/files-XXX.c (get_contents_ret): New
5445 enumerator.
5446 (get_contents): New function.
5447 (internal_getent): Use it. Expand size of LINEBUFLEN.
5448
cb8a6dbd
MF
54492013-10-30 Mike Frysinger <vapier@gentoo.org>
5450
5451 * configure.in: Moved to ...
5452 * configure.ac: ... here. Change reference to configure.in
5453 to configure.ac.
5454 * sysdeps/arm/preconfigure.ac: ... here.
5455 configure.in to configure.ac.
5456 * sysdeps/gnu/configure.in: Moved to ...
5457 * sysdeps/gnu/configure.ac: ... here.
5458 * sysdeps/i386/configure.in: Moved to ...
5459 * sysdeps/i386/configure.ac: ... here.
5460 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
5461 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
5462 * sysdeps/mach/configure.in: Moved to ...
5463 * sysdeps/mach/configure.ac: ... here.
5464 * sysdeps/mach/hurd/configure.in: Moved to ...
5465 * sysdeps/mach/hurd/configure.ac: ... here.
5466 * sysdeps/powerpc/configure.in: Moved to ...
5467 * sysdeps/powerpc/configure.ac: ... here.
5468 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
5469 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
5470 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
5471 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
5472 * sysdeps/s390/s390-32/configure.in: Moved to ...
5473 * sysdeps/s390/s390-32/configure.ac: ... here.
5474 * sysdeps/s390/s390-64/configure.in: Moved to ...
5475 * sysdeps/s390/s390-64/configure.ac: ... here.
5476 * sysdeps/sh/configure.in: Moved to ...
5477 * sysdeps/sh/configure.ac: ... here.
5478 * sysdeps/sparc/configure.in: Moved to ...
5479 * sysdeps/sparc/configure.ac: ... here.
5480 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
5481 * sysdeps/unix/sysv/linux/configure.ac: ... here.
5482 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
5483 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
5484 * sysdeps/x86_64/configure.in: Moved to ...
5485 * sysdeps/x86_64/configure.ac: ... here.
5486 * sysdeps/x86_64/preconfigure.in: Moved to ...
5487 * sysdeps/x86_64/preconfigure.ac: ... here.
5488 * aclocal.m4: Change reference to configure.in to configure.ac.
5489 * config.h.in: Likewise.
5490 * manual/install.texi: Likewise.
5491 * manual/maint.texi: Likewise.
5492 * Makefile: Likewise.
5493 * malloc/Makefile: Likewise.
5494 * nscd/Makefile: Likewise.
5495 * Makeconfig: Change reference to configure.in and
5496 preconfigure.in to configure.ac and preconfigure.ac
5497 respectively.
5498 * INSTALL: Regenerated.
5499 * configure: Likewise.
5500 * sysdeps/gnu/configure: Likewise.
5501 * sysdeps/i386/configure: Likewise.
5502 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
5503 * sysdeps/mach/configure: Likewise.
5504 * sysdeps/mach/hurd/configure: Likewise.
5505 * sysdeps/powerpc/configure: Likewise.
5506 * sysdeps/powerpc/powerpc32/configure: Likewise.
5507 * sysdeps/powerpc/powerpc64/configure: Likewise.
5508 * sysdeps/s390/s390-32/configure: Likewise.
5509 * sysdeps/s390/s390-64/configure: Likewise.
5510 * sysdeps/sh/configure: Likewise.
5511 * sysdeps/sparc/configure: Likewise.
5512 * sysdeps/unix/sysv/linux/configure: Likewise.
5513 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
5514 * sysdeps/x86_64/configure: Likewise.
5515 * sysdeps/x86_64/preconfigure: Likewise.
5516
36a4953a
AS
55172013-10-29 Andreas Schwab <schwab@suse.de>
5518
5519 * stdio-common/Makefile (tst-swscanf-ENV): Define.
5520
c79a1204
SP
55212013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5522
dfa1b402
SP
5523 * benchtests/pow-inputs: Add new inputs.
5524
54f73d9c
SP
5525 * benchtests/exp-inputs: Add new inputs.
5526
c79a1204
SP
5527 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
5528 conditional check for return value.
5529 (__cos32): Likewise.
5530
67beb545 55312013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
5532
5533 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
5534 to provide a boost for large inputs with word alignment.
5535 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
5536 implementation based on optimized PPC64 strcpy.
5537 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
5538 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
5539 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
5540 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
5541
151659f6
OB
55422013-10-25 Ondřej Bílka <neleai@seznam.cz>
5543
482a077e 5544 [BZ #2801]
151659f6
OB
5545 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
5546
10b0f26b
OB
55472013-10-25 Ondřej Bílka <neleai@seznam.cz>
5548
5549 [BZ #14876]
5550 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
5551 * time/tst-strptime.c (day_tests): Add testcase.
5552
ca42d35e
OB
55532013-10-25 Ondřej Bílka <neleai@seznam.cz>
5554
482a077e 5555 [BZ #14029]
ca42d35e
OB
5556 * manual/pattern.texi: Acknowledge that fnmatch can fail.
5557
52e6d801
FB
55582013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
5559
5560 [BZ #16074]
5561 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
5562 MAP_FAILED on error.
5563
7cbcdb36
SP
55642013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5565
5566 [BZ #16072]
5567 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
5568 heap for large requests.
5569
894f3f10
AM
55702013-10-25 Aurelien Jarno <aurelien@aurel32.net>
5571
5572 [BZ #9954]
5573 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
5574 result if the result has no associated interface.
5575 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
5576 interface for all 127.X.Y.Z addresses.
5577
b85545a6
CL
55782013-10-24 Chris Leonard <cjl@sugarlabs.org>
5579
5580 * locale/iso-639.def: Add Ligurian (lij)
5581
d1f23d46
OB
55822013-10-21 Ondřej Bílka <neleai@seznam.cz>
5583
5584 [BZ #15825]
5585 * sunrpc/rpc_main.c: Document rpcgen -5.
5586
4db5b08f
MS
55872013-10-19 Michael Stahl <mstahl@redhat.com>
5588
5589 * elf/rtld.c (do_preload): Print the reason why preloading failed.
5590
a471e96a
OB
55912013-10-19 Ondřej Bílka <neleai@seznam.cz>
5592
d1f23d46 5593 [BZ #10278]
a471e96a
OB
5594 * posix/glob.c: Match only directories when trailing slash is present.
5595 * posix/tst-gnuglob.c (my_opendir): Do not open files.
5596 (main): Add testcase.
5597
45c30c61
OB
55982013-10-19 Ondřej Bílka <neleai@seznam.cz>
5599
5600 [BZ #15670]
5601 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
5602
484c12fb
CD
56032013-10-18 Carlos O'Donell <carlos@redhat.com>
5604
3d7dc513
CD
5605 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
5606 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
5607 AUTH_DES and cindex for FIPS 140-2.
5608 (DES Encryption): Add cindex FIPS 46-3.
5609
484c12fb
CD
5610 * locale/locarchive.h (struct locarhandle): Add fname.
5611 * locale/programs/localedef.c (main): Pass ARGV[remaining]
5612 if an optional argument was specified to --list-archive,
5613 otherwise NULL.
5614 * locale/programs/locarchive.c (show_archive_content): Take new
5615 argument fname and pass it via ah.fname to open_archive.
5616 * locale/programs/localedef.h: Update decl.
5617 (open_archive): If AH->fname is non-null, open that file
5618 rather than the default file name, and don't ignore ENOENT.
5619 (create_archive): Set AH.fname to NULL.
5620 (delete_locales_from_archive): Likewise.
5621 (add_locales_to_archive): Likewise.
5622 * locale/programs/locfile.c (write_all_categories): Likewise.
5623
3c8325fb
JM
56242013-10-18 Joseph Myers <joseph@codesourcery.com>
5625 Aldy Hernandez <aldyh@redhat.com>
5626
5627 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
5628 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
5629 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
5630 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
5631 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
5632 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
5633 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
5634 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
5635 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
5636 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
5637 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
5638 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
5639 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
5640 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
5641 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
5642 Likewise.
5643 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
5644 Likewise.
5645 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
5646 Likewise.
5647 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
5648 Likewise.
5649 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
5650 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
5651 Likewise.
5652 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
5653 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
5654 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
5655 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
5656 Likewise.
5657 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
5658 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
5659 * sysdeps/powerpc/preconfigure: Likewise.
5660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
5661 Likewise.
5662 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
5663 Replace contents of file by #include of <fenv_libc.h>.
5664 * sysdeps/powerpc/soft-fp/sfp-machine.h
5665 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
5666 and <sys/prctl.h>.
5667 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
5668 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
5669 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
5670 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
5671 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
5672 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
5673 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
5674 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
5675 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
5676 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
5677 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
5678 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
5679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5680 Allow copysignl PLT reference to be missing.
5681
5abe0682
RS
56822013-10-18 Richard Sandiford <richard@codesourcery.com>
5683 Joseph Myers <joseph@codesourcery.com
5684
5685 [BZ #15948]
5686 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
5687 single character.
5688 (add_to_tablewc): Assert sequence of wide characters is nonempty.
5689
c7738d08
SP
56902013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5691
5692 * elf/tst-tls-dlinfo.c: Don't include tls.h.
5693 * elf/tst-tls1.c: Likewise.
5694 * elf/tst-tls10.h: Likewise.
5695 * elf/tst-tls14.c: Likewise.
5696 * elf/tst-tls2.c: Likewise.
5697 * elf/tst-tls3.c: Likewise.
5698 * elf/tst-tls4.c: Likewise.
5699 * elf/tst-tls5.c: Likewise.
5700 * elf/tst-tls6.c: Likewise.
5701 * elf/tst-tls7.c: Likewise.
5702 * elf/tst-tls8.c: Likewise.
5703 * elf/tst-tls9.c: Likewise.
5704 * elf/tst-tlsmod1.c: Likewise.
5705 * elf/tst-tlsmod13.c: Likewise.
5706 * elf/tst-tlsmod13a.c: Likewise.
5707 * elf/tst-tlsmod14a.c: Likewise.
5708 * elf/tst-tlsmod16a.c: Likewise.
5709 * elf/tst-tlsmod16b.c: Likewise.
5710 * elf/tst-tlsmod2.c: Likewise.
5711 * elf/tst-tlsmod3.c: Likewise.
5712 * elf/tst-tlsmod4.c: Likewise.
5713 * elf/tst-tlsmod5.c: Likewise.
5714 * elf/tst-tlsmod6.c: Likewise.
5715
0bfcf2c7
OB
57162013-10-18 Ondřej Bílka <neleai@seznam.cz>
5717
5718 [BZ #12486]
5719 * malloc/malloc.c: remove checks for statistics.
5720
264aad1e
OB
57212013-10-17 Ondřej Bílka <neleai@seznam.cz>
5722
5723 [BZ #15277]
5724 * inet/inet_net.c (inet_network): Detect additional invalid strings.
5725 * inet/tst-network.c: Add testcase.
5726
b957ced8
AS
57272013-10-17 Andreas Schwab <schwab@suse.de>
5728
5729 [BZ #15218]
5730 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
5731 to determine canonical name.
5732
c5d5d574
OB
57332013-10-17 Ondřej Bílka <neleai@seznam.cz>
5734
5735 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
5736 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
5737 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5738 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5739 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5740 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5741 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5742 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5743 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5744 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5745 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5746 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5747 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5748 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5749 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5750 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5751 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5752 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5753 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5754 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5755 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5756 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5757 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5758 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
5759 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
5760 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5761 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5762 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
5763 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5764 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
5765 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5766 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5767 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5768 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5769 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5770 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5771 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5772 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5773 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5774 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5775 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5776 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5777 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5778 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5779 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5780 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5781 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5782 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5783 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5784 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5785 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5786 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5787 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5788 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5789 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5790 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5791 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5792 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5793
e5c2c2d0
JM
57942013-10-17 Joseph Myers <joseph@codesourcery.com>
5795
5796 [BZ #16041]
5797 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
5798 make result into a quiet NaN.
5799
51ca9e29
JM
58002013-10-16 Joseph Myers <joseph@codesourcery.com>
5801
5802 * soft-fp/adddf3.c: Fix horizontal whitespace.
5803 * soft-fp/addsf3.c: Likewise.
5804 * soft-fp/addtf3.c: Likewise.
5805 * soft-fp/divdf3.c: Likewise.
5806 * soft-fp/divsf3.c: Likewise.
5807 * soft-fp/divtf3.c: Likewise.
5808 * soft-fp/double.h: Likewise.
5809 * soft-fp/eqdf2.c: Likewise.
5810 * soft-fp/eqsf2.c: Likewise.
5811 * soft-fp/eqtf2.c: Likewise.
5812 * soft-fp/extenddftf2.c: Likewise.
5813 * soft-fp/extended.h: Likewise.
5814 * soft-fp/extendsfdf2.c: Likewise.
5815 * soft-fp/extendsftf2.c: Likewise.
5816 * soft-fp/extendxftf2.c: Likewise.
5817 * soft-fp/fixdfdi.c: Likewise.
5818 * soft-fp/fixdfsi.c: Likewise.
5819 * soft-fp/fixdfti.c: Likewise.
5820 * soft-fp/fixsfdi.c: Likewise.
5821 * soft-fp/fixsfsi.c: Likewise.
5822 * soft-fp/fixsfti.c: Likewise.
5823 * soft-fp/fixtfdi.c: Likewise.
5824 * soft-fp/fixtfsi.c: Likewise.
5825 * soft-fp/fixtfti.c: Likewise.
5826 * soft-fp/fixunsdfdi.c: Likewise.
5827 * soft-fp/fixunsdfsi.c: Likewise.
5828 * soft-fp/fixunsdfti.c: Likewise.
5829 * soft-fp/fixunssfdi.c: Likewise.
5830 * soft-fp/fixunssfsi.c: Likewise.
5831 * soft-fp/fixunssfti.c: Likewise.
5832 * soft-fp/fixunstfdi.c: Likewise.
5833 * soft-fp/fixunstfsi.c: Likewise.
5834 * soft-fp/fixunstfti.c: Likewise.
5835 * soft-fp/floatdidf.c: Likewise.
5836 * soft-fp/floatdisf.c: Likewise.
5837 * soft-fp/floatditf.c: Likewise.
5838 * soft-fp/floatsidf.c: Likewise.
5839 * soft-fp/floatsisf.c: Likewise.
5840 * soft-fp/floatsitf.c: Likewise.
5841 * soft-fp/floattidf.c: Likewise.
5842 * soft-fp/floattisf.c: Likewise.
5843 * soft-fp/floattitf.c: Likewise.
5844 * soft-fp/floatundidf.c: Likewise.
5845 * soft-fp/floatundisf.c: Likewise.
5846 * soft-fp/floatunditf.c: Likewise.
5847 * soft-fp/floatunsidf.c: Likewise.
5848 * soft-fp/floatunsisf.c: Likewise.
5849 * soft-fp/floatunsitf.c: Likewise.
5850 * soft-fp/floatuntidf.c: Likewise.
5851 * soft-fp/floatuntisf.c: Likewise.
5852 * soft-fp/floatuntitf.c: Likewise.
5853 * soft-fp/fmadf4.c: Likewise.
5854 * soft-fp/fmasf4.c: Likewise.
5855 * soft-fp/fmatf4.c: Likewise.
5856 * soft-fp/gedf2.c: Likewise.
5857 * soft-fp/gesf2.c: Likewise.
5858 * soft-fp/getf2.c: Likewise.
5859 * soft-fp/ledf2.c: Likewise.
5860 * soft-fp/lesf2.c: Likewise.
5861 * soft-fp/letf2.c: Likewise.
5862 * soft-fp/muldf3.c: Likewise.
5863 * soft-fp/mulsf3.c: Likewise.
5864 * soft-fp/multf3.c: Likewise.
5865 * soft-fp/negdf2.c: Likewise.
5866 * soft-fp/negsf2.c: Likewise.
5867 * soft-fp/negtf2.c: Likewise.
5868 * soft-fp/op-1.h: Likewise.
5869 * soft-fp/op-2.h: Likewise.
5870 * soft-fp/op-4.h: Likewise.
5871 * soft-fp/op-8.h: Likewise.
5872 * soft-fp/op-common.h: Likewise.
5873 * soft-fp/quad.h: Likewise.
5874 * soft-fp/single.h: Likewise.
5875 * soft-fp/soft-fp.h: Likewise.
5876 * soft-fp/sqrtdf2.c: Likewise.
5877 * soft-fp/sqrtsf2.c: Likewise.
5878 * soft-fp/sqrttf2.c: Likewise.
5879 * soft-fp/subdf3.c: Likewise.
5880 * soft-fp/subsf3.c: Likewise.
5881 * soft-fp/subtf3.c: Likewise.
5882 * soft-fp/truncdfsf2.c: Likewise.
5883 * soft-fp/trunctfdf2.c: Likewise.
5884 * soft-fp/trunctfsf2.c: Likewise.
5885 * soft-fp/trunctfxf2.c: Likewise.
5886 * soft-fp/unorddf2.c: Likewise.
5887 * soft-fp/unordsf2.c: Likewise.
5888 * soft-fp/unordtf2.c: Likewise.
5889
9ebb0332
JM
58902013-10-15 Joseph Myers <joseph@codesourcery.com>
5891
5892 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
5893 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
5894
4b1a6d8b
OB
58952013-10-15 Ondřej Bílka <neleai@seznam.cz>
5896
5897 * elf/dl-libc.c: Clear initfini list after freeing.
5898
1e145589
JM
58992013-10-14 Joseph Myers <joseph@codesourcery.com>
5900
5901 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
5902 * soft-fp/addsf3.c: Likewise.
5903 * soft-fp/addtf3.c: Likewise.
5904 * soft-fp/divdf3.c: Likewise.
5905 * soft-fp/divsf3.c: Likewise.
5906 * soft-fp/divtf3.c: Likewise.
5907 * soft-fp/double.h: Likewise.
5908 * soft-fp/eqdf2.c: Likewise.
5909 * soft-fp/eqsf2.c: Likewise.
5910 * soft-fp/eqtf2.c: Likewise.
5911 * soft-fp/extenddftf2.c: Likewise.
5912 * soft-fp/extended.h: Likewise.
5913 * soft-fp/extendsfdf2.c: Likewise.
5914 * soft-fp/extendsftf2.c: Likewise.
5915 * soft-fp/extendxftf2.c: Likewise.
5916 * soft-fp/fixdfdi.c: Likewise.
5917 * soft-fp/fixdfsi.c: Likewise.
5918 * soft-fp/fixdfti.c: Likewise.
5919 * soft-fp/fixsfdi.c: Likewise.
5920 * soft-fp/fixsfsi.c: Likewise.
5921 * soft-fp/fixsfti.c: Likewise.
5922 * soft-fp/fixtfdi.c: Likewise.
5923 * soft-fp/fixtfsi.c: Likewise.
5924 * soft-fp/fixtfti.c: Likewise.
5925 * soft-fp/fixunsdfdi.c: Likewise.
5926 * soft-fp/fixunsdfsi.c: Likewise.
5927 * soft-fp/fixunsdfti.c: Likewise.
5928 * soft-fp/fixunssfdi.c: Likewise.
5929 * soft-fp/fixunssfsi.c: Likewise.
5930 * soft-fp/fixunssfti.c: Likewise.
5931 * soft-fp/fixunstfdi.c: Likewise.
5932 * soft-fp/fixunstfsi.c: Likewise.
5933 * soft-fp/fixunstfti.c: Likewise.
5934 * soft-fp/floatdidf.c: Likewise.
5935 * soft-fp/floatdisf.c: Likewise.
5936 * soft-fp/floatditf.c: Likewise.
5937 * soft-fp/floatsidf.c: Likewise.
5938 * soft-fp/floatsisf.c: Likewise.
5939 * soft-fp/floatsitf.c: Likewise.
5940 * soft-fp/floattidf.c: Likewise.
5941 * soft-fp/floattisf.c: Likewise.
5942 * soft-fp/floattitf.c: Likewise.
5943 * soft-fp/floatundidf.c: Likewise.
5944 * soft-fp/floatundisf.c: Likewise.
5945 * soft-fp/floatunsidf.c: Likewise.
5946 * soft-fp/floatunsisf.c: Likewise.
5947 * soft-fp/floatuntidf.c: Likewise.
5948 * soft-fp/floatuntisf.c: Likewise.
5949 * soft-fp/floatuntitf.c: Likewise.
5950 * soft-fp/fmadf4.c: Likewise.
5951 * soft-fp/fmasf4.c: Likewise.
5952 * soft-fp/fmatf4.c: Likewise.
5953 * soft-fp/gedf2.c: Likewise.
5954 * soft-fp/gesf2.c: Likewise.
5955 * soft-fp/getf2.c: Likewise.
5956 * soft-fp/ledf2.c: Likewise.
5957 * soft-fp/lesf2.c: Likewise.
5958 * soft-fp/letf2.c: Likewise.
5959 * soft-fp/muldf3.c: Likewise.
5960 * soft-fp/mulsf3.c: Likewise.
5961 * soft-fp/multf3.c: Likewise.
5962 * soft-fp/negdf2.c: Likewise.
5963 * soft-fp/negsf2.c: Likewise.
5964 * soft-fp/negtf2.c: Likewise.
5965 * soft-fp/op-1.h: Likewise.
5966 * soft-fp/op-2.h: Likewise.
5967 * soft-fp/op-4.h: Likewise.
5968 * soft-fp/op-8.h: Likewise.
5969 * soft-fp/op-common.h: Likewise.
5970 * soft-fp/quad.h: Likewise.
5971 * soft-fp/single.h: Likewise.
5972 * soft-fp/soft-fp.h: Likewise.
5973 * soft-fp/sqrtdf2.c: Likewise.
5974 * soft-fp/sqrtsf2.c: Likewise.
5975 * soft-fp/sqrttf2.c: Likewise.
5976 * soft-fp/subdf3.c: Likewise.
5977 * soft-fp/subsf3.c: Likewise.
5978 * soft-fp/subtf3.c: Likewise.
5979 * soft-fp/truncdfsf2.c: Likewise.
5980 * soft-fp/trunctfdf2.c: Likewise.
5981 * soft-fp/trunctfsf2.c: Likewise.
5982 * soft-fp/trunctfxf2.c: Likewise.
5983 * soft-fp/unorddf2.c: Likewise.
5984 * soft-fp/unordsf2.c: Likewise.
5985 * soft-fp/unordtf2.c: Likewise.
5986
17c48a60
OB
59872013-10-14 Ondřej Bílka <neleai@seznam.cz>
5988
5989 [BZ #15672]
5990 * misc/error.c (error_tail): Fix possible buffer overflow.
5991
cabba934
OB
59922013-10-14 Aurelien Jarno <aurelien@aurel32.net>
5993
5994 [BZ #13028]
5995 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
5996 address.
5997
94bf958a
PM
59982013-10-14 P. J. McDermott <pj@pehjota.net>
5999
6000 [BZ #832]
6001 * elf/ldd.bash.in (try_trace): New function. Delete previous code
6002 testing pipefail option.
6003
71b4dea7
JM
60042013-10-12 Joseph Myers <joseph@codesourcery.com>
6005
6006 * soft-fp/double.h: Indent preprocessor directives inside #if.
6007 * soft-fp/extended.h: Likewise.
6008 * soft-fp/op-2.h: Likewise.
6009 * soft-fp/op-4.h: Likewise.
6010 * soft-fp/op-common.h: Likewise.
6011 * soft-fp/quad.h: Likewise.
6012 * soft-fp/single.h: Likewise.
6013 * soft-fp/soft-fp.h: Likewise.
6014
55602758
YC
60152013-10-12 Yuri Chornoivan <yurchor@ukr.net>
6016
6017 * iconv/iconv_prog.c: Fix typos.
6018 * stdio-common/psiginfo-data.h: Likewise.
6019
9cd83302
RT
60202013-10-12 Reuben Thomas <rrt@sc3d.org>
6021
6022 [BZ #15764]
6023 * locale/setlocale.c: Fix typo.
6024
99fd9f47
JM
60252013-10-12 Joseph Myers <joseph@codesourcery.com>
6026
b7ea74f0
JM
6027 [BZ #16036]
6028 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
6029 signaling NaN arguments.
6030 * soft-fp/unordsf2.c (__unordsf2): Likewise.
6031 * soft-fp/unordtf2.c (__unordtf2): Likewise.
6032
8a509447
JM
6033 [BZ #14910]
6034 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
6035 unordered operands.
6036 * soft-fp/gesf2.c (__gesf2): Likewise.
6037 * soft-fp/getf2.c (__getf2): Likewise.
6038 * soft-fp/ledf2.c (__ledf2): Likewise.
6039 * soft-fp/lesf2.c (__lesf2): Likewise.
6040 * soft-fp/letf2.c (__letf2): Likewise.
6041
98998e9f
JM
6042 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
6043 * soft-fp/eqsf2.c (__eqsf2): Likewise.
6044 * soft-fp/eqtf2.c (__eqtf2): Likewise.
6045 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
6046 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
6047 * soft-fp/fixdfti.c (__fixdfti): Likewise.
6048 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
6049 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
6050 * soft-fp/fixsfti.c (__fixsfti): Likewise.
6051 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
6052 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
6053 * soft-fp/fixtfti.c (__fixtfti): Likewise.
6054 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
6055 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
6056 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
6057 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
6058 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
6059 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
6060 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
6061 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
6062 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
6063 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
6064 * soft-fp/floatdisf.c (__floatdisf): Likewise.
6065 * soft-fp/floatsisf.c (__floatsisf): Likewise.
6066 * soft-fp/floattidf.c (__floattidf): Likewise.
6067 * soft-fp/floattisf.c (__floattisf): Likewise.
6068 * soft-fp/floattitf.c (__floattitf): Likewise.
6069 * soft-fp/floatundidf.c (__floatundidf): Likewise.
6070 * soft-fp/floatundisf.c (__floatundisf): Likewise.
6071 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
6072 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
6073 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
6074 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
6075 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
6076 * soft-fp/gesf2.c (__gesf2): Likewise.
6077 * soft-fp/getf2.c (__getf2): Likewise.
6078 * soft-fp/ledf2.c (__ledf2): Likewise.
6079 * soft-fp/lesf2.c (__lesf2): Likewise.
6080 * soft-fp/letf2.c (__letf2): Likewise.
6081
8edc4a11
JM
6082 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
6083 Undefine and redefine.
6084 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
6085 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
6086 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
6087 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
6088 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6089 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
6090 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6091 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
6092 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6093 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
6094 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6095 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
6096 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6097 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
6098 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6099
8399acaf
JM
6100 [BZ #16032]
6101 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
6102 without decrementing exponent if mantissa >= that for the
6103 denominator, not >.
6104 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
6105 denominator, not >. Decrement exponent in < case instead of
6106 incrementing in >= case.
6107 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
6108 without decrementing exponent if mantissa >= that for the
6109 denominator, not >.
6110
99fd9f47
JM
6111 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
6112 computing saturated result for unsigned overflow.
6113
10e1cf6b
SP
61142013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6115 Jeff Law <law@redhat.com>
6116
6117 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
6118 (atan2Mp): Add systemtap probe marker.
6119 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
6120 (__ieee754_log): Add systemtap probe marker.
6121 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
6122 (atanMp): Add systemtap probe marker.
6123 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
6124 (tanMp): Add systemtap probe marker.
6125 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
6126 (__slowexp): Add systemtap probe marker.
6127 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
6128 (__slowpow): Add systemtap probe marker.
6129 * manual/probes.texi: Document probes.
6130
3d110c7c
EB
61312013-10-11 Eric Biggers <ebiggers3@gmail.com>
6132
6133 [BZ #15362]
6134 * libio/fileops.c (_IO_new_file_write): Return count of bytes
6135 written.
6136 (_IO_new_file_xsputn): Don't return EOF if nothing has been
6137 written.
6138 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
6139 written to buffer but not flushed.
6140 * libio/iofwrite_u.c: Likewise.
6141 * libio/iopadn.c: Return bytes returned even if EOF was
6142 encountered.
6143 * libio/iowpadn.c: Likewise.
6144 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
6145 if _IO_padn does not write the whole buffer.
6146 [!COMPILE_WPRINTF] (PAD): Likewise.
6147
75b4202a
DM
61482013-10-10 David S. Miller <davem@davemloft.net>
6149
6150 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
6151 directory block.
6152
6c6352e6
JM
61532013-10-10 Joseph Myers <joseph@codesourcery.com>
6154
33b853c3
JM
6155 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
6156 instead of FSF address.
6157 * soft-fp/fixdfti.c: Likewise.
6158 * soft-fp/fixsfti.c: Likewise.
6159 * soft-fp/fixtfti.c: Likewise.
6160 * soft-fp/fixunsdfti.c: Likewise.
6161 * soft-fp/fixunssfti.c: Likewise.
6162 * soft-fp/fixunstfti.c: Likewise.
6163 * soft-fp/floattidf.c: Likewise.
6164 * soft-fp/floattisf.c: Likewise.
6165 * soft-fp/floattitf.c: Likewise.
6166 * soft-fp/floatuntidf.c: Likewise.
6167 * soft-fp/floatuntisf.c: Likewise.
6168 * soft-fp/floatuntitf.c: Likewise.
6169 * soft-fp/trunctfxf2.c: Likewise.
6170
6c6352e6
JM
6171 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
6172 * soft-fp/fixdfti.c: Likewise.
6173 * soft-fp/fixsfti.c: Likewise.
6174 * soft-fp/fixtfti.c: Likewise.
6175 * soft-fp/fixunsdfti.c: Likewise.
6176 * soft-fp/fixunssfti.c: Likewise.
6177 * soft-fp/fixunstfti.c: Likewise.
6178 * soft-fp/floattidf.c: Likewise.
6179 * soft-fp/floattisf.c: Likewise.
6180 * soft-fp/floattitf.c: Likewise.
6181 * soft-fp/floatuntidf.c: Likewise.
6182 * soft-fp/floatuntisf.c: Likewise.
6183 * soft-fp/floatuntitf.c: Likewise.
6184 * soft-fp/trunctfxf2.c: Likewise.
6185
3bf78b71
DM
61862013-10-10 David S. Miller <davem@davemloft.net>
6187
6188 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6189
6f10289e
JM
61902013-10-10 Joseph Myers <joseph@codsourcery.com>
6191
bd878fc0
JM
6192 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6193 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
6194 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
6195 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
6196 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
6197 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
6198 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
6199
6f10289e
JM
6200 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
6201 for NaNs before doing comparisons on argument.
6202 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
6203 Likewise.
6204
321e2684
WN
62052013-10-10 Will Newton <will.newton@linaro.org>
6206
6207 * malloc/hooks.c (memalign_check): Ensure the value of bytes
6208 passed to _int_memalign does not overflow.
6209
40fefba1
TR
62102013-10-10 Torvald Riegel <triegel@redhat.com>
6211
6212 * scripts/bench.pl: Add include-sources directive.
6213 * benchtests/README: Update documentation.
6214
2ae21ed2
JM
62152013-10-10 Joseph Myers <joseph@codesourcery.com>
6216
dcc2dd3f
JM
6217 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
6218 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
6219 instead of FP_INIT_ROUNDMODE.
6220 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
6221 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
6222
2ae21ed2
JM
6223 [BZ #16034]
6224 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
6225 copy class of input value.
6226 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
6227 not handle exceptions.
6228 * soft-fp/negsf2.c (__negsf2): Likewise.
6229 * soft-fp/negtf2.c (__negtf2): Likewise.
6230 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
6231
cb8f9562
JM
62322013-10-09 Joseph Myers <joseph@codesourcery.com>
6233
6234 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
6235 semicolon. From Linux kernel.
6236
5b60c59d
AB
62372013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
6238
6239 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
6240
b86835ca
YC
62412013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
6242
6243 [BZ #156]
6244 * manual/socket.texi: Added statement about buffer
6245 for gethostbyname2_r.
6246
e7044ea7
OB
62472013-10-08 Ondřej Bílka <neleai@seznam.cz>
6248
6249 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
6250 Use .p2align directive instead, throughout.
6251 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6252 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6253 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
6254 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6255 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6256 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
6257 * sysdeps/x86_64/strchr.S: Likewise.
6258 * sysdeps/x86_64/strrchr.S: Likewise.
6259
09544cbc
SP
62602013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6261
88576635
SP
6262 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
6263
e7b2d1dd
SP
6264 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
6265
09544cbc
SP
6266 * sysdeps/generic/math_private.h (__mpsin1): Remove
6267 declaration.
6268 (__mpcos1): Likewise.
6269 (__mpsin): New argument __range_reduce.
6270 (__mpcos): Likewise.
6271 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6272 (slow): Use __mpsin and __mpcos.
6273 (slow1): Likewise.
6274 (slow2): Likewise.
6275 (sloww): Likewise.
6276 (sloww1): Likewise.
6277 (sloww2): Likewise.
6278 (bsloww): Likewise.
6279 (bsloww1): Likewise.
6280 (bsloww2): Likewise.
6281 (cslow2): Likewise.
6282 (csloww): Likewise.
6283 (csloww1): Likewise.
6284 (csloww2): Likewise.
6285 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
6286 range_reduce. Merge in __mpsin1.
6287 (__mpcos): Likewise.
6288 (__mpsin1): Remove.
6289 (__mpcos1): Likewise.
6290
7602d070
JM
62912013-10-07 Joseph Myers <joseph@codesourcery.com>
6292
6293 * locale/loadlocale.c (_nl_intern_locale_data): Use
6294 LOCFILE_ALIGNED_P.
6295 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
6296 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
6297 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
6298 obstack data is appropriately aligned.
6299 (obstack_int32_grow_fast): Likewise.
6300 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
6301 * locale/programs/locfile.c (add_locale_uint32): Likewise.
6302 (add_locale_uint32_array): Likewise.
6303
a357259b
SP
63042013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6305
6306 * benchtests/Makefile: Remove ARGLIST and RET variables.
6307 ($(objpfx)bench-%.c): Pass only function name to the script.
6308 * benchtests/README: Update documentation.
6309 * benchtests/acos-inputs: Add new directives.
6310 * benchtests/acosh-inputs: Likewise.
6311 * benchtests/asin-inputs: Likewise.
6312 * benchtests/asinh-inputs: Likewise.
6313 * benchtests/atan-inputs: Likewise.
6314 * benchtests/atanh-inputs: Likewise.
6315 * benchtests/cos-inputs: Likewise.
6316 * benchtests/cosh-inputs: Likewise.
6317 * benchtests/exp-inputs: Likewise.
6318 * benchtests/log-inputs: Likewise.
6319 * benchtests/pow-inputs: Likewise.
6320 * benchtests/rint-inputs: Likewise.
6321 * benchtests/sin-inputs: Likewise.
6322 * benchtests/sinh-inputs: Likewise.
6323 * benchtests/tan-inputs: Likewise.
6324 * benchtests/tanh-inputs: Likewise.
6325 * scripts/bench.pl: Add support for new directives.
6326
9ec1b13d
AM
63272013-10-07 Alan Modra <amodra@gmail.com>
6328
6329 * README: Fix careless merge.
6330
8b7d57cd
AM
63312013-10-05 Alan Modra <amodra@gmail.com>
6332
6333 * NEWS: Mention powerpc64le support and bugs fixed.
6334 * README: Both big-endian and little-endian powerpc64 supported.
6335
7b7bab13
ST
63362013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6337
6338 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
6339 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
6340 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
6341 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
6342
d39baad1
RA
63432013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
6344
6345 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
6346 match prototype.
6347
cd78f7e7
JM
63482013-10-04 Joseph Myers <joseph@codesourcery.com>
6349
29d73d86
JM
6350 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
6351 Move -mhard-float appending from
6352 ports/sysdeps/powerpc/powerpc32/Makefile.
6353 [$(with-fp) = yes] (ASFLAGS): Likewise.
6354 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
6355 * sysdeps/powerpc/nofpu: Move directory from
6356 ports/sysdeps/powerpc/nofpu.
6357 * sysdeps/powerpc/soft-fp: Move directory from
6358 ports/sysdeps/powerpc/soft-fp.
6359 * sysdeps/powerpc/powerpc32/405: Move directory from
6360 ports/sysdeps/powerpc/powerpc32/405.
6361 * sysdeps/powerpc/powerpc32/440: Move directory from
6362 ports/sysdeps/powerpc/powerpc32/440.
6363 * sysdeps/powerpc/powerpc32/464: Move directory from
6364 ports/sysdeps/powerpc/powerpc32/464.
6365 * sysdeps/powerpc/powerpc32/476: Move directory from
6366 ports/sysdeps/powerpc/powerpc32/476.
6367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
6368 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
6369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
6370 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
6371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
6372 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
6373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
6374 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
6375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
6376 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
6377 * README: Update for powerpc-*-linux-gnu software floating point
6378 support in libc.
6379
e246b347
JM
6380 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
6381 case to powerpc/powerpc32*.
6382 * sysdeps/unix/sysv/linux/configure: Regenerated.
6383
89c2003e
JM
6384 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
6385 (_FPU_MASK_OM): Define as 0x04.
6386 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
6387 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
6388 0x00c10080.
6389 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
6390 0x0000003c.
6391 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
6392
cd78f7e7
JM
6393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
6394 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6395 getcontext_e500.
6396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
6397 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6398 setcontext_e500.
6399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
6400 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
6401 and setcontext_e500.
6402
c755294d
CL
64032013-10-04 Chris Leonard <cjl@sugarlabs,.org>
6404
6405 * locale/iso-3166.def: Update iso-1366.def and related occurrences
6406
e16d221c
SP
64072013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6408
6409 * manual/threads.texi (Default Thread Attributes): Fix typo.
6410
215c7d43
WN
64112013-10-04 Will Newton <will.newton@linaro.org>
6412
6413 * malloc/Makefile: Add tst-memalign.
6414 * malloc/tst-memalign.c: New file.
6415
27d0461b
WN
6416 * malloc/tst-posix_memalign.c: Add comments.
6417 (do_test): Add comments and call free on all potentially
6418 allocated pointers. Add space after cast.
6419
1bc92709
WN
6420 * malloc/tst-pvalloc.c: Add comments.
6421 (do_test): Add comments and call free on all potentially
6422 allocated pointers. Remove duplicate check for NULL pointer.
6423 Add space after cast.
6424
66a9be9d
WN
6425 * malloc/tst-valloc.c: Add comments.
6426 (do_test): Add comments and call free on all potentially
6427 allocated pointers. Remove duplicate check for NULL pointer.
6428 Add space after cast.
6429
4cb81307
AM
64302013-10-04 Alan Modra <amodra@gmail.com>
6431
6432 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6433 Use stdint types in rather than __attribute__((mode())).
6434 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6435
f8e3e9f3
AM
64362013-10-04 Alan Modra <amodra@gmail.com>
6437
6438 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6439 Correct handling of unaligned relocs for little-endian.
6440 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6441
8f9ebb08
AM
64422013-10-04 Alan Modra <amodra@gmail.com>
6443
6444 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
6445 * configure: Regenerate.
6446 * nptl/shlib-versions: Powerpc*le starts at 2.18.
6447 * shlib-versions: Likewise.
6448
0edf96c2
AM
64492013-10-04 Alan Modra <amodra@gmail.com>
6450
6451 * string/tester.c (test_memrchr): Increment reported test cycle.
6452
e0f7a380
AM
64532013-10-04 Alan Modra <amodra@gmail.com>
6454
6455 * string/test-memcpy.c (do_one_test): When reporting errors, print
6456 string address and don't overrun end of string.
6457
466b0393
AM
64582013-10-04 Alan Modra <amodra@gmail.com>
6459
6460 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
6461 insrdi. Make better use of reg selection to speed exit slightly.
6462 Schedule entry path a little better. Remove useless "are we done"
6463 checks on entry to main loop. Handle wrapping around zero address.
6464 Correct main loop count. Handle single left-over word from main
6465 loop inline rather than by using loop_small. Remove extra word
6466 case in loop_small caused by wrong loop count. Add little-endian
6467 support.
6468 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6469 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
6470 cache hint.
6471 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6472 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
6473 support. Avoid rlwimi.
6474 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
6475
3be87c77
AM
64762013-10-04 Alan Modra <amodra@gmail.com>
6477
6478 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 6479 insrdi. Formatting.
3be87c77
AM
6480 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6481 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6482 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6483 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6484 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6485 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
6486
759cfef3
AM
64872013-10-04 Alan Modra <amodra@gmail.com>
6488
6489 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
6490 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6491 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6492 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
6493 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6494 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6495 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6496 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6497 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
6498 use of regs. Use power7 mtocrf. Tidy function tails.
6499
fe6e95d7
AM
65002013-10-04 Alan Modra <amodra@gmail.com>
6501
6502 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
6503 Formatting. Consistently use rXXX register defines or rN defines.
6504 Use early exit labels that avoid restoring unused non-volatile regs.
6505 Make cr field use more consistent with rWORDn compares. Rename
6506 regs used as shift registers for unaligned loop, using rN defines
6507 for short lifetime/multiple use regs.
6508 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6509 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
6510 addi 1,1,64 to pop stack frame. Simplify return value code.
6511 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6512
664318c3
AM
65132013-10-04 Alan Modra <amodra@gmail.com>
6514
6515 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
6516 support. Correct typos, formatting. Optimize tail. Use insrdi
6517 rather than rlwimi.
6518 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
6519 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
6520 little-endian support. Correct typos.
6521 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
6522 rather than rlwimi.
6523 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
6524 in loop and entry code to keep "and." results.
6525 (strchr): Add little-endian support. Comment. Move cntlzd
6526 earlier in tail.
6527 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
6528
43b84013
AM
65292013-10-04 Alan Modra <amodra@gmail.com>
6530
6531 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
6532 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
6533 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
6534 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
6535
8a7413f9
AM
65362013-10-04 Alan Modra <amodra@gmail.com>
6537
6538 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
6539 (rTMP): Define as r11.
6540 (strcmp): Add little-endian support. Optimise tail.
6541 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
6542 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6543 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6544 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6545 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6546 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6547 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6548
33ee81de
AM
65492013-10-04 Alan Modra <amodra@gmail.com>
6550
6551 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
6552 little-endian support. Remove unnecessary "are we done" tests.
6553 Handle "s" wrapping around zero and extremely large "size".
6554 Correct main loop count. Handle single left-over word from main
6555 loop inline rather than by using small_loop. Correct comments.
6556 Delete "zero" tail, use "end_max" instead.
6557 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
6558
db9b4570
AM
65592013-10-04 Alan Modra <amodra@gmail.com>
6560
6561 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
6562 support. Don't branch over align.
6563 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
6564 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
6565 support. Rearrange tmp reg use to suit. Comment.
6566 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
6567
f7c399cf
AM
65682013-10-04 Alan Modra <amodra@gmail.com>
6569
6570 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
6571
0b2c2ace
AM
65722013-10-04 Alan Modra <amodra@gmail.com>
6573
6574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
6575 conditional form of branch and link when obtaining pc.
6576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6577
02f04a6c
AM
65782013-10-04 Alan Modra <amodra@gmail.com>
6579
6580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
6581 HIWORD/LOWORD.
6582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
6583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
6584
9b874b2f
AM
65852013-10-04 Alan Modra <amodra@gmail.com>
6586
6587 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
6588 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
6589 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
6590 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
6591 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6592 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6593 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
6594 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6595 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
6596 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
6597
be1e5d31
AB
65982013-10-04 Anton Blanchard <anton@au1.ibm.com>
6599 Alistair Popple <alistair@ozlabs.au.ibm.com>
6600 Alan Modra <amodra@gmail.com>
6601
6602 [BZ #15723]
6603 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
6604 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
6605 _dl_hwcap access for little-endian.
6606 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
6607 destroy vmx regs when saving unaligned.
6608 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
6609 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
6610 destroy vmx regs when saving unaligned.
6611
fef13a78
AM
66122013-10-04 Alan Modra <amodra@gmail.com>
6613
6614 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
6615 Don't use a union to pack hi/low value.
6616
76a66d51
AB
66172013-10-04 Anton Blanchard <anton@au1.ibm.com>
6618
6619 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
6620 for little-endian.
6621 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6622 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
6623 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6624 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6625 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6626
6a31fe7f
AM
66272013-10-04 Alan Modra <amodra@gmail.com>
6628
6629 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
6630 constants to usual value for .cst8 section, and remove redundant
6631 high address load.
6632 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
6633 constant for 0x1p52. Load little-endian words of double from
6634 correct stack offsets.
6635
7b88401f
AM
66362013-10-04 Alan Modra <amodra@gmail.com>
6637
6638 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
6639 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
6640 words of double from correct stack offsets.
6641 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
6642 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
6643 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6644 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6645 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6646 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6647 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6648 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
6649 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
6650 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6651 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6652 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6653 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6654 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6655 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6656 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
6657 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
6658
9c008155
AM
66592013-10-04 Alan Modra <amodra@gmail.com>
6660
6661 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
6662 64-bit int/double union.
6663 (_FPU_SETCW): Likewise.
6664 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
6665 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
6666
da13146d
AM
66672013-10-04 Alan Modra <amodra@gmail.com>
6668
6669 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
6670 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
6671
603e8410
AM
66722013-10-04 Alan Modra <amodra@gmail.com>
6673
6674 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
6675 use vector int constants.
6676 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
6677
4a28b3ca
AB
66782013-10-04 Anton Blanchard <anton@au1.ibm.com>
6679
6680 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
6681 array with long long.
6682 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
6683 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
6684 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
6685 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
6686 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
6687 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
6688 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
6689 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
6690 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
6691 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
6692 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
6693 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
6694 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
6695
2ca85d2b
AB
66962013-10-04 Anton Blanchard <anton@au1.ibm.com>
6697
6698 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
6699 (__signbit): Likewise. Correct for little-endian.
6700 (__signbitl): Call __signbit.
6701 (lrint): Correct for little-endian.
6702 (lrintf): Call lrint.
6703
62a728ae
AM
67042013-10-04 Alan Modra <amodra@gmail.com>
6705
6706 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
6707 union 32-bit int array member with 64-bit int array.
6708 (t515, tm256): Double rather than long double.
6709 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
6710
32c301df
AM
67112013-10-04 Alan Modra <amodra@gmail.com>
6712
6713 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
6714 Delete.
6715 (IEEE854_LONG_DOUBLE_BIAS): Delete.
6716 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
6717 version of math_ldbl.h.
6718
650ef4bd
AM
67192013-10-04 Alan Modra <amodra@gmail.com>
6720
6721 [BZ #15734], [BZ #15735]
6722 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
6723 all uses of ieee875 long double macros and unions. Simplify test
6724 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
6725 ldbl_extract_mantissa value for ix,iy exponents. Properly
6726 normalize after ldbl_extract_mantissa, and don't add hidden bit
6727 already handled. Don't treat low word of ieee854 mantissa like
6728 low word of IBM long double and mask off bit when testing for
6729 zero.
6730 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
6731 all uses of ieee875 long double macros and unions. Simplify tests
6732 for 0.0L and inf. Correct double adjustment of k. Delete dead code
6733 adjusting ha,hb. Simplify code setting kld. Delete two600 and
6734 two1022, instead use their values. Recognise that tests for large
6735 "a" and small "b" are mutually exclusive. Rename vars. Comment.
6736 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
6737 Rewrite all uses of ieee875 long double macros and unions. Simplify
6738 test for 0.0L and nan. Correct negation.
6739 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
6740 ieee875 long double macros and unions. Correct output for large
6741 magnitude x. Correct absolute value calculation.
6742 (__erfcl): Likewise.
6743 * math/libm-test.inc: Add tests for errors discovered in IBM long
6744 double versions of fmodl, remainderl, erfl and erfcl.
6745
765714ca
AM
67462013-10-04 Alan Modra <amodra@gmail.com>
6747
6748 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
6749 all uses of ieee854 long double macros and unions. Simplify tests
6750 for long doubles that are fully specified by the high double.
6751 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6752 Likewise.
6753 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
6754 Remove dead code too.
6755 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6756 (__ieee754_ynl): Likewise.
6757 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
6758 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
6759 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6760 Remove dead code too.
6761 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
6762 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6763 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
6764 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
6765 Simplify.
6766 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
6767 Simplify.
6768 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
6769 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
6770 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
6771 Comment on variable precision.
6772 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
6773 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6774 Likewise.
6775 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6776 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6777 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6778 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
6779 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
6780
4ebd120c
AM
67812013-10-04 Alan Modra <amodra@gmail.com>
6782
6783 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
6784 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
6785 all uses of ieee854 long double macros and unions.
6786 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
6787 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6788 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
6789 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
6790 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
6791 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6792 Likewise.
6793 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
6794 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6795 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
6796 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6797 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
6798 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
6799 Simplify sign and nan test too.
6800 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
6801 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
6802 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
6803 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
6804 Likewise.
6805 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6806 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
6807 Likewise.
6808 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6809 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6810 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
6811 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
6812 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
6813 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
6814
1b6adf88
AM
68152013-10-04 Alan Modra <amodra@gmail.com>
6816
6817 * stdio-common/printf_size.c (__printf_size): Don't use
6818 union ieee854_long_double in fpnum union.
6819 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
6820 signbit macro to retrieve sign from long double.
6821 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
6822 retrieve sign from long double.
6823 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
6824 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
6825 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
6826 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6827 * math/test-misc.c (main): Don't use union ieee854_long_double.
6828
4cf69995
AM
68292013-10-04 Alan Modra <amodra@gmail.com>
6830
6831 [BZ #15680]
6832 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
6833 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
6834 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
6835 calculation. Remove unnecessary test for denormal exponent.
6836 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
6837 Correct handling of denormals. Avoid undefined shift behaviour.
6838 Correct normalisation of low mantissa when low double is denormal.
6839 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
6840 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
6841 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
6842 Correct normalisation of low mantissa. Test for overflow of high
6843 mantissa and normalise.
6844 (ldbl_nearbyint): Use more readable constant for two52.
6845 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
6846 (__mpn_construct_long_double): Fix test for overflow of high
6847 mantissa and correct normalisation. Avoid undefined shift.
6848
9605ca6c
AM
68492013-10-04 Alan Modra <amodra@gmail.com>
6850
6851 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6852 (union ibm_extended_long_double): Define as an array of ieee754_double.
6853 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
6854 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
6855 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
6856 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6857 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6858 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
6859 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6860 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
6861 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6862 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
6863 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6864
975569d0
JM
68652013-10-03 Joseph Myers <joseph@codesourcery.com>
6866
d3d23756
JM
6867 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
6868 page size instead of calling getpagesize.
6869
975569d0
JM
6870 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
6871 (LOCFILE_ALIGN_MASK): Likewise.
6872 (LOCFILE_ALIGN_UP): Likewise.
6873 (LOCFILE_ALIGNED_P): Likewise.
6874 * locale/programs/ld-collate.c (collate_output): Use the new
6875 macros instead of __alignof__ (int32_t).
6876 * locale/weight.h (findidx): Likewise.
6877
b1fe1f2b
OB
68782013-10-03 Ondřej Bílka <neleai@seznam.cz>
6879
6880 [BZ #431]
6881 * manual/string.texi: Fix strncat and wcsncat.
6882
5f855e35
BM
68832013-10-03 Brooks Moses <bmoses@google.com>
6884
6885 [BZ #15915]
6886 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
6887 * Makerules: ...here, and adjust associated comments.
6888
3cef6009
WN
68892013-10-02 Will Newton <will.newton@linaro.org>
6890
6891 * malloc/Makefile: Add tst-pvalloc.
6892 * malloc/tst-pvalloc.c: New file.
6893
7815420b
WN
68942013-10-02 Will Newton <will.newton@linaro.org>
6895
6896 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
6897 improve test coverage.
6898
4868b204
WN
68992013-10-02 Will Newton <will.newton@linaro.org>
6900
6901 * malloc/Makefile: Add tst-posix_memalign.
6902 * malloc/tst-posix_memalign.c: New file.
6903
29c793b3
EB
69042013-10-01 Eric Blake <eblake@redhat.com>
6905
6906 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
6907 Use __THROWNL rather than __THROW on static functions.
6908
fd967522
PM
69092013-09-30 Petr Machata <pmachata@redhat.com>
6910
6911 * elf/elf.h (R_AARCH64_ABS16): New macro.
6912 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
6913 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
6914 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
6915 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
6916 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
6917 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
6918 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
6919 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
6920 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
6921 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
6922 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
6923 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
6924 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
6925 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
6926 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
6927 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
6928 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
6929 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
6930 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
6931 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
6932 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
6933 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
6934 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
6935 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
6936 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
6937 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
6938 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
6939 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
6940 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
6941 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
6942 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
6943 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
6944 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
6945 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
6946 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
6947 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
6948 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
6949 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
6950 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
6951 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
6952 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
6953 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
6954 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
6955 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
6956 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
6957 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
6958 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
6959 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
6960 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
6961 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
6962 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
6963 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
6964 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
6965 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
6966 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
6967 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
6968 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
6969 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
6970 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
6971 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
6972 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
6973 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
6974 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
6975 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
6976 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
6977 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
6978 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
6979 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
6980 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
6981 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
6982 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
6983 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
6984 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
6985 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
6986 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
6987 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
6988 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
6989 (R_AARCH64_TLSDESC_LDR): Likewise.
6990 (R_AARCH64_TLSDESC_ADD): Likewise.
6991 (R_AARCH64_TLSDESC_CALL): Likewise.
6992
b2179107
AS
69932013-09-30 Andreas Schwab <schwab@suse.de>
6994
6995 [BZ #15048]
6996 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
6997 the nss database lookup.
6998 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6999 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7000
47f28d0a
MF
70012013-09-28 Mike Frysinger <vapier@gentoo.org>
7002
7003 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
7004
70052013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
7006
7007 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
7008 ${Bash-specific parameter/pattern/string} parameter expansion.
7009 * sysdeps/unix/make-syscalls.sh: Likewise.
7010
f4518a17
KK
70112013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7012
7013 * sysdeps/sh/stackguard-macros.h: New file.
7014
dc1a95c7
OB
70152013-09-26 Ondřej Bílka <neleai@seznam.cz>
7016
7017 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7018 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
7019 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
7020 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
7021 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7022 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
7023
5ebbff8f
AZ
70242013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7025
7026 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
7027 Fix thread ID register.
7028
4fd2cf9f
JM
70292013-09-25 Joseph Myers <joseph@codesourcery.com>
7030
7031 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
7032 [POSIX || UNIX98]: Require rather than permitting all symbols from
7033 <time.h>.
7034 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
7035 element of struct sched_param.
7036 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
7037 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
7038 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
7039 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
7040 constant.
7041
12c22bc4
OL
70422013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
7043
7044 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
7045 argument calculation.
7046
a03d8ea7
JM
70472013-09-24 Joseph Myers <joseph@codesourcery.com>
7048
7049 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
7050 Expect macro.
7051 [POSIX] (pthread_attr_t): Do not require type.
7052 [POSIX] (pthread_cond_t): Likewise.
7053 [POSIX] (pthread_condattr_t): Likewise.
7054 [POSIX] (pthread_key_t): Likewise.
7055 [POSIX] (pthread_mutex_t): Likewise.
7056 [POSIX] (pthread_mutexattr_t): Likewise.
7057 [POSIX] (pthread_once_t): Likewise.
7058 [POSIX] (pthread_t): Likewise.
7059 [POSIX-based standards] (pthread_atfork): Expect function.
7060
6055173a
JM
70612013-09-24 Joseph Myers <joseph@codesourcery.com>
7062 Richard Sandiford <richard@codesourcery.com>
7063
7064 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
7065 (swap_endianness_p): New extern variable.
7066 (set_big_endian): New inline function.
7067 (maybe_swap_uint32): Likewise.
7068 (maybe_swap_uint32_array): Likewise.
7069 (maybe_swap_uint32_obstack): Likewise.
7070 * locale/programs/locfile.c: Include <stdbool.h>.
7071 (swap_endianness_p): New variable.
7072 (add_locale_uint32): Call maybe_swap_uint32.
7073 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
7074 (write_locale_data): Call maybe_swap_uint32_array.
7075 * locale/programs/ld-collate.c (obstack_int32_grow): Call
7076 maybe_swap_uint32.
7077 (obstack_int32_grow_fast): Likewise.
7078 (output_weightwc): Call maybe_swap_uint32_obstack.
7079 (collate_output): Likewise.
7080 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
7081 (OPT_LITTLE_ENDIAN): Likewise.
7082 (options): Add --little-endian and --big-endian options.
7083 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
7084 * locale/programs/locarchive.c: Include "locfile.h".
7085 (GET): New macro.
7086 (SET): Likewise.
7087 (INC): Likewise.
7088 (create_archive): Use the new macros to access fields of
7089 structures directly mapped from or written to locale archives.
7090 (oldlocrecentcmp): Likewise.
7091 (enlarge_archive): Likewise.
7092 (insert_name): Likewise.
7093 (add_alias): Likewise.
7094 (add_locale): Likewise.
7095 (delete_locales_from_archive): Likewise.
7096 (show_archive_content): Likewise.
7097 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
7098 locale data.
7099
39bf0bb4
RM
71002013-09-24 Roland McGrath <roland@hack.frob.com>
7101
7102 * manual/freemanuals.texi: Updated from (newly) canonical copy at
7103 http://www.gnu.org/doc/freemanuals.texi.
7104 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
7105
f02eed10
WN
71062013-09-24 Will Newton <will.newton@linaro.org>
7107
7108 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
7109 macro.
7110
a3a6c312
JM
71112013-09-23 Joseph Myers <joseph@codesourcery.com>
7112
7113 * locale/hashval.h (compute_hashval): Interpret bytes of key as
7114 unsigned char.
7115
107375ac
MR
71162013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
7117
7118 * manual/threads.texi (POSIX Threads): Fix a typo.
7119
141f3a77
SP
71202013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7121
303e567a
SP
7122 [BZ #14547]
7123 * string/tst-strcoll-overflow.c: New test case.
7124 * string/Makefile (xtests): Add tst-strcoll-overflow.
7125 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
7126 cache if string sizes may cause integer overflow.
7127
141f3a77
SP
7128 [BZ #14547]
7129 * string/strcoll_l.c (coll_seq): New members rule, idx,
7130 save_idx and back_us.
7131 (get_next_seq_nocache): New function.
7132 (do_compare_nocache): New function.
7133 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
7134 when malloc fails.
7135
c61b4d41
CD
71362013-09-23 Carlos O'Donell <carlos@redhat.com>
7137
0b1f8e35
CD
7138 [BZ #15754]
7139 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
7140 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
7141 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
7142
c61b4d41
CD
7143 [BZ #15754]
7144 * elf/Makefile (tests): Add tst-ptrguard1.
7145 (tests-static): Add tst-ptrguard1-static.
7146 (tst-ptrguard1-ARGS): Define.
7147 (tst-ptrguard1-static-ARGS): Define.
7148 * elf/tst-ptrguard1.c: New file.
7149 * elf/tst-ptrguard1-static.c: New file.
7150 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
7151 * sysdeps/i386/stackguard-macros.h: Likewise.
7152 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
7153 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
7154 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7155 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7156 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
7157 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
7158
71592013-09-23 Hector Marco <hecmargi@upv.es>
7160 Ismael Ripoll <iripoll@disca.upv.es>
7161 Carlos O'Donell <carlos@redhat.com>
7162
7163 [BZ #15754]
7164 * sysdeps/generic/stackguard-macros.h: Define
7165 __pointer_chk_guard_local and POINTER_CHK_GUARD.
7166 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
7167 Define __pointer_chk_guard_local.
7168 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
7169 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
7170
f5f4e7b4
VV
71712013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
7172
7173 [BZ #15859]
7174 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
7175
5bb43a43
AS
71762013-09-20 Andreas Schwab <schwab@linux-m68k.org>
7177
7178 * include/string.h (__ffs): Declare as hidden.
7179 * string/ffs.c (__ffs): Define as hidden.
7180 * sysdeps/i386/ffs.c (__ffs): Likewise.
7181 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
7182 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
7183 * sysdeps/s390/ffs.c (__ffs): Likewise.
7184 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
7185
3ea5be54
AO
71862013-09-20 Alexandre Oliva <aoliva@redhat.com>
7187
ffb89e53
AO
7188 * NEWS: Mention malloc probes.
7189
322dea08
AO
7190 * malloc/arena.c (new_heap): New memory_heap_new probe.
7191 (grow_heap): New memory_heap_more probe.
7192 (shrink_heap): New memory_heap_less probe.
7193 (heap_trim): New memory_heap_free probe.
7194 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
7195 (systrim): New memory_sbrk_less probe.
7196 * manual/probes.texi: Document them.
7197
655673f3
AO
7198 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
7199 * manual/probes.texi: Document it.
7200
35fed6f1
AO
7201 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
7202 (__libc_realloc): Add memory_realloc_retry probe.
7203 (__libc_memalign): Add memory_memalign_retry probe.
7204 (__libc_valloc): Add memory_valloc_retry probe.
7205 (__libc_pvalloc): Add memory_pvalloc_retry probe.
7206 (__libc_calloc): Add memory_calloc_retry probe.
7207 * manual/probes.texi: Document them.
7208
6999d38c
AO
7209 * malloc/arena.c (get_free_list): Add probe
7210 memory_arena_reuse_free_list.
7211 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
7212 and memory_arena_reuse.
7213 (arena_get2) [!PER_THREAD]: Likewise.
7214 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
7215 memory_arena_reuse_realloc.
7216 * manual/probes.texi: Document them.
7217
0653427f
AO
7218 * malloc/malloc.c (__libc_free): Add
7219 memory_mallopt_free_dyn_thresholds probe.
7220 (__libc_mallopt): Add multiple memory_mallopt probes.
7221 * manual/probes.texi: Document them.
7222
3ea5be54
AO
7223 * malloc/malloc.c: Include stap-probe.h.
7224 (__libc_mallopt): Add memory_mallopt probe.
7225 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
7226 * manual/probes.texi: New.
7227 * manual/Makefile (chapters): Add probes.
7228 * manual/threads.texi: Set next node.
7229
e35696c3 72302013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 7231
e35696c3
CL
7232 [BZ #15963, #13985]
7233 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
7234 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
7235 Add `Chinese' to `nan' entry name.
7236
4aafb73c
SP
72372013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7238
7239 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
7240 (POLYNOMIAL): Likewise.
7241 (TAYLOR_SINCOS): Likewise.
7242 (TAYLOR_SLOW): Likewise.
7243 (__sin): Use TAYLOR_SINCOS.
7244 (__cos): Likewise.
7245 (slow): Use TAYLOR_SLOW.
7246 (sloww): Likewise.
7247 (bsloww): Likewise.
7248 (csloww): Likewise.
7249
d84f25c7
LD
72502013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7251
7252 * stdlib/strtod_l.c: Fix buffer overrun.
7253
5eea0404
SP
72542013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7255
7849ff93
SP
7256 * benchtests/Makefile (bench): Add sincos.
7257 * benchtests/bench-sincos.c: New file.
7258
cfa3c886
SP
7259 * math/libm-test.inc (cos_test_data): New test inputs.
7260 (sin_test_data): Likewise.
7261
b348e1e3
SP
7262 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
7263 macro.
7264 (__sin): Use it.
7265 (__cos): Likewise.
7266 (slow1): Likewise.
7267 (slow2): Likewise.
7268 (sloww1): Likewise.
7269 (sloww2): Likewise.
7270 (bsloww1): Likewise.
7271 (bsloww2): Likewise.
7272 (cslow2): Likewise.
7273 (csloww1): Likewise.
7274 (csloww2): Likewise.
7275
6cce25f8
SP
7276 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
7277 function.
7278 (__sin): Use it.
7279 (__cos): Likewise.
7280
5eea0404
SP
7281 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
7282 gotos.
7283 (__cos): Likewise.
7284
9c21573c
MR
72852013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
7286
7287 * config.h.in (HAVE_MIPS_NAN2008): New macro.
7288 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
7289 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
7290 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
7291 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
7292 * elf/cache.c (print_entry): Handle the new cache flags.
7293
24d22e65
JM
72942013-09-18 Joseph Myers <joseph@codesourcery.com>
7295 Aldy Hernandez <aldyh@redhat.com>
7296
7297 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
7298 Change condition to [_SOFT_FLOAT].
7299 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
7300 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
7301 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
7302 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
7303 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
7304 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
7305 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
7306 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
7307 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
7308 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
7309 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
7310 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
7311 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
7312 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
7313 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
7314 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
7315 declaration.
7316
d13ef066
JM
73172013-09-18 Joseph Myers <joseph@codesourcery.com>
7318
2e071de0
JM
7319 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
7320 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7321 (__longjmp): Use LOAD_GP to load saved GPRs.
7322 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
7323 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7324 (__sigsetjmp): Use SAVE_GP to save GPRs.
7325
d13ef066
JM
7326 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
7327 Do not append -msoft-float.
7328 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
7329
97a0650b
SP
73302013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7331
7332 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
7333
11ca09e9
JM
73342013-09-17 Joseph Myers <joseph@codesourcery.com>
7335
7336 [BZ #15966]
7337 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
7338 (_FPU_GETCW): Use initial "__" on variable and field names but not
7339 on macro parameter name.
7340 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
7341 parentheses around reference to macro parameter.
7342
08ffcf34
RS
73432013-09-13 Richard Sandiford <richard@codesourcery.com>
7344
7345 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
7346 prototype.
7347 (ctype_startup): Use uint32_t in cast and sizeof for
7348 ctype->charnames.
7349
ae7080d3
JL
73502013-09-11 Jia Liu <proljc@gmail.com>
7351
7352 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
7353 __daddr_t_defined.
7354 [__FreeBSD__]: Likewise.
7355
5905e7b3
OB
73562013-09-11 Ondřej Bílka <neleai@seznam.cz>
7357
7358 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7359 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
7360 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
7361 (strchr): Remove __strchr_sse42 ifunc selection.
7362 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
7363 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
7364
b987c776
WN
73652013-09-11 Will Newton <will.newton@linaro.org>
7366
7367 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
7368 parameter to RES. Remove hardcoded 1000 value.
7369 * benchtests/bench-skeleton.c (main): Pass RES parameter
7370 to TIMING_INIT and multiply result by 1000.
7371
ddf985af
AZ
73722013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7373
7374 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7375
ffdd3181
AS
73762013-09-11 Andreas Schwab <schwab@suse.de>
7377
7378 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7379 if not defined.
7380 (O_TMPFILE) [__USE_GNU]: Define.
7381 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
7382 Define.
7383
b73ed247
WN
73842013-09-11 Will Newton <will.newton@linaro.org>
7385
7386 [BZ #15857]
7387 * malloc/malloc.c (__libc_memalign): Check the value of bytes
7388 does not overflow.
7389
55e17aad
WN
73902013-09-11 Will Newton <will.newton@linaro.org>
7391
7392 [BZ #15856]
7393 * malloc/malloc.c (__libc_valloc): Check the value of bytes
7394 does not overflow.
7395
1159a193
WN
73962013-09-11 Will Newton <will.newton@linaro.org>
7397
7398 [BZ #15855]
7399 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
7400 does not overflow.
7401
5905e7b3 74022013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
7403
7404 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
7405 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7406 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7407 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7408 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7409
cdfc721b
AM
74102013-09-10 Allan McRae <allan@archlinux.org>
7411
aa04af00
AM
7412 [BZ #15748]
7413 * manual/arith.texi (Parsing of Floats): Clarify
7414 cross-reference.
7415
cdfc721b
AM
7416 [BZ #15849]
7417 * manual/install.texi (Running make install): Mention
7418 --enable-pt-chown.
7419 * INSTALL: Regenerated.
7420
95e7cf29
MR
74212013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7422
7423 * csu/init-first.c (_init): Remove the !SHARED condition around
7424 FPU control word initialization.
7425 * elf/dl-support.c (_dl_fpu_control): New variable.
7426 (_dl_aux_init) <AT_FPUCW>: Initialize it.
7427 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
7428 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
7429 * math/test-fpucw-static.c: New file.
7430 * math/test-fpucw-ieee.c: New file.
7431 * math/test-fpucw-ieee-static.c: New file.
7432 * math/Makefile (tests): Add `test-fpucw-ieee' and
7433 `$(tests-static)'.
7434 (tests-static): New variable.
7435 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
7436 dependency to...
7437 [($(build-shared),yes)]
7438 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7439 ... this.
7440 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
7441 New dependency.
7442
83e43bf0
AM
74432013-09-09 Allan McRae <allan@archlinux.org>
7444
a9f5ce09
AM
7445 [BZ #15939]
7446 * manual/string.texi (Collation Functions): Fix typo in
7447 strcoll example.
7448 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
7449
34829bc2
AM
7450 [BZ #15893]
7451 * stdlib/isomac.c (get_null_defines): Fix memory leak.
7452
3932737d
AM
7453 [BZ #15892]
7454 * libio/memstream.c (open_memstream): Fix memory leak.
7455 * libio/wmemstream.c (open_wmemstream): Likewise.
7456
83e43bf0
AM
7457 [BZ #15895]
7458 * nscd/netgroupcache.c: Fix nesting of ifdefs.
7459
0c66b8e9
WN
74602013-09-09 Will Newton <will.newton@linaro.org>
7461
7462 * malloc/Makefile: Add tst-realloc to tests.
7463 * malloc/tst-realloc.c: New file.
7464
f6b00fd1
AM
74652013-09-09 Allan McRae <allan@archlinux.org>
7466
7467 [BZ #15844]
7468 * COPYING: Update from GNU website to fix FSF address.
7469 * COPYING.LIB: Likewise.
7470
eec55e16
DM
74712013-09-06 David S. Miller <davem@davemloft.net>
7472
7473 * po/zh_TW.po: Update Chinese (traditional) translation from
7474 translation project.
7475
1ecbb381
RS
74762013-09-06 Richard Sandiford <richard@codesourcery.com>
7477 Joseph Myers <joseph@codesourcery.com>
7478
7479 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
7480 "localeinfo.h".
7481 (obstack_chunk_alloc): New macro.
7482 (obstack_chunk_free): Likewise.
7483 (record_offset): New function.
7484 (init_locale_data): Likewise.
7485 (align_locale_data): Likewise.
7486 (add_locale_empty): Likewise.
7487 (add_locale_raw_data): Likewise.
7488 (add_locale_raw_obstack): Likewise.
7489 (add_locale_string): Likewise.
7490 (add_locale_wstring): Likewise.
7491 (add_locale_uint32): Likewise.
7492 (add_locale_uint32_array): Likewise.
7493 (add_locale_char): Likewise.
7494 (start_locale_structure): Likewise.
7495 (end_locale_structure): Likewise.
7496 (start_locale_prelude): Likewise.
7497 (end_locale_prelude): Likewise.
7498 (write_locale_data): Take locale_file structure rather than an
7499 iovec.
7500 * locale/programs/locfile.h: Include "obstack.h".
7501 (struct locale_file): Change to store locale file contents instead
7502 of header.
7503 (init_locale_data): New prototype.
7504 (align_locale_data): Likewise.
7505 (add_locale_empty): Likewise.
7506 (add_locale_raw_data): Likewise.
7507 (add_locale_raw_obstack): Likewise.
7508 (add_locale_string): Likewise.
7509 (add_locale_wstring): Likewise.
7510 (add_locale_uint32): Likewise.
7511 (add_locale_uint32_array): Likewise.
7512 (add_locale_char): Likewise.
7513 (start_locale_structure): Likewise.
7514 (end_locale_structure): Likewise.
7515 (start_locale_prelude): Likewise.
7516 (end_locale_prelude): Likewise.
7517 (write_locale_data): Update prototype.
7518 * locale/programs/3level.h (struct TABLE): Remove result field.
7519 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
7520 Use new locale_file interface.
7521 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
7522 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
7523 * locale/programs/ld-address.c (address_output): Use new
7524 locale_file interface.
7525 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
7526 NO_ADD_LOCALE.
7527 (collate_finish): Don't call collseq_table_finalize.
7528 (collate_output): Use new locale_file interface.
7529 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
7530 in file.
7531 (NO_FINALIZE): Change to NO_ADD_LOCALE.
7532 (TABLE): Move defines earlier in file.
7533 (ELEMENT): Likewise.
7534 (DEFAULT): Likewise.
7535 (wctrans_table_add): Move macro and inline function earlier in
7536 file.
7537 (struct wctype_table): Move type earlier in file.
7538 (add_locale_wctype_table): New static prototype.
7539 (struct locale_ctype_t): Use logical types instead of struct iovec
7540 pointers for members.
7541 (ctype_output): Use new locale_file interface.
7542 (wctype_table_finalize): Change to add_locale_wctype_table. Use
7543 new locale_file interface.
7544 (allocate_arrays): Update for use of new locale_file interface.
7545 * locale/programs/ld-identification.c (identification_output): Use
7546 new locale_file interface.
7547 * locale/programs/ld-measurement.c (measurement_output): Likewise.
7548 * locale/programs/ld-messages.c (messages_output): Likewise.
7549 * locale/programs/ld-monetary.c (monetary_output): Likewise.
7550 * locale/programs/ld-name.c (name_output): Likewise.
7551 * locale/programs/ld-numeric.c (numeric_output): Likewise.
7552 * locale/programs/ld-paper.c (paper_output): Likewise.
7553 * locale/programs/ld-telephone.c (telephone_output): Likewise.
7554 * locale/programs/ld-time.c (time_output): Likewise.
7555
e029e2e5
AZ
75562013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7557
7558 * benchtests/Makefile: Add memrchr benchmark.
7559 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
7560 benchmark as memrchr.
7561 * benchtests/bench-memrchr-ifunc.c: New file.
7562 * benchtests/bench-memrchr.c: New file.
7563
bbf6e8e4
WN
75642013-09-06 Will Newton <will.newton@linaro.org>
7565
7566 * benchtests/Makefile (string-bench): Add memcpy.
7567
6c82a2f8
CD
75682013-09-05 Carlos O'Donell <carlos@redhat.com>
7569 Cong Wang <amwang@redhat.com>
7570
e732c5f0 7571 [BZ #15850]
6c82a2f8
CD
7572 * sysdeps/unix/sysv/linux/bits/in.h
7573 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
7574 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
7575 before __USE_KERNEL_IPV6_DEFS uses.
7576 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
7577 IPPROTO_BEETPH.
7578 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
7579 sockaddr_in6, or ipv6_mreq.
7580
5430fc65
AZ
75812013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7582
7583 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
7584 memory access for final bytes in some large inputs.
7585 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
7586
4660856c
AZ
75872013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7588
7589 * string/test-memrchr.c: New file.
7590 * string/test-memrchr-ifunc.c: New file.
7591 * string/Makefile: Add new memrchr testcase.
7592
bb8ea713
MF
75932013-09-05 Mike Frysinger <vapier@gentoo.org>
7594
7595 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
7596 fanotify_init returns EPERM.
7597
b92a20b5
JM
75982013-09-04 Joseph Myers <joseph@codesourcery.com>
7599
7600 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
7601 errors.
7602 (top level): Treat second token from macro or constant entries for
7603 allowed headers as allowed.
7604 * include/complex.h: Condition internal declarations on
7605 [!_ISOMAC].
7606 * include/fenv.h: Condition include of <stdbool.h> and internal
7607 declarations on [!_ISOMAC].
7447ccd9
CL
7608
76092013-09-04 Chris Leonard <cjl@sugarlabs,.org>
7610
3e181dda 7611 [BZ #15923]
7447ccd9
CL
7612 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
7613
3f2e46a4
JM
76142013-09-04 Joseph Myers <joseph@codesourcery.com>
7615
7616 * configure.in (--enable-versioning): Remove configure option.
7617 (libc_cv_asm_symver_directive): Remove configure test.
7618 (libc_cv_ld_version_script_option): Likewise.
7619 (VERSIONING): Remove variable and AC_SUBST.
7620 (DO_VERSIONING): Remove AC_DEFINE.
7621 * configure: Regenerated.
7622 * config.h.in (DO_VERSIONING): Remove macro.
7623 * Makerules [$(versioning) = yes]: Change conditionals to
7624 [$(build-shared) = yes].
7625 * config.make.in (versioning): Remove variable.
7626 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
7627 [$(build-shared) = yes].
7628 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
7629 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
7630 * elf/Makefile [$(versioning) = yes]: Change conditionals to
7631 [$(build-shared) = yes].
7632 * extra-lib.mk [$(versioning) = yes]: Likewise.
7633 * hurd/Makefile [$(versioning) = yes]: Likewise.
7634 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
7635 [SHARED].
7636 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
7637 [SHARED].
7638 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7639 [SHARED && !NO_HIDDEN].
7640 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
7641 [SHARED].
7642 [SHARED && DO_VERSIONING]: Likewise..
7643 * libio/Makefile [$(versioning) = yes]: Change conditionals to
7644 [$(build-shared) = yes].
7645 * manual/install.texi (--disable-versioning): Remove
7646 documentation.
7647 * INSTALL: Regenerated.
7648 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
7649 to [SHARED].
7650 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
7651 [$(build-shared) = yes].
7652 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
7653 * sysdeps/i386/i686/multiarch/strstr-c.c
7654 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7655 [SHARED && !NO_HIDDEN].
7656 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
7657 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
7658 * sysdeps/powerpc/powerpc32/dl-machine.c
7659 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
7660 * sysdeps/powerpc/powerpc32/sysdep.h
7661 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
7662 to [SHARED && PIC && !NO_HIDDEN].
7663 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
7664 conditional to [SHARED].
7665
44558701
WN
76662013-09-04 Will Newton <will.newton@linaro.org>
7667
7668 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
7669 * benchtests/bench-string.h: Include bench-timing.h instead
7670 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
7671 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
7672 call to HP_TIMING_DIFF_INIT.
7673 * benchtests/bench-memccpy.c: Use bench-timing.h macros
7674 instead of hp-timing.h macros.
7675 * benchtests/bench-memchr.c: Likewise.
7676 * benchtests/bench-memcmp.c: Likewise.
7677 * benchtests/bench-memcpy.c: Likewise.
7678 * benchtests/bench-memmem.c: Likewise.
7679 * benchtests/bench-memmove.c: Likewise.
7680 * benchtests/bench-memset.c: Likewise.
7681 * benchtests/bench-rawmemchr.c: Likewise.
7682 * benchtests/bench-strcasecmp.c: Likewise.
7683 * benchtests/bench-strcasestr.c: Likewise.
7684 * benchtests/bench-strcat.c: Likewise.
7685 * benchtests/bench-strchr.c: Likewise.
7686 * benchtests/bench-strcmp.c: Likewise.
7687 * benchtests/bench-strcpy.c: Likewise.
7688 * benchtests/bench-strcpy_chk.c: Likewise.
7689 * benchtests/bench-strlen.c: Likewise.
7690 * benchtests/bench-strncasecmp.c: Likewise.
7691 * benchtests/bench-strncat.c: Likewise.
7692 * benchtests/bench-strncmp.c: Likewise.
7693 * benchtests/bench-strncpy.c: Likewise.
7694 * benchtests/bench-strnlen.c: Likewise.
7695 * benchtests/bench-strpbrk.c: Likewise.
7696 * benchtests/bench-strrchr.c: Likewise.
7697 * benchtests/bench-strspn.c: Likewise.
7698 * benchtests/bench-strstr.c: Likewise.
7699
cae16d66
WN
77002013-09-04 Will Newton <will.newton@linaro.org>
7701
7702 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
7703
ffa3cd7f
JM
77042013-09-03 Joseph Myers <joseph@codesourcery.com>
7705
7706 [BZ #15427]
7707 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
7708 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
7709 * math/libm-test.inc (lgamma_test_data): Add more tests.
7710 * sysdeps/i386/fpu/libm-test-ulps: Update.
7711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7712
8f02859f
OB
77132013-09-03 Ondřej Bílka <neleai@seznam.cz>
7714
7715 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
7716 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7717 Add ifunc.
7718 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7719 Add strcmp-sse2-unaligned
7720 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
7721
18d43716
MF
77222013-09-02 Mike Frysinger <vapier@gentoo.org>
7723
7724 * Versions.def (libc): Add GLIBC_2.19.
7725
ac444012
MF
77262013-09-02 Mike Frysinger <vapier@gentoo.org>
7727
7728 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
7729 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
7730
b7835e32
JM
77312013-09-02 Joseph Myers <joseph@codesourcery.com>
7732
7733 [BZ #14155]
7734 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
7735 intermediate calculations in recurrence.
7736 (__ieee754_ynf): Likewise.
7737 * math/libm-test.inc (jn_test_data): Do not allow spurious
7738 underflow exception. Add more tests.
7739 (yn_test_data): Add more tests.
7740 * sysdeps/i386/fpu/libm-test-ulps: Update.
7741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7742
8220f4f0
OB
77432013-09-02 Ondřej Bílka <neleai@seznam.cz>
7744
7745 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
7746
f24a6d08
OB
77472013-08-30 Ondřej Bílka <neleai@seznam.cz>
7748
7749 * csu/init-first.c: Fix then/than typos.
7750 * locale/programs/ld-collate.c: Likewise.
7751 * locale/programs/linereader.h: Likewise.
7752 * manual/charset.texi: Likewise.
7753 * manual/filesys.texi: Likewise.
7754 * manual/stdio.texi: Likewise.
7755 * manual/string.texi: Likewise.
7756 * stdlib/fmtmsg.c: Likewise.
7757 * sysdeps/i386/stpncpy.S: Likewise.
7758 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7759 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7760 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7761 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7762
382466e0
OB
77632013-08-30 Ondřej Bílka <neleai@seznam.cz>
7764
7765 * elf/dl-open.c: Fix typos.
7766 * iconvdata/gbbig5.c: Likewise.
7767 * iconvdata/iso-2022-jp.c: Likewise.
7768 * iconv/gconv_int.h: Likewise.
7769 * iconv/loop.c: Likewise.
7770 * nis/rpcsvc/nis.h: Likewise.
7771 * resolv/ns_name.c: Likewise.
7772 * stdio-common/vfscanf.c: Likewise.
7773 * streams/stropts.h: Likewise.
7774 * sunrpc/rpc_thread.c: Likewise.
7775 * sysdeps/i386/strpbrk.S: Likewise.
7776 * sysdeps/ieee754/k_standard.c: Likewise.
7777 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7778 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7779 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7780 * sysdeps/mach/hurd/profil.c: Likewise.
7781 * sysdeps/s390/dl-procinfo.h: Likewise.
7782 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7783 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7784 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
7785 * sysdeps/x86_64/dl-trampoline.S: Likewise.
7786 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7787
0186c6e9
OB
77882013-08-30 Ondřej Bílka <neleai@seznam.cz>
7789
7790 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
7791 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
7792
d4e16af1
OB
77932013-08-29 Ondřej Bílka <neleai@seznam.cz>
7794
7795 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
7796 aix specific files.
7797 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
7798 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
7799 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
7800 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
7801 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
7802 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
7803 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
7804 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
7805
88335980
TS
78062013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7807 Roland McGrath <roland@hack.frob.com>
7808
7809 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
7810 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7811
ed479b02
ST
78122013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
7813
7814 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
7815 __executable_start symbol instead of _start.
7816
f1cc4c86
TS
78172013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7818
d821f07c
TS
7819 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
7820 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
7821 Move macros to...
7822 * sysdeps/gnu/ldsodefs.h: ... this new file.
7823
c54290cf
TS
7824 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
7825 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
7826 instead of ELFOSABI_LINUX.
7827
0007fc9b 7828 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
7829 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
7830 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
7831 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
7832 Likewise.
7833 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
7834 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
7835 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
7836 Likewise.
7837 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7838 (ibm_extended_long_double): Add ieee_nan member.
7839 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
7840 (do_test): New function.
7841
f1cc4c86
TS
7842 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
7843 TEST_TRUNC.
7844 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
7845 functions, renamed from truncdfsf_test, trunctfsf_test,
7846 trunctfdf_test.
7847 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
7848 functions.
7849 (do_test): Run all these.
7850
6f65e668
OB
78512013-08-29 Ondřej Bílka <neleai@seznam.cz>
7852
7853 * argp/argp-help.c: Fix typos.
7854 * argp/argp-parse.c: Likewise.
7855 * debug/backtracesyms.c: Likewise.
7856 * elf/elf.h: Likewise.
7857 * malloc/malloc.c: Likewise.
7858 * nis/nis_print.c: Likewise.
7859 * resolv/res_comp.c: Likewise.
7860 * stdlib/stdlib.h: Likewise.
7861 * sunrpc/clnt_tcp.c: Likewise.
7862 * sunrpc/clnt_udp.c: Likewise.
7863 * sunrpc/clnt_unix.c: Likewise.
7864 * sysdeps/unix/bsd/ptsname.c: Likewise.
7865 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7866 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
7867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
7868 Likewise.
7869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
7870 Likewise.
7871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7872 Likewise.
6f65e668
OB
7873 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7874
3a309239
SP
78752013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7876
7877 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
7878 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7879
3b813b29
MF
78802013-08-27 Mike Frysinger <vapier@gentoo.org>
7881
7882 [BZ #15897]
7883 * dlfcn/Makefile (tests): Add bug-dl-leaf.
7884 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
7885 ($(objpfx)bug-dl-leaf): New rule.
7886 ($(objpfx)bug-dl-leaf.so): Likewise.
7887 ($(objpfx)bug-dl-leaf.out): Likewise.
7888 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
7889 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
7890 * dlfcn/bug-dl-leaf.c: New test.
7891 * dlfcn/bug-dl-leaf-lib.c: Likewise.
7892 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
7893 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
7894 (dlclose): Likewise.
7895 (dlmopen): Likewise.
7896
8cc3269f
RM
78972013-08-27 Roland McGrath <roland@hack.frob.com>
7898
7f9d0034
RM
7899 * include/netdb.h [!_ISOMAC]:
7900 Don't include <tls.h>.
7901 (h_errno, __libc_h_errno): Move declaration and macros out of
7902 [_LIBC_REENTRANT].
7903
fb431262
RM
7904 * include/resolv.h [_RESOLV_H_]:
7905 Don't include <tls.h>.
7906 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
7907 * resolv/res_libc.c: Don't include <tls.h>.
7908 (_res): Use __attribute__ ((nocommon)) in place of
7909 __attribute__ ((section (".bss"))).
7910
bd81123a
RM
7911 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
7912 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
7913
c4e42566
RM
7914 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
7915
f890a59b
RM
7916 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
7917 only under [SIOCGIFCONF && SIOCGIFNETMASK].
7918
7919 * resolv/res_mkquery.c: Include <sys/time.h>.
7920
5d1f0a09
RM
7921 * inet/ifreq.c: Moved to ...
7922 * sysdeps/unix/ifreq.c: ... here.
7923 * inet/ifreq.c: New file, true stub version.
7924
6fcf28b3
RM
7925 * socket/sa_len.c: New file.
7926 * socket/Makefile (aux): Add it.
7927 * sysdeps/unix/sysv/linux/Makefile
7928 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
7929 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
7930 and #include <socket/sa_len.c>.
7931 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
7932 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
7933
e041fb8b
RM
7934 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
7935 * bits/socket.h: ... here.
7936
8cc3269f
RM
7937 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
7938 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
7939 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
7940
5d228a43
AS
79412013-08-27 Andreas Schwab <schwab@suse.de>
7942
45b8accc
AS
7943 [BZ #15736]
7944 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
7945 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
7946 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
7947 * string/test-strcasecmp.c (test_main): Run tests in several
7948 locales.
7949 * string/test-strncasecmp.c (test_main): Likewise.
7950
5d228a43
AS
7951 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
7952 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
7953 to __strcasecmp_nonascii and __strncasecmp_nonascii.
7954 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
7955 (__strncasecmp_ssse3) [PIC]: Likewise.
7956
59d112a4
RM
79572013-08-26 Roland McGrath <roland@hack.frob.com>
7958
53234cc3
RM
7959 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
7960
59d112a4
RM
7961 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
7962 instead of explicitly declaring xdecrypt.
7963 * nis/nss_nis/nis-publickey.c: Likewise.
7964
595aba70
SP
79652013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7966
7967 [BZ #15890]
7968 * nscd/aicache.c: Include res_hconf.h.
7969 (addhstaiX): Initialize res_hconf.
7970
ffabd393
AS
79712013-08-26 Andreas Schwab <schwab@suse.de>
7972
7973 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
7974 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
7975
e0a69f5c
SP
79762013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7977
7978 * nscd/aicache.c (addhstaiX): Fix indentation.
7979
8c12f01d
MF
79802013-08-25 Mike Frysinger <vapier@gentoo.org>
7981
7982 * configure.ac: Quote $build_pt_chown test.
7983 * configure: Regenerated.
7984
8fe89494
JM
79852013-08-23 Joseph Myers <joseph@codesourcery.com>
7986
7987 [BZ #15532]
7988 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
7989 * math/s_cexpf.c (__cexpf): Likewise.
7990 * math/s_cexpl.c (__cexpl): Likewise.
7991 * math/libm-test.inc (cexp_test_data): Correct expected return
7992 value for NaN + i0. Add another test.
7993
75b181d6
DM
79942013-08-22 David S. Miller <davem@davemloft.net>
7995
7996 * po/ca.po: Update Catalan translation from translation project.
936241e4 7997 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 7998
acd06bb1
JM
79992013-08-21 Joseph Myers <joseph@codesourcery.com>
8000
8001 [BZ #15797]
8002 * math/s_fdim.c (__fdim): Check for infinite arguments if result
8003 is infinite, not alongside NaN test.
8004 * math/s_fdimf.c (__fdimf): Likewise.
8005 * math/s_fdiml.c (__fdiml): Likewise.
8006 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
8007 errno is unchanged.
8008
c0c3f78a
OB
80092013-08-21 Ondřej Bílka <neleai@seznam.cz>
8010
8011 * argp/argp-help.c: Fix typos.
8012 * crypt/speeds.c: Likewise.
8013 * csu/check_fds.c: Likewise.
8014 * elf/dl-load.c: Likewise.
8015 * elf/dl-open.c: Likewise.
8016 * elf/reldep3.c: Likewise.
8017 * elf/reldep.c: Likewise.
8018 * elf/sprof.c: Likewise.
8019 * iconv/iconv_charmap.c: Likewise.
8020 * iconv/skeleton.c: Likewise.
8021 * iconv/strtab.c: Likewise.
8022 * io/lockf64.c: Likewise.
8023 * libio/libioP.h: Likewise.
8024 * resolv/gai_notify.c: Likewise.
8025 * resolv/ns_name.c: Likewise.
8026 * resolv/ns_samedomain.c: Likewise.
8027 * resolv/res_send.c: Likewise.
8028 * stdlib/random.c: Likewise.
8029 * sunrpc/rpc/xdr.h: Likewise.
8030 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
8031 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8032 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8033 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8034 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8035 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8036 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8037 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8038 * sysdeps/mach/hurd/check_fds.c: Likewise.
8039 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8040 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8041 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8042 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8043 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8044 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8045 * sysdeps/pthread/aio_notify.c: Likewise.
8046 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
8047 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
8048 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
8049 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8050 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8051
46ed1038
LD
80522013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8053
8054 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
8055 version if bit_Slow_SSE4_2 is set.
8056 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8057 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8058
d400dcac
AZ
80592013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8060
8061 [BZ #15867]
8062 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
8063 trampoline stack frame information.
8064 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
8065 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
8066 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
8067 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
8068 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
8069 * sysdeps/unix/sysv/linux/powerpc/init-first.c
8070 (_libc_vdso_platform_setup): Initialize the signal trampolines.
8071 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
8072 sa_flags value.
8073 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
8074 interrupting a syscall and set with option SA_SIGINFO.
8075
42c8fdd8
JM
80762013-08-20 Joseph Myers <joseph@codesourcery.com>
8077
c980f2f4
JM
8078 [BZ #15531]
8079 * math/s_cproj.c (__cproj): Only return an infinity if one part of
8080 argument is infinite.
8081 * math/s_cprojf.c (__cprojf): Likewise.
8082 * math/s_cprojl.c (__cprojl): Likewise.
8083 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
8084 * math/libm-test.inc (cproj_test_data): Add more tests.
8085
0716c4fc
JM
8086 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
8087
42c8fdd8
JM
8088 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
8089 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
8090 size. Use __ffs to determine corresponding shift.
8091
b31469d0
JM
80922013-08-20 Joseph Myers <joseph@codesourcery.com>
8093 Roland McGrath <roland@hack.frob.com>
8094
8095 * Makefile (INSTALL): Remove trailing blank lines from output of
8096 makeinfo.
8097
4e39af6e
AK
80982013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8099
8100 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
8101 Align 32 bit compat elf_greg to 8 bytes.
8102
f315524e
AA
81032013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
8104
8105 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
8106
1326ba1a
SP
81072013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8108
8109 * string/strcoll_l.c (coll_seq): New structure.
8110 (get_next_seq_cached): New function.
8111 (get_next_seq): New function.
8112 (do_compare): New function.
8113 (STRCOLL): Use GNU style definition. Simplify implementation
8114 by using get_next_seq, get_next_seq_cached and do_compare.
8115
91ce4085
FW
81162013-08-16 Florian Weimer <fweimer@redhat.com>
8117
8118 [BZ #14699]
8119 CVE-2013-4237
8120 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
8121 member.
8122 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
8123 member.
8124 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
8125 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
8126 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
8127 conditional.
8128 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
8129 GETDENTS_64BIT_ALIGNED.
8130 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8131 * manual/filesys.texi (Reading/Closing Directory): Document
8132 ENAMETOOLONG return value of readdir_r. Recommend readdir more
8133 strongly.
8134 * manual/conf.texi (Limits for Files): Add portability note to
8135 NAME_MAX, PATH_MAX.
8136 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
8137
ca0a6bc4
AS
81382013-08-13 Andreas Schwab <schwab@suse.de>
8139
8140 [BZ #15749]
8141 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
8142 of fabs.
8143 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
8144 LDBL_MAX_EXP >= 16384]: Add tests for it.
8145
6c1fd795
DM
81462013-08-12 David S. Miller <davem@davemloft.net>
8147
8148 * version.h (RELEASE): Set to "development".
8149 (VERSION): Set to "2.18.90".
8150 * NEWS: Add 2.19 section.
8151
31ad488d
DM
81522013-08-03 David S. Miller <davem@davemloft.net>
8153
8154 * po/ko.po: Update Korean translation from translation project.
8155
db24e684
DM
81562013-08-01 David S. Miller <davem@davemloft.net>
8157
8158 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
8159 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
8160 Bilka.
8161
f723285b
DM
81622013-07-30 David S. Miller <davem@davemloft.net>
8163
8164 * po/fr.po: Update French translation from translation project.
8165
3cbc52db
DM
81662013-07-28 David S. Miller <davem@davemloft.net>
8167
30bbc0cc
DM
8168 * po/cs.po: Update Czech translation from translation project.
8169
3cbc52db
DM
8170 * po/sv.po: Update Swedish translation from translation project.
8171
d492e6d0
DM
81722013-07-27 David S. Miller <davem@davemloft.net>
8173
f1a7f492
DM
8174 * po/eo.po: Update Esperanto translation from translation project.
8175
90e62a4a
DM
8176 * po/vi.po: Update Vietnamese translation from translation project.
8177
d492e6d0
DM
8178 * po/de.po: Update German translation from translation project.
8179
d4baa62d
DM
81802013-07-26 David S. Miller <davem@davemloft.net>
8181
641aa7b4
DM
8182 * po/bg.po: Update Bulgarian translation from translation project.
8183
d4baa62d
DM
8184 * po/nl.po: Update Dutch translation from translation project.
8185 * po/pl.po: Update Polish translation from translation project.
8186 * po/ru.po: Update Russian translation from translation project.
8187
61a9dcb9
DM
81882013-07-24 David S. Miller <davem@davemloft.net>
8189
8190 * po/libc.pot: Update.
8191
7b1f8b58
AZ
81922013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8193
8194 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
8195 variable page size.
8196 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
8197 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
8198 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
8199
a8fc7a03
AK
82002013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8201
8202 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
8203
e4608715
CD
82042013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8205 Andreas Schwab <schwab@suse.de>
8206 Roland McGrath <roland@hack.frob.com>
8207 Joseph Myers <joseph@codesourcery.com>
8208 Carlos O'Donell <carlos@redhat.com>
8209
8210 [BZ #15755]
8211 * config.h.in: Define HAVE_PT_CHOWN.
8212 * config.make.in (build-pt-chown): New variable.
8213 * configure.in (--enable-pt_chown): New configure option.
8214 * configure: Regenerate.
8215 * login/Makefile: Include Makeconfig. Build pt_chown only if
8216 build-pt-chown is enabled.
8217 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
8218 pt_chown to fix pty ownership.
8219 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
8220 CLOSE_ALL_FDS.
8221 * manual/install.texi (Configuring and compiling): Mention
8222 --enable-pt_chown. Add @findex for grantpt.
8223 * INSTALL: Regenerate.
8224
da2d62df
DM
82252013-07-20 David S. Miller <davem@davemloft.net>
8226
8227 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
8228 difference between 32-bit and 64-bit.
8229
d7e06450
CD
82302013-07-15 Carlos O'Donell <carlos@redhat.com>
8231
8232 [BZ #15711]
8233 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
8234 Avoid system header dependency with -ffreestanding.
8235 ($(objpfx)bits/syscall%d): Likewise.
8236
f959cfd7
DM
82372013-07-13 David S. Miller <davem@davemloft.net>
8238
8239 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
8240 underflows from atanl/atan2l due to bug 15319.
8241 (casinh_test_data): Likewise.
8242
c61f8513
DM
82432013-07-07 David S. Miller <davem@davemloft.net>
8244
8245 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
8246
72c90ed0
JA
82472013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
8248
8249 * sysdeps/i386/fpu/libm-test-ulps: Update.
8250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8251
52dfbe13
SP
82522013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8253
8254 * configure.in (--enable-lock-elision): Fix message text.
8255 * INSTALL: Regenerate.
8256 * configure: Regenerate.
8257
3f169543
AZ
82582013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8259
8260 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8261
521c6785
AJ
82622013-07-03 Andreas Jaeger <aj@suse.de>
8263
8264 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
8265 define.
8266 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
8267 (ptrace_peeksiginfo_args): Add.
8268 (__ptrace_peeksiginfo_flags): Add.
8269 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8270 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8271 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8272
d2cc15cb
AM
82732013-07-03 Allan McRae <allan@archlinux.org>
8274
8275 * sysdeps/i386/fpu/libm-test-ulps: Update.
8276
3aaeeca7
DM
82772013-07-02 David S. Miller <davem@davemloft.net>
8278
8279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8280
5314ed1a
MT
82812013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
8282
8283 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8284
67338156
JM
82852013-07-02 Joseph Myers <joseph@codesourcery.com>
8286
8287 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8289
1717da59
AK
82902013-07-02 Andi Kleen <ak@linux.intel.com>
8291
8292 * config.h.in (ENABLE_LOCK_ELISION): Add.
8293 * configure.in (--enable-lock-elision): Add option.
8294 * manual/install.texi: Document --enable lock elision.
8295 * configure: Regenerate
8296 * INSTALL: Regenerate.
8297
1c81621c
L
82982013-07-02 H.J. Lu <hongjiu.lu@intel.com>
8299
8300 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
8301 SSE4.2 strcasecmp for libc.a.
8302 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
8303
77f01ab5
JM
83042013-07-02 Joseph Myers <joseph@codesourcery.com>
8305
8306 [BZ #13304]
8307 * soft-fp/op-common.h (_FP_FMA): New macro.
8308 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
8309 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
8310 (_FP_MUL_MEAT_1_imm): ... here.
8311 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
8312 (_FP_MUL_MEAT_1_wide): ... here.
8313 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
8314 (_FP_MUL_MEAT_1_hard): ... here.
8315 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
8316 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
8317 (_FP_MUL_MEAT_2_wide): ... here.
8318 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
8319 (_FP_MUL_MEAT_2_wide_3mul): ... here.
8320 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
8321 (_FP_MUL_MEAT_2_gmp): ... here.
8322 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
8323 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
8324 (_FP_MUL_MEAT_4_wide): ... here.
8325 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
8326 (_FP_MUL_MEAT_4_gmp): ... here.
8327 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
8328 (_FP_WFRACBITS_DW_S): Likewise.
8329 (_FP_WFRACXBITS_DW_S): Likewise.
8330 (_FP_HIGHBIT_DW_S): Likewise.
8331 (FP_FMA_S): Likewise.
8332 (_FP_FRAC_HIGH_DW_S): Likewise.
8333 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
8334 (_FP_WFRACBITS_DW_D): Likewise.
8335 (_FP_WFRACXBITS_DW_D): Likewise.
8336 (_FP_HIGHBIT_DW_D): Likewise.
8337 (FP_FMA_D): Likewise.
8338 (_FP_FRAC_HIGH_DW_D): Likewise.
8339 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
8340 (_FP_WFRACBITS_DW_E): Likewise.
8341 (_FP_WFRACXBITS_DW_E): Likewise.
8342 (_FP_HIGHBIT_DW_E): Likewise.
8343 (FP_FMA_E): Likewise.
8344 (_FP_FRAC_HIGH_DW_E): Likewise.
8345 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
8346 (_FP_WFRACBITS_DW_Q): Likewise.
8347 (_FP_WFRACXBITS_DW_Q): Likewise.
8348 (_FP_HIGHBIT_DW_Q): Likewise.
8349 (FP_FMA_Q): Likewise.
8350 (_FP_FRAC_HIGH_DW_Q): Likewise.
8351 * soft-fp/fmasf4.c: New file.
8352 * soft-fp/fmadf4.c: Likewise.
8353 * soft-fp/fmatf4.c: Likewise.
8354
6308fd9a
LD
83552013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8356
8357 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
8358 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
8359 Silvermont.
8360 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
8361 macro.
8362 (index_Slow_SSE4_2): Likewise.
8363 (index_Prefer_PMINUB_for_stringop): Likewise.
8364 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
8365 bit_Slow_SSE4_2 is set.
8366 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8367 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8368
89cd9569
RA
83692013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8370
8371 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
8372 rtld_global._dl_hwcap2.
8373 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
8374 POWER8.
8375 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
8376 POWER8 feature descriptions defined in _dl_hwcap2.
8377 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
8378 string handling for POWER8 feature bits.
8379 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
8380 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
8381 _dl_powerpc_cap_flags.
8382 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
8383 * sysdeps/powerpc/rtld-global-offsets.sym
8384 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
8385 _dl_hwcap2 in the rtld_global_ro structure.
8386
1ae8bfe0
RA
83872013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8388
8389 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
8390 hardware capabilities in support of AT_HWCAP2.
8391 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
8392 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
8393 GLRO(dl_hwcap2).
8394 (_dl_show_auxv): Add support for calling _dl_procinfo to display
8395 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
8396 explicitly the unknown a_type display mechanism is used.
8397 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
8398 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
8399 struct member.
8400 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
8401 to macro prototype for AT_HWCAP2 support.
8402 * sysdeps/i386/dl-procinfo.h: Likewise.
8403 * sysdeps/s390/dl-procinfo.h: Likewise.
8404 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
8405 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
8406 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
8407 return -1 for unknown a_type display fallback.
8408 * sysdeps/sparc/dl-procinfo.h: Likewise.
8409 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
8410 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
8411
8fbec010
JM
84122013-06-28 Joseph Myers <joseph@codesourcery.com>
8413
8414 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
8415 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
8416
0432680e
PY
84172013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
8418
8419 [BZ #12492]
8420 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
8421 mprotect making __stack_prot writable.
8422
ce61a2ad
NF
84232013-06-28 Nathan Froyd <froydnj@codesourcery.com>
8424 Joseph Myers <joseph@codesourcery.com>
8425
8426 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
8427 as being properly aligned.
8428
f91f1c0f
MR
84292013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
8430
3d0f5d0c
MR
8431 * dlfcn/modstatic5.c: New file.
8432 * dlfcn/tststatic5.c: New file.
8433 * dlfcn/Makefile (tests): Add tststatic5.
8434 (tests-static): Likewise.
8435 (modules-names): Add modstatic5.
8436 (tststatic5-ENV): New variable.
8437 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
8438
f91f1c0f
MR
8439 [BZ #15022]
8440 * elf/dl-support.c (_dl_main_map): New variable.
8441 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
8442 (_dl_nns, _dl_load_adds): Set to 1.
8443 (_dl_initial_searchlist): Refer to _dl_main_map.
8444 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
8445 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
8446 call to _dl_get_origin.
8447 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
8448 around call_map.
8449 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
8450 * dlfcn/modstatic3.c: New file.
8451 * dlfcn/tststatic3.c: New file.
8452 * dlfcn/tststatic4.c: New file.
8453 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
8454 (tests-static): Likewise.
8455 (modules-names): Add modstatic3.
8456 (tststatic3-ENV, tststatic4-ENV): New variables.
8457 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
8458 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
8459
cbe7d24b
JM
84602013-06-26 Joseph Myers <joseph@codesourcery.com>
8461
8462 * configure.in (CC): Require GCC version 4.4 or later.
8463 * configure: Regenerated.
8464 * manual/install.texi (Tools for Compilation): Update GCC version
8465 requirement.
8466 * INSTALL: Regenerated.
8467
11b8a0e1
LD
84682013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8469
8470 [BZ #15674]
bb5bb87c
L
8471 * string/test-memcmp.c (check2): New.
8472 (main): Call check2.
8473
11b8a0e1
LD
8474 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
8475
b0037103
MR
84762013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
8477
8478 [BZ #15022]
8479 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
8480 over to...
8481 (dl_open_worker) [!SHARED]: ... here.
8482
c18c701d
RA
84832013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8484
8485 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
8486
1d17fa5f
RH
84872013-06-25 Richard Henderson <rth@redhat.com>
8488
8489 * locale/programs/locarchive.c: Include <libc-internal.h>
8490
8fcb833a
JM
84912013-06-25 Joseph Myers <joseph@codesourcery.com>
8492
8493 * manual/texinfo.tex: Update to version 2013-06-21.17, with
8494 trailing whitespace removed.
8495
17db6e8d
MF
84962013-06-24 Mike Frysinger <vapier@gentoo.org>
8497
8498 [BZ #10283]
17db6e8d
MF
8499 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
8500 * locale/programs/locarchive.c: Include libc-mmap.h.
8501 (prepare_address_space): Take two new outputs (the mmap base and len).
8502 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
8503 values.
8504 (create_archive): Declare new mmap base and len values for
8505 prepare_address_space, and store the result in ah.
8506 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
8507 (enlarge_archive): If ah->mmap_base is not NULL, use that and
8508 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8509 Declare new mmap base and len values for
8510 prepare_address_space, and store the result in new_ah.
8511 (open_archive): Declare new mmap base and len values for
8512 prepare_address_space, and store the result in ah.
8513 (close_archive): If ah->mmap_base is not NULL, use that and
8514 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8515 * sysdeps/generic/libc-mmap.h: New file.
8516
d605071e
MF
85172013-06-24 Mike Frysinger <vapier@gentoo.org>
8518
8519 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
8520 (ALIGN_UP): Likewise.
8521 (PTR_ALIGN_DOWN): Likewise.
8522 (PTR_ALIGN_UP): Likewise.
8523
2f063a6e
RA
85242013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8525
8526 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
8527 entry mapped to PPC_PLATFORM_POWER8.
8528 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
8529 POWER8.
8530 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
8531 (_dl_string_platform): Add case for exporting platform position for
8532 POWER8.
8533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
8534 search path to sysdeps/powerpc/powerpc32/power8 directory.
8535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
8536 search path to sysdeps/powerpc/powerpc64/power8 directory.
8537 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
8538 power7 directories.
8539 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
8540 power7 directories.
8541
a31ee4b3
SP
85422013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8543
a74ca98f
SP
8544 * INSTALL: Regenerate.
8545
a31ee4b3
SP
8546 * nscd/connections.c (nscd_init): Fix comment.
8547
695c378f
JM
85482013-06-22 Joseph Myers <joseph@codesourcery.com>
8549
d8412221
JM
8550 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
8551
695c378f
JM
8552 [BZ #15667]
8553 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
8554 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
8555
d1d54715
MR
85562013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8557
8558 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
8559 DL_DST_REQ_STATIC.
8560 (DL_DST_REQ_STATIC): Remove macro.
8561
8fdda7af
JM
85622013-06-21 Joseph Myers <joseph@codesourcery.com>
8563
8564 [BZ #7006]
8565 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
8566 with a shift of 0 bits.
8567
f3bc5e5a
MR
85682013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8569
8570 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
8571 $(tststatic-ENV).
8572
be09e8c9
KK
85732013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8574
8575 [BZ #15655]
8576 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
8577
85c2e611
AZ
85782013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8579
8580 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
8581 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
8582 accepts -fno-tree-loop-distribute-patterns.
8583 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
8584 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
8585 recursive call.
8586 * string/memset.c (memset): Likewise.
8587 * string/test-memmove.c (simple_memmove): Disable loop transformation
8588 to library calls.
8589 * string/test-memset.c (simple_memset): Likewise.
8590 * benchtests/bench-memmove.c (simple_memmove): Likewise.
8591 * benchtests/bench-memset.c (simple_memset): Likewise.
8592 * configure: Regenerated.
8593
c91e0825
JM
85942013-06-20 Joseph Myers <joseph@codesourcery.com>
8595
b8c792af
JM
8596 * math/test-misc.c (main): Ignore fesetround failure when failures
8597 of subsequent rounding tests would be ignored.
8598
c91e0825
JM
8599 [BZ #15654]
8600 * math/fedisblxcpt.c (fedisableexcept): Return 0.
8601 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
8602 * math/fegetenv.c (__fegetenv): Return 0.
8603 * math/fegetexcept.c (fegetexcept): Return 0.
8604 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
8605 FE_TONEAREST.
8606 * math/feholdexcpt.c (feholdexcept): Return 0.
8607 * math/fesetenv.c (__fesetenv): Return 0.
8608 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
8609 argument FE_TONEAREST.
8610 * math/feupdateenv.c (__feupdateenv): Return 0.
8611 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
8612
bfcacbde
RM
86132013-06-18 Roland McGrath <roland@hack.frob.com>
8614
8615 * elf/rtld-Rules (rtld-compile-command.S): New variable.
8616 (rtld-compile-command.s, rtld-compile-command.c): New variables.
8617 ($(objpfx)rtld-%.os rules): Use them.
8618
e55a9b25
AZ
86192013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8620
8621 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
8622 fields.
8623
346d65b3
RM
86242013-06-17 Roland McGrath <roland@hack.frob.com>
8625
12086fb4
RM
8626 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
8627 length of target pattern, then descending length of dependency pattern.
8628 * configure.in (AWK): Require gawk 3.1.2 or newer.
8629 * manual/install.texi (Tools for Compilation): Say that we do.
8630 * configure: Regenerated.
8631
346d65b3
RM
8632 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
8633 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
8634 * scripts/sysd-rules.awk: ... this new script.
8635 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
8636 than a glob-style pattern.
8637
1a846317
JM
86382013-06-17 Joseph Myers <joseph@codesourcery.com>
8639
8640 * math/test-misc.c (main): Do not treat incorrectly rounded
8641 conversions as failure unless ROUNDING_TESTS passes.
8642
8fc75e6f
JM
86432013-06-15 Joseph Myers <joseph@codesourcery.com>
8644
3711a167
JM
8645 [BZ #15631]
8646 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
8647 restore exception state around main square root computation, then
8648 check for inexactness explicitly.
8649
8fc75e6f
JM
8650 * math/libm-test.inc (fma_test_data): Add another test.
8651
61dd6208
SP
86522013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8653
adf23d2c
SP
8654 * manual/threads.texi (Non-POSIX Extensions): New document
8655 node. Document pthread_getattr_default_np and
8656 pthread_setattr_default_np.
8657
61dd6208
SP
8658 * Versions.def (libpthread): Add GLIBC_2.18.
8659 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
8660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8661 Likewise.
8662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8663 Likewise.
8664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8665 Likewise.
8666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8667 Likewise.
8668 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
8669 Likewise.
8670 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8671 Likewise.
8672 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8673 Likewise.
8674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
8675 Likewise.
8676 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8677 Likewise.
8678
d086fc7b
LD
86792013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8680
8681 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8682 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
8683
747ef469
SP
86842013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8685 H.J. Lu <hjl.tools@gmail.com>
8686
8687 [BZ #15627]
8688 * sysdeps/x86_64/rtld-memset.c: Remove file.
8689 * sysdeps/x86_64/rtld-memset.S: New file.
8690
1b2feed2
JM
86912013-06-14 Joseph Myers <joseph@codesourcery.com>
8692
8693 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
8694 (test_in_one_mode): Take arguments for whether the rounding mode
8695 is supported for each floating-point type.
8696 (do_test): Pass new arguments to test_in_one_mode using
8697 ROUNDING_TESTS.
8698
a58ad3f8
RM
86992013-06-13 Roland McGrath <roland@hack.frob.com>
8700
8701 * posix/tst-waitid.c (do_test): Distinguish different instances of
8702 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
8703 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
8704 before entering the kernel for waitpid.
8705
c204ab28
SP
87062013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8707
8708 * NEWS: Fix note on clock function precision. Text by Roland
8709 McGrath.
8710
f4a29fba
RM
87112013-06-13 Roland McGrath <roland@hack.frob.com>
8712
8713 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
8714 it into place only when and if the sanity check passes.
8715
1f24b9ad
JM
87162013-06-13 Joseph Myers <joseph@codesourcery.com>
8717
8718 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
8719 output for whether conversion result is exact. Take argument
8720 indicating whether type is IBM long double.
8721 (round_for_all): Change need_exact field to ibm_ld.
8722 * stdlib/tst-strtod-round.c (struct exactness): New type.
8723 (struct test): Change bool ld_ok field to struct exactness exact.
8724 (TEST): Update all definitions for change to field.
8725 (tests): Regenerate array contents.
8726 (test_in_one_mode): Take pointer to new field instead of old ld_ok
8727 field value. Check for IBM long double here.
8728 (do_test): Update calls to test_in_one_mode.
8729
58206c68
SP
87302013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8731
8732 [BZ #12515]
8733 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
8734 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
8735
2d6f4c5b 87362013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
8737
8738 [BZ #15605]
8739 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
8740 generated by the compiler on loop optimizations.
8741 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
8742 general definitions.
8743
94f2c076
JM
87442013-06-12 Joseph Myers <joseph@codesourcery.com>
8745
8746 * math/bug-nextafter.c: Include <math-tests.h>.
8747 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8748 the relevant type.
8749 * math/bug-nexttoward.c: Include <math-tests.h>.
8750 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8751 the relevant type.
8752 * math/test-misc.c: Include <math-tests.h>.
8753 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8754 the relevant type.
8755
e0e50a0a
AJ
87562013-06-12 Andreas Jaeger <aj@suse.de>
8757
8758 * po/ia.po: Update Interlingua translation from translation
8759 project.
8760
25061094
SP
87612013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8762
8763 * include/fenv.h: Include stdbool.h.
8764 (struct rm_ctx): New structure.
8765 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
8766 Define macro.
8767 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
8768 (SET_RESTORE_ROUNDF): Likewise.
8769 (SET_RESTORE_ROUNDL): Likewise.
8770 (SET_RESTORE_ROUND_NOEX): Likewise.
8771 (SET_RESTORE_ROUND_NOEXF): Likewise.
8772 (SET_RESTORE_ROUND_NOEXL): Likewise.
8773 (SET_RESTORE_ROUND_53BIT): Likewise.
8774 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
8775 (libc_feresetround_noexf_ctx): Likewise.
8776 (libc_feresetround_noexl_ctx): Likewise.
8777 (libc_feholdsetround_53bit_ctx): Likewise.
8778 (libc_feresetround_53bit_ctx): Likewise.
8779 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
8780 (libc_feholdexcept_setround_sse_ctx): New function.
8781 (libc_fesetenv_sse_ctx): Likewise.
8782 (libc_feupdateenv_sse_ctx): Likewise.
8783 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
8784 (libc_feholdexcept_setround_387_ctx): Likewise.
8785 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
8786 (libc_feholdsetround_387_prec_ctx): Likewise.
8787 (libc_feholdsetround_387_ctx): Likewise.
8788 (libc_feholdsetround_387_53bit_ctx): Likewise.
8789 (libc_feholdsetround_sse_ctx): Likewise.
8790 (libc_feresetround_sse_ctx): Likewise.
8791 (libc_feresetround_387_ctx): Likewise.
8792 (libc_feupdateenv_387_ctx): Likewise.
8793 (libc_feholdexcept_setroundf_ctx): Define macro.
8794 (libc_fesetenvf_ctx): Likewise.
8795 (libc_feupdateenvf_ctx): Likewise.
8796 (libc_feholdsetroundf_ctx): Likewise.
8797 (libc_feresetroundf_ctx): Likewise.
8798 (libc_feholdexcept_setround_ctx): Likewise.
8799 (libc_fesetenv_ctx): Likewise.
8800 (libc_feupdateenv_ctx): Likewise.
8801 (libc_feholdsetround_ctx): Likewise.
8802 (libc_feresetround_ctx): Likewise.
8803 (libc_feholdexcept_setroundl_ctx): Likewise.
8804 (libc_feupdateenvl_ctx): Likewise.
8805 (libc_feholdsetroundl_ctx): Likewise.
8806 (libc_feresetroundl_ctx): Likewise.
8807 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
8808 (libc_feresetround_53bit_ctx): Likewise.
8809
59b30555
SP
88102013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8811
8812 * locale/iso-639.def: Convert to UTF-8.
8813
f1d73d30
JM
88142013-06-11 Joseph Myers <joseph@codesourcery.com>
8815
8816 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
8817 (EXCEPTION_TESTS_double): Likewise.
8818 (EXCEPTION_TESTS_long_double): Likewise.
8819 (EXCEPTION_TESTS): Likewise.
8820 * math/libm-test.inc (test_exceptions): Only test exceptions if
8821 EXCEPTION_TESTS (FLOAT).
8822
94aca5e7
SP
88232013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8824
8825 * benchtests/Makefile (string-bench): Add strcpy_chk and
8826 stpcpy_chk.
8827 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
8828 * benchtests/bench-stpcpy_chk.c: New file.
8829 * benchtests/bench-strcpy_chk-ifunc.c: New file.
8830 * benchtests/bench-strcpy_chk.c: New file.
8831 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
8832 code.
8833 (do_test): Likewise.
8834
fac0c5f2
RA
88352013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8836
8837 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
8838 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
8839 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
8840 with tabs where appropriate.
8841 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
8842 dl-procinfo.h.
8843 [PPC_PLATFORM_PPC440]: Likewise.
8844 [PPC_PLATFORM_PPC464]: Likewise.
8845 [PPC_PLATFORM_PPC476]: Likewise.
8846 (_dl_string_platform): Add support for detecting ppc405, ppc440,
8847 ppc464, and ppc476 platform strings merging from ports/
8848 dl-procinfo.h.
8849
f22bc486
AS
88502013-06-11 Andreas Schwab <schwab@suse.de>
8851
8852 [BZ #14991]
8853 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
8854 (from_ucs4_idx): Regenerate.
8855 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
8856 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
8857 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
8858 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
8859 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
8860 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
8861 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
8862 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
8863 from FROM_LOOP and TO_LOOP specific macros.
8864 (BODY): Handle combining characters.
8865 * iconvdata/BIG5HKSCS.irreversible: Update.
8866 * iconvdata/BIG5HKSCS.precomposed: New file.
8867 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
8868 characters.
8869 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
8870
c1f75dc3
SP
88712013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8872
4eacded2
SP
8873 * include/sys/time.h: Fix indentation and add copyright header.
8874
fec799f8
SP
8875 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
8876 (do_test): Likewise.
8877 * string/test-memchr.c (do_one_test): Likewise.
8878 (do_test): Likewise.
8879 * string/test-memcmp.c (do_one_test): Likewise.
8880 (do_test): Likewise.
8881 * string/test-memcpy.c (do_one_test): Likewise.
8882 (do_test): Likewise.
8883 * string/test-memmem.c (do_one_test): Likewise.
8884 (do_test): Likewise.
8885 (do_random_tests): Likewise.
8886 * string/test-memmove.c (do_one_test): Likewise.
8887 (do_test): Likewise.
8888 * string/test-memset.c (do_one_test): Likewise.
8889 (do_test): Likewise.
8890 * string/test-rawmemchr.c (do_one_test): Likewise.
8891 (do_test): Likewise.
8892 * string/test-strcasecmp.c (do_one_test): Likewise.
8893 (do_test): Likewise.
8894 * string/test-strcasestr.c (do_one_test): Likewise.
8895 (do_test): Likewise.
8896 * string/test-strcat.c (do_one_test): Likewise.
8897 (do_test): Likewise.
8898 * string/test-strchr.c (do_one_test): Likewise.
8899 (do_test): Likewise.
8900 * string/test-strcmp.c (do_one_test): Likewise.
8901 (do_test): Likewise.
8902 * string/test-strcpy.c (do_one_test): Likewise.
8903 (do_test): Likewise.
8904 * string/test-string.h: Likewise.
8905 (test_init): Likewise.
8906 * string/test-strlen.c (do_one_test): Likewise.
8907 (do_test): Likewise.
8908 * string/test-strncasecmp.c (do_one_test): Likewise.
8909 (do_test): Likewise.
8910 * string/test-strncat.c (do_one_test): Likewise.
8911 (do_test): Likewise.
8912 * string/test-strncmp.c (do_one_test): Likewise.
8913 (do_test_limit): Likewise.
8914 (do_test): Likewise.
8915 * string/test-strncpy.c (do_one_test): Likewise.
8916 (do_test): Likewise.
8917 * string/test-strnlen.c (do_one_test): Likewise.
8918 (do_test): Likewise.
8919 * string/test-strpbrk.c (do_one_test): Likewise.
8920 (do_test): Likewise.
8921 * string/test-strrchr.c (do_one_test): Likewise.
8922 (do_test): Likewise.
8923 * string/test-strspn.c (do_one_test): Likewise.
8924 (do_test): Likewise.
8925 * string/test-strstr.c (do_one_test): Likewise.
8926 (do_test): Likewise.
8927
97020474
SP
8928 * benchtests/Makefile (string-bench): Add string benchmarks.
8929 * benchtests/bench-bcopy-ifunc.c: New file.
8930 * benchtests/bench-bcopy.c: New file.
8931 * benchtests/bench-bzero-ifunc.c: New file.
8932 * benchtests/bench-bzero.c: New file.
8933 * benchtests/bench-memccpy-ifunc.c: New file.
8934 * benchtests/bench-memccpy.c: New file.
8935 * benchtests/bench-memchr-ifunc.c: New file.
8936 * benchtests/bench-memchr.c: New file.
8937 * benchtests/bench-memcmp-ifunc.c: New file.
8938 * benchtests/bench-memcmp.c: New file.
8939 * benchtests/bench-memmem-ifunc.c: New file.
8940 * benchtests/bench-memmem.c: New file.
8941 * benchtests/bench-memmove-ifunc.c: New file.
8942 * benchtests/bench-memmove.c: New file.
8943 * benchtests/bench-mempcpy-ifunc.c: New file.
8944 * benchtests/bench-mempcpy.c: New file.
8945 * benchtests/bench-memset-ifunc.c: New file.
8946 * benchtests/bench-memset.c: New file.
8947 * benchtests/bench-rawmemchr-ifunc.c: New file.
8948 * benchtests/bench-rawmemchr.c: New file.
8949 * benchtests/bench-stpcpy-ifunc.c: New file.
8950 * benchtests/bench-stpcpy.c: New file.
8951 * benchtests/bench-stpncpy-ifunc.c: New file.
8952 * benchtests/bench-stpncpy.c: New file.
8953 * benchtests/bench-strcasecmp-ifunc.c: New file.
8954 * benchtests/bench-strcasecmp.c: New file.
8955 * benchtests/bench-strcasestr-ifunc.c: New file.
8956 * benchtests/bench-strcasestr.c: New file.
8957 * benchtests/bench-strcat-ifunc.c: New file.
8958 * benchtests/bench-strcat.c: New file.
8959 * benchtests/bench-strchr-ifunc.c: New file.
8960 * benchtests/bench-strchr.c: New file.
8961 * benchtests/bench-strchrnul-ifunc.c: New file.
8962 * benchtests/bench-strchrnul.c: New file.
8963 * benchtests/bench-strcmp-ifunc.c: New file.
8964 * benchtests/bench-strcmp.c: New file.
8965 * benchtests/bench-strcpy-ifunc.c: New file.
8966 * benchtests/bench-strcpy.c: New file.
8967 * benchtests/bench-strcspn-ifunc.c: New file.
8968 * benchtests/bench-strcspn.c: New file.
8969 * benchtests/bench-strlen-ifunc.c: New file.
8970 * benchtests/bench-strlen.c: New file.
8971 * benchtests/bench-strncasecmp-ifunc.c: New file.
8972 * benchtests/bench-strncasecmp.c: New file.
8973 * benchtests/bench-strncat-ifunc.c: New file.
8974 * benchtests/bench-strncat.c: New file.
8975 * benchtests/bench-strncmp-ifunc.c: New file.
8976 * benchtests/bench-strncmp.c: New file.
8977 * benchtests/bench-strncpy-ifunc.c: New file.
8978 * benchtests/bench-strncpy.c: New file.
8979 * benchtests/bench-strnlen-ifunc.c: New file.
8980 * benchtests/bench-strnlen.c: New file.
8981 * benchtests/bench-strpbrk-ifunc.c: New file.
8982 * benchtests/bench-strpbrk.c: New file.
8983 * benchtests/bench-strrchr-ifunc.c: New file.
8984 * benchtests/bench-strrchr.c: New file.
8985 * benchtests/bench-strspn-ifunc.c: New file.
8986 * benchtests/bench-strspn.c: New file.
8987 * benchtests/bench-strstr-ifunc.c: New file.
8988 * benchtests/bench-strstr.c: New file.
8989
c1f75dc3
SP
8990 * benchtests/Makefile: Disable parallel execution of targets.
8991 (string-bench): Add memcpy.
8992 (benchset): New variable to store a list of benchmark sets.
8993 (bench-func): Renamed from bench.
8994 (bench-set): New target.
8995 (bench): Depend on bench-func and bench-set.
8996 * benchtests/README: Add section on benchmark sets.
8997 * benchtests/bench-memcpy-ifunc.c: New file.
8998 * benchtests/bench-memcpy.c: New file.
8999 * benchtests/bench-string.h: New file.
9000
50fd745b
AS
90012013-06-11 Andreas Schwab <schwab@suse.de>
9002
9003 [BZ #15577]
9004 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
9005 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
9006 values in the triple.
9007 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
9008 terminator in the group key.
9009
3ee7e9fe
AJ
90102013-06-11 Andreas Jaeger <aj@suse.de>
9011
9012 * po/zh_TW.po: Update Chinese (traditional) translation from
9013 translation project.
9014
89fb6835
SP
90152013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9016
9017 * include/time.h (__clock_gettime): Add libc_hidden_proto.
9018 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
9019 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
9020 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9021 (clock_getcpuclockid): Likewise.
9022 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
9023 Add weak_alias and libc_hidden_def.
9024 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
9025 * rt/clock_gettime.c (clock_gettime): Rename to
9026 __clock_gettime. Add weak_alias and libc_hidden_def.
9027 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
9028 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
9029 __clock_nanosleep. Add weak_alias and libc_hidden_def.
9030 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
9031 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
9032 Likewise.
9033 * rt/clock_settime.c (clock_settime): Rename to
9034 __clock_settime. Add weak_alias and libc_hidden_def.
9035 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
9036
0efa6f8b
JM
90372013-06-10 Joseph Myers <joseph@codesourcery.com>
9038
b8c61b4b
JM
9039 * mach/err_boot.sub: Remove trailing whitespace.
9040 * mach/err_ipc.sub: Likewise.
9041 * mach/err_mach.sub: Likewise.
9042
0efa6f8b
JM
9043 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
9044 (ROUNDING_TESTS_double): Likewise.
9045 (ROUNDING_TESTS_long_double): Likewise.
9046 (ROUNDING_TESTS): Likewise.
9047 * math/libm-test.inc: Include <math-tests.h>.
9048 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
9049 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9050 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9051 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9052
50b818bf
SP
90532013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9054
9055 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
9056 of assigning.
9057
60d2f8f3
JM
90582013-06-08 Joseph Myers <joseph@codesourcery.com>
9059
4902d2c3
JM
9060 * sysdeps/gnu/errlist.awk: Do not generate space at end of
9061 otherwise empty TRANS lines.
9062 * sysdeps/gnu/errlist.c: Regenerated.
9063
60d2f8f3
JM
9064 * catgets/gencat.c (error_print): Use (void) in function
9065 definition.
9066 * crypt/crypt_util.c (__init_des): Likewise.
9067 * crypt/speeds.c (Stop): Likewise.
9068 (main): Likewise.
9069 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
9070 * inet/ruserpass.c (token): Likewise.
9071 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
9072 * intl/localealias.c (extend_alias_table): Likewise.
9073 * intl/plural-exp.c (init_germanic_plural): Likewise.
9074 * libio/fcloseall.c (__fcloseall): Likewise.
9075 * libio/genops.c (_IO_flush_all): Likewise.
9076 (_IO_flush_all_linebuffered): Likewise.
9077 (_IO_cleanup): Likewise.
9078 (_IO_iter_begin): Likewise.
9079 (_IO_iter_end): Likewise.
9080 (_IO_list_lock): Likewise.
9081 (_IO_list_unlock): Likewise.
9082 (_IO_list_resetlock): Likewise.
9083 * libio/getchar.c (getchar): Likewise.
9084 * libio/getchar_u.c (getchar_unlocked): Likewise.
9085 * libio/getwchar.c (getwchar): Likewise.
9086 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
9087 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
9088 * login/getpt.c (__getpt): Likewise.
9089 * login/tst-utmp.c (main): Likewise.
9090 * malloc/hooks.c (__malloc_check_init): Likewise.
9091 * malloc/malloc.c (__malloc_stats): Likewise.
9092 * malloc/mtrace.c (tr_break): Likewise.
9093 (mtrace): Likewise.
9094 (muntrace): Likewise.
9095 * misc/fstab.c (endfsent): Likewise.
9096 * misc/getclktck.c (__getclktck): Likewise.
9097 * misc/getdtsz.c (__getdtablesize): Likewise.
9098 * misc/gethostid.c (gethostid): Likewise.
9099 * misc/getpagesize.c (__getpagesize): Likewise.
9100 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
9101 (__get_nprocs): Likewise.
9102 (__get_phys_pages): Likewise.
9103 (__get_avphys_pages): Likewise.
9104 * misc/getttyent.c (getttyent): Likewise.
9105 (setttyent): Likewise.
9106 (endttyent): Likewise.
9107 * misc/getusershell.c (getusershell): Likewise.
9108 (endusershell): Likewise.
9109 (setusershell): Likewise.
9110 (initshells): Likewise.
9111 * misc/hsearch.c (__hdestroy): Likewise.
9112 * misc/sync.c (sync): Likewise.
9113 * misc/syslog.c (closelog_internal): Likewise.
9114 (closelog): Likewise.
9115 * misc/ttyslot.c (ttyslot): Likewise.
9116 * misc/vhangup.c (vhangup): Likewise.
9117 * posix/fork.c (__fork): Likewise.
9118 * posix/getegid.c (__getegid): Likewise.
9119 * posix/geteuid.c (__geteuid): Likewise.
9120 * posix/getgid.c (__getgid): Likewise.
9121 * posix/getpid.c (__getpid): Likewise.
9122 * posix/getppid.c (__getppid): Likewise.
9123 * posix/getuid.c (__getuid): Likewise.
9124 * posix/pause.c (pause): Likewise.
9125 * posix/setpgrp.c (setpgrp): Likewise.
9126 * posix/setsid.c (__setsid): Likewise.
9127 * posix/test-vfork.c (noop): Likewise.
9128 * resolv/gethnamaddr.c (_endhtent): Likewise.
9129 (_gethtent): Likewise.
9130 (ht_endhostent): Likewise.
9131 (gethostent): Likewise.
9132 (dns_service): Likewise.
9133 * stdlib/drand48.c (drand48): Likewise.
9134 * stdlib/lrand48.c (lrand48): Likewise.
9135 * stdlib/mrand48.c (mrand48): Likewise.
9136 * stdlib/rand.c (rand): Likewise.
9137 * stdlib/random.c (__random): Likewise.
9138 * stdlib/setenv.c (clearenv): Likewise.
9139 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
9140 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
9141 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
9142 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
9143 (__get_nprocs): Likewise.
9144 (__get_phys_pages): Likewise.
9145 (__get_avphys_pages): Likewise.
9146 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
9147 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
9148 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
9149 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
9150 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
9151 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
9152 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
9153 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
9154 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
9155 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
9156 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
9157 * sysdeps/mach/hurd/sync.c (sync): Likewise.
9158 * sysdeps/posix/clock.c (clock): Likewise.
9159 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
9160 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
9161 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
9162 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
9163 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
9164 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
9165 (__get_nprocs_conf): Likewise.
9166 (__get_phys_pages): Likewise.
9167 (__get_avphys_pages): Likewise.
9168 * time/clock.c (clock): Likewise.
9169 * time/tzset.c (__tzname_max): Likewise.
9170
2e09a79a
JM
91712013-06-07 Joseph Myers <joseph@codesourcery.com>
9172
9173 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
9174 (__bswap_32): Do not use "register".
9175 * crypt/crypt.c (_ufc_doit_r): Likewise.
9176 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9177 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9178 * gmon/gmon.c (__monstartup): Likewise.
9179 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
9180 * hurd/hurdmalloc.c (more_memory): Likewise.
9181 (malloc): Likewise.
9182 (free): Likewise.
9183 (realloc): Likewise.
9184 (malloc_fork_prepare): Likewise.
9185 (malloc_fork_parent): Likewise.
9186 (malloc_fork_child): Likewise.
9187 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
9188 (_svcauth_des): Likewise.
9189 * inet/inet_lnaof.c (inet_lnaof): Likewise.
9190 * inet/inet_net.c (inet_network): Likewise.
9191 * inet/inet_netof.c (inet_netof): Likewise.
9192 * inet/rcmd.c (__validuser2_sa): Likewise.
9193 * io/fts.c (fts_open): Likewise.
9194 (fts_load): Likewise.
9195 (fts_close): Likewise.
9196 (fts_read): Likewise.
9197 (fts_children): Likewise.
9198 (fts_build): Likewise.
9199 (fts_stat): Likewise.
9200 (fts_sort): Likewise.
9201 (fts_alloc): Likewise.
9202 (fts_lfree): Likewise.
9203 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
9204 (_IO_file_xsgetn): Likewise.
9205 (_IO_file_xsgetn_mmap): Likewise.
9206 * libio/iofopncook.c (_IO_cookie_read): Likewise.
9207 (_IO_cookie_write): Likewise.
9208 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
9209 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
9210 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
9211 * malloc/obstack.c (_obstack_begin): Likewise.
9212 (_obstack_begin_1): Likewise.
9213 (_obstack_newchunk): Likewise.
9214 (_obstack_allocated_p): Likewise.
9215 (obstack_free): Likewise.
9216 (_obstack_memory_used): Likewise.
9217 * misc/getttyent.c (getttynam): Likewise.
9218 (getttyent): Likewise.
9219 (skip): Likewise.
9220 (value): Likewise.
9221 * misc/getusershell.c (initshells): Likewise.
9222 * misc/syslog.c (__vsyslog_chk): Likewise.
9223 * misc/ttyslot.c (ttyslot): Likewise.
9224 * nis/nis_hash.c (__nis_hash): Likewise.
9225 * posix/fnmatch_loop.c (FCT): Likewise.
9226 * posix/getconf.c (print_all): Likewise.
9227 (main): Likewise.
9228 * posix/getopt.c (exchange): Likewise.
9229 * posix/glob.c (globfree): Likewise.
9230 (prefix_array): Likewise.
9231 (__glob_pattern_type): Likewise.
9232 * resolv/arpa/nameser.h (NS_GET16): Likewise.
9233 (NS_GET32): Likewise.
9234 (NS_PUT16): Likewise.
9235 (NS_PUT32): Likewise.
9236 * resolv/gethnamaddr.c (getanswer): Likewise.
9237 (gethostbyname2): Likewise.
9238 (gethostbyaddr): Likewise.
9239 (_gethtent): Likewise.
9240 (_gethtbyname2): Likewise.
9241 (_gethtbyaddr): Likewise.
9242 * resolv/ns_print.c (dst_s_get_int16): Likewise.
9243 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
9244 * resolv/res_init.c (__res_vinit): Likewise.
9245 (net_mask): Likewise.
9246 * resolv/res_mkquery.c (outchar): Likewise.
9247 (PRINT): Likewise.
9248 * stdio-common/printf_fp.c (outchar): Likewise.
9249 (PRINT): Likewise.
9250 * stdio-common/printf_fphex.c (outchar): Likewise.
9251 (PRINT): Likewise.
9252 * stdio-common/printf_size.c (outchar): Likewise.
9253 (PRINT): Likewise.
9254 * stdio-common/test_rdwr.c (main): Likewise.
9255 * stdio-common/tfformat.c (matches): Likewise.
9256 * stdio-common/vfprintf.c (outchar): Likewise.
9257 (printf_unknown): Likewise.
9258 (buffered_vfprintf): Likewise.
9259 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9260 * stdio-common/xbug.c (AppendToBuffer): Likewise.
9261 (ReadFile): Likewise.
9262 * stdlib/qsort.c (SWAP): Likewise.
9263 (_quicksort): Likewise.
9264 * stdlib/setenv.c (__add_to_environ): Likewise.
9265 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9266 * stdlib/strtol_l.c (__strtol_l): Likewise.
9267 * stdlib/tst-strtod.c (main): Likewise.
9268 * stdlib/tst-strtol.c (main): Likewise.
9269 * stdlib/tst-strtoll.c (main): Likewise.
9270 * string/bits/string2.h (__strcmp_cc): Likewise.
9271 (__strcmp_cg): Likewise.
9272 (__strcspn_c1): Likewise.
9273 (__strcspn_c2): Likewise.
9274 (__strcspn_c3): Likewise.
9275 (__strspn_c1): Likewise.
9276 (__strspn_c2): Likewise.
9277 (__strspn_c3): Likewise.
9278 (__strsep_1c): Likewise.
9279 (__strsep_2c): Likewise.
9280 (__strsep_3c): Likewise.
9281 * string/memccpy.c (__memccpy): Likewise.
9282 * string/stpcpy.c (__stpcpy): Likewise.
9283 * string/strcmp.c (strcmp): Likewise.
9284 * string/strrchr.c (strrchr): Likewise.
9285 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
9286 Likewise.
9287 * sysdeps/mach/hurd/getcwd.c
9288 (_hurd_canonicalize_directory_name_internal): Likewise.
9289 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
9290 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
9291 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
9292 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
9293 Likewise, in both definitions.
9294 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
9295 definitions.
9296 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
9297 64] (__bswap_64): Likewise.
9298 * time/test_time.c (main): Likewise.
9299 * time/tzfile.c (__tzfile_read): Likewise.
9300 (__tzfile_compute): Likewise.
9301 * time/tzset.c (__tzset_parse_tz): Likewise.
9302 (tzset_internal): Likewise.
9303 (compute_change): Likewise.
9304 * wcsmbs/wcscat.c (__wcscat): Likewise.
9305 * wcsmbs/wcschr.c (wcschr): Likewise.
9306 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
9307 * wcsmbs/wcscspn.c (wcscspn): Likewise.
9308 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
9309 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
9310 * wcsmbs/wcsspn.c (wcsspn): Likewise.
9311 * wcsmbs/wcsstr.c (wcsstr): Likewise.
9312 * wcsmbs/wmemchr.c (wmemchr): Likewise.
9313 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9314 * wcsmbs/wmemset.c (wmemset): Likewise.
9315
9e54314b
JM
93162013-06-06 Joseph Myers <joseph@codesourcery.com>
9317
9318 * scripts/config.guess: Update to version 2013-05-16.
9319 * scripts/config.sub: Update to version 2013-04-24.
9320 * scripts/install-sh: Update to version 2011-11-20.07.
9321 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
9322 * scripts/move-if-change: Update to version 2012-01-06 07:23.
9323
350635a5
OB
93242013-06-06 Ondřej Bílka <neleai@seznam.cz>
9325
9326 * debug/fgetws_u_chk.c: Fix leading whitespaces.
9327 * elf/sln.c: Likewise.
9328 * hurd/hurd/ioctl.h: Likewise.
9329 * hurd/hurdmalloc.c: Likewise.
9330 * hurd/xattr.c: Likewise.
9331 * include/shlib-compat.h: Likewise.
9332 * inet/ruserpass.c: Likewise.
9333 * libio/iofgets_u.c: Likewise.
9334 * libio/iofgetws_u.c: Likewise.
9335 * locale/programs/ld-identification.c: Likewise.
9336 * locale/programs/ld-time.c: Likewise.
9337 * mach/msg-destroy.c: Likewise.
9338 * nss/nss_files/files-netgrp.c: Likewise.
9339 * resolv/res_data.c: Likewise.
9340 * soft-fp/op-1.h: Likewise.
9341 * soft-fp/op-2.h: Likewise.
9342 * soft-fp/op-4.h: Likewise.
9343 * soft-fp/op-common.h: Likewise.
9344 * stdio-common/printf_fphex.c: Likewise.
9345 * stdlib/strtod_l.c: Likewise.
9346 * sunrpc/rpc/clnt.h: Likewise.
9347 * sysdeps/generic/framestate.c: Likewise.
9348 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9349 * sysdeps/i386/bsd-setjmp.S: Likewise.
9350 * sysdeps/i386/__longjmp.S: Likewise.
9351 * sysdeps/i386/setjmp.S: Likewise.
9352 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9353 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9354 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9355 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9356 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9357 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9358 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9359 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9360 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9361 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9362 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9363 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9364 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9365 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9366 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9367 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9368 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9369 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
9370 * sysdeps/ieee754/support.c: Likewise.
9371 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9372 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
9373 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
9374 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
9375 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
9376 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
9377 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
9378 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
9379 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
9380 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
9381 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
9382 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
9383 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
9384 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
9385 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
9386 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
9387 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9389
44a988af
OB
93902013-06-05 Ondřej Bílka <neleai@seznam.cz>
9391
25506f09 9392 * posix/transbug.c: Remove executable mode.
44a988af 9393
9c84384c
JM
93942013-06-05 Joseph Myers <joseph@codesourcery.com>
9395
9396 * crypt/speeds.c: Remove trailing whitespace.
9397 * dlfcn/default.c: Likewise.
9398 * elf/ifuncdep2.c: Likewise.
9399 * elf/ifuncmain1.c: Likewise.
9400 * elf/ifuncmain1vis.c: Likewise.
9401 * elf/testobj.h: Likewise.
9402 * elf/tst-stackguard1.c: Likewise.
9403 * gmon/sys/gmon.h: Likewise.
9404 * hurd/hurdmsg.c: Likewise.
9405 * hurd/new-fd.c: Likewise.
9406 * hurd/ports-get.c: Likewise.
9407 * iconvdata/ibm1008_420.c: Likewise.
9408 * inet/tst-getni1.c: Likewise.
9409 * inet/tst-getni2.c: Likewise.
9410 * libio/ioungetc.c: Likewise.
9411 * libio/wfiledoalloc.c: Likewise.
9412 * manual/libm-err-tab.pl: Likewise.
9413 * math/w_dremf.c: Likewise.
9414 * misc/ftruncate.c: Likewise.
9415 * posix/bug-glob2.c: Likewise.
9416 * posix/tst-pcre.c: Likewise.
9417 * posix/wait4.c: Likewise.
9418 * resolv/README: Likewise.
9419 * resolv/res_debug.h: Likewise.
9420 * resolv/tst-inet_ntop.c: Likewise.
9421 * setjmp/bug269-setjmp.c: Likewise.
9422 * soft-fp/extended.h: Likewise.
9423 * soft-fp/op-1.h: Likewise.
9424 * soft-fp/op-2.h: Likewise.
9425 * soft-fp/op-4.h: Likewise.
9426 * soft-fp/op-8.h: Likewise.
9427 * soft-fp/testit.c: Likewise.
9428 * stdio-common/bug16.c: Likewise.
9429 * stdlib/random.c: Likewise.
9430 * sunrpc/rpcsvc/rquota.x: Likewise.
9431 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
9432 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9433 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9434 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9435 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9436 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9437 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9438 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9439 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9440 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9441 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9442 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9443 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9444 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9445 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9446 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9447 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9448 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9449 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9450 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9451 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9452 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9453 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9454 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9455 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9456 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9457 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9458 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9459 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9460 * sysdeps/ieee754/s_lib_version.c: Likewise.
9461 * sysdeps/mach/hurd/check_fds.c: Likewise.
9462 * sysdeps/mach/hurd/getsockname.c: Likewise.
9463 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
9464 * sysdeps/mach/hurd/recvfrom.c: Likewise.
9465 * sysdeps/powerpc/bits/link.h: Likewise.
9466 * sysdeps/powerpc/dl-procinfo.c: Likewise.
9467 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
9468 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
9469 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
9470 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9471 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9472 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
9473 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9474 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
9475 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9476 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9477 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9478 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
9479 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9480 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9481 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9482 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9483 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9484 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9485 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9486 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9487 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
9488 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9489 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9490 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
9491 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9492 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9493 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9494 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9495 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9496 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9497 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9498 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9499 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9500 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
9501 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9502 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
9503 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9504 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9505 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
9506 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
9507 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
9508 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
9509 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
9510 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9511 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
9512 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
9513 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9514 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
9515 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
9516 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9517 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9518 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9519 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9520 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
9521 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9522 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9523 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9524 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
9525 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9526 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
9527 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
9528 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
9529 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9530 * sysdeps/powerpc/sysdep.h: Likewise.
9531 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9532 * sysdeps/s390/s390-64/sub_n.S: Likewise.
9533 * sysdeps/sh/dl-trampoline.S: Likewise.
9534 * sysdeps/sh/memset.S: Likewise.
9535 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
9536 * sysdeps/sh/strlen.S: Likewise.
9537 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
9538 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
9539 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
9540 * sysdeps/sparc/sparc32/rem.S: Likewise.
9541 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
9542 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
9543 * sysdeps/sparc/sparc32/strchr.S: Likewise.
9544 * sysdeps/sparc/sparc32/udiv.S: Likewise.
9545 * sysdeps/sparc/sparc32/urem.S: Likewise.
9546 * sysdeps/sparc/sparc64/add_n.S: Likewise.
9547 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9548 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
9549 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
9550 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
9551 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
9552 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
9553 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
9554 * sysdeps/unix/bsd/times.c: Likewise.
9555 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
9556 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
9557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9560 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9561 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9562 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
9563 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
9564 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
9565 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
9566 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9567 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
9568 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9569 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9570 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
9571 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9572 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
9573 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
9574 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
9575 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
9576 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
9577 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9578 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
9579 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
9580 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9581 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
9582 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9583 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
9584 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
9585 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
9586 * sysdeps/x86_64/strcspn.S: Likewise.
9587
869378a5
RA
95882013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9589
9590 * locale/C-translit.h: Revert #include <stdint.h> because this is a
9591 generated file. Regenerate properly from gen-translit.pl.
9592 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
9593 locale/C-translit.h.
9594
840e2943
AS
95952013-06-05 Andreas Schwab <schwab@suse.de>
9596
9597 [BZ #15100]
9598 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
9599 week as 6 instead of -1.
9600 * time/tst-strptime.c (day_tests): Add test case.
9601
4c60cb0c
SP
96022013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9603
9604 * sysdeps/generic/math_private.h
9605 (libc_feholdexcept_setround_53bit): Replace with
9606 libc_feholdsetround_53bit.
9607 (libc_feupdateenv_53bit): Replace with
9608 libc_feresetround_53bit.
9609 (SET_RESTORE_ROUND_53BIT): Adjust.
9610
d180203e
SP
96112013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9612
96df079a
SP
9613 * string/test-strchrnul.c: Add copyright header.
9614
d180203e
SP
9615 * posix/tst-getaddrinfo4.c: Increase test timeout.
9616
8b0ccb2d
CD
96172013-06-03 Carlos O'Donell <carlos@redhat.com>
9618
9619 [BZ #15536]
9620 * math/libm-test.inc (MAX_EXP): Remove
9621 (MIN_EXP): Define.
9622 (ulp): Use MIN_EXP - MANT_DIG.
9623 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
9624
3b3c4d40
CD
96252013-05-31 Carlos O'Donell <carlos@redhat.com>
9626
9627 * po/be.po: Revert last change.
9628 * po/zh_CN.po: Likewise.
9629 * po/header.pot: Likewise.
9630
fab7ce3f
JM
96312013-05-31 Joseph Myers <joseph@codesourcery.com>
9632
9633 * Makefile ($(common-objpfx)linkobj/libc.so): Define
9634 link-libc-deps to empty as target-specific variable.
9635 * Makerules (link-libc-args): New variable.
9636 (libc-for-link): Likewise.
9637 (link-libc-deps): Likewise.
9638 (lib%.so): Depend on $(link-libc-deps). Link with
9639 $(link-libc-args).
9640 (build-module): Link with $(link-libc-args).
9641 (build-module-asneeded): Likewise.
9642 (build-module-helper-objlist): Filter out $(link-libc-deps) from
9643 list of objects.
9644 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
9645 target-specific variable.
9646 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
9647 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
9648 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
9649 libc.
9650 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
9651 libc and ld.so.
9652 ($(objpfx)libpcprofile.so): Likewise.
9653 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
9654 libc_nonshared.a.
9655 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
9656 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
9657 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
9658 $(link-libc-deps).
9659 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
9660 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
9661 * login/Makefile ($(objpfx)libutil.so): Likewise.
9662 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
9663 * math/Makefile ($(objpfx)libm.so): Likewise.
9664 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
9665 $(objpfx)libnsl.so): Define libc-for-link as target-specific
9666 variable instead of depending directly on libc.
9667 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
9668 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
9669 $(link-libc-deps).
9670 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
9671 libc.
9672 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
9673 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
9674 ($(objpfx)libanl.so): Likewise.
9675 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
9676 ld.so.
9677 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
9678 $(link-libc-deps).
9679 * sysdeps/i386/fpu/Makefile: Remove file.
9680 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
9681 ($(objpfx)libm.so): Remove dependency on ld.so.
9682
eca5920c
PF
96832013-05-30 Patsy Franklin <pfrankli@redhat.com>
9684
9685 [BZ # 15553]
9686 * nis/yp_xdr.c (XDRMAXNAME): Define.
9687 (XDRMAXRECORD): Define.
9688 (xdr_domainname): Use XDRMAXNAME.
9689 (xdr_mapname): Likewise.
9690 (xdr_peername): Likewise.
9691 (xdr_keydat): Use XDRMAXRECORD.
9692 (xdr_valdat): Likewise.
9693
96942013-05-30 Jeff Law <law@redhat.com>
96945714
JL
9695
9696 [BZ #14256]
9697 * manual/errno.texi (ESTALE): Update to account for more than
9698 just NFS file systems.
9699 * sysdeps/gnu/errlist.c: Regenerated.
9700
b9375348
SP
97012013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9702
9703 [BZ #15465]
9704 * elf/Makefile (tests): Add tst-null-argv.
9705 (modules-names): Add tst-null-argv-lib.
9706 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
9707 (tst-null-argv-ENV): Set environment for tst-null-argv.
9708 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
9709 (RTLD_PROGNAME): New macro.
9710 * elf/tst-null-argv.c: New test case.
9711 * elf/tst-null-argv-lib.c: Library for test case.
9712 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
9713 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
9714 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
9715 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
9716 * elf/dl-init.c (call_init): Likewise.
9717 (_dl_init): Likewise.
9718 * elf/dl-load.c (print_search_path): Likewise.
9719 (_dl_map_object): Likewise.
9720 * elf/dl-lookup.c (do_lookup_x): Likewise.
9721 (add_dependency): Likewise.
9722 (_dl_lookup_symbol_x): Likewise.
9723 (_dl_debug_bindings): Likewise.
9724 * elf/dl-open.c (_dl_show_scope): Likewise.
9725 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9726 * elf/dl-version.c (match_symbol): Likewise.
9727 (_dl_check_map_versions): Likewise.
9728 * elf/rtld.c (dl_main): Likewise.
9729 (print_unresolved): Use RTLD_PROGNAME.
9730 (print_missing_version): Likewise.
9731 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
9732 (elf_machine_rela): Likewise.
9733 * sysdeps/powerpc/powerpc32/dl-machine.c
9734 (__process_machine_rela): Likewise.
9735 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9736 Likewise.
9737 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9738 Likewise.
9739 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9740 Likewise.
9741 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9742 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
9743 Likewise.
9744 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
9745 Likewise.
9746 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9747
8a9f20c8
CD
97482013-05-28 Carlos O'Donell <carlos@redhat.com>
9749
9750 * po/be.po: Add descriptive title.
9751 * po/zh_CN.po: Likewise.
9752 * po/header.pot: Likewise.
9753
0e60d68e
MF
97542013-05-28 Mike Frysinger <vapier@gentoo.org>
9755
9756 * locale/programs/locarchive.c (create_archive): Inlucde fname in
9757 error message.
9758 (enlarge_archive): Likewise.
9759
56b672e9
BN
97602013-05-28 Ben North <ben@redfrontdoor.org>
9761
9762 * manual/arith.texi (frexp): It is the magnitude of the return
9763 value which lies in [0.5, 1), not the return value itself.
9764
5e056687
AZ
97652013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9766
9767 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9768
2b66ef5d
TS
97692013-05-26 Thomas Schwinge <thomas@codesourcery.com>
9770
528c2405
TS
9771 * stdio-common/bug26.c (main): Correct fscanf template.
9772
07b4c13d
TS
9773 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
9774 declare _dl_skip_args.
9775
ec9dd97c
TS
9776 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
9777 Don't declare.
9778
2b66ef5d
TS
9779 * manual/platform.texi: Add missing @end deftypefun.
9780
4f8dfe27
JM
97812013-05-24 Joseph Myers <joseph@codesourcery.com>
9782
0323d086
JM
9783 [BZ #15529]
9784 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
9785 bit of mantissa of 2^16382.
9786 * math/libm-test.inc (hypot_test_data): Add more tests.
9787
dd4259b9
JM
9788 * math/libm-test.inc: Add drem and pow10 to list of tested
9789 functions.
9790 (pow10_test): New function.
9791 (drem_test): Likewise.
9792 (drem_test_tonearest): Likewise.
9793 (drem_test_towardzero): Likewise.
9794 (drem_test_downward): Likewise.
9795 (drem_test_upward): Likewise.
9796 (main): Call the new functions.
9797
4f8dfe27
JM
9798 * math/libm-test.inc (finite_test_data): Remove.
9799 (finite_test): Run tests from isfinite_test_data.
9800 (gamma_test_data): Remove.
9801 (gamma_test): Run tests from lgamma_test_data.
9802 * sysdeps/i386/fpu/libm-test-ulps: Update.
9803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9804
d116b7c4
AZ
98052013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9806
9807 * manual/platform.texi: Add PowerPC PPR function set documentation.
9808 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
9809 implementation.
9810
e96e3767
CD
98112013-05-24 Carlos O'Donell <carlos@redhat.com>
9812
9813 * math/libm-test.inc (MAX_EXP): Define.
9814 (ULPDIFF): Define.
9815 (ulp): New function.
9816 (check_float_internal): Use ULPDIFF.
9817 (cpow_test): Disable failing test.
9818 (check_ulp): Test ulp() implemetnation.
9819 (main): Call check_ulp before starting tests.
9820
b679a606
JM
98212013-05-24 Joseph Myers <joseph@codesourcery.com>
9822
e8bdba36
JM
9823 * math/gen-libm-test.pl (generate_testfile): Do not handle
9824 START_DATA and END_DATA.
9825 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
9826 END_DATA.
9827 (acos_tonearest_test_data): Likewise.
9828 (acos_towardzero_test_data): Likewise.
9829 (acos_downward_test_data): Likewise.
9830 (acos_upward_test_data): Likewise.
9831 (acosh_test_data): Likewise.
9832 (asin_test_data): Likewise.
9833 (asin_tonearest_test_data): Likewise.
9834 (asin_towardzero_test_data): Likewise.
9835 (asin_downward_test_data): Likewise.
9836 (asin_upward_test_data): Likewise.
9837 (asinh_test_data): Likewise.
9838 (atan_test_data): Likewise.
9839 (atanh_test_data): Likewise.
9840 (atan2_test_data): Likewise.
9841 (cabs_test_data): Likewise.
9842 (cacos_test_data): Likewise.
9843 (cacosh_test_data): Likewise.
9844 (carg_test_data): Likewise.
9845 (casin_test_data): Likewise.
9846 (casinh_test_data): Likewise.
9847 (catan_test_data): Likewise.
9848 (catanh_test_data): Likewise.
9849 (cbrt_test_data): Likewise.
9850 (ccos_test_data): Likewise.
9851 (ccosh_test_data): Likewise.
9852 (ceil_test_data): Likewise.
9853 (cexp_test_data): Likewise.
9854 (cimag_test_data): Likewise.
9855 (clog_test_data): Likewise.
9856 (clog10_test_data): Likewise.
9857 (conj_test_data): Likewise.
9858 (copysign_test_data): Likewise.
9859 (cos_test_data): Likewise.
9860 (cos_tonearest_test_data): Likewise.
9861 (cos_towardzero_test_data): Likewise.
9862 (cos_downward_test_data): Likewise.
9863 (cos_upward_test_data): Likewise.
9864 (cosh_test_data): Likewise.
9865 (cosh_tonearest_test_data): Likewise.
9866 (cosh_towardzero_test_data): Likewise.
9867 (cosh_downward_test_data): Likewise.
9868 (cosh_upward_test_data): Likewise.
9869 (cpow_test_data): Likewise.
9870 (cproj_test_data): Likewise.
9871 (creal_test_data): Likewise.
9872 (csin_test_data): Likewise.
9873 (csinh_test_data): Likewise.
9874 (csqrt_test_data): Likewise.
9875 (ctan_test_data): Likewise.
9876 (ctan_tonearest_test_data): Likewise.
9877 (ctan_towardzero_test_data): Likewise.
9878 (ctan_downward_test_data): Likewise.
9879 (ctan_upward_test_data): Likewise.
9880 (ctanh_test_data): Likewise.
9881 (ctanh_tonearest_test_data): Likewise.
9882 (ctanh_towardzero_test_data): Likewise.
9883 (ctanh_downward_test_data): Likewise.
9884 (ctanh_upward_test_data): Likewise.
9885 (erf_test_data): Likewise.
9886 (erfc_test_data): Likewise.
9887 (exp_test_data): Likewise.
9888 (exp_tonearest_test_data): Likewise.
9889 (exp_towardzero_test_data): Likewise.
9890 (exp_downward_test_data): Likewise.
9891 (exp_upward_test_data): Likewise.
9892 (exp10_test_data): Likewise.
9893 (exp2_test_data): Likewise.
9894 (expm1_test_data): Likewise.
9895 (fabs_test_data): Likewise.
9896 (fdim_test_data): Likewise.
9897 (finite_test_data): Likewise.
9898 (floor_test_data): Likewise.
9899 (fma_test_data): Likewise.
9900 (fma_towardzero_test_data): Likewise.
9901 (fma_downward_test_data): Likewise.
9902 (fma_upward_test_data): Likewise.
9903 (fmax_test_data): Likewise.
9904 (fmin_test_data): Likewise.
9905 (fmod_test_data): Likewise.
9906 (fpclassify_test_data): Likewise.
9907 (frexp_test_data): Likewise.
9908 (gamma_test_data): Likewise.
9909 (hypot_test_data): Likewise.
9910 (ilogb_test_data): Likewise.
9911 (isfinite_test_data): Likewise.
9912 (isgreater_test_data): Likewise.
9913 (isgreaterequal_test_data): Likewise.
9914 (isinf_test_data): Likewise.
9915 (isless_test_data): Likewise.
9916 (islessequal_test_data): Likewise.
9917 (islessgreater_test_data): Likewise.
9918 (isnan_test_data): Likewise.
9919 (isnormal_test_data): Likewise.
9920 (issignaling_test_data): Likewise.
9921 (isunordered_test_data): Likewise.
9922 (j0_test_data): Likewise.
9923 (j1_test_data): Likewise.
9924 (jn_test_data): Likewise.
9925 (ldexp_test_data): Likewise.
9926 (lgamma_test_data): Likewise.
9927 (lrint_test_data): Likewise.
9928 (lrint_tonearest_test_data): Likewise.
9929 (lrint_towardzero_test_data): Likewise.
9930 (lrint_downward_test_data): Likewise.
9931 (lrint_upward_test_data): Likewise.
9932 (llrint_test_data): Likewise.
9933 (llrint_tonearest_test_data): Likewise.
9934 (llrint_towardzero_test_data): Likewise.
9935 (llrint_downward_test_data): Likewise.
9936 (llrint_upward_test_data): Likewise.
9937 (log_test_data): Likewise.
9938 (log10_test_data): Likewise.
9939 (log1p_test_data): Likewise.
9940 (log2_test_data): Likewise.
9941 (logb_test_data): Likewise.
9942 (logb_downward_test_data): Likewise.
9943 (lround_test_data): Likewise.
9944 (llround_test_data): Likewise.
9945 (modf_test_data): Likewise.
9946 (nearbyint_test_data): Likewise.
9947 (nextafter_test_data): Likewise.
9948 (nexttoward_test_data): Likewise.
9949 (pow_test_data): Likewise.
9950 (pow_tonearest_test_data): Likewise.
9951 (pow_towardzero_test_data): Likewise.
9952 (pow_downward_test_data): Likewise.
9953 (pow_upward_test_data): Likewise.
9954 (remainder_test_data): Likewise.
9955 (remainder_tonearest_test_data): Likewise.
9956 (remainder_towardzero_test_data): Likewise.
9957 (remainder_downward_test_data): Likewise.
9958 (remainder_upward_test_data): Likewise.
9959 (remquo_test_data): Likewise.
9960 (rint_test_data): Likewise.
9961 (rint_tonearest_test_data): Likewise.
9962 (rint_towardzero_test_data): Likewise.
9963 (rint_downward_test_data): Likewise.
9964 (rint_upward_test_data): Likewise.
9965 (round_test_data): Likewise.
9966 (scalb_test_data): Likewise.
9967 (scalbn_test_data): Likewise.
9968 (scalbln_test_data): Likewise.
9969 (signbit_test_data): Likewise.
9970 (sin_test_data): Likewise.
9971 (sin_tonearest_test_data): Likewise.
9972 (sin_towardzero_test_data): Likewise.
9973 (sin_downward_test_data): Likewise.
9974 (sin_upward_test_data): Likewise.
9975 (sincos_test_data): Likewise.
9976 (sinh_test_data): Likewise.
9977 (sinh_tonearest_test_data): Likewise.
9978 (sinh_towardzero_test_data): Likewise.
9979 (sinh_downward_test_data): Likewise.
9980 (sinh_upward_test_data): Likewise.
9981 (sqrt_test_data): Likewise.
9982 (tan_test_data): Likewise.
9983 (tan_tonearest_test_data): Likewise.
9984 (tan_towardzero_test_data): Likewise.
9985 (tan_downward_test_data): Likewise.
9986 (tan_upward_test_data): Likewise.
9987 (tanh_test_data): Likewise.
9988 (tgamma_test_data): Likewise.
9989 (trunc_test_data): Likewise.
9990 (y0_test_data): Likewise.
9991 (y1_test_data): Likewise.
9992 (yn_test_data): Likewise.
9993 (significand_test_data): Likewise.
9994
b679a606
JM
9995 * math/gen-libm-test.pl (@functions): Remove variable.
9996 (generate_testfile): Don't handle START and END lines.
9997 * math/libm-test.inc (START): New macro.
9998 (END): Likewise.
9999 (END_COMPLEX): Likewise.
10000 (acos_test): Use END macro without arguments.
10001 (acos_test_tonearest): Likewise.
10002 (acos_test_towardzero): Likewise.
10003 (acos_test_downward): Likewise.
10004 (acos_test_upward): Likewise.
10005 (acosh_test): Likewise.
10006 (asin_test): Likewise.
10007 (asin_test_tonearest): Likewise.
10008 (asin_test_towardzero): Likewise.
10009 (asin_test_downward): Likewise.
10010 (asin_test_upward): Likewise.
10011 (asinh_test): Likewise.
10012 (atan_test): Likewise.
10013 (atanh_test): Likewise.
10014 (atan2_test): Likewise.
10015 (cabs_test): Likewise.
10016 (cacos_test): Use END_COMPLEX macro without arguments.
10017 (cacosh_test): Likewise.
10018 (carg_test): Use END macro without arguments.
10019 (casin_test): Use END_COMPLEX macro without arguments.
10020 (casinh_test): Likewise.
10021 (catan_test): Likewise.
10022 (catanh_test): Likewise.
10023 (cbrt_test): Use END macro without arguments.
10024 (ccos_test): Use END_COMPLEX macro without arguments.
10025 (ccosh_test): Likewise.
10026 (ceil_test): Use END macro without arguments.
10027 (cexp_test): Use END_COMPLEX macro without arguments.
10028 (cimag_test): Use END macro without arguments.
10029 (clog_test): Use END_COMPLEX macro without arguments.
10030 (clog10_test): Likewise.
10031 (conj_test): Likewise.
10032 (copysign_test): Use END macro without arguments.
10033 (cos_test): Likewise.
10034 (cos_test_tonearest): Likewise.
10035 (cos_test_towardzero): Likewise.
10036 (cos_test_downward): Likewise.
10037 (cos_test_upward): Likewise.
10038 (cosh_test): Likewise.
10039 (cosh_test_tonearest): Likewise.
10040 (cosh_test_towardzero): Likewise.
10041 (cosh_test_downward): Likewise.
10042 (cosh_test_upward): Likewise.
10043 (cpow_test): Use END_COMPLEX macro without arguments.
10044 (cproj_test): Likewise.
10045 (creal_test): Use END macro without arguments.
10046 (csin_test): Use END_COMPLEX macro without arguments.
10047 (csinh_test): Likewise.
10048 (csqrt_test): Likewise.
10049 (ctan_test): Likewise.
10050 (ctan_test_tonearest): Likewise.
10051 (ctan_test_towardzero): Likewise.
10052 (ctan_test_downward): Likewise.
10053 (ctan_test_upward): Likewise.
10054 (ctanh_test): Likewise.
10055 (ctanh_test_tonearest): Likewise.
10056 (ctanh_test_towardzero): Likewise.
10057 (ctanh_test_downward): Likewise.
10058 (ctanh_test_upward): Likewise.
10059 (erf_test): Use END macro without arguments.
10060 (erfc_test): Likewise.
10061 (exp_test): Likewise.
10062 (exp_test_tonearest): Likewise.
10063 (exp_test_towardzero): Likewise.
10064 (exp_test_downward): Likewise.
10065 (exp_test_upward): Likewise.
10066 (exp10_test): Likewise.
10067 (exp2_test): Likewise.
10068 (expm1_test): Likewise.
10069 (fabs_test): Likewise.
10070 (fdim_test): Likewise.
10071 (finite_test): Likewise.
10072 (floor_test): Likewise.
10073 (fma_test): Likewise.
10074 (fma_test_towardzero): Likewise.
10075 (fma_test_downward): Likewise.
10076 (fma_test_upward): Likewise.
10077 (fmax_test): Likewise.
10078 (fmin_test): Likewise.
10079 (fmod_test): Likewise.
10080 (fpclassify_test): Likewise.
10081 (frexp_test): Likewise.
10082 (gamma_test): Likewise.
10083 (hypot_test): Likewise.
10084 (ilogb_test): Likewise.
10085 (isfinite_test): Likewise.
10086 (isgreater_test): Likewise.
10087 (isgreaterequal_test): Likewise.
10088 (isinf_test): Likewise.
10089 (isless_test): Likewise.
10090 (islessequal_test): Likewise.
10091 (islessgreater_test): Likewise.
10092 (isnan_test): Likewise.
10093 (isnormal_test): Likewise.
10094 (issignaling_test): Likewise.
10095 (isunordered_test): Likewise.
10096 (j0_test): Likewise.
10097 (j1_test): Likewise.
10098 (jn_test): Likewise.
10099 (ldexp_test): Likewise.
10100 (lgamma_test): Likewise.
10101 (lrint_test): Likewise.
10102 (lrint_test_tonearest): Likewise.
10103 (lrint_test_towardzero): Likewise.
10104 (lrint_test_downward): Likewise.
10105 (lrint_test_upward): Likewise.
10106 (llrint_test): Likewise.
10107 (llrint_test_tonearest): Likewise.
10108 (llrint_test_towardzero): Likewise.
10109 (llrint_test_downward): Likewise.
10110 (llrint_test_upward): Likewise.
10111 (log_test): Likewise.
10112 (log10_test): Likewise.
10113 (log1p_test): Likewise.
10114 (log2_test): Likewise.
10115 (logb_test): Likewise.
10116 (logb_test_downward): Likewise.
10117 (lround_test): Likewise.
10118 (llround_test): Likewise.
10119 (modf_test): Likewise.
10120 (nearbyint_test): Likewise.
10121 (nextafter_test): Likewise.
10122 (nexttoward_test): Likewise.
10123 (pow_test): Likewise.
10124 (pow_test_tonearest): Likewise.
10125 (pow_test_towardzero): Likewise.
10126 (pow_test_downward): Likewise.
10127 (pow_test_upward): Likewise.
10128 (remainder_test): Likewise.
10129 (remainder_test_tonearest): Likewise.
10130 (remainder_test_towardzero): Likewise.
10131 (remainder_test_downward): Likewise.
10132 (remainder_test_upward): Likewise.
10133 (remquo_test): Likewise.
10134 (rint_test): Likewise.
10135 (rint_test_tonearest): Likewise.
10136 (rint_test_towardzero): Likewise.
10137 (rint_test_downward): Likewise.
10138 (rint_test_upward): Likewise.
10139 (round_test): Likewise.
10140 (scalb_test): Likewise.
10141 (scalbn_test): Likewise.
10142 (scalbln_test): Likewise.
10143 (signbit_test): Likewise.
10144 (sin_test): Likewise.
10145 (sin_test_tonearest): Likewise.
10146 (sin_test_towardzero): Likewise.
10147 (sin_test_downward): Likewise.
10148 (sin_test_upward): Likewise.
10149 (sincos_test): Likewise.
10150 (sinh_test): Likewise.
10151 (sinh_test_tonearest): Likewise.
10152 (sinh_test_towardzero): Likewise.
10153 (sinh_test_downward): Likewise.
10154 (sinh_test_upward): Likewise.
10155 (sqrt_test): Likewise.
10156 (tan_test): Likewise.
10157 (tan_test_tonearest): Likewise.
10158 (tan_test_towardzero): Likewise.
10159 (tan_test_downward): Likewise.
10160 (tan_test_upward): Likewise.
10161 (tanh_test): Likewise.
10162 (tgamma_test): Likewise.
10163 (trunc_test): Likewise.
10164 (y0_test): Likewise.
10165 (y1_test): Likewise.
10166 (yn_test): Likewise.
10167 (significand_test): Likewise.
10168
bae143d2
OB
101692013-05-24 Ondřej Bílka <neleai@seznam.cz>
10170
10171 [BZ #15381]
10172 * libio/genops.c (_IO_no_init): Initialize wide struct info.
10173
9323d39b
EM
101742013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
10175
d4ea44a0 10176 [BZ #14894]
9323d39b
EM
10177 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
10178 __ppc_mdoio and __ppc_mdoom.
10179 * manual/platform.texi: Document new functions __ppc_yield,
10180 __ppc_mdoio and __ppc_mdoom.
10181
13e23af7
CD
101822013-05-22 Carlos O'Donell <carlos@redhat.com>
10183
10184 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
10185 (main): Mention "tls" pseudo-hwcap is legacy.
10186 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
10187
351fe550
JM
101882013-05-22 Joseph Myers <joseph@codesourcery.com>
10189
10190 * math/gen-libm-test.pl (parse_args): Output only string of
10191 arguments as text for test name, not full call or descriptions of
10192 tests for extra outputs.
10193 (generate_testfile): Do not pass function name to parse_args.
10194 Generate this_func variable from START.
10195 * math/libm-test.inc (struct test_f_f_data): Rename test_name
10196 field to arg_str.
10197 (struct test_ff_f_data): Likewise.
10198 (test_ff_f_data_nexttoward): Likewise.
10199 (struct test_fi_f_data): Likewise.
10200 (struct test_fl_f_data): Likewise.
10201 (struct test_if_f_data): Likewise.
10202 (struct test_fff_f_data): Likewise.
10203 (struct test_c_f_data): Likewise.
10204 (struct test_f_f1_data): Likewise. Remove field extra_name.
10205 (struct test_fF_f1_data): Likewise.
10206 (struct test_ffI_f1_data): Likewise.
10207 (struct test_c_c_data): Rename test_name field to arg_str.
10208 (struct test_cc_c_data): Likewise.
10209 (struct test_f_i_data): Likewise.
10210 (struct test_ff_i_data): Likewise.
10211 (struct test_f_l_data): Likewise.
10212 (struct test_f_L_data): Likewise.
10213 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
10214 and extra2_name.
10215 (COMMON_TEST_SETUP): New macro.
10216 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
10217 (COMMON_TEST_CLEANUP): Likewise.
10218 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
10219 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
10220 macros.
10221 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
10222 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
10223 macros.
10224 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
10225 (RUN_TEST_fff_f): Take argument string. Call new setup and
10226 cleanup macros.
10227 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
10228 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
10229 macros.
10230 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
10231 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
10232 macros.
10233 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10234 (RUN_TEST_fF_f1): Take argument string. Call new setup and
10235 cleanup macros.
10236 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10237 (RUN_TEST_fI_f1): Take argument string. Call new setup and
10238 cleanup macros.
10239 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10240 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
10241 cleanup macros.
10242 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10243 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
10244 macros.
10245 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
10246 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
10247 macros.
10248 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
10249 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
10250 macros.
10251 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
10252 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
10253 cleanup macros.
10254 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
10255 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
10256 cleanup macros.
10257 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
10258 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
10259 macros.
10260 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
10261 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
10262 cleanup macros.
10263 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
10264 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
10265 macros.
10266 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
10267 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
10268 macros.
10269 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
10270 (RUN_TEST_fFF_11): Take argument string. Call new setup and
10271 cleanup macros.
10272 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
10273
85118d4d
EBM
102742013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10275
10276 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
10277 to _sifields.sigfault.
10278 (si_addr_lsb): Define new macro.
10279 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10280 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10281 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
10282
7a44c18f
CD
102832013-05-03 Carlos O'Donell <carlos at redhat.com>
10284
10285 [BZ #15441]
10286 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
10287 returns -1.
10288 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
10289 null return -1.
10290 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
10291 loading the domain.
10292
b50a7181
JM
102932013-05-22 Joseph Myers <joseph@codesourcery.com>
10294
10295 * math/gen-libm-test.pl (parse_args): Do not include expected
10296 result in test name.
10297 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
10298 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10299 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10300 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10301 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10303
051063c8
SP
103042013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10305
3ce9e010
SP
10306 * benchtests/Makefile: Sort function entries.
10307
051063c8
SP
10308 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
10309 tanh, asinh, acosh, atanh.
10310 * benchtests/acos-inputs: New file.
10311 * benchtests/acosh-inputs: New file.
10312 * benchtests/asin-inputs: New file.
10313 * benchtests/asinh-inputs: New file.
10314 * benchtests/atanh-inputs: New file.
10315 * benchtests/cosh-inputs: New file.
10316 * benchtests/log-inputs: New file.
10317 * benchtests/sinh-inputs: New file.
10318 * benchtests/tanh-inputs: New file.
10319
47c22455
DL
103202013-05-21 Dmitry V. Levin <ldv@altlinux.org>
10321
10322 [BZ #15339]
10323 * posix/tst-getaddrinfo4.c: New test.
10324 * posix/Makefile (tests): Add it.
10325
3d04f5db
SP
103262013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10327
10328 [BZ #15339]
10329 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
10330 when no services were used.
10331 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
10332 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
10333
d5dd6189
AS
103342013-05-21 Andreas Schwab <schwab@suse.de>
10335
10336 [BZ #15014]
10337 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
10338 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
10339 successful.
10340 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
10341 redundant variable declarations and reallocation of buffer when
10342 parsing as IPv6 address. Always set NSS status when called from
10343 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
10344 buffer too small. Correct computation of needed size.
10345 * nss/Makefile (tests): Add test-digits-dots.
10346 * nss/test-digits-dots.c: New test.
10347
fef94eab
SP
103482013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10349
10350 * benchtests/Makefile: Remove instructions for adding
10351 benchmark tests.
10352 * benchtests/README: New file to explain how to execute and
10353 enhance the benchmark tests.
10354
e39adf43
AS
103552013-05-21 Andreas Schwab <schwab@suse.de>
10356
10357 [BZ #15493]
10358 * setjmp/Makefile (tests): Add tst-sigsetjmp.
10359 * setjmp/tst-sigsetjmp.c: New test.
10360
b2b671b6
OB
103612013-05-20 Ondřej Bílka <neleai@seznam.cz>
10362
10363 * sysdeps/x86_64/memset.S (memset): New implementation.
10364 (__bzero): Likewise.
10365 (__memset_tail): New function.
10366
2d48b41c
OB
103672013-05-20 Ondřej Bílka <neleai@seznam.cz>
10368
10369 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
10370 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
10371 __memcpy_sse2_unaligned ifunc selection.
10372 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10373 Add memcpy-sse2-unaligned.S.
10374 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10375 Add: __memcpy_sse2_unaligned.
10376
f16cc3eb
JM
103772013-05-19 Joseph Myers <joseph@codesourcery.com>
10378
3e694268
JM
10379 [BZ #15490]
10380 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10381 math_force_eval before restoring floating-point envrionment.
10382 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
10383 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
10384 Likewise.
10385 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
10386 <math_private.h>.
10387 (__nearbyintl): Use math_force_eval before restoring
10388 floating-point environment.
10389 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
10390
db62a907
JM
10391 * math/gen-libm-test.pl (special_functions): Remove.
10392 (parse_args): Don't handle TEST_extra. Handle functions with no
10393 return value.
10394 * math/libm-test.inc (struct test_sincos_data): Replace with
10395 struct test_fFF_11_data.
10396 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
10397 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
10398 (sincos_test_data): Change element type to struct
10399 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
10400 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
10401 RUN_TEST_LOOP_sincos.
10402 * math/README.libm-test: Don't mention special handling of
10403 individual functions.
10404 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
10405 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10406 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10407 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10408 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10410
f16cc3eb
JM
10411 * math/gen-libm-test.pl (get_variable): Remove function.
10412 (parse_args): Don't show pointer parameters to call in test
10413 names. Use "extra output N" in test names for extra outputs
10414 rather than naming variables.
10415
3779b5b6
JM
104162013-05-18 Joseph Myers <joseph@codesourcery.com>
10417
2ee094ff
JM
10418 [BZ #15488]
10419 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
10420 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
10421 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
10422 double tests.
10423 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
10424 disable.
10425 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
10426 check_long_double.
10427
3779b5b6
JM
10428 * math/gen-libm-test.pl (@tests): Remove variable.
10429 ($count): Likewise.
10430 (new_test): Remove function.
10431 (show_exceptions): New function.
10432 (special_functions): Use show_exceptions instead of new_test.
10433 (parse_args): Likewise.
10434 (generate_testfile): Pass only function name in generated call to
10435 print_max_error or print_complex_max_error.
10436 (get_ulps): Do not handle complex tests specially.
10437 (output_test): Rename to ...
10438 (get_all_ulps_for_test): ... this. Return a string rather than
10439 printing to a file. Require ulps to be present.
10440 (output_ulps): Generate arrays rather than #defines.
10441 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
10442 (struct ulp_data): New type.
10443 (BUILD_COMPLEX_ULP): Remove macro.
10444 (compare_ulp_data): New function.
10445 (find_ulps): Likewise.
10446 (find_test_ulps): Likewise.
10447 (find_function_ulps): Likewise.
10448 (find_complex_function_ulps): Likewise.
10449 (print_max_error): Determine allowed ulps using
10450 find_function_ulps.
10451 (print_complex_max_error): Determine allowed ulps using
10452 find_complex_function_ulps.
10453 (check_float_internal): Determine max ulps using find_test_ulps.
10454 (check_float): Do not take max_ulp parameter. Update call to
10455 check_float_internal.
10456 (check_complex): Likewise.
10457 (check_int): Do not take max_ulp parameter.
10458 (check_long): Likewise.
10459 (check_bool): Likewise.
10460 (check_longlong): Likewise.
10461 (struct test_f_f_data): Remove max_ulp field.
10462 (struct test_ff_f_data): Likewise.
10463 (struct test_ff_f_data_nexttoward): Likewise.
10464 (struct test_fi_f_data): Likewise.
10465 (struct test_fl_f_data): Likewise.
10466 (struct test_if_f_data): Likewise.
10467 (struct test_fff_f_data): Likewise.
10468 (struct test_c_f_data): Likewise.
10469 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
10470 (struct test_fF_f1_data): Likewise.
10471 (struct test_ffI_f1_data): Likewise.
10472 (struct test_c_c_data): Remove max_ulp field.
10473 (struct test_cc_c_data): Likewise.
10474 (struct test_f_i_data): Likewise.
10475 (struct test_ff_i_data): Likewise.
10476 (struct test_f_l_data): Likewise.
10477 (struct test_f_L_data): Likewise.
10478 (struct test_sincos_data): Likewise.
10479 (RUN_TEST_f_f): Do not handle ulps.
10480 (RUN_TEST_LOOP_f_f): Likewise.
10481 (RUN_TEST_2_f): Likewise.
10482 (RUN_TEST_LOOP_2_f): Likewise.
10483 (RUN_TEST_fff_f): Likewise.
10484 (RUN_TEST_LOOP_fff_f): Likewise.
10485 (RUN_TEST_c_f): Likewise.
10486 (RUN_TEST_LOOP_c_f): Likewise.
10487 (RUN_TEST_f_f1): Likewise.
10488 (RUN_TEST_LOOP_f_f1): Likewise.
10489 (RUN_TEST_fF_f1): Likewise.
10490 (RUN_TEST_LOOP_fF_f1): Likewise.
10491 (RUN_TEST_fI_f1): Likewise.
10492 (RUN_TEST_LOOP_fI_f1): Likewise.
10493 (RUN_TEST_ffI_f1): Likewise.
10494 (RUN_TEST_LOOP_ffI_f1): Likewise.
10495 (RUN_TEST_c_c): Likewise.
10496 (RUN_TEST_LOOP_c_c): Likewise.
10497 (RUN_TEST_cc_c): Likewise.
10498 (RUN_TEST_LOOP_cc_c): Likewise.
10499 (RUN_TEST_f_i): Likewise.
10500 (RUN_TEST_LOOP_f_i): Likewise.
10501 (RUN_TEST_f_i_tg): Likewise.
10502 (RUN_TEST_LOOP_f_i_tg): Likewise.
10503 (RUN_TEST_ff_i_tg): Likewise.
10504 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10505 (RUN_TEST_f_b): Likewise.
10506 (RUN_TEST_LOOP_f_b): Likewise.
10507 (RUN_TEST_f_b_tg): Likewise.
10508 (RUN_TEST_LOOP_f_b_tg): Likewise.
10509 (RUN_TEST_f_l): Likewise.
10510 (RUN_TEST_LOOP_f_l): Likewise.
10511 (RUN_TEST_f_L): Likewise.
10512 (RUN_TEST_LOOP_f_L): Likewise.
10513 (RUN_TEST_sincos): Likewise.
10514 (RUN_TEST_LOOP_sincos): Likewise.
10515
8269107f
JM
105162013-05-17 Joseph Myers <joseph@codesourcery.com>
10517
bb38759d
JM
10518 [BZ #15480]
10519 [BZ #15485]
10520 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
10521 main case of finite arguments, set rounding mode to FE_TONEAREST
10522 and discard exceptions.
10523 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
10524 exceptions.
10525 (remainder_tonearest_test_data): New variable.
10526 (remainder_test_tonearest): New function.
10527 (remainder_towardzero_test_data): New variable.
10528 (remainder_test_towardzero): New function.
10529 (remainder_downward_test_data): New variable.
10530 (remainder_test_downward): New function.
10531 (remainder_upward_test_data): New variable.
10532 (remainder_test_upward): New function.
10533 (main): Call the new test functions.
10534
a00bdcf0
JM
10535 * math/libm-test.inc (struct test_f_f1_data): Remove field
10536 extra_init.
10537 (struct test_fF_f1_data): Likewise.
10538 (struct test_ffI_f1_data): Likewise.
10539 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
10540 based on value of EXTRA_EXPECTED.
10541 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10542 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
10543 EXTRA_VAR based on value of EXTRA_EXPECTED.
10544 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10545 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
10546 EXTRA_VAR based on value of EXTRA_EXPECTED.
10547 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10548 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
10549 EXTRA_VAR based on value of EXTRA_EXPECTED.
10550 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10551 * math/gen-libm-test.pl (parse_args): Don't output initializers
10552 for extra output values.
10553
de407f79
JM
10554 * math/libm-test.inc (check_int): Expect result to be exactly
10555 equal to expected value and do not handle ulps.
10556 (check_long): Likewise.
10557 (check_longlong): Likewise.
10558
8269107f
JM
10559 * math/libm-test.inc (ceil_test_data): Test for "inexact"
10560 exceptions.
10561 (cimag_test_data): Likewise.
10562 (conj_test_data): Likewise.
10563 (copysign_test_data): Likewise.
10564 (cproj_test_data): Likewise.
10565 (creal_test_data): Likewise.
10566 (fabs_test_data): Likewise.
10567 (fdim_test_data): Likewise.
10568 (finite_test_data): Likewise.
10569 (floor_test_data): Likewise.
10570 (fmax_test_data): Likewise.
10571 (fmin_test_data): Likewise.
10572 (fmod_test_data): Likewise.
10573 (fpclassify_test_data): Likewise.
10574 (frexp_test_data): Likewise.
10575 (ilogb_test_data): Likewise.
10576 (isfinite_test_data): Likewise.
10577 (isgreater_test_data): Likewise.
10578 (isgreaterequal_test_data): Likewise.
10579 (isinf_test_data): Likewise.
10580 (isless_test_data): Likewise.
10581 (islessequal_test_data): Likewise.
10582 (islessgreater_test_data): Likewise.
10583 (isnan_test_data): Likewise.
10584 (isnormal_test_data): Likewise.
10585 (issignaling_test_data): Likewise.
10586 (isunordered_test_data): Likewise.
10587 (ldexp_test_data): Likewise.
10588 (lrint_test_data): Likewise.
10589 (lrint_test_data) [TEST_FLOAT]: Disable one test.
10590 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
10591 (lrint_tonearest_test_data): Test for "inexact" exceptions.
10592 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10593 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
10594 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10595 test input.
10596 (lrint_towardzero_test_data): Test for "inexact" exceptions.
10597 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10598 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
10599 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
10600 that test input.
10601 (lrint_downward_test_data): Test for "inexact" exceptions.
10602 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10603 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
10604 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10605 test input.
10606 (lrint_upward_test_data): Test for "inexact" exceptions.
10607 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
10608 test input.
10609 (llrint_test_data): Test for "inexact" exceptions.
10610 (llrint_test_data) [TEST_FLOAT]: Disable one test.
10611 (llrint_tonearest_test_data): Test for "inexact" exceptions.
10612 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10613 (llrint_towardzero_test_data): Test for "inexact" exceptions.
10614 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10615 (llrint_downward_test_data): Test for "inexact" exceptions.
10616 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10617 (llrint_upward_test_data): Test for "inexact" exceptions.
10618 (logb_test_data): Likewise.
10619 (logb_downward_test_data): Likewise.
10620 (nextafter_test_data): Likewise.
10621 (nexttoward_test_data): Likewise.
10622 (remainder_test_data): Likewise.
10623 (remquo_test_data): Likewise.
10624 (scalbn_test_data): Likewise.
10625 (scalbln_test_data): Likewise.
10626 (signbit_test_data): Likewise.
10627 (sqrt_test_data): Likewise.
10628 (significand_test_data): Likewise.
10629
48a18de1
SP
106302013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10631
10632 [BZ #15424]
10633 * benchtests/bench-modf.c (struct args): Mark arg0 as
10634 volatile.
10635 * scripts/bench.pl: Mark members of struct args as volatile.
10636
13d3b41a
AZ
106372013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10638
68191c1d 10639 [BZ # 15497]
13d3b41a
AZ
10640 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
10641 negative infinity on POWER6 or lower.
10642 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
10643
2848b105
MR
106442013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
10645
10646 [BZ #15442]
10647 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
10648 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
10649 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
10650 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
10651 (_FP_SETQNAN): New macro.
10652 (_FP_SETQNAN_SEMIRAW): Likewise.
10653 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
10654 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
10655 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
10656 (FP_EXTEND): Use _FP_FRAC_SNANP.
10657 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
10658 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
10659 into account.
10660 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10661 New macro.
10662 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10663 Likewise.
10664
323e5cb7
JM
106652013-05-16 Joseph Myers <joseph@codesourcery.com>
10666
c58b274f
JM
10667 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
10668 with DIVIDE_BY_ZERO_EXCEPTION.
10669 (gamma_test_data): Likewise.
10670 (lgamma_test_data): Likewise.
10671 (log_test_data): Likewise.
10672 (log10_test_data): Likewise.
10673 (log2_test_data): Likewise.
10674 (tgamma_test_data): Likewise.
10675
0ab34904
JM
10676 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
10677 (acos_test_tonearest): Likewise.
10678 (acos_test_towardzero): Likewise.
10679 (acos_test_downward): Likewise.
10680 (acos_test_upward): Likewise.
10681 (acosh_test): Likewise.
10682 (asin_test): Likewise.
10683 (asin_test_tonearest): Likewise.
10684 (asin_test_towardzero): Likewise.
10685 (asin_test_downward): Likewise.
10686 (asin_test_upward): Likewise.
10687 (asinh_test): Likewise.
10688 (atan_test): Likewise.
10689 (atanh_test): Likewise.
10690 (atan2_test): Likewise.
10691 (cabs_test): Likewise.
10692 (cacos_test): Likewise.
10693 (cacosh_test): Likewise.
10694 (casin_test): Likewise.
10695 (casinh_test): Likewise.
10696 (catan_test): Likewise.
10697 (catanh_test): Likewise.
10698 (cbrt_test): Likewise.
10699 (ccos_test): Likewise.
10700 (ccosh_test): Likewise.
10701 (cexp_test): Likewise.
10702 (clog_test): Likewise.
10703 (clog10_test): Likewise.
10704 (cos_test): Likewise.
10705 (cos_test_tonearest): Likewise.
10706 (cos_test_towardzero): Likewise.
10707 (cos_test_downward): Likewise.
10708 (cos_test_upward): Likewise.
10709 (cosh_test): Likewise.
10710 (cosh_test_tonearest): Likewise.
10711 (cosh_test_towardzero): Likewise.
10712 (cosh_test_downward): Likewise.
10713 (cosh_test_upward): Likewise.
10714 (cpow_test): Likewise.
10715 (csin_test): Likewise.
10716 (csinh_test): Likewise.
10717 (csqrt_test): Likewise.
10718 (ctan_test): Likewise.
10719 (ctan_test_tonearest): Likewise.
10720 (ctan_test_towardzero): Likewise.
10721 (ctan_test_downward): Likewise.
10722 (ctan_test_upward): Likewise.
10723 (ctanh_test): Likewise.
10724 (ctanh_test_tonearest): Likewise.
10725 (ctanh_test_towardzero): Likewise.
10726 (ctanh_test_downward): Likewise.
10727 (ctanh_test_upward): Likewise.
10728 (erf_test): Likewise.
10729 (erfc_test): Likewise.
10730 (exp_test): Likewise.
10731 (exp_test_tonearest): Likewise.
10732 (exp_test_towardzero): Likewise.
10733 (exp_test_downward): Likewise.
10734 (exp_test_upward): Likewise.
10735 (exp10_test): Likewise.
10736 (exp2_test): Likewise.
10737 (expm1_test): Likewise.
10738 (fmod_test): Likewise.
10739 (gamma_test): Likewise.
10740 (hypot_test): Likewise.
10741 (j0_test): Likewise.
10742 (j1_test): Likewise.
10743 (jn_test): Likewise.
10744 (lgamma_test): Likewise.
10745 (log_test): Likewise.
10746 (log10_test): Likewise.
10747 (log1p_test): Likewise.
10748 (log2_test): Likewise.
10749 (logb_test_downward): Likewise.
10750 (pow_test): Likewise.
10751 (pow_test_tonearest): Likewise.
10752 (pow_test_towardzero): Likewise.
10753 (pow_test_downward): Likewise.
10754 (pow_test_upward): Likewise.
10755 (remainder_test): Likewise.
10756 (remquo_test): Likewise.
10757 (sin_test): Likewise.
10758 (sin_test_tonearest): Likewise.
10759 (sin_test_towardzero): Likewise.
10760 (sin_test_downward): Likewise.
10761 (sin_test_upward): Likewise.
10762 (sincos_test): Likewise.
10763 (sinh_test): Likewise.
10764 (sinh_test_tonearest): Likewise.
10765 (sinh_test_towardzero): Likewise.
10766 (sinh_test_downward): Likewise.
10767 (sinh_test_upward): Likewise.
10768 (sqrt_test): Likewise.
10769 (tan_test): Likewise.
10770 (tan_test_tonearest): Likewise.
10771 (tan_test_towardzero): Likewise.
10772 (tan_test_downward): Likewise.
10773 (tan_test_upward): Likewise.
10774 (tanh_test): Likewise.
10775 (tgamma_test): Likewise.
10776 (y0_test): Likewise.
10777 (y1_test): Likewise.
10778 (yn_test): Likewise.
10779
323e5cb7
JM
10780 * math/gen-libm-test.pl (adjust_arg): Remove function.
10781 (special_function): Remove argument $in_func. Only handle
10782 generating output for tables of tests, not inside functions.
10783 (parse_args): Likewise.
10784 (generate_testfile): Remove variable $in_func. Update call to
10785 parse_args.
10786 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
10787 (MINUS_ZERO_INIT): Rename macro to minus_zero.
10788 (PLUS_INFTY_INIT): Rename macro to plus_infty.
10789 (MINUS_INFTY_INIT): Rename macro to minus_infty.
10790 (QNAN_VALUE_INIT): Rename macro to qnan_value.
10791 (MAX_VALUE_INIT): Rename macro to max_value.
10792 (MIN_VALUE_INIT): Rename macro to min_value.
10793 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
10794 (plus_zero): Remove variable.
10795 (minus_zero): Likewise.
10796 (plus_infty): Likewise.
10797 (minus_infty): Likewise.
10798 (qnan_value): Likewise.
10799 (max_value): Likewise.
10800 (min_value): Likewise.
10801 (min_subnorm_value): Likewise.
10802
e054f494
RA
108032013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10804
10805 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
10806 uint64_t or uint32_t usage.
10807 * crypt/sha256-block.c: Likewise.
10808 * crypt/sha256-crypt.c: Likewise.
10809 * crypt/sha256.c: Likewise.
10810 * crypt/sha512-block.c: Likewise.
10811 * crypt/sha512-crypt.c: Likewise.
10812 * crypt/sha512.c: Likewise.
10813 * debug/backtrace-tst.c: Likewise.
10814 * debug/pcprofiledump.c: Likewise.
10815 * elf/cache.c: Likewise.
10816 * elf/dl-cache.c: Likewise.
10817 * elf/dl-misc.c: Likewise.
10818 * elf/dl-profile.c: Likewise.
10819 * elf/dl-support.c: Likewise.
10820 * elf/ldconfig.c: Likewise.
10821 * elf/sprof.c: Likewise.
10822 * iconv/dummy-repertoire.c: Likewise.
10823 * iconv/iconv_charmap.c: Likewise.
10824 * iconv/skeleton.c: Likewise.
10825 * iconvdata/8bit-generic.c: Likewise.
10826 * iconvdata/cp737.h: Likewise.
10827 * iconvdata/cp775.h: Likewise.
10828 * iconvdata/ibm1008.h: Likewise.
10829 * iconvdata/ibm1025.h: Likewise.
10830 * iconvdata/ibm1046.h: Likewise.
10831 * iconvdata/ibm1097.h: Likewise.
10832 * iconvdata/ibm1112.h: Likewise.
10833 * iconvdata/ibm1122.h: Likewise.
10834 * iconvdata/ibm1123.h: Likewise.
10835 * iconvdata/ibm1124.h: Likewise.
10836 * iconvdata/ibm1129.h: Likewise.
10837 * iconvdata/ibm1130.h: Likewise.
10838 * iconvdata/ibm1132.h: Likewise.
10839 * iconvdata/ibm1133.h: Likewise.
10840 * iconvdata/ibm1137.h: Likewise.
10841 * iconvdata/ibm1140.h: Likewise.
10842 * iconvdata/ibm1141.h: Likewise.
10843 * iconvdata/ibm1142.h: Likewise.
10844 * iconvdata/ibm1143.h: Likewise.
10845 * iconvdata/ibm1144.h: Likewise.
10846 * iconvdata/ibm1145.h: Likewise.
10847 * iconvdata/ibm1146.h: Likewise.
10848 * iconvdata/ibm1147.h: Likewise.
10849 * iconvdata/ibm1148.h: Likewise.
10850 * iconvdata/ibm1149.h: Likewise.
10851 * iconvdata/ibm1153.h: Likewise.
10852 * iconvdata/ibm1154.h: Likewise.
10853 * iconvdata/ibm1155.h: Likewise.
10854 * iconvdata/ibm1156.h: Likewise.
10855 * iconvdata/ibm1157.h: Likewise.
10856 * iconvdata/ibm1158.h: Likewise.
10857 * iconvdata/ibm1160.h: Likewise.
10858 * iconvdata/ibm1161.h: Likewise.
10859 * iconvdata/ibm1162.h: Likewise.
10860 * iconvdata/ibm1163.h: Likewise.
10861 * iconvdata/ibm1164.h: Likewise.
10862 * iconvdata/ibm1166.h: Likewise.
10863 * iconvdata/ibm1167.h: Likewise.
10864 * iconvdata/ibm12712.h: Likewise.
10865 * iconvdata/ibm1390.h: Likewise.
10866 * iconvdata/ibm1399.h: Likewise.
10867 * iconvdata/ibm16804.h: Likewise.
10868 * iconvdata/ibm4517.h: Likewise.
10869 * iconvdata/ibm4899.h: Likewise.
10870 * iconvdata/ibm4909.h: Likewise.
10871 * iconvdata/ibm4971.h: Likewise.
10872 * iconvdata/ibm5347.h: Likewise.
10873 * iconvdata/ibm803.h: Likewise.
10874 * iconvdata/ibm856.h: Likewise.
10875 * iconvdata/ibm901.h: Likewise.
10876 * iconvdata/ibm902.h: Likewise.
10877 * iconvdata/ibm9030.h: Likewise.
10878 * iconvdata/ibm9066.h: Likewise.
10879 * iconvdata/ibm921.h: Likewise.
10880 * iconvdata/ibm922.h: Likewise.
10881 * iconvdata/ibm9448.h: Likewise.
10882 * iconvdata/isiri-3342.h: Likewise.
10883 * iconvdata/jis0201.h: Likewise.
10884 * include/link.h: Likewise.
10885 * include/netdb.h: Likewise.
10886 * inet/check_native.c: Likewise.
10887 * inet/check_pf.c: Likewise.
10888 * inet/getipv4sourcefilter.c: Likewise.
10889 * inet/getnameinfo.c: Likewise.
10890 * inet/getsourcefilter.c: Likewise.
10891 * inet/htonl.c: Likewise.
10892 * inet/setipv4sourcefilter.c: Likewise.
10893 * inet/setsourcefilter.c: Likewise.
10894 * inet/test-inet6_opt.c: Likewise.
10895 * inet/tst-network.c: Likewise.
10896 * locale/C-collate.c: Likewise.
10897 * locale/C-ctype.c: Likewise.
10898 * locale/C-time.c: Likewise.
10899 * locale/C-translit.h: Likewise.
10900 * locale/loadarchive.c: Likewise.
10901 * locale/programs/3level.h: Likewise.
10902 * locale/programs/charmap.c: Likewise.
10903 * locale/programs/charmap.h: Likewise.
10904 * locale/programs/ld-address.c: Likewise.
10905 * locale/programs/ld-collate.c: Likewise.
10906 * locale/programs/ld-ctype.c: Likewise.
10907 * locale/programs/ld-identification.c: Likewise.
10908 * locale/programs/ld-measurement.c: Likewise.
10909 * locale/programs/ld-messages.c: Likewise.
10910 * locale/programs/ld-monetary.c: Likewise.
10911 * locale/programs/ld-name.c: Likewise.
10912 * locale/programs/ld-numeric.c: Likewise.
10913 * locale/programs/ld-paper.c: Likewise.
10914 * locale/programs/ld-telephone.c: Likewise.
10915 * locale/programs/ld-time.c: Likewise.
10916 * locale/programs/linereader.c: Likewise.
10917 * locale/programs/locale.c: Likewise.
10918 * locale/programs/locarchive.c: Likewise.
10919 * locale/programs/locfile.h: Likewise.
10920 * locale/programs/repertoire.c: Likewise.
10921 * locale/programs/simple-hash.c: Likewise.
10922 * locale/programs/simple-hash.h: Likewise.
10923 * malloc/memusage.c: Likewise.
10924 * malloc/memusagestat.c: Likewise.
10925 * nis/nis_defaults.c: Likewise.
10926 * nis/nis_hash.c: Likewise.
10927 * nis/nis_print.c: Likewise.
10928 * nis/nis_xdr.c: Likewise.
10929 * nscd/connections.c: Likewise.
10930 * nscd/hstcache.c: Likewise.
10931 * nscd/nscd_gethst_r.c: Likewise.
10932 * nscd/nscd_getserv_r.c: Likewise.
10933 * nscd/nscd_helper.c: Likewise.
10934 * nscd/servicescache.c: Likewise.
10935 * nss/makedb.c: Likewise.
10936 * nss/nss_db/db-XXX.c: Likewise.
10937 * nss/nss_db/db-initgroups.c: Likewise.
10938 * nss/nss_db/db-netgrp.c: Likewise.
10939 * nss/nss_files/files-network.c: Likewise.
10940 * nss/nss_files/files-parse.c: Likewise.
10941 * posix/bug-regex5.c: Likewise.
10942 * posix/fnmatch_loop.c: Likewise.
10943 * posix/regcomp.c: Likewise.
10944 * posix/regexec.c: Likewise.
10945 * posix/tst-rfc3484-2.c: Likewise.
10946 * posix/tst-rfc3484-3.c: Likewise.
10947 * posix/tst-rfc3484.c: Likewise.
10948 * resolv/nss_dns/dns-canon.c: Likewise.
10949 * resolv/nss_dns/dns-network.c: Likewise.
10950 * resolv/res_init.c: Likewise.
10951 * resolv/res_mkquery.c: Likewise.
10952 * resolv/tst-aton.c: Likewise.
10953 * stdlib/cxa_atexit.c: Likewise.
10954 * stdlib/cxa_finalize.c: Likewise.
10955 * stdlib/gen-fpioconst.c: Likewise.
10956 * stdlib/strtol_l.c: Likewise.
10957 * string/tst-endian.c: Likewise.
10958 * sunrpc/auth_des.c: Likewise.
10959 * sunrpc/clnt_udp.c: Likewise.
10960 * sunrpc/rtime.c: Likewise.
10961 * sunrpc/svcauth_des.c: Likewise.
10962 * sunrpc/xdr.c: Likewise.
10963 * sunrpc/xdr_intXX_t.c: Likewise.
10964 * sunrpc/xdr_rec.c: Likewise.
10965 * sysdeps/generic/ldconfig.h: Likewise.
10966 * sysdeps/generic/ldsodefs.h: Likewise.
10967 * sysdeps/generic/memusage.h: Likewise.
10968 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10969 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
10970 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
10971 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10972 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10973 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10974 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10975 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10976 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10977 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10978 * sysdeps/posix/getaddrinfo.c: Likewise.
10979 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10980 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10981 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10982 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10983 * sysdeps/powerpc/test-gettimebase.c: Likewise.
10984 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10985 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
10986 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
10987 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10988 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
10989 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10990 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10991 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
10992 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
10993 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
10994 * sysdeps/x86_64/dl-tls.h: Likewise.
10995 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
10996 * time/alt_digit.c: Likewise.
10997 * time/era.c: Likewise.
10998 * wcsmbs/tst-c16c32-1.c: Likewise.
10999
8c75f674
JM
110002013-05-16 Joseph Myers <joseph@codesourcery.com>
11001
11002 * math/libm-test.inc (struct test_sincos_data): New type.
11003 (RUN_TEST_LOOP_sincos): New macro.
11004 (sincos_test_data): New variable.
11005 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
11006
e6e49e59
RH
110072013-05-16 Richard Henderson <rth@redhat.com>
11008
11009 * math/atest-exp2.c (LIMB64): New macro.
11010 (CONSTSZ): New macro.
11011 (mp_exp1, mp_exp_m1, mp_log2): New variables.
11012 (hexdig): Move ...
11013 (print_mpn_fp): ... to function scope.
11014 (read_mpn_hex): Remove.
11015 (get_log2): Remove.
11016 (exp2_mpn): Use mp_log2.
11017 (main): Use mp_exp1.
11018
15c7c18d
JM
110192013-05-16 Joseph Myers <joseph@codesourcery.com>
11020
105a07df
JM
11021 * math/libm-test.inc: Remove comment about not testing "inexact"
11022 exceptions.
11023 (INEXACT_EXCEPTION): New macro.
11024 (NO_INEXACT_EXCEPTION): Likewise.
11025 (INVALID_EXCEPTION_OK): Update value.
11026 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11027 (OVERFLOW_EXCEPTION_OK): Likewise.
11028 (UNDERFLOW_EXCEPTION_OK): Likewise.
11029 (IGNORE_ZERO_INF_SIGN): Likewise.
11030 (ERRNO_UNCHANGED): Likewise.
11031 (ERRNO_EDOM): Likewise.
11032 (ERRNO_ERANGE): Likewise.
11033 (test_exceptions): Handle testing "inexact" exceptions.
11034 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
11035 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
11036 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
11037 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
11038 INEXACT_EXCEPTION.
11039 (rint_towardzero_test_data): Likewise.
11040 (rint_downward_test_data): Likewise.
11041 (rint_upward_test_data): Likewise.
11042
e9eee333
JM
11043 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
11044 with OVERFLOW_EXCEPTION.
11045 (exp10_test_data): Likewise.
11046 (exp2_test_data): Likewise.
11047 (expm1_test_data): Likewise.
11048 (lgamma_test_data): Likewise.
11049 (pow_test_data): Likewise.
11050 (tgamma_test_data): Likewise.
11051 (yn_test_data): Remove duplicate test of overflow.
11052
1c38ff73
JM
11053 * math/libm-test.inc (struct test_cc_c_data): New type.
11054 (RUN_TEST_LOOP_cc_c): New macro.
11055 (cpow_test_data): New variable.
11056 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
11057
15c7c18d
JM
11058 * math/libm-test.inc (struct test_f_L_data): New type.
11059 (RUN_TEST_LOOP_f_L): New macro.
11060 (llrint_test_data): New variable.
11061 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
11062 (llrint_tonearest_test_data): New variable.
11063 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
11064 (llrint_towardzero_test_data): New variable.
11065 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
11066 (llrint_downward_test_data): New variable.
11067 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
11068 (llrint_upward_test_data): New variable.
11069 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
11070 (llround_test_data): New variable.
11071 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
11072
f137ff13
PC
110732013-05-13 Peter Collingbourne <pcc@google.com>
11074
11075 * math/atest-exp2.c (get_log2): Remove const attribute.
11076
3608cb24
JM
110772013-05-15 Joseph Myers <joseph@codesourcery.com>
11078
11079 * math/libm-test.inc (struct test_f_l_data): New type.
11080 (RUN_TEST_LOOP_f_l): New macro.
11081 (lrint_test_data): New variable.
11082 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
11083 (lrint_tonearest_test_data): New variable.
11084 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
11085 (lrint_towardzero_test_data): New variable.
11086 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
11087 (lrint_downward_test_data): New variable.
11088 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
11089 (lrint_upward_test_data): New variable.
11090 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
11091 (lround_test_data): New variable.
11092 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
11093
39b1f617
PC
110942013-05-15 Peter Collingbourne <pcc@google.com>
11095
1deff3dc
PC
11096 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
11097 (EXTRACT_WORDS64) Use where appropriate.
11098 (INSERT_WORDS64) Likewise.
11099
791f3ba0
PC
11100 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
11101 constraints with x constraints.
11102 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
11103
39b1f617
PC
11104 * malloc/obstack.c (_obstack_compat): Add initializer.
11105
12fba011
EM
111062013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
11107
11108 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
11109 si_trapno and add si_addr_lsb to _sifields.sigfault.
11110 (si_trapno): Remove macro.
11111 (si_addr_lsb): Define new macro.
11112 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
11113
d369f531
JM
111142013-05-15 Joseph Myers <joseph@codesourcery.com>
11115
b861c6c4
JM
11116 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
11117 instead of TEST_f_l.
11118 (llrint_test_tonearest): Likewise.
11119 (llrint_test_towardzero): Likewise.
11120 (llrint_test_downward): Likewise.
11121 (llrint_test_upward): Likewise.
11122 (llround_test): Likewise.
11123
7abeee12
JM
11124 * math/libm-test.inc (struct test_f_i_data): Add comment.
11125 (RUN_TEST_LOOP_f_b): New macro.
11126 (RUN_TEST_LOOP_f_b_tg): Likewise.
11127 (finite_test_data): New variable.
11128 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
11129 (isfinite_test_data): New variable.
11130 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11131 (isinf_test_data): New variable.
11132 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11133 (isnan_test_data): New variable.
11134 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11135 (isnormal_test_data): New variable.
11136 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11137 (issignaling_test_data): New variable.
11138 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11139 (signbit_test_data): New variable.
11140 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11141
cbe8c4d3
JM
11142 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
11143 with INVALID_EXCEPTION.
11144 (acosh_test_data): Likewise.
11145 (asin_test_data): Likewise.
11146 (atanh_test_data): Likewise.
11147 (fmod_test_data): Likewise.
11148 (log_test_data): Likewise.
11149 (log10_test_data): Likewise.
11150 (log2_test_data): Likewise.
11151 (pow_test_data): Likewise.
11152 (sqrt_test_data): Likewise.
11153 (y0_test_data): Likewise.
11154 (y1_test_data): Likewise.
11155 (yn_test_data): Likewise.
11156
5575c0e5
JM
11157 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
11158 function contents.
11159
d369f531
JM
11160 * math/libm-test.inc (struct test_ff_i_data): New type.
11161 (RUN_TEST_LOOP_ff_i_tg): New macro.
11162 (isgreater_test_data): New variable.
11163 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11164 (isgreaterequal_test_data): New variable.
11165 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11166 (isless_test_data): New variable.
11167 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11168 (islessequal_test_data): New variable.
11169 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11170 (islessgreater_test_data): New variable.
11171 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11172 (isunordered_test_data): New variable.
11173 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11174
781fd748
DM
111752013-05-14 David S. Miller <davem@davemloft.net>
11176
11177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11178
87aa21df
JM
111792013-05-14 Joseph Myers <joseph@codesourcery.com>
11180
5e908270
JM
11181 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
11182
f71172e5
JM
11183 * math/libm-test.inc (struct test_fF_f1_data): Change type of
11184 extra_test to int.
11185 (struct test_f_i_data): Change type of max_ulp to int.
11186
8cfa635a
JM
11187 * math/libm-test.inc (test_ffI_f1_data): New type.
11188 (RUN_TEST_LOOP_ffI_f1): New macro.
11189 (remquo_test_data): New variable.
11190 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
11191
2bcb36b2
JM
11192 * setjmp/tst-setjmp-fp.c: New file.
11193 * setjmp/Makefile (tests): Add tst-setjmp-fp.
11194 (link-libm): New variable.
11195 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
11196
acbd839a
JM
11197 * math/libm-test.inc (struct test_f_i_data): New type.
11198 (RUN_TEST_LOOP_f_i): New macro.
11199 (RUN_TEST_LOOP_f_i_tg): Likewise.
11200 (fpclassify_test_data): New variable.
11201 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
11202 (ilogb_test_data): New variable.
11203 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
11204
e414d745
JM
11205 * math/libm-test.inc (scalbln_test): Correct function name in END
11206 call.
11207
d9c2a0fd
JM
11208 * math/libm-test.inc (struct test_f_f1_data): Add comment.
11209 (RUN_TEST_LOOP_fI_f1): New macro.
11210 (frexp_test_data): New variable.
11211 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
11212
9dc9095d
JM
11213 * math/libm-test.inc (struct test_fF_f1_data): New type.
11214 (RUN_TEST_LOOP_fF_f1): New macro.
11215 (modf_test_data): New variable.
11216 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
11217
87aa21df
JM
11218 * math/libm-test.inc (struct test_f_f1_data): New type.
11219 (RUN_TEST_LOOP_f_f1): New macro.
11220 (gamma_test_data): New variable.
11221 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
11222 (lgamma_test_data): New variable.
11223 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
11224
141af660
CD
112252013-05-13 Carlos O'Donell <carlos@redhat.com>
11226
11227 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
11228 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
11229 (main): Comment "tls" pseudo-hwcap.
11230
6d33265c
JM
112312013-05-13 Joseph Myers <joseph@codesourcery.com>
11232
68fc074c
JM
11233 * math/libm-test.inc (struct test_fl_f_data): New type.
11234 (RUN_TEST_LOOP_fl_f): New variable.
11235 (scalbln_test_data): New variable.
11236 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
11237
243216e1
JM
11238 * math/libm-test.inc (struct test_fi_f_data): New type.
11239 (RUN_TEST_LOOP_fi_f): New macro.
11240 (ldexp_test_data): New variable.
11241 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
11242 (scalbn_test_data): New variable.
11243 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
11244
6a1992e2
JM
11245 * math/libm-test.inc (struct test_c_f_data): New type.
11246 (RUN_TEST_LOOP_c_f): New macro.
11247 (cabs_test_data): New variable.
11248 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
11249 (carg_test_data): New variable.
11250 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
11251 (cimag_test_data): New variable.
11252 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
11253 (creal_test_data): New variable.
11254 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
11255
0e400df5
JM
11256 * math/libm-test.inc (struct test_if_f_data): New type.
11257 (RUN_TEST_LOOP_if_f): New macro.
11258 (jn_test_data): New variable.
11259 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
11260 (yn_test_data): New variable.
11261 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
11262
6d33265c
JM
11263 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
11264
f98ece5f
AZ
112652013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11266
11267 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
11268 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
11269
0f7d347b
SP
112702013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11271
43fe811b
SP
11272 * benchtests/Makefile (CPPFLAGS-nonlib): Add
11273 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
11274 (bench-deps): Add bench-timing.h.
11275 * benchtests-bench-skeleton.c: Include bench-timing.h.
11276 (main): Use TIMING_* macros instead of clock_gettime.
11277 * benchtests/bench-timing.h: New file.
11278
0f7d347b
SP
11279 [BZ #14582]
11280 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
11281 Renamed from _LIB_VERSION.
11282 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
11283
601a3a5f
JM
112842013-05-12 Joseph Myers <joseph@codesourcery.com>
11285
4f184d30
JM
11286 * math/libm-test.inc (struct test_fff_f_data): New type.
11287 (RUN_TEST_LOOP_fff_f): New macro.
11288 (fma_test_data): New variable.
11289 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
11290 (fma_towardzero_test_data): New variable.
11291 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
11292 (fma_downward_test_data): New variable.
11293 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
11294 (fma_upward_test_data): New variable.
11295 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
11296
08198877
JM
11297 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
11298 (struct test_c_c_data): New type.
11299 (RUN_TEST_LOOP_c_c): New macro.
11300 (cacos_test_data): New variable.
11301 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
11302 (cacosh_test_data): New variable.
11303 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
11304 (casin_test_data): New variable.
11305 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
11306 (casinh_test_data): New variable.
11307 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
11308 (catan_test_data): New variable.
11309 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
11310 (catanh_test_data): New variable.
11311 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
11312 (ccos_test_data): New variable.
11313 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
11314 (ccosh_test_data): New variable.
11315 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
11316 (cexp_test_data): New variable.
11317 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
11318 (clog_test_data): New variable.
11319 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
11320 (clog10_test_data): New variable.
11321 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
11322 (conj_test_data): New variable.
11323 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
11324 (cproj_test_data): New variable.
11325 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
11326 (csin_test_data): New variable.
11327 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
11328 (csinh_test_data): New variable.
11329 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
11330 (csqrt_test_data): New variable.
11331 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
11332 (ctan_test_data): New variable.
11333 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
11334 (ctan_tonearest_test_data): New variable.
11335 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11336 (ctan_towardzero_test_data): New variable.
11337 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11338 (ctan_downward_test_data): New variable.
11339 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11340 (ctan_upward_test_data): New variable.
11341 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11342 (ctanh_test_data): New variable.
11343 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
11344 (ctanh_tonearest_test_data): New variable.
11345 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11346 (ctanh_towardzero_test_data): New variable.
11347 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11348 (ctanh_downward_test_data): New variable.
11349 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11350 (ctanh_upward_test_data): New variable.
11351 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11352 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
11353 of BUILD_COMPLEX.
11354
601a3a5f
JM
11355 * math/libm-test.inc (struct test_ff_f_data): New type.
11356 (struct test_ff_f_data_nexttoward): Likewise.
11357 (RUN_TEST_LOOP_2_f): New macro.
11358 (RUN_TEST_LOOP_ff_f): Likewise.
11359 (atan2_test_data): New variable.
11360 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
11361 (copysign_test_data): New variable.
11362 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
11363 (fdim_test_data): New variable.
11364 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
11365 (fmax_test_data): New variable.
11366 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
11367 (fmin_test_data): New variable.
11368 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
11369 (fmod_test_data): New variable.
11370 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
11371 (hypot_test_data): New variable.
11372 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
11373 (nextafter_test_data): New variable.
11374 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
11375 (nexttoward_test_data): New variable.
11376 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
11377 (pow_test_data): New variable.
11378 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
11379 (pow_tonearest_test_data): New variable.
11380 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
11381 (pow_towardzero_test_data): New variable.
11382 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
11383 (pow_downward_test_data): New variable.
11384 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
11385 (pow_upward_test_data): New variable.
11386 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
11387 (remainder_test_data): New variable.
11388 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
11389 (scalb_test_data): New variable.
11390 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
11391 * sysdeps/i386/fpu/libm-test-ulps: Update.
11392
74c57478
JM
113932013-05-11 Joseph Myers <joseph@codesourcery.com>
11394
8329e4da
JM
11395 * math/libm-test.inc (fma_test): Use max_value instead of local
11396 variable fltmax.
11397 (nextafter_test): Likewise.
11398
74c57478
JM
11399 * math/libm-test.inc (acos_towardzero_test_data): New variable.
11400 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11401 (acos_downward_test_data): New variable.
11402 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11403 (acos_upward_test_data): New variable.
11404 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11405 (acosh_test_data): New variable.
11406 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
11407 (asin_test_data): New variable.
11408 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
11409 (asin_tonearest_test_data): New variable.
11410 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11411 (asin_towardzero_test_data): New variable.
11412 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11413 (asin_downward_test_data): New variable.
11414 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11415 (asin_upward_test_data): New variable.
11416 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11417 (asinh_test_data): New variable.
11418 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
11419 (atan_test_data): New variable.
11420 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
11421 (atanh_test_data): New variable.
11422 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
11423 (cbrt_test_data): New variable.
11424 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
11425 (ceil_test_data): New variable.
11426 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
11427 (cos_test_data): New variable.
11428 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
11429 (cos_tonearest_test_data): New variable.
11430 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11431 (cos_towardzero_test_data): New variable.
11432 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11433 (cos_downward_test_data): New variable.
11434 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11435 (cos_upward_test_data): New variable.
11436 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11437 (cosh_test_data): New variable.
11438 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
11439 (cosh_tonearest_test_data): New variable.
11440 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11441 (cosh_towardzero_test_data): New variable.
11442 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11443 (cosh_downward_test_data): New variable.
11444 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11445 (cosh_upward_test_data): New variable.
11446 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11447 (erf_test_data): New variable.
11448 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
11449 (erfc_test_data): New variable.
11450 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
11451 (exp_test_data): New variable.
11452 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
11453 (exp_tonearest_test_data): New variable.
11454 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11455 (exp_towardzero_test_data): New variable.
11456 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11457 (exp_downward_test_data): New variable.
11458 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11459 (exp_upward_test_data): New variable.
11460 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11461 (exp10_test_data): New variable.
11462 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
11463 (exp2_test_data): New variable.
11464 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
11465 (expm1_test_data): New variable.
11466 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
11467 (fabs_test_data): New variable.
11468 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
11469 (floor_test_data): New variable.
11470 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
11471 (j0_test_data): New variable.
11472 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
11473 (j1_test_data): New variable.
11474 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
11475 (log_test_data): New variable.
11476 (log_test): Run tests with RUN_TEST_LOOP_f_f.
11477 (log10_test_data): New variable.
11478 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
11479 (log1p_test_data): New variable.
11480 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
11481 (log2_test_data): New variable.
11482 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
11483 (logb_test_data): New variable.
11484 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
11485 (logb_downward_test_data): New variable.
11486 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11487 (nearbyint_test_data): New variable.
11488 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
11489 (rint_test_data): New variable.
11490 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
11491 (rint_tonearest_test_data): New variable.
11492 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11493 (rint_towardzero_test_data): New variable.
11494 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11495 (rint_downward_test_data): New variable.
11496 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11497 (rint_upward_test_data): New variable.
11498 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11499 (round_test_data): New variable.
11500 (round_test): Run tests with RUN_TEST_LOOP_f_f.
11501 (sin_test_data): New variable.
11502 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
11503 (sin_tonearest_test_data): New variable.
11504 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11505 (sin_towardzero_test_data): New variable.
11506 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11507 (sin_downward_test_data): New variable.
11508 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11509 (sin_upward_test_data): New variable.
11510 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11511 (sinh_test_data): New variable.
11512 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
11513 (sinh_tonearest_test_data): New variable.
11514 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11515 (sinh_towardzero_test_data): New variable.
11516 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11517 (sinh_downward_test_data): New variable.
11518 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11519 (sinh_upward_test_data): New variable.
11520 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11521 (sqrt_test_data): New variable.
11522 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
11523 (tan_test_data): New variable.
11524 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
11525 (tan_tonearest_test_data): New variable.
11526 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11527 (tan_towardzero_test_data): New variable.
11528 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11529 (tan_downward_test_data): New variable.
11530 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11531 (tan_upward_test_data): New variable.
11532 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11533 (tanh_test_data): New variable.
11534 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
11535 (tgamma_test_data): New variable.
11536 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
11537 (trunc_test_data): New variable.
11538 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
11539 (y0_test_data): New variable.
11540 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
11541 (y1_test_data): New variable.
11542 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
11543 (significand_test_data): New variable.
11544 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
11545
7187d844
CG
115462013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
11547
11548 [BZ #12387]
11549 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
11550
f63fae73
PT
115512013-05-10 Pino Toscano <toscano.pino@tiscali.it>
11552
11553 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
11554
8a67a4b3
AJ
115552013-05-10 Andreas Jaeger <aj@suse.de>
11556
11557 [BZ #15448]
11558 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
11559 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
11560
51df539d
JM
115612013-05-10 Joseph Myers <joseph@codesourcery.com>
11562
11563 * math/gen-libm-test.pl (adjust_arg): New function.
11564 (special_functions): Handle generating output in both functions
11565 and arrays.
11566 (parse_args): Likewise.
11567 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
11568 $in_func argument to parse_args.
11569 * math/libm-test.inc (struct test_f_f_data): New type.
11570 (IF_ROUND_INIT_): New macro.
11571 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
11572 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11573 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11574 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11575 (ROUND_RESTORE_): Likewise.
11576 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
11577 (ROUND_RESTORE_FE_TONEAREST): Likewise.
11578 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
11579 (ROUND_RESTORE_FE_UPWARD): Likewise.
11580 (RUN_TEST_LOOP_f_f): New macro.
11581 (acos_test_data): New variable.
11582 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
11583 (acos_tonearest_test_data): New variable.
11584 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11585
5c637fe5
SP
115862013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11587
11588 * benchtests/bench-skeleton.c (startup): Fix coding style.
11589
ab2b9461
JM
115902013-05-10 Joseph Myers <joseph@codesourcery.com>
11591
11592 [BZ #6809]
11593 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
11594 negative infinity argument.
11595 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
11596 negative infinity argument.
11597 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
11598 negative infinity argument.
11599 * math/libm-test.inc (tgamma_test): Expect errno to be set for
11600 domain errors.
11601
4c0fe6fe
FW
116022013-05-10 Florian Weimer <fweimer@redhat.com>
11603
11604 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
11605 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
11606 * iconv/iconv_prog.c (main): Likewise.
11607 * locale/programs/charmap-dir.c (charmap_readdir)
11608 (fopen_uncompressed): Likewise.
11609 * locale/programs/locfile.c (siblings_uncached)
11610 (write_locale_data): Use lstat64 instead of lstat.
11611 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
11612 stat.
11613
a3375d29
AJ
116142013-05-10 Andreas Jaeger <aj@suse.de>
11615
11616 [BZ #15395]
11617 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
11618 localization.
11619 Include <locale.h>.
11620
36129722
CD
116212013-05-09 Carlos O'Donell <carlos@redhat.com>
11622
11623 * elf/dl-close.c (_dl_close_worker): Add comments.
11624
faa7f811
JM
116252013-05-09 Joseph Myers <joseph@codesourcery.com>
11626
ed41ffef
JM
11627 [BZ #15359]
11628 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
11629 high part of pi/2.
11630 (__ieee754_rem_pio2l): Update comments.
11631
d0213cd0
JM
11632 [BZ #15429]
11633 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
11634 high part of pi/2.
11635 (__ieee754_rem_pio2l): Update comments.
11636
0d3e777a
JM
11637 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
11638 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
11639
24f56066
JM
11640 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
11641 M_PI_4l.
11642
faa7f811
JM
11643 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
11644 (M_PI_34_LOG10El): Likewise.
11645 (M_PI2_LOG10El): Likewise.
11646 (M_PI4_LOG10El): Likewise.
11647 (M_PI_LOG10El): Likewise.
11648
e9a5e0fd
AZ
116492013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11650
11651 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11652
d8cd06db
JM
116532013-05-08 Joseph Myers <joseph@codesourcery.com>
11654
a0d9f9d7
JM
11655 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
11656 (MINUS_ZERO_INIT): Likewise.
11657 (PLUS_INFTY_INIT): Likewise.
11658 (MINUS_INFTY_INIT): Likewise.
11659 (QNAN_VALUE_INIT): Likewise.
11660 (MAX_VALUE_INIT): Likewise.
11661 (MIN_VALUE_INIT): Likewise.
11662 (MIN_SUBNORM_VALUE_INIT): Likewise.
11663 (plus_zero): Initialize with PLUS_ZERO_INIT.
11664 (minus_zero): Initialize with MINUS_ZERO_INIT.
11665 (plus_infty): Initialize with PLUS_INFTY_INIT.
11666 (minus_infty): Initialize with MINUS_INFTY_INIT.
11667 (qnan_value): Initialize with QNAN_VALUE_INIT.
11668 (max_value): Initialize with MAX_VALUE_INIT.
11669 (min_value): Initialize with MIN_VALUE_INIT.
11670 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
11671
ae08db3b
JM
11672 * math/libm-test.inc (RUN_TEST_if_f): New macro.
11673 (jn_test): Use TEST_if_f instead of TEST_ff_f.
11674 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
11675 (yn_test): Use TEST_if_f instead of TEST_ff_f.
11676
f44bf14a
JM
11677 * math/libm-test.inc (RUN_TEST_f_f): New macro.
11678 (RUN_TEST_2_f): Likewise.
11679 (RUN_TEST_ff_f): Likewise.
11680 (RUN_TEST_fi_f): Likewise.
11681 (RUN_TEST_fl_f): Likewise.
11682 (RUN_TEST_fff_f): Likewise.
11683 (RUN_TEST_c_f): Likewise.
11684 (RUN_TEST_f_f1): Likewise.
11685 (RUN_TEST_fF_f1): Likewise.
11686 (RUN_TEST_fI_f1): Likewise.
11687 (RUN_TEST_ffI_f1): Likewise.
11688 (RUN_TEST_c_c): Likewise.
11689 (RUN_TEST_cc_c): Likewise.
11690 (RUN_TEST_f_i): Likewise.
11691 (RUN_TEST_f_i_tg): Likewise.
11692 (RUN_TEST_ff_i_tg): Likewise.
11693 (RUN_TEST_f_b): Likewise.
11694 (RUN_TEST_f_b_tg): Likewise.
11695 (RUN_TEST_f_l): Likewise.
11696 (RUN_TEST_f_L): Likewise.
11697 (RUN_TEST_sincos): Likewise.
11698 * math/gen-libm-test.pl (new_test): Take new argument to indicate
11699 whether to show exceptions. Do not include ");\n" in return
11700 value.
11701 (special_functions): Output call to RUN_TEST_sincos instead of
11702 check_float calls. Update calls to new_test.
11703 (parse_args): Output call to single RUN_TEST_* macro instead of
11704 check_* calls and other assignments. Update calls to new_test.
11705
d8cd06db
JM
11706 [BZ #2546]
11707 [BZ #2560]
11708 [BZ #5159]
11709 [BZ #15426]
11710 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
11711 input to result for tgamma overflow.
11712 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
11713 (gamma_coeff): New variable.
11714 (NCOEFF): New macro.
11715 (gamma_positive): New function.
11716 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
11717 underflow here. Use gamma_positive instead of exp (lgamma) for
11718 other arguments.
11719 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
11720 (gamma_coeff): New variable.
11721 (NCOEFF): New macro.
11722 (gammaf_positive): New function.
11723 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
11724 underflow here. Use gamma_positive instead of exp (lgamma) for
11725 other arguments.
11726 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
11727 (gamma_coeff): New variable.
11728 (NCOEFF): New macro.
11729 (gammal_positive): New function.
11730 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
11731 underflow here. Use gamma_positive instead of exp (lgamma) for
11732 other arguments.
11733 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
11734 (gamma_coeff): New variable.
11735 (NCOEFF): New macro.
11736 (gammal_positive): New function.
11737 (__ieee754_gammal_r): Handle positive infinity, overflow and
11738 underflow here. Handle NaN the same as positive infinity. Remove
11739 check x < 0xffffffff for negative integers. Use gamma_positive
11740 instead of exp (lgamma) for other arguments.
11741 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
11742 (gamma_coeff): New variable.
11743 (NCOEFF): New macro.
11744 (gammal_positive): New function.
11745 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
11746 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11747 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11748 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
11749 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11750 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
11751 * sysdeps/generic/math_private.h (__gamma_productf): New
11752 prototype.
11753 (__gamma_product): Likewise.
11754 (__gamma_productl): Likewise.
11755 * math/Makefile (libm-calls): Add gamma_product.
11756 * math/libm-test.inc (tgamma_test): Add more tests.
11757 * sysdeps/i386/fpu/libm-test-ulps: Update.
11758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11759
bb7cf681
OB
117602013-05-08 Ondřej Bílka <neleai@seznam.cz>
11761
11762 * benchtests/bench-skeleton.c (main): Preheat CPU.
11763
ba853947
AJ
117642013-05-07 Aurelien Jarno <aurelien@aurel32.net>
11765
11766 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
11767
8347c74c
RM
117682013-05-07 Roland McGrath <roland@hack.frob.com>
11769
11770 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
11771 and _dl_skip_args_internal.
11772
e8dd4791
CD
117732013-05-07 Carlos O'Donell <carlos@redhat.com>
11774
11775 * manual/message.texi (Message Translation): Talk about users.
11776 Message to key mapping impacts design.
11777
c7405830
RM
117782013-05-06 Roland McGrath <roland@hack.frob.com>
11779
a9173057
RM
11780 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
11781
976e2f03
RM
11782 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
11783
9723ffc5
RM
11784 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
11785 * sysdeps/wordsize-64/glob64.c: ... here.
11786
962e6658
RM
11787 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
11788 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
11789 New macros.
11790
ee586a6d
RM
11791 * debug/getlogin_r_chk.c: Moved to ...
11792 * login/getlogin_r_chk.c: ... here.
11793 * debug/Makefile (routines): Move getlogin_r_chk to ...
11794 * login/Makefile (routines): ... here.
11795 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
11796 * login/Versions (libc: GLIBC_2.4): ... here.
11797
355f9165
RM
11798 * io/poll.c (__poll): Renamed from poll.
11799 Add libc_hidden_def.
11800 (poll): Define as weak alias.
11801
bd9ffde6
RM
11802 * debug/ptsname_r_chk.c: Moved to ...
11803 * login/ptsname_r_chk.c: ... here.
11804 * debug/Makefile (routines): Move ptsname_r_chk to ...
11805 * login/Makefile (routines): ... here.
11806 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
11807 * login/Versions (libc: GLIBC_2.4): ... here.
11808
8fb16a04
RM
11809 * posix/getlogin.c: Moved to ...
11810 * login/getlogin.c: ... here.
11811 * posix/getlogin_r.c: Moved to ...
11812 * login/getlogin_r.c: ... here.
11813 * posix/getlogin_r.c: Moved to ...
11814 * login/getlogin_r.c: ... here.
11815 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
11816 * login/Makefile (routines): ... here.
11817 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
11818 * login/Versions (libc: GLIBC_2.0): ... here.
11819
b99b892f
RM
11820 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
11821 (setrlimit): Define as weak alias.
11822
c7405830
RM
11823 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
11824 Call __ names for open, ftruncate, and close.
11825 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
11826 (truncate): Define as weak alias.
11827
5bf96de5
JM
118282013-05-06 Joseph Myers <joseph@codesourcery.com>
11829
9ea3513c
JM
11830 * math/gen-libm-test.pl (parse_args): Initialize x before each
11831 test of frexp, modf and remquo.
11832
5bf96de5
JM
11833 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
11834 test signgam value.
11835
16e616a7
AZ
118362013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11837
11838 [BZ #15418]
11839 [BZ #15419]
11840 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
11841 internal tests.
11842 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11843
d5e82754
RM
118442013-05-06 Roland McGrath <roland@hack.frob.com>
11845
11846 * elf/dl-writev.h: New file.
11847 * elf/dl-misc.c: Include it.
11848 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
11849 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
11850
a7548d41
JM
118512013-05-04 Joseph Myers <joseph@codesourcery.com>
11852
b7dab1e4
JM
11853 * math/libm-test.inc (noXFails): Remove variable.
11854 (noXPasses): Likewise.
11855 (BUILD_COMPLEX_INT): Remove macro.
11856 (print_screen): Remove xfail argument.
11857 (print_screen_max_error): Likewise.
11858 (update_stats): Likewise.
11859 (print_max_error): Likewise. Update calls to other affected
11860 functions.
11861 (print_complex_max_error): Likewise.
11862 (test_single_exception): Update calls to print_screen.
11863 (test_single_errno): Likewise.
11864 (check_float_internal): Remove xfail argument. Update calls to
11865 other affected functions.
11866 (check_float): Likewise.
11867 (check_complex): Likewise.
11868 (check_int): Likewise.
11869 (check_long): Likewise.
11870 (check_bool): Likewise.
11871 (check_longlong): Likewise.
11872 (main): Don't print noXFails and noXPasses.
11873 * math/gen-libm-test.pl (top level): Don't mention expected
11874 failure handling in comment.
11875 (new_test): Don't handle expected failures.
11876 (parse_args): Don't mention expected failure handling in comment.
11877 (generate_testfile): Don't handle expected failures.
11878 (parse_ulps): Likewise.
11879 (print_ulps_file): Likewise.
11880 (get_failure): Remove function.
11881 (output_test): Don't handle expected failures.
11882 * make/README.libm-test: Don't mention expected failure handling.
11883
a7548d41
JM
11884 * math/libm-test.inc (plus_zero): Make const. Add initializer.
11885 (minus_zero): Likewise.
11886 (plus_infty): Likewise.
11887 (minus_infty): Likewise.
11888 (qnan_value): Likewise.
11889 (max_value): Likewise.
11890 (min_value): Likewise.
11891 (min_subnorm_value): Likewise.
11892 (initialize): Do not initialize those variables dynamically.
11893
60bfd54c
RM
118942013-05-03 Roland McGrath <roland@hack.frob.com>
11895
cc0e6ed8
RM
11896 * io/open.c (__open_2): Moved to ...
11897 * io/open_2.c: ... this new file.
11898 * io/open64.c (__open64_2): Moved to ...
11899 * io/open64_2.c: ... this new file.
11900 * io/openat.c (__openat_2): Moved to ...
11901 * io/openat_2.c: ... this new file.
11902 * io/openat64.c (__openat64_2): Moved to ...
11903 * io/openat64_2.c: ... this new file.
11904 * io/Makefile (routines): Add them.
11905 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
11906 * sysdeps/unix/sysv/linux/open_2.c: File removed.
11907 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
11908 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
11909 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
11910 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
11911 (__openat64): Add hidden_ver.
11912 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
11913 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
11914
60bfd54c
RM
11915 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
11916 Separately conditionalize setting of GLRO(dl_sysinfo) so
11917 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
11918 as well, but the actual setting is only under [NEED_DL_SYSINFO].
11919
83e7640f
AZ
119202013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11921
11922 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
11923 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
11924 definition.
11925 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
11926 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11927 (_libc_vdso_platform_setup): Add __vdso_time initialization.
11928 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
11929 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
11930
d5dc2af3
JM
119312013-05-03 Joseph Myers <joseph@codesourcery.com>
11932
c31a5b1e
JM
11933 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
11934 test signgam value.
11935
d5dc2af3
JM
11936 * math/libm-test.inc (hypot_test): Do not use
11937 IGNORE_ZERO_INF_SIGN.
11938
164fd39d
AJ
119392013-05-03 Andreas Jaeger <aj@suse.de>
11940
11941 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
11942 Linux 3.9.
11943 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
11944 (PF_MAX): Adjust for VSOCK change.
11945
8237f48c
AZ
119462013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11947
11948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11949
9df02941
CD
119502013-05-02 Carlos O'Donell <carlos@redhat.com>
11951
11952 [BZ #15264]
11953 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
11954 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
11955 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
11956
d422395e
DM
119572013-05-02 David S. Miller <davem@davemloft.net>
11958
11959 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11960
a07c5731
OB
119612013-05-01 Ondřej Bílka <neleai@seznam.cz>
11962
11963 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
11964
1324e37f
RM
119652013-05-01 Roland McGrath <roland@hack.frob.com>
11966
11967 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
11968
0695940b
RS
119692013-05-01 Richard Smith <richard@metafoo.co.uk>
11970
bb5f27ad 11971 [BZ #14952]
0695940b
RS
11972 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
11973 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11974 Use __attribute__ ((__gnu_inline__)).
11975 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11976 Don't use __attribute__ ((__gnu_inline__)).
11977
10de07f5
JM
119782013-05-01 Joseph Myers <joseph@codesourcery.com>
11979
11980 [BZ #15423]
11981 * math/s_catan.c (__catan): Handle small real or imaginary part of
11982 input specially to avoid spurious underflow.
11983 * math/s_catanf.c (__catanf): Likewise.
11984 * math/s_catanh.c (__catanh): Likewise.
11985 * math/s_catanhf.c (__catanhf): Likewise.
11986 * math/s_catanhl.c (__catanhl): Likewise.
11987 * math/s_catanl.c (__catanl): Likewise.
11988 * math/libm-test.inc (catan_test): Add more tests.
11989 (catanh_test): Likewise.
11990 * sysdeps/i386/fpu/libm-test-ulps: Update.
11991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11992
cb4d5414
AZ
119932013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11994
11995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11996
caf84319
JM
119972013-04-30 Joseph Myers <joseph@codesourcery.com>
11998
11999 [BZ #15416]
12000 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
12001 accurately for denominator in atan2.
12002 * math/s_catanf.c (__catanf): Likewise.
12003 * math/s_catanh.c (__catanh): Likewise.
12004 * math/s_catanhf.c (__catanhf): Likewise.
12005 * math/s_catanhl.c (__catanhl): Likewise.
12006 * math/s_catanl.c (__catanl): Likewise.
12007 * math/libm-test.inc (catan_test): Add more tests.
12008 (catanh_test): Likewise.
12009 * sysdeps/i386/fpu/libm-test-ulps: Update.
12010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12011
d569c6ee
SP
120122013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12013
6dbe713d
SP
12014 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
12015
f0ee064b
SP
12016 * benchtests/Makefile (bench): Remove slow benchmarks.
12017 * benchtests/atan-inputs: Add slow benchmark inputs.
12018 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
12019 (BENCH_FUNC): Accept variant offset.
12020 (VARIANT): Define.
12021 * benchtests/bench-skeleton.c (main): Run benchmark for each
12022 variant.
12023 * benchtests/cos-inputs: Add slow benchmark inputs.
12024 * benchtests/exp-inputs: Likewise.
12025 * benchtests/pow-inputs: Likewise.
12026 * benchtests/sin-inputs: Likewise.
12027 * benchtests/slowatan-inputs: Remove.
12028 * benchtests/slowatan.c: Remove.
12029 * benchtests/slowcos-inputs: Remove.
12030 * benchtests/slowcos.c: Remove.
12031 * benchtests/slowexp-inputs: Remove.
12032 * benchtests/slowexp.c: Remove.
12033 * benchtests/slowpow-inputs: Remove.
12034 * benchtests/slowpow.c: Remove.
12035 * benchtests/slowsin-inputs: Remove.
12036 * benchtests/slowsin.c: Remove.
12037 * benchtests/slowtan-inputs: Remove.
12038 * benchtests/slowtan.c: Remove.
12039 * benchtests/tan-inputs: Add slow benchmark inputs.
12040 * scripts/bench.pl: Parse comments and directives.
12041
d569c6ee
SP
12042 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
12043 in CPPFLAGS.
12044 ($(objpfx)bench-%.c): Remove *-ITER.
12045 * benchtests/bench-modf.c: Remove definition of ITER.
12046 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
12047 (main): Loop for DURATION seconds instead of fixed number of
12048 iterations.
12049 * scripts/bench.pl: Don't expect iterations in parameters.
12050
a6a242fe
RM
120512013-04-29 Roland McGrath <roland@hack.frob.com>
12052
12053 * io/fchdir.c (__fchdir): Renamed from fchdir.
12054 (fchdir): Define as weak alias.
12055
f2da7793
JM
120562013-04-29 Joseph Myers <joseph@codesourcery.com>
12057
12058 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
12059 (ERRNO_EDOM): Likewise.
12060 (ERRNO_ERANGE): Likewise.
12061 (noErrnoTests): New variable.
12062 (init_max_error): Set errno to 0.
12063 (test_single_errno): New function.
12064 (test_errno): Likewise.
12065 (check_float_internal): Call test_errno. Set errno to 0.
12066 (check_complex): Refer to errno tests in comment.
12067 (check_int): Call test_errno. Set errno to 0.
12068 (check_long): Likewise.
12069 (check_bool): Likewise.
12070 (check_longlong): Likewise.
12071 (cos_test): Use ERRNO_* flags for errno tests instead of
12072 check_int.
12073 (expm1_test): Likewise.
12074 (fmod_test): Likewise.
12075 (ilogb_test): Likewise.
12076 (lgamma_test): Likewise.
12077 (pow_test): Likewise.
12078 (remainder_test): Likewise.
12079 (sin_test): Likewise.
12080 (tan_test): Likewise.
12081 (yn_test): Likewise.
12082 (initialize): Set errno to 0.
12083 (main): Print number of errno tests.
12084 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
12085
b1a36ceb
AJ
120862013-04-29 Andreas Jaeger <aj@suse.de>
12087
c3ed8088
AJ
12088 [BZ #15084]
12089 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
12090 and RES_USEVC.
12091
f1a24198
AJ
12092 [BZ #15085]
12093 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
12094 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
12095 unimplemented.
12096
9ce3b2cb
AJ
12097 [BZ #15380]
12098 * stdlib/random.c (__initstate): Return NULL if
12099 __initstate fails.
12100
f1a24198 12101 [BZ #15086]
b1a36ceb
AJ
12102 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
12103 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
12104 RES_SNGLKUPREOP.
12105
7e7b6f36
AZ
121062013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12107
12108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12109
4d14f449
JM
121102013-04-29 Joseph Myers <joseph@codesourcery.com>
12111
12112 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
12113 of individual tests.
12114 (casin_test): Likewise.
12115 (casinh_test): Likewise.
12116
5b4217d7
JM
121172013-04-27 Joseph Myers <joseph@codesourcery.com>
12118
12119 [BZ #15409]
12120 * math/s_catan.c (__catan): Handle arguments with large real or
12121 imaginary part separately without squaring.
12122 * math/s_catanf.c (__catanf): Likewise.
12123 * math/s_catanh.c (__catanh): Likewise.
12124 * math/s_catanhf.c (__catanhf): Likewise.
12125 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12126 and redefine.
12127 (__catanhl): Handle arguments with large real or imaginary part
12128 separately without squaring.
12129 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12130 and redefine.
12131 (__catanl): Handle arguments with large real or imaginary part
12132 separately without squaring.
12133 * math/libm-test.inc (catan_test): Add more tests.
12134 (catanh_test): Likewise.
12135 * sysdeps/i386/fpu/libm-test-ulps: Update.
12136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12137
4220c3ef
AJ
121382013-04-27 Andreas Jaeger <aj@suse.de>
12139
12140 [BZ #15007]
12141 * stdlib/stdlib.h: Update guards for qecvt.
12142 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
12143 <stdlib.h>.
12144
4721b2d1
AM
121452013-04-27 Allan McRae <allan@archlinux.org>
12146
12147 * sysdeps/i386/fpu/libm-test-ulps: Update.
12148
f0302940
JM
121492013-04-26 Joseph Myers <joseph@codesourcery.com>
12150
9457fd95
JM
12151 [BZ #15406]
12152 * math/s_catan.c: Include <float.h>.
12153 (__catan): Ensure underflow exception occurs for underflowed
12154 result.
12155 * math/s_catanf.c: Include <float.h>.
12156 (__catanf): Ensure underflow exception occurs for underflowed
12157 result.
12158 * math/s_catanh.c: Include <float.h>.
12159 (__catanh): Ensure underflow exception occurs for underflowed
12160 result.
12161 * math/s_catanhf.c: Include <float.h>.
12162 (__catanhf): Ensure underflow exception occurs for underflowed
12163 result.
12164 * math/s_catanhl.c: Include <float.h>.
12165 (__catanhl): Ensure underflow exception occurs for underflowed
12166 result.
12167 * math/s_catanl.c: Include <float.h>.
12168 (__catanl): Ensure underflow exception occurs for underflowed
12169 result.
12170 * math/libm-test.inc (catan_test): Add more tests.
12171 (catanh_test): Likewise.
12172
f0302940
JM
12173 [BZ #15405]
12174 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
12175 underflowed result.
12176 * math/s_ccoshf.c (__ccoshf): Likewise.
12177 * math/s_ccoshl.c (__ccoshl): Likewise.
12178 * math/s_csin.c (__csin): Likewise.
12179 * math/s_csinf.c (__csinf): Likewise.
12180 * math/s_csinh.c (__csinh): Likewise.
12181 * math/s_csinhf.c (__csinhf): Likewise.
12182 * math/s_csinhl.c (__csinhl): Likewise.
12183 * math/s_csinl.c (__csinl): Likewise.
12184 * math/libm-test.inc (ccos_test): Add more tests.
12185 (ccosh_test): Likewise.
12186 (csin_test): Likewise.
12187 (csinh_test): Likewise.
12188
aa630f59
AZ
121892013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12190
12191 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
12192 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
12193 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
12194 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
12195 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
12196 powerpc/power5+/fpu folders.
12197 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
12198
12199
1b835983
MT
122002013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12201
12202 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12203
73709b26
JM
122042013-04-25 Joseph Myers <joseph@codesourcery.com>
12205
12206 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
12207 additions to variable.
12208 [$(config-machine) = x86_64] (modules-names): Likewise.
12209 ($(objpfx)tst-audit3): Remove dependency.
12210 ($(objpfx)tst-audit3.out): Likewise.
12211 ($(objpfx)tst-audit4): Likewise.
12212 ($(objpfx)tst-audit4.out): Likewise.
12213 ($(objpfx)tst-audit5): Likewise.
12214 ($(objpfx)tst-audit5.out): Likewise.
12215 ($(objpfx)tst-audit6): Likewise.
12216 ($(objpfx)tst-audit6.out): Likewise.
12217 ($(objpfx)tst-audit7): Likewise.
12218 ($(objpfx)tst-audit7.out): Likewise.
12219 (tst-audit3-ENV): Remove variable.
12220 (tst-audit4-ENV): Likewise.
12221 (tst-audit5-ENV): Likewise.
12222 (tst-audit6-ENV): Likewise.
12223 (tst-audit7-ENV): Likewise.
12224 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
12225 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
12226 addition to variable.
12227 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
12228 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
12229 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
12230 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
12231 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
12232 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
12233 tst-audit3, tst-audit4 and tst-audit5.
12234 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
12235 tst-audit6 and tst-audit7.
12236 [$(subdir) = elf] (modules-names): Add audit modules for those
12237 tests.
12238 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
12239 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
12240 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
12241 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
12242 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
12243 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
12244 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
12245 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
12246 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
12247 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
12248 [$(subdir) = elf] (tst-audit3-ENV): New variable.
12249 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
12250 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
12251 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
12252 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
12253 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
12254 Likewise.
12255 [$(subdir) = elf && $(config-cflags-avx) = yes]
12256 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
12257 [$(subdir) = elf && $(config-cflags-avx) = yes]
12258 (CFLAGS-tst-auditmod4a.c): Likewise.
12259 [$(subdir) = elf && $(config-cflags-avx) = yes]
12260 (CFLAGS-tst-auditmod4b.c): Likewise.
12261 [$(subdir) = elf && $(config-cflags-avx) = yes]
12262 (CFLAGS-tst-auditmod6b.c): Likewise.
12263 [$(subdir) = elf && $(config-cflags-avx) = yes]
12264 (CFLAGS-tst-auditmod6c.c): Likewise.
12265 [$(subdir) = elf && $(config-cflags-avx) = yes]
12266 (CFLAGS-tst-auditmod7b.c): Likewise.
12267 * elf/tst-audit3.c: Move to ...
12268 * sysdeps/x86_64/tst-audit3.c: ... here.
12269 * elf/tst-audit4.c: Move to ...
12270 * sysdeps/x86_64/tst-audit4.c: ... here.
12271 * elf/tst-audit5.c: Move to ...
12272 * sysdeps/x86_64/tst-audit5.c: ... here.
12273 * elf/tst-audit6.c: Move to ...
12274 * sysdeps/x86_64/tst-audit6.c: ... here.
12275 * elf/tst-audit7.c: Move to ...
12276 * sysdeps/x86_64/tst-audit7.c: ... here.
12277 * elf/tst-auditmod3a.c: Move to ...
12278 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
12279 * elf/tst-auditmod3b.c: Move to ...
12280 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
12281 * elf/tst-auditmod4a.c: Move to ...
12282 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
12283 * elf/tst-auditmod4b.c: Move to ...
12284 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
12285 * elf/tst-auditmod5a.c: Move to ...
12286 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
12287 * elf/tst-auditmod5b.c: Move to ...
12288 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
12289 * elf/tst-auditmod6a.c: Move to ...
12290 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
12291 * elf/tst-auditmod6b.c: Move to ...
12292 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
12293 * elf/tst-auditmod6c.c: Move to ...
12294 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
12295 * elf/tst-auditmod7a.c: Move to ...
12296 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
12297 * elf/tst-auditmod7b.c: Move to ...
12298 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
12299
1ef74943
PP
123002013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
12301
12302 [BZ #15366]
12303 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
12304 define unconditionally.
12305 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
12306 define unconditionally.
12307 (INT8_C, INT16_C, etc.): Likewise.
12308
93fd48c5
MR
123092013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
12310
ae9552cf
MR
12311 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
12312 __ehdr_start with hidden visibility.
12313
93fd48c5
MR
12314 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
12315
418601aa
CD
123162013-04-24 Carlos O'Donell <carlos@redhat.com>
12317
12318 * math/libm-test.inc (cos_test): Use accurate hex constants.
12319 (sincost_test): Likewise.
12320
2f38fbfe
JM
123212013-04-24 Joseph Myers <joseph@codesourcery.com>
12322
5e221800
JM
12323 * math/libm-test.inc (catan_test): Add more tests.
12324 (catanh_test): Likewise.
12325
77f143fd
JM
12326 * math/s_catanf.c (__catanf): Use suffixed floating-point
12327 constants.
12328 * math/s_catanhf.c (__catanhf): Likewise.
12329 * math/s_catanhl.c (__catanhl): Likewise.
12330 * math/s_catanl.c (__catanl): Likewise.
12331
2f38fbfe
JM
12332 [BZ #15394]
12333 * math/s_catan.c (__catan): Calculate imaginary part of result
12334 with log1p not log unless computing log of number close to 0.
12335 * math/s_catanf.c (__catanf): Likewise.
12336 * math/s_catanl.c (__catanl): Likewise.
12337 * math/s_catanh.c (__catanh): Calculate real part of result with
12338 log1p not log unless computing log of number close to 0.
12339 * math/s_catanhf.c (__catanhf): Likewise.
12340 * math/s_catanhl.c (__catanhl): Likewise.
12341 * math/libm-test.inc (catan_test): Add more tests.
12342 (catanh_test): Likewise.
12343 * sysdeps/i386/fpu/libm-test-ulps: Update.
12344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12345
45d69176
SP
123462013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12347
12348 * benchtests/Makefile: Mention files in which fast and slow
12349 paths of math functions are implemented.
12350
87f51853
RM
123512013-04-23 Roland McGrath <roland@hack.frob.com>
12352
12353 * sysdeps/posix/timespec_get.c: New file.
12354
3c026539
AZ
123552013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12356
12357 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
12358 POWER.
12359 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
12360 for POWER.
12361 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
12362 powerpc/power5/fpu folders.
12363 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
12364 * benchtests/Makefile: Add modf testcase.
12365 * benchtests/bench-modf.c: New file: Benchmark test for mo
12366
ff491d14
SP
123672013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12368
12369 [BZ #14888]
12370 * time/Makefile (tests): Add tst-strptime-whitespace.
12371 * time/strptime_l.c (get_number): Use ISSPACE.
12372 (__strptime_internal): Likewise.
12373 * time/tst-strptime-whitespace.c: New test case.
12374
7ed3f4e8
AS
123752013-04-23 Andreas Schwab <schwab@linux-m68k.org>
12376
12377 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
12378 member.
12379 (_nss_files_init): Set it here.
12380
5c95f7b6
HC
123812013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
12382
12383 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
12384 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
12385 unsigned.
12386
d34c9158
JBG
123872013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
12388
12389 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
12390
2169712d
SP
123912013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12392
12393 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
12394 size just once.
12395
29c5de99
DM
123962013-04-21 David S. Miller <davem@davemloft.net>
12397
12398 * po/ru.po: Update Russion translation from translation project.
12399
ccdad15d
AC
124002013-04-17 Adam Conrad <adconrad@0c3.net>
12401
12402 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
12403 and setfsgid.
12404
0f122b8d
CD
124052013-04-17 Carlos O'Donell <carlos@redhat.com>
12406
5c5b07da 12407 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 12408 * configure: Regenerate.
5c5b07da 12409 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
12410 Add example to error message.
12411 * sysdeps/i386/configure: Regenerate.
12412
037714dd
SP
124132013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12414
12415 * benchtests/Makefile (bench): Add cos, tan, slowcos and
12416 slowtan.
12417 * benchtests/cos-inputs: New file.
12418 * benchtests/slowcos-inputs: New file.
12419 * benchtests/slowcos.c: New file.
12420 * benchtests/slowtan-inputs: New file.
12421 * benchtests/slowtan.c: New file.
12422 * benchtests/tan-inputs: New file.
12423
e913141d
RM
124242013-04-16 Roland McGrath <roland@hack.frob.com>
12425
12426 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
12427 considered kosher.
12428
a2964074
SP
124292013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12430
4856bcd2
SP
12431 * benchtests/Makefile: Include cppflags-iterator.mk to add
12432 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
12433
a2964074
SP
12434 * Makefile.in (bench-clean): New target.
12435 * benchtests/Makefile (bench-clean): Likewise.
12436
9fbf9aca
DH
124372013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
12438
12439 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
12440
207d1e2a
TS
124412013-04-15 Thomas Schwinge <thomas@codesourcery.com>
12442
12443 * stdio-common/tstdiomisc.c: Fix coding-style violation.
12444
306dfba9
AS
124452013-04-15 Andreas Schwab <schwab@suse.de>
12446
12447 * nscd/grpcache.c (cache_addgr): Properly check for short write.
12448 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12449 * nscd/pwdcache.c (cache_addpw): Likewise.
12450 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
12451 more than recsize.
12452
206a6699
SP
124532013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12454
12455 * benchtests/Makefile (bench): Write all output to
12456 bench-out.tmp together.
12457
0582f6b3
AS
124582013-04-15 Andreas Schwab <schwab@suse.de>
12459
12460 * nscd/nscd.c (main): Don't fork again after closing files.
12461
acb4325f
SP
124622013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12463
5cb26d0a
SP
12464 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
12465
acb4325f
SP
12466 * benchtests/Rules (bench-deps): Collect dependencies into a
12467 single variable. Add Makefile to dependencies.
12468 ($(objpfx)bench-%.c): Depend on bench-deps.
12469
47792506
RM
124702013-04-12 Roland McGrath <roland@hack.frob.com>
12471 Xavier Roche <roche+kml2@exalead.com>
12472
12473 [BZ #15361]
12474 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
12475 just that it's a file descriptor.
12476 * manual/llio.texi (Synchronizing AIO Operations): Update description
12477 for EBADF error from aio_fsync.
12478
8fc1bee5
SP
124792013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12480
12481 * Rules (bench): Move target definition...
12482 * benchtests/Makefile: ... here.
12483
aba5e333
CD
124842013-04-11 Carlos O'Donell <carlos@redhat.com>
12485
12486 * math/libm-test.inc (cos_test): Fix PI/2 test.
12487 (sincos_test): Likewise.
12488 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12489 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
12490
273cdee8
AS
124912013-04-11 Andreas Schwab <schwab@suse.de>
12492
6ecec3b6
AS
12493 [BZ #13988]
12494 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
12495 accept exponent character only when digits were seen.
12496 * stdio-common/Makefile (tests): Add bug26.
12497 * stdio-common/bug26.c: New file.
12498
273cdee8
AS
12499 [BZ #14293]
12500 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
12501 non-freeable.
12502
8da491f5
SP
125032013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12504
01dc6df9
SP
12505 * Makeconfig (rtld-prefix): Define built linker prefix.
12506 * Rules (run-bench): Use it.
12507 * math/Makefile (run-regen-ulps): Likewise.
12508
8da491f5
SP
12509 * Rules (bench): Remove eval.
12510
abe7f530
SP
125112013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12512 Roland McGrath <roland@hack.frob.com>
12513 Ondrej Bilka <neleai@seznam.cz>
12514
12515 [BZ #15346]
12516 * time/getdate.c: Include ctype.h and alloca.h.
12517 (__getdate_r): Trim leading and trailing spaces of input.
12518 * time/tst-getdate.c (tests): Add tests with leading and
12519 trailing spaces.
12520
61c23e62
RM
125212013-04-08 Roland McGrath <roland@hack.frob.com>
12522
12523 [BZ #14280]
12524 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
12525 when computing value.
12526
7208a313
CD
125272013-04-06 Carlos O'Donell <carlos@redhat.com>
12528
085b2d41
CD
12529 * math/README.libm-test (How can I generate "libm-test-ulps"?):
12530 Use testrun.sh to run libm tests.
12531
7208a313
CD
12532 [BZ #15309]
12533 * elf/dl-open.c (dl_open_worker): memset all of seen array.
12534
872c0acd
MM
125352013-04-06 Marko Myllynen <myllynen@redhat.com>
12536
12537 [BZ #15264]
12538 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
12539
26510bdd
CD
125402013-04-06 Carlos O'Donell <carlos@redhat.com>
12541
12542 * Makefile.in (regen-ulps): New target.
12543 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
12544 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
12545 [ifneq (no,$(PERL)] (regen-ulps): New target.
12546 [ifeq (no,$(PERL)] (regen-ulps): New target.
12547 * math/libm-test.inc (ulps_file_name): Define.
12548 (output_dir): New variable.
12549 (options): Add "output-dir" option.
12550 (parse_opt): Handle 'o' case.
12551 (main): If output_dir is non-NULL use it as a prefix
12552 otherwise use "".
12553 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
12554
a01f19c8
CD
125552013-04-06 Carlos O'Donell <carlos@redhat.com>
12556
12557 [BZ #10060, #10062]
12558 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
12559 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
12560 fail configure if __sync_val_compare_and_swap is not inlined.
12561 * sysdeps/i386/configure: Regenerate.
12562 * configure.in: Build for i686 when configured for i386.
12563 * configure: Regenerate.
12564 * README: Remove i386 reference.
12565
b7a329a5
CD
125662013-04-06 Carlos O'Donell <carlos@redhat.com>
12567
12568 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
12569 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12570
bf0f50df
TS
125712013-04-05 Thomas Schwinge <thomas@codesourcery.com>
12572
ee091edf
TS
12573 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
12574 (lmsnanval): New variables.
12575 (F): Add conversion tests.
12576 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
12577 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
12578
a8b792d6
TS
12579 * stdio-common/tstdiomisc.c (F): Properly collect individual
12580 tests' results.
12581
a1cbf437
TS
12582 [BZ #14686, #15336]
12583 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
12584 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
12585 Instead, use input NaN values or generate a qNaN by arithmetic
12586 operation. Also fix bugs to comply with the standard.
12587 * math/libm-test.inc (remainder_test): Add more tests.
12588
8b43a0c9
TS
12589 [BZ #15335, #15342]
12590 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
12591 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
12592 input NaN values or generate a qNaN by arithmetic operation.
12593
d91da4ce
TS
12594 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
12595 unreachable code.
12596
bf0f50df
TS
12597 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
12598 definitions.
12599
05e166c8
JM
126002013-04-03 Joseph Myers <joseph@codesourcery.com>
12601
12602 [BZ #14478]
12603 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
12604 underflowed result.
12605 * math/s_cexpf.c (__cexpf): Likewise.
12606 * math/s_cexpl.c (__cexpl): Likewise.
12607 * math/libm-test.inc (cexp_test): Add more tests.
12608
1cef1b19
AS
126092013-04-03 Andreas Schwab <schwab@suse.de>
12610
12611 [BZ #15330]
12612 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
12613 order arrays from heap if bigger than alloca cutoff.
12614
74d87055
TS
126152013-04-03 Thomas Schwinge <thomas@codesourcery.com>
12616
12617 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
12618 (SNAN_TESTS_double): Refer to GCC PR56831.
12619 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
12620 GCC PR56828.
12621
d755bba4
SP
126222013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12623
90d5d5bb
SP
12624 * Rules (bench): Move bench.out after the run is complete.
12625
73e0cd5d
SP
12626 * Rules (bench): Echo currently running benchmark.
12627
64aabd4b
SP
12628 * benchtests/Makefile (bench): Add atan and slowatan.
12629 * benchtests/atan-inputs: New file.
12630 * benchtests/slowatan-inputs: New file.
12631 * benchtests/slowatan.c: New file.
12632
c871eccd
SP
12633 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
12634 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
12635 its value.
12636
d755bba4
SP
12637 [BZ #15305]
12638 * sysdeps/unix/sysv/linux/kernel-features.h
12639 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
12640 __ASSUME_XFS_RESTRICTED_CHOWN.
12641 * sysdeps/unix/sysv/linux/pathconf.c
12642 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12643 Save and restore errno.
12644
52ce4860
JM
126452013-04-02 Joseph Myers <joseph@codesourcery.com>
12646
12647 [BZ #15327]
12648 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
12649 arguments using __kernel_casinh.
12650 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
12651 arguments using __kernel_casinhf.
12652 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
12653 arguments using __kernel_casinhl.
12654 * math/libm-test.inc (cacosh_test): Add more tests.
12655 * sysdeps/i386/fpu/libm-test-ulps: Update.
12656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12657
81f311c2
SP
126582013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12659
e7906a47
SP
12660 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
12661 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
12662
92e3664b
SP
12663 * bench/Makefile (bench): Add sin and slowsin.
12664 * benchtests/sin-inputs: New file.
12665 * benchtests/slowsin-inputs: New file.
12666 * benchtests/slowsin.c: New file.
12667
81f311c2
SP
12668 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
12669 (bench): Add slowexp and slowpow.
12670 (exp-ITER): Increase iterations.
12671 (pow-ITER): Likewise.
12672 * benchtests/exp-inputs: Change input.
12673 * benchtests/pow-inputs: Likewise.
12674 * benchtests/slowexp-inputs: New file.
12675 * benchtests/slowexp.c: New file.
12676 * benchtests/slowpow-inputs: New file.
12677 * benchtests/slowpow.c: New file.
12678
ab0f1aa9
AZ
126792013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12680
12681 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
12682 instructions.
12683 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12684 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
12685 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12686 * benchtests/Makefile: Add rint benchtest.
12687 * benchtests/rint-inputs: Input for rint benchtest.
12688
57267616
TS
126892013-04-02 Thomas Schwinge <thomas@codesourcery.com>
12690
12691 * Versions.def (libm): Add GLIBC_2.18.
12692 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
12693 hidden libm prototypes.
12694 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
12695 * math/Makefile (libm-calls): Add s_issignaling.
12696 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
12697 __issignalingf, __issignalingl. Adjust all libm.abilist files.
12698 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
12699 declaration.
12700 * math/math.h [__USE_GNU] (issignaling): New macro.
12701 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
12702 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
12703 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
12704 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
12705 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
12706 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
12707 * manual/arith.texi (issignaling): New section.
12708 * manual/libm-err-tab.pl (@all_functions): Update comment.
12709 * math/gen-libm-test.pl (parse_args): Apply special handling for
12710 issignaling.
12711 * math/libm-test.inc (print_float, issignaling_test): New
12712 functions.
12713 (check_float_internal): Add issignaling checks.
12714 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
12715 default definition.
12716 * sysdeps/powerpc/math-tests.h: New file.
12717 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
12718 tests.
12719 * math/test-snan.c (TEST_FUNC): Likewise.
12720
6142896d
DM
127212013-03-30 David S. Miller <davem@davemloft.net>
12722
12723 * po/de.po: Update from translation team.
12724
ccc8cadf
JM
127252013-03-30 Joseph Myers <joseph@codesourcery.com>
12726
12727 [BZ #10357]
12728 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12729 imaginary part less than 1.0 and real part less than 0.5
12730 specially.
12731 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12732 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12733 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
12734 (cacos_test): Add more tests.
12735 (casin_test): Likewise.
12736 (casinh_test): Likewise.
12737 * sysdeps/i386/fpu/libm-test-ulps: Update.
12738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12739
0f6a8d4b
SP
127402013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12741
0d1029de
SP
12742 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
12743 ONE with its value.
12744
c2d94018
SP
12745 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
12746 (__pow_mp): Replace ONE and MONE with their values.
12747 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12748 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
12749 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12750 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
12751 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12752 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12753
27ec37f1
SP
12754 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
12755
a64d7e0e
SP
12756 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
12757 (__pow_mp): Replace ZERO and MZERO with their values.
12758 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12759 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12760 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12761 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12762 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12763 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
12764 (__sqr): Likewise.
12765
d26dd3eb
SP
12766 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
12767
0f6a8d4b
SP
12768 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
12769
e57b0c61
RM
127702013-03-28 Roland McGrath <roland@hack.frob.com>
12771
12772 * include/stdlib.h [!SHARED] (__call_tls_dtors):
12773 Declare with __attribute__ ((weak)).
12774 * stdlib/exit.c (__libc_atexit) [!SHARED]:
12775 Call __call_tls_dtors only if it's not NULL.
12776
356b3480
RM
127772013-03-28 Roland McGrath <roland@hack.frob.com>
12778
288f7d79
RM
12779 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
12780 didn't do it already, then set _dl_phdr and _dl_phnum based on the
12781 magic __ehdr_start linker symbol if it's defined.
12782 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
12783 them up here if it was already done.
12784
dc0a0263
RM
12785 * elf/dl-support.c (_dl_phdr): Make pointer to const.
12786 (_dl_aux_init): Use const in cast when setting it.
12787 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
12788 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
12789 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
12790
3d3436ae
RM
12791 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
12792 Declare them here.
12793 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
12794 * csu/libc-tls.c: Nor here.
12795 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
12796
356b3480
RM
12797 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
12798 (__libc_message): Never call vsyslog.
12799
b0f1246a
AM
128002013-03-28 Alan Modra <amodra@gmail.com>
12801
12802 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
12803 Define as empty.
12804 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
12805 Likewise.
12806
fbbe2b9a
AZ
128072013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12808
12809 [BZ #15214]
12810 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
12811 underflow.
12812 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12813
1728ab37
SP
128142013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12815
7a86be6e
SP
12816 [BZ #15304]
12817 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12818 Don't add gid passed as argument.
12819
1728ab37
SP
12820 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
12821
3a7182a1
JM
128222013-03-27 Joseph Myers <joseph@codesourcery.com>
12823
12824 [BZ #15307]
12825 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12826 imaginary part between 1.0 and 1.5 and real part less than 0.5
12827 specially.
12828 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12829 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12830 * math/libm-test.inc (cacos_test): Add more tests.
12831 (casin_test): Likewise.
12832 (casinh_test): Likewise.
12833 * sysdeps/i386/fpu/libm-test-ulps: Update.
12834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12835
6f2e90e7
SP
128362013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12837
5739f705
SP
12838 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
12839 constants.
12840 (norm): Likewise.
12841 (denorm): Likewise.
12842 (__dbl_mp): Likewise.
12843 (add_magnitudes): Likewise.
12844 (sub_magnitudes): Likewise.
12845 (__add): Likewise.
12846 (__sub): Likewise.
12847 (__mul): Likewise.
12848 (__sqr): Likewise.
12849 (__inv): Likewise.
12850 (__dvd): Likewise.
12851
e375e83d
SP
12852 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
12853 commented code.
12854 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
12855 (__dubcos): Likewise.
12856 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
12857 (__ieee754_acos): Likewise.
12858 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12859 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
12860 (__exp1): Likewise.
12861 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12862 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12863 (log1): Likewise.
12864 (my_log2): Likewise.
12865 (checkint): Likewise.
12866 * sysdeps/ieee754/dbl-64/e_remainder.c
12867 (__ieee754_remainder): Likewise.
12868 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12869 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12870 (bsloww): Likewise.
12871 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12872
6f2e90e7
SP
12873 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12874 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
12875 MANTISSA_STORE_T to store computations on mantissa. Use
12876 macros for rounding and division.
12877 (denorm): Likewise.
12878 (__dbl_mp): Likewise.
12879 (add_magnitudes): Likewise.
12880 (sub_magnitudes): Likewise.
12881 (__mul): Likewise.
12882 (__sqr): Likewise.
12883 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
12884 powers of two in terms of TWOPOW macro.
12885 (mp_no): Make type of mantissa as MANTISSA_T.
12886 [!RADIXI]: Define RADIXI.
12887 [!TWO52]: Define TWO52.
12888 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12889
fce14d4e
AZ
128902013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12891
12892 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
12893 llroundl symbol when building for PPC32.
12894
9ad027fb
MW
128952013-03-24 Mark H Weaver <mhw@netris.org>
12896
12897 * manual/arith.texi (Normalization Functions): Fix prototypes for
12898 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
12899
e42a38dd
AZ
129002013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12901
12902 [BZ #13889]
12903 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
12904 high value to check if expl overflow.
12905 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
12906 to check for underflow and overflow.
12907 * math/libm-test.inc: Add exp test.
12908
2e0fb521
DL
129092013-03-21 Dmitry V. Levin <ldv@altlinux.org>
12910
12911 [BZ #11120]
12912 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
12913 with NOT_IN_libc.
12914
b5784d95
AZ
129152013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12916
12917 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
12918 symbol.
12919
5aa4a1a1
TS
129202013-03-21 Thomas Schwinge <thomas@codesourcery.com>
12921
bdef0be7
TS
12922 * math/gen-libm-test.pl (parse_args, special_functions): Properly
12923 wrap blocks consisting of several statements.
12924
5aa4a1a1
TS
12925 * sysdeps/generic/math-tests.h: New file.
12926 * sysdeps/i386/fpu/math-tests.h: Likewise.
12927 * math/test-snan.c: Include it.
12928 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
12929
98c48fe5
JM
129302013-03-21 Joseph Myers <joseph@codesourcery.com>
12931
12932 [BZ #15285]
12933 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
12934 (__ieee754_j0l): Do not improve calculations using cos of twice
12935 input for inputs above LDBL_MAX / 2.0L.
12936 (__ieee754_y0l): Likewise.
12937 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
12938 (__ieee754_j1l): Do not improve calculations using cos of twice
12939 input for inputs above LDBL_MAX / 2.0L.
12940 (__ieee754_y1l): Likewise.
12941 * math/libm-test.inc (j0_test): Add another test.
12942 (j1_test): Likewise.
12943 (y0_test): Likewise.
12944 (y1_test): Likewise.
12945 * sysdeps/i386/fpu/libm-test-ulps: Update.
12946
3775a8bc
SP
129472013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12948
12949 * Rules ($(objpfx)bench-%.c): Include code from a C source
12950 file.
12951
0a1b2ae6
JM
129522013-03-21 Joseph Myers <joseph@codesourcery.com>
12953
12954 [BZ #15287]
12955 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12956 imaginary part 1.0 and real part less than 0.5 specially.
12957 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12958 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12959 * math/libm-test.inc (cacos_test): Add more tests.
12960 (casin_test): Likewise.
12961 (casinh_test): Likewise.
12962 * sysdeps/i386/fpu/libm-test-ulps: Update.
12963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12964
b33d4ce4
SP
129652013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12966
12967 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
12968 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
12969
bef0b507
JM
129702013-03-20 Joseph Myers <joseph@codesourcery.com>
12971
12972 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
12973 * config.make.in (config-cflags-sse4): Remove variable.
12974 (config-cflags-avx): Likewise.
12975 (config-cflags-sse2avx): Likewise.
12976 (config-cflags-novzeroupper): Likewise.
12977 (config-asflags-i686): Likewise.
12978 (have-mfma4): Likewise.
12979 (have-as-vis3): Likewise.
12980 (MIG): Likewise.
12981 * configure.in (MIG): Do not AC_SUBST.
12982 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
12983 (libc_cv_cc_sse4): Do not AC_SUBST.
12984 (libc_cv_cc_avx): Likewise.
12985 (libc_cv_cc_sse2avx): Likewise.
12986 (libc_cv_cc_novzeroupper): Likewise.
12987 (libc_cv_cc_fma4): Likewise.
12988 (libc_cv_as_i686): Likewise.
12989 (libc_cv_sparc_as_vis3): Likewise.
12990 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
12991 LIBC_CONFIG_VAR.
12992 (config-asflags-i686): Likewise.
12993 (config-cflags-avx): Likewise.
12994 (config-cflags-sse2avx): Likewise.
12995 (have-mfma4): Likewise.
12996 (config-cflags-novzeroupper): Likewise.
12997 * sysdeps/mach/configure.in (MIG): Likewise.
12998 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
12999 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
13000 LIBC_CONFIG_VAR.
13001 (config-cflags-avx): Likewise.
13002 (config-cflags-sse2avx): Likewise.
13003 (have-mfma4): Likewise.
13004 (config-cflags-novzeroupper): Likewise.
13005 * configure: Regenerated.
13006 * sysdeps/i386/configure: Likewise.
13007 * sysdeps/mach/configure: Likewise.
13008 * sysdeps/sparc/configure: Likewise.
13009 * sysdeps/x86_64/configure: Likewise.
13010
912cc4b3
RM
130112013-03-20 Roland McGrath <roland@hack.frob.com>
13012
13013 [BZ #14812]
13014 * locale/programs/localedef.c (options): Put N_ translation marker
13015 on argument names, not just descriptions.
13016
04eed2b0
MS
130172013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13018
13019 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
13020
a065ceff
OB
130212013-03-20 Ondřej Bílka <neleai@seznam.cz>
13022
9bb2a810 13023 [BZ #14176]
a065ceff
OB
13024 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
13025
a600e5ce
RM
130262013-03-19 Roland McGrath <roland@hack.frob.com>
13027
13028 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
13029 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
13030 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
13031 [!BEFORE_ABORT] (before_abort): New function.
13032 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
13033 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
13034 (writev_for_fatal): New function.
13035 (WRITEV_FOR_FATAL): New macro; call that.
13036 (backtrace_and_maps): New function.
13037 (BEFORE_ABORT): New macro; call that.
13038 (struct str_list): Type removed.
13039 (__libc_message, __libc_fatal): Functions removed.
13040 Include <sysdeps/posix/libc_fatal.c> instead.
13041
6b18bea6
JM
130422013-03-19 Joseph Myers <joseph@codesourcery.com>
13043
13044 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
13045 constants.
13046 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
13047 double constants.
13048
aaa8cb4b
AS
130492013-03-19 Andreas Schwab <schwab@suse.de>
13050
44673770
AS
13051 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
13052 * sysdeps/gnu/configure: Regenerate.
13053
aaa8cb4b
AS
13054 * configure.in: Substitute libc_cv_rtlddir.
13055 * configure: Regenerate.
13056 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
13057 * Makeconfig (rtlddir, inst_rtlddir): New variables.
13058 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
13059 * elf/Makefile (install-others, CFLAGS-interp.c)
13060 (ldso_install, common-ldd-rewrite): Likewise.
13061 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
13062 $(inst_slibdir)/$(rtld-installed-name).
13063 * scripts/rellns-sh: Add -p option.
13064 * Makerules (make-shlib-link): Use rellns-sh to get relative name
13065 for source.
13066
d3cfc668
SP
130672013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13068
13069 * manual/nptl.texi: Renamed to ...
13070 * manual/threads.texi: ... this.
13071 * manual/Makefile (chapters): Update.
13072
0e2b9cdd
RM
130732013-03-18 Roland McGrath <roland@hack.frob.com>
13074
13075 [BZ #14812]
13076 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
13077 on argument names, not just descriptions.
0e2b9cdd
RM
13078 * malloc/memusagestat.c (options): Likewise.
13079 * nss/getent.c (options): Likewise.
63270c24
RM
13080
130812013-03-18 Benno Schulenberg <bensberg@justemail.net>
13082
13083 [BZ #14812]
13084 * iconv/iconv_prog.c (options): Put N_ translation marker
13085 on argument names, not just descriptions.
13086 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 13087
b2e1393c
OB
130882013-03-18 Ondrej Bilka <neleai@seznam.cz>
13089
13090 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
13091 implementation which is faster on all x86_64 architectures.
13092 Tested on AMD, Intel Nehalem, SNB, IVB.
13093 * sysdeps/x86_64/strnlen.S: Likewise.
13094
13095 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13096 Remove all multiarch strlen and strnlen versions.
13097 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13098 Remove strlen and strnlen related parts.
13099
13100 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
13101 Inline strlen part.
13102 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
13103
13104 * sysdeps/x86_64/multiarch/strlen.S: Remove.
13105 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
13106 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
13107 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
13108 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13109 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
13110
ec4ff04d
CD
131112013-03-17 Carlos O'Donell <carlos@redhat.com>
13112
13113 * manual/memory.texi (Malloc Tunable Parameters):
13114 Sort parameters alphabetically. Add comments for missing entries.
13115
cd18e90a
DM
131162013-03-17 David S. Miller <davem@davemloft.net>
13117
13118 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13119
2a185d32
JM
131202013-03-16 Joseph Myers <joseph@codesourcery.com>
13121
d2f9799e
JM
13122 [BZ #15283]
13123 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
13124 for arguments at most half maximum finite value.
13125 * math/libm-test.inc (j0_test): Add more tests.
13126 (j1_test): Likewise.
13127 (y0_test): Likewise.
13128 (y1_test): Likewise.
13129 * sysdeps/i386/fpu/libm-test-ulps: Update.
13130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13131
2a185d32
JM
13132 [BZ #14155]
13133 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
13134 1 / x and functions P and Q for arguments above 0x1p256L.
13135 (__ieee754_y0l): Likewise.
13136 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13137 (__ieee754_y1l): Likewise.
13138 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
13139 (j1_test): Likewise.
13140 (y0_test): Likewise.
13141 (y1_test): Likewise.
13142
6cbec759
TS
131432013-03-16 Thomas Schwinge <thomas@codesourcery.com>
13144
13145 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
13146 variable.
13147
bc16e260
RM
131482013-03-15 Roland McGrath <roland@hack.frob.com>
13149
aefc9b8c
RM
13150 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
13151 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
13152 zero since it's initialized to EXEC_PAGESIZE.
13153
bc16e260
RM
13154 * sysdeps/unix/sysv/linux/ldsodefs.h
13155 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
13156 * sysdeps/generic/ldsodefs.h: ... here.
13157
a57da955
TS
131582013-03-15 Thomas Schwinge <thomas@codesourcery.com>
13159
af00a34d
TS
13160 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
13161
495ded2c
TS
13162 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
13163 math/test-snan.c.
13164 * math/test-snan.c: Renamed from
13165 sysdeps/powerpc/fpu/test-powerpc-snan.c.
13166 * math/Makefile (tests): Add test-snan.
13167 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
13168 test-powerpc-snan.
13169
777b0332
TS
13170 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
13171 SUFFIX. Initialize qNaN_var with __builtin_nan family of
13172 functions.
13173 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
13174 __builtin_nan family of functions.
13175 * math/libm-test.inc (initialize): Initialize qnan_value with
13176 __builtin_nan family of functions.
13177 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
13178 Remove variables.
13179 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
13180 Remove functions.
13181 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
13182 storage class. Initialize qNaN_var and sNaN_var with
13183 __builtin_nan and __builtin_nans families of functions,
13184 respectively.
13185
64d063b8
TS
13186 * math/libm-test.inc (acosh_test): Also test with qNaN input.
13187 (sqrt_test): Remove duplicate test with qNaN input.
13188 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
13189 (round_test, signbit_test, significand_test): Note missing +/-Inf
13190 as well as qNaN tests.
13191
67e971f1
TS
13192 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
13193 qNaN_var. Fix a few strings, too.
13194 * math/libm-test.inc (nan_value): Rename to qnan_value.
13195 * math/gen-libm-test.pl (%beautify): Adjust to that.
13196 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
13197 * math/test-misc.c (main): Likewise.
13198 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
13199 to __qnan_bytes, and __qnan_union, respectively.
13200 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
13201 Likewise.
13202 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
13203 and lqnanval, respectively.
13204 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
13205 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
13206 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
13207 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
13208
64487e12
TS
13209 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
13210 * math/test-misc.c (main) [__x86_64__]: Enable test for long
13211 doubles.
13212
e015e27b
TS
13213 * math/test-misc.c (main): Fix copy'n'pastos.
13214 * misc/tst-efgcvt.c (special): Likewise.
13215
a57da955
TS
13216 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
13217 Remove declarations.
13218
1e380345
SP
132192013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13220
13221 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
13222 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
13223 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
13224 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
13225
ef26eece
AZ
132262013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13227
13228 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
13229 macro to return vdso values correctly in IFUNC implementations.
13230 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13231 Optimization by using IFUNC.
13232
8cfdb7e0
SP
132332013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13234 Richard Henderson <rth@redhat.com>
13235 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13236
13237 * Makefile.in (bench): New target.
13238 * NEWS: Mention the benchmark framework.
13239 * Rules (bench): Likewise.
13240 (binaries-bench): Generate binaries for functions to
13241 benchmark.
13242 * benchtests/Makefile: New makefile for benchmark tests.
13243 * benchtests/bench-skeleton.c: New skeleton file for benchmark
13244 programs.
13245 * benchtests/exp-inputs: New input file for EXP function.
13246 * benchtests/pow-inputs: New input file for POW function.
13247 * scripts/bench.pl: New script to generate source files for
13248 benchmark programs.
13249
bcda9880
SP
132502013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13251
d22ca8cd
SP
13252 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
13253 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
13254 computations on mantissa. Use macros for rounding and
13255 division.
13256 (denorm): Likewise.
13257 (__dbl_mp): Likewise.
13258 (add_magnitudes): Likewise.
13259 (sub_magnitudes): Likewise.
13260 (__mul): Likewise.
13261 (__sqr): Likewise.
13262 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
13263 powers of two in terms of TWOPOW macro.
13264 (mp_no): Make type of mantissa as MANTISSA_T.
13265 [!RADIXI]: Define RADIXI.
13266 [!TWO52]: Define TWO52.
13267 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
13268
bcda9880
SP
13269 * manual/nptl.texi (cindex): Modify threads to pthreads.
13270
06d5adfb
JM
132712013-03-15 Joseph Myers <joseph@codesourcery.com>
13272
13273 * sysdeps/x86_64/preconfigure: Regenerated.
13274
41c7328e
JM
132752013-03-14 Joseph Myers <joseph@codesourcery.com>
13276
13277 [BZ #14155]
13278 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
13279 0x1p28 and above.
13280 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
13281 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
13282 0x1p28 and above.
13283 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
13284 * math/libm-test.inc (j0_test): Do not allow one spurious
13285 underflow exception.
13286 (y1_test): Likewise.
13287
e25cfa60
SP
132882013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13289
0409959c
SP
13290 * manual/Makefile (chapters): Add nptl.
13291 * manual/debug.texi (Debugging Support): Add link to Threads
13292 chapter.
13293 * manual/nptl.texi: New file.
13294
e25cfa60
SP
13295 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
13296
58a1335e
PB
132972013-03-14 Petr Baudis <pasky@ucw.cz>
13298
13299 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
13300 for non-NULL pointer before the memory validity test. Pointed
13301 out by Holger Brunck <holger.brunck@keymile.com>.
13302
9dc7c64f
AS
133032013-03-13 Andreas Schwab <schwab@suse.de>
13304
13305 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
13306 instead of .os.
13307
54206aa6
JM
133082013-03-13 Joseph Myers <joseph@codesourcery.com>
13309
13310 * timezone/zic.c: Update from tzcode 2013b.
13311
e98cdb38
CD
133122013-03-12 Carlos O'Donell <carlos@redhat.com>
13313
13314 * manual/install.texi (Configuring and compiling):
13315 Mention i686 and i586.
13316 * INSTALL: Regenerate.
13317
9967e003
RM
133182013-03-12 Roland McGrath <roland@hack.frob.com>
13319
13320 * sysdeps/init_array/elf-init.c: New file.
13321 * csu/elf-init.c
13322 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
13323 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
13324
13325 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
13326 __gmon_start__ as global, but as static with a .preinit_array pointer.
13327 * sysdeps/init_array/gmon-start.c: New file. Use that.
13328 * sysdeps/init_array/crti.S: New file, empty except for comments.
13329 * sysdeps/init_array/crtn.S: Likewise.
13330
e6b5a293 133312013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
13332
13333 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
13334 definining bcopy.
80f844c9
OB
13335 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13336 Remove Prefer_SSE_for_memop.
13337 * sysdeps/x86_64/multiarch/init-arch.h: Remove
13338 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
13339 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
13340 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13341 memset-x86-64.
80f844c9 13342 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 13343 Remove bzero, memset ifunc support.
80f844c9
OB
13344 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
13345 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
13346 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13347 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13348
fb6b0fcb
AS
133492013-03-11 Andreas Schwab <schwab@suse.de>
13350
13351 [BZ #15234]
13352 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
13353 by SHLIB_COMPAT.
13354 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
13355 (GLIBC_2.16): Remove pthread_atfork.
13356
3e6bd4b1
PP
133572013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
13358
13359 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
13360 (ptestcases.h): Likewise.
13361
222d7f00
RM
133622013-03-08 Roland McGrath <roland@hack.frob.com>
13363
13364 * Makeconfig ($(common-objpfx)config.status): Depend on
13365 sysdeps/*/preconfigure{,.in} too.
13366
1ba4f030
JM
133672013-03-08 Joseph Myers <joseph@codesourcery.com>
13368
a222d91a
JM
13369 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
13370 (__free_hook): Use void * instead of __malloc_ptr_t.
13371 (__malloc_hook): Likewise.
13372 (__realloc_hook): Likewise.
13373 (__memalign_hook): Likewise.
13374 (__after_morecore_hook): Likewise.
13375 * malloc/arena.c (save_malloc_hook): Likewise.
13376 (save_free_hook): Likewise.
13377 * malloc/hooks.c (malloc_hook_ini): Likewise.
13378 (realloc_hook_ini): Likewise.
13379 (memalign_hook_ini): Likewise.
13380 * malloc/malloc.c (malloc_hook_ini): Likewise.
13381 (realloc_hook_ini): Likewise.
13382 (memalign_hook_ini): Likewise.
13383 (__free_hook): Likewise.
13384 (__malloc_hook): Likewise.
13385 (__realloc_hook): Likewise.
13386 (__memalign_hook): Likewise.
13387 (__libc_malloc): Likewise.
13388 (__libc_free): Likewise.
13389 (__libc_realloc): Likewise.
13390 (__libc_memalign): Likewise.
13391 (__libc_valloc): Likewise.
13392 (__libc_pvalloc): Likewise.
13393 (__libc_calloc): Likewise.
13394 (__posix_memalign): Likewise.
13395 * malloc/morecore.c (__sbrk): Likewise.
13396 (__default_morecore): Likewise.
13397
5cc45e10
JM
13398 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
13399
dd54b864
JM
13400 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
13401 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
13402 __malloc_ptrdiff_t.
13403
1ba4f030
JM
13404 * malloc/malloc.h (__malloc_size_t): Remove macro.
13405 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
13406 __malloc_size_t.
13407 (old_memalign_hook): Likewise.
13408 (old_realloc_hook): Likewise.
13409 (struct hdr): Likewise.
13410 (flood): Likewise.
13411 (mallochook): Likewise.
13412 (memalignhook): Likewise.
13413 (reallochook): Likewise.
13414 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
13415 (tr_old_realloc_hook): Likewise.
13416 (tr_old_memalign_hook): Likewise.
13417 (tr_mallochook): Likewise.
13418 (tr_reallochook): Likewise.
13419 (tr_memalignhook): Likewise.
13420
edf66e57
AZ
134212013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13422
13423 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
13424 default_ldbl_pack and using as default implementation.
13425 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
13426 implementation.
13427 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
13428 redundant definition.
13429 (ldbl_insert_mantissa): Likewise.
13430 (ldbl_canonicalize): Likewise.
13431 (ldbl_nearbyint): Likewise.
13432 (ldbl_pack): Rename to ldbl_pack_ppc.
13433 (ldbl_unpack): Rename to ldbl_unpack_ppc.
13434 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
13435 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
13436
6d9145d8
SP
134372013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13438
13439 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
13440 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
13441 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
13442 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
13443 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
13444 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
13445 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
13446 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
13447
4dd4e157
AJ
134482013-03-07 Andreas Jaeger <aj@suse.de>
13449
13450 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13451 bits/mman-linux.h.
13452
adbb8027
SP
134532013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13454
ce544b5b
SP
13455 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
13456 Include mpa.h and declare __MPEXP.
13457 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
13458 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13459 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13460 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
13461 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13462 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13463 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
13464
4cc149fd
SP
13465 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
13466 (__slowpow): Use long double EXPL and LOGL functions to
13467 compute POW.
13468 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13469 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13470 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
13471 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13472 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13473 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
13474
e6ebd4a7
SP
13475 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
13476 intermediate variable to calculate exponent.
13477 (__sqr): Likewise.
13478 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13479 Likewise.
13480 (__sqr): Likewise.
13481
82a9811d
SP
13482 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
13483 [!NO__SQR]: Define __sqr.
13484 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
13485 and NO__SQR. Remove all code except __mul and __sqr. Include
13486 sysdeps/ieee754/dbl-64/mpa.c.
13487 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13488
adbb8027
SP
13489 [BZ #12723]
13490 * posix/Makefile (tests): Add tst-pathconf.
13491 * posix/tst-pathconf.c: New test case.
13492 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
13493 _PC_PIPE_BUF.
13494 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
13495
39120df9
PF
134962013-03-06 Patsy Franklin <pfrankli@redhat.com>
13497
13498 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
13499
67525cb8
AJ
135002013-03-06 Andreas Jaeger <aj@suse.de>
13501
664a9ce4
AJ
13502 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
13503 definition via __MAP_ANONYMOUS.
13504
8e39047d
AJ
13505 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
13506 it's not part of Linux headers.
13507
67525cb8
AJ
13508 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
13509 (MAP_HUGE_MASK): Define.
13510
13511 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13512 Define.
13513 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13514 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13515 Define.
13516 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13517 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13518 Define.
13519 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13520 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
13521 Define.
13522 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13523
13524 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
13525 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
13526 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
13527 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
13528 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
13529 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
13530
13531 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13532 Handle f2fs.
13533
13534 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13535 Handle f2fs and efivarfs.
13536
13537 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
13538 f2fs.
13539
13540 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
13541 (EFIVARFS_MAGIC): Add.
13542 (F2FS_LINK_MAX): Add.
13543
e1b42695
PP
135442013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13545
13546 * stdio-common/vfprintf.c: Replace __builtin_expect with
13547 __glibc_unlikely.
13548
2d67d91a
JM
135492013-03-06 Joseph Myers <joseph@codesourcery.com>
13550
13551 [BZ #13550]
13552 * sysdeps/generic/bp-sym.h: Remove file.
13553 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
13554 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
13555 <bp-sym.h> and <bp-asm.h>.
13556 (__longjmp): Don't use BP_SYM.
13557 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
13558 and <bp-asm.h>.
13559 (memcpy): Don't use BP_SYM.
13560 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
13561 <bp-sym.h> and <bp-asm.h>.
13562 (memcpy): Don't use BP_SYM.
13563 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
13564 <bp-asm.h>.
13565 (memcpy): Don't use BP_SYM.
13566 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
13567 <bp-asm.h>.
13568 (memset): Don't use BP_SYM.
13569 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13570 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13571 (__bzero): Don't use BP_SYM.
13572 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13573 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13574 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
13575 <bp-sym.h> and <bp-asm.h>.
13576 (memcmp): Don't use BP_SYM. Remove comment about bounded
13577 pointers.
13578 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
13579 <bp-sym.h> and <bp-asm.h>.
13580 (memcpy): Don't use BP_SYM.
13581 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
13582 <bp-sym.h> and <bp-asm.h>.
13583 (memset): Don't use BP_SYM.
13584 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13585 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13586 (__bzero): Don't use BP_SYM.
13587 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13588 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13589 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
13590 <bp-sym.h> and <bp-asm.h>.
13591 (strncmp): Don't use BP_SYM. Remove comment about bounded
13592 pointers.
13593 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
13594 <bp-sym.h> and <bp-asm.h>.
13595 (memcpy): Don't use BP_SYM.
13596 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
13597 <bp-sym.h> and <bp-asm.h>.
13598 (memset): Don't use BP_SYM.
13599 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13600 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13601 (__bzero): Don't use BP_SYM.
13602 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13603 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13604 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
13605 <bp-sym.h> and <bp-asm.h>.
13606 (__memchr): Don't use BP_SYM.
13607 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
13608 <bp-sym.h> and <bp-asm.h>.
13609 (memcmp): Don't use BP_SYM. Remove comment about bounded
13610 pointers.
13611 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
13612 <bp-sym.h> and <bp-asm.h>.
13613 (memcpy): Don't use BP_SYM.
13614 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
13615 <bp-sym.h> and <bp-asm.h>.
13616 (__mempcpy): Don't use BP_SYM.
13617 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
13618 <bp-sym.h> and <bp-asm.h>.
13619 (__memrchr): Don't use BP_SYM.
13620 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
13621 <bp-sym.h> and <bp-asm.h>.
13622 (memset): Don't use BP_SYM.
13623 (__bzero): Likewise.
13624 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
13625 <bp-sym.h> and <bp-asm.h>.
13626 (__rawmemchr): Don't use BP_SYM.
13627 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
13628 <bp-sym.h> and <bp-asm.h>.
13629 (__STRCMP): Don't use BP_SYM.
13630 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
13631 <bp-sym.h> and <bp-asm.h>.
13632 (strchr): Don't use BP_SYM.
13633 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
13634 <bp-sym.h> and <bp-asm.h>.
13635 (__strchrnul): Don't use BP_SYM.
13636 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
13637 <bp-sym.h> and <bp-asm.h>.
13638 (strlen): Don't use BP_SYM.
13639 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
13640 <bp-sym.h> and <bp-asm.h>.
13641 (strncmp): Don't use BP_SYM. Remove comment about bounded
13642 pointers.
13643 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
13644 <bp-sym.h> and <bp-asm.h>.
13645 (__strnlen): Don't use BP_SYM.
13646 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
13647 <bp-sym.h> and <bp-asm.h>.
13648 (__GI__setjmp): Don't use BP_SYM.
13649 (_setjmp): Likewise.
13650 (__sigsetjmp): Likewise.
13651 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
13652 (L(start_addresses)): Don't use BP_SYM.
13653 (_start): Likewise.
13654 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
13655 <bp-asm.h>.
13656 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
13657 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
13658 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13659 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13660 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
13661 <bp-asm.h>.
13662 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
13663 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
13664 about bounded pointers.
13665 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13666 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13667 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
13668 <bp-asm.h>.
13669 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13670 about bounded pointers. Remove GKM FIXME comments.
13671 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13672 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
13673 <bp-asm.h>.
13674 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
13675 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
13676 Remove GKM FIXME comments.
13677 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13678 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13679 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
13680 <bp-asm.h>.
13681 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13682 about bounded pointers. Remove GKM FIXME comment.
13683 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
13684 and <bp-asm.h>.
13685 (strncmp): Don't use BP_SYM. Remove comment about bounded
13686 pointers.
13687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
13688 <bp-sym.h> and <bp-asm.h>.
13689 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
13691 <bp-sym.h> and <bp-asm.h>.
13692 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13693 comment.
13694
cdcf361f
PP
136952013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13696
13697 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
13698 call free(NULL).
13699
3c4a2b15
DM
137002013-03-05 David S. Miller <davem@davemloft.net>
13701
13702 * po/es.po: Update from translation team.
13703
cdcf361f 137042013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
13705
13706 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
13707 <bits/mman-linux.h>.
13708 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13709 is fine.
13710 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
13711 <bits/mman-linux.h> to end of file.
13712 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13713 is fine.
13714 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
13715 <bits/mman-linux.h> to end of file.
13716 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13717 is fine.
13718 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
13719 <bits/mman-linux.h> to end of file.
13720
13721 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
13722 (MCL_CURRENT, MCL_FUTURE): Define here.
13723
5f67c04f
AK
137242013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13725
8a4473cc 13726 [BZ #15232]
5f67c04f
AK
13727 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
13728 attribute_hidden.
13729 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13730
c3e94a95
AK
137312013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13732
13733 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
13734 fourth parameter needed for rt_sigprocmask syscall.
13735 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13736 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13737 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
13738 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13739 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13740 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
13741
cfb6382a
JM
137422013-03-04 Joseph Myers <joseph@codesourcery.com>
13743
13744 [BZ #13550]
13745 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
13746 comment about bounded pointers.
13747 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
13748 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
13749
539d8e01
AJ
137502013-03-04 Andreas Jaeger <aj@suse.de>
13751
13752 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
13753 common definitions.
13754
13755 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
13756 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
13757 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
13758 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13759 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
13760 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13761
2e167a70 137622013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
13763
13764 [BZ #15055]
13765 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
13766 __ieee754_sqrl instead of __sqrl.
13767
68508633
JM
137682013-03-01 Joseph Myers <joseph@codesourcery.com>
13769
13770 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
13771 * sysdeps/powerpc/fpu_control.h: ... here.
13772 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
13773 * sysdeps/powerpc/bits/fenvinline.h: ... here.
13774 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
13775 * sysdeps/powerpc/bits/mathinline.h: ... here.
13776
7775448e
RM
137772013-03-01 Roland McGrath <roland@hack.frob.com>
13778
13779 * elf/dl-hwcaps.c (_dl_important_hwcaps):
13780 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
13781 to just [NEED_DL_SYSINFO_DSO].
13782 * elf/dl-support.c: Likewise.
13783 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13784 * elf/rtld.c (dl_main): Likewise.
13785 * elf/setup-vdso.h (setup_vdso): Likewise.
13786 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
13787 * sysdeps/unix/sysv/linux/dl-sysdep.c
13788 (_dl_discover_osversion): Likewise.
13789
4e9b5995
CD
137902013-03-01 Carlos O'Donell <carlos@redhat.com>
13791
13792 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
13793 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13794
e23872c8
SP
137952013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13796
e5c74c63
SP
13797 * NEWS: Mention libm performance improvements and non-x86 PI
13798 futex support.
13799
e23872c8
SP
13800 * csu/libc-start.c (__pthread_initialize_minimal): Change
13801 function arguments.
13802 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13803
b5510883
JM
138042013-02-28 Joseph Myers <joseph@codesourcery.com>
13805
13806 [BZ #13550]
13807 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
13808 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
13809 <bp-sym.h> and <bp-asm.h>.
13810 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13811 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
13812 and <bp-asm.h>.
13813 (memcpy): Don't use BP_SYM.
13814 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
13815 <bp-asm.h>.
13816 (__mpn_add_n): Don't use BP_SYM.
13817 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
13818 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
13819 and <bp-asm.h>.
13820 (__mpn_addmul_1): Don't use BP_SYM.
13821 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13822 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
13823 <bp-sym.h>.
13824 (_setjmp): Don't use BP_SYM.
13825 (__novmx_setjmp): Likewise.
13826 (__GI__setjmp): Likewise.
13827 (__vmx_setjmp): Likewise.
13828 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
13829 <bp-sym.h>.
13830 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
13831 (__bzero): Don't use BP_SYM.
13832 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13833 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13834 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
13835 <bp-sym.h> and <bp-asm.h>.
13836 (memcpy): Don't use BP_SYM.
13837 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
13838 <bp-sym.h> and <bp-asm.h>.
13839 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13840 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
13841 <bp-sym.h> and <bp-asm.h>.
13842 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13843 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
13844 <bp-asm.h>.
13845 (__mpn_lshift): Don't use BP_SYM.
13846 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13847 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
13848 <bp-asm.h>.
13849 (memset): Don't use BP_SYM.
13850 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13851 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13852 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
13853 <bp-asm.h>.
13854 (__mpn_mul_1): Don't use BP_SYM.
13855 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13856 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
13857 <bp-sym.h> and <bp-asm.h>.
13858 (memcmp): Don't use BP_SYM.
13859 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
13860 <bp-sym.h> and <bp-asm.h>.
13861 (memcpy): Don't use BP_SYM.
13862 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
13863 <bp-sym.h> and <bp-asm.h>.
13864 (memset): Don't use BP_SYM.
13865 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
13866 <bp-sym.h> and <bp-asm.h>.
13867 (strncmp): Don't use BP_SYM.
13868 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
13869 <bp-sym.h> and <bp-asm.h>.
13870 (memcpy): Don't use BP_SYM.
13871 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
13872 <bp-sym.h> and <bp-asm.h>.
13873 (memset): Don't use BP_SYM.
13874 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
13875 <bp-sym.h> and <bp-asm.h>.
13876 (__memchr): Don't use BP_SYM.
13877 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
13878 <bp-sym.h> and <bp-asm.h>.
13879 (memcmp): Don't use BP_SYM.
13880 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
13881 <bp-sym.h> and <bp-asm.h>.
13882 (memcpy): Don't use BP_SYM.
13883 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
13884 <bp-sym.h> and <bp-asm.h>.
13885 (__mempcpy): Don't use BP_SYM.
13886 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
13887 <bp-sym.h> and <bp-asm.h>.
13888 (__memrchr): Don't use BP_SYM.
13889 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
13890 <bp-sym.h> and <bp-asm.h>.
13891 (memset): Don't use BP_SYM.
13892 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
13893 <bp-sym.h> and <bp-asm.h>.
13894 (__rawmemchr): Don't use BP_SYM.
13895 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
13896 <bp-sym.h> and <bp-asm.h>.
13897 (__STRCMP): Don't use BP_SYM.
13898 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
13899 <bp-sym.h> and <bp-asm.h>.
13900 (strchr): Don't use BP_SYM.
13901 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
13902 <bp-sym.h> and <bp-asm.h>.
13903 (__strchrnul): Don't use BP_SYM.
13904 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
13905 <bp-sym.h> and <bp-asm.h>.
13906 (strlen): Don't use BP_SYM.
13907 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
13908 <bp-sym.h> and <bp-asm.h>.
13909 (strncmp): Don't use BP_SYM.
13910 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
13911 <bp-sym.h> and <bp-asm.h>.
13912 (__strnlen): Don't use BP_SYM.
13913 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
13914 <bp-asm.h>.
13915 (__mpn_rshift): Don't use BP_SYM.
13916 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13917 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
13918 <bp-sym.h> and <bp-asm.h>.
13919 (__sigsetjmp): Don't use BP_SYM.
13920 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
13921 (L(start_addresses)): Don't use BP_SYM.
13922 (_start): Likewise.
13923 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
13924 <bp-asm.h>.
13925 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
13926 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13927 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13928 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
13929 <bp-asm.h>.
13930 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
13931 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13932 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13933 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
13934 <bp-asm.h>.
13935 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13936 comments.
13937 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13938 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
13939 <bp-asm.h>.
13940 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
13941 FIXME comments.
13942 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13943 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13944 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
13945 <bp-asm.h>.
13946 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13947 comment.
13948 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
13949 and <bp-asm.h>.
13950 (strncmp): Don't use BP_SYM,
13951 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
13952 <bp-asm.h>.
13953 (__mpn_sub_n): Don't use BP_SYM.
13954 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13955 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
13956 and <bp-asm.h>.
13957 (__mpn_submul_1): Don't use BP_SYM.
13958 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
13960 <bp-sym.h> and <bp-asm.h>.
13961 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
13963 <bp-sym.h> and <bp-asm.h>.
13964 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13965 comment.
13966
8d19fe64
SP
139672013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13968
13969 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
13970 Use ZK to minimize writes to Z.
13971 (sub_magnitudes): Simplify code a bit.
13972 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
13973 Use ZK to minimize writes to Z.
13974 (sub_magnitudes): Simplify code a bit.
13975
85bd816a
RM
139762013-02-27 Roland McGrath <roland@hack.frob.com>
13977
13978 * csu/gmon-start.c: Add special exception to license text.
13979
b5977bf2
RH
139802013-02-27 Richard Henderson <rth@redhat.com>
13981
13982 * scripts/config.guess: Update from config.git.
13983 * scripts/config.sub: Likewise.
13984
11d6e2f2
SP
139852013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13986
09c14ed2
SP
13987 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
13988
a688864e
SP
13989 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
13990
6295157a
SP
13991 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
13992
b8de2202
SP
13993 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
13994
11d6e2f2
SP
13995 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
13996
7e80ddb8
RM
139972013-02-26 Roland McGrath <roland@hack.frob.com>
13998
13999 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
14000 [$(build-shared = yes].
7e80ddb8 14001
7da6d9ed
SP
140022013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14003
45f05884
SP
14004 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
14005 (__mul): Reduce iterations for calculating mantissa.
14006
2236d359
SP
14007 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
14008 MPTWO.
14009 (__mpranred): Likewise.
14010
7da6d9ed
SP
14011 [BZ #15160]
14012 * malloc/memusagestat.c (main): Draw graphs for heap and stack
14013 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
14014
b7688c42
PE
140152013-02-26 Paul Eggert <eggert@cs.ucla.edu>
14016
14017 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
14018 Define __attribute__.
14019
53a5c423
SP
140202013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14021
14022 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
14023 unused.
14024 * posix/regex_internal.h (__attribute): Remove.
14025 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
14026 (re_string_context_at): Likewise.
14027 (bitset_not): Use __attribute__ and mark function as possibly
14028 unused.
14029 (bitset_merge): Likewise.
14030 (bitset_mask): Likewise.
14031 (re_string_char_size_at): Likewise.
14032 (re_string_wchar_at): Likewise.
14033 (re_string_elem_size_at): Likewise.
14034
60f5a8b5
SP
140352013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14036
2a983a2e
SP
14037 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
14038 code.
14039 (cc32): Likewise.
14040
e69804d1
SP
14041 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
14042 (__acr): Likewise.
14043 (__cpy): Likewise.
14044 (norm): Likewise.
14045 (denorm): Likewise.
14046 (__dbl_mp): Likewise.
14047 (add_magnitudes): Likewise.
14048 (sub_magnitudes): Likewise.
14049 (__mul): Likewise.
14050 (__inv): Likewise.
14051
2f22a1e8
SP
14052 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
14053 style.
14054
8930ddc7
SP
14055 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
14056 style.
14057
dc60cb11
SP
14058 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
14059 code.
14060
60f5a8b5
SP
14061 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
14062 up changes with default code.
14063 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
14064 Likewise.
14065
b4d1fd33
AM
140662013-02-24 Allan McRae <allan@archlinux.org>
14067
faf6f8bc
AM
14068 * manual/socket.texi (The Internet Namespace): Order menu items
14069 to match that in the file.
14070
b4d1fd33
AM
14071 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
14072 node listing of the info page menu.
14073
2366713d
JM
140742013-02-21 Joseph Myers <joseph@codesourcery.com>
14075
14076 [BZ #13550]
14077 * sysdeps/i386/bp-asm.h: Remove file.
14078 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14079 (PARMS): Do not use macros from bp-asm.h.
14080 (S1): Likewise.
14081 (S2): Likewise.
14082 (SIZE): Likewise.
14083 (__mpn_add_n): Do not use BP_SYM
14084 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
14085 "bp-asm.h".
14086 (PARMS): Do not use macros from bp-asm.h.
14087 (S1): Likewise.
14088 (SIZE): Likewise.
14089 (__mpn_addmul_1): Do not use BP_SYM
14090 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
14091 "bp-asm.h".
14092 (PARMS): Do not use macros from bp-asm.h.
14093 (SIGMSK): Likewise.
14094 (_setjmp): Likewise. Do not use BP_SYM.
14095 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
14096 "bp-asm.h".
14097 (PARMS): Do not use macros from bp-asm.h.
14098 (SIGMSK): Likewise.
14099 (setjmp): Likewise. Do not use BP_SYM.
14100 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
14101 "bp-asm.h".
14102 (PARMS): Do not use macros from bp-asm.h.
14103 (__frexp): Do not use BP_SYM.
14104 (frexp): Likewise.
14105 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
14106 "bp-asm.h".
14107 (PARMS): Do not use macros from bp-asm.h.
14108 (__frexpf): Do not use BP_SYM.
14109 (frexpf): Likewise.
14110 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
14111 "bp-asm.h".
14112 (PARMS): Do not use macros from bp-asm.h.
14113 (__frexpl): Do not use BP_SYM.
14114 (frexpl): Likewise.
14115 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
14116 "bp-asm.h".
14117 (PARMS): Do not use macros from bp-asm.h.
14118 (__remquo): Do not use BP_SYM.
14119 (remquo): Likewise.
14120 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
14121 "bp-asm.h".
14122 (PARMS): Do not use macros from bp-asm.h.
14123 (__remquof): Do not use BP_SYM.
14124 (remquof): Likewise.
14125 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
14126 "bp-asm.h".
14127 (PARMS): Do not use macros from bp-asm.h.
14128 (__remquol): Do not use BP_SYM.
14129 (remquol): Likewise.
14130 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
14131 "bp-asm.h".
14132 (PARMS): Do not use macros from bp-asm.h.
14133 (DEST): Likewise.
14134 (SRC): Likewise.
14135 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
14136 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
14137 "bp-asm.h".
14138 (PARMS): Do not use macros from bp-asm.h.
14139 (strlen): Do not use BP_SYM.
14140 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
14141 "bp-asm.h".
14142 (PARMS): Do not use macros from bp-asm.h.
14143 (S1): Likewise.
14144 (S2): Likewise.
14145 (SIZE): Likewise.
14146 (__mpn_add_n): Do not use BP_SYM.
14147 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
14148 "bp-asm.h".
14149 (PARMS): Do not use macros from bp-asm.h.
14150 (S1): Likewise.
14151 (SIZE): Likewise.
14152 (__mpn_addmul_1): Do not use BP_SYM.
14153 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
14154 weak_alias.
14155 (bzero): Likewise.
14156 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
14157 "bp-asm.h".
14158 (PARMS): Do not use macros from bp-asm.h.
14159 (S): Likewise.
14160 (SIZE): Likewise.
14161 (__mpn_lshift): Do not use BP_SYM.
14162 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
14163 "bp-asm.h".
14164 (PARMS): Do not use macros from bp-asm.h.
14165 (DEST): Likewise.
14166 (SRC): Likewise.
14167 (LEN): Likewise.
14168 (memcpy): Likewise. Do not use BP_SYM.
14169 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
14170 libc_hidden_def and weak_alias.
14171 (mempcpy): Do not use BP_SYM in weak_alias.
14172 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
14173 "bp-asm.h".
14174 (PARMS): Do not use macros from bp-asm.h.
14175 (DEST): Likewise.
14176 (LEN): Likewise.
14177 [!BZERO_P] (CHR): Likewise.
14178 (memset): Likewise. Do not use BP_SYM.
14179 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
14180 "bp-asm.h".
14181 (PARMS): Do not use macros from bp-asm.h.
14182 (S1): Likewise.
14183 (SIZE): Likewise.
14184 (__mpn_mul_1): Do not use BP_SYM.
14185 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
14186 "bp-asm.h".
14187 (PARMS): Do not use macros from bp-asm.h.
14188 (S): Likewise.
14189 (SIZE): Likewise.
14190 (__mpn_rshift): Do not use BP_SYM.
14191 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
14192 "bp-asm.h".
14193 (PARMS): Do not use macros from bp-asm.h.
14194 (STR): Likewise.
14195 (CHR): Likewise.
14196 (strchr): Likewise. Do not use BP_SYM.
14197 (index): Do not use BP_SYM in weak_alias.
14198 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
14199 "bp-asm.h".
14200 (PARMS): Do not use macros from bp-asm.h.
14201 (DEST): Likewise.
14202 (SRC): Likewise.
14203 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
14204 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
14205 "bp-asm.h".
14206 (PARMS): Do not use macros from bp-asm.h.
14207 (strlen): Do not use BP_SYM.
14208 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
14209 "bp-asm.h".
14210 (PARMS): Do not use macros from bp-asm.h.
14211 (S1): Likewise.
14212 (S2): Likewise.
14213 (SIZE): Likewise.
14214 (__mpn_sub_n): Do not use BP_SYM.
14215 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
14216 "bp-asm.h".
14217 (PARMS): Do not use macros from bp-asm.h.
14218 (S1): Likewise.
14219 (SIZE): Likewise.
14220 (__mpn_submul_1): Do not use BP_SYM.
14221 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
14222 "bp-asm.h".
14223 (PARMS): Do not use macros from bp-asm.h.
14224 (S1): Likewise.
14225 (S2): Likewise.
14226 (SIZE): Likewise.
14227 (__mpn_add_n): Do not use BP_SYM.
14228 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
14229 weak_alias.
14230 (bzero): Likewise.
14231 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
14232 "bp-asm.h".
14233 (PARMS): Do not use macros from bp-asm.h.
14234 (BLK2): Likewise.
14235 (LEN): Likewise.
14236 (memcmp): Do not use BP_SYM.
14237 (bcmp): Do not use BP_SYM in weak_alias.
14238 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
14239 "bp-asm.h".
14240 (PARMS): Do not use macros from bp-asm.h.
14241 (DEST): Likewise.
14242 (SRC): Likewise.
14243 (LEN): Likewise.
14244 (memcpy): Likewise. Do not use BP_SYM.
14245 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
14246 "bp-asm.h".
14247 (PARMS): Do not use macros from bp-asm.h.
14248 (DEST): Likewise.
14249 (SRC): Likewise.
14250 (LEN): Likewise.
14251 (memmove): Likewise. Do not use BP_SYM.
14252 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
14253 "bp-asm.h".
14254 (PARMS): Do not use macros from bp-asm.h.
14255 (DEST): Likewise.
14256 (SRC): Likewise.
14257 (LEN): Likewise.
14258 (__mempcpy): Likewise. Do not use BP_SYM.
14259 (mempcpy): Do not use BP_SYM in weak_alias.
14260 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
14261 "bp-asm.h".
14262 (PARMS): Do not use macros from bp-asm.h.
14263 (DEST): Likewise.
14264 (LEN): Likewise.
14265 [!BZERO_P] (CHR): Likewise.
14266 (memset): Likewise. Do not use BP_SYM.
14267 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
14268 "bp-asm.h".
14269 (PARMS): Do not use macros from bp-asm.h.
14270 (STR2): Likewise.
14271 (strcmp): Do not use BP_SYM.
14272 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
14273 "bp-asm.h".
14274 (PARMS): Do not use macros from bp-asm.h.
14275 (STR): Likewise.
14276 (DELIM): Likewise.
14277 [USE_AS_STRTOK_R] (SAVE): Likewise.
14278 (FUNCTION): Likewise. Do not use BP_SYM.
14279 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
14280 aliases.
14281 (strtok_r): Likewise.
14282 (__GI___strtok_r): Likewise.
14283 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14284 (PARMS): Do not use macros from bp-asm.h.
14285 (S): Likewise.
14286 (SIZE): Likewise.
14287 (__mpn_lshift): Do not use BP_SYM.
14288 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14289 (PARMS): Do not use macros from bp-asm.h.
14290 (STR): Likewise.
14291 (CHR): Likewise.
14292 (__memchr): Do not use BP_SYM.
14293 (memchr): Do not use BP_SYM in weak_alias.
14294 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14295 (PARMS): Do not use macros from bp-asm.h.
14296 (BLK2): Likewise.
14297 (LEN): Likewise.
14298 (memcmp): Do not use BP_SYM.
14299 (bcmp): Do not use BP_SYM in weak_alias.
14300 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
14301 (PARMS): Do not use macros from bp-asm.h.
14302 (S1): Likewise.
14303 (SIZE): Likewise.
14304 (__mpn_mul_1): Do not use BP_SYM.
14305 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
14306 "bp-asm.h".
14307 (PARMS): Do not use macros from bp-asm.h.
14308 (STR): Likewise.
14309 (CHR): Likewise.
14310 (__rawmemchr): Do not use BP_SYM.
14311 (rawmemchr): Do not use BP_SYM in weak_alias.
14312 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14313 (PARMS): Do not use macros from bp-asm.h.
14314 (S): Likewise.
14315 (SIZE): Likewise.
14316 (__mpn_rshift): Do not use BP_SYM.
14317 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14318 (PARMS): Do not use macros from bp-asm.h.
14319 (SIGMSK): Likewise.
14320 (__sigsetjmp): Likewise. Do not use BP_SYM.
14321 * sysdeps/i386/start.S: Do not include "bp-sym.h".
14322 (_start): Do not use BP_SYM.
14323 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
14324 (PARMS): Do not use macros from bp-asm.h.
14325 (DEST): Likewise.
14326 (SRC): Likewise.
14327 (__stpcpy): Likewise. Do not use BP_SYM.
14328 (stpcpy): Do not use BP_SYM in weak_alias.
14329 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
14330 "bp-asm.h".
14331 (PARMS): Do not use macros from bp-asm.h.
14332 (DEST): Likewise.
14333 (SRC): Likewise.
14334 (LEN): Likewise.
14335 (__stpncpy): Likewise. Do not use BP_SYM.
14336 (stpncpy): Do not use BP_SYM in weak_alias.
14337 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14338 (PARMS): Do not use macros from bp-asm.h.
14339 (STR): Likewise.
14340 (CHR): Likewise.
14341 (strchr): Likewise. Do not use BP_SYM.
14342 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
14343 "bp-asm.h".
14344 (PARMS): Do not use macros from bp-asm.h.
14345 (STR): Likewise.
14346 (CHR): Likewise.
14347 (__strchrnul): Likewise. Do not use BP_SYM.
14348 (strchrnul): Do not use BP_SYM in weak_alias.
14349 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
14350 "bp-asm.h".
14351 (PARMS): Do not use macros from bp-asm.h.
14352 (STOP): Likewise.
14353 (strcspn): Do not use BP_SYM.
14354 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
14355 "bp-asm.h".
14356 (PARMS): Do not use macros from bp-asm.h.
14357 (STR): Likewise.
14358 (STOP): Likewise.
14359 (strpbrk): Likewise. Do not use BP_SYM.
14360 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
14361 "bp-asm.h".
14362 (PARMS): Do not use macros from bp-asm.h.
14363 (STR): Likewise.
14364 (CHR): Likewise.
14365 (strrchr): Likewise. Do not use BP_SYM.
14366 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
14367 (PARMS): Do not use macros from bp-asm.h.
14368 (SKIP): Likewise.
14369 (strspn): Do not use BP_SYM.
14370 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
14371 (PARMS): Do not use macros from bp-asm.h.
14372 (STR): Likewise.
14373 (DELIM): Likewise.
14374 (SAVE): Likewise.
14375 (FUNCTION): Likewise. Do not use BP_SYM.
14376 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
14377 aliases.
14378 (strtok_r): Likewise.
14379 (__GI___strtok_r): Likewise.
14380 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14381 (PARMS): Do not use macros from bp-asm.h.
14382 (S1): Likewise.
14383 (S2): Likewise.
14384 (SIZE): Likewise.
14385 (__mpn_sub_n): Do not use BP_SYM.
14386 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
14387 "bp-asm.h".
14388 (PARMS): Do not use macros from bp-asm.h.
14389 (S1): Likewise.
14390 (SIZE): Likewise.
14391 (__mpn_submul_1): Do not use BP_SYM.
14392 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
14393 <bp-sym.h>.
14394 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
14395 and <bp-asm.h>.
14396 (PARMS): Do not use macros from bp-asm.h.
14397 (FLAGS): Likewise.
14398 (PTID): Likewise.
14399 (TLS): Likewise.
14400 (CTID): Likewise.
14401 (__clone): Do not use BP_SYM.
14402 (clone): Do not use BP_SYM in weak_alias.
14403 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
14404 and <bp-asm.h>.
14405 (PARMS): Do not use macros from bp-asm.h.
14406 (LEN): Likewise.
14407 (__mmap64): Do not use BP_SYM.
14408 (mmap64): Do not use BP_SYM in weak_alias.
14409 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14410 <bp-sym.h> and <bp-asm.h>.
14411 (PARMS): Do not use macros from bp-asm.h.
14412 (__posix_fadvise64_l64): Do not use BP_SYM.
14413 * sysdeps/unix/sysv/linux/i386/semtimedop.S
14414 (PARMS): Do not use macros from bp-asm.h.
14415 (NSOPS): Likewise.
14416 (semtimedop): Do not use BP_SYM.
14417 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
14418 and <bp-asm.h>.
14419
582a3cff
AM
144202013-02-21 Allan McRae <allan@archlinux.org>
14421
14422 * manual/message.texi (Charset conversion in gettext):
14423 Move @end statement to beginning of line.
14424
bab8a695
SP
144252013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14426
80945231
SP
14427 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
14428 static.
14429 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14430 Likewise.
14431
bab8a695
SP
14432 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
14433 (denorm): Likewise.
14434 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
14435 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
14436
e21d7aa7
AK
144372013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14438
14439 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
14440 tail-call to the resolved function if pltexit isn't needed.
14441
4c7a4263
SP
144422013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14443
14444 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
14445 or Y being zero as being unlikely.
14446 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
14447 Likewise.
14448
41f49342
CD
144492013-02-20 Carlos O'Donell <carlos@redhat.com>
14450
14451 * manual/nss.texi (System Databases and Name Service Switch):
14452 Remove frobnicate @pxref.
14453
50022a93
TS
144542013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14455
14456 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14457 __attribute__ ((unused)) to __attribute__ ((__unused__)).
14458
08cbd996
PM
144592013-02-20 Petr Machata <pmachata@redhat.com>
14460
14461 * elf/elf.h (R_ARM_TARGET1): New macro.
14462 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
14463 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
14464 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
14465 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
14466 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
14467 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
14468 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
14469 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
14470 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
14471 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
14472 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
14473 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
14474 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
14475 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
14476 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
14477 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
14478 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
14479 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
14480 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
14481 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
14482 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
14483 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
14484 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
14485 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
14486 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
14487 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
14488 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
14489 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
14490 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
14491 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
14492 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
14493 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
14494 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
14495 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
14496 (R_ARM_THM_GOT_BREL12): Likewise.
14497 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
14498 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
14499 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
14500 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
14501 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
14502 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
14503 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
14504 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
14505 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
14506
c7b275d6
TS
145072013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14508
14509 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14510 __attribute_used__ to __attribute__ ((unused)).
14511
20cd7fb3
SP
145122013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14513
14514 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
14515 powerpc mpa.c.
14516 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
14517 comment formatting.
14518 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
14519
92945b52
JM
145202013-02-19 Joseph Myers <joseph@codesourcery.com>
14521
14522 [BZ #13550]
14523 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
14524 Remove macro.
14525 (ENTER): Remove both macro definitions.
14526 (LEAVE): Likewise.
14527 (CHECK_BOUNDS_LOW): Likewise.
14528 (CHECK_BOUNDS_HIGH): Likewise.
14529 (CHECK_BOUNDS_BOTH): Likewise.
14530 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
14531 (RETURN_BOUNDED_POINTER): Likewise.
14532 (RETURN_NULL_BOUNDED_POINTER): Likewise.
14533 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
14534 (POP_ERRNO_LOCATION_RETURN): Likewise.
14535 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
14536 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14537 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
14538 macros.
14539 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14540 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
14541 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
14542 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
14543 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
14544 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
14545 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
14546 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
14547 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
14548 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
14549 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
14550 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
14551 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14552 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
14553 removed macros.
14554 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14555 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
14556 macros.
14557 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14558 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
14559 * sysdeps/i386/i586/memset.S (memset): Likewise.
14560 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
14561 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14562 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
14563 macros.
14564 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14565 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
14566 Change uses of L(2) to L(out).
14567 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
14568 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
14569 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
14570 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14571 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
14572 removed macros.
14573 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14574 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
14575 macros.
14576 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14577 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
14578 (RETURN): Do not use macro LEAVE.
14579 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
14580 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
14581 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
14582 * sysdeps/i386/i686/memset.S (memset): Likewise.
14583 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
14584 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
14585 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14586 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
14587 Likewise.
14588 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14589 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
14590 L(1_2) and L(1_3) into L(1).
14591 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14592 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
14593 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14594 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
14595 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14596 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
14597 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
14598 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14599 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
14600 macros.
14601 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
14602 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14603 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
14604 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
14605 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
14606 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14607 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
14608 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
14609 * sysdeps/i386/strcspn.S (strcspn): Likewise.
14610 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
14611 * sysdeps/i386/strrchr.S (strrchr): Likewise.
14612 * sysdeps/i386/strspn.S (strspn): Likewise.
14613 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
14614 conditional code.
14615 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14616 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
14617 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14618 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
14619 L(1_3) into L(1_1).
14620 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
14621 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14622 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
14623 macros.
14624 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14625
2389741a
JJ
146262013-02-19 Jakub Jelinek <jakub@redhat.com>
14627
14628 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
14629 macro.
14630
2016b3cd
SP
146312013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14632
e4f22324
SP
14633 * math/atest-exp.c (exp_mpn): Remove ROUND.
14634 * math/atest-exp2.c (exp_mpn): Likewise.
14635 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
14636
2016b3cd
SP
14637 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
14638 * stdlib/tst-tls-atexit-lib.c: Likewise.
14639 * stdlib/tst-tls-atexit.c: Likewise.
14640
4be9b544
MF
146412013-02-18 Mike Frysinger <vapier@gentoo.org>
14642
14643 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
14644 and __attribute_alloc_size__.
14645
2f62b9ee
MF
146462013-02-18 Mike Frysinger <vapier@gentoo.org>
14647
14648 * include/programs/xmalloc.h: Change __attribute_alloc_size to
14649 __attribute_alloc_size__.
14650 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
14651 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
14652
6ff444c4
MF
146532013-02-18 Mike Frysinger <vapier@gentoo.org>
14654
14655 * include/programs/xmalloc.h: New file.
14656 * catgets/gencat.c: Include it.
14657 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
14658 * elf/pldd.c: Likewise.
14659 * iconv/iconv_charmap.c: Likewise.
14660 * iconv/iconvconfig.c: Likewise.
14661 * iconv/strtab.c: Likewise.
14662 * locale/programs/locale.c: Likewise.
14663 * locale/programs/localedef.h: Likewise.
14664 * locale/programs/simple-hash.c: Likewise.
14665 * nscd/nscd.h: Likewise.
14666 * nss/makedb.c: Likewise.
14667 * sysdeps/generic/ldconfig.h: Likewise.
14668
be179c8a
SP
146692013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14670
ba384f6e
SP
14671 * Versions.def: Add GLIBC_2.18.
14672 * include/link.h (struct link_map): New member l_tls_dtor_count.
14673 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
14674 (__call_tls_dtors): Likewise.
14675 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
14676 __cxa_thread_atexit_impl.
14677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14678 Likewise.
14679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14680 Likewise.
14681 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14682 Likewise.
14683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14684 Likewise.
14685 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14686 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
14687 Likewise.
14688 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
14689 Likewise.
14690 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14691 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
14692 Likewise.
14693 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
14694 (tests): Add test case tst-tls-atexit.
14695 (modules-names): Add shared library for tst-tls-atexit.
85891aca 14696 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
14697 (GLIBC_PRIVATE): Add __call_tls_dtors.
14698 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
14699 for libstdc++.
14700 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
14701 * stdlib/tst-tls-atexit.c: New test case.
14702 * stdlib/tst-tls-atexit-lib.c: New test case.
14703
ffaa74cf 14704 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 14705
be179c8a
SP
14706 * elf/Versions (ld): Add _dl_find_dso_for_object.
14707 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
14708 * elf/dl-open.c (_dl_find_dso_for_object): New function.
14709 (dl_open_worker): Use _dl_find_dso_for_object.
14710 * elf/dl-sym.c (do_sym): Likewise.
14711 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
14712
f78b5caa
AK
147132013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14714
14715 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
14716 Syntactic changes only.
14717 (_dl_runtime_profile): Do a tail-call to the resolved function.
14718
29691210
JM
147192013-02-17 Joseph Myers <joseph@codesourcery.com>
14720
14721 [BZ #13550]
14722 * sysdeps/x86_64/bp-asm.h: Remove file.
14723 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
14724 <bp-sym.h> and <bp-asm.h>.
14725 (__clone): Do not use BP_SYM.
14726 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
14727 <bp-sym.h> and <bp-asm.h>.
14728 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14729 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
14730 "bp-asm.h".
14731 (_setjmp): Do not use BP_SYM.
14732 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
14733 "bp-asm.h".
14734 (setjmp): Do not use BP_SYM.
14735 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
14736 libc_hidden_def.
14737 (mempcpy): Do not use BP_SYM in weak_alias.
14738 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
14739 "bp-asm.h".
14740 (strchr): Do not use BP_SYM.
14741 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
14742 "bp-asm.h".
14743 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
14744 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
14745 (_start): Do not use BP_SYM.
14746 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
14747 "bp-asm.h".
14748 (strcat): Do not use BP_SYM.
14749 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
14750 "bp-asm.h".
14751 (STRCMP): Do not use BP_SYM.
14752 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
14753 "bp-asm.h".
14754 (STRCPY): Do not use BP_SYM.
14755 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
14756 "bp-asm.h".
14757 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
14758 "bp-asm.h".
14759 (FUNCTION): Do not use BP_SYM.
14760 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
14761 weak_alias.
14762 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
14763
f238fd19
AJ
147642013-02-17 Andreas Jaeger <aj@suse.de>
14765
14766 * time/Versions: Sort entries.
14767 * string/Versions: Likewise.
14768 * resolv/Versions: Likewise.
14769 * posix/Versions: Likewise.
14770 * iconv/Versions: Likewise.
14771 * elf/Versions: Likewise.
14772 * wcsmbs/Versions: Likewise.
14773
bd07f23c 147742013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 14775
22af19f9
SP
14776 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
14777 loop termination condition.
14778
4709fe76
SP
14779 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
14780 variable to calculate EZ.
14781 (__sqr): Likewise.
2d0e0f29
SP
14782
14783 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
14784 the lower precision input.
14785
daaa7713
JM
147862013-02-15 Joseph Myers <joseph@codesourcery.com>
14787
14788 [BZ #13550]
14789 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
14790 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
14791 (run-via-rtld-prefix): Do not handle %-bp tests.
14792 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
14793 (all-object-suffixes): Remove .ob.
14794 (bppfx): Remove variable.
14795 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
14796 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
14797 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
14798 [$(build-bounded) = yes] (libtype.ob): Likewise.
14799 * Makerules (elide-routines.ob): Remove variable.
14800 (do-tests-clean): Do not handle *-bp.out.
14801 (common-mostlyclean): Do not handle *-bp and *-bp.out.
14802 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
14803 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
14804 (tests): Do not include $(tests-bp.out).
14805 (xtests): Do not include $(xtests-bp.out).
14806 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
14807 [$(build-bounded) = yes] ($(addprefix
14808 $(objpfx),$(binaries-bounded))): Remove rule.
14809 ($(objpfx)%-bp.out): Remove rule.
14810 * config.make.in (build-bounded): Remove variable.
14811 * crypt/Makefile [$(build-bounded) = yes]
14812 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
14813 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
14814 append to variable.
14815 [$(build-bounded) = yes] (install-lib): Likewise.
14816 [$(build-bounded) = yes] (generated): Likewise.
14817 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
14818 Remove rule.
14819 * intl/Makefile [$(build-bounded) = yes]
14820 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
14821 * math/Makefile [$(build-bounded) = yes]
14822 ($(tests:%=$(objpfx)%-bp): Likewise.
14823 * misc/Makefile [$(build-bounded) = yes]
14824 ($(objpfx)tst-tsearch-bp): Likewise.
14825 * nptl/Makeconfig (bounded-thread-library): Remove variable.
14826 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
14827 Remove dependency.
14828 * string/Makefile (o-objects.ob): Remove variable.
14829 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
14830 (CFLAGS-.ob): Remove variable.
14831 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
14832 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
14833 both definitions of variable.
14834 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
14835 (ASFLAGS-.ob): Remove variable.
14836
e97ed6dd
JM
148372013-02-14 Joseph Myers <joseph@codesourcery.com>
14838
2bdd4ca6
JM
14839 [BZ #13550]
14840 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
14841 Remove __BOUNDED_POINTERS__ from condition.
14842 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
14843 * string/bits/string2.h [!__NO_STRING_INLINES &&
14844 !__BOUNDED_POINTERS__]: Likewise.
14845 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
14846 Likewise.
14847 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
14848 Remove conditional code.
14849 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
14850 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
14851 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
14852 condition.
14853
e97ed6dd
JM
14854 [BZ #13550]
14855 * csu/libc-start.c: Do not include <bp-sym.h>.
14856 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
14857 * elf/dl-open.c: Do not include <bp-sym.h>.
14858 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
14859 * math/fegetenv.c: Do not include <bp-sym.h>.
14860 (fegetenv): Do not use BP_SYM in versioned symbols.
14861 * nptl/sysdeps/pthread/bits/libc-lockP.h
14862 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
14863 <bp-sym.h>.
14864 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14865 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
14866 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14867 (__pthread_mutex_destroy): Likewise.
14868 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14869 (__pthread_mutex_lock): Likewise.
14870 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14871 (__pthread_mutex_trylock): Likewise.
14872 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14873 (__pthread_mutex_unlock): Likewise.
14874 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14875 (__pthread_mutexattr_init): Likewise.
14876 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14877 (__pthread_mutexattr_destroy): Likewise.
14878 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14879 (__pthread_mutexattr_settype): Likewise.
14880 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14881 (__pthread_rwlock_init): Likewise.
14882 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14883 (__pthread_rwlock_destroy): Likewise.
14884 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14885 (__pthread_rwlock_rdlock): Likewise.
14886 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14887 (__pthread_rwlock_tryrdlock): Likewise.
14888 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14889 (__pthread_rwlock_wrlock): Likewise.
14890 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14891 (__pthread_rwlock_trywrlock): Likewise.
14892 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14893 (__pthread_rwlock_unlock): Likewise.
14894 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14895 (__pthread_key_create): Likewise.
14896 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14897 (__pthread_setspecific): Likewise.
14898 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14899 (__pthread_getspecific): Likewise.
14900 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
14901 Likewise.
14902 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14903 (_pthread_cleanup_push_defer): Likewise.
14904 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14905 (_pthread_cleanup_pop_restore): Likewise.
14906 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14907 (pthread_setcancelstate): Likewise.
14908 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
14909 <bp-sym.h>.
14910 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
14911 (memchr): Do not use BP_SYM in weak_alias.
14912 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
14913 (fegetenv): Do not use BP_SYM in versioned symbols.
14914 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
14915 (fesetenv): Do not use BP_SYM in versioned symbols.
14916 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14917 (feupdateenv): Do not use BP_SYM in versioned symbols.
14918 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14919 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14920 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
14921 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
14922 (open64): Do not use BP_SYM in weak_alias.
14923 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
14924 (fegetenv): Do not use BP_SYM in versioned symbols.
14925 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
14926 (fesetenv): Do not use BP_SYM in versioned symbols.
14927 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14928 (feupdateenv): Do not use BP_SYM in versioned symbols.
14929 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
14930 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
14931 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
14932 (feraiseexcept): Do not use BP_SYM in versioned symbols.
14933 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14934 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14935 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
14936 <bp-sym.h>.
14937 (__libc_start_main): Do not use BP_SYM.
14938
d6752ccd
SP
149392013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14940
cb57ce60
SP
14941 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
14942 redundant return line.
14943 (norm): Likewise.
14944 (denorm): Likewise.
14945 (dbl_mp): Likewise.
14946 (sub_magnitudes): Likewise.
14947 (__add): Likewise.
14948 (__sub): Likewise.
14949 (__mul): Likewise.
14950 (__inv): Likewise.
14951 (__dvd): Likewise.
14952 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
14953 (norm): Likewise.
14954 (denorm): Likewise.
14955 (dbl_mp): Likewise.
14956 (sub_magnitudes): Likewise.
14957 (__add): Likewise.
14958 (__sub): Likewise.
14959 (__mul): Likewise.
14960 (__inv): Likewise.
14961 (__dvd): Likewise.
14962
f414520d
SP
14963 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
14964 instead of __mul.
14965 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14966 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
14967 (cc32): Likewise.
14968
d6752ccd
SP
14969 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
14970 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
14971 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
14972 of __mul for squares.
14973 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
14974 function
14975 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
14976 Likewise.
14977 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
14978 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14979
70d9946a
JM
149802013-02-13 Joseph Myers <joseph@codesourcery.com>
14981
14982 [BZ #13550]
14983 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
14984 code.
14985 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
14986 prototype or function definition. Rename ubp_* variables and
14987 parameters. Remove argv definitions conditional on
14988 [__BOUNDED_POINTERS__].
14989 * debug/backtrace.c (__backtrace): Do not use __unbounded.
14990 * elf/dl-runtime.c (_dl_fixup): Likewise.
14991 * include/set-hooks.h (RUN_HOOK): Likewise.
14992 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
14993 definition.
14994 * string/strcpy.c (strcpy): Do not use __unbounded.
14995 * sysdeps/generic/frame.h (struct layout): Likewise.
14996 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
14997 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
14998 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
14999 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
15000 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
15001 (__backtrace): Likewise.
15002 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
15003 use __ptrvalue.
15004 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
15005 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15006 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
15007 Likewise.
15008 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
15009 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
15010 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15011 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15012 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
15013 Do not use __unbounded.
15014 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
15015 Rename __unboundedrlimits parameter to rlimits in prototype.
15016 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
15017 Do not use __unbounded.
15018 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
15019 not use __ptrvalue.
15020 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15021 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
15022 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15023 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
15024 __ptrvalue or __unbounded.
15025 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
15026 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
15027 use __unbounded.
15028 (__new_msgctl): Do not use __ptrvalue.
15029 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
15030 __unbounded.
15031 (__libc_msgrcv): Do not use __ptrvalue.
15032 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
15033 startup_info): Do not use __unbounded.
15034 (__libc_start_main): Likewise. Rename ubp_* variables and
15035 parameters. Remove argv definitions conditional on
15036 [__BOUNDED_POINTERS__].
15037 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
15038 __ptrvalue.
15039 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
15040 use __unbounded.
15041 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
15042 or __ptrvalue.
15043 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
15044 use __unbounded.
15045 (__new_shmctl): Do not use __ptrvalue.
15046 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
15047 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
15048 Likewise.
15049 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
15050 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
15051 (__libc_sigaction): Likewise.
15052 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
15053 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
15054 Likewise.
15055 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15056
cc7834d6
OB
150572013-02-13 Ondřej Bílka <neleai@seznam.cz>
15058
ffb1ec7b 15059 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
15060
15061 * string/mempcpy.c: Implement by calling memcpy.
15062
bdf02814
SP
150632013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15064
c2af38aa
SP
15065 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
15066
4e92d59e
SP
15067 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
15068 evaluation.
15069
909279a5
SP
15070 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
15071 values in the mantissa.
15072
bdf02814
SP
15073 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
15074 minimize writes to Z.
15075 (sub_magnitudes): Simplify code a bit.
15076
cd525923
RM
150772013-02-12 Roland McGrath <roland@hack.frob.com>
15078
15079 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
15080 from the message. The linker prefixes all warnings with that already.
15081
7e2f0d2d
AS
150822013-02-12 Andreas Schwab <schwab@suse.de>
15083
a445af0b
AS
15084 [BZ #15078]
15085 * posix/regexec.c (extend_buffers): Add parameter min_len.
15086 (check_matching): Pass minimum needed length.
15087 (clean_state_log_if_needed): Likewise.
15088 (get_subexp): Likewise.
15089 * posix/Makefile (tests): Add bug-regex34.
15090 (bug-regex34-ENV): Define.
15091 * posix/bug-regex34.c: New file.
15092
7e2f0d2d
AS
15093 [BZ #11561]
15094 * posix/regcomp.c (parse_bracket_exp): When looking up collating
15095 elements compare against the byte sequence of it, not its name.
15096 * posix/Makefile (tests): Add bug-regex35.
15097 (bug-regex35-ENV): Define.
15098 * posix/bug-regex35.c: New file.
15099
a175b684
TV
151002013-02-11 Tom de Vries <tom@codesourcery.com>
15101
15102 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
15103 comment.
15104 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
15105 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
15106 (CHECK_EOL): Add undef.
15107
310998fe 151082013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
15109
15110 * bits/stdlib-bsearch.h: New file.
15111 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 15112 * stdlib/stdlib.h: Likewise.
41eda41d 15113
8ded91fb
RM
151142013-02-11 Roland McGrath <roland@hack.frob.com>
15115
15116 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
15117 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
15118 declaration.
15119 * manual/search.texi (Array Search Function): Add missing const in
15120 lfind prototype.
15121 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
15122 declaration to use rlim_t.
15123 (Basic Scheduling Functions): Remove erroneous const from
15124 sched_getparam prototype. Remove erroneous * from
15125 sched_get_priority_max and sched_get_priority_min prototypes.
15126 (Resource Usage): Fix summary @comment on vtimes to refer to
15127 sys/vtimes.h rather than vtimes.h.
15128 Add missing *s in vtimes prototype.
15129 (Limits on Resources): Fix ulimit prototype to return long int.
15130 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
15131 prototypes to use long int rather than double.
15132 (BSD Random): Fix initstate and setstate to use char *, not void *.
15133 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
15134 prototype to make second argument 'struct aiocb64 *const[]'.
15135 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
15136 (Status of AIO Operations): Remove erroneous const in aio_return and
15137 aio_return64 prototypes.
15138 (Synchronizing I/O): Fix sync prototype to return void.
15139 * manual/startup.texi (Suboptions): Remove an erroneous const in
15140 getsubopt prototype.
15141 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
15142 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
15143 use size_t rather than int.
15144 (Scanning All Users): Likewise for getpwent_r.
15145 (Setting Groups): Add missing const to setgroups prototype.
15146 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
15147 * manual/socket.texi (Host Names): Fix gethostbyaddr and
15148 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
15149 'const void *' rather than 'const char *'.
15150 (Host Address Functions): Likewise for inet_ntop.
15151 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
15152 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
15153 ssize_t for return value.
15154 (Sending Data): Likewise for send, sendto, sendmsg.
15155 (Socket Option Functions): Add a missing const in setsockopt prototype.
15156 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
15157 use wchar_t for the argument.
15158 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
15159 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
15160 take no arguments.
15161 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
15162 double/float/long double for second argument.
15163 Fix return types of significand, significandf, significandl.
15164 * manual/filesys.texi (Setting Permissions): Use mode_t for second
15165 argument in fchmod prototype.
15166 (File Owner): Use uid_t and gid_t in fchown prototype.
15167 (File Times): Add const to utimes, futimes, and lutimes prototypes.
15168 (Making Special Files): Use mode_t and dev_t in mknod prototype.
15169 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
15170 use 'const struct dirent **' as argument types to CMP function pointer
15171 argument.
15172 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
15173 (File Times): Fix summary magic @comment for struct utimbuf and utime
15174 to refer to utime.h, not time.h.
15175 * manual/string.texi (Argz Functions): Add missing const in
15176 argz_extract and argz_next prototypes.
15177 (Finding Tokens in a String): Likewise for basename.
15178 (String/Array Comparison): Fix typo in wcscasecmp prototype.
15179 (Copying and Concatenation): Fix typo in wmemmove prototype.
15180 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
15181 (Signal Stack): Remove erroneous const in sigstack prototype.
15182 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
15183 prototype.
15184 (Simple Calendar Time): Likewise for stime.
15185 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
15186 prototype.
15187 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
15188 say sys/sysctl.h instead.
15189 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
15190 and vsyslog prototypes.
15191
fe77fe6d
TV
151922013-02-11 Tom de Vries <tom@codesourcery.com>
15193
15194 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
15195 Remove.
15196
3a09b620
RM
151972013-02-11 Roland McGrath <roland@hack.frob.com>
15198
15199 * misc/sys/mman.h: Fix typo in mremap comment.
15200
550a0b89
RM
152012013-02-08 Roland McGrath <roland@hack.frob.com>
15202
15203 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
15204 the '\0' terminator.
15205
a2da1673
JM
152062013-02-08 Joseph Myers <joseph@codesourcery.com>
15207
15208 [BZ #13550]
15209 * debug/segfault.c: Don't include <bp-checks.h>.
15210 * sysdeps/generic/bp-checks.h: Remove file.
15211 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
15212 (__GETDENTS): Don't use CHECK_N.
15213 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
15214 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
15215 (__getgroups): Don't use CHECK_N.
15216 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
15217 (setgroups): Don't use CHECK_N.
15218 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
15219 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
15220 (__libc_msgrcv): Don't use CHECK_N.
15221 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
15222 (__libc_msgsnd): Don't use CHECK_N.
15223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
15224 <bp-checks.h>.
15225 (__libc_pread): Don't use CHECK_N.
15226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
15227 include <bp-checks.h>.
15228 (__libc_pread64): Don't use CHECK_N.
15229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
15230 include <bp-checks.h>.
15231 (__libc_pwrite): Don't use CHECK_N.
15232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
15233 include <bp-checks.h>.
15234 (__libc_pwrite64): Don't use CHECK_N.
15235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
15236 <bp-checks.h>.
15237 (__libc_pread): Don't use CHECK_N.
15238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
15239 include <bp-checks.h>.
15240 (__libc_pread64): Don't use CHECK_N.
15241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
15242 include <bp-checks.h>.
15243 (__libc_pwrite): Don't use CHECK_N.
15244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
15245 include <bp-checks.h>.
15246 (__libc_pwrite64): Don't use CHECK_N.
15247 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
15248 (do_pread): Don't use CHECK_N.
15249 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
15250 (do_pread64): Don't use CHECK_N.
15251 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
15252 (do_pwrite): Don't use CHECK_N.
15253 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
15254 (do_pwrite64): Don't use CHECK_N.
15255 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
15256 (__libc_readv): Don't use CHECK_N.
15257 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
15258 (semop): Don't use CHECK_N.
15259 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
15260 <bp-checks.h>.
15261 (semtimedop): Don't use CHECK_N.
15262 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
15263 (__libc_pread): Don't use CHECK_N.
15264 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
15265 <bp-checks.h>.
15266 (__libc_pread64): Don't use CHECK_N.
15267 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
15268 <bp-checks.h>.
15269 (__libc_pwrite): Don't use CHECK_N.
15270 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
15271 <bp-checks.h>.
15272 (__libc_pwrite64): Don't use CHECK_N.
15273 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
15274 <bp-checks.h>.
15275 (__libc_msgrcv): Don't use CHECK_N.
15276 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
15277 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
15278 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
15279 (__libc_writev): Don't use CHECK_N.
15280
b84660a8
RM
152812013-02-08 Roland McGrath <roland@hack.frob.com>
15282
7f3e75f8
RM
15283 * string/strcpy.c: Removed unused variable.
15284
b84660a8
RM
15285 * Makeconfig (+sysdep-includes): Define with := rather than =.
15286 Use an existing include/ subdir of each sysdeps dir before it.
15287
471514d3
CD
152882013-02-08 Carlos O'Donell <carlos@redhat.com>
15289
15290 * nscd/connection.c (register_traced_file): Comment function.
15291 [HAVE_INOTIFY] (union __inev): Define.
15292 [HAVE_INOTIFY] (inotify_check_files): New function.
15293 [HAVE_INOTIFY] (clear_db_cache): Likewise.
15294 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
15295 clear_db_cache.
15296 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
15297
b2d3c3be
CD
152982013-02-08 Carlos O'Donell <carlos@redhat.com>
15299
15300 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
15301 loaded if not already and that a failure is permanent.
15302
b39949d2
CD
153032013-02-08 Carlos O'Donell <carlos@redhat.com>
15304
ddacd1db 15305 [BZ #15006]
b39949d2
CD
15306 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
15307 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
15308
b2c9eff4
JM
153092013-02-08 Joseph Myers <joseph@codesourcery.com>
15310
f3aae3f3
JM
15311 [BZ #13550]
15312 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
15313 (CHECK_1_NULL_OK): Likewise.
15314 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
15315 (__fxstat): Do not use CHECK_1.
15316 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
15317 <bp-checks.h>.
15318 (___fxstat64): Do not use CHECK_1.
15319 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15320 <bp-checks.h>.
15321 (__fxstatat): Do not use CHECK_1.
15322 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15323 <bp-checks.h>.
15324 (__fxstatat64): Do not use CHECK_1.
15325 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
15326 <bp-checks.h>.
15327 (__fxstat): Do not use CHECK_1.
15328 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15329 <bp-checks.h>.
15330 (__fxstatat): Do not use CHECK_1.
15331 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15332 <bp-checks.h>.
15333 (__getresgid): Do not use CHECK_1.
15334 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15335 <bp-checks.h>.
15336 (__getresuid): Do not use CHECK_1.
15337 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
15338 <bp-checks.h>.
15339 (__lxstat): Do not use CHECK_1.
15340 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15341 <bp-checks.h>.
15342 (__old_msgctl): Do not use CHECK_1.
15343 (__new_msgctl): Likewise.
15344 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
15345 <bp-checks.h>.
15346 (__new_setrlimit): Do not use CHECK_1.
15347 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15348 <bp-checks.h>.
15349 (__old_shmctl): Do not use CHECK_1.
15350 (__new_shmctl): Likewise.
15351 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
15352 <bp-checks.h>.
15353 (__xstat): Do not use CHECK_1.
15354 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
15355 (__lxstat): Do not use CHECK_1.
15356 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
15357 <bp-checks.h>.
15358 (___lxstat64): Do not use CHECK_1.
15359 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
15360 (__old_msgctl): Do not use CHECK_1.
15361 (__new_msgctl): Likewise.
15362 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
15363 <bp-checks.h>.
15364 (__gettimeofday): Do not use CHECK_1.
15365 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
15366 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
15367 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
15368 <bp-checks.h>.
15369 (__gettimeofday): Do not use CHECK_1.
15370 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
15371 (__old_shmctl): Do not use CHECK_1_NULL_OK.
15372 (__new_shmctl): Do not use CHECK_1.
15373 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
15374 <bp-checks.h>.
15375 (do_sigtimedwait): Do not use CHECK_1.
15376 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
15377 <bp-checks.h>.
15378 (do_sigwaitinfo): Do not use CHECK_1.
15379 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
15380 <bp-checks.h>.
15381 (msgctl): Do not use CHECK_1.
15382 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
15383 <bp-checks.h>.
15384 (shmctl): Do not use CHECK_1.
15385 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
15386 (ustat): Do not use CHECK_1.
15387 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
15388 <bp-checks.h>.
15389 (__fxstat): Do not use CHECK_1.
15390 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15391 <bp-checks.h>.
15392 (__fxstatat): Do not use CHECK_1.
15393 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
15394 <bp-checks.h>.
15395 (__lxstat): Do not use CHECK_1.
15396 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
15397 <bp-checks.h>.
15398 (__xstat): Do not use CHECK_1.
15399 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
15400 (__xstat): Do not use CHECK_1.
15401 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
15402 (___xstat64): Do not use CHECK_1.
15403
b2c9eff4
JM
15404 [BZ #13550]
15405 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
15406 definitions.
15407 (CHECK_BOUNDS_HIGH): Likewise.
15408 * string/strcpy.c: Do not include <bp-checks.h>.
15409 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
15410
f1d70dad
RM
154112013-02-07 Roland McGrath <roland@hack.frob.com>
15412
15413 * nscd/nscd-client.h (__nscd_drop_map_ref):
15414 Add __attribute__ ((unused)).
15415 * nis/nss-nisplus.h (niserr2nss): Likewise.
15416
15417 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
15418 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
15419
15420 * csu/libc-tls.c (init_static_tls, init_slotinfo):
15421 Remove inline keyword.
15422 * include/rounding-mode.h (round_away): Likewise.
15423 * libio/wfileops.c (adjust_wide_data): Likewise.
15424 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
15425 (__m128i_strloadu_tolower): Likewise.
15426 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
15427 (__m128i_strloadu_tolower): Likewise.
15428 * time/mktime.c (ydhms_diff): Likewise.
15429 * locale/elem-hash.h (elem_hash): Likewise.
15430 * locale/setlocale.c (setdata): Likewise.
15431 * posix/regex_internal.h (re_string_char_size_at): Likewise.
15432 (re_string_wchar_at): Likewise.
15433 (bitset_not, bitset_merge, bitset_mask): Likewise.
15434 [!(__GNUC__ > 3)] (inline): Remove macro.
15435 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
15436 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
15437 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
15438 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
15439 * string/memcmp.c (memcmp_bytes): Likewise.
15440 * locale/programs/locarchive.c (compute_hashval): Likewise.
15441 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
15442 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
15443 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
15444 * nss/getent.c (print_rpc, print_protocols): Likewise.
15445 (print_passwd, print_group, print_aliases): Likewise.
15446 * nis/nss-nisplus.h (niserr2nss): Likewise.
15447 * nscd/connections.c (restart_p): Likewise.
15448 Change return type to bool.
15449
eab55bfb
RM
154502013-02-05 Roland McGrath <roland@hack.frob.com>
15451
7bd642f5
RM
15452 * Makeconfig (all-Depend-files): Add existing
15453 $(sorted-subdirs:=/Depend) files.
15454 (all-subdirs): Remove nss.
15455 * sysdeps/unix/inet/Subdirs: Add it here instead.
15456 * hesiod/Depend: New file.
15457
573c29b2
RM
15458 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
15459 instead of calling alloca.
15460
b2e25af0
RM
15461 * io/lseek.c (__lseek): Rename to __libc_lseek.
15462 Define __lseek as an alias.
15463
eab55bfb
RM
15464 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
15465
9a0d1941
CD
154662013-02-04 Carlos O'Donell <carlos@redhat.com>
15467
15468 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
15469 else clause and remove check for non-standard endianness.
15470
b83bbec4
DM
154712013-02-04 David S. Miller <davem@davemloft.net>
15472
15473 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15474
6277fdab
JM
154752013-02-04 Joseph Myers <joseph@codesourcery.com>
15476
15477 [BZ #13550]
15478 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
15479 (__ubp_memchr): Remove prototype.
15480 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
15481 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15482 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
15483 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15484 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
15485 Remove alias.
15486 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
15487 (__ubp_memchr): Likewise.
15488 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
15489 (__ubp_memchr): Likewise.
15490 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
15491 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
15492 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
15493 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
15494 CHECK_STRING.
15495 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15496 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
15497 (__getcwd): Do not use CHECK_STRING.
15498 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15499 <bp-checks.h>.
15500 (__real_chown): Do not use CHECK_STRING.
15501 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
15502 <bp-checks.h>.
15503 (fchownat): Do not use CHECK_STRING.
15504 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
15505 CHECK_STRING.
15506 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15507 <bp-checks.h>.
15508 (__lchown): Do not use CHECK_STRING.
15509 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15510 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15511 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15512 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
15513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15514 include <bp-checks.h>.
15515 (truncate64): Do not use CHECK_STRING.
15516 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15517 <bp-checks.h>.
15518 (__real_chown): Do not use CHECK_STRING.
15519 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15520 <bp-checks.h>.
15521 (__lchown): Do not use CHECK_STRING.
15522 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15523 <bp-checks.h>.
15524 (__chown): Do not use CHECK_STRING.
15525 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
15526 <bp-checks.h>.
15527 (truncate64): Do not use CHECK_STRING.
15528 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
15529 Likewise.
15530 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
15531 (__xmknod): Do not use CHECK_STRING.
15532 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15533 <bp-checks.h>.
15534 (__xmknodat): Do not use CHECK_STRING.
15535 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15536 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
15537
903ae060
AS
155382013-02-04 Andreas Schwab <schwab@suse.de>
15539
15540 [BZ #14142]
15541 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
15542 * include/netdb.h: Likewise for h_errno.
15543 * elf/tst-stackguard1.c: Include <tls.h>.
15544
542f9466
JK
155452013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15546
15547 * elf/link.h (struct link_map): Extend the l_addr comment.
15548 * include/link.h (struct link_map): Likewise.
15549
e782a927
JM
155502013-02-01 Joseph Myers <joseph@codesourcery.com>
15551
15552 [BZ #13550]
15553 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
15554 (BOUNDED_1): Remove macro.
15555 * debug/backtrace.c: Don't include <bp-checks.h>.
15556 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
15557 (__backtrace): Likewise.
15558 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
15559 <bp-checks.h>.
15560 (__backtrace): Don't use BOUNDED_1.
15561 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
15562 <bp-checks.h>.
15563 (__backtrace): Don't use BOUNDED_1.
15564 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
15565 (__backtrace): Don't use BOUNDED_1.
15566 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
15567 (shmat): Don't use BOUNDED_N.
15568
8cf28c5e
JM
155692013-01-31 Joseph Myers <joseph@codesourcery.com>
15570
3a7ac8a0
JM
15571 [BZ #13550]
15572 * sysdeps/generic/bp-start.h: Remove file.
15573 * csu/libc-start.c: Don't include <bp-start.h>.
15574 (LIBC_START_MAIN): Set up __environ directly instead of using
15575 INIT_ARGV_and_ENVIRON.
15576 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
15577 <bp-start.h>.
15578
f3499f95
JM
15579 [BZ #13550]
15580 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
15581 definitions.
15582 (CHECK_FCNTL): Likewise.
15583 (CHECK_N_PAGES): Likewise.
15584
32a45bea
JM
15585 [BZ #13550]
15586 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
15587 definitions.
15588 (CHECK_SIGSET_NULL_OK): Likewise.
15589 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
15590 <bp-checks.h>.
15591 (sigpending): Don't use CHECK_SIGSET.
15592 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
15593 <bp-checks.h>.
15594 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15595 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
15596 <bp-checks.h>.
15597 (do_sigsuspend): Don't use CHECK_SIGSET.
15598 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
15599 use CHECK_SIGSET.
15600 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
15601 (do_sigwait): Don't use CHECK_SIGSET.
15602 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
15603 use CHECK_SIGSET.
15604 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
15605 include <bp-checks.h>.
15606 (sigpending): Don't use CHECK_SIGSET.
15607 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
15608 include <bp-checks.h>.
15609 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15610 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
15611 <bp-checks.h>.
15612 (sigpending): Don't use CHECK_SIGSET.
15613 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
15614 <bp-checks.h>.
15615 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15616
2e8a5c8c
JM
15617 [BZ #13550]
15618 * sysdeps/generic/bp-semctl.h: Remove file.
15619 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
15620 <bp-checks.h> and <bp-semctl.h>.
15621 (__old_semctl): Don't use CHECK_SEMCTL.
15622 (__new_semctl): Likewise.
15623 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
15624 and <bp-semctl.h>.
15625 (__old_semctl): Don't use CHECK_SEMCTL.
15626 (__new_semctl): Likewise.
15627 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
15628 <bp-checks.h> and <bp-semctl.h>.
15629 (__old_semctl): Don't use CHECK_SEMCTL.
15630 (__new_semctl): Likewise.
15631 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
15632 <bp-checks.h> and <bp-semctl.h>.
15633 (semctl): Don't use CHECK_SEMCTL.
15634
c2d54929
JM
15635 [BZ #13550]
15636 * Makerules (elide-bp-thunks): Remove variable.
15637 (elide-routines.oS): Don't use $(elide-bp-thunks).
15638 (elide-routines.os): Likewise.
15639 (elide-routines.o): Likewise.
15640 (elide-routines.op): Likewise.
15641 (elide-routines.og): Likewise.
15642 (objects): Don't use $(bp-thunks).
15643 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
15644 include.
15645 (common-generated): Do not add s-proto-bp.d.
15646 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
15647 (int): Likewise.
15648 (typ): Likewise.
15649 Do not generate makefile rules for bounded-pointer thunks.
15650 * sysdeps/generic/bp-thunks.h: Remove file.
15651 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
15652 * sysdeps/unix/s-proto-bp.S: Likewise.
15653
8cf28c5e
JM
15654 [BZ #15062]
15655 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
15656 parts of result separately when argument is not close to line from
15657 -i to i and one part of argument is small.
15658 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15659 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15660 * math/libm-test.inc (cacos_test): Add more tests.
15661 (casin_test): Likewise.
15662 (casinh_test): Likewise.
15663 * sysdeps/i386/fpu/libm-test-ulps: Update.
15664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15665
c4e33b8d
DM
156662013-01-31 David S. Miller <davem@davemloft.net>
15667
15668 * po/de.po: Update from translation team.
15669
3b60b421
MK
156702013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
15671
15672 * time/tzfile.c: Include stdint.h for SIZE_MAX.
15673
bb931195
TS
156742013-01-25 Thomas Schwinge <thomas@codesourcery.com>
15675
b5a5da23
TS
15676 * configure.in (_AC_PROG_CC_C89): New definition.
15677 * configure: Regenerate.
15678
bb931195
TS
15679 * configure.in (AC_PROG_CPP): New definition.
15680 * configure: Regenerate.
15681
8c53a12c
JM
156822013-01-23 Joseph Myers <joseph@codesourcery.com>
15683
15684 * debug/tst-backtrace.h: New file.
15685 * debug/tst-backtrace2.c: Include tst-backtrace.h.
15686 (ret): Remove variable.
15687 (x): Likewise.
15688 (FAIL): Remove macro.
15689 (NO_INLINE): Likewise.
15690 (fn1): Use match function instead of strstr.
15691 * debug/tst-backtrace3.c: Include tst-backtrace.h.
15692 (ret): Remove variable.
15693 (x): Likewise.
15694 (FAIL): Remove macro.
15695 (NO_INLINE): Likewise.
15696 (fn): Use match function instead of strstr.
15697 * debug/tst-backtrace4.c: Include tst-backtrace.h.
15698 (ret): Remove variable.
15699 (x): Likewise.
15700 (FAIL): Remove macro.
15701 (NO_INLINE): Likewise.
15702 (handle_signal): Use match function instead of strstr.
15703 * debug/tst-backtrace5.c: Include tst-backtrace.h.
15704 (ret): Remove variable.
15705 (x): Likewise.
15706 (FAIL): Remove macro.
15707 (NO_INLINE): Likewise.
15708 (handle_signal): Use match function instead of strstr.
15709
4858fa2a
RM
157102013-01-23 Roland McGrath <roland@hack.frob.com>
15711
15712 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
15713
bae8e7f5
DM
157142013-01-23 David S. Miller <davem@davemloft.net>
15715
15716 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
15717 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
15718 argument of CAS if possible.
15719 * sysdeps/sparc/sparc64/bits/atomic.h
15720 (__arch_compare_and_exchange_val_32_acq): Likewise.
15721 (__arch_compare_and_exchange_val_64_acq): Likewise.
15722
9cbbc4ae
PT
157232013-01-23 Pino Toscano <toscano.pino@tiscali.it>
15724
15725 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
15726 * sysdeps/posix/ulimit.c: ... this.
92a601b8 15727 Include <limits.h>.
67b3f58c 15728 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 15729
5655a0b5
AC
157302013-01-23 Adam Conrad <adconrad@0c3.net>
15731
15732 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
15733 (LDFLAGS-tst-array5): Likewise.
15734
052aff95
JM
157352013-01-23 Joseph Myers <joseph@codesourcery.com>
15736
15737 [BZ #15036]
15738 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
15739 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
15740 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
15741 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
15742
7c1e01aa
DM
157432013-01-21 David S. Miller <davem@davemloft.net>
15744
15745 * sysdeps/sparc/backtrace.c: New file.
15746 * sysdeps/sparc/sparc32/backtrace.h: New file.
15747 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
15748 * sysdeps/sparc/sparc64/backtrace.h: New file.
15749 * sysdeps/sparc/sparc64/backtrace.c: Delete.
15750 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
15751 -funwind-tables.
15752
ab087e0a
AS
157532013-01-21 Andreas Schwab <schwab@suse.de>
15754
15755 [BZ #15020]
15756 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
15757 closed its stdout.
15758
ed689c2f
AS
157592013-01-20 Andreas Schwab <schwab@linux-m68k.org>
15760
15761 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
15762 "mpa2.h".
15763 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15764
31d470ac
JM
157652013-01-18 Joseph Myers <joseph@codesourcery.com>
15766 Mark Mitchell <mark@codesourcery.com>
15767 Tom de Vries <tom@codesourcery.com>
15768 Paul Pluzhnikov <ppluzhnikov@google.com>
15769
15770 * debug/tst-backtrace2.c: New file.
15771 * debug/tst-backtrace3.c: Likewise.
15772 * debug/tst-backtrace4.c: Likewise.
15773 * debug/tst-backtrace5.c: Likewise.
15774 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
15775 (CFLAGS-tst-backtrace3.c): Likewise.
15776 (CFLAGS-tst-backtrace4.c): Likewise.
15777 (CFLAGS-tst-backtrace5.c): Likewise.
15778 (LDFLAGS-tst-backtrace2): Likewise.
15779 (LDFLAGS-tst-backtrace3): Likewise.
15780 (LDFLAGS-tst-backtrace4): Likewise.
15781 (LDFLAGS-tst-backtrace5): Likewise.
15782 (tests): Add new tests tst-backtrace2, tst-backtrace3,
15783 tst-backtrace4 and tst-backtrace5.
15784
90567f30 157852013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
15786 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15787
15788 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
15789 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
15790 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
15791 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
15792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15793 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
15794 "+r" and remove output regs list as redundant. Add explicit inline
15795 asm to specify register of return val to work around compiler codegen
15796 bug. Remove (int) cast on return value. Add return type parameter to
15797 use in macro so that this macro does not truncate return value for
15798 64-bit values.
15799 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
15800 pass to INTERNAL_VSYSCALL_NCS.
15801 (INLINE_VSYSCALL): Add 'long int' as return type to
15802 INTERNAL_VSYSCALL_NCS macro invocation.
15803 (INTERNAL_VSYSCALL): Add 'long int' as return type to
15804 INTERNAL_VSYSCALL_NCS macro invocation.
15805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15806
d3b9ea61
SP
158072013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15808
0b57daeb
SP
15809 [BZ #14496]
15810 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
15811 Fix application of SIMD FP exception mask.
15812
caa99d06
SP
15813 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
15814 mp_no from a power of two.
15815 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
15816 __mpexp_twomm1. Use __pow_mp.
15817
d3b9ea61
SP
15818 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
15819 multiplication.
15820
1dbaee3c
DM
158212013-01-17 David S. Miller <davem@davemloft.net>
15822
15823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15824
728d7b43
JM
158252013-01-17 Joseph Myers <joseph@codesourcery.com>
15826
15827 [BZ #15023]
15828 * include/complex.h: Condition contents on [!_COMPLEX_H].
15829 (__kernel_casinhf): New prototype.
15830 (__kernel_casinh): Likewise.
15831 (__kernel_casinhl): Likewise.
15832 * math/Makefile (libm_calls): Add k_casinh.
15833 * math/k_casinh.c: New file.
15834 * math/k_casinhf.c: Likewise.
15835 * math/k_casinhl.c: Likewise.
15836 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
15837 finite nonzero arguments.
15838 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
15839 finite nonzero arguments.
15840 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
15841 finite nonzero arguments.
15842 * math/s_casinh.c: Do not include <float.h>.
15843 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
15844 * math/s_casinhf.c: Do not include <float.h>.
15845 (__casinhf): Move code for finite nonzero arguments to
15846 k_casinhf.c.
15847 * math/s_casinhl.c: Do not include <float.h>.
15848 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
15849 redefine.
15850 (__casinhl): Move code for finite nonzero arguments to
15851 k_casinhl.c.
15852 * math/libm-test.inc (cacos_test): Add more tests.
15853 * sysdeps/i386/fpu/libm-test-ulps: Update.
15854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15855
2a26ef3a
PT
158562013-01-17 Pino Toscano <toscano.pino@tiscali.it>
15857
15858 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
15859 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
15860 [!HAVE_MREMAP]: Remove [defined linux] case.
15861 * malloc/arena.c: Do not include <malloc-sysdep.h>.
15862
a897655d
SP
158632013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15864
15865 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
15866
881ebe89 158672013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
15868
15869 * elf/elf.h (R_386_SIZE32): New relocation.
15870 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
15871 R_386_SIZE32.
15872 (elf_machine_rela): Likewise.
15873 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15874 R_X86_64_SIZE64 and R_X86_64_SIZE32.
15875
59981e9b
JM
158762013-01-17 Joseph Myers <joseph@codesourcery.com>
15877
15878 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
15879 (FP_FAST_FMA): Do not define.
15880 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
15881 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
15882 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
15883 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
15884 !_SOFT_FLOAT]: Likewise.
15885 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
15886 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
15887 value.
15888 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
15889 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
15890 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
15891 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
15892 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
15893 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
15894 file.
15895
cfa8054f
AS
158962013-01-16 Andreas Schwab <schwab@suse.de>
15897
15898 [BZ #14327]
15899 * include/stdlib.h (__mktemp): Add declaration.
15900 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
15901 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
15902
dd930cc5
SP
159032013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15904
881ebe89
SP
15905 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
15906 definitions.
15907 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15908 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
15909 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
15910 definitions here.
15911 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
15912 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
15913 definitions.
15914 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
15915 and ONE.
15916 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
15917 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
15918 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
15919 definitions.
15920 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
15921 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
15922 definitions.
15923 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 15924
dd930cc5
SP
15925 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
15926
c19a9f89
DM
159272013-01-15 David S. Miller <davem@davemloft.net>
15928
1aa61767
DM
15929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15930 trunc{,f} to libm-sysdep_routes.
15931 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
15933 file.
15934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
15935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
15936 file.
15937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
15938 file.
15939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
15940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
15941 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
15942 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
15943 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
15944 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
15945 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
15946 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
15947
c42d5e98
DM
15948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15949 nearbyint{,f} to libm-sysdep_routes.
15950 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
15952 New file.
15953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
15954 file.
15955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
15956 New file.
15957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
15958 file.
15959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
15960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
15961 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
15962 file.
15963 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
15964 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
15965 file.
15966 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
15967 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
15968 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
15969
c19a9f89
DM
15970 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15971 libc_feholdexcept and libc_fesetenv.
15972
357679d2
MF
159732013-01-15 Mike Frysinger <vapier@gentoo.org>
15974
15975 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
15976
65a82e3d
DM
159772013-01-14 David S. Miller <davem@davemloft.net>
15978
8b954ab9
DM
15979 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
15980 (SPARC_ASM_VIS2_IFUNC): Likewise.
15981 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
15982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
15983 use of 'siam' instruction.
15984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
15985 Likewise.
15986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
15987 Likewise.
15988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
15989 Likewise.
15990 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
15991 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15992 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
15993 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
15994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
15995 file.
15996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
15997 file.
15998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
15999 file.
16000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
16001 file.
16002 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
16003 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
16004 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
16005 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
16006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
16007 new VIS2 routines.
16008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16011 Likewise.
16012 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16013 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16014 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16015 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
16017 routines to libm-sysdep_routines.
16018 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16019
65a82e3d
DM
16020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
16021 fdim/fdimf to libm-sysdep_routines.
16022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
16023 file.
16024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
16025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
16026 file.
16027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
16028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
16029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
16030 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
16031 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
16032 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
16033 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
16034
e34ab705
SP
160352013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16036
2a91b573
SP
16037 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
16038 to optimize copies.
16039
1066a534
SP
16040 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
16041 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16042 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16043
e34ab705
SP
16044 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
16045 local variable MPTWO.
16046 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16047 Likewise.
16048
aba5e596
MF
160492013-01-13 Mike Frysinger <vapier@gentoo.org>
16050
16051 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
16052 GLOB_NOESCAPE.
16053
e557e9e5
MF
160542013-01-13 Mike Frysinger <vapier@gentoo.org>
16055
16056 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
16057
0428cec9
MF
160582013-01-13 Mike Frysinger <vapier@gentoo.org>
16059
16060 * manual/pattern.texi (glob_t): Document gl_flags.
16061 (glob64_t): Likewise.
16062
8794a964
DM
160632013-01-11 David S. Miller <davem@davemloft.net>
16064
66438c3f
RM
16065 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
16066 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
16067 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
16068 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
16069 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
16070 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
16071 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
16072 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
16073 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
16074 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
16075 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
16076 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
16077 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
16078
4ae4244d
DM
16079 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
16080 sparc V9 rather than using V8 code.
16081 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16082 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16083
8794a964
DM
16084 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16085 Move to...
16086 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
16087 Here.
16088
6270516e
RM
160892013-01-11 Roland McGrath <roland@hack.frob.com>
16090
16091 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
16092 not in the main loop.
16093 * configure: Regenerated.
16094
6a57d931
JM
160952013-01-11 Joseph Myers <joseph@codesourcery.com>
16096
16097 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
16098 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
16099 to just #else.
16100 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
16101 [!__GLIBC_HAVE_LONG_LONG] case.
16102 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
16103 condition to just #else.
16104 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
16105 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
16106 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
16107 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
16108 unconditional.
16109 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
16110 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
16111 #elif condition to just #else.
16112 * sysdeps/unix/sysv/linux/sys/sysmacros.h
16113 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
16114 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
16115 #elif condition to just #else.
16116
0e8529e9
SE
161172013-01-11 Steve Ellcey <sellcey@mips.com>
16118
16119 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
16120 (EF_MIPS_ARCH_64): Fix value.
16121 (EF_MIPS_ARCH_32R2): New.
16122 (EF_MIPS_ARCH_64R2): New.
16123
740b3dbe
L
161242013-01-11 H.J. Lu <hongjiu.lu@intel.com>
16125
16126 * Makeconfig (+link-pie-before-libc): New.
16127 (+link-pie-after-libc): Likewise.
16128 (+link-pie-tests): Likewise.
16129 (+link-pie): Rewritten.
16130 (link-before-libc): Remove $(config-LDFLAGS).
16131 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
16132 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
16133 (config-LDFLAGS): Renamed to ...
16134 (rtld-LDFLAGS): This.
16135 (rtld-tests-LDFLAGS): New macro.
16136 (link-libc-rpath-link): Likewise.
16137 (link-libc-tests-rpath-link): Likewise.
16138 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
16139 (link-libc): Prepand $(link-libc-rpath-link).
16140 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
16141 (test-program-prefix): New macro.
16142 (test-via-rtld-prefix): Likewise.
16143 (test-program-cmd): Likewise.
16144 (host-test-program-cmd): Likewise.
16145 * Makefile ($(common-objpfx)testrun.sh): Replace
16146 $(run-program-prefix) with $(test-program-prefix).
16147 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
16148 $(rtld-LDFLAGS).
16149 ($(common-objpfx)shlib.lds): Likewise.
16150 (build-module-helper): Likewise.
16151 ($(common-objpfx)format.lds): Likewise.
16152 * Rules (binaries-pie-tests): New.
16153 (binaries-pie-notests): Likewise.
16154 (binaries-pie): Rewritten.
16155 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
16156 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
16157 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
16158 (make-test-out): Replace $(host-built-program-cmd) with
16159 $(host-test-program-cmd).
16160 * config.make.in (build-hardcoded-path-in-tests): New variable.
16161 * configure.in (--enable-hardcoded-path-in-tests): New configure
16162 option.
16163 (hardcoded_path_in_tests): New AC_SUBST.
16164 * configure: Regenerated.
16165 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
16166 $(built-program-cmd) with $(test-program-cmd).
16167 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
16168 (test_program_cmd): This.
16169 * elf/Makefile ($(objpfx)order.out): Run test with
16170 $(test-program-prefix).
16171 ($(objpfx)order2.out): Likewise.
16172 ($(objpfx)tst-initorder.out): Likewise.
16173 ($(objpfx)tst-initorder2.out): Likewise.
16174 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
16175 $(test-program-cmd).
16176 ($(objpfx)tst-array1-static.out): Likewise.
16177 ($(objpfx)tst-array2.out): Likewise.
16178 ($(objpfx)tst-array3.out): Likewise.
16179 ($(objpfx)tst-array4.out): Likewise.
16180 ($(objpfx)tst-array5.out): Likewise.
16181 ($(objpfx)tst-array5-static.out): Likewise.
16182 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
16183 $(test-program-cmd).
16184 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
16185 $(run-program-prefix) with $(test-program-prefix).
16186 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
16187 (test_program_prefix): This.
16188 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
16189 $(run-program-prefix) with $(test-program-prefix).
16190 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
16191 (test_program_prefix): This.
16192 * iconvdata/tst-tables.sh: Likewise.
16193 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
16194 $(run-program-prefix) with $(test-program-prefix).
16195 ($(objpfx)tst-translit.out): Likewise.
16196 ($(objpfx)tst-gettext2.out): Likewise.
16197 ($(objpfx)tst-gettext4.out): Likewise.
16198 ($(objpfx)tst-gettext6.out): Likewise.
16199 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
16200 (test_program_prefix): This.
16201 * intl/tst-gettext2.sh: Likewise.
16202 * intl/tst-gettext4.sh Likewise.
16203 * intl/tst-gettext6.sh: Likewise.
16204 * intl/tst-translit.sh: Likewise.
16205 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
16206 with $(test-program-cmd).
16207 * libio/Makefile ($(objpfx)test-freopen.out): Replace
16208 $(run-program-prefix) with $(test-program-prefix).
16209 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
16210 (test_program_prefix): This.
16211 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
16212 $(run-program-prefix) with $(test-program-prefix).
16213 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
16214 (test_program_prefix): This.
16215 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
16216 * posix/Makefile ($(objpfx)globtest.out): Replace
16217 $(run-via-rtld-prefix) and $(test-wrapper) with
16218 $(test-program-prefix) and $(test-via-rtld-prefix).
16219 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
16220 $(test-program-prefix).
16221 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
16222 $(host-test-program-cmd).
16223 (tst-spawn-ARGS): Likewise.
16224 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
16225 $(test-program-prefix).
16226 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
16227 (test_via_rtld_prefix): This.
16228 (test_wrapper): Renamed to ...
16229 (test_program_prefix): This.
16230 (run_program_prefix): Replaced by test_program_prefix.
16231 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
16232 (test_program_prefix): This.
16233 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
16234 with $(host-test-program-cmd).
16235 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
16236 $(run-program-prefix) with $(test-program-prefix).
16237 ($(objpfx)tst-printf.out): Likewise.
16238 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
16239 $(test-program-cmd).
16240 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
16241 (test_program_prefix): This.
16242 * stdio-common/tst-unbputc.sh: Likewise.
16243 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
16244 $(run-program-prefix) with $(test-program-prefix).
16245 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
16246 (test_program_prefix): This.
16247 * string/Makefile ($(objpfx)tst-svc.out): Replace
16248 $(built-program-cmd) with $(test-program-cmd).
16249
c6fe55cf
AJ
162502013-01-11 Andreas Jaeger <aj@suse.de>
16251
16252 [BZ #15003]
16253 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
16254 value. Sync with Linux 3.7.
16255
9e6919c8
DM
162562013-01-10 David S. Miller <davem@davemloft.net>
16257
16258 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
16259 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16260 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16261
1c9f1a02
RM
162622013-01-10 Roland McGrath <roland@hack.frob.com>
16263
16264 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
16265 never set.
16266 * configure: Regenerated.
16267
b9de2dde
DM
162682013-01-10 David S. Miller <davem@davemloft.net>
16269
16270 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
16271 sparc V9 rather than using V8 code.
16272 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16273 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16274
e7f68ef4
RM
162752013-01-10 Roland McGrath <roland@hack.frob.com>
16276
16277 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
16278 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
16279 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
16280 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
16281 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
16282 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
16283 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
16284 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
16285 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
16286 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
16287 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
16288 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
16289 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
16290 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
16291 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
16292 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
16293 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
16294 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
16295 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
16296 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
16297 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
16298 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
16299 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
16300 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
16301 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
16302 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
16303 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
16304
5a47cc9c
DM
163052013-01-10 David S. Miller <davem@davemloft.net>
16306
16307 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16308
4cf8f209
L
163092013-01-10 H.J. Lu <hongjiu.lu@intel.com>
16310
16311 * posix/Makefile (tests-static): New variable.
16312 (tests): Add $(tests-static).
16313 (tst-exec-static-ARGS): New variable.
16314 (tst-spawn-static-ARGS): Likewise.
16315 * posix/tst-exec-static.c: New file.
16316 * posix/tst-spawn-static.c: Likewise.
16317 * posix/tst-exec.c: Support run directly.
16318 * posix/tst-spawn.c: Likewise.
16319
fed0faa1
JM
163202013-01-10 Joseph Myers <joseph@codesourcery.com>
16321
828beb13
JM
16322 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
16323 long.
16324 * math/bits/mathcalls.h (llrint): Likewise.
16325 (llround): Likewise.
16326 * stdlib/stdlib.h (struct drand48_data): Likewise.
16327 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
16328 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
16329 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
16330 Likewise.
16331 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
16332 Likewise.
16333 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
16334 (elf_greg_t): Likewise.
16335 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
16336 (__jmp_buf): Likewise.
16337 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
16338 definitions.
16339 (llrint): Likewise, for all definitions.
16340 (llrintl): Likewise.
16341
fed0faa1
JM
16342 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
16343 Remove [__GNUC__] condition.
16344 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
16345 condition to just [__USE_ISOC99].
16346 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
16347
1a20cb20
L
163482013-01-10 H.J. Lu <hongjiu.lu@intel.com>
16349
16350 [BZ #14200]
16351 * sysdeps/unix/sysv/linux/x86/bits/environments.h
16352 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
16353 defined.
16354 (_POSIX_V6_ILP32_OFF32): Likewise.
16355 (_XBS5_ILP32_OFF32): Likewise.
16356 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
16357 (__ILP32_OFFBIG_LDFLAGS): Likewise.
16358
751b85f7
SP
163592013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16360
7490eb81
SP
16361 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
16362
751b85f7
SP
16363 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
16364 doubles __mpexp_twomm1. Adjust usage.
16365 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
16366 Remove.
16367
988197f0
AS
163682013-01-10 Andreas Schwab <schwab@suse.de>
16369
16370 [BZ #14964]
16371 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
16372 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
16373
e83d7298
DM
163742013-01-09 David S. Miller <davem@davemloft.net>
16375
034ed64b 16376 [BZ #15003]
e83d7298
DM
16377 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
16378 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
16379 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
16380 TCP_FASTOPEN): Define.
16381 (tcp_repair_opt): New structure.
16382 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
16383 enum values.
16384 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
16385 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
16386 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
16387 (tcp_cookie_transactions): New structure.
16388
d5e0b9bd
AB
163892013-01-09 Anton Blanchard <anton@samba.org>
16390
16391 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
16392 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
16393 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
16394 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
16395
0c07e3ea
JM
163962013-01-09 Joseph Myers <joseph@codesourcery.com>
16397
16398 * include/features.h (__USE_ANSI): Remove.
16399
232f7002
RM
164002013-01-09 Roland McGrath <roland@hack.frob.com>
16401
ad98e30c
RM
16402 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
16403
232f7002
RM
16404 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
16405
950c99ca
SP
164062013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
16407
b5792741
SP
16408 * sysdeps/s390/fpu/libm-test-ulps: Update.
16409
47cf2278
SP
16410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16411
950c99ca
SP
16412 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
16413 (__acr): Likewise.
16414 (__cpy): Likewise.
16415 (norm): Likewise.
16416 (denorm): Likewise.
16417 (__mp_dbl): Likewise.
16418 (__dbl_mp): Likewise.
16419 (add_magnitudes): Likewise.
16420 (sub_magnitudes): Likewise.
16421 (__add): Likewise.
16422 (__sub): Likewise.
16423 (__mul): Likewise.
16424 (__inv): Likewise.
16425 (__dvd): Likewise.
16426 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
16427 (__acr): Likewise.
16428 (__cpy): Likewise.
16429 (norm): Likewise.
16430 (denorm): Likewise.
16431 (__mp_dbl): Likewise.
16432 (__dbl_mp): Likewise.
16433 (add_magnitudes): Likewise.
16434 (sub_magnitudes): Likewise.
16435 (__add): Likewise.
16436 (__sub): Likewise.
16437 (__mul): Likewise.
16438 (__inv): Likewise.
16439 (__dvd): Likewise.
16440 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
16441 (__acr): Likewise.
16442 (__cpy): Likewise.
16443 (norm): Likewise.
16444 (denorm): Likewise.
16445 (__mp_dbl): Likewise.
16446 (__dbl_mp): Likewise.
16447 (add_magnitudes): Likewise.
16448 (sub_magnitudes): Likewise.
16449 (__add): Likewise.
16450 (__sub): Likewise.
16451 (__mul): Likewise.
16452 (__inv): Likewise.
16453 (__dvd): Likewise.
16454
eede9df9
JM
164552013-01-08 Joseph Myers <joseph@codesourcery.com>
16456
16457 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
16458 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
16459 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
16460 2 && __USE_EXTERN_INLINES]: Likewise.
16461
c40ea3d9
AJ
164622013-01-08 Andreas Jaeger <aj@suse.de>
16463
16464 [BZ# 14985]
16465 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
16466 Remove.
16467 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16468 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16469
2ccdea26
AB
164702013-01-07 Anton Blanchard <anton@samba.org>
16471
16472 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
16473 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16474 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
16475 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16476 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16477 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16478 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
16479 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16480 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16481 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16482 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16483 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16484 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16485 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16486 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16487 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16488 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16489 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16490 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16491 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16492 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16493 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
16494 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16495 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16496 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
16497 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16498 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16499 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16500 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
16501 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16502 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16503 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16504 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16505 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16506 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16507 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16508 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16509 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16510 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
16511 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16512 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
16513 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16514 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16515
a9708fed
JM
165162013-01-07 Joseph Myers <joseph@codesourcery.com>
16517
375607b9
JM
16518 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
16519 (__MALLOC_PMT): Likewise.
16520 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
16521 [__GNUC__], only on [_LIBC].
16522 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16523 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
16524 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16525 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
16526 forward declaration.
16527 (realloc_hook_ini): Likewise.
16528 (memalign_hook_ini): Likewise.
16529 (__libc_memalign): Do not use __MALLOC_PMT in variable
16530 declaration.
16531 (__libc_valloc): Likewise.
16532 (__libc_pvalloc): Likewise.
16533 (__libc_calloc): Likewise.
16534 (__posix_memalign): Likewise.
16535
a9708fed
JM
16536 [BZ #14996]
16537 * math/s_casinh.c: Include <float.h>.
16538 (__casinh): Do not do computation with squaring and square root
16539 for large arguments.
16540 * math/s_casinhf.c: Include <float.h>.
16541 (__casinhf): Do not do computation with squaring and square root
16542 for large arguments.
16543 * math/s_casinhl.c: Include <float.h>.
16544 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
16545 (__casinhl): Do not do computation with squaring and square root
16546 for large arguments.
16547 * math/libm-test.inc (casin_test): Add more tests.
16548 (casinh_test): Likewise.
16549 * sysdeps/i386/fpu/libm-test-ulps: Update.
16550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16551
afec409a
L
165522013-01-04 H.J. Lu <hongjiu.lu@intel.com>
16553
16554 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
16555 (__x86_64_raw_data_cache_size): Likewise.
16556 (__x86_64_data_cache_size_half): Likewise.
16557 (__x86_64_raw_data_cache_size_half): Likewise.
16558 (__x86_64_shared_cache_size): Likewise.
16559 (__x86_64_raw_shared_cache_size): Likewise.
16560 (__x86_64_shared_cache_size_half): Likewise.
16561 (__x86_64_raw_shared_cache_size_half): Likewise.
16562 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
16563 to ...
16564 (__x86_data_cache_size): This.
16565 (__x86_64_raw_data_cache_size): Renamed to ...
16566 (__x86_raw_data_cache_size): This.
16567 (__x86_64_data_cache_size_half): Renamed to ...
16568 (__x86_data_cache_size_half): This.
16569 (__x86_64_raw_data_cache_size_half): Renamed to ...
16570 (__x86_raw_data_cache_size_half): This.
16571 (__x86_64_shared_cache_size): Renamed to ...
16572 (__x86_shared_cache_size): This.
16573 (__x86_64_raw_shared_cache_size): Renamed to ...
16574 (__x86_raw_shared_cache_size): This.
16575 (__x86_64_shared_cache_size_half): Renamed to ...
16576 (__x86_shared_cache_size_half): This.
16577 (__x86_64_raw_shared_cache_size_half): Renamed to ...
16578 (__x86_raw_shared_cache_size_half): This.
16579 * sysdeps/x86_64/memcpy.S: Updated.
16580 * sysdeps/x86_64/memset.S: Likewise.
16581 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16582 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16583 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16584
0b3986d0
DM
165852013-01-04 David S. Miller <davem@davemloft.net>
16586
16587 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16588
e47686e9
AS
165892013-01-04 Andreas Schwab <schwab@linux-m68k.org>
16590
d643bac1
AS
16591 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
16592 1 to avoid redefinition warning.
16593 (__USE_GNU): Don't define.
16594 (init_signaling_nan): Protoize.
16595
e47686e9
AS
16596 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16597
b18decba
SP
165982013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16599
fffb407f
SP
16600 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
16601 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
16602 (__cpymn): Likewise.
16603 (norm): Remove commented code.
16604 (denorm): Likewise.
16605 (__mp_dbl): Likewise.
16606 (__inv): Likewise.
16607 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
16608 (__cpymn): Likewise.
16609 (norm): Remove commented code.
16610 (denorm): Likewise.
16611 (__mp_dbl): Likewise.
16612 (__inv): Likewise.
16613
b18decba
SP
16614 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
16615 mp_no value for 1.0 and 2.0.
16616 (norm): Use RADIXI instead of radixi.d.
16617 (denorm): Likewise.
16618 (__mul): Use 0.0 instead of zero.d.
16619 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
16620 mp_no value for 1.0 and 2.0.
16621 (norm): Use RADIXI instead of radixi.d.
16622 (denorm): Likewise.
16623 (__mul): Use 0.0 instead of zero.d.
16624
cdc1c96f
JM
166252013-01-04 Joseph Myers <joseph@codesourcery.com>
16626
16627 [BZ #14994]
16628 * math/s_casinh.c (__casinh): Reduce finite argument to first
16629 quadrant then set signs of results at the end.
16630 * math/s_casinhf.c (__casinhf): Likewise.
16631 * math/s_casinhl.c (__casinhl): Likewise.
16632 * math/libm-test.inc (casin_test): Add more tests.
16633 (casinh_test): Likewise.
16634 * sysdeps/i386/fpu/libm-test-ulps: Update.
16635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16636
302913e1
SP
166372013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16638
6420d207
SP
16639 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
16640
a9e48ab4
SP
16641 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
16642
b7837264
SP
16643 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
16644 declarations.
16645 (denorm): Likewise.
16646 (__mp_dbl): Likewise.
16647 (__inv): Likewise.
16648
f8af25d2
SP
16649 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
16650 and adjust the header comment.
16651
302913e1
SP
16652 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
16653 variable name from declaration.
16654
5d7dd1ca
L
166552013-01-03 H.J. Lu <hongjiu.lu@intel.com>
16656
16657 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16658 Initialize COMMON_CPUID_INDEX_7 element.
16659 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
16660 (CPUID_RTM): Likewise.
16661 (HAS_RTM): Likewise.
16662 (COMMON_CPUID_INDEX_7): New enum.
16663
2f5f40f4
AS
166642013-01-03 Andreas Schwab <schwab@linux-m68k.org>
16665
16666 [BZ #14981]
16667 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
16668 size is zero, record memory as freed.
16669
4056f4a0
AJ
166702013-01-03 Andreas Jaeger <aj@suse.de>
16671
16672 * po/ia.po: Add new Interlingua translation.
16673
ab15736f 166742012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
16675
16676 * locale/programs/localedef.c: Fix description of '--posix' flag.
16677
568035b7
JM
166782013-01-02 Joseph Myers <joseph@codesourcery.com>
16679
e6898b8d
JM
16680 * NEWS: Update dates in second copyright notice.
16681 * README: Update copyright dates in example.
16682 * manual/libc.texinfo: Update copyright dates.
16683 * scripts/test-installation.pl: Update copyright date in --version
16684 output.
16685
0e2f9562
JM
16686 * hurd/ctty-input.c: Fix copyright notice formatting.
16687 * hurd/ctty-output.c: Likewise.
16688 * hurd/dtable.c: Likewise.
16689 * hurd/hurd-raise.c: Likewise.
16690 * hurd/hurdprio.c: Likewise.
16691 * hurd/msgportdemux.c: Likewise.
16692 * misc/sys/file.h: Likewise.
16693 * misc/sys/ioctl.h: Likewise.
16694 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16695 * sysdeps/mach/hurd/chdir.c: Likewise.
16696 * sysdeps/mach/hurd/fchdir.c: Likewise.
16697 * sysdeps/mach/hurd/rename.c: Likewise.
16698 * sysdeps/mach/hurd/rmdir.c: Likewise.
16699 * sysdeps/mach/hurd/seekdir.c: Likewise.
16700 * sysdeps/mach/hurd/setsid.c: Likewise.
16701 * sysdeps/posix/wait3.c: Likewise.
16702
568035b7
JM
16703 * All files with FSF copyright notices: Update copyright dates
16704 using scripts/update-copyrights.
16705 * intl/plural.c: Regenerated.
16706 * locale/programs/charmap-kw.h: Likewise.
16707 * locale/programs/locfile-kw.h: Likewise.
16708
da08f647
SP
167092013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16710
0f5477af
SP
16711 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
16712 four values.
16713
44e0d4c2
SP
16714 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
16715 calculation loop and add branch prediction.
16716
4d55b4e5
SP
16717 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
16718 check access beyond bounds of m1np.
16719
da08f647
SP
16720 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16721 MPTWO.
16722 (__inv): Remove local variable MPTWO to use the global
16723 constant.
16724 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
16725 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16726 variable MPTWO.
16727 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
16728 MP3HALFS static const.
16729
8e051029
DM
167302013-01-01 David S. Miller <davem@davemloft.net>
16731
16732 * po/ca.po: Update from translation team.
16733
f4cf5f2d
JM
167342013-01-01 Joseph Myers <joseph@codesourcery.com>
16735
16736 * scripts/update-copyrights: New file.
16737 * Makeconfig: Reformat copyright notice.
16738 * ctype/ctype.h: Likewise.
16739 * debug/swprintf_chk.c: Likewise.
16740 * elf/dl-cache.c: Likewise.
16741 * elf/dl-debug.c: Likewise.
16742 * elf/dl-object.c: Likewise.
16743 * grp/initgroups.c: Likewise.
16744 * hurd/Makefile: Likewise.
16745 * hurd/hurd/signal.h: Likewise.
16746 * hurd/hurdfault.c: Likewise.
16747 * hurd/hurdioctl.c: Likewise.
16748 * hurd/hurdlookup.c: Likewise.
16749 * hurd/intr-msg.c: Likewise.
16750 * iconv/gconv_open.c: Likewise.
16751 * libio/swprintf.c: Likewise.
16752 * locale/lc-ctype.c: Likewise.
16753 * locale/nl_langinfo.c: Likewise.
16754 * mach/Machrules: Likewise.
16755 * mach/Makefile: Likewise.
16756 * malloc/obstack.h: Likewise.
16757 * manual/Makefile: Likewise.
16758 * manual/tsort.awk: Likewise.
16759 * misc/bits/stab.def: Likewise.
16760 * nis/nis_print_group_entry.c: Likewise.
16761 * nis/nis_table.c: Likewise.
16762 * nis/nss_compat/compat-pwd.c: Likewise.
16763 * nis/nss_compat/compat-spwd.c: Likewise.
16764 * po/Makefile: Likewise.
16765 * posix/fnmatch.c: Likewise.
16766 * posix/regex.h: Likewise.
16767 * resolv/Makefile: Likewise.
16768 * resolv/nss_dns/dns-network.c: Likewise.
16769 * resolv/res_hconf.c: Likewise.
16770 * scripts/gen-sorted.awk: Likewise.
16771 * soft-fp/soft-fp.h: Likewise.
16772 * stdio-common/printf.h: Likewise.
16773 * stdlib/monetary.h: Likewise.
16774 * stdlib/random.c: Likewise.
16775 * stdlib/random_r.c: Likewise.
16776 * sysdeps/generic/Makefile: Likewise.
16777 * sysdeps/gnu/Makefile: Likewise.
16778 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16779 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16780 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16781 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16782 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16783 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16784 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16785 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16786 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16787 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16788 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16789 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16790 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16791 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16792 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16793 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16794 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16795 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16796 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16797 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16798 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16799 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16800 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16801 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16802 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
16803 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16804 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16805 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
16806 * sysdeps/mach/hurd/errnos.awk: Likewise.
16807 * sysdeps/mach/hurd/fork.c: Likewise.
16808 * sysdeps/mach/hurd/getcwd.c: Likewise.
16809 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
16810 * sysdeps/mach/hurd/mmap.c: Likewise.
16811 * sysdeps/mach/hurd/utimes.c: Likewise.
16812 * sysdeps/mach/hurd/xmknod.c: Likewise.
16813 * sysdeps/posix/profil.c: Likewise.
16814 * sysdeps/posix/readdir_r.c: Likewise.
16815 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16816 * sysdeps/powerpc/bits/setjmp.h: Likewise.
16817 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
16818 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16819 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16820 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16821 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16822 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16823 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16824 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16825 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16826 * sysdeps/pthread/lio_listio.c: Likewise.
16827 * sysdeps/sparc/dl-procinfo.h: Likewise.
16828 * sysdeps/unix/i386/sysdep.S: Likewise.
16829 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
16830 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
16831 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
16832 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
16833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16834 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16835 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16836 * sysdeps/unix/sysv/linux/speed.c: Likewise.
16837 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16838 * sysdeps/wordsize-32/divdi3.c: Likewise.
16839 * time/sys/time.h: Likewise.
16840 * wcsmbs/Makefile: Likewise.
16841
0549fbba
DM
168422013-01-01 David S. Miller <davem@davemloft.net>
16843
a141f1a7
DM
16844 * po/fr.po: Update from translation team.
16845
0549fbba
DM
16846 * catgets/gencat.c: Update copyright year.
16847 * csu/version.c: Likewise.
16848 * debug/catchsegv.sh: Likewise.
16849 * debug/pcprofiledump.c: Likewise.
16850 * debug/xtrace.sh: Likewise.
16851 * elf/ldconfig.c: Likewise.
16852 * elf/ldd.bash.in: Likewise.
16853 * elf/pldd.c: Likewise.
16854 * elf/sotruss.ksh: Likewise.
16855 * elf/sprof.c: Likewise.
16856 * iconv/iconv_prog.c: Likewise.
16857 * iconv/iconvconfig.c: Likewise.
16858 * locale/programs/locale.c: Likewise.
16859 * locale/programs/localedef.c: Likewise.
16860 * login/programs/pt_chown.c: Likewise.
16861 * malloc/memusage.sh: Likewise.
16862 * malloc/memusagestat.c: Likewise.
16863 * malloc/mtrace.pl: Likewise.
16864 * nscd/nscd.c: Likewise.
16865 * nss/getent.c: Likewise.
16866 * nss/makedb.c: Likewise.
16867 * posix/getconf.c: Likewise.
16868
18ea052c
SP
168692012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16870
16871 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
16872 numbers.
16873
9c89fca6
MF
168742012-12-30 Mike Frysinger <vapier@gentoo.org>
16875
16876 * math/bits/mathcalls.h (modf): Use __nonnull.
16877
085ec079
SP
168782012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16879
16880 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
16881 (split): Use macro CN instead of the bare value.
16882 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
16883 could be used.
16884 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
16885 instead of the bare value.
16886 (power1): Likewise.
16887
6d9f97e1
SP
168882012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16889
d63f73be
SP
16890 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
16891 __ATAN_TWOM.
16892 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16893
6d9f97e1
SP
16894 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
16895 their values.
16896 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16897 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16898 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
16899 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
16900
4c4febf5
AJ
169012012-12-28 Andreas Jaeger <aj@suse.de>
16902
af5843ef
AJ
16903 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
16904 values are from Linux 3.7.
16905
4c4febf5
AJ
16906 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
16907 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
16908
99136f82
SP
169092012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16910
2f216c3c 16911 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
16912 TRUE case.
16913
99136f82
SP
16914 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
16915 (norm): Likewise.
16916 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
16917 variables with preprocessor constants.
16918 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16919 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16920 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16921
7fffbdff
BH
169222012-12-27 Bruno Haible <bruno@clisp.org>
16923
16924 [BZ #14317]
16925 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
16926 only if needed.
16927
b76eb5f0
SP
169282012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16929
31a7fe5c
SP
16930 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
16931 and use variable directly.
16932 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
16933
b76eb5f0
SP
16934 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16935 MPONE.
16936 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
16937 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16938 variable MPONE.
16939 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16940 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16941 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
16942 include directive. Remove local variable MPONE.
16943 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
16944 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
16945 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16946
2c8bfe7d
DM
169472012-12-25 David S. Miller <davem@davemloft.net>
16948
16949 * version.h (RELEASE): Set to "development".
16950 (VERSION): Set to "2.17.90".
16951 * NEWS: Add 2.18 section.
16952
147d03b0
DM
169532012-12-21 David S. Miller <davem@davemloft.net>
16954
16955 * po/hr.po: Update from translation team.
16956
a8ebb2b9
AK
169572012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16958
16959 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
16960
95b4f1b6
SE
169612012-12-19 Steve Ellcey <sellcey@mips.com>
16962
b2d94007 16963 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 16964
cedb2a90
MS
169652012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16966
16967 * manual/contrib.texi (Contributors): Spelling correction.
16968
bbf527d6
DM
169692012-12-15 David S. Miller <davem@davemloft.net>
16970
16971 * po/ru.po: Update from translation team.
16972
bc38c906
DM
169732012-12-13 David S. Miller <davem@davemloft.net>
16974
85429b1a
DM
16975 * NEWS: Mention IFUNC testsuite enhancements.
16976
d283e353
DM
16977 * po/pl.po: Update from translation team.
16978 * po/bg.po: Likewise.
16979
bc38c906
DM
16980 * manual/contrib.texi (Contributors): Update entries for Hongjiu
16981 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
16982
a181b0d7
DM
169832012-12-11 David S. Miller <davem@davemloft.net>
16984
4641d57e
DM
16985 * po/sv.po: Update from translation team.
16986
f7bc6495
DM
16987 * po/vi.po: Update from translation team.
16988
6fc9048f
DM
16989 * po/cs.po: Update from translation team.
16990
a181b0d7
DM
16991 * po/de.po: Update from translation team.
16992 * po/eo.po: Likewise.
16993 * po/nl.po: Likewise.
16994
f70bfe80
SP
169952012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16996
3c8b4190
SP
16997 [BZ #14246]
16998 * manual/argp.texi (Argp Helper Functions): Move node to follow
16999 Argp Parsing State.
17000
f70bfe80
SP
17001 [BZ #14872]
17002 * manual/conf.texi (Limits on File System Capacity): Mention if
17003 terminating null is included in the max size.
17004
188f0adf
AJ
170052012-12-10 Andreas Jaeger <aj@suse.de>
17006
17007 * po/cs.po: Update from translation team.
17008
56e7d3ad
SP
170092012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17010
17011 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
17012 void pointer and cast to uintptr_t.
17013 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
17014 path.
17015 * sysdeps/s390/s390-64/memcpy.S: Likewise.
17016 * sysdeps/s390/s390-64/memset.S: Likewise.
17017
76f2d2ea 170182012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
17019
17020 [BZ #14833]
17021 * menual/message.texi (Message Translation): Fix typos.
17022 (Helper programs for gettext): Likewise.
17023
67cbf9a2
AS
170242012-12-07 Andreas Schwab <schwab@linux-m68k.org>
17025
17026 [BZ #14898]
17027 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
17028 Change to -1.
17029
682d0e9a
DM
170302012-12-07 David S. Miller <davem@davemloft.net>
17031
17032 * po/libc.pot: Update.
17033
573cd484
RH
170342012-12-07 Richard Henderson <rth@redhat.com>
17035
7e9da188 17036 [BZ #10114]
573cd484
RH
17037 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
17038 normal/normal case to before the switch.
17039 (_FP_DIV): Likewise.
17040
e933a943
MF
170412012-12-06 Carlos O'Donell <carlos@systemhalted.org>
17042 Mike Frysinger <vapier@gentoo.org>
17043
17044 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
17045 check for __NR_fadvise64_64.
17046
82123268
CM
170472012-12-06 Chris Metcalf <cmetcalf@tilera.com>
17048
17049 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
17050 0, not just to plain "0" as a statement.
17051 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
17052 with cw.
17053
d9814526
JM
170542012-12-06 Joseph Myers <joseph@codesourcery.com>
17055
17056 * NEWS: Use sourceware.org in Bugzilla URL.
17057
7728c574
SP
170582012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17059
f16946dd
SP
17060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17061 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
17062
5704bbcb
SP
17063 * stdio-common/tst-put-error.c (do_test): Add newline to the
17064 padded test to ensure flush.
17065
17aa0516
JL
170662012-12-05 Jeff Law <law@redhat.com>
17067
17068 * sunrpc/etc.rpc (fedfs_admin): Add entry.
17069
363313b5
JM
170702012-12-05 Joseph Myers <joseph@codesourcery.com>
17071
effbd42a
JM
17072 * README: Don't refer to ports add-on as distributed separately.
17073 Mention AArch64 in list of systems supported in the ports add-on.
17074
87600365
JM
17075 * LICENSES: Add more non-FSF copyright and license notices.
17076
a0d7066a
JM
17077 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
17078 ((unused)).
17079
66ca5a5b
JM
17080 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
17081
363313b5
JM
17082 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
17083 10000 as width of padded output.
17084
b37984ad
JM
170852012-12-04 Joseph Myers <joseph@codesourcery.com>
17086
9003570a
JM
17087 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
17088
b37984ad
JM
17089 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
17090 variable LX with __attribute__ ((unused)).
17091 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17092 Likewise.
17093 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17094 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17095 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
17096 with __attribute__ ((unused)).
17097
c8df52ec
DM
170982012-12-04 David S. Miller <davem@abraco.davemloft.net>
17099
17100 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
17101
b3b099af
JM
171022012-12-04 Joseph Myers <joseph@codesourcery.com>
17103
c33aa6e3
JM
17104 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
17105 (CFLAGS-nldbl-acos.c): New variable.
17106 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
17107 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
17108 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
17109 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
17110 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
17111 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
17112 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
17113 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
17114 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
17115 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
17116 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
17117 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
17118 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
17119 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
17120 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
17121 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
17122 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
17123 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
17124 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
17125 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
17126 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
17127 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
17128 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
17129 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
17130 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
17131 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
17132 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
17133 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
17134 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
17135 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
17136 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
17137 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
17138 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
17139 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
17140 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
17141 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
17142 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
17143 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
17144 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
17145 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
17146 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
17147 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
17148 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
17149 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
17150 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
17151 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
17152 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
17153 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
17154 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
17155 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
17156 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
17157 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
17158 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
17159 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
17160 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
17161 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
17162 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
17163 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
17164 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
17165 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
17166 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
17167 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
17168 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
17169 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
17170 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
17171 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
17172 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
17173 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
17174 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
17175 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
17176 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
17177 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
17178 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
17179 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
17180 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
17181 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
17182 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
17183 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
17184 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
17185 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
17186 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
17187 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
17188 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
17189 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
17190 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
17191 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
17192 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
17193 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
17194 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
17195 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
17196 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
17197 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
17198 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
17199 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
17200 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
17201 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
17202 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
17203
20f0018d
JM
17204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17205 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
17206
b3b099af
JM
17207 [BZ #14914]
17208 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
17209 whole low double instead of just low 47 bits when splitting values
17210 into two parts.
17211
029264d1
AM
172122012-12-03 Allan McRae <allan@archlinux.org>
17213
17214 * manual/stdio.texi (Predefined Printf Handlers): Remove
17215 @hsep and @vsep usage.
17216
c9d6789e
MF
172172012-12-03 Mike Frysinger <vapier@gentoo.org>
17218
17219 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
17220 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
17221
4b7634a5
JL
172222012-12-03 Jeff Law <law@redhat.com>
17223
17224 * time/sys/time.h (settimeofday): Do not mark TV argument
17225 as __nonnull.
17226
eb6cbd24
MF
172272012-12-01 Mike Frysinger <vapier@gentoo.org>
17228
17229 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
17230 when currently writing and seek to current position when not.
17231 * libio/Makefile (tests): Remove bug-fclose1.
17232 * libio/bug-fclose1.c: Delete.
17233
f638872a
JM
172342012-12-01 Joseph Myers <joseph@codesourcery.com>
17235
17236 * manual/arith.texi (feenableexcept): Fix typo.
17237 (fedisableexcept): Likewise.
17238
48085d14
RM
172392012-11-30 Roland McGrath <roland@hack.frob.com>
17240
17241 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
17242 second, differently-typed declaration, rather than a cast.
17243
1a538b9f
SP
172442012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17245
17246 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
17247 * include/rpc/svc.h: ... here.
17248
d07f2ff1 172492012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
17250
17251 [BZ #13013]
17252 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
17253 depending n and resplen2 to catch cases where answer
17254 equals answerp2.
17255
c93ec1f0
CD
172562012-11-29 Carlos O'Donell <carlos@systemhalted.org>
17257
17258 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
17259 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
17260
37db69de
MF
172612012-11-29 Mike Frysinger <vapier@gentoo.org>
17262
17263 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
17264
e10c4e4f
RM
172652012-11-29 Roland McGrath <roland@hack.frob.com>
17266
17267 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
17268
2af1b328
JL
172692012-11-28 Jeff Law <law@redhat.com>
17270
17271 [BZ #13761]
17272 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
17273 dataset_temporary. Track alloca usage into alloca_used.
17274 If dataset is large allocate and release it via malloc/free.
17275
111db5b1
FW
172762012-06-04 Florian Weimer <fweimer@redhat.com>
17277
f06cc227 17278 [BZ #14197]
111db5b1
FW
17279 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
17280
dd694abd
DM
172812012-11-28 David S. Miller <davem@davemloft.net>
17282
17283 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17284
9984dd01
JM
172852012-11-28 Joseph Myers <joseph@codesourcery.com>
17286
17287 [BZ #14803]
17288 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
17289 of pi/2 rounded to nearest to 64 bits.
17290 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
17291 nearest to 64 bits.
17292 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
17293 bits.
17294
14bc93a9
JL
172952012-11-28 Jeff Law <law@redhat.com>
17296 Martin Osvald <mosvald@redhat.com>
17297
17298 [BZ #14889]
17299 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
17300 * sunrpc/svc.c: Include time.h.
17301 (__svc_accept_failed): New function.
17302 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
17303 any reason other than EINTR, call __svc_accept_failed.
17304 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
17305 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
17306
e3c6aa3a
AS
173072012-11-28 Andreas Schwab <schwab@suse.de>
17308
17309 * scripts/abilist.awk: Also handle indirect functions in .opd
17310 section.
17311
1bead169
JM
173122012-11-28 Joseph Myers <joseph@codesourcery.com>
17313
17314 [BZ #13881]
17315 * sysdeps/x86/fpu/powl_helper.c: New file.
17316 * sysdeps/x86/fpu/Makefile: Likewise.
17317 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
17318 (p3): New object.
17319 (__ieee754_powl): Use __powl_helper for finite arguments except
17320 integer exponents below 8.
17321 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
17322 (p3): New object.
17323 (__ieee754_powl): Use __powl_helper for finite arguments except
17324 integer exponents below 8.
17325 * math/libm-test.inc (pow_test): Add more tests and enable some
17326 previously disabled tests.
17327 * sysdeps/i386/fpu/libm-test-ulps: Update.
17328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17329
0817d63d
SP
173302012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17331 Carlos O'Donell <carlos_odonell@mentor.com>
17332
17333 * nss/makedb.c (is_prime): Assert that input is odd and greater
17334 than 4. Note that fact in a comment too.
17335 (next_prime): Add 4 to input.
17336
de2fd463
SP
173372012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17338
17339 [BZ #11741]
17340 * libio/Makefile (tests): Add test case tst-fwrite-error.
17341 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
17342 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
17343 * libio/tst-fwrite-error.c: New test case.
17344
c515fb51
L
173452012-11-26 H.J. Lu <hongjiu.lu@intel.com>
17346
17347 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
17348 before casting to void *.
17349 * include/libc-internal.h (__pointer_type): New macro.
17350 (__integer_if_pointer_type_sub): Likewise.
17351 (__integer_if_pointer_type): Likewise.
17352 (cast_to_integer): Likewise.
17353 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
17354 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
17355 before casting to atomic64_t.
17356 (atomic_exchange_acq): Likewise.
17357 (__arch_exchange_and_add_body): Likewise.
17358 (__arch_add_body): Likewise.
17359 (atomic_add_negative): Likewise.
17360 (atomic_add_zero): Likewise.
17361
4cf77aa9
JM
173622012-11-26 Joseph Myers <joseph@codesourcery.com>
17363
17364 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
17365 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
17366 (add_fdes): Likewise.
17367 (linear_search_fdes): Likewise.
17368 (binary_search_unencoded_fdes): Likewise.
17369
d260b3b4
AS
173702012-11-26 Andreas Schwab <schwab@linux-m68k.org>
17371
17372 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
17373
67060746
AC
173742012-11-24 Adam Conrad <adconrad@0c3.net>
17375
17376 * configure.in: Autodetect C++ header directories.
17377 * configure: Regenerated.
17378
800938a1
MF
173792012-11-23 Mike Frysinger <vapier@gentoo.org>
17380
17381 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
17382
4e6e34e6
AS
173832012-11-23 Andreas Schwab <schwab@linux-m68k.org>
17384
17385 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17386
7c7feb47
JM
173872012-11-22 Joseph Myers <joseph@codesourcery.com>
17388
7184dcdf
JM
17389 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
17390 LDBL_MANT_DIG == 106]: Disable some tests.
17391 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17392 Likewise.
17393 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17394 Likewise.
17395
0a42601f
JM
17396 [BZ #14871]
17397 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
17398 input for small inputs. Return +/- pi/2 for large inputs.
17399 * math/libm-test.inc (atan_test): Add more tests.
17400
79c9b9fe
JM
17401 * sysdeps/generic/unwind-dw2-fde-glibc.c
17402 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
17403 __attribute__ ((unused)).
17404
c60d3bf2
JM
17405 [BZ #14645]
17406 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
17407 x * y if x and y are nonzero and z is zero.
17408
ef1e0867
JM
17409 [BZ #14811]
17410 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
17411 nonzero exponents with absolute value below 0x1p-117 to +/-
17412 0x1p-117.
17413
1468ded3
JM
17414 [BZ #14869]
17415 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
17416 up arguments below 2**-450, not just those below 2**-500.
17417 * math/libm-test.inc (hypot_test): Add another test.
17418
8e27e3cc
JM
17419 [BZ #14868]
17420 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
17421 Return a+b for ratio over 2**120, not 2**60.
17422 * math/libm-test.inc (hypot_test): Add another test.
17423
c9c0279b
JM
17424 * math/libm-test.inc (clog_test): Use
17425 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
17426 (clog10_test): Likewise.
17427
7c7feb47
JM
17428 [BZ #6778]
17429 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
17430
fff1530e
AS
174312012-11-22 Andreas Schwab <schwab@suse.de>
17432
17433 * sysdeps/i386/fpu/libm-test-ulps: Update.
17434
94558d30
PT
174352012-11-22 Pino Toscano <toscano.pino@tiscali.it>
17436
17437 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
17438 printf output with newline.
17439
7e1be741
L
174402012-11-21 H.J. Lu <hongjiu.lu@intel.com>
17441
6bfea974
L
17442 [BZ #14865]
17443 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
17444 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
17445 -z nodlopen, -z initfirst and -z execstack support.
17446 * configure: Regenerated.
17447
7e1be741
L
17448 * elf/elf.h (DF_1_NODIRECT): New macro.
17449 (DF_1_IGNMULDEF): Likewise.
17450 (DF_1_NOKSYMS): Likewise.
17451 (DF_1_NOHDR): Likewise.
17452 (DF_1_EDITED): Likewise.
17453 (DF_1_NORELOC): Likewise.
17454 (DF_1_SYMINTPOSE): Likewise.
17455 (DF_1_GLOBAUDIT): Likewise.
17456 (DF_1_SINGLETON): Likewise.
17457 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
17458 DT_1_SUPPORTED_MASK bits.
17459 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
17460
105ce2ce
CD
174612012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
17462
17463 * sysdeps/unix/make-syscalls.sh: Document prefixes.
17464
123be9de
TS
174652012-11-20 Thomas Schwinge <thomas@codesourcery.com>
17466
d072f3f7
TS
17467 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
17468 macro.
17469
123be9de
TS
17470 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
17471 (sendmmsg): Move declarations...
17472 * socket/sys/socket.h: ... here.
17473 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
17474 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
17475 include it from...
17476 * socket/recvmmsg.c: ... this new file.
17477 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
17478 (sendmmsg): Rename to __sendmmsg, create weak alias and make
17479 definition of __sendmmsg hidden.
17480 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17481 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
17482 Move ENOSYS stub into and include it from...
17483 * socket/sendmmsg.c: ... this new file.
17484 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
17485 (sysdep_routines): Move recvmmsg and sendmmsg...
17486 * socket/Makefile (routines): ... here.
17487 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
17488 (GLIBC_PRIVATE): Add __sendmmsg.
17489 * include/sys/socket.h (__sendmmsg): Add declarations.
17490 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
17491 sendmmsg.
17492
cf9a5d18
JM
174932012-11-20 Joseph Myers <joseph@codesourcery.com>
17494
17495 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
17496 variable I1 with __attribute__ ((unused)).
17497 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17498
ecd4caf9
JM
174992012-11-19 Joseph Myers <joseph@codesourcery.com>
17500
be14d48f
JM
17501 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
17502 DUMMY variables with __attribute__ ((unused)).
17503
ecd4caf9
JM
17504 * bits/byteswap.h: Include <bits/types.h>.
17505 (__bswap_64): Use __uint64_t instead of unsigned long long int.
17506
986cab95
PT
175072012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17508
17509 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
17510 string_t. Do not manually set errno.
17511 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
17512 length with __strnlen. Make sure to both set errno and return it on
17513 failure.
17514
6d33cc9d
DM
175152012-11-19 David S. Miller <davem@davemloft.net>
17516
17517 With help from Joseph Myers.
17518 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
17519 very large arguments properly.
17520 * math/libm-test.inc (atan_test): New tests.
17521 (atan2_test): New tests.
17522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17523 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17524
ee663277
JM
175252012-11-19 Joseph Myers <joseph@codesourcery.com>
17526
877f2d8e
JM
17527 [BZ #14856]
17528 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
17529 Define to 3.
17530
116fc08a
JM
17531 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
17532 [POSIX] (EADDRNOTAVAIL): Likewise.
17533 [POSIX] (EAFNOSUPPORT): Likewise.
17534 [POSIX] (EALREADY): Likewise.
17535 [POSIX] (ECONNABORTED): Likewise.
17536 [POSIX] (ECONNREFUSED): Likewise.
17537 [POSIX] (ECONNRESET): Likewise.
17538 [POSIX] (EDESTADDRREQ): Likewise.
17539 [POSIX] (EDQUOT): Likewise.
17540 [POSIX] (EHOSTUNREACH): Likewise.
17541 [POSIX] (EIDRM): Likewise.
17542 [POSIX] (EISCONN): Likewise.
17543 [POSIX] (ELOOP): Likewise.
17544 [POSIX] (EMULTIHOP): Likewise.
17545 [POSIX] (ENETDOWN): Likewise.
17546 [POSIX] (ENETUNREACH): Likewise.
17547 [POSIX] (ENOBUFS): Likewise.
17548 [POSIX] (ENODATA): Likewise.
17549 [POSIX] (ENOLINK): Likewise.
17550 [POSIX] (ENOMSG): Likewise.
17551 [POSIX] (ENOPROTOOPT): Likewise.
17552 [POSIX] (ENOSR): Likewise.
17553 [POSIX] (ENOSTR): Likewise.
17554 [POSIX] (ENOTCONN): Likewise.
17555 [POSIX] (ENOTSOCK): Likewise.
17556 [POSIX] (EOPNOTSUPP): Likewise.
17557 [POSIX] (EOVERFLOW): Likewise.
17558 [POSIX] (EPROTO): Likewise.
17559 [POSIX] (EPROTONOSUPPORT): Likewise.
17560 [POSIX] (EPROTOTYPE): Likewise.
17561 [POSIX] (ESTALE): Likewise.
17562 [POSIX] (ETIME): Likewise.
17563 [POSIX] (ETXTBSY): Likewise.
17564 [POSIX] (EWOULDBLOCK): Likewise.
17565 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
17566 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
17567 [POSIX] (SEEK_CUR): Likewise.
17568 [POSIX] (SEEK_END): Likewise.
17569 [POSIX || UNIX98] (mode_t): Do not require.
17570 [POSIX] (off_t): Likewise.
17571 [POSIX] (pid_t): Likewise.
17572 [POSIX] (sys/stat.h): Do not allow header.
17573 [POSIX] (unistd.h): Likewise.
17574 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
17575 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
17576 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
17577 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
17578 require.
17579 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
17580 sigevent): Specify elements.
17581 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
17582 entry.
17583 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
17584 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
17585
a483863f
JM
17586 * conform/data/cpio.h-data [POSIX]: Disable whole file.
17587 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
17588 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
17589 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
17590 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
17591 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
17592 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
17593 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
17594 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
17595 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
17596 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
17597 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
17598 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
17599 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
17600 Likewise.
17601 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
17602 Likewise.
17603 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
17604 Likewise.
17605 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
17606 Likewise.
17607 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
17608 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
17609 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
17610 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
17611 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
17612 Specify lower bound on value.
17613 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
17614 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
17615 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
17616 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
17617 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
17618 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
17619 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
17620 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
17621 value.
17622 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
17623 as optional.
17624 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
17625 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
17626 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
17627 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
17628 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
17629 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
17630 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
17631 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
17632 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
17633 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
17634 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
17635 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
17636 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
17637 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
17638 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
17639 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
17640 entry.
17641 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
17642 optional.
17643 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
17644 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
17645 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
17646 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
17647 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
17648 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
17649 Likewise.
17650 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
17651 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
17652 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
17653 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
17654 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
17655 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
17656 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
17657 as optional.
17658 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
17659 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
17660 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
17661 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
17662 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
17663 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
17664 specify as optional.
17665 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
17666 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
17667 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
17668 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
17669 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
17670 [XPG3] (NL_LANGMAX): Likewise.
17671 [POSIX || XPG3] (NL_MSGMAX): Likewise.
17672 [POSIX || XPG3] (NL_NMAX): Likewise.
17673 [POSIX || XPG3] (NL_SETMAX): Likewise.
17674 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
17675 [XPG3] (NZERO): Likewise.
17676 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
17677 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
17678 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
17679 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
17680 (REG_ERANGE): Expect.
17681 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
17682 optional-constant.
17683 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
17684 Use (void) in prototype.
17685 [POSIX] (*_t): Allow.
17686 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
17687 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
17688 (WRDE_BADVAL): Expect.
17689
5ba924e3
JM
17690 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
17691 expect.
17692 [XPG3 || XPG4] (O_RSYNC): Likewise.
17693 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
17694 Likewise.
17695 [XPG3 || XPG4] (pthread_sigmask): Likewise.
17696 [XPG3 || XPG4] (sigqueue): Likewise.
17697 [XPG3 || XPG4] (sigtimedwait): Likewise.
17698 [XPG3 || XPG4] (sigwaitinfo): Likewise.
17699 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
17700 [XPG3 || XPG4] (vsnprintf): Likewise.
17701 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
17702 Likewise.
17703 [XPG3 || XPG4] (blksize_t): Likewise.
17704 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
17705 Likewise.
17706 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
17707 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17708 [XPG3 || XPG4] (struct itimerspec): Likewise.
17709 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
17710 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
17711 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
17712 [XPG3 || XPG4] (clockid_t): Likewise.
17713 [XPG3 || XPG4] (timer_t): Likewise.
17714 [XPG3 || XPG4] (clock_getres): Likewise.
17715 [XPG3 || XPG4] (clock_gettime): Likewise.
17716 [XPG3 || XPG4] (clock_settime): Likewise.
17717 [XPG3 || XPG4] (nanosleep): Likewise.
17718 [XPG3 || XPG4] (timer_create): Likewise.
17719 [XPG3 || XPG4] (timer_delete): Likewise.
17720 [XPG3 || XPG4] (timer_gettime): Likewise.
17721 [XPG3 || XPG4] (timer_getoverrun): Likewise.
17722 [XPG3 || XPG4] (timer_settime): Likewise.
17723 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
17724 [XPG3 || XPG4] (getlogin_r): Likewise.
17725 [XPG3 || XPG4] (pread): Likewise.
17726 [XPG3 || XPG4] (pthread_atfork): Likewise.
17727 [XPG3 || XPG4] (pwrite): Likewise.
17728
ee663277
JM
17729 [BZ #14835]
17730 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
17731 <bits/siginfo.h>.
17732
942caa16
PT
177332012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17734
e19af380
PT
17735 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
17736 finalizing MALLSTREAM.
17737
942caa16
PT
17738 * sysdeps/mach/hurd/syncfs.c: New file.
17739
cfde9b46
SP
177402012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17741
17742 [BZ #14719]
17743 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
17744 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
17745 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
17746 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
17747 (_nss_dns_gethostbyname4_r): Likewise.
17748 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
17749 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
17750
f6da27e5
PH
177512012-11-19 Peng Haitao <penght@cn.fujitsu.com>
17752
17753 [BZ #13763]
17754 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
17755
6665d4a2
SM
177562012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
17757
1f51ee92
SM
17758 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
17759 * elf/cache.c (print_entry): Print ",AArch64" for
17760 FLAG_AARCH64_LIB64
17761
6665d4a2
SM
17762 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
17763 * elf/cache.c (print_entry): Print ",hard-float" for
17764 FLAG_ARM_LIBHF.
17765
05b227bd
DM
177662012-11-18 David S. Miller <davem@davemloft.net>
17767
17768 With help from Joseph Myers.
17769 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
17770 cutoff to 2**-13.
17771 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
17772 cutoff to 2**-25.
17773 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
17774 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
17775 small.
17776 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
17777 * math/libm-test.inc (y0_test): New tests.
17778 (y1_test): New tests.
17779 * sysdeps/i386/fpu/libm-test-ulps: Update.
17780 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17782
786b0b67
AS
177832012-11-18 Andreas Schwab <schwab@linux-m68k.org>
17784
17785 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
17786 64-bit targets.
17787 * configure: Regenerated.
17788
8e18b86d
DM
177892012-11-17 David S. Miller <davem@davemloft.net>
17790
17791 [BZ #14811]
17792 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
17793 nonzero exponents with absolute value below 0x1p-128 to +/-
17794 0x1p-128.
17795
531f1ae0
JM
177962012-11-17 Joseph Myers <joseph@codesourcery.com>
17797
12df29e2
JM
17798 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
17799
150dc1a0
JM
17800 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
17801
531f1ae0
JM
17802 * posix/getconf-speclist.c: New file.
17803 * posix/posix-envs.def: Likewise.
17804 * posix/confstr.c (START_ENV_GROUP): New macro.
17805 (END_ENV_GROUP): Likewise.
17806 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17807 (KNOWN_PRESENT_ENV_STRING): Likewise.
17808 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17809 (UNKNOWN_ENVIRONMENT): Likewise.
17810 (confstr): Include posix-envs.def instead of handling
17811 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
17812 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
17813 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
17814 (END_ENV_GROUP): Likewise.
17815 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17816 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17817 (UNKNOWN_ENVIRONMENT): Likewise.
17818 (__sysconf): Include posix-envs.def instead of handling associated
17819 cases directly here.
17820 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
17821 preprocessing getconf-speclist.c rather than running getconf or
17822 generating empty file.
17823
a93f9cbc
PT
178242012-11-16 Pino Toscano <toscano.pino@tiscali.it>
17825
17826 * scripts/check-local-headers.sh: Ignore 'mach' headers.
17827
d64d9f87
AL
178282012-11-16 Andrej Lajovic <natrij@gmail.com>
17829
17830 [BZ #14672]
17831 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
17832
447885eb
DM
178332012-11-16 David S. Miller <davem@davemloft.net>
17834
17835 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
17836 smaller than LDBL_EPSILON/2.0L, just return xm1.
17837
bcbf9830
L
178382012-11-16 H.J. Lu <hongjiu.lu@intel.com>
17839
17840 * elf/tst-array1.c (init): Set constructor priority to 1000.
17841 (fini): Set destructor priority to 1000.
17842 * elf/tst-array2dep.c: Likewise.
17843
2b766585
SP
178442012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17845
17846 [BZ #11741]
17847 * libio/fileops.c (_IO_new_file_write): Correctly return error.
17848 (_IO_new_file_xsputn): Also return EOF if none of the input
17849 data was written when overflow failed.
17850 * libio/iopadn.c (_IO_padn): Likewise.
17851 * libio/iowpadn.c (_IO_wpadn): Likewise.
17852 * stdio-common/tst-put-error.c: Add copyright notice.
17853 (do_test): Add case for printing padded string.
17854 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
17855 _IO_padn returned error.
17856 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
17857 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
17858 return EOF.
17859
b1848fde
SP
178602012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17861
17862 * libio/libioP.h: Add comment note that the references to C++
17863 bits are now obsolete.
17864
2fd89785
MS
178652012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17866
17867 * math/libm-test.inc (check_complex): Use asprintf.
17868
e3ea5409
JM
178692012-11-14 Joseph Myers <joseph@codesourcery.com>
17870
17871 * debug/pcprofiledump.c (print_version): Update copyright year.
17872 * malloc/memusagestat.c (print_version): Likewise.
17873
2e64d265
L
178742012-11-14 H.J. Lu <hongjiu.lu@intel.com>
17875
17876 [BZ #14831]
17877 * elf/Makefile (tests): Add tst-audit8.
17878 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
17879 ($(objpfx)tst-audit8.out): New target.
17880 (tst-audit8-ENV): New variable.
17881 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
17882 audit if l_reloc_result is NULL.
17883 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
17884 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
17885 * elf/tst-audit8.c: New file.
17886
c485e4d2
MS
178872012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17888
17889 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
17890 * misc/Makefile (CFLAGS-select.c): Define.
17891 * posix/Makefile (CFLAGS-pause.c): Define.
17892
3a0d900a
DM
178932012-11-13 David S. Miller <davem@davemloft.net>
17894
17895 * crypt/Makefile: Move test targets after toplevel Rules
17896 inclusion. Grab any necessary sysdep routines when linking.
17897 * crypt/md5.c (md5_process_block): Remove define, we will always
17898 name it __md5_process_block.
17899 (md5_finish_ctx): Update md5_process_block call.
17900 (md5_stream): Likewise.
17901 (md5_process_bytes): Likewise.
17902 (md5_process_block): Rename to __md5_process_block and move to ...
17903 * crypt/md5-block.c: ... here.
17904 * crypt/sha256.c (sha256_process_block): Move to ...
17905 * crypt/sha256-block.c: ... here.
17906 * crypt/sha512.c (sha512_process_block): Move to ...
17907 * crypt/sha512-block.c: ... here.
17908 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
17909 path.
17910 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
17911 * sysdeps/sparc/sparc64/multiarch/Makefile
17912 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
17913 crypt subdir.
17914 (localedef-aux): Add md5 crypto assembler when in locale subdir.
17915 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
17916 multiarch changes.
17917 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
17918 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
17919 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
17920 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
17921 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
17922 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
17923 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
17924 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
17925 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
17926 file.
17927 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
17928 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
17929 file.
17930 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
17931
8ca89318
JM
179322012-11-13 Joseph Myers <joseph@codesourcery.com>
17933
e27d476a
JM
17934 * timezone/tzselect.ksh: Update from tzcode git revision
17935 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
17936 * timezone/zdump.c: Likewise.
17937 * timezone/zic.c: Likewise.
17938 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
17939 in TZVERSION setting, not $(PKGVERSION).
17940 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
17941 REPORT_BUGS_TO settings.
17942
8ca89318
JM
17943 [BZ #14838]
17944 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
17945 macro.
17946
47594329
MS
179472012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17948
17949 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
17950 detection to immediately after _FP_ROUND().
17951 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
17952 bits are 0.
17953
640ac3f1
DM
179542012-11-11 David S. Miller <davem@davemloft.net>
17955
17956 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
17957 inttypes.h
17958 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
17959 __close rather than their public counterparts.
17960
3d2577bb
JM
179612012-11-10 Joseph Myers <joseph@codesourcery.com>
17962
17963 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
17964 file.
17965 [UNIX98] (sem_timedwait): Do not expect.
17966 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
17967 [XPG4 || UNIX98] (sockatmark): Do not expect.
17968 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
17969 (clock_getcpuclockid): Do not expect.
17970 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
17971 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
17972 Do not expect.
17973 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
17974 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
17975 [UNIX98] (vwscanf): Likewise.
17976 [UNIX98] (vswscanf): Likewise.
17977
fb1ae1ee
JM
179782012-11-09 Joseph Myers <joseph@codesourcery.com>
17979
9ec6f8bd
JM
17980 * timezone/version.h: Remove file.
17981 * timezone/README: Do not refer to version.h.
17982 * timezone/Makefile ($(objpfx)zic.o): New dependency on
17983 $(objpfx)version.h.
17984 ($(objpfx)zdump.o): Likewise.
c3f81911 17985 ($(objpfx)version.h): New target.
9ec6f8bd 17986
0aa8f8a1
JM
17987 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
17988 2012i.
17989 * timezone/README: Don't mention modification to tzselect.ksh.
17990 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
17991 work on unmodified tzselect.ksh. Substitute version numbers in
17992 tzselect.ksh.
17993
4e87147f
JM
17994 * Makefile (format-me): Remove.
17995 (INSTALL): Adjust indentation. Use commands directly instead of
17996 using $(format-me).
17997
8b748aed
JM
17998 * aclocal.m4 (ACX_PKGVERSION): New macro.
17999 (ACX_BUGURL): Likewise.
18000 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
18001 (PKGVERSION): New AC_DEFINE_UNQUOTED.
18002 (REPORT_BUGS_TO): Likewise.
18003 * configure: Regenerated.
18004 * config.h.in (PKGVERSION): New macro.
18005 (REPORT_BUGS_TO): Likewise.
18006 * config.make.in (PKGVERSION): New variable.
18007 (PKGVERSION_TEXI): Likewise.
18008 (REPORT_BUGS_TO): Likewise.
18009 (REPORT_BUGS_TEXI): Likewise.
18010 * Makefile (format-me): Use -I$(common-objpfx)manual.
18011 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
18012 ($(common-objpfx)manual/%): New target.
18013 (manual/%): Remove target.
18014 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
18015 (print_version): Use PKGVERSION.
18016 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
18017 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
18018 and REPORT_BUGS_TO.
18019 ($(objpfx)xtrace): Likewise.
18020 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
18021 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
18022 (print_version): Use PKGVERSION.
18023 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
18024 (do_version): Use PKGVERSION.
18025 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
18026 REPORT_BUGS_TO.
18027 (common-ldd-rewrite): Likewise.
18028 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
18029 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
18030 (print_version): Use PKGVERSION.
18031 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
18032 * elf/pldd.c (argp_program_bug_address): Remove variable.
18033 (more_help): New function.
18034 (argp): Use more_help.
18035 (print_version): Use PKGVERSION.
18036 * elf/sln.c (main): Use PKGVERSION.
18037 (usage): Use REPORT_BUGS_TO.
18038 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
18039 (top level): Use PKGVERSION.
18040 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
18041 (print_version): Use PKGVERSION.
18042 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
18043 (print_version): Use PKGVERSION.
18044 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
18045 (print_version): Use PKGVERSION.
18046 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
18047 (print_version): Use PKGVERSION.
18048 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
18049 (print_version): Use PKGVERSION.
18050 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
18051 (print_version): Use PKGVERSION.
18052 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
18053 and BUGURL.
18054 ($(objpfx)memusage): Likewise.
18055 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
18056 (do_version): Use PKGVERSION.
18057 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
18058 (print_version): Use PKGVERSION.
18059 * malloc/mtrace.pl ($PACKAGE): Remove variable.
18060 ($PKGVERSION): New variable.
18061 ($REPORT_BUGS_TO): Likewise.
18062 (usage): Use $REPORT_BUGS_TO.
18063 (top level): Use $PKGVERSION.
18064 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
18065 ($(objpfx)pkgvers.texi): New rule.
18066 ($(objpfx)stamp-pkgvers): Likewise.
18067 * manual/install.texi: Include pkgvers.texi.
18068 (--with-pkgversion): Document new configure option.
18069 (--with-bugurl): Likewise.
18070 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
18071 than necessarily for this particular distribution. Use
18072 REPORT_BUGS_TO for where to report bugs.
18073 * INSTALL: Regenerated.
18074 * manual/libc.texinfo: Include pkgvers.texi.
18075 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
18076 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
18077 (print_version): Use PKGVERSION.
18078 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
18079 (print_version): Use PKGVERSION.
18080 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
18081 (print_version): Use PKGVERSION.
18082 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
18083 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
18084 macro.
18085 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
18086 (print_version): Use PKGVERSION.
18087 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
18088 (print_version): Use PKGVERSION.
18089 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
18090 and PKGVERSION.
18091
92e4b6a9
JM
18092 * timezone/checktab.awk: Update from tzcode 2012i.
18093 * timezone/ialloc.c: Likewise.
18094 * timezone/private.h: Likewise.
18095 * timezone/scheck.c: Likewise.
18096 * timezone/tzfile.h: Likewise.
18097 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
18098 (TZVERSION): Hardcode tzcode version number.
18099 * timezone/zdump.c: Update from tzcode 2012i.
18100 * timezone/zic.c: Likewise.
18101 * timezone/version.h: New file.
18102 * timezone/README: Describe version.h. Update upstream location.
18103
9bde902c
JM
18104 [BZ #14824]
18105 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
18106 (mktemp): Enable declaration.
18107 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
18108 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
18109 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
18110 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
18111 Likewise.
18112 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
18113 Likewise.
18114 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
18115 Likewise.
18116 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
18117 Likewise.
18118 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
18119 Likewise.
18120 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
18121 Likewise.
18122
fb1ae1ee
JM
18123 [BZ #14821]
18124 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
18125 offset in buffer as u_int32_t not u_long. Consistently use memcpy
18126 for copies of such integer values.
18127 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18128 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18129
2c1adbcb
AJ
181302012-11-09 Andreas Jaeger <aj@suse.de>
18131
18132 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
18133 definitions and declarations that are provided by
18134 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18135
d0f8457e
AK
181362012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18137
3a235abb 18138 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
18139 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
18140 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
18141 definition.
18142
57241e26
MS
181432012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18144
18145 * elf/elf.h: Update comment before AArch64 relocations.
18146
60e8270d
DM
181472012-11-07 David S. Miller <davem@davemloft.net>
18148
18149 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
18150 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18151 (__start_context): Declare.
18152 (__makecontext_ret): Delete.
18153 (__makecontext): Hook up __start_context instead of
18154 __makecontext_ret.
18155 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
18156 (sysdep_routines): Add __start_context when in stdlib.
18157
0fbb0fbc
JM
181582012-11-07 Joseph Myers <joseph@codesourcery.com>
18159
18160 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
18161 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
18162 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
18163 hardcoded "nm".
18164 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
18165 (READELF): New variable. Use it instead of hardcoded "readelf".
18166
eb48db7e
L
181672012-11-07 H.J. Lu <hongjiu.lu@intel.com>
18168
18169 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
18170 * sysdeps/x86/Makefile: Here.
18171 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
18172 * sysdeps/x86/tst-xmmymm.sh: This.
18173
05bcf62a
JM
181742012-11-07 Joseph Myers <joseph@codesourcery.com>
18175
c4b6cf53
JM
18176 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
18177 expectations.
18178 [UNIX98] (pthread_barrier_t): Do not expect.
18179 [UNIX98] (pthread_barrierattr_t): Likewise.
18180 [UNIX98] (pthread_spinlock_t): Likewise.
18181 [UNIX98] (pthread_barrier_destroy): Likewise.
18182 [UNIX98] (pthread_barrier_init): Likewise.
18183 [UNIX98] (pthread_barrier_wait): Likewise.
18184 [UNIX98] (pthread_barrierattr_destroy): Likewise.
18185 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
18186 [UNIX98] (pthread_barrierattr_init): Likewise.
18187 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
18188 [UNIX98] (pthread_getcpuclockid): Likewise.
18189 [UNIX98] (pthread_mutex_timedlock): Likewise.
18190 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
18191 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
18192 [UNIX98] (pthread_sigmask): Likewise.
18193 [UNIX98] (pthread_spin_destroy): Likewise.
18194 [UNIX98] (pthread_spin_init): Likewise.
18195 [UNIX98] (pthread_spin_lock): Likewise.
18196 [UNIX98] (pthread_spin_trylock): Likewise.
18197 [UNIX98] (pthread_spin_unlock): Likewise.
18198 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
18199 Do not expect.
18200 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
18201 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
18202 [XPG3 || XPG4] (pthread_cond_t): Likewise.
18203 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
18204 [XPG3 || XPG4] (pthread_key_t): Likewise.
18205 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
18206 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
18207 [XPG3 || XPG4] (pthread_once_t): Likewise.
18208 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
18209 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
18210 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
18211 [XPG3 || XPG4] (pthread_t): Likewise.
18212
cbe6e120
JM
18213 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
18214 not expect.
18215 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
18216
1b126443
JM
18217 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
18218 Change function return type to int.
18219
b961a573
JM
18220 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
18221 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
18222 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
18223 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
18224 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
18225 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
18226 [!POSIX] (posix_madvise): Likewise.
18227 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
18228 && !UNIX98].
18229 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
18230 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
18231 (mode_t): Likewise.
18232 (posix_mem_offset): Likewise.
18233 (posix_typed_mem_get_info): Likewise.
18234 (posix_typed_mem_open): Likewise.
18235
9e188909
JM
18236 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
18237 Change condition to [XOPEN2K8].
18238
05bcf62a
JM
18239 * conform/conformtest.pl: Preprocess allow-header data with -x c
18240 instead of from stdin.
18241 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
18242 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
18243 [C99-based standards] (cerfc): Likewise.
18244 [C99-based standards] (cexp2): Likewise.
18245 [C99-based standards] (cexpm1): Likewise.
18246 [C99-based standards] (clog10): Likewise.
18247 [C99-based standards] (clog1p): Likewise.
18248 [C99-based standards] (clog2): Likewise.
18249 [C99-based standards] (clgamma): Likewise.
18250 [C99-based standards] (ctgamma): Likewise.
18251 [C99-based standards] (cerff): Likewise.
18252 [C99-based standards] (cerfcf): Likewise.
18253 [C99-based standards] (cexp2f): Likewise.
18254 [C99-based standards] (cexpm1f): Likewise.
18255 [C99-based standards] (clog10f): Likewise.
18256 [C99-based standards] (clog1pf): Likewise.
18257 [C99-based standards] (clog2f): Likewise.
18258 [C99-based standards] (clgammaf): Likewise.
18259 [C99-based standards] (ctgammaf): Likewise.
18260 [C99-based standards] (cerfl): Likewise.
18261 [C99-based standards] (cerfcl): Likewise.
18262 [C99-based standards] (cexp2l): Likewise.
18263 [C99-based standards] (cexpm1l): Likewise.
18264 [C99-based standards] (clog10l): Likewise.
18265 [C99-based standards] (clog1pl): Likewise.
18266 [C99-based standards] (clog2l): Likewise.
18267 [C99-based standards] (clgammal): Likewise.
18268 [C99-based standards] (ctgammal): Likewise.
18269 * conform/data/inttypes.h-data [C99-based standards]: Include
18270 stdint.h-data. Remove all expectations for stdint.h contents.
18271 [C99-based standards] (PRI*): Do not allow.
18272 [C99-based standards] (SCN*): Likewise.
18273 [C99-based standards] (*_t): Likewise.
18274 [C99-based-standards] (PRId8): Expect macro.
18275 [C99-based-standards] (PRIi8): Likewise.
18276 [C99-based-standards] (PRIo8): Likewise.
18277 [C99-based-standards] (PRIu8): Likewise.
18278 [C99-based-standards] (PRIx8): Likewise.
18279 [C99-based-standards] (PRIX8): Likewise.
18280 [C99-based-standards] (SCNd8): Likewise.
18281 [C99-based-standards] (SCNi8): Likewise.
18282 [C99-based-standards] (SCNo8): Likewise.
18283 [C99-based-standards] (SCNu8): Likewise.
18284 [C99-based-standards] (SCNx8): Likewise.
18285 [C99-based-standards] (PRIdLEAST8): Likewise.
18286 [C99-based-standards] (PRIiLEAST8): Likewise.
18287 [C99-based-standards] (PRIoLEAST8): Likewise.
18288 [C99-based-standards] (PRIuLEAST8): Likewise.
18289 [C99-based-standards] (PRIxLEAST8): Likewise.
18290 [C99-based-standards] (PRIXLEAST8): Likewise.
18291 [C99-based-standards] (SCNdLEAST8): Likewise.
18292 [C99-based-standards] (SCNiLEAST8): Likewise.
18293 [C99-based-standards] (SCNoLEAST8): Likewise.
18294 [C99-based-standards] (SCNuLEAST8): Likewise.
18295 [C99-based-standards] (SCNxLEAST8): Likewise.
18296 [C99-based-standards] (PRIdFAST8): Likewise.
18297 [C99-based-standards] (PRIiFAST8): Likewise.
18298 [C99-based-standards] (PRIoFAST8): Likewise.
18299 [C99-based-standards] (PRIuFAST8): Likewise.
18300 [C99-based-standards] (PRIxFAST8): Likewise.
18301 [C99-based-standards] (PRIXFAST8): Likewise.
18302 [C99-based-standards] (SCNdFAST8): Likewise.
18303 [C99-based-standards] (SCNiFAST8): Likewise.
18304 [C99-based-standards] (SCNoFAST8): Likewise.
18305 [C99-based-standards] (SCNuFAST8): Likewise.
18306 [C99-based-standards] (SCNxFAST8): Likewise.
18307 [C99-based-standards] (PRId16): Likewise.
18308 [C99-based-standards] (PRIi16): Likewise.
18309 [C99-based-standards] (PRIo16): Likewise.
18310 [C99-based-standards] (PRIu16): Likewise.
18311 [C99-based-standards] (PRIx16): Likewise.
18312 [C99-based-standards] (PRIX16): Likewise.
18313 [C99-based-standards] (SCNd16): Likewise.
18314 [C99-based-standards] (SCNi16): Likewise.
18315 [C99-based-standards] (SCNo16): Likewise.
18316 [C99-based-standards] (SCNu16): Likewise.
18317 [C99-based-standards] (SCNx16): Likewise.
18318 [C99-based-standards] (PRIdLEAST16): Likewise.
18319 [C99-based-standards] (PRIiLEAST16): Likewise.
18320 [C99-based-standards] (PRIoLEAST16): Likewise.
18321 [C99-based-standards] (PRIuLEAST16): Likewise.
18322 [C99-based-standards] (PRIxLEAST16): Likewise.
18323 [C99-based-standards] (PRIXLEAST16): Likewise.
18324 [C99-based-standards] (SCNdLEAST16): Likewise.
18325 [C99-based-standards] (SCNiLEAST16): Likewise.
18326 [C99-based-standards] (SCNoLEAST16): Likewise.
18327 [C99-based-standards] (SCNuLEAST16): Likewise.
18328 [C99-based-standards] (SCNxLEAST16): Likewise.
18329 [C99-based-standards] (PRIdFAST16): Likewise.
18330 [C99-based-standards] (PRIiFAST16): Likewise.
18331 [C99-based-standards] (PRIoFAST16): Likewise.
18332 [C99-based-standards] (PRIuFAST16): Likewise.
18333 [C99-based-standards] (PRIxFAST16): Likewise.
18334 [C99-based-standards] (PRIXFAST16): Likewise.
18335 [C99-based-standards] (SCNdFAST16): Likewise.
18336 [C99-based-standards] (SCNiFAST16): Likewise.
18337 [C99-based-standards] (SCNoFAST16): Likewise.
18338 [C99-based-standards] (SCNuFAST16): Likewise.
18339 [C99-based-standards] (SCNxFAST16): Likewise.
18340 [C99-based-standards] (PRId32): Likewise.
18341 [C99-based-standards] (PRIi32): Likewise.
18342 [C99-based-standards] (PRIo32): Likewise.
18343 [C99-based-standards] (PRIu32): Likewise.
18344 [C99-based-standards] (PRIx32): Likewise.
18345 [C99-based-standards] (PRIX32): Likewise.
18346 [C99-based-standards] (SCNd32): Likewise.
18347 [C99-based-standards] (SCNi32): Likewise.
18348 [C99-based-standards] (SCNo32): Likewise.
18349 [C99-based-standards] (SCNu32): Likewise.
18350 [C99-based-standards] (SCNx32): Likewise.
18351 [C99-based-standards] (PRIdLEAST32): Likewise.
18352 [C99-based-standards] (PRIiLEAST32): Likewise.
18353 [C99-based-standards] (PRIoLEAST32): Likewise.
18354 [C99-based-standards] (PRIuLEAST32): Likewise.
18355 [C99-based-standards] (PRIxLEAST32): Likewise.
18356 [C99-based-standards] (PRIXLEAST32): Likewise.
18357 [C99-based-standards] (SCNdLEAST32): Likewise.
18358 [C99-based-standards] (SCNiLEAST32): Likewise.
18359 [C99-based-standards] (SCNoLEAST32): Likewise.
18360 [C99-based-standards] (SCNuLEAST32): Likewise.
18361 [C99-based-standards] (SCNxLEAST32): Likewise.
18362 [C99-based-standards] (PRIdFAST32): Likewise.
18363 [C99-based-standards] (PRIiFAST32): Likewise.
18364 [C99-based-standards] (PRIoFAST32): Likewise.
18365 [C99-based-standards] (PRIuFAST32): Likewise.
18366 [C99-based-standards] (PRIxFAST32): Likewise.
18367 [C99-based-standards] (PRIXFAST32): Likewise.
18368 [C99-based-standards] (SCNdFAST32): Likewise.
18369 [C99-based-standards] (SCNiFAST32): Likewise.
18370 [C99-based-standards] (SCNoFAST32): Likewise.
18371 [C99-based-standards] (SCNuFAST32): Likewise.
18372 [C99-based-standards] (SCNxFAST32): Likewise.
18373 [C99-based-standards] (PRId64): Likewise.
18374 [C99-based-standards] (PRIi64): Likewise.
18375 [C99-based-standards] (PRIo64): Likewise.
18376 [C99-based-standards] (PRIu64): Likewise.
18377 [C99-based-standards] (PRIx64): Likewise.
18378 [C99-based-standards] (PRIX64): Likewise.
18379 [C99-based-standards] (SCNd64): Likewise.
18380 [C99-based-standards] (SCNi64): Likewise.
18381 [C99-based-standards] (SCNo64): Likewise.
18382 [C99-based-standards] (SCNu64): Likewise.
18383 [C99-based-standards] (SCNx64): Likewise.
18384 [C99-based-standards] (PRIdLEAST64): Likewise.
18385 [C99-based-standards] (PRIiLEAST64): Likewise.
18386 [C99-based-standards] (PRIoLEAST64): Likewise.
18387 [C99-based-standards] (PRIuLEAST64): Likewise.
18388 [C99-based-standards] (PRIxLEAST64): Likewise.
18389 [C99-based-standards] (PRIXLEAST64): Likewise.
18390 [C99-based-standards] (SCNdLEAST64): Likewise.
18391 [C99-based-standards] (SCNiLEAST64): Likewise.
18392 [C99-based-standards] (SCNoLEAST64): Likewise.
18393 [C99-based-standards] (SCNuLEAST64): Likewise.
18394 [C99-based-standards] (SCNxLEAST64): Likewise.
18395 [C99-based-standards] (PRIdFAST64): Likewise.
18396 [C99-based-standards] (PRIiFAST64): Likewise.
18397 [C99-based-standards] (PRIoFAST64): Likewise.
18398 [C99-based-standards] (PRIuFAST64): Likewise.
18399 [C99-based-standards] (PRIxFAST64): Likewise.
18400 [C99-based-standards] (PRIXFAST64): Likewise.
18401 [C99-based-standards] (SCNdFAST64): Likewise.
18402 [C99-based-standards] (SCNiFAST64): Likewise.
18403 [C99-based-standards] (SCNoFAST64): Likewise.
18404 [C99-based-standards] (SCNuFAST64): Likewise.
18405 [C99-based-standards] (SCNxFAST64): Likewise.
18406 [C99-based-standards] (PRIdMAX): Likewise.
18407 [C99-based-standards] (PRIiMAX): Likewise.
18408 [C99-based-standards] (PRIoMAX): Likewise.
18409 [C99-based-standards] (PRIuMAX): Likewise.
18410 [C99-based-standards] (PRIxMAX): Likewise.
18411 [C99-based-standards] (PRIXMAX): Likewise.
18412 [C99-based-standards] (SCNdMAX): Likewise.
18413 [C99-based-standards] (SCNiMAX): Likewise.
18414 [C99-based-standards] (SCNoMAX): Likewise.
18415 [C99-based-standards] (SCNuMAX): Likewise.
18416 [C99-based-standards] (SCNxMAX): Likewise.
18417 [C99-based-standards] (PRIdPTR): Likewise.
18418 [C99-based-standards] (PRIiPTR): Likewise.
18419 [C99-based-standards] (PRIoPTR): Likewise.
18420 [C99-based-standards] (PRIuPTR): Likewise.
18421 [C99-based-standards] (PRIxPTR): Likewise.
18422 [C99-based-standards] (PRIXPTR): Likewise.
18423 [C99-based-standards] (SCNdPTR): Likewise.
18424 [C99-based-standards] (SCNiPTR): Likewise.
18425 [C99-based-standards] (SCNoPTR): Likewise.
18426 [C99-based-standards] (SCNuPTR): Likewise.
18427 [C99-based-standards] (SCNxPTR): Likewise.
18428 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
18429 allow.
18430 * conform/data/stdint.h-data: Update comments to clarify
18431 requirements.
18432 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
18433 type.
18434 [C99-based standards] (INT8_MAX): Likewise.
18435 [C99-based standards] (INT16_MIN): Likewise.
18436 [C99-based standards] (INT16_MAX): Likewise.
18437 [C99-based standards] (INT32_MIN): Likewise.
18438 [C99-based standards] (INT32_MAX): Likewise.
18439 [C99-based standards] (INT64_MIN): Likewise.
18440 [C99-based standards] (INT64_MAX): Likewise.
18441 [C99-based standards] (UINT8_MAX): Likewise.
18442 [C99-based standards] (UINT16_MAX): Likewise.
18443 [C99-based standards] (UINT32_MAX): Likewise.
18444 [C99-based standards] (UINT64_MAX): Likewise.
18445 [C99-based standards] (INT_LEAST8_MIN): Likewise.
18446 [C99-based standards] (INT_LEAST8_MAX): Likewise.
18447 [C99-based standards] (INT_LEAST16_MIN): Likewise.
18448 [C99-based standards] (INT_LEAST16_MAX): Likewise.
18449 [C99-based standards] (INT_LEAST32_MIN): Likewise.
18450 [C99-based standards] (INT_LEAST32_MAX): Likewise.
18451 [C99-based standards] (INT_LEAST64_MIN): Likewise.
18452 [C99-based standards] (INT_LEAST64_MAX): Likewise.
18453 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
18454 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
18455 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
18456 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
18457 [C99-based standards] (INT_FAST8_MIN): Likewise.
18458 [C99-based standards] (INT_FAST8_MAX): Likewise.
18459 [C99-based standards] (INT_FAST16_MIN): Likewise.
18460 [C99-based standards] (INT_FAST16_MAX): Likewise.
18461 [C99-based standards] (INT_FAST32_MIN): Likewise.
18462 [C99-based standards] (INT_FAST32_MAX): Likewise.
18463 [C99-based standards] (INT_FAST64_MIN): Likewise.
18464 [C99-based standards] (INT_FAST64_MAX): Likewise.
18465 [C99-based standards] (UINT_FAST8_MAX): Likewise.
18466 [C99-based standards] (UINT_FAST16_MAX): Likewise.
18467 [C99-based standards] (UINT_FAST32_MAX): Likewise.
18468 [C99-based standards] (UINT_FAST64_MAX): Likewise.
18469 [C99-based standards] (INTPTR_MIN): Likewise.
18470 [C99-based standards] (INTPTR_MAX): Likewise.
18471 [C99-based standards] (UINTPTR_MAX): Likewise.
18472 [C99-based standards] (INTMAX_MIN): Likewise.
18473 [C99-based standards] (INTMAX_MAX): Likewise.
18474 [C99-based standards] (UINTMAX_MAX): Likewise.
18475 [C99-based standards] (PTRDIFF_MIN): Likewise.
18476 [C99-based standards] (PTRDIFF_MAX): Likewise.
18477 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
18478 [C99-based standards] (SIZE_MAX): Likewise.
18479 [C99-based standards] (WCHAR_MAX): Likewise.
18480 [C99-based standards] (WINT_MAX): Likewise.
18481 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
18482 constraint on value.
18483 [C99-based standards] (WCHAR_MIN): Likewise.
18484 [C99-based standards] (WINT_MIN): Likewise.
18485 [C99-based standards] (*_t): Allow.
18486 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
18487 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
18488 Include math.h-data and complex.h-data. Remove all expectations
18489 of math.h and complex.h contents.
18490 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
18491 at end of line.
18492 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
18493 (struct tm): Expect tag.
18494 [C99-based-standards] (wcstof): Expect function.
18495 [C99-based-standards] (wcstold): Likewise.
18496 [C99-based-standards] (wcstoll): Likewise.
18497 [C99-based-standards] (wcstoull): Likewise.
18498 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
18499 macro-int-constant. Specify type.
18500 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
18501 constraint on value.
18502 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18503 Specify type.
18504 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
18505 Specify value.
18506 [ISO C standards]: Do not allow headers.
18507 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
18508 wcs[abcdefghijklmnopqrstuvwxyz]*.
18509 [ISO C standards] (*_t): Do not allow.
18510 * conform/data/wctype.h-data [C99-based standards] (iswblank):
18511 Expect function.
18512 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
18513 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18514 Specify type.
18515 [ISO C standards]: Do not allow headers.
18516 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
18517 is[abcdefghijklmnopqrstuvwxyz]*.
18518 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
18519 to[abcdefghijklmnopqrstuvwxyz]*.
18520 [ISO C standards] (*_t): Do not allow.
18521 * conform/data/stdalign.h-data: New file.
18522 * conform/data/stdbool.h-data: Likewise.
18523 * conform/data/stdnoreturn.h-data: Likewise.
18524
7514feb8
RM
185252012-11-07 Roland McGrath <roland@hack.frob.com>
18526
18527 [BZ #14815]
18528 * manual/filesys.texi (Directory Entries): Typo fix.
18529 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
18530
19b2ecfc
MS
185312012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18532
18533 * elf/elf.h (EM_AARCH64): New macro.
18534 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
18535 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
18536 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
18537 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
18538 (R_AARCH64_TLSDESC): Likewise.
18539 (NT_ARM_TLS): Likewise.
18540 (NT_ARM_HW_BREAK): Likewise.
18541 (NT_ARM_HW_WATCH): Likewise.
18542
60e235ee
JM
185432012-11-07 Joseph Myers <joseph@codesourcery.com>
18544
18545 [BZ #14811]
18546 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
18547 (__ieee754_powl): Saturate nonzero exponents with absolute value
18548 below 0x1p-79 to +/- 0x1p-79.
18549 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
18550 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
18551 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
18552 nonzero exponents with absolute value below 0x1p-32 to +/-
18553 0x1p-32.
18554 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
18555 (__ieee754_powl): Saturate nonzero exponents with absolute value
18556 below 0x1p-79 to +/- 0x1p-79.
18557 * math/libm-test.inc (pow_test): Add more tests.
18558
0ab234b7
AK
185592012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18560
18561 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
18562 _dl_s390_cap_flags with kernel. Increase string length.
18563 (_dl_s390_platforms): Add z196 and zEC12.
18564
45832f74
JM
185652012-11-07 Joseph Myers <joseph@codesourcery.com>
18566
18567 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
18568 Change XOPEN21K to XOPEN2K.
18569
19218757
MK
185702012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
18571
18572 * string/memmove.c: Use memcpy when possible.
18573
c5f45721
AJ
185742012-11-06 Andreas Jaeger <aj@suse.de>
18575
18576 * po/eo.po: Update from translation team.
18577
82477c28
JM
185782012-11-06 Joseph Myers <joseph@codesourcery.com>
18579
18580 [BZ #14793]
18581 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
18582 exponent and small x and y exponents, scale x or y up. Increase
18583 by 2 the exponent used in scaling up.
18584 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18585 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18586 * math/libm-test.inc (fma_test): Add more tests.
18587 (fma_test_towardzero): Likewise.
18588 (fma_test_downward): Likewise.
18589 (fma_test_upward): Likewise.
18590
99252c8c
JM
185912012-11-05 Joseph Myers <joseph@codesourcery.com>
18592
acfa885f
JM
18593 [BZ #14805]
18594 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
18595 fenv_t *.
18596
99252c8c
JM
18597 [BZ #14801]
18598 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
18599 namespace for names of struct fields.
18600 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
18601 fenv_t fields.
18602 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
18603 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
18604
d6d98dea
ST
186052012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18606
18607 [BZ #3665]
18608 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
18609
e10bb107
TS
186102012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18611
18612 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
18613 PTR_DEMANGLE.
18614
18615 [BZ #5246]
18616 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
18617 PTR_DEMANGLE.
18618
a0c2940d
JM
186192012-11-04 Joseph Myers <joseph@codesourcery.com>
18620
18621 [BZ #14797]
18622 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
18623 definitely overflow as x * y not x * y + z.
18624 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18625 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18626 * math/libm-test.inc (fma_test): Add more tests.
18627 (fma_test_towardzero): Likewise.
18628 (fma_test_downward): Likewise.
18629 (fma_test_upward): Likewise.
18630
b830319d
TS
186312012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18632
18633 [BZ #157]
18634
18635 * include/stub-tag.h: Remove file.
18636 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
18637 '#include' of it.
18638 * manual/maint.texi (Porting): Don't reference it.
18639 * Makerules ($(objpfx)stubs): Likewise.
18640 * dirent/closedir.c: Don't include <stub-tag.h>.
18641 * dirent/dirfd.c: Likewise.
18642 * dirent/fdopendir.c: Likewise.
18643 * dirent/getdents.c: Likewise.
18644 * dirent/getdents64.c: Likewise.
18645 * dirent/opendir.c: Likewise.
18646 * dirent/readdir.c: Likewise.
18647 * dirent/readdir64.c: Likewise.
18648 * dirent/readdir64_r.c: Likewise.
18649 * dirent/readdir_r.c: Likewise.
18650 * dirent/rewinddir.c: Likewise.
18651 * dirent/seekdir.c: Likewise.
18652 * dirent/telldir.c: Likewise.
18653 * gmon/profil.c: Likewise.
18654 * grp/setgroups.c: Likewise.
18655 * inet/if_index.c: Likewise.
18656 * io/access.c: Likewise.
18657 * io/chdir.c: Likewise.
18658 * io/chmod.c: Likewise.
18659 * io/chown.c: Likewise.
18660 * io/close.c: Likewise.
18661 * io/dup.c: Likewise.
18662 * io/dup2.c: Likewise.
18663 * io/dup3.c: Likewise.
18664 * io/euidaccess.c: Likewise.
18665 * io/faccessat.c: Likewise.
18666 * io/fchdir.c: Likewise.
18667 * io/fchmod.c: Likewise.
18668 * io/fchmodat.c: Likewise.
18669 * io/fchown.c: Likewise.
18670 * io/fchownat.c: Likewise.
18671 * io/fcntl.c: Likewise.
18672 * io/flock.c: Likewise.
18673 * io/fstatfs.c: Likewise.
18674 * io/fstatfs64.c: Likewise.
18675 * io/fstatvfs.c: Likewise.
18676 * io/fstatvfs64.c: Likewise.
18677 * io/futimens.c: Likewise.
18678 * io/fxstat.c: Likewise.
18679 * io/fxstat64.c: Likewise.
18680 * io/fxstatat.c: Likewise.
18681 * io/fxstatat64.c: Likewise.
18682 * io/getcwd.c: Likewise.
18683 * io/isatty.c: Likewise.
18684 * io/lchmod.c: Likewise.
18685 * io/lchown.c: Likewise.
18686 * io/link.c: Likewise.
18687 * io/linkat.c: Likewise.
18688 * io/lseek.c: Likewise.
18689 * io/lseek64.c: Likewise.
18690 * io/lxstat64.c: Likewise.
18691 * io/mkdir.c: Likewise.
18692 * io/mkdirat.c: Likewise.
18693 * io/mkfifo.c: Likewise.
18694 * io/mkfifoat.c: Likewise.
18695 * io/open.c: Likewise.
18696 * io/open64.c: Likewise.
18697 * io/openat.c: Likewise.
18698 * io/openat64.c: Likewise.
18699 * io/pipe.c: Likewise.
18700 * io/pipe2.c: Likewise.
18701 * io/poll.c: Likewise.
18702 * io/posix_fadvise.c: Likewise.
18703 * io/posix_fadvise64.c: Likewise.
18704 * io/posix_fallocate.c: Likewise.
18705 * io/posix_fallocate64.c: Likewise.
18706 * io/read.c: Likewise.
18707 * io/readlink.c: Likewise.
18708 * io/readlinkat.c: Likewise.
18709 * io/rmdir.c: Likewise.
18710 * io/sendfile.c: Likewise.
18711 * io/sendfile64.c: Likewise.
18712 * io/statfs.c: Likewise.
18713 * io/statfs64.c: Likewise.
18714 * io/statvfs.c: Likewise.
18715 * io/statvfs64.c: Likewise.
18716 * io/symlink.c: Likewise.
18717 * io/symlinkat.c: Likewise.
18718 * io/ttyname.c: Likewise.
18719 * io/ttyname_r.c: Likewise.
18720 * io/umask.c: Likewise.
18721 * io/unlink.c: Likewise.
18722 * io/unlinkat.c: Likewise.
18723 * io/utime.c: Likewise.
18724 * io/utimensat.c: Likewise.
18725 * io/write.c: Likewise.
18726 * io/xmknod.c: Likewise.
18727 * io/xmknodat.c: Likewise.
18728 * io/xstat.c: Likewise.
18729 * io/xstat64.c: Likewise.
18730 * login/getpt.c: Likewise.
18731 * login/grantpt.c: Likewise.
18732 * login/unlockpt.c: Likewise.
18733 * math/e_acoshl.c: Likewise.
18734 * math/e_acosl.c: Likewise.
18735 * math/e_asinl.c: Likewise.
18736 * math/e_atan2l.c: Likewise.
18737 * math/e_atanhl.c: Likewise.
18738 * math/e_coshl.c: Likewise.
18739 * math/e_expl.c: Likewise.
18740 * math/e_fmodl.c: Likewise.
18741 * math/e_gammal_r.c: Likewise.
18742 * math/e_hypotl.c: Likewise.
18743 * math/e_j0l.c: Likewise.
18744 * math/e_j1l.c: Likewise.
18745 * math/e_jnl.c: Likewise.
18746 * math/e_lgammal_r.c: Likewise.
18747 * math/e_log10l.c: Likewise.
18748 * math/e_log2l.c: Likewise.
18749 * math/e_logl.c: Likewise.
18750 * math/e_powl.c: Likewise.
18751 * math/e_rem_pio2l.c: Likewise.
18752 * math/e_sinhl.c: Likewise.
18753 * math/e_sqrtl.c: Likewise.
18754 * math/fclrexcpt.c: Likewise.
18755 * math/fedisblxcpt.c: Likewise.
18756 * math/feenablxcpt.c: Likewise.
18757 * math/fegetenv.c: Likewise.
18758 * math/fegetexcept.c: Likewise.
18759 * math/fegetround.c: Likewise.
18760 * math/feholdexcpt.c: Likewise.
18761 * math/fesetenv.c: Likewise.
18762 * math/fesetround.c: Likewise.
18763 * math/feupdateenv.c: Likewise.
18764 * math/fgetexcptflg.c: Likewise.
18765 * math/fraiseexcpt.c: Likewise.
18766 * math/fsetexcptflg.c: Likewise.
18767 * math/ftestexcept.c: Likewise.
18768 * math/k_cosl.c: Likewise.
18769 * math/k_rem_pio2l.c: Likewise.
18770 * math/k_sinl.c: Likewise.
18771 * math/k_tanl.c: Likewise.
18772 * math/s_asinhl.c: Likewise.
18773 * math/s_atanl.c: Likewise.
18774 * math/s_cbrtl.c: Likewise.
18775 * math/s_erfl.c: Likewise.
18776 * math/s_expm1l.c: Likewise.
18777 * math/s_log1pl.c: Likewise.
18778 * math/s_tanhl.c: Likewise.
18779 * misc/acct.c: Likewise.
18780 * misc/brk.c: Likewise.
18781 * misc/chflags.c: Likewise.
18782 * misc/chroot.c: Likewise.
18783 * misc/fchflags.c: Likewise.
18784 * misc/fgetxattr.c: Likewise.
18785 * misc/flistxattr.c: Likewise.
18786 * misc/fremovexattr.c: Likewise.
18787 * misc/fsetxattr.c: Likewise.
18788 * misc/fsync.c: Likewise.
18789 * misc/ftruncate.c: Likewise.
18790 * misc/futimes.c: Likewise.
18791 * misc/futimesat.c: Likewise.
18792 * misc/getdomain.c: Likewise.
18793 * misc/getdtsz.c: Likewise.
18794 * misc/gethostid.c: Likewise.
18795 * misc/gethostname.c: Likewise.
18796 * misc/getloadavg.c: Likewise.
18797 * misc/getpagesize.c: Likewise.
18798 * misc/getsysstats.c: Likewise.
18799 * misc/getxattr.c: Likewise.
18800 * misc/gtty.c: Likewise.
18801 * misc/ioctl.c: Likewise.
18802 * misc/lgetxattr.c: Likewise.
18803 * misc/listxattr.c: Likewise.
18804 * misc/llistxattr.c: Likewise.
18805 * misc/lremovexattr.c: Likewise.
18806 * misc/lsetxattr.c: Likewise.
18807 * misc/lutimes.c: Likewise.
18808 * misc/madvise.c: Likewise.
18809 * misc/mincore.c: Likewise.
18810 * misc/mlock.c: Likewise.
18811 * misc/mlockall.c: Likewise.
18812 * misc/mmap.c: Likewise.
18813 * misc/mprotect.c: Likewise.
18814 * misc/msync.c: Likewise.
18815 * misc/munlock.c: Likewise.
18816 * misc/munlockall.c: Likewise.
18817 * misc/munmap.c: Likewise.
18818 * misc/preadv.c: Likewise.
18819 * misc/preadv64.c: Likewise.
18820 * misc/ptrace.c: Likewise.
18821 * misc/pwritev.c: Likewise.
18822 * misc/pwritev64.c: Likewise.
18823 * misc/readv.c: Likewise.
18824 * misc/reboot.c: Likewise.
18825 * misc/remap_file_pages.c: Likewise.
18826 * misc/removexattr.c: Likewise.
18827 * misc/revoke.c: Likewise.
18828 * misc/select.c: Likewise.
18829 * misc/setdomain.c: Likewise.
18830 * misc/setegid.c: Likewise.
18831 * misc/seteuid.c: Likewise.
18832 * misc/sethostid.c: Likewise.
18833 * misc/sethostname.c: Likewise.
18834 * misc/setregid.c: Likewise.
18835 * misc/setreuid.c: Likewise.
18836 * misc/setxattr.c: Likewise.
18837 * misc/sstk.c: Likewise.
18838 * misc/stty.c: Likewise.
18839 * misc/swapoff.c: Likewise.
18840 * misc/swapon.c: Likewise.
18841 * misc/sync.c: Likewise.
18842 * misc/syncfs.c: Likewise.
18843 * misc/syscall.c: Likewise.
18844 * misc/truncate.c: Likewise.
18845 * misc/ualarm.c: Likewise.
18846 * misc/usleep.c: Likewise.
18847 * misc/ustat.c: Likewise.
18848 * misc/utimes.c: Likewise.
18849 * misc/vhangup.c: Likewise.
18850 * misc/writev.c: Likewise.
18851 * posix/_exit.c: Likewise.
18852 * posix/alarm.c: Likewise.
18853 * posix/execve.c: Likewise.
18854 * posix/fexecve.c: Likewise.
18855 * posix/fork.c: Likewise.
18856 * posix/fpathconf.c: Likewise.
18857 * posix/getaddrinfo.c: Likewise.
18858 * posix/getegid.c: Likewise.
18859 * posix/geteuid.c: Likewise.
18860 * posix/getgid.c: Likewise.
18861 * posix/getgroups.c: Likewise.
18862 * posix/getlogin.c: Likewise.
18863 * posix/getlogin_r.c: Likewise.
18864 * posix/getpgid.c: Likewise.
18865 * posix/getpid.c: Likewise.
18866 * posix/getppid.c: Likewise.
18867 * posix/getresgid.c: Likewise.
18868 * posix/getresuid.c: Likewise.
18869 * posix/getsid.c: Likewise.
18870 * posix/getuid.c: Likewise.
18871 * posix/glob64.c: Likewise.
18872 * posix/nanosleep.c: Likewise.
18873 * posix/pathconf.c: Likewise.
18874 * posix/pause.c: Likewise.
18875 * posix/posix_madvise.c: Likewise.
18876 * posix/pread.c: Likewise.
18877 * posix/pread64.c: Likewise.
18878 * posix/pwrite.c: Likewise.
18879 * posix/pwrite64.c: Likewise.
18880 * posix/sched_getaffinity.c: Likewise.
18881 * posix/sched_getp.c: Likewise.
18882 * posix/sched_gets.c: Likewise.
18883 * posix/sched_primax.c: Likewise.
18884 * posix/sched_primin.c: Likewise.
18885 * posix/sched_rr_gi.c: Likewise.
18886 * posix/sched_setaffinity.c: Likewise.
18887 * posix/sched_setp.c: Likewise.
18888 * posix/sched_sets.c: Likewise.
18889 * posix/sched_yield.c: Likewise.
18890 * posix/setgid.c: Likewise.
18891 * posix/setlogin.c: Likewise.
18892 * posix/setpgid.c: Likewise.
18893 * posix/setresgid.c: Likewise.
18894 * posix/setresuid.c: Likewise.
18895 * posix/setsid.c: Likewise.
18896 * posix/setuid.c: Likewise.
18897 * posix/sleep.c: Likewise.
18898 * posix/spawni.c: Likewise.
18899 * posix/sysconf.c: Likewise.
18900 * posix/times.c: Likewise.
18901 * posix/wait.c: Likewise.
18902 * posix/wait3.c: Likewise.
18903 * posix/wait4.c: Likewise.
18904 * posix/waitpid.c: Likewise.
18905 * resolv/gai_sigqueue.c: Likewise.
18906 * resource/getpriority.c: Likewise.
18907 * resource/getrlimit.c: Likewise.
18908 * resource/getrusage.c: Likewise.
18909 * resource/nice.c: Likewise.
18910 * resource/setpriority.c: Likewise.
18911 * resource/setrlimit.c: Likewise.
18912 * resource/ulimit.c: Likewise.
18913 * rt/aio_cancel.c: Likewise.
18914 * rt/aio_fsync.c: Likewise.
18915 * rt/aio_read.c: Likewise.
18916 * rt/aio_sigqueue.c: Likewise.
18917 * rt/aio_suspend.c: Likewise.
18918 * rt/aio_write.c: Likewise.
18919 * rt/clock_getres.c: Likewise.
18920 * rt/clock_gettime.c: Likewise.
18921 * rt/clock_nanosleep.c: Likewise.
18922 * rt/clock_settime.c: Likewise.
18923 * rt/lio_listio.c: Likewise.
18924 * rt/mq_close.c: Likewise.
18925 * rt/mq_getattr.c: Likewise.
18926 * rt/mq_notify.c: Likewise.
18927 * rt/mq_open.c: Likewise.
18928 * rt/mq_receive.c: Likewise.
18929 * rt/mq_send.c: Likewise.
18930 * rt/mq_setattr.c: Likewise.
18931 * rt/mq_timedreceive.c: Likewise.
18932 * rt/mq_timedsend.c: Likewise.
18933 * rt/mq_unlink.c: Likewise.
18934 * rt/shm_open.c: Likewise.
18935 * rt/shm_unlink.c: Likewise.
18936 * rt/timer_create.c: Likewise.
18937 * rt/timer_delete.c: Likewise.
18938 * rt/timer_getoverr.c: Likewise.
18939 * rt/timer_gettime.c: Likewise.
18940 * rt/timer_settime.c: Likewise.
18941 * setjmp/__longjmp.c: Likewise.
18942 * setjmp/setjmp.c: Likewise.
18943 * signal/kill.c: Likewise.
18944 * signal/killpg.c: Likewise.
18945 * signal/raise.c: Likewise.
18946 * signal/sigaction.c: Likewise.
18947 * signal/sigaltstack.c: Likewise.
18948 * signal/sigblock.c: Likewise.
18949 * signal/sigignore.c: Likewise.
18950 * signal/sigintr.c: Likewise.
18951 * signal/signal.c: Likewise.
18952 * signal/sigpause.c: Likewise.
18953 * signal/sigpending.c: Likewise.
18954 * signal/sigqueue.c: Likewise.
18955 * signal/sigreturn.c: Likewise.
18956 * signal/sigset.c: Likewise.
18957 * signal/sigsetmask.c: Likewise.
18958 * signal/sigstack.c: Likewise.
18959 * signal/sigsuspend.c: Likewise.
18960 * signal/sigtimedwait.c: Likewise.
18961 * signal/sigvec.c: Likewise.
18962 * signal/sigwait.c: Likewise.
18963 * signal/sigwaitinfo.c: Likewise.
18964 * signal/sysv_signal.c: Likewise.
18965 * socket/accept.c: Likewise.
18966 * socket/accept4.c: Likewise.
18967 * socket/bind.c: Likewise.
18968 * socket/connect.c: Likewise.
18969 * socket/getpeername.c: Likewise.
18970 * socket/getsockname.c: Likewise.
18971 * socket/getsockopt.c: Likewise.
18972 * socket/isfdtype.c: Likewise.
18973 * socket/listen.c: Likewise.
18974 * socket/recv.c: Likewise.
18975 * socket/recvfrom.c: Likewise.
18976 * socket/recvmsg.c: Likewise.
18977 * socket/send.c: Likewise.
18978 * socket/sendmsg.c: Likewise.
18979 * socket/sendto.c: Likewise.
18980 * socket/setsockopt.c: Likewise.
18981 * socket/shutdown.c: Likewise.
18982 * socket/sockatmark.c: Likewise.
18983 * socket/socket.c: Likewise.
18984 * socket/socketpair.c: Likewise.
18985 * stdio-common/ctermid.c: Likewise.
18986 * stdio-common/cuserid.c: Likewise.
18987 * stdio-common/remove.c: Likewise.
18988 * stdio-common/rename.c: Likewise.
18989 * stdio-common/renameat.c: Likewise.
18990 * stdio-common/tempname.c: Likewise.
18991 * stdlib/getcontext.c: Likewise.
18992 * stdlib/makecontext.c: Likewise.
18993 * stdlib/setcontext.c: Likewise.
18994 * stdlib/swapcontext.c: Likewise.
18995 * stdlib/system.c: Likewise.
18996 * streams/fattach.c: Likewise.
18997 * streams/fdetach.c: Likewise.
18998 * streams/getmsg.c: Likewise.
18999 * streams/getpmsg.c: Likewise.
19000 * streams/putmsg.c: Likewise.
19001 * streams/putpmsg.c: Likewise.
19002 * sysdeps/unix/bsd/getpt.c: Likewise.
19003 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
19004 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
19005 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
19007 Likewise.
19008 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
19009 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
19010 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
19011 * sysvipc/msgctl.c: Likewise.
19012 * sysvipc/msgget.c: Likewise.
19013 * sysvipc/msgrcv.c: Likewise.
19014 * sysvipc/msgsnd.c: Likewise.
19015 * sysvipc/semctl.c: Likewise.
19016 * sysvipc/semget.c: Likewise.
19017 * sysvipc/semop.c: Likewise.
19018 * sysvipc/semtimedop.c: Likewise.
19019 * sysvipc/shmat.c: Likewise.
19020 * sysvipc/shmctl.c: Likewise.
19021 * sysvipc/shmdt.c: Likewise.
19022 * sysvipc/shmget.c: Likewise.
19023 * termios/tcdrain.c: Likewise.
19024 * termios/tcflow.c: Likewise.
19025 * termios/tcflush.c: Likewise.
19026 * termios/tcgetattr.c: Likewise.
19027 * termios/tcgetpgrp.c: Likewise.
19028 * termios/tcsendbrk.c: Likewise.
19029 * termios/tcsetattr.c: Likewise.
19030 * termios/tcsetpgrp.c: Likewise.
19031 * time/adjtime.c: Likewise.
19032 * time/clock.c: Likewise.
19033 * time/getitimer.c: Likewise.
19034 * time/gettimeofday.c: Likewise.
19035 * time/setitimer.c: Likewise.
19036 * time/settimeofday.c: Likewise.
19037 * time/stime.c: Likewise.
19038 * time/time.c: Likewise.
19039
190402012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 19041
a20492cf
PT
19042 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
19043 /usr/old/bin.
19044
72e182e3
PT
19045 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
19046 instead of spaces.
19047 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
19048
fbeafede
JM
190492012-11-03 Joseph Myers <joseph@codesourcery.com>
19050
5b5b04d6
JM
19051 [BZ #14796]
19052 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
19053 FE_TONEAREST before applying Dekker multiplication and Knuth
19054 addition. Clear inexact exceptions and check for exact zero
19055 results afterwards.
19056 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19057 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19058 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19059 * math/libm-test.inc (fma_test): Add more tests.
19060 (fma_test_towardzero): Likewise.
19061 (fma_test_downward): Likewise.
19062 (fma_test_upward): Likewise.
19063 * sysdeps/generic/math_private.h (default_libc_fesetround): New
19064 function.
19065 (libc_fesetround): New macro.
19066 (libc_fesetroundf): Likewise.
19067 (libc_fesetroundl): Likewise.
19068 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
19069 function.
19070 (libc_fesetround_387): Likewise.
19071 (libc_fesetroundf): New macro.
19072 (libc_fesetround): Likewise.
19073 (libc_fesetroundl): Likewise.
19074 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
19075 function.
19076 (libc_fesetroundf): New macro.
19077 (libc_fesetround): Likewise.
19078 (libc_fesetroundl): Likewise.
19079 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
19080 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
19081 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
19082 libm_hidden_ver.
19083 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
19084 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
19085 libm_hidden_def.
19086 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
19087 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
19088 libm_hidden_ver.
19089 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
19090 libm_hidden_def.
19091
fbeafede
JM
19092 [BZ #3439]
19093 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
19094 integer constant usable in #if and use that to give value to enum
19095 constant.
19096 (FE_DIVBYZERO): Likewise.
19097 (FE_UNDERFLOW): Likewise.
19098 (FE_OVERFLOW): Likewise.
19099 (FE_INVALID): Likewise.
19100 (FE_INVALID_SNAN): Likewise.
19101 (FE_INVALID_ISI): Likewise.
19102 (FE_INVALID_IDI): Likewise.
19103 (FE_INVALID_ZDZ): Likewise.
19104 (FE_INVALID_IMZ): Likewise.
19105 (FE_INVALID_COMPARE): Likewise.
19106 (FE_INVALID_SOFTWARE): Likewise.
19107 (FE_INVALID_SQRT): Likewise.
19108 (FE_INVALID_INTEGER_CONVERSION): Likewise.
19109 (FE_TONEAREST): Likewise.
19110 (FE_TOWARDZERO): Likewise.
19111 (FE_UPWARD): Likewise.
19112 (FE_DOWNWARD): Likewise.
19113 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
19114 (FE_DIVBYZERO): Likewise.
19115 (FE_OVERFLOW): Likewise.
19116 (FE_UNDERFLOW): Likewise.
19117 (FE_INEXACT): Likewise.
19118 (FE_TONEAREST): Likewise.
19119 (FE_DOWNWARD): Likewise.
19120 (FE_UPWARD): Likewise.
19121 (FE_TOWARDZERO): Likewise.
19122 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
19123 (FE_UNDERFLOW): Likewise.
19124 (FE_OVERFLOW): Likewise.
19125 (FE_DIVBYZERO): Likewise.
19126 (FE_INVALID): Likewise.
19127 (FE_TONEAREST): Likewise.
19128 (FE_TOWARDZERO): Likewise.
19129 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
19130 (FE_OVERFLOW): Likewise.
19131 (FE_UNDERFLOW): Likewise.
19132 (FE_DIVBYZERO): Likewise.
19133 (FE_INEXACT): Likewise.
19134 (FE_TONEAREST): Likewise.
19135 (FE_TOWARDZERO): Likewise.
19136 (FE_UPWARD): Likewise.
19137 (FE_DOWNWARD): Likewise.
19138 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
19139 (FE_DIVBYZERO): Likewise.
19140 (FE_OVERFLOW): Likewise.
19141 (FE_UNDERFLOW): Likewise.
19142 (FE_INEXACT): Likewise.
19143 (FE_TONEAREST): Likewise.
19144 (FE_DOWNWARD): Likewise.
19145 (FE_UPWARD): Likewise.
19146 (FE_TOWARDZERO): Likewise.
19147
105ca950
CM
191482012-11-02 Chris Metcalf <cmetcalf@tilera.com>
19149
19150 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
19151
a542b389
AS
191522012-11-03 Andreas Schwab <schwab@linux-m68k.org>
19153
19154 * scripts/cross-test-ssh.sh (command): Use newlines to separate
19155 commands. Quote $PWD.
19156 (blacklist_exports): Don't use remove_newlines. Replace "declare
19157 -x" by "export".
19158 (remove_newlines): Remove.
19159
f62c8abc
L
191602012-11-02 H.J. Lu <hongjiu.lu@intel.com>
19161
19162 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
19163 * stdlib/stdlib.h (atof): Moved to ...
19164 * include/bits/stdlib-float.h: Here. New file.
19165 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
19166 * stdlib/bits/stdlib-float.h: New file.
19167 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
19168 -mno-sse -mno-mmx.
19169 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
19170 <xmmintrin.h>.
19171
0155d5b2
JM
191722012-11-02 Joseph Myers <joseph@codesourcery.com>
19173
a68d0680
JM
19174 * conform/conformtest.pl (@headers): Add fenv.h.
19175 * conform/data/fenv.h-data: New file.
19176 * include/fenv.h [_ISOMAC]: Disable all contents of file except
19177 include of <math/fenv.h>.
19178
caf7f573
JM
19179 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
19180 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
19181 && !UNIX98]. Enables tests for XOPEN2K8.
19182 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
19183 POSIX2008]: Likewise.
19184
6c073ad6
JM
19185 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
19186 (struct rusage): Do not expect type or its members.
19187
0155d5b2
JM
19188 [BZ #3439]
19189 * math/math.h (FP_NAN): Define macro to integer constant usable in
19190 #if and use that to give value to enum constant.
19191 (FP_INFINITE): Likewise.
19192 (FP_ZERO): Likewise.
19193 (FP_SUBNORMAL): Likewise.
19194 (FP_NORMAL): Likewise.
19195
b5dcacb4
AS
191962012-11-02 Andreas Schwab <schwab@linux-m68k.org>
19197
19198 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
19199 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
19200 arguments.
19201
f7934be8
RM
192022012-11-02 Roland McGrath <roland@hack.frob.com>
19203
19204 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
19205 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
19206 autoconf-time if not.
19207 * configure.in: Remove AC_PREREQ.
19208
d7d08bde
TMQMF
192092012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19210
19211 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
19212 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
19213 of the internal implementation.
19214
dcdae19a
JM
192152012-11-02 Joseph Myers <joseph@codesourcery.com>
19216
19217 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
19218 except include of <misc/sys/syslog.h>.
19219
d6cffd3e
AS
192202012-11-01 Andreas Schwab <schwab@linux-m68k.org>
19221
19222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
19223 function returns with a NULL context exit with zero.
19224
b3563932
TMQMF
192252012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19226
19227 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
19228
b288a93d
L
192292012-11-01 H.J. Lu <hongjiu.lu@intel.com>
19230
19231 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
19232 (run_program_cmd): This.
19233 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
19234 (tst_langinfo): New variable. Use it.
19235
a2421a68
SAS
192362012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
19237
19238 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
19239 floating point opcodes.
19240
6f796e1b
TS
192412012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19242
7402596b
TS
19243 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
19244 variable.
19245
d0d4f868
TS
19246 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
19247
6f796e1b
TS
19248 * sysdeps/mach/hurd/powerpc: Remove directory.
19249 * sysdeps/mach/powerpc: Likewise.
19250
4da224a2
AS
192512012-11-01 Andreas Schwab <schwab@linux-m68k.org>
19252
19253 * scripts/check-local-headers.sh: Ignore c++ headers.
19254
341dd673
TS
192552012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19256
19257 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
19258 __libc_cleanup_region_start argument.
19259
473611b2
JM
192602012-11-01 Joseph Myers <joseph@codesourcery.com>
19261
19262 [BZ #14784]
19263 [BZ #14785]
19264 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
19265 x * y using scaling, not as x * y + z.
19266 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19267 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19268 * math/libm-test.inc (fma_test): Add more tests.
19269 (fma_test_towardzero): Likewise.
19270 (fma_test_downward): Likewise.
19271 (fma_test_upward): Likewise.
19272
4078da3d
TS
192732012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19274
19275 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
19276
903252aa
JM
192772012-10-31 Joseph Myers <joseph@codesourcery.com>
19278
19279 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
19280 New variable.
19281
cbc818d0
TS
192822012-10-31 Thomas Schwinge <thomas@codesourcery.com>
19283
19284 * rt/tst-shm.c (worker): Correct checking for mmap failure.
19285
5a03cb1e
AS
192862012-10-31 Andreas Schwab <schwab@linux-m68k.org>
19287
19288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19289 Fix sort order.
19290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19291 Likewise.
19292
90aff2ff
TMQMF
192932012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19294
19295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19296 Fix the order of the list for glibc 2.17.
19297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19298 Likewise.
19299
1818fcb7
AS
193002012-10-31 Andreas Schwab <schwab@linux-m68k.org>
19301
19302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19303
ef82f4da
JM
193042012-10-31 Joseph Myers <joseph@codesourcery.com>
19305
16a0e2ec
JM
19306 [BZ #14610]
19307 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
19308 for low part of x being zero before using __atanl (y).
19309 * math/libm-test.inc (atan2_test): Add another test.
19310
0eb69512
JM
19311 * manual/install.texi (Configuring and compiling): Document
19312 general use of test-wrapper and test-wrapper-env.
19313 * INSTALL: Regenerated.
19314
ef82f4da
JM
19315 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
19316 (__fma): Do not extract and scale down low bits on after-rounding
19317 systems when result rounded to normal precision would have normal
19318 exponent.
19319 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
19320 (__fmal): Do not extract and scale down low bits on after-rounding
19321 systems when result rounded to normal precision would have normal
19322 exponent.
19323 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
19324 (__fmal): Do not extract and scale down low bits on after-rounding
19325 systems when result rounded to normal precision would have normal
19326 exponent.
19327 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
19328 macro.
19329 (fma_test): Add more tests.
19330 (fma_test_towardzero): Likewise.
19331 (fma_test_downward): Likewise.
19332 (fma_test_upward): Likewise.
19333
954ef0d9
L
193342012-10-30 H.J. Lu <hongjiu.lu@intel.com>
19335
19336 * sysdeps/i386/tininess.h: Renamed to ...
19337 * sysdeps/x86/tininess.h: This.
19338 * sysdeps/x86_64/tininess.h: Removed.
19339
df61ffb2
JM
193402012-10-30 Joseph Myers <joseph@codesourcery.com>
19341
19342 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
19343 input. Use $(build-program-cmd).
19344 ($(objpfx)tst-array1-static.out): Likewise.
19345 ($(objpfx)tst-array2.out): Likewise.
19346 ($(objpfx)tst-array3.out): Likewise.
19347 ($(objpfx)tst-array4.out): Likewise.
19348 ($(objpfx)tst-array5.out): Likewise.
19349 ($(objpfx)tst-array5-static.out): Likewise.
19350
01767843
CM
193512012-10-30 Chris Metcalf <cmetcalf@tilera.com>
19352
47cc1490
CM
19353 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
19354 if defined.
19355
01767843
CM
19356 * nss/nsswitch.h (nss_interface_function): Provide new
19357 macro for use with NSS functions.
19358 * grp/initgroups.c: Use new macro.
19359 * nss/getXXbyYY.c: Likewise.
19360 * nss/getXXbyYY_r.c: Likewise.
19361 * nss/getXXent.c: Likewise.
19362 * nss/getXXent_r.c: Likewise.
19363 * sysdeps/posix/getaddrinfo.c: Likewise.
19364
8321aa97
AJ
193652012-10-30 Andreas Jaeger <aj@suse.de>
19366
19367 * po/ru.po: Update Russion translation from translation project.
19368
2a27fd6d
JM
193692012-10-30 Joseph Myers <joseph@codesourcery.com>
19370
8627a232
JM
19371 [BZ #14152]
19372 [BZ #14783]
19373 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
19374 result and shift together with sticky bit instead of replicating
19375 round-to-nearest rounding.
19376 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19377 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19378 * math/libm-test.inc (fma_test): Add more tests. Do not permit
19379 missing underflow exceptions.
19380 (fma_test_towardzero): Add more tests.
19381 (fma_test_downward): Likewise.
19382 (fma_test_upward): Likewise.
19383
2a27fd6d
JM
19384 [BZ #14047]
19385 * sysdeps/generic/tininess.h: New file.
19386 * sysdeps/i386/tininess.h: Likewise.
19387 * sysdeps/sh/tininess.h: Likewise.
19388 * sysdeps/x86_64/tininess.h: Likewise.
19389 * stdlib/tst-strtod-underflow.c: Likewise.
19390 * stdlib/tst-tininess.c: Likewise.
19391 * stdlib/strtod_l.c: Include <tininess.h>.
19392 (round_and_return): Do not set errno for exact underflow cases.
19393 Force an underflow exception when setting errno for underflow.
19394 Determine underflow based on rounding to normal precision if
19395 TININESS_AFTER_ROUNDING.
19396 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
19397 ERANGE for exact underflow cases.
19398 * stdlib/Makefile (tests): Add tst-tininess and
19399 tst-strtod-underflow.
19400 ($(objpfx)tst-tininess): Use $(link-libm).
19401 ($(objpfx)tst-strtod-underflow): Likewise.
19402
e7170363
AJ
194032012-10-30 Andreas Jaeger <aj@suse.de>
19404
e5088dc6
AJ
19405 [BZ#14767]
19406 * elf/Makefile (tests): Remove conditional for have-initfini-array
19407 since this is now always required and the variable does not exist
19408 anymore.
19409 (tests-static): Likewise.
19410 (modules-names): Likewise.
19411
e7170363 19412 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
19413
19414 * elf/tst-array1.c (fini_array): Make writeable so that it can be
19415 merged with constructor/destructor.
19416 (init_array): Likewise.
19417 * elf/tst-array2dep.c (fini_array): Likewise.
19418 (init_array): Likewise.
19419
60457d8a
MF
194202012-10-29 Mike Frysinger <vapier@gentoo.org>
19421
19422 * manual/message.texi: Delete @cartouche tags.
19423
8bece752
PT
194242012-10-29 Pino Toscano <toscano.pino@tiscali.it>
19425
94ce799f
PT
19426 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
19427 EOPNOTSUPP.
19428 * sysdeps/mach/hurd/fsync.c: Likewise.
19429
8bece752
PT
19430 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
19431 [_POSIX_REALTIME_SIGNALS]: Change condition to
19432 [_POSIX_REALTIME_SIGNALS > 0].
19433
86ebe6b1
AJ
194342012-10-27 Andreas Jaeger <aj@suse.de>
19435
19436 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
19437 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
19438 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
19439 [__WORDSIZE != 64]: Likewise.
19440
54399c08
L
194412012-10-26 H.J. Lu <hongjiu.lu@intel.com>
19442
19443 * iconvdata/tst-table.sh: Remove ${SHELL}.
19444 * iconvdata/tst-tables.sh: Likewise.
19445
e2211bed
DM
194462012-10-25 David S. Miller <davem@davemloft.net>
19447
19448 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19449 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
19450 of strtoull.
19451
f303f97c
DM
19452 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
19453 ifunc-impl-list.c
19454 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19455 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
19456 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
19457 file.
19458
1e9d84cd
RM
194592012-10-25 Roland McGrath <roland@hack.frob.com>
19460
19461 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19462 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
19463 __getdirentries.
19464
df381762
JM
194652012-10-25 Joseph Myers <joseph@codesourcery.com>
19466 Jim Blandy <jimb@codesourcery.com>
19467
19468 * scripts/cross-test-ssh.sh: New file.
19469 * manual/install.texi (Configuring and compiling): Document use of
19470 cross-test-ssh.sh.
19471 * INSTALL: Regenerated.
19472
bff64913
PT
194732012-10-25 Pino Toscano <toscano.pino@tiscali.it>
19474
19475 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
19476 EOPNOTSUPP.
19477
25fe8932
JM
194782012-10-25 Joseph Myers <joseph@codesourcery.com>
19479
19480 * Makeconfig (run-program-prefix): Fix comment.
19481
cc1290d0
JM
194822012-10-24 Joseph Myers <joseph@codesourcery.com>
19483 Jim Blandy <jimb@codesourcery.com>
19484
19485 * Makeconfig (test-wrapper): New variable,
19486 (test-wrapper-env): Likewise.
19487 [$(cross-compiling) = yes && $(test-wrapper) != ""]
19488 (run-built-tests): Define to yes.
19489 (run-program-prefix): Use $(test-wrapper).
19490 (built-program-cmd): Likewise.
19491 * Rules (make-test-out): Use $(test-wrapper-env) and
19492 $(host-built-program-cmd).
19493 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
19494 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
19495 tst-pathopt.sh.
19496 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
19497 $(test-wrapper-env) to tst-rtld-load-self.sh.
19498 ($(objpfx)order2.out): Use $(test-wrapper).
19499 ($(objpfx)tst-initorder.out): Likewise.
19500 ($(objpfx)tst-initorder2.out): Likewise.
19501 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
19502 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
19503 (test_wrapper_env): New variable. Use it to run ld.so.
19504 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
19505 Use it to run ld.so.
19506 (test_wrapper_env): Likewise.
19507 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
19508 $(test-wrapper) to run-iconv-test.sh.
19509 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
19510 (ICONV): Use $test_wrapper.
19511 * posix/Makefile ($(objpfx)globtest.out): Pass
19512 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
19513 globtest.sh, not $(run-program-prefix).
19514 * posix/globtest.sh (run_via_rtld_prefix): New variable.
19515 (test_wrapper): Likewise.
19516 (test_wrapper_env): Likewise. Use it to run globtest with HOME
19517 set together with run_via_rtld_prefix.
19518 (run_program_prefix): Define in terms of test_wrapper and
19519 run_via_rtld_prefix.
19520
6e6249d0
RM
195212012-10-24 Roland McGrath <roland@hack.frob.com>
19522
19523 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
19524 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
19525 Targets removed.
19526
19527 [BZ #14743]
19528 * include/time.h: Remove librt_hidden_proto (clock_gettime).
19529 Declare __clock_getres, __clock_gettime, __clock_settime,
19530 __clock_nanosleep, and __clock_getcpuclockid.
19531 * rt/clock_gettime.c: Define __clock_gettime as an alias.
19532 Remove librt_hidden_def (clock_gettime).
19533 * sysdeps/unix/clock_gettime.c: Likewise.
19534 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
19535 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
19536 * rt/clock_getres.c: Define __clock_getres as an alias.
19537 * sysdeps/posix/clock_getres.c: Likewise.
19538 * rt/clock_settime.c: Define __clock_settime as an alias.
19539 * sysdeps/unix/clock_settime.c: Likewise.
19540 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
19541 * sysdeps/unix/clock_nanosleep.c: Likewise.
19542 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
19543 * rt/clock-compat.c: New file.
19544 * rt/Makefile (librt-routines): Add clock-compat and move
19545 $(clock-routines) to ...
19546 (routines): ... here, new variable.
19547 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
19548 Don't add get_clockfreq here.
19549 * rt/Versions (libc: GLIBC_2.17): New version set.
19550 Add clock_* symbols here.
19551 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
19552 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
19553 (GLIBC_2.17): Add clock_* symbols.
19554 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19555 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19556 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19558 Likewise.
19559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19560 Likewise.
19561 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19562 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
19563 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19565 * NEWS: Mention the move.
19566
19567 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19568 Use __open, __read, __close rather than their public counterparts.
19569 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19570 (__get_clockfreq_via_cpuinfo): Likewise.
19571 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
19572 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
19573
19574 * config.h.in (HAVE_IFUNC): New #undef.
19575 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
19576 was successful.
19577 * configure: Regenerated.
19578
0cae3f4b
MF
195792012-10-24 Mike Frysinger <vapier@gentoo.org>
19580
19581 * configure.in: Move READELF check to start of file.
19582 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
19583 libc_cv_asm_gnu_indirect_function in the process.
19584 * configure: Regenerated.
19585
8175a253
MF
195862012-10-24 Mike Frysinger <vapier@gentoo.org>
19587
19588 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
19589 send the output to /dev/null.
19590 (libc_cv_cc_with_libunwind): Likewise.
19591 (libc_cv_as_noexecstack): Likewise.
19592 * configure: Regenerate.
19593
0708a7d1
JM
195942012-10-24 Joseph Myers <joseph@codesourcery.com>
19595
10b40d85
JM
19596 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
19597
0708a7d1
JM
19598 * posix/globtest.sh (TMPDIR): Do not set.
19599 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
19600 (testout): Likewise.
19601
9fddec1a
AJ
196022012-10-24 Andreas Jaeger <aj@suse.de>
19603
3a8db22f
AJ
19604 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
19605 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
19606 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
19607 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
19608 posix_fadvise64, posix_fallocate64.
19609
9fddec1a
AJ
19610 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
19611 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
19612 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
19613 Likewise.
19614 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
19615 Likewise.
19616 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
19617
19618 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
19619 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
19620 <bits/fcntl-linux.h>.
19621 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
19622
19623 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
19624 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
19625 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
19626 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
19627 [__WORDSIZE != 64]: Likewise.
19628
ebfd1bbd
JM
196292012-10-23 Joseph Myers <joseph@codesourcery.com>
19630
03ac099f
JM
19631 * Makeconfig (run-built-tests): New variable.
19632 * Rules [$(cross-compiling) = yes]: Change condition to
19633 [$(run-built-tests) = no].
19634 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
19635 to [$(run-built-tests) = yes].
19636 * elf/Makefile [$(cross-compiling) = no]: Likewise
19637 * grp/Makefile [$(cross-compiling) = no]: Likewise.
19638 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
19639 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
19640 * intl/Makefile [$(cross-compiling) = no]: Likewise.
19641 * io/Makefile [$(cross-compiling) = no]: Likewise.
19642 * libio/Makefile [$(cross-compiling) = no]: Likewise.
19643 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
19644 * misc/Makefile [$(cross-compiling) = no]: Likewise.
19645 * posix/Makefile [$(cross-compiling) = no]: Likewise.
19646 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
19647 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
19648 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
19649 * string/Makefile [$(cross-compiling) = no]: Likewise.
19650
ebfd1bbd
JM
19651 * posix/Makefile ($(objpfx)globtest.out): Pass
19652 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
19653 $(rtld-installed-name).
19654 * posix/globtest.sh (elf_objpfx): Remove variable.
19655 (rtld_installed_name): Likewise.
19656 (library_path): Likewise.
19657 (run_program_prefix): New variable. Use for running globtest
19658 binary.
19659
166bca24
JB
196602012-10-23 Jim Blandy <jimb@codesourcery.com>
19661 Joseph Myers <joseph@codesourcery.com>
19662
19663 * Makeconfig (host-built-program-cmd): New variable.
19664 * elf/Makefile (tst-stackguard1-ARGS): Use
19665 $(host-built-program-cmd).
19666 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
19667 (tst-spawn-ARGS): Likewise.
19668 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
19669
88866099
JM
196702012-10-23 Joseph Myers <joseph@codesourcery.com>
19671 Jim Blandy <jimb@codesourcery.com>
19672
19673 * Makeconfig (run-via-rtld-prefix): New variable.
19674 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
19675 (built-program-cmd): Likewise.
19676
b4b4c296
AJ
196772012-10-22 Andreas Jaeger <aj@suse.de>
19678
19679 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
19680 __O_RSYNC if it exists, otherwise to O_SYNC.
19681
6fb54a22
JB
196822012-10-22 Jim Blandy <jimb@codesourcery.com>
19683 Joseph Myers <joseph@codesourcery.com>
19684
19685 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
19686 /dev/null.
19687 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
19688 from /dev/null
19689 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
19690 /dev/null.
19691
481b90b9
AJ
196922012-10-22 Andreas Jaeger <aj@suse.de>
19693
2a0e2669
AJ
19694 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
19695 Define always.
19696 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
19697
76e38f9a
AJ
19698 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19699 bits/fcntl-linux.h.
19700
7cd37b43
AJ
19701 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
19702 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
19703
481b90b9
AJ
19704 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
19705 to __O_LARGEFILE.
19706 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
19707 to __O_LARGEFILE.
19708
aba75984
JB
197092012-10-21 Jim Blandy <jimb@codesourcery.com>
19710 Joseph Myers <joseph@codesourcery.com>
19711
19712 * config.make.in (NM): New variable.
19713
88d4247f
AJ
197142012-10-21 Andreas Jaeger <aj@suse.de>
19715
19716 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
19717 definitions and declarations that are provided by
19718 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
19719
f2eed205
L
197202012-10-20 H.J. Lu <hongjiu.lu@intel.com>
19721
19722 [BZ #14683]
19723 * elf/Makefile (tests-static): Add tst-leaks1-static.
19724 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
19725 ($(objpfx)tst-leaks1-static): New rule.
19726 ($(objpfx)tst-leaks1-static-mem): Likewise.
19727 (tst-leaks1-static-ENV): New macro.
19728 * elf/dl-open.c (dl_open_worker): Check the main application
19729 only if SHARED is defined.
19730 * elf/tst-leaks1-static.c: New file.
19731
335e6931
AJ
197322012-10-20 Andreas Jaeger <aj@suse.de>
19733
19734 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
19735 generic values for Linux.
19736 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
19737 and declarations that are provided by <bits/fcntl-linux.h> and
19738 include <bits/fcntl-linux.h>.
19739 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19740 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19741
ac5c94d3
RM
197422012-10-20 Roland McGrath <roland@hack.frob.com>
19743
19744 * io/fcntl.h: Move include of <bits/types.h> to the top and
19745 include it unconditionally.
19746
de54b33a
L
197472012-10-20 H.J. Lu <hongjiu.lu@intel.com>
19748
228cfb01
L
19749 * wcsmbs/Makefile (tests-ifunc): New variable.
19750 (tests): Add $(tests-ifunc).
19751 * wcsmbs/test-wcschr-ifunc.c: New file.
19752 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
19753 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
19754 * wcsmbs/test-wcslen-ifunc.c: Likewise.
19755 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
19756 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
19757
69f07e5f
L
19758 * string/Makefile (tests-ifunc): New variable.
19759 (tests): Add $(tests-ifunc).
19760 * string/test-memccpy.c (TEST_NAME): New macro.
19761 * string/test-memchr.c (TEST_NAME): Likewise.
19762 * string/test-memcmp.c (TEST_NAME): Likewise.
19763 * string/test-memcpy.c (TEST_NAME): Likewise.
19764 * string/test-memmem.c (TEST_NAME): Likewise.
19765 * string/test-memmove.c (TEST_NAME): Likewise.
19766 * string/test-memset.c (TEST_NAME): Likewise.
19767 * string/test-rawmemchr.c (TEST_NAME): Likewise.
19768 * string/test-stpcpy.c (TEST_NAME): Likewise.
19769 * string/test-stpncpy.c (TEST_NAME): Likewise.
19770 * string/test-strcasecmp.c (TEST_NAME): Likewise.
19771 * string/test-strcasestr.c (TEST_NAME): Likewise.
19772 * string/test-strcat.c (TEST_NAME): Likewise.
19773 * string/test-strchr.c (TEST_NAME): Likewise.
19774 * string/test-strcmp.c(TEST_NAME): Likewise.
19775 * string/test-strcpy.c (TEST_NAME): Likewise.
19776 * string/test-strcspn.c (TEST_NAME): Likewise.
19777 * string/test-strlen.c (TEST_NAME): Likewise.
19778 * string/test-strncasecmp.c (TEST_NAME): Likewise.
19779 * string/test-strncmp.c (TEST_NAME): Likewise.
19780 * string/test-strncpy.c (TEST_NAME): Likewise.
19781 * string/test-strnlen.c (TEST_NAME): Likewise.
19782 * string/test-strpbrk.c (TEST_NAME): Likewise.
19783 * string/test-strrchr.c (TEST_NAME): Likewise.
19784 * string/test-strspn.c (TEST_NAME): Likewise.
19785 * string/test-strstr.c (TEST_NAME): Likewise.
19786 * string/test-bcopy-ifunc.c: New file.
19787 * string/test-bzero-ifunc.c: Likewise.
19788 * string/test-memccpy-ifunc.c: Likewise.
19789 * string/test-memchr-ifunc.c: Likewise.
19790 * string/test-memcmp-ifunc.c: Likewise.
19791 * string/test-memcpy-ifunc.c: Likewise.
19792 * string/test-memmem-ifunc.c: Likewise.
19793 * string/test-memmove-ifunc.c: Likewise.
19794 * string/test-mempcpy-ifunc.c: Likewise.
19795 * string/test-memset-ifunc.c: Likewise.
19796 * string/test-rawmemchr-ifunc.c: Likewise.
19797 * string/test-stpcpy-ifunc.c: Likewise.
19798 * string/test-stpncpy-ifunc.c: Likewise.
19799 * string/test-strcasecmp-ifunc.c: Likewise.
19800 * string/test-strcasestr-ifunc.c: Likewise.
19801 * string/test-strcat-ifunc.c: Likewise.
19802 * string/test-strchr-ifunc.c: Likewise.
19803 * string/test-strchrnul-ifunc.c: Likewise.
19804 * string/test-strcmp-ifunc.c: Likewise.
19805 * string/test-strcpy-ifunc.c: Likewise.
19806 * string/test-strcspn-ifunc.c: Likewise.
19807 * string/test-strlen-ifunc.c: Likewise.
19808 * string/test-strncasecmp-ifunc.c: Likewise.
19809 * string/test-strncat-ifunc.c: Likewise.
19810 * string/test-strncmp-ifunc.c: Likewise.
19811 * string/test-strncpy-ifunc.c: Likewise.
19812 * string/test-strnlen-ifunc.c: Likewise.
19813 * string/test-strpbrk-ifunc.c: Likewise.
19814 * string/test-strrchr-ifunc.c: Likewise.
19815 * string/test-strspn-ifunc.c: Likewise.
19816 * string/test-strstr-ifunc.c: Likewise.
19817
de54b33a
L
19818 * debug/Makefile (tests-ifunc): New variable.
19819 (tests): Add $(tests-ifunc).
19820 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
19821 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
19822 * debug/test-stpcpy_chk-ifunc.c: New file.
19823 * debug/test-strcpy_chk-ifunc.c: Likewise.
19824
88481c16
SP
198252012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19826
19827 [BZ #13601]
19828 * elf/dl-load.c (open_verify): Retry read if the entire ELF
19829 header is not read in.
19830
135948bd
JM
198312012-10-19 Joseph Myers <joseph@codesourcery.com>
19832
89f1c388
JM
19833 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
19834 script to $(SHELL) as $<. Pass $(common-objpfx) to script
19835 directly. Pass built executable to script as
19836 $(built-program-cmd).
19837 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
19838 $testprogram without using LD_LIBRARY_PATH and $ldso.
19839
e40a0d21
JM
19840 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
19841 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
19842 $(rtld-installed-name).
19843 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
19844 (rtld_installed_name): Likewise.
19845 (library_path): Likewise.
19846 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
19847 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
19848 $(run-program-prefix) to tst-tables.sh.
19849 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
19850 it to run tst-table-from and tst-table-to.
19851 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
19852 Pass it to tst-table.sh.
19853 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
19854 $(run-program-prefix) to tst-gettext.sh.
19855 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
19856 tst-translit.sh.
19857 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
19858 tst-gettext2.sh.
19859 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
19860 to run tst-gettext.
19861 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
19862 to run tst-gettext2.
19863 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
19864 to run tst-translit.
19865 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
19866 $(run-program-prefix) to tst-mtrace.sh.
19867 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
19868 to run tst-mtrace.
19869 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
19870 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
19871 $(rtld-installed-name).
19872 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
19873 (rtld_installed_name): Likewise.
19874 (run_program_prefix): New variable. Use it to run wordexp-test.
19875
728e272a
JM
19876 * Makeconfig (ARCH): Remove all definitions.
19877 (machine): Likewise.
19878 [ARCH]: Remove conditional code.
19879 [!objdir]: Give error.
19880 [!objdir] (objpfx): Remove.
19881 [!objdir] (common-objpfx): Likewise.
19882 [!objdir] (common-objdir): Likewise.
19883 * configure.in (config_makefile): Remove. Hardcode Makefile in
19884 AC_CONFIG_FILES call.
19885 * configure: Regenerated.
19886
d528cdcf
JM
19887 [BZ #13888]
19888 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
19889 or TMPDIR.
19890 (testout): Likewise.
19891
135948bd
JM
19892 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
19893 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
19894 $(rtld-installed-name).
19895 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
19896 (rtld_installed_name): Likwise.
19897 (runit): Remove function.
19898 (run_getconf): New variable, Use it for running getconf binary.
19899
38c78296
L
199002012-10-18 H.J. Lu <hongjiu.lu@intel.com>
19901
19902 [BZ #14716]
19903 * string/test-memmem.c (check_result): New function.
19904 (do_one_test): Use it.
19905 (check1): New function.
19906 (test_main): Use it.
19907
d077f65f
MT
199082012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
19909
19910 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
19911
ced52c71
JM
199122012-10-18 Joseph Myers <joseph@codesourcery.com>
19913
19914 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
19915 (_G_LSEEK64): Likewise.
19916 (_G_MMAP64): Likewise.
19917 (_G_FSTAT64): Likewise.
19918 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
19919 (_G_LSEEK64): Likewise.
19920 (_G_MMAP64): Likewise.
19921 (_G_FSTAT64): Likewise.
19922 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
19923 unconditional. Call __mmap64 directly.
19924 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
19925 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
19926 __lseek64 directly.
19927 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
19928 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
19929 __mmap64 directly.
19930 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
19931 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
19932 __lseek64 directly.
19933 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
19934 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
19935 __lseek64 directly.
19936 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
19937 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
19938 __lseek64 directly.
19939 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
19940 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
19941 __fxstat64 directly.
19942 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
19943 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
19944 unconditional.
19945 (freopen64) [!_G_OPEN64]: Remove conditional code.
19946 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
19947 unconditional.
19948 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
19949 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
19950 unconditional.
19951 (ftello64) [!_G_LSEEK64]: Remove conditional code.
19952 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
19953 unconditional.
19954 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19955 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
19956 unconditional.
19957 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
19958 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
19959 unconditional.
19960 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19961 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
19962 unconditional.
19963 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19964 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
19965 unconditional.
19966 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19967
b741de23
SP
199682012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19969
19970 [BZ #12140]
19971 * manual/memory.texi (Malloc Tunable Parameters): Add note
19972 about free list pointers overwriting some perturb bytes.
19973 Wording suggested by Roland McGrath.
19974
f9b9d9c9
JM
199752012-10-17 Joseph Myers <joseph@codesourcery.com>
19976
19977 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
19978 (lgamma_test): Likewise.
19979 (tgamma_test): Likewise.
19980
172a631a
FW
199812012-10-16 Florian Weimer <fweimer@redhat.com>
19982
19983 [BZ #14700]
19984 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
19985 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
19986
e9f37252
MK
199872012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
19988
19989 * NEWS: Mention BZ #14716.
19990 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
19991 when removing AVAILABLE1_USES_J macro.
19992
d394eb74
L
199932012-10-12 H.J. Lu <hongjiu.lu@intel.com>
19994
19995 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
19996 (__bswap_64): __uint64_t for unsigned 64-bit int.
19997
ca38dc17
AS
199982012-10-12 Andreas Schwab <schwab@linux-m68k.org>
19999
20000 * include/string.h (memmem): Declare libc hidden alias.
20001 * string/memmem.c (memmem): Define libc hidden alias.
20002 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
20003 __read, __close instead of open, read, close.
20004
9a387d1f
L
200052012-10-11 H.J. Lu <hongjiu.lu@intel.com>
20006
ac49ecaf
L
20007 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
20008 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
20009 global and hidden.
20010 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
20011 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
20012 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
20013 Likewise.
20014 (__rawmemchr_sse2): Likewise.
20015 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
20016 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
20017 (__strchr_sse2): Likewise.
20018 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
20019 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
20020 (__strcasecmp_sse2): Likewise.
20021 (__strncasecmp_sse2): Likewise.
20022 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
20023 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
20024 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
20025 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
20026 (__strrchr_sse2): Likewise.
20027 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
20028 ifunc-impl-list.c.
20029 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
20030 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20031 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20032 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20033 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20034 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20035 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20036 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20037 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
20038 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
20039 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
20040 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
20041 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
20042 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
20043 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
20044 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20045 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
20046 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
20047 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
20048 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
20049 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
20050 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
20051 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
20052 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20053 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
20054 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20055 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20056 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20057 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20058 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20059
b090e8ea
L
20060 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
20061 global and hidden.
20062 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
20063 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
20064 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
20065 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
20066 Likewise.
20067 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
20068 Likewise.
20069 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
20070 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
20071 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
20072 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
20073 ifunc-impl-list.c.
20074 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20075 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20076 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20077 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20078 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20079 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20080 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20081 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20082 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20083 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20084 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20085 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20086 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20087 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
20088 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
20089 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20090 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
20091 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
20092 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20093 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20094 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20095 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20096 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20097 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20098 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20099 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
20100 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
20101 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
20102 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
20103 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20104 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
20105 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20106 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20107 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
20108 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20109 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20110 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20111 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20112 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20113 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20114 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
20115
11dd4af6
L
20116 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
20117 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
20118 * include/ifunc-impl-list.h: New file.
20119 * misc/ifunc-impl-list.c: Likewise.
20120 * misc/Makefile (routines): Add ifunc-impl-list.
20121 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
20122 * string/test-string.h: Include <ifunc-impl-list.h>.
20123 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
20124 impl_array): New variables.
20125 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
20126 are defined.
20127 (test_init): Call __libc_ifunc_impl_list to initialize
20128 func_list if TEST_IFUNC and TEST_NAME are defined.
20129
9a387d1f
L
20130 * string/Makefile (strop-tests): Add bcopy and bzero.
20131 * string/test-bcopy.c: New file.
20132 * string/test-bzero.c: Likewise.
20133 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
20134 defined.
20135 * string/test-memset.c: Support bzero test if TEST_BZERO is
20136 defined.
20137 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
20138 __libc_memmove.
20139 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
20140 __libc_memset.
20141 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
20142 of memset.
20143
472371b9
JM
201442012-10-10 Joseph Myers <joseph@codesourcery.com>
20145
1e4a9536
JM
20146 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
20147 * configure: Regenerated.
20148
d173d12e
JM
20149 * Makeconfig (+link-static-before-libc): Don't include
20150 $(link-static-libc).
20151
472371b9
JM
20152 * libio/libio.h (_IO_pos_t): Remove.
20153
89a3ad0b
AO
201542012-10-10 Alexandre Oliva <aoliva@redhat.com>
20155
20156 * NEWS: Add note about FIPS mode. Wording suggested by Roland
20157 McGrath.
20158
e7451425
AO
201592012-10-10 Alexandre Oliva <aoliva@redhat.com>
20160
20161 * crypt/crypt-entry.c: Include fips-private.h.
20162 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
20163 * crypt/md5c-test.c (main): Tolerate disabled MD5.
20164 * sysdeps/unix/sysv/linux/fips-private.h: New file.
20165 * sysdeps/generic/fips-private.h: New file, dummy fallback.
20166
4ba74a35
AO
201672012-10-10 Alexandre Oliva <aoliva@redhat.com>
20168
20169 * crypt/crypt-private.h: Include stdbool.h.
20170 (_ufc_setup_salt_r): Return bool.
20171 * crypt/crypt-entry.c: Include errno.h.
20172 (__crypt_r): Return NULL with EINVAL for bad salt.
20173 * crypt/crypt_util.c (bad_for_salt): New.
20174 (_ufc_setup_salt_r): Check that salt is long enough and within
20175 the specified alphabet.
20176 * crypt/badsalttest.c: New file.
20177 * crypt/Makefile (tests): Add it.
20178 ($(objpfx)badsalttest): New.
20179
f96f1242
MK
201802012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
20181
20182 * NEWS: Add entry for BZ #14602.
20183
0e8e0c1c
JM
201842012-10-09 Joseph Myers <joseph@codesourcery.com>
20185
20186 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
20187 type-generic.
20188 * math/libm-test.inc: Update comment listing what functions and
20189 macros are tested.
20190 (isgreater_test): New function.
20191 (isgreaterequal_test): Likewise.
20192 (isless_test): Likewise.
20193 (islessequal_test): Likewise.
20194 (islessgreater_test): Likewise.
20195 (isunordered_test): Likewise.
20196 (main): Call the new functions.
20197
273edc5e
RM
201982012-10-09 Roland McGrath <roland@hack.frob.com>
20199
b8493de0
RM
20200 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
20201 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
20202 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
20203 * sysdeps/i386/configure: Regenerated.
20204 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
20205 * sysdeps/mach/configure: Regenerated.
20206 * sysdeps/mach/hurd/configure: Regenerated.
20207 * sysdeps/powerpc/configure: Regenerated.
20208 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20209 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20210 * sysdeps/s390/s390-32/configure: Regenerated.
20211 * sysdeps/s390/s390-64/configure: Regenerated.
20212 * sysdeps/sh/configure: Regenerated.
20213 * sysdeps/sparc/configure: Regenerated.
20214 * sysdeps/unix/sysv/linux/configure: Regenerated.
20215 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
20216 * sysdeps/x86_64/configure: Regenerated.
20217
273edc5e
RM
20218 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
20219 defined. Don't check if MAP is NULL.
20220
c8450f70
JM
202212012-10-09 Joseph Myers <joseph@codesourcery.com>
20222
20223 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
20224 (_G_stat64): Likewise.
20225 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
20226 (_G_stat64): Likewise.
20227 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
20228 instead of struct _G_stat64.
20229 * libio/fileops.c (mmap_remap_check): Likewise.
20230 (decide_maybe_mmap): Likewise.
20231 (_IO_new_file_seekoff): Likewise.
20232 (_IO_file_stat): Likewise.
20233 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
20234 _G_off64_t.
20235 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
20236 instead of struct _G_stat64.
20237 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20238
57e605ba
MK
202392012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
20240
20241 [BZ #14602]
20242 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20243 Replace with ...
20244 (CHECK_EOL): New macro.
20245 (two_way_short_needle): Check beginning of haystack for EOL. Use
20246 CHECK_EOL.
20247 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20248 Replace with CHECK_EOL.
20249 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20250 Replace with CHECK_EOL.
20251
ef1bb361
JM
202522012-10-08 Joseph Myers <joseph@codesourcery.com>
20253
20254 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
20255 type-generic.
20256 * math/libm-test.inc: Update comment listing what functions and
20257 macros are tested.
20258 (finite_test): New function.
20259 (isinf_test): Likewise.
20260 (isnan_test): Likewise.
20261 (fpclassify_test): Test subnormal input.
20262 (isfinite_test): Likewise.
20263 (isnormal_test): Likewise.
20264 (main): Call the new functions.
20265
55f11534
JN
202662012-10-08 Jonathan Nieder <jrnieder@gmail.com>
20267
20268 [BZ #14660]
20269 * Makerules (%.dynsym): Force C locale when running
20270 $(OBJDUMP) --dynamic-syms.
20271
1ab29350
AS
202722012-10-08 Andreas Schwab <schwab@linux-m68k.org>
20273
20274 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
20275 <stdint.h>.
20276
f1ecb7ef
DM
202772012-10-06 David S. Miller <davem@davemloft.net>
20278
20279 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
20280 upper 32-bits of the length value in %o2 since we use branch-on-register
20281 tests which consider the entire 64-bit register.
20282
5d41d91a
L
202832012-10-06 H.J. Lu <hongjiu.lu@intel.com>
20284
20285 * string/test-strstr.c (check2): Add a test for page boundary.
20286
3baddb72
DM
202872012-10-05 David S. Miller <davem@davemloft.net>
20288
20289 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
20290 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
20291 file.
20292 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20293 sysdep_routines.
20294 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20295 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
20296 and bzero when HWCAP_SPARC_CRYPTO is present.
20297
9cee5585
L
202982012-10-05 H.J. Lu <hongjiu.lu@intel.com>
20299
d7e0dab9
L
20300 [BZ #14602]
20301 * string/test-strstr.c (check2): New function.
20302 (test_main): Call check2.
20303
03759f47
L
20304 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
20305 and bug-strchr1.
20306 * string/bug-strcasestr1.c (do_test): Moved to ...
20307 * string/test-strcasestr.c (check1): Here. New function.
20308 (do_one_test): Break out result checking code into ...
20309 (check_result): This. New function.
20310 (do_one_test): Call check_result.
20311 (test_main): Call check1.
20312 * string/bug-strchr1.c (do_test): Moved to ...
20313 * string/test-strchr.c (check1): Here. New function.
20314 (do_one_test): Break out result checking code into ...
20315 (check_result): This. New function.
20316 (do_one_test): Call check_result.
20317 (test_main): Call check1.
20318 * string/bug-strstr1.c (main): Moved to ...
046f153e 20319 * string/test-strstr.c (check1): Here. New function.
03759f47
L
20320 (do_one_test): Break out result checking code into ...
20321 (check_result): This. New function.
20322 (do_one_test): Call check_result.
20323 (test_main): Call check1.
20324 * string/bug-strcasestr1.c: Removed.
20325 * string/bug-strchr1.c: Likewise.
20326 * string/bug-strstr1.c: Likewise.
20327
53cea63e
L
20328 * elf/Makefile (dl-routines): Add hwcaps.
20329 * elf/dl-support.c (_dl_important_hwcaps): Removed.
20330 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
20331 (_dl_important_hwcaps): Moved to ...
20332 * elf/dl-hwcaps.c: Here. New file.
20333 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
20334
9cee5585 20335 [BZ #14557]
bb859b06
L
20336 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
20337 if IS_IN_rtld isn't defined.
20338
9cee5585
L
20339 * elf/dl-support.c (_dl_sysinfo_map): New.
20340 Include "get-dynamic-info.h" and "setup-vdso.h".
20341 (_dl_non_dynamic_init): Call setup_vdso.
20342 * elf/dynamic-link.h: Don't include <assert.h>.
20343 (elf_get_dynamic_info): Moved to ...
20344 * elf/get-dynamic-info.h: Here. New file.
20345 * elf/dynamic-link.h: Include "get-dynamic-info.h".
20346 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
20347 * elf/setup-vdso.h: Here. New file.
20348 * elf/rtld.c: Include "setup-vdso.h".
20349 (dl_main): Call setup_vdso.
20350
23c31b76
JM
203512012-10-05 Joseph Myers <joseph@codesourcery.com>
20352
28234b07
JM
20353 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
20354 creal in comment listing functions tested. List finite, isinf,
20355 isnan, isless, islessequal, isgreater, isgreaterequal,
20356 islessgreater, isunordered, lgamma_r and pow10 as functions and
20357 macros not tested. Mention which functions not tested are aliases
20358 for other functions. Fix typo. Note that signs of NaNs are not
20359 tested.
20360
23c31b76
JM
20361 * scripts/config.guess: Update from config.git.
20362 * scripts/config.sub: Likewise.
20363
9043e228
RM
203642012-10-04 Roland McGrath <roland@hack.frob.com>
20365
20366 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
20367 * misc/madvise.c (madvise): Renamed to __madvise.
20368 Make madvise a weak alias.
20369 * include/sys/mman.h: Declare __madvise.
20370 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
20371 * sysdeps/unix/syscalls.list
20372 (madvise): Make __madvise the strong name, and madvise a weak alias.
20373 * sysdeps/unix/sysv/linux/syscalls.list
20374 (madvise, mmap): Remove redundant entries.
20375 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
20376 * malloc/malloc.c (mtrim): Likewise.
20377 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
20378
f57f8055
RM
203792012-10-03 Roland McGrath <roland@hack.frob.com>
20380
20381 * sysdeps/mach/hurd/dl-cache.c: File removed.
20382 * config.h.in (USE_LDCONFIG): New #undef.
20383 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
20384 * configure: Regenerated.
20385 * elf/Makefile (dl-routines): Add dl-cache only under
20386 [$(use-ldconfig) = yes].
20387 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
20388 cache on [USE_LDCONFIG].
20389 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
20390 [USE_LDCONFIG].
20391 * elf/rtld.c (dl_main): Likewise.
20392
5bb0c10a
PT
203932012-10-03 Pino Toscano <toscano.pino@tiscali.it>
20394
20395 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
20396 _SC_LEVEL4_CACHE_LINESIZE.
20397
010188c6
RM
203982012-10-03 Roland McGrath <roland@hack.frob.com>
20399
20400 * sysdeps/unix/bsd/confstr.h: File removed.
20401
b6c5ec07
AO
204022012-10-02 Alexandre Oliva <aoliva@redhat.com>
20403
20404 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
20405 sys/sdt-config.h.
20406
408223d4
RM
204072012-10-02 Roland McGrath <roland@hack.frob.com>
20408
20409 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
20410 Make 'mapoff' field ElfW(Off) rather than off_t.
20411
bb9510dc
DL
204122012-10-02 Dmitry V. Levin <ldv@altlinux.org>
20413
fc997c6e
DL
20414 * nscd/Makefile: Remove nscd-cflags and all its users.
20415 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
20416 (CFLAGS-nonlib): Add compiler flags for nscd modules.
20417
bb9510dc
DL
20418 [BZ #10631]
20419 * malloc.c (malloc_printerr): Clarify error message.
20420
05699367
L
204212012-10-02 H.J. Lu <hongjiu.lu@intel.com>
20422
20423 [BZ #14648]
20424 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20425 Set bit_FMA_Usable if FMA is supported.
20426 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
20427 macro.
20428 (bit_FMA4_Usable): Updated.
20429 (index_FMA_Usable): New macro.
20430 (CPUID_FMA): Likewise
20431 (HAS_FMA): Defined with bit_FMA_Usable.
20432
51367701
RM
204332012-10-01 Roland McGrath <roland@hack.frob.com>
20434
20435 * bits/types.h (__swblk_t): Type removed.
20436 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
20437 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
20438 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20439 (__SWBLK_T_TYPE): Likewise.
20440 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20441 (__SWBLK_T_TYPE): Likewise.
20442 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20443 (__SWBLK_T_TYPE): Likewise.
20444 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20445 (__SWBLK_T_TYPE): Likewise.
20446
4d57bf63 204472012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 20448 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
20449
20450 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
20451 (xdr_mapname): Use YPMAXMAP as maxsize.
20452 (xdr_peername): Use YPMAXPEER as maxsize.
20453 (xdr_keydat): Use YPAXRECORD as maxsize.
20454 (xdr_valdat): Use YPMAXRECORD as maxsize.
20455
93c65d43
RM
204562012-10-01 Roland McGrath <roland@hack.frob.com>
20457
497a03d6
RM
20458 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
20459
93c65d43
RM
20460 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
20461 * csu/init-first.c: ... here.
20462 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
20463 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
20464 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
20465 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20466 * sysdeps/i386/init-first.c: File removed.
20467 * sysdeps/sh/init-first.c: File removed.
20468
bec749fd
JM
204692012-10-01 Joseph Myers <joseph@codesourcery.com>
20470
20471 [BZ #14645]
20472 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
20473 if x * y might underflow to zero and z is zero.
20474 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20475 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20476 * math/libm-test.inc (min_subnorm_value): New variable.
20477 (fma_test): Add more tests.
20478 (fma_test_towardzero): Likewise.
20479 (fma_test_downward): Likewise
20480 (fma_test_upward): Likewise.
20481 (initialize): Set min_subnorm_value.
20482
8ec5b013
JM
204832012-09-29 Joseph Myers <joseph@codesourcery.com>
20484
20485 [BZ #14638]
20486 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
20487 0 + 0.
20488 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
20489 mode for addition resulting in exact zero.
20490 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
20491 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
20492 exact 0 + 0.
20493 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20494 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20495 * math/libm-test.inc (fma_test): Add more tests.
20496 (fma_test_towardzero): New function.
20497 (fma_test_downward): Likewise.
20498 (fma_test_upward): Likewise.
20499 (main): Call the new functions.
20500
b1fa802e
DM
205012012-09-28 David S. Miller <davem@davemloft.net>
20502
20503 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
20504
d3b9fd9e
RM
205052012-09-28 Roland McGrath <roland@hack.frob.com>
20506
ea4d37b3
RM
20507 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
20508 instead of SIGALRM.
20509
ac51c949
RM
20510 * sysdeps/gnu/_G_config.h: Moved to ...
20511 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
20512 * sysdeps/mach/hurd/_G_config.h: Moved to ...
20513 * sysdeps/generic/_G_config.h: ... here.
20514
28c195f7
RM
20515 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
20516
848917f9
RM
20517 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
20518
6bacf05b
RM
20519 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
20520 Conditionalize target on [libnss_test1.so-version].
20521
91363dbb
RM
20522 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
20523
cc87f7d8
RM
20524 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
20525 (elfobjdir): Move out of conditionals.
20526
b1c608fe
RM
20527 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
20528 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
20529 (__nss_lookup_function): Conditionalize label remove_from_tree on
20530 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 20531
1d9a6d96
DM
205322012-09-28 David S. Miller <davem@davemloft.net>
20533
20534 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
20535 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
20536 file.
20537 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20538 sysdep_routines.
20539 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20540 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
20541 when HWCAP_SPARC_CRYPTO is present.
20542
72581615
PT
205432012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20544
20545 * io/tst-mknodat.c: Create a FIFO instead of a socket.
20546
715a900c
JL
205472012-09-28 Andreas Schwab <schwab@linux-m68k.org>
20548
20549 [BZ #6530]
20550 * stdio-common/vfprintf.c (process_string_arg): Revert
20551 2000-07-22 change.
20552
205532011-09-28 Jonathan Nieder <jrnieder@gmail.com>
20554
20555 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
20556 for testcase.
20557 * stdio-common/tst-sprintf.c: Include <locale.h>
20558 (main): Test sprintf's handling of incomplete multibyte
20559 characters.
20560
9bac1d86
L
205612012-09-28 H.J. Lu <hongjiu.lu@intel.com>
20562
20563 * elf/dl-runtime.c (VERSYMIDX): Removed.
20564 * elf/dl-version.c (VERSYMIDX): Likewise.
20565 * elf/do-rel.h (VERSYMIDX): Likewise.
20566 (VALIDX): Likewise.
20567 * elf/dynamic-link.h (VERSYMIDX): Likewise.
20568 * elf/rtld.c (VALIDX): Likewise.
20569 (ADDRIDX): Likewise.
9bac1d86
L
20570 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
20571 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
20572 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
20573 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
20574 (VALIDX): Likewise.
20575 (ADDRIDX): Likewise.
9bac1d86 20576
b31606c0
PT
205772012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20578
20579 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
20580
11541177
JL
205812012-09-28 Dmitry V. Levin <ldv@altlinux.org>
20582
20583 [BZ #11438]
20584 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
20585 to global scope.
20586 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
20587 addresses are in the same scope as 192.0.2/24.
20588 * posix/gai.conf: Document new scope table defaults.
20589
adb26fae
SP
205902012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20591
20592 [BZ #5298]
20593 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
20594 for ftell. Compute offsets from write pointers instead.
20595 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20596
4573c6b0
SP
205972012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20598
20599 [BZ #14543]
20600 * libio/Makefile (tests): New test case tst-fseek.
20601 * libio/tst-fseek.c: New test case to verify that fseek/ftell
20602 combination works in wide mode.
20603 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
20604 state when the external buffer state changes.
20605
aa9bbfe6
DM
206062012-09-27 David S. Miller <davem@davemloft.net>
20607
20608 [BZ #14376]
20609 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
20610 pass reloc->r_addend in as the 'high' argument to
20611 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
20612
784421e7
DM
20613 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20614
c39bc8b8
PT
206152012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20616
20617 * rt/tst-aio2.c: Include <pthread.h>.
20618 * rt/tst-aio3.c: Likewise.
20619
1ccc2399
SE
206202012-09-27 Steve Ellcey <sellcey@mips.com>
20621
20622 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
20623
31ed4153
L
206242012-09-27 H.J. Lu <hongjiu.lu@intel.com>
20625
25f5f885
L
20626 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
20627 contents on [SHARED].
31ed4153 20628
b7bfe116
MP
206292012-09-26 Marek Polacek <polacek@redhat.com>
20630
20631 [BZ #14530]
20632 [BZ #13741]
20633 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
20634 for C++ and GCC <4.3 as well as for non GCC compilers.
20635
43c4edba
MT
206362012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20637
20638 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20639
6a1bf82f
RM
206402012-09-25 Roland McGrath <roland@hack.frob.com>
20641
20642 * Makefile.in (all, install): Declare with .PHONY.
20643 Reported by Michael Hope <michael.hope@linaro.org>.
20644
8ad11b9a
TMQMF
206452012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20646
20647 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
20648 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
20649 system header.
20650 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
20651 Likewise.
20652 (sydep_routines): Add the new and the internal functions.
20653 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
20654 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
20655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
20656 (GLIBC_2.17): Add the new function.
20657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20658 (GLIBC_2.17): Likewise.
20659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
20660 (GLIBC_2.17): Likewise.
20661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
20662 (GLIBC_2.17): Likewise.
20663 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
20664
7e2fca8d
AM
206652012-09-25 Alan Modra <amodra@gmail.com>
20666
20667 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
20668 Add release barrier before setting once_control to say
20669 initialisation is done. Add hints on lwarx. Use macro in
20670 place of isync.
20671 (clear_once_control): Add release barrier.
20672
b87c4b24
JM
206732012-09-25 Joseph Myers <joseph@codesourcery.com>
20674
d032e0d2
JM
20675 [BZ #13629]
20676 * math/s_clog.c (__clog): Handle more values close to |z| = 1
20677 specially.
20678 * math/s_clog10.c (__clog10): Likewise.
20679 * math/s_clog10f.c (__clog10f): Likewise.
20680 * math/s_clog10l.c (__clog10l): Likewise.
20681 * math/s_clogf.c (__clogf): Likewise.
20682 * math/s_clogl.c (__clogl): Likewise.
20683 * math/Makefile (libm-calls): Add x2y2m1.
20684 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
20685 (__x2y2m1): Likewise.
20686 (__x2y2m1l): Likewise.
20687 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
20688 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
20689 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
20690 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20691 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
20692 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
20693 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
20694 * sysdeps/i386/fpu/libm-test-ulps: Update.
20695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20696
b87c4b24
JM
20697 [BZ #14621]
20698 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
20699 int as type of variable DEPTH.
20700 (glob): Use size_t instead of int as type of variables NEWCOUNT
20701 and OLD_PATHC.
20702
6d3bf199
LD
207032012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20704
22bf5c17
LD
20705 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20706 Add s_sincosf-sse2.
20707 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
20708 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
20709 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
20710 macros for using routine as __sincosf_ia32.
20711 Use macro for function declaration and weak_alias.
20712 * sysdeps/i386/fpu/libm-test-ulps: Update.
20713
20714 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
20715 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20716
20717 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
20718 subnormal argument.
20719 * math/s_cexpf.c (__cexpf): Likewise.
20720 * math/s_csinf.c (__csinf): Likewise.
20721 * math/s_csinhf.c (__csinhf): Likewise.
20722 * math/s_ctanf.c (__ctanf): Likewise.
20723 * math/s_ctanhf.c (__ctanhf): Likewise.
20724 * math/s_ccosh.c (__ccoshf): Likewise.
20725 * math/s_cexp.c (__cexpl): Likewise.
20726 * math/s_csin.c (__csin): Likewise.
20727 * math/s_csinh.c (__csinh): Likewise.
20728 * math/s_ctan.c (__ctan): Likewise.
20729 * math/s_ctanh.c (ctanh): Likewise.
20730 * math/s_ccoshl.c (__ccoshl): Likewise.
20731 * math/s_cexpl.c (__cexpl): Likewise.
20732 * math/s_csinl.c (__csinl): Likewise.
20733 * math/s_csinhl.c (__csinhl): Likewise.
20734 * math/s_ctanl.c (__ctanl): Likewise.
20735 * math/s_ctanhl.c (__ctanhl): Likewise.
20736
203e5603
JM
207372012-09-25 Joseph Myers <joseph@codesourcery.com>
20738
20739 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
20740 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
20741 (_IO_off_t): Define to __off_t, not _G_off_t.
20742 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
20743 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
20744 (_IO_wint_t): Define to wint_t, not _G_wint_t.
20745 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
20746 type of __dummy and __dummy2 fields.
20747 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
20748 (_G_ssize_t): Likewise.
20749 (_G_off_t): Likewise.
20750 (_G_pid_t): Likewise.
20751 (_G_uid_t): Likewise.
20752 (_G_wchar_t): Likewise.
20753 (_G_wint_t): Likewise.
20754 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
20755 (_G_ssize_t): Likewise.
20756 (_G_off_t): Likewise.
20757 (_G_pid_t): Likewise.
20758 (_G_uid_t): Likewise.
20759 (_G_wchar_t): Likewise.
20760 (_G_wint_t): Likewise.
20761 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
20762 (_G_ssize_t): Likewise.
20763 (_G_off_t): Likewise.
20764 (_G_pid_t): Likewise.
20765 (_G_uid_t): Likewise.
20766 (_G_wchar_t): Likewise.
20767 (_G_wint_t): Likewise.
20768
9fab36eb
SP
207692012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20770
20771 * malloc/arena.c: Include malloc-sysdep.h.
20772 (shrink_heap): Use check_may_shrink_heap to decide if madvise
20773 is sufficient to shrink the heap or an unmap is needed.
20774 * sysdeps/generic/malloc-sysdep.h: New file. Define
20775 new function check_may_shrink_heap.
20776 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
20777 new function check_may_shrink_heap.
20778
2b4f00d1
SP
207792012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20780
20781 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
20782 comments.
20783
9a9028b1
DL
207842012-09-24 Dmitry V. Levin <ldv@altlinux.org>
20785
57c69bef
DL
20786 * catgets/test-gencat.sh: Add "set -e".
20787 * elf/tst-pathopt.sh: Likewise.
20788 * grp/tst_fgetgrent.sh: Likewise.
20789 * iconvdata/run-iconv-test.sh: Likewise.
20790 * intl/tst-gettext.sh: Likewise.
20791 * intl/tst-gettext2.sh: Likewise.
20792 * intl/tst-gettext4.sh: Likewise.
20793 * intl/tst-gettext6.sh: Likewise.
20794 * intl/tst-translit.sh: Likewise.
20795 * io/ftwtest-sh: Likewise.
20796 * libio/test-freopen.sh: Likewise.
20797 * malloc/tst-mtrace.sh: Likewise.
20798 * posix/globtest.sh: Likewise.
20799 * posix/tst-getconf.sh: Likewise.
20800 * posix/wordexp-tst.sh: Likewise.
20801 * stdio-common/tst-printf.sh: Likewise.
20802 * stdio-common/tst-unbputc.sh: Likewise.
20803 * stdlib/tst-fmtmsg.sh: Likewise.
20804 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20805 * catgets/Makefile: Do not specify -e option when running
20806 testsuite shell scripts.
20807 * elf/Makefile: Likewise.
20808 * grp/Makefile: Likewise.
20809 * iconvdata/Makefile: Likewise.
20810 * intl/Makefile: Likewise.
20811 * io/Makefile: Likewise.
20812 * libio/Makefile: Likewise.
20813 * malloc/Makefile: Likewise.
20814 * posix/Makefile: Likewise.
20815 * stdio-common/Makefile: Likewise.
20816 * stdlib/Makefile: Likewise.
20817 * sysdeps/x86_64/Makefile: Likewise.
20818
9a9028b1
DL
20819 * io/ftwtest-sh: Add copyright header.
20820 * posix/globtest.sh: Likewise.
20821 * posix/tst-getconf.sh: Likewise.
20822 * posix/wordexp-tst.sh: Likewise.
20823 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20824
ced6f16e
L
208252012-09-24 H.J. Lu <hongjiu.lu@intel.com>
20826
94b32c39
L
20827 [BZ #13679]
20828 * Makeconfig (+link): Defined as $(+link-static) if
20829 $(build-shared) isn't yes.
20830 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
20831 isn't yes.
20832 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
20833
189e935b
L
20834 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
20835
ced6f16e
L
20836 [BZ #14562]
20837 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
20838 new chunk size with MALLOC_ALIGN_MASK.
20839
a9f8e53a
JM
208402012-09-24 Joseph Myers <joseph@codesourcery.com>
20841
20842 [BZ #5044]
20843 * stdio-common/printf_fphex.c: Include <stdbool.h> and
20844 <rounding-mode.h>.
20845 (__printf_fphex): Determine rounding using get_rounding_mode and
20846 round_away.
20847 * stdio-common/tst-printf-round.c (struct hex_test): New
20848 structure.
20849 (hex_tests): New variable.
20850 (test_hex_in_one_mode): New function.
20851 (do_test): Also run tests for hex float output.
20852
43153109
JM
208532012-09-21 Joseph Myers <joseph@codesourcery.com>
20854
20855 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20856 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20857 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
20858 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20859 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20860 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
20861 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20862 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20863
8a26625d
JM
208642012-09-20 Joseph Myers <joseph@codesourcery.com>
20865
20866 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
20867 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
20868 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
20869 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
20870
f3fd569c
DL
208712012-09-19 Dmitry V. Levin <ldv@altlinux.org>
20872
20873 [BZ #14579]
20874 * elf/rtld.c (dl_main): Limit the check for self loading to normal
20875 mode only.
20876 * elf/tst-rtld-load-self.sh: New test.
20877 * elf/Makefile: Run it.
20878
63bbedd4
JM
208792012-09-18 Joseph Myers <joseph@codesourcery.com>
20880
20881 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
20882 (tst-writev-ENV): Remove.
20883 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
20884
626f8b6a
CM
208852012-09-17 Chris Metcalf <cmetcalf@tilera.com>
20886
20887 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
20888
b7aaa4d6
JM
208892012-09-17 Joseph Myers <joseph@codesourcery.com>
20890
20891 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
20892 unconditional.
20893 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
20894 Likewise.
20895 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
20896 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
20897 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
20898 Likewise.
20899
65513990
L
209002012-09-14 H.J. Lu <hongjiu.lu@intel.com>
20901
20902 [BZ #14587]
20903 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
20904 * config.make.in (have-cpp-asm-debuginfo): Removed.
20905 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
20906 * configure: Regenerated.
20907
784761be
JM
209082012-09-14 Joseph Myers <joseph@codesourcery.com>
20909
20910 [BZ #5044]
20911 * stdio-common/printf_fp.c: Include <stdbool.h> and
20912 <rounding-mode.h>.
20913 (___printf_fp): Determine rounding using get_rounding_mode and
20914 round_away.
20915 * stdio-common/tst-printf-round.c: New file.
20916 * stdio-common/Makefile (tests): Add tst-printf-round.
20917 (link-libm): New variable.
20918 ($(objpfx)tst-printf-round): Depend in $(link-libm).
20919
9503345f
L
209202012-09-13 H.J. Lu <hongjiu.lu@intel.com>
20921
20922 [BZ #14576]
20923 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
20924 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
20925 Likewise.
20926 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
20927 Likewise.
20928
ad35fc00
JM
209292012-09-13 Joseph Myers <joseph@codesourcery.com>
20930
20931 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
20932 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20933 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20934 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20935
6c9b0f68
JM
209362012-09-12 Joseph Myers <joseph@codesourcery.com>
20937
20938 [BZ #14518]
20939 * include/rounding-mode.h: New file.
20940 * sysdeps/generic/get-rounding-mode.h: Likewise.
20941 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
20942 * stdlib/strtod_l.c: Include <rounding-mode.h>.
20943 (MAX_VALUE): New macro.
20944 (MIN_VALUE): Likewise.
20945 (overflow_value): New function.
20946 (underflow_value): Likewise.
20947 (round_and_return): Use overflow_value and underflow_value to
20948 determine return values in overflow and underflow cases. Use
20949 round_away to determine rounding depending on rounding mode.
20950 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
20951 determine return values in overflow and underflow cases.
20952 * stdlib/tst-strtod-round.c: Include <fenv.h>.
20953 (struct test_results): New structure.
20954 (struct test): Use struct test_results to store expected results
20955 for all rounding modes.
20956 (TEST): Include expected results for all rounding modes.
20957 (test_in_one_mode): New function.
20958 (do_test): Use test_in_one_mode to compute and check results.
20959 Check results for all rounding modes.
20960 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
20961 $(link-libm).
20962
19fcedd5
AM
209632012-12-09 Allan McRae <allan@archlinux.org>
20964
1e9d84cd 20965 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 20966
8bbfd2f1
JM
209672012-09-11 Joseph Myers <joseph@codesourcery.com>
20968
20969 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
20970 (_G_int32_t): Likewise.
20971 (_G_uint16_t): Likewise.
20972 (_G_uint32_t): Likewise.
20973 (_G_HAVE_BOOL): Likewise.
20974 (_G_HAVE_ATEXIT): Likewise.
20975 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20976 (_G_HAVE_IO_FILE_OPEN): Likewise.
20977 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
20978 (_G_int32_t): Likewise.
20979 (_G_uint16_t): Likewise.
20980 (_G_uint32_t): Likewise.
20981 (_G_HAVE_BOOL): Likewise.
20982 (_G_HAVE_ATEXIT): Likewise.
20983 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20984 (_G_HAVE_IO_FILE_OPEN): Likewise.
20985 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
20986 (_G_int32_t): Likewise.
20987 (_G_uint16_t): Likewise.
20988 (_G_uint32_t): Likewise.
20989 (_G_HAVE_BOOL): Likewise.
20990 (_G_HAVE_ATEXIT): Likewise.
20991 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20992 (_G_HAVE_IO_FILE_OPEN): Likewise.
20993
b1dc5912
L
209942012-09-11 H.J. Lu <hongjiu.lu@intel.com>
20995
20996 * csu/libc-tls.c: Update copyright years.
20997
0e886ef9
JM
209982012-09-10 Joseph Myers <joseph@codesourcery.com>
20999
28361c5e
JM
21000 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
21001 [!_G_USING_THUNKS]: Remove conditional code.
21002 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
21003 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
21004
0e886ef9
JM
21005 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
21006 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
21007 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21008 (_G_VTABLE_LABEL_PREFIX): Likewise.
21009 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21010 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21011 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21012 (_G_VTABLE_LABEL_PREFIX): Likewise.
21013 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
21014 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21015 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21016 (_G_VTABLE_LABEL_PREFIX): Likewise.
21017 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
21018
bcba7aa2
L
210192012-09-10 H.J. Lu <hongjiu.lu@intel.com>
21020
21021 * libio/Makefile: Include ../Makeconfig before tests.
21022 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
21023 only if $(build-shared) is yes.
21024
06585ee8
L
21025 * iconv/gconv_db.c: Update copyright years.
21026
80ccd52c
LD
210272012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21028
21029 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
21030 unwind info if defined PIC. Fix special cases description.
21031 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
21032
21033 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
21034 DP_HI_MASK entry.
21035 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
21036
691bc9c1
L
210372012-09-07 H.J. Lu <hongjiu.lu@intel.com>
21038
3d9b46b3
L
21039 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
21040
de2139a9
L
21041 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
21042 is NULL.
21043
5ca78dd0
L
21044 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
21045 (LDLIBS-tst-chk4): This.
21046 (LDFLAGS-tst-chk5): Renamed to ...
21047 (LDLIBS-tst-chk5): This.
21048 (LDFLAGS-tst-chk6): Renamed to ...
21049 (LDLIBS-tst-chk6): This.
21050 (LDFLAGS-tst-lfschk4): Renamed to ...
21051 (LDLIBS-tst-lfschk4): This.
21052 (LDFLAGS-tst-lfschk5): Renamed to ...
21053 (LDLIBS-tst-lfschk5): This.
21054 (LDFLAGS-tst-lfschk6): Renamed to ...
21055 (LDLIBS-tst-lfschk6): This.
21056
691bc9c1
L
21057 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
21058 on $(common-objpfx)soversions.mk.
21059
65cafb1c
JM
210602012-09-07 Joseph Myers <joseph@codesourcery.com>
21061
21062 [BZ #10014]
21063 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
21064 example host name.
21065
c78ab094
SP
210662012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21067
21068 * malloc/arena.c (arena_get_retry): New function that gets
21069 another arena for the caller to try its request on.
21070 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
21071 current arena cannot fulfill the request.
21072 (__libc_memalign): Likewise.
21073 (__libc_memalign): Likewise.
21074 (__libc_pvalloc): Likewise.
21075 (__libc_calloc): Likewise.
21076
01f49f59
JT
210772012-09-05 John Tobey <john.tobey@gmail.com>
21078
21079 [BZ #13542]
21080 * manual/arith.texi (Operations on Complex): Fix description
21081 of carg branch cut.
21082
4c23fed5
JM
210832012-09-06 Joseph Myers <joseph@codesourcery.com>
21084
1d3c8572
JM
21085 [BZ #10014]
21086 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
21087 host name.
21088
4c23fed5
JM
21089 [BZ #10038]
21090 * manual/memory.texi (Memory): Make order of menu items match
21091 order of sections.
21092
04570aaa
L
210932012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21094
21095 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
21096 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
21097 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
21098
b80af2f4
L
210992012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21100
21101 * csu/libc-tls.c (static_dtv): Renamed to ...
21102 (_dl_static_dtv): This. Make it global.
21103 (_dl_initial_dtv): Removed.
21104 (__libc_setup_tls): Updated.
21105 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
21106 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
21107 DL_INITIAL_DTV.
21108
2abe9f15
PM
211092012-09-06 Petr Machata <pmachata@redhat.com>
21110
21111 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
21112 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
21113 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
21114 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
21115
0948c3af
L
211162012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21117
21118 [BZ #14545]
21119 * csu/libc-tls.c (_dl_initial_dtv): New variable.
21120 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
21121 freeing dtv[-1].
21122
a5055ad1
L
211232012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21124
21125 [BZ #14544]
21126 * Makeconfig (link-static-before-libc): Replace $(+prector)
21127 with $(+prectorT).
21128 (link-static-after-libc): Replace $(+postctor) with
21129 $(+postctorT).
21130 (link-bounded): Replace $(+prector)/$(+postctor) with
21131 $(+prectorT)/$(+postctorT).
21132 (+prectorT): New macro.
21133 (+postctorT): Likewise.
21134
ed8c2ecd
JM
211352012-09-06 Joseph Myers <joseph@codesourcery.com>
21136
21137 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
21138 (round_str): Handle values above the maximum for IBM long double
21139 as inexact.
21140 * stdlib/tst-strtod-round.c (tests): Regenerated.
21141
14c996c8
AK
211422012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21143
21144 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
21145 assembler flag.
21146 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
21147 zarch_nohighgprs around the zarch optimized routines.
21148 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
21149 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
21150 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
21151 for zarch.
21152
430d6ce6
DM
211532012-09-05 David S. Miller <davem@davemloft.net>
21154
21155 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21156
ff04dda4
DM
21157 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
21158 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
21159 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
21160 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21161 entries.
21162
24d4e01b
AO
211632012-09-05 Alexandre Oliva <aoliva@redhat.com>
21164
21165 * malloc/arena.c: Fold copyright years.
21166 * malloc/mcheck.c, malloc/memusage.c: Likewise.
21167
61d58174
AO
211682012-09-05 Alexandre Oliva <aoliva@redhat.com>
21169
21170 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
21171
20196a5e
AO
211722012-09-05 Alexandre Oliva <aoliva@redhat.com>
21173
21174 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
21175
5c447383
AO
211762012-09-05 Alexandre Oliva <aoliva@redhat.com>
21177
21178 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
21179 change internal state upon failure.
21180
fad64255
AO
211812012-09-05 Alexandre Oliva <aoliva@redhat.com>
21182
21183 * malloc/mcheck.c (mcheck_check_all): Fix typo.
21184 * malloc/memusage.c (mmap): Likewise.
21185 (mmap64, mremap): Likewise. Adjust name in comment.
21186
1ffb8c90
SP
211872012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21188
21189 * libio/fileops.c: Fix typos in comments.
21190 * libio/oldfileops.c: Likewise.
21191 * libio/wfileops.c: Likewise.
21192
6ef9cc37
SP
211932012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21194
21195 [BZ #1349]
21196 * malloc/Makefile (tests): Add tst-malloc-usable test case.
21197 (tst-malloc-usable-ENV): Set environment for test case.
21198 * malloc/hooks.c (malloc_check_get_size): New function to get
21199 requested size.
21200 * malloc/malloc.c (musable): Use malloc_check_get_size.
21201 * malloc/tst-malloc-usable.c: New test case.
21202
4d038ae3
AS
212032012-09-05 Andreas Schwab <schwab@linux-m68k.org>
21204
21205 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
21206
c4e85184
AM
212072012-09-05 Allan McRae <allan@archlinux.org>
21208
b9dafc56 21209 [BZ #13966]
c4e85184
AM
21210 * configure.in (CXX_SYSINCLUDES): Use compiler output to
21211 determine header location.
21212 * configure: Regenerated.
21213
e1343020
AS
212142012-09-05 Andreas Schwab <schwab@linux-m68k.org>
21215
21216 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
21217 float format.
21218 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
21219 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
21220 format.
e1343020
AS
21221 (test): Regenerate.
21222
0a9f1987
DM
212232012-09-04 David S. Miller <davem@davemloft.net>
21224
21225 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
21226 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
21227 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
21228
29237804
FW
212292012-09-04 Florian Weimer <fweimer@redhat.com>
21230
21231 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
21232 failures.
21233
edb3cb88
FW
21234 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
21235
60160d83
JM
212362012-09-04 Joseph Myers <joseph@codesourcery.com>
21237
21238 [BZ #9914]
21239 * libio/iogetdelim.c: Include <limits.h>.
21240 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
21241 + len + 1 would overflow.
21242
bcd6c8dc
AJ
212432012-09-03 Andreas Jaeger <aj@suse.de>
21244
21245 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21246 * sysdeps/i386/fpu/libm-test-ulps: Update.
21247
4ffffbd2
LD
212482012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21249
21250 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
21251 Add s_sinf-sse2, s_conf-sse2.
21252
21253 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
21254 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
21255 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
21256 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
21257
21258 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
21259 for using routine as __sinf_ia32.
21260 Use macro for function declaration and weak_alias.
21261 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
21262 for using routine as __cosf_ia32.
21263 Use macro for function declaration and weak_alias.
21264
21265 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
21266 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
21267
21268 * sysdeps/x86_64/fpu/s_sinf.S: New file.
21269 * sysdeps/x86_64/fpu/s_cosf.S: New file.
21270 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21271
21272 * math/libm-test.inc (cos_test): Add more test cases.
21273 (sin_test): Likewise.
21274 (sincos_test): Likewise.
21275
511fa286
AK
212762012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21277
21278 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
21279 (IFUNC_RESOLVE): Make pointers to the specialized implementations
21280 hidden.
21281 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21282
5f30cfec
L
212832012-09-02 H.J. Lu <hongjiu.lu@intel.com>
21284
21285 [BZ #14538]
21286 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
21287 first element of the GOT.
21288 (elf_machine_load_address): Return the difference between
21289 the runtime address of _DYNAMIC and elf_machine_dynamic ().
21290
0786794f
AM
212912012-09-01 Allan McRae <allan@archlinux.org>
21292
5f30cfec
L
21293 [BZ #13412]
21294 * configure.in (AWK): Require gawk version 3.0 or later.
21295 * configure: Regenerated.
0786794f 21296
26889eac
JM
212972012-09-01 Joseph Myers <joseph@codesourcery.com>
21298
21299 * sysdeps/unix/sysv/linux/kernel-features.h
21300 (__ASSUME_POSIX_CPU_TIMERS): Remove.
21301 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21302 [__NR_clock_getres]: Make code unconditional.
21303 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
21304 (clock_getcpuclockid): Remove code left unreachable by removal of
21305 conditionals.
21306 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
21307 code unconditional.
21308 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21309 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21310 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
21311 Make code unconditional.
21312 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21313 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21314 * sysdeps/unix/sysv/linux/clock_settime.c
21315 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
21316 conditional code.
21317 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
21318 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21319
d22e28b0
L
213202012-08-29 H.J. Lu <hongjiu.lu@intel.com>
21321
21322 [BZ #14476]
21323 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
21324 scripts/test-installation.pl.
21325
21326 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
21327 and $ld_so_version if it is set.
21328
050af9c4
SP
213292012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21330
21331 [BZ #14516]
21332 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
21333 failure if reading from procfs failed.
21334 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
21335
ad845c0b
JM
213362012-08-27 Joseph Myers <joseph@codesourcery.com>
21337
21338 * sysdeps/unix/sysv/linux/kernel-features.h
21339 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
21340 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21341 Remove conditional code.
21342 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21343 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
21344 Remove conditional code.
21345 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21346 * sysdeps/unix/sysv/linux/i386/fxstat.c
21347 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21348 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21349 * sysdeps/unix/sysv/linux/i386/fxstatat.c
21350 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21351 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21352 * sysdeps/unix/sysv/linux/i386/lxstat.c
21353 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21354 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21355 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
21356 Remove conditional code.
21357 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21358 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21359 Remove conditional code.
21360 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21361 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
21362 <kernel-features.h>.
21363 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
21364 Remove.
21365 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
21366 Remove conditional code.
21367 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21368 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
21369 Remove conditional.
21370
5dbf56af
MF
213712012-08-27 Mike Frysinger <vapier@gentoo.org>
21372
21373 [BZ #5400]
21374 * NEWS: Add fixed bug number.
21375
d6e70f43
JM
213762012-08-27 Joseph Myers <joseph@codesourcery.com>
21377
7efb4737
JM
21378 [BZ #14519]
21379 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
21380 underflowing exponent in case of negative sign.
21381 * stdlib/tst-strtod-round-data: Add more tests.
21382 * stdlib/tst-strtod-round.c (tests): Regenerated.
21383
af92131a
JM
21384 [BZ #3479]
21385 * stdlib/strtod_l.c (NDIG): Remove.
21386 (HEXNDIG): Likewise.
21387 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
21388 smallest representable value.
21389 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
21390 lie within an exact representation of 1/2 ulp of the result.
21391 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
21392 unconditionally.
21393 (TENS_P9_IDX): Define unconditionally.
21394 (TENS_P9_SIZE): Likewise.
21395 (TENS_P10_IDX): Likewise.
21396 (TENS_P10_SIZE): Likewise.
21397 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
21398 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
21399 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
21400 entries for 10^2^13 and 10^2^14.
21401 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
21402 (TENS_P13_IDX): Define.
21403 (TENS_P13_SIZE): Likewise.
21404 (TENS_P14_IDX): Likewise.
21405 (TENS_P14_SIZE): Likewise.
21406 (_fpioconst_pow10): Change array size to
21407 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
21408 unconditional.
21409 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
21410 1024]: Add entries for 10^2^13 and 10^2^14.
21411 [LAST_POW10 > _LAST_POW10]: Remove #error.
21412 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
21413 (_fpioconst_pow10): Change array size to
21414 FPIOCONST_POW10_ARRAY_SIZE.
21415 * stdlib/gen-fpioconst.c: New file.
21416 * stdlib/gen-tst-strtod-round.c: Likewise.
21417 * stdlib/tst-strtod-round-data: Likewise.
21418 * stdlib/tst-strtod-round.c: Likewise.
21419 * stdlib/Makefile (tests): Add tst-strtod-round.
21420
d6e70f43
JM
21421 [BZ #14459]
21422 * stdlib/strtod_l.c: Include <stdint.h>.
21423 (NDEBUG): Do not define.
21424 (round_and_return): Change EXPONENT parameter to type intmax_t.
21425 Rearrange calculations to avoid internal overflow possibilities.
21426 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
21427 Rearrange calculations to avoid internal overflow possibilities.
21428 Assert that number fits inside MPNSIZE limbs.
21429 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
21430 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
21431 calculations and add assertions to avoid internal overflow
21432 possibilities. Add casts to avoid signed/unsigned operations.
21433 * stdlib/tst-strtod-overflow.c: New file.
21434 * stdlib/Makefile (tests): Add tst-strtod-overflow.
21435
1f529f7d
MP
214362012-08-25 Marek Polacek <polacek@redhat.com>
21437
21438 * time/time.h: Fix some typos in comments.
21439
59a629f1
RM
214402012-08-23 Roland McGrath <roland@hack.frob.com>
21441
21442 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
21443 * posix/tst-rfc3484-2.c: Likewise.
21444 * posix/tst-rfc3484-3.c: Likewise.
21445
d3bafbc9
SM
214462012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
21447
21448 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
21449 (EF_ARM_ABI_FLOAT_HARD): Likewise.
21450
4efcc022
JM
214512012-08-23 Joseph Myers <joseph@codesourcery.com>
21452
21453 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
21454 #include of fxstatat64.c.
21455
3cc3ef96
RM
214562012-08-22 Roland McGrath <roland@hack.frob.com>
21457
f04e2132
RM
21458 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
21459 * shadow/getspent_r.c: Likewise.
21460 * shadow/getspnam.c: Likewise.
21461 * shadow/getspnam_r.c: Likewise.
21462 * gshadow/getsgent.c: Likewise.
21463 * gshadow/getsgent_r.c: Likewise.
21464 * gshadow/getsgnam.c: Likewise.
21465 * gshadow/getsgnam_r.c: Likewise.
21466 * inet/getnetbyad.c: Likewise.
21467 * inet/getnetbyad_r.c: Likewise.
21468 * inet/getnetbynm.c: Likewise.
21469 * inet/getnetbynm_r.c: Likewise.
21470 * inet/getnetent.c: Likewise.
21471 * inet/getnetent_r.c: Likewise.
21472 * inet/getproto.c: Likewise.
21473 * inet/getproto_r.c: Likewise.
21474 * inet/getprtent.c: Likewise.
21475 * inet/getprtent_r.c: Likewise.
21476 * inet/getprtname.c: Likewise.
21477 * inet/getprtname_r.c: Likewise.
21478 * inet/getrpcbyname.c: Likewise.
21479 * inet/getrpcbyname_r.c: Likewise.
21480 * inet/getrpcbynumber.c: Likewise.
21481 * inet/getrpcbynumber_r.c: Likewise.
21482 * inet/getrpcent.c: Likewise.
21483 * inet/getrpcent_r.c: Likewise.
21484 * inet/getaliasent.c: Likewise.
21485 * inet/getaliasent_r.c: Likewise.
21486 * inet/getaliasname.c: Likewise.
21487 * inet/getaliasname_r.c: Likewise.
21488 * nscd/getgrgid_r.c: Likewise.
21489 * nscd/getgrnam_r.c: Likewise.
21490 * nscd/gethstbyad_r.c: Likewise.
21491 * nscd/gethstbynm3_r.c: Likewise.
21492 * nscd/getpwnam_r.c: Likewise.
21493 * nscd/getpwuid_r.c: Likewise.
21494 * nscd/getsrvbynm_r.c: Likewise.
21495 * nscd/getsrvbypt_r.c: Likewise.
21496 * nscd/gai.c: Likewise.
21497
c53d909c
RM
21498 * configure.in (build_nscd): New substituted variable, set
21499 by --disable-build-nscd and defaults to $use_nscd.
21500 * configure: Regenerated.
21501 * config.make.in (build-nscd): New substituted variable.
21502 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
21503 Change conditional to require [$(build-nscd) = yes] as well.
21504 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
21505
3cc3ef96
RM
21506 [BZ# 13696]
21507 * configure.in (use_nscd): New substituted variable, set by
21508 --disable-nscd. If enabled, define USE_NSCD.
21509 * configure: Regenerated.
21510 * config.h.in: Add USE_NSCD.
21511 * config.make.in (use-nscd): New substituted variable.
21512 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21513 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
21514 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
21515 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
21516 (CFLAGS-getgrnam_r.c): Likewise.
21517 (CFLAGS-initgroups.c): Likewise.
21518 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
21519 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
21520 Variables removed.
21521 * inet/getnetgrent_r.c
21522 (nscd_setnetgrent): New function, broken out of ...
21523 (setnetgrent): ... here. Call it.
21524 (innetgr): Conditionalize nscd bits on [USE_NSCD].
21525 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
21526 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
21527 * nscd/Makefile (routines, aux): Move definitions after include of
21528 Makeconfig. Conditionalize on [$(use-nscd) != no].
21529 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
21530 Conditionalize on [USE_NSCD].
21531 (is_nscd, nscd_init_cb): Likewise.
21532 (nss_load_library): Conditionalize init callback on [USE_NSCD].
21533 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
21534 * nss/nss_db/db-init.c: Likewise.
21535 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
21536 [USE_NSCD].
21537 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
21538 (make_request): Use it.
21539 (cache_valid_p): New function.
21540 (__check_pf): Use it.
21541 * NEWS: Add item for --disable-nscd.
21542
07e51550
DL
215432012-08-22 Dmitry V. Levin <ldv@altlinux.org>
21544
21545 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
21546 to support sed >= 4.2.1-20-ga9bf076.
21547 * configure: Regenerated.
21548
35a5b08b
RM
215492012-08-22 Roland McGrath <roland@hack.frob.com>
21550
21551 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
21552 Conditionalize whole body on [IREL].
21553
8479f23a
JL
215542012-08-22 Jeff Law <law@redhat.com>
21555
21556 [BZ #14505]
21557 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
21558 if the family is PF_UNSPEC.
21559
48da0b21
MF
215602012-08-22 Mike Frysinger <vapier@gentoo.org>
21561
21562 * Makerules (lib-version): Rename from V.
21563 (install-lib-nosubdir): Change V to lib-version.
21564
15d0da8c
WS
215652012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
21566
21567 [BZ #14252]
21568 * powerpc32/power6/wcschr.c: New file.
21569 * powerpc32/power6/wcscpy.c: New file.
21570 * powerpc32/power6/wcsrchr.c: New file.
21571 * powerpc64/power6/wcschr.c: New file.
21572 * powerpc64/power6/wcscpy.c: New file.
21573 * powerpc64/power6/wcsrchr.c: New file.
21574
bcca0895
MK
215752012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21576
21577 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
21578 (two_way_short_needle): Use it.
5a4aaa33
RM
21579 * string/strstr.c (AVAILABLE1_USES_J): Define.
21580 * string/strcasestr.c: Likewise.
99677e57
MK
21581
21582 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
21583 array references.
21584 * string/strcasestr.c (TOLOWER): Make side-effect safe.
21585
400726de
MK
21586 [BZ #11607]
21587 * NEWS: Add an entry.
21588 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
21589 define their defaults.
21590 (two_way_short_needle): Detect end-of-string on-the-fly.
21591 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
21592 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
21593 * string/bug-strcasestr1.c: New test.
21594 * string/Makefile: Run it.
21595
20a71f2c
MK
215962012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21597
21598 [BZ #11607]
21599 * string/str-two-way.h (two_way_short_needle): Optimize matching of
21600 the first character.
21601
21ad0558
RM
216022012-08-21 Roland McGrath <roland@hack.frob.com>
21603
21604 * csu/elf-init.c (__libc_csu_irel): Function removed.
21605 * csu/libc-start.c (apply_irel): New function.
21606 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
21607
0e1d9911
JM
216082012-08-21 Joseph Myers <joseph@codesourcery.com>
21609
21610 * sysdeps/unix/sysv/linux/kernel-features.h
21611 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
21612 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21613 <kernel-features.h>.
21614 [__NR_fadvise64_64]: Make code unconditional.
21615 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
21616 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21617 !__NR_fadvise64_64)]: Likewise.
21618 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21619 !__NR_fadvise64_64))]: Likewise.
21620 [__NR_fadvise64]: Make code unconditional.
21621 [!__NR_fadvise64]: Remove conditional code.
21622 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
21623 <kernel-features.h>.
21624 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21625 unconditional.
21626 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21627 conditional code.
21628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
21629 not include <kernel-features.h>.
21630 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21631 unconditional.
21632 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21633 conditional code.
21634 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
21635 include <kernel-features.h>.
21636 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21637 unconditional.
21638 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21639 conditional code.
21640
14a50c9d
WS
216412012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21642
21643 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
21644 slight instruction rearrangements per scrollpipe analysis.
21645 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21646
c0f4faf0
RM
216472012-08-20 Roland McGrath <roland@hack.frob.com>
21648
696da859
RM
21649 * manual/syslog.texi (syslog; vsyslog, closelog):
21650 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
21651 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
21652
c0f4faf0
RM
21653 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
21654 DSOCAPS to match condition on defining it.
21655
348363b2
JM
216562012-08-20 Joseph Myers <joseph@codesourcery.com>
21657
a35cbf28
JM
21658 * sysdeps/unix/sysv/linux/kernel-features.h
21659 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
21660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
21661 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21662 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
21664 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21665 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
21667 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21668 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21669
445f7ecd
JM
21670 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
21671 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
21672
348363b2
JM
21673 * sysdeps/unix/sysv/linux/kernel-features.h
21674 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
21675 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
21676 unconditional.
21677 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21678 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
21679 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21680 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21681 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
21682 Make code unconditional.
21683 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21684 (__mmap64) [!__NR_mmap2]: Likewise.
21685 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
21686 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21687 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21688 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
21689 [__NR_mmap2]: Make code unconditional.
21690 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21691 (__mmap64) [!__NR_mmap2]: Likewise.
21692
bc5bc0e5
AK
216932012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21694
21695 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
21696
88d506de
AJ
216972012-08-18 Andreas Jaeger <aj@suse.de>
21698
21699 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
21700
493387d2
MF
217012012-08-18 Mike Frysinger <vapier@gentoo.org>
21702
21703 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
21704 * include/unistd.h (__have_sock_cloexec): Likewise.
21705 (__have_pipe2): Likewise.
21706 (__have_dup3): Likewise.
21707
a277af22
MF
217082012-08-18 Mike Frysinger <vapier@gentoo.org>
21709
21710 [BZ #9685]
21711 * include/unistd.h (__have_pipe2): Change define into an extern int.
21712 (__have_dup3): Likewise.
21713 * socket/have_sock_cloexec.c: Include fcntl.h.
21714 (__have_pipe2): New variable.
21715 (__have_dup3): Likewise.
21716
fdab8fd3
MF
217172012-08-17 Mike Frysinger <vapier@gentoo.org>
21718
21719 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
21720
31035e80
MP
217212012-08-17 Marek Polacek <polacek@redhat.com>
21722
21723 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
21724 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
21725
3bd9e993
RM
217262012-08-17 Roland McGrath <roland@hack.frob.com>
21727
c91c505f
RM
21728 * configure.in: Add AC_SUBST for sysheaders.
21729 * configure: Regenerated.
21730 * config.make.in (sysheaders): New substituted variable.
21731
7c6f9d53
RM
21732 * sysdeps/unix/mkfifo.c: Moved ...
21733 * sysdeps/posix/mkfifo.c: ... here.
21734 * sysdeps/unix/mkfifoat.c: Moved ...
21735 * sysdeps/posix/mkfifoat.c: ... here.
21736
21737 * sysdeps/unix/utime.c: Moved ...
21738 * sysdeps/posix/utime.c: ... here.
21739
21740 * sysdeps/unix/time.c: Moved ...
21741 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
21742 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
21743 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
21744
21745 * sysdeps/unix/nice.c: Moved ...
21746 * sysdeps/posix/nice.c: ... here.
21747
21748 * sysdeps/unix/alarm.c: Moved ...
21749 * sysdeps/posix/alarm.c: ... here.
21750
3bd9e993
RM
21751 * intl/Makefile ($(codeset_mo)): Depend on the input file.
21752
d1f09384
JL
217532012-08-17 Jeff Law <law@redhat.com>
21754
21755 * intl/Makefile (codeset_mo): New variable.
21756 ($(codeset_mo)): New target.
21757 (tst-codeset.out): Depend on that. Remove explicit rule.
21758 (tst-gettext3.out, tst-gettext5.out): Likewise.
21759 (LOCPATH-ENV, tst-codeset-ENV): New variables.
21760 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
21761 * intl/tst-codeset.sh: Remove.
21762 * intl/tst-gettext3.sh: Likewise.
21763 * intl/tst-gettext5.sh: Likewise.
21764
2ae1ae5c
RM
217652012-08-17 Roland McGrath <roland@hack.frob.com>
21766
c31fdb83
RM
21767 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
21768 * sysdeps/unix/syscalls.list: ... here.
21769
a0844057
RM
21770 * sysdeps/posix/getaddrinfo.c
21771 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
21772 (gaiconf_init, gaiconf_reload): Use them.
21773 [!_STATBUF_ST_NSEC]
21774 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
21775 Define using time_t rather than struct timespec.
21776
750c1f2a
RM
21777 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
21778 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
21779 Macros removed.
21780 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
21781 [!NO_THREADS].
21782 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
21783 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
21784 Likewise.
21785
2ae1ae5c
RM
21786 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
21787 __libc_cleanup_push argument.
21788
e66a42f5
RM
21789 * bits/param.h: New file.
21790 * misc/sys/param.h: New file.
21791 * include/sys/param.h: New file.
21792 * misc/Makefile (headers): Add bits/param.h.
21793 * sysdeps/generic/sys/param.h: File removed.
21794 * sysdeps/unix/sysv/linux/bits/param.h: New file.
21795 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
21796 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 21797 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 21798
b7c08a66
RM
21799 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
21800 last change.
21801
b2e1c562
RM
21802 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
21803 [_IO_MTSAFE_IO].
21804 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
21805 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
21806 New macros.
21807
c75ccd4c
RM
21808 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
21809 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
21810 rather than -D_IO_MTSAFE_IO conditionally.
21811 * stdio-common/Makefile (CPPFLAGS): Likewise.
21812 * wcsmbs/Makefile (CPPFLAGS): Likewise.
21813 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
21814 Use $(libio-mtsafe).
21815 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
21816 of -D_IO_MTSAFE_IO.
21817 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
21818 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
21819 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
21820 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
21821 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
21822 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
21823 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
21824 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
21825 (CFLAGS-fread_u_chk.c): Likewise.
21826 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
21827 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
21828 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
21829 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
21830 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
21831 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
21832 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
21833 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
21834 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
21835
21836 * libio/Makefile: Test [$(libc-reentrant) = yes]
21837 instead of [$(filter %REENTRANT, $(defines)) nonempty].
21838
21839 * Makeconfig
21840 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
21841 * sysdeps/pthread/configure: File removed.
21842 * sysdeps/pthread/Makeconfig: New file.
21843 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
21844 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
21845
d9195db8
GB
218462012-08-16 Gary Benson <gbenson@redhat.com>
21847
21848 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
21849 unmapping the first object in a namespace.
21850
86466cd9
RM
218512012-08-16 Roland McGrath <roland@hack.frob.com>
21852
21853 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
21854 (__internal_setnetgrent): ... this. Add internal_function to
21855 definition. Add libc_hidden_def.
21856 (setnetgrent): Update caller.
21857 (internal_endnetgrent): Renamed to ...
21858 (__internal_endnetgrent): ... this. Add internal_function to
21859 definition. Add libc_hidden_def.
21860 (endnetgrent): Update caller.
21861 (internal_getnetgrent_r): Renamed to ...
21862 (__internal_getnetgrent_r): ... this. Add internal_function to
21863 definition. Add libc_hidden_def.
21864 (__getnetgrent_r): Update caller.
21865 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
21866
c3c8283c
JM
218672012-08-16 Joseph Myers <joseph@codesourcery.com>
21868
21869 * stdlib/longlong.h: Update from GCC.
21870
db1ee0a8
RM
218712012-08-16 Roland McGrath <roland@hack.frob.com>
21872
21873 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
21874 on _QL, which is set by umul_ppmm but never used.
21875 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
21876 variables, which are set by GMP macros but never used.
21877 * stdio-common/_itowa.c (_itowa): Likewise.
21878 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
21879 * stdlib/mod_1.c (mpn_mod_1): Likewise.
21880
30f69637
CD
218812012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
21882
21883 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
21884 struct La_sh_regs is not constant.
21885 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
21886 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
21887 and struct La_sparc64_regs are not constant.
21888
93a78ac4
JM
218892012-08-16 Joseph Myers <joseph@codesourcery.com>
21890
21891 * sysdeps/unix/sysv/linux/kernel-features.h
21892 (__ASSUME_POSIX_TIMERS): Remove.
21893 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21894 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21895 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
21896 Make code unconditional.
21897 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21898 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
21899 Make code unconditional.
21900 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21901 * sysdeps/unix/sysv/linux/clock_nanosleep.c
21902 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
21903 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21904 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
21905 Make code unconditional.
21906 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21907 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
21908 (__libc_missing_posix_timers): Remove.
21909
dd924cd7
RM
219102012-08-15 Roland McGrath <roland@hack.frob.com>
21911
4b4f2771
RM
21912 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
21913 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
21914
601c888b
RM
21915 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
21916
176790a7
RM
21917 * elf/dl-sym.c: Include <stdlib.h>.
21918
329bc018
RM
21919 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
21920 constants, which avoids warnings in 32-bit builds.
21921
e04e272d
RM
21922 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
21923 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
21924
952bf94a
RM
21925 * misc/lseek.c: File moved to ...
21926 * io/lseek.c: ... here.
21927
7c99b50a
RM
21928 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
21929
dd924cd7
RM
21930 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
21931 shifting LEN more than 31 bits at once.
21932
b3f479a8
LD
219332012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21934
21935 [BZ #14195]
8c4ae0d4
RM
21936 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
21937 segmentation fault for a case of two empty input strings.
b3f479a8
LD
21938 * string/test-strncasecmp.c (check1): Renamed to...
21939 (bz12205): ...this.
21940 (bz14195): Add new testcase for two empty input strings and N > 0.
21941 (test_main): Call new testcase, adapt for renamed function.
21942
9c55864e
AJ
219432012-08-15 Andreas Jaeger <aj@suse.de>
21944
21945 [BZ #14090]
21946 * crypt/md5test2.c: New test, based on test supplied by Serge
21947 Belyshev <belyshev@depni.sinp.msu.ru>.
21948 * crypt/Makefile (xtests): Add md5test-giant..
21949 * crypt/Makefile ($(objpfx)md5test-giant): Add.
21950
02dcb6c5
PE
219512012-08-15 Paul Eggert <eggert@cs.ucla.edu>
21952
21953 [BZ #14090]
21954 * crypt/md5.c (md5_process_block): Don't assume the buffer
21955 length is less than 2**32.
21956 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
21957 length is less than 2**64.
21958
a3f95dcc
RM
219592012-08-15 Roland McGrath <roland@hack.frob.com>
21960
be75d758
RM
21961 * string/str-two-way.h: Include <sys/param.h>.
21962 (MAX): Macro removed.
21963
7312ca90
RM
21964 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
21965 Move #define and #undef of memmove to just before and after
21966 including <string.h>.
21967
9a0a5486
RM
21968 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
21969 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
21970 and after including <string.h>. Move declarations of
21971 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
21972 to before #include "string/memmove.c".
21973
67cc348d
RM
21974 * include/dirent.h: Declare __getdirentries.
21975
a3f95dcc
RM
21976 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
21977 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
21978
ca98e171
MF
219792012-08-14 Mike Frysinger <vapier@gentoo.org>
21980
21981 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
21982 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
21983 * sysdeps/i386/configure: Regenerated.
21984 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
21985 STABS_CURRENT_FILE, and STABS_FUN.
21986 (END): Remove call to STABS_FUN_END.
21987 (STABS_CURRENT_FILE1): Delete.
21988 (STABS_CURRENT_FILE): Likewise.
21989 (STABS_FUN): Likewise.
21990 (STABS_FUN_END): Likewise.
21991 (STABS_FUN2): Likewise.
21992 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
21993 * sysdeps/x86_64/configure: Regenerated.
21994
5908bf46
RM
219952012-08-14 Roland McGrath <roland@hack.frob.com>
21996
21997 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 21998 * elf/dl-lookup.c: Likewise.
5908bf46 21999
f2c05b9e
JM
220002012-08-14 Joseph Myers <joseph@codesourcery.com>
22001
22002 * sysdeps/unix/sysv/linux/kernel-features.h
22003 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
22004 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
22005 unconditionally.
22006 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
22007 unconditionally.
22008 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
22009 condition on __ASSUME_CLONE_THREAD_FLAGS.
22010
e11f5155
AJ
220112012-08-14 Andreas Jaeger <aj@suse.de>
22012
22013 * sysdeps/i386/fpu/libm-test-ulps: Update.
22014
51a9ba86
MK
220152012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
22016
2fdd4f78
AJ
22017 * include/atomic.h (atomic_exchange_and_add): Split into ...
22018 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
22019 New atomic macros.
51a9ba86 22020
ba6cba9e
MT
220212012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
22022
22023 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22024
42443a47
JL
220252012-08-13 Jeff Law <law@redhat.com>
22026
22027 * manual/stdio.texi (snprintf): Clarify handling of the trailing
22028 null byte in the output string.
22029
121dce05
JM
220302012-08-10 Joseph Myers <joseph@codesourcery.com>
22031
22032 * sysdeps/unix/sysv/linux/kernel-features.h
22033 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
22034 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
22035 (__ASSUME_ARG_MAX_STACK_BASED): Define.
22036 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
22037 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
22038 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
22039 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
22040
bf51f568
JL
220412012-08-09 Jeff Law <law@redhat.com>
22042
22043 [BZ #13939]
22044 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
22045 When avoid_arena is set, don't retry in the that arena. Pick the
22046 next one, whatever it might be.
22047 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
22048 (arena_lock): Pass in new parameter to arena_get2.
22049 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
22050 arena_get2.
22051 (__libc_malloc): Unify retrying after main arena failure with
22052 __libc_memalign version.
22053 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
22054
f85fa270
L
220552012-08-09 H.J. Lu <hongjiu.lu@intel.com>
22056
22057 [BZ #14166]
22058 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
22059 to __redirect_strstr.
22060 (__strstr_sse42): Use typeof __redirect_strstr.
22061 (__strstr_ia32): Likewise.
22062 (__libc_strstr): New prototype.
22063 (strstr): Renamed to ...
22064 (__libc_strstr): This.
22065 (strstr): New strong alias of __libc_strstr.
22066 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22067 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
22068 __redirect_time.
22069 Include <time.h>.
22070 (__libc_time): New prototype.
22071 (time_ifunc): Replace time with __libc_time.
22072 (time): New strong alias and hidden definition of __libc_time.
22073 (__GI_time): Remove strong alias.
22074 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
22075 Include <stddef.h>.
22076 (memmove): Redefined to __redirect_memmove.
22077 (__memmove_sse2): Use typeof __redirect_memmove.
22078 (__memmove_ssse3): Likewise.
22079 (__memmove_ssse3_back): Likewise.
22080 (__libc_memmove): New prototype.
22081 (memmove): Renamed to ...
22082 (__libc_memmove): This.
22083 (memmove): New strong alias of __libc_memmove.
22084
33b4a91e
MS
220852012-08-08 Mark Salter <msalter@redhat.com>
22086
22087 * elf/elf.h
22088 (R_MN10300_TLS_GD): Define.
22089 (R_MN10300_TLS_LD): Likewise.
22090 (R_MN10300_TLS_LDO): Likewise.
22091 (R_MN10300_TLS_GOTIE): Likewise.
22092 (R_MN10300_TLS_IE): Likewise.
22093 (R_MN10300_TLS_LE): Likewise.
22094 (R_MN10300_TLS_DTPMOD): Likewise.
22095 (R_MN10300_TLS_DTPOFF): Likewise.
22096 (R_MN10300_TLS_TPOFF): Likewise.
22097 (R_MN10300_SYM_DIFF): Likewise.
22098 (R_MN10300_ALIGN): Likewise.
22099 (R_MN10300_NUM): Update.
22100
b36137f1
JM
221012012-08-08 Joseph Myers <joseph@codesourcery.com>
22102
22103 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
22104 Remove.
22105
cdd915fd
RM
221062012-08-08 Roland McGrath <roland@hack.frob.com>
22107
a2433aac
RM
22108 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
22109
cdd915fd
RM
22110 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
22111 sysdeps/unix -> sysdeps/posix move.
22112 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22113
bf9b740a
AM
221142012-08-07 Allan McRae <allan@archlinux.org>
22115
22116 [BZ #14303]
22117 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
22118 (SUNOS_CPP): Likewise.
22119 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
22120 not found.
22121 (open_input): Call CPP using execvp.
22122
93df14ee
JM
221232012-08-07 Joseph Myers <joseph@codesourcery.com>
22124
22125 * sysdeps/unix/sysv/linux/kernel-features.h
22126 (__ASSUME_PROT_GROWSUPDOWN): Remove.
22127 (__ASSUME_NO_CLONE_DETACHED): Likewise.
22128 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
22129 (__ASSUME_WAITID_SYSCALL): Likewise.
22130 * sysdeps/unix/sysv/linux/dl-execstack.c
22131 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
22132 code unconditional.
22133 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
22134 conditional code.
22135 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
22136 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
22137 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
22138 code.
22139 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
22140 unconditional.
22141 [__ASSUME_WAITID_SYSCALL]: Likewise.
22142 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
22143
d34689de
RM
221442012-08-07 Roland McGrath <roland@hack.frob.com>
22145
a281decc
RM
22146 * sysdeps/unix/closedir.c: Renamed to ...
22147 * sysdeps/posix/closedir.c: ... here.
22148 * sysdeps/unix/dirfd.c: Renamed to ...
22149 * sysdeps/posix/dirfd.c: ... here.
22150 * sysdeps/unix/dirstream.h: Renamed to ...
22151 * sysdeps/posix/dirstream.h: ... here.
22152 * sysdeps/unix/fdopendir.c: Renamed to ...
22153 * sysdeps/posix/fdopendir.c: ... here.
22154 * sysdeps/unix/opendir.c: Renamed to ...
22155 * sysdeps/posix/opendir.c: ... here.
22156 * sysdeps/unix/readdir.c: Renamed to ...
22157 * sysdeps/posix/readdir.c: ... here.
22158 * sysdeps/unix/readdir_r.c: Renamed to ...
22159 * sysdeps/posix/readdir_r.c: ... here.
22160 * sysdeps/unix/rewinddir.c: Renamed to ...
22161 * sysdeps/posix/rewinddir.c: ... here.
22162 * sysdeps/unix/seekdir.c: Renamed to ...
22163 * sysdeps/posix/seekdir.c: ... here.
22164 * sysdeps/unix/telldir.c: Renamed to ...
22165 * sysdeps/posix/telldir.c: ... here.
22166 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
22167 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
22168 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
22169 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
22170
22895b47
RM
22171 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
22172 * bits/fcntl.h: ... here.
22173
707a53b6
RM
22174 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
22175 not 0.
22176 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
22177 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
22178 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
22179 (struct flock): Move l_start, l_len to the beginning.
22180 Use __pid_t for l_pid.
22181 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
22182 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
22183 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
22184 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
22185 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
22186 [__USE_LARGEFILE64] (struct flock64): New type.
22187 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
22188
f0bd3e25
RM
22189 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
22190 * bits/dirent.h: ... here.
22191
d34689de
RM
22192 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
22193 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
22194
6dad2c06
JM
221952012-08-07 Joseph Myers <joseph@codesourcery.com>
22196
22197 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22198 Change from 2.6.0 to 2.6.16.
22199 * sysdeps/unix/sysv/linux/configure: Regenerated.
22200 * sysdeps/unix/sysv/linux/kernel-features.h
22201 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
22202 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
22203 version.
22204 (__ASSUME_UTIMES): Likewise.
22205 (__ASSUME_CLONE_STOPPED): Remove.
22206 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
22207 architectures, not kernel version.
22208 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
22209 (__ASSUME_NO_CLONE_DETACHED): Likewise.
22210 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
22211 (__ASSUME_WAITID_SYSCALL): Likewise.
22212 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
22213 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
22214 * README: State 2.6.16 as minimum Linux kernel version. Do not
22215 refer to older versions.
22216
03af9520
RM
222172012-08-06 Roland McGrath <roland@hack.frob.com>
22218
8e49df1d
RM
22219 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
22220 Define alphasort64 as an alias.
22221 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
22222 Define versionsort64 as an alias.
22223 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
22224 Define scandir64 as an alias.
22225 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
22226 Define scandirat64 as an alias.
22227 * dirent/alphasort64.c (alphasort64):
22228 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
22229 * dirent/versionsort64.c: Likewise.
22230 * dirent/scandir64.c: Likewise.
22231 * dirent/scandirat64.c: Likewise.
22232 * sysdeps/wordsize-64/alphasort.c: File removed.
22233 * sysdeps/wordsize-64/alphasort64.c: File removed.
22234 * sysdeps/wordsize-64/scandir.c: File removed.
22235 * sysdeps/wordsize-64/scandir64.c: File removed.
22236 * sysdeps/wordsize-64/scandirat.c: File removed.
22237 * sysdeps/wordsize-64/scandirat64.c: File removed.
22238 * sysdeps/wordsize-64/versionsort.c: File removed.
22239 * sysdeps/wordsize-64/versionsort64.c: File removed.
22240 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
22241 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
22242 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
22243 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
22244 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
22245 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
22246 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
22247 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
22248
22249 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
22250 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22251 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
22252 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22253 [defined __arch64__ || defined __sparcv9]
22254 (__INO_T_MATCHES_INO64_T): New macro.
22255 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22256 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
22257 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
22258 * sysdeps/unix/sysv/linux/bits/dirent.h
22259 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
22260 (_DIRENT_MATCHES_DIRENT64): New macro.
22261
03af9520
RM
22262 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
22263 Define lockf64 as an alias.
22264 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
22265 Define fseeko64 as an alias.
22266 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
22267 Define ftello64 as an alias.
22268 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
22269 Define _IO_fgetpos64 and fgetpos64 as aliases.
22270 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
22271 Define _IO_fsetpos64 and fsetpos64 as aliases.
22272 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
22273 Conditionalize body on this.
22274 * libio/fseeko64.c: Likewise.
22275 * libio/ftello64.c: Likewise.
22276 * libio/iofgetpos64.c: Likewise.
22277 * libio/iofsetpos64.c: Likewise.
22278 * sysdeps/wordsize-64/lockf.c: File removed.
22279 * sysdeps/wordsize-64/lockf64.c: File removed.
22280 * sysdeps/wordsize-64/fseeko.c: File removed.
22281 * sysdeps/wordsize-64/fseeko64.c: File removed.
22282 * sysdeps/wordsize-64/ftello.c: File removed.
22283 * sysdeps/wordsize-64/ftello64.c: File removed.
22284 * sysdeps/wordsize-64/iofgetpos.c: File removed.
22285 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
22286 * sysdeps/wordsize-64/iofsetpos.c: File removed.
22287 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
22288 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
22289 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
22290 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
22291 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
22292 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
22293 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
22294 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
22295 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
22296 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
22297 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
22298
22299 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22300 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22301 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
22302 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22303 [defined __arch64__ || defined __sparcv9]
22304 (__OFF_T_MATCHES_OFF64_T): New macro.
22305 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22306 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22307 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22308 (__OFF_T_MATCHES_OFF64_T): New macro.
22309
c5757acd
L
223102012-08-06 H.J. Lu <hongjiu.lu@intel.com>
22311
22312 * stdlib/secure-getenv.c (__secure_getenv): Replace
22313 GLIBC_2_16 with GLIBC_2_17.
22314
3a31811e
L
223152012-08-06 H.J. Lu <hongjiu.lu@intel.com>
22316
22317 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
22318 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22319
faa2bccb
DM
223202012-08-03 David S. Miller <davem@davemloft.net>
22321
22322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22323
85fe1997
JM
223242012-08-03 Joseph Myers <joseph@codesourcery.com>
22325
22326 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
22327 Remove.
22328 (__ASSUME_CORRECT_SI_PID): Likewise.
22329 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
22330 (__ASSUME_TMPFS_NAME): Likewise.
22331 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
22332 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
22333 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
22334 (HAVE_AUX_SECURE): Make definition unconditional.
22335 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
22336 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
22337
4f75b7a0
RM
223382012-08-03 Roland McGrath <roland@hack.frob.com>
22339
22340 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
22341 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
22342 * sysdeps/mach/hurd/eloop-threshold.h: New file.
22343 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22344 __eloop_threshold instead of SYMLOOP_MAX.
22345
22346 * sysdeps/generic/eloop-threshold.h: New file.
22347 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
22348 of MAXSYMLINKS.
22349 * elf/chroot_canon.c (chroot_canon): Likewise.
22350
7aab07e4
JM
223512012-08-03 Joseph Myers <joseph@codesourcery.com>
22352
22353 [BZ #13717]
22354 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22355 Change to 2.6.0 everywhere.
22356 * sysdeps/unix/sysv/linux/configure: Regenerated.
22357 * sysdeps/unix/sysv/linux/kernel-features.h
22358 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
22359 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
22360 kernel versions.
22361 (__ASSUME_POSIX_TIMERS): Define unconditionally.
22362 (__ASSUME_FUTEX_REQUEUE): Remove.
22363 (__ASSUME_STATFS64): Define unconditionally.
22364 (__ASSUME_AT_SECURE): Likewise.
22365 (__ASSUME_CORRECT_SI_PID): Likewise.
22366 (__ASSUME_TGKILL): Define without depending on kernel version for
22367 i386.
22368 (__ASSUME_UTIMES): Likewise.
22369 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
22370 kernel version.
22371 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
22372 (__ASSUME_TMPFS_NAME): Likewise.
22373 * README: Update reference to Linux kernel versions.
22374
b67e9372
MP
223752012-08-02 Marek Polacek <polacek@redhat.com>
22376
1f529f7d 22377 [BZ# 14150]
b67e9372
MP
22378 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
22379 libc_cv_asm_type_prefix with %.
22380 * configure: Regenerated.
d2441631
RM
22381 * include/libc-symbols.h: Remove comment about
22382 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
22383 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
22384 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
22385 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
22386 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
22387 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
22388 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
22389 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
22390 * elf/tst-unique2mod1.c: Likewise.
22391 * elf/tst-unique1mod2.c: Likewise.
22392 * elf/tst-unique1mod1.c: Likewise.
22393 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
22394 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
22395 Replace ASM_TYPE_DIRECTIVE with .type.
22396 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22397 * sysdeps/i386/sysdep.h: Likewise.
22398 * sysdeps/x86_64/sysdep.h: Likewise.
22399 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
22400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22401 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 22402 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
22403 * sysdeps/powerpc/powerpc32/sysdep.h:
22404 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
22405 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22406 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22407 * sysdeps/i386/fpu/e_powf.S: Likewise.
22408 * sysdeps/i386/fpu/e_expl.S: Likewise.
22409 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22410 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22411 * sysdeps/i386/fpu/e_pow.S: Likewise.
22412 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22413 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22414 * sysdeps/i386/fpu/s_expm1.S: Likewise.
22415 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22416 * sysdeps/i386/fpu/e_log2.S: Likewise.
22417 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22418 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22419 * sysdeps/i386/fpu/e_powl.S: Likewise.
22420 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22421 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22422 * sysdeps/i386/fpu/e_logl.S: Likewise.
22423 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22424 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22425 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22426 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22427 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22428 * sysdeps/i386/fpu/e_log.S: Likewise.
22429 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22430 * sysdeps/i386/fpu/e_logf.S: Likewise.
22431 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22432 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22433 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22434 * sysdeps/i386/fpu/e_log10.S: Likewise.
22435 * sysdeps/i386/fpu/s_frexp.S: Likewise.
22436 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22437 * sysdeps/i386/fpu/s_asinh.S: Likewise.
22438 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22439 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22440 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
22441 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22442 * sysdeps/i386/i686/strtok.S: Likewise.
22443 * sysdeps/i386/i386-mcount.S: Likewise.
22444 * sysdeps/i386/strtok.S: Likewise.
22445 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
22446 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22447 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22448 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22449 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22450 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22451 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22452 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22453 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22454 * sysdeps/x86_64/_mcount.S: Likewise.
22455 * sysdeps/x86_64/strtok.S: Likewise.
22456 * sysdeps/sh/_mcount.S: Likewise.
22457
2747bf9a
RM
224582012-08-01 Roland McGrath <roland@hack.frob.com>
22459
22460 * libio/iofopen.c: Include <fcntl.h>.
22461 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
22462 (_IO_fopen64, fopen64): Define as aliases.
22463 * libio/iofopen64.c: Include <fcntl.h>.
22464 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
22465 Conditionalize body on this.
22466 * sysdeps/wordsize-64/iofopen.c: File removed.
22467 * sysdeps/wordsize-64/iofopen64.c: File removed.
22468
3fb791b8
MP
224692012-08-01 Marek Polacek <polacek@redhat.com>
22470
22471 * libc/Makeconfig: Use elf in place of binfmt-subdir.
22472 Use dlfcn directly instead of a variable.
22473 (binfmt-subdir): Do not define.
22474 (dlfcn): Likewise.
22475
a9f1039f
JM
224762012-08-01 Joseph Myers <joseph@codesourcery.com>
22477
23bddc06
JM
22478 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
22479 Remove all definitions.
22480 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
22481 <kernel-features.h>.
22482 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22483 (miss_F_GETOWN_EX): Remove all definitions.
22484 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
22485 macro definition.
22486 [!__ASSUME_FCNTL64]: Remove conditional code.
22487 [__ASSUME_FCNTL64]: Make code unconditional.
22488 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
22489 <kernel-features.h>.
22490 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22491 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
22492 (lockf64) [__NR_fcntl64]: Make code unconditional.
22493 (lockf64) [__ASSUME_FCNTL64]: Likewise.
22494
a9f1039f
JM
22495 * sysdeps/unix/sysv/linux/kernel-features.h
22496 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
22497 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
22498 Make code unconditional.
22499 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22500 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
22502 [__NR_vfork]: Make code unconditional.
22503 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22504 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
22506 [__NR_vfork]: Make code unconditional.
22507 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22508 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22509
09c0ee5f
RM
225102012-08-01 Roland McGrath <roland@hack.frob.com>
22511
48aec5b9
RM
22512 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
22513 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
22514
cd97c966
RM
22515 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22516 Define mkstemp64 as an alias.
3f55550c
RM
22517 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22518 Define mkstemps64 as an alias.
cd97c966
RM
22519 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22520 Define mkostemp64 as an alias.
b8625cfc
RM
22521 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22522 Define mkostemps64 as an alias.
cd97c966
RM
22523 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
22524 Conditionalize body on this.
22525 * misc/mkostemp64.c: Likewise.
b8625cfc 22526 * misc/mkostemps64.c: Likewise.
3f55550c 22527 * misc/mkstemps64.c: Likewise.
cd97c966
RM
22528 * sysdeps/wordsize-64/mkstemp64.c: File removed.
22529 * sysdeps/wordsize-64/mkostemp64.c: File removed.
22530 * sysdeps/wordsize-64/mkostemp.c: File removed.
22531 * sysdeps/wordsize-64/mkstemp.c: File removed.
22532 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
22533 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
22534 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
22535 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
22536
09c0ee5f
RM
22537 [BZ #14138]
22538 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
22539 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
22540 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
22541 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
22542
22543 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
22544 compat_symbol macros from <shlib-compat.h> rather than the underlying
22545 default_symbol_version and symbol_version macros, so that DEFAULT
22546 lines in shlib-versions are respected.
22547 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
22548
7e66ee51
FW
225492012-08-01 Florian Weimer <fweimer@redhat.com>
22550
22551 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
22552 Declare with warn_unused_result.
22553 (setgid, setregid, setegid, setresgid): Likewise.
22554 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
22555 Likewise.
22556 * WUR-REPORT: Remove set*id functions.
22557
d2a54255
PT
225582012-07-31 Pino Toscano <toscano.pino@tiscali.it>
22559
22560 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
22561
7ecdb005
RM
225622012-07-31 Roland McGrath <roland@hack.frob.com>
22563
b4180a5e 22564 [BZ #10191]
789bd351
RM
22565 * include/sys/socket.h (__libc_accept, __libc_accept4):
22566 Add attribute_hidden.
22567 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
22568
40ce302d
RM
22569 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
22570 use of PTR_MANGLE.
22571 * inet/getnetgrent_r.c (setup): Likewise.
22572
7ecdb005
RM
22573 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
22574
e2eabb2c
DM
225752012-07-31 David S. Miller <davem@davemloft.net>
22576
22577 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22578
d0419dbf
JM
225792012-07-31 Joseph Myers <joseph@codesourcery.com>
22580
22581 [BZ #13629]
22582 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
22583 value between 1.0 and 2.0 and smaller part has absolute value less
22584 than 1.0.
22585 * math/s_clog10.c (__clog10): Likewise.
22586 * math/s_clog10f.c (__clog10f): Likewise.
22587 * math/s_clog10l.c (__clog10l): Likewise.
22588 * math/s_clogf.c (__clogf): Likewise.
22589 * math/s_clogl.c (__clogl): Likewise.
22590 * math/libm-test.inc (clog_test): Add more tests.
22591 (clog10_test): Likewise.
22592 * sysdeps/i386/fpu/libm-test-ulps: Update.
22593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22594
2bc13872
FW
225952012-07-31 Florian Weimer <fweimer@redhat.com>
22596
22597 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
22598 Exit with zero in case no suitable GID is found, and write a
22599 message to standard error.
22600
bea9b193
RM
226012012-07-30 Roland McGrath <roland@hack.frob.com>
22602
22603 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
22604 rather than to 1.
22605 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
22606 (MAXPATHLEN): Removed.
22607 (NOGROUP, NODEV): New macros.
22608 (setbit, clrbit, isset, isclr): New macros.
22609 (howmany, roundup, powerof2): New macros.
22610 (DEV_BSIZE): New macro.
22611
22612 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
22613 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
22614
22615 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
22616 definition on [!__NO_LONG_DOUBLE_MATH].
22617
22618 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
22619 PTR_MANGLE and PTR_DEMANGLE.
22620
22621 * socket/accept4.c (accept4): Rename to __libc_accept4.
22622 Define accept4 as a weak alias.
22623
22624 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
22625 on [_DIRENT_HAVE_D_TYPE].
22626 * io/ftw.c (ftw_dir): Likewise.
22627
22628 * io/xmknod.c (__xmknod): Don't check PATH for being null.
22629
22630 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
22631
22632 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
22633 Use the BSD numbers rather than the arbitrary ones we had.
22634 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
22635 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
22636 (SIGXCPU, SIGXFSZ): New macros.
22637 (_NSIG): Now 32.
22638
22639 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
22640 initializer on [_LIBC_REENTRANT].
22641
22642 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
22643 definitions inside [_POSIX_MAPPED_FILES].
22644
22645 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
22646
22647 * dirent/opendir.c: Include <fcntl.h>.
22648
22649 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
22650 (__libc_getspecific): Likewise.
22651 (__libc_key_create): Likewise.
22652
22653 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
22654 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
22655 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
22656 (tmpfile64): Define as alias.
22657 * sysdeps/wordsize-64/tmpfile.c: File removed.
22658 * sysdeps/wordsize-64/tmpfile64.c: File removed.
22659 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
22660 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
22661
22662 * stdio-common/vfscanf.c: Include <stdbool.h>.
22663 * nss/makedb.c: Likewise.
22664 * stdio-common/_i18n_number.h: Likewise.
22665 * argp/argp-help.c: Likewise.
22666 * posix/wordexp.c: Likewise.
22667 * sysdeps/posix/spawni.c: Likewise.
22668 * nss/nss_files/files-initgroups.c: Likewise.
22669 * stdio-common/reg-modifier.c: Include <stdlib.h>.
22670 * nss/nss_files/files-initgroups.c: Likewise.
22671 * nss/nss_db/db-netgrp.c: Likewise.
22672 * nss/nss_db/db-initgroups.c: Likewise.
22673 * io/fchmodat.c: Include <sys/stat.h>.
22674
22675 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
22676 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
22677
22678 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
22679 [HAVE_MMAP].
22680
22681 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
22682 Add multiple inclusion protection.
22683
e5abc686
DM
226842012-07-27 David S. Miller <davem@davemloft.net>
22685
22686 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22687
815e6fa3
GB
226882012-07-27 Gary Benson <gbenson@redhat.com>
22689
22690 [BZ #14298]
22691 * elf/rtld.c: Include <stap-probe.h>.
22692 (dl_main): Added static probes "init_start" and "init_complete".
22693 * elf/dl-load.c: Include <stap-probe.h>.
22694 (lose): Take new parameter "nsid".
22695 Added static probe "map_failed".
22696 (_dl_map_object_from_fd): Pass namespace id to lose.
22697 Added static probe "map_start".
22698 (open_verify): Pass namespace id to lose.
22699 * elf/dl-open.c: Include <stap-probe.h>.
22700 (dl_open_worker) Added static probes "map_complete", "reloc_start"
22701 and "reloc_complete".
22702 * elf/dl-close.c: Include <stap-probe.h>.
22703 (_dl_close_worker): Added static probes "unmap_start" and
22704 "unmap_complete".
22705 * elf/rtld-debugger-interface.txt: New file documenting the above.
22706
9f98c16c
RM
227072012-07-26 Roland McGrath <roland@hack.frob.com>
22708
22709 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
22710 rather than a string variable.
22711 * sunrpc/rpc_main.c (h_output): Likewise.
22712 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
22713
f3c22df3
PT
227142012-07-26 Pino Toscano <toscano.pino@tiscali.it>
22715
22716 * inet/check_native.c: New file.
22717
3129cfc6
JM
227182012-07-26 Joseph Myers <joseph@codesourcery.com>
22719
da865e95
JM
22720 [BZ #13629]
22721 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
22722 if larger part has absolute value 1.0.
22723 * math/s_clog10.c (__clog10): Likewise.
22724 * math/s_clog10f.c (__clog10f): Likewise.
22725 * math/s_clog10l.c (__clog10l): Likewise.
22726 * math/s_clogf.c (__clogf): Likewise.
22727 * math/s_clogl.c (__clogl): Likewise.
22728 * math/libm-test.inc (clog_test): Add more tests.
22729 (clog10_test): Likewise.
22730 * sysdeps/i386/fpu/libm-test-ulps: Update.
22731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22732
3129cfc6
JM
22733 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
22734 (pltexit): Likewise.
22735 (La_regs): Likewise.
22736 (La_retval): Likewise.
22737 (int_retval): Likewise.
22738 Update #error for removed macros to refer only to definitions in
22739 tst-audit.h.
22740 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
22741 macro.
22742 (pltexit): Likewise.
22743 (La_regs): Likewise.
22744 (La_retval): Likewise.
22745 (int_retval): Likewise.
22746 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
22747 macro.
22748 (pltexit): Likewise.
22749 (La_regs): Likewise.
22750 (La_retval): Likewise.
22751 (int_retval): Likewise.
22752 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
22753 macro.
22754 (pltexit): Likewise.
22755 (La_regs): Likewise.
22756 (La_retval): Likewise.
22757 (int_retval): Likewise.
22758 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
22759 macro.
22760 (pltexit): Likewise.
22761 (La_regs): Likewise.
22762 (La_retval): Likewise.
22763 (int_retval): Likewise.
22764 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
22765 macro.
22766 (pltexit): Likewise.
22767 (La_regs): Likewise.
22768 (La_retval): Likewise.
22769 (int_retval): Likewise.
22770 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
22771 macro.
22772 (pltexit): Likewise.
22773 (La_regs): Likewise.
22774 (La_retval): Likewise.
22775 (int_retval): Likewise.
22776 * sysdeps/generic/tst-audit.h: Update comment to refer only to
22777 macro definitions in tst-audit.h.
22778 * sysdeps/i386/tst-audit.h: New file.
22779 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
22780 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
22781 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
22782 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
22783 * sysdeps/sh/tst-audit.h: Likewise.
22784 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
22785 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
22786 * sysdeps/x86_64/tst-audit.h: Likewise.
22787
bfc07087
AJ
227882012-07-26 Andreas Jaeger <aj@suse.de>
22789
b1b2aaf8
AJ
22790 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
22791 ptrace.
22792
22793 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
22794 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
22795 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
22796 PTRACE_O_MASK.
22797 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
22798 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
22799 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
22800
bfc07087
AJ
22801 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
22802 value.
22803
22804 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
22805 _sigsys.
22806 (si_call_addr, si_syscall, si_arch): Define new macro.
22807 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
22808 _sigsys.
22809 (si_call_addr, si_syscall, si_arch): Define new marcro.
22810 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
22811 _sigsys.
22812 (si_call_addr, si_syscall, si_arch): Define new macro.
22813 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
22814 _sigsys.
22815 (si_call_addr, si_syscall, si_arch): Define new macro.
22816
89b4b02f
JM
228172012-07-25 Joseph Myers <joseph@codesourcery.com>
22818
22819 [BZ #13717]
22820 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22821 Change to 2.4.21 where previously 2.4.1.
22822 * sysdeps/unix/sysv/linux/configure: Regenerated.
22823 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
22824 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
22825 Linux kernel version.
22826 (__ASSUME_STD_AUXV): Remove.
22827 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
22828 kernel version.
22829 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
22830 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
22831 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
22832 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
22833 (__ASSUME_NETLINK_SUPPORT): Likewise.
22834 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
22835 (__no_netlink_support): Remove conditional definition.
22836 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
22837 Remove.
22838 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22839 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
22840 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
22841 (if_nameindex_ioctl): Remove.
22842 (if_nameindex_netlink): Do not handle __no_netlink_support.
22843 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22844 code.
22845 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
22846 Remove conditional code.
22847 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22848 code.
22849 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
22850 unconditional.
22851 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22852 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
22853 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
22854 Remove.
22855 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
22856 [!__ASSUME_STD_AUXV]: Remove conditional code.
22857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
22858 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
22859 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
22860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
22861 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
22862 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22863 code.
22864 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22866 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
22867 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22868 conditional code.
22869 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22871 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22872 code.
22873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22874 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22875 conditional code.
22876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
22877 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22878 code unconditional.
22879 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22880 conditional code.
22881 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22882 unconditional.
22883 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22884 conditional code.
22885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22886 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22887 unconditional.
22888 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22889 conditional code.
22890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
22891 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22892 code unconditional.
22893 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22894 conditional code.
22895 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22896 unconditional.
22897 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22898 conditional code.
22899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
22900 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22901 code unconditional.
22902 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22903 conditional code.
22904 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22905 unconditional.
22906 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22907 conditional code.
22908
842a39cd
AS
229092012-07-25 Andreas Schwab <schwab@linux-m68k.org>
22910
22911 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
22912 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
22913 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22914 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
22915 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
22916 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
22917 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22918 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
22919 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
22920 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
22921 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
22922 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
22923 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
22924 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
22925 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
22926 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
22927 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
22928 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
22929 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
22930 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
22931 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
22932 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
22933 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22934
84b3fd84
FW
229352012-07-25 Florian Weimer <fweimer@redhat.com>
22936
22937 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
22938 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
22939 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
22940 Introduce __libc_secure_getenv.
0c7936d5
FW
22941 * stdlib/Versions (2.17): Add secure_getenv
22942 (GLIBC_PRIVATE): Add __libc_secure_getenv.
22943 * stdlib/secure-getenv.c: Rename __secure_getenv to
22944 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
22945 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
22946 * stdlib/tst-secure-getenv.c: New.
22947 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
22948 * manual/startup.texi (Environment Access): Document
22949 secure_getenv.
84b3fd84
FW
22950 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
22951 __libc_secure_getenv.
22952 * inet/ruserpass.c (ruserpass): Likewise.
22953 * malloc/mtrace.c (mtrace): Likewise.
22954 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 22955 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
22956 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
22957 * sysdeps/posix/tempname.c: Likewise. Evaluate
22958 HAVE_SECURE_GETENV.
22959 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 22960 __secure_getenv to __libc_secure_getenv.
84b3fd84 22961 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
22962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22963 Likewise.
22964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22965 Likewise.
22966 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22967 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22968 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22969 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22970 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22971 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22972 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 22973
56e49b71
JM
229742012-07-25 Joseph Myers <joseph@codesourcery.com>
22975
22976 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
22977 (struct La_i86_retval): Likewise.
22978 (struct La_x86_64_regs): Likewise.
22979 (struct La_x86_64_retval): Likewise.
22980 (struct La_x32_regs): Likewise.
22981 (struct La_x32_retval): Likewise.
22982 (struct La_ppc32_regs): Likewise.
22983 (struct La_ppc32_retval): Likewise.
22984 (struct La_ppc64_regs): Likewise.
22985 (struct La_ppc64_retval): Likewise.
22986 (struct La_sh_regs): Likewise.
22987 (struct La_sh_retval): Likewise.
22988 (struct La_s390_32_regs): Likewise.
22989 (struct La_s390_32_retval): Likewise.
22990 (struct La_s390_64_regs): Likewise.
22991 (struct La_s390_64_retval): Likewise.
22992 (struct La_sparc32_regs): Likewise.
22993 (struct La_sparc32_retval): Likewise.
22994 (struct La_sparc64_regs): Likewise.
22995 (struct La_sparc64_retval): Likewise.
22996 (struct audit_ifaces): Remove architecture-specific pltenter and
22997 pltexit members.
22998 * sysdeps/i386/ldsodefs.h: New file.
22999 * sysdeps/powerpc/ldsodefs.h: Likewise.
23000 * sysdeps/s390/ldsodefs.h: Likewise.
23001 * sysdeps/sh/ldsodefs.h: Likewise.
23002 * sysdeps/sparc/ldsodefs.h: Likewise.
23003 * sysdeps/x86_64/ldsodefs.h: Likewise.
23004
354691b7
MP
230052012-07-25 Marek Polacek <polacek@redhat.com>
23006
23007 [BZ #6808]
23008 * math/libm-test.inc (yn_test): Add another test.
23009 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
23010 to ERANGE when the result is +-Inf.
23011 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
23012 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
23013 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
23014 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
23015
bf9e2071
JM
230162012-07-24 Joseph Myers <joseph@codesourcery.com>
23017
23018 * conform/data/time.h-data (NULL): Use macro-constant. Require
23019 equal to 0.
23020 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
23021 clock_t.
23022 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
23023
57633811
TS
230242012-07-23 Thomas Schwinge <thomas@codesourcery.com>
23025
23026 * configure.in <sysdeps resolving>: Correct printing
23027 Implies_before.
23028 * configure: Regenerate.
23029
c23c33b0
TS
230302012-07-22 Thomas Schwinge <thomas@codesourcery.com>
23031
23032 * math/w_ilogb.c: Include <limits.h>.
23033 * math/w_ilogbl.c: Likewise.
23034
b5982523
JM
230352012-07-20 Joseph Myers <joseph@codesourcery.com>
23036
23037 * manual/lang.texi (__va_copy): Document primarily as ISO C99
23038 va_copy. Document allowing for unavailable va_copy only as
23039 pre-C99 compatibility.
23040 * manual/string.texi (Copying and Concatenation): Use va_copy
23041 instead of __va_copy in concat example.
23042
ac4ea442
PT
230432012-07-20 Pino Toscano <toscano.pino@tiscali.it>
23044
23045 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
23046 (__sendto): Use create_address_port. Initialize APORT and deallocate
23047 it if not null.
23048
f98eafbd
PT
23049 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
23050 with O_NOLINK passed to __file_name_lookup.
23051
898c7aab
PT
23052 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
23053 with O_NOLINK passed to __file_name_lookup.
23054
0ced335a
PT
23055 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
23056 negative N or less than NGIDS.
23057
b3404dbd
PT
23058 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
23059 type to string_t. Set ERANGE as errno and return it if NAME is not big
23060 enough. Use memcpy instead of strncpy.
23061
0f48659e
JM
230622012-07-20 Joseph Myers <joseph@codesourcery.com>
23063
23064 * elf/Makefile (check-data): Remove.
23065 (localplt.data): New vpath directive.
23066 ($(objpfx)check-localplt.out): Use localplt.data from vpath
23067 instead of $(check-data).
23068 * scripts/data/localplt-generic.data: Move to ...
23069 * sysdeps/generic/localplt.data: ... here.
23070 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
23071 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
23072 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
23073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
23074 ... here.
23075 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
23076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
23077 ... here.
23078 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
23079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
23080 ... here.
23081 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
23082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
23083 ... here.
23084 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
23085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
23086 ... here.
23087 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
23088 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
23089 ... here.
23090
d37cbdaa
AZ
230912012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23092
23093 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
23094 PPC32 and PPC64 files.
23095 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
23096 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
23097
46f85fc2
AK
230982012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23099
23100 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
23101 __makecontext_ret to ...
23102 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
23103 ... here and call exit if uc_link is NULL. New file.
23104 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
23105 __makecontext_ret.S.
23106 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
23107 __makecontext_ret to ...
23108 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
23109 ... here and call exit if uc_link is NULL. New file.
23110 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
23111 __makecontext_ret.S.
23112
08f43f9b
AK
231132012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23114
23115 * elf/elf.h (R_390_IRELATIVE): New definition.
23116 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
23117 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
23118 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
23119 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23120 (elf_machine_lazy_rel): Likewise.
23121 * sysdeps/s390/dl-irel.h: New file.
23122 * sysdeps/s390/s390-64/memcpy.S: New asm code.
23123 * sysdeps/s390/s390-64/memset.S: New asm code.
23124 * sysdeps/s390/s390-64/memcmp.S: New asm code.
23125 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
23126 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
23127 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
23128 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
23129 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
23130 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
23131 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
23132 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
23133 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
23134 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
23135 * sysdeps/s390/s390-32/memcpy.S: New asm code.
23136 * sysdeps/s390/s390-32/memset.S: New asm code.
23137 * sysdeps/s390/s390-32/memcmp.S: New asm code.
23138
3b05db33
MP
231392012-07-17 Marek Polacek <polacek@redhat.com>
23140
23141 [BZ #14349]
23142 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
23143 * sysdeps/s390/s390-64/configure.in: Likewise.
23144 * sysdeps/sparc/configure.in: Likewise.
23145 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
23146 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
23147 * sysdeps/i386/configure.in: Likewise.
23148 * sysdeps/x86_64/configure.in: Likewise.
23149 * sysdeps/sh/configure.in: Likewise.
23150 * sysdeps/s390/s390-32/configure: Regenerated.
23151 * sysdeps/s390/s390-64/configure: Likewise.
23152 * sysdeps/x86_64/configure: Likewise.
23153 * sysdeps/sh/configure: Likewise.
23154 * sysdeps/powerpc/powerpc64/configure: Likewise.
23155 * sysdeps/powerpc/powerpc32/configure: Likewise.
23156 * sysdeps/sparc/configure: Likwise.
23157 * sysdeps/i386/configure: Likewise.
23158
a66877c6
MP
23159 * elf/dl-open.c: Comment fixes.
23160
cfc82fd8
JM
231612012-07-17 Joseph Myers <joseph@codesourcery.com>
23162
bd29910a
JM
23163 * Makefile [CXX] (check-data): Remove.
23164 [CXX] (c++-types.data): New vpath directive.
23165 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
23166 vpath. Do not allow for C++ type data being missing.
23167 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
23168 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
23169 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
23170 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
23171 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
23172 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
23173 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
23174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
23175 ... here.
23176 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
23177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
23178 ... here.
23179 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
23180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
23181 ... here.
23182 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
23183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
23184 ... here.
23185 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
23186 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
23187 ... here.
23188 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
23189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
23190 ... here.
23191 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
23192 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
23193 ... here.
23194 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
23195 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
23196
cfc82fd8
JM
23197 * elf/tls-macros.h (TLS_LE): Move architecture-specific
23198 definitions to architecture-specific files.
23199 (TLS_IE): Likewise.
23200 (TLS_LD): Likewise.
23201 (TLS_GD): Likewise.
23202 * sysdeps/i386/tls-macros.h: New file.
23203 * sysdeps/powerpc/tls-macros.h: Likewise.
23204 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
23205 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
23206 * sysdeps/sh/tls-macros.h: Likewise.
23207 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
23208 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
23209 * sysdeps/x86_64/tls-macros.h: Likewise.
23210
f7db3170
TS
232112012-07-17 Thomas Schwinge <thomas@codesourcery.com>
23212
07cbfc23
TS
23213 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
23214 zero value for regular exit case.
23215
f7db3170
TS
23216 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
23217 (__start_context): Preserve zero value for regular exit case.
23218
dc97c227
TS
232192012-07-17 Thomas Schwinge <thomas@codesourcery.com>
23220 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23221
23222 * manual/setjmp.texi (setcontext): Clarify normal process
23223 termination when uc_link is the null pointer.
23224 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
23225 exit call.
23226
d0cd7d02
AS
232272012-07-16 Andreas Schwab <schwab@linux-m68k.org>
23228
23229 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
23230 preprocessor. Test for each exception mask separately.
23231
dd318934
AJ
232322012-07-16 Andreas Jaeger <aj@suse.de>
23233
23234 * po/ru.po: Update from translation team.
23235
8048311a
JM
232362012-07-15 Joseph Myers <joseph@codesourcery.com>
23237
23238 * conform/data/string.h-data (NULL): Use macro-constant. Require
23239 equal to 0.
23240 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23241 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23242 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
23243 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
23244 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23245
b637d46e
AJ
232462012-07-13 Andreas Jaeger <aj@suse.de>
23247
23248 * po/fr.po: Update from translation team.
23249
541428fe
MP
232502012-07-12 Marek Polacek <polacek@redhat.com>
23251
23252 [BZ #14173]
23253 * math/libm-test.inc (yn_test): Add test for BZ #14173.
23254 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
23255 loop condition.
23256
ec332e94
JM
232572012-07-12 Joseph Myers <joseph@codesourcery.com>
23258
23259 [BZ #13717]
23260 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23261 Change to 2.4.1 where previously 2.4.0.
23262 * sysdeps/unix/sysv/linux/configure: Regenerated.
23263 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
23264 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
23265 version.
23266 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
23267 (__ASSUME_AT_CLKTCK): Remove.
23268 (__ASSUME_AT_PAGESIZE): Likewise.
23269 (__ASSUME_AT_XID): Likewise.
23270 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
23271 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
23272 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
23273 unconditionally.
23274 (HAVE_AUX_PAGESIZE): Likewise.
23275 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
23276 [__ASSUME_AT_CLKTCK]: Make code unconditional.
23277 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
23278
7b6e99be
JB
232792012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
23280
23281 [BZ #14307]
23282 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
23283 the temporary buffer used to invoke __gethostbyname2_r,
23284 __gethostbyaddr_r and gethostbyname4_r to make room for struct
23285 host_data / struct gaih_addrtuple.
23286 * resolv/nss_dns/dns-host.c (global scope): Move definition of
23287 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
23288 header file nss/nsswitch.h.
23289 * nss/nsswitch.h (global scope): Add definition of implementation
23290 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
23291 resolv/nss_dns/dns-host.c).
23292
608404eb
AJ
232932012-07-11 Andreas Jaeger <aj@suse.de>
23294
23295 * po/fr.po: Update from translation team.
23296
71220aca
AJ
23297 * po/sv.po: Update from translation team
23298 * po/fr.po: Another update from translation team.
23299
28cfe843
AZ
233002012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23301
23302 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
23303 for subnormals or multiply small sinh result by itself.
23304 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23305 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23306
6b90f981
DM
233072012-07-11 David S. Miller <davem@davemloft.net>
23308
23309 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23310
c6825772
AS
233112012-07-10 Andreas Schwab <schwab@linux-m68k.org>
23312
23313 [BZ #14347]
23314 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
23315 (INTERNAL_MARK): Shift it here.
23316
7b8e0d49
MP
233172012-07-10 Marek Polacek <polacek@redhat.com>
23318
23319 [BZ #14151]
23320 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
23321 libc_cv_asm_global_directive with .globl.
23322 * configure: Regenerated.
23323 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
23324 with .globl.
23325 * sysdeps/i386/configure: Regenerated.
23326 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
23327 with .globl.
23328 * sysdeps/x86_64/configure: Regenerated.
23329 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
23330 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
23331 * elf/tst-unique2mod2.c: Likewise.
23332 * elf/tst-unique2mod1.c: Likewise.
23333 * elf/tst-unique1mod2.c: Likewise.
23334 * elf/tst-unique1mod1.c: Likewise.
23335 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23336 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
23337 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23338 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23339 * sysdeps/mach/sysdep.h: Likewise.
23340 * sysdeps/i386/sysdep.h: Likewise.
23341 * sysdeps/i386/i386-mcount.S: Likewise.
23342 * sysdeps/x86_64/_mcount.S: Likewise.
23343 * sysdeps/x86_64/sysdep.h: Likewise.
23344 * sysdeps/sh/_mcount.S: Likewise.
23345 * sysdeps/sh/sysdep.h: Likewise.
23346 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
23347 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
23348 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
23349 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23350 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
23351 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
23352 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
23353 * locale/localeinfo.h: Likewise.
23354 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
23355 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
23356
6c55cda3
RM
233572012-07-09 Roland McGrath <roland@hack.frob.com>
23358
23359 [BZ #14336]
23360 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
23361 system".
23362 * manual/message.texi (The Uniforum approach): Likewise.
23363 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
23364 (glibc iconv Implementation): Likewise.
23365
638a572e
JM
233662012-07-09 Joseph Myers <joseph@codesourcery.com>
23367
23368 [BZ #14337]
23369 * math/s_clog.c (__clog): Avoid scaling a value down where that
23370 could result in underflow.
23371 * math/s_clog10.c (__clog10): Likewise.
23372 * math/s_clog10f.c (__clog10f): Likewise.
23373 * math/s_clog10l.c (__clog10l): Likewise.
23374 * math/s_clogf.c (__clogf): Likewise.
23375 * math/s_clogl.c (__clogl): Likewise.
23376 * math/libm-test.inc (clog_test): Add more tests.
23377 (clog10_test): Likewise.
23378 * sysdeps/i386/fpu/libm-test-ulps: Update.
23379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23380
261f4859
AS
233812012-07-06 Andreas Schwab <schwab@linux-m68k.org>
23382
0abaf3e4
AS
23383 [BZ #14283]
23384 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
23385 by 7 not 8 to examine high bit of fractional part.
23386
261f4859
AS
23387 [BZ #14042]
23388 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
23389 for call to __mcount_internal.
23390 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
23391 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
23392 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
23393
f17ac40d
JM
233942012-07-06 Joseph Myers <joseph@codesourcery.com>
23395
9ad63c23
JM
23396 [BZ #14154]
23397 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
23398 approximation for values within 0x1p-13f of an odd multiple of
23399 pi/4.
23400 * math/libm-test.inc (tan_test): Do not allow spurious underflow
23401 exception. Add more tests.
23402 * sysdeps/i386/fpu/libm-test-ulps: Update.
23403
f17ac40d
JM
23404 [BZ #6778]
23405 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
23406 inputs and return -1 for them. Do not check for +Inf in case not
23407 reachable for +Inf.
23408 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
23409 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
23410 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23411 and return -1 for them. Do not check for +Inf in case not
23412 reachable for +Inf.
23413 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
23414 define.
23415 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23416 and return -1 for them. Do not check for +Inf in case not
23417 reachable for +Inf.
23418 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
23419 spurious underflow.
23420 * sysdeps/i386/fpu/libm-test-ulps: Update.
23421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23422
fb21f89b
MF
234232012-07-06 Mike Frysinger <vapier@gentoo.org>
23424
23425 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
23426
cdfe2c5e
JM
234272012-07-05 Joseph Myers <joseph@codesourcery.com>
23428
23429 [BZ #14157]
23430 [BZ #14331]
23431 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
23432 could result in spurious underflow. Scale down values above
23433 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
23434 * math/s_csqrtf.c (__csqrtf): Likewise.
23435 * math/s_csqrtl.c (__csqrtl): Likewise.
23436 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
23437 spurious underflow.
23438 * sysdeps/i386/fpu/libm-test-ulps: Update.
23439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23440
70d35b67
AS
234412012-07-04 Andreas Schwab <schwab@linux-m68k.org>
23442
704bc459
AS
23443 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
23444 xopen-msg.sed.
23445 * catgets/xopen-msg.awk: New file.
23446 * catgets/xopen-msg.sed: Removed.
23447
70d35b67
AS
23448 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
23449 po2text.sed.
23450 * intl/po2test.awk: New file.
23451 * intl/po2test.sed: Removed.
23452
ca61cf32
JM
234532012-07-04 Joseph Myers <joseph@codesourcery.com>
23454
23455 [BZ #14328]
23456 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
23457 or multiply small sinh result by itself.
23458 * math/s_ctanf.c (__ctanf): Likewise.
23459 * math/s_ctanh.c (__ctanh): Likewise.
23460 * math/s_ctanhf.c (__ctanhf): Likewise.
23461 * math/s_ctanhl.c (__ctanhl): Likewise.
23462 * math/s_ctanl.c (__ctanl): Likewise.
23463 * math/libm-test.inc (ctan_test_tonearest): New function.
23464 (ctan_test_towardzero): Likewise.
23465 (ctan_test_downward): Likewise.
23466 (ctan_test_upward): Likewise.
23467 (ctanh_test_tonearest): Likewise.
23468 (ctanh_test_towardzero): Likewise.
23469 (ctanh_test_downward): Likewise.
23470 (ctanh_test_upward): Likewise.
23471 (main): Call these new functions.
23472 * sysdeps/i386/fpu/libm-test-ulps: Update.
23473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23474
ca48a46a
MF
234752012-07-03 Mike Frysinger <vapier@gentoo.org>
23476
23477 * .gitignore: Delete /ports entry.
23478
9d63d37d
AJ
234792012-07-03 Andreas Jaeger <aj@suse.de>
23480
23481 * po/bg.po: Update from translation team.
23482 * po/cs.po: Likewise.
23483 * po/de.po: Likewise.
23484 * po/hr.po: Likewise.
23485 * po/nl.pl: Likewise.
23486 * po/pl.po: Likewise.
23487 * po/vi.po: Likewise.
23488
370ca3d2
JM
234892012-07-03 Joseph Myers <joseph@codesourcery.com>
23490
95f5a9a8
JM
23491 * Makeconfig [!+link] (+link-before-libc): New variable.
23492 [!+link] (+link-after-libc): Likewise.
23493 [!+link] (+link-tests): Likewise.
23494 [!+link] (+link): Define in terms of $(+link-before-libc) and
23495 $(+link-after-libc).
23496 [!+link-static] (+link-static-before-libc): New variable.
23497 [!+link-static] (+link-static-after-libc): Likewise.
23498 [!+link-static] (+link-static-tests): Likewise.
23499 [!+link-static] (+link-static): Define in terms of
23500 $(+link-static-before-libc) and $(+link-static-after-libc).
23501 [build-shared] (link-libc-before-gnulib): New variable.
23502 [build-shared] (link-libc-tests): Likewise.
23503 [build-shared] (link-libc): Define in terms of
23504 $(link-libc-before-gnulib).
23505 [!build-shared] (link-libc-tests): New variable.
23506 (link-libc-static-tests): New variable.
23507 [!gnulib] (gnulib-arch): New variable.
23508 [!gnulib] (gnulib-tests): Likewise.
23509 [!gnulib] (static-gnulib-arch): Likewise.
23510 [!gnulib] (static-gnulib-tests): Likewise.
23511 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
23512 Define with "=" instead of ":=".
23513 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
23514 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
23515 * Rules (binaries-all-notests): New variable.
23516 (binaries-all-tests): Likewise.
23517 (binaries-static-notests): Likewise.
23518 (binaries-static-tests): Likewise.
23519 (binaries-all): Define using $(binaries-all-notests) and
23520 $(binaries-all-tests).
23521 (binaries-static): Define using $(binaries-static-notests) and
23522 $(binaries-static-tests).
23523 (binaries-shared-tests): New variable.
23524 (binaries-shared-notests): Likewise.
23525 (binaries-shared): Remove variable.
23526 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
23527 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
23528 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
23529 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
23530 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
23531 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
23532 * elf/Makefile (sln-modules): New variable.
23533 (extra-objs): Add $(sln-modules:=.o).
23534 (ldconfig-modules): Add static-stubs.
23535 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
23536 * elf/static-stubs.c: New file.
23537
7a845b2c
JM
23538 [BZ #14283]
23539 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
23540 by 7 not 8 to examine high bit of fractional part. Use volatile
23541 variables when splitting into final array of floats if
23542 __FLT_EVAL_METHOD__ != 0.
23543 * math/libm-test.inc (cos_test): Add another test.
23544 (sin_test): Likewise.
23545 * sysdeps/i386/fpu/libm-test-ulps: Update.
23546
e2283f38
JM
23547 [BZ #14273]
23548 * math/libm-test.inc (cosh_test): Add more tests.
23549
370ca3d2
JM
23550 * version.h (RELEASE): Set to "development".
23551 (VERSION): Set to "2.16.90".
23552
ee9247c3
CD
235532012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
23554
23555 * NEWS: Update copyright. Remove last-updated date.
23556 Mention math library bug fixes and timezone data changes.
23557 * README: Mention GNU/Hurd, x32, and HPPA support status.
23558
4648c381
TS
235592012-06-28 Thomas Schwinge <thomas@codesourcery.com>
23560
23561 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
23562
aac78a43
AJ
235632012-06-27 Andreas Jaeger <aj@suse.de>
23564
23565 * manual/contrib.texi (Contributors): Add Samuel Thibault.
23566
ed3dbfad
AJ
235672012-06-25 Andreas Jaeger <aj@suse.de>
23568
23569 * sysdeps/s390/fpu/libm-test-ulps: Update.
23570
4d0ee855
AS
235712012-06-23 Andreas Schwab <schwab@linux-m68k.org>
23572 Thomas Schwinge <thomas@codesourcery.com>
23573
23574 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
23575 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
23576 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
23577 fanotify_mark.
23578
af1bce34
TS
235792012-06-23 Thomas Schwinge <thomas@codesourcery.com>
23580
a9fa33ba
TS
23581 * sysdeps/mach/start.c: Remove file.
23582 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
23583 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
23584 * sysdeps/sh/init-first.c: Likewise.
23585
58f902b8
TS
23586 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
23587 registers for frame unwinding purposes, add CFI directives.
23588 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23589 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
23590 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
23591 Likewise.
23592
1518f58b
TS
23593 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
23594 __fortify_fail returning.
23595 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23596
db9b5059
TS
23597 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
23598 sysdeps/sh/____longjmp_chk.S.
23599 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
23600 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
23601 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
23602 (gen-as-const-headers): Append sigaltstack-offsets.sym.
23603
967705fe
TS
23604 * sysdeps/sh/abort-instr.h: New file.
23605 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
23606 process in case exit returns.
23607
a9def8c4
TS
23608 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
23609 initialize the GOT register before use.
23610
2a649725
TS
23611 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
23612 calculation of ARGC > 4.
23613
af1bce34
TS
23614 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
23615 meaningful names to some local labels.
23616
d230f50a
KK
236172012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23618 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23619
23620 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
23621 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
23622 (__arch_compare_and_exchange_val_16_acq): Likewise.
23623 (__arch_compare_and_exchange_val_32_acq): Likewise.
23624 (atomic_exchange_and_add): Fix gUSA sequence.
23625 (atomic_add): Likewise.
23626 (atomic_add_negative): Likewise.
23627 (atomic_add_zero): Likewise.
23628 (atomic_bit_test_set): Likewise.
23629
0479b305
AS
236302012-06-22 Andreas Schwab <schwab@redhat.com>
23631
23632 [BZ #13579]
23633 * include/link.h (struct link_map): Add l_free_initfini.
23634 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
23635 l_initfini.
23636 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
23637 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
23638 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
23639 set.
23640
0e3933b9
CD
236412012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
23642
23643 * configure.in: Use AC_LANG_SOURCE.
23644 * configure: Regenerate.
23645
4248b1b1
RM
236462012-06-22 Roland McGrath <roland@hack.frob.com>
23647
23648 * configure.in (libc_cv_localstatedir): New substituted variable.
23649 * configure: Regenerated.
23650 * config.make.in (localstatedir): New variable, substituted from
23651 libc_cv_localstatedir.
23652 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
23653 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
23654 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
23655 * sysdeps/gnu/configure: Regenerated.
23656
006dd861
JL
236572012-06-21 Jeff Law <law@redhat.com>
23658
23659 [BZ #14277]
23660 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
23661 free. Simplify list management for _LIBC case.
23662
79662d42
JM
236632012-06-21 Joseph Myers <joseph@codesourcery.com>
23664
b7abb4bf
JM
23665 [BZ #14273]
23666 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
23667 Clear sign bit of 64-bit integer value before comparing against
23668 overflow value.
23669
79662d42
JM
23670 * sysdeps/mach/configure: Regenerated.
23671
1f150908
L
236722012-06-21 H.J. Lu <hongjiu.lu@intel.com>
23673
23674 [BZ #14278]
23675 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
23676
28363bbf
JL
236772012-06-21 Jeff Law <law@redhat.com>
23678
23679 [BZ #13882]
23680 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
23681 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 23682 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
23683 * elf/dl-open.c (dl_open_worker): Likewise.
23684
09615db4
CD
236852012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
23686
23687 * scripts/list-sources.sh: Scan PORTS for translations.
23688 * po/libc.pot: Regenerated.
23689
2174c6dd
AJ
236902012-06-21 Andreas Jaeger <aj@suse.de>
23691
23692 [BZ #12194]
23693 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
23694 warning.
23695 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
23696 * bits/byteswap-16.h (__bswap_16): Likewise.
23697 * bits/byteswap.h (__bswap_constant_16): Likewise.
23698
3ee947b1
L
236992012-06-18 H.J. Lu <hongjiu.lu@intel.com>
23700
23701 [BZ #14117]
a2f34833
L
23702 * sysdeps/i386/fpu_control.h: Removed.
23703 * sysdeps/x86_64/fpu_control.h: Moved to ...
23704 * sysdeps/x86/fpu_control.h: Here.
23705
3ee947b1
L
23706 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
23707 (_FPU_SETCW): Likewise.
23708
ed1825f8
L
237092012-06-15 H.J. Lu <hongjiu.lu@intel.com>
23710
25f1282a
L
23711 [BZ #14117]
23712 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
23713 * sysdeps/x86/fpu/bits/mathinline.h: This.
23714 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
23715
ed1825f8
L
23716 [BZ #14050]
23717 [BZ #14117]
23718 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
23719 functions if __x86_64__ is defined.
23720
36d54b74
CLT
237212012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
23722
23723 * string/endian.h: Add !__ASSEMBLER__ condition for including
23724 conversion interfaces.
23725
10285c21
JM
237262012-06-15 Joseph Myers <joseph@codesourcery.com>
23727
23728 [BZ #14241]
23729 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
23730 of ABS(x) in calculating zero to negative powers other than odd
23731 integers.
23732 * math/libm-test.inc (pow_test): Add more tests.
23733
06c5abbd
AJ
237342012-06-15 Andreas Jaeger <aj@suse.de>
23735
23736 * manual/contrib.texi (Contributors): Update entry of Liubov
23737 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
23738 Machado Filho.
23739
a3aeac40
CH
237402012-06-15 Cyril Hrubis <metan@ucw.cz>
23741
23742 * string/string.h: Add __wur to GNU version of strerror_r.
23743
49bdf4c1
L
237442012-06-14 H.J. Lu <hongjiu.lu@intel.com>
23745
23746 [BZ #14229]
23747 * string/Makefile (tests): Add tst-strtok_r.
23748 * string/tst-strtok_r.c: New file.
23749 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
23750 RAX_LP/RDX_LP on SAVE_PTR.
23751
834f9b8d
RM
237522012-06-14 Roland McGrath <roland@hack.frob.com>
23753
23754 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
23755
75fa1921
JM
237562012-06-14 Joseph Myers <joseph@codesourcery.com>
23757
23758 * libm_test.inc (csqrt_test): Allow more spurious underflow
23759 exceptions.
23760 (j0_test): Likewise.
23761 (j1_test): Likewise.
23762 (y0_test): Likewise.
23763 (y1_test): Likewise.
23764
771766df
CD
237652012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
23766
23767 * po/Makefile (libc.pot): Use UTF-8 charset.
23768
ceb9e56b
PP
237692012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
23770
23771 [BZ #14210]
23772 Suppress sign-conversion warning from FD_SET.
23773 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
23774 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
23775 not unsigned long int.
23776 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
23777
ddb28975
L
237782012-06-12 H.J. Lu <hongjiu.lu@intel.com>
23779
23780 [BZ #14050]
23781 [BZ #14117]
23782 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
23783 __extern_always_inline instead of __extern_inline.
23784 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
23785 (__signbit): Likewise.
23786 (__signbitl): Support C++ namespace.
23787 (lrintf): New inline function.
23788 (lrint): Likewise.
23789 (llrintf): Likewise.
23790 (llrint): Likewise.
23791 (fmaxf): Likewise.
23792 (fmax): Likewise.
23793 (fminf): Likewise.
23794 (fmin): Likewise.
23795 (rint): Likewise.
23796 (rintf): Likewise.
23797 (ceil): Likewise.
23798 (ceilf): Likewise.
23799 (floor): Likewise.
23800 (floorf): Likewise.
23801 (nearbyint): Likewise.
23802 (nearbyintf): Likewise.
23803
d7b4fb26
TS
238042012-06-12 Thomas Schwinge <thomas@codesourcery.com>
23805
23806 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
23807 non-default versions.
23808
eb55f5c2
RM
238092012-06-11 Roland McGrath <roland@hack.frob.com>
23810
23811 [BZ #14218]
23812 * manual/argp.texi (Argp): Reword argp_parse description slightly.
23813
366af02c
TS
238142012-06-09 Thomas Schwinge <thomas@codesourcery.com>
23815
99ff6e5c
TS
23816 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
23817 (FE_UPWARD, FE_DOWNWARD): Don't define.
23818 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
23819 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23820
366af02c
TS
23821 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
23822 reading it.
23823 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23824 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23825
793ea851
KK
238262012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23827
23828 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23829 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
23830 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
23831 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
23832
a728a38f
L
238332012-06-06 H.J. Lu <hongjiu.lu@intel.com>
23834
23835 [BZ #14117]
c08010c7
L
23836 * sysdeps/i386/fpu/bits/fenv.h: Removed.
23837 * sysdeps/i386/fpu/Implies: New file.
23838 * sysdeps/x86_64/fpu/Implies: Likewise.
23839 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
23840 * sysdeps/x86/fpu/bits/fenv.h: This.
23841
a728a38f
L
23842 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
23843 __SSE_MATH__.
23844
6e230d11
SP
238452012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23846
23847 [BZ #14134]
23848 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
23849 character 0xffff that matches the last element of the
23850 conversion table.
23851
1b671feb
AZ
238522012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23853
23854 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
23855 fmodl commit.
23856
6043738b
AZ
238572012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23858
23859 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
23860 values higher than 25.6283.
23861
34ae0b32
AZ
238622012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23863
23864 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
23865 subnormal exponent extraction and add some __builtin_expect.
23866 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
23867 Fix for subnormal mantissa calculation.
23868
1214ec8f
MF
238692012-06-04 Mike Frysinger <vapier@gentoo.org>
23870
23871 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
23872 cpu2 is -1 and errno is not ENOSYS.
23873
f3d1f93c
L
238742012-06-04 H.J. Lu <hongjiu.lu@intel.com>
23875
23876 [BZ #14117]
0e4a3cd7
L
23877 * sysdeps/i386/i486/bits/string.h: Renamed to ...
23878 * sysdeps/x86/bits/string.h: This.
23879 * sysdeps/x86_64/bits/string.h: Removed.
23880
6704c645
L
23881 * sysdeps/i386/i486/bits/string.h: Define inline functions only
23882 if not compiling for x86-64, but compiling for >= i486.
23883
48495318
L
23884 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
23885 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
23886
14adcbfc
L
23887 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
23888 New macro from Linux kernel 3.4.0.
23889 (FP_XSTATE_MAGIC2): Likewise.
23890 (FP_XSTATE_MAGIC2_SIZE): Likewise.
23891 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
23892 (struct _fpx_sw_bytes): New struct.
23893 (struct _xsave_hdr): Likewise.
23894 (struct _ymmh_state): Likewise.
23895 (struct _xstate): Likewise.
23896
68e408ab
L
23897 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
23898 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
23899 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
23900 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
23901 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
23902 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
23903
f3d1f93c
L
23904 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
23905 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
23906 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
23907 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
23908 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
23909 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
23910
d9dc34cd
TMQMF
239112012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23912
23913 [BZ #13743]
23914 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
23915 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
23916 (sysdep_headers): Include sys/platform/ppc.h.
23917 * sysdeps/powerpc/test-gettimebase.c: Test for
23918 __ppc_get_timebase() to catch future ISA opcode/insn changes.
23919 * manual/Makefile (appendices): Include platform.texi.
23920 * manual/contrib.texi (Contributors): Update @node pointers.
23921 * manual/maint.texi (Maintenance): Likewise.
23922 (Platform): New node.
23923 * manual/platform.texi: New file. Document the new features.
23924
4af3879c
SP
239252012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23926 Jakub Jelinek <jakub@redhat.com>
23927
23928 [BZ #14188]
23929 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
23930 where __builtin_expect is unavailable.
23931
2fd6ff13
DM
239322012-06-03 David S. Miller <davem@davemloft.net>
23933
23934 * stdlib/longlong.h: Updated from GCC.
23935
173f7220
AS
239362012-06-02 Andreas Schwab <schwab@linux-m68k.org>
23937
23938 [BZ #14042]
23939 * sysdeps/powerpc/powerpc32/mcount.c: New file.
23940 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
23941 __mcount_internal.
23942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23943 (GLIBC_2.16): Likewise.
23944
f34a1c6f
L
239452012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23946
23947 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
23948
88a4576f
JM
239492012-06-01 Joseph Myers <joseph@codesourcery.com>
23950
ea32bcdd
JM
23951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
23952 (default-abi): New variable.
23953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
23954 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
23955 variable.
23956 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
23957 Likewise.
23958 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
23959 Likewise.
23960 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
23961 Likewise.
23962
88a4576f
JM
23963 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
23964 definition. Document in comment.
23965
402fe938
DM
239662012-06-01 David S. Miller <davem@davemloft.net>
23967
23968 * stdlib/longlong.h: Updated from GCC.
23969
3553723f
L
239702012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23971
23972 [BZ #14117]
3bd872c4
L
23973 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
23974 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
23975 sys/debugreg.h sys/io.h here.
23976 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
23977 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
23978 sys/io.h.
23979 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
23980 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
23981 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
23982 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
23983 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
23984 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
23985
3553723f
L
23986 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
23987 Define only if __x86_64__ is defined.
23988
4842e4fe
JM
239892012-06-01 Joseph Myers <joseph@codesourcery.com>
23990
c5bfe3d5
JM
23991 [BZ #14048]
23992 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
23993 Use int64_t for variable i.
23994 * math/libm-test.inc (fmod_test): Add more tests.
23995
4842e4fe
JM
23996 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
23997 z computation is not scheduled after fetestexcept.
23998 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
23999 Use math_force_eval instead of asm to ensure calculation scheduled
24000 before exception test.
24001 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
24002 Ensure a1 + u.d computation is not scheduled after fetestexcept.
24003
efb73488
AJ
240042012-06-01 Aurelien Jarno <aurelien@aurel32.net>
24005
24006 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
24007 computation is not scheduled after fetestexcept.
24008
29bcce7c
L
240092012-06-01 H.J. Lu <hongjiu.lu@intel.com>
24010
24011 [BZ #14117]
24012 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
24013 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
24014
73a68f94
AZ
240152012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24016
24017 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
24018 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24019
67b6df78
L
240202012-05-31 H.J. Lu <hongjiu.lu@intel.com>
24021
edf2933a 24022 [BZ #14117]
ebc64a18
L
24023 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
24024 <bits/wordsize.h>.
24025 (__WCHAR_MIN): Support __WORDSIZE == 64.
24026 (__WCHAR_MAX): Likewise.
24027
edf2933a
L
24028 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
24029 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
24030
57c6cf40
L
24031 [BZ #14183]
24032 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
24033 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
24034
67b6df78 24035 [BZ #14117]
8eb6281e
L
24036 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
24037 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
24038
aac639f4
L
24039 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
24040 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
24041
67b6df78
L
24042 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
24043 Defined to 1 if __x86_64__ isn't defined.
24044 (_STAT_VER_LINUX_OLD): New.
24045 (st_atime): Remove duplicate.
24046 (st_mtime): Likewise.
24047 (st_ctime): Likewise.
24048
1c2cfe81
DM
240492012-05-31 David S. Miller <davem@davemloft.net>
24050
24051 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
24052 entries.
24053
5be8418c
AS
240542012-06-01 Andreas Schwab <schwab@linux-m68k.org>
24055
e7725326
AS
24056 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
24057 gen-libm-test.pl.
24058
5be8418c
AS
24059 [BZ #14132]
24060 * elf/dl-reloc.c: Include <_itoa.h>.
24061 (_dl_reloc_bad_type): Remove use of INTUSE.
24062 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
24063 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
24064 * stdio-common/psiginfo.c (psiginfo): Likewise.
24065 * stdio-common/psignal.c (psignal): Likewise.
24066 * string/strsignal.c (strsignal): Likewise.
24067 * include/signal.h (_sys_siglist): Declare hidden proto.
24068 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
24069 INTVARDEF with libc_hidden_data_def.
24070 * stdio-common/itoa-udigits.c: Likewise.
24071 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
24072 (_itoa_lower_digits_internal): Remove declaration.
24073 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
24074 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
24075 (_sys_sigabbrev_internal): Remove aliases.
24076 (_sys_siglist): Define hidden alias.
24077
507352f1
MT
240782012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
24079
24080 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24081 bits/sysctl.h.
24082
42bbb1c3
L
240832012-05-31 H.J. Lu <hongjiu.lu@intel.com>
24084
24085 [BZ #14117]
6bd784b6
L
24086 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
24087 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
24088
8bca20f0
L
24089 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
24090 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
24091 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
24092 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
24093 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
24094 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
24095
f9e890a9
L
24096 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
24097 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
24098 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
24099
471101a1
L
24100 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
24101 with __addr.
24102 (insw): Likewise.
24103 (insl): Likewise.
24104 (outsb): Likewise.
24105 (outsw): Likewise.
24106 (outsl): Likewise.
24107
6451c862
L
24108 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
24109 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
24110 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
24111
a254b8c9
L
24112 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
24113 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
24114 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
24115 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
24116 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
24117 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
24118
b8dfdd92
L
24119 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
24120 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
24121
578cd270
L
24122 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
24123 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
24124
de662f5f
L
24125 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
24126 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
24127 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
24128
25653439
L
24129 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
24130 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
24131 to ...
24132 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
24133
6bad24a0
L
24134 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
24135 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
24136 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
24137
42bbb1c3
L
24138 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
24139 for x86-64.
24140 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
24141
2d10d547
JM
241422012-05-31 Joseph Myers <joseph@codesourcery.com>
24143
24144 * math/math.h (M_El): Use two more decimal places.
24145 (M_LOG2El): Likewise.
24146 (M_LOG10El): Likewise.
24147 (M_LN2l): Likewise.
24148 (M_LN10l): Likewise.
24149 (M_PIl): Likewise.
24150 (M_PI_2l): Likewise.
24151 (M_PI_4l): Likewise.
24152 (M_1_PIl): Likewise.
24153 (M_2_PIl): Likewise.
24154 (M_2_SQRTPIl): Likewise.
24155 (M_SQRT2l): Likewise.
24156 (M_SQRT1_2l): Likewise.
24157
f230c29b
DM
241582012-05-31 David S. Miller <davem@davemloft.net>
24159
24160 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
24161 values between float registers.
24162 * sysdeps/sparc/sparc64/memset.S: Likewise.
24163 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24164
fed806c3
MF
241652012-05-31 Mike Frysinger <vapier@gentoo.org>
24166
24167 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
24168 -D_FORTIFY_SOURCE=1.
24169 (CPPFLAGS-tst-longjmp_chk.c): Define.
24170 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
24171 (CPPFLAGS-tst-longjmp_chk2.c): Define.
24172 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
24173 CFLAGS-tst-wchar-h.c.
24174
30917259
MP
241752012-05-31 Marek Polacek <polacek@redhat.com>
24176
24177 [BZ #14132]
24178 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
24179 __endmntent_internal): Remove declaration.
24180 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
24181 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
24182 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
24183
1c58d5dc
DM
241842012-05-30 David S. Miller <davem@davemloft.net>
24185
24186 * sysdeps/sparc/sparc32/soft-fp/q_util.c
24187 (___Q_simulate_exceptions): Use real FP ops rather than writing
24188 into the %fsr.
24189 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
24190 Likewise.
24191
7dc00e0d
L
241922012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24193
24194 [BZ #14117]
0bd53985
L
24195 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
24196 * sysdeps/x86/bits/xtitypes.h: This.
24197
3a257e66
L
24198 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
24199 * sysdeps/x86/bits/wordsize.h: This.
24200
62f62904
L
24201 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
24202 * sysdeps/x86/bits/huge_vall.h: This.
24203
404fe9d9
L
24204 * sysdeps/i386/bits/select.h: Removed.
24205 * sysdeps/x86_64/bits/select.h: Renamed to ...
24206 * sysdeps/x86/bits/select.h: This.
24207
d48d0446
L
24208 * sysdeps/i386/bits/setjmp.h: Removed.
24209 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
24210 * sysdeps/x86/bits/setjmp.h: This.
24211
7dc00e0d
L
24212 * sysdeps/i386/bits/mathdef.h: Removed.
24213 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
24214 * sysdeps/x86/bits/mathdef.h: This.
24215
03277f8f
AS
242162012-05-30 Andreas Schwab <schwab@linux-m68k.org>
24217
24218 [BZ #14132]
24219 * include/sys/socket.h (__connect_internal)
24220 (__libc_sa_len_internal): Remove declaration.
24221 (__connect, __libc_sa_len): Declare hidden_proto.
24222 (SA_LEN): Remove use of INTUSE.
24223 * socket/connect.c: Add libc_hidden_def.
24224 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
24225 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
24226 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
24227 alias.
24228 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
24229 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
24230 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
24231 of adding _internal alias.
24232
13764867
L
242332012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24234
24235 [BZ #14117]
6bd97696
L
24236 * sysdeps/i386/bits/link.h: Removed.
24237 * sysdeps/i386/bits/linkmap.h: Likewise.
24238 * sysdeps/x86_64/bits/link.h: Renamed to ...
24239 * sysdeps/x86/bits/link.h: This.
24240 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
24241 * sysdeps/x86/bits/linkmap.h: This.
24242
f726f0bb
L
24243 * sysdeps/i386/bits/endian.h: Removed.
24244 * sysdeps/x86_64/bits/endian.h: Renamed to ...
24245 * sysdeps/x86/bits/endian.h: This.
24246
13764867
L
24247 * sysdeps/i386/bits/byteswap.h: Removed.
24248 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24249 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
24250 * sysdeps/x86/bits/byteswap.h: This.
24251 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
24252 * sysdeps/x86/bits/byteswap-16.h: This.
24253 * sysdeps/i386/Implies: Add x86.
24254 * sysdeps/x86_64/Implies: Likewise.
24255
ae251b0b
DM
242562012-05-30 David S. Miller <davem@davemloft.net>
24257
24258 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
24259 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
24260 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24261 (FP_TRAPPING_EXCEPTIONS): Define.
24262 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24263 (FP_TRAPPING_EXCEPTIONS): Define.
24264 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
24265 subnormals only when inexact has been signalled or underflow
24266 exceptions are enabled.
24267 (_FP_PACK_CANONICAL): Likewise.
24268
d5c90867
L
242692012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24270
24271 [BZ #14183]
24272 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
24273 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
24274
63f1549e
RH
242752012-05-30 Richard Henderson <rth@twiddle.net>
24276
8d8f2279
RH
24277 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
24278 with #ifndef NOT_IN_libc.
24279
63f1549e
RH
24280 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
24281 marked to avoid plt entry.
24282
0ab0291b
L
242832012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24284
24285 [BZ #14112]
24286 * Makeconfig (default-abi): New macro.
24287 (abi-includes): Likewise.
24288 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
24289 $(abi-$(default-abi)-lib-soname) for soname if defined.
24290 ($(common-objpfx)gnu/lib-names.stmp): Generate from
24291 abi-variants.
24292 * Makefile (installed-stubs): Likewise.
24293 * include/stubs-biarch.h: Removed.
24294 * scripts/lib-names.awk: Only handle one library at a time.
24295 * scripts/soversions.awk: Remove WORDSIZE support.
24296 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
24297 entries.
24298 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
24299 Removed.
24300 (syscall-list-default-condition): Likewise.
24301 (syscall-list-default-condition): Likewise.
24302 (syscall-list-includes): Likewise.
24303 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
24304 syscall-list-* with abi-*. Handle undefined abi-variants.
24305 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
24306 * sysdeps/unix/sysv/linux/i386/Implies: New file.
24307 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
24308 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
24309 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
24310 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
24311 Removed.
24312 (syscall-list-32-options): Likewise.
24313 (syscall-list-32-condition): Likewise.
24314 (syscall-list-64-options): Likewise.
24315 (syscall-list-64-condition): Likewise.
24316 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
24317 macro.
24318 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
24319 Renamed to ...
24320 (abi-*): This.
24321 (abi-64-ld-soname): New macro.
24322 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
24323 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
24324 Renamed to ...
24325 (abi-*): This.
24326 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
24327 * sysdeps/x86_64/x32/shlib-versions: Likewise.
24328
4da0431d
JM
243292012-05-30 Joseph Myers <joseph@codesourcery.com>
24330
3a85279c
JM
24331 * sysdeps/unix/sysv/linux/kernel-features.h
24332 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
24333 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
24334 include <kernel-features.h>.
24335 [!__NR_ftruncate64]: Remove conditional code.
24336 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24337 [__NR_ftruncate64]: Make code unconditional.
24338 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24339 * sysdeps/unix/sysv/linux/truncate64.c: Do not
24340 include <kernel-features.h>.
24341 [!__NR_ftruncate64]: Remove conditional code.
24342 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24343 [__NR_ftruncate64]: Make code unconditional.
24344 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
24346 include <kernel-features.h>.
24347 [!__NR_ftruncate64]: Remove conditional code.
24348 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24349 [__NR_ftruncate64]: Make code unconditional.
24350 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24352 include <kernel-features.h>.
24353 [!__NR_ftruncate64]: Remove conditional code.
24354 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24355 [__NR_ftruncate64]: Make code unconditional.
24356 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24357
4da0431d
JM
24358 * configure.in (libc_cv_fpie): Weaken to a compile test using
24359 LIBC_TRY_CC_OPTION.
24360 * configure: Regenerated.
24361
11ef492c
AK
243622012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24363
24364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
24365 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
24366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
24367 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24368 Refreshed.
24369 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
24370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
24371 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
24372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
24373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
24374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24375 Refreshed.
24376
d66ef399
DM
243772012-05-27 David S. Miller <davem@davemloft.net>
24378
24379 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
24380 (___Q_zero): New.
24381 (__Q_simulate_exceptions): Return void. Change to simulate
24382 exceptions by writing into the %fsr.
24383 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
24384 (__Qp_handle_exceptions): Likewise.
24385 (numbers): Delete.
24386 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
24387 __Qp_handle_exceptions.
24388 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
24389 __Qp_handle_exceptions.
24390 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24391 as unused and give dummy FP_RND_NEAREST initializer.
24392 (FP_INHIBIT_RESULTS): Define.
24393 (___Q_simulate_exceptions): Update declaration.
24394 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
24395 formatting.
24396 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24397 as unused and give dummy FP_RND_NEAREST initializer.
24398 (__Qp_handle_exceptions): Update declaration.
24399 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
24400 formatting.
24401
04fb54b5
TS
244022012-05-27 Thomas Schwinge <thomas@codesourcery.com>
24403
24404 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
24405 the temporary FPU control word.
24406 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
24407 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
24408 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
24409 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
24410 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24411 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
24412 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24413 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24414 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24415 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
24416 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24417
3f99608f
KK
244182012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24419
24420 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
24421 fields.
24422
65a4de4e
CLT
244232012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
24424
24425 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
24426 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
24427 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
24428 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
24429 Likewise.
24430 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
24431 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
24432 Likewise.
24433
15749d40
UD
244342012-05-27 Ulrich Drepper <drepper@gmail.com>
24435
24436 * po/h.po: Update from translation team.
24437
25dbcb27
AS
244382012-05-26 Andreas Schwab <schwab@linux-m68k.org>
24439
3d3f8e55
AS
24440 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
24441
25dbcb27
AS
24442 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
24443 handling of denormals.
24444 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24445 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24446 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24447 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24448 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24449 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
24450 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
24451 Likewise.
24452
7ad47a80 244532012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
24454
24455 [BZ #14152]
24456 * math/libm-test.inc (fma_test): Don't always expect underflow
24457 exception.
24458
9c6ea9fa
SP
244592012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24460
24461 [BZ #12416]
24462 * elf/tst-execstack.c: Include stackinfo.h.
24463 (do_test): Adjust test case to ensure that pthread_getattr_np
24464 behaviour remains the same after marking stack executable.
24465
a8239222
JM
244662012-05-25 Joseph Myers <joseph@codesourcery.com>
24467
24468 * sysdeps/unix/sysv/linux/kernel-features.h
24469 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
24470 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
24471 kernel-features.h.
24472 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24473 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24474 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
24475 kernel-features.h.
24476 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24477 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24478
918b5606
L
244792012-05-25 H.J. Lu <hongjiu.lu@intel.com>
24480
24481 * configure.in: Define the default includes to being none.
24482 * configure: Regenerated.
24483
3a097cc7
RM
244842012-05-25 Roland McGrath <roland@hack.frob.com>
24485
8422c9a5
RM
24486 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
24487 * sysdeps/x86_64/setjmp.S: Likewise.
24488 * sysdeps/i386/bsd-setjmp.S: Likewise.
24489 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24490 * sysdeps/i386/setjmp.S: Likewise.
24491 * sysdeps/i386/__longjmp.S: Likewise.
24492 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24493 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
24494
3a097cc7
RM
24495 * include/stap-probe.h: New file.
24496 * configure.in: Handle --enable-systemtap.
24497 * configure: Regenerated.
24498 * config.h.in (USE_STAP_PROBE): New #undef.
24499 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
24500 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
24501 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24502
21708942
JM
245032012-05-25 Joseph Myers <joseph@codesourcery.com>
24504
24505 [BZ #13717]
24506 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24507 to 2.4.0 where earlier.
24508 * sysdeps/unix/sysv/linux/configure: Regenerated.
24509 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24510 <kernel-features.h>.
24511 [__ASSUME_32BITUIDS]: Make code unconditional.
24512 [!__ASSUME_32BITUIDS]: Remove conditional code.
24513 * sysdeps/unix/sysv/linux/i386/fchown.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/fchownat.c (fchownat)
24518 [__ASSUME_32BITUIDS]: Make code unconditional.
24519 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
24520 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
24521 <kernel-features.h>.
24522 [__ASSUME_32BITUIDS]: Make code unconditional.
24523 [!__ASSUME_32BITUIDS]: Remove conditional code.
24524 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
24525 <kernel-features.h>.
24526 [__ASSUME_32BITUIDS]: Make code unconditional.
24527 [!__ASSUME_32BITUIDS]: Remove conditional code.
24528 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
24529 <kernel-features.h>.
24530 [__ASSUME_32BITUIDS]: Make code unconditional.
24531 [!__ASSUME_32BITUIDS]: Remove conditional code.
24532 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
24533 <kernel-features.h>.
24534 [__ASSUME_32BITUIDS]: Make code unconditional.
24535 [!__ASSUME_32BITUIDS]: Remove conditional code.
24536 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24537 <kernel-features.h>.
24538 [__ASSUME_32BITUIDS]: Make code unconditional.
24539 [!__ASSUME_32BITUIDS]: Remove conditional code.
24540 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24541 <kernel-features.h>.
24542 [__ASSUME_32BITUIDS]: Make code unconditional.
24543 [!__ASSUME_32BITUIDS]: Remove conditional code.
24544 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
24545 <kernel-features.h>.
24546 [__ASSUME_32BITUIDS]: Make code unconditional.
24547 [!__ASSUME_32BITUIDS]: Remove conditional code.
24548 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24549 <kernel-features.h>.
24550 [__ASSUME_32BITUIDS]: Make code unconditional.
24551 [!__ASSUME_32BITUIDS]: Remove conditional code.
24552 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24553 <kernel-features.h>.
24554 [__ASSUME_32BITUIDS]: Make code unconditional.
24555 [!__ASSUME_32BITUIDS]: Remove conditional code.
24556 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
24557 <kernel-features.h>.
24558 [__ASSUME_32BITUIDS]: Make code unconditional.
24559 [!__ASSUME_32BITUIDS]: Remove conditional code.
24560 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
24561 <kernel-features.h>.
24562 [__NR_setresgid] (__setresgid): Do not declare.
24563 [__ASSUME_32BITUIDS]: Make code unconditional.
24564 [!__ASSUME_32BITUIDS]: Remove conditional code.
24565 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
24566 <kernel-features.h>.
24567 [__NR_setresuid] (__setresuid): Do not declare.
24568 [__ASSUME_32BITUIDS]: Make code unconditional.
24569 [!__ASSUME_32BITUIDS]: Remove conditional code.
24570 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
24571 <kernel-features.h>.
24572 [__ASSUME_32BITUIDS]: Make code unconditional.
24573 [!__ASSUME_32BITUIDS]: Remove conditional code.
24574 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
24575 <kernel-features.h>.
24576 [__ASSUME_32BITUIDS]: Make code unconditional.
24577 [!__ASSUME_32BITUIDS]: Remove conditional code.
24578 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
24579 <kernel-features.h>.
24580 [__ASSUME_32BITUIDS]: Make code unconditional.
24581 [!__ASSUME_32BITUIDS]: Remove conditional code.
24582 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
24583 <kernel-features.h>.
24584 [__ASSUME_32BITUIDS]: Make code unconditional.
24585 [!__ASSUME_32BITUIDS]: Remove conditional code.
24586 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
24587 <kernel-features.h>.
24588 [__ASSUME_32BITUIDS]: Make code unconditional.
24589 [!__ASSUME_32BITUIDS]: Remove conditional code.
24590 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
24591 <kernel-features.h>.
24592 [__ASSUME_32BITUIDS]: Make code unconditional.
24593 [!__ASSUME_32BITUIDS]: Remove conditional code.
24594 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
24595 <kernel-features.h>.
24596 [__ASSUME_32BITUIDS]: Make code unconditional.
24597 [!__ASSUME_32BITUIDS]: Remove conditional code.
24598 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
24599 <kernel-features.h>.
24600 [__ASSUME_32BITUIDS]: Make code unconditional.
24601 [!__ASSUME_32BITUIDS]: Remove conditional code.
24602 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
24603 <kernel-features.h>.
24604 [__ASSUME_32BITUIDS]: Make code unconditional.
24605 [!__ASSUME_32BITUIDS]: Remove conditional code.
24606 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24607 <kernel-features.h>.
24608 [__ASSUME_32BITUIDS]: Make code unconditional.
24609 [!__ASSUME_32BITUIDS]: Remove conditional code.
24610 * sysdeps/unix/sysv/linux/kernel-features.h
24611 (__ASSUME_SETRESUID_SYSCALL): Remove.
24612 (__ASSUME_SETRESGID_SYSCALL): Likewise.
24613 (__ASSUME_32BITUIDS): Likewise.
24614 (__ASSUME_LDT_WORKS): Likewise.
24615 (__ASSUME_O_DIRECTORY): Likewise.
24616 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
24617 architecture but not kernel version.
24618 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
24619 (__ASSUME_MMAP2_SYSCALL): Likewise.
24620 (__ASSUME_STAT64_SYSCALL): Likewise.
24621 (__ASSUME_IPC64): Likewise.
24622 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
24623 <kernel-features.h>.
24624 [__ASSUME_32BITUIDS]: Make code unconditional.
24625 [!__ASSUME_32BITUIDS]: Remove conditional code.
24626 * sysdeps/unix/sysv/linux/opendir.c: Do not include
24627 <kernel-features.h>.
24628 [__ASSUME_O_DIRECTORY]: Make code unconditional.
24629 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
24630 132096]: Remove conditional code.
24631 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
24632 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24633 <kernel-features.h>.
24634 [__ASSUME_32BITUIDS]: Make code unconditional.
24635 [!__ASSUME_32BITUIDS]: Remove conditional code.
24636 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24637 <kernel-features.h>.
24638 [__ASSUME_32BITUIDS]: Make code unconditional.
24639 [!__ASSUME_32BITUIDS]: Remove conditional code.
24640 * sysdeps/unix/sysv/linux/setegid.c: Do not include
24641 <kernel-features.h>.
24642 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
24643 unconditional.
24644 (__setresgid): Do not declare.
24645 [__ASSUME_32BITUIDS]: Make code unconditional.
24646 [!__ASSUME_32BITUIDS]: Remove conditional code.
24647 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
24648 <kernel-features.h>.
24649 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
24650 unconditional.
24651 (__setresuid): Do not declare.
24652 [__ASSUME_32BITUIDS]: Make code unconditional.
24653 [!__ASSUME_32BITUIDS]: Remove conditional code.
24654 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24655 <kernel-features.h>.
24656 [__ASSUME_32BITUIDS]: Make code unconditional.
24657 [!__ASSUME_32BITUIDS]: Remove conditional code.
24658 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
24659 <kernel-features.h>.
24660 [__ASSUME_32BITUIDS]: Make code unconditional.
24661 [!__ASSUME_32BITUIDS]: Remove conditional code.
24662
a386f1cc
RH
246632012-05-25 Richard Henderson <rth@twiddle.net>
24664
24665 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
24666 dl_hwcap to ifunc resolver.
24667 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
24668 elf_ifunc_invoke.
24669 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
24670 dl_hwcap to ifunc resolver.
24671 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
24672
b6550497
JM
246732012-05-24 Joseph Myers <joseph@codesourcery.com>
24674
24675 [BZ #14153]
24676 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
24677 for |x| <= 2**-26, not 2**-57.
24678 * math/libm-test.inc (acos_test): Do not allow spurious underflow
24679 exception.
24680
b0bc23a1
JL
246812012-05-24 Jeff Law <law@redhat.com>
24682
24683 * stdio-common/Makefile (tests): Add bug25.
24684 * stdio-common/bug25.c: New test.
24685
347c92e9
L
246862012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24687
24688 [BZ #13576]
24689 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
24690 multiple of MALLOC_ALIGNMENT in size.
24691 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
24692
6bcc8b3f
JM
246932012-05-24 Joseph Myers <joseph@codesourcery.com>
24694
24695 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
24696 Require >= 256.
24697 (FILENAME_MAX): Use macro-int-constant.
24698 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
24699 (_IOFBF): Use macro-int-constant.
24700 (_IOLBF): Likewise.
24701 (_IONBF): Likewise.
24702 (SEEK_CUR): Likewise.
24703 (SEEK_END): Likewise.
24704 (SEEK_SET): Likewise.
24705 (TMP_MAX): Likewise.
24706 (EOF): Use macro-int-constant. Require < 0.
24707 (NULL): Use macro-constant. Require == 0.
24708 (stdin): Require type to be FILE *.
24709 (stdout): Likewise.
24710 (stderr): Likewise.
24711 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
24712 macro-int-constant.
24713 (EXIT_SUCCESS): Likewise.
24714 (NULL): Use macro-constant. Require == 0.
24715 (RAND_MAX): Use macro-int-constant.
24716 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
24717 [C99-based standards] (strtof): Require function.
24718 [C99-based standards] (strtold): Likewise.
24719 [C99-based standards] (strtoll): Likewise.
24720 [C99-based standards] (strtoull): Likewise.
24721 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
24722 [ISO || ISO99 || ISO11] (limits.h): Likewise.
24723 [ISO || ISO99 || ISO11] (math.h): Likewise.
24724 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
24725 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
24726 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24727
d18ea0c5
AS
247282012-05-24 Andreas Schwab <schwab@linux-m68k.org>
24729
24730 [BZ #14132]
56d25bb8
AS
24731 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
24732 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
24733 * intl/dgettext.c (DCGETTEXT): Likewise.
24734 * intl/gettext.c (DCGETTEXT): Likewise.
24735 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
24736 * posix/regex_internal.h (gettext): Likewise.
24737 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
24738 Remove declaration.
24739 * include/argz.h (__argz_count_internal)
24740 (__argz_stringify_internal): Remove declaration.
24741 (__argz_count, __argz_stringify): Declare hidden proto.
24742 * intl/dcgettext.c: Remove use of INTDEF.
24743 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
24744 * string/argz-stringify.c: Likewise.
24745 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24746 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24747 Declare hidden proto.
d18ea0c5
AS
24748 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24749 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24750 Declare hidden proto.
24751 * include/stdio.h (__asprintf_internal): Don't declare.
24752 (__asprintf): Don't define as macro. Declare hidden proto.
24753 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
24754 (__fsetlocking): Declare hidden proto.
24755 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
24756 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
24757 hidden proto.
24758 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
24759 (_IO_setlinebuf): Remove use of INTUSE.
24760 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
24761 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
24762 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
24763 Remove declaration.
24764 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
24765 (_IO_do_flush): Remove use of INTUSE.
24766 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
24767 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
24768 (_IO_adjust_column, _IO_least_wmarker)
24769 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
24770 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
24771 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
24772 (_IO_default_doallocate, _IO_wdefault_doallocate)
24773 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
24774 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
24775 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
24776 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
24777 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
24778 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
24779 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
24780 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
24781 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
24782 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
24783 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
24784 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
24785 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
24786 proto.
24787 (_IO_flush_all_internal, _IO_adjust_column_internal)
24788 (_IO_default_uflow_internal, _IO_default_finish_internal)
24789 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
24790 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
24791 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
24792 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
24793 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
24794 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
24795 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
24796 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
24797 (_IO_file_close_internal, _IO_file_close_it_internal)
24798 (_IO_file_underflow_internal, _IO_file_overflow_internal)
24799 (_IO_file_init_internal, _IO_file_attach_internal)
24800 (_IO_file_fopen_internal, _IO_file_read_internal)
24801 (_IO_file_sync_internal, _IO_file_seek_internal)
24802 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
24803 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
24804 (_IO_str_underflow_internal, _IO_str_overflow_internal)
24805 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
24806 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
24807 (_IO_list_all_internal, _IO_link_in_internal)
24808 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
24809 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
24810 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
24811 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
24812 (_IO_do_write_internal, _IO_padn_internal)
24813 (_IO_getline_info_internal, _IO_getline_internal)
24814 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
24815 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
24816 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
24817 (_IO_vfscanf_internal, _IO_vfprintf_internal)
24818 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
24819 (_IO_init_internal, _IO_un_link_internal): Don't declare.
24820 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
24821 with libc_hidden_ver, remove use of INTUSE.
24822 * libio/genops.c: Likewise.
24823 * libio/freopen.c: Likewise.
24824 * libio/freopen64.c: Likewise.
24825 * libio/iofclose.c: Likewise.
24826 * libio/iofdopen.c: Likewise.
24827 * libio/iofflush.c: Likewise.
24828 * libio/iofflush_u.c: Likewise.
24829 * libio/iofgets.c: Likewise.
24830 * libio/iofgets_u.c: Likewise.
24831 * libio/iofopen.c: Likewise.
24832 * libio/iofopncook.c: Likewise.
24833 * libio/iofread.c: Likewise.
24834 * libio/iofread_u.c: Likewise.
24835 * libio/ioftell.c: Likewise.
24836 * libio/iofwrite.c: Likewise.
24837 * libio/iogetline.c: Likewise.
24838 * libio/iogets.c: Likewise.
24839 * libio/iogetwline.c: Likewise.
24840 * libio/iopadn.c: Likewise.
24841 * libio/iopopen.c: Likewise.
24842 * libio/ioseekoff.c: Likewise.
24843 * libio/ioseekpos.c: Likewise.
24844 * libio/iosetbuffer.c: Likewise.
24845 * libio/iosetvbuf.c: Likewise.
24846 * libio/ioungetc.c: Likewise.
24847 * libio/ioungetwc.c: Likewise.
24848 * libio/iovdprintf.c: Likewise.
24849 * libio/iovsprintf.c: Likewise.
24850 * libio/iovsscanf.c: Likewise.
24851 * libio/memstream.c: Likewise.
24852 * libio/obprintf.c: Likewise.
24853 * libio/oldfileops.c: Likewise.
24854 * libio/oldiofclose.c: Likewise.
24855 * libio/oldiofdopen.c: Likewise.
24856 * libio/oldiofopen.c: Likewise.
24857 * libio/oldiopopen.c: Likewise.
24858 * libio/oldstdfiles.c: Likewise.
24859 * libio/putc.c: Likewise.
24860 * libio/setbuf.c: Likewise.
24861 * libio/setlinebuf.c: Likewise.
24862 * libio/stdfiles.c: Likewise.
24863 * libio/strops.c: Likewise.
24864 * libio/vasprintf.c: Likewise.
24865 * libio/vscanf.c: Likewise.
24866 * libio/vsnprintf.c: Likewise.
24867 * libio/vswprintf.c: Likewise.
24868 * libio/wfiledoalloc.c: Likewise.
24869 * libio/wfileops.c: Likewise.
24870 * libio/wgenops.c: Likewise.
24871 * libio/wmemstream.c: Likewise.
24872 * libio/wstrops.c: Likewise.
24873 * libio/__fpurge.c: Likewise.
24874 * libio/__fsetlocking.c: Likewise.
24875 * assert/assert.c: Likewise.
24876 * debug/fgets_chk.c: Likewise.
24877 * debug/fgets_u_chk.c: Likewise.
24878 * debug/fread_chk.c: Likewise.
24879 * debug/fread_u_chk.c: Likewise.
24880 * debug/gets_chk.c: Likewise.
24881 * debug/obprintf_chk.c: Likewise.
24882 * debug/vasprintf_chk.c: Likewise.
24883 * debug/vdprintf_chk.c: Likewise.
24884 * debug/vsnprintf_chk.c: Likewise.
24885 * debug/vsprintf_chk.c: Likewise.
24886 * malloc/mtrace.c: Likewise.
24887 * misc/error.c: Likewise.
24888 * misc/syslog.c: Likewise.
24889 * stdio-common/asprintf.c: Likewise.
24890 * stdio-common/fxprintf.c: Likewise.
24891 * stdio-common/getw.c: Likewise.
24892 * stdio-common/isoc99_fscanf.c: Likewise.
24893 * stdio-common/isoc99_scanf.c: Likewise.
24894 * stdio-common/isoc99_vfscanf.c: Likewise.
24895 * stdio-common/isoc99_vscanf.c: Likewise.
24896 * stdio-common/isoc99_vsscanf.c: Likewise.
24897 * stdio-common/printf-prs.c: Likewise.
24898 * stdio-common/printf_fp.c: Likewise.
24899 * stdio-common/printf_fphex.c: Likewise.
24900 * stdio-common/printf_size.c: Likewise.
24901 * stdio-common/putw.c: Likewise.
24902 * stdio-common/scanf.c: Likewise.
24903 * stdio-common/sprintf.c: Likewise.
24904 * stdio-common/tmpfile.c: Likewise.
24905 * stdio-common/vfprintf.c: Likewise.
24906 * stdio-common/vfscanf.c: Likewise.
24907 * stdlib/strfmon_l.c: Likewise.
24908 * sunrpc/openchild.c: Likewise.
24909 * sunrpc/xdr_stdio.c: Likewise.
24910 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
24911 * sysdeps/mach/hurd/tmpfile.c: Likewise.
24912
d6c33fda
RM
249132012-05-24 Roland McGrath <roland@hack.frob.com>
24914
c1487492
RM
24915 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24916
24917 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
24918 in the third column, to generate for the shared library an IFUNC
24919 that uses _dl_vdso_vsym.
24920 * Makerules (COMPILE.c, compile-stdin.c): New variables.
24921 * Makeconfig (object-suffixes-noshared): New variable.
24922
24923 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
24924 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
24925 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
24926 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
24927
d6c33fda
RM
24928 [BZ #14132]
24929 * include/sys/time.h (__gettimeofday): Remove macro.
24930 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
24931 * time/gettimeofday.c (__gettimeofday): Remove #undef.
24932 Remove INTDEF.
24933 (__gettimeofday): Add libc_hidden_def.
24934 (gettimeofday): Add libc_hidden_weak.
24935 * sysdeps/mach/gettimeofday.c: Likewise.
24936 * sysdeps/posix/gettimeofday.c: Likewise.
24937 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
24938 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
24939 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
24940 (__gettimeofday_internal): Remove strong_alias.
24941 (__gettimeofday): Add libc_hidden_def.
24942 (gettimeofday): Add libc_hidden_weak.
24943 * sysdeps/unix/syscalls.list (gettimeofday):
24944 Remove __gettimeofday_internal alias.
24945
b5a2bbe6
L
249462012-05-24 Daniel Jacobowitz <drow@false.org>
24947 H.J. Lu <hongjiu.lu@intel.com>
24948
24949 [BZ #12495]
24950 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
24951 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
24952 (largebin_index_32_big): New.
24953 (largebin_index): Use it for 16-byte alignment.
24954 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
24955 correction with front_misalign.
24956
cfba4fda
L
249572012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24958
7f907421
L
24959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
24960 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
24961 Likewise.
24962 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
24963 Likewise.
24964 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24965 Likewise.
24966 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
24967 Likewise.
24968 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
24969 Likewise.
24970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
24971 Likewise.
24972 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
24973 Likewise.
24974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24975 Likewise.
24976 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
24977 Likewise.
24978 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
24979 Likewise.
24980 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
24981 Likewise.
24982 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
24983 Likewise.
24984
cfba4fda
L
24985 * scripts/data/c++-types-x32-linux-gnu.data: New file.
24986 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
24987
80bad0cc
JM
249882012-05-24 Joseph Myers <joseph@codesourcery.com>
24989
7a25eb06
JM
24990 [BZ #10846]
24991 [BZ #14036]
24992 * math/libm-test.inc (exp_test): Add test from bug 14036.
24993 (pow_test): Add test from bug 10846.
24994
795405f9
JM
24995 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
24996 and other flags.
24997 (special_function): Do not include flags in test name.
24998 (parse_args): Likewise.
24999 * sysdeps/i386/fpu/libm-test-ulps: Update.
25000 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25001 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25002 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25004
80bad0cc
JM
25005 * math/gen-libm-test.pl (%beautify): Add entries for underflow
25006 exceptions.
25007 * math/libm-test.inc ("Philosophy"): Update comment about
25008 exception testing.
25009 (UNDERFLOW_EXCEPTION): New macro.
25010 (UNDERFLOW_EXCEPTION_OK): Likewise.
25011 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
25012 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
25013 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
25014 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
25015 (INVALID_EXCEPTION_OK): Update value.
25016 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25017 (OVERFLOW_EXCEPTION_OK): Likewise.
25018 (IGNORE_ZERO_INF_SIGN): Likewise.
25019 (test_exceptions): Handle underflow exceptions.
25020 (acos_test): Update for underflow exception expectations.
25021 (cexp_test): Likewise.
25022 (clog_test): Likewise.
25023 (clog10_test): Likewise.
25024 (csqrt_test): Likewise.
25025 (ctan_test): Likewise.
25026 (ctanh_test): Likewise.
25027 (exp_test): Likewise.
25028 (exp10_test): Likewise.
25029 (exp2_test): Likewise.
25030 (expm1_test): Likewise.
25031 (fma_test): Likewise.
25032 (j0_test): Likewise.
25033 (jn_test): Likewise.
25034 (nexttoward_test): Likewise.
25035 (pow_test): Likewise.
25036 (scalbn_test): Likewise.
25037 (scalbln_test): Likewise.
25038 (tan_test): Likewise.
25039 (y1_test): Likewise.
25040 * sysdeps/i386/fpu/libm-test-ulps: Update.
25041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25042
9e0e3d0b
DM
250432012-05-23 David S. Miller <davem@davemloft.net>
25044
25045 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
25046 (__libc_sigaction): Remove unused local variables.
25047
ccd0a08f
L
250482012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25049
25050 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
25051
62bdf9a6
PE
250522012-05-23 Paul Eggert <eggert@cs.ucla.edu>
25053
f8591f80
PE
25054 mktime: avoid signed integer overflow
25055 * time/mktime.c (__mktime_internal): Do not mishandle the case
25056 where diff == INT_MIN.
25057
94c7d826
PE
25058 mktime: simplify computation of average
25059 * time/mktime.c (ranged_convert): Use new time_t_avg function
25060 instead of rolling our own (probably-slower) code.
25061
ce73d683
PE
25062 mktime: do not assume signed right shift propagates sign bit
25063 * time/mktime.c (isdst_differ): New static function.
25064 (__mktime_internal): No need to normalize tm_isdst now.
25065 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
25066 tm_isdst values.
25067
72a22e59
PE
25068 mktime: merge another wrapv change from gnulib
25069 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
25070 from some compilers.
25071
68605433
PE
25072 mktime: remove incorrect attempt at unusual arithmetics
25073 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
25074 The code didn't really work on such machines anyway.
25075 (TYPE_MINIMUM): Assume two's complement.
25076 (twos_complement_arithmetic): Verify that long_int and time_t
25077 are two's complement (or unsigned, in the latter case).
25078
03cf7fe3
PE
25079 mktime: check signed shifts on long_int and time_t, too
25080 * time/mktime.c (SHR): Check that shifts work as desired
25081 on the types long_int and time_t too, as SHR is used on
25082 such types.
25083
f04dfbc2
PE
25084 mktime: do not assume 'long' is wide enough
25085 * time/mktime.c (verify): Move decl up.
25086 (long_int): New type.
25087 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
25088 to remove assumption in the code that 'long' is wide enough to
25089 store year values. This assumption is not true on x32 and on
25090 some non-glibc platforms.
25091
62bdf9a6
PE
25092 mktime: merge wrapv change from gnulib
25093 * time/mktime.c (WRAPV): New macro.
25094 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
25095 (guess_time_tm, __mktime_internal): Do not assume that signed
25096 integer overflow wraps around; modern compilers generate code
25097 where this assumption is no longer valid.
25098
5e292e4f
L
250992012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25100
25101 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
25102 Replace "jmp L(pseudo_end)" with "ret".
25103 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
25104 Likewise.
25105
8caf8c87
AJ
251062012-05-23 Andreas Jaeger <aj@suse.de>
25107
25108 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
25109 * sysdeps/unix/sysv/linux/poll.c: Remove file.
25110
1a09dc56
AJ
251112012-05-23 Andreas Jaeger <aj@suse.de>
25112 Maximilian Attems <max@stro.at>
25113
25114 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
25115 New macros.
25116
1c87aba0
L
251172012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25118
25119 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
25120 code so that pseudo_end is just ret and the stack pointer is
25121 correct also for static library in error case.
25122
40e45bd5
JM
251232012-05-23 Joseph Myers <joseph@codesourcery.com>
25124
c2670533
JM
25125 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
25126 move to syscalls.list.
25127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
25128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25131
40e45bd5
JM
25132 * manual/install.texi (Running make install): Do not mention Linux
25133 kernel version for which pt_chown is not needed.
25134 (Linux): Do not mention problems with nscd with 2.0 kernels.
25135 * INSTALL: Regenerated.
25136
be08eda5
AJ
251372012-05-23 Andreas Jaeger <aj@suse.de>
25138
25139 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
25140 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
25141 macro.
25142 * sysdeps/unix/sysv/linux/s390/bits/mman.h
25143 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25144 * sysdeps/unix/sysv/linux/sh/bits/mman.h
25145 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25146 * sysdeps/unix/sysv/linux/i386/bits/mman.h
25147 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25148 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
25149 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25150 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
25151 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25152 * sysdeps/unix/sysv/linux/bits/in.h
25153 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
25154
a6a056bb
RM
251552012-05-22 Roland McGrath <roland@hack.frob.com>
25156
25157 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
25158 (PREPARE_VERSION): Just use assert instead, it will be elided
25159 under [NDEBUG] anyway.
25160
c9009328
L
251612012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25162
25163 * sysdeps/unix/sysv/linux/Makefile: Include
25164 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 25165 (sysdep_routines): Remove sysctl.
c9009328
L
25166 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
25167 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
25168 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
25169 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
25170 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
25171
73338355
AJ
251722012-05-22 Andreas Jaeger <aj@suse.de>
25173
25174 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
25175 that pseudo_end is just ret and the stack pointer is correct also
25176 for static library in error case.
25177
d44638b0
PP
251782012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
25179
25180 [BZ #14122]
25181 * nss/nsswitch.c (defconfig_entries): New variable.
25182 (__nss_database_lookup): Don't leak defconfig entries.
25183 (nss_parse_service_list): Don't leak on error paths.
25184 (free_database_entries): New function.
25185 (free_defconfig): New function.
25186 (free_mem): Move common code to free_database_entries.
25187
31a39bd8
L
251882012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25189
da0331a8
L
25190 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
25191 Add arch_prctl.
25192 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
25193
31a39bd8
L
25194 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25195 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
25196 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
25197 New macro.
25198 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
25199 (INTERNAL_SYSCALL_TYPES): Likewise.
25200 (LOAD_ARGS_TYPES_[1-6]): Likewise.
25201 (LOAD_REGS_TYPES_[1-6]): Likewise.
25202 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
25203 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
25204
45470df3
AZ
252052012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25206
25207 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
25208 copysignl for GLIBC_2_0.
25209 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
25210 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
25211 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
25212 logbl for GLIBC_2_0.
25213 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
25214 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
25215
98a61bcb
L
252162012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25217
a4f6e481
L
25218 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
25219 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25220
f63d5db6
L
25221 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
25222 Use "neg %eax".
25223
98a61bcb
L
25224 * time/mktime.c: Update copyright years.
25225
95770f14
PE
252262012-05-22 Paul Eggert <eggert@cs.ucla.edu>
25227
6226efbd
PE
25228 mktime: merge comment-quoting-style change from gnulib
25229 * time/mktime.c: Quote 'like this' in comments.
25230 The GNU coding standards suggest that we no longer quote `like this',
25231 as "`" and "'" are typically rendered asymmetrically nowadays.
25232 The typical gnulib style is to quote 'like this' when quoting
25233 code, and "like this" when quoting English.
25234
b99e4f78
PE
25235 * time/mktime.c (compile-command): Add "-I.".
25236
643e01e6
PE
25237 mktime: merge mktime-internal.h change from gnulib
25238 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
25239
2554247d
PE
25240 mktime: merge time_r change from gnulib
25241 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
25242
826dd0ab
PE
25243 mktime: merge DEBUG change from gnulib
25244 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
25245 case system <time.h> has a #define.
25246
bd83aabe
PE
25247 mktime: merge <sys/types.h> change from gnulib
25248 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
25249 since <time.t> is now guaranteed to define time_t.
25250
95770f14
PE
25251 mktime: merge HAVE_CONFIG_H change from gnulib
25252 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
25253
5e1a27a9
L
252542012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25255
0e44a77e
L
25256 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25257 Use "neg %eax".
25258
5e1a27a9
L
25259 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
25260 __rlim_t cast.
25261 (struct rusage): Use anonymous union to pad each field to
25262 __syscall_slong_t.
25263
46259bec
DM
252642012-05-21 David S. Miller <davem@davemloft.net>
25265
25266 * Makefules (o-iterator): Remove .s cases.
25267 (compile-command.s): Delete.
25268 (COMPILE.s): Delete.
25269 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
25270
59f0c22e
JM
252712012-05-21 Joseph Myers <joseph@codesourcery.com>
25272
25273 * configure.in (libc_cv_predef_stack_protector): Only consider
25274 "foobar" and "__stack_chk_fail" lines in libc_undefs.
25275 * configure: Regenerated.
25276
20c07380
L
252772012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25278
bbb3154b
L
25279 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25280 New macro. Use R*LP on int and pointer.
25281 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
25282 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
25283 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
25284 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
25285
20c07380
L
25286 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
25287 [__WORDSIZE_TIME64_COMPAT32] instead of
25288 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
25289 (struct utmp): Likewise.
25290 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
25291 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
25292 Renamed to ...
25293 (__WORDSIZE_TIME64_COMPAT32): This.
25294 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
25295 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
25296 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
25297 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
25298 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
25299 (__WORDSIZE_TIME64_COMPAT32): New macro.
25300
d8d1017e
AJ
253012012-05-21 Andreas Jaeger <aj@suse.de>
25302
25303 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
25304 only if [SHARED]. Add prototype for __wcschr_ia32.
25305
6c7fb145
RM
253062012-05-21 Roland McGrath <roland@hack.frob.com>
25307
25308 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
25309 of %rbp unmolested in the jmp_buf while mangling the low bits.
25310 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
25311 unmolested high bits of %rbp while demangling the low bits.
25312 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
25313
66274218
AJ
253142012-05-21 Andreas Jaeger <aj@suse.de>
25315
07c58f8f
AJ
25316 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
25317 * sunrpc/svc_simple.c: Use it for registerrpc.
25318 * sunrpc/xcrypt.c: Use it for passwd2des.
25319
66274218
AJ
25320 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
25321
61f65140
L
253222012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25323
25324 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
25325 Don't define if [__SYSCALL_WORDSIZE != 32].
25326 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
25327 New macro.
25328
5fefb436
AJ
253292012-05-21 Bruno Haible <bruno@clisp.org>
25330 Andreas Jaeger <aj@suse.de>
25331
25332 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
25333 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
25334 inptr and inend for must_buffer_ch.
25335 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
25336 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
25337 * stdio-common/Makefile (tests): Remove bug15.
25338 (bug15-ENV): Remove macro.
25339 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
25340 anymore.
25341
d8e272ab
AJ
253422012-05-19 Andreas Jaeger <aj@suse.de>
25343 Roland McGrath <roland@hack.frob.com>
25344
25345 * manual/contrib.texi: Completely rewritten. It contains now an
25346 alphabetical list of contributors and their contributions.
25347
4a56a162
RH
253482012-05-21 Richard Henderson <rth@twiddle.net>
25349
25350 * misc/getauxval.c (__getauxval): Use unsigned long int.
25351 * misc/sys/auxv.h: Include <sys/cdefs.h>.
25352 (getauxval): Use unsigned long int.
25353
d024d23c
L
253542012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25355
25356 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
25357
cbc00a03
RM
253582012-05-21 Roland McGrath <roland@hack.frob.com>
25359
25360 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
25361 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
25362 __alignof__ (long double).
25363
478143fa
AZ
253642012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25365
25366 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25367
c7683a6d
RH
253682012-05-20 Richard Henderson <rth@twiddle.net>
25369
25370 * misc/getauxval.c: New file.
25371 * misc/sys/auxv.h: New file.
25372 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
25373 (routines): Add getauxval.
25374 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
25375 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
25376 * elf/dl-sysdep.c (_dl_auxv): Remove.
25377 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
25378 * elf/dl-support.c (_dl_auxv): New variable.
25379 (_dl_aux_init): Initialize it.
25380 * manual/startup.texi (Auxiliary Vector): New node.
25381 * sysdeps/generic/bits/hwcap.h: New file.
25382 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
25383 * sysdeps/powerpc/sysdep.h: ... here. Include it.
25384 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
25385 * sysdeps/sparc/sysdep.h: ... here. Include it.
25386 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
25387 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
25388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25389 Update.
c7683a6d
RH
25390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
25391 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
25392 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
25393 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
25394 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25395 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25396 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
25397 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
25398
a6f1845d
AZ
253992012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25400
25401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25402
cbcbe830
DM
254032012-05-19 David S. Miller <davem@davemloft.net>
25404
25405 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25406
e0b16cc2
JM
254072012-05-19 Joseph Myers <joseph@codesourcery.com>
25408
25409 [BZ #14123]
25410 * math/s_ccosh.c: Include <float.h>
25411 (__ccosh): Avoid internal overflow calculating sinh and cosh
25412 values before multiplying by sin and cos values.
25413 * math/s_ccoshf.c: Likewise.
25414 * math/s_ccoshl.c: Likewise.
25415 * math/s_csin.c: Likewise.
25416 * math/s_csinf.c: Likewise.
25417 * math/s_csinl.c: Likewise.
25418 * math/s_csinh.c: Likewise.
25419 * math/s_csinhf.c: Likewise.
25420 * math/s_csinhl.c: Likewise.
25421 * math/libm-test.inc (ccos_test): Add more tests.
25422 (ccosh_test): Likewise.
25423 (csin_test): Likewise.
25424 (csinh_test): Likewise.
25425 * sysdeps/i386/fpu/libm-test-ulps: Update.
25426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25427
6ad13e08
L
254282012-05-19 H.J. Lu <hongjiu.lu@intel.com>
25429
f66f0ce8
L
25430 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
25431 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
25432
6ad13e08
L
25433 * sysdeps/x86_64/x32/_itoa.h: Add comment.
25434
b1d072a7
JM
254352012-05-19 Joseph Myers <joseph@codesourcery.com>
25436
25437 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
25438 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
25439 * sysdeps/powerpc/soft-fp/Versions: Likewise.
25440 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
25441 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
25442 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
25443 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
25444 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
25445 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
25446 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
25447 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
25448 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
25449 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
25450 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
25451 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
25452 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
25453 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
25454 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
25455 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
25456 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
25457 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
25458 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
25459 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
25460 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
25461 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
25462 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
25463 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
25464 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
25465 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
25466 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
25467 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
25468
9eae47cb
AJ
254692012-05-18 Andreas Jaeger <aj@suse.de>
25470
25471 * csu/.gitignore: Delete.
25472
bb07f69f
L
254732012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25474
25475 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
25476 (timex): Use __syscall_slong_t.
25477
e6bdb741
AJ
254782012-05-18 Andreas Jaeger <aj@suse.de>
25479 Carlos O'Donell <carlos_odonell@mentor.com>
25480
25481 * manual/install.texi (Configuring and compiling): Update
25482 description about files modified in the source directory.
d6c33fda 25483 * INSTALL: Regenerated.
e6bdb741 25484
1b74487e
L
254852012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25486
25487 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
25488 value. Use "or" to set return value to -1.
25489 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
25490 negate return value.
25491
a88b64b9
TMQMF
254922012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25493
25494 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
25495 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
25496 failure if the compiler has Graphite support disabled.
25497 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
25498 Likewise.
25499 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
25500 CFLAGS-memmove.c): Likewise.
25501 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
25502 Likewise.
25503
3707636e
L
255042012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25505
610b8622
L
25506 * sysdeps/x86_64/x32/_itoa.h: New file.
25507
7cd195df
L
25508 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
25509 getdents system call only if kernel and user dirents have the
25510 same d_ino and d_off.
25511
94b07d20
L
25512 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25513 LLONG_MAX != LONG_MAX.
25514 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25515 (_fitoa_word): Likewise.
25516
18298070
L
25517 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
25518 years.
25519 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
25520 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
25521 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
25522
553c7ea4
L
25523 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
25524 include <bits/wordsize.h>. Check __x86_64__ instead of
25525 __WORDSIZE.
25526 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
25527 if __x86_64__ is defined. Use anonymous union on fpstate.
25528
3707636e
L
25529 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
25530 anonymous union.
25531
b53ef01a
AS
255322012-05-18 Andreas Schwab <schwab@linux-m68k.org>
25533
37fb1dc0
AS
25534 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
25535 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
25536 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
25537 Refer to _rtld_local_ro instead of _rtld_global_ro.
25538 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
25539 Likewise.
25540 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
25541 Likewise.
25542 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
25543 Likewise.
25544 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
25545 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
25546 of _rtld_global, and rtld_progname instead of _dl_argv[0].
25547
b53ef01a
AS
25548 * sysdeps/powerpc/powerpc32/dl-machine.c
25549 (__elf_machine_runtime_setup) [PROF]: Don't reference
25550 _dl_prof_resolve.
25551
7a185db2
AJ
255522012-05-18 Andreas Jaeger <aj@suse.de>
25553
25554 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
25555 function only available for GCCs before 3.4 since GCC 3.4
25556 introduced a builtin.
25557 (lrint): Likewise.
25558 (llrintf): Likewise.
25559 (llrint): Likewise.
25560 (fmaxf): Likewise.
25561 (fmax): Likewise.
25562 (fminf): Likewise.
25563 (fmin): Likewise.
25564 (rint): Likewise.
25565 (rintf): Likewise.
25566 (nearbyint): Likewise.
25567 (nearbyintf): Likewise.
25568 (ceil): Likewise.
25569 (ceilf): Likewise.
25570 (floor): Likewise.
25571 (floorf): Likewise.
25572
3e5aef87
L
255732012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25574
428bd707
L
25575 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
25576 on both fields and cast pointer to __syscall_ulong_t.
25577
3e5aef87
L
25578 * bits/types.h (__fsword_t): New type.
25579 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
25580 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
25581 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25582 (__FSWORD_T_TYPE): Likewise.
25583 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25584 (__FSWORD_T_TYPE): Likewise.
25585 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25586 (__FSWORD_T_TYPE): Likewise.
25587 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
25588 (__FSWORD_T_TYPE): Likewise.
25589 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
25590 __SWORD_TYPE with __fsword_t.
25591 (statfs64): Likewise.
25592
1ba7c3dc
DM
255932012-05-17 David S. Miller <davem@davemloft.net>
25594
25595 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
25596
59910343
AJ
255972012-05-17 Andreas Jaeger <aj@suse.de>
25598
25599 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
25600 warning.
25601
2e4c1e9e
L
256022012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25603
25604 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
25605
de7f5ce7
AJ
256062012-05-17 Andreas Jaeger <aj@suse.de>
25607
25608 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
25609 when it is used.
25610
286abc3d
CM
256112012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25612
25613 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
25614
477cc68e
L
256152012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25616
25617 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
25618 * sysdeps/x86_64/tst-mallocalign1.c: New file.
25619
1a0994f5
CD
256202012-05-17 Andreas Jaeger <aj@suse.de>
25621 Carlos O'Donell <carlos_odonell@mentor.com>
25622
25623 [BZ #14059]
25624 * sysdeps/x86_64/multiarch/init-arch.h
25625 (bit_YMM_Usable): Rename to...
25626 (bit_AVX_Usable): ... this.
25627 (bit_FMA4_Usable): New macro.
25628 (bit_XMM_state): New macro.
25629 (bit_YMM_state): New macro.
25630 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
25631 [__ASSEMBLER__] (index_AVX_Usable): ... this.
25632 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
25633 (CPUID_OSXSAVE): New macro.
25634 (CPUID_AVX): New macro.
25635 (CPUID_FMA4): New macro.
25636 (index_YMM_Usable): Rename to...
25637 (index_AVX_Usable): ... this.
25638 (HAS_AVX): Use HAS_ARCH_FEATURE.
25639 (HAS_FMA4): Likewise.
25640 (HAS_YMM_USABLE): Remove.
25641 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25642 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
25643 are present.
25644 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
25645 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
25646 * sysdeps/x86_64/multiarch/Makefile: Likewise.
25647 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
25648 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
25649
0af797de
CM
256502012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25651
25652 * math/libm-test.c: Support platforms without multiple rounding modes.
25653 * math/bug-nextafter.c: Support platforms without FP exceptions.
25654 * math/bug-nexttoward.c: Likewise.
25655 * math/test-fenv.c: Likewise.
25656 * math/test-misc.c: Likewise.
25657 * stdlib/bug-getcontext.c: Likewise.
25658
e39745ff
AJ
256592012-05-17 Andreas Jaeger <aj@suse.de>
25660
25661 * manual/examples/search.c (critter_cmp): Change signature to
25662 avoid warnings.
25663 * manual/string.texi (Collation Functions): Likewise.
25664
48970aba
L
256652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25666
25667 * bits/types.h: Fold copyright years.
25668 * bits/typesizes.h: Likewise.
25669 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
25670 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25671 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
25672 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
25673 * time/time.h: Likewise.
25674
bedee953
PP
256752012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
25676
25677 [BZ #208]
25678 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
25679 in instead of returning them. Return void.
25680 (__libc_mallinfo): Accumulate over all arenas.
25681 (__malloc_stats): Adjust for change in int_mallinfo interface.
25682
61653dfb
RM
256832012-05-16 Roland McGrath <roland@hack.frob.com>
25684
30b99d79
RM
25685 [BZ #10375]
25686 * configure.in (NM): Add AC_CHECK_TOOL for it.
25687 (libc_extra_cflags): New substituted variable.
25688 Check for -fstack-protector being used implicitly.
25689 * configure: Regenerated.
25690 * config.make.in (config-extra-cflags): New variable,
25691 gets @libc_extra_cflags@.
25692 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
25693
61653dfb
RM
25694 [BZ #10375]
25695 * configure.in: Check for _FORTIFY_SOURCE being predefined.
25696 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
25697 * configure: Regenerated.
25698 * config.make.in (CPPUNDEFS): New substituted variable.
25699 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
25700 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
25701 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
25702
661768bb
L
257032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25704
25705 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
25706 (mq_attr): Use __syscall_slong_t.
25707
d4261567
L
257082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25709
25710 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
25711 Check __x86_64__ instead of __WORDSIZE.
25712 (_STAT_VER_LINUX): Likewise.
25713 (stat): Check __x86_64__ instead of __WORDSIZE. Use
25714 __syscall_ulong_t and __syscall_slong_t.
25715 (stat64): Likewise.
25716
cf3ff365
L
257172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25718
25719 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
25720
76cf3e4d
L
257212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25722
25723 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
25724
a637753a
L
257252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25726
25727 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
25728 __syscall_ulong_t.
25729
d5e05119
L
25730 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
25731 include <bits/wordsize.h>. Check __x86_64__ instead of
25732 __WORDSIZE.
25733 (greg_t): Use "__extension__ long long int" if __x86_64__ is
25734 defined.
25735 (mcontext_t): Replace "unsigned long" with "unsigned long long".
25736
f62ee380
L
25737 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
25738 include <bits/wordsize.h>. Check __x86_64__ instead of
25739 __WORDSIZE.
25740 (user_regs_struct): Use "__extension__ unsigned long long"
25741 instead of "unsigned long" if __x86_64__ is defined.
25742 (user): Likewise. Pad after pointer field if __ILP32__ is
25743 defined.
25744
4e124ced
JM
257452012-05-16 Joseph Myers <joseph@codesourcery.com>
25746
6a3951a0
JM
25747 * configure.in (makeinfo): Require version 4.5 or later. Allow
25748 versions 5 to 9.
25749 * configure: Regenerated.
25750 * manual/install.texi (texinfo): Increase version requirement to
25751 4.5 or later.
25752 * INSTALL: Regenerated.
25753
4e124ced
JM
25754 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
25755
953ca31a
L
257562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25757
25758 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
25759
617aca05
L
25760 * sysdeps/x86_64/x32/ffs.c: New file.
25761
5762f7ae
L
25762 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
25763 __syscall_ulong_t.
25764 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
25765 defined. Use __syscall_ulong_t.
25766 (shminfo): Use __syscall_ulong_t.
25767 (shm_info): Likewise.
25768
a26b6856
L
25769 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
25770 __syscall_ulong_t.
25771
cb2b9ef7
L
25772 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
25773 <bits/wordsize.h>.
25774 (msgqnum_t): Use __syscall_ulong_t.
25775 (msglen_t): Likewise.
25776 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
25777 __syscall_ulong_t.
25778
34683bb0
L
25779 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
25780 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25781
84a68786
L
25782 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
25783
48baa5f1
L
25784 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
25785 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
25786
180be88b
L
25787 * sysvipc/sys/msg.h (msgbuf): Replace long int with
25788 __syscall_slong_t.
25789
5e90c8ad
L
25790 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
25791 include <bits/wordsize.h>. Check __x86_64__ instead of
25792 __WORDSIZE.
25793
23dfb58b
L
25794 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
25795 "unsigned long long int" if __x86_64__ is defined.
25796 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
25797
ce5d54b0
L
25798 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
25799 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25800 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
25801
13dc9eac
L
25802 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
25803 <stdint.h>.
25804 (GET_PC): Cast to uintptr_t first.
25805 (GET_FRAME): Likewise.
25806 (GET_STACK): Likewise.
25807
a7895d15
L
25808 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
25809 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
25810 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
25811 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
25812 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
25813 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
25814 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
25815 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
25816 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
25817 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
25818 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
25819 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
25820 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25821 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
25822 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
25823 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
25824 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
25825 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
25826 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
25827 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
25828 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
25829 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
25830 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
25831 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
25832 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
25833 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
25834 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
25835 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
25836 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
25837
656416c9
AS
258382012-05-16 Andreas Schwab <schwab@linux-m68k.org>
25839
5bd66283
AS
25840 * Makerules (+depfiles): Also collect depfiles from .oS in
25841 $(extra-objs).
25842 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
25843 .oS, $(libnldbl-routines)).
25844
656416c9
AS
25845 * Makerules (native-compile-mkdep-flags): Define.
25846 * sunrpc/Makefile (extra-objs): Add $(addprefix
25847 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
25848 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
25849 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
25850 calling $(make-target-directory).
25851
a46f2169
L
258522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25853
25854 * bits/types.h (__snseconds_t): Removed.
25855 * time/time.h (struct timespec): Replace __snseconds_t with
25856 __syscall_slong_t.
25857 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
25858 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
25859 Likewise.
25860 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25861 (__SNSECONDS_T_TYPE): Likewise.
25862 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25863 (__SNSECONDS_T_TYPE): Likewise.
25864 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25865 (__SNSECONDS_T_TYPE): Likewise.
25866
6af6528b
L
258672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25868
25869 * sysdeps/mach/hurd/bits/typesizes.h
25870 (__SYSCALL_SLONG_TYPE): New macro.
25871 (__SYSCALL_ULONG_TYPE): Likewise.
25872
de986b56
L
258732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25874
25875 * bits/types.h (__syscall_slong_t): New type.
25876 (__syscall_ulong_t): Likewise.
25877
25878 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
25879 (__SYSCALL_ULONG_TYPE): Likewise.
25880 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25881 (__SYSCALL_SLONG_TYPE): Likewise.
25882 (__SYSCALL_ULONG_TYPE): Likewise.
25883 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25884 (__SYSCALL_SLONG_TYPE): Likewise.
25885 (__SYSCALL_ULONG_TYPE): Likewise.
25886 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25887 (__SYSCALL_SLONG_TYPE): Likewise.
25888 (__SYSCALL_ULONG_TYPE): Likewise.
25889
85736dc7
L
258902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25891
25892 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
25893 Add sigaltstack-offsets.sym.
25894 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
25895 <sigaltstack-offsets.h>.
25896 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
25897 longjmp_msg pointer.
25898 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
25899 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
25900 signal stack.
25901 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
25902
cc03b296
JM
259032012-05-15 Joseph Myers <joseph@codesourcery.com>
25904
a9538892
JM
25905 * elf/stackguard-macros.h: Remove file.
25906 * sysdeps/generic/stackguard-macros.h: New file.
25907 * sysdeps/i386/stackguard-macros.h: Likewise.
25908 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25909 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25910 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25911 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25912 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25913 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25914 * sysdeps/x86_64/stackguard-macros.h: Likewise.
25915 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
25916 <elf/stackguard-macros.h>.
25917
cc03b296
JM
25918 [BZ #14109]
25919 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
25920 __aligned__ in attribute.
25921 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
25922 (gregset_t): Likewise.
25923
93171016
L
259242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25925
25926 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
25927 * sysdeps/x86_64/64/Implies-after: Here. New file.
25928 * sysdeps/x86_64/x32/Implies-after: New file.
25929
d86813a0
L
259302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25931
25932 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
25933 and access return value for _dl_profile_fixup. Use R10_LP to
25934 load frame size.
25935
2953ec75
L
259362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25937
25938 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
25939
3b550e9e
L
259402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25941
25942 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
25943 * sysdeps/x86_64/x32/sysdep.h: New file.
25944
eda41706
L
259452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25946
25947 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
25948 * sysdeps/x86_64/setjmp.S: Likewise.
25949
9ea01d93
AZ
259502012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25951
25952 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
25953 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
25954 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
25955 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
25956 remove unused global constant.
25957
02a91938
CM
259582012-05-15 Chris Metcalf <cmetcalf@tilera.com>
25959
25960 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
25961 include of <not-cancel.h>.
25962
6540185f
RM
259632012-05-15 Roland McGrath <roland@hack.frob.com>
25964
25965 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
25966
509072a0
AJ
259672012-05-15 Jeff Law <law@redhat.com>
25968 Andreas Jaeger <aj@suse.de>
25969
25970 [BZ #13594]
25971 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
25972 out from...
25973 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
25974 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
25975 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
25976 code changing __hst_map_handle.map.
25977
ba75122d
RM
259782012-05-15 Roland McGrath <roland@hack.frob.com>
25979
25980 * configure.in (sysnames): Look for Implies-before and Implies-after
25981 files.
25982 * configure: Regenerated.
25983
890d8bd8
L
259842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25985
25986 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
25987 8-byte data alignment with LP_SIZE alignment.
25988
f6ee6623
L
259892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25990
25991 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
25992 into R10_LP.
25993
ea2626f6
L
259942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25995
25996 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
25997
085f715e
L
259982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25999
26000 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
26001 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
26002 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
26003 Likewise.
26004 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26005
be8498fc
L
260062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26007
26008 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
26009 (stackinfo_sub_sp): Likewise.
26010
70bc83b9
L
260112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26012
26013 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
26014 RAX_LP.
26015
9bc0b730
L
260162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26017
26018 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
26019 into R*_LP.
26020
6d2850e7
L
260212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26022
26023 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
26024 sizes into R*_LP.
26025
3cb84561
L
260262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26027
26028 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
26029
54e2ed81
L
260302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26031
26032 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
26033 into R11_LP and load __x86_64_shared_cache_size_half into
26034 R8_LP.
26035
8a17f349
L
260362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26037
26038 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
26039 R8_LP.
26040
777b1eea
AZ
260412012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26042
26043 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
26044 logb for POWER7.
26045 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
26046 logbf for POWER7.
26047 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
26048 logbl for POWER7.
26049 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
26050 powerpc32/power7/fpu/s_logb.c via #include.
26051 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
26052 powerpc32/power7/fpu/s_logbf.c via #include.
26053 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
26054 powerpc32/power7/fpu/s_logbl.c via #include.
26055
d20d4ac2
JM
260562012-05-15 Joseph Myers <joseph@codesourcery.com>
26057
26058 * README.libm: Remove file.
26059
6cdef1ab
L
260602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26061
26062 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
26063 count for x32. Use R*_LP and omit operand-size suffix.
26064
0b254d8f
L
260652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26066
26067 * shlib-versions: Move x86_64-.*-linux.* entries to ...
26068 * sysdeps/x86_64/64/shlib-versions: Here. New file.
26069 * sysdeps/x86_64/x32/shlib-versions: New file.
26070
ceb809dc
RM
260712012-05-14 Roland McGrath <roland@hack.frob.com>
26072
26073 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
26074 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
26075 Use _dl_fatal_printf instead.
26076
37f1abd4
JM
260772012-05-14 Joseph Myers <joseph@codesourcery.com>
26078
26079 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
26080 set if not set by the user. Do not allow for being unset.
26081 * sysdeps/unix/sysv/linux/configure: Regenerated.
26082
11de3a33
L
260832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26084
26085 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
26086 the `q' suffix from lea and replace .quad with ASM_ADDR.
26087
e02f153a
L
260882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26089
26090 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
26091 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
26092 instead of $17.
26093 (PTR_DEMANGLE): Likewise.
26094
520ae0fd
L
260952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26096
26097 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
26098 (LP_OP): Likewise.
26099 (ASM_ADDR): Likewise.
26100 (RAX_LP): Likewise.
26101 (RBP_LP): Likewise.
26102 (RBX_LP): Likewise.
26103 (RCX_LP): Likewise.
26104 (RDI_LP): Likewise.
26105 (RSI_LP): Likewise.
26106 (RSP_LP): Likewise.
26107 (R8_LP): Likewise.
26108 (R9_LP): Likewise.
26109 (R10_LP): Likewise.
26110 (R10_LP): Likewise.
26111 (R11_LP): Likewise.
26112 (R12_LP): Likewise.
26113 (R13_LP): Likewise.
26114 (R14_LP): Likewise.
26115 (R15_LP): Likewise.
26116
b985be81
L
261172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26118
26119 * sysdeps/x86_64/x32/dl-machine.h: New file.
26120
6a4888ff
AJ
261212012-05-14 Andreas Jaeger <aj@suse.de>
26122
26123 * manual/Makefile (subdir): Remove export of subdir.
26124 (all): Remove target.
26125 (.PHONY): Remove all from list.
26126 (mkinstalldirs): Remove.
26127 (.PHONY): Remove installdirs from list.
26128 ($(inst_infodir)/libc.info): Use make-target-directory.
26129 (installdirs): Remove.
26130 (subdir_%): Remove.
26131 (glibc-targets): Remove.
26132 (lib): Remove.
26133 (stubs): Remove.
26134 ($(objpfx)stubs ../po/manual.pot): Remove.
26135 ($(objpfx)stamp%): Remove.
26136 (make-target-directory): Remove.
26137 (subdir_install): Remove.
26138 (routines): Remove.
26139 (aux): Remove.
26140 (sources): Remove.
26141 (objects): Remove.
26142 (headers): Remove.
26143
26144 [BZ #13750]
26145 * manual/.gitignore: Remove, it's not needed anymore.
26146 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
26147 all files in it.
26148 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
26149 directory.
26150 (texis): Renamed to $(objpfx)texis.
26151 (texis-path): New, contains path to generated files.
26152 (chapters.%): Use texis-path for complete path, add extra argument
26153 libc-texinfo.sh.
26154 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
26155 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
26156 (summary,texi, stamp-summary): Use complete path of
26157 files. Generate files in build dir.
26158 (dir-add.texi): Build in build dir.
26159 (libm-err.texi,stamp-libm-err): Likewise.
26160 (version.texi, stamp-version): Likewise.
26161 (.%c.texi): Likewise.
26162 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
26163 (mostlyclean): Remove target.
26164 (realclean): Remove target.
26165 (generated): Add new variable with contents from mostlyclean and
26166 realclean, remove entries duplicated in common-mostlyclean, add
26167 stamp-libm-err and stamp-version.
26168 (generated-dirs): Add libc directory.
26169 ($(inst_infodir)/libc.info): Install files from build dir.
26170
26171 * manual/install.texi (Configuring and compiling): Adjust since
26172 the info files are not part of the tar ball anymore.
26173
7ac77294
AJ
261742012-05-14 Andreas Jaeger <aj@suse.de>
26175
26176 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
26177 variable.
26178
ffb7875d
JM
261792012-05-14 Joseph Myers <joseph@codesourcery.com>
26180
26181 [BZ #13717]
26182 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26183 to 2.2.0 where earlier.
26184 * sysdeps/unix/sysv/linux/configure: Regenerated.
26185 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
26186 Remove conditional code.
26187 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
26188 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
26189 Remove conditional code.
26190 [!__NR_lchown]: Likewise.
26191 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26192 [__NR_lchown]: Likewise.
26193 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
26194 comment referencing __ASSUME_LCHOWN_SYSCALL.
26195 * sysdeps/unix/sysv/linux/i386/sigaction.c
26196 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26197 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26198 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
26199 Remove conditional code.
26200 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
26201 (__protocol_available): Remove #if 0 code.
26202 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
26203 conditional code.
26204 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
26205 * sysdeps/unix/sysv/linux/kernel-features.h
26206 (__ASSUME_GETCWD_SYSCALL): Don't define.
26207 (__ASSUME_REALTIME_SIGNALS): Likewise.
26208 (__ASSUME_PREAD_SYSCALL): Likewise.
26209 (__ASSUME_PWRITE_SYSCALL): Likewise.
26210 (__ASSUME_POLL_SYSCALL): Likewise.
26211 (__ASSUME_LCHOWN_SYSCALL): Likewise.
26212 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
26213 non-SPARC.
26214 (__ASSUME_SIOCGIFNAME): Don't define.
26215 (__ASSUME_MSG_NOSIGNAL): Likewise.
26216 (__ASSUME_SENDFILE): Define unconditionally.
26217 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
26218 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
26219 conditional code.
26220 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
26221 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
26222 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
26223 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26224 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
26225 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
26226 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
26228 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26229 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
26231 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26232 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
26234 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26235 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
26237 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26238 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
26240 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26241 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
26243 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26244 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
26246 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26247 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
26249 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26250 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26251 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
26252 Remove conditional code.
26253 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26254 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26255 Remove conditional code.
26256 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26257 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
26258 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
26259 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26260 Remove conditional code.
26261 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26262 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
26263 Remove conditional code.
26264 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26265 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
26266 Remove conditional code.
26267 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26268 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26269 Remove conditional code.
26270 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26271 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26272 Remove conditional code.
26273 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26274 * sysdeps/unix/sysv/linux/sh/pwrite64.c
26275 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26276 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26277 * sysdeps/unix/sysv/linux/sigaction.c
26278 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26279 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26280 * sysdeps/unix/sysv/linux/sigpending.c
26281 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26282 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26283 * sysdeps/unix/sysv/linux/sigprocmask.c
26284 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26285 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26286 * sysdeps/unix/sysv/linux/sigsuspend.c
26287 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26288 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26289 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
26290 (__libc_missing_rt_sigs): Remove.
26291 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
26292 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
26293 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
26294 Remove conditional code.
26295 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
26296 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
26297 return 1.
26298 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
26299 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
26300 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
26301 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
26302
1bfb7291
AJ
263032012-05-14 Andreas Jaeger <aj@suse.de>
26304
caae5a81
AJ
26305 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
26306 it's not used in glibc.
26307 (__coshm1): Likewise.
26308 (__acosh1p): Likewise.
26309 (__sgn): Likewise.
26310
1bfb7291
AJ
26311 * manual/string.texi (Copying and Concatenation): Add missing
26312 variable in concat example.
26313 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
26314
c044d724
L
263152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26316
144c5467 26317 [BZ #14103]
c044d724
L
26318 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
26319 __builtin_clzl with __builtin_clzll.
26320
2523c62b
L
263212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26322
26323 [BZ #14104]
26324 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
26325 libc_freeres_ptr.
26326
d7bb4c42
LD
263272012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26328
26329 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
26330 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
26331 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
26332 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
26333
9dc4e1fb
MF
263342012-05-14 Mike Frysinger <vapier@gentoo.org>
26335
26336 * NEWS: Update ia64 info.
26337
c7df0112
AS
263382012-05-12 Andreas Schwab <schwab@linux-m68k.org>
26339
26340 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
26341 used as bcopy.
26342
dc70356c
TS
263432012-05-12 Thomas Schwinge <thomas@codesourcery.com>
26344
26345 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
26346 * sysdeps/unix/syscalls.list (dup3): Likewise.
26347 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
26348 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
26349
9fb1a21f
L
263502012-05-11 H.J. Lu <hongjiu.lu@intel.com>
26351
26352 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
26353 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
26354
4822a2a5
L
263552012-05-11 H.J. Lu <hongjiu.lu@intel.com>
26356
26357 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
26358 thread pointer.
26359 (TLS_IE): Use mov/add instead of movq/addq to load thread
26360 pointer.
26361 (TLS_GD_PREFIX): New.
26362 (TLS_GD): Use it.
26363
842b81d6
DM
263642012-05-11 David S. Miller <davem@davemloft.net>
26365
26366 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
26367 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
26368 (_FPU_SETCW): Likewise.
26369
1cf463cd
L
263702012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26371
26372 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
26373 is 32-byte aligned.
26374
60cc4a18
AS
263752012-05-11 Andreas Schwab <schwab@linux-m68k.org>
26376
26377 [BZ #11837]
26378 * iconvdata/gb18030.c: Update tables.
26379 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
26380 characters specially.
26381 (BODY for TO_LOOP): Add encoding of missing ranges.
26382
febb44a4
TS
263832012-05-11 Thomas Schwinge <thomas@codesourcery.com>
26384
26385 [BZ #13673]
26386 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
26387 * sysdeps/mach/hurd/dup3.c: Likewise.
26388 * sysdeps/mach/hurd/readlinkat.c: Likewise.
26389 * sysdeps/powerpc/memmove.c:: Likewise.
26390
0a10fb9e
L
263912012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26392
26393 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
26394 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
26395
df8a552f
L
263962012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26397
26398 * elf/elf.h (R_X86_64_RELATIVE64): New.
26399 (R_X86_64_NUM): Updated.
26400 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26401 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
26402 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
26403 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
26404 tst-quad1pie tst-quad2pie
26405 (modules-names): Add tst-quadmod1 tst-quadmod2.
26406 ($(objpfx)tst-quad1): New dependency.
26407 ($(objpfx)tst-quad2): Likewise.
26408 ($(objpfx)tst-quad1pie): Likewise.
26409 ($(objpfx)tst-quad2pie): Likewise.
26410 * sysdeps/x86_64/tst-quad1.c: New file.
26411 * sysdeps/x86_64/tst-quad1pie.c: New file.
26412 * sysdeps/x86_64/tst-quad2.c: Likewise.
26413 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
26414 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
26415 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
26416 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
26417 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
26418
f34d6f84
ST
264192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26420
f42d41d1
ST
26421 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
26422 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
26423 * streams/stropts.h (t_scalar_t): Define type.
26424
3c3571fc
ST
26425 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
26426 (_PATH_PRESERVE): Set to "/var/lib".
26427 (_PATH_RWHODIR): Set to "/var/spool/rwho".
26428
61f06bd3
ST
26429 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
26430 instead of int.
26431
918d4d71
ST
26432 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
26433 if __dir_mkfile succeeded.
26434
f34d6f84
ST
26435 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
26436 checking for _hurd_dtablesize. Unlock it right after having
26437 finished _hurd_dtable allocation.
26438
10589b4a
TS
264392012-05-10 Thomas Schwinge <thomas@schwinge.name>
26440
674cdbc7
TS
26441 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
26442 * sysdeps/mach/hurd/configure: Regenerated.
26443 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
26444 special-casing to...
26445 * sysdeps/gnu/configure.in: ... this new file.
26446 * sysdeps/unix/sysv/linux/configure: Regenerated.
26447 * sysdeps/gnu/configure: New generated file.
26448
8e41b99f
TS
26449 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
26450 for Linux: use nsec instead of usec, as well as:
26451 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
26452 members of type struct timespec.
26453 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
26454 New macros.
26455 (struct stat64): Likewise.
26456 (_STATBUF_ST_NSEC): New macro.
26457 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
26458
10589b4a
TS
26459 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26460 __strtoul_internal rather than strtoul.
26461
63643c85
PT
264622012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26463
26464 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
26465 and reject them.
26466
3faebe6a
ST
264672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26468
26469 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
26470 which preserves existing values.
26471 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
26472
c6474b07
PT
264732012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26474
26475 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
26476 TIMEOUT values. Return EINVAL for NFDS values either negative or
26477 greater than FD_SETSIZE.
26478
1043890b
ST
264792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26480
26481 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
26482 allocated, call __vm_protect to finish enabling the existing space, and
26483 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
26484 allocate the remainder.
26485
37ed8b9b
PT
264862012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26487
26488 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
26489 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
26490
db653660
ST
264912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26492
37ed8b9b
PT
26493 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
26494 sysdeps/mach/hurd/readlink.c.
b29d4053 26495
db653660
ST
26496 * posix/tst-sysconf.c (posix_options): Only use
26497 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
26498 _POSIX_SYNCHRONIZED_IO when they are defined
26499 * sysdeps/mach/hurd/bits/posix_opt.h:
26500 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
26501 (_XOPEN_REALTIME): Undefine macro.
26502 (_XOPEN_REALTIME_THREADS): Undefine macro.
26503 (_XOPEN_SHM): Undefine macro.
26504 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
26505 macro to -1.
26506 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
26507 macro to -1.
26508 (_POSIX_ASYNC_IO): Undefine macro.
26509 (_POSIX_PRIORITIZED_IO): Undefine macro.
26510 (_POSIX_SPIN_LOCKS): Define macro to -1.
26511
ee16e894
ST
26512 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
26513 SA_NODEFER, SA_RESETHAND.
26514 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
26515 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
26516 F_DUPFD_CLOEXEC.
26517
6103ae3b
TS
265182012-05-10 Thomas Schwinge <thomas@schwinge.name>
26519
26520 * elf/Makefile (pldd-modules): Define unconditionally.
26521
80b4e5f3
TS
265222012-05-10 Thomas Schwinge <thomas@schwinge.name>
26523
26524 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
26525
edadcbd6
ST
265262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26527
26528 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
26529 Return ENOENT when name is empty.
26530 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
26531
80694780
TS
265322012-05-10 Thomas Schwinge <thomas@schwinge.name>
26533
1792c087
TS
26534 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
26535
80694780
TS
26536 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
26537
6b645f0d
ST
265382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26539
80694780
TS
26540 Fix mlock in all cases except non-readable pages.
26541 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
26542 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 26543
6b645f0d
ST
26544 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
26545 (__mkdir): When path is `/', just fail with EEXIST.
26546 * sysdeps/mach/hurd/mkdirat.c: Likewise.
26547
e468f8a3
TS
265482012-05-10 Thomas Schwinge <thomas@schwinge.name>
26549
26550 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
26551 <sys/uio.h> (for writev).
26552 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
26553 and <sys/param.h> (for MIN).
26554
a4186cff
PT
265552012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26556
26557 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
26558 REQUESTED_TIME. Properly set the remaining time and return EINTR
26559 if interrupted.
26560
510bbf14
TS
265612012-05-10 Thomas Schwinge <thomas@schwinge.name>
26562
26563 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
26564 Depend on against $(link-rpcuserlibs).
26565
5d5722e8
ST
265662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26567
a4186cff
PT
26568 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
26569 (__libc_stack_end): Do not use attribute_relro.
26570 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
26571 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 26572 to libthread-provided value.
a4186cff
PT
26573 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
26574 attribute_relro.
5d5722e8 26575
37233df9
TS
265762012-05-10 Thomas Schwinge <thomas@schwinge.name>
26577
be971a2b
TS
26578 [BZ #3748]
26579 * bits/libc-lock.h (__libc_once_get): New macro.
26580 * sysdeps/mach/bits/libc-lock.h: Likewise.
26581 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
26582 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
26583 instead of using implementation details.
26584
37233df9
TS
26585 * libio/fileops.c: Unconditionally include <kernel-features.h>.
26586 * libio/freopen.c: Likewise.
26587 * libio/freopen64.c: Likewise.
26588 * misc/syslog.c: Likewise.
26589 * nscd/connections.c: Likewise.
26590 * nscd/netgroupcache.c: Likewise.
26591 * sysdeps/posix/getcwd.c: Likewise.
26592
38de94a5
RM
265932012-05-10 Roland McGrath <roland@hack.frob.com>
26594
26595 * math/w_ilogbf.c: Add #include <limits.h>.
26596
67530489
ST
265972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26598
a4186cff 26599 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
26600 path instead of returning without unlocking.
26601
67530489
ST
26602 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
26603 immediate-write ioctls.
26604 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
26605
5aa3a74a
TS
266062012-05-10 Thomas Schwinge <thomas@schwinge.name>
26607
18bad2ae
TS
26608 * sysdeps/mach/hurd/i386/init-first.c (init): Use
26609 __builtin_frame_address instead of making assumptions about the
26610 location of the return address relative to DATA. Force early load of
26611 the return address.
26612 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
26613 __builtin_frame_address.
26614
5aa3a74a
TS
26615 dup3 for GNU Hurd.
26616 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
26617 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
26618 implement dup3 and do some further code clean-ups.
26619 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
26620 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
26621
ecd0de9a
ST
266222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26623
cd9fa985
ST
26624 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
26625
a4186cff
PT
26626 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
26627 HURD_CRITICAL_END around holding _hurd_dtable_lock.
26628 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
26629 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
26630 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
26631 d->port.lock.
802ca5a5 26632
a4186cff
PT
26633 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
26634 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
26635 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 26636
bcf55240
TS
266372012-05-10 Thomas Schwinge <thomas@schwinge.name>
26638
6960eb42
TS
26639 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
26640 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
26641 definitions.
26642
eb43375f
TS
26643 accept4 for GNU Hurd.
26644 * include/sys/socket.h (__libc_accept4): New prototype.
26645 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
26646 to implement __libc_accept4.
26647 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
26648 __libc_accept4.
26649 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
26650
bcf55240
TS
26651 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
26652 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
26653 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
26654 signal-defines.sym.
26655
6178c55b
ST
266562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26657
a4186cff 26658 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 26659
6f080c2f
TS
266602012-05-10 Thomas Schwinge <thomas@schwinge.name>
26661
26662 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
26663 assertion on O_CLOEXEC flag.
26664 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
26665 * hurd/intern-fd.c: Likewise.
26666 * hurd/port2fd.c: Likewise.
26667
bcfe3a54
ST
266682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26669
26670 [BZ #3906]
26671 * bits/in.h (IPV6_PKTINFO): Define new macro.
26672 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
26673
89c9aa49
AZ
266742012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26675
26676 [BZ #13954]
26677 [BZ #13955]
26678 [BZ #13956]
26679 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
26680 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26681 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
26682 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26683 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26684 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26685 * math/libm-test.inc (logb_test) : Additional logb tests.
26686
021db4be
AJ
266872012-05-09 Andreas Schwab <schwab@linux-m68k.org>
26688 Andreas Jaeger <aj@suse.de>
26689
26690 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
26691 * configure: Regenerated.
26692 * config.h.in (LINK_OBSOLETE_RPC): New macro.
26693 * config.make.in (link-obsolete-rpc): New substituted variable.
26694 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
26695 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
26696 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26697 (shared-only-routines): Don't set it under [link-obsolete-rpc],
26698 so that libc.a contains the symbols.
26699 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26700 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
26701 * sunrpc/auth_none.c: Likewise.
26702 * sunrpc/auth_unix.c: Likewise.
26703 * sunrpc/authdes_prot.c: Likewise.
26704 * sunrpc/authuxprot.c: Likewise.
26705 * sunrpc/clnt_gen.c: Likewise.
26706 * sunrpc/clnt_perr.c: Likewise.
26707 * sunrpc/clnt_raw.c: Likewise.
26708 * sunrpc/clnt_simp.c: Likewise.
26709 * sunrpc/clnt_tcp.c: Likewise.
26710 * sunrpc/clnt_udp.c: Likewise.
26711 * sunrpc/clnt_unix.c: Likewise.
26712 * sunrpc/des_crypt.c: Likewise.
26713 * sunrpc/des_soft.c: Likewise.
26714 * sunrpc/get_myaddr.c: Likewise.
26715 * sunrpc/key_call.c: Likewise.
26716 * sunrpc/key_prot.c: Likewise.
26717 * sunrpc/netname.c: Likewise.
26718 * sunrpc/pm_getmaps.c: Likewise.
26719 * sunrpc/pm_getport.c: Likewise.
26720 * sunrpc/pmap_clnt.c: Likewise.
26721 * sunrpc/pmap_prot.c: Likewise.
26722 * sunrpc/pmap_prot2.c: Likewise.
26723 * sunrpc/pmap_rmt.c: Likewise.
26724 * sunrpc/publickey.c: Likewise.
26725 * sunrpc/rpc_cmsg.c: Likewise.
26726 * sunrpc/rpc_common.c: Likewise.
26727 * sunrpc/rpc_dtable.c: Likewise.
26728 * sunrpc/rpc_prot.c: Likewise.
26729 * sunrpc/rpc_thread.c: Likewise.
26730 * sunrpc/rtime.c: Likewise.
26731 * sunrpc/svc.c: Likewise.
26732 * sunrpc/svc_auth.c: Likewise.
26733 * sunrpc/svc_raw.c: Likewise.
26734 * sunrpc/svc_run.c: Likewise.
26735 * sunrpc/svc_tcp.c: Likewise.
26736 * sunrpc/svc_udp.c: Likewise.
26737 * sunrpc/svc_unix.c: Likewise.
26738 * sunrpc/svcauth_des.c: Likewise.
26739 * sunrpc/xcrypt.c: Likewise.
26740 * sunrpc/xdr.c: Likewise.
26741 * sunrpc/xdr_array.c: Likewise.
26742 * sunrpc/xdr_float.c: Likewise.
26743 * sunrpc/xdr_intXX_t.c: Likewise.
26744 * sunrpc/xdr_mem.c: Likewise.
26745 * sunrpc/xdr_rec.c: Likewise.
26746 * sunrpc/xdr_ref.c: Likewise.
26747 * sunrpc/xdr_sizeof.c: Likewise.
26748 * sunrpc/xdr_stdio.c: Likewise.
26749
b5c086a2
RM
267502012-05-10 Roland McGrath <roland@hack.frob.com>
26751
26752 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
26753 change. Update copyright years.
26754
6d74dd09
JM
267552012-05-10 Joseph Myers <joseph@codesourcery.com>
26756
26757 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
26758
28e72501
MK
267592012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
26760 Joseph Myers <joseph@codesourcery.com>
26761 Paul Pluzhnikov <ppluzhnikov@google.com>
26762
26763 [BZ #14012]
26764 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
26765 requiring rpcgen.
26766 [cross-compiling] (extra-libs): Likewise.
26767 [cross-compiling] (extra-libs-others): Likewise.
26768 [cross-compiling] (librpcsvc-routines): Likewise.
26769 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
26770 [cross-compiling] (omit-deps): Likewise.
26771 (sunrpc-CPPFLAGS): New variable.
26772 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
26773 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
26774 (cross-rpcgen-objs): New variable.
26775 (extra-objs): Append $(cross-rpcgen-objs).
26776 ($(cross-rpcgen-objs)): New rule.
26777 ($(objpfx)cross-rpcgen): Likewise.
26778 (rpcgen-cmd): Define to use $(built-program-file). Expand
26779 comment.
26780 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
26781 ($(objpfx)x%.stmp): Likewise.
26782 * sunrpc/proto.h [IS_IN_build] (_): Define.
26783 [IS_IN_build] (_libc_intl_domainname): Likewise.
26784
c8c59454
L
267852012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26786
26787 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
26788 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
26789 and R_X86_64_TPOFF64.
26790
6f27cd16
JM
267912012-05-10 Joseph Myers <joseph@codesourcery.com>
26792
26793 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
26794 sysdeps/unix/sysv/syscalls.list.
26795 (stime): Likewise.
26796 (utime): Likewise.
26797 * sysdeps/unix/sysv/syscalls.list: Remove file.
26798
02467e1c
PE
267992012-05-10 Paul Eggert <eggert@cs.ucla.edu>
26800
26801 [BZ #3440]
26802 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
26803 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
26804 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
26805 (__LC_IDENTIFICATION): Make these macros useful in #if
26806 expressions, as required by C99.
26807
da392631
AS
268082012-05-10 Andreas Schwab <schwab@linux-m68k.org>
26809
26810 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
26811 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
26812 after this.
26813
8115f29b
L
268142012-05-09 H.J. Lu <hongjiu.lu@intel.com>
26815
26816 * stdlib/longlong.h: Updated from GCC.
26817
bdd74070
AJ
268182012-05-09 Andreas Jaeger <aj@suse.de>
26819
edfe0dbe
AJ
26820 * nscd/nscd.c (run_modes): Make named enum, reorder so that
26821 default is first entry.
26822 (run_mode): Set type.
26823 (main): Remove informal message about syslog.
26824 (options): Fix typo.
26825
bcfe3a54
ST
26826 [BZ #14053]
26827 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 26828 to asm.
bcfe3a54
ST
26829 (lrint): Likewise.
26830 (llrintf): Likewise.
26831 (llrint): Likewise.
26832 (rint): Likewise.
26833 (rintf): Likewise.
26834 (nearbyint): Likewise.
26835 (nearbyintf): Likewise.
bdd74070 26836
91d8d69e
AJ
268372012-05-09 Andreas Jaeger <aj@suse.de>
26838 Pedro Alves <palves@redhat.com>
26839
26840 * nscd/nscd.c (run_mode): Use enum.
26841 (main): Cleanup coding style issue.
26842
bb90b80b
AJ
268432012-05-09 Alexandre Oliva <aoliva@redhat.com>
26844 Andreas Jaeger <aj@suse.de>
26845
bcfe3a54
ST
26846 * nscd/nscd.c (go_background): Replaced with...
26847 (run_mode): ... this.
bb90b80b 26848 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
26849 (options): Add -F --foreground.
26850 (main): Implement it.
26851 (parse_opt): Parse it.
bb90b80b 26852
1a4b75a1
AJ
268532012-05-09 Andreas Jaeger <aj@suse.de>
26854
26855 [BZ #14083]
26856 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
26857 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
26858 -Wconversion warning.
26859 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
26860 Likewise.
26861
b1cc2472
JM
268622012-05-09 Joseph Myers <joseph@codesourcery.com>
26863
26864 * conform/data/locale.h-data (NULL): Use macro-constant. Require
26865 == 0.
26866 (LC_ALL): Use macro-int-constant.
26867 (LC_COLLATE): Likewise.
26868 (LC_CTYPE): Likewise.
26869 (LC_MESSAGES): Likewise.
26870 (LC_MONETARY): Likewise.
26871 (LC_NUMERIC): Likewise.
26872 (LC_TIME): Likewise.
26873 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
26874 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26875 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26876 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
26877 Specify type.
26878 [C99-based standards] (float_t): Expect type.
26879 [C99-based standards] (double_t): Expect type.
26880 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
26881 type.
26882 [C99-based standards] (HUGE_VALL): Likewise.
26883 [C99-based standards] (INFINITY): Likewise.
26884 [C99-based standards] (NAN): Likewise.
26885 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
26886 [C99-based standards] (FP_NAN): Likewise.
26887 [C99-based standards] (FP_NORMAL): Likewise.
26888 [C99-based standards] (FP_SUBNORMAL): Likewise.
26889 [C99-based standards] (FP_ZERO): Likewise.
26890 [C99-based standards] (FP_FAST_FMA): Use
26891 optional-macro-int-constant. Specify type. Require == 1.
26892 [C99-based standards] (FP_FAST_FMAF): Likewise.
26893 [C99-based standards] (FP_FAST_FMAL): Likewise.
26894 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
26895 [C99-based standards] (FP_ILOGBNAN): Likewise.
26896 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
26897 Specify type.
26898 [C99-based standards] (MATH_ERREXCEPT): Likewise.
26899 [C99-based standards] (math_errhandling): Specify type.
26900 [ISO99 || ISO11] (signgam): Do not allow.
26901 [non-C99-based standards] (copysignf): Do not allow.
26902 [non-C99-based standards] (exp2f): Likewise.
26903 [non-C99-based standards] (log2f): Likewise.
26904 [non-C99-based standards] (modff): Allow.
26905 [non-C99-based standards] (erff): Do not allow.
26906 [non-C99-based standards] (erfcf): Likewise.
26907 [non-C99-based standards] (gammaf): Likewise.
26908 [non-C99-based standards] (hypotf): Likewise.
26909 [non-C99-based standards] (j0f): Likewise.
26910 [non-C99-based standards] (j1f): Likewise.
26911 [non-C99-based standards] (jnf): Likewise.
26912 [non-C99-based standards] (lgammaf): Likewise.
26913 [non-C99-based standards] (tgammaf): Likewise.
26914 [non-C99-based standards] (y0f): Likewise.
26915 [non-C99-based standards] (y1f): Likewise.
26916 [non-C99-based standards] (ynf): Likewise.
26917 [non-C99-based standards] (isnanf): Likewise.
26918 [non-C99-based standards] (acoshf): Likewise.
26919 [non-C99-based standards] (asinhf): Likewise.
26920 [non-C99-based standards] (atanhf): Likewise.
26921 [non-C99-based standards] (cbrtf): Likewise.
26922 [non-C99-based standards] (expm1f): Likewise.
26923 [non-C99-based standards] (ilogbf): Likewise.
26924 [non-C99-based standards] (log1pf): Likewise.
26925 [non-C99-based standards] (logbf): Likewise.
26926 [non-C99-based standards] (nextafterf): Likewise.
26927 [non-C99-based standards] (remainderf): Likewise.
26928 [non-C99-based standards] (rintf): Likewise.
26929 [non-C99-based standards] (scalbf): Likewise.
26930 [non-C99-based standards] (copysignl): Likewise.
26931 [non-C99-based standards] (exp2l): Likewise.
26932 [non-C99-based standards] (log2l): Likewise.
26933 [non-C99-based standards] (modfl): Allow.
26934 [non-C99-based standards] (erfl): Do not allow.
26935 [non-C99-based standards] (erfcl): Likewise.
26936 [non-C99-based standards] (gammal): Likewise.
26937 [non-C99-based standards] (hypotl): Likewise.
26938 [non-C99-based standards] (j0l): Likewise.
26939 [non-C99-based standards] (j1l): Likewise.
26940 [non-C99-based standards] (jnl): Likewise.
26941 [non-C99-based standards] (lgammal): Likewise.
26942 [non-C99-based standards] (tgammal): Likewise.
26943 [non-C99-based standards] (y0l): Likewise.
26944 [non-C99-based standards] (y1l): Likewise.
26945 [non-C99-based standards] (ynl): Likewise.
26946 [non-C99-based standards] (isnanl): Likewise.
26947 [non-C99-based standards] (acoshl): Likewise.
26948 [non-C99-based standards] (asinhl): Likewise.
26949 [non-C99-based standards] (atanhl): Likewise.
26950 [non-C99-based standards] (cbrtl): Likewise.
26951 [non-C99-based standards] (expm1l): Likewise.
26952 [non-C99-based standards] (ilogbl): Likewise.
26953 [non-C99-based standards] (log1pl): Likewise.
26954 [non-C99-based standards] (logbl): Likewise.
26955 [non-C99-based standards] (nextafterl): Likewise.
26956 [non-C99-based standards] (remainderl): Likewise.
26957 [non-C99-based standards] (rintl): Likewise.
26958 [non-C99-based standards] (scalbl): Likewise.
26959 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26960 [non-C99-based standards] (FP_*): Do not allow.
26961 [C99-based standards] (FP_*): Change to
26962 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26963 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26964 allow.
26965 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
26966 (SIG_ERR): Likewise.
26967 [X/Open-based standards] (SIG_HOLD): Likewise.
26968 (SIG_IGN): Likewise.
26969 (SIGABRT): Use macro-int-constant. Specify type. Require
26970 positive value.
26971 (SIGFPE): Likewise.
26972 (SIGILL): Likewise.
26973 (SIGINT): Likewise.
26974 (SIGSEGV): Likewise.
26975 (SIGTER): Likewise.
26976 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
26977 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
26978 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
26979 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
26980 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
26981 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
26982 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
26983 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
26984 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
26985 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
26986 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
26987 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
26988 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
26989 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
26990 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
26991 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
26992 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
26993 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
26994 [X/Open-based standards] (SIGTRAP): Likewise.
26995 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
26996 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
26997 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
26998 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
26999 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27000 allow.
27001
b9f1922d
IW
270022012-05-08 Ian Wienand <ianw@vmware.com>
27003
27004 [BZ #14080]
27005 * time/tzset.c (__tzset_parse_tz): Update default rules for
27006 daylight time changes in the Energy Policy Act of 2005.
27007
1db86e88
AJ
270082012-05-09 Andreas Jaeger <aj@suse.de>
27009
27010 [BZ #13983]
27011 * elf/ldconfig.c (parse_conf): Change string to make clear that
27012 ldconfig only issued a warning if ld.so.conf does not exist.
27013
dee4a4e3
DM
270142012-05-08 David S. Miller <davem@davemloft.net>
27015
ee0db190
DM
27016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
27017 movxtod instead of popping the value on the stack.
27018
dee4a4e3
DM
27019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27020
6a43ec98
CD
270212012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
27022
27023 * config.h.in: Add HAVE_ARM_PCS_VFP.
27024
05c2c961
RMG
270252012-05-08 Roland Mc Grath <roland@hack.frob.com>
27026
bcfe3a54
ST
27027 [BZ #13979]
27028 * include/features.h: Warn if user requests __FORTIFY_SOURCE
27029 checking but the checks are disabled for any reason.
05c2c961 27030
4b30f61a
L
270312012-05-08 H.J. Lu <hongjiu.lu@intel.com>
27032
27033 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
27034 and ELF64_R_TYPE with ELFW(R_TYPE).
27035
eee2bc67
JM
270362012-05-08 Joseph Myers <joseph@codesourcery.com>
27037
7ea5391a
JM
27038 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
27039 (ulimit): Likewise.
27040
eee2bc67
JM
27041 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
27042 (settimeofday): Likewise.
27043
abb66a67
MF
270442012-05-08 Mike Frysinger <vapier@gentoo.org>
27045
27046 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
27047 a struct th_u2 inside the union, and move tu_block/tu_code into
27048 a new th_u3 union of tu_block/tu_code inside of that. Move
27049 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
27050 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
27051 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
27052 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
27053 (th_stuff): Change to th_u1.tu_stuff.
27054 (th_data): Define.
27055 (th_msg): Change to th_u1.th_u2.tu_data.
27056
7f18b530
DM
270572012-05-07 David S. Miller <davem@davemloft.net>
27058
05760585
DM
27059 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27060
7f18b530
DM
27061 [BZ #14074]
27062 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
27063 (SETUP_PIC_REG): Use it.
27064 (SETUP_PIC_REG_LEAF): Use it.
27065
495fd99f
JM
270662012-05-07 Joseph Myers <joseph@codesourcery.com>
27067
27068 [BZ #13885]
27069 [BZ #13923]
27070 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27071 USE_AS_EXPM1L.
27072 (EXPL_FINITE): Likewise.
27073 (FLDLOG): Likewise.
27074 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
27075 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
27076 e_expl.S.
27077 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27078 USE_AS_EXPM1L.
27079 (EXPL_FINITE): Likewise.
27080 (FLDLOG): Likewise.
27081 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
27082 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
27083 e_expl.S.
27084 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
27085 test of -max_value argument for long double.
27086 * sysdeps/i386/fpu/libm-test-ulps: Update.
27087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27088
6693d694
DM
270892012-05-06 David S. Miller <davem@davemloft.net>
27090
27091 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
27092 quad soft-float symbols whose references which are compiler
27093 generated.
27094 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27095
6c23e11c
JM
270962012-05-06 Joseph Myers <joseph@codesourcery.com>
27097
d8b82cad
JM
27098 [BZ #13884]
27099 [BZ #13914]
27100 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27101 USE_AS_EXP10L.
27102 (EXPL_FINITE): Likewise.
27103 (FLDLOG): Likewise.
27104 (c0): Likewise.
27105 (c1): Likewise.
27106 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
27107 Adjust comments for base varying.
27108 (__expl_finite): Change alias to EXPL_FINITE.
27109 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
27110 e_expl.S.
27111 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
27112 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
27113 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
27114 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
27115 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27116 USE_AS_EXP10L.
27117 (EXPL_FINITE): Likewise.
27118 (FLDLOG): Likewise.
27119 (c0): Likewise.
27120 (c1): Likewise.
27121 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
27122 Adjust comments for base varying.
27123 (__expl_finite): Change alias to EXPL_FINITE.
27124 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
27125 tests for bugs.
27126 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27127
6c23e11c
JM
27128 [BZ #14064]
27129 * math/libm-test.inc (check_float_internal): Correct ulp
27130 calculation for subnormal expected results.
27131
29ba805c
AJ
271322012-05-06 Andreas Jaeger <aj@suse.de>
27133
27134 * Makeconfig (+math-flags): New, set to -frounding-math.
27135 (+cflags): Add +math-flags so that all of glibc gets compiled with
27136 it.
27137
27138 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
27139
7b17aeda
JM
271402012-05-05 Joseph Myers <joseph@codesourcery.com>
27141
5779f134
JM
27142 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
27143 Disable one test.
27144
41498f4d
JM
27145 [BZ #13787]
27146 [BZ #13922]
27147 [BZ #14036]
27148 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
27149 (__ieee754_expl): Allow for and saturate large arguments.
27150 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
27151 (u_threshold): Likewise.
27152 (__exp): Call __ieee754_exp before checking for overflow and
27153 underflow.
27154 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
27155 (u_threshold): Likewise.
27156 (__expf): Call __ieee754_expf before checking for overflow and
27157 underflow.
27158 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
27159 (u_threshold): Likewise.
27160 (__expl): Call __ieee754_expl before checking for overflow and
27161 underflow.
27162 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
27163 (__ieee754_expl): Allow for and saturate large arguments.
27164 * math/libm-test.inc (exp_test): Add another test. Do not allow
27165 missing overflow exception on overflow.
27166 (expm1_test): Do not allow missing overflow exception on overflow.
27167
6698b8bf
JM
27168 * sysdeps/i386/fpu/e_expl.c: Move to ...
27169 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
27170 rather than using inline asm.
27171 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
27172 * sysdeps/x86_64/fpu/e_expl.S: Copy from
27173 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
27174
7b17aeda
JM
27175 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
27176 (nice): Likewise.
27177 (poll): Likewise.
27178 (signal): Likewise.
27179 (time): Likewise.
27180 (times): Likewise.
27181
f7c85819
JM
271822012-05-04 Joseph Myers <joseph@codesourcery.com>
27183
27184 * sysdeps/unix/syscalls.list (adjtime): Add entry from
27185 sysdeps/unix/common/syscalls.list.
27186 (fchmod): Likewise.
27187 (fchown): Likewise.
27188 (ftruncate): Likewise.
27189 (getrusage): Likewise.
27190 (gettimeofday): Likewise.
27191 (setpgid): Likewise.
27192 (setregid): Likewise.
27193 (setreuid): Likewise.
27194 (sigaction): Likewise.
27195 (truncate): Likewise.
27196 (vhangup): Likewise.
27197 * sysdeps/unix/common/syscalls.list: Remove file.
27198 * sysdeps/unix/bsd/Implies: Don't include unix/common.
27199 * sysdeps/unix/sysv/linux/Implies: Likewise.
27200
336270d0
L
272012012-05-04 H.J. Lu <hongjiu.lu@intel.com>
27202
27203 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
27204 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
27205 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
27206 Moved to ...
27207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
27208 Here.
27209 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
27210 to ...
27211 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
27212 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
27213 to ...
27214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
27215 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
27216 to ...
27217 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
27218 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
27219 to ...
27220 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
27221 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
27222 to ...
27223 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
27224 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
27225 to ...
27226 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
27227 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
27228 to ...
27229 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
27230 Here.
27231 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
27232 to ...
27233 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
27234 Here.
27235 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
27236 to ...
27237 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
27238 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
27239 Moved to ...
27240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
27241 Here.
27242 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
27243 to ...
27244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
27245
d128e450
JM
272462012-05-04 Joseph Myers <joseph@codesourcery.com>
27247
fa8ee516
JM
27248 * sysdeps/unix/common/bits/dirent.h: Remove file.
27249 * sysdeps/unix/common/bits/fcntl.h: Likewise.
27250
d128e450
JM
27251 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
27252 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
27253 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
27254 * sysdeps/unix/bsd/isatty.c: Likewise.
27255 * sysdeps/unix/bsd/tcdrain.c: Likewise.
27256 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
27257 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
27258
ff8faaf0 272592012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 27260
62881be4 27261 [BZ #13563]
31dc8730
AZ
27262 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
27263 long double comparison inaccuracies.
27264 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
27265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27266
6fef930c
AS
272672012-05-04 Andreas Schwab <schwab@linux-m68k.org>
27268
27269 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
27270 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
27271
8f203e6c
JM
272722012-05-04 Joseph Myers <joseph@codesourcery.com>
27273
27274 [BZ #14049]
27275 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
27276 nonzero digits before rounding a hex value.
27277 * stdlib/tst-strtod.c (tests): Add another test.
27278
5197d9c2
AK
272792012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27280
27281 * sysdeps/s390/fpu/libm-test-ulps: Update.
27282
f0c1dedf
AJ
272832012-05-03 Andreas Jaeger <aj@suse.de>
27284
27285 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
27286 does not get optimized out.
27287 (malloc_opt_barrier): New.
27288
a65ef2ae 272892012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 27290 Roland McGrath <roland@hack.frob.com>
a65ef2ae 27291
2b942cb7 27292 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 27293 intermediate file deletion.
2b942cb7 27294 (generated): Add .symlist files.
a65ef2ae 27295
54b71e02
JM
272962012-05-03 Joseph Myers <joseph@codesourcery.com>
27297
27298 [BZ #13775]
27299 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
27300 Redirect under this condition.
27301 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27302 [__USE_GNU] (__dprintf_chk): Not under this condition.
27303 [__USE_GNU] (__vdprintf_chk): Likewise.
27304 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
27305 under this condition.
27306 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27307 [__USE_XOPEN2K8] (dprintf): Define under this condition.
27308 [__USE_XOPEN2K8] (vdprintf): Likewise.
27309 [__USE_GNU] (__dprintf_chk): Not under this condition.
27310 [__USE_GNU] (__vdprintf_chk): Likewise.
27311 [__USE_GNU] (dprintf): Likewise.
27312 [__USE_GNU] (vdprintf): Likewise.
27313
d3dfcc41
RM
273142012-05-03 Roland McGrath <roland@hack.frob.com>
27315
27316 * elf/Makefile (common-generated): Set this instead of generated for
27317 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
27318 $(all-built-dso)-derived lists.
27319
7ac30cc5
AJ
273202012-05-03 Andreas Jaeger <aj@suse.de>
27321
0c51e550
AJ
27322 * sysdeps/i386/fpu/libm-test-ulps: Update.
27323
7ac30cc5
AJ
27324 * FAQ: Removed.
27325 * FAQ.in: Likewise.
27326 * scripts/gen-FAQ.pl: Likewise.
27327 * manual/install.texi (Installation): Point to online location of
27328 FAQ.
27329 * Makefile (files-for-dist): Remove FAQ.
27330 (FAQ): Remove.
27331
d4c2917f
AM
273322012-05-02 Allan McRae <allan@archlinux.org>
27333
27334 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
27335 (LDFLAGS-reldepmod5.so): Likewise.
27336 (LDFLAGS-reldep6mod1.so): Likewise.
27337 (LDFLAGS-reldep6mod4.so): Likewise.
27338 (LDFLAGS-reldep8mod3.so): Likewise.
27339 (LDFLAGS-unload4mod1.so): Likewise.
27340 (LDFLAGS-unload4mod2.so): Likewise.
27341 (LDFLAGS-tst-initorder): Likewise.
27342 (LDFLAGS-tst-initordera2.so): Likewise.
27343 (LDFLAGS-tst-initordera3.so): Likewise.
27344 (LDFLAGS-tst-initordera4.so): Likewise.
27345 (LDFLAGS-tst-initorderb2.so): Likewise.
27346 (LDFLAGS-noload): Likewise.
27347 (LDFLAGS-next): Likewise.
27348 (LDFLAGS-order2mod1.so): Likewise.
27349 (LDFLAGS-order2mod2.so): Likewise.
27350 (LDFLAGS-tst-initorder2): Likewise.
27351 (LDFLAGS-tst-initorder2a.so): Likewise.
27352 (LDFLAGS-tst-initorder2b.so): Likewise.
27353 (LDFLAGS-tst-initorder2c.so): Likewise.
27354 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
27355
d77f993f
DM
273562012-05-02 David S. Miller <davem@davemloft.net>
27357
27358 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27359
171a70b4
PP
273602012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
27361
27362 [BZ #14055]
27363 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
27364
0be196ad
AJ
273652012-05-02 Andreas Jaeger <aj@suse.de>
27366
27367 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
27368 since we manipulate rounding mode.
27369 (CPPFLAGS-test-idouble.c): Likewise.
27370 (CPPFLAGS-test-ifloat.c): Likewise.
27371 (CFLAGS-test-ldouble.c): Likewise.
27372 (CFLAGS-test-double.c): Likewise.
27373 (CFLAGS-test-float.c): Likewise.
27374 (CFLAGS-test-misc.c): Likewise.
27375 (CFLAGS-test-test-fenv.c): Likewise.
27376
4f9d04aa
AZ
273772012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27378
2b942cb7
RM
27379 [BZ #2550]
27380 [BZ #2570]
27381 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
27382 comparisons to determine direction to adjust input.
4f9d04aa 27383
82a79e7d
RM
273842012-05-01 Roland McGrath <roland@hack.frob.com>
27385
f5a01ca9
RM
27386 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
27387 output to the target.
27388
90fe4186
RM
27389 * scripts/localplt.awk: New file.
27390 * elf/Makefile ($(objpfx)check-localplt): Target removed.
27391 (check-localplt-CFLAGS): Variable removed.
27392 ($(all-built-dso:=.jmprel)): New static pattern rule.
27393 (generated): Add those targets.
27394 (localplt-built-dso): New variable.
27395 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
27396
27397 * elf/check-localplt.c: File removed.
27398
82397ed6
RM
27399 * scripts/check-execstack.awk: New file.
27400 * elf/Makefile ($(objpfx)check-execstack): Target removed.
27401 (check-execstack-CFLAGS): Variable removed.
27402 ($(objpfx)check-execstack.h): Target removed.
27403 ($(objpfx)execstack-default): New target.
27404 (generated): Add that instead of check-execstack.h.
27405 ($(all-built-dso:=.phdr)): New static pattern rule.
27406 (generated): Add those targets.
27407 * elf/check-execstack.c: File removed.
27408
82a79e7d
RM
27409 * scripts/check-textrel.awk: New file.
27410 * elf/Makefile ($(objpfx)check-textrel): Target removed.
27411 (check-textrel-CFLAGS): Variable removed.
27412 (all-built-dso): Use := to define.o
27413 ($(all-built-dso:=.dyn)): New static pattern rule.
27414 (generated): Add those targets.
27415 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
27416 * config.make.in (READELF): New substituted variable.
27417 * elf/check-textrel.c: File removed.
27418
62fde54f 274192012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 27420
615605c9
JM
27421 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27422 allow.
27423 * conform/data/ctype.h-data [C99-based standards] (isblank):
27424 Expect function.
27425 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
27426 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
27427 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27428 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
27429 Specify type. Require positive value.
27430 (EILSEQ): Likewise.
27431 (ERANGE): Likewise.
27432 [ISO || POSIX] (EILSEQ): Do not expect.
27433 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
27434 Specify type. Require positive value.
27435 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
27436 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
27437 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
27438 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
27439 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
27440 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
27441 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
27442 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
27443 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
27444 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
27445 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
27446 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
27447 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
27448 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
27449 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
27450 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
27451 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
27452 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
27453 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
27454 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
27455 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
27456 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
27457 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
27458 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
27459 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
27460 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
27461 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
27462 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
27463 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
27464 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
27465 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
27466 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
27467 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
27468 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
27469 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
27470 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
27471 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
27472 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
27473 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
27474 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
27475 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
27476 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
27477 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
27478 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
27479 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
27480 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
27481 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
27482 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
27483 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
27484 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
27485 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
27486 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
27487 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
27488 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
27489 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
27490 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
27491 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
27492 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
27493 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
27494 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
27495 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
27496 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
27497 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
27498 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
27499 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
27500 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
27501 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
27502 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
27503 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
27504 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
27505 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
27506 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
27507 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
27508 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
27509 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
27510 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
27511 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
27512 Require >= 2.
27513 (FLT_ROUNDS): Expect as macro, not constant.
27514 (FLT_MANT_DIG): Use macro-int-constant.
27515 (DBL_MANT_DIG): Likewise.
27516 (LDBL_MANT_DIG): Likewise.
27517 (FLT_DIG): Likewise.
27518 (DBL_DIG): Likewise.
27519 (LDBL_DIG): Likewise.
27520 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
27521 (DBL_MIN_EXP): Likewise.
27522 (LDBL_MIN_EXP): Likewise.
27523 (FLT_MAX_EXP): Use macro-int-constant.
27524 (DBL_MAX_EXP): Likewise.
27525 (LDBL_MAX_EXP): Likewise.
27526 (FLT_MAX_10_EXP): Likewise.
27527 (DBL_MAX_10_EXP): Likewise.
27528 (LDBL_MAX_10_EXP): Likewise.
27529 (FLT_MAX): Use macro-constant.
27530 (DBL_MAX): Likewise.
27531 (LDBL_MAX): Likewise.
27532 (FLT_EPSILON): Use macro-constant. Give upper bound.
27533 (DBL_EPSILON): Likewise.
27534 (LDBL_EPSILON): Likewise.
27535 (FLT_MIN): Likewise.
27536 (DBL_MIN): Likewise.
27537 (LDBL_MIN): Likewise.
27538 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
27539 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
27540 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
27541 [ISO11] (FLT_HAS_SUBNORM): Likewise.
27542 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
27543 [ISO11] (DBL_DECIMAL_DIG): Likewise.
27544 [ISO11] (FLT_DECIMAL_DIG): Likewise.
27545 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
27546 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
27547 [ISO11] (FLT_TRUE_MIN): Likewise.
27548 [ISO11] (LDBL_TRUE_MIN): Likewise.
27549 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27550 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
27551 (SCHAR_MIN): Use macro-int-constant. Specify type.
27552 (SCHAR_MAX): Likewise.
27553 (UCHAR_MAX): Likewise.
27554 (CHAR_MIN): Likewise.
27555 (CHAR_MAX): Likewise.
27556 (MB_LEN_MAX): Use macro-int-constant.
27557 (SHRT_MIN): Use macro-int-constant. Specify type.
27558 (SHRT_MAX): Likewise.
27559 (USHRT_MAX): Likewise.
27560 (INT_MAX): Likewise.
27561 (INT_MIN): Use macro-int-constant. Specify type. Make upper
27562 bound negative.
27563 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
27564 bound with "U".
27565 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27566 bound with "L".
27567 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
27568 bound negative. Suffix upper bound with "L".
27569 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27570 bound with "UL".
27571 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
27572 Specify type.
27573 [C99-based standards] (LLONG_MAX): Likewise.
27574 [C99-based standards] (ULLONG_MAX): Likewise.
27575 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
27576 == 0.
27577 [ISO11] (max_align_t): Require type.
27578 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27579
c9140a62
JM
27580 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
27581 from $CFLAGS, without defining away __attribute__ calls.
27582 (checknamespace): Use $CFLAGS_namespace.
27583
9af0bf29
JM
27584 * conform/conformtest.pl (@keywords): Only include C99 keywords
27585 for standards based on C99 or C11.
27586
343222a2
JM
27587 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
27588 Disable tests.
27589 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
27590 UNIX98]: Likewise.
27591
661f8cf0
JM
27592 * conform/conformtest.pl: Handle "macro-int-constant" and test for
27593 usability of symbols in #if.
27594
ee74b9cb
JM
27595 * conform/conformtest.pl: If macro or constant types start
27596 "promoted:", expect the symbol to be of the following type
27597 promoted by the integer promotions.
62fde54f 27598
aafc49b3
JM
27599 * conform/conformtest.pl: Parse all "constant" and "macro" lines
27600 in one place. Also handle "macro-constant".
27601
fefdf574
JM
27602 * conform/conformtest.pl: Only accept expected macro values with
27603 "==". Parse all "macro" lines in one place.
27604 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
27605
f2d922fe
JM
27606 * conform/conformtest.pl: Handle braced types on "constant" lines
27607 instead of handling "typed-constant".
27608 * conform/data/signal.h-data: Use "constant" instead of
27609 "typed-constant".
27610
d22956c9
JM
27611 * conform/conformtest.pl: Handle "optional-" at start of lines in
27612 one place rather than duplicating several cases. Handle each
27613 format of "macro" line with initial "optional-".
27614
028e2e38
JM
27615 * conform/conformtest.pl: Only accept expected constant or
27616 optional-constant values with "==". Parse all "constant" lines in
27617 one place. Parse all "optional-constant" lines in one place.
27618 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
27619 * conform/data/fmtmsg.h-data: Likewise.
27620 * conform/data/netinet/in.h-data: Likewise.
27621 * conform/data/tar.h-data: Likewise.
27622 * conform/data/limits.h-data: Use "==" form on "constant" and
27623 "optional-constant" lines.
27624
1b8f2850
JM
27625 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
27626 Use -std=c99 for XOPEN2K.
27627 (@knownproblems): Remove.
27628 (newtoken): Don't check %isknown.
27629
a05a144b
JM
27630 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
27631 Do not expect macro.
27632 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
27633 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
27634 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
27635 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
27636 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
27637 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
27638 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
27639 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
27640 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
27641 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
27642 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
27643 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
27644 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
27645 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
27646 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
27647 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
27648 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
27649 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
27650 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
27651 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
27652 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
27653 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
27654 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
27655 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
27656 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
27657 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
27658 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
27659 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
27660 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
27661 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
27662 [XPG3] (acosh): Likewise.
27663 [XPG3] (asinh): Likewise.
27664 [XPG3] (atanh): Likewise.
27665 [XPG3] (cbrt): Likewise.
27666 [XPG3] (expm1): Likewise.
27667 [XPG3] (ilogb): Likewise.
27668 [XPG3] (log1p): Likewise.
27669 [XPG3] (logb): Likewise.
27670 [XPG3] (nextafter): Likewise.
27671 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
27672 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
27673 [XPG3] (remainder): Likewise.
27674 [XPG3] (rint): Likewise.
27675 [XPG3 || XPG4 || UNIX98] (round): Likewise.
27676 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
27677 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
27678 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
27679 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
27680 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
27681 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
27682 [UNIX98 || XOPEN2K] (scalb): Expect.
27683 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
27684 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
27685 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
27686 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
27687 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
27688 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
27689 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
27690 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
27691 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
27692 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
27693 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
27694 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
27695 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
27696 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
27697 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
27698 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
27699 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
27700 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
27701 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
27702 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
27703 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
27704 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
27705 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
27706 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
27707 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
27708 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
27709 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
27710 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
27711 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
27712 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
27713 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
27714 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
27715 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
27716 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
27717 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
27718 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
27719 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
27720 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
27721 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
27722 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
27723 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
27724 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
27725 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
27726 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
27727 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
27728 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
27729 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
27730 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
27731 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
27732 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
27733 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
27734 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
27735 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
27736 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
27737 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
27738 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
27739 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
27740 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
27741 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
27742 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
27743 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
27744 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
27745 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
27746 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
27747 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
27748 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
27749 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
27750 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
27751 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
27752 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
27753 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
27754 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
27755 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
27756 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
27757 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
27758 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
27759 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
27760 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
27761 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
27762 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
27763 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
27764 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
27765 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
27766 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
27767 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
27768 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
27769 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
27770 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
27771 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
27772 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
27773 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
27774 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
27775 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
27776 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
27777 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
27778 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
27779 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
27780 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
27781 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
27782 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
27783 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
27784 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
27785 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
27786 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
27787 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
27788 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
27789 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
27790 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
27791 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
27792 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
27793 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
27794 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
27795 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
27796 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
27797 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
27798 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
27799 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
27800 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
27801 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
27802 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
27803 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
27804 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
27805 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
27806 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
27807 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
27808 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
27809 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
27810 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
27811 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
27812 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
27813 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
27814 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
27815 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
27816 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
27817 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
27818 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
27819 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
27820
73c5ebe3
JM
27821 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
27822 _XOPEN_SOURCE_EXTENDED for XPG4.
27823
39c33b6c
JM
27824 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
27825
62fde54f
JM
27826 * Makeconfig (localtime): Remove variable.
27827 (inst_localtime-file): Likewise.
27828
0741d64c
AS
278292012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27830
27831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27832 Update.
27833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27834 Update.
27835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27836 Update.
27837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27838 Update.
27839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
27840 Update.
27841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
27842 Update.
27843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27844 Update.
27845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
27846 Update.
27847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27848 Update.
27849
7cb029ee
JM
278502012-05-01 Joseph Myers <joseph@codesourcery.com>
27851
27852 [BZ #2550]
27853 [BZ #2570]
27854 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
27855 comparisons to determine direction to adjust input.
27856 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27857 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
27858 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
27859 Likewise.
27860 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
27861 Likewise.
27862 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27863 Likewise.
27864 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
27865 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27866 Likewise.
27867 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27868 Likewise.
27869 * math/libm-test.inc (nexttoward_test): Add more tests.
27870
412bd966
AS
278712012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27872
27873 [BZ #14040]
27874 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
27875 in version GLIBC_2.1, not GLIBC_2.0.
27876 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
27877 Likewise.
27878
9568c0c2
JM
278792012-04-30 Joseph Myers <joseph@codesourcery.com>
27880
adfbc8ac
JM
27881 [BZ #13942]
27882 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
27883 (1 - x) * (1 + x).
27884 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27885 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
27886 * math/libm-test.inc (acos_test): Add more tests.
27887 (asin_test): Likewise.
27888 * sysdeps/i386/fpu/libm-test-ulps: Update.
27889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27890
5ba3cc69
JM
27891 [BZ #14034]
27892 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
27893 of square root.
27894 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
27895 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27896 * math/libm-test.inc (acos_test_tonearest): New function.
27897 (acos_test_towardzero): Likewise.
27898 (acos_test_downward): Likewise.
27899 (acos_test_upward): Likewise.
27900 (asin_test_tonearest): Likewise.
27901 (asin_test_towardzero): Likewise.
27902 (asin_test_downward): Likewise.
27903 (asin_test_upward): Likewise.
27904 (main): Call the new functions.
27905 * sysdeps/i386/fpu/libm-test-ulps: Update.
27906 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27907
9568c0c2
JM
27908 [BZ #13884]
27909 [BZ #13924]
27910 * math/e_exp10.c: Include <float.h>.
27911 (__ieee754_exp10): Handle underflow here rather than multiplying
27912 large negative argument by M_LN10.
27913 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
27914 of __ieee754_expf.
27915 * math/e_exp10l.c: Include <float.h>.
27916 (__ieee754_exp10l): Handle underflow here rather than multiplying
27917 large negative argument by M_LN10l.
27918 * math/libm-test.inc (exp10_test): Add another test. Do not allow
27919 spurious overflow exception on underflow.
27920
5ac3ea17
MP
279212012-04-29 Marek Polacek <polacek@redhat.com>
27922
27923 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
27924 (__fortify_function): New macro.
27925 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
27926 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
27927 __extern_always_inline.
27928 * libio/bits/stdio2.h: Likewise.
27929 * libio/bits/stdio.h: Likewise.
27930 * string/string.h: Likewise.
27931 * string/bits/string3.h: Likewise.
27932 * include/stdio.h: Likewise.
27933 * stdlib/bits/stdlib.h: Likewise.
27934 * stdlib/stdlib.h: Likewise.
27935 * rt/bits/mqueue2.h: Likewise.
27936 * rt/mqueue.h: Likewise.
27937 * posix/bits/unistd.h: Likewise.
27938 * posix/unistd.h: Likewise.
27939 * io/bits/poll2.h: Likewise.
27940 * io/bits/fcntl2.h: Likewise.
27941 * io/fcntl.h: Likewise.
27942 * io/sys/poll.h: Likewise.
27943 * misc/bits/syslog.h: Likewise.
27944 * misc/bits/syslog-ldbl.h: Likewise.
27945 * misc/sys/syslog.h: Likewise.
27946 * socket/bits/socket2.h: Likewise.
27947 * socket/sys/socket.h: Likewise.
27948 * debug/tst-chk1.c: Likewise.
27949 * wcsmbs/bits/wchar2.h: Likewise.
27950 * wcsmbs/bits/wchar-ldbl.h: Likewise.
27951 * wcsmbs/wchar.h: Likewise.
27952
ecf0ebfb
AJ
279532012-04-29 Andreas Jaeger <aj@suse.de>
27954
27955 * Makerules (tests): Remove enable-check-abi protection.
27956 (check-abi-warn): Remove.
27957 (check-abi-%): Remove check-abi-warn usage.
27958
27959 * configure.in: Remove check-abi configure option.
27960 * configure: Regenerated.
27961 * config.make.in (enable-check-abi): Remove.
27962
6d5c57fa
AS
279632012-04-28 Andreas Schwab <schwab@linux-m68k.org>
27964
24c5d07e 27965 [BZ #14033]
ded5180a
AS
27966 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
27967 double functions to double *_finite functions.
27968
7e0d315d
AS
27969 [BZ #13941]
27970 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
27971 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
27972 LDBL_MIN_EXP.
27973 * stdio-common/Makefile (tests): Add tst-sprintf3.
27974 * stdio-common/tst-sprintf3.c: New file.
27975
6d5c57fa
AS
27976 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
27977 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
27978
0749ff8b
JM
279792012-04-28 Joseph Myers <joseph@codesourcery.com>
27980
27981 * conform/conformtest.pl: Remove duplicate typed-constant
27982 handling.
27983
8dbd5d7b
DM
279842012-04-28 David S. Miller <davem@davemloft.net>
27985
27986 * Makerules (%.abilist): Add vpath on sysdep_dirs.
27987 (check-abi-%): Remove AWK script prerequisite and explicit
27988 abilist directory.
27989 (check-abi): Rewrite to just diff the symlist with the abilist.
27990 (config-tls, config-abi-config): Delete, no longer used.
27991 (update-abi-%): Remove AWK script and explicit abilist directory.
27992 (update-abi): Rewrite to simply compare and conditionally copy the
27993 symlist and the sysdep abilist file. Remove update-abi-config
27994 checks.
27995 * abilist/ld.abilist: Remove.
27996 * abilist/libBrokenLocale.abilist: Remove.
27997 * abilist/libanl.abilist: Remove.
27998 * abilist/libcrypt.abilist: Remove.
27999 * abilist/libdl.abilist: Remove.
28000 * abilist/librt.abilist: Remove.
28001 * abilist/libthread_db.abilist: Remove.
28002 * abilist/libutil.abilist: Remove.
28003 * scripts/extract-abilist.awk: Remove.
28004 * scripts/merge-abilist.awk: Remove.
28005 * sysdeps/generic/libcidn.abilist: New file.
28006 * sysdeps/generic/libnss_compat.abilist: New file.
28007 * sysdeps/generic/libnss_db.abilist: New file.
28008 * sysdeps/generic/libnss_dns.abilist: New file.
28009 * sysdeps/generic/libnss_files.abilist: New file.
28010 * sysdeps/generic/libnss_hesiod.abilist: New file.
28011 * sysdeps/generic/libnss_nis.abilist: New file.
28012 * sysdeps/generic/libnss_nisplus.abilist: New file.
28013 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
28014 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
28015 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
28016 file.
28017 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
28018 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
28019 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
28020 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
28021 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
28022 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
28023 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
28024 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
28025 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
28026 file.
28027 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
28028 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
28029 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
28030 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
28031 file.
28032 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
28033 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
28034 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
28035 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
28036 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
28037 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
28038 file.
28039 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
28040 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
28041 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
28042 file.
28043 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
28044 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
28045 New file.
28046 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
28047 New file.
28048 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
28049 New file.
28050 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
28051 New file.
28052 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
28053 New file.
28054 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
28055 New file.
28056 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
28057 New file.
28058 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
28059 New file.
28060 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
28061 New file.
28062 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
28063 New file.
28064 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
28065 New file.
28066 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
28067 New file.
28068 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
28069 New file.
28070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
28071 file.
28072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
28073 New file.
28074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
28075 New file.
28076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
28077 file.
28078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
28079 New file.
28080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
28081 New file.
28082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
28083 file.
28084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
28085 New file.
28086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28087 New file.
28088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
28089 New file.
28090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
28091 New file.
28092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
28093 New file.
28094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
28095 New file.
28096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
28097 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
28098 file.
28099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
28100 New file.
28101 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
28102 file.
28103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
28104 file.
28105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
28106 file.
28107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
28108 file.
28109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
28110 file.
28111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28112 New file.
28113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
28114 file.
28115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
28116 file.
28117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
28118 New file.
28119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
28120 file.
28121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
28122 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
28123 file.
28124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
28125 New file.
28126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
28127 file.
28128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
28129 file.
28130 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
28131 file.
28132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
28133 file.
28134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
28135 file.
28136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28137 New file.
28138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
28139 file.
28140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
28141 file.
28142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
28143 New file.
28144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
28145 file.
28146 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28147 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
28148 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
28149 file.
28150 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
28151 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
28152 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
28153 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
28154 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
28155 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
28156 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
28157 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
28158 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
28159 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
28160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
28161 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
28162 file.
28163 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
28164 New file.
28165 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
28166 file.
28167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
28168 file.
28169 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
28170 file.
28171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
28172 file.
28173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
28174 file.
28175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28176 New file.
28177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
28178 New file.
28179 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
28180 file.
28181 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
28182 New file.
28183 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
28184 file.
28185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
28186 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
28187 file.
28188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
28189 New file.
28190 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
28191 file.
28192 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
28193 file.
28194 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
28195 file.
28196 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
28197 file.
28198 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
28199 file.
28200 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28201 New file.
28202 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
28203 New file.
28204 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
28205 file.
28206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
28207 New file.
28208 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
28209 file.
28210
41d73a1b
JM
282112012-04-28 Joseph Myers <joseph@codesourcery.com>
28212
28213 * conform/conformtest.pl: Fix typo in handling typed-constant from
28214 allow-header.
28215
28aeeda4
JM
282162012-04-27 Joseph Myers <joseph@codesourcery.com>
28217
adae8f5e
JM
28218 * README: Cut down references to pre-2.6 Linux kernels and
28219 Linuxthreads. Update lists of configurations in libc and ports
28220 and sort alphabetically. Say "or newer" with Linux kernel version
28221 requirements.
28222
28aeeda4
JM
28223 * config.h.in [IS_IN_build]: Allow compiling without optimization.
28224
a462cb63
RA
282252012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28226
28227 [BZ #887]
28228 * math/libm-test.inc (logb_test_downward): New test to expose
28229 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
28230 rounding mode.
28231
6ad3493e
JM
282322012-04-27 Joseph Myers <joseph@codesourcery.com>
28233
28234 [BZ #14027]
28235 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
28236 to be done.
28237 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
28238 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
28239
2ce4f015
JM
282402012-04-26 Joseph Myers <joseph@codesourcery.com>
28241
5aeb141a
JM
28242 * sysdeps/unix/i386/brk.S: Remove file.
28243 * sysdeps/unix/i386/dl-brk.S: Likewise.
28244 * sysdeps/unix/i386/pipe.S: Likewise.
28245 * sysdeps/unix/i386/sigreturn.S: Likewise.
28246 * sysdeps/unix/i386/syscall.S: Likewise.
28247 * sysdeps/unix/i386/vfork.S: Likewise.
28248 * sysdeps/unix/i386/wait.S: Likewise.
28249
7143acae
JM
28250 * sysdeps/unix/common/tcsendbrk.c: Move to ...
28251 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
28252
2ce4f015
JM
28253 * configure.in (arm*-none*): Do not allow without
28254 --enable-hacker-mode.
28255 (netbsd*): Remove case setting base_os.
28256 (386bsd*): Likewise.
28257 (freebsd*): Likewise.
28258 (bsdi*): Likewise.
28259 (osf*): Likewise.
28260 (sunos*): Likewise.
28261 (ultrix*): Likewise.
28262 (newsos*): Likewise.
28263 (dynix*): Likewise.
28264 (*bsd*): Likewise.
28265 (sysv*): Likewise.
28266 (isc*): Likewise.
28267 (esix*): Likewise.
28268 (sco*): Likewise.
28269 (minix*): Likewise.
28270 (irix4*): Likewise.
28271 (irix6*): Likewise.
28272 (solaris[2-9]*): Likewise.
28273 (none): Likewise.
28274 * configure: Regenerated.
28275
0ac229c8
AZ
282762012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28277
28278 [BZ #11521]
28279 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
28280 overflow or cancellation in calculating denominator.
28281 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
28282 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
28283 down expression to avoid unexpected rounding in newer GCCs.
28284 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
28285
33f244f4
DM
282862012-04-26 David S. Miller <davem@davemloft.net>
28287
28288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
28289 long-double compat symbols.
28290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
28294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
28296 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
28297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
28298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
28299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
28300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
28301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
28302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28303
cfa1f3e8
DM
283042012-04-25 David S. Miller <davem@davemloft.net>
28305
28306 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
28307 HWCAP_* values only after the memory barriers have been defined.
28308 (atomic_full_barrier): Define.
28309 (atomic_read_barrier): Define.
28310 (atomic_write_barrier): Define.
28311
6e236b92
SP
283122012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28313
28314 * shlib-versions: Add libgcc_s version information.
28315 * sysdeps/generic/libgcc_s.h: Remove.
28316 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
28317 libgcc_s.h.
28318 * sysdeps/gnu/unwind-resume.c: Likewise.
28319 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
28320
aab39a09
DM
283212012-04-25 David S. Miller <davem@davemloft.net>
28322
28323 * sysdeps/unix/sparc/brk.S: Delete.
28324 * sysdeps/unix/sparc/dl-brk.S: Delete.
28325 * sysdeps/unix/sparc/pipe.S: Delete.
28326 * sysdeps/unix/sparc/sysdep.S: Delete.
28327 * sysdeps/unix/sparc/sysdep.h: Delete.
28328 * sysdeps/unix/sparc/vfork.S: Delete.
28329 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
28330 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
28331 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
28332 ret_ERRVAL, r0, r1, MOVE): Define.
28333 (JUMPTARGET): Remove.
28334 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
28335 sysdeps/unix/sparc/sysdep.h
28336 (ENTRY, END): Remove.
28337 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28338
a3cc4f48
JM
283392012-04-25 Joseph Myers <joseph@codesourcery.com>
28340
2ed8cda2
JM
28341 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
28342 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
28343 -DIS_IN_build.
28344
35d76d59
JM
28345 * timezone/README: Update upstream location and email address for
28346 tzcode and tzdata.
28347 * timezone/zdump.c: Update from tzcode 2012b.
28348 * timezone/zic.c: Likewise.
28349
a3cc4f48
JM
28350 * configure.in (libc_cv_as_needed): Remove test.
28351 * configure: Regenerated.
28352 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
28353 conditional definition.
28354 [$(have-as-needed) != yes] (no-as-needed): Likewise.
28355 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
28356 * config.make.in (have-as-needed): Remove variable.
28357
ceab42c3
SP
283582012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28359 Paul Pluzhnikov <ppluzhnikov@google.com>
28360
28361 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
28362 strings correctly.
28363
3ce2865f
CLT
283642012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
28365
28366 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
28367 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
28368 * sysdeps/sh/strlen.S: Likewise.
28369
f37e0d68
JM
283702012-04-24 Joseph Myers <joseph@codesourcery.com>
28371
ae186e9a
JM
28372 * sysdeps/unix/fork.S: Remove file.
28373 * sysdeps/unix/i386/fork.S: Likewise.
28374 * sysdeps/unix/sparc/fork.S: Likewise.
28375
b96914af
JM
28376 * sysdeps/unix/system.c: Remove file.
28377 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
28378
f37e0d68
JM
28379 * sysdeps/unix/getegid.S: Remove file.
28380 * sysdeps/unix/geteuid.S: Likewise.
28381
87ef29ca
RM
283822012-04-24 Roland McGrath <roland@hack.frob.com>
28383
83bcd236
RM
28384 * scripts/check-localplt.awk: New file.
28385 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
28386 of diff.
28387 * scripts/data/localplt-generic.data: Add a comment.
28388
87ef29ca
RM
28389 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
28390 NODE when __dir_mkfile failed.
28391 * sysdeps/mach/hurd/symlinkat.c: Likewise.
28392 Reported by Ludovic Courtès <ludo@gnu.org>.
28393
e5a6e567
AJ
283942012-04-24 Andreas Jaeger <aj@suse.de>
28395
28396 * Makerules (common-clean): Also remove gen-as-const-headers
28397 files.
28398
c1820385
JM
283992012-04-24 Joseph Myers <joseph@codesourcery.com>
28400
28401 * Makerules (native-compile): Do not change working directory for
28402 build. Use $(OUTPUT_OPTION) in command.
28403 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
28404
94e02fc4
AZ
284052012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28406
28407 [BZ #13886]
28408 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
28409 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
28410 * math/libm-test.inc (floor_test): Add more tests.
28411 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
28412
3a533ca3
JM
284132012-04-24 Joseph Myers <joseph@codesourcery.com>
28414
940ab4b3
JM
28415 * sysdeps/unix/getdents.c: Remove file.
28416 * sysdeps/unix/sysv/getdents.c: Likewise.
28417 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
28418
90e037bd
JM
28419 * sysdeps/unix/syscalls.list (madvise): Add syscall from
28420 sysdeps/unix/mman/syscalls.list.
28421 (mmap): Likewise.
28422 (mprotect): Likewise.
28423 (msync): Likewise.
28424 (munmap): Likewise.
28425 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
28426 * sysdeps/unix/mman/syscalls.list: Remove.
28427 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
28428
3a533ca3
JM
28429 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
28430 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
28431 * configure: Regenerated.
28432 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
28433 $(libgcc_s_suffix).
28434 * config.make.in (libgcc_s_suffix): Remove variable.
28435
1ad743de
JM
284362012-04-23 Joseph Myers <joseph@codesourcery.com>
28437
4ad451e2
JM
28438 * sysdeps/unix/sysv/gethostname.c: Move to ...
28439 * sysdeps/posix/gethostname.c: ... here.
28440
5e37ce39
JM
28441 * sysdeps/unix/execve.S: Remove file.
28442
1ad743de
JM
28443 * sysdeps/unix/_exit.S: Remove file.
28444
4e681b5b
AJ
284452012-04-23 Andreas Jaeger <aj@suse.de>
28446
28447 [BZ #13739]
28448 * manual/Makefile: Remove make dist support, there's no
28449 need for a stand-alone documentation tar ball.
28450 (TEXI2DVI): Define always, it's not in Makeconfig.
28451 (dist): Removed.
28452 (tar-it): Removed.
28453 (edition): Removed.
28454 (glibc-doc-$(edition).tar): Removed
28455 (%.Z): Removed.
28456 (%.gz): Removed.
28457 (%.uu): Removed.
28458 (ETAGS): Remove, it's in Makeconfig.
28459 (move-if-change): Remove, it's in Makeconfig.
28460
38686a03 284612012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
28462
28463 [BZ #13970]
28464 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
28465 (strtod, strtof, strtold, strtol, strtoul, strtoq)
28466 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
28467 (strtod_l, strtof_l, strtold_l): Remove __wur.
28468 It is not necessarily an error to ignore strtol's return value.
28469 One can reliably look at the stored endptr to decide whether
28470 the number had valid syntax.
28471
7c0616fa
AJ
284722012-04-21 Andreas Jaeger <aj@suse.de>
28473
803cb6b7 28474 [BZ #13739]
7c0616fa
AJ
28475 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
28476
b0fe253f
JM
284772012-04-21 Joseph Myers <joseph@codesourcery.com>
28478
28479 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
28480 * sysdeps/unix/sysv/Versions: Remove file.
28481
8280f22d
MT
284822012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
28483
28484 [BZ #13927]
28485 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28486
75ce411f 284872012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
28488
28489 [BZ #7064]
28490 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
28491 version from __vm86.
28492
097d59fa
JM
284932012-04-20 Joseph Myers <joseph@codesourcery.com>
28494
a90f3bcb
JM
28495 * sysdeps/unix/common/lxstat.c: Remove file.
28496 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
28497
edc7ea78
JM
28498 * sysdeps/unix/sysv/Makefile: Remove file.
28499
cb78c221
JM
28500 * sysdeps/unix/sysv/direct.h: Remove file.
28501
efa6a45f
JM
28502 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
28503 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
28504 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
28505 * sysdeps/unix/sysv/bits/signum.h: Likewise.
28506 * sysdeps/unix/sysv/bits/stat.h: Likewise.
28507 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
28508 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
28509
9c9f2d0c
JM
28510 * sysdeps/unix/sysv/setrlimit.c: Remove file.
28511
4541c83b
JM
28512 * sysdeps/unix/xmknod.c: Remove file.
28513 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
28514
f5d153a0
JM
28515 * sysdeps/unix/sysv/settimeofday.c: Remove file.
28516
aa746595
JM
28517 * sysdeps/unix/sysv/i386/time.S: Remove file.
28518
cce5905e
JM
28519 * sysdeps/unix/fxstat.c: Remove file.
28520 * sysdeps/unix/xstat.c: Likewise.
28521 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
28522
37fa3841
JM
28523 * sysdeps/unix/sysv/sigaction.c: Remove file.
28524
ff1962a3
JM
28525 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
28526 (sysdep_headers): Remove variable.
28527 [termio.h not in sysdep_headers] (generated): Likewise.
28528 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
28529 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
28530 * sysdeps/unix/sysv/tcdrain.c: Likewise.
28531 * sysdeps/unix/sysv/tcflow.c: Likewise.
28532 * sysdeps/unix/sysv/tcflush.c: Likewise.
28533 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
28534 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
28535 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
28536 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
28537 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
28538
e7740d31
JM
28539 * sysdeps/unix/siglist.c: Remove file.
28540
ee06f18b
JM
28541 * sysdeps/unix/getppid.S: Remove file.
28542
097d59fa
JM
28543 * sysdeps/unix/mkdir.c: Remove file.
28544 * sysdeps/unix/rmdir.c: Likewise.
28545
ff3d51ec
AS
285462012-04-19 Andreas Schwab <schwab@linux-m68k.org>
28547
28548 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
28549 ERR_MAX value.
28550 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
28551 errlist-compat value.
28552
50f81fd7
DM
285532012-04-18 David S. Miller <davem@davemloft.net>
28554
28555 * sysdeps/generic/memcopy.h (reg_char): Delete.
28556 * debug/strcat_chk.c: Use char, not reg_char.
28557 * debug/strcpy_chk.c: Likewise.
28558 * debug/strncat_chk.c: Likewise.
28559 * debug/strncpy_chk.c: Likewise.
28560 * string/memchr.c: Likewise.
28561 * string/memrchr.c: Likewise.
28562 * string/rawmemchr.c: Likewise.
28563 * string/strcat.c: Likewise.
28564 * string/strchr.c: Likewise.
28565 * string/strchrnul.c: Likewise.
28566 * string/strcmp.c: Likewise.
28567 * string/strcpy.c: Likewise.
28568 * string/strncat.c: Likewise.
28569 * string/strncmp.c: Likewise.
28570 * string/strncpy.c: Likewise.
28571
8ff41c46
WS
285722012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28573
28574 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
28575 __builtin_memcopy is called when src and dest ranges are known to not
28576 overlap.
28577
6b652f46
WS
285782012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28579
28580 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
28581 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
28582 fwd_align_merge macro call.
28583 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
28584 bwd_align_merge macro call.
28585 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28586
b282631e
WS
285872012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28588
28589 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
28590 bwd_align_merge macros.
28591 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
28592 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
28593 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28594
95aa737c
DM
285952012-04-18 David S. Miller <davem@davemloft.net>
28596
28597 * sysdeps/sparc/sparc64/memcopy.h: Delete.
28598
7a99a614
AJ
285992012-04-18 Andreas Jaeger <aj@suse.de>
28600
28601 [BZ# 6794]
28602 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
28603 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
28604 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28605
28606 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
28607 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
28608 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28609
28610 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
28611 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
28612 Adjust for changed ldbl-128 files.
28613
28614 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
28615 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
28616 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28617
e5270c23
DM
286182012-04-17 David S. Miller <davem@davemloft.net>
28619
28620 * sysdeps/sparc/sparc32/memcopy.h: Delete.
28621
fb5e92c9
AS
286222012-04-17 Andreas Schwab <schwab@linux-m68k.org>
28623
28624 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
28625 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
28626 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
28627 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
28628 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28629 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
28630
76da7265
AZ
286312012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28632
28633 [BZ #6794]
28634 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
28635 * math/libm-test.inc: Add ilogb errno and exception tests.
28636 * math/w_ilogb.c: New file: ilogb wrapper.
28637 * math/w_ilogbf.c: New file: ilogbf wrapper.
28638 * math/w_ilogbl.c: New file: ilogbl wrapper.
28639 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
28640 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
28641 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
28642 exception being thrown with 0.0 as argument.
28643 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
28644 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
28645 exception being thrown with 0.0 as argument.
28646 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
28647 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28648 exception being thrown with 0.0 as argument.
28649 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
28650 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28651 exception being thrown with 0.0 as argument.
28652 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
28653 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 28654 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
28655 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
28656 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
28657 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
28658 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
28659 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
28660 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
28661
0396e69d
PB
286622012-04-17 Petr Baudis <pasky@ucw.cz>
28663
28664 * include/sys/uio.h: Change __vector to __iovec to avoid clash
28665 with altivec.
28666
750b5926
MP
286672012-04-16 Marek Polacek <polacek@redhat.com>
28668
28669 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
28670
751728a1
MP
286712012-04-16 Marek Polacek <polacek@redhat.com>
28672
28673 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
28674 operands of fdivp instruction.
28675
34a27407
L
286762012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28677
28678 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
28679 * elf/tst-auditmod3b.c: Likewise.
28680 * elf/tst-auditmod4b.c: Likewise.
28681 * elf/tst-auditmod5b.c: Likewise.
28682 * elf/tst-auditmod6b.c: Likewise.
28683 * elf/tst-auditmod6c.c: Likewise.
28684 * elf/tst-auditmod7b.c: Likewise.
28685 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
28686 * sysdeps/x86_64/preconfigure.in: Likewise.
28687 * sysdeps/x86_64/preconfigure: Regenerated.
28688
7e73e17d
L
286892012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28690
28691 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
28692 __ILP32__.
28693
c7a6ab72
AB
286942012-04-13 Antoine Balestrat <merkil33@gmail.com>
28695
28696 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28697 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
28698
a9e8e0e0
CL
286992012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
28700
28701 [BZ #13973]
28702 * locale/iso-639.def: Fix gl language name. Spotted by
28703 Yaron Shahrabani.
28704
ec98af7d
RM
287052012-04-12 Roland McGrath <roland@hack.frob.com>
28706
28707 [BZ #2074]
28708 * libio/libio.h (__io_write_fn): Update comment.
28709
247c3ede
PB
287102012-04-12 Petr Baudis <pasky@ucw.cz>
28711
28712 [BZ #2074]
28713 * stdio.texi (Hook Functions): The user provided writer function
28714 is not allowed to return -1.
28715
55939d6d
DM
287162012-04-11 David S. Miller <davem@davemloft.net>
28717
28718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28719
90020f5a
MF
287202012-04-11 Mike Frysinger <vapier@gentoo.org>
28721
28722 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
28723 Add a leading slash to rtkaio.
28724
288f9098
JM
287252012-04-11 Jim Meyering <meyering@redhat.com>
28726
90020f5a
MF
28727 [BZ #11959]
28728 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
28729 It is not necessarily an error to ignore fwrite's return
28730 value. One can reliably use ferror to test for errors after
28731 the fact.
288f9098 28732
4be2b570
L
287332012-04-10 H.J. Lu <hongjiu.lu@intel.com>
28734
28735 * bits/types.h (__snseconds_t): New type.
28736 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
28737
28738 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
28739 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28740 (__SNSECONDS_T_TYPE): Likewise.
28741 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28742 (__SNSECONDS_T_TYPE): Likewise.
28743 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28744 (__SNSECONDS_T_TYPE): Likewise.
28745
288f9098 287462012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
28747
28748 [BZ #2636]
28749 * manual/time.texi (Processor Time): Return type of times is
28750 elapsed real time since an arbitrary point in the past.
28751 (CPU Time): Move CLK_TCK from here...
28752 (Processor Time): ...to here. Correct description.
28753 * manual/conf.texi (Constants for Sysconf): Correct description of
28754 _SC_CLK_TCK.
28755
d7dd4413
DM
287562012-04-10 David S. Miller <davem@davemloft.net>
28757
28758 [BZ #13967]
28759 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
28760 where the is a gap between DT_REL(A) and DT_JMPREL.
28761
b46068fc
L
287622012-04-10 H.J. Lu <hongjiu.lu@intel.com>
28763
28764 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
28765 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28766 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28767
73d65cc3
SP
287682012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28769
28770 * elf/dl-support.c (_dl_inhibit_cache): New variable.
28771 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
28772 (dl_main): Handle --inhibit-cache.
28773 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
28774 _dl_inhibit_cache.
28775 * elf/dl-load.c (_dl_map_object): Use it.
28776 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
28777
bcc8d661
JM
287782012-04-09 Joseph Myers <joseph@codesourcery.com>
28779
8f9a2fae
JM
28780 [BZ #13872]
28781 * sysdeps/i386/fpu/e_powl.S (p78): New object.
28782 (__ieee754_powl): Saturate large exponents rather than testing for
28783 overflow of y*log2(x).
28784 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28785 * math/libm-test.inc (pow_test): Do not permit spurious overflow
28786 exceptions.
28787
bcc8d661
JM
28788 [BZ #11521]
28789 * math/s_ctan.c: Include <float.h>.
28790 (__ctan): Avoid internal overflow or cancellation in calculating
28791 denominator.
28792 * math/s_ctanf.c: Likewise.
28793 * math/s_ctanl.c: Likewise.
28794 * math/s_ctanh.c: Likewise.
28795 * math/s_ctanhf.c: Likewise.
28796 * math/s_ctanhl.c: Likewise.
28797 * math/libm-test.inc (ctan_test): Add more tests.
28798 (ctanh_test): Likewise.
28799 * sysdeps/i386/fpu/libm-test-ulps: Update.
28800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28801
823fbbb4
AJ
288022012-04-09 Andreas Jaeger <aj@suse.de>
28803
03879793
AJ
28804 [BZ #6894]
28805 * manual/filesys.texi (Directory Entries): Mention that d_namlen
28806 is an optional BSD extension.
28807
823fbbb4
AJ
28808 [BZ #10254]
28809 * manual/stdio.texi (Opening Streams): Document additional fopen
28810 parameters.
28811
8de131cb
RM
288122012-04-09 Roland McGrath <roland@hack.frob.com>
28813
28814 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
28815 %eax without telling the compiler.
28816
c0ed9d7d
CD
288172012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
28818
28819 [BZ # 13963]
28820 * manual/install.texi: Use sourceware.org.
28821
c483f6b4
JM
288222012-04-09 Joseph Myers <joseph@codesourcery.com>
28823
d7dd9453
JM
28824 [BZ #13873]
28825 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
28826 (__ieee754_pow): Generate overflow and underflow using huge*huge
28827 and tiny*tiny rather than just returning constant infinity or zero
28828 for large exponents.
28829 * math/libm-test.inc (pow_test): Require overflow exceptions for
28830 applicable cases of large exponents.
28831
c483f6b4
JM
28832 [BZ #706]
28833 * sysdeps/i386/fpu/e_pow.S (p10): New object.
28834 (__ieee754_pow): Use iterative multiplication algorithm only for
28835 integer exponents with absolute value below 1024. Check for odd
28836 integer exponents when using algorithm for real exponents.
28837 * math/libm-test.inc (pow_test): Add more tests.
28838 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28839
d2de7579
JM
288402012-04-08 Joseph Myers <joseph@codesourcery.com>
28841
28842 [BZ #13705]
28843 * math/libm-test.inc (exp_test): Do not allow overflow exception
28844 on underflow test.
28845
f77f1232
AJ
288462012-04-08 Aurelien Jarno <aurelien@aurel32.net>
28847
28848 [BZ #13705]
28849 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
28850 instead of __kernel_standard_f.
28851
3884932b
MF
288522012-04-08 Mike Frysinger <vapier@gentoo.org>
28853
28854 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
28855 * sysdeps/x86_64/memset_chk.S: Likewise.
28856
54472e9c
AJ
288572012-04-08 Andreas Jaeger <aj@suse.de>
28858
6ab0fbfc
AJ
28859 [BZ #10153]
28860 * manual/startup.texi (Environment Access): Describe return value
28861 for putenv and setenv.
28862
61efba8c
AJ
28863 [BZ #6895]
28864 * manual/filesys.texi (Directory Entries): Add description for
28865 DT_LNK.
28866
95c3f29a
AJ
28867 [BZ #6890]
28868 * manual/filesys.texi (Directory Entries): Clarify that it's file
28869 system not operating system in the description of DT_UNKNOWN.
28870
54472e9c
AJ
28871 [BZ #6578]
28872 * manual/syslog.texi (closelog): Fix reference, it's openlog.
28873
624254b1
SC
288742012-04-08 Stephen Compall <s11@member.fsf.org>
28875
28876 [BZ #6649]
28877 * manual/llio.texi (Opening and Closing Files): Add cross
28878 reference to explain mode argument.
28879
1e4920e0
MF
288802012-04-07 Mike Frysinger <vapier@gentoo.org>
28881
28882 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
28883 * sysdeps/x86_64/memset_chk.S: Likewise.
28884
5ed848f3
DM
288852012-04-07 David S. Miller <davem@davemloft.net>
28886
28887 * elf/elf.h (R_SPARC_WDISP10): Define.
28888 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
28889 R_SPARC_SIZE32.
28890 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
28891 R_SPARC_SIZE64 and R_SPARC_H34.
28892
96154cd8
CD
288932012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
28894
28895 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
28896 conditions and remove no longer applicable assertion.
28897
9904dc47
L
288982012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28899
28900 * bits/byteswap.h: Include <features.h>.
28901 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28902 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28903
f8887d0a
L
289042012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28905
28906 * bits/byteswap.h (__bswap_16): Removed.
28907 Include <bits/byteswap-16.h> to get __bswap_16.
28908 * sysdeps/i386/bits/byteswap.h: Likewise.
28909 * sysdeps/s390/bits/byteswap.h: Likewise.
28910 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28911 * bits/byteswap-16.h: New file.
28912 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28913 * sysdeps/s390/bits/byteswap-16.h: Likewise.
28914 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
28915 * string/Makefile (headers): Add bits/byteswap-16.h.
28916
62470f60
PP
289172012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28918
28919 [BZ #13895]
28920 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
28921 extra indirection.
28922 * nss/Makefile (tests-static, tests): Add tst-nss-static.
28923 * nss/tst-nss-static.c: New.
28924
4dad7bab
RM
289252012-04-06 Robert Millan <rmh@gnu.org>
28926
28927 [BZ #6486]
28928 * manual/llio.texi (File Position Primitive): lseek
28929 refers to WHENCE when it really means OFFSET.
28930
e9142a17
AJ
289312012-04-06 Andreas Jaeger <aj@suse.de>
28932
2c040eff
AJ
28933 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
28934 strncmp declarations.
28935
e9142a17
AJ
28936 * abilist/libc.abilist: Add __poll and __ppoll.
28937
ff9f1c5f
DM
289382012-04-05 David S. Miller <davem@davemloft.net>
28939
dcd2ae90
DM
28940 * scripts/check-local-headers.sh: Accept a host triplet in the
28941 path matched by the exclude regexp.
28942
993eb054
DM
28943 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
28944 definition.
28945 * sysdeps/powerpc/powerpc32/dl-machine.h
28946 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
28947 * sysdeps/s390/s390-32/dl-machine.h
28948 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28949 * sysdeps/sparc/sparc32/dl-machine.h
28950 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28951 * sysdeps/sparc/sparc64/dl-machine.h
28952 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28953
ff9f1c5f
DM
28954 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
28955 lazy binding.
48e2e132 28956 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
28957 undefined symbol errors.
28958
48e2e132 28959 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
28960 DT_NEEDED entries.
28961
e80d6f94
MM
289622012-04-05 Michael Matz <matz@suse.de>
28963
28964 [BZ #13592]
28965 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
28966
349fa79f
AJ
289672012-04-05 Andreas Jaeger <aj@suse.de>
28968
28969 [BZ #13908]
28970 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
28971 comment.
28972
f402708f
KK
289732012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28974
28975 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
28976 which ROUND is no valid rounding mode.
28977
2ecccfc9
KK
289782012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28979
28980 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
28981 read again.
28982 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
28983
8a53f50f
KK
289842012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28985
28986 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
28987 an exception using FPU order intentionally.
28988
289892012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28990
28991 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
28992 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
28993 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
28994 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
28995
d653abb7
SJ
289962012-04-05 Simon Josefsson <simon@josefsson.org>
28997
28998 [BZ #12340]
28999 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
29000 EINVAL when BUFLEN is too smal.
29001
c3b1bf7d
TS
290022012-04-05 Thomas Schwinge <thomas@codesourcery.com>
29003
29004 [BZ #13553]
29005 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
29006 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
29007
b1aa60f3
AJ
290082012-04-03 Andreas Jaeger <aj@suse.de>
29009
c3b1bf7d 29010 [BZ #13938]
67f60a26
AJ
29011 * manual/setjmp.texi (System V contexts): Fix sentence.
29012
b1aa60f3
AJ
29013 [BZ #13926]
29014 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
29015 New macro for this case.
29016 [!__GNUC__] (__bswap_64): New inline function for this case.
29017 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29018 * bits/byteswap.h: Likewise.
29019 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
29020 ull, guard with __GLIBC_HAVE_LONG_LONG.
29021
29022 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
29023 __GLIBC_HAVE_LONG_LONG.
29024
29025 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
29026 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
29027
39c59c35
TMQMF
290282012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29029
29030 [BZ #13691]
29031 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
29032 inptr and inend, rather than using last_ch.
29033
135ffda8
DM
290342012-04-02 David S. Miller <davem@davemloft.net>
29035
29036 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
29037 * stdio-common/printf-parse.h (read_int): Change return type to
29038 'int', return -1 on INT_MAX overflow.
29039 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
29040 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
29041 overflows INT_MAX. Check for overflow of in-format-string precision
29042 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
29043 SIZE_MAX not INT_MAX for integer overflow test.
29044 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
29045 skip the construct in the format string but do not record anything.
29046 * stdio-common/bug22.c: Adjust to test both width/prevision
29047 INT_MAX overflow as well as total length INT_MAX overflow. Check
29048 explicitly for proper errno values.
29049
228c019e
TS
290502012-04-02 Thomas Schwinge <thomas@codesourcery.com>
29051
302cadd3
TS
29052 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
29053 CHAR_MAX.
29054 * string/test-strcmp.c [! WIDE]: Likewise.
29055 * time/tst-mktime2.c: Likewise for INT_MAX.
29056 * string/test-string.h: #include <sys/param.h> for MIN.
29057
228c019e
TS
29058 * csu/init-first.c (__libc_init_first): Call __ctype_init.
29059 * sysdeps/i386/init-first.c (init): Likewise.
29060 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
29061 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
29062 * sysdeps/sh/init-first.c (init): Likewise.
29063
cfa633f5
UD
290642012-04-01 Ulrich Drepper <drepper@gmail.com>
29065
29066 * po/ru.po: Update from translation team.
d1635ef8 29067 * po/vi.po: Likewise.
cfa633f5 29068
6cd0a5ea
SP
290692012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
29070
29071 * resolv/nss_dns/dns-host.c: Merge copyright years.
29072
4b43400f
LD
290732012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29074
29075 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29076 Optimize memcpy with prefetch if
29077 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
29078 src, dst pointers have unequal 16 byte alignments.
29079
48c41d04
SP
290802012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29081
29082 [BZ #13928]
29083 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
29084 from a CNAME entry and return the minimum ttl for the query.
29085 (gaih_getanswer_slice): Likewise.
29086
b8dc394d
JL
290872012-03-30 Jeff Law <law@redhat.com>
29088
29089 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
29090 due to long keys.
29091 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
29092 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
29093
2f5a5ed0
JL
29094 * resolv/nss_dns/dns-host.c: Update copyright year.
29095
1d39e359
UD
290962012-03-30 Ulrich Drepper <drepper@gmail.com>
29097
c030f70c 29098 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 29099 requests to save a system call. Fix check that all bytes are sent.
c030f70c 29100
1d39e359
UD
29101 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
29102 comments for sendmmsg.
29103
291042012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
29105
29106 [BZ #13691]
29107 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
29108 with only 1 character between 0x0041 and 0x01b0.
29109 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
29110 * wcsmbs/tst-mbsnrtowcs.c: New file.
29111
20fde227
DM
291122012-03-29 David S. Miller <davem@davemloft.net>
29113
29114 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
29115 small copies by hand.
29116
984a4237
JL
291172012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29118
29119 [BZ #13761]
29120 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
29121 _nss_compat_initgroups_dyn): Fall back to malloc/free
29122 for large group memberships.
29123
18c9d62b
DM
291242012-03-28 David S. Miller <davem@davemloft.net>
29125
88d85d4f
DM
29126 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
29127 that branches into memcpy.
29128 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
29129 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
29130 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29131 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
29132 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
29133 bits.
29134 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
29135 implementation too.
29136 * sysdeps/sparc/mempcpy.S: New file.
29137
e5aa83e1
DM
29138 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
29139 the IFUNC routine in the libc case.
29140 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29141
88570753
DM
29142 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
29143 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
29144 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
29145 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
29146 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
29147 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
29148 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
29149 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
29150
249d7567
DM
29151 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
29152 loop to 256 bytes instead of 64 bytes and fix test signedness.
29153
18c9d62b
DM
29154 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
29155 * sysdeps/sparc/sparc32/Makefile: rather than here...
29156 * sysdeps/sparc/sparc64/Makefile: and here.
29157
05f3d1f6
UD
291582012-03-28 Ulrich Drepper <drepper@gmail.com>
29159
29160 * malloc/mallocbug.c: Avoid warnings about unused variables.
29161
86ae07a8
JL
291622012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29163
29164 [BZ #13760]
29165 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
29166 in the right place. Discard and retry query if response is
29167 larger than input buffer size.
29168
41bf21a1
JM
291692012-03-28 Joseph Myers <joseph@codesourcery.com>
29170
d6270972
JM
29171 [BZ #369]
29172 [BZ #2678]
29173 [BZ #3866]
29174 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
29175 x for large integer exponent.
29176 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29177 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
29178 sign of result as needed afterwards.
29179 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
29180 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
29181 result for underflowing pow the same as for overflow.
29182 (__kernel_standard_l): Handle powl overflow and underflow here
29183 rather than calling __kernel_standard.
29184 * math/libm-test.inc (pow_test): Add more tests.
29185
414fca03 29186 [BZ #3868]
41bf21a1
JM
29187 [BZ #13879]
29188 [BZ #13910]
29189 [BZ #13911]
29190 [BZ #13912]
29191 [BZ #13913]
29192 [BZ #13915]
29193 [BZ #13916]
29194 [BZ #13917]
29195 [BZ #13918]
29196 [BZ #13919]
29197 [BZ #13920]
29198 [BZ #13921]
29199 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
29200 * sysdeps/ieee754/k_standard.c: Include <float.h>.
29201 (__kernel_standard_l): New function.
29202 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
29203 __kernel_standard.
29204 * math/w_acosl.c (__acosl): Likewise.
29205 * math/w_asinl.c (__asinl): Likewise.
29206 * math/w_atan2l.c (__atan2l): Likewise.
29207 * math/w_atanhl.c (__atanhl): Likewise.
29208 * math/w_coshl.c (__coshl): Likewise.
29209 * math/w_exp10l.c (__exp10l): Likewise.
29210 * math/w_exp2l.c (__exp2l): Likewise.
29211 * math/w_fmodl.c (__fmodl): Likewise.
29212 * math/w_hypotl.c (__hypotl): Likewise.
29213 * math/w_j0l.c (__j0l, __y0l): Likewise.
29214 * math/w_j1l.c (__j1l, __y1l): Likewise.
29215 * math/w_jnl.c (__jnl, __ynl): Likewise.
29216 * math/w_lgammal.c (__lgammal): Likewise.
29217 * math/w_log10l.c (__log10l): Likewise.
29218 * math/w_log2l.c (__log2l): Likewise.
29219 * math/w_logl.c (__logl): Likewise.
29220 * math/w_powl.c (__powl): Likewise.
29221 * math/w_remainderl.c (__remainderl): Likewise.
29222 * math/w_scalbl.c (sysv_scalbl): Likewise.
29223 * math/w_sinhl.c (__sinhl): Likewise.
29224 * math/w_sqrtl.c (__sqrtl): Likewise.
29225 * math/w_tgammal.c (__tgammal): Likewise.
29226 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
29227 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
29228 * math/libm-test.inc (acos_test): Add more tests.
29229 (acosh_test): Likewise.
29230 (asin_test): Likewise.
29231 (atanh_test): Likewise.
29232 (exp_test): Likewise.
29233 (exp10_test): Likewise.
29234 (exp2_test): Likewise.
29235 (expm1_test): Likewise.
29236 (lgamma_test): Likewise.
29237 (log_test): Likewise.
29238 (log10_test): Likewise.
29239 (log1p_test): Likewise.
29240 (log2_test): Likewise.
29241 (pow_test): Do not allow some spurious overflow exceptions.
29242 (sqrt_test): Add more tests.
29243 (tgamma_test): Likewise.
29244 (y0_test): Likewise.
29245 (y1_test): Likewise.
29246 (yn_test): Likewise.
29247
dd62fda6
AB
292482012-03-27 Anton Blanchard <anton@samba.org>
29249
29250 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
29251 MAP_HUGETLB.
29252 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29253 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29254 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29255
1e3cdfda
AJ
292562012-03-27 David S. Miller <davem@davemloft.net>
29257
b855ab85
DM
29258 * conform/Makefile: Run run-conformtest.sh using $(BASH).
29259
1e3cdfda
AJ
29260 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
29261 have-as-vis3 check.
29262
292632012-03-27 Andreas Jaeger <aj@suse.de>
29264
29265 * sysdeps/x86_64/elf/configure.in: Moved to ...
29266 * sysdeps/x86_64/configure.in: ... here.
29267 * sysdeps/x86_64/elf/start.S: Moved to ...
29268 * sysdeps/x86_64/start.S: ... here.
29269 * sysdeps/x86_64/elf/configure: Delete.
29270
29271 * sysdeps/x86_64/configure.in: Merge contents from
29272 sysdeps/i386/configure.in (without i686 check).
29273
29274 * sysdeps/i386/elf/Versions: Merge into ...
29275 * sysdeps/i386/Versions: ... this.
29276 * sysdeps/i386/elf/Versions: Delete file.
29277 * sysdeps/i386/elf/start.S: Moved to ...
29278 * sysdeps/i386/start.S: ...here.
29279 * sysdeps/i386/elf/configure.in: Merge into...
29280 * sysdeps/i386/configure.in: ...here.
29281 * sysdeps/i386/elf/configure.in: Delete file.
29282 * sysdeps/i386/elf/configure: Delete file.
29283
29284 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
29285 * debug/backtracesyms.c: ... here.
29286 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
29287 * debug/backtracesymsfd.c: ... here.
29288 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
29289 * sysdeps/generic/ifunc-sel.h: ... here.
29290
29291 * sysdeps/unix/i386/start.c: Delete file.
29292 * sysdeps/unix/sparc/start.c: Delete file.
29293 * sysdeps/unix/start.c: Delete file.
29294
29295 * sysdeps/sh/elf/configure.in: Moved to ...
29296 * sysdeps/sh/configure.in: ... here.
29297 * sysdeps/sh/elf/start.S: Moved to ...
29298 * sysdeps/sh/start.S: ... here.
29299 * sysdeps/sh/elf/configure: Delete file.
29300
29301 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
29302 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
29303 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
29304 * sysdeps/powerpc/powerpc64/entry.h: ... here.
29305 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
29306 * sysdeps/powerpc/powerpc64/start.S: here.
29307 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
29308 * sysdeps/powerpc/powerpc64/Makefile: ... this.
29309 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
29310 * sysdeps/powerpc/powerpc64/configure.in: ... this.
29311 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
29312
29313 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
29314 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
29315 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
29316 * sysdeps/powerpc/powerpc32/start.S: ... here.
29317 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
29318 * sysdeps/powerpc/powerpc32/configure.in: ... this.
29319 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
29320
29321 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
29322 * sysdeps/powerpc/ifunc-sel.h: ... here.
29323 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
29324 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
29325
29326 * sysdeps/sparc/elf/configure.in: Moved to ...
29327 * sysdeps/sparc/configure.in: ... here.
29328 * sysdeps/sparc/elf/configure: Delete file.
29329 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
29330 * sysdeps/sparc/sparc32/start.S: ... here.
29331 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
29332 * sysdeps/sparc/sparc64/start.S: ... here.
29333 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
29334 * sysdeps/sparc/sparc32/Makefile: ... this.
29335 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
29336 * sysdeps/sparc/sparc64/Makefile: ... this.
29337
29338 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
29339 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
29340 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
29341 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
29342 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
29343 * sysdeps/s390/s390-32/setjmp.S: ... here.
29344 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
29345 * sysdeps/s390/s390-32/configure.in: ... here.
29346 * sysdeps/s390/s390-32/elf/configure: Delete file.
29347 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
29348 * sysdeps/s390/s390-32/start.S: ... here.
29349
29350 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
29351 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
29352 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
29353 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
29354 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
29355 * sysdeps/s390/s390-64/setjmp.S: ... here.
29356 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
29357 * sysdeps/s390/s390-64/configure.in: ... here
29358 * sysdeps/s390/s390-64/elf/configure: Delete file.
29359 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
29360 * sysdeps/s390/s390-64/start.S: ... here.
29361 * sysdeps/s390/s390-64/elf/configure: Delete.
29362
29363 * configure.in: Remove support for elf directories in sysdeps.
29364
29365 * configure: Regenerated.
29366 * sysdeps/i386/configure: Regenerated.
29367 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29368 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29369 * sysdeps/s390/s390-32/configure: Regenerated.
29370 * sysdeps/s390/s390-64/configure: Regenerated.
29371 * sysdeps/sh/configure: Regenerated.
29372 * sysdeps/sparc/configure: Regenerated.
29373 * sysdeps/x86_64/configure: Regenerated.
29374
a3f61311
AS
293752012-03-26 Andreas Schwab <schwab@linux-m68k.org>
29376
c876e002
AS
29377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29378
a3f61311
AS
29379 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
29380 denormal result into account.
29381
ac4c54f0
RM
293822012-03-25 Roland McGrath <roland@hack.frob.com>
29383
29384 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
29385 Reported by Allan McRae <allan@archlinux.org>.
29386
6a9b9c02
JL
293872012-03-23 Jeff Law <law@redhat.com>
29388
29389 * nss/getnssent.c (__nss_getent): Fix typo.
29390
4c42a0c1
DM
293912012-03-23 David S. Miller <davem@davemloft.net>
29392
29393 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29394
1532c7ac
L
293952012-03-23 H.J. Lu <hongjiu.lu@intel.com>
29396
29397 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
29398 to pad to uint64_t for each field.
29399 (dl_tls_index): Replace unsigned long with uint64_t.
29400
3ff42526
PP
294012012-03-23 Daniel Jacobowitz <dmj@google.com>
29402 Paul Pluzhnikov <ppluzhnikov@google.com>
29403
29404 [BZ #6528]
29405 * grp/Makefile (otherlibs): Don't set it.
29406 * inet/Makefile (otherlibs): Likewise.
29407 * login/Makefile (otherlibs): Likewise.
29408 * nscd/Makefile (otherlibs): Likewise.
29409 * posix/Makefile (otherlibs): Likewise.
29410 * pwd/Makefile (otherlibs): Likewise.
29411 * rt/Makefile (otherlibs): Likewise.
29412 * sunrpc/Makefile (otherlibs): Likewise.
29413 * nss/Makefile (otherlibs): Likewise.
29414 Add libnss_files to routines and static-only-routines.
29415 ($(objpfx)getent): Remove rule.
29416 * resolv/Makefile: Add libnss_dns and libresolv to routines and
29417 static-only-routines.
29418
7c69cd14
JM
294192012-03-22 Joseph Myers <joseph@codesourcery.com>
29420
29421 [BZ #13892]
29422 * math/s_cexp.c: Include <float.h>.
29423 (__cexp): Handle exp result overflowing not necessarily
29424 overflowing both real and imaginary parts of result.
29425 * math/s_cexpf.c: Likewise.
29426 * math/s_cexpl.c: Likewise.
29427 * math/libm-test.inc (cexp_test): Add more tests.
29428 * sysdeps/i386/fpu/libm-test-ulps: Update.
29429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29430
81b035fe
L
294312012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29432
29433 * include/link.h (ELFW): New macro.
29434 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
29435 Replace ELF64_R_TYPE with ELFW(R_TYPE).
29436
1da7940c
L
294372012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29438
29439 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
29440 with uint64_t.
29441
b749dbb9
L
294422012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29443
29444 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
29445 declaration.
29446 (struct La_x32_retval): Likewise.
29447
2ff87f3f
L
294482012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29449
29450 * sysdeps/x86_64/preconfigure.in: New file.
29451 * sysdeps/x86_64/preconfigure: New generated file.
29452
c0df8e69
JM
294532012-03-22 Joseph Myers <joseph@codesourcery.com>
29454
48e44791
JM
29455 [BZ #13824]
29456 * math/e_exp2l.c: Include <float.h>.
29457 (__ieee754_exp2l): Handle overflow and underflow cases
29458 separately. Only pass fractional part of argument to
29459 __ieee754_expl.
29460 * math/libm-test.inc (exp2_test): Add more tests.
29461
c0df8e69
JM
29462 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
29463 negating x to take absolute value.
29464 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
29465 Likewise.
29466 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29467 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
29468 Likewise.
29469 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
29470 computing low part if x was negated.
29471 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29472
c8e43ba7
L
294732012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29474
29475 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
29476 la_x32_gnu_pltexit.
29477 (pltexit): Cast int_retval to ptrdiff_t.
29478 * elf/tst-auditmod3b.c: Likewise.
29479 * elf/tst-auditmod4b.c: Likewise.
29480 * elf/tst-auditmod5b.c: Likewise.
29481 * elf/tst-auditmod6b.c: Likewise.
29482 * elf/tst-auditmod6c.c: Likewise.
29483 * elf/tst-auditmod7b.c: Likewise.
29484
29485 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
29486 and x32_gnu_pltexit.
29487
29488 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
29489 __ELF_NATIVE_CLASS.
29490 (La_x32_regs): New macro.
29491 (La_x32_retval): Likewise.
29492 (la_x32_gnu_pltenter): New function prototype.
29493 (la_x32_gnu_pltexit): Likewise.
29494
7998fa78
AS
294952012-03-21 Andreas Schwab <schwab@linux-m68k.org>
29496
dcb33988
AS
29497 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
29498 exponent.
29499
233fc563
AS
29500 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29501
7998fa78
AS
29502 * configure.in (libc_cv_cc_nofma): Check for option to disable
29503 generation of FMA instructions.
29504 * configure: Regenerate.
29505 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
29506 * sysdeps/ieee754/dbl-64/Makefile: New file.
29507 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29508 Remove brandred-fma4.
29509 (CFLAGS-brandred-fma4.c): Remove.
29510 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
29511 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
29512 define.
29513 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
29514 define.
29515
8e95c99a
L
295162012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29517
29518 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29519 LLONG_MAX != LONG_MAX.
29520 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29521 (_fitoa_word): Likewise.
29522 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
29523 LLONG_MAX != LONG_MAX.
29524 * stdio-common/_itowa.h: Include <_itoa.h>.
29525 (_itowa_word): Use _ITOA_WORD_TYPE on value.
29526 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
29527 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
29528 only if not defined.
29529 (_ITOA_WORD_TYPE): Likewise.
29530 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29531 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
29532
6f4db457
DM
295332012-03-21 David S. Miller <davem@davemloft.net>
29534
29535 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29536
7785fe5a
L
295372012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29538
29539 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
29540 of x86_64 when setting libc_cv_slibdir, libdir and
29541 libc_cv_localedir.
29542 * sysdeps/unix/sysv/linux/configure: Regenerated.
29543
4535cd55
JM
295442012-03-21 Joseph Myers <joseph@codesourcery.com>
29545
29546 * manual/lang.texi (Old Varargs): Remove section.
29547 (How Variadic): Update menu.
29548 (va_start): Do not mention varargs.h.
29549
17228132
TS
295502012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29551 Joseph Myers <joseph@codesourcery.com>
29552
29553 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
29554 link test.
29555 * configure: Regenerated.
29556
8149f976
TS
295572012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29558
05f3d1f6
UD
29559 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
29560 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
29561 conformtest.pl
8149f976 29562
1a4ac776
JM
295632012-03-21 Joseph Myers <joseph@codesourcery.com>
29564
be22ce65
JM
29565 * NOTES: Remove.
29566 * Makefile (files-for-dist): Remove NOTES.
29567 (NOTES): Remove rule.
29568 * README: Don't refer to NOTES.
29569 * manual/creature.texi: Don't include macros.texi.
29570 * manual/intro.texi (creature.texi): Remove comment referring to
29571 NOTES.
29572
40b601fb
JM
29573 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
29574 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
29575 * configure: Regenerated.
29576 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
29577 LIBC_TRY_CC_OPTION.
29578 (libc_cv_as_i686): Likewise.
29579 (libc_cv_cc_avx): Likewise.
29580 (libc_cv_cc_sse2avx): Likewise.
29581 (libc_cv_cc_fma4): Likewise.
29582 (libc_cv_cc_novzeroupper): Likewise.
29583 * sysdeps/i386/configure: Regenerated.
29584
1a4ac776
JM
29585 [BZ #13883]
29586 * sysdeps/i386/fpu/s_cexp.S: Remove.
29587 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29588 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29589 * math/libm-test.inc (cexp_test): Add more tests.
29590 * sysdeps/i386/fpu/libm-test-ulps: Update.
29591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29592
a458e7fe
AM
295932012-03-21 Allan McRae <allan@archlinux.org>
29594
29595 * timezone/Makefile: Do not install iso3166.tab and zone.tab
29596
0cb7efc5
JM
295972012-03-21 Joseph Myers <joseph@codesourcery.com>
29598
29599 [BZ #13871]
29600 * math/w_exp2.c: Do not include <float.h>.
29601 (o_threshold, u_threshold): Remove.
29602 (__exp2): Calculate result before checking finiteness and calling
29603 __kernel_standard.
29604 * math/w_exp2f.c: Likewise.
29605 * math/w_exp2l.c: Likewise.
29606 * math/libm-test.inc (exp2_test): Require overflow exception for
29607 1e6 input.
2460d3aa
JM
29608
29609 [BZ #3866]
29610 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
29611 range of signed 64-bit integers before using fistpll. Remove
29612 checks for whether integers fit in mantissa bits.
29613 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
29614 the range of signed 32-bit integers before using fistpl. Remove
29615 checks for whether integers fit in mantissa bits.
29616 * sysdeps/i386/fpu/e_powl.S (p64): New object.
29617 (__ieee754_powl): Test for y outside the range of signed 64-bit
29618 integers before using fistpll. Reduce 64-bit values to 63-bit
29619 ones as needed.
29620 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
29621 divide-by-zero is raised for zero to large negative powers.
29622 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
29623 (__ieee754_powl): Test for y outside the range of signed 64-bit
29624 integers before using fistpll. Reduce 64-bit values to 63-bit
29625 ones as needed.
29626 * math/libm-test.inc (pow_test): Add more tests.
29627
eb96ffb0
L
296282012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29629
29630 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
29631 <stdio-common/_itoa.h>.
29632 * debug/segfault.c: Likewise.
29633 * elf/dl-cache.c: Likewise.
29634 * elf/dl-minimal.c: Likewise.
29635 * elf/dl-misc.c: Likewise.
29636 * elf/dl-sysdep.c: Likewise.
29637 * elf/dl-version.c: Likewise.
29638 * elf/rtld.c: Likewise.
29639 * hurd/hurdsock.c: Likewise.
29640 * hurd/lookup-retry.c: Likewise.
29641 * malloc/malloc.c: Likewise.
29642 * malloc/mtrace.c: Likewise.
29643 * nscd/nscd_getgr_r.c: Likewise.
29644 * nscd/nscd_getpw_r.c: Likewise.
29645 * nscd/nscd_getserv_r.c: Likewise.
29646 * posix/getopt_init.c: Likewise.
29647 * posix/wordexp.c: Likewise.
29648 * stdio-common/_itoa.c: Likewise.
29649 * stdio-common/printf_fphex.c: Likewise.
29650 * stdio-common/vfprintf.c: Likewise.
29651 * string/_strerror.c: Likewise.
29652 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
29653 * sysdeps/i386/i686/hp-timing.h: Likewise.
29654 * sysdeps/mach/_strerror.c: Likewise.
29655 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
29656 * sysdeps/mach/hurd/sethostid.c: Likewise.
29657 * sysdeps/mach/hurd/xmknodat.c: Likewise.
29658 * sysdeps/mach/xpg-strerror.c: Likewise.
29659 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29660 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29661 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
29662 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
29663 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29664 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
29665 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
29666 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
29667 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
29668 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
29669 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
29670 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29671 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
29672 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
29673 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
29674 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
29675 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
29676 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
29677 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
29678 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
29679 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
29680
29681 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
29682
29683 * stdio-common/_itoa.h: Moved to ...
29684 * sysdeps/generic/_itoa.h: Here.
29685
29686 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
29687
29688 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
29689 instead of "_itoa.h" and "_itowa.h".
29690 * stdio-common/vfprintf.: Likewise.
29691
d1af992d
L
296922012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29693
29694 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
29695 <bits/wordsize.h>.
29696 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
29697 (__signbit): Likwise.
29698 (llrintf): Likwise.
29699 (llrint): Likwise.
29700
114883e0
L
297012012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29702
29703 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
29704 __WORDSIZE != 64.
29705
c135cc1b
JM
297062012-03-20 Joseph Myers <joseph@codesourcery.com>
29707
29708 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
29709 OVERFLOW_EXCEPTION_OK.
29710 * math/libm-test.inc ("Philosophy"): Update comment about
29711 exception testing.
29712 (OVERFLOW_EXCEPTION): Define.
29713 (OVERFLOW_EXCEPTION_OK): Likewise.
29714 (INVALID_EXCEPTION_OK): Renumber.
29715 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29716 (IGNORE_ZERO_INF_SIGN): Likewise.
29717 (test_exceptions): Handle FE_OVERFLOW.
29718 (exp10_test): Expect overflow exceptions.
29719 (exp2_test): Likewise.
29720 (expm1_test): Likewise.
29721 (nextafter_test): Likewise.
29722 (pow_test): Likewise.
29723 (scalbn_test): Likewise.
29724 (scalbln_test): Likewise.
29725
95443d88
L
297262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29727
29728 * sysdeps/x86_64/bits/atomic.h
29729 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
29730 64bit integer.
29731 (atomic_exchange_acq): Likewise.
29732 (__arch_exchange_and_add_body): Likewise.
29733 (__arch_add_body): Likewise.
29734 (atomic_add_negative): Likewise.
29735 (atomic_add_zero): Likewise.
29736
490df6c4
L
297372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29738
c2722551 29739 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
29740 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
29741
5e52b189
L
297422012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29743
29744 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
29745 Check __x86_64__ instead of __WORDSIZE.
29746
a9879d4c
L
297472012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29748
29749 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
29750
5df98260
DM
297512012-03-19 David S. Miller <davem@davemloft.net>
29752
e1497744
DM
29753 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29754
5df98260
DM
29755 * sysdeps/sparc/fpu/fenv_private.h: New file.
29756 * sysdeps/sparc/fpu/math_private.h: Use it.
29757 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
29758 Remove.
29759 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
29760 (libc_feholdexcept_setroundl): Remove.
29761 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
29762 Remove.
29763 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
29764 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
29765
b4c35121
L
297662012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29767
29768 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
29769 int64_t instead of long int.
29770 (INSERT_WORDS64): Likwise.
29771
56965fd7
L
297722012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29773
29774 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
29775 _Unwind_GetCFA return to _Unwind_Ptr first.
29776
83d1aec8
JM
297772012-03-19 Joseph Myers <joseph@codesourcery.com>
29778
1897ad44
JM
29779 [BZ #13629]
29780 * math/s_clog.c: Include <float.h>.
29781 (__clog): Scale large or subnormal inputs.
29782 * math/s_clogf.c: Likewise.
29783 * math/s_clogl.c: Likewise.
29784 * math/s_clog10.c: Include <float.h>.
29785 (M_LOG10_2): Define.
29786 (__clog10): Scale large or subnormal inputs.
29787 * math/s_clog10f.c: Likewise.
29788 * math/s_clog10l.c: Likewise.
29789 * math/libm-test.inc (clog_test): Add more tests.
29790 (clog10_test): Likewise.
29791 * sysdeps/i386/fpu/libm-test-ulps: Update.
29792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29793
7726d6a9
JM
29794 [BZ #11451]
29795 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
29796 x and y.
29797 * math/libm-test.inc (atan2_test): Add another test.
29798
83d1aec8
JM
29799 * Makerules (common-objdir-compile): Remove.
29800 * sysdeps/unix/Makefile (config-generated): Do not add
29801 $(unix-generated) to variable.
29802 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
29803 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
29804 Remove rule.
29805 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
29806 Likewise.
29807 [generic bits/local_lim.h] (before-compile): Do not append to
29808 variable.
29809 [generic bits/local_lim.h] (common-generated): Likewise.
29810 [generic sys/param.h] (before-compile): Do not append to variable.
29811 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
29812 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
29813 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
29814 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
29815 include.
29816 [generic sys/param.h] (sys/param.h-includes): Remove variable.
29817 [generic sys/param.h] (sys/param.h-includes): Remove rule.
29818 [generic sys/param.h] ($(addprefix
29819 $(common-objpfx),$(sys/param.h-includes))): Likewise.
29820 [generic sys/param.h] (common-generated): Do not append to
29821 variable.
29822 [generic sys/param.h] (sysdep_headers): Likewise.
29823 [generic bits/errno.h] (before-compile): Do not append to
29824 variable.
29825 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
29826 rule.
29827 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
29828 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
29829 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
29830 [generic bits/errno.h] (common-generated): Do not append to
29831 variable.
29832 [generic bits/ioctls.h] (before-compile): Do not append to
29833 variable.
29834 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
29835 rule.
29836 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
29837 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
29838 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
29839 rule.
29840 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
29841 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
29842 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
29843 [generic bits/ioctls.h] (common-generated): Do not append to
29844 variable.
29845 [generic sys/syscall.h] (syscall.h): Remove variable.
29846 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
29847 rule.
29848 [generic sys/syscall.h] (before-compile): Do not append to
29849 variable.
29850 [generic sys/syscall.h] (common-generated): Likewise.
29851 * sysdeps/unix/errnos-tmpl.c: Remove file.
29852 * sysdeps/unix/errnos.awk: Likewise.
29853 * sysdeps/unix/ioctls-tmpl.c: Likewise.
29854 * sysdeps/unix/ioctls.awk: Likewise.
29855 * sysdeps/unix/mk-local_lim.c: Likewise.
29856 * sysdeps/unix/snarf-ioctls: Likewise.
29857
4851a949
RH
298582012-03-19 Richard Henderson <rth@twiddle.net>
29859
bd37f2ee
RH
29860 * sysdeps/i386/fpu/fenv_private.h: New file.
29861 * sysdeps/i386/fpu/math_private.h: Use it.
29862 (math_opt_barrier, math_force_eval): Remove.
29863 (libc_feholdexcept_setround_53bit): Remove.
29864 (libc_feupdateenv_53bit): Remove.
29865 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29866 (math_opt_barrier, math_force_eval): Remove.
29867 (libc_feholdexcept): Remove.
29868 (libc_feholdexcept_setround): Remove.
29869 (libc_fetestexcept, libc_fesetenv): Remove.
29870 (libc_feupdateenv_test): Remove.
29871 (libc_feupdateenv, libc_feholdsetround): Remove.
29872 (libc_feresetround): Remove.
29873
d0adc922
RH
29874 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
29875 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29876
0fe0f1f8
RH
29877 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
29878 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
29879 (libc_feupdateenv_testl): New.
29880 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
29881 (libc_feupdateenv_testf): New.
29882 (libc_feupdateenv): Use libc_feupdateenv_test.
29883 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
29884 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
29885
eb92c487
RH
29886 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
29887 (libc_feholdsetroundf, libc_feholdsetroundl): New.
29888 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
29889 (libc_feresetround_noex): New.
29890 (libc_feresetround_noexf): New.
29891 (libc_feresetround_noexl): New.
29892 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
29893 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
29894 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
29895 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
29896 SET_RESTORE_ROUND.
29897 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29898 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
29899 (__cos): Likewise.
29900 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
29901 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
29902 SET_RESTORE_ROUND_NOEX.
29903 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
29904 SET_RESTORE_ROUND_NOEXF.
29905 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
29906 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
29907 (libc_feholdsetroundf): New.
29908 (libc_feresetround, libc_feresetroundf): New.
29909
7d2e8012
RH
29910 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
29911 (libc_feholdexcept_setround_53bit): Convert from macro to function.
29912 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
29913
b4dabbb4
RH
29914 * sysdeps/generic/math_private.h: Include <fenv.h>.
29915 (default_libc_feholdexcept): New.
29916 (default_libc_feholdexcept_setround): New.
29917 (default_libc_fesetenv, default_libc_feupdateenv): New.
29918 (libc_feholdexcept): Only define if undefined.
29919 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
29920 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
29921 (libc_feholdexcept_setroundl): Likewise.
29922 (libc_feholdexcept_setround_53bit): Likewise.
29923 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
29924 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
29925 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
29926 (libc_feupdateenv_53bit): Likewise.
29927 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
29928 (libc_feholdexcept): Convert from macro to inline function.
29929 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
29930 (libc_fesetenv, libc_feupdateenv): Likewise.
29931
4851a949
RH
29932 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
29933 not previously defined.
29934 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
29935 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
29936 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
29937 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
29938 * sysdeps/ieee754/flt-32/math_private.h: New file.
29939 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
29940 math_private.h below SET_FLOAT_WORD.
29941 (__isnan, __isinf_ns, __finite): Remove.
29942 (__isnanf, __isinf_nsf, __finitef): Remove.
29943
e79d442e
AS
299442012-03-18 Andreas Schwab <schwab@linux-m68k.org>
29945
29946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29947
90b80344
DM
299482012-03-17 David S. Miller <davem@davemloft.net>
29949
29950 [BZ #6471]
29951 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
29952 for 2.16.
29953
edc21804
DM
299542012-03-16 David S. Miller <davem@davemloft.net>
29955
77e927af
DM
29956 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
29957 warnings.
29958
374976dd
DM
29959 [BZ #6471]
29960 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
29961 properly.
29962 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
29963 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
29964 sysdep_routines when subdir is sysvipc.
29965 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
29966 __getshmlba helper.
29967
edc21804
DM
29968 * sysdeps/sparc/fpu/libm-test/ulps: Update.
29969
473c3ef3
L
299702012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29971
29972 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
29973 [__LP64__].
29974
eb0f39b6
L
299752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29976
29977 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
29978 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
29979 (__lround): Renamed to ...
29980 (__llround): This. Replace long int with long long int.
29981 Define lround functions as aliases of llround functions.
29982 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
29983
6b6cd74b
L
299842012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29985
29986 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
29987 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
29988 adresses to uintptr_t. Replace "long int" and "unsigned long
29989 int" with "greg_t" on va_arg.
29990
f1a77b01
L
299912012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29992
29993 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
29994 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
29995
29996 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
29997 Move e_machine check before EI_CLASS check. Handle x32
29998 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
29999 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
30000 SKIP_EM_IA_64 and include
30001 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
30002
30003 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
30004 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
30005 (add_system_dir): New macro.
30006
30007 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
30008 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
30009
11b90b9f
JM
300102012-03-16 Joseph Myers <joseph@codesourcery.com>
30011
c36e1d23
JM
30012 [BZ #2551]
30013 [BZ #2552]
30014 [BZ #2553]
30015 [BZ #2554]
30016 [BZ #2562]
30017 [BZ #2563]
30018 [BZ #2565]
30019 [BZ #2566]
30020 [BZ #2576]
30021 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
30022 (y0): Likewise.
30023 * math/w_j0f.c (j0f): Likewise.
30024 (y0f): Likewise.
30025 * math/w_j0l.c (__j0l): Likewise.
30026 (__y0l): Likewise.
30027 * math/w_j1.c (j1): Likewise.
30028 (y1): Likewise.
30029 * math/w_j1f.c (j1f): Likewise.
30030 (y1f): Likewise.
30031 * math/w_j1l.c (__j1l): Likewise.
30032 (__y1l): Likewise.
30033 * math/w_jn.c (jn): Likewise.
30034 (yn): Likewise.
30035 * math/w_jnf.c (jnf): Likewise.
30036 (ynf): Likewise.
30037 * math/w_jnl.c (__jnl): Likewise.
30038 (__ynl): Likewise.
30039 * math/libm-test.inc (j0_test): Add more tests.
30040 (j1_test): Likewise.
30041 (jn_test): Likewise. Add trailing semicolon to existing test.
30042 (y0_test): Likewise.
30043 (y1_test): Likewise.
30044 * sysdeps/i386/fpu/libm-test-ulps: Update.
30045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30046
11b90b9f
JM
30047 [BZ #13851]
30048 [BZ #13854]
30049 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
30050 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
30051 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
30052 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
30053 (__tanl): Set errno for infinite argument.
30054 * sysdeps/i386/fpu/mptan.c: Remove.
30055 * sysdeps/i386/fpu/s_tan.S: Likewise.
30056 * sysdeps/i386/fpu/s_tanl.S: Likewise.
30057 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
30058 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
30059 * math/libm-test.inc (tan_test): Add more tests and enable more
30060 tests for double and long double.
30061 * sysdeps/i386/fpu/libm-test-ulps: Update.
30062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30063
6a1bd2a1
JK
300642012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
30065
30066 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
30067 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
30068
10a803e0
RM
300692012-03-16 Roland McGrath <roland@hack.frob.com>
30070
30071 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
30072 * configure.in: Use it for both main tree and add-ons.
30073 * configure: Regenerated.
30074
f196c7f7
L
300752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30076
30077 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
30078
8848d99d
JM
300792012-03-16 Joseph Myers <joseph@codesourcery.com>
30080
96cbe7f4
JM
30081 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
30082 in comment.
30083
8848d99d
JM
30084 [BZ #13851]
30085 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
30086 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
30087 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
30088 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
30089 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
30090 infinite argument.
30091 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
30092 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
30093 != 0 for prec == 2.
30094 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
30095 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
30096 * sysdeps/i386/fpu/s_cosl.S: Likewise.
30097 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
30098 * sysdeps/i386/fpu/s_sinl.S: Likewise.
30099 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
30100 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
30101 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
30102 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
30103 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
30104 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
30105 * math/libm-test.inc (cos_test): Add more tests and enable more
30106 tests for long double.
30107 (sin_test): Likewise.
30108 (sincos_test): Likewise.
30109 * sysdeps/i386/fpu/libm-test-ulps: Update.
30110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30111
dd7f4703
DM
301122012-03-16 David S. Miller <davem@davemloft.net>
30113
30114 * sysdeps/sparc/fpu/math_private.h: New file.
30115
006f1daa
DM
301162012-03-15 David S. Miller <davem@davemloft.net>
30117
c0c83bc8
DM
30118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
30119 file.
e6a62e18 30120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
30121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
30122 file.
e6a62e18
DM
30123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
30124 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
30125 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
30126 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
30127 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
30128 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
30129 sysdep routines.
30130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
30131
88cb87d9
DM
30132 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
30133 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
30134
006f1daa 30135 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
30136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
30137 sparc-ifunc.h
006f1daa 30138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
30139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
30140 Likewise.
30141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
30142 Likewise.
006f1daa
DM
30143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
30144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
30145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
30146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30147 Likewise.
006f1daa
DM
30148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
30150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
30152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
30153 Likewise.
30154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
30155 Likewise.
006f1daa
DM
30156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
30158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
30159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
30160 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30161 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30162 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
30163 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
30164 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30165 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30166 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
30167 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
30168 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
30169 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
30170 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
30171 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
30172 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
30173 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
30174 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
30175 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
30176 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
30177 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
30178 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
30179 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
30180
11e0098e
AS
301812012-03-15 Andreas Schwab <schwab@linux-m68k.org>
30182
30183 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
30184 scaling.
30185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30186
e85b09d0
AJ
301872012-03-15 Andreas Jaeger <aj@suse.de>
30188
30189 [BZ #13852]
30190 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
30191 ieee754/flt-32 implementation for sin, cos and sincos.
30192 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
30193 * sysdeps/i386/fpu/s_cosf.S: Likewise.
30194 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
30195 * sysdeps/i386/fpu/s_sinf.S: Likewise.
30196 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
30197 ieee754/flt-32 implementation for tan.
30198
30199 * math/libm-test.inc (cos_test): Enable some large input tests for
30200 float as well
30201 (sin_test): Likewise.
30202 (sincos_test): Likewise.
30203 (tan_test): Add tests for large input.
30204
30205 * sysdeps/i386/fpu/libm-test-ulps: Update.
30206
81c64153
AJ
302072012-03-15 Andreas Jaeger <aj@suse.de>
30208
30209 [BZ #13658]
30210 * math/libm-test.inc (cos_test): Add more test cases.
30211 (sin_test): Likewise.
30212 (sincos_test): Likewise.
30213
7bbfa5c6
AJ
302142012-03-15 Andreas Jaeger <aj@suse.de>
30215
30216 [BZ #13837]
30217 * math/libm-test.inc (cos_test): Add a test case for large input
30218 value.
30219 (sin_test): Likewise.
30220 (sincos_test): Likewise.
30221
302222012-03-15 Andreas Jaeger <aj@suse.de>,
30223 Joseph Myers <joseph@codesourcery.com>
30224
30225 [BZ #13658]
0671f479 30226 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
30227 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
30228 * sysdeps/i386/fpu/branred.c: Likewise.
30229 * sysdeps/i386/fpu/dosincos.c: Likewise.
30230 * sysdeps/i386/fpu/mpa.c: Likewise.
30231 * sysdeps/i386/fpu/s_cos.S: Likewise.
30232 * sysdeps/i386/fpu/s_sin.S: Likewise.
30233 * sysdeps/i386/fpu/s_sincos.S: Likewise.
30234 * sysdeps/i386/fpu/sincos32.c: Likewise.
30235
30236 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
30237 Define.
30238 (libc_feupdateenv_53bit): Define.
30239 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
30240 Define.
30241 (libc_feupdateenv_53bit): Define.
30242
30243 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
30244 53 bit (without extend i386 double precision).
30245
30246 * math/libm-test.inc (sincos_test): Add tests for large input.
30247 (sin): Likewise.
30248 (cos): Likewise.
30249
30250 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30251
9cad04ea
AS
302522012-03-15 Andreas Schwab <schwab@linux-m68k.org>
30253
30254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30255
f7062b9a
DM
302562012-03-15 David S. Miller <davem@davemloft.net>
30257
30258 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
30259 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
30260 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
30261 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
30262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
30263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
30264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
30265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
30266 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
30267 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
30268 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
30269 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
30270 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
30271 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
30272 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
30273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
30274 file.
f7062b9a 30275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
30276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
30277 file.
f7062b9a 30278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
30279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
30280 file.
f7062b9a 30281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
30282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
30283 file.
f7062b9a
DM
30284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
30285 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
30286 fmin/fmax sysdep routines.
30287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
30288
7bd951ff
DM
302892012-03-14 David S. Miller <davem@davemloft.net>
30290
559398ab
DM
30291 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
30292 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
30293 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
30294 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
30295 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
30296 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
30297 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
30298 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
30299 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
30300 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
30301 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
30302 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
30303 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
30304 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
30305 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
30306 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
30307 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
30308 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
30309 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
30310 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
30311 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
30312 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
30313 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
30314 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
30315 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
30316 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
30317 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
30318 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
30319 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
30320 routines.
30321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
30322 file.
559398ab 30323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
30324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
30325 file.
559398ab 30326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
30327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
30328 file.
559398ab 30329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
30330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
30331 file.
559398ab 30332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
30333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
30334 file.
559398ab 30335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
30336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
30337 file.
30338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
30339 file.
30340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
30341 file.
30342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
30343 file.
30344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
30345 New file.
30346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
30347 file.
30348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
30349 file.
559398ab 30350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
30351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
30352 file.
559398ab 30353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
30354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
30355 file.
559398ab 30356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
30357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
30358 file.
559398ab 30359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
30360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
30361 VIS3 routines.
559398ab
DM
30362
30363 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30364 New file.
30365
5a1c1e32
DM
30366 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30367
eae47a36
DM
30368 * sysdeps/sparc/configure.in: New file.
30369 * sysdeps/sparc/configure: Generate.
30370 * configure.in (libc_cv_sparc_as_vis3): Substitute.
30371 * configure: Regenerate.
30372 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
30373 * config.make.in (have-as-vis3): New.
30374 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
30375 available use -Av9d instead of -Av9a.
30376 * sysdeps/sparc/sparc64/Makefile: Likewise.
30377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
30378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
30379 New file.
30380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
30381 file.
30382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
30383 New file.
30384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
30385 file.
eae47a36
DM
30386 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
30387 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
30388 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
30389 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
30390 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
30391
c0c83bc8
DM
30392 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
30393 fzeros/fnegs to load 0x80000000 into a float register instead of
30394 using the stack.
7bd951ff
DM
30395 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
30396
bd951ccb
JM
303972012-03-14 Joseph Myers <joseph@codesourcery.com>
30398
30399 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30400 bits/syscall.h.
30401 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
30402 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
30403 ($(inst_includedir)/bits/syscall.h): Remove rule.
30404 ($(objpfx)bits/syscall.d): Include instead of
30405 $(objpfx)syscall-list.d.
30406 (generated): Change syscall-list.h and syscall-list.d to
30407 bits/syscall.h and bits/syscall.d.
30408
bb4e6db2
RM
304092012-03-14 Roland McGrath <roland@hack.frob.com>
30410
30411 [BZ #13846]
30412 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
30413
aa4a2ae1
JM
304142012-03-14 Joseph Myers <joseph@codesourcery.com>
30415
e456826d
JM
30416 [BZ #13841]
30417 * math/s_csqrt.c: Include <float.h>.
30418 (__csqrt): Scale large or subnormal inputs.
30419 * math/s_csqrtf.c: Likewise.
30420 * math/s_csqrtl.c: Likewise.
30421 * math/libm-test.inc (csqrt_test): Add more tests.
30422 * sysdeps/i386/fpu/libm-test-ulps: Update.
30423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30424
aa4a2ae1
JM
30425 [BZ #13840]
30426 * math/libm-test.inc (hypot_test): Add more tests.
30427
7c10fd35
DM
304282012-03-13 David S. Miller <davem@davemloft.net>
30429
30430 [BZ #13840]
30431 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
30432 double-precision for the calculation instead of scaling.
30433
f453b98b
JM
304342012-03-13 Joseph Myers <joseph@codesourcery.com>
30435
30436 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
30437 manipulate bits before adding and subtracting TWO52[sx].
30438 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
30439 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
30440 Likewise.
30441 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
30442
09a3453f
DM
304432012-03-13 David S. Miller <davem@davemloft.net>
30444
8e59da90
DM
30445 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
30446 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
30447 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
30448 rtld-global-offsets.h
30449 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30450
2a8ab7f2
DM
30451 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
30452 large parameters.
30453
10f62770
DM
30454 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
30455
5f0bdb18
DM
30456 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
30457 'err' in the ifdef scope in which it is actually used.
30458
09a3453f
DM
30459 * nss/nss_db/db-init.c: Include string.h
30460
b4b2eb5e
DM
304612012-03-12 David S. Miller <davem@davemloft.net>
30462
98bb2f1c
DM
30463 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30464 masking out of the most significant byte of random value used.
30465 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30466 Fix coding style in previous change.
30467
b4b2eb5e
DM
30468 * sysdeps/unix/sysv/linux/kernel-features.h
30469 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
30470 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
30471 expression.
30472 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
30473 later.
30474
6e226b09
DM
304752012-03-11 David S. Miller <davem@davemloft.net>
30476
a1bcbd40
DM
30477 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30478 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
30479 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
30480 for 'resultvar' otherwise things get truncated on 64-bit.
30481
cb9d6174
DM
30482 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30483 Fix masking out of the most significant byte of random value used.
30484
6e226b09
DM
30485 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30486
058c132d
AS
304872012-03-10 Andreas Schwab <schwab@linux-m68k.org>
30488
30489 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30490
2d2cd515
DM
304912012-03-09 David S. Miller <davem@davemloft.net>
30492
30493 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
30494 variables with appropriate CPP guards.
30495 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
30496 frame pointer, not the stack pointer. Correct layout comments. Fix test
30497 on resulting framesize and the management of the outregs buffer for pltexit.
30498 Preserve floating point return values across _dl_call_pltexit call.
30499 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
30500 framesize and the management of the outregs buffer for pltexit.
30501 Preserve floating point return values across _dl_call_pltexit
30502 call.
30503 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
30504 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
30505 (print_exit): Fix format string for return register value.
30506
9a07f9d0
JM
305072012-03-10 Joseph Myers <joseph@codesourcery.com>
30508
30509 * sunrpc/Makefile (others): Add rpcgen.
30510 ($(objpfx)rpcgen): Remove special build rule and dependency on
30511 libc.
30512 * sunrpc/rpcgen.c: New file.
30513
547b5e30
PE
305142012-03-09 Paul Eggert <eggert@cs.ucla.edu>
30515
c524201a
PE
30516 [BZ #13673]
30517 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
30518 * stdio-common/bug-vfprintf-nargs.c: Likewise.
30519 * sysdeps/i386/crti.S: Likewise.
30520 * sysdeps/i386/crtn.S: Likewise.
30521 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
30522 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
30523 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
30524 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
30525 * sysdeps/sh/crti.S: Likewise.
30526 * sysdeps/sh/crtn.S: Likewise.
30527 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30528
7b6235f2
PE
30529 [BZ #13673]
30530 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
30531 with URL.
30532 * locale/programs/locfile-kw.gperf: Likewise.
30533 * locale/programs/charmap-kw.h: Regenerated.
30534 * locale/programs/locfile-kw.h: Likewise.
30535
547b5e30
PE
30536 [BZ #13673]
30537 * intl/plural.y: Replace FSF snail mail address with URL.
30538 * intl/plural.c: Regenerated.
30539
5f0a5dae
RH
305402012-03-09 Richard Henderson <rth@twiddle.net>
30541
30542 * include/math_private.h: Remove file.
30543 * math/math_private.h: Move file ...
30544 * sysdeps/generic/math_private.h: ... here.
30545
b8c03620
RH
30546 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
30547 * sysdeps/powerpc/fpu/math_private.h: Likewise.
30548 * sysdeps/x86_64/fpu/math_private.h: Likewise.
30549
4e234f5d 30550 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
30551 and <math_private.h>.
30552 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30553 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30554 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30555 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30556 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30557 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
30558 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30559 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30560 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30561 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30562 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30563 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30564 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30565 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30566 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30567 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30568 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30569 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30570 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30571 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30572 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30573 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30574 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30575 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30576 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30577 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30578 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30579 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30580 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30581 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30582 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30583 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30584 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30585 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30586 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30587 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30588 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30589 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30590 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30591 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30592 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
30593 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30594 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30595 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
30596 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
30597 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30598 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
30599 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
30600 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30601 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30602 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
30603 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
30604 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
30605 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30606 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
30607 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30608 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30609 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30610 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
30611 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
30612 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30613 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
30614 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30615 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30616 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
30617 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30618 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30619 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30620 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
30621 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
30622 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
30623 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30624 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
30625 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30626 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
30627 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
30628 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
30629 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30630 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
30631 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
30632 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
30633 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
30634 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
30635 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30636 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30637 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
30638 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
30639 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
30640 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30641 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30642 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30643 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30644 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30645 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30646 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30647 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30648 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30649 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30650 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30651 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30652 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30653 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30654 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30655 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30656 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30657 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30658 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30659 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30660 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30661 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30662 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30663 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30664 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30665 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30666 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
30667 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30668 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30669 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30670 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30671 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30672 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30673 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30674 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30675 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
30676 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30677 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30678 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30679 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
30680 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30681 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
30682 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
30683 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30684 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30685 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
30686 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
30687 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30688 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30689 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30690 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
30691 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30692 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30693 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30694 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30695 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
30696 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
30697 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30698 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30699 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30700 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
30701 * sysdeps/ieee754/k_standard.c: Likewise.
30702 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30703 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30704 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30705 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30706 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30707 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30708 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30709 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30710 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30711 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30712 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30713 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30714 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30715 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30716 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30717 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30718 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30719 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30720 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30721 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
30722 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
30723 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
30724 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30725 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30726 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30727 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
30728 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30729 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30730 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30731 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30732 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30733 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30734 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30735 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30736 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30737 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30738 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30739 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
30740 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
30741 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30742 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30743 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30744 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30745 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30746 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30747 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30748 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30749 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30750 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30751 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30752 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30753 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30754 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30755 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
30756 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30757 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30758 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
30759 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
30760 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30761 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30762 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30763 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30764 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30765 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30766 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30767 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30768 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30769 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30770 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30771 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30772 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30773 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30774 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30775 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30776 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30777 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30778 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
30779 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30780 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30781 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30782 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30783 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30784 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30785 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30786 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
30787 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30788 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30789 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30790 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30791 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30792 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
30793 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30794 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30795 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30796 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30797 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30798 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
30799 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30800 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30801 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
30802 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30803 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30804 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30805 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30806 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
30807 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30808 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30809 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30810 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
30811 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30812 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30813 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30814 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30815 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30816 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30817 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30818 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30819 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30820 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30821 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30822 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30823 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30824 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30825 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30826 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30827 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
30828 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30829 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30830 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30831 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30832 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30833 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30834 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30835 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30836 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30837 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30838 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
30839 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30840 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30841 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
30842 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
30843 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30844 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
30845 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
30846 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30847 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30848 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30849 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30850 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30851 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
30852 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30853 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30854 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30855 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30856 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
30857 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
30858 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30859 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30860 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30861 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30862 * sysdeps/ieee754/s_lib_version.c: Likewise.
30863 * sysdeps/ieee754/s_matherr.c: Likewise.
30864 * sysdeps/ieee754/s_signgam.c: Likewise.
30865 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30866 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30867 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
30868 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
30869 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
30870 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30871 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
30872 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
30873 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
30874 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
30875 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30876 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
30877 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30878 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30879 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
30880 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30881 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30882 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30883 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30884 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30885 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 30886
1991fa03
JM
308872012-03-09 Joseph Myers <joseph@codesourcery.com>
30888
30889 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
30890 * sunrpc/rpc_main.c: Likewise.
30891 * sunrpc/rpc_svcout.c: Likewise.
30892
60d6f5a6
DM
308932012-03-09 David S. Miller <davem@davemloft.net>
30894
30895 * include/math_private.h: New file.
30896
4962050e
JM
308972012-03-09 Joseph Myers <joseph@codesourcery.com>
30898
02a6f887
JM
30899 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
30900 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
30901 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
30902 from <bits/socket_type.h>.
30903 (enum __socket_type): Don't define here.
30904 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
30905 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30906 bits/socket_type.h.
30907
c6e013c1
JM
30908 [BZ #13566]
30909 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
30910 checking __USE_GNU.
30911
4962050e
JM
30912 * Makerules ($(inst_includedir)/%.h): New rule.
30913 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
30914 (install-others): Remove variable setting.
30915 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
30916
38842f45
RH
309172012-03-08 Richard Henderson <rth@twiddle.net>
30918
67bb6da6
RH
30919 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
30920 from macro to inline function; merge with the
30921 !__LIBC_INTERNAL_MATH_INLINES version.
30922 (__ieee754_sqrtf): Likewise.
30923
15194b4b
RH
30924 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
30925 to inline function.
30926 (__rintf, __floor, __floorf): Likewise.
30927
64e21ede
RH
30928 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
30929 macro to inline function.
30930 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
30931
38842f45
RH
30932 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
30933 not <math/math_private.h>.
30934
c64bf5fe
DM
309352012-03-08 David S. Miller <davem@davemloft.net>
30936
30937 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
30938 copyright year.
30939 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
30940
82d86f28
TS
309412012-03-08 Thomas Schwinge <thomas@codesourcery.com>
30942
30943 * resolv/gai_misc.c (handle_requests): Fix struct timespec
30944 normalization.
30945 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
30946 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
30947
aea5d727
UD
309482012-03-08 Ulrich Drepper <drepper@gmail.com>
30949
30950 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
30951 be defined individually, they must be defined as a block. Define
30952 S for printing a string instead of hidint the different by using a
30953 macro for adding the 'l'.
30954 * stdio-common/tst-fphex-wide.c: Adjust.
30955
70bca0a3
MP
309562012-03-07 Marek Polacek <polacek@redhat.com>
30957
30958 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
30959
65b81130
MP
309602012-03-08 Marek Polacek <polacek@redhat.com>
30961
30962 [BZ #13806]
30963 * stdio-common/Makefile (tests): Add tst-fphex-wide.
30964 * stdio-common/tst-fphex.c: Define a few macros to make the
30965 test reusable. Use them.
30966 * stdio-common/tst-fphex-wide.c: New file.
30967
07037eeb
JM
309682012-03-08 Joseph Myers <joseph@codesourcery.com>
30969
a7a93d50
JM
30970 [BZ #6911]
30971 * manual/macros.texi (gnusystems): New macro.
30972 (nongnusystems): Likewise.
30973 (gnulinuxhurdsystems): Likewise.
30974 (gnuhurdsystems): Likewise..
30975 (gnulinuxsystems): Likewise.
30976 * manual/charset.texi: Use new macros or @theglibc{} to refer to
30977 variants of the GNU system, not "GNU system".
30978 * manual/conf.texi: Likewise.
30979 * manual/errno.texi: Likewise. Update example of errno macro
30980 expansion.
30981 * manual/filesys.texi: Likewise.
30982 (getumask): Document as specific to GNU/Hurd.
30983 * manual/install.texi: Likewise. Reword some references to
30984 GNU/Linux.
30985 * manual/intro.texi: Likewise.
30986 * manual/io.texi: Likewise.
30987 (File Name Portability): Detail which constraints are inapplicable
30988 to all GNU systems and which are only inapplicable to GNU/Hurd.
30989 * manual/job.texi: Likewise.
30990 * manual/llio.texi: Likewise.
30991 (O_NOCTTY): Document as present on GNU/Linux.
30992 * manual/maint.texi: Likewise.
30993 * manual/memory.texi: Likewise.
30994 * manual/pattern.texi: Likewise.
30995 * manual/pipe.texi: Likewise.
30996 * manual/process.texi: Likewise.
30997 * manual/resource.texi: Likewise.
30998 (RUSAGE_CHILDREN): Remove statement about specifying a particular
30999 child on GNU/Hurd.
31000 * manual/setjmp.texi: Likewise.
31001 * manual/signal.texi: Likewise.
31002 * manual/startup.texi: Likewise.
31003 * manual/stdio.texi: Likewise.
31004 * manual/terminal.texi: Likewise.
31005 (ONLCR): Document as POSIX.
31006 (OXTABS): Document availability on GNU/Linux as XTABS.
31007 (ONOEOT): Document availability separately from other bits.
31008 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
31009 * manual/time.texi: Likewise.
31010 * manual/users.texi: Likewise.
31011 * INSTALL: Regenerated.
31012 * sysdeps/gnu/errlist.c: Regenerated.
31013
07037eeb
JM
31014 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
31015 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
31016 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
31017 puts.
31018 * configure: Regenerated.
31019
d1d3431a
JM
310202012-03-07 Joseph Myers <joseph@codesourcery.com>
31021
af6a1e37
JM
31022 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
31023 default includes instead of AC_HEADER_CHECK.
31024 * sysdeps/i386/configure: Regenerated.
31025
d1d3431a
JM
31026 [BZ #10716]
31027 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
31028 * math/s_cacoshf.c (__cacoshf): Likewise.
31029 * math/s_cacoshl.c (__cacoshl): Likewise.
31030 * math/s_casinh.c (__casinh): Set signs of result from argument.
31031 * math/s_casinhf.c (__casinhf): Likewise.
31032 * math/s_casinhl.c (__casinhl): Likewise.
31033 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
31034 (casinh_test): Add more tests.
31035 * sysdeps/i386/fpu/libm-test-ulps: Update.
31036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31037
482ff4da
UD
310382012-03-07 Ulrich Drepper <drepper@gmail.com>
31039
872fda05
UD
31040 * po/zh_TW.po: Update from translation team.
31041
a4300c7a
UD
31042 * login/Makefile (distribute): Remove variable.
31043 * catgets/Makefile: Likewise.
31044 * mach/Makefile: Likewise.
31045 * malloc/Makefile: Likewise.
31046 * misc/Makefile: Likewise.
31047 * iconv/Makefile: Likewise.
31048 * nscd/Makefile: Likewise.
31049 * hurd/Makefile: Likewise.
31050 * manual/Makefile: Likewise.
31051 * locale/Makefile: Likewise.
31052 * intl/Makefile: Likewise.
31053 * conform/Makefile: Likewise.
31054 * nss/Makefile: Likewise.
31055 * time/Makefile: Likewise.
31056 * soft-fp/Makefile: Likewise.
31057 * dirent/Makefile: Likewise.
31058 * gmon/Makefile: Likewise.
31059 * po/Makefile: Likewise.
31060 * rt/Makefile: Likewise.
31061 * socket/Makefile: Likewise.
31062 * math/Makefile: Likewise.
31063 * signal/Makefile: Likewise.
31064 * debug/Makefile: Likewise.
31065 * elf/Makefile: Likewise.
31066 * timezone/Makefile: Likewise.
31067 * stdlib/Makefile: Likewise.
31068 * iconvdata/Makefile: Likewise.
31069 * sunrpc/Makefile: Likewise.
31070 * io/Makefile: Likewise.
31071 * argp/Makefile: Likewise.
31072 * inet/Makefile: Likewise.
31073 * hesiod/Makefile: Likewise.
31074 * grp/Makefile: Likewise.
31075 * csu/Makefile: Likewise.
31076 * wctype/Makefile: Likewise.
31077 * crypt/Makefile: Likewise.
31078 * libio/Makefile: Likewise.
31079 * string/Makefile: Likewise.
31080 * nis/Makefile: Likewise.
31081 * resolv/Makefile: Likewise.
31082 * stdio-common/Makefile: Likewise.
31083 * wcsmbs/Makefile: Likewise.
31084 * dlfcn/Makefile: Likewise.
31085 * posix/Makefile: Likewise.
31086
3b7c4e74 31087 [BZ #6959]
482ff4da
UD
31088 * timezone/Makefile: Don't install timezone files, just the programs
31089 and scripts.
31090
f72ed77d
UD
310912012-03-06 Ulrich Drepper <drepper@gmail.com>
31092
a000466f
UD
31093 * nss/databases.def: Add missing gshadow entry.
31094
f72ed77d
UD
31095 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
31096
a53b7a4e
MP
310972012-03-06 Marek Polacek <polacek@redhat.com>
31098
31099 [BZ #13726]
31100 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
31101 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
31102 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
31103 * stdio-common/tst-long-dbl-fphex.c: New file.
31104
e9258400
DM
311052012-03-06 David S. Miller <davem@davemloft.net>
31106
31107 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31108 (set_obp_int): New function.
31109 (get_obp_int): New function.
31110 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
31111 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
31112 Avoid unused variable warnings on 'val' and use builtin_expect.
31113 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
31114 __builtin_expect.
e9258400
DM
31115 (INLINE_CLONE_SYSCALL): Likewise.
31116
3bd2c723
DM
311172012-03-05 David S. Miller <davem@davemloft.net>
31118
31119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31120
bbb78d03
AS
311212012-03-05 Andreas Schwab <schwab@linux-m68k.org>
31122
884c5db4
AS
31123 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31124
bbb78d03
AS
31125 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
31126 only for |x| >= 40.
31127 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31128
1c9f702a 311292012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
31130
31131 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
31132 Replace gettimeofday with __vdso_gettimeofday.
31133
7be16f82
RM
31134 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31135 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
31136 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
31137
31138 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
31139 time with __vdso_time.
31140
ed58a00f
JM
311412012-03-05 Joseph Myers <joseph@codesourcery.com>
31142
31143 * manual/lang.texi (size_t): Note types to which size_t may be
31144 equivalent with the GNU C Library, but do not describe when
31145 differences between them are significant.
31146
30ee4ced
AJ
311472012-03-05 Andreas Jaeger <aj@suse.de>
31148
31149 * sysdeps/i386/fpu/libm-test-ulps: Update.
31150
b7cd39e8
JM
311512012-03-05 Joseph Myers <joseph@codesourcery.com>
31152
31153 [BZ #3976]
31154 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
31155 (__ieee754_pow): Save and restore rounding mode and use
31156 round-to-nearest for main computations.
31157 * math/libm-test.inc (pow_test_tonearest): New function.
31158 (pow_test_towardzero): Likewise.
31159 (pow_test_downward): Likewise.
31160 (pow_test_upward): Likewise.
31161 (main): Call the new functions.
31162 * sysdeps/i386/fpu/libm-test-ulps: Update.
31163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
31164
31165 [BZ #3976]
31166 * math/libm-test.inc (cosh_test_tonearest): New function.
31167 (cosh_test_towardzero): Likewise.
31168 (cosh_test_downward): Likewise.
31169 (cosh_test_upward): Likewise.
31170 (sinh_test_tonearest): Likewise.
31171 (sinh_test_towardzero): Likewise.
31172 (sinh_test_downward): Likewise.
31173 (sinh_test_upward): Likewise.
31174 (main): Call the new functions.
31175 * sysdeps/i386/fpu/libm-test-ulps: Update.
31176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31177
6c6a98c9
TV
311782012-03-05 Tom de Vries <tom@codesourcery.com>
31179
31180 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
31181 default stack guard is set in last bytes.
31182 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
31183
21bb2d2e 311842012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 31185
21bb2d2e 31186 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 31187
21bb2d2e
AJ
31188 [BZ #13656]
31189 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
31190 possibly allocate from heap instead of stack.
31191 * stdio-common/bug-vfprintf-nargs.c: New file.
31192 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 31193
c6922934
AS
311942012-03-03 Andreas Schwab <schwab@linux-m68k.org>
31195
31196 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31197
bc957d53
MP
311982012-03-03 Marek Polacek <polacek@redhat.com>
31199
31200 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
31201 * math/math_private.h: Likewise.
31202 * stdlib/tst-strtod.c: Likewise.
31203 * sysdeps/i386/i486/bits/atomic.h: Likewise.
31204 * sysdeps/x86_64/bits/atomic.h: Likewise.
31205
6358490d
DM
312062012-03-02 David S. Miller <davem@davemloft.net>
31207
31208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
31209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
31210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
31211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
31212 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
31213 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
31214 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
31215 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
31216
01ae168d
RM
312172012-03-02 Roland McGrath <roland@hack.frob.com>
31218
d9a17c07
RM
31219 [BZ #13792]
31220 * manual/examples/README: New file, says the example source files
31221 can be used under GPL>=2.
31222 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
31223 line containing just "*/".
31224 * manual/examples/add.c: Add copyright header (GPL>=2).
31225 * manual/examples/argp-ex1.c: Likewise.
31226 * manual/examples/argp-ex2.c: Likewise.
31227 * manual/examples/argp-ex3.c: Likewise.
31228 * manual/examples/argp-ex4.c: Likewise.
31229 * manual/examples/atexit.c: Likewise.
31230 * manual/examples/db.c: Likewise.
31231 * manual/examples/dir.c: Likewise.
31232 * manual/examples/dir2.c: Likewise.
31233 * manual/examples/execinfo.c: Likewise.
31234 * manual/examples/filecli.c: Likewise.
31235 * manual/examples/filesrv.c: Likewise.
31236 * manual/examples/fmtmsgexpl.c: Likewise.
31237 * manual/examples/genpass.c: Likewise.
31238 * manual/examples/inetcli.c: Likewise.
31239 * manual/examples/inetsrv.c: Likewise.
31240 * manual/examples/isockad.c: Likewise.
31241 * manual/examples/longopt.c: Likewise.
31242 * manual/examples/memopen.c: Likewise.
31243 * manual/examples/memstrm.c: Likewise.
31244 * manual/examples/mkfsock.c: Likewise.
31245 * manual/examples/mkisock.c: Likewise.
31246 * manual/examples/mygetpass.c: Likewise.
31247 * manual/examples/pipe.c: Likewise.
31248 * manual/examples/popen.c: Likewise.
31249 * manual/examples/rprintf.c: Likewise.
31250 * manual/examples/search.c: Likewise.
31251 * manual/examples/select.c: Likewise.
31252 * manual/examples/setjmp.c: Likewise.
31253 * manual/examples/sigh1.c: Likewise.
31254 * manual/examples/sigusr.c: Likewise.
31255 * manual/examples/stpcpy.c: Likewise.
31256 * manual/examples/strdupa.c: Likewise.
31257 * manual/examples/strftim.c: Likewise.
31258 * manual/examples/strncat.c: Likewise.
31259 * manual/examples/subopt.c: Likewise.
31260 * manual/examples/swapcontext.c: Likewise.
31261 * manual/examples/termios.c: Likewise.
31262 * manual/examples/testopt.c: Likewise.
31263 * manual/examples/testpass.c: Likewise.
31264 * manual/examples/timeval_subtract.c: Likewise.
31265
01ae168d
RM
31266 [BZ #13792]
31267 * manual/time.texi (Elapsed Time): Move timeval_subtract example
31268 function to ...
31269 * manual/timeval_subtract.c.texi: ... here, new file.
31270
49efa33d
DM
312712012-03-02 David S. Miller <davem@davemloft.net>
31272
31273 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
31274
28afd92d
JM
312752012-03-02 Joseph Myers <joseph@codesourcery.com>
31276
804360ed
JM
31277 [BZ #3976]
31278 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
31279 (__sin): Save and restore rounding mode and use round-to-nearest
31280 for all computations.
31281 (__cos): Save and restore rounding mode and use round-to-nearest
31282 for all computations.
31283 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
31284 <fenv.h>.
31285 (tan): Save and restore rounding mode and use round-to-nearest for
31286 all computations.
31287 * math/libm-test.inc (cos_test_tonearest): New function.
31288 (cos_test_towardzero): Likewise.
31289 (cos_test_downward): Likewise.
31290 (cos_test_upward): Likewise.
31291 (sin_test_tonearest): Likewise.
31292 (sin_test_towardzero): Likewise.
31293 (sin_test_downward): Likewise.
31294 (sin_test_upward): Likewise.
31295 (tan_test_tonearest): Likewise.
31296 (tan_test_towardzero): Likewise.
31297 (tan_test_downward): Likewise.
31298 (tan_test_upward): Likewise.
31299 (main): Call the new functions.
31300 * sysdeps/i386/fpu/libm-test-ulps: Update.
31301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31302
a6d06d7b
JM
31303 [BZ #10135]
31304 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
31305 small n, then large n, before computing and testing k+n.
31306 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
31307 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
31308 Likewise.
31309 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
31310 Likewise.
31311 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
31312 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
31313 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
31314 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
31315 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
31316 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
31317 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
31318 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
31319 * math/libm-test.inc (scalbn_test): Add more tests.
31320 (scalbln_test): Likewise.
31321
07e12bb3
JM
31322 * manual/filesys.texi (mode_t): Describe constraints on size and
31323 signedness, not exact equivalence to a particular type.
31324 (ino_t): Likewise.
31325 (ino64_t): Likewise.
31326 (dev_t): Likewise.
31327 (nlink_t): Likewise.
31328 (blkcnt_t): Likewise.
31329 (blkcnt64_t): Likewise.
31330 * manual/llio.texi (off_t): Likewise.
31331
28afd92d
JM
31332 [BZ #3976]
31333 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
31334 (__ieee754_exp): Save and restore rounding mode and use
31335 round-to-nearest for all computations.
31336 * math/libm-test.inc (exp_test_tonearest): New function.
31337 (exp_test_towardzero): Likewise.
31338 (exp_test_downward): Likewise.
31339 (exp_test_upward): Likewise.
31340 (main): Call the new functions.
31341 * sysdeps/i386/fpu/libm-test-ulps: Update.
31342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31343
b1eeb65d
CD
313442012-03-01 Chris Demetriou <cgd@google.com>
31345
31346 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
31347 have predictable order.
31348
53362a4b
DM
313492012-03-01 David S. Miller <davem@davemloft.net>
31350
3c969083
DM
31351 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
31352
759707de
DM
31353 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
31354 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
31355 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
31356 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
31357
dfdb8ff2
DM
31358 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
31359 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
31360 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
31361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
31362 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
31363 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
31364 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
31365 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
31366 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
31367
ead89f96
DM
31368 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31369
7f66bd07
DM
31370 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
31371 * sysdeps/sparc/fpu/libm-test-ulps: to here.
31372 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
31373
53362a4b
DM
31374 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
31375 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31376 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31377 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
31378 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
31379 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
31380 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
31381 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31382 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31383 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
31384 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
31385 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31386 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31387 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31388 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31389 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31390 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
31391 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
31392 * sysdeps/sparc/elf/configure: Regenerated.
31393
7b1902cb
JM
313942012-03-01 Joseph Myers <joseph@codesourcery.com>
31395
bec039bc
JM
31396 * configure.in (AS, LD): Require binutils 2.20 or later.
31397 * configure: Regenerated.
31398 * manual/install.texi (Tools for Compilation): Give binutils 2.20
31399 as required minimum version.
31400 * INSTALL: Regenerated.
31401
7b1902cb
JM
31402 [BZ #2541]
31403 [BZ #4108]
31404 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
31405 before squaring exponent.
31406 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
31407 bottom long double and 27 bits of top long double before squaring
31408 exponent.
31409 * math/libm-test.inc (erfc_test): Add more tests.
31410 * sysdeps/i386/fpu/libm-test-ulps: Update.
31411 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31413
f775c276
KT
314142012-03-01 Kai Tietz <ktietz@redhat.com>
31415
31416 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
31417 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
31418 containing bit-fields.
31419 * soft-fp/extended.h (_FP_UNION_E): Likewise.
31420 * soft-fp/single.h (_FP_UNION_S): Likewise.
31421 * soft-fp/double.h (_FP_UNION_D): Likewise.
31422
5b8a4d4a
JM
314232012-02-29 Joseph Myers <joseph@codesourcery.com>
31424
0bab47b6
JM
31425 [BZ #13786]
31426 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
31427 not include ../strcmp.S.
31428 [USE_AS_STRNCASECMP_L]: Likewise.
31429 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
31430 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
31431 * sysdeps/i386/i686/multiarch/strncase_l-c.c
31432 (__strncasecmp_l_ia32): Define as alias to
31433 __strncasecmp_l_nonascii.
31434
0fcad3e2
JM
31435 [BZ #5794]
31436 * math/libm-test.inc (expm1_test): Add test for bug 5794.
31437 * sysdeps/i386/fpu/libm-test-ulps: Update.
31438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31439
5b8a4d4a
JM
31440 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
31441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31442
8fdceb2e
JL
314432012-02-29 Jeff Law <law@redhat.com>
31444
31445 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
31446 out of bounds read.
31447
1f393a11
MP
314482012-02-29 Marek Polacek <polacek@redhat.com>
31449
31450 [BZ #13706]
31451 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
31452 * elf/Makefile: Add rules to run tst-unused-dep.out.
31453
8847f037
DM
314542012-02-28 David S. Miller <davem@davemloft.net>
31455
31456 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
31457 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
31458 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
31459 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
31460 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
31461 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
31462
169d7f11
JM
314632012-02-29 Joseph Myers <joseph@codesourcery.com>
31464
31465 * math/libm-test.inc (llround_test): Move one test from
31466 lround_test. Use TEST_f_L in moved test.
31467 (lround_test): Move misplaced test to llround_test. Add testcase
31468 from bug 2561.
31469
39adf059
UD
314702012-02-28 Ulrich Drepper <drepper@gmail.com>
31471
31472 * sysdeps/x86_64/fpu/e_expf.S: New file.
31473 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
31474
71b5d1c5
SB
314752012-02-28 Stanislav Brabec <sbrabec@suse.cz>
31476
31477 [BZ #13637]
31478 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
31479 of remain_len that may cause incomplete multi-byte character and
31480 false match.
31481 * posix/bug-regex33.c: New file.
31482 * posix/Makefile (tests): Add bug-regex33.
31483
1f77f049
JM
314842012-02-28 Joseph Myers <joseph@codesourcery.com>
31485
31486 * manual/macros.texi: New file.
31487 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
31488 * manual/libc.texinfo: Include macros.texi.
31489 * manual/creatute.texi: Likewise.
31490 * manual/install.texi: Likewise.
31491 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
31492 @glibcadj{} in references to the GNU C Library.
31493 * manual/charset.texi: Likewise.
31494 * manual/conf.texi: Likewise.
31495 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
31496 when not using those macros.
31497 * manual/creature.texi: Likewise.
31498 * manual/crypt.texi: Likewise.
31499 * manual/errno.texi: Likewise.
31500 * manual/filesys.texi: Likewise.
31501 * manual/header.texi: Likewise.
31502 * manual/install.texi: Likewise.
31503 * manual/intro.texi: Likewise.
31504 * manual/io.texi: Likewise.
31505 * manual/job.texi: Likewise.
31506 * manual/lang.texi: Likewise.
31507 * manual/libc.texiinfo: Likewise.
31508 * manual/llio.texi: Likewise.
31509 * manual/locale.texi: Likewise.
31510 * manual/maint.texi: Likewise.
31511 * manual/math.texi: Likewise.
31512 * manual/memory.texi: Likewise.
31513 * manual/message.texi: Likewise.
31514 * manual/nss.texi: Likewise.
31515 * manual/pattern.texi: Likewise.
31516 * manual/process.texi: Likewise.
31517 * manual/resource.texi: Likewise.
31518 * manual/search.texi: Likewise.
31519 * manual/setjmp.texi: Likewise.
31520 * manual/signal.texi: Likewise.
31521 * manual/socket.texi: Likewise.
31522 * manual/startup.texi: Likewise.
31523 * manual/stdio.texi: Likewise.
31524 * manual/string.texi: Likewise.
31525 * manual/sysinfo.texi: Likewise.
31526 * manual/syslog.texi: Likewise.
31527 * manual/terminal.texi: Likewise.
31528 * manual/time.texi: Likewise.
31529 * manual/users.texi: Likewise.
31530 * INSTALL: Regenerated.
31531 * NOTES: Regenerated.
d40c5d54 31532 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 31533
450bf206
AS
315342012-02-28 Andreas Schwab <schwab@linux-m68k.org>
31535
31536 * include/dirent.h: Include <dirstream.h> before
31537 <dirent/dirent.h>.
31538
741a235b
DM
315392012-02-28 David S. Miller <davem@davemloft.net>
31540
31541 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
31542 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
31543 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
31544 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
31545
d6b5aa58
DM
315462012-02-27 David S. Miller <davem@davemloft.net>
31547
1aff59a3
DM
31548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
31549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
31550 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
31551 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
31552
d6b5aa58
DM
31553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
31554 frame pointer instead of stack pointer relative arg slot.
31555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31556 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31557 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31558
433f48bf
CD
315592012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
31560
31561 [BZ #3992]
31562 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
31563
d674b76d
DM
315642012-02-27 David S. Miller <davem@davemloft.net>
31565
31566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
31567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
31570 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31571 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31572 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
31573 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
31574
0e7727f7
JM
315752012-02-27 Joseph Myers <joseph@codesourcery.com>
31576
31577 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
31578 later. Allow versions 5-9.
43be4ca2 31579 * configure: Regenerated.
0e7727f7
JM
31580 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
31581 required minimum version and 4.6 as recommended version. Do not
31582 mention bugs in GCC 2.7 and 2.8.
43be4ca2 31583 * INSTALL: Regenerated.
0e7727f7 31584
a78bc654
DM
315852012-02-27 David S. Miller <davem@davemloft.net>
31586
428d5830
DM
31587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
31588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
31589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
31590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
31591 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
31592 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
31593 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
31594 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
31595
a78bc654
DM
31596 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
31597 manipulate bits before adding and subtracting TWO112[sx].
31598 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31599
4579f81c
RM
316002012-02-27 Roland McGrath <roland@hack.frob.com>
31601
36c8acb4
RM
31602 [BZ #13775]
31603 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
31604 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
31605 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
31606 being in POSIX, because they are in 1003.1-2008.
31607
84ad622b
RM
31608 * rt/tst-aio.c: Include <fcntl.h>.
31609 * rt/tst-aio7.c: Likewise.
31610 * rt/tst-aio64.c: Likewise.
31611
4579f81c
RM
31612 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
31613
abd923db
JM
316142012-02-27 Joseph Myers <joseph@codesourcery.com>
31615
31616 * manual/install.texi (--with-headers): Describe headers as
31617 interface headers, not private headers.
31618 (Specific advice for GNU/Linux systems): Describe use of headers
31619 from "make headers_install", not private headers from older
31620 kernels.
43be4ca2 31621 * INSTALL: Regenerated.
abd923db
JM
31622 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
31623 Change to 2.6.19.
31624 * sysdeps/unix/sysv/linux/configure: Regenerated.
31625
6664049b
JM
31626 * manual/llio.texi (fclean): Remove documentation.
31627
bb8b6697
JM
31628 * manual/Makefile (libc-texi-generated): New variable. Include
31629 version.texi.
31630 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
31631 $(libc-texi-generated), not duplicated list of files.
31632 (version.texi, stamp-version): New rules.
31633 (realclean): Remove $(libc-texi-generated), not individual files
31634 from that list. Do not remove dir-add.texinfo.
31635 * manual/libc.texinfo: Comment out uses of edition numbers and
31636 references to printed manual. Remove last-updated dates.
31637 (EDITION): Comment out.
31638 (ISBN): Likewise.
31639 (VERSION, UPDATED): Remove.
31640 (version.texi): Include.
31641
12e5c3b9
AS
316422012-02-27 Andreas Schwab <schwab@linux-m68k.org>
31643
31644 * sysdeps/posix/spawni.c: Include <signal.h>.
31645 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
31646 * sysdeps/pthread/aio_fsync.c: Likewise.
31647
4efeffc1 316482012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 31649
ba63ba08
UD
31650 * conform/Makefile (tests): Run only when not cross-compiling and
31651 when fast-check is not defined.
31652
d94a4670
UD
31653 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
31654 * conform/data/limits.h-data: Fixes for POSIX2008.
31655 * conform/run-conformtest.sh: Run all tests.
31656 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
31657 headers.
31658 * include/bits/dlfcn.h: Likewise.
31659 * include/langinfo.h: Likewise.
31660 * include/monetary.h: Likewise.
31661 * include/sys/poll.h: Likewise.
31662
31663 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
31664 for __USE_GNU.
31665 * posix/spawn.h: Define __need_sigset_t.
31666 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
31667 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
31668 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
31669 to get sigevent_t only.
31670 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
31671 only for __USE_GNU.
31672 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31673 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31674 process_vm_writev only for __USE_GNU.
31675 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
31676
31677 * conform/Makefile: For now ignore errors from run-conformtest.
31678 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
31679 POSIX to avoid namespace pollution. Don't prepend headers.
31680 * conform/data/aio.h-data: Fixes for POSIX testing.
31681 * conform/data/fcntl.h-data: Likewise.
31682 * conform/data/glob.h-data: Likewise.
31683 * conform/data/grp.h-data: Likewise.
31684 * conform/data/pthread.h-data: Likewise.
31685 * conform/data/pwd.h-data: Likewise.
31686 * conform/data/signal.h-data: Likewise.
31687 * conform/data/spawn.h-data: Likewise.
31688 * conform/data/stdio.h-data: Likewise.
31689 * conform/data/stdlib.h-data: Likewise.
31690 * conform/data/stropts.h-data: Likewise.
31691 * conform/data/sys/mman.h-data: Likewise.
31692 * conform/data/sys/stat.h-data: Likewise.
31693 * conform/data/sys/types.h-data: Likewise.
31694 * conform/data/sys/wait.h-data: Likewise.
31695 * conform/data/time.h-data: Likewise.
31696 * conform/data/unistd.h-data: Likewise.
31697 * conform/data/utime.h-data: Likewise.
31698
31699 * io/sys/stat.h: fchmod was always in POSIX.
31700 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
31701 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
31702 * rt/aio.h: Define __need_timespec before including <time.h>.
31703 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
31704 struct. Add forward declaration of pthread_attr_t and use it in
31705 sigevent.
31706 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31707 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31708 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
31709 always remove CLK_TCK definition.
31710
c20105c3
AS
317112012-02-26 Andreas Schwab <schwab@linux-m68k.org>
31712
31713 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
31714
7a270350
UD
317152012-02-25 Ulrich Drepper <drepper@gmail.com>
31716
31341567
UD
31717 * conform/run-conformtest.sh: New file.
31718 * conform/Makefile: Run run-conformtest for tests.
31719 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
31720 support.
31721
31722 * conform/data/uchar.h-data: New file.
31723 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
31724 * conform/data/arpa/inet.h-data: Likewise.
31725 * conform/data/assert.h-data: Likewise.
31726 * conform/data/complex.h-data: Likewise.
31727 * conform/data/cpio.h-data: Likewise.
31728 * conform/data/ctype.h-data: Likewise.
31729 * conform/data/dirent.h-data: Likewise.
31730 * conform/data/dlfcn.h-data: Likewise.
31731 * conform/data/errno.h-data: Likewise.
31732 * conform/data/fcntl.h-data: Likewise.
31733 * conform/data/float.h-data: Likewise.
31734 * conform/data/fmtmsg.h-data: Likewise.
31735 * conform/data/fnmatch.h-data: Likewise.
31736 * conform/data/ftw.h-data: Likewise.
31737 * conform/data/glob.h-data: Likewise.
31738 * conform/data/grp.h-data: Likewise.
31739 * conform/data/iconv.h-data: Likewise.
31740 * conform/data/inttypes.h-data: Likewise.
31741 * conform/data/langinfo.h-data: Likewise.
31742 * conform/data/libgen.h-data: Likewise.
31743 * conform/data/limits.h-data: Likewise.
31744 * conform/data/locale.h-data: Likewise.
31745 * conform/data/math.h-data: Likewise.
31746 * conform/data/monetary.h-data: Likewise.
31747 * conform/data/mqueue.h-data: Likewise.
31748 * conform/data/ndbm.h-data: Likewise.
31749 * conform/data/net/if.h-data: Likewise.
31750 * conform/data/netdb.h-data: Likewise.
31751 * conform/data/netinet/in.h-data: Likewise.
31752 * conform/data/nl_types.h-data: Likewise.
31753 * conform/data/poll.h-data: Likewise.
31754 * conform/data/pthread.h-data: Likewise.
31755 * conform/data/pwd.h-data: Likewise.
31756 * conform/data/regex.h-data: Likewise.
31757 * conform/data/sched.h-data: Likewise.
31758 * conform/data/search.h-data: Likewise.
31759 * conform/data/semaphore.h-data: Likewise.
31760 * conform/data/setjmp.h-data: Likewise.
31761 * conform/data/signal.h-data: Likewise.
31762 * conform/data/spawn.h-data: Likewise.
31763 * conform/data/stdarg.h-data: Likewise.
31764 * conform/data/stdio.h-data: Likewise.
31765 * conform/data/stdlib.h-data: Likewise.
31766 * conform/data/string.h-data: Likewise.
31767 * conform/data/strings.h-data: Likewise.
31768 * conform/data/stropts.h-data: Likewise.
31769 * conform/data/sys/ipc.h-data: Likewise.
31770 * conform/data/sys/mman.h-data: Likewise.
31771 * conform/data/sys/msg.h-data: Likewise.
31772 * conform/data/sys/resource.h-data: Likewise.
31773 * conform/data/sys/select.h-data: Likewise.
31774 * conform/data/sys/sem.h-data: Likewise.
31775 * conform/data/sys/shm.h-data: Likewise.
31776 * conform/data/sys/socket.h-data: Likewise.
31777 * conform/data/sys/stat.h-data: Likewise.
31778 * conform/data/sys/statvfs.h-data: Likewise.
31779 * conform/data/sys/time.h-data: Likewise.
31780 * conform/data/sys/timeb.h-data: Likewise.
31781 * conform/data/sys/times.h-data: Likewise.
31782 * conform/data/sys/types.h-data: Likewise.
31783 * conform/data/sys/uio.h-data: Likewise.
31784 * conform/data/sys/un.h-data: Likewise.
31785 * conform/data/sys/utsname.h-data: Likewise.
31786 * conform/data/sys/wait.h-data: Likewise.
31787 * conform/data/syslog.h-data: Likewise.
31788 * conform/data/tar.h-data: Likewise.
31789 * conform/data/termios.h-data: Likewise.
31790 * conform/data/utime.h-data: Likewise.
31791 * conform/data/utmpx.h-data: Likewise.
31792 * conform/data/varargs.h-data: Likewise.
31793 * conform/data/wchar.h-data: Likewise.
31794 * conform/data/wctype.h-data: Likewise.
31795 * conform/data/wordexp.h-data: Likewise.
31796
31797 * include/stropts.h: New file.
31798 * include/uchar.h: New file.
31799 * include/aio.h: Changes to allow conformtest.pl to use the headers.
31800 * include/assert.h: Likewise.
31801 * include/ctype.h: Likewise.
31802 * include/dirent.h: Likewise.
31803 * include/dlfcn.h: Likewise.
31804 * include/fcntl.h: Likewise.
31805 * include/fnmatch.h: Likewise.
31806 * include/glob.h: Likewise.
31807 * include/grp.h: Likewise.
31808 * include/libio.h: Likewise.
31809 * include/locale.h: Likewise.
31810 * include/math.h: Likewise.
31811 * include/net/if.h: Likewise.
31812 * include/netdb.h: Likewise.
31813 * include/netinet/in.h: Likewise.
31814 * include/pthread.h: Likewise.
31815 * include/pwd.h: Likewise.
31816 * include/regex.h: Likewise.
31817 * include/sched.h: Likewise.
31818 * include/search.h: Likewise.
31819 * include/setjmp.h: Likewise.
31820 * include/signal.h: Likewise.
31821 * include/stdio.h: Likewise.
31822 * include/stdlib.h: Likewise.
31823 * include/string.h: Likewise.
31824 * include/sys/cdefs.h: Likewise.
31825 * include/sys/mman.h: Likewise.
31826 * include/sys/msg.h: Likewise.
31827 * include/sys/resource.h: Likewise.
31828 * include/sys/select.h: Likewise.
31829 * include/sys/socket.h: Likewise.
31830 * include/sys/stat.h: Likewise.
31831 * include/sys/statvfs.h: Likewise.
31832 * include/sys/time.h: Likewise.
31833 * include/sys/times.h: Likewise.
31834 * include/sys/uio.h: Likewise.
31835 * include/sys/utsname.h: Likewise.
31836 * include/sys/wait.h: Likewise.
31837 * include/termios.h: Likewise.
31838 * include/time.h: Likewise.
31839 * include/ulimit.h: Likewise.
31840 * include/unistd.h: Likewise.
31841 * include/utime.h: Likewise.
31842 * include/wchar.h: Likewise.
31843 * include/wctype.h: Likewise.
31844 * include/wordexp.h: Likewise.
31845
31846 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
31847
7a270350
UD
31848 * time/time.h: TIME_UTC must be a macro.
31849 Make timespec_get available for ISO C11 only as well.
31850
7724defc
UD
318512012-02-24 Ulrich Drepper <drepper@gmail.com>
31852
31853 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
31854 Reported by Peng Haitao <penght@cn.fujitsu.com>.
31855
6b1d1d46
JM
318562012-02-24 Joseph Myers <joseph@codesourcery.com>
31857
31858 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 31859
0f8bbd69
JM
318602012-02-24 Joseph Myers <joseph@codesourcery.com>
31861
31862 * manual/texinfo.tex: Update to version 2012-01-19.16.
31863
66ab80bc
JM
318642012-02-24 Joseph Myers <joseph@codesourcery.com>
31865
31866 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
31867
74981cc5
RM
318682012-02-24 Roland McGrath <roland@hack.frob.com>
31869
ee968201
RM
31870 [BZ #13738]
31871 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
31872 * manual/fdl-1.3.texi: New file.
31873 * manual/fdl-1.1.texi: File removed.
31874
74981cc5
RM
31875 [BZ #13738]
31876 * manual/libc.texinfo (FDL_VERSION): New @set.
31877 Use it for mention of FDL in cover text.
31878 (Documentation License): Use it in @include file name.
31879
7bb764bc
JM
318802012-02-22 Joseph Myers <joseph@codesourcery.com>
31881 Roland McGrath <roland@hack.frob.com>
31882
31883 [BZ #5461]
31884 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
31885 not LONG_LONG_MAX and LONG_LONG_MIN.
31886 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
31887 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
31888 name.
31889 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
31890
6cbeae47
JM
318912012-02-22 Joseph Myers <joseph@codesourcery.com>
31892
31893 [BZ #2547]
31894 [BZ #11365]
31895 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
31896 manipulate bits before adding and subtracting TWO23[sx].
31897 * math/libm-test.inc (nearbyint_test): Add more tests.
31898
fe45ce09
JM
318992012-02-22 Joseph Myers <joseph@codesourcery.com>
31900
31901 [BZ #2548]
31902 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
31903 bits before adding and subtracting TWO23[sx].
31904 * math/libm-test.inc (rint_test): Add more tests.
31905 (rint_test_tonearest): Likewise.
31906 (rint_test_towardzero): Likewise.
31907 (rint_test_downward): Likewise.
31908 (rint_test_upward: Likewise.
31909
ff3b3d82
JM
319102012-02-22 Joseph Myers <joseph@codesourcery.com>
31911
31912 [BZ #10110]
31913 * include/stdc-predef.h: New file. Extracted from features.h.
31914 * include/features.h: Include stdc-predef.h.
31915 * Makefile (headers): Add stdc-predef.h.
31916 * CONFORMANCE (Compiler limitations): Update.
31917
ef0aab35
JM
319182012-02-22 Joseph Myers <joseph@codesourcery.com>
31919
31920 * manual/libc.texinfo (VERSION, UPDATED): Revert.
31921
58639409
DM
319222012-02-21 David S. Miller <davem@davemloft.net>
31923
31924 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
31925 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31926
c0e70b25
DM
319272012-02-20 David S. Miller <davem@davemloft.net>
31928
31929 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
31930 using a normal save/restore sequence, rather than allocating a
31931 dummy stack frame just to store a frame pointer and restore.
31932 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31933
fb06851d
JM
319342012-02-21 Joseph Myers <joseph@codesourcery.com>
31935
31936 * manual/install.texi: Fix stray word in line-wrapped comment.
31937
7a8b71c3
DM
319382012-02-20 David S. Miller <davem@davemloft.net>
31939
d510c123
DM
31940 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
31941 both binutils and gcc support GOTDATA.
31942
0722d7c2
DM
31943 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
31944 "rd %pc" in the PIC register setup sequences.
31945
3d2b3019
DM
31946 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
31947 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31948 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31949 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31950 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31951 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31952 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31953 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31954 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
31955 (SYSCALL_ERROR_HANDLER): Likewise.
31956 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31957 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31958 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
31959 (SYSCALL_ERROR_HANDLER): Likewise.
31960
c80098a9
DM
31961 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
31962 (HAVE_GCC_GOTDATA): New.
31963 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
31964 relocation support in both binutils and gcc.
31965 * sysdeps/sparc/elf/configure: Regenerate.
31966
3a2545a0
DM
31967 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
31968 * sysdeps/sparc/sparc32/elf/configure: Delete.
31969 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
31970 * sysdeps/sparc/sparc64/elf/configure: Delete.
31971 * sysdeps/sparc/elf/configure.in: New file.
31972 * sysdeps/sparc/elf/configure: Generate.
31973
7a8b71c3
DM
31974 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
31975 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
31976 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31977 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
31978 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
31979
f1e86fca
JM
319802012-02-21 Joseph Myers <joseph@codesourcery.com>
31981
31982 * manual/install.texi: Do not mention specific glibc version
31983 numbers.
31984 * manual/libc.texinfo (VERSION, UPDATED): Update.
31985 (@copying): Use @copyright{} and range of years.
31986
0e7dfaef
JM
319872012-02-21 Joseph Myers <joseph@codesourcery.com>
31988
31989 [BZ #13695]
31990 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
31991 [crti.S not in sysdirs] (generated): Do not append.
31992 [crti.S not in sysdirs] (omit-deps): Likewise.
31993 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
31994 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
31995 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
31996 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
31997 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
31998 Likewise.
31999 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
32000 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
32001 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
32002 * csu/defs.awk: Remove file.
32003 * sysdeps/generic/initfini.c: Likewise.
32004 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
32005 variable.
32006 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
32007 Likewise.
32008
599af3ca
JM
320092012-02-20 Joseph Myers <joseph@codesourcery.com>
32010
32011 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
32012 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
32013 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
32014 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
32015 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32016 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
32017 <bits/epoll.h>.
32018 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
32019 (__EPOLL_PACKED): Define to empty if not defined by
32020 <bits/epoll.h>.
32021 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
32022 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32023 bits/epoll.h.
32024
0e499750
JM
320252012-02-20 Joseph Myers <joseph@codesourcery.com>
32026
32027 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
32028 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
32029 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
32030 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
32031 <bits/timerfd.h>.
32032 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
32033 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32034 bits/timerfd.h.
32035
5ad91f6e
JM
320362012-02-20 Joseph Myers <joseph@codesourcery.com>
32037
32038 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
32039 in C locale.
32040 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32041 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32042 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
32043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32044
06b99b02
AJ
320452012-02-20 Aurelien Jarno <aurelien@aurel32.net>
32046
32047 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32048 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
32049
7638c0fd
AS
320502012-02-19 Andreas Schwab <schwab@linux-m68k.org>
32051
32052 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
32053 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
32054 defined.
32055 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
32056 Likewise.
32057 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
32058 entry for 2.16.
32059
92221550
AJ
320602012-02-19 Aurelien Jarno <aurelien@aurel32.net>
32061
32062 * math/w_acos.c: Use non-signaling floating-point comparisons.
32063 * math/w_acosf.c: Likewise.
32064 * math/w_acosh.c: Likewise.
32065 * math/w_acoshf.c: Likewise.
32066 * math/w_acoshl.c: Likewise.
32067 * math/w_acosl.c: Likewise.
32068 * math/w_asin.c: Likewise.
32069 * math/w_asinf.c: Likewise.
32070 * math/w_asinl.c: Likewise.
32071 * math/w_atanh.c: Likewise.
32072 * math/w_atanhf.c: Likewise.
32073 * math/w_atanhl.c: Likewise.
32074 * math/w_exp2.c: Likewise.
32075 * math/w_exp2f.c: Likewise.
32076 * math/w_exp2l.c: Likewise.
32077 * math/w_j0.c: Likewise.
32078 * math/w_j0f.c: Likewise.
32079 * math/w_j0l.c: Likewise.
32080 * math/w_j1.c: Likewise.
32081 * math/w_j1f.c: Likewise.
32082 * math/w_j1l.c: Likewise.
32083 * math/w_jn.c: Likewise.
32084 * math/w_jnf.c: Likewise.
32085 * math/w_log.c: Likewise.
32086 * math/w_log10.c: Likewise.
32087 * math/w_log10f.c: Likewise.
32088 * math/w_log10l.c: Likewise.
32089 * math/w_log2.c: Likewise.
32090 * math/w_log2f.c: Likewise.
32091 * math/w_log2l.c: Likewise.
32092 * math/w_logf.c: Likewise.
32093 * math/w_logl.c: Likewise.
32094 * math/w_sqrt.c: Likewise.
32095 * math/w_sqrtf.c: Likewise.
32096 * math/w_sqrtl.c: Likewise.
32097 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32098 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
32099 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32100 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32101 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32102
ebaf36eb
JM
321032012-02-19 Joseph Myers <joseph@codesourcery.com>
32104
32105 [BZ #9739]
32106 * manual/string.texi (strnlen): Use correct parameter name in
32107 equivalent expression.
32108
71c254a6
JM
321092012-02-19 Joseph Myers <joseph@codesourcery.com>
32110
32111 [BZ #11174]
32112 * manual/users.texi (seteuid): Consistently use neweuid for
32113 argument name.
32114
16d2c631
JM
321152012-02-19 Joseph Myers <joseph@codesourcery.com>
32116
32117 [BZ #13704]
32118 * manual/nss.texi (Services in the NSS configuration): Correct
32119 list of services in example configuration file.
32120
cd837b09
NB
321212012-02-19 Nick Bowler <nbowler@draconx.ca>
32122
32123 [BZ #11322]
32124 * manual/arith.texi: Remove statements about negative zero
32125 behaving identically to zero.
32126
02c4bbad
JM
321272012-02-18 Joseph Myers <joseph@codesourcery.com>
32128
32129 [BZ #5993]
32130 * manual/install.texi: Do not document upgrading from libc5.
32131
366842e7
JM
321322012-02-18 Joseph Myers <joseph@codesourcery.com>
32133
32134 [BZ #4596]
32135 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
32136
dd54084d
DM
321372012-02-18 David S. Miller <davem@davemloft.net>
32138
32139 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
32140 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
32141 %o7 across the call.
32142 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
32143 instead.
32144 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
32145 SETUP_PIC_REG_LEAF.
32146 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32147 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
32148 * sysdeps/sparc/crtn.S: Likewise.
32149
2bcc53a3
UD
321502012-02-17 Ulrich Drepper <drepper@gmail.com>
32151
32152 * aout/Makefile: Remove.
32153
09c093b5
RK
321542012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
32155
32156 [BZ #13058]
32157 * manual/examples/argp-ex1.c (main): Format definition in GNU
32158 style.
32159 * manual/examples/argp-ex2.c (main): Likewise.
32160 * manual/examples/argp-ex3.c (main): Likewise.
32161 * manual/examples/argp-ex4.c (main): Likewise.
32162 * manual/examples/longopt.c (main): Use new-style prototype
32163 definition.
32164 * manual/examples/strncat.c (main): Specify return type and use
32165 (void) for arguments.
32166 * manual/examples/subopt.c (main): Use char **argv argument.
32167
2ee633a2
JM
321682012-02-17 Joseph Myers <joseph@codesourcery.com>
32169
32170 [BZ #5077]
32171 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
32172 rounding modes.
32173
0520adde
FB
321742012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
32175
32176 [BZ #6907]
32177 * manual/string.texi (strchr): Change when strchrnul is
32178 recommended.
32179
3f4081cd
DGM
321802012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
32181
32182 [BZ #174]
32183 * manual/locale.texi (setlocale): Document LOCPATH.
32184
d1b10e78
JM
321852012-02-17 Joseph Myers <joseph@codesourcery.com>
32186
32187 [BZ #10210]
32188 * manual/process.texi (execle): Move @dots{} before last argument.
32189
79c6869c
PB
321902012-02-17 Paul Bolle <pebolle@tiscali.nl>
32191
32192 [BZ #12047]
32193 * manual/charset.texi (Generic Charset Conversion): Fix typo
32194 (LC_TYPE -> LC_CTYPE).
32195
cc6e48bc
NB
321962012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
32197
32198 [BZ #5805]
32199 * manual/arith.texi (scalbn): Use @var{} on parameter names.
32200 (scalbnf): Likewise.
32201 (scalbnl): Likewise.
32202 (scalbln): Likewise.
32203 (scalblnf): Likewise.
32204 (scalblnl): Likewise.
32205 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
32206 (vwarnx): Likewise.
32207 (verr): Likewise.
32208 (verrx): Likewise.
32209 * manual/filesys.texi (telldir): Use braces around return type.
32210 * manual/llio.texi (mmap): Add space after comma.
32211 (mmap64): Likewise.
32212 * manual/math.texi (jn): Use @var{} on parameter names.
32213 (jnf): Likewise.
32214 (jnl): Likewise.
32215 (yn): Likewise.
32216 (ynf): Likewise.
32217 (ynl): Likewise.
32218 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
32219 line.
32220 * manual/resource.texi (ulimit): Use @dots{} instead of literal
32221 "...".
32222 (sched_get_priority_min): Remove semicolon on @deftypefun line.
32223 (sched_get_priority_max): Likewise.
32224 * manual/signal.texi (sigvec): Add space after comma.
32225 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
32226 names.
32227 (if_indextoname): Likewise.
32228 (if_freenameindex): Likewise.
32229 (sendto): Use ',' instead of '.' in prototype.
32230 * manual/startup.texi (syscall): Use @dots{} instead of literal
32231 "...".
32232 * manual/stdio.texi (__fpending): Separate initial words of
32233 paragraph from @deftypefun line.
32234 * manual/syslog.texi (syslog): Use @dots{} instead of literal
32235 "...".
32236 (vsyslog): Use @var{} on parameter names.
32237 * manual/terminal.texi (stty): Use @var{} on parameter names.
32238 * manual/users.texi (getutmp): Use @var{} on parameter names.
32239 (getutmpx): Likewise.
32240
5b23062f
JM
322412012-02-17 Joseph Myers <joseph@codesourcery.com>
32242
32243 [BZ #6884]
32244 * manual/stdio.texi (fopen): Fix typos in description of
32245 ",ccs=STRING".
32246
8dee4833
AJ
322472012-02-17 Aurelien Jarno <aurelien@aurel32.net>
32248
32249 [BZ #4026]
32250 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
32251 get clock_id definition.
32252
9078ce93
TS
322532012-02-17 Thomas Schwinge <thomas@schwinge.name>
32254
32255 [BZ #4822]
32256 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
32257 (madvise): Cast every argument to void on its own.
32258
3835c55f
JM
322592012-02-17 Joseph Myers <joseph@codesourcery.com>
32260
32261 [BZ #9902]
32262 * manual/startup.texi (Exit Status): Fix typo.
32263
35c47e37
JM
322642012-02-17 Joseph Myers <joseph@codesourcery.com>
32265
32266 [BZ #10140]
32267 * manual/examples/argp-ex1.c: Include <stdlib.h>.
32268 * manual/examples/argp-ex2.c: Likewise.
32269 * manual/examples/argp-ex3.c: Likewise.
32270
e3b69ca7
RH
322712012-02-16 Richard Henderson <rth@redhat.com>
32272
32273 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
32274 * sysdeps/s390/s390-32/initfini.c: Remove.
32275 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
32276 * sysdeps/s390/s390-64/initfini.c: Remove.
32277
df83af67
KK
322782012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32279
32280 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
32281 compiler output for sysdeps/generic/initfini.c.
32282 * sysdeps/sh/elf/initfini.c: Remove file.
32283
f63f3380
DM
322842012-02-16 David S. Miller <davem@davemloft.net>
32285
fb59b3a4
DM
32286 [BZ #11494]
32287 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
32288
f63f3380
DM
32289 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
32290 * sysdeps/sparc/crti.S: New file.
32291 * sysdeps/sparc/crtn.S: New file.
32292 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
32293 * sysdeps/sparc/sparc64/Makefile: Likewise.
32294
df6a4a4a
MF
322952012-02-15 Mike Frysinger <vapier@gentoo.org>
32296
6dd8f3dc 32297 [BZ #3335]
df6a4a4a
MF
32298 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
32299
1cac7236
RM
323002012-02-15 Roland McGrath <roland@hack.frob.com>
32301
d2c736f8
RM
32302 [BZ #4822]
32303 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
32304
1cac7236
RM
32305 * mach/devstream.c (cookie_io_functions_t): Macro removed.
32306 (write, read, close): Likewise.
32307 Patch by Aurelien Jarno <aurelien@aurel32.net>.
32308
8e475601
JM
323092012-02-15 Joseph Myers <joseph@codesourcery.com>
32310
32311 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
32312 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
32313 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
32314 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
32315 <bits/signalfd.h>.
32316 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
32317 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32318 bits/signalfd.h.
32319
ed656b40
MP
323202012-02-14 Marek Polacek <polacek@redhat.com>
32321
32322 * sysdeps/x86_64/crti.S: New file.
32323 * sysdeps/x86_64/crtn.S: New file.
32324 * sysdeps/x86_64/elf/initfini.c: Remove file.
32325
2a979d3a
JM
323262012-02-13 Joseph Myers <joseph@codesourcery.com>
32327
32328 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
32329 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
32330 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
32331 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
32332 <bits/inotify.h>.
32333 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
32334 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32335 bits/inotify.h.
32336
2a418ac3
JM
323372012-02-13 Joseph Myers <joseph@codesourcery.com>
32338
32339 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
32340 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
32341 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
32342 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
32343 <bits/eventfd.h>.
32344 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
32345 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32346 bits/eventfd.h.
32347
fb779be7
TS
323482012-02-10 Thomas Schwinge <thomas@codesourcery.com>
32349
e19e83c5
RM
32350 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
32351 __feraiseexcept instead of feraiseexcept.
7c35ffed 32352
fb779be7
TS
32353 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
32354 nanosleep invocations.
32355 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
32356 strings, and add error checking for a nanosleep invocations.
32357
59ba27a6
PE
323582012-02-09 Paul Eggert <eggert@cs.ucla.edu>
32359
32360 Replace FSF snail mail address with URLs, as per GNU coding standards.
32361 Most of the snail mail addresses were wrong anyway, and omitting
32362 them makes the source code easier to maintain. Almost all of the
32363 changes are to license notices and to locale LC_IDENTIFICATION
32364 addresses, except for this one:
32365 * manual/libc.texinfo: In "Published by", give the FSF's URL,
32366 not its snail mail address.
32367
57b957eb
RH
323682012-02-09 Richard Henderson <rth@twiddle.net>
32369
af850b1c
RH
32370 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
32371 of kernel-features.h.
32372
57b957eb
RH
32373 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
32374
6b73181a
MP
323752012-02-08 Marek Polacek <polacek@redhat.com>
32376
32377 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
32378 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
32379 * sysdeps/gnu/_G_config.h: Likewise.
32380 * sysdeps/generic/_G_config.h: Likewise.
32381
26ecc33a
AS
323822012-02-08 Andreas Schwab <schwab@linux-m68k.org>
32383
6c6dbc63
AS
32384 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
32385 tests.
32386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32387
e216c012
AS
32388 * sysdeps/powerpc/powerpc32/crti.S: New file.
32389 * sysdeps/powerpc/powerpc32/crtn.S: New file.
32390 * sysdeps/powerpc/powerpc64/crti.S: New file.
32391 * sysdeps/powerpc/powerpc64/crtn.S: New file.
32392
26ecc33a
AS
32393 * Makeconfig (have-initfini): Don't set.
32394 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
32395 * configure.in (nopic_initfini): Don't substitute.
32396 * config.h.in (HAVE_INITFINI): Don't #undef.
32397 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
32398 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
32399
3add8e13
JM
324002012-02-08 Joseph Myers <joseph@codesourcery.com>
32401
32402 Support crti.S and crtn.S provided directly by architectures.
32403 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
32404 [crti.S in sysdirs] (omit-deps): Likewise.
32405 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
32406 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
32407 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
32408 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
32409 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
32410 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
32411 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
32412 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
32413 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
32414 compiler output for sysdeps/generic/initfini.c.
32415 * sysdeps/i386/elf/Makefile: Remove file.
32416 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
32417
a22f12b4
MP
324182012-02-07 Marek Polacek <polacek@redhat.com>
32419
32420 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
32421 * sysdeps/gnu/_G_config.h: Likewise.
32422 * sysdeps/mach/hurd/_G_config.h: Likewise.
32423
148cf100
MP
324242012-02-07 Marek Polacek <polacek@redhat.com>
32425
32426 * math/Makefile (tests): Add tst-CMPLX2.
32427 * math/tst-CMPLX2.c: New file.
32428
cfdc0dd7
AS
324292012-02-07 Andreas Schwab <schwab@linux-m68k.org>
32430
84ba42c4
AS
32431 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32432
cfdc0dd7
AS
32433 * math/libm-test.inc (jn_test): Add missing L suffix.
32434
622c86f4
MP
324352012-02-06 Marek Polacek <polacek@redhat.com>
32436
32437 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
32438 * sysdeps/i386/fpu/e_powf.S: Likewise.
32439 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32440 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32441 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32442 * sysdeps/i386/fpu/e_pow.S: Likewise.
32443 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32444 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32445 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32446 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32447 * sysdeps/i386/fpu/e_log2.S: Likewise.
32448 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32449 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32450 * sysdeps/i386/fpu/e_powl.S: Likewise.
32451 * sysdeps/i386/fpu/s_log1p.S: Likewise.
32452 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32453 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32454 * sysdeps/i386/fpu/e_logl.S: Likewise.
32455 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32456 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
32457 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32458 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32459 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32460 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32461 * sysdeps/i386/fpu/e_log.S: Likewise.
32462 * sysdeps/i386/fpu/s_cexp.S: Likewise.
32463 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32464 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
32465 * sysdeps/i386/fpu/e_logf.S: Likewise.
32466 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32467 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32468 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
32469 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32470 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32471 * sysdeps/i386/fpu/e_log10.S: Likewise.
32472 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32473 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32474 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32475 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32476 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32477 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32478 * sysdeps/i386/asm-syntax.h: Likewise.
32479 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32480 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32481 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32482 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
32483 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
32484 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32485 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32486 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32487 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32488 * sysdeps/powerpc/sysdep.h: Likewise.
32489 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
32490 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32491
d4a54ac6
JM
324922012-02-06 Joseph Myers <joseph@codesourcery.com>
32493
32494 [BZ #411]
32495 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
32496
314054ea
JM
324972012-02-06 Joseph Myers <joseph@codesourcery.com>
32498
32499 * sysdeps/i386/sysdep.h: Include <features.h>.
32500 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
32501 version.
32502
d8e0ca50
JM
325032012-02-05 Joseph Myers <joseph@codesourcery.com>
32504
32505 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
32506 Define.
32507 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
32508 LOAD_PIC_REG_STR.
32509
b1da7dd9
JM
325102012-02-03 Joseph Myers <joseph@codesourcery.com>
32511
32512 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
32513 (SETUP_PIC_REG): Use GET_PC_THUNK.
32514 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
32515 macro.
32516
9a1d9254
JM
325172012-02-03 Joseph Myers <joseph@codesourcery.com>
32518
32519 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
32520 for non-PIC compilation.
32521 (SETUP_PIC_REG): Add .p2align directive.
32522 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
32523 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32524 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32525 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32526 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32527 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32528 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32529 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32530 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32531 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32532 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32533 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32534 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32535 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32536 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32537 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32538 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32539 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32540 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32541 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32542 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32543 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32544 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32545 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32546 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32547 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32548 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32549 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32550 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32551 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32552 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32553 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32554 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32555 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32556 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32557 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32558 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32559 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32560 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32561 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32562 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32563
65dc3b75
JM
325642012-02-03 Joseph Myers <joseph@codesourcery.com>
32565
32566 * math/tst-CMPLX.c: Include <stdio.h>.
32567
d55bf177
JM
325682012-01-31 Joseph Myers <joseph@codesourcery.com>
32569
32570 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
32571 float.
32572 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32573 * sysdeps/sparc/bits/mathdef.h: Likewise.
32574
69db4f8f
MP
325752012-01-31 Marek Polacek <polacek@redhat.com>
32576
32577 * libio/libio.h: Don't define _PARAMS.
32578 * locale/programs/config.h: Don't define PARAMS.
32579 * stdlib/strtol_l.c: Likewise.
32580 (__strtol_l): Remove PARAMS from the prototype.
32581
41b81892
UD
325822012-01-31 Ulrich Drepper <drepper@gmail.com>
32583
3b49edc0
UD
32584 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
32585 names. Just use the correct names. Remove unnecessary wrapper
32586 functions.
32587 * malloc/arena.c: Likewise.
32588 * malloc/hooks.c: Likewise.
32589
41b81892
UD
32590 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
32591 ARENA_TEST says not to. Simplify test for creation of a new arena.
32592 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
32593
27a25b6e
UD
325942012-01-30 Ulrich Drepper <drepper@gmail.com>
32595
32596 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
32597 into tail calls.
32598 (update_get_addr): New function.
32599 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
32600 GET_ADDR_MODULE parameter.
32601
c8a89e7d
JM
326022012-01-30 Joseph Myers <joseph@codesourcery.com>
32603
32604 * crypt/cert.c: Remove __STDC__ conditionals.
32605 * crypt/crypt-entry.c: Likewise.
32606 * crypt/crypt_util.c: Likewise.
32607 * libio/filedoalloc.c: Likewise.
32608 * libio/fileops.c: Likewise.
32609 * libio/genops.c: Likewise.
32610 * libio/iofclose.c: Likewise.
32611 * libio/iofdopen.c: Likewise.
32612 * libio/iofopen.c: Likewise.
32613 * libio/iofopen64.c: Likewise.
32614 * libio/iogetdelim.c: Likewise.
32615 * libio/iopopen.c: Likewise.
32616 * libio/obprintf.c: Likewise.
32617 * libio/oldfileops.c: Likewise.
32618 * libio/oldiofclose.c: Likewise.
32619 * libio/oldiofdopen.c: Likewise.
32620 * libio/oldiofopen.c: Likewise.
32621 * libio/oldiopopen.c: Likewise.
32622 * libio/wfiledoalloc.c: Likewise.
32623 * libio/wgenops.c: Likewise.
32624 * locale/programs/xmalloc.c: Likewise.
32625 * misc/syslog.c: Likewise.
32626 * stdio-common/xbug.c: Likewise.
32627 * string/memchr.c: Likewise.
32628 * string/memcmp.c: Likewise.
32629 * string/memrchr.c: Likewise.
32630 * string/rawmemchr.c: Likewise.
32631 * sysdeps/posix/getcwd.c: Likewise.
32632 * time/strftime_l.c: Likewise.
32633
3b100462
JM
326342012-01-30 Joseph Myers <joseph@codesourcery.com>
32635
32636 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
32637 * config.make.in (config-cflags-sse2avx): Define.
32638 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
32639 Fix typo.
32640
607998af
CM
326412012-01-29 Chris Metcalf <cmetcalf@tilera.com>
32642
32643 * scripts/config.guess: Update from upstream config git repository.
32644 * scripts/config.sub: Likewise.
32645
3601428f
CM
326462012-01-28 Chris Metcalf <cmetcalf@tilera.com>
32647
3ac8b282
CM
32648 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
32649 (EM_NUM): Update.
32650 (R_TILEPRO_*, R_TILEGX_*): New macros.
32651
e034841e
CM
32652 * scripts/firstversions.awk: Fix bug in version range handling.
32653
540d7568
CM
32654 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
32655
3601428f
CM
32656 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
32657
463de862
CM
32658 * include/sys/epoll.h: New file.
32659 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
32660 libc_hidden_def.
32661
73139a76
UD
326622012-01-28 Ulrich Drepper <drepper@gmail.com>
32663
96bc5b45
UD
32664 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
32665 Avoid unnecessary __WORDSIZE == 64 test.
32666 (fmaxf): Use VEX format if possible.
32667 (fmax): Likewise.
32668 (fminf): Likewise.
32669 (fmin): Likewise.
32670
56f6f6a2
UD
32671 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
32672 * math/math_private.h: Remove libc_fegetround* and
32673 libc_fesetround*.
32674 * sysdeps/i386/configure.in: Check for -msse2avx.
32675 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
32676 also if SSE2AVX is defined.
32677 Remove libc_fegetround* and libc_fesetround*.
32678 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
32679 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
32680 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
32681 of HAS_YMM_USABLE.
32682 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32683 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32684 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32685 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32686 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32687
73139a76
UD
32688 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
32689
d73f93a4
AZ
326902012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32691
32692 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
32693 size is not set.
32694 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32695
6ee65ed6
UD
326962012-01-27 Ulrich Drepper <drepper@gmail.com>
32697
32698 [BZ #13618]
32699 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
32700 relocation.
32701 * Makeconfig (libm): Define.
32702 * elf/Makefile: Add rules to build and run tst-relsort1.
32703 * elf/tst-relsort1.c: New file.
32704 * elf/tst-relsort1mod1.c: New file.
32705 * elf/tst-relsort1mod2.c: New file.
32706
8db21882
JM
327072012-01-27 Joseph Myers <joseph@codesourcery.com>
32708
32709 * math/s_ldexp.c: Remove __STDC__ conditionals.
32710 * math/s_ldexpf.c: Likewise.
32711 * math/s_ldexpl.c: Likewise.
32712 * math/s_nextafter.c: Likewise.
32713 * math/s_nexttowardf.c: Likewise.
32714 * math/s_significand.c: Likewise.
32715 * math/s_significandf.c: Likewise.
32716 * math/s_significandl.c: Likewise.
32717 * math/w_jnl.c: Likewise.
32718 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32719 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32720 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32721 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32722 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32723 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32724 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
32725 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32726 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32727 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32728 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32729 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32730 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32731 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32732 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32733 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32734 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32735 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32736 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32737 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32738 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32739 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32740 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32741 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32742 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32743 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32744 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32745 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32746 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32747 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32748 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32749 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32750 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32751 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32752 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32753 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32754 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32755 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32756 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32757 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32758 * sysdeps/ieee754/k_standard.c: Likewise.
32759 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32760 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32761 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32762 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32763 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32764 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32765 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32766 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32767 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32768 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32769 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32770 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32771 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32772 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32773 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32774 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32775 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32776 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32777 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32778 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32779 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32780 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32781 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32782 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32783 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32784 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32785 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32786 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32787 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32788 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32789 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32790 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
32791 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32792 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32793 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32794 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32795 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
32796 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32797 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32798 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
32799 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
32800 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32801 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
32802 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
32803 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32804 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32805 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32806 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32807 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32808 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
32809 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
32810 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32811 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32812 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32813 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32814 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32815 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
32816 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32817 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32818 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32819 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32820 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32821 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32822 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32823 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32824 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32825 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32826 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32827 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32828 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32829 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32830 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32831 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32832 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32833 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32834 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32835 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32836 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32837 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32838 * sysdeps/ieee754/s_matherr.c: Likewise.
32839 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32840 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32841 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32842 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32843
965a54a4
JM
328442012-01-26 Joseph Myers <joseph@codesourcery.com>
32845
32846 * crypt/md5.h: Remove __STDC__ conditionals.
32847 * libio/libioP.h: Likewise.
32848 * locale/programs/config.h: Likewise.
32849 * sysdeps/generic/sysdep.h: Likewise.
32850 * sysdeps/i386/asm-syntax.h: Likewise.
32851 * sysdeps/s390/asm-syntax.h: Likewise.
32852 * sysdeps/unix/sysdep.h: Likewise.
32853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32855
7071ad79
JM
328562012-01-26 Joseph Myers <joseph@codesourcery.com>
32857
32858 * libio/libio.h: Remove __STDC__ conditionals.
32859 * malloc/obstack.h: Likewise.
32860 * math/complex.h: Likewise.
32861 * math/math.h: Likewise.
32862 * sysdeps/generic/_G_config.h: Likewise.
32863 * sysdeps/gnu/_G_config.h: Likewise.
32864 * sysdeps/mach/hurd/_G_config.h: Likewise.
32865 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32866 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32867 * sysdeps/sparc/bits/mathdef.h: Likewise.
32868
afc5ed09
UD
328692012-01-26 Ulrich Drepper <drepper@gmail.com>
32870
32871 [BZ #13583]
32872 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 32873 Clean up HAS_* macros.
afc5ed09 32874 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
32875 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
32876 possible.
32877 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
32878 HAS_AVX.
32879 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32880 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32881 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32882 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32883 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 32884
bdb6de1d
JM
328852012-01-25 Joseph Myers <joseph@codesourcery.com>
32886
32887 * elf/tst-unique3.cc (gets): Remove declaration.
32888 * elf/tst-unique3lib.cc (gets): Likewise.
32889 * elf/tst-unique3lib2.cc (gets): Likewise.
32890 * elf/tst-unique4.cc (gets): Likewise.
32891
b15549e6
UD
328922012-01-24 Ulrich Drepper <drepper@gmail.com>
32893
32894 * include/stdio.h: Add C++ protection. Add gets declarations and
32895 definitions.
32896 * debug/tst-chk1.c: Don't declare gets here.
32897 * stdio-common/tst-gets.c: Likewise.
32898
a037381f
JM
328992012-01-24 Joseph Myers <joseph@codesourcery.com>
32900
32901 * posix/glob: Remove directory.
32902
f1d4aa75
JM
329032012-01-24 Joseph Myers <joseph@codesourcery.com>
32904
32905 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
32906
81c0c964
PT
329072012-01-22 Pino Toscano <toscano.pino@tiscali.it>
32908
32909 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
32910 of the non-standard EPFNOSUPPORT.
32911
0ea698ae
ST
329122011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
32913
32914 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
32915 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
32916 ANYWHERE set to 1 only on KERN_NO_SPACE error.
32917
d220b117
UD
329182012-01-21 Ulrich Drepper <drepper@gmail.com>
32919
32920 * wcsmbs/uchar.h: Test __STDC_VERSION__.
32921
3e1aa84e
UD
329222012-01-20 Ulrich Drepper <drepper@gmail.com>
32923
32924 * nscd/aicache.c (addhstaiX): Do not cache negative results of
32925 transient errors.
32926 * nscd/grpcache.c (cache_addgr): Likewise.
32927 * nscd/hstcache.c (cache_addhst): Likewise.
32928 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32929 * nscd/pwdcache.c (cache_addpw): Likewise.
32930 * nscd/servicescache.c (cache_addserv): Likewise.
32931
400aa020
UD
329322012-01-16 Ulrich Drepper <drepper@gmail.com>
32933
d77e7869
UD
32934 * malloc/malloc.c: Various cleanups.
32935 * malloc/hooks.c: Likewise.
32936
400aa020
UD
32937 * stdlib/Makefile (tests): Add bug-fmtmsg1.
32938 * stdlib/bug-fmtmsg1.c: New file.
32939
32940 * stdlib/fmtmsg.c (init): Add missing unlock.
32941 Patch by Peng Haitao <penght@cn.fujitsu.com>.
32942
e0a309cf
MP
329432012-01-12 Marek Polacek <polacek@redhat.com>
32944
32945 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
32946 and _GNU_SOURCE.
32947
929d11c7
WS
329482012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32949
32950 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
32951 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
32952 macro to ensure uniqueness of label name.
32953 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32954 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32955
41d0e869
UD
329562012-01-11 Ulrich Drepper <drepper@gmail.com>
32957
0cc5ed3b
UD
32958 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
32959
41d0e869
UD
32960 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
32961 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32962 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32963 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
32964
a47a831a
UD
329652012-01-10 Ulrich Drepper <drepper@gmail.com>
32966
daa891c0
UD
32967 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
32968
32969 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
32970 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32971 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32972
e58ef0f2
UD
32973 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
32974
a47a831a 32975 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
32976 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32977 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 32978 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
32979
32980 * math/bits/math-finite.h: Add ldexp support.
32981
a0bfc9c7
MP
329822012-01-10 Marek Polacek <polacek@redhat.com>
32983
32984 * locale/programs/localedef.h (show_archive_content): Add noreturn
32985 attribute.
32986
d6e97a1d
UD
329872012-01-09 Ulrich Drepper <drepper@gmail.com>
32988
32989 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
32990
d5835c26
UD
329912012-01-08 Ulrich Drepper <drepper@gmail.com>
32992
e5f484c6
UD
32993 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
32994
d5835c26
UD
32995 * io/Makefile (headers): Add bits/poll2.h.
32996
d1f741e9
WS
329972011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
32998
32999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
33000 typo #include statement.
33001
ec09c1c4
UD
330022012-01-08 Ulrich Drepper <drepper@gmail.com>
33003
33004 * include/sys/cdefs.h: Define __attribute_alloc_size.
33005 * catgets/gencat.c: Add alloc_size attribute and apply consistently
33006 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
33007 * elf/pldd.c: Likewise.
33008 * iconv/iconv_charmap.c: Likewise.
33009 * iconv/iconvconfig.c: Likewise.
33010 * iconv/strtab.c: Likewise.
33011 * locale/programs/locale.c: Likewise.
33012 * locale/programs/localedef.h: Likewise.
33013 * locale/programs/simple-hash.c: Likewise.
33014 * nscd/nscd.h: Likewise.
33015 * nss/makedb.c: Likewise.
33016 * sysdeps/generic/ldconfig.h: Likewise.
33017 * locale/programs/localedef.c: Remove xmalloc prototype.
33018 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
33019
20b38e03
PP
330202012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33021
33022 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
33023 appropriate.
33024
a0da5fe1
UD
330252012-01-08 Ulrich Drepper <drepper@gmail.com>
33026
1d5a644a 33027 * math/Makefile (tests): Add tst-CMPLX.
669704fd 33028 * math/tst-CMPLX.c: New file.
1d5a644a 33029
8784a6db
UD
33030 * math/complex.h (CMPLXL): Fix typo.
33031
d9a216c0
UD
33032 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
33033 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
33034 GLIBC_2.16.
33035 * debug/tst-chk1.c: Add poll and ppoll tests.
33036 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
33037 * include/sys/poll.h: Add hidden proto for ppoll.
33038 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
33039 * sysdeps/mach/hurd/ppoll.c: Likewise.
33040 * io/ppoll.c: Likewise.
33041 * debug/poll_chk.c: New file.
33042 * debug/ppoll_chk.c: New file.
33043 * include/bits/poll2.h: New file.
33044 * io/bits/poll2.h: New file.
33045
ac097f5c
UD
33046 [BZ #1350]
33047 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
33048
2119dcfa
UD
33049 * configure.in: static is always set to yes. Remove.
33050 * config.make.in: Don't set build-static.
33051 * Makeconfig: Remove use of build-static.
33052 * dlfcn/Makefile: Likewise.
33053 * elf/Makefile: Likewise.
33054 * math/Makefile: Likewise.
33055 * misc/Makefile: Likewise.
33056 * nptl/Makefile: Likewise.
33057 * sysdeps/mach/hurd/Makefile: Likewise.
33058
121766a9
UD
33059 * configure.in: PWD_P is not used anymore.
33060 * config.make.in: Remove PWD_P entry.
33061
51a1d39c 33062 * configure.in: Remove last remnants of RANLIB.
8720d066 33063 No need to check for signed size_t anymore.
215f4bdc
UD
33064 Don't set libc_commonpagesize and libc_relro_required here for Alpha
33065 and IA-64.
3857022a 33066 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
33067 * aclocal.m4: Likewise.
33068
d3ed7225
UD
33069 * wcsmbs/mbrtoc16.c: Implement using towc function.
33070 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
33071 * wcsmbs/wcsmbsload.c: Likewise.
33072 * iconv/gconv_simple.c: Likewise.
33073 * iconv/gconv_int.h: Likewise.
33074 * iconv/gconv_builtin.h: Likewise.
33075 * iconv/iconv_prog.c: Remove CHAR16 handling.
33076
33077 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
33078
33079 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
33080
a0da5fe1
UD
33081 * configure.in: Remove --with-elf and --enable-bounded options.
33082 Dont set base_machine for ia64. More non-ELF conditions removed.
33083 Remove testing and setting of leading underscore information.
33084 * config.make.in (build-bounded): Set to no.
33085 * config.h.in: Remove NO_UNDERSCORES entry.
33086 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
33087 them.
33088 * csu/start.c: Remove !NO_UNDERSCORE code.
33089 * locale/localeinfo.h: Likewise.
33090 * sysdeps/generic/machine-gmon.h: Likewise.
33091 * sysdeps/generic/sysdep.h: Likewise.
33092 * sysdeps/i386/sysdep.h: Likewise.
33093 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
33094 * sysdeps/mach/sysdep.h: Likewise.
33095 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33096 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33097 * sysdeps/sh/sysdep.h: Likewise.
33098 * sysdeps/sparc/sparc32/alloca.S: Likewise.
33099 * sysdeps/unix/i386/sysdep.S: Likewise.
33100 * sysdeps/unix/sparc/start.c: Likewise.
33101 * sysdeps/unix/sparc/sysdep.S: Likewise.
33102 * sysdeps/unix/sparc/sysdep.h: Likewise.
33103 * sysdeps/unix/start.c: Likewise.
33104 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33105 * sysdeps/x86_64/sysdep.h: Likewise.
33106
df78418a
UD
331072012-01-07 Ulrich Drepper <drepper@gmail.com>
33108
a784e502
UD
33109 [BZ #13553]
33110 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
33111 for non-gcc.
33112 * argp/argp-fmtstream.h: Use const instead __const.
33113 * argp/argp.h: Likewise.
33114 * assert/assert.h: Likewise.
33115 * bits/fenv.h: Likewise.
33116 * bits/sched.h: Likewise.
33117 * bits/sigset.h: Likewise.
33118 * bits/sigthread.h: Likewise.
33119 * catgets/nl_types.h: Likewise.
33120 * conform/data/pthread.h-data: Likewise.
33121 * crypt/crypt-private.h: Likewise.
33122 * crypt/crypt.h: Likewise.
33123 * crypt/crypt_util.c: Likewise.
33124 * ctype/ctype.h: Likewise.
33125 * debug/execinfo.h: Likewise.
33126 * debug/mbsnrtowcs_chk.c: Likewise.
33127 * debug/mbsrtowcs_chk.c: Likewise.
33128 * debug/wcsnrtombs_chk.c: Likewise.
33129 * debug/wcsrtombs_chk.c: Likewise.
33130 * debug/wcstombs_chk.c: Likewise.
33131 * dirent/dirent.h: Likewise.
33132 * dlfcn/dlfcn.h: Likewise.
33133 * elf/neededtest4.c: Likewise.
33134 * grp/grp.h: Likewise.
33135 * gshadow/gshadow.h: Likewise.
33136 * iconv/gconv.h: Likewise.
33137 * iconv/gconv_int.h: Likewise.
33138 * iconv/gconv_simple.c: Likewise.
33139 * iconv/iconv.h: Likewise.
33140 * iconv/loop.c: Likewise.
33141 * iconv/skeleton.c: Likewise.
33142 * include/aio.h: Likewise.
33143 * include/aliases.h: Likewise.
33144 * include/argz.h: Likewise.
33145 * include/arpa/inet.h: Likewise.
33146 * include/assert.h: Likewise.
33147 * include/dirent.h: Likewise.
33148 * include/dlfcn.h: Likewise.
33149 * include/execinfo.h: Likewise.
33150 * include/fcntl.h: Likewise.
33151 * include/fenv.h: Likewise.
33152 * include/glob.h: Likewise.
33153 * include/grp.h: Likewise.
33154 * include/libintl.h: Likewise.
33155 * include/mntent.h: Likewise.
33156 * include/netdb.h: Likewise.
33157 * include/pwd.h: Likewise.
33158 * include/rpc/netdb.h: Likewise.
33159 * include/sched.h: Likewise.
33160 * include/search.h: Likewise.
33161 * include/shadow.h: Likewise.
33162 * include/signal.h: Likewise.
33163 * include/stdio.h: Likewise.
33164 * include/stdlib.h: Likewise.
33165 * include/string.h: Likewise.
33166 * include/sys/socket.h: Likewise.
33167 * include/sys/stat.h: Likewise.
33168 * include/sys/statfs.h: Likewise.
33169 * include/sys/statvfs.h: Likewise.
33170 * include/sys/syslog.h: Likewise.
33171 * include/sys/time.h: Likewise.
33172 * include/sys/uio.h: Likewise.
33173 * include/time.h: Likewise.
33174 * include/unistd.h: Likewise.
33175 * include/utmp.h: Likewise.
33176 * include/wchar.h: Likewise.
33177 * include/wctype.h: Likewise.
33178 * inet/aliases.h: Likewise.
33179 * inet/arpa/inet.h: Likewise.
33180 * inet/netinet/ether.h: Likewise.
33181 * inet/netinet/in.h: Likewise.
33182 * intl/libintl.h: Likewise.
33183 * io/bits/fcntl2.h: Likewise.
33184 * io/fcntl.h: Likewise.
33185 * io/ftw.h: Likewise.
33186 * io/sys/poll.h: Likewise.
33187 * io/sys/stat.h: Likewise.
33188 * io/sys/statfs.h: Likewise.
33189 * io/sys/statvfs.h: Likewise.
33190 * io/utime.h: Likewise.
33191 * libio/bits/stdio.h: Likewise.
33192 * libio/bits/stdio2.h: Likewise.
33193 * libio/libio.h: Likewise.
33194 * libio/libioP.h: Likewise.
33195 * libio/stdio.h: Likewise.
33196 * locale/lc-ctype.c: Likewise.
33197 * locale/locale.h: Likewise.
33198 * login/utmp.h: Likewise.
33199 * malloc/arena.c: Likewise.
33200 * malloc/malloc.c: Likewise.
33201 * malloc/malloc.h: Likewise.
33202 * malloc/mcheck.c: Likewise.
33203 * malloc/mtrace.c: Likewise.
33204 * math/bits/mathcalls.h: Likewise.
33205 * math/fenv.h: Likewise.
33206 * math/math_private.h: Likewise.
33207 * misc/bits/error.h: Likewise.
33208 * misc/bits/syslog.h: Likewise.
33209 * misc/err.h: Likewise.
33210 * misc/error.h: Likewise.
33211 * misc/fstab.h: Likewise.
33212 * misc/mntent.h: Likewise.
33213 * misc/regexp.h: Likewise.
33214 * misc/search.h: Likewise.
33215 * misc/sgtty.h: Likewise.
33216 * misc/sys/mman.h: Likewise.
33217 * misc/sys/syslog.h: Likewise.
33218 * misc/sys/uio.h: Likewise.
33219 * misc/sys/xattr.h: Likewise.
33220 * misc/ttyent.h: Likewise.
33221 * nis/rpcsvc/ypclnt.h: Likewise.
33222 * nss/nss.h: Likewise.
33223 * posix/bits/unistd.h: Likewise.
33224 * posix/fnmatch.h: Likewise.
33225 * posix/glob.h: Likewise.
33226 * posix/sched.h: Likewise.
33227 * posix/spawn.h: Likewise.
33228 * posix/sys/wait.h: Likewise.
33229 * posix/unistd.h: Likewise.
33230 * posix/wordexp.h: Likewise.
33231 * pwd/pwd.h: Likewise.
33232 * resolv/netdb.h: Likewise.
33233 * resource/sys/resource.h: Likewise.
33234 * rt/aio.h: Likewise.
33235 * rt/bits/mqueue2.h: Likewise.
33236 * rt/mqueue.h: Likewise.
33237 * shadow/shadow.h: Likewise.
33238 * signal/signal.h: Likewise.
33239 * socket/send.c: Likewise.
33240 * socket/sendto.c: Likewise.
33241 * socket/sys/socket.h: Likewise.
33242 * stdio-common/printf.h: Likewise.
33243 * stdlib/bits/stdlib.h: Likewise.
33244 * stdlib/fmtmsg.h: Likewise.
33245 * stdlib/monetary.h: Likewise.
33246 * stdlib/stdlib.h: Likewise.
33247 * stdlib/ucontext.h: Likewise.
33248 * streams/stropts.h: Likewise.
33249 * string/argz.h: Likewise.
33250 * string/bits/string2.h: Likewise.
33251 * string/string.h: Likewise.
33252 * string/strings.h: Likewise.
33253 * sunrpc/rpc/auth.h: Likewise.
33254 * sunrpc/rpc/auth_des.h: Likewise.
33255 * sunrpc/rpc/clnt.h: Likewise.
33256 * sunrpc/rpc/netdb.h: Likewise.
33257 * sunrpc/rpc/pmap_clnt.h: Likewise.
33258 * sunrpc/rpc/xdr.h: Likewise.
33259 * sysdeps/generic/inttypes.h: Likewise.
33260 * sysdeps/generic/net/if.h: Likewise.
33261 * sysdeps/generic/sys/swap.h: Likewise.
33262 * sysdeps/gnu/net/if.h: Likewise.
33263 * sysdeps/gnu/utmpx.h: Likewise.
33264 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
33265 * sysdeps/i386/i486/bits/string.h: Likewise.
33266 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
33267 * sysdeps/s390/bits/string.h: Likewise.
33268 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
33269 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
33270 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
33271 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
33272 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
33273 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
33274 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
33275 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
33276 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
33277 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
33278 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
33279 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33280 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
33281 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33282 * sysdeps/unix/sysv/linux/readv.c: Likewise.
33283 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
33284 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
33285 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33286 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
33287 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
33288 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33289 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
33290 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
33291 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
33292 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
33293 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
33294 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
33295 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33296 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
33297 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
33298 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
33299 * sysvipc/sys/ipc.h: Likewise.
33300 * sysvipc/sys/msg.h: Likewise.
33301 * sysvipc/sys/sem.h: Likewise.
33302 * sysvipc/sys/shm.h: Likewise.
33303 * termios/termios.h: Likewise.
33304 * time/sys/time.h: Likewise.
33305 * time/time.h: Likewise.
33306 * wcsmbs/bits/wchar2.h: Likewise.
33307 * wcsmbs/uchar.h: Likewise.
33308 * wcsmbs/wchar.h: Likewise.
33309 * wctype/wctype.h: Likewise.
33310
0269750c
UD
33311 [BZ #13551]
33312 * Makeconfig: Remove all but ELF support including AIX support.
33313 * Makerules: Likewise.
33314 * config.h.in: Likewise.
33315 * config.make.in: Likewise.
33316 * configure: Likewise.
33317 * configure.in: Likewise.
33318 * csu/Makefile: Likewise.
33319 * csu/version.c: Likewise.
33320 * debug/Makefile: Likewise.
33321 * dlfcn/Makefile: Likewise.
33322 * elf/Makefile: Likewise.
33323 * extra-lib.mk: Likewise.
33324 * iconv/Makefile: Likewise.
33325 * include/libc-symbols.h: Likewise.
33326 * include/shlib-compat.h: Likewise.
33327 * resolv/Makefile: Likewise.
33328 * resolv/res_libc.c: Likewise.
33329 * rt/Makefile: Likewise.
33330 * sysdeps/i386/asm-syntax.h: Likewise.
33331 * sysdeps/i386/sysdep.h: Likewise.
33332 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
33333 * sysdeps/mach/sysdep.h: Likewise.
33334 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
33335 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
33336 * sysdeps/s390/asm-syntax.h: Likewise.
33337 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33338 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33339 * sysdeps/sh/sysdep.h: Likewise.
33340 * sysdeps/unix/sparc/sysdep.h: Likewise.
33341 * sysdeps/wordsize-32/divdi3.c: Likewise.
33342 * sysdeps/x86_64/sysdep.h: Likewise.
33343
00bbd29b
UD
33344 * argp/Versions: Remove _argp_unlock_xxx.
33345
33346 [BZ #13559]
33347 * abilist/ld.abilist: Update. Adjust for removal of tls option.
33348 * abilist/libBrokenLocale.abilist: Likewise.
33349 * abilist/libanl.abilist: Likewise.
33350 * abilist/libc.abilist: Likewise.
33351 * abilist/libcrypt.abilist: Likewise.
33352 * abilist/libdl.abilist: Likewise.
33353 * abilist/libm.abilist: Likewise.
33354 * abilist/libnsl.abilist: Likewise.
33355 * abilist/libpthread.abilist: Likewise.
33356 * abilist/libresolv.abilist: Likewise.
33357 * abilist/librt.abilist: Likewise.
33358 * abilist/libthread_db.abilist: Likewise.
33359 * abilist/libutil.abilist: Likewise.
33360 * abilist/libnss_db.abilist: New file.
33361
33362 * scripts/abilist.awk: Add support for indirect functions.
33363
a2693a0e
UD
33364 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
33365
3f05895f
UD
33366 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
33367
ecb6fb48
UD
33368 * shlib-versions: Remove entries for ports architectures.
33369
664f8cb9
UD
33370 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
33371 files in ports.
33372 * elf/stackguard-macros.h: Remove support for IA-64.
33373 * elf/tst-auditmod1.c: Likewise.
33374 * sysdeps/generic/ldsodefs.h: Likewise.
33375
7ae81d88
UD
33376 * sysdeps/unix/sysv/linux/configure.in: Ports should define
33377 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
33378 configure files.
33379
bdeba135
UD
33380 [BZ #13552]
33381 * configure.in: Remove --enable-omitfp support.
33382 * FAQ.in: Adjust.
33383 * config.make.in: Likewise.
33384 * Makeconfig: Likewise.
33385 * manual/install.texi: Likewise.
33386
d75a0a62
UD
33387 In case anyone cares, the IA-64 architecture could move to ports.
33388 * sysdeps/ia64/*: Removed.
33389 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 33390 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 33391
dcc9756b
UD
33392 [BZ #13555]
33393 * configure.in: Remove entries for unsupported architectures.
33394
d3761ebc 33395 [BZ #13533]
9954432e
UD
33396 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
33397 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
33398 routines.
33399 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
33400 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
33401 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
33402 fall back to using wcrtomb.
33403 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
33404 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
33405 renaming.
33406 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
33407 * wcsmbs/tst-c16c32-1.c: New file.
33408
33409 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
33410 local variable.
33411
c3a87236
UD
33412 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
33413
28926a1b
UD
33414 * elf/tst-unique3.cc: Add explicit declaration of gets.
33415 * elf/tst-unique3lib.cc: Likewise.
33416 * elf/tst-unique3lib2.cc: Likewise.
33417 * elf/tst-unique4.cc: Likewise.
33418
df78418a
UD
33419 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
33420
8ecd6b2a
JM
334212012-01-06 Joseph Myers <joseph@codesourcery.com>
33422
33423 [BZ #13566]
33424 * assert/assert.h (static_assert): Don't define for C++.
33425 * libio/stdio.h (gets): Do declare for C++ <= C++11.
33426 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
33427
9f115170
UD
334282012-01-03 Ulrich Drepper <drepper@gmail.com>
33429
5e0d0300
UD
33430 * iconv/loop.c (single loop): Fix assertion in storing of
33431 remaining bytes.
33432
9f115170
UD
33433 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
33434
81fb02b0
UD
334352012-01-01 Ulrich Drepper <drepper@gmail.com>
33436
33437 * posix/getconf.c: Update copyright year.
33438 * nss/getent.c: Likewise.
a316c1f6 33439 * nss/makedb.c: Likewise.
81fb02b0
UD
33440 * iconv/iconvconfig.c: Likewise.
33441 * iconv/iconv_prog.c: Likewise.
33442 * elf/ldconfig.c: Likewise.
a316c1f6
UD
33443 * elf/pldd.c: Likewise.
33444 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
33445 * catgets/gencat.c: Likewise.
33446 * csu/version.c: Likewise.
33447 * elf/ldd.bash.in: Likewise.
33448 * elf/sprof.c (print_version): Likewise.
33449 * locale/programs/locale.c: Likewise.
33450 * locale/programs/localedef.c: Likewise.
a316c1f6 33451 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
33452 * nscd/nscd.c (print_version): Likewise.
33453 * debug/xtrace.sh: Likewise.
33454 * malloc/memusage.sh: Likewise.
33455 * malloc/mtrace.pl: Likewise.
33456 * debug/catchsegv.sh: Likewise.
33457
2ba92745
JJ
334582011-12-30 Jakub Jelinek <jakub@redhat.com>
33459
33460 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
33461 pure attribute.
33462
dadebdae
UD
334632011-12-24 Ulrich Drepper <drepper@gmail.com>
33464
d3761ebc 33465 [BZ #13533]
db6af3eb
UD
33466 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
33467 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
33468 transformations.
33469 * iconv/gconv_int.h: Likewise.
33470 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
33471 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
33472 from libc for GLIBC_2.16.
33473 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
33474 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
33475 * wcsmbs/uchar.h: Really define mbstate_t.
33476 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
33477 * wcsmbs/c16rtomb.c: New file.
33478 * wcsmbs/mbrtoc16.c: New file.
33479 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
33480 for C/POSIX locale.
33481 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
33482 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
33483
dadebdae
UD
33484 * wcsmbs/wchar.h: Add missing __restrict.
33485
67371b56
UD
334862011-12-23 Ulrich Drepper <drepper@gmail.com>
33487
74033a25
UD
33488 [BZ #13532]
33489 * time/Makefile (routines): Add timespec_get.
33490 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
33491 * time/time.h: Define TIME_UTC and declare timespec_get. Define
33492 timespec for ISO C11.
33493 * time/timespec_get.c: New file.
33494 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
33495 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
33496
380d7e87
UD
33497 [BZ #13531]
33498 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
33499 * stdlib/stdlib.h: Declare aligned_alloc.
33500 * Versions.def: Add GLIBC_2.16 for libc.
33501 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
33502
4e9e7a35
UD
33503 [BZ 13527]
33504 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
33505 ISO C11.
33506
380d7e87 33507 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
33508 code.
33509
03a71829
UD
33510 [BZ #13528]
33511 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
33512
839e283e
UD
33513 [BZ #13529]
33514 * assert/assert.h (static_assert): Define.
33515
ce5294e2 33516 * version.h: Update for 2.16 development version.
90fa7312 33517
8d44e150 33518 [BZ #13526]
d7809905
UD
33519 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
33520 _ISOC11_SOURCE.
33521
c0da14cd
UD
33522 * version.h (RELEASE): Bump for 2.15 release.
33523 * include/features.h (__GLIBC_MINOR__): Bump to 15.
33524
530a3249
MP
33525 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
33526 Patch by Marek Polacek <mpolacek@redhat.com>.
33527
67371b56
UD
33528 * bits/byteswap.h: Protect long long constants with __extension__.
33529 * sysdeps/i386/bits/byteswap.h: Likewise.
33530 * sysdeps/ia64/bits/byteswap.h: Likewise.
33531 * sysdeps/s390/bits/byteswap.h: Likewise.
33532 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33533
15db4de1
LD
335342011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33535
33536 [BZ #13540]
bbe315ea
LD
33537 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
33538 destination buffer.
15db4de1
LD
33539 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
33540
2b2596b1
MP
335412011-12-23 Marek Polacek <polacek@redhat.com>
33542
33543 * elf/dl-addr.c (determine_info): Add inline keyword.
33544 * elf/tst-auditmod4b.c (check_avx): Likewise.
33545 * elf/tst-auditmod6b.c (check_avx): Likewise.
33546 * elf/tst-auditmod6c.c (check_avx): Likewise.
33547 * elf/tst-auditmod7b.c (check_avx): Likewise.
33548
70c6c246
UD
335492011-12-23 Ulrich Drepper <drepper@gmail.com>
33550
33551 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
33552 !__SSE_MATH__.
33553
c044cf14
LD
335542011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33555
15db4de1 33556 [BZ #13540]
c044cf14
LD
33557 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
33558 processing for last bytes.
33559
6b13d9d9
BH
335602011-08-06 Bruno Haible <bruno@clisp.org>
33561
d455f537
BH
33562 [BZ #13061]
33563 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
33564 U+0385, not to U+1FEE.
33565
6b13d9d9
BH
33566 [BZ #13062]
33567 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
33568 entry for U+00A5 U+0301.
33569
db910efd
UD
335702011-12-22 Ulrich Drepper <drepper@gmail.com>
33571
27deeafc
UD
33572 [BZ #13166]
33573 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
33574 buffer for the output is too small.
33575
aed9d171
UD
33576 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
33577 optimization.
33578
db910efd
UD
33579 [BZ #13185]
33580 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
33581 SSE flags if possible.
33582
2bd779ae
LD
335832011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33584
e7f9dac3 33585 [BZ #13540]
2bd779ae
LD
33586 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
33587 processing for last bytes.
33588
154bfc16
JM
335892011-12-22 Joseph Myers <joseph@codesourcery.com>
33590
33591 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
33592 (syscall-list-default-options, syscall-list-default-condition)
33593 (syscall-list-includes): Define.
33594 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
33595 list of ABIs and options and #if conditions for each ABI. Do not
33596 handle common syscalls between ABIs specially.
33597 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
33598 Remove.
33599 (syscall-list-variants, syscall-list-32bit-options)
33600 (syscall-list-32bit-condition, syscall-list-64bit-options)
33601 (syscall-list-64bit-condition): Define.
33602 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
33603 (syscall-list-variants, syscall-list-32bit-options)
33604 (syscall-list-32bit-condition, syscall-list-64bit-options)
33605 (syscall-list-64bit-condition): Define.
33606 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
33607 Remove.
33608 (syscall-list-variants, syscall-list-32bit-options)
33609 (syscall-list-32bit-condition, syscall-list-64bit-options)
33610 (syscall-list-64bit-condition): Define.
33611 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
33612 Remove.
33613 (syscall-list-variants, syscall-list-32bit-options)
33614 (syscall-list-32bit-condition, syscall-list-64bit-options)
33615 (syscall-list-64bit-condition): Define.
33616
21eaf3a5
UD
336172011-12-22 Ulrich Drepper <drepper@gmail.com>
33618
16c6f992
UD
33619 * locale/iso-639.def: Add brx entry.
33620
41043168
UD
33621 [BZ #13328]
33622 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
33623 Proposed by Mariusz_Cukr <marcukr@op.pl>.
33624
21eaf3a5
UD
33625 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
33626 __feraiseexcept_renamed.
33627
e3a851a2
UD
336282011-12-21 Ulrich Drepper <drepper@gmail.com>
33629
4920765e
UD
33630 [BZ #13538]
33631 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
33632 EPOLLET with unsigned values.
33633 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33634 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33635
e3a851a2
UD
33636 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
33637 to large cancellation.
33638 * math/s_cacoshf.c: Likewise.
33639 * math/s_cacoshl.c: Likewise.
33640
b27e24b8
RK
336412011-11-18 Richard B. Kreckel <kreckel@ginac.de>
33642
33643 [BZ #13305]
aebefeee 33644 [BZ #12786]
b27e24b8
RK
33645 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
33646 * math/s_cacoshf.c: Likewise.
33647 * math/s_cacoshl.c: Likewise.
33648
ee190f67
UD
336492011-12-21 Ulrich Drepper <drepper@gmail.com>
33650
33651 [BZ #13439]
33652 * iconv/gconv.h: Define __GCONV_SWAP.
33653 * iconvdata/unicode.c: The swap bit must be stored in __flags.
33654 * iconvdata/utf-16.c: Likewise.
33655 * iconvdata/utf-32.c: Likewise.
33656
707f25df
AS
336572011-12-21 Andreas Schwab <schwab@linux-m68k.org>
33658
33659 [BZ #13524]
33660 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
33661 numerator after shifting it by one limb.
33662
d2daaa1e
RÁE
336632011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
33664
33665 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
33666 under [__USE_EXTERN_INLINES].
33667
a4647e72
UD
336682011-12-17 Ulrich Drepper <drepper@gmail.com>
33669
33670 [BZ #13446]
33671 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
33672
f0b264f1
AZ
336732011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33674
33675 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
33676 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
33677 optimized code.
33678 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
33679 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
33680 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
33681 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
33682 for strncasecmp/strncasecmp_l compilation.
33683 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
33684 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
33685
8ef4f244
MP
336862011-12-08 Marek Polacek <mpolacek@redhat.com>
33687
33688 [BZ #13484]
33689 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
33690 of __asm__.
33691
97ac2654
UD
336922011-12-17 Ulrich Drepper <drepper@gmail.com>
33693
33694 [BZ #13506]
33695 * time/tzfile.c (__tzfile_read): Check values from file header.
33696
91d2a845
WS
336972011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33698
33699 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
33700 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
33701 * powerpc/powerpc32/dl-start.S: Likewise.
33702 * powerpc/powerpc32/elf/start.S: Likewise.
33703 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33704 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
33705 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
33706 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
33707 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33708 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
33709 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
33710 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
33711 * powerpc/powerpc32/fpu/s_round.S: Likewise.
33712 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33713 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33714 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33715 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
33716 * powerpc/powerpc32/memset.S: Likewise.
33717 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33718 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33719 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33720 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33721 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33722 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33723 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33724 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33725 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
33726 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
33727 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
33728 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
33729 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
33730
a1267ba1
AZ
337312011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33732
33733 * math/libm-test.inc: Added more nearbyint tests.
33734 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
33735 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
33736 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
33737 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
33738
ad8ac1bd
RL
337392011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
33740
33741 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
33742 FD_CLOEXEC.
33743
1d3e4b61
UD
337442011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33745
33746 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
33747 Add wcscpy-ssse3 wcscpy-c.
33748 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
33749 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
33750 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
33751 * sysdeps/x86_64/wcschr.S: New file.
33752 * sysdeps/x86_64/wcsrchr.S: New file.
33753 * string/test-strcmp.c: Remove checking of wcscmp function for
33754 wrong alignments.
33755 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
33756 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
33757 wcsrchr-sse2 wcsrchr-c.
33758 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
33759 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
33760 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
33761 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
33762 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
33763 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
33764 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
33765 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
33766 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
33767 * wcsmbc/wcschr.c (WCSCHR): New macro.
33768
5b330a2d
UD
337692011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33770
33771 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
33772 * wcsmbs/test-wcsrchr.c: New file.
33773 * string/test-strrchr.c: Add wcsrchr support.
33774 (WIDE): New macro.
33775 * wcsmbs/test-wcscpy.c: New file.
33776 * string/test-strcpy.c: Add wcscpy support.
33777 (WIDE): New macro.
26428b7c 33778
f039c043
UD
337792011-12-10 Ulrich Drepper <drepper@gmail.com>
33780
33781 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
33782 the inner loop.
33783
850fb039
AS
337842011-12-06 Andreas Schwab <schwab@linux-m68k.org>
33785
33786 [BZ #13472]
33787 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
33788
4efbd5cb
UD
337892011-12-04 Ulrich Drepper <drepper@gmail.com>
33790
52ff5dd0 33791 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 33792 Minor optimizations.
52ff5dd0 33793
4efbd5cb
UD
33794 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
33795 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
33796 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33797
8a426e12
UD
337982011-12-03 Ulrich Drepper <drepper@gmail.com>
33799
aff2453d
UD
33800 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
33801 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
33802 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
33803 for gcc to avoid warnings.
33804 * inet/Makefile (tests): Add tst-checks.
33805 * inet/tst-checks.c: New file.
33806
33807 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
33808 warning.
33809
33810 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
33811 __wmemcmp_sse2.
33812
33813 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
33814 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
33815
8a426e12
UD
33816 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
33817
9bea3473
UD
338182011-12-02 Ulrich Drepper <drepper@gmail.com>
33819
3a965496
UD
33820 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
33821 problem.
33822
9bea3473
UD
33823 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
33824
f101631b
UD
338252011-11-29 Joseph Myers <joseph@codesourcery.com>
33826
33827 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
33828 conditional on GCC version.
33829 (__arch_compare_and_exchange_val_8_acq)
33830 (__arch_compare_and_exchange_val_16_acq)
33831 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
33832 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
33833 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
33834
a98275aa
UD
338352011-12-02 Joseph Myers <joseph@codesourcery.com>
33836
33837 * sysdeps/sh/backtrace.c: New file.
33838
d4cc29a2
AS
338392011-12-02 Andreas Schwab <schwab@redhat.com>
33840
33841 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
33842 parenthesis.
33843
6257af2d
AS
338442011-12-01 Andreas Schwab <schwab@redhat.com>
33845
33846 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
33847 falling back to utime.
33848
b5f44c1a
AS
338492011-11-30 Andreas Schwab <schwab@redhat.com>
33850
33851 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
33852 expectations for float.
33853
f3a6cc0a
AS
338542011-11-29 Andreas Schwab <schwab@redhat.com>
33855
33856 * locale/weight.h (findidx): Add parameter len.
33857 * locale/weightwc.h (findidx): Likewise.
33858 * posix/fnmatch_loop.c (FCT): Adjust caller.
33859 * posix/regcomp.c (build_equiv_class): Likewise.
33860 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
33861 * posix/regexec.c (check_node_accept_bytes): Likewise.
33862 * string/strcoll_l.c (STRCOLL): Likewise.
33863 * string/strxfrm_l.c (STRXFRM): Likewise.
33864
9d65ea3a
UD
338652011-11-17 Ulrich Drepper <drepper@gmail.com>
33866
33867 * Makefile.in: Remove CVSOPT handling.
33868 * configure.in: Remove use of AC_REVISION.
33869 * iconvdata/Makefile (distribute): No need to filter out CVS.
33870 * scripts/list-sources.sh: Remove CVS, subversion and monotone
33871 handling.
33872
5583a086
AS
338732011-11-16 Andreas Schwab <schwab@redhat.com>
33874
33875 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
33876 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
33877 [USE_AS_STRNCASECMP_L]: Likewise.
33878 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
33879 NO_TLS_DIRECT_SEG_REFS.
33880 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
33881 Fix argument offsets for non-PIC.
33882 [USE_AS_STRNCASECMP_L]: Likewise.
33883 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
33884 NO_TLS_DIRECT_SEG_REFS.
33885
d62a8200
UD
338862011-11-15 Ulrich Drepper <drepper@gmail.com>
33887
9d65ea3a 33888 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
33889 O_CLOEXEC.
33890 * locale/loadlocale.c (_nl_load_locale): Likewise.
33891
09f93bd3
AS
338922011-11-15 Andreas Schwab <schwab@redhat.com>
33893
446514f9
AS
33894 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
33895 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
33896 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
33897 (SYSCALL_GETTIME): Set errno on error.
33898
09f93bd3
AS
33899 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
33900 count references to noai6ai_cached.
33901
312be3f9
UD
339022011-11-15 Ulrich Drepper <drepper@gmail.com>
33903
33904 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
33905
33906 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
33907 FD_CLOEXEC for /proc/self/maps.
33908
33909 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
33910 FD_CLOEXEC for /proc/meminfo.
33911
33912 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
33913 gai.conf.
33914
33915 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
33916 FD_CLOEXEC for given file.
33917
33918 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
33919
33920 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
33921 FD_CLOEXEC for /etc/hosts.
33922 (_gethtent): Likewise.
33923
33924 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
33925
33926 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
33927 cancellation and set FD_CLOEXEC for /etc/netgroup.
33928
33929 * nss/nss_files/files-key.c (search): Don't allow cancellation when
33930 reading /etc/publickey.
33931
33932 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
33933 allow cancellation when reading /etc/group.
33934
33935 * nss/nss_files/files-alias.c (internal_setent): Don't allow
33936 cancellation.
33937 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
33938
33939 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
33940 when using data file.
33941
33942 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
33943
33944 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
33945 (write_nis_obj): Use "c" and "e" in fopen.
33946
33947 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
33948
33949 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
33950
33951 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
33952
33953 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
33954
33955 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
33956 locale.alias.
33957
33958 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
33959
33960 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
33961
33962 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
33963
33964 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
33965 file parsing and set FD_CLOEXEC.
33966
82af0fa8
UD
339672011-11-14 Ulrich Drepper <drepper@gmail.com>
33968
33969 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
33970
a5fb313c
AS
339712011-11-14 Andreas Schwab <schwab@redhat.com>
33972
33973 * malloc/arena.c (arena_get2): Don't call reused_arena when
33974 _int_new_arena failed.
33975
6abf3465
UD
339762011-11-14 Ulrich Drepper <drepper@gmail.com>
33977
33978 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
33979 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
33980 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
33981 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33982 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33983 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
33984 to compile strcasecmp and strncasecmp.
33985 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
33986 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
33987
33988 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
33989
76e3966e
UD
339902011-11-13 Ulrich Drepper <drepper@gmail.com>
33991
33992 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
33993 locale-defines.sym to gen-as-const-headers.
33994 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
33995 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
33996 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
33997 to compile strcasecmp and strncasecmp.
33998 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
33999 strcasecmp_l and strncasecmp_l.
34000 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
34001 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
34002 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
34003 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
34004 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
34005 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
34006 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
34007 * sysdeps/i386/i686/multiarch/strncase.S: New file.
34008 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
34009 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
34010 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
34011
ab26144e
UD
340122011-11-12 Ulrich Drepper <drepper@gmail.com>
34013
7edb22ef
UD
34014 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
34015 result of SYSDEP_GETTIME_CPU to retval.
34016 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
34017 parameter list to macro. Remove trailing semicolon. Adjust users.
34018
9694fc44
UD
34019 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
34020 variable.
34021
8ad89ef8
UD
34022 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
34023 mantissa words.
34024 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
34025
0c822ef9
UD
34026 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
34027 from unused variable.
34028
874e0564
UD
34029 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
34030 DWARF definitions.
34031 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
34032 for assembling.
34033
3a2edc79
UD
34034 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
34035 over namespaces.
34036
f3c2577f
UD
34037 * sunrpc/rpc_prot.c (rejected): Fix case value.
34038
294ce126
UD
34039 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
34040 unsigned long long int to avoid warnings in shift.
34041
5e2b63c6
UD
34042 * posix/regex_internal.c (re_string_reconstruct): Actually use result
34043 of use of trans.
34044 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
34045 variable tmp.
34046
e7f4b08e
UD
34047 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
34048 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
34049 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
34050
ab26144e
UD
34051 * nis/nis_table.c (nis_list): Use variable of correct type for
34052 result of __follow_path call.
34053
8a6d5255
AZ
340542011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34055
34056 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
34057 of math functions ceil, trunc, floor, round, and sqrt, when
34058 avaliable on the platform.
34059 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
34060 name clash.
34061 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34062 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
34063 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
34064
aaddc98c
MP
340652011-10-30 Marek Polacek <mpolacek@redhat.com>
34066
34067 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
34068 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
34069
95b7042b
RM
340702011-11-11 Roland McGrath <roland@hack.frob.com>
34071
34072 * include/unistd.h: Fix __readlink return type.
34073 Reported by Chris Metcalf <cmetcalf@tilera.com>.
34074
57769839
UD
340752011-11-11 Ulrich Drepper <drepper@gmail.com>
34076
34077 * stdlib/ucontext.h: Undo last change for makecontext.
34078
edc5984d
AS
340792011-11-11 Andreas Schwab <schwab@redhat.com>
34080
98591e58
AS
34081 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
34082
edc5984d
AS
34083 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
34084 * setjmp/setjmp.h: Mark functions as non-leaf.
34085 * setjmp/bits/setjmp2.h: Likewise.
34086 * stdlib/ucontext.h: Likewise.
34087
77cdc054
AS
340882011-11-10 Andreas Schwab <schwab@redhat.com>
34089
34090 * malloc/arena.c (_int_new_arena): Don't increment narenas.
34091 (reused_arena): Don't check arena limit.
34092 (arena_get2): Atomically check arena limit.
34093
fe72eebd
UD
340942011-11-08 Ulrich Drepper <drepper@gmail.com>
34095
5f078c32
UD
34096 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
34097 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
34098
fe72eebd
UD
34099 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
34100 instructions.
34101
ae1bc2fa
AS
341022011-11-07 Andreas Schwab <schwab@redhat.com>
34103
7583a88d
AS
34104 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
34105 handler when locking.
34106
ae1bc2fa
AS
34107 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34108 Fix size of allocated buffer.
34109
10fb0bfa
AS
341102011-11-04 Andreas Schwab <schwab@redhat.com>
34111
998832a4
AS
34112 [BZ #10103]
34113 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
34114 declarations for long double functions.
34115 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
34116
10fb0bfa
AS
34117 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
34118
3d7ba52b
AS
341192011-11-03 Andreas Schwab <schwab@redhat.com>
34120
a9ae54a1
AS
34121 * nscd/nscd.c (main): Don't start AVC thread until credentials are
34122 installed.
34123
3d7ba52b
AS
34124 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
34125 is disabled.
34126
bc8db248
ST
341272011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
34128
34129 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
34130
45b96dd6
AS
341312011-11-01 Andreas Schwab <schwab@linux-m68k.org>
34132
647776f6
AS
34133 * include/alloca.h (stackinfo_alloca_round): Define.
34134 (extend_alloca): Use it.
34135 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
34136 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
34137 here.
34138
d91a8b93
AS
34139 * scripts/check-local-headers.sh: Ignore libaudit.h.
34140
45b96dd6
AS
34141 * nscd/Makefile (extra-objs): Make recursively expanded.
34142
432d41ce
UD
341432011-11-01 Ulrich Drepper <drepper@gmail.com>
34144
34372fc6
UD
34145 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
34146 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
34147
fadb59f8
UD
34148 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
34149 * posix/tst-rfc3484-2.c: Likewise.
34150 * posix/tst-rfc3484-3.c: Likewise.
34151
78239589
UD
34152 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34153 process_vm_writev.
34154 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
34155 process_vm_writev.
34156 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
34157 process_vm_writev from libc using GLIBC_2.15 version.
34158
432d41ce
UD
34159 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
34160
02f9c6cf
PP
341612011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
34162
34163 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
34164 stack usage.
34165
3a2c0242
UD
341662011-10-31 Ulrich Drepper <drepper@gmail.com>
34167
f4ec4833
UD
34168 [BZ #13367]
34169 * nss/getent.c (initgroups_keys): Show error message in case no group
34170 names are given.
34171
3a2c0242
UD
34172 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
34173 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
34174 __bump_nl_timestamp.
34175 * nscd/connections (nscd_init): When host database is served open
34176 netlink socket and request notification about configuration changes.
34177 (main_loop_poll): Track netlink file descriptor and bump timestamp
34178 in case data becomes available.
34179 (main_loop_epoll): Likewise.
34180 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
34181 (database_pers_head): Add extra_data fileds.
34182 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
34183 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
34184 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
34185 Adjust caller.
34186 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
34187 in6ai data, call __free_in6ai.
34188 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
34189 Add -DHAVE_NETLINK.
34190 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
34191 interface information. Reuse previous data if netlink timestamp
34192 is not changed.
34193 (__bump_nl_timestamp): New function.
34194 (__free_in6ai): New function.
34195
636064eb
UD
341962011-10-30 Ulrich Drepper <drepper@gmail.com>
34197
34198 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
34199 close_not_cancel_no_status here.
34200 (__check_pf): Reorganize code a bit to not call close twice if OOM.
34201
9beb2334
UD
342022011-10-29 Ulrich Drepper <drepper@gmail.com>
34203
6ef76f3b
UD
34204 [BZ #13276]
34205 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
34206 return value.
34207
0ffc4f3e 34208 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
34209 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
34210 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
34211
cb95113e
UD
342122011-07-03 Andreas Jaeger <aj@suse.de>
34213
34214 [BZ #10709]
34215 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
34216 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
34217 * math/libm-test.inc (sin_test): Add test case.
34218
a1b560ff
UD
342192011-10-29 Ulrich Drepper <drepper@gmail.com>
34220
c9aaface
UD
34221 [BZ #13337]
34222 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
34223 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
34224
d272e7f1
UD
34225 * elf/chroot_canon.c (chroot_canon): Cleanups.
34226
1bc33071
UD
34227 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
34228
1760874d
TJ
34229 [BZ #13335]
34230 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
34231 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
34232
51d91b18
UD
34233 * string/test-strchr.c: Make usable for strchrnul testing.
34234 * string/test-strchrnul.c: New file.
34235 * string/Makefile (strop-tests): Add strchrnul.
34236
a1b560ff 34237 * po/it.po: Update from translation team.
b611fb81 34238 * po/es.po: Likewise.
a1b560ff 34239
a5b81e1f
UD
342402011-10-28 Ulrich Drepper <drepper@gmail.com>
34241
fd52bc6d
UD
34242 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
34243 the three constants needed as parameters. Drop the others.
34244 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
34245 __m128i_strloadu_tolower.
52e4b9eb
UD
34246 Create and initialize variable zero and use it in all the places
34247 where _mm_setzero_si128 was used.
fd52bc6d 34248
a5b81e1f
UD
34249 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
34250 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
34251 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
34252 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
34253 anymore.
34254 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
34255 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
34256 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
34257 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
34258 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
34259 __mpranred, __mptan.
34260 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
34261 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
34262 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
34263 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
34264 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
34265 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
34266 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
34267 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
34268 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
34269
b4343346
AS
342702011-10-28 Andreas Schwab <schwab@redhat.com>
34271
0c92d8a8
AS
34272 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
34273 redefine if SHARED.
34274 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
34275
b4343346
AS
34276 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
34277 wide char related routines to wcsmbs subdir.
34278
3871f58f
AS
342792011-10-27 Andreas Schwab <schwab@redhat.com>
34280
34281 [BZ #13344]
34282 * misc/sys/cdefs.h (__THROWNL): Define.
34283 * posix/unistd.h: Use __THREADNL instead of __THREAD
34284 for memory synchronization functions.
34285
94d44d9f
RM
342862011-10-26 Roland McGrath <roland@hack.frob.com>
34287
21b64b15 34288 [BZ #13349]
94d44d9f
RM
34289 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
34290 doesn't exist.
34291 * manual/stdio.texi (Obstack Streams): Node removed.
34292
f6ce9294
AS
342932011-10-26 Andreas Schwab <schwab@redhat.com>
34294
80479147
AS
34295 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
34296 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34297 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34298
f6ce9294
AS
34299 * math/math_private.h (math_force_eval): Allow non-addressable
34300 arguments.
34301 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
34302
618280a1
UD
343032011-10-25 Ulrich Drepper <drepper@gmail.com>
34304
e0016b11
UD
34305 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
34306 file is not needed.
34307
34308 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
34309 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34310 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34311 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34312 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34313 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34314 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34315 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
34316 Add AVX variants.
34317 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
34318 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
34319 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
34320 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
34321 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
34322 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
34323 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
34324 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
34325 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
34326 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
34327 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
34328 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
34329 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
34330 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
34331 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
34332 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
34333 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
34334 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
34335 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
34336
34337 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
34338 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
34339
618280a1
UD
34340 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
34341 place. Use VEX encoding when compiling for AVX.
34342
37822576
AS
343432011-10-25 Andreas Schwab <schwab@redhat.com>
34344
1f1e1947
AS
34345 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
34346 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
34347
37822576
AS
34348 * string/test-strchr.c (do_test): Don't generate NUL bytes.
34349
31ea014d
UD
343502011-10-25 Ulrich Drepper <drepper@gmail.com>
34351
d7826aa1 34352 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 34353 useless if() expression.
d7826aa1
UD
34354 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34355 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34356 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34357 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34358 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34359 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34360 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34361 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34362 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34363 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34364 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34365 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34366 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34367 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34368 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34369 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34370 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34371 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34372 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34373
31ea014d
UD
34374 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
34375
16437fec
AS
343762011-10-25 Andreas Schwab <schwab@redhat.com>
34377
34378 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
34379 condition.
34380 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34381
31d3cc00
UD
343822011-10-25 Ulrich Drepper <drepper@gmail.com>
34383
34384 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
34385 .text section. Avoid duplicate constants.
34386 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34387 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34388 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34389 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34390 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34391 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34392 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34393 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34394 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34395 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
34396 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34397 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34398 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34399 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34400 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34401 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34402 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34403 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34404 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34405 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34406 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34407 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34408 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34409 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
34410 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
34411 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
34412 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
34413 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
34414 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
34415 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
34416 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
34417 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
34418 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34419 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
34420 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
34421 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
34422 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
34423 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
34424 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
34425 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
34426 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
34427 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
34428 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
34429 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
34430 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
34431
58985aa9
UD
344322011-10-24 Ulrich Drepper <drepper@gmail.com>
34433
202c9deb
UD
34434 * sysdeps/x86_64/dla.h: Move to ...
34435 * sysdeps/x86_64/fpu/dla.h: ...here.
34436 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
34437 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 34438
af968f62
UD
34439 * config.make.in: Add have-mfma4 entry.
34440 * configure.in: Substitute libc_cv_cc_fma4.
34441 * math/Makefile (dbl-only-routines): Add sincostab.
34442 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
34443 Use __sincostab not sincos.
34444 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
34445 name is a macro.
34446 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34447 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34448 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34449 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
34450 using __copysign.
34451 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
34452 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
34453 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
34454 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
34455 and __inv.
34456 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
34457 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
34458 __copysign.
34459 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
34460 define aliases when function name is a macro.
34461 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
34462 sysdeps/ieee754/dbl-64/sincos.tbl.
34463 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
34464 fma4-enabled routines.
34465 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
34466 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
34467 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
34468 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
34469 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
34470 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
34471 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
34472 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
34473 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
34474 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
34475 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
34476 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
34477 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
34478 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
34479 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
34480 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
34481 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
34482 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
34483 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
34484 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
34485 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
34486 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
34487 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
34488 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
34489 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
34490 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
34491 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
34492 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
34493 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
34494 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
34495
58985aa9
UD
34496 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
34497 rename.
34498 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34499 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34500 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34501 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34502 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34503 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34504 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34505 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34506
a201fbcf
AS
345072011-10-24 Andreas Schwab <schwab@redhat.com>
34508
34509 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
34510
fc2ee42a
LD
345112011-10-23 Ulrich Drepper <drepper@gmail.com>
34512
bb3129bd
UD
34513 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
34514
0275fff8
UD
34515 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
34516 prediction.
34517 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
34518
2fa2ae85
UD
34519 * string/strnlen.c: Don't define STRNLEN, reverse logic.
34520 Remove unused variable magic_bits.
34521 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
34522
fc2ee42a
LD
34523 * string/strnlen.c: Define and use STRNLEN macro.
34524 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
34525 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
34526 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
34527 * wcsmbs/wcslen.c: Define and use WCSLEN.
34528 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
34529 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
34530 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
34531 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
34532 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
34533 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
34534 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34535
ce7dd29f
LD
345362011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34537
34538 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34539 strnlen-sse2-no-bsf.
34540 Rename strlen-no-bsf to strlen-sse2-no-bsf.
34541 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
34542 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
34543 Add strnlen support.
34544 (USE_AS_STRNLEN): New macro.
34545 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
34546 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
34547 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
34548 * sysdeps/x86_64/wcslen.S: New file.
34549
979c70a3
MZ
345502011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
34551
34552 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34553 XMM-moves are used for copying on small sizes.
34554
2d09f82f
LD
345552011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34556
34557 * wcsmbs/Makefile (strop-tests): Add wcschr.
34558 * wcsmbs/test-wcschr.c: New file.
34559 * string/test-strchr.c: Update.
34560 Add wcschr support.
34561 (WIDE): New macro.
34562
619fccca
LD
345632011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34564
2d09f82f 34565 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
34566 * wcsmbs/test-wcslen.c: New file.
34567 * string/test-strlen.c: Update.
34568 Add wcslen support.
34569 (WIDE): New macro.
34570
09f699ea
UD
345712011-10-23 Ulrich Drepper <drepper@gmail.com>
34572
34573 * po/it.po: Update from translation team.
34574
95584d3b
LD
345752011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34576
34577 * sysdeps/x86_64/wcscmp.S: Update.
34578 Fix wrong comparison semantics.
34579 wcscmp shall use signed comparison not unsigned.
34580 Don't use substraction to avoid overflow bug.
34581 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
34582 * wcsmbc/wcscmp.c: Likewise.
34583 * string/test-strcmp.c: Likewise.
34584 Add new tests to check cases with negative values.
34585
c8b3296b
UD
345862011-10-23 Ulrich Drepper <drepper@gmail.com>
34587
34588 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
34589 * sysdeps/x86_64/dla.h: ...here. New file.
34590 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
34591 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34592 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34593 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34594 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34595 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34596 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34597 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34598 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34599
246ad57a
AS
346002011-10-23 Andreas Schwab <schwab@linux-m68k.org>
34601
34602 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
34603 __ynl_finite aliases.
34604
a1a87169
UD
346052011-10-22 Ulrich Drepper <drepper@gmail.com>
34606
0d355eb7
UD
34607 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34608
a1a87169
UD
34609 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
34610 define DLA_FMA.
34611 [DLA_FMA] (EMULV): Use DLA_FMA.
34612 [DLA_FMA] (MUL12): Use EMULV.
34613 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
34614 that are not needed.
34615 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34616 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34617 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34618 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34619 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34620 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34621 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34622
ee2aafe0
AS
346232011-10-22 Andreas Schwab <schwab@linux-m68k.org>
34624
34625 * math/s_nan.c: Undef __nan.
34626 * math/s_nanf.c: Undef __nanf.
34627 * math/s_nanl.c: Undef __nanl.
34628 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
34629 "math_private.h".
34630
bc62c2fb
UD
346312011-10-22 Ulrich Drepper <drepper@gmail.com>
34632
77425c63
UD
34633 * math/s_catan.c: Add branch predictions.
34634 * math/s_catanf.c: Likewise.
34635 * math/s_catanh.c: Likewise.
34636 * math/s_catanhf.c: Likewise.
34637 * math/s_catanhl.c: Likewise.
34638 * math/s_catanl.c: Likewise.
34639 * math/s_cexp.c: Likewise.
34640 * math/s_cexpf.c: Likewise.
34641 * math/s_cexpl.c: Likewise.
34642 * math/s_clog.c: Likewise.
34643 * math/s_clog10.c: Likewise.
34644 * math/s_clog10f.c: Likewise.
34645 * math/s_clog10l.c: Likewise.
34646 * math/s_clogf.c: Likewise.
34647 * math/s_clogl.c: Likewise.
34648 * math/s_csqrt.c: Likewise.
34649 * math/s_csqrtf.c: Likewise.
34650 * math/s_csqrtl.c: Likewise.
34651 * math/s_ctanf.c: Likewise.
34652 * math/s_ctanh.c: Likewise.
34653 * math/s_ctanhf.c: Likewise.
34654 * math/s_ctanhl.c: Likewise.
34655 * math/s_ctanl.c: Likewise.
34656
bc62c2fb
UD
34657 * math/math_private.h: Define __nan, __nanf, __nanl.
34658 * math/s_cacosh.c: Include <math_private.h>.
34659 * math/s_cacoshl.c: Likewise.
34660 * math/s_casinh.c: Likewise.
34661 * math/s_casinhf.c: Likewise.
34662 * math/s_casinhl.c: Likewise.
34663 * math/s_ccos.c: Rely entire on ccosh.
34664 * math/s_ccosf.c: Rely entire on ccoshf.
34665 * math/s_ccosl.c: Rely entirely on ccoshl.
34666 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
34667 Remove tests for FE_INVALID.
34668 * math/s_ccoshf.c: Likewise.
34669 * math/s_ccoshl.c: Likewise.
34670 * math/s_csin.c: Likewise.
34671 * math/s_csinf.c: Likewise.
34672 * math/s_csinh.c Likewise.
34673 * math/s_csinhf.c: Likewise.
34674 * math/s_csinhl.c: Likewise.
34675 * math/s_csinl.c: Likewise.
34676 * math/s_ctan.c: Likewise.
34677 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
34678 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
34679 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
34680
8ec250a4
UD
346812011-10-21 Ulrich Drepper <drepper@gmail.com>
34682
c196fed8
UD
34683 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
34684 compilation problems.
34685
8ec250a4
UD
34686 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
34687 __builtin_expect.
34688
8d4f46c6
UD
346892011-10-20 Ulrich Drepper <drepper@gmail.com>
34690
ed72b654
UD
34691 * sysdeps/i386/configure.in: Test for -mfma4 option.
34692 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
34693 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
34694 COMMON_CPUID_INDEX_80000001.
34695 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
34696 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
34697 use it if FMA3 is not supported.
34698 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
34699
8d4f46c6
UD
34700 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
34701 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34702
d45c60c2
AS
347032011-10-20 Andreas Schwab <schwab@redhat.com>
34704
34705 [BZ #12892]
34706 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
34707 it would create a cycle with a link time dependency.
34708
d9a4d2ab
UD
347092011-10-19 Ulrich Drepper <drepper@gmail.com>
34710
855d1560
UD
34711 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
34712 instruction.
34713 * string/Makefile (strop-tests): Add rawmemchr.
34714 * string/test-rawmemchr.c: New file.
34715
d9a4d2ab
UD
34716 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
34717 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
34718 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
34719 when compiling str{,n}casecmp and when AVX is available. Hook up
34720 new optimized code in initializers.
34721
8f3b1ffe
AS
347222011-10-19 Andreas Schwab <schwab@redhat.com>
34723
34724 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
34725 __feraiseexcept instead of feraiseexcept.
34726
d38f1dba
UD
347272011-10-18 Ulrich Drepper <drepper@gmail.com>
34728
d9a8d0ab
UD
34729 * math/math_private.h: Define defaults for libc_fetestexcept and
34730 libc_feupdateenv.
34731 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
34732 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
34733 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34734 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34735 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34736 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34737 libc_fetestexcept and libc_feupdateenv.
34738
4855e3dd
UD
34739 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
34740 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
34741 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
34742 * sysdeps/x86_64/fpu/math_private.h: Define special version of
34743 libc_feholdexcept_setround.
34744
581d30e3
UD
34745 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
34746 Add s_nearbyint-c and s_nearbyintf-c.
34747 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
34748 nearbyintf inlines.
34749 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
34750 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
34751 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
34752 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
34753
d38f1dba
UD
34754 * math/math_private.h: Define defaults for libc_fegetround,
34755 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
34756 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
34757 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
34758 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
34759 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
34760 standard functions.
34761 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34762 Remove comments and hacks for old compiler versions.
34763 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34764 libc_fegetround, libc_fesetround, libc_feholdexcept, and
34765 libc_feholdexceptl.
34766
caa6c9d8
AS
347672011-10-18 Andreas Schwab <schwab@redhat.com>
34768
34769 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
34770 (__feraiseexcept_renamed): Add __NTH.
34771 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
34772 namespace violations.
34773
97c066e6
UD
347742011-10-17 Ulrich Drepper <drepper@gmail.com>
34775
99ce7b04
UD
34776 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
34777
1004d182
UD
34778 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
34779
228a984d
UD
34780 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
34781 recently added interfaces.
34782 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
34783
c8553a6a
UD
34784 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
34785 about macro parameter expansion.
34786
ed22dcf6
UD
34787 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
34788 __NO_MATH_INLINES is defined. Cleanups.
34789
34790 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
34791 and __floorf is target has SSE4.1.
34792 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
34793 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
34794 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
34795 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
34796
b171c137
UD
34797 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
34798 name.
34799 (floorf): Likewise.
34800
97c066e6
UD
34801 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
34802
629f62ef
AS
348032011-10-17 Andreas Schwab <schwab@redhat.com>
34804
49a43d80
AS
34805 * misc/sys/cdefs.h: Fix last change.
34806
629f62ef
AS
34807 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
34808 database lookup.
34809
e453f6cd
UD
348102011-10-16 Ulrich Drepper <drepper@gmail.com>
34811
aa78043a
UD
34812 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
34813
ad0f5cad
UD
34814 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
34815 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34816 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34817 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34818 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34819 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34820 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34821 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34822 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34823 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
34824 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
34825 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
34826 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
34827 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
34828 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
34829 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
34830 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
34831 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
34832 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
34833 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
34834 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
34835 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
34836
34837 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
34838 ceil, ceilf, floor, floorf.
34839
34840 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
34841 Perform IRELATIVE relocations last.
34842
e453f6cd
UD
34843 * elf/do-rel.h: Add another parameter nrelative, replacing the
34844 local variable with the same name. Change name of the function
34845 to end in Rel or Rela (uppercase).
34846 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
34847 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
34848 elf_dynamic_do_##reloc function.
34849
fd5bdc09
UD
348502011-10-15 Ulrich Drepper <drepper@gmail.com>
34851
79b195b5
UD
34852 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
34853 is sufficient, at least on modern CPUs.
34854
d4a28569
UD
34855 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
34856
b61099b5
UD
34857 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
34858 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
34859
bcf01e6d
UD
34860 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
34861 __expl_finite.
34862 * math/bits/math-finite.h: Add entries for exp.
34863 * math/e_expl.c: Add __*_finite alias.
34864 * sysdeps/i386/fpu/e_exp.S: Likewise.
34865 * sysdeps/i386/fpu/e_expf.S: Likewise.
34866 * sysdeps/i386/fpu/e_expl.c: Likewise.
34867 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34868 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34869 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34870 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34871 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
34872 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34873 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34874
ba1a0d59
UD
34875 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
34876 is sufficient, at least on modern CPUs.
34877
fd5bdc09
UD
34878 * ctype/ctype-info.c (__ctype_init): Define.
34879 * include/ctype.h (__ctype_init): Declare.
34880 (__ctype_b_loc): The variable is always initialized.
34881 (__ctype_toupper_loc): Likewise.
34882 (__ctype_tolower_loc): Likewise.
34883 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
34884 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
34885
7872cfb0
AS
348862011-10-15 Andreas Schwab <schwab@linux-m68k.org>
34887
b468825a
AS
34888 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
34889
7872cfb0
AS
34890 * configure.in: Also look in $cxxmachine/include for C++ system
34891 headers.
34892
be13f7bf
LD
348932011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34894
34895 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
34896 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
34897 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
34898 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
34899 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
34900 (USE_AS_WMEMCMP): New macro.
34901 Fixing indents.
34902 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
34903 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
34904 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
34905 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
34906 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34907 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
34908 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
34909 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
34910 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
34911 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
34912 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
34913 (USE_AS_WMEMCMP): New macro.
34914 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
34915 * sysdeps/string/test-memcmp.c: Update.
34916 Fix simple_wmemcmp.
34917 Add new tests.
34918 * wcsmbs/wmemcmp.c: Update.
34919 (WMEMCMP): New macro.
34920 Fix overflow bug.
34921
556a2007
AJ
349222011-10-12 Andreas Jaeger <aj@suse.de>
34923
34924 [BZ #13268]
34925 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
34926
538faaa7
UD
349272011-10-15 Ulrich Drepper <drepper@gmail.com>
34928
ab6737ff
UD
34929 * libio/iofwide.c (do_length): Avoid warning.
34930
538faaa7
UD
34931 * ctype/ctype.h (__isctype_f): Add missing __THROW.
34932
396a21b1
UD
349332011-10-14 Ulrich Drepper <drepper@gmail.com>
34934
cdf2901f
UD
34935 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
34936
38ad40ce
UD
34937 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
34938 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
34939 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
34940 * sysdeps/i386/i686/fpu/e_log.S: New file.
34941 * sysdeps/i386/i686/fpu/e_logf.S: New file.
34942 * sysdeps/i386/i686/fpu/e_logl.S: New file.
34943
396a21b1
UD
34944 * ctype/ctype.h: Add support for inlined isXXX functions when
34945 compiling C++ code.
34946
6b1f68c9
AS
349472011-10-14 Andreas Schwab <schwab@redhat.com>
34948
349290c0
AS
34949 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34950
6b1f68c9
AS
34951 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
34952
f2282d42
RM
349532011-10-13 Roland McGrath <roland@hack.frob.com>
34954
34955 [BZ #13291]
34956 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
34957
5298ffa8
AS
349582011-10-13 Andreas Schwab <schwab@redhat.com>
34959
714fad23
AS
34960 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
34961 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
34962 feraiseexcept.
34963
81dcc7fb
AS
34964 * sysdeps/x86_64/memrchr.S: Check for zero size.
34965
5298ffa8
AS
34966 * string/stratcliff.c: Add memrchr tests.
34967
951fbcec
LD
349682011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34969
34970 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34971 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
34972 rawmemchr-sse2 rawmemchr-sse2-bsf.
34973 * sysdeps/i386/i686/multiarch/memchr.S: New file.
34974 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
34975 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
34976 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
34977 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
34978 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
34979 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
34980 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
34981 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
34982 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
34983 * string/memrchr.c (MEMRCHR): New macro.
34984
0ac5ae23
UD
349852011-10-12 Ulrich Drepper <drepper@gmail.com>
34986
34987 Add integration with gcc's -ffinite-math-only and optimize wrapper
34988 functions in libm.
34989 * Versions.def: Define GLIBC_2.15 version for libm.
34990 * math/Makefile (headers): Add bits/math-finite.h.
34991 * math/bits/math-finite.h: New file.
34992 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
34993 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
34994 * math/e_acoshl.c: Add __*_finite alias.
34995 * math/e_acosl.c: Likewise.
34996 * math/e_asinl.c: Likewise.
34997 * math/e_atan2l.c: Likewise.
34998 * math/e_atanhl.c: Likewise.
34999 * math/e_coshl.c: Likewise.
35000 * math/e_exp10.c: Likewise.
35001 * math/e_exp10f.c: Likewise.
35002 * math/e_exp10l.c: Likewise.
35003 * math/e_exp2l.c: Likewise.
35004 * math/e_fmodl.c: Likewise.
35005 * math/e_gammal_r.c: Likewise.
35006 * math/e_hypotl.c: Likewise.
35007 * math/e_j0l.c: Likewise.
35008 * math/e_j1l.c: Likewise.
35009 * math/e_jnl.c: Likewise.
35010 * math/e_lgammal_r.c: Likewise.
35011 * math/e_log10l.c: Likewise.
35012 * math/e_log2l.c: Likewise.
35013 * math/e_logl.c: Likewise.
35014 * math/e_powl.c: Likewise.
35015 * math/e_sinhl.c: Likewise.
35016 * math/e_sqrtl.c: Likewise.
35017 * math/e_scalb.c: Completely rewritten and optimized.
35018 * math/e_scalbf.c: Likewise.
35019 * math/e_scalbl.c: Likewise.
35020 * math/w_acos.c: Likewise.
35021 * math/w_acosf.c: Likewise.
35022 * math/w_acosl.c: Likewise.
35023 * math/w_acosh.c: Likewise.
35024 * math/w_acoshf.c: Likewise.
35025 * math/w_acoshl.c: Likewise.
35026 * math/w_asin.c: Likewise.
35027 * math/w_asinf.c: Likewise.
35028 * math/w_asinl.c: Likewise.
35029 * math/w_atan2.c: Likewise.
35030 * math/w_atan2f.c: Likewise.
35031 * math/w_atan2l.c: Likewise.
35032 * math/w_atanh.c: Likewise.
35033 * math/w_atanhf.c: Likewise.
35034 * math/w_atanhl.c: Likewise.
35035 * math/w_exp10.c: Likewise.
35036 * math/w_exp10f.c: Likewise.
35037 * math/w_exp10l.c: Likewise.
35038 * math/w_fmod.c: Likewise.
35039 * math/w_fmodf.c: Likewise.
35040 * math/w_fmodl.c: Likewise.
35041 * math/w_j0.c: Likewise.
35042 * math/w_j0f.c: Likewise.
35043 * math/w_j0l.c: Likewise.
35044 * math/w_j1.c: Likewise.
35045 * math/w_j1f.c: Likewise.
35046 * math/w_j1l.c: Likewise.
35047 * math/w_jn.c: Likewise.
35048 * math/w_jnf.c: Likewise.
35049 * math/w_log.c: Likewise.
35050 * math/w_logf.c: Likewise.
35051 * math/w_logl.c: Likewise.
35052 * math/w_log10.c: Likewise.
35053 * math/w_log10f.c: Likewise.
35054 * math/w_log10l.c: Likewise.
35055 * math/w_log2.c: Likewise.
35056 * math/w_log2f.c: Likewise.
35057 * math/w_log2l.c: Likewise.
35058 * math/w_pow.c: Likewise.
35059 * math/w_powf.c: Likewise.
35060 * math/w_powl.c: Likewise.
35061 * math/w_remainder.c: Likewise.
35062 * math/w_remainderf.c: Likewise.
35063 * math/w_remainderl.c: Likewise.
35064 * math/w_scalb.c: Likewise.
35065 * math/w_scalbf.c: Likewise.
35066 * math/w_scalbl.c: Likewise.
35067 * math/w_sqrt.c: Likewise.
35068 * math/w_sqrtf.c: Likewise.
35069 * math/w_sqrtl.c: Likewise.
35070 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
35071 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
35072 used.
35073 * math/math_private.h: Declare __kernel_standard_f.
35074 * math/w_cosh.c: Remove cruft and optimize a bit.
35075 * math/w_coshf.c: Likewise.
35076 * math/w_coshl.c: Likewise.
35077 * math/w_exp2.c: Likewise.
35078 * math/w_exp2f.c: Likewise.
35079 * math/w_exp2l.c: Likewise.
35080 * math/w_hypot.c: Likewise.
35081 * math/w_hypotf.c: Likewise.
35082 * math/w_hypotl.c: Likewise.
35083 * math/w_lgamma.c: Likewise.
35084 * math/w_lgamma_r.c: Likewise.
35085 * math/w_lgammaf.c: Likewise.
35086 * math/w_lgammaf_r.c: Likewise.
35087 * math/w_lgammal.c: Likewise.
35088 * math/w_lgammal_r.c: Likewise.
35089 * math/w_sinh.c: Likewise.
35090 * math/w_sinhf.c: Likewise.
35091 * math/w_sinhl.c: Likewise.
35092 * math/w_tgamma.c: Likewise.
35093 * math/w_tgammaf.c: Likewise.
35094 * math/w_tgammal.c: Likewise.
35095 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35096 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35097 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
35098 Minor optimizations. Pretty printing. Remove cruft.
35099 * sysdeps/i386/fpu/e_acosf.S: Likewise.
35100 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35101 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35102 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35103 * sysdeps/i386/fpu/e_acosl.c: Likewise.
35104 * sysdeps/i386/fpu/e_asin.S: Likewise.
35105 * sysdeps/i386/fpu/e_asinf.S: Likewise.
35106 * sysdeps/i386/fpu/e_atan2.S: Likewise.
35107 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
35108 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
35109 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35110 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35111 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35112 * sysdeps/i386/fpu/e_exp10.S: Likewise.
35113 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
35114 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
35115 * sysdeps/i386/fpu/e_exp2.S: Likewise.
35116 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
35117 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
35118 * sysdeps/i386/fpu/e_fmod.S: Likewise.
35119 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
35120 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
35121 * sysdeps/i386/fpu/e_hypot.S: Likewise.
35122 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
35123 * sysdeps/i386/fpu/e_log.S: Likewise.
35124 * sysdeps/i386/fpu/e_log10.S: Likewise.
35125 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35126 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35127 * sysdeps/i386/fpu/e_log2.S: Likewise.
35128 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35129 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35130 * sysdeps/i386/fpu/e_logf.S: Likewise.
35131 * sysdeps/i386/fpu/e_logl.S: Likewise.
35132 * sysdeps/i386/fpu/e_pow.S: Likewise.
35133 * sysdeps/i386/fpu/e_powf.S: Likewise.
35134 * sysdeps/i386/fpu/e_powl.S: Likewise.
35135 * sysdeps/i386/fpu/e_remainder.S: Likewise.
35136 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
35137 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
35138 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35139 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35140 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35141 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
35142 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
35143 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
35144 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35145 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35146 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35147 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35148 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35149 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35150 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
35151 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35152 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35153 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35154 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35155 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35156 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35157 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35158 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35159 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35160 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35161 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35162 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35163 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35164 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35165 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35166 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35167 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35168 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35169 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35170 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
35171 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35172 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
35173 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35174 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35175 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35176 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35177 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35178 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35179 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35180 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35181 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35182 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35183 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35184 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35185 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35186 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35187 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35188 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35189 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35190 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35191 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35192 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35193 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
35194 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35195 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35196 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35197 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35198 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35199 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35200 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35201 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35202 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35203 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35204 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35205 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35206 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35207 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35208 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35209 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35210 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35211 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35212 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
35213 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35214 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35215 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35216 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35217 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35218 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35219 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35220 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
35221 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35222 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35223 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35224 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35225 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35226 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
35227 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35228 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35229 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35230 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35231 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35232 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35233 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35234 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35235 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35236 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35237 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
35238 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35239 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
35240 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
35241 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
35242 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
35243 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
35244 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
35245 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
35246 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
35247 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
35248 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35249 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35250 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35251 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35252 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
35253 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35254 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
35255 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
35256 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
35257 (__isnanf): Likewise.
35258 (__isinf_ns): Likewise.
35259 (__isinf_nsf): Likewise.
35260 (__finite): Likewise.
35261 (__finitef): Likewise.
35262 (__ieee754_sqrt): Define as macro.
35263 (__ieee754_sqrtf): Define as macro.
35264 (__ieee754_sqrtl): Define as macro.
35265 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
35266 inlined copy.
35267 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
35268 __FINITE_MATH_ONLY__ consistent.
35269 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
35270
12cc2fcd
AS
352712011-10-10 Andreas Schwab <schwab@linux-m68k.org>
35272
a843a204
AS
35273 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
35274 of rawmemchr.
35275
12cc2fcd
AS
35276 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
35277
c853acd5
UD
352782011-10-09 Ulrich Drepper <drepper@gmail.com>
35279
35280 * po/ja.po: Update from translation team.
35281
c658d255
RM
352822011-10-08 Roland McGrath <roland@hack.frob.com>
35283
110946e4
RM
35284 * locale/programs/locarchive.c (prepare_address_space): New function.
35285 (create_archive, enlarge_archive, open_archive): Use it.
35286
50604220
RM
35287 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
35288 inside [SHARED], where it is used.
35289
c658d255
RM
35290 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
35291
35292 * nss/getent.c (netgroup_keys): Remove unused variable.
35293 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35294
6a621eb7
UD
352952011-10-08 Ulrich Drepper <drepper@gmail.com>
35296
7edb55ce
UD
35297 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
35298 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
35299 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
35300 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
35301 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
35302 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
35303 * math/Makefile (libm-calls): Add s_isinf_ns.
35304 * math/divtc3.c: Use __isinf_nsl instead of isinf.
35305 * math/multc3.c: Likewise.
35306 * math/s_casin.c: Likewise.
35307 * math/s_casinf.c: Likewise.
35308 * math/s_casinl.c: Likewise.
35309 * math/s_ccos.c: Likewise.
35310 * math/s_ccosf.c: Likewise.
35311 * math/s_ccosl.c: Likewise.
35312 * math/s_ctan.c: Likewise.
35313 * math/s_ctanf.c: Likewise.
35314 * math/s_ctanh.c: Likewise.
35315 * math/s_ctanhf.c: Likewise.
35316 * math/s_ctanhl.c: Likewise.
35317 * math/s_ctanl.c: Likewise.
35318 * math/w_fmod.c: Likewise.
35319 * math/w_fmodf.c: Likewise.
35320 * math/w_fmodl.c: Likewise.
35321 * math/w_remainder.c: Likewise.
35322 * math/w_remainderf.c: Likewise.
35323 * math/w_remainderl.c: Likewise.
35324 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
35325 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
35326 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
35327 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
35328 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
35329 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
35330 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
35331 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
35332
187da0ae
UD
35333 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
35334 of the number.
35335 * stdio-common/printf_fphex.c: Likewise.
35336 * stdio-common/printf_size.c: Likewise.
35337
9277c064
UD
35338 * math/e_exp10.c: Include math_private.h using <...> not "...".
35339 * math/e_exp10f.c: Likewise.
35340 * math/e_exp10l.c: Likewise.
35341 * math/e_exp2l.c: Likewise.
35342 * math/e_j0l.c: Likewise.
35343 * math/e_j1l.c: Likewise.
35344 * math/e_jnl.c: Likewise.
35345 * math/e_lgammal_r.c: Likewise.
35346 * math/e_rem_pio2l.c: Likewise.
35347 * math/e_scalb.c: Likewise.
35348 * math/e_scalbf.c: Likewise.
35349 * math/e_scalbl.c: Likewise.
35350 * math/k_cosl.c: Likewise.
35351 * math/k_sinl.c: Likewise.
35352 * math/k_tanl.c: Likewise.
35353 * math/s_cacoshf.c: Likewise.
35354 * math/s_catan.c: Likewise.
35355 * math/s_catanf.c: Likewise.
35356 * math/s_catanh.c: Likewise.
35357 * math/s_catanhf.c: Likewise.
35358 * math/s_catanhl.c: Likewise.
35359 * math/s_catanl.c: Likewise.
35360 * math/s_ccosh.c: Likewise.
35361 * math/s_ccoshf.c: Likewise.
35362 * math/s_ccoshl.c: Likewise.
35363 * math/s_cexp.c: Likewise.
35364 * math/s_cexpf.c: Likewise.
35365 * math/s_cexpl.c: Likewise.
35366 * math/s_clog.c: Likewise.
35367 * math/s_clog10.c: Likewise.
35368 * math/s_clog10f.c: Likewise.
35369 * math/s_clog10l.c: Likewise.
35370 * math/s_clogf.c: Likewise.
35371 * math/s_clogl.c: Likewise.
35372 * math/s_csin.c: Likewise.
35373 * math/s_csinf.c: Likewise.
35374 * math/s_csinh.c: Likewise.
35375 * math/s_csinhf.c: Likewise.
35376 * math/s_csinhl.c: Likewise.
35377 * math/s_csinl.c: Likewise.
35378 * math/s_csqrt.c: Likewise.
35379 * math/s_csqrtf.c: Likewise.
35380 * math/s_csqrtl.c: Likewise.
35381 * math/s_ctan.c: Likewise.
35382 * math/s_ctanf.c: Likewise.
35383 * math/s_ctanh.c: Likewise.
35384 * math/s_ctanhf.c: Likewise.
35385 * math/s_ctanhl.c: Likewise.
35386 * math/s_ctanl.c: Likewise.
35387 * math/s_ldexp.c: Likewise.
35388 * math/s_ldexpf.c: Likewise.
35389 * math/s_ldexpl.c: Likewise.
35390 * math/s_significand.c: Likewise.
35391 * math/s_significandf.c: Likewise.
35392 * math/s_significandl.c: Likewise.
35393 * math/w_acos.c: Likewise.
35394 * math/w_acosf.c: Likewise.
35395 * math/w_acosh.c: Likewise.
35396 * math/w_acoshf.c: Likewise.
35397 * math/w_acoshl.c: Likewise.
35398 * math/w_acosl.c: Likewise.
35399 * math/w_asin.c: Likewise.
35400 * math/w_asinf.c: Likewise.
35401 * math/w_asinl.c: Likewise.
35402 * math/w_atan2.c: Likewise.
35403 * math/w_atan2f.c: Likewise.
35404 * math/w_atan2l.c: Likewise.
35405 * math/w_atanh.c: Likewise.
35406 * math/w_atanhf.c: Likewise.
35407 * math/w_atanhl.c: Likewise.
35408 * math/w_cosh.c: Likewise.
35409 * math/w_coshf.c: Likewise.
35410 * math/w_coshl.c: Likewise.
35411 * math/w_dremf.c: Likewise.
35412 * math/w_exp10.c: Likewise.
35413 * math/w_exp10f.c: Likewise.
35414 * math/w_exp10l.c: Likewise.
35415 * math/w_exp2.c: Likewise.
35416 * math/w_exp2f.c: Likewise.
35417 * math/w_fmod.c: Likewise.
35418 * math/w_fmodf.c: Likewise.
35419 * math/w_fmodl.c: Likewise.
35420 * math/w_hypot.c: Likewise.
35421 * math/w_hypotf.c: Likewise.
35422 * math/w_hypotl.c: Likewise.
35423 * math/w_j0.c: Likewise.
35424 * math/w_j0f.c: Likewise.
35425 * math/w_j0l.c: Likewise.
35426 * math/w_j1.c: Likewise.
35427 * math/w_j1f.c: Likewise.
35428 * math/w_j1l.c: Likewise.
35429 * math/w_jn.c: Likewise.
35430 * math/w_jnf.c: Likewise.
35431 * math/w_jnl.c: Likewise.
35432 * math/w_lgamma.c: Likewise.
35433 * math/w_lgamma_r.c: Likewise.
35434 * math/w_lgammaf.c: Likewise.
35435 * math/w_lgammaf_r.c: Likewise.
35436 * math/w_lgammal.c: Likewise.
35437 * math/w_lgammal_r.c: Likewise.
35438 * math/w_log.c: Likewise.
35439 * math/w_log10.c: Likewise.
35440 * math/w_log10f.c: Likewise.
35441 * math/w_log10l.c: Likewise.
35442 * math/w_log2.c: Likewise.
35443 * math/w_log2f.c: Likewise.
35444 * math/w_log2l.c: Likewise.
35445 * math/w_logf.c: Likewise.
35446 * math/w_logl.c: Likewise.
35447 * math/w_pow.c: Likewise.
35448 * math/w_powf.c: Likewise.
35449 * math/w_powl.c: Likewise.
35450 * math/w_remainder.c: Likewise.
35451 * math/w_remainderf.c: Likewise.
35452 * math/w_remainderl.c: Likewise.
35453 * math/w_scalb.c: Likewise.
35454 * math/w_scalbf.c: Likewise.
35455 * math/w_scalbl.c: Likewise.
35456 * math/w_sinh.c: Likewise.
35457 * math/w_sinhf.c: Likewise.
35458 * math/w_sinhl.c: Likewise.
35459 * math/w_sqrt.c: Likewise.
35460 * math/w_sqrtf.c: Likewise.
35461 * math/w_sqrtl.c: Likewise.
35462 * math/w_tgamma.c: Likewise.
35463 * math/w_tgammaf.c: Likewise.
35464 * math/w_tgammal.c: Likewise.
35465
6a621eb7
UD
35466 * po/ja.po: Update from translation team.
35467
bf582445
AJ
354682011-09-29 Andreas Jaeger <aj@suse.de>
35469
f9efbf3a
AJ
35470 [BZ #13179]
35471 * sunrpc/netname.c (netname2host): Fix logic.
35472
bf582445
AJ
35473 [BZ #6779]
35474 [BZ #6783]
35475 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
35476 correctly.
35477 * math/w_remainder.c (__remainder): Likewise.
35478 * math/w_remainderf.c (__remainderf): Likewise.
35479 * math/libm-test.inc (remainder_test): Add test cases.
35480
48693bea
AK
354812011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35482
35483 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
35484 sdiv_qrnnd.
35485
42622229
LD
354862011-10-07 Ulrich Drepper <drepper@gmail.com>
35487
35488 * string/test-memcmp.c: Avoid unncessary #defines.
35489 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
35490
093ecf92
LD
354912011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35492
35493 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
35494 Use new sse2 version for core i3 - i7 as it's faster
35495 than sse42 version.
35496 (bit_Prefer_PMINUB_for_stringop): New.
35497 * sysdeps/x86_64/rawmemchr.S: Update.
35498 Replace with faster SSE2 version.
35499 * sysdeps/x86_64/memrchr.S: New file.
35500 * sysdeps/x86_64/memchr.S: Update.
35501 Replace with faster SSE2 version.
35502
fde56e5c
MP
355032011-09-12 Marek Polacek <mpolacek@redhat.com>
35504
35505 * elf/dl-load.c (lose): Add cast to avoid warning.
35506
21fd49a9
UD
355072011-10-07 Ulrich Drepper <drepper@gmail.com>
35508
5a06e643
UD
35509 * po/ca.po: Update from translation team.
35510
684ae515
UD
35511 * inet/getnetgrent_r.c: Hook up nscd.
35512 * nscd/Makefile (routines): Add nscd_netgroup.
35513 (nscd-modules): Add netgroupcache.
35514 (CFLAGS-netgroupcache.c): Define.
35515 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
35516 (cache_search): Add const to second parameter.
35517 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
35518 INNETGR.
35519 (dbs): Add netgrdb entry.
35520 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
35521 (verify_persistent_db): Handle netgrdb.
35522 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
35523 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
35524 GETFDNETGR.
35525 (netgroup_response_header): Define.
35526 (innetgroup_response_header): Define.
35527 (datahead): Add netgroup_response_header and innetgroup_response_header
35528 elements.
35529 * nscd/nscd.conf: Add entries for netgroup cache.
35530 * nscd/nscd.h (dbtype): Add netgrdb.
35531 (_PATH_NSCD_NETGROUP_DB): Define.
35532 (netgroup_iov_disabled): Declare.
35533 (xmalloc, xcalloc, xrealloc): Move declarations here.
35534 (cache_search): Adjust prototype.
35535 Add netgroup-related prototypes.
35536 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
35537 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
35538 (__nscd_innetgr): Declare.
35539 * nscd/selinux.c (perms): Use access_vector_t as element type and
35540 add netgroup-related initializers.
35541 * nscd/netgroupcache.c: New file.
35542 * nscd/nscd_netgroup.c: New file.
35543 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
35544 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
35545 For four parameters use innetgr.
35546 * nss/nss_files/files-init.c: Add definition and callback for netgr.
35547 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
35548 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
35549 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
35550
21fd49a9
UD
35551 * nscd/connections.c (register_traced_file): Don't register file
35552 for disabled databases.
35553
054c0457
UD
355542011-10-06 Ulrich Drepper <drepper@gmail.com>
35555
32b63198
UD
35556 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
35557
054c0457
UD
35558 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
35559 from tree and freeing node.
35560
64031225
JO
355612011-09-25 Jiri Olsa <jolsa@redhat.com>
35562
35563 * nss/nsswitch.c (__nss_database_lookup): Handle
35564 nss_parse_service_list out of memory case.
35565
0490345c
JO
355662011-09-15 Jiri Olsa <jolsa@redhat.com>
35567
35568 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
35569 out of memory case.
35570
3a62d00d
AS
355712011-10-04 Andreas Schwab <schwab@redhat.com>
35572
35573 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
35574 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
35575 pass it down.
35576 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
35577 elf_machine_rela, elf_machine_lazy_rel.
35578 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
35579 (ELF_DYNAMIC_DO_REL): Likewise.
35580 (ELF_DYNAMIC_DO_RELA): Likewise.
35581 (ELF_DYNAMIC_RELOCATE): Likewise.
35582 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
35583 to ELF_DYNAMIC_DO_REL.
35584 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
35585 (dl_main): In trace mode always set __RTLD_NOIFUNC.
35586 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
35587 elf_machine_rela.
35588 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
35589 skip_ifunc, don't call ifunc function if non-zero.
35590 (elf_machine_rela): Likewise.
35591 (elf_machine_lazy_rel): Likewise.
35592 (elf_machine_lazy_rela): Likewise.
35593 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
35594 (elf_machine_lazy_rel): Likewise.
35595 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
35596 Likewise.
35597 (elf_machine_lazy_rel): Likewise.
35598 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35599 Likewise.
35600 (elf_machine_lazy_rel): Likewise.
35601 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
35602 (elf_machine_lazy_rel): Likewise.
35603 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
35604 (elf_machine_lazy_rel): Likewise.
35605 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35606 (elf_machine_lazy_rel): Likewise.
35607 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
35608 (elf_machine_lazy_rel): Likewise.
35609 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
35610 (elf_machine_lazy_rel): Likewise.
35611 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
35612 (elf_machine_lazy_rel): Likewise.
35613
68577918
UD
356142011-09-28 Ulrich Drepper <drepper@gmail.com>
35615
35616 * nss/nss_files/files-init.c (_nss_files_init): Use static
35617 initialization for all the *_traced_file variables.
35618
68822d74
AS
356192011-09-28 Andreas Schwab <schwab@redhat.com>
35620
35621 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35622
2056100b
RM
356232011-09-27 Roland McGrath <roland@hack.frob.com>
35624
35625 [BZ #13226]
35626 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
35627
32c76b63
AS
356282011-09-27 Andreas Schwab <schwab@redhat.com>
35629
35630 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
35631 Reread the line before reparsing it.
35632
bf972c9d
AS
356332011-09-26 Andreas Schwab <schwab@redhat.com>
35634
35635 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
35636
e057a1b5
JM
356372011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
35638 Maxim Kuvyrkov <maxim@codesourcery.com>
35639 Joseph Myers <joseph@codesourcery.com>
35640
35641 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
35642 if needed for __stack_chk_guard.
35643
bc7e1c36
RM
356442011-09-19 Roland McGrath <roland@hack.frob.com>
35645
ecb1482f
RM
35646 * sysdeps/posix/spawni.c (script_execute): Always define it.
35647 It will be optimized away if unused.
35648 (maybe_script_execute): New function.
35649 (__spawni): Call it.
35650
bc7e1c36
RM
35651 * Makerules: Don't include tls.make.
35652 (config-tls): Always set to thread.
35653 * tls.make.c: File removed.
35654
1c3b002b
MF
356552011-09-19 Mike Frysinger <vapier@gentoo.org>
35656
35657 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
35658 * config.make.in (CPPFLAGS-config): New substituted variable.
35659
2840865d
UD
356602011-09-15 Ulrich Drepper <drepper@gmail.com>
35661
88738eb6
UD
35662 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
35663
cbf645a6 35664 [BZ #13192]
2840865d
UD
35665 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
35666 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
35667
b402e91a
RM
356682011-09-15 Roland McGrath <roland@hack.frob.com>
35669
35670 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
35671 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
35672 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35673 (CALL_FAIL): Likewise.
35674 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
35675 (CALL_FAIL): Macro removed.
35676 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
35677
4c1a1f71
UD
356782011-09-15 Ulrich Drepper <drepper@gmail.com>
35679
35680 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
35681 for __FINITE_MATH_ONLY__ == 1.
35682
edc121be
AS
356832011-09-15 Andreas Schwab <schwab@redhat.com>
35684
35685 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
35686 __ieee754_sqrt instead of sqrt.
35687 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
35688 __ieee754_sqrtf instead of sqrtf.
35689 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
35690 __floorf instead of floorf.
35691 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
35692 __floorf, __truncf instead of floorf, truncf.
35693
cd205654
UD
356942011-09-14 Ulrich Drepper <drepper@gmail.com>
35695
ee4d0315
UD
35696 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
35697
cd205654
UD
35698 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
35699 __extern_always_inline.
35700 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
35701 32-bit.
35702
48b67d71
AS
357032011-09-14 Andreas Schwab <schwab@redhat.com>
35704
35705 * elf/rtld.c (dl_main): Also relocate in dependency order when
35706 doing symbol dependency testing.
35707
1ae12c75
AS
357082011-09-13 Andreas Schwab <schwab@linux-m68k.org>
35709
35710 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35711 Always define `refsym'.
35712
995a80df
AS
357132011-09-13 Andreas Schwab <schwab@redhat.com>
35714
e529793b
AS
35715 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
35716 (__FD_ELT): Renamed from __FDELT.
35717 * misc/bits/select2.h (__FD_ELT): Likewise.
35718 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
35719 __FD_MASK instead of __FDELT, __FDMASK.
35720 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35721 Likewise.
35722 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35723 Likewise.
35724
52d4fef8
AS
35725 * elf/Makefile (gen-ldd): Fix pattern.
35726
995a80df
AS
35727 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
35728 (init_tls): Likewise.
35729
8682f8b0
UD
357302011-09-12 Ulrich Drepper <drepper@gmail.com>
35731
35732 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
35733
de82006d
AS
357342011-09-12 Andreas Schwab <schwab@redhat.com>
35735
a7c8e6a1
AS
35736 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
35737 `struct cmsghdr *' instead of `void *'.
35738 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
35739 Likewise.
35740
0f31fe77
AS
357412011-09-11 Andreas Schwab <schwab@linux-m68k.org>
35742
35743 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
35744 if non-absolute.
35745 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
35746 ldd_rewrite_script.
0f31fe77 35747
32b4c839
UD
357482011-09-11 Ulrich Drepper <drepper@gmail.com>
35749
83cd1420
UD
35750 * configure.in: Remove --with-tls option.
35751 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
35752 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
35753 out in case it is missing.
35754 * sysdeps/ia64/elf/configure.in: Likewise.
35755 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
35756 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
35757 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
35758 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
35759 * sysdeps/sh/elf/configure.in: Likewise.
35760 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
35761 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35762 * sysdeps/x86_64/elf/configure.in: Likewise.
35763 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
35764 * sysdeps/mach/hurd/tls.h: Likewise.
35765
633f745d
UD
35766 [BZ #13067]
35767 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
35768
f318beb8
UD
35769 [BZ #13090]
35770 * configure.in: Fix use of AC_INIT.
35771
32b4c839
UD
35772 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
35773
3ce1f295
UD
357742011-09-10 Ulrich Drepper <drepper@gmail.com>
35775
bb016596
UD
35776 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
35777 __set_errno.
8e58439c
UD
35778 * malloc/hooks.c: Likewise.
35779
aebae053 35780 [BZ #11929]
02d46fc4
UD
35781 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
35782 variables statically.
35783 (narenas): Initialize.
35784 (list_lock): Initialize.
bb016596
UD
35785 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
35786 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
35787 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
35788 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
35789 Add initializers to main_arena and mp_.
35790 (malloc_state): Remove pagesize member. Change all users to use
35791 GLRO(dl_pagesize).
35792
35793 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
35794 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
35795 is always initialized.
35796
22a89187
UD
35797 * malloc/malloc.c: Removed unused configurations and dead code.
35798 * malloc/arena.c: Likewise.
35799 * malloc/hooks.c: Likewise.
02d46fc4 35800 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 35801
d063d164
UD
35802 * include/tls.h: Removed. USE___THREAD must always be defined.
35803 * bits/libc-tsd.h: Don't handle !USE___THREAD.
35804 * elf/dl-libc.c: Likewise.
35805 * elf/dl-tsd.c: Likewise.
35806 * include/errno.h: Likewise.
35807 * include/netdb.h: Likewise.
35808 * include/resolv.h: Likewise.
35809 * inet/herrno-loc.c: Likewise.
35810 * inet/herrno.c: Likewise.
35811 * malloc/arena.c: Likewise.
35812 * malloc/hooks.c: Likewise.
35813 * malloc/malloc.c: Likewise.
35814 * resolv/res-state.c: Likewise.
35815 * resolv/res_libc.c: Likewise.
35816 * sysdeps/i386/dl-machine.h: Likewise.
35817 * sysdeps/ia64/dl-machine.h: Likewise.
35818 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35819 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35820 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35821 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35822 * sysdeps/sh/dl-machine.h: Likewise.
35823 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35824 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35825 * sysdeps/unix/i386/sysdep.S: Likewise.
35826 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35827 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
35828 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
35829 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35830 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
35831 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35832 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35833 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35834 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35835 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35836 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35837 * sysdeps/x86_64/dl-machine.h: Likewise.
35838 * tls.make.c: Likewise.
35839
3ce1f295
UD
35840 * configure.in: Remove --with-__thread option. Make tests for
35841 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
35842 tls_model attribute fail if no support is available. Remove
35843 USE_IN_LIBIO.
35844 * Makeconfig: Adjust for dropped configure option. All features are
35845 now mandatory.
35846 * Makerules: Likewise.
35847 * Versions.def: Likewise.
35848 * argp/argp-fmtstream.c: Likewise.
35849 * argp/argp-fmtstream.h: Likewise.
35850 * argp/argp-help.c: Likewise.
35851 * assert/assert.c: Likewise.
35852 * config.h.in: Likewise.
35853 * config.make.in: Likewise.
35854 * configure: Likewise.
35855 * configure.in: Likewise.
35856 * csu/Versions: Likewise.
35857 * csu/init.c: Likewise.
35858 * elf/tst-audit2.c: Likewise.
35859 * elf/tst-tls10.c: Likewise.
35860 * elf/tst-tls10.h: Likewise.
35861 * elf/tst-tls11.c: Likewise.
35862 * elf/tst-tls12.c: Likewise.
35863 * elf/tst-tls14.c: Likewise.
35864 * elf/tst-tlsmod11.c: Likewise.
35865 * elf/tst-tlsmod12.c: Likewise.
35866 * elf/tst-tlsmod13.c: Likewise.
35867 * elf/tst-tlsmod13a.c: Likewise.
35868 * elf/tst-tlsmod14a.c: Likewise.
35869 * elf/tst-tlsmod15b.c: Likewise.
35870 * elf/tst-tlsmod16a.c: Likewise.
35871 * elf/tst-tlsmod16b.c: Likewise.
35872 * elf/tst-tlsmod7.c: Likewise.
35873 * elf/tst-tlsmod8.c: Likewise.
35874 * elf/tst-tlsmod9.c: Likewise.
35875 * gmon/gmon.c: Likewise.
35876 * grp/fgetgrent_r.c: Likewise.
35877 * grp/putgrent.c: Likewise.
35878 * hurd/fopenport.c: Likewise.
35879 * include/libc-symbols.h: Likewise.
35880 * include/tls.h: Likewise.
35881 * intl/gettextP.h: Likewise.
35882 * intl/loadinfo.h: Likewise.
35883 * locale/global-locale.c: Likewise.
35884 * locale/localeinfo.h: Likewise.
35885 * mach/devstream.c: Likewise.
35886 * malloc/arena.c: Likewise.
35887 * malloc/set-freeres.c: Likewise.
35888 * misc/err.c: Likewise.
35889 * misc/getttyent.c: Likewise.
35890 * misc/mntent_r.c: Likewise.
35891 * posix/getopt.c: Likewise.
35892 * posix/wordexp.c: Likewise.
35893 * pwd/fgetpwent_r.c: Likewise.
35894 * resolv/Versions: Likewise.
35895 * resolv/res_hconf.c: Likewise.
35896 * shadow/fgetspent_r.c: Likewise.
35897 * shadow/putspent.c: Likewise.
35898 * stdio-common/printf_fphex.c: Likewise.
35899 * stdio-common/tmpfile.c: Likewise.
35900 * stdlib/abort.c: Likewise.
35901 * stdlib/fmtmsg.c: Likewise.
35902 * sunrpc/auth_unix.c: Likewise.
35903 * sunrpc/clnt_perr.c: Likewise.
35904 * sunrpc/clnt_tcp.c: Likewise.
35905 * sunrpc/clnt_udp.c: Likewise.
35906 * sunrpc/clnt_unix.c: Likewise.
35907 * sunrpc/openchild.c: Likewise.
35908 * sunrpc/svc_simple.c: Likewise.
35909 * sunrpc/svc_tcp.c: Likewise.
35910 * sunrpc/svc_udp.c: Likewise.
35911 * sunrpc/svc_unix.c: Likewise.
35912 * sunrpc/xdr.c: Likewise.
35913 * sunrpc/xdr_array.c: Likewise.
35914 * sunrpc/xdr_rec.c: Likewise.
35915 * sunrpc/xdr_ref.c: Likewise.
35916 * sunrpc/xdr_stdio.c: Likewise.
35917
1248c1c4
PB
359182011-09-09 Ulrich Drepper <drepper@gmail.com>
35919
35920 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35921
359222011-07-03 Andreas Jaeger <aj@suse.de>
35923
35924 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
35925 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
35926 regenerate with gen-libm-tests.pl.
35927
359282010-05-12 Petr Baudis <pasky@suse.cz>
35929
35930 [BZ #11589]
35931 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
35932 around j0() zero points by switching to j1().
35933 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35934 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35935 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35936 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35937
f22e1074
UD
359382011-09-09 Ulrich Drepper <drepper@gmail.com>
35939
f19009c1
UD
35940 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
35941 instead of 0.
35942 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 35943 instead of 0.
f19009c1
UD
35944 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35945 Patch in part by Pavel Roskin <proski@gnu.org>.
35946
3f8cc204
UD
35947 [BZ #13138]
35948 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
35949 realloc.
35950 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
35951 Free memory block if necessary.
35952
f22e1074
UD
35953 [BZ #12847]
35954 * libio/genops.c (INTDEF): For string streams the _lock pointer can
35955 be NULL. Don't lock in this case.
35956
0a2349f9
RM
359572011-09-09 Roland McGrath <roland@hack.frob.com>
35958
35959 * elf/elf.h (ELFOSABI_GNU): New macro.
35960 (ELFOSABI_LINUX): Define to that.
35961
f3cdd467
DZ
359622011-07-29 Denis Zaitceff <zaitceff@gmail.com>
35963
35964 * string/strncat.c (strncat): Undef the symbol in case it has been
35965 defined in bits/string.h.
35966
74718d13
UD
359672011-09-09 Ulrich Drepper <drepper@gmail.com>
35968
633e9e0f
UD
35969 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
35970
0a2349f9 35971 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
35972 link map.
35973
f9924780
AJ
359742011-08-17 Andreas Jaeger <aj@suse.de>
35975
35976 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
35977
7f5517aa
PP
359782011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
35979 Ian Lance Taylor <iant@google.com>
35980
35981 * math/libm-test.inc (lround_test): New testcase.
35982 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
35983
762011fe
UD
359842011-09-08 Ulrich Drepper <drepper@gmail.com>
35985
92963737
UD
35986 * Makefile: Remove support for automatic cvs check-ins.
35987 * Makerules: Likewise.
35988 * config.make.in: Likewise.
35989 * configure.in: Likewise.
35990 * intl/Makefile: Likewise.
35991 * locale/Makefile: Likewise.
35992 * po/Makefile: Likewise.
35993 * posix/Makefile: Likewise.
35994 * sysdeps/gnu/Makefile: Likewise.
35995 * sysdeps/mach/hurd/Makefile: Likewise.
35996 * sysdeps/sparc/sparc32/Makefile: Likewise.
35997
b0727fd8
JS
35998 [BZ #13118]
35999 * posix/Makefile (bug-regex32-ENV): Define.
36000 Patch by John Stanley <jpsinthemix@verizon.net>.
36001
a0f33f99
UD
36002 * misc/Makefile (headers): Add bits/select2.h.
36003 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
36004 * misc/bits/select2.h: New file.
36005 * include/bits/select2.h: New file.
36006 * debug/Makefile (routines): Add fdelt_chk.
36007 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
36008 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
36009 FD_ISSET.
36010 * debug/fdelt_chk.c: New file.
36011
762011fe
UD
36012 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
36013 * wcsmbs/test-wmemcmp.c: Likewise.
36014 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 36015 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
36016
360172011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36018
36019 * string/Makefile (strop-tests): Add memcmp.
36020 * string/test-wmemcmp.c: New file.
36021 * string/test-memcmp.c: Add wmemcmp support.
36022
7f513ec8
RM
360232011-09-08 Roland McGrath <roland@hack.frob.com>
36024
0442afb4
RM
36025 [BZ #13153]
36026 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
36027 2011-07-19 change.
36028
7f513ec8
RM
36029 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
36030 garbage value in a __mach_port_mod_refs call in the cases of the
36031 task-self and thread-self ports.
36032
a12b2239
ST
360332011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
36034
36035 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
36036
610f9ab4
AS
360372011-09-08 Andreas Schwab <schwab@redhat.com>
36038
7f513ec8 36039 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 36040
48882a1a
LD
360412011-09-07 Ulrich Drepper <drepper@gmail.com>
36042
b49865be
UD
36043 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
36044
fdc86bc9
UD
36045 * elf/dl-libc.c (dlerror_run): Pass back error code from
36046 dl_catch_error.
36047
c966526a
UD
36048 [BZ #13123]
36049 * elf/dl-load.c (lose): Free l_origin if it is valid.
36050
48882a1a
LD
36051 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
36052 names.
36053 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
36054 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36055 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36056 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36057 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
36058 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
36059
77a2a8b4
AZ
360602011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36061
36062 * sysdeps/powerpc/fpu/e_hypot.c: New file.
36063 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
36064 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
36065 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
36066 * sysdeps/powerpc/fpu/k_cosf.c: New file.
36067 * sysdeps/powerpc/fpu/k_sinf.c: New file.
36068 * sysdeps/powerpc/fpu/s_cosf.c: New file.
36069 * sysdeps/powerpc/fpu/s_sinf.c: New file.
36070 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
36071 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
36072
24f579d8
AM
360732011-08-15 Alan Modra <amodra@gmail.com>
36074
36075 [BZ #13092]
36076 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
36077 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
36078 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
36079 ppc_mcount to static-only-routines.
36080 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
36081 __mcount_internal.
36082 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
36083 __mcount_internal with usual JUMPTARGET. Remove useless nop.
36084
3d4837df
UD
360852011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
36086
36087 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
36088 for finite and infinity parameters.
36089
22700377
WS
360902011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36091
36092 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
36093 and add nop instructions for throughput optimization.
36094 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36095
5025581e
WS
360962011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
36097
36098 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
36099 aligned copy for power7 with vector-scalar instructions.
36100 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
36101
08a300c9
L
361022011-07-24 H.J. Lu <hongjiu.lu@intel.com>
36103
36104 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
36105 AVX check.
36106
59178ef9
AS
361072011-09-07 Andreas Schwab <schwab@redhat.com>
36108
36109 [BZ #13144]
36110 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
36111 last change.
36112
e38ba7ab
UD
361132011-09-07 Ulrich Drepper <drepper@gmail.com>
36114
36115 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36116 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
36117 syscall wrapper around clock_gettime in __vdso_clock_gettime.
36118 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
36119 clock_gettime.
36120
d53a73ac
UD
361212011-09-06 Ulrich Drepper <drepper@gmail.com>
36122
fc8bffcc
UD
36123 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
36124 Forgot to demangle the pointer.
36125
ceaa0c5d
UD
36126 * sysdeps/i386/sysdep.h: Define atom_text_section.
36127 * sysdeps/x86_64/sysdep.h: Likewise.
36128 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
36129 section with atom_text_section.
36130 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36131 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36132 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
36133 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36134 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
36135
a77d3c17
UD
36136 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
36137 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
36138 already be defined. Change to take two parameters and don't assign
36139 result to variable. Adjust all users.
36140 Define INTERNAL_GETTIME if not already defined.
36141 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
36142 call.
36143 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
36144 HAVE_CLOCK_GETTIME_VSYSCALL.
36145 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
36146
d53a73ac
UD
36147 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
36148 gettimeofday vsyscall, just use time.
36149
a8f84144
AS
361502011-09-06 Andreas Schwab <schwab@redhat.com>
36151
36152 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
36153 <errno.h>.
36154
ef606249
UD
361552011-09-06 Ulrich Drepper <drepper@gmail.com>
36156
36157 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
36158 syscall on x86-64.
36159 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
36160 syscall.
36161 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
36162 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
36163 syscall if possible.
36164
6585cb60
UD
361652011-09-05 Ulrich Drepper <drepper@gmail.com>
36166
36167 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
36168 e_ident. Don't pass to find_mapsXX.
36169 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
36170
a5f524e4
LD
361712011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36172
36173 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36174 strchr-sse2-no-bsf strrchr-sse2-no-bsf
36175 * sysdeps/x86_64/multiarch/strchr.S: Update.
36176 Check bit_slow_BSF bit.
36177 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36178 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
36179 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
36180
554881ef
UD
361812011-09-05 Ulrich Drepper <drepper@gmail.com>
36182
d96de963
UD
36183 [BZ #13134]
36184 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
36185 before glibc 2.15.
36186 (tryshell): Define.
36187 (__spawni): Change last parameter to be flag. Test
36188 SPAWN_XFLAGS_USE_PATH flag to use path or not.
36189 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
36190 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
36191 * posix/spawni.c: Likewise.
36192 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
36193 * posix/spawnp.c: Likewise. Change normal version to use
36194 SPAWN_XFLAGS_USE_PATH.
36195 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
36196 SPAWN_XFLAGS_TRY_SHELL.
36197
d48e5868
UD
36198 [BZ #13150]
36199 * posix/glob.h: Remove gcc 1.x support.
36200
554881ef
UD
36201 [BZ #13068]
36202 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
36203
693fb948
LD
362042011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36205
36206 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36207 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
36208 strrchr-sse2-bsf
36209 * sysdeps/i386/i686/multiarch/strchr.S: New file.
36210 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
36211 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
36212 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
36213 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
36214 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
36215
1b48c537
UD
362162011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36217
49d42c37
UD
36218 * sysdeps/x86_64/wcscmp.S: New file.
36219
1b48c537
UD
36220 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
36221 wcscmp-c wcscmp-sse2
36222 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
36223 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
36224 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
36225 * wcsmbs/wcscmp.c: Allow renaming.
36226
15c95c5d
DM
362272011-09-05 David S. Miller <davem@davemloft.net>
36228
36229 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
36230 stack slot, rather than the struct return pointer slot.
36231 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
36232 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
36233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
36234 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
36235
2f0ad8f3
UD
362362011-09-05 Ulrich Drepper <drepper@gmail.com>
36237
d88ae418
UD
36238 * po/ja.po: Update from translation team.
36239
2f0ad8f3
UD
36240 [BZ #13144]
36241 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
36242 kernel in 64-bit binaries.
36243
5f4318d1
DM
362442011-09-01 David S. Miller <davem@davemloft.net>
36245
36246 * elf/elf.h (HWCAP_SPARC_*): Move to..
36247 * sysdeps/sparc/sysdep.h: this new file and add new values.
36248 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
36249 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
36250 _DL_HWCAP_COUNT to 24.
36251 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36252 entries.
36253 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
36254 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
36255 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
36256 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
36257 instead of magic constants.
36258 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36259
3ba57516
DM
362602011-08-31 David S. Miller <davem@davemloft.net>
36261
36262 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
36263 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
36264 Reimplement to do errno handling inline.
36265 (SYSCALL_ERROR_HANDLER): New macro.
36266 (__SYSCALL_STRING): Do not do errno handling in asm.
36267 (__CLONE_SYSCALL_STRING): Delete.
36268 (__INTERNAL_SYSCALL_STRING): Delete.
36269 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
36270 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
36271 (PSEUDO): Reimplement to do errno handling inline.
36272 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
36273 (SYSCALL_ERROR_HANDLER): New macro.
36274 (__SYSCALL_STRING): Do not do errno handling in asm.
36275 (__CLONE_SYSCALL_STRING): Delete.
36276 (__INTERNAL_SYSCALL_STRING): Delete.
36277 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
36278 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
36279 i386.
36280 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
36281 (inline_syscall*): Add 'err' argument.
36282 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
36283 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
36284 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
36285 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
36286
36287 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
36288 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36289
2bc17433
AS
362902011-08-30 Andreas Schwab <schwab@redhat.com>
36291
36292 * elf/rtld.c (dl_main): Relocate objects in dependency order.
36293
fbeb5f4d
JO
362942011-08-29 Jiri Olsa <jolsa@redhat.com>
36295
36296 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
36297 directive.
36298
ad69cc26
DM
362992011-08-24 David S. Miller <davem@davemloft.net>
36300
36301 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
36302
39dd69df
AS
363032011-08-24 Andreas Schwab <schwab@redhat.com>
36304
36305 * elf/Makefile: Add rules to build and run unload8 test.
36306 * elf/unload8.c: New file.
36307 * elf/unload8mod1.c: New file.
36308 * elf/unload8mod1x.c: New file.
36309 * elf/unload8mod2.c: New file.
36310 * elf/unload8mod3.c: New file.
36311
36312 * elf/dl-close.c (_dl_close_worker): Reset private search list if
36313 it wasn't used.
36314
2c0b250a
DM
363152011-08-23 David S. Miller <davem@davemloft.net>
36316
36317 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
36318 subtract stack bias.
36319 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
36320 %sp not %fp in calculations.
36321 (_JMPBUF_UNWINDS_ADJ): Likewise.
36322
22044b48
DM
36323 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
36324 (aio_suspend): Call it to force an exception region around the
36325 AIO_MISC_WAIT() invocation.
36326
2cae4995
AS
363272011-08-23 Andreas Schwab <schwab@redhat.com>
36328
36329 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
36330 backslash.
36331
873a772e
AJ
363322011-07-04 Aurelien Jarno <aurelien@aurel32.net>
36333
36334 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
36335 protection macro.
36336 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
36337 and <dl-machine.h>.
36338 (Elf64_FuncDesc): Remove.
36339
25ad0df1
DM
363402011-08-22 David S. Miller <davem@davemloft.net>
36341
36342 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
36343 sigaltstack check, add missing cfi directives.
36344 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
36345 missing cfi directives, and sigaltstack handling.
36346
e888bcbe
AS
363472011-08-16 Andreas Schwab <schwab@redhat.com>
36348
36349 [BZ #11724]
36350 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
36351 object is seen twice.
36352 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36353
36354 * elf/Makefile (distribute): Add tst-initorder2.c.
36355 (tests): Add tst-initorder2.
36356 (modules-names): Add tst-initorder2a tst-initorder2b
36357 tst-initorder2c tst-initorder2d. Add rules to build them.
36358 ($(objpfx)tst-initorder2.out): New rule.
36359 * elf/tst-initorder2.c: New file.
36360 * elf/tst-initorder2.exp: New file.
36361
87162f46
AS
363622011-08-22 Andreas Schwab <schwab@redhat.com>
36363
70538b7f
AS
36364 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
36365
f55ffe58
AS
36366 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
36367 dependencies back to end of function.
36368
87162f46
AS
36369 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36370 $(elfobjdir)/ld.so.
36371
91b392a4
UD
363722011-08-21 Ulrich Drepper <drepper@gmail.com>
36373
36374 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
36375 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
36376 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
36377 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
36378 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
36379 of __vdso_gettimeofday.
36380 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
36381 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
36382 attribute_hidden.
36383 (_libc_vdso_platform_setup): Remove initialization of
36384 __vdso_gettimeofday and __vdso_time.
36385
5c43483f
UD
363862011-08-20 Ulrich Drepper <drepper@gmail.com>
36387
775a77e7
UD
36388 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
36389 and fgetc_unlocked.
36390 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
36391 getc_unlocked.
89f447ed 36392
49c74ba9
UD
36393 * elf/dl-open.c (add_to_global): Report additions to the global scope
36394 for LD_DEBUG=scopes.
36395 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 36396 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 36397
5c43483f
UD
36398 [BZ #13114]
36399 * stdio-common/Makefile (tests): Add bug24.
36400 * stdio-common/bug24.c: New file.
36401
a101b025
AJ
364022011-08-19 Andreas Jaeger <aj@suse.de>
36403
36404 [BZ #13114]
36405 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
36406 non-existant file when using close-on-exec mode.
36407
c88f1766
UD
364082011-08-20 Ulrich Drepper <drepper@gmail.com>
36409
0276a718
UD
36410 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
36411 the very first instruction.
36412
c88f1766
UD
36413 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
36414 the CFI state in the end.
36415 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
36416 inclusion of dl-trampoline.h.
36417 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
36418
51ccffa0
AS
364192011-08-19 Andreas Schwab <schwab@redhat.com>
36420
94d7165f
AS
36421 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
36422 expectations for long double.
36423
51ccffa0
AS
36424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
36425 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
36426
fd708658 364272011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
36428
36429 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
36430 artificual limit depends upon the system page size.
36431
44f0a71e
UD
364322011-08-17 Ulrich Drepper <drepper@gmail.com>
36433
36434 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
36435 * resolv/Makefile: Define CFLAGS-libresolv.
36436
8de79a24
AS
364372011-08-17 Andreas Schwab <schwab@redhat.com>
36438
36439 * nss/makedb.c (compute_tables): Make variables used in nested
36440 function static.
36441
27724598
UD
364422011-08-17 Ulrich Drepper <drepper@gmail.com>
36443
c5305d88
UD
36444 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
36445 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
36446 if buffer was too small.
36447
27724598
UD
36448 * elf/pldd.c (main): Attach to all threads in the process.
36449 Rewrite /proc handling to use *at functions.
36450
076fe015
UD
364512011-08-16 Ulrich Drepper <drepper@gmail.com>
36452
174baab3
UD
36453 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
36454 specifies first scope to show.
36455 (dl_open_worker): Update callers. Move printing scope of new
36456 object to before the relocation.
44f0a71e 36457 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
36458 * sysdeps/generic/ldsodefs.h: Update declaration.
36459
076fe015
UD
36460 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
36461 string for the scope number.
36462
a60df2c3
UD
364632011-08-14 Ulrich Drepper <drepper@gmail.com>
36464
36465 * nscd/servicescache.c (cache_addserv): Make sure written is always
36466 initialized.
36467
5e4287d1
RM
364682011-08-14 Roland McGrath <roland@hack.frob.com>
36469
85ae0589
RM
36470 * sysdeps/i386/i486/bits/atomic.h
36471 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
36472 statement expression, so as to suppress "set but not used" warning.
36473 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
36474
69f63097
RM
36475 * string/strncat.c (STRNCAT): Use prototype definition.
36476
675456ef
RM
36477 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
36478 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
36479 -Iprograms here.
36480 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
36481 (localedef-modules): Add localedef.
36482 (locale-modules): Add locale.
36483
5e4287d1
RM
36484 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
36485 * elf/rtld.c (dl_main): Invert order of assignment in last change,
36486 to avoid a warning.
36487
9c96ff23
DM
364882011-08-14 David S. Miller <davem@davemloft.net>
36489
36490 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
36491 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
36492
f9ddf089
UD
364932011-08-13 Ulrich Drepper <drepper@gmail.com>
36494
44f0a71e 36495 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
36496 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
36497 * elf/rtld.c (dl_main): Set l_name of vDSO.
36498 Call _dl_show_scope when DL_DEBUG_SCOPES.
36499 (process_dl_debug): Recognize scopes flag and also set it for all.
36500 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
36501 Declare _dl_show_scope.
36502
1dc27704
UD
36503 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
36504 (do_dlopen): Pass caller_dlopen to dl_open.
36505 (__libc_dlopen_mode): Initialize caller_dlopen.
36506
f9ddf089
UD
36507 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
36508 of libc. Make tolower call locale-independent. Optimize a bit by
36509 using isdigit instead of isalnum.
36510 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
36511
9ac533d3
UD
365122011-08-12 Ulrich Drepper <drepper@gmail.com>
36513
36514 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
36515 was a dependency or dynamically loaded.
36516
89edf2e9
UD
365172011-08-11 Ulrich Drepper <drepper@gmail.com>
36518
8e999d29
UD
36519 * intl/l10nflist.c: Allow architecture-specific pop function.
36520 * sysdeps/x86_64/l10nflist.c: New file.
36521
89edf2e9
UD
36522 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
36523 classification.
36524
14d96785
AS
365252011-08-10 Andreas Schwab <schwab@redhat.com>
36526
36527 * include/dirent.h: Add libc_hidden_proto for scandirat and
36528 scandirat64. Don't declare __scandirat64.
36529 * dirent/scandirat.c: Add libc_hidden_def.
36530 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
36531 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
36532
6761ac04
DM
365332011-08-10 David S. Miller <davem@davemloft.net>
36534
36535 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
36536 enum.
36537 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36538 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36539 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36540
c55fbd1e
UD
365412011-08-09 Ulrich Drepper <drepper@gmail.com>
36542
36543 * Versions.def [libc]: Add GLIBC_2.15.
36544 * dirent/Makefile (routines): Add scandirat and scandirat64.
36545 * dirent/Versions [libc]: Export scandirat and scandirat64 for
36546 GLIBC_2.15.
36547 * dirent/dirent.h: Declare scandirat and scandirat64.
36548 * dirent/scandirat.c: New file.
36549 * dirent/scandirat64.c: New file.
36550 * sysdeps/wordsize-64/scandirat.c: New file.
36551 * sysdeps/wordsize-64/scandirat64.c: New file.
36552 * dirent/opendir.c: Define opendirat.
36553 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
36554 using scandirat.
36555 * dirent/scandir64.c: Adjust for scandir.c change.
36556 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
36557 __scandirat64, and __scandir_cancel_handler.
36558 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
36559 additional parameter and use openat instead of open (outside of ld.so).
36560 Add new __opendir as wrapper around __opendirat.
36561 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
36562 here without requiring old scandirat implementation.
36563
879165f2
UD
365642011-08-08 Ulrich Drepper <drepper@gmail.com>
36565
36566 * dirent/scandir.c (cancel_handler): Renamed to
36567 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
36568 defined. Adjust users.
36569 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
36570 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
36571
cb7e923b
UD
365722011-08-04 Ulrich Drepper <drepper@gmail.com>
36573
16292edd
UD
36574 * string/test-string.h (IMPL): Use __STRING to expand name and then
36575 stringify it.
36576
cb7e923b
UD
36577 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
36578 of cleanups.
36579
cff82933
LD
365802011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36581
36582 * string/Makefile: Update.
36583 (strop-tests): Append strncat.
36584 * string/test-wcscmp.c: New file.
36585 New comprehensive test for wcscmp.
36586 * string/test-strcmp.c: Update.
36587 (WIDE): New define.
36588
9be9bfcc
AS
365892011-07-22 Andreas Schwab <schwab@redhat.com>
36590
36591 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
36592 line.
36593
2e96f1c7
AS
365942011-07-26 Andreas Schwab <schwab@redhat.com>
36595
36596 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36597 encoding to ACE if AI_IDN.
36598
85188888
JJ
365992011-08-01 Jakub Jelinek <jakub@redhat.com>
36600
36601 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
36602 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
36603
5fa16e9b
LD
366042011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36605
36606 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
36607 Fix overflow bug in strncat.
36608 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
36609
36610 * string/test-strncat.c: Update.
36611 Add new tests for checking overflow bugs.
36612
366132011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36614
36615 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36616 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
36617 * sysdeps/i386/i686/multiarch/strcat.S: New file.
36618 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
36619 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
36620 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
36621 * sysdeps/i386/i686/multiarch/strncat.S: New file.
36622 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
36623 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
36624
36625 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
36626 (USE_AS_STRCAT): Define.
36627 Add strcat and strncat support.
36628 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36629
8c1a459f
AS
366302011-07-25 Andreas Schwab <schwab@redhat.com>
36631
36632 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
36633 __n bigger than INT_MAX+1.
36634 (__strncmp_g): Likewise.
36635
bba33c28
UD
366362011-07-23 Ulrich Drepper <drepper@gmail.com>
36637
798be72d
UD
36638 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
36639 * libio/stido.h: Likewise.
36640
8accd4dc
UD
36641 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
36642 (AF_NFC): Define.
36643 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
36644 (AF_NFC): Define.
36645
cbff0d96
UD
36646 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
36647 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36648 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36649 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
36650 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36651
9191c04a
UD
36652 [BZ #13021]
36653 * scripts/test-installation.pl: Don't expect libnss_test1 to be
36654 installed.
36655
bba33c28
UD
36656 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
36657 typo.
36658 (_dl_x86_64_save_sse): Likewise.
36659
90f139dd
UD
366602011-07-22 Ulrich Drepper <drepper@gmail.com>
36661
1aae088a
UD
36662 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
36663 OSXSAVE.
36664 (_dl_x86_64_save_sse): Likewise.
36665
8e2045f5
UD
36666 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
36667
90f139dd
UD
36668 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
36669
1d002f25
AS
366702011-07-21 Andreas Schwab <schwab@redhat.com>
36671
36672 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
36673 change.
36674 (_dl_x86_64_save_sse): Use correct AVX check.
36675
21137f89
UD
366762011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36677
36678 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
36679 bug in strncpy/strncat.
36680 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
36681
a65c0b7a
UD
366822011-07-21 Ulrich Drepper <drepper@gmail.com>
36683
36684 * string/tester.c (test_strcat): Add tests for different alignments
36685 of source and destination.
36686 (test_strncat): Likewise.
36687
6986b98a
UD
366882011-07-20 Ulrich Drepper <drepper@gmail.com>
36689
90bb2039
UD
36690 [BZ #12852]
36691 * posix/glob.c (glob): Check passed in values before using them in
36692 expressions to avoid some overflows.
36693 (glob_in_dir): Likewise.
36694
5644ef54
UD
36695 [BZ #13007]
36696 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
36697 check for AVX enablement so that we don't crash with old kernels and
36698 new hardware.
36699 * elf/tst-audit4.c: Add same checks here.
36700 * elf/tst-audit6.c: Likewise.
36701
36702 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 36703
bfc9dc9b
AS
367042011-07-09 Andreas Schwab <schwab@linux-m68k.org>
36705
36706 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
36707
702e64bb
UD
367082011-07-20 Ulrich Drepper <drepper@gmail.com>
36709
36710 * po/cs.po: Update from translation team.
36711 * po/bg.po: Likewise.
36712
295e904f
MP
367132011-07-12 Marek Polacek <mpolacek@redhat.com>
36714
36715 * misc/sys/cdefs.h: Add support for const attribute.
36716 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
36717 to gnu_dev_{major,minor,makedev} functions.
36718
3ff94596
MP
367192011-07-20 Marek Polacek <mpolacek@redhat.com>
36720
36721 * intl/dcigettext.c (get_output_charset): Add missing bracket.
36722
28b59fca
AS
367232011-07-20 Andreas Schwab <schwab@redhat.com>
36724
36725 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
36726 strlen results.
36727
19df733e
AK
367282011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36729
36730 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
36731 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
36732 register in order to avoid conflicts with the soft frame pointer
36733 being held in r11 when necessary.
36734 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
36735 (INTERNAL_VSYSCALL_NCS): Likewise.
36736
c8835729
MP
367372011-07-14 Marek Polacek <mpolacek@redhat.com>
36738
36739 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
36740 * elf/dl-fini.c (_dl_fini): Adjust caller.
36741 * elf/dl-close.c (_dl_close_worker): Likewise.
36742 * sysdeps/generic/ldsodefs.h: Adjust declaration.
36743
b902330c
MP
367442011-07-15 Marek Polacek <mpolacek@redhat.com>
36745
8991e135
MP
36746 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
36747 "aux_cache->nlibs < 0".
36748
b902330c
MP
36749 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
36750 in the reload-count case.
36751
99710781
LD
367522011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36753
36754 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36755 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
36756 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
36757 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
36758 * sysdeps/x86_64/multiarch/strcat.S: New file.
36759 * sysdeps/x86_64/multiarch/strncat.S: New file.
36760 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
36761 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
36762 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
36763 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
36764 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
36765 (USE_AS_STRCAT): Define.
36766 Add strcat and strncat support.
36767 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36768 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36769 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
36770 * string/strncat.c: Update.
36771 (USE_AS_STRNCAT): Define.
36772 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36773 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
36774 and i7.
36775 * sysdeps/x86_64/multiarch/init-arch.h
36776 (bit_Prefer_PMINUB_for_stringop): New.
36777 (index_Prefer_PMINUB_for_stringop): Likewise.
36778 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
36779 bit_Prefer_PMINUB_for_stringop.
36780
7dc6bd90
UD
367812011-07-19 Ulrich Drepper <drepper@gmail.com>
36782
36783 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
36784 buffer64.
36785 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
36786 of casting of buffer.
36787 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
36788 buffer32 and buffer64.
36789 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
36790 writes instead of casting of buffer.
36791 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
36792 buffer32.
36793 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
36794 casting of buffer.
36795
e0e72284
AS
367962011-07-19 Andreas Schwab <schwab@redhat.com>
36797
36798 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
36799
feb1eb0b
UD
368002011-07-19 Ulrich Drepper <drepper@gmail.com>
36801
36802 * nscd/nscd.c (termination_handler): Don't do anything for a database
36803 if it has not yet been initialized.
36804
298711ff
UD
368052011-07-18 Ulrich Drepper <drepper@gmail.com>
36806
36807 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36808
368092011-07-15 Marek Polacek <mpolacek@redhat.com>
36810
36811 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36812
f9d68389
UD
368132011-07-18 Ulrich Drepper <drepper@gmail.com>
36814
36815 * po/nl.po: Update from translation team.
36816 * po/sv.po: Likewise.
36817
db290cf5
RM
368182011-07-16 Roland McGrath <roland@hack.frob.com>
36819
36820 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
36821 now disallowed by GCC.
5c550700 36822
fd5e21c7
RM
36823 * configure.in (use-default-link): Default to yes if a test -shared
36824 link meets our qualifications.
36825 * configure: Regenerated.
36826
5c550700
RM
36827 * config.make.in (output-format): New variable.
36828 * configure.in: Check for ld --print-output-format support.
36829 * configure: Regenerated.
36830 * Makerules ($(common-objpfx)format.lds)
36831 [$(output-format) != unknown]: Just use $(output-format),
36832 instead of the linker-script munging.
36833
9fa2c032
RM
368342011-07-14 Roland McGrath <roland@hack.frob.com>
36835
a6928d51
RM
36836 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
36837 of $(common-objpfx)shlib.lds.
36838 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
36839
661607b3
RM
36840 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
36841 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
36842
9fa2c032
RM
36843 * configure.in (-z relro check): Adjust test code to add a large
36844 writable data section after it.
36845 * configure: Regenerated.
36846
defe9061
RM
368472011-07-11 Roland McGrath <roland@hack.frob.com>
36848
36849 * configure.in (-z relro check): Fix test code to make the variable
36850 truly const.
36851 * configure: Regenerated.
36852
319b9ad4
UD
368532011-07-11 Ulrich Drepper <drepper@gmail.com>
36854
36855 * nscd/nscd.h (struct traced_file): Define.
36856 (struct database_dyn): Remove inotify_descr, reset_res, and filename
36857 elements. Add traced_files.
36858 (inotify_fd): Declare.
36859 (register_traced_file): Declare.
36860 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
36861 (inotify_fd): Export.
36862 (resolv_conf_descr): Remove.
36863 (nscd_init): Move inotify descriptor creation to main.
36864 Don't register files for notification here.
36865 (register_traced_file): New function.
36866 (invalidate_cache): Don't use reset_res to determine whether to call
36867 res_init, go through the list of registered files.
36868 (main_loop_poll): The inotify descriptors are now stored in the
36869 structures for the traced files.
36870 (main_loop_epoll): Likewise
36871 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
36872 to __nss_disable_nscd.
36873 * nscd/cache.c (prune_cache): There is no single inotify descriptor
36874 for a database anymore. Check the records for all the registered
36875 files instead.
36876 * nss/Makefile (libnss_files-routines): Add files-init.
36877 (libnss_db-routines): Add db-init.
36878 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
36879 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
36880 * nss/nss_db/db-init.c: New file.
36881 * nss/nss_files/files-init.c: New file.
36882 * nss/nsswitch.c (nss_load_library): New function. Broken out of
36883 __nss_lookup_function.
36884 (__nss_lookup_function): Call nss_load_library.
36885 (nss_load_all_libraries): New function.
36886 (__nss_disable_nscd): Take parameter with callback function for files
36887 to register. Set is_nscd. Load all the DSOs for the NSS modules
36888 used for the cached services.
36889 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
36890 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
36891 options for features to all the files in nscd.
36892
36893 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
36894
23bee3e8
RM
368952011-07-10 Roland McGrath <roland@hack.frob.com>
36896
36897 * csu/elf-init.c (__libc_csu_init): Comment typo.
36898
46a5b7f0
UD
368992011-07-09 Ulrich Drepper <drepper@gmail.com>
36900
36901 * po/pl.po: Update from translation team.
36902 * po/ja.po: Likewise.
36903 * po/ru.po: Likewise.
36904 * po/ko.po: Likewise.
36905 * po/fr.po: Likewise.
36906
d30cf5bb
RM
369072011-07-09 Roland McGrath <roland@hack.frob.com>
36908
113ddea4
RM
36909 * configure.in (.ctors/.dtors header and trailer check):
36910 Use an empirical test on a built program.
36911 * configure: Regenerated.
36912
574920b4
RM
36913 * configure.in (-z relro check): Use an empirical test on a built DSO.
36914 Detect, but do not require, on ia64.
36915 * configure: Regenerated.
36916
d30cf5bb
RM
36917 * configure.in (READELF): Find it with AC_CHECK_TOOL.
36918 Update tests that use readelf to use $READELF instead.
36919 * configure: Regenerated.
36920
8538fdb3
UD
369212011-07-08 Ulrich Drepper <drepper@gmail.com>
36922
36923 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
36924 if the result is not used.
36925
04d08991
AJ
369262011-07-05 Andreas Jaeger <aj@suse.de>
36927
36928 [BZ#9696]
36929 * stdlib/tst-strtod.c: Add testcase.
36930
de283087
AD
369312011-07-07 Ulrich Drepper <drepper@gmail.com>
36932
4e5f31c8 36933 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 36934 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
36935 The latter has a higher limit. Take additional parameter to pass to
36936 the new function.
36937 (__pathconf): Pass file to __statfs_link_max.
36938 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
36939 __statfs_link_max.
36940 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
36941 __statfs_link_max.
36942
de283087
AD
36943 [BZ #12868]
36944 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
36945 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36946 Handle Lustre.
36947 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
36948 (__statfs_filesize_max): Likewise.
36949 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
36950
c75fa153
AJ
369512011-07-05 Andreas Jaeger <aj@suse.de>
36952
36953 * resolv/res_comp.c (dn_skipname): Remove unused variable.
36954
1a544854
UD
369552011-07-06 Marek Polacek <mpolacek@redhat.com>
36956
36957 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
36958 `status' variable.
36959 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
36960 Likewise.
36961
6f0eec67
UD
369622011-07-04 H.J. Lu <hongjiu.lu@intel.com>
36963
36964 * Makefile (strop-tests): Add strncat.
36965 * string/test-strncat.c: New file.
36966
aae30307
UD
369672011-06-30 Marek Polacek <mpolacek@redhat.com>
36968
36969 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
36970
c0cfb5eb
UD
369712011-06-21 Andreas Jaeger <aj@suse.de>
36972
36973 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
36974 Copy rule from iconvdata/Makefile.
36975
01636b21
UD
369762011-07-06 Ulrich Drepper <drepper@gmail.com>
36977
36978 [BZ #12922]
36979 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
36980 but no long options are defined, just return 'W'.
36981
9895c8bc
UD
369822011-06-22 Marek Polacek <mpolacek@redhat.com>
36983
36984 [BZ #9696]
36985 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
36986
5d4cf042
UD
369872011-07-06 Ulrich Drepper <drepper@gmail.com>
36988
36989 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
36990 netgroups to read.
960e5535 36991 (innetgr): Likewise.
5d4cf042 36992
751eb97e
RM
369932011-07-05 Roland McGrath <roland@hack.frob.com>
36994
36995 * config.make.in (install_root): Default to $(DESTDIR).
36996
f15f1e45
UD
369972011-07-05 Ulrich Drepper <drepper@gmail.com>
36998
36999 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
37000
4e34ac6a
RM
370012011-07-02 Roland McGrath <roland@hack.frob.com>
37002
5e9b6af4
RM
37003 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
37004
84f9ea0f
RM
37005 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
37006 containing directory rather than embedding absolute directory names.
37007
ea5ee9f7
RM
37008 * scripts/check-local-headers.sh: Rewritten using awk.
37009 Match by word, not by line. Print error messages for matches.
37010 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
37011
1b74661a
RM
37012 * Makerules [shlib-lds-flags empty]:
37013 ($(common-objpfx)libc_pic.opts): New target.
37014 ($(common-objpfx)libc_pic.os.clean): New target.
37015 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
37016
37017 * config.make.in (OBJCOPY): New variable.
37018 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
37019 * configure: Regenerated.
37020
f781ef40
RM
37021 * config.make.in (use-default-link): New variable.
37022 * configure.in (use_default_link): Grok --with-default-link to set it.
37023 * configure: Regenerated.
37024 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
37025 (shlib-lds, shlib-lds-flags): Define to empty.
37026
2d4fa81e
RM
37027 * Makerules (shlib-lds): New variable.
37028 (shlib-lds-flags): New variable.
37029 (build-shlib, build-moduile, build-module-asneeded): Use it.
37030 ($(common-objpfx)libc.so): Use $(shlib-lds).
37031 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
37032 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
37033
31fffa6b
RM
37034 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
37035 DT_FLAGS/DT_FLAGS_1 with zero flags.
37036
4e34ac6a
RM
37037 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
37038 linker script munging.
37039
fcfc776b
UD
370402011-07-02 Ulrich Drepper <drepper@gmail.com>
37041
37042 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
37043 as 128-bit value.
37044 * crypt/sha512.c (sha512_process_block): Perform total addition using
37045 128-bit if possible.
37046 (__sha512_finish_ctx): Likewise.
37047 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
37048 as 64-bit value.
37049 * crypt/sha256.c (SWAP64): Define.
37050 (sha256_process_block): Perform total addition using 64-bit if
37051 possible.
37052 (__sha256_finish_ctx): Likewise.
37053
99231d9a
UD
370542011-07-01 Ulrich Drepper <drepper@gmail.com>
37055
37056 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
37057 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37058 * nscd/hstcache.c (cache_addhst): Likewise.
37059 * nscd/grpcache.c (cache_addgr): Likewise.
37060 * nscd/aicache.c (addhstaiX): Likewise
37061 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
37062
445b4a53
TK
370632011-07-01 Thorsten Kukuk <kukuk@suse.de>
37064
37065 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
37066 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37067 * nscd/hstcache.c (cache_addhst): Likewise.
37068 * nscd/grpcache.c (cache_addgr): Likewise.
37069 * nscd/aicache.c (addhstaiX): Likewise
37070
6d4d8e8e
AS
370712011-07-01 Andreas Schwab <schwab@redhat.com>
37072
37073 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
37074 domain only when needed.
37075
89f654c5
AS
370762011-06-30 Andreas Schwab <schwab@redhat.com>
37077
37078 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
37079 is always restored.
37080
cf3b23ff
UD
370812011-06-29 Ulrich Drepper <drepper@gmail.com>
37082
37083 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
37084 are re-adding the entry.
37085 * nscd/servicescache.c (cache_addserv): Likewise.
37086
751626f9
AJ
370872011-06-30 Aurelien Jarno <aurelien@aurel32.net>
37088
37089 * sysdeps/generic/dl-irel.h: fix protection against multiple
37090 inclusions.
37091 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
37092
9113ea1f
UD
370932011-06-28 Ulrich Drepper <drepper@gmail.com>
37094
5c0b8d90
UD
37095 [BZ #12935]
37096 * malloc/memusage.sh: Fix quoting in message.
37097 * debug/xtrace.sh: Likewise.
37098
9113ea1f
UD
37099 * configure.in: Remove support for --experimental-malloc option, make
37100 it the default.
37101 * config.make.in: Likewise.
37102 * malloc/Makefile: Likewise.
37103
a4172181
AS
371042011-06-27 Andreas Schwab <schwab@redhat.com>
37105
37106 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
37107 two-byte characters.
37108
78a7eee7
RM
371092011-06-27 Roland McGrath <roland@hack.frob.com>
37110
62bede13
RM
37111 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
37112 AC_CACHE_CHECK invocation.
37113 * configure: Regenerated.
37114
78a7eee7
RM
37115 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
37116
5ce33a62
UD
371172011-06-27 Ulrich Drepper <drepper@gmail.com>
37118
034807a9
UD
37119 [BZ #12350]
37120 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
37121 bit from old_res_options.
37122
4902da17
UD
37123 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
37124
5ce33a62
UD
37125 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
37126 value type for setfct.
37127
c2344f56
L
371282011-06-23 H.J. Lu <hongjiu.lu@intel.com>
37129
37130 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
37131 __gettimeofday instead of gettimeofday.
37132
68468076
UD
371332011-06-26 Ulrich Drepper <drepper@gmail.com>
37134
37135 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
37136
acb0d739
L
371372011-06-24 H.J. Lu <hongjiu.lu@intel.com>
37138
37139 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
37140
37141 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
37142 info.
37143
8912479f
L
371442011-06-22 H.J. Lu <hongjiu.lu@intel.com>
37145
37146 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37147 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
37148 strcpy-sse2-unaligned strncpy-sse2-unaligned
37149 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
37150 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
37151 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
37152 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
37153 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
37154 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
37155 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
37156 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
37157 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
37158 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
37159 (STRCPY): Support SSE2 and SSSE3 versions.
37160
d5495a11
UD
371612011-06-24 Ulrich Drepper <drepper@gmail.com>
37162
37163 [BZ #12874]
37164 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
37165 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
37166 kernels which artificially limit size of requests.
37167
0b1cbaae
L
371682011-06-22 H.J. Lu <hongjiu.lu@intel.com>
37169
37170 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37171 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
37172 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
37173 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
37174 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
37175 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
37176 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
37177 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
37178 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
37179 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
37180 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
37181 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
37182 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
37183 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
37184 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
37185 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37186 Enable unaligned load optimization for Intel Core i3, i5 and i7
37187 processors.
37188 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
37189 Define.
37190 (index_Fast_Unaligned_Load): Define.
37191 (HAS_FAST_UNALIGNED_LOAD): Define.
37192
07f494a0
MP
371932011-06-23 Marek Polacek <mpolacek@redhat.com>
37194
37195 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
37196
fa3fc0fe
UD
371972011-06-22 Ulrich Drepper <drepper@gmail.com>
37198
37199 [BZ #12907]
37200 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
37201 until it is clear that the information is realy needed.
37202 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
37203
e12df166
AS
372042011-06-22 Andreas Schwab <schwab@redhat.com>
37205
37206 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
37207
852eb34d
UD
372082011-06-22 Ulrich Drepper <drepper@gmail.com>
37209
84e2a551
UD
37210 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
37211 /sys/devices/system/cpu/online if it is usable.
37212
852eb34d
UD
37213 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
37214 reading the information from the /proc filesystem to once a second.
37215
6e502e19
UD
372162011-06-21 Andreas Jaeger <aj@suse.de>
37217
37218 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
37219 NULL after inclusion of kernel headers.
37220
75d39ff2
UD
372212011-06-21 Ulrich Drepper <drepper@gmail.com>
37222
51f9aa6a
UD
37223 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
37224 calls to internal_setent.
37225
c0244a9d
UD
37226 [BZ #12885]
37227 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
37228 addresses using gethostbyname4_r ignore IPv4 addresses.
37229
c5e3c2ae
UD
37230 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
37231 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
37232
75d39ff2
UD
37233 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
37234
42675c6f
DM
372352011-06-20 David S. Miller <davem@davemloft.net>
37236
37237 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
37238 inclusions.
37239 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
37240
37241 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
37242 (elf_irel): Use it.
37243 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
37244 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
37245 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
37246 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
37247 * sysdeps/x86_64/dl-irel.h: Likewise.
37248
37249 * elf/dl-runtime.c: Use elf_ifunc_invoke.
37250 * elf/dl-sym.c: Likewise.
37251
57912a71
UD
372522011-06-15 Ulrich Drepper <drepper@gmail.com>
37253
37254 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
37255 need to dereference resplen2.
37256
ee22793d
AS
372572011-06-14 Andreas Schwab <schwab@redhat.com>
37258
37259 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
37260
a9e836b0
UD
372612011-06-15 Ulrich Drepper <drepper@gmail.com>
37262
77fb9117
UD
37263 * Makeconfig: Define vardbdir and inst_vardbdir.
37264 * nss/Makefile: Add rules to install db-Makefile.
37265
40c1b22c
UD
37266 * nss/nss_db/db-XXX.c: Cleanup.
37267
9f2da732
UD
37268 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
37269 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
37270 GLIBC_PRIVATE.
37271 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
37272 * nss/makedb.c: Implement -g option to specify that value strings
37273 are generated and should not be added to table iterated over for
37274 get*ent calls.
37275 * nss/nss_db/db-initgroups.c: New file.
37276
82e9a1f7
UD
37277 * nss/getent.c: Add support for initgroups lookups through getgrouplist
37278 interface.
37279
c41af17e
UD
37280 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
37281 (internal_getgrouplist): Adjust to name change.
37282 Update use_initgroups_entry if this is not the first call.
37283 * nss/databases.def: Add initgroups entry.
37284
a9e836b0
UD
37285 * nss/makedb.c (compute_tables): Check result of multiple hash table
37286 sizes to minimize maximum chain length.
37287
2666d441
UD
372882011-06-14 Ulrich Drepper <drepper@gmail.com>
37289
37290 * Versions.def: Add entry for libnss_db.
37291 * shlib-versions: Likewise.
37292 * nss/Makefile: Add rules to build libnss_db.
37293 * nss/Versions: Add libnss_db information. Organize libnss_files
37294 entries better.
37295 * nss/db-Makefile: Add gshadow support. Change rules for the new
37296 makedb progra. Some minor improvements to generate smaller files.
37297 * nss/nss_db/nss_db.h: Move NSS database header data structures to
37298 here from...
37299 * nss/makedb.c: ...here.
37300 Improve database format to be smaller and require less memory at
37301 runtime.
37302 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
37303 db anymore.
37304 * nss/nss_db/db-netgrp.c: Likewise.
37305 * nss/nss_db/db-open.c: Likewise.
37306 * nss/nss_files/flies-XXX.x: Adjust comments.
37307 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
37308 * nss/nss_files/files-grp.c: Likewise.
37309 * nss/nss_files/files-hosts.c: Likewise.
37310 * nss/nss_files/files-network.c: Likewise.
37311 * nss/nss_files/files-proto.c: Likewise.
37312 * nss/nss_files/files-pwd.c: Likewise.
37313 * nss/nss_files/files-rpc.c: Likewise.
37314 * nss/nss_files/files-service.c: Likewise.
37315 * nss/nss_files/files-sgrp.c: Likewise.
37316 * nss/nss_files/files-spwd.c: Likewise.
37317 * nss/nss_db/db-alias.c: Removed.
37318 * nss/nss_db/dummy-db.h: Removed.
37319
9ee76b5a
UD
373202011-06-02 Ulrich Drepper <drepper@gmail.com>
37321
37322 * nss/makedb.c: Rewritten to not use database library.
37323 * nss/Makefile: Update to build new makedb program.
37324
c71ca1f8
AJ
373252011-06-14 Andreas Jaeger <aj@suse.de>
37326
37327 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
37328 memset declaration.
37329
3154bfb8
UD
373302011-06-10 Andreas Schwab <schwab@redhat.com>
37331
37332 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
37333 tmpbuf.
37334
b350afab
RM
373352011-06-10 Roland McGrath <roland@hack.frob.com>
37336
decd4e50
RM
37337 * Makerules (shlib.lds): Fail if the linker script comes out empty.
37338 * elf/Makefile ($(objpfx)ld.so): Likewise.
37339
5615eaf2
RM
37340 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
37341 Don't list ld.so twice in dependencies.
37342
37343 * posix/bug-regex31.c: Include <stdlib.h>.
37344
37345 * nscd/hstcache.c (cache_addhst): Remove unused variable.
37346
37347 * nis/nss_compat/compat-spwd.c
37348 (getspent_next_nss_netgr): Remove unused variable.
37349 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
37350
37351 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
37352 nonmembers" output to use the right array.
37353
37354 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
37355
37356 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
37357
37358 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
37359 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
37360 * catgets/gencat.c (read_input_file): Likewise.
37361 * locale/programs/locarchive.c (enlarge_archive): Likewise.
37362
37363 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
37364 variable definition inside #if's controlling its use.
37365
37366 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
37367
37368 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
37369
37370 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
37371
37372 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
37373 unreachable code.
37374
37375 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
37376
b68e08db
RM
37377 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
37378 * configure: Regenerated.
37379
b350afab
RM
37380 * Makerules: Revert last change.
37381 * elf/Makefile: Likewise.
37382
28368601
RM
373832011-06-09 Roland McGrath <roland@hack.frob.com>
37384
37385 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
37386 * elf/Makefile ($(objpfx)librtld.os): Likewise.
37387 (reloc-link): Likewise.
37388
11988f8f
UD
373892011-06-09 Ulrich Drepper <drepper@gmail.com>
37390
37391 * elf/Makefile: Add rules to build pldd.
37392 * elf/pldd.c: New file.
37393 * elf/pldd-xx.c: New file.
37394
e80fab37
UD
373952011-06-07 Ulrich Drepper <drepper@gmail.com>
37396
37397 * version.h: Update for 2.15 development version.
37398
9b849836
DM
373992011-06-07 David S. Miller <davem@davemloft.net>
37400
37401 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
37402 ifuncs.
37403 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
37404 elf_machine_lazy_rel): Likewise.
37405 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
37406 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
37407 elf_machine_lazy_rel): Likewise.
37408 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
37409 dl_hwcap via passed in argument.
37410 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
37411 Likewise.
37412
5a31b283
AK
374132011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37414
37415 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
37416
069e52f8
RM
374172011-06-06 Roland McGrath <roland@hack.frob.com>
37418
37419 [BZ #12849]
37420 * manual/fdl-1.1.texi: New file, verbatim from:
37421 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
37422 * manual/lgpl-2.1.texi: New file, verbatim from:
37423 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
37424 * manual/Makefile (licenses): New variable, list those new file names.
37425 (texis): Use it.
37426 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
37427
37428 * manual/fdl.texi: File removed.
37429 * manual/lesser.texi: File removed.
37430 * manual/libc.texinfo (Copying, Documentation License):
37431 Use new @include file names, put @appendix directive before @include.
37432
f16846a5
JJ
374332011-06-04 Jakub Jelinek <jakub@redhat.com>
37434
37435 [BZ #12841]
37436 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
37437 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
37438 (mq_open): Add __NTH.
37439
3d29045b
L
374402011-06-02 H.J. Lu <hongjiu.lu@intel.com>
37441
37442 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37443 Assume Intel Core i3/i5/i7 processor if AVX is available.
37444
8c297311
UD
374452011-05-31 Ulrich Drepper <drepper@gmail.com>
37446
37447 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37448 typo.
37449
c8fc0c91
UD
374502011-05-31 Andreas Schwab <schwab@redhat.com>
37451
37452 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
37453 memory. Use alloca_account. Fix memory leak when retrying.
37454
5b27a807
UD
374552011-05-31 Ulrich Drepper <drepper@gmail.com>
37456
356f8bc6
UD
37457 * version.h (RELEASE): Bump for 2.14 release.
37458 * include/features.h (__GLIBC_MINOR__): Bump to 14.
37459
5b27a807
UD
37460 * config.make.in (RANLIB): Remove entry.
37461
01f16ab0
UD
374622011-05-30 Ulrich Drepper <drepper@gmail.com>
37463
41fce8bd
UD
37464 * po/Makefile (po-sed-cmd): Add ksh to extensions.
37465 (libc.pot): Work around missing support for .ksh extension in xgettext.
37466
4769ae77
UD
37467 [BZ #12684]
37468 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
37469 if both request failed.
37470 (send_dg): In case of server errors clear resplen or *resplen2.
37471
6b1e7d19
UD
37472 [BZ #12454]
37473 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
37474 when there are multiple maps.
37475 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
37476 (_dl_fini): Remove test here.
37477
01f16ab0
UD
37478 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
37479
b1ebd700
UD
374802011-05-29 Ulrich Drepper <drepper@gmail.com>
37481
7ae22829
UD
37482 [BZ #12350]
37483 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
37484 bit from old_res_options.
37485 (gaih_inet): Likewise.
37486
553149f6 37487 [BZ #11099]
18a84741 37488 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
37489 as signed.
37490
652ffab1
UD
37491 * resolv/res_init.c (res_setoptions): Make the code more compact.
37492
16985fd0
UD
37493 [BZ #11558]
37494 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
37495 set RES_USEVC.
37496
0464f746
UD
37497 [BZ #11634]
37498 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
37499
7d17596c
UD
37500 * malloc/malloc.h: Mark malloc hook variables as deprecated.
37501
cf6bbbd7
UD
37502 [BZ #11781]
37503 * malloc/malloc.h: Declare malloc hook variables as volatile.
37504
13f1ab36
UD
37505 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
37506 in last patch.
37507
b1ebd700
UD
37508 [BZ #11799]
37509 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 37510 raise in the comment.
80e2212d
UD
37511 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37512 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37513 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 37514
ce67228d
UD
375152011-05-28 Ulrich Drepper <drepper@gmail.com>
37516
8887a920
UD
37517 [BZ #12811]
37518 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
37519 grow the buffers more if it already has to be sufficient.
37520 (build_wcs_upper_buffer): Likewise.
37521 * posix/regexec.c (check_matching): Likewise.
37522 (clean_state_log_if_needed): Likewise.
37523 (extend_buffers): Don't enlarge buffers beyond size of the input
37524 buffer.
37525 Patches mostly by Emil Wojak <emil@wojak.eu>.
37526 * posix/bug-regex32.c: New file.
37527 * posix/Makefile (tests): Add bug-regex32.
37528
4f031072
UD
37529 * locale/findlocale.c (_nl_find_locale): Return right away if
37530 _nl_explode_name failed.
37531 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
37532
d0478f0c
UD
37533 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
37534
de81b246
UD
37535 * debug/xtrace.sh: Unify messages.
37536 * malloc/memusage.sh: Likewise.
37537
c738465a
UD
37538 [BZ #12813]
37539 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
37540 time symbol from vDSO. Substitute with vsyscall if not available.
37541 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
37542 __vdso_time.
37543
f1f929d7
UD
37544 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
37545 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
37546 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
37547 Add sendmmsg and internal_sendmmsg.
37548 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
37549 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
37550 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
37551
ce67228d
UD
37552 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
37553 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
37554 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
37555
e57420c6
UD
375562011-05-27 Ulrich Drepper <drepper@gmail.com>
37557
a8509ca5
UD
37558 [BZ #12813]
37559 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
37560 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
37561 available.
37562 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
37563 __vdso_getcpu.
37564
e57420c6
UD
37565 [BZ #12814]
37566 * iconvdata/Makefile (tests): Add bug-iconv9.
37567 * iconvdata/bug-iconv9.c: New file.
37568
4d07db15
AS
375692011-05-27 Andreas Schwab <schwab@redhat.com>
37570
37571 [BZ #12814]
37572 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
37573
ea486f69
JJ
375742011-05-25 Jakub Jelinek <jakub@redhat.com>
37575
37576 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37577 (struct user_regs_struct): Change intcs field back to cs.
37578
6f038433
UD
375792011-05-25 Ulrich Drepper <drepper@gmail.com>
37580
37581 * po/ja.po: Update from translation team.
37582
67f86a25
UD
375832011-05-23 Ulrich Drepper <drepper@gmail.com>
37584
37585 [BZ #12795]
37586 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
37587 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
37588
def7fbd6
AS
375892011-05-20 Andreas Schwab <schwab@redhat.com>
37590
37591 * stdlib/longlong.h: Update from GCC.
37592
f50ef8f1
AS
375932011-05-23 Andreas Schwab <schwab@redhat.com>
37594
37595 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
37596 parameter name.
37597 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
37598 Add parameter name.
37599 (__sysconf): Pass it down.
37600
de7ce8f1
UD
376012011-05-22 Ulrich Drepper <drepper@gmail.com>
37602
f2962a71
UD
37603 [BZ #12671]
37604 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
37605 some situations.
37606 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
37607 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
37608 add in in __libc_use_alloca calls. Adjust callers.
37609 (glob): Use malloc in some situations.
37610
de7ce8f1
UD
37611 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
37612 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
37613 pltexit.
37614
aec84f53
UD
376152011-05-21 Ulrich Drepper <drepper@gmail.com>
37616
05bb4a68
UD
37617 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
37618 and CLOCK_BOOTTIME_ALARM.
37619
7ea72f99
UD
37620 [BZ #12782]
37621 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
37622 is returned.
37623
7e4afad5
UD
37624 * string/_strerror.c (__strerror_r): Print negative errors as signed
37625 numbers.
37626
8e211fec
UD
37627 [BZ #12777]
37628 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
37629 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
37630 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
37631
f7d82dc9
UD
37632 * configure.in: Fix typo in redirection and correct removal of test
37633 files in two cases.
37634
cc9e536d
UD
37635 [BZ #12788]
37636 * locale/setlocale.c (new_composite_name): Fix test to check for
37637 identical name of all categories.
37638
aec84f53
UD
37639 [BZ #12792]
37640 * libio/filedoalloc.c (local_isatty): New function.
37641 (_IO_file_doallocate): Use local_isatty.
37642 * stdio-common/perror.c (perror): In case a new stream is used
37643 forward the stream error.
37644 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
37645 error flag.
37646
78e64fdc
RT
376472011-05-20 Ulrich Drepper <drepper@gmail.com>
37648
34a9094f
UD
37649 [BZ #11869]
37650 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
37651 alloca.
37652 * include/alloca.h (extend_alloca_account): Define.
37653
78e64fdc
RT
37654 [BZ #11857]
37655 * posix/regex.h: Fix comments with documentation of user-accessible
37656 fields after compilation and describe correct free'ing of pattern
37657 after re_compile_pattern.
37658 Patch by Reuben Thomas <rrt@sc3d.org>.
37659
457bddfc
RA
376602011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
37661
37662 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
37663 and -mno-altivec to prevent the compiler from using Altivec and/or
37664 VSX instructions when the corresponding registers are not available.
37665
a4527b51
AS
376662011-05-19 Andreas Schwab <schwab@redhat.com>
37667
37668 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
37669
ed690b2f
UD
376702011-05-19 Ulrich Drepper <drepper@gmail.com>
37671
37672 * libio/freopen.c (freopen): Use __dup2, not dup2.
37673 * libio/freopen64.c (freopen64): Likewise.
37674
8db73634
L
376752011-05-17 H.J. Lu <hongjiu.lu@intel.com>
37676
37677 [BZ #12775]
37678 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
37679 * math/Makefile (tests): Add test-powl.
37680 (CFLAGS-test-powl.c): Define.
37681 * math/test-powl.c: New file.
37682
0a197a9d
L
376832011-05-16 H.J. Lu <hongjiu.lu@intel.com>
37684
37685 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
37686
ee30c380
UD
376872011-05-17 Ulrich Drepper <drepper@gmail.com>
37688
37689 [BZ #11837]
37690 * iconvdata/gb18030.c: Update to GB18020-2005.
37691
6ce75379
UD
376922011-05-16 Ulrich Drepper <drepper@gmail.com>
37693
a4b89fd8
AR
37694 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
37695 RE_SYNTAX_POSIX_AWK): Update to match recent development.
37696 Patch by Aharon Robbins <arnold@skeeve.com>.
37697
ea389b12
UD
37698 [BZ #11892]
37699 * stdlib/putenv.c (putenv): Don't always create copy of the variable
37700 on the stack.
37701
68a3f91f
UD
37702 [BZ #11895]
37703 * misc/pselect.c (__pselect): Handle timeout value errors hidden
37704 through underflows.
37705
15cc7dd1
UD
37706 [BZ #12766]
37707 * misc/error.c (error_at_line): Ensure file_name and old_file_name
37708 point to strings before performing equality test for error_one_per_line
37709 mode.
37710
f3799213
UD
37711 [BZ #11697]
37712 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
37713
d79a9c94
UD
37714 [BZ #11820]
37715 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37716 (struct user_fpregs_struct): Avoid __uint*_t types.
37717
56e5eb46
UD
37718 [BZ #6420]
37719 * malloc/mtrace.c (tr_where): Add additional parameter to point to
37720 symbol info. Use it instead of calling _dl_addr locally.
37721 (lock_and_info): New function.
37722 (tr_freehook): Call lock_and_info and pass symbol info as additional
37723 parameter to tr_where.
37724 (tr_mallochook): Likewise.
37725 (tr_reallochook): Likewise.
37726 (tr_memalignhook): Likewise.
37727
6ce75379
UD
37728 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
37729 used and couldn't be at all thread-safe.
37730
f8a3b5bf
UD
377312011-05-15 Ulrich Drepper <drepper@gmail.com>
37732
94b7cc37
UD
37733 * libio/freopen.c (freopen): Don't close old file descriptor
37734 before the new one is opened. Instead dup the new file descriptor
37735 to the old one after the new stream is created.
37736 * libio/freopen64.c (freopen64): Likewise.
37737 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
37738 * libio/fileops.c (_IO_new_file_close_it): Handle new
37739 _IO_FLAGS2_NOCLOSE flag.
37740 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
37741 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
37742 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
37743 _IO_FLAGS2_NOCLOSE flag.
37744 * include/unistd.h: Add hidden_proto for dup3.
37745 Define __have_dup3.
37746 * io/dup3.c: Define hidden symbol.
37747 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
37748
bd25564e
UD
37749 [BZ #7101]
37750 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
37751 when an incomplete long option is used.
37752 * posix/tst-getopt_long1.c: New file.
37753 * posix/Makefile (tests): Add tst-getopt_long1.
37754
c84cfef4
UD
37755 [BZ #10138]
37756 * scripts/config.guess: Update from autoconf-2.68.
37757 * scripts/config.sub: Likewise.
37758
3b85df27
UD
37759 [BZ #10157]
37760 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
37761 tests into ...
37762 (has_cpuclock): ...this. New function.
37763 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
37764 macro here based on has_cpuclock code.
37765
15a856b1
UD
37766 [BZ #10149]
37767 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37768 First byte (not low byte) is now always NUL.
37769 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
37770
05f399e6
UD
37771 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37772 Use non-cancelable interfaces.
37773
10a52685 37774 [BZ #9809]
94ecc67d
UD
37775 * locale/iso-639.def: Add entry for Sorani.
37776
f8a3b5bf
UD
37777 [BZ #11901]
37778 * include/stdlib.h: Move include protection to the right place.
37779 Define abort_msg_s. Declare __abort_msg with it.
37780 * stdlib/abort.c (__abort_msg): Adjust type.
37781 * assert/assert.c (__assert_fail_base): New function. Majority
37782 of code from __assert_fail. Allocate memory for __abort_msg with
37783 mmap.
37784 (__assert_fail): Now call __assert_fail_base.
37785 * assert/assert-perr.c: Remove bulk of implementation. Use
37786 __assert_fail_base.
37787 * include/assert.hL Declare __assert_fail_base.
37788 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
37789 mmap.
37790 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
37791
1af4e298
UD
377922011-05-14 Ulrich Drepper <drepper@gmail.com>
37793
f8a3b5bf 37794 [BZ #11952]
d26dfc60
MG
37795 [BZ #12453]
37796 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
37797 until all modules are registered in the DTV.
37798 * elf/Makefile: Add rules to build and run tst-tls19.
37799 * elf/tst-tls19.c: New file.
37800 * elf/tst-tls19mod1.c: New file.
37801 * elf/tst-tls19mod2.c: New file.
37802 * elf/tst-tls19mod3.c: New file.
37803 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
37804
2fc54d6f
UD
37805 [BZ #12083]
37806 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
37807 correctly.
37808
98d76b46
UD
37809 [BZ #12601]
37810 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
37811 two-byte sequence errors.
37812 * iconvdata/Makefile (tests): Add bug-iconv8.
37813 * iconvdata/bug-iconv8.c: New file.
37814
da3c19ef
UD
37815 [BZ #12626]
37816 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
37817 buf2 definition.
37818
ca408c15
UD
37819 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
37820
d6f67f7d
UD
37821 [BZ #12432]
37822 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
37823 (dummy_getcfa): New function.
37824 (init): Get _Unwind_GetCFA address, use dummy if not found.
37825 (backtrace_helper): In recursion check, also check whether CFA changes.
37826 (__backtrace): Completely initialize arg.
37827
1af4e298 37828 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
37829 storing incomplete byte sequence in state object. Avoid testing for
37830 guaranteed too small input if we know there is enough data available.
1af4e298 37831
da62f81b
AS
378322011-05-11 Andreas Schwab <schwab@redhat.com>
37833
37834 * Makeconfig (+link-pie): Indent.
37835 * Rules (binaries-pie): Define if $(have-fpie) and
37836 $(build-shared).
37837 (binaries-shared): Also filter out $(binaries-pie).
37838 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
37839 * nscd/Makefile (others-pie): Add nscd.
37840 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
37841 ($(objpfx)nscd): Remove command override.
37842 * login/Makefile (others-pie): Add pt_chown.
37843 ($(objpfx)pt_chown): Remove command override.
37844 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
37845 remove command overrides.
37846
fcabc0f8
UD
378472011-05-13 Ulrich Drepper <drepper@gmail.com>
37848
20030ae6
UD
37849 * libio/tst_putwc.c: Fix error messages.
37850
fcabc0f8
UD
37851 [BZ #12724]
37852 * libio/fileops.c (_IO_new_file_close_it): Always flush when
37853 currently writing and seek to current position when not.
37854 * libio/Makefile (tests): Add bug-fclose1.
37855 * libio/bug-fclose1.c: New file.
37856
320a5dc0
PB
378572011-05-12 Ulrich Drepper <drepper@gmail.com>
37858
37859 [BZ #12511]
37860 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
37861 don't set DF_1_NODELETE here.
37862 (do_lookup_x): When entering new entry test for copy relocation
37863 and if necessary set DF_1_NODELETE flag.
37864 * elf/tst-unique4.cc: New file.
37865 * elf/tst-unique4.h: New file.
37866 * elf/tst-unique4lib.cc: New file.
37867 * elf/Makefile: Add rules to build and run tst-unique4.
37868 Patch by Piotr Bury <pbury@goahead.com>.
37869
22836f52
UD
378702011-05-11 Ulrich Drepper <drepper@gmail.com>
37871
f574184a
UD
37872 [BZ #12052]
37873 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
37874
e1fb097f
UD
37875 [BZ #12625]
37876 * misc/mntent_r.c (addmntent): Flush the stream after the output
37877
22836f52
UD
37878 [BZ #12393]
37879 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
37880 (is_trusted_path_normalize): Skip initial colon. Append slash
37881 to empty buffer. Duplicate is_trusted_path code but allow
37882 constructed patch to be prefix.
37883 (is_dst): Allow $ORIGIN followed by /.
37884 (_dl_dst_substitute): Correct clearing of check_for_trusted.
37885 Correct testing of result of is_trusted_path_normalize
37886 (decompose_rpath): Fix warning.
37887
7b3b0b2a
UD
378882011-05-10 Ulrich Drepper <drepper@gmail.com>
37889
37890 [BZ #11257]
37891 * grp/initgroups.c (internal_getgrouplist): When we found the service
37892 list through the initgroups entry in nsswitch.conf do not always
37893 continue on a successful lookup. Don't always use the
eac80ce2 37894 __nss_group_database value if it is set.
7b3b0b2a
UD
37895 * nss/nsswitch.conf (initgroups): Change action for successful db
37896 lookup to continue for compatibility.
37897
2a81eaa5
UD
378982011-05-09 Ulrich Drepper <drepper@gmail.com>
37899
be97a69e
UD
37900 [BZ #11532]
37901 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
37902 and CP774 modules.
37903 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
37904 and CP774 modules.
37905 * iconvdata/tst-tables.sh: Likewise.
37906 * iconvdata/cp770.c: New file.
37907 * iconvdata/cp771.c: New file.
37908 * iconvdata/cp772.c: New file.
37909 * iconvdata/cp773.c: New file.
37910 * iconvdata/cp774.c: New file.
37911 * iconvdata/testdata/CP770: New file.
37912 * iconvdata/testdata/CP770..UTF8: New file.
37913 * iconvdata/testdata/CP771: New file.
37914 * iconvdata/testdata/CP771..UTF8: New file.
37915 * iconvdata/testdata/CP772: New file.
37916 * iconvdata/testdata/CP772..UTF8: New file.
37917 * iconvdata/testdata/CP773: New file.
37918 * iconvdata/testdata/CP773..UTF8: New file.
37919 * iconvdata/testdata/CP774: New file.
37920 * iconvdata/testdata/CP774..UTF8: New file.
37921
37922 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
37923 END CHARMAP line.
37924 * iconvdata/gen-8bit-gap.sh: Likewise.
37925 * iconvdata/gen-8bit.sh: Likewise.
37926
c1e9e399
UD
37927 * locale/iso-639.def: Add ary entry.
37928
24c55fb3 37929 [BZ #11258]
96b4b1b0
UD
37930 * locale/C-translit.h.in: Add U20A1 transliteration.
37931
bdc2f971
KB
37932 [BZ #12178]
37933 * locale/iso-639.def: Add wae entry.
37934 Patch by Kevin Bortis <bortis@translate-wae.ch>.
37935
2952b117
UD
37936 [BZ #12545]
37937 * locale/programs/localedef.c (construct_output_path): Use ssize_t
37938 for n.
37939
2a81eaa5
UD
37940 [BZ #12711]
37941 * locale/C-translit.h.in: Add entry for U20B9.
37942 Patch by pravin.d.s@gmail.com.
37943
28377d1b
UD
379442011-05-08 Ulrich Drepper <drepper@gmail.com>
37945
7fb90fb8
UD
37946 [BZ #12713]
37947 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
37948 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
37949 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
37950 in rtld. Use *stat64.
7fb90fb8 37951 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 37952 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 37953 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
37954 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
37955 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
37956 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
37957 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
37958 __fstatat64 macros.
7fb90fb8
UD
37959 * include/dirent.h: Add libc_hidden_proto for rewinddir.
37960 * dirent/rewinddir.c: Add libc_hidden_def.
37961 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 37962 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 37963
28377d1b
UD
37964 * include/dirent.h (__alloc_dir): Add flags parameter.
37965 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
37966 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
37967 __alloc_dir.
37968 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
37969 from fdopendir if O_CLOEXEC is already set.
37970
66bdbaa4
AM
379712011-03-15 Alan Modra <amodra@gmail.com>
37972
37973 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
37974 l_tls_firstbyte_offset non-zero. Save padding offset in
37975 l_tls_firstbyte_offset for later use.
37976 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
37977 freeing static tls block.
37978
95721191
JN
379792011-03-05 Jonathan Nieder <jrnieder@gmail.com>
37980
37981 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
37982 where #ifdef was intended. The intent is to prevent ARG_MAX from
37983 being defined by the kernel headers.
37984
f87dfb1f
UD
379852011-05-07 Ulrich Drepper <drepper@gmail.com>
37986
37987 [BZ #12734]
37988 * resolv/resolv.h: Define RES_NOTLDQUERY.
37989 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
37990 no-tld-query and set RES_NOTLDQUERY.
37991 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
37992 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
37993 modern BIND to search name as TLD unless forbidden.
37994
47c3cd7a
UD
379952011-05-07 Petr Baudis <pasky@suse.cz>
37996 Ulrich Drepper <drepper@gmail.com>
37997
37998 [BZ #12393]
37999 * elf/dl-load.c (fillin_rpath): Move trusted path check...
38000 (is_trusted_path): ...to here.
c1e9ea35 38001 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 38002 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 38003 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 38004
8a35c912
PP
380052011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38006
38007 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
38008 __BEGIN/__END_DECLS.
38009
acd41f47
UD
380102011-05-06 Ulrich Drepper <drepper@gmail.com>
38011
38012 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
38013 NSS_STATUS_NOTFOUND if no record was found.
38014
597df647
AS
380152011-05-05 Andreas Schwab <schwab@redhat.com>
38016
38017 * sunrpc/Makefile (headers): Add rpc/netdb.h.
38018 (headers-not-in-tirpc): Remove rpc/netdb.h
38019 * resolv/netdb.h: Revert last change.
38020
b9af1301
PP
380212011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38022
38023 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
38024 circular dependency between libgcc.a and libc.a.
38025
4e34d5f5
AS
380262011-05-05 Andreas Schwab <schwab@redhat.com>
38027
38028 * resolv/netdb.h: Don't include <rpc/netdb.h>.
38029 * nis/Makefile: Don't install rpcsvc/*.
38030 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
38031 instead of <rpc/types.h>.
38032 (MAXHOSTNAMELEN): Define.
38033
00ee369c
AS
380342011-05-03 Andreas Schwab <schwab@redhat.com>
38035
38036 * elf/ldconfig.c (add_dir): Don't crash on empty path.
38037
0b592a30
MB
380382011-04-28 Maciej Babinski <mbabinski@google.com>
38039
38040 [BZ #12714]
38041 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
38042 gethostbyname4_r when IPv6 results are possible.
38043
6e04cbbe
UD
380442011-05-02 Ulrich Drepper <drepper@gmail.com>
38045
38046 [BZ #12723]
38047 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
38048 _PC_PIPE_BUF handling.
38049
e4ecafe0
BH
380502011-04-30 Bruno Haible <bruno@clisp.org>
38051
38052 [BZ #12717]
38053 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
38054 * resolv/netdb.h (getnameinfo): Change type of flags parameter
38055 to 'int'.
38056 * inet/getnameinfo.c (getnameinfo): Likewise.
38057
125ee683
UD
380582011-04-29 Ulrich Drepper <drepper@gmail.com>
38059
38060 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
38061 to groups setting in database lookup.
38062 * nss/nsswitch.conf: Add initgroups entry.
38063
b722481a
EB
380642011-04-22 Ulrich Drepper <drepper@gmail.com>
38065
38066 [BZ #12685]
38067 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
38068 mode string.
38069 Patch by Eric Blake <eblake@redhat.com>.
38070
4df46dbd
L
380712011-04-20 H.J. Lu <hongjiu.lu@intel.com>
38072
38073 * sunrpc/Makefile (need-export-routines): Add svc_run.
38074 (routines): Remove svc_run.
38075 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
38076 * sunrpc/clnt_perr.c (clnt_perrno): Export.
38077 * sunrpc/svc_run.c (svc_run): Likewise.
38078 * sunrpc/svc_udp.c (svcudp_create): Likewise.
38079
e84142d2
UD
380802011-04-21 Ulrich Drepper <drepper@gmail.com>
38081
38082 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
38083 problem in reallocation in last patch.
38084
877175d8
UD
380852011-04-20 Ulrich Drepper <drepper@gmail.com>
38086
38087 * sunrpc/Makefile: Move inclusion of Rules.
38088
ab8eed78
UD
380892011-04-19 Ulrich Drepper <drepper@gmail.com>
38090
38091 * nss/nss_files/files-initgroups.c: New file.
38092 * nss/Makefile (libnss_files-routines): Add files-initgroups.
38093 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
38094 _nss_files_initgroups_dyn.
38095
e3d8f584
RS
380962011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
38097
38098 * elf/elf.h (R_ARM_IRELATIVE): Define.
38099
af190f45
UD
381002011-04-19 Ulrich Drepper <drepper@gmail.com>
38101
38102 * po/ru.po: Update from translation team.
38103
53cf59ef
UD
381042011-04-17 Ulrich Drepper <drepper@gmail.com>
38105
38106 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
38107 dependencies.
38108
4c559bcd
MF
381092011-02-06 Mike Frysinger <vapier@gentoo.org>
38110
38111 [BZ #12653]
38112 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
38113 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
38114 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38115 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38116 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38117
4420675c
AS
381182011-03-28 Andreas Schwab <schwab@linux-m68k.org>
38119
38120 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
38121 differing bytes.
38122 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38123 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38124 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38125
75ea32ab
UD
381262011-04-17 Ulrich Drepper <drepper@gmail.com>
38127
38128 [BZ #12420]
38129 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
38130 storing it.
38131 * stdlib/bug-getcontext.c: New file.
38132 * stdlib/Makefile: Add rules to build and run bug-getcontext.
38133
27390476
AK
381342011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38135
38136 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
38137 instructions into .machine "z9-109".
38138 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
38139 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
38140
10442705
AK
381412011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38142
38143 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
38144 between environment variables and auxiliary vector.
38145
7b57bfe5
UD
381462011-04-16 Ulrich Drepper <drepper@gmail.com>
38147
38148 * Makefile: Add rules to build linkobj/libc.so.
38149 * include/libc-symbols.h: Define libc_hidden_nolink.
38150 * include/rpc/auth.h: Mark functions which are to be hidden.
38151 * include/rpc/auth_des.h: Likewise.
38152 * include/rpc/auth_unix.h: Likewise.
38153 * include/rpc/clnt.h: Likewise.
38154 * include/rpc/des_crypt.h: Likewise.
38155 * include/rpc/key_prot.h: Likewise.
38156 * include/rpc/pmap_clnt.h: Likewise.
38157 * include/rpc/pmap_prot.h: Likewise.
38158 * include/rpc/pmap_rmt.h: Likewise.
38159 * include/rpc/rpc_msg.h: Likewise.
38160 * include/rpc/svc.h: Likewise.
38161 * include/rpc/svc_auth.h: Likewise.
38162 * include/rpc/xdr.h: Likewise.
38163 * nis/Makefile: Link all DSOs against linkobj/libc.so.
38164 * nss/Makefile: Likewise.
38165 * sunrpc/Makefile: Don't install headers. Build library with normal
38166 entry points. Don't build rpcinfo. Link RPC tests appropriately.
38167 * sunrpc/auth_des.c: Hide exported symbols by default, export some
38168 for the compat linking library. Remove use of INTDEF/INTUSE.
38169 * sunrpc/auth_none.c: Likewise.
38170 * sunrpc/auth_unix.c: Likewise.
38171 * sunrpc/authdes_prot.c: Likewise.
38172 * sunrpc/authuxprot.c: Likewise.
38173 * sunrpc/clnt_gen.c: Likewise.
38174 * sunrpc/clnt_perr.c: Likewise.
38175 * sunrpc/clnt_raw.c: Likewise.
38176 * sunrpc/clnt_simp.c: Likewise.
38177 * sunrpc/clnt_tcp.c: Likewise.
38178 * sunrpc/clnt_udp.c: Likewise.
38179 * sunrpc/clnt_unix.c: Likewise.
38180 * sunrpc/des_crypt.c: Likewise.
38181 * sunrpc/des_soft.c: Likewise.
38182 * sunrpc/get_myaddr.c: Likewise.
38183 * sunrpc/key_call.c: Likewise.
38184 * sunrpc/key_prot.c: Likewise.
38185 * sunrpc/netname.c: Likewise.
38186 * sunrpc/pm_getmaps.c: Likewise.
38187 * sunrpc/pm_getport.c: Likewise.
38188 * sunrpc/pmap_clnt.c: Likewise.
38189 * sunrpc/pmap_prot.c: Likewise.
38190 * sunrpc/pmap_prot2.c: Likewise.
38191 * sunrpc/pmap_rmt.c: Likewise.
38192 * sunrpc/publickey.c: Likewise.
38193 * sunrpc/rpc_cmsg.c: Likewise.
38194 * sunrpc/rpc_common.c: Likewise.
38195 * sunrpc/rpc_dtable.c: Likewise.
38196 * sunrpc/rpc_prot.c: Likewise.
38197 * sunrpc/rpc_thread.c: Likewise.
38198 * sunrpc/rtime.c: Likewise.
38199 * sunrpc/svc.c: Likewise.
38200 * sunrpc/svc_auth.c: Likewise.
38201 * sunrpc/svc_authux.c: Likewise.
38202 * sunrpc/svc_raw.c: Likewise.
38203 * sunrpc/svc_run.c: Likewise.
38204 * sunrpc/svc_simple.c: Likewise.
38205 * sunrpc/svc_tcp.c: Likewise.
38206 * sunrpc/svc_udp.c: Likewise.
38207 * sunrpc/svc_unix.c: Likewise.
38208 * sunrpc/svcauth_des.c: Likewise.
38209 * sunrpc/xcrypt.c: Likewise.
38210 * sunrpc/xdr.c: Likewise.
38211 * sunrpc/xdr_array.c: Likewise.
38212 * sunrpc/xdr_float.c: Likewise.
38213 * sunrpc/xdr_intXX_t.c: Likewise.
38214 * sunrpc/xdr_mem.c: Likewise.
38215 * sunrpc/xdr_rec.c: Likewise.
38216 * sunrpc/xdr_ref.c: Likewise.
38217 * sunrpc/xdr_sizeof.c: Likewise.
38218 * sunrpc/xdr_stdio.c: Likewise.
38219
e6c61494
UD
382202011-04-10 Ulrich Drepper <drepper@gmail.com>
38221
38222 [BZ #12650]
38223 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
38224 * sysdeps/ia64/dl-tls.h: Likewise.
38225 * sysdeps/powerpc/dl-tls.h: Likewise.
38226 * sysdeps/s390/dl-tls.h: Likewise.
38227 * sysdeps/sh/dl-tls.h: Likewise.
38228 * sysdeps/sparc/dl-tls.h: Likewise.
38229 * sysdeps/x86_64/dl-tls.h: Likewise.
38230 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
38231
34fe483e
AS
382322011-03-14 Andreas Schwab <schwab@redhat.com>
38233
38234 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
38235 rpath element also skip the following colon.
38236 (expand_dynamic_string_token): Add is_path parameter and pass
38237 down to DL_DST_REQUIRED and _dl_dst_substitute.
38238 (decompose_rpath): Call expand_dynamic_string_token with
38239 non-zero is_path. Ignore empty rpaths.
38240 (_dl_map_object_from_fd): Call expand_dynamic_string_token
38241 with zero is_path.
38242
f12a32e6
AS
382432011-04-08 Andreas Schwab <schwab@linux-m68k.org>
38244
38245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
38246 Make cancelable.
38247
38a7d692
UD
382482011-04-09 Ulrich Drepper <drepper@gmail.com>
38249
38250 [BZ #12655]
38251 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
38252 Patch by Filipe David Manana <fdmanana@apache.org>.
38253
e451d22b
AS
382542011-04-07 Andreas Schwab <schwab@redhat.com>
38255
38256 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
38257 Maintain aligned stack.
38258 (CHECK_RSP): Remove unused macro.
38259
dedc7c7b
UD
382602011-04-03 Ulrich Drepper <drepper@gmail.com>
38261
38262 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
38263 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
38264
94521213
UD
382652011-04-02 Ulrich Drepper <drepper@gmail.com>
38266
38267 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
38268
8cb700c0 38269 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 38270
0354e355
L
382712011-03-26 H.J. Lu <hongjiu.lu@intel.com>
38272
38273 [BZ #12518]
38274 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
38275 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
38276 * sysdeps/x86_64/memmove.c: New file.
38277 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
38278 (memcpy): Renamed to ...
38279 (__new_memcpy): This.
38280 (memcpy): Provide GLIBC_2_14 memcpy.
38281 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
38282 (memcpy): Provide GLIBC_2_2_5 memcpy.
38283
8593482f
UD
382842011-04-01 Ulrich Drepper <drepper@gmail.com>
38285
38286 [BZ #12631]
38287 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
38288
81a5726b
AS
382892011-03-30 Andreas Schwab <schwab@redhat.com>
38290
38291 * misc/syncfs.c: New file.
38292 * misc/Makefile (routines): Add syncfs.
38293 * posix/unistd.h: Declare syncfs.
38294 * sysdeps/unix/syscalls.list: Add syncfs.
38295
00e5419f
AS
382962011-04-01 Andreas Schwab <schwab@redhat.com>
38297
38298 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
38299 open_by_handle_at.
38300 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38301 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38302 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38303 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38304 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38305 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
38306 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38307
748876bf
UD
383082011-04-01 Ulrich Drepper <drepper@gmail.com>
38309
658e451d
UD
38310 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
38311 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38312 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
38313 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38314 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38315 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38316 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38317
748876bf
UD
38318 * io/Makefile: Compile fallocate.c, fallocate64.c, and
38319 sync_file_range.c with -fexceptions.
38320 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
38321 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
38322 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
38323 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
38324 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
38325 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
38326 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
38327 sync_file_range as cancellation point
38328 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
38329 now a wrapper around __call_sync_file_range with cancellation handling.
38330 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
38331 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
38332 function name to __call_sync_file_range.
38333 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
38334 Add call_sync_file_range.
748876bf 38335
6e63d5e1
AS
383362011-04-01 Andreas Schwab <schwab@redhat.com>
38337
38338 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 38339 bits/timex.h.
6e63d5e1 38340
46998f74
UD
383412011-04-01 Ulrich Drepper <drepper@gmail.com>
38342
4c1423ed
UD
38343 * iconv/iconv.h: Fix typo in comment.
38344 * io/fcntl.h: Likewise.
38345 * libio/stdio.h: Likewise.
38346 * posix/spawn.h: Likewise.
38347 * posix/unistd.h: Likewise.
38348 * stdlib/stdlib.h: Likewise.
38349 * time/time.h: Likewise.
38350 * wcsmbs/wchar.h: Likewise.
38351
158648c0
UD
38352 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
38353 open_by_handle): Add.
38354 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
38355 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
38356 Augment a few comments.
38357 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38358 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38359 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38360 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38361 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38362 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
38363 open_by_handle.
38364
46998f74
UD
38365 * io/fcntl.h (AT_EMPTY_PATH): Define.
38366
83fe108b
UD
383672011-03-30 Ulrich Drepper <drepper@gmail.com>
38368
38369 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
38370 * sysdeps/unix/sysv/linux/bits/time.h: New file.
38371 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
38372 to...
38373 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
38374 * Versions.def: Add GLIBC_2.14.
38375 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
38376 Export.
83fe108b 38377
bb242059
UD
383782011-03-22 Ulrich Drepper <drepper@gmail.com>
38379
38380 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
38381 round counter.
38382 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38383
c97a1282
L
383842011-03-20 H.J. Lu <hongjiu.lu@intel.com>
38385
38386 [BZ #12597]
38387 * string/test-strncmp.c (do_page_test): New function.
38388 (check2): Likewise.
38389 (test_main): Call check2.
38390 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
38391
2a115601
UD
383922011-03-20 Ulrich Drepper <drepper@gmail.com>
38393
38394 [BZ #12587]
38395 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
38396 Handle cache information in CPU leaf 4.
38397 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38398
8126d904
UD
383992011-03-18 Ulrich Drepper <drepper@gmail.com>
38400
042c49c6 38401 [BZ #12583]
8126d904
UD
38402 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
38403 character representation.
38404 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
38405
ccfe366e
RA
384062011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
38407
38408 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
38409 END(__isnan) to END(__isnanf) to match function entry point/label
38410 EALIGN(__isnanf,...).
38411
c6e13027
JJ
384122011-03-10 Jakub Jelinek <jakub@redhat.com>
38413
38414 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
38415
33f85a3f
UD
384162011-03-10 Ulrich Drepper <drepper@gmail.com>
38417
028478fa
UD
38418 [BZ #12510]
38419 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
38420 copy from the symbol referenced in the relocation to initialize the
38421 used variable.
38422 Patch by Piotr Bury <pbury@goahead.com>.
38423 * elf/Makefile: Add rules to build and tst-unique3.
38424 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
38425 * elf/tst-unique3.cc: New file.
38426 * elf/tst-unique3.h: New file.
38427 * elf/tst-unique3lib.cc: New file.
38428 * elf/tst-unique3lib2.cc: New file.
38429
33f85a3f
UD
38430 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
38431
03592fc7
MF
384322011-03-10 Mike Frysinger <vapier@gentoo.org>
38433
38434 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
38435 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
38436 to _start.
03592fc7 38437
6a5ee102
UD
384382011-03-06 Ulrich Drepper <drepper@gmail.com>
38439
38440 * elf/dl-load.c (_dl_map_object): If we are looking for the first
38441 to-be-loaded object along a path to loader is ld.so.
38442
7e4ba49c
HJ
384432011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38444 Ulrich Drepper <drepper@gmail.com>
38445
38446 * sysdeps/x86_64/memset.S: After aligning destination, code
38447 branches to different locations depending on the value of
38448 misalignment, when multiarch is enabled. Fix this.
38449
384502011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38451
38452 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
38453 Set _x86_64_preferred_memory_instruction for AMD processsors.
38454 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38455 Set bit_Prefer_SSE_for_memop for AMD processors.
38456
13a804de
UD
384572011-03-04 Ulrich Drepper <drepper@gmail.com>
38458
38459 * libio/fmemopen.c (fmemopen): Optimize a bit.
38460
9d25c392
AS
384612011-03-03 Andreas Schwab <schwab@redhat.com>
38462
38463 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
38464
a5543c6a
RM
384652011-03-03 Roland McGrath <roland@redhat.com>
38466
38467 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
38468
012d35f7
DM
384692011-02-28 Aurelien Jarno <aurelien@aurel32.net>
38470
7e4ba49c 38471 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
38472 __bzero_ultra1 instead of __memset_ultra1.
38473
4bff6e01
AS
384742011-02-23 Andreas Schwab <schwab@redhat.com>
38475 Ulrich Drepper <drepper@gmail.com>
38476
38477 [BZ #12509]
38478 * include/link.h (struct link_map): Add l_orig_initfini.
38479 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
38480 returning unsuccessfully.
38481 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
38482 close of a file loaded at startup, restore the original l_initfini
38483 list.
38484 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
38485 list, store the pointer.
38486 * elf/Makefile ($(objpfx)noload-mem): New rule.
38487 (noload-ENV): Define.
38488 (tests): Add $(objpfx)noload-mem.
38489 * elf/noload.c: Include <memcheck.h>.
38490 (main): Call mtrace. Close all opened handles.
38491
f2092faf
AS
384922011-02-17 Andreas Schwab <schwab@redhat.com>
38493
38494 [BZ #12454]
38495 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
38496 dependencies are missing.
38497
6c8a2e88
ST
384982011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
38499
f2092faf 38500 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
38501 Hurd needs munmap.
38502 * sysdeps/mach/hurd/ifreq.h: New file.
38503
84a42118
PB
385042011-01-27 Petr Baudis <pasky@suse.cz>
38505 Ulrich Drepper <drepper@gmail.com>
38506
071f805e 38507 [BZ 12445]#
84a42118
PB
38508 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
38509 to extend_alloca().
38510 * stdio-common/bug23.c: New file.
38511 * stdio-common/Makefile (tests): Add bug23.
38512
e23fe25b
AS
385132010-09-28 Andreas Schwab <schwab@redhat.com>
38514 Ulrich Drepper <drepper@gmail.com>
38515
38516 [BZ #12489]
38517 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
38518 before performing relro protection. At old place add assertion
38519 to make sure nothing changed.
38520
d3f02e10
NS
385212011-02-17 Nathan Sidwell <nathan@codesourcery.com>
38522 Glauber de Oliveira Costa <glommer@gmail.com>
38523
38524 * elf/elf.h: Add new ARM TLS relocs.
38525
d55fd7a5
RA
385262011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
38527
38528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38529 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
38530 cast from r3.
38531 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
38532 'tests' variable.
38533 * sysdeps/wordsize-64/tst-writev.c: New file.
38534
2206397e
RA
385352011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
38536
38537 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
38538 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
38539 insns in _dl_start to prevent a TOC reference before relocs are
38540 resolved.
38541
e9433893
UD
385422011-02-15 Ulrich Drepper <drepper@gmail.com>
38543
38544 [BZ #12469]
38545 * Makeconfig: Remove RANLIB definition.
38546 * Makerules: Don't use RANLIB.
38547 * aclocal.m4: Remove ranlib test.
38548 * configure.in: No need to check for ranlib.
38549 * elf/rtld-Rules: Don't use RANLIB.
38550
f75286c6
ST
385512011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
38552
8e31c82d
ST
38553 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
38554 protection macro.
38555 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
38556 inclusion protection macro.
38557
f75286c6
ST
38558 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
38559 SIGRTMIN and SIGRTMAX and print information in that case only when
38560 SIGRTMIN is defined.
38561
c1d0e639
JJ
385622011-02-11 Jakub Jelinek <jakub@redhat.com>
38563
38564 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
38565 arginfo fn returning -1.
38566
38567 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
38568 and thousands string is zero terminated.
38569
edf9294e
AS
385702011-02-03 Andreas Schwab <schwab@redhat.com>
38571
38572 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
38573 sysdeps/unix/sysv/linux/bits/socket.h.
38574
2b7e92df
ST
385752011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
38576
edf9294e
AS
38577 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
38578 (__CPU_COUNT): Remove old macros.
38579 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
38580 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
38581 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
38582 (__sched_cpualloc, __sched_cpufree): Add declarations.
38583
a4c7ea7b
UD
385842011-02-05 Ulrich Drepper <drepper@gmail.com>
38585
38586 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
38587 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
38588 * nscd/aicache.c (addhstaiX): Return timeout of added value.
38589 (readdhstai): Return value of addhstaiX call.
38590 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
38591 (addgrbyX): Return value returned by cache_addgr.
38592 (readdgrbyname): Return value returned by addgrbyX.
38593 (readdgrbygid): Likewise.
38594 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
38595 (addpwbyX): Return value returned by cache_addpw.
38596 (readdpwbyname): Return value returned by addhstbyX.
38597 (readdpwbyuid): Likewise.
38598 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
38599 (addservbyX): Return value returned by cache_addserv.
38600 (readdservbyname): Return value returned by addservbyX:
38601 (readdservbyport): Likewise.
38602 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
38603 (addhstbyX): Return value returned by cache_addhst.
38604 (readdhstbyname): Return value returned by addhstbyX.
38605 (readdhstbyaddr): Likewise.
38606 (readdhstbynamev6): Likewise.
38607 (readdhstbyaddrv6): Likewise.
38608 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
38609 (readdinitgroups): Return value returned by addinitgroupsX.
38610 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
38611 (prune_cache): Keep track of timeout value of re-added entries.
38612 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
38613 * nscd/nscd.h: Adjust prototypes of readd* functions.
38614
a0bf67cc
RM
386152011-02-04 Roland McGrath <roland@redhat.com>
38616
38617 * nis/nis_server.c (nis_servstate): Use the right name for 0.
38618 (nis_stats): Likewise.
38619 * nis/nis_modify.c (nis_modify): Likewise.
38620 * nis/nis_remove.c (nis_remove): Likewise.
38621 * nis/nis_add.c (nis_add): Likewise.
38622
38623 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
38624
38625 * posix/fnmatch_loop.c: Add some consts.
38626
38627 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
38628
435b95eb
L
386292011-02-02 H.J. Lu <hongjiu.lu@intel.com>
38630
38631 [BZ #12460]
38632 * config.make.in (config-cflags-novzeroupper): Define.
38633 * configure.in: Substitute libc_cv_cc_novzeroupper.
38634 * elf/Makefile (AVX-CFLAGS): Define.
38635 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
38636 (CFLAGS-tst-auditmod4a.c): Likewise.
38637 (CFLAGS-tst-auditmod4b.c): Likewise.
38638 (CFLAGS-tst-auditmod6b.c): Likewise.
38639 (CFLAGS-tst-auditmod6c.c): Likewise.
38640 (CFLAGS-tst-auditmod7b.c): Likewise.
38641 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
38642
8517b15e
UD
386432011-02-02 Ulrich Drepper <drepper@gmail.com>
38644
38645 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
38646 function to the callback.
38647 Patch partly by Jiri Olsa <jolsa@redhat.com>.
38648
10a656fe
AS
386492011-02-02 Andreas Schwab <schwab@redhat.com>
38650
38651 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
38652 of errno.
38653
968dad0a
UD
386542011-01-19 Ulrich Drepper <drepper@gmail.com>
38655
9f94d2ea 38656 [BZ #11724]
968dad0a
UD
38657 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
38658 of constructors.
38659 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
38660 of destructors.
38661 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
38662
38663 [BZ #11724]
38664 * elf/Makefile: Add rules to build and run new test.
38665 * elf/tst-initorder.c: New file.
38666 * elf/tst-initorder.exp: New file.
38667 * elf/tst-initordera1.c: New file.
38668 * elf/tst-initordera2.c: New file.
38669 * elf/tst-initordera3.c: New file.
38670 * elf/tst-initordera4.c: New file.
38671 * elf/tst-initorderb1.c: New file.
38672 * elf/tst-initorderb2.c: New file.
38673 * elf/tst-order-a1.c: New file.
38674 * elf/tst-order-a2.c: New file.
38675 * elf/tst-order-a3.c: New file.
38676 * elf/tst-order-a4.c: New file.
38677 * elf/tst-order-b1.c: New file.
38678 * elf/tst-order-b2.c: New file.
38679 * elf/tst-order-main.c: New file.
38680 New test case by George Gensure <werkt0@gmail.com>.
38681
86e92359
UD
386822010-10-01 Andreas Schwab <schwab@redhat.com>
38683
38684 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38685 decoding ACE if AI_CANONIDN.
38686
5d5732b0
UD
386872011-01-18 Ulrich Drepper <drepper@gmail.com>
38688
38689 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
38690
a77e8cbc
UD
386912011-01-17 Ulrich Drepper <drepper@gmail.com>
38692
6392473f
UD
38693 * version.h (RELEASE): Bump for 2.13 release.
38694 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
38695
620a0529
UD
38696 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
38697
18ba70a5
UD
38698 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
38699 MADV_NOHUGEPAGE.
32465c3e
UD
38700 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
38701 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38702 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38703 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38704 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38705 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38706
c0dafcf1
UD
38707 * posix/getconf.c: Update copyright year.
38708 * catgets/gencat.c: Likewise.
38709 * csu/version.c: Likewise.
38710 * debug/catchsegv.sh: Likewise.
38711 * debug/xtrace.sh: Likewise.
38712 * elf/ldconfig.c: Likewise.
38713 * elf/ldd.bash.in: Likewise.
38714 * elf/sprof.c (print_version): Likewise.
38715 * iconv/iconv_prog.c: Likewise.
38716 * iconv/iconvconfig.c: Likewise.
38717 * locale/programs/locale.c: Likewise.
38718 * locale/programs/localedef.c: Likewise.
38719 * malloc/memusage.sh: Likewise.
38720 * malloc/mtrace.pl: Likewise.
38721 * nscd/nscd.c (print_version): Likewise.
38722 * nss/getent.c: Likewise.
38723
a77e8cbc
UD
38724 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
38725 PF_CAIF, and PF_ALG.
38726 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38727
77e8bddf
AS
387282011-01-16 Andreas Schwab <schwab@linux-m68k.org>
38729
1f20b93a
AS
38730 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
38731 (modules-names): Use them.
38732 (ifunc-test-modules, ifunc-pie-tests): Define.
38733 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
38734 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
38735 (test-extras): Likewise.
38736 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
38737 $(compile-command.c).
38738 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
38739 (all-built-dso): Define.
38740 (check-textrel.out, check-execstack.out): Depend on it.
38741
77e8bddf
AS
38742 * configure.in: Don't override --enable-multi-arch.
38743
bc425b33
UD
387442011-01-15 Ulrich Drepper <drepper@gmail.com>
38745
38746 [BZ #6812]
38747 * nscd/hstcache.c (tryagain): Define.
38748 (cache_addhst): Return tryagain not notfound for temporary errors.
38749 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
38750 failed.
38751
794c3ad3
UD
387522011-01-14 Ulrich Drepper <drepper@gmail.com>
38753
70181fdd
UD
38754 [BZ #10563]
38755 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
38756 to make the syscall.
38757 * sysdeps/unix/sysv/linux/setgroups.c: New file.
38758
794c3ad3
UD
38759 [BZ #12378]
38760 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
38761 and fall back to matching as normal character if the string ends before
38762 the matching ']' is found. This is what POSIX requires.
38763 * posix/testfnm.c: Adjust test result.
38764 * posix/globtest.sh: Adjust test result. Add new test.
38765 * posix/tst-fnmatch.input: Likewise.
38766 * posix/tst-fnmatch2.c: Add new test.
38767
68dc9497
AS
387682010-12-28 Andreas Schwab <schwab@linux-m68k.org>
38769
38770 * elf/Makefile (check-execstack): Revert last change. Depend on
38771 check-execstack.h.
38772 (check-execstack.h): New target.
38773 (generated): Add check-execstack.h.
38774 * elf/check-execstack.c: Include "check-execstack.h".
38775 (main): Revert last change.
38776 (handle_file): Return zero if GNU_STACK is absent and
38777 DEFAULT_STACK_PERMS doesn't include PF_X.
38778
451f001b
UD
387792011-01-13 Ulrich Drepper <drepper@gmail.com>
38780
cfa28e56
UD
38781 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
38782 in child fails because the descriptor is already closed.
8cf8ce17
UD
38783 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
38784 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
38785 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 38786
1086d70d
UD
38787 [BZ #12397]
38788 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
38789 syscall.
38790
451f001b
UD
38791 [BZ #10484]
38792 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
38793 temporary buffer used to handle multi lookups locally.
a85b5cb4 38794 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 38795
08769175
UD
387962011-01-12 Ulrich Drepper <drepper@gmail.com>
38797
38798 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
38799 loader is ld.so.
38800
5e49c52e
UD
388012011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
38802
38803 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
38804 alignment for SSE2.
38805
60522a5f
UD
388062011-01-12 Ulrich Drepper <drepper@gmail.com>
38807
38808 [BZ #12394]
38809 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
38810 characters. When rounding increased number of integer digits recompute
38811 number of groups.
38812 * stdio-common/tst-grouping.c: New file.
38813 * stdio-common/Makefile: Add rules to build and run tst-grouping.
38814
f257bbd7
UD
388152011-01-09 Ulrich Drepper <drepper@gmail.com>
38816
38817 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
38818 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
38819
38820 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
38821 void.
38822 * bits/select.h: Likewise.
38823
fa9c15cb
UD
388242011-01-08 Ulrich Drepper <drepper@gmail.com>
38825
38826 * po/ja.po: Update from translation team.
38827
16c2895f
DM
388282011-01-04 David S. Miller <davem@sunset.davemloft.net>
38829
38830 [BZ #11155]
38831 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
38832 implementation just like for lxstat, fxstatat, et al.
38833
2543fef2
JM
388342010-12-27 Jim Meyering <meyering@redhat.com>
38835
38836 [BZ #12348]
38837 * posix/regexec.c (build_trtable): Return failure indication upon
38838 calloc failure. Otherwise, re_search_internal could infloop on OOM.
38839
98727dbe
UD
388402010-12-25 Ulrich Drepper <drepper@gmail.com>
38841
5bd6dc5c
UD
38842 [BZ #12201]
38843 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
38844 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
38845 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
38846 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
38847
97983464
UD
38848 [BZ #12207]
38849 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
38850
98727dbe
UD
38851 [BZ #12204]
38852 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
38853 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
38854
4a531bb0
L
388552010-12-15 H.J. Lu <hongjiu.lu@intel.com>
38856
38857 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
38858 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
38859 script has SORT_BY_INIT_PRIORITY.
38860 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
38861 NO_CTORS_DTORS_SECTIONS is defined.
38862 * elf/soinit.c: Likewise.
38863 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
38864 NO_CTORS_DTORS_SECTIONS is defined.
38865 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
38866 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
38867 * sysdeps/sh/init-first.c: Likewise.
38868 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
38869
07eb4b71
UD
388702010-12-24 Ulrich Drepper <drepper@gmail.com>
38871
38872 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
38873 always use the slow path.
38874
30950a5f
RA
388752010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
38876
38877 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
38878 similar rule which adds the sysdep directories to the header search in
38879 order to pick up the correct platform stackinfo.h.
38880 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
38881 perform test if it is, otherwise return successfully without testing.
38882 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
38883 DEFAULT_STACK_PERMS define in stackinfo.h.
38884 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
38885 defined in stackinfo.h.
38886 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
38887 DEFAULT_STACK_PERMS defined in stackinfo.h.
38888 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
38889 * sysdeps/ia64/stackinfo.h: Likewise.
38890 * sysdeps/s390/stackinfo.h: Likewise.
38891 * sysdeps/sh/stackinfo.h: Likewise.
38892 * sysdeps/sparc/stackinfo.h: Likewise.
38893 * sysdeps/x86_64/stackinfo.h: Likewise.
38894 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
38895 PF_X for powerpc64. Retain PF_X for powerpc32.
38896
db753e2c
UD
388972010-12-19 Ulrich Drepper <drepper@gmail.com>
38898
14b697f7
UD
38899 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
38900 accurately.
db753e2c
UD
38901 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
38902 GETDENTS_64BIT_ALIGNED.
38903
28300719
UD
389042010-12-14 Ulrich Drepper <dreper@gmail.com>
38905
14b697f7 38906 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 38907
4f197237
AS
389082010-12-10 Andreas Schwab <schwab@redhat.com>
38909
dbb0472f
AS
38910 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
38911 _GNU_SOURCE.
38912
4f197237
AS
38913 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
38914 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
38915 Remove __restrict.
38916 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
38917 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
38918
fb88ac72
UD
389192010-12-09 Ulrich Drepper <drepper@gmail.com>
38920
38921 [BZ #11655]
38922 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
38923 are initialized.
38924
42acbb92
JJ
389252010-12-09 Jakub Jelinek <jakub@redhat.com>
38926
38927 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
38928
c038d98d
UD
389292010-12-03 Ulrich Drepper <drepper@gmail.com>
38930
38931 * po/it.po: Update from translation team.
38932
3a4a2499
L
389332010-12-01 H.J. Lu <hongjiu.lu@intel.com>
38934
38935 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
38936 unused codes.
38937
1e24cf6e
UD
389382010-11-30 Ulrich Drepper <drepper@gmail.com>
38939
38940 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
38941
a7690819
AS
389422010-11-24 Andreas Schwab <schwab@redhat.com>
38943
38944 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
38945 specially.
38946 (gaih_getanswer_slice): Likewise.
38947
3bf8d1b1
JJ
389482010-10-20 Jakub Jelinek <jakub@redhat.com>
38949
38950 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
38951
6db52fbb
PB
389522010-05-31 Petr Baudis <pasky@suse.cz>
38953
38954 [BZ #11149]
38955 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
38956 silently even in the chroot mode.
38957
eaca7569
UD
389582010-11-22 Ulrich Drepper <drepper@gmail.com>
38959
38960 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
38961 last patch a bit. Pretty printing
38962
3056dcdb
UD
389632010-05-31 Petr Baudis <pasky@suse.cz>
38964
38965 [BZ #10085]
38966 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
38967 initialization of skip_initgroups_dyn.
38968
cf7c9078
UD
389692010-11-19 Ulrich Drepper <drepper@gmail.com>
38970
38971 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
38972 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38973
a1fb5e3e
UD
389742010-11-16 Ulrich Drepper <drepper@gmail.com>
38975
38976 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
38977
3540d66b
AS
389782010-11-11 Andreas Schwab <schwab@redhat.com>
38979
38980 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
38981 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
38982 (tst-fnmatch-ENV): Set MALLOC_TRACE.
38983 ($(objpfx)tst-fnmatch-mem): New rule.
38984 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
38985 * posix/tst-fnmatch.c (main): Call mtrace.
38986
13b69574
L
389872010-11-11 H.J. Lu <hongjiu.lu@intel.com>
38988
38989 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38990 Support Intel processor model 6 and model 0x2c.
38991
da93d214
LM
389922010-11-10 Luis Machado <luisgpm@br.ibm.com>
38993
38994 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
38995 signed comparison.
38996
8ca52c6e
L
389972010-11-09 H.J. Lu <hongjiu.lu@intel.com>
38998
38999 [BZ #12205]
39000 * string/test-strncasecmp.c (check_result): New function.
39001 (do_one_test): Use it.
39002 (check1): New function.
39003 (test_main): Use it.
39004 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
39005 Support strcasecmp and strncasecmp.
39006
69da074d
UD
390072010-11-08 Ulrich Drepper <drepper@gmail.com>
39008
39009 [BZ #12194]
39010 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
39011 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39012
ff02d528
L
390132010-11-07 H.J. Lu <hongjiu.lu@intel.com>
39014
39015 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
39016 IFUNC support.
39017 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39018 memset-x86-64.
39019 * sysdeps/x86_64/multiarch/bzero.S: New file.
39020 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
39021 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
39022 * sysdeps/x86_64/multiarch/memset.S: New file.
39023 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
39024 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39025 Set bit_Prefer_SSE_for_memop for Intel processors.
39026 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
39027 Define.
39028 (index_Prefer_SSE_for_memop): Define.
39029 (HAS_PREFER_SSE_FOR_MEMOP): Define.
39030
344d0b54
LM
390312010-11-04 Luis Machado <luisgpm@br.ibm.com>
39032
39033 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
39034 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
39035
c0dde15b
UD
390362010-11-03 H.J. Lu <hongjiu.lu@intel.com>
39037
39038 [BZ #12191]
39039 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
39040 (__x86_64_raw_data_cache_size_half): Likewise.
39041 (__x86_64_raw_shared_cache_size): Likewise.
39042 (__x86_64_raw_shared_cache_size_half): Likewise.
39043
39044 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
39045 (__x86_64_raw_data_cache_size_half): Likewise.
39046 (__x86_64_raw_shared_cache_size): Likewise.
39047 (__x86_64_raw_shared_cache_size_half): Likewise.
39048 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
39049 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
39050 and __x86_64_raw_shared_cache_size_half. Round
39051 __x86_64_data_cache_size_half, __x86_64_data_cache_size
39052 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
39053 to multiple of 256 bytes.
39054
0e516e0e
MS
390552010-11-03 Ulrich Drepper <drepper@gmail.com>
39056
39057 [BZ #12167]
39058 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
39059 of inacessible symlinks. Verify result of symlink before returning it.
39060 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
39061 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
39062
0e012e87
ER
390632010-10-28 Erich Ritz <erichritz@gmail.com>
39064
39065 * math/math.h (isinf): Fix typo in comment.
39066
de0ff7bc
UD
390672010-11-01 Ulrich Drepper <drepper@gmail.com>
39068
39069 * po/da.po: Update from translation team.
39070
fa41c84d
UD
390712010-10-26 Ulrich Drepper <drepper@gmail.com>
39072
39073 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
39074 is added to the list.
39075
f0967738
AK
390762010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39077 Ulrich Drepper <drepper@gmail.com>
39078
39079 * elf/dl-object.c (_dl_new_object): Don't append the new object to
39080 the global list here. Move code to...
39081 (_dl_add_to_namespace_list): ...here. New function.
39082 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
39083 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
39084 * elf/dl-load.c (lose): Don't remove the element from the list.
39085 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
39086 (_dl_map_object): Likewise.
39087
390882010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
39089
39090 [BZ #12159]
39091 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
39092 into all bytes of SSE register.
39093 Patch by Richard Li <richardpku@gmail.com>.
39094
f0967738 390952010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
39096
39097 [BZ #12140]
39098 * malloc/malloc.c (_int_free): Fill correct number of bytes when
39099 perturbing.
39100
d0b9e94f
MB
391012010-10-20 Michael B. Brutman <brutman@us.ibm.com>
39102
39103 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
39104 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
39105 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
39106 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
39108 submachine.
39109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
39110
8e9f92e9
AS
391112010-10-22 Andreas Schwab <schwab@redhat.com>
39112
39113 * include/dlfcn.h (__RTLD_SECURE): Define.
39114 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
39115 mode & __RTLD_SECURE instead.
39116 (open_path): Rename preloaded parameter to secure.
39117 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
39118 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
39119 * elf/dl-deps.c (openaux): Likewise.
39120 * elf/rtld.c (struct map_args): Remove is_preloaded.
39121 (map_doit): Don't use it.
39122 (dl_main): Likewise.
39123 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
39124 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
39125
bc96fbda
AS
391262010-09-09 Andreas Schwab <schwab@redhat.com>
39127
39128 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
39129 (sysd-rules-targets): Remove duplicates.
39130 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
39131 rtld-%.$o dependency.
39132
22cd1c9b
AS
391332010-10-18 Andreas Schwab <schwab@redhat.com>
39134
39135 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
39136 _dl_map_object do it.
39137
18edac48
UD
391382010-10-19 Ulrich Drepper <drepper@gmail.com>
39139
39140 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
39141 fast fma builtins, define the macros in the C99 standard.
39142 (FP_FAST_FMAF): Likewise.
39143 (FP_FAST_FMAL): Likewise.
39144 * sysdeps/x86_64/bits/mathdef.h: Likewise.
39145
39146 * bits/mathdef.h: Update copyright year.
39147 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39148
d2050124
MM
391492010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
39150
39151 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
39152 builtins, define the macros in the C99 standard.
39153 (FP_FAST_FMAF): Likewise.
39154 (FP_FAST_FMAL): Likewise.
39155 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
39156 multiply/add.
39157 (FP_FAST_FMAF): Likewise.
39158
475facd1
JJ
391592010-10-15 Jakub Jelinek <jakub@redhat.com>
39160
39161 [BZ #3268]
39162 * math/libm-test.inc (fma_test): Some new testcases.
39163 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
39164 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
39165 y and infinite z. Do multiplication by C already in long double.
39166 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
39167 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
39168 y and infinite z. Do bitwise or of inexact bit into u.d.
39169 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
39170 * sysdeps/i386/fpu/s_fmaf.S: Removed.
39171 * sysdeps/i386/fpu/s_fma.S: Removed.
39172 * sysdeps/i386/fpu/s_fmal.S: Removed.
39173
7c08a05c
JJ
391742010-10-16 Jakub Jelinek <jakub@redhat.com>
39175
39176 [BZ #3268]
39177 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
39178 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
39179 computation is not scheduled after fetestexcept. Fix value
39180 of minimum denormal long double.
39181
f3f7372d
JJ
391822010-10-14 Jakub Jelinek <jakub@redhat.com>
39183
39184 [BZ #3268]
39185 * math/libm-test.inc (fma_test): Add some more tests.
39186 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
39187 correctly.
39188
14d43591
AS
391892010-10-15 Andreas Schwab <schwab@redhat.com>
39190
39191 * scripts/data/localplt-s390-linux-gnu.data: New file.
39192 * scripts/data/localplt-s390x-linux-gnu.data: New file.
39193
5e908464
JJ
391942010-10-13 Jakub Jelinek <jakub@redhat.com>
39195
39196 [BZ #3268]
39197 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
39198 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
39199 instead of dbl-64.
39200 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
39201 inlines.
39202 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
39203 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
39204 if one of x and y is very large and the other is subnormal.
39205 * sysdeps/s390/fpu/s_fmaf.c: New file.
39206 * sysdeps/s390/fpu/s_fma.c: New file.
39207 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
39208 * sysdeps/powerpc/fpu/s_fma.S: New file.
39209 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
39210 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
39211 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
39212
392132010-10-12 Jakub Jelinek <jakub@redhat.com>
39214
39215 [BZ #3268]
39216 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
39217 fma tests.
39218 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
39219 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
39220 * sysdeps/i386/i686/multiarch/s_fma.c: Include
39221 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
39222 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
39223 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
39224 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
39225
b833d51f
UD
392262010-10-12 Ulrich Drepper <drepper@redhat.com>
39227
39228 [BZ #12078]
39229 * posix/regcomp.c (parse_branch): One more memory leak plugged.
39230 * posix/bug-regex31.input: Add test case.
39231
1751705d
UD
392322010-10-11 Ulrich Drepper <drepper@gmail.com>
39233
e9b9cbf5
UD
39234 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
39235 * posix/bug-regex31.input: New file.
39236
39237 [BZ #12078]
39238 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
39239 (parse_sub_exp): Fix last change, use postorder.
39240
ef06edbe
UD
39241 * posix/bug-regex31.c: New file.
39242 * posix/Makefile: Add rules to build and run bug-regex31.
39243
a129c80d
UD
39244 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
39245
39246 [BZ #12078]
39247 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
39248
b76b818e
UD
39249 [BZ #12108]
39250 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
39251 to have entries in sys_siglist.
39252
1751705d
UD
39253 [BZ #12093]
39254 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
39255 be NULL.
39256
9ff8d36f
JJ
392572010-10-07 Jakub Jelinek <jakub@redhat.com>
39258
39259 [BZ #3268]
39260 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
39261 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
39262 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
39263 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
39264 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39265 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
39266 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
39267 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
39268 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
39269 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
39270 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
39271 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
39272 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
39273 * math/ftestexcept.c (fetestexcept): Likewise.
39274 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
39275 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
39276 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
39277 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
39278 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
39279 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
39280 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39281
af325969
UD
392822010-10-11 Ulrich Drepper <drepper@gmail.com>
39283
c579b202 39284 [BZ #12107]
af325969
UD
39285 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
39286 newline.
39287
67a67b95
UD
392882010-10-06 Ulrich Drepper <drepper@gmail.com>
39289
39290 * string/bug-strstr1.c: New file.
39291 * string/Makefile: Add rules to build and run bug-strstr1.
39292
5fb308bc
EB
392932010-10-05 Eric Blake <eblake@redhat.com>
39294
39295 [BZ #12092]
39296 * string/str-two-way.h (two_way_long_needle): Always clear memory
39297 when skipping input due to the shift table.
39298
45db99c7
UD
392992010-10-03 Ulrich Drepper <drepper@gmail.com>
39300
3b111893
UD
39301 [BZ #12005]
39302 * malloc/mcheck.c: Handle large requests.
39303
45db99c7
UD
39304 [BZ #12077]
39305 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
39306 for strncmp and strncasecmp.
39307 * string/stratcliff.c: Add tests for strcmp and strncmp.
39308 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
39309
cf7a1eb8
NI
393102010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39311
39312 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
39313 __set_fpscr.
39314
6484ba5e
AJ
393152010-09-30 Andreas Jaeger <aj@suse.de>
39316
39317 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
39318 (CGROUP_SUPER_MAGIC): Define.
39319 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39320 Handle btrfs and cgroup file systems.
39321 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
39322 Likewise.
39323
91c42559
LM
393242010-09-27 Luis Machado <luisgpm@br.ibm.com>
39325
39326 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
39327 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
39328
87a97932
AK
393292010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39330
39331 [BZ #12067]
39332 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
39333 trying to locate the ELF header.
39334
c21cc9bc
AS
393352010-09-27 Andreas Schwab <schwab@redhat.com>
39336
39337 [BZ #11611]
39338 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
39339 Mask out sign-bit copies when constructing f_fsid.
39340
315970f6
PB
393412010-09-24 Petr Baudis <pasky@suse.cz>
39342
39343 * debug/stack_chk_fail_local.c: Add missing licence exception.
39344 * debug/warning-nop.c: Likewise.
39345
1ac7a2c7
JM
393462010-09-15 Joseph Myers <joseph@codesourcery.com>
39347
39348 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
39349 implementing getdents64 using getdents syscall, set d_type if
39350 __ASSUME_GETDENTS32_D_TYPE.
39351
56801c50
AS
393522010-09-16 Andreas Schwab <schwab@redhat.com>
39353
39354 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
39355 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
39356
dda51327
UD
393572010-09-21 Ulrich Drepper <drepper@redhat.com>
39358
39359 [BZ #12037]
39360 * posix/unistd.h: Undo change of feature selection for ftruncate from
39361 2010-01-11.
39362
8ffcee4a
UD
393632010-09-20 Ulrich Drepper <drepper@redhat.com>
39364
a545ecd9 39365 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
39366 detection.
39367
e24f0a8b
AS
393682010-09-20 Andreas Schwab <schwab@redhat.com>
39369
39370 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
39371 fanotify_mark.
39372 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39373
7291c56f
AS
393742010-09-14 Andreas Schwab <schwab@redhat.com>
39375
39376 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
39377 variables after CHECK_SP call.
39378 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
39379
bc5fb037
AS
393802010-09-13 Andreas Schwab <schwab@redhat.com>
39381 Ulrich Drepper <drepper@redhat.com>
39382
39383 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
39384 re-relocationg ld.so.
39385 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
39386 _dl_init_paths call.
39387 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
39388 here anymore.
39389
e66e7419
UD
393902010-09-14 Ulrich Drepper <drepper@redhat.com>
39391
39392 * resolv/res_init.c (__res_vinit): Count the default server we added.
39393
c044aa75
CLT
393942010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
39395 Ulrich Drepper <drepper@redhat.com>
39396
39397 [BZ #11968]
39398 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39399 (____longjmp_chk): Use %ebx for saving value across system call.
39400 Add unwind info.
39401
32cf4069
AS
394022010-09-06 Andreas Schwab <schwab@redhat.com>
39403
39404 * manual/Makefile: Don't mix pattern rules with normal rules.
39405
817328ee
AS
394062010-09-05 Andreas Schwab <schwab@linux-m68k.org>
39407
39408 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
39409 operation.
39410 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
39411 * libio/iofopncook.c (_IO_cookie_init): Likewise.
39412 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
39413 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
39414 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39415 Likewise.
39416
29fddf61
UD
394172010-09-04 Ulrich Drepper <drepper@redhat.com>
39418
39419 [BZ #11979]
39420 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
39421 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
39422
0959ffc9
UD
394232010-09-02 Ulrich Drepper <drepper@redhat.com>
39424
39425 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
39426 * sysdeps/x86_64/addmul_1.S: Likewise.
39427 * sysdeps/x86_64/lshift.S: Likewise.
39428 * sysdeps/x86_64/mul_1.S: Likewise.
39429 * sysdeps/x86_64/rshift.S: Likewise.
39430 * sysdeps/x86_64/sub_n.S: Likewise.
39431 * sysdeps/x86_64/submul_1.S: Likewise.
39432
ece29840
ST
394332010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
39434
0959ffc9
UD
39435 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
39436 Define __sched_param instead of SCHED_* and sched_param when
ece29840 39437 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 39438 * bits/sched.h [__need_schedparam]
ece29840 39439 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
39440 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
39441 (__defined_schedparam): Define to 1.
ece29840
ST
39442 (__sched_param): New structure, identical to sched_param.
39443 (__need_schedparam): Undefine.
39444
e53a31fe
MF
394452010-08-31 Mike Frysinger <vapier@gentoo.org>
39446
fdc0c10d
MF
39447 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
39448 (epoll_create1): Declare.
39449
e53a31fe
MF
39450 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
39451
a726d796
AS
394522010-08-31 Andreas Schwab <schwab@redhat.com>
39453
39454 [BZ #7066]
39455 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
39456 shifting retval into place.
39457
2f3e3dc7
UD
394582010-09-01 Ulrich Drepper <drepper@redhat.com>
39459
f2933da9
UD
39460 * nis/rpcsvc/nis.h: Update copyright notice.
39461 * nis/rpcsvc/nis.x: Likewise.
39462 * nis/rpcsvc/nis_callback.h: Likewise.
39463 * nis/rpcsvc/nis_callback.x: Likewise.
39464 * nis/rpcsvc/nis_object.x: Likewise.
39465 * nis/rpcsvc/nis_tags.h: Likewise.
39466 * nis/rpcsvc/yp.h: Likewise.
39467 * nis/rpcsvc/yp.x: Likewise.
39468 * nis/rpcsvc/ypupd.h: Likewise.
39469 * nis/yp_xdr.c: Likewise.
39470 * nis/ypupdate_xdr.c: Likewise.
39471
2f3e3dc7
UD
39472 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
39473 mainly the body of pmap_getport. Add parameters to specify timeouts.
39474 (pmap_getport): Use __libc_rpc_getport.
39475 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
39476 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
39477 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
39478
f3dcc2f9
AS
394792010-08-31 Andreas Schwab <schwab@linux-m68k.org>
39480
39481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
39482 fanotify_mark.
39483
6d34eb5b
RM
394842010-08-27 Roland McGrath <roland@redhat.com>
39485
39486 * sysdeps/i386/i686/multiarch/Makefile
39487 (CFLAGS-varshift.c): New variable.
39488
9ea3de11
UD
394892010-08-27 Ulrich Drepper <drepper@redhat.com>
39490
c96d23fc
UD
39491 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
39492 * sysdeps/i386/i686/multiarch/varshift.c: New file.
39493
9ea3de11
UD
39494 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
39495
39496 * sysdeps/x86_64/strlen.S: Minimal code improvement.
39497
623aac7f
L
394982010-08-26 H.J. Lu <hongjiu.lu@intel.com>
39499
39500 * sysdeps/x86_64/strlen.S: Unroll the loop.
39501 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39502 strlen-sse2 strlen-sse2-bsf.
39503 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
39504 __strlen_no_bsf if bit_Slow_BSF is set.
39505 (__strlen_sse42): Removed.
39506 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
39507 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
39508
8b2b7715
RM
395092010-08-25 Roland McGrath <roland@redhat.com>
39510
39511 * sysdeps/x86_64/multiarch/varshift.S: File removed.
39512 * sysdeps/x86_64/multiarch/varshift.c: New file.
39513 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
39514 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
39515 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
39516 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
39517
e73015f2
L
395182010-08-25 H.J. Lu <hongjiu.lu@intel.com>
39519
39520 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39521 strlen-sse2 strlen-sse2-bsf.
39522 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
39523 __strlen_sse2_bsf if bit_Slow_BSF is unset.
39524 (__strlen_sse2): Removed.
39525 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
39526 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
39527 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
39528 bit_Slow_BSF for Atom.
39529 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
39530 (index_Slow_BSF): Define.
39531 (HAS_SLOW_BSF): Define.
39532
df24a73e
UD
395332010-08-25 Ulrich Drepper <drepper@redhat.com>
39534
39535 [BZ #10851]
39536 * resolv/res_init.c (__res_vinit): When no server address at all
39537 is given default to loopback.
39538
f2ac4868
RM
395392010-08-24 Roland McGrath <roland@redhat.com>
39540
09055553
RM
39541 * configure.in: Remove config-name.h generation.
39542 * configure: Regenerated.
39543 * config-name.in: File removed.
39544 * scripts/config-uname.sh: New file.
39545 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
39546 ($(objdir)config-name.h): New target.
39547
f2ac4868
RM
39548 * sunrpc/rpc_parse.h: Avoid nested comment.
39549
73f27d5e
RH
395502010-08-24 Richard Henderson <rth@redhat.com>
39551 Ulrich Drepper <drepper@redhat.com>
39552 H.J. Lu <hongjiu.lu@intel.com>
39553
39554 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
39555 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
39556 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
39557 Replace _mm_srli_si128 with __m128i_shift_right. Replace
39558 _mm_alignr_epi8 with _mm_loadu_si128.
39559 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
39560 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
39561 (__m128i_shift_right): Removed.
39562 * sysdeps/i386/i686/multiarch/varshift.h: New file.
39563 * sysdeps/i386/i686/multiarch/varshift.S: New file.
39564 * sysdeps/x86_64/multiarch/varshift.h: New file.
39565 * sysdeps/x86_64/multiarch/varshift.S: New file.
39566
84b9230c
MF
395672010-08-21 Mike Frysinger <vapier@gentoo.org>
39568
39569 * configure.in: Move assembler checks to before sysdep dir checking.
39570
9bbd0ddc
PB
395712010-08-20 Petr Baudis <pasky@suse.cz>
39572
39573 * LICENSES: Sync the sunrpc license.
39574
9da4bb31
UD
395752010-08-19 Ulrich Drepper <drepper@redhat.com>
39576
a7ab6ec8
UD
39577 * sunrpc/auth_des.c: Update copyright notice once again.
39578 * sunrpc/auth_none.c: Likewise.
39579 * sunrpc/auth_unix.c: Likewise.
39580 * sunrpc/authdes_prot.c: Likewise.
39581 * sunrpc/authuxprot.c: Likewise.
39582 * sunrpc/bindrsvprt.c: Likewise.
39583 * sunrpc/clnt_gen.c: Likewise.
39584 * sunrpc/clnt_perr.c: Likewise.
39585 * sunrpc/clnt_raw.c: Likewise.
39586 * sunrpc/clnt_simp.c: Likewise.
39587 * sunrpc/clnt_tcp.c: Likewise.
39588 * sunrpc/clnt_udp.c: Likewise.
39589 * sunrpc/clnt_unix.c: Likewise.
39590 * sunrpc/des_crypt.c: Likewise.
39591 * sunrpc/des_soft.c: Likewise.
39592 * sunrpc/get_myaddr.c: Likewise.
39593 * sunrpc/getrpcport.c: Likewise.
39594 * sunrpc/key_call.c: Likewise.
39595 * sunrpc/key_prot.c: Likewise.
39596 * sunrpc/openchild.c: Likewise.
39597 * sunrpc/pm_getmaps.c: Likewise.
39598 * sunrpc/pm_getport.c: Likewise.
39599 * sunrpc/pmap_clnt.c: Likewise.
39600 * sunrpc/pmap_prot.c: Likewise.
39601 * sunrpc/pmap_prot2.c: Likewise.
39602 * sunrpc/pmap_rmt.c: Likewise.
39603 * sunrpc/rpc/auth.h: Likewise.
39604 * sunrpc/rpc/auth_unix.h: Likewise.
39605 * sunrpc/rpc/clnt.h: Likewise.
39606 * sunrpc/rpc/des_crypt.h: Likewise.
39607 * sunrpc/rpc/key_prot.h: Likewise.
39608 * sunrpc/rpc/netdb.h: Likewise.
39609 * sunrpc/rpc/pmap_clnt.h: Likewise.
39610 * sunrpc/rpc/pmap_prot.h: Likewise.
39611 * sunrpc/rpc/pmap_rmt.h: Likewise.
39612 * sunrpc/rpc/rpc.h: Likewise.
39613 * sunrpc/rpc/rpc_des.h: Likewise.
39614 * sunrpc/rpc/rpc_msg.h: Likewise.
39615 * sunrpc/rpc/svc.h: Likewise.
39616 * sunrpc/rpc/svc_auth.h: Likewise.
39617 * sunrpc/rpc/types.h: Likewise.
39618 * sunrpc/rpc/xdr.h: Likewise.
39619 * sunrpc/rpc_clntout.c: Likewise.
39620 * sunrpc/rpc_cmsg.c: Likewise.
39621 * sunrpc/rpc_common.c: Likewise.
39622 * sunrpc/rpc_cout.c: Likewise.
39623 * sunrpc/rpc_dtable.c: Likewise.
39624 * sunrpc/rpc_hout.c: Likewise.
39625 * sunrpc/rpc_main.c: Likewise.
39626 * sunrpc/rpc_parse.c: Likewise.
39627 * sunrpc/rpc_parse.h: Likewise.
39628 * sunrpc/rpc_prot.c: Likewise.
39629 * sunrpc/rpc_sample.c: Likewise.
39630 * sunrpc/rpc_scan.c: Likewise.
39631 * sunrpc/rpc_scan.h: Likewise.
39632 * sunrpc/rpc_svcout.c: Likewise.
39633 * sunrpc/rpc_tblout.c: Likewise.
39634 * sunrpc/rpc_util.c: Likewise.
39635 * sunrpc/rpc_util.h: Likewise.
39636 * sunrpc/rpcinfo.c: Likewise.
39637 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
39638 * sunrpc/rpcsvc/key_prot.x: Likewise.
39639 * sunrpc/rpcsvc/klm_prot.x: Likewise.
39640 * sunrpc/rpcsvc/mount.x: Likewise.
39641 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
39642 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
39643 * sunrpc/rpcsvc/rex.x: Likewise.
39644 * sunrpc/rpcsvc/rstat.x: Likewise.
39645 * sunrpc/rpcsvc/rusers.x: Likewise.
39646 * sunrpc/rpcsvc/sm_inter.x: Likewise.
39647 * sunrpc/rpcsvc/spray.x: Likewise.
39648 * sunrpc/rpcsvc/yppasswd.x: Likewise.
39649 * sunrpc/rtime.c: Likewise.
39650 * sunrpc/svc.c: Likewise.
39651 * sunrpc/svc_auth.c: Likewise.
39652 * sunrpc/svc_authux.c: Likewise.
39653 * sunrpc/svc_raw.c: Likewise.
39654 * sunrpc/svc_run.c: Likewise.
39655 * sunrpc/svc_simple.c: Likewise.
39656 * sunrpc/svc_tcp.c: Likewise.
39657 * sunrpc/svc_udp.c: Likewise.
39658 * sunrpc/svc_unix.c: Likewise.
39659 * sunrpc/svcauth_des.c: Likewise.
39660 * sunrpc/xcrypt.c: Likewise.
39661 * sunrpc/xdr.c: Likewise.
39662 * sunrpc/xdr_array.c: Likewise.
39663 * sunrpc/xdr_float.c: Likewise.
39664 * sunrpc/xdr_mem.c: Likewise.
39665 * sunrpc/xdr_rec.c: Likewise.
39666 * sunrpc/xdr_ref.c: Likewise.
39667 * sunrpc/xdr_sizeof.c: Likewise.
39668 * sunrpc/xdr_stdio.c: Likewise.
39669
9da4bb31
UD
39670 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
39671 handling.
39672
bdaa77bc
AS
396732010-08-19 Andreas Schwab <schwab@redhat.com>
39674
39675 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
39676
fe2f79db
LM
396772010-08-19 Luis Machado <luisgpm@br.ibm.com>
39678
39679 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
39680 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
39681 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
39682 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
39683 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
39684 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
39685 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
39686 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
39687 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
39688 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
39689 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
39690 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
39691 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
39692 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
39693
b9b42ee0
AB
396942010-07-26 Anton Blanchard <anton@samba.org>
39695
39696 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
39697 * malloc/arena.c (heap_trim): Likewise.
39698
1c06ba31
UD
396992010-08-16 Ulrich Drepper <drepper@redhat.com>
39700
39701 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
39702 here. Not...
39703 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
39704 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
39705
f8392f40
L
397062010-08-12 H.J. Lu <hongjiu.lu@intel.com>
39707
39708 * sysdeps/i386/elf/Makefile: New file.
39709
3162f12e
AS
397102010-08-14 Andreas Schwab <schwab@linux-m68k.org>
39711
39712 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
39713 from fanotify_init.
39714 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
39715 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39716
28c90b2c
UD
397172010-08-15 Ulrich Drepper <drepper@redhat.com>
39718
39719 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
39720 of strncasecmp_l.
1feccb6c 39721 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 39722
ca6bb004
UD
397232010-08-14 Ulrich Drepper <drepper@redhat.com>
39724
e9f82e0d
UD
39725 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39726 strncase_l-nonascii.
39727 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39728 Add strncase_l-ssse3.
39729 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
39730 * sysdeps/x86_64/strcmp.S: Likewise.
39731 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
39732 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
39733 * sysdeps/x86_64/strncase.S: New file.
39734 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
39735 * sysdeps/x86_64/strncase_l.S: New file.
39736 * string/Makefile (strop-tests): Add strncasecmp.
39737 * string/test-strncasecmp.c: New file.
39738
39739 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
39740 warning.
39741
ca6bb004
UD
39742 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
39743 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
39744
052fa7b3
AS
397452010-08-14 Andreas Schwab <schwab@linux-m68k.org>
39746
39747 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
39748
962dba78
UD
397492010-08-12 Ulrich Drepper <drepper@redhat.com>
39750
39751 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
39752 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
39753 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
39754
bebff237
AM
397552010-05-01 Alan Modra <amodra@gmail.com>
39756
39757 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
39758 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
39759 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
39760 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
39761 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
39762 tidying. Don't tail-call __sigjmp_save for static lib.
39763 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
39764 save location.
39765 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
39766 (CALL_MCOUNT): Add eh info, and nop after bl.
39767 (TAIL_CALL_SYSCALL_ERROR): New macro.
39768 (PSEUDO_RET): Use it.
39769 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
39770 Correct save location of integer regs and cr.
39771 (_dl_profile_resolve): Correct cr save location. Delete nops
39772 after bl when SHARED. Reduce cfi size a little by better
39773 placement of cfi directives.
39774 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
39775 make a stack frame. Instead use parm save area as a temp.
39776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
39777 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
39778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
39779 Don't make a stack frame for parent, use parm save area.
39780 Increase child stack frame to 112 bytes. Don't save unused reg,
39781 and adjust reg usage. Set up cfi on error recovery and
39782 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
39783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39784 (__makecontext): Add dummy nop after jump to exit.
39785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
39786 Use correct parm save area and cr save, reduce stack frame.
39787 Correct cfi for possible PSEUDO_RET frame setup.
39788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
39789 Branch to local label emitted by PSEUDO_RET rather than
39790 __syscall_error.
39791
02637374
AS
397922010-08-12 Andreas Schwab <schwab@redhat.com>
39793
39794 [BZ #11904]
39795 * locale/programs/locale.c (print_assignment): New function.
39796 (show_locale_vars): Use it.
39797
c3e2f19b
UD
397982010-08-11 Ulrich Drepper <drepper@redhat.com>
39799
3cdaa6ad
UD
39800 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
39801 field.
39802 (struct statfs64): Likewise.
39803 (_STATFS_F_FLAGS): Define.
39804 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
39805 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39806 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
39807 (ST_VALID): Define locally.
39808 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
39809 __statvfs_getflags, use the provided value.
39810 * sysdeps/unix/sysv/linux/kernel-features.h: Define
39811 __ASSUME_STATFS_F_FLAGS.
39812
754f7da3
UD
39813 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
39814
10b3bedc
UD
39815 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
39816 Add sys/fanotify.h.
39817 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
39818 fanotify_mask for GLIBC_2.13.
39819 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
39820 fanotify_init and fanotify_mark.
39821 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39822 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
39823
c08fb0d7
UD
39824 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
39825 Add prlimit.
39826 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
39827 prlimit64 for GLIBC_2.13.
39828 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
39829 prlimit64.
39830 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
39831 syscall.
39832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
39833 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39834 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
39835 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
39836 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
39837 add prlimit alias.
39838 * sysdeps/unix/sysv/linux/prlimit.c: New file.
39839
15bac72b
UD
39840 [BZ #11903]
39841 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
39842 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
39843
c3e2f19b
UD
39844 * nss/Makefile: Add rules to build and run tst-nss-test1.
39845 * shlib-versions: Add entry for libnss_test1.
39846 * nss/nss_test1.c: New file.
39847 * nss/tst-nss-test1.c: New file.
39848
39849 * nss/nsswitch.c (__nss_database_custom): Define new variable.
39850 (__nss_configure_lookup): Set appropriate entry in
39851 __nss_configure_lookup to true.
39852 * nss/nsswitch.h: Define enum with indeces of databases in
39853 databases and __nss_database_custom arrays. Declare
39854 __nss_database_custom.
39855 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
39856 to avoid using nscd when custom rules are installed.
39857 * nss/getXXbyYY_r.c: Likewise.
39858 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39859
39860 * nss/nss_files/files-parse.c: Whitespace fixes.
39861
f15ce4d8
UD
398622010-08-09 Ulrich Drepper <drepper@redhat.com>
39863
39864 [BZ #11883]
39865 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
39866 * posix/fnmatch_loop.c: Likewise.
39867
d22e4cc9
AK
398682010-07-17 Andi Kleen <ak@linux.intel.com>
39869
39870 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
39871 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
39872 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
39873 * Versions.def [GLIBC_2.13]: Add.
39874
805bc17d
UD
398752010-08-06 Ulrich Drepper <drepper@redhat.com>
39876
39877 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39878 Also fail if tpwd after pwuid call is NULL.
39879
5a42321d
ST
398802010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
39881
39882 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
39883 when converting to ms.
39884
fd3ebeda
ST
398852010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39886
39887 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
39888 EOPNOTSUPP errors with ENOTTY.
39889 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
39890 EOPNOTSUPP errors with ENOTTY.
39891
73507d3a
UD
398922010-07-31 Ulrich Drepper <drepper@redhat.com>
39893
39894 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39895 Add strcasecmp_l-ssse3.
39896 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
39897 strcasecmp.
39898 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
39899 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
39900 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
39901
fe36dd02
UD
399022010-07-30 Ulrich Drepper <drepper@redhat.com>
39903
66f6765a
UD
39904 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
39905
42e08a54
UD
39906 * string/Makefile (strop-tests): Add strcasecmp.
39907 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39908 strcasecmp_l-nonascii.
39909 (gen-as-const-headers): Add locale-defines.sym.
39910 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
39911 * sysdeps/x86_64/strcasecmp.S: New file.
39912 * sysdeps/x86_64/strcasecmp_l.S: New file.
39913 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
39914 * sysdeps/x86_64/locale-defines.sym: New file.
39915 * string/test-strcasecmp.c: New file.
39916
fe36dd02
UD
39917 * string/test-strcasestr.c: Test both ends of the range of characters.
39918 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
39919
48cbc0d6
RM
399202010-07-29 Roland McGrath <roland@redhat.com>
39921
76e6d6bc 39922 [BZ #11856]
48cbc0d6
RM
39923 * manual/locale.texi (Yes-or-No Questions): Fix example code.
39924
880113d9
UD
399252010-07-27 Ulrich Drepper <drepper@redhat.com>
39926
39927 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
39928 for ld.so.
39929
deb9cabb
AS
399302010-07-27 Andreas Schwab <schwab@redhat.com>
39931
39932 * manual/memory.texi (Malloc Tunable Parameters): Document
39933 M_PERTURB.
39934
1c7570ff
RM
399352010-07-26 Roland McGrath <roland@redhat.com>
39936
39937 [BZ #11840]
39938 * configure.in (-fgnu89-inline check): Set and substitute
39939 gnu89_inline, not libc_cv_gnu89_inline.
39940 * configure: Regenerated.
39941 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
39942
24fb0f88
UD
399432010-07-26 Ulrich Drepper <drepper@redhat.com>
39944
39945 * string/test-strnlen.c: New file.
39946 * string/Makefile (strop-tests): Add strnlen.
39947 * string/tester.c (test_strnlen): Add a few more test cases.
39948 * string/tst-strlen.c: Better error reporting.
39949
39950 * sysdeps/x86_64/strnlen.S: New file.
39951
8e96b93a
UD
399522010-07-24 Ulrich Drepper <drepper@redhat.com>
39953
39954 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
39955 lower-latency instructions.
39956
dbc676d4
UD
399572010-07-23 Ulrich Drepper <drepper@redhat.com>
39958
39959 * string/test-strcasestr.c: New file.
39960 * string/test-strstr.c: New file.
39961 * string/Makefile (strop-tests): Add strstr and strcasestr.
39962 * string/str-two-way.h: Don't undefine MAX.
39963 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
39964
f6a31e0e
AS
399652010-07-21 Andreas Schwab <schwab@redhat.com>
39966
39967 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39968 strcasestr-nonascii.
39969 (CFLAGS-strcasestr-nonascii.c): Define.
39970 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
39971 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
39972 Remove unused attribute.
39973
5dbc3b6c
RM
399742010-07-20 Roland McGrath <roland@redhat.com>
39975
39976 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
39977 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
39978 ld.so.cache was broken. With it, there is no way to disable dsocaps
39979 like LD_HWCAP_MASK can disable hwcaps.
39980
23d101d8
EPM
399812010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
39982
39983 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
39984
cc9f2e47
UD
399852010-07-16 Ulrich Drepper <drepper@redhat.com>
39986
39987 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
39988 call in strcasestr.
39989 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
39990 __strcasestr_sse42_nonascii.
39991 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
39992 strcasestr-nonascii.c.
39993 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
39994
77c1b069
LM
399952010-06-15 Luis Machado <luisgpm@br.ibm.com>
39996
39997 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
39998 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
39999 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
40000 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
40001
440566c3
UD
400022010-07-09 Ulrich Drepper <drepper@redhat.com>
40003
40004 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
40005 fcntl.
40006
5be9d05d
AS
400072010-07-06 Andreas Schwab <schwab@redhat.com>
40008
c30b7ee2 40009 [BZ #11577]
5be9d05d
AS
40010 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
40011 dl_signal_cerror.
40012
8a492a67
UD
400132010-07-06 Ulrich Drepper <drepper@redhat.com>
40014
40015 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
40016 _PC_PIPE_BUF using F_GETPIPE_SZ.
40017
713df3d5
RM
400182010-07-05 Roland McGrath <roland@redhat.com>
40019
40020 * manual/arith.texi (Rounding Functions): Fix rint description
40021 implicit in round description.
40022
702e8f14
UD
400232010-07-02 Ulrich Drepper <drepper@redhat.com>
40024
40025 * elf/Makefile: Fix linking for a few tests to make recent linker
40026 happy.
40027
52ed8be9
AS
400282010-06-30 Andreas Schwab <schwab@redhat.com>
40029
40030 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40031 $(common-objpfx)libc_nonshared.a.
40032
f47c9a11
LM
400332010-06-21 Luis Machado <luisgpm@br.ibm.com>
40034
40035 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
40036 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
40037 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
40038 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
40039 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
40040 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
40041 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
40042 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
40043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
40044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
40045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
40046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
40047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
40048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
40049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
40050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
40051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
40052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
40053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
40054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
40055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
40056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
40057 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
40058 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
40059 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
40060 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
40061 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
40062 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
40063 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
40064 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
40065 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
40066 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
40067 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
40068 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
40069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
40070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
40071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
40072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
40073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
40074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
40075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
40076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
40077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
40078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
40079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
40080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
40081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
40082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
40083
6fb8cbcb
L
400842010-06-25 H.J. Lu <hongjiu.lu@intel.com>
40085
40086 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
40087 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
40088 * string/memmove.c (memmove): Renamed to ...
40089 (MEMMOVE): ...this. Default to memmove.
40090 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
40091 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
40092 (END_CHK): Define.
40093 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40094 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
40095 mempcpy-ssse3-back memmove-ssse3-back.
40096 * sysdeps/x86_64/multiarch/bcopy.S: New file .
40097 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
40098 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
40099 * sysdeps/x86_64/multiarch/memcpy.S: New file.
40100 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
40101 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
40102 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
40103 * sysdeps/x86_64/multiarch/memmove.c: New file.
40104 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
40105 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
40106 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
40107 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
40108 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
40109 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
40110 Define.
40111 (index_Fast_Copy_Backward): Define.
40112 (HAS_ARCH_FEATURE): Define.
40113 (HAS_FAST_REP_STRING): Define.
40114 (HAS_FAST_COPY_BACKWARD): Define.
40115
4e733bac 401162010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
40117
40118 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
40119 Restore proper fallback handling.
40120
63c4ed22
UD
401212010-06-19 Ulrich Drepper <drepper@redhat.com>
40122
ac2b484c
UD
40123 [BZ #11701]
40124 * posix/group_member.c (__group_member): Correct checking loop.
40125
63c4ed22
UD
40126 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
40127 OOM in getpwuid_r correctly. Return error number when the caller
40128 should return, otherwise -1.
40129 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
40130 call returning > 0 value.
40131 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
40132
765ade4b
AS
401332010-06-07 Andreas Schwab <schwab@redhat.com>
40134
40135 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
40136 libc_nonshared.a from targets in modules-names.
40137
80da2e09
KS
401382010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
40139
40140 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
40141 requires it.
40142
158db122
LM
401432010-06-10 Luis Machado <luisgpm@br.ibm.com>
40144
40145 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
40146 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
40147 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
40148 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
40149
caa78cf8
AS
401502010-06-02 Andreas Schwab <schwab@redhat.com>
40151
40152 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
40153
b2ef2c01
UD
401542010-06-14 Ulrich Drepper <drepper@redhat.com>
40155
40156 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
40157 and F_GETPIPE_SZ.
40158 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40159 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40160 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40161 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40162 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40163 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
40164
fbd643b6
RM
401652010-06-14 Roland McGrath <roland@redhat.com>
40166
40167 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
40168
f32f2869
JJ
401692010-06-07 Jakub Jelinek <jakub@redhat.com>
40170
40171 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
40172 __REDIRECT followed by __THROW.
40173 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
40174 * posix/getopt.h (getopt): Likewise.
40175
2a50c078
EPM
401762010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
40177
40178 * hurd/lookup-at.c (__file_name_lookup_at): Accept
40179 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
40180 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
40181 in AT_FLAGS.
40182 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
40183 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
40184
eb5ad2eb
LM
401852010-05-28 Luis Machado <luisgpm@br.ibm.com>
40186
40187 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
40188
3c88fe1e
L
401892010-05-26 H.J. Lu <hongjiu.lu@intel.com>
40190
40191 [BZ #11640]
40192 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40193 Properly check family and model.
40194
d2f73151
TY
401952010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
40196
40197 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
40198
ebd2e13d
LM
401992010-05-24 Luis Machado <luisgpm@br.ibm.com>
40200
40201 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
40202
b32b8b45
UD
402032010-05-21 Ulrich Drepper <drepper@redhat.com>
40204
40205 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
40206 symbol reference.
40207
9acbe24d
AS
402082010-05-19 Andreas Schwab <schwab@redhat.com>
40209
40210 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
40211 symbol reference.
40212
f0ccf6ea
AS
402132010-05-21 Andreas Schwab <schwab@redhat.com>
40214
3d04ff3a
AS
40215 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
40216 and internal_recvmmsg.
40217 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
40218 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
40219 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
40220 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
40221
f0ccf6ea
AS
40222 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
40223 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40224 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40225
5b08ac57
AS
402262010-05-20 Andreas Schwab <schwab@redhat.com>
40227
40228 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
40229
4828935d
LM
402302010-05-17 Luis Machado <luisgpm@br.ibm.com>
40231
40232 POWER7 optimizations.
40233 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
40234 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
40235
373d545e
UD
402362010-05-19 Ulrich Drepper <drepper@redhat.com>
40237
40238 * version.h: Update for 2.13 development version.
40239
21a2b1ae
AS
402402010-05-12 Andrew Stubbs <ams@codesourcery.com>
40241
40242 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
40243 exceptions. Return 0.
40244
3f7dcb2b
RM
402452010-05-07 Roland McGrath <roland@redhat.com>
40246
40247 * elf/ldconfig.c (main): Add a const.
40248
5f24d53a 402492010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 40250
a160f8d8
UD
40251 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
40252 (args_options): Add no-idn option.
40253 (ahosts_keys_int): Add idn_flags to ai_flags.
40254 (parse_option): Handle 'i' option to clear idn_flags.
40255
5f24d53a
UD
40256 * malloc/malloc.c (_int_free): Possible race in the most recently
40257 added check. Only act on the data if no current modification
40258 happened.
265bb1ce
UD
40259
40260See ChangeLog.17 for earlier changes.
This page took 5.056864 seconds and 5 git commands to generate.