]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
BZ #16613: Support TLS in audit libraries.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
d0503676
CD
12014-02-25 Ulrich Drepper <drepper@gmail.com>
2 Carlos O'Donell <carlos@redhat.com>
3
4 [BZ #16613]
5 * elf/dl-tls.c (_dl_count_modids): New function.
6 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
7 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8 audit library and increment generation counter.
9 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10 * elf/tst-audit9.c: New file.
11 * elf/tst-auditmod9a.c: New file.
12 * elf/tst-auditmod9b.c: New file.
13 * elf/Makefile: Add rules to build and run tst-audit9.
14
4cbf380c
FW
152014-02-25 Florian Weimer <fweimer@redhat.com>
16
17 [BZ #15347]
18 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
19
80a56cc3
WN
202014-02-25 Will Newton <will.newton@linaro.org>
21
22 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
23 (__longjmp): Restore sp and lr before restoring callee
24 saved registers. Add longjmp and longjmp_target
25 SystemTap probe point.
26 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
27 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
28 Define to zero to match jmpbuf layout.
29 * sysdeps/arm/setjmp.S: Include stap-probe.h.
30 (__sigsetjmp): Save sp and lr before saving callee
31 saved registers. Add setjmp SystemTap probe point.
32
3ea0f74e
SL
332014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
34
35 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36
b04acb26
AS
372014-02-24 Andreas Schwab <schwab@suse.de>
38
39 [BZ #15804]
40 * elf/pldd.c (wait_for_ptrace_stop): New function.
41 (main): Call it after attaching.
42
098ad55c
RM
432014-02-22 Roland McGrath <roland@hack.frob.com>
44
d4ec6ae1
RM
45 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
46 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
47 Versions files is now verboten.
48 * hurd/Versions (libc: GLIBC_2.0):
49 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
50 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
51 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
52 * mach/Versions: Likewise.
53
098ad55c
RM
54 * csu/Versions: Remove unused %include.
55 * resolv/Versions: Likewise.
56
acd7f096
JM
572014-02-21 Joseph Myers <joseph@codesourcery.com>
58
f0881698
JM
59 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
60 ($(objpfx)check-local-headers.out): Likewise.
61 ($(objpfx)begin-end-check.out): Likewise.
62 * Makerules (check-abi-%.out): Likewise.
63 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
64 ($(objpfx)test2.cat): Likewise.
65 ($(objpfx)de/libc.cat): Likewise.
66 ($(objpfx)test-gencat.out): Likewise.
67 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
68 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
69 ($(objpfx)noload-mem): Likewise.
70 ($(objpfx)tst-pathopt.out): Likewise.
71 ($(objpfx)tst-rtld-load-self.out): Likewise.
72 ($(objpfx)tst-array1-cmp.out): Likewise.
73 ($(objpfx)tst-array1-static-cmp.out): Likewise.
74 ($(objpfx)tst-array2-cmp.out): Likewise.
75 ($(objpfx)tst-array3-cmp.out): Likewise.
76 ($(objpfx)tst-array4-cmp.out): Likewise.
77 ($(objpfx)tst-array5-cmp.out): Likewise.
78 ($(objpfx)tst-array5-static-cmp.out): Likewise.
79 ($(objpfx)check-textrel.out): Likewise.
80 ($(objpfx)check-execstack.out): Likewise.
81 ($(objpfx)check-localplt.out): Likewise.
82 ($(objpfx)order2-cmp.out): Likewise.
83 ($(objpfx)tst-leaks1-mem): Likewise.
84 ($(objpfx)tst-leaks1-static-mem): Likewise.
85 ($(objpfx)tst-initorder-cmp.out): Likewise.
86 ($(objpfx)tst-initorder2-cmp.out): Likewise.
87 ($(objpfx)tst-unused-dep.out): Likewise.
88 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
89 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
90 * iconv/Makefile (test-iconvconfig): Likewise.
91 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
92 ($(objpfx)iconv-test.out): Likewise.
93 ($(objpfx)tst-tables.out): Likewise.
94 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
95 ($(objpfx)tst-gettext.out): Likewise.
96 ($(objpfx)tst-translit.out): Likewise.
97 ($(objpfx)tst-gettext2.out): Likewise.
98 ($(objpfx)tst-gettext4.out): Likewise.
99 ($(objpfx)tst-gettext6.out): Likewise.
100 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
101 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
102 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
103 ($(objpfx)tst-fopenloc-mem.out): Likewise.
104 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
105 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
106 * posix/Makefile ($(objpfx)globtest.out): Likewise.
107 ($(objpfx)wordexp-tst.out): Likewise.
108 ($(objpfx)annexc.out): Likewise.
109 ($(objpfx)tst-fnmatch-mem): Likewise.
110 ($(objpfx)bug-regex2-mem): Likewise.
111 ($(objpfx)bug-regex14-mem): Likewise.
112 ($(objpfx)bug-regex21-mem): Likewise.
113 ($(objpfx)bug-regex31-mem): Likewise.
114 ($(objpfx)tst-vfork3-mem): Likewise.
115 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
116 ($(objpfx)tst-pcre-mem): Likewise.
117 ($(objpfx)tst-boost-mem): Likewise.
118 ($(objpfx)tst-getconf.out): Likewise.
119 ($(objpfx)bug-ga2-mem): Likewise.
120 ($(objpfx)bug-glob2-mem): Likewise.
121 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
122 ($(objpfx)mtrace-tst-leaks2): Likewise.
123 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
124 ($(objpfx)tst-printf.out): Likewise.
125 ($(objpfx)tst-setvbuf1.out): Likewise.
126 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
127 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
128 ($(objpfx)tst-fmtmsg.out): Likewise.
129 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
130 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
131
acd7f096
JM
132 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
133 * bits/sigaction.h [__USE_MISC]: Likewise.
134 * bits/waitstatus.h: Update #endif comments.
135 * ctype/ctype.h: Likewise.
136 * dirent/dirent.h: Likewise.
137 [__USE_MISC]: Remove redundant conditionals.
138 * grp/grp.h: Update #endif comments.
139 [__USE_GNU]: Remove redundant conditionals.
140 [__USE_MISC]: Likewise.
141 * inet/netinet/in.h [__USE_GNU]: Likewise.
142 * io/sys/stat.h [__USE_MISC]: Likewise.
143 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
144 * libio/bits/stdio.h: Update #endif comments.
145 [__USE_MISC]: Remove redundant conditionals.
146 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
147 * libio/stdio.h: Update #endif comments.
148 [__USE_MISC]: Remove redundant conditionals.
149 * math/bits/math-finite.h [__USE_MISC]: Likewise.
150 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
151 * math/math.h: Update #else and #endif comments.
152 [__USE_MISC]: Remove redundant conditionals.
153 * misc/sys/uio.h: Update #endif comments.
154 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
155 * posix/glob.h [__USE_MISC]: Likewise.
156 * posix/sys/types.h: Update #endif comments.
157 [__USE_MISC]: Remove redundant conditionals.
158 * posix/sys/wait.h: Update #endif comments.
159 [__USE_MISC]: Remove redundant conditionals.
160 * posix/unistd.h: Update #endif comments.
161 [__USE_MISC]: Remove redundant conditionals.
162 * pwd/pwd.h [__USE_GNU]: Likewise.
163 [__USE_MISC]: Likewise.
164 * resolv/netdb.h [__USE_GNU]: Likewise.
165 * signal/signal.h: Update #endif comments.
166 [__USE_MISC]: Remove redundant conditionals.
167 * stdlib/stdlib.h: Update #else and #endif comments.
168 [__USE_MISC]: Remove redundant conditionals.
169 [__USE_GNU]: Likewise.
170 * string/bits/string2.h [__USE_MISC]: Likewise.
171 * string/string.h: Update #endif comments.
172 [__USE_MISC]: Remove redundant conditionals.
173 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
174 Likewise.
175 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
176 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
177 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
178 Likewise.
179 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
180 Likewise.
181 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
182 comments.
183 [__USE_MISC]: Remove redundant conditionals.
184 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
185 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
186 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
187 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
188 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
189 Likewise.
190 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
191 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
192 Likewise.
193 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
194 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
195 Likewise.
196 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
197 Likewise.
198 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
199 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
200 Likewise.
201 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
202 Likewise.
203 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
204 * sysdeps/x86/bits/string.h: Update #endif comments.
205 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
206 conditionals.
207 * time/sys/time.h: Update #endif comments.
208 * time/time.h: Likewise.
209 [__USE_MISC]: Remove redundant conditionals.
210
a5d82e4e
YG
2112014-02-21 Yury Gribov <y.gribov@samsung.com>
212
213 [BZ #16600]
214 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
215
9a80491d
AS
2162014-02-21 Andreas Schwab <schwab@linux-m68k.org>
217
218 * Versions.def (librt): Add GLIBC_2.17.
219
105fa381
AC
2202014-02-21 Adam Conrad <adconrad@0c3.net>
221
222 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
223 synonym for _SYS_AUXV_H to allow direct inclusion.
224 * sysdeps/sparc/bits/hwcap.h: Likewise.
225 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
226 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
227 * sysdeps/sparc/sysdep.h: Likewise.
228
b8cd1c4e
SP
2292014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
230
231 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
232
bd939d23
RS
2332014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
234
235 * benchtests/bench-strrchr.c: Print length instead of position.
236
5d7b57ca
JM
2372014-02-20 Joseph Myers <joseph@codesourcery.com>
238
bc688c10
JM
239 [BZ #16611]
240 * sysdeps/unix/sysv/linux/kernel-features.h
241 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
242 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
243 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
244 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
245 Likewise.
246 [__i386__ || __powerpc__ || __sh__ || __sparc__]
247 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
248 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
249 (__ASSUME_SENDMMSG): Define instead of using previous
250 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
251 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
252 (__ASSUME_SENDMMSG_SYSCALL): Define.
253 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
254 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
255 Likewise.
256 * sysdeps/unix/sysv/linux/arm/kernel-features.h
257 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
258 Likewise.
259 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
260 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
261 Likewise.
262 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
263 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
264 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
265 [__ASSUME_SENDMMSG]: Change conditionals to
266 [__ASSUME_SENDMMSG_SOCKETCALL].
267 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
268 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
269 Define.
270 * sysdeps/unix/sysv/linux/mips/kernel-features.h
271 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
272 Likewise.
273 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
274 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
275 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
276 [!__ASSUME_SENDMMSG]: Change conditional to
277 [!__ASSUME_SENDMMSG_SOCKETCALL].
278 * sysdeps/unix/sysv/linux/tile/kernel-features.h
279 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
280 Define.
281
0e31b18c
JM
282 [BZ #16610]
283 * sysdeps/unix/sysv/linux/kernel-features.h
284 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
285 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
286 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
287 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
288 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
289 [__i386__ || __sparc__]
290 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
291 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
292 (__ASSUME_RECVMMSG): Define instead of using previous
293 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
294 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
295 (__ASSUME_RECVMMSG_SYSCALL): Define.
296 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
297 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
298 Likewise.
299 * sysdeps/unix/sysv/linux/arm/kernel-features.h
300 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
301 Likewise.
302 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
303 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
304 Likewise.
305 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
306 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
307 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
308 [__ASSUME_RECVMMSG]: Change condition to
309 [__ASSUME_RECVMMSG_SOCKETCALL].
310 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
311 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
312 Define.
313 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
314 * sysdeps/unix/sysv/linux/mips/kernel-features.h
315 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
316 Likewise.
317 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
318 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
319 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
320 [!__ASSUME_RECVMMSG]: Change condition to
321 [!__ASSUME_RECVMMSG_SOCKETCALL].
322 * sysdeps/unix/sysv/linux/tile/kernel-features.h
323 (__ASSUME_RECVMMSG_SYSCALL): Define.
324
dd481ccf
JM
325 [BZ #16609]
326 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
327 __powerpc__ || __s390__ || __sh__ || __sparc__]
328 (__ASSUME_SOCKETCALL): Define.
329 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
330 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
331 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
332 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
333 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
334 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
335 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
336 (__ASSUME_ACCEPT4): Define instead of using previous
337 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
338 __powerpc__ || __sparc__ || __s390__)] condition.
339 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
340 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
341 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
342 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
343 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
344 [!__ASSUME_ACCEPT4]: Change condition to
345 [!__ASSUME_ACCEPT4_SOCKETCALL].
346 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
347 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
348 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
349 * sysdeps/unix/sysv/linux/arm/kernel-features.h
350 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
351 __ASSUME_ACCEPT4_SYSCALL.
352 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
353 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
354 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
355 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
356 __ASSUME_ACCEPT4_SYSCALL.
357 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
358 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
359 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
360 [__ASSUME_ACCEPT4]: Change condition to
361 [__ASSUME_ACCEPT4_SOCKETCALL].
362 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
363 (__ASSUME_SOCKETCALL): Define.
364 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
365 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
366 (__ASSUME_SOCKETCALL): Define.
367 (__ASSUME_ACCEPT4): Remove.
368 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
369 Define.
370 * sysdeps/unix/sysv/linux/mips/kernel-features.h
371 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
372 Likewise.
373 * sysdeps/unix/sysv/linux/tile/kernel-features.h
374 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
375
5d7b57ca
JM
376 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
377 macro.
378 (HWCAP_ARM_LPAE): Likewise.
379 (HWCAP_ARM_EVTSTRM): Likewise.
380 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
381 Add vpfd32, lpae and evtstrm.
382 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
383 Increase to 22.
384
63689d61
JM
3852014-02-19 Joseph Myers <joseph@codesourcery.com>
386
387 * math/auto-libm-test-in: Add tests of clog10.
388 * math/auto-libm-test-out: Regenerated.
389 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
390 * sysdeps/i386/fpu/libm-test-ulps: Update.
391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
392
ab09bf61
AS
3932014-02-18 Andreas Schwab <schwab@suse.de>
394
395 [BZ #16574]
396 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
397 Store non-zero if the second buffer was newly allocated.
398 (send_dg): Likewise.
399 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
400 to send_vc and send_dg.
401 (res_nsend): Pass NULL for ansp2_malloced.
402 * resolv/res_query.c (__libc_res_nquery): Add parameter
403 answerp2_malloced and pass it down to __libc_res_nsend.
404 (res_nquery): Pass additional NULL to __libc_res_nquery.
405 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
406 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
407 second answer buffer if answerp2_malloced was set.
408 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
409 (__libc_res_nquerydomain): Add parameter
410 answerp2_malloced and pass it down to __libc_res_nquery.
411 (res_nquerydomain): Pass additional NULL to
412 __libc_res_nquerydomain.
413 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
414 additional NULL to __libc_res_nsend and __libc_res_nquery.
415 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
416 additional NULL to __libc_res_nsearch.
417 (_nss_dns_gethostbyname4_r): Revert last change. Use new
418 parameter of __libc_res_nsearch to check for separately allocated
419 second buffer.
420 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
421 __libc_res_nquery.
422 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
423 additional NULL to __libc_res_nquery.
424 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
425 __libc_res_nsearch.
426 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
427 * include/resolv.h: Update prototypes of __libc_res_nquery,
428 __libc_res_nsearch, __libc_res_nsend.
429
a4fb7861
JM
4302014-02-18 Joseph Myers <joseph@codesourcery.com>
431
c6af2d89
JM
432 * math/auto-libm-test-in: Add tests of fma.
433 * math/auto-libm-test-out: Regenerated.
434 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
435 (fma_towardzero_test_data): Likewise.
436 (fma_downward_test_data): Likewise.
437 (fma_upward_test_data): Likewise.
438 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
439 mpc_mode.
440 (rounding_modes): Add values for new field.
441 (func_calc_method): Add value mpfr_fff_f.
442 (func_calc_desc): Add mpfr_fff_f union field.
443 (test_function): Add field exact_args.
444 (FUNC): Add macro argument EXACT_ARGS.
445 (FUNC_mpfr_f_f): Update call to FUNC.
446 (FUNC_mpfr_f_f): Likewise.
447 (FUNC_mpfr_ff_f): Likewise.
448 (FUNC_mpfr_if_f): Likewise.
449 (FUNC_mpc_c_f): Likewise.
450 (FUNC_mpc_c_c): Likewise.
451 (test_functions): Add fma. Update calls to FUNC.
452 (handle_input_arg): Add argument exact_args.
453 (add_test): Update call to handle_input_arg.
454 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
455 (output_for_one_input_case): Update call to calc_generic_results.
456 Recalculate exact zero results in each rounding mode.
457
a4fb7861
JM
458 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
459 non-negative before setting low bit.
460 * math/auto-libm-test-in: Mark one asin test possibly having
461 spurious underflow.
462 * math/auto-libm-test-out: Regenerated.
463 * sysdeps/i386/fpu/libm-test-ulps: Update.
464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
465
ef114eaf
DH
4662014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
467
468 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
469 * sysdeps/unix/sysv/linux/microblaze: Move directory from
470 ports/sysdeps/unix/sysv/linux/microblaze.
471 * README: Add missing listing for microblaze*-*-linux-gnu.
472
c70a4b1d
MF
4732014-02-16 Mike Frysinger <vapier@gentoo.org>
474
475 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
476 * sysdeps/unix/sysv/linux/ia64: Move directory from
477 ports/sysdeps/unix/sysv/linux/ia64.
478 * README: Update listing for ia64-*-linux-gnu.
479
591aeaf7
TD
4802014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
481 Joseph Myers <joseph@codesourcery.com>
482
483 * Makeconfig (test-name): New variable.
484 (evaluate-test): Likewise.
485 * Makerules (do-test-clean): Remove .test-result files.
486 (common-mostlyclean): Likewise.
487 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
488 * scripts/evaluate-test.sh: New file.
489
6e89caf1
JM
4902014-02-14 Joseph Myers <joseph@codesourcery.com>
491
7f98f180
JM
492 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
493 separate $(objpfx)tst-fopenloc-cmp.out and
494 $(objpfx)tst-fopenloc-mem.out targets.
495 (tests): Update dependencies.
496 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
497 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
498 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
499 (tst-rxspencer-no-utf8-ARGS): New variable.
500 (tst-rxspencer-no-utf8-ENV): Likewise.
501 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
502 instead of $(objpfx)tst-rxspencer-mem.
503 ($(objpfx)tst-rxspencer-mem): Change target to
504 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
505 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
506 * posix/tst-rxspencer-no-utf8.c: New file.
507
6e89caf1
JM
508 * elf/Makefile ($(objpfx)order.out): Remove rule.
509 [$(run-built-tests) = yes] (tests): Depend on
510 $(objpfx)order-cmp.out.
511 ($(objpfx)order-cmp.out): New rule.
512 [$(run-built-tests) = yes] (tests): Depend on
513 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
514 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
515 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
516 $(objpfx)tst-array5-static-cmp.out.
517 ($(objpfx)tst-array1.out): Remove rule.
518 ($(objpfx)tst-array1-cmp.out): New rule.
519 ($(objpfx)tst-array1-static.out): Remove rule.
520 ($(objpfx)tst-array1-static-cmp.out): New rule.
521 ($(objpfx)tst-array2.out): Remove rule.
522 ($(objpfx)tst-array2-cmp.out): New rule.
523 ($(objpfx)tst-array3.out): Remove rule.
524 ($(objpfx)tst-array3-cmp.out): New rule.
525 ($(objpfx)tst-array4.out): Remove rule.
526 ($(objpfx)tst-array4-cmp.out): New rule.
527 ($(objpfx)tst-array5.out): Remove rule.
528 ($(objpfx)tst-array5-cmp.out): New rule.
529 ($(objpfx)tst-array5-static.out): Remove rule.
530 ($(objpfx)tst-array5-static-cmp.out): New rule.
531 [$(run-built-tests) = yes] (tests): Depend on
532 $(objpfx)order2-cmp.out.
533 ($(objpfx)order2.out): Remove rule.
534 ($(objpfx)order2-cmp.out): New rule.
535 ($(objpfx)tst-initorder.out): Remove rule.
536 [$(run-built-tests) = yes] (tests): Depend on
537 $(objpfx)tst-initorder-cmp.out.
538 ($(objpfx)tst-initorder-cmp.out): New rule.
539 ($(objpfx)tst-initorder2.out): Remove rule.
540 [$(run-built-tests) = yes] (tests): Depend on
541 $(objpfx)tst-initorder2-cmp.out.
542 ($(objpfx)tst-initorder2-cmp.out): New rule.
543 [$(run-built-tests) = yes] (tests): Depend on
544 $(objpfx)tst-unused-dep-cmp.out.
545 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
546 ($(objpfx)tst-unused-dep-cmp.out): New rule.
547 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
548 on $(objpfx)tst-setvbuf1-cmp.out.
549 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
550 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
551 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
552 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
553 ($(objpfx)tst-svc.out): Remove rule.
554 ($(objpfx)tst-svc-cmp.out): New rule.
555
ed9a38e2
JM
5562014-02-13 Joseph Myers <joseph@codesourcery.com>
557
558 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
559 * ctype/ctype.h [__USE_MISC]: Likewise.
560 * dirent/dirent.h [__USE_MISC]: Likewise.
561 * grp/grp.h [__USE_MISC]: Likewise.
562 * io/fcntl.h [__USE_MISC]: Likewise.
563 * io/sys/stat.h [__USE_MISC]: Likewise.
564 * libio/stdio.h [__USE_MISC]: Likewise.
565 * posix/unistd.h [__USE_MISC]: Likewise.
566 * pwd/pwd.h [__USE_MISC]: Likewise.
567 * stdlib.h [__USE_MISC]: Likewise.
568 * string/bits/string2.h [__USE_MISC]: Likewise.
569 * string/string.h [__USE_MISC]: Likewise.
570 * time/time.h [__USE_MISC]: Likewise.
571
d6680619
AS
5722014-02-13 Andreas Schwab <schwab@suse.de>
573
574 [BZ #16574]
575 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
576 second answer buffer if it was separately allocated.
577
ace614b8
JM
5782014-02-12 Joseph Myers <joseph@codesourcery.com>
579
743151ae
JM
580 * sysdeps/mips/math-tests.h: Include <features.h>.
581 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
582 (ROUNDING_TESTS_long_double): Do not define.
583 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
584 (EXCEPTION_TESTS_long_double): Likewise.
585 * sysdeps/mips/mips64/libm-test-ulps: Update.
586
498afc54
JM
587 * include/features.h (__USE_BSD): Remove macro definitions.
588 (__USE_SVID): Likewise.
589 (_BSD_SOURCE): Likewise.
590 (_SVID_SOURCE): Likewise.
591 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
592 from definition of _DEFAULT_SOURCE.
593 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
594 [_DEFAULT_SOURCE].
595 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
596 * bits/mman.h [__USE_BSD]: Likewise.
597 * bits/termios.h [__USE_BSD]: Likewise.
598 * bits/waitstatus.h [__USE_BSD]: Likewise.
599 * ctype/ctype.h [__USE_SVID]: Likewise.
600 * dirent/dirent.h [__USE_BSD]: Likewise.
601 * grp/grp.h [__USE_SVID]: Likewise.
602 [__USE_BSD]: Likewise.
603 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
604 * io/fcntl.h [__USE_BSD]: Likewise.
605 * io/ftw.h [__USE_BSD]: Likewise.
606 * io/sys/stat.h [__USE_BSD]: Likewise.
607 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
608 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
609 * libio/stdio.h [__USE_SVID]: Likewise.
610 [__USE_BSD]: Likewise.
611 * math/math.h [__USE_SVID]: Likewise.
612 [__USE_BSD]: Likewise.
613 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
614 * misc/bits/syslog.h [__USE_BSD]: Likewise.
615 * misc/search.h [__USE_SVID]: Likewise.
616 * misc/sys/mman.h [__USE_BSD]: Likewise.
617 * misc/sys/syslog.h [__USE_BSD]: Likewise.
618 * misc/sys/uio.h [__USE_BSD]: Likewise.
619 * posix/bits/unistd.h [__USE_BSD]: Likewise.
620 * posix/glob.h [__USE_BSD]: Likewise.
621 * posix/regex.h [__USE_BSD]: Likewise.
622 * posix/sys/types.h [__USE_BSD]: Likewise.
623 [__USE_SVID]: Likewise.
624 * posix/sys/utsname.h [__USE_SVID]: Likewise.
625 * posix/sys/wait.h [__USE_BSD]: Likewise.
626 [__USE_SVID]: Likewise.
627 * posix/unistd.h [__USE_BSD]: Likewise.
628 [__USE_SVID]: Likewise.
629 * pwd/pwd.h [__USE_SVID]: Likewise.
630 * resolv/netdb.h [__USE_BSD]: Likewise.
631 * setjmp/setjmp.h [__USE_BSD]: Likewise.
632 * signal/signal.h [__USE_BSD]: Likewise.
633 [__USE_SVID]: Likewise.
634 * socket/sys/socket.h [__USE_BSD]: Likewise.
635 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
636 * stdlib/stdlib.h [__USE_BSD]: Likewise.
637 [__USE_SVID]: Likewise.
638 * string/bits/string2.h [__USE_BSD]: Likewise.
639 [__USE_SVID]: Likewise.
640 * string/bits/string3.h [__USE_BSD]: Likewise.
641 * string/endian.h [__USE_BSD]: Likewise.
642 * string/string.h [__USE_SVID]: Likewise.
643 [__USE_BSD]: Likewise.
644 * string/strings.h [__USE_BSD]: Likewise.
645 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
646 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
647 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
648 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
649 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
650 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
651 Likewise.
652 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
653 Likewise.
654 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
655 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
656 Likewise.
657 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
658 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
659 Likewise.
660 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
661 Likewise.
662 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
663 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
664 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
665 Likewise.
666 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
667 Likewise.
668 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
669 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
670 * termios/termios.h [__USE_BSD]: Likewise.
671 * time/sys/time.h [__USE_BSD]: Likewise.
672 * time/time.h [__USE_BSD]: Likewise.
673 [__USE_SVID]: Likewise.
674
dd7b064c
JM
675 * Makefile (subdir_targets): Remove subdir_lint.out.
676
a2c4c199
JM
677 * stdio-common/Makefile (do-tst-unbputc): Remove target.
678 (do-tst-printf): Likewise.
679 (tests): Depend directly on $(objpfx)tst-unbputc.out and
680 $(objpfx)tst-printf.out.
681
8756f740
JM
682 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
683
1b6dd3f1
JM
684 * Makerules (check-abi-%): Change target to
685 $(objpfx)check-abi-%.out.
686 (check-abi target): Update dependencies.
687 (check-abi-pattern variable): Redirect output of diff to $@.
688 (check-abi variable): Likewise.
689 * elf/Makefile (check-abi): Update dependencies.
690
ace614b8
JM
691 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
692 unused.
693 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
694 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
695 subnormal range.
696 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
697 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
698 value has largest subnormal exponent.
699 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
700 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
701 * sysdeps/aarch64/soft-fp/sfp-machine.h
702 (_FP_TININESS_AFTER_ROUNDING): New macro.
703 * sysdeps/alpha/soft-fp/sfp-machine.h
704 (_FP_TININESS_AFTER_ROUNDING): Likewise.
705 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
706 Likewise.
707 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
708 (_FP_TININESS_AFTER_ROUNDING): Likewise.
709 * sysdeps/mips/soft-fp/sfp-machine.h
710 (_FP_TININESS_AFTER_ROUNDING): Likewise.
711 * sysdeps/powerpc/soft-fp/sfp-machine.h
712 (_FP_TININESS_AFTER_ROUNDING): Likewise.
713 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
714 Likewise.
715 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
716 (_FP_TININESS_AFTER_ROUNDING): Likewise.
717 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
718 (_FP_TININESS_AFTER_ROUNDING): Likewise.
719 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
720 Likewise.
721
fbfdf9cb
DAS
7222014-02-12 Dylan Alex Simon <dylan@dylex.net>
723
724 [BZ #16545]
725 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
726 model 1.
727
68b7efaa
RH
7282014-02-12 Richard Henderson <rth@redhat.com>
729
c70a4b1d 730 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
731 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
732 * sysdeps/unix/sysv/linux/alpha: Move directory from
733 ports/sysdeps/unix/sysv/linux/alpha.
734 * README: Update listing for alpha-*-linux-gnu.
735
cb4a2928
JM
7362014-02-11 Joseph Myers <joseph@codesourcery.com>
737
c941736c
JM
738 * include/features.h: Update comment documenting feature test
739 macros.
740 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
741 _DEFAULT_SOURCE.
742 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
743 (_SVID_SOURCE): Likewise.
744 (_DEFAULT_SOURCE): Update description of default features.
745 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
746 with _GNU_SOURCE.
747 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
748 (S_ISVTX): Likewise.
749 * manual/math.texi (Mathematical Constants): Likewise.
750 * manual/signal.texi (Interrupted Primitives): Likewise.
751 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
752 * math/test-matherr.c (_SVID_SOURCE): Do not define.
753 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
754 Don't refer to _SVID_SOURCE in warning text.
755
e8d8d7ec
JM
756 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
757
cb4a2928
JM
758 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
759 already defined.
760 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
761 * sysdeps/mips/dl-lookup.c: Remove.
762 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
763
7e6424e3
AK
7642014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
765
766 [BZ #16447]
767 * math/auto-libm-test-in: Add testcase for expl.
768 * math/auto-libm-test-out: Regenerate.
769 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
770 calculation of unsafe.
771 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
772
75eff3fe
MS
7732014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
774
775 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
776 * sysdeps/unix/sysv/linux/aarch64: Move directory from
777 ports/sysdeps/unix/sysv/linux/aarch64.
778 * README: Update listing for aarch64*-*-linux-gnu.
779
d35f1e80
WN
7802014-02-11 Will Newton <will.newton@linaro.org>
781
782 * manual/probes.texi (Mathematical Function Probes): Use
783 "triggered" instead of "hit".
784
7b3436d4
WN
7852014-02-11 Will Newton <will.newton@linaro.org>
786
787 * manual/probes.texi (Internal Probes): Add documentation
788 of setjmp, longjmp and longjmp_target probes.
789
b4f12ca3
WN
7902014-02-11 Will Newton <will.newton@linaro.org>
791
792 * include/stap-probe.h: Add comment about probe argument
793 format.
794
c13a72b7
WN
7952014-02-11 Will Newton <will.newton@linaro.org>
796
797 * malloc/mtrace.c (attribute_hidden): Remove unused macro
798 definition. (tr_where, tr_freehook, tr_mallochook,
799 tr_reallochook, tr_memalignhook): Use ANSI protoype.
800
195b8165
DM
8012014-02-11 David S. Miller <davem@davemloft.net>
802
803 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
804 processing int_tests.
805
2ad7600b
JM
8062014-02-10 Joseph Myers <joseph@codesourcery.com>
807
808 * sysdeps/mips: Move directory from ports/sysdeps/mips.
809 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
810 * sysdeps/unix/sysv/linux/mips: Move directory from
811 ports/sysdeps/unix/sysv/linux/mips.
812 * README: Update listing for mips-*-linux-gnu and
813 mips64-*-linux-gnu.
814
73588a72
AS
8152014-02-10 Andreas Schwab <schwab@linux-m68k.org>
816
817 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
818 * sysdeps/unix/sysv/linux/m68k: Move directory from
819 ports/sysdeps/unix/sysv/linux/m68k.
820 * README: Update listing for m68k-*-linux-gnu.
821
4372980f
CM
8222014-02-10 Chris Metcalf <cmetcalf@tilera.com>
823
824 * sysdeps/tile: Move directory from ports/sysdeps/tile.
825 * sysdeps/unix/sysv/linux/generic: Move directory from
826 ports/sysdeps/unix/sysv/linux/generic.
827 * sysdeps/unix/sysv/linux/tile: Move directory from
828 ports/sysdeps/unix/sysv/linux/tile.
829 * README: Update listing for tile*-*-linux-gnu.
830
a1ffb40e
OB
8312014-02-10 Ondřej Bílka <neleai@seznam.cz>
832
833 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
834 * benchtests/bench-memmem.c (simple_memmem): Likewise.
835 * catgets/open_catalog.c (__open_catalog): Likewise.
836 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
837 * debug/confstr_chk.c: Likewise.
838 * debug/fread_chk.c (__fread_chk): Likewise.
839 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
840 * debug/getgroups_chk.c: Likewise.
841 * debug/mbsnrtowcs_chk.c: Likewise.
842 * debug/mbsrtowcs_chk.c: Likewise.
843 * debug/mbstowcs_chk.c: Likewise.
844 * debug/memcpy_chk.c: Likewise.
845 * debug/memmove_chk.c: Likewise.
846 * debug/mempcpy_chk.c: Likewise.
847 * debug/memset_chk.c: Likewise.
848 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
849 * debug/strcat_chk.c (__strcat_chk): Likewise.
850 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
851 * debug/strncat_chk.c (__strncat_chk): Likewise.
852 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
853 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
854 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
855 * debug/wcpncpy_chk.c: Likewise.
856 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
857 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
858 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
859 * debug/wcsncpy_chk.c: Likewise.
860 * debug/wcsnrtombs_chk.c: Likewise.
861 * debug/wcsrtombs_chk.c: Likewise.
862 * debug/wcstombs_chk.c: Likewise.
863 * debug/wmemcpy_chk.c: Likewise.
864 * debug/wmemmove_chk.c: Likewise.
865 * debug/wmempcpy_chk.c: Likewise.
866 * debug/wmemset_chk.c: Likewise.
867 * dirent/scandirat.c (SCANDIRAT): Likewise.
868 * dlfcn/dladdr1.c (dladdr1): Likewise.
869 * dlfcn/dladdr.c (dladdr): Likewise.
870 * dlfcn/dlclose.c (dlclose_doit): Likewise.
871 * dlfcn/dlerror.c (__dlerror): Likewise.
872 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
873 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
874 * dlfcn/dlopen.c (dlopen_doit): Likewise.
875 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
876 * dlfcn/dlsym.c (dlsym_doit): Likewise.
877 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
878 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
879 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
880 Likewise.
881 * elf/dl-conflict.c: Likewise.
882 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
883 * elf/dl-dst.h: Likewise.
884 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
885 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
886 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
887 * elf/dl-init.c (call_init, _dl_init): Likewise.
888 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
889 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
890 _dl_map_object_from_fd, open_verify, open_path,
891 _dl_map_object): Likewise.
892 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
893 Likewise.
894 * elf/dl-minimal.c (__libc_memalign): Likewise.
895 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
896 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
897 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
898 * elf/dl-sym.c (do_sym): Likewise.
899 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
900 _dl_tls_get_addr_soft): Likewise.
901 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
902 * elf/dl-writev.h (_dl_writev): Likewise.
903 * elf/ldconfig.c (search_dir): Likewise.
904 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
905 dl_main): Likewise.
906 * elf/setup-vdso.h (setup_vdso): Likewise.
907 * grp/compat-initgroups.c (compat_call): Likewise.
908 * grp/fgetgrent.c (fgetgrent): Likewise.
909 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
910 * grp/putgrent.c (putgrent): Likewise.
911 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
912 Likewise.
913 * hurd/hurdinit.c: Likewise.
914 * iconvdata/8bit-gap.c (struct): Likewise.
915 * iconvdata/ansi_x3.110.c : Likewise.
916 * iconvdata/big5.c : Likewise.
917 * iconvdata/big5hkscs.c : Likewise.
918 * iconvdata/cp1255.c: Likewise.
919 * iconvdata/cp1258.c : Likewise.
920 * iconvdata/cp932.c : Likewise.
921 * iconvdata/euc-cn.c: Likewise.
922 * iconvdata/euc-jisx0213.c : Likewise.
923 * iconvdata/euc-jp.c: Likewise.
924 * iconvdata/euc-jp-ms.c : Likewise.
925 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
926 * iconvdata/gb18030.c : Likewise.
927 * iconvdata/gbbig5.c (const): Likewise.
928 * iconvdata/gbgbk.c: Likewise.
929 * iconvdata/gbk.c : Likewise.
930 * iconvdata/ibm1364.c : Likewise.
931 * iconvdata/ibm930.c : Likewise.
932 * iconvdata/ibm932.c: Likewise.
933 * iconvdata/ibm933.c : Likewise.
934 * iconvdata/ibm935.c : Likewise.
935 * iconvdata/ibm937.c : Likewise.
936 * iconvdata/ibm939.c : Likewise.
937 * iconvdata/ibm943.c: Likewise.
938 * iconvdata/iso_11548-1.c: Likewise.
939 * iconvdata/iso-2022-cn.c : Likewise.
940 * iconvdata/iso-2022-cn-ext.c : Likewise.
941 * iconvdata/iso-2022-jp-3.c: Likewise.
942 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
943 * iconvdata/iso-2022-kr.c : Likewise.
944 * iconvdata/iso646.c (gconv_end): Likewise.
945 * iconvdata/iso_6937-2.c : Likewise.
946 * iconvdata/iso_6937.c : Likewise.
947 * iconvdata/iso8859-1.c: Likewise.
948 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
949 * iconvdata/shift_jisx0213.c : Likewise.
950 * iconvdata/sjis.c : Likewise.
951 * iconvdata/t.61.c : Likewise.
952 * iconvdata/tcvn5712-1.c : Likewise.
953 * iconvdata/tscii.c: Likewise.
954 * iconvdata/uhc.c : Likewise.
955 * iconvdata/unicode.c (gconv_end): Likewise.
956 * iconvdata/utf-16.c (gconv_end): Likewise.
957 * iconvdata/utf-32.c (gconv_end): Likewise.
958 * iconvdata/utf-7.c (base64): Likewise.
959 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
960 * iconv/gconv_close.c (__gconv_close): Likewise.
961 * iconv/gconv_open.c (__gconv_open): Likewise.
962 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
963 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
964 internal_ucs4le_loop_single, ucs4le_internal_loop,
965 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
966 * iconv/iconv.c (iconv): Likewise.
967 * iconv/iconv_close.c: Likewise.
968 * iconv/loop.c (SINGLE): Likewise.
969 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
970 * include/atomic.h: Likewise.
971 * inet/inet6_option.c (option_alloc): Likewise.
972 * intl/bindtextdom.c (set_binding_values): Likewise.
973 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
974 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
975 * intl/localealias.c (read_alias_file): Likewise.
976 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
977 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
978 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
979 * libio/fmemopen.c (fmemopen): Likewise.
980 * libio/iofgets.c (_IO_fgets): Likewise.
981 * libio/iofgets_u.c (fgets_unlocked): Likewise.
982 * libio/iofgetws.c (fgetws): Likewise.
983 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
984 * libio/iogetdelim.c (_IO_getdelim): Likewise.
985 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
986 adjust_wide_data, _IO_wfile_seekoff): Likewise.
987 * locale/findlocale.c (_nl_find_locale): Likewise.
988 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
989 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
990 Likewise.
991 * locale/setlocale.c (setlocale): Likewise.
992 * login/programs/pt_chown.c (main): Likewise.
993 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
994 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
995 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
996 mmap, mmap64, mremap, munmap): Likewise.
997 * math/e_exp2l.c: Likewise.
998 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
999 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
1000 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
1001 * math/s_catan.c (__catan): Likewise.
1002 * math/s_catanf.c (__catanf): Likewise.
1003 * math/s_catanh.c (__catanh): Likewise.
1004 * math/s_catanhf.c (__catanhf): Likewise.
1005 * math/s_catanhl.c (__catanhl): Likewise.
1006 * math/s_catanl.c (__catanl): Likewise.
1007 * math/s_ccosh.c (__ccosh): Likewise.
1008 * math/s_ccoshf.c (__ccoshf): Likewise.
1009 * math/s_ccoshl.c (__ccoshl): Likewise.
1010 * math/s_cexp.c (__cexp): Likewise.
1011 * math/s_cexpf.c (__cexpf): Likewise.
1012 * math/s_cexpl.c (__cexpl): Likewise.
1013 * math/s_clog10.c (__clog10): Likewise.
1014 * math/s_clog10f.c (__clog10f): Likewise.
1015 * math/s_clog10l.c (__clog10l): Likewise.
1016 * math/s_clog.c (__clog): Likewise.
1017 * math/s_clogf.c (__clogf): Likewise.
1018 * math/s_clogl.c (__clogl): Likewise.
1019 * math/s_csin.c (__csin): Likewise.
1020 * math/s_csinf.c (__csinf): Likewise.
1021 * math/s_csinh.c (__csinh): Likewise.
1022 * math/s_csinhf.c (__csinhf): Likewise.
1023 * math/s_csinhl.c (__csinhl): Likewise.
1024 * math/s_csinl.c (__csinl): Likewise.
1025 * math/s_csqrt.c (__csqrt): Likewise.
1026 * math/s_csqrtf.c (__csqrtf): Likewise.
1027 * math/s_csqrtl.c (__csqrtl): Likewise.
1028 * math/s_ctan.c (__ctan): Likewise.
1029 * math/s_ctanf.c (__ctanf): Likewise.
1030 * math/s_ctanh.c (__ctanh): Likewise.
1031 * math/s_ctanhf.c (__ctanhf): Likewise.
1032 * math/s_ctanhl.c (__ctanhl): Likewise.
1033 * math/s_ctanl.c (__ctanl): Likewise.
1034 * math/w_pow.c: Likewise.
1035 * math/w_powf.c: Likewise.
1036 * math/w_powl.c: Likewise.
1037 * math/w_scalb.c (sysv_scalb): Likewise.
1038 * math/w_scalbf.c (sysv_scalbf): Likewise.
1039 * math/w_scalbl.c (sysv_scalbl): Likewise.
1040 * misc/error.c (error_tail): Likewise.
1041 * misc/pselect.c (__pselect): Likewise.
1042 * nis/nis_callback.c (__nis_create_callback): Likewise.
1043 * nis/nis_call.c (__nisfind_server): Likewise.
1044 * nis/nis_creategroup.c (nis_creategroup): Likewise.
1045 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
1046 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1047 * nis/nis_getservlist.c (nis_getservlist): Likewise.
1048 * nis/nis_lookup.c (nis_lookup): Likewise.
1049 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
1050 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
1051 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
1052 * nis/nis_xdr.c (xdr_endpoint): Likewise.
1053 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
1054 internal_getgrgid_r): Likewise.
1055 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
1056 Likewise.
1057 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
1058 internal_getpwuid_r): Likewise.
1059 * nis/nss_compat/compat-spwd.c (getspent_next_file,
1060 internal_getspnam_r): Likewise.
1061 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
1062 _nss_nis_getaliasbyname_r): Likewise.
1063 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
1064 _nss_nis_getntohost_r): Likewise.
1065 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
1066 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
1067 Likewise.
1068 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
1069 internal_nis_gethostent_r, internal_gethostbyname2_r,
1070 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
1071 _nss_nis_gethostbyname4_r): Likewise.
1072 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
1073 initgroups_netid): Likewise.
1074 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
1075 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
1076 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
1077 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
1078 _nss_nis_getprotobynumber_r): Likewise.
1079 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
1080 _nss_nis_getsecretkey): Likewise.
1081 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
1082 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
1083 Likewise.
1084 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
1085 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
1086 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
1087 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
1088 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
1089 _nss_nis_getspnam_r): Likewise.
1090 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
1091 Likewise.
1092 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
1093 _nss_nisplus_getntohost_r): Likewise.
1094 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
1095 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
1096 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
1097 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
1098 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
1099 Likewise.
1100 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
1101 _nss_nisplus_getnetbyaddr_r): Likewise.
1102 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
1103 _nss_nisplus_getprotobynumber_r): Likewise.
1104 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
1105 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
1106 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
1107 Likewise.
1108 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
1109 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
1110 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
1111 _nss_nisplus_getspnam_r): Likewise.
1112 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
1113 * nscd/aicache.c (addhstaiX): Likewise.
1114 * nscd/cache.c (cache_search, prune_cache): Likewise.
1115 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
1116 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
1117 * nscd/grpcache.c (addgrbyX): Likewise.
1118 * nscd/hstcache.c (addhstbyX): Likewise.
1119 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1120 * nscd/mem.c (gc, mempool_alloc): Likewise.
1121 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
1122 Likewise.
1123 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
1124 Likewise.
1125 * nscd/nscd_getai.c (__nscd_getai): Likewise.
1126 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1127 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
1128 Likewise.
1129 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
1130 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
1131 * nscd/nscd_helper.c (__readvall, open_socket,
1132 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
1133 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
1134 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
1135 * nscd/pwdcache.c (addpwbyX): Likewise.
1136 * nscd/selinux.c (preserve_capabilities): Likewise.
1137 * nscd/servicescache.c (addservbyX): Likewise.
1138 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
1139 * posix/fnmatch.c (fnmatch): Likewise.
1140 * posix/getopt.c (_getopt_internal_r): Likewise.
1141 * posix/glob.c (glob, glob_in_dir): Likewise.
1142 * posix/wordexp.c (exec_comm_child): Likewise.
1143 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
1144 gaih_getanswer_slice): Likewise.
1145 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
1146 * resolv/res_init.c: Likewise.
1147 * resolv/res_mkquery.c (res_nmkquery): Likewise.
1148 * resolv/res_query.c (__libc_res_nquery): Likewise.
1149 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
1150 Likewise.
1151 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
1152 * stdio-common/perror.c (perror): Likewise.
1153 * stdio-common/printf_fp.c (___printf_fp): Likewise.
1154 * stdio-common/tmpnam.c (tmpnam): Likewise.
1155 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1156 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
1157 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
1158 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
1159 * stdlib/putenv.c (putenv): Likewise.
1160 * stdlib/setenv.c (__add_to_environ): Likewise.
1161 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1162 * stdlib/strtol_l.c (INTERNAL): Likewise.
1163 * string/memmem.c (memmem): Likewise.
1164 * string/strerror.c (strerror): Likewise.
1165 * string/strnlen.c (__strnlen): Likewise.
1166 * string/test-memmem.c (simple_memmem): Likewise.
1167 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
1168 * sunrpc/pm_getport.c (__get_socket): Likewise.
1169 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
1170 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
1171 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
1172 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
1173 Likewise.
1174 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
1175 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1176 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
1177 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
1178 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
1179 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
1180 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
1181 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
1182 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
1183 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1184 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
1185 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
1186 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
1187 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1188 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
1189 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
1190 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
1191 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
1192 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
1193 Likewise.
1194 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
1195 Likewise.
1196 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
1197 Likewise.
1198 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
1199 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1200 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
1201 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
1202 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
1203 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
1204 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1205 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
1206 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
1207 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
1208 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
1209 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1210 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1211 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
1212 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1213 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
1214 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
1215 Likewise.
1216 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
1217 Likewise.
1218 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
1219 Likewise.
1220 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1221 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1222 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
1223 Likewise.
1224 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
1225 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
1226 * sysdeps/posix/opendir.c (__opendirat): Likewise.
1227 * sysdeps/posix/sleep.c: Likewise.
1228 * sysdeps/posix/tempname.c: Likewise.
1229 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
1230 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1231 Likewise.
1232 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
1233 elf_machine_rela): Likewise.
1234 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1235 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1236 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
1237 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
1238 Likewise.
1239 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
1240 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
1241 elf_machine_rela, elf_machine_lazy_rel): Likewise.
1242 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
1243 elf_machine_rela, elf_machine_lazy_rel): Likewise.
1244 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
1245 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
1246 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
1247 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1248 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
1249 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
1250 elf_machine_lazy_rel): Likewise.
1251 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
1252 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
1253 elf_machine_lazy_rel): Likewise.
1254 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
1255 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
1256 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
1257 * sysdeps/unix/grantpt.c (grantpt): Likewise.
1258 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
1259 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
1260 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
1261 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1262 Likewise.
1263 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
1264 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
1265 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
1266 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
1267 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1268 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1269 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
1270 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
1271 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
1272 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1273 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1274 Likewise.
1275 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
1276 (__posix_fallocate64_l64): Likewise.
1277 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
1278 (posix_fallocate): Likewise.
1279 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
1280 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1281 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
1282 getifaddrs_internal): Likewise.
1283 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
1284 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
1285 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
1286 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1287 * sysdeps/unix/sysv/linux/posix_fallocate64.c
1288 (__posix_fallocate64_l64): Likewise.
1289 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1290 Likewise.
1291 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
1292 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1293 Likewise.
1294 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
1295 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1296 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
1297 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1298 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1299 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
1300 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
1301 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
1302 Likewise.
1303 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
1304 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
1305 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
1306 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
1307 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1308 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
1309 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
1310 Likewise.
1311 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1312 (posix_fallocate): Likewise.
1313 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1314 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
1315 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
1316 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
1317 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
1318 Likewise.
1319 * time/asctime.c (asctime_internal): Likewise.
1320 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
1321 * time/tzset.c (__tzset_parse_tz): Likewise.
1322 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1323 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1324 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
1325 * wcsmbs/wcsmbsload.h: Likewise.
1326
f3d338c9
OB
13272014-02-10 Ondřej Bílka <neleai@seznam.cz>
1328
1329 [BZ #15894]
1330 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
1331
bdfe308a
OB
13322014-02-10 Ondřej Bílka <neleai@seznam.cz>
1333
1334 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
1335 arena_get2): Remove THREAD_STATS conditionals.
1336 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
1337 __malloc_stats, int): Likewise.
1338
d674667c
MF
13392014-02-08 Mike Frysinger <vapier@gentoo.org>
1340
1341 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
1342 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
1343
6349768c
MF
13442014-02-08 Mike Frysinger <vapier@gentoo.org>
1345
1346 * manual/setjmp.texi: Fix typos/grammar errors.
1347
0b7c7473
MF
13482014-02-08 Mike Frysinger <vapier@gentoo.org>
1349
1350 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
1351 Only return early when n is <= 0. Delete unused return statement.
1352
ac8cc9e3
MF
13532014-02-08 Mike Frysinger <vapier@gentoo.org>
1354
1355 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
1356 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
1357 * debug/tst-longjmp_chk3.c: New file.
1358
c5bb8e23
MF
13592014-02-08 Mike Frysinger <vapier@gentoo.org>
1360
1361 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
1362 (test_main): Replace code with set_fortify_handler call.
1363 * debug/test-strcpy_chk.c: Likewise.
1364 * debug/tst-chk1.c: Likewise.
1365 * debug/tst-longjmp_chk.c: Likewise.
1366 * test-skeleton.c: Include fcntl.h & paths.h
1367 (set_fortify_handler): Define.
1368
10444e42
MF
13692014-02-08 Mike Frysinger <vapier@gentoo.org>
1370
1371 * debug/tst-longjmp_chk.c: Add header comment and include
1372 ../test-skeleton.c.
1373 (do_test): Mark static.
1374 (TEST_FUNCTION): Define.
1375
1e805e8d
MF
13762014-02-08 Mike Frysinger <vapier@gentoo.org>
1377
1378 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
1379 (IP_PMTUDISC_INTERFACE): Likewise.
1380 (IP_MULTICAST_IF): Likewise.
1381 (IP_MULTICAST_TTL): Likewise.
1382 (IP_MULTICAST_LOOP): Likewise.
1383 (IP_ADD_MEMBERSHIP): Likewise.
1384 (IP_DROP_MEMBERSHIP): Likewise.
1385 (IP_UNBLOCK_SOURCE): Likewise.
1386 (IP_BLOCK_SOURCE): Likewise.
1387 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
1388 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
1389 (IP_MSFILTER): Likewise.
1390 (MCAST_JOIN_GROUP): Likewise.
1391 (MCAST_BLOCK_SOURCE): Likewise.
1392 (MCAST_UNBLOCK_SOURCE): Likewise.
1393 (MCAST_LEAVE_GROUP): Likewise.
1394 (MCAST_JOIN_SOURCE_GROUP): Likewise.
1395 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1396 (MCAST_MSFILTER): Likewise.
1397 (IP_MULTICAST_ALL): Likewise.
1398 (IP_UNICAST_IF): Likewise.
1399
73f79bb7
MF
14002014-02-08 Mike Frysinger <vapier@gentoo.org>
1401
1402 * timezone/Makefile: Delete $(have-ksh) check.
1403 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
1404 * timezone/tzselect.ksh: Add +x mode bits.
1405
8da79b60
MF
14062014-02-08 Mike Frysinger <vapier@gentoo.org>
1407
1408 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
1409 (ANON_INODE_FS_MAGIC): Likewise.
1410 (BDEVFS_MAGIC): Likewise.
1411 (BINFMTFS_MAGIC): Likewise.
1412 (BTRFS_TEST_MAGIC): Likewise.
1413 (CRAMFS_MAGIC_WEND): Likewise.
1414 (DEBUGFS_MAGIC): Likewise.
1415 (ECRYPTFS_SUPER_MAGIC): Likewise.
1416 (EXT3_SUPER_MAGIC): Likewise.
1417 (EXT4_SUPER_MAGIC): Likewise.
1418 (FUTEXFS_SUPER_MAGIC): Likewise.
1419 (HOSTFS_SUPER_MAGIC): Likewise.
1420 (HUGETLBFS_MAGIC): Likewise.
1421 (MINIX3_SUPER_MAGIC): Likewise.
1422 (MTD_INODE_FS_MAGIC): Likewise.
1423 (NILFS_SUPER_MAGIC): Likewise.
1424 (OPENPROM_SUPER_MAGIC): Likewise.
1425 (PIPEFS_MAGIC): Likewise.
1426 (PSTOREFS_MAGIC): Likewise.
1427 (QNX6_SUPER_MAGIC): Likewise.
1428 (RAMFS_MAGIC): Likewise.
1429 (REISERFS_SUPER_MAGIC_STRING): Likewise.
1430 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
1431 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
1432 (SECURITYFS_MAGIC): Likewise.
1433 (SELINUX_MAGIC): Likewise.
1434 (SMACK_MAGIC): Likewise.
1435 (SOCKFS_MAGIC): Likewise.
1436 (SQUASHFS_MAGIC): Likewise.
1437 (STACK_END_MAGIC): Likewise.
1438 (TMPFS_MAGIC): Likewise.
1439 (USBDEVICE_SUPER_MAGIC): Likewise.
1440 (V9FS_MAGIC): Likewise.
1441 (XENFS_SUPER_MAGIC): Likewise.
1442 (CRAMFS_MAGIC): Fix typo in comment.
1443 (EXT2_SUPER_MAGIC): Update comment.
1444 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
1445
464263cc
JM
14462014-02-08 Joseph Myers <joseph@codesourcery.com>
1447
c6bfe5c4
JM
1448 * sysdeps/arm: Move directory from ports/sysdeps/arm.
1449 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
1450 * sysdeps/unix/sysv/linux/arm: Move directory from
1451 ports/sysdeps/unix/sysv/linux/arm.
1452 * README: Update listing for arm-*-linux-gnueabi.
1453
464263cc
JM
1454 * README: Remove mention of am33.
1455
32749f6c
RM
14562014-02-07 Roland McGrath <roland@hack.frob.com>
1457
1458 * bits/sigset.h (__sigemptyset): Use a statement expression rather
1459 than the comma operator, to avoid "rhs of comma has no effect"
1460 compiler warnings.
1461 (__sigfillset, __sigandset, __sigorset): Likewise.
1462 * include/signal.h (__sigemptyset): Likewise.
1463 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
1464
d5b396c1
AM
14652014-02-07 Allan McRae <allan@archlinux.org>
1466
1467 * version.h (RELEASE): Set to "development".
1468 (VERSION): Set to "2.19.90"
1469 * NEWS: Add 2.20 section.
1470
3bfff2ed
CD
14712014-02-06 Carlos O'Donell <carlos@redhat.com>
1472
1473 [BZ #16529]
1474 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
1475
ee7cc385
SP
14762014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1477
1478 * manual/contrib.texi: Update entry for Carlos O'Donell,
1479 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
1480
f877c4f2
CD
14812014-02-05 Carlos O'Donell <carlos@rehdat.com>
1482
27e839f6
CD
1483 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
1484
f877c4f2
CD
1485 * sysdeps/unix/sysv/linux/kernel-features.h
1486 [__LINUX_KERNEL_VERSION >= 0x020621]
1487 (__ASSUME_PROC_PID_TASK_COMM): Define.
1488
68159946
SP
14892014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1490
1491 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
1492 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
1493 Leonard and Allan McRae.
1494
2b528732
DM
14952014-02-04 David S. Miller <davem@davemloft.net>
1496
1497 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
1498 32-bit.
1499
0ff82463
AZ
15002014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1501
c01603f7
AZ
1502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
1503 file
1504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1505 New file
1506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
1507 file.
1508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
1509 file.
1510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1511 New file.
1512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
1513 file.
1514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
1515 file.
1516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1517 New file.
1518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1519 New file.
1520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1521 New file.
1522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1523 New file.
1524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1525 New file.
1526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1527 New file.
1528
15292014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1530
0ff82463
AZ
1531 * nptl/shlib-versions: Change powerpc*le start to 2.17.
1532 * shlib-versions: Likewise.
1533
1695c773
AZ
15342014-02-04 Roland McGrath <roland@hack.frob.com>
1535 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1536
1537 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
1538 (abilist-pattern): New variable, set to %-le.abilist.
1539
1540 * Makerules (abilist-pattern): New variable.
1541 (vpath): Use $(abilist-pattern) in place of %.abilist.
1542 (check-abi-% pattern rule): Likewise.
1543 (check-abi, update-abi): Likewise.
1544
6c0ce4b4
EW
15452014-02-04 Eric Wong <normalperson@yhbt.net>
1546
1547 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1548
dc98b8f5
EW
15492014-02-04 Eric Wong <normalperson@yhbt.net>
1550
1551 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1552
481e3524
CD
15532014-02-03 Carlos O'Donell <carlos@redhat.com>
1554
1555 * manual/startup.texi: Add next, previous, and top entries for
1556 the `Program Arguments' and `Environment Variables' nodes.
1557
375592d3
AO
15582014-02-03 Alexandre Oliva <aoliva@redhat.com>
1559
1560 * manual/macros.texi: Add comments before MTASC-safety macros.
1561
f54838ba
AO
1562 * manual/users.texi: Document MTASC-safety properties.
1563
909e12ad
AO
1564 * manual/threads.texi (pthread_key_create, pthread_key_delete,
1565 pthread_getspecific, pthread_setspecific): Format with
1566 @deftypefun, and add @safety note.
1567 * manual/signal.texi: Move comments that analyze the above
1568 functions to their home place.
1569
fd3daba4
AM
15702014-02-03 Allan McRae <allan@archlinux.org>
1571
1572 * po/sl.po: Update Slovenian translation from translation project.
1573
597636d7
AO
15742014-02-02 Alexandre Oliva <aoliva@redhat.com>
1575
1576 * manual/time.texi (timegm): Add missing blank after @c.
1577 Reported by Joseph Myers <joseph@codesourcery.com>.
1578
ee196e3c
AO
15792014-02-01 Alexandre Oliva <aoliva@redhat.com>
1580
1581 * manual/check-safety.sh: New.
1582 * manual/Makefile ($(objpfx)stamp-summary): Run it.
1583
f8d529d5
AO
1584 * manual/terminal.texi: Document MTASC-safety properties.
1585
de55fdf4
AO
1586 * manual/filesys.texi: Document MTASC-safety properties.
1587
c3299c08
AO
1588 * manual/errno.texi: Document MTASC-safety properties.
1589
06e90b14
AO
1590 * manual/intro.texi: Document safety identifiers and
1591 conditionals.
1592
1acd4371
AO
1593 * manual/string.texi (wcstok): Fix prototype.
1594 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
1595
23e5b8cb
AO
1596 * manual/time.texi: Document MTASC-safety properties.
1597
11087373
AO
1598 * manual/string.texi: Document MTASC-safety properties.
1599
5da2c93d
AO
1600 * manual/threads.texi: Document MTASC-safety properties.
1601
171e9210
AO
1602 * manual/stdio.texi: Document MTASC-safety properties.
1603
d9e02532
AO
1604 * manual/syslog.texi: Document MTASC-safety properties.
1605
6af8bab7
AO
1606 * manual/sysinfo.texi: Document MTASC-safety properties.
1607
663b02d7
AO
1608 * manual/startup.texi: Document MTASC-safety properties.
1609
973f180b
AO
1610 * manual/socket.texi: Document MTASC-safety properties.
1611
8f3c25c8
AO
1612 * manual/signal.texi: Document MTASC-safety properties.
1613
542210fb
AO
16142014-01-31 Alexandre Oliva <aoliva@redhat.com>
1615
1616 * manual/setjmp.texi: Document MTASC-safety properties.
1617
433c45a2
AO
1618 * manual/search.texi: Document MTASC-safety properties.
1619
c8ce789c
AO
1620 * manual/resource.texi: Document MTASC-safety properties.
1621
19f5d29c
AO
1622 * manual/process.texi: Document MTASC-safety properties.
1623
e2dfb7f4
AO
1624 * manual/platform.texi: Document MTASC-safety properties.
1625
8c1413f5
AO
1626 * manual/pipe.texi: Document MTASC-safety properties.
1627
03483ada
AO
1628 * manual/pattern.texi: Document MTASC-safety properties.
1629
29e7e2df
AO
1630 * manual/message.texi: Document MTASC-safety properties.
1631
9f529d7c
AO
1632 [BZ #12751]
1633 * manual/memory.texi: Document MTASC-safety properties.
1634
27aaa791
AO
1635 * manual/math.texi: Document MTASC-safety properties.
1636
f2d58726
AO
1637 * manual/locale.texi: Document MTASC-safety properties.
1638
2cc3615c
AO
1639 * manual/llio.texi: Document MTASC-safety properties.
1640
d9f0ec97
AO
1641 * manual/libdl.texi: New.
1642
e7c4409a
AO
1643 * manual/lang.texi: Document MTASC-safety properties.
1644
27bdc63c
AO
1645 * manual/job.texi: Document MTASC-safety properties.
1646
a7b90ea9
AO
1647 * manual/getopt.texi: Document MTASC-safety properties.
1648
c49130e3
AO
1649 * manual/ctype.texi: Document MTASC-safety properties.
1650
0d23a5c1
MR
16512014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
1652
1653 [BZ #16046]
1654 * csu/libc-tls.c (static_map): Remove variable.
1655 (__libc_setup_tls): Use main executable's link map for TLS data.
1656 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
1657 casing for LM_ID_BASE and GL(dl_nns).
1658 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
1659 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
1660 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
1661 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
1662 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
1663 member.
1664 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
1665 l_phnum members.
1666
0037bb60
AO
16672014-01-30 Alexandre Oliva <aoliva@redhat.com>
1668
1669 * manual/debug.texi: Document MTASC-safety properties.
1670
409e00bd
L
16712014-01-29 H.J. Lu <hongjiu.lu@intel.com>
1672
1673 [BZ #16510]
1674 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
1675 of __x86_64__ when disabling x87 inline functions.
1676
86e60666
AO
16772014-01-29 Alexandre Oliva <aoliva@redhat.com>
1678
1679 * manual/charset.texi: Document MTASC-safety properties.
1680
76167637
AO
1681 * manual/crypt.texi: Document MTASC-safety properties.
1682
e567f2a0
AO
1683 * manual/conf.texi: Document MTASC-safety properties.
1684
b719dafd
AO
1685 * manual/arith.texi: Document MTASC-safety properties.
1686
4a16c662
AO
1687 * manual/argp.texi: Document MTASC-safety properties.
1688
0a57b83e
AO
1689 * manual/macros.texi: Introduce macros to document multi
1690 thread, asynchronous signal and asynchronous cancellation
1691 safety properties.
1692 * manual/intro.texi: Introduce the properties themselves.
1693
feab2397
KK
16942014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1695
1696 * sysdeps/sh/sh4/Makefile: New file.
1697
1c0d11bc
AS
16982014-01-27 Andreas Schwab <schwab@linux-m68k.org>
1699
1700 * math/gen-libm-test.pl ($srcdir): New variable.
1701 ($auto_input): Use it.
1702
af37a8a3
SP
17032014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1704
d7b00f98
SP
1705 [BZ #16506]
1706 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
1707 access beyond array bounds when parsing netgroups file.
1708
af37a8a3
SP
1709 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
1710 the old buffer before realloc.
1711
0c00f062
AM
17122014-01-27 Allan McRae <allan@archlinux.org>
1713
1714 * po/fr.po: Update French translation from translation project.
1715
7d69a1b0
KK
17162014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1717
1718 * sysdeps/sh/libm-test-ulps: Regenerate.
1719
6e697ff7
DM
17202014-01-24 David S. Miller <davem@davemloft.net>
1721
1722 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
1723
9cadb35c
KK
17242014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1725
1726 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
1727 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
1728
5d41dadf
SP
17292013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1730
1731 [BZ #16474]
1732 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
1733 string pointers after reallocation.
1734
0bad441c
KK
17352014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1736
1737 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
1738 __SH4A__ instead of __SH_FPU_ANY__.
1739
7007c661
KK
17402014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1741
1742 * sysdeps/sh/fpu_control.h: New file.
1743 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
1744 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
1745 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
1746 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
1747 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
1748 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
1749 * sysdeps/sh/sys/ucontext.h: Remove.
1750 * sysdeps/sh/sys: Remove directory.
1751
0f0c35e4
AK
17522014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1753
1754 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
1755 s390/sys/ucontext.h.
1756 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1757 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
1758
4959e284
L
17592014-01-20 H.J. Lu <hongjiu.lu@intel.com>
1760
1761 [BZ #15605]
1762 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
1763
d98720e0
AZ
17642014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1765
1766 [BZ#16431]
1767 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1768 Adjust the vDSO correctly for internal calls.
1769 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
1770
91cbd0bc
AM
17712014-01-20 Allan McRae <allan@archlinux.org>
1772
1773 * po/ca.po: Update Catalan translation from translation project.
1774
7a02cfad
MF
17752014-01-16 Mike Frysinger <vapier@gentoo.org>
1776
1777 * sysdeps/s390/sotruss-lib.c: New file.
1778
736c304a
AZ
17792014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1780
1781 [BZ#16430]
6e077ee5 1782 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
1783 (__GI___gettimeofday): Alias for a different internal symbol to avoid
1784 local calls issues by not having a PLT stub required for IFUNC calls.
1785 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
1786
94d0cea0
JM
17872014-01-16 Joseph Myers <joseph@codesourcery.com>
1788
1789 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
1790 * math/test-fpucw-static.c: Likewise.
1791
980cb518
SP
17922013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1793
1794 [BZ #16453]
1795 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
1796
2393fc01
AZ
17972014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1798
1799 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
1800 implementation for powerpc.
1801
d359bcc2
OB
18022014-01-15 Ondřej Bílka <neleai@seznam.cz>
1803
1804 [BZ #14782]
1805 * sysdeps/posix/system.c (__libc_system): Do not enable
1806 asynchronous cancellation.
1807
7beb48cb
AK
18082014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1809
1810 [BZ #16427]
1811 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
1812 handling only for numbers special also in the IEEE case.
1813
c20d5bf5
AK
18142014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1815
1816 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1817
e83bd4ee
AM
18182014-01-11 Allan McRae <allan@archlinux.org>
1819
76d0ea69
AM
1820 * po/bg.po: Update Bulgarian translation from translation project.
1821
e83bd4ee
AM
1822 * po/de.po: Update German translation from translation project.
1823
bc2ba20a
RM
18242014-01-10 Roland McGrath <roland@hack.frob.com>
1825
1826 * sysdeps/generic/gcc-compat.h: New file.
1827
649ecea2
SP
18282014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1829
1830 * benchtests/asin-inputs: Correct slow inputs.
1831 * benchtests/acos-inputs: Likewise.
1832
1b19c006
AM
18332014-01-10 Allan McRae <allan@archlinux.org>
1834
a46dab08
AM
1835 * po:sv.po: Update Swedish translation from translation project.
1836
421df74a
AM
1837 * po/vi.po: Update Vietnamese translation from translation project.
1838
d61c51a7
AM
1839 * po/eo.po: Update Esperanto translation from translation project.
1840
0339a319
AM
1841 * po/cs.po: Update Czech translation from translation project.
1842
94ad3e99
AM
1843 * po/nl.po: Update Dutch translation from translation project.
1844
e349ca71
AM
1845 * po/pl.po: Update Polish translation from translation project.
1846
ddf930c1
AM
1847 * po/ru.po: Update Russian translation from translation project.
1848
1b19c006
AM
1849 * po/uk.po: Update Ukrainian translation from translation project.
1850
9f236c49
BM
18512014-01-08 Brooks Moses <bmoses@google.com>
1852
1853 * elf/dl-load.c: Fix comment typo.
1854
cd6701cf
CD
18552014-01-08 Carlos O'Donell <carlos@redhat.com>
1856
1857 * po/header.pot: Rename to...
1858 * po/pot.header: ... this.
1859 * po/Makefile: Use pot.header.
1860
66671c84
YK
18612014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
1862 Maxim Kuvyrkov <maxim@kugelworks.com>
1863
1864 [BZ #16394]
cd6701cf
CD
1865 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
1866 SRC and DEST against LEN.
66671c84 1867
38f34581
AZ
18682014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1869
1870 [BZ #16414]
1871 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
1872 implementation.
1873 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
1874
18752014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
1876
1877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1878
4c327f2a
JM
18792014-01-08 Joseph Myers <joseph@codesourcery.com>
1880
1881 [BZ #16408]
1882 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
1883 for large positive arguments.
1884
b821f414
JM
18852014-01-07 Joseph Myers <joseph@codesourcery.com>
1886
1f0f2067
JM
1887 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1888
a5a326f6
JM
1889 * math/auto-libm-test-in: Mark various tests with
1890 xfail-rounding:ldbl-128ibm.
1891 * math/auto-libm-test-out: Regenerated.
1892
b821f414
JM
1893 [BZ #16407]
1894 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1895 Increase overflow threshold.
1896
94c8a4bc
OB
18972014-01-07 Ondřej Bílka <neleai@seznam.cz>
1898
1899 [BZ #14286]
1900 * stdio-common/vfprintf.c: Check for integer overflow.
1901
87ded0c3
AK
19022014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1903
1904 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
1905 the first argument and return value of __tls_get_addr_internal.
1906
c5eebdd0
AK
19072014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1908
1909 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
1910 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
1911
05d138ef
AK
19122014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1913
1914 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
1915 * sysdeps/s390/rtld-global-offsets.sym: New file.
1916 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
1917 GLIBC_2.19 symbol.
1918 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
1919 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
1920 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1921 ... this.
1922 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
1923 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1924 ... this.
1925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1926 Regenerate.
1927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1928 Regenerate.
1929 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
1930 halfs of GPRs for high_gprs contexts.
1931 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
1932 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
1933 field.
1934 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
1935 uc_flags field.
1936 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
1937 64 bit versions:
1938 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
1939 for high GPRs (uc_high_gprs) and for future extensions
1940 (__reserved).
1941 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
1942 for future extensions (__reserved).
1943 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
1944 64 bit versions:
1945 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
1946 SC_HIGHGPRS offset definition.
1947 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
1948 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
1949
93a45ff1
AK
19502014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1951
1952 * Versions.def: Add GLIBC_2.19 for libpthread.
1953 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
1954 siglongjmp for libpthread with GLIBC_2.19 symver.
1955 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
1956 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
1957 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
1958 * sysdeps/s390/__longjmp.c: New file.
1959 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
1960 * sysdeps/s390/longjmp.c: New file.
1961 * sysdeps/s390/setjmp.S: New file.
1962 * sysdeps/s390/sigjmp.S: New file.
1963 * sysdeps/s390/v1-longjmp.c: New file.
1964 * sysdeps/s390/v1-setjmp.h: New file.
1965 * sysdeps/s390/v1-sigjmp.c: New file.
1966 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
1967 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
1968 GLIBC_2.19 version.
1969 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
1970 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
1971 versioned symbols for ____longjmp_chk.
1972 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1973 Likewise.
1974 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1975 Regenerate.
1976 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1977 Regenerate.
1978 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1979 Regenerate.
1980 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1981 Regenerate.
1982 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
1983 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
1984 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
1985 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
1986 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
1987 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
1988 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
1989 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
1990 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
1991 * sysdeps/s390/rtld-__longjmp.c: New file.
1992 * sysdeps/s390/rtld-setjmp.S: New file.
1993
eb3fc44b
JM
19942014-01-06 Joseph Myers <joseph@codesourcery.com>
1995
1996 [BZ #16400]
1997 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1998 Return -__logl (x) for small positive arguments without evaluating
1999 a polynomial.
2000
9341dde4
MF
20012014-01-06 Mike Frysinger <vapier@gentoo.org>
2002
2003 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
2004 Rename to ...
2005 (__ptrace_peeksiginfo_args): ... this.
2006 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2007 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2008 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2009
4cff0293
AM
20102014-01-06 Allan McRae <allan@archlinux.org>
2011
2012 * inet/netinet/in.h: Fix typo in comment.
2013
75595dcf
AJ
20142014-01-05 Andreas Jaeger <aj@suse.de>
2015
2016 * sysdeps/i386/fpu/libm-test-ulps: Update.
2017
79c1e109
AM
20182014-01-05 Allan McRae <allan@archlinux.org>
2019
dd804818
AM
2020 * po/libc.pot: Regenerated.
2021
79c1e109
AM
2022 * malloc/memusagestat.c: Fix gettext call formatting.
2023
0c813d1f
SK
20242014-01-04 Sami Kerola <kerolasa@iki.fi>
2025
2026 * nscd/nscd.c: Improve usage() output.
2027
20f4a8d9
MF
20282014-01-04 Mike Frysinger <vapier@gentoo.org>
2029
2030 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
2031 * sysdeps/unix/sysv/linux/configure: Regenerated.
2032 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
2033 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
2034
22562bb2
JM
20352014-01-03 Joseph Myers <joseph@codesourcery.com>
2036
2037 [BZ #16390]
2038 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2039 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
2040
d7ad2d9b
AZ
20412014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2042
2043 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
2044 extra tokens at end of #undef directive.
2045 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
2046 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
2047 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2048
7dd009d8
JM
20492014-01-03 Joseph Myers <joseph@codesourcery.com>
2050
24db925a
JM
2051 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2052
7dd009d8
JM
2053 * math/auto-libm-test-in: Mark various tests with
2054 xfail-rounding:ldbl-128ibm.
2055 * math/auto-libm-test-out: Regenerated.
2056
396e3ecf
JM
20572014-01-02 Joseph Myers <joseph@codesourcery.com>
2058
819e5d50
JM
2059 [BZ #16386]
2060 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
2061 numbers with subnormal high part when calculating exponent.
2062
90b6a1e5
JM
2063 [BZ #16385]
2064 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
2065 fabs.
2066
396e3ecf
JM
2067 [BZ #16384]
2068 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
2069 M_LN2l.
2070 (__ieee754_acoshl): Use __log1pl not __log1p.
2071
6c8dbf00
OB
20722013-01-02 Ondřej Bílka <neleai@seznam.cz>
2073
2074 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
2075 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
2076 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
2077 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
2078 Convert to GNU style.
2079 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
2080 mem2mem_check, mem2chunk_check, top_check, realloc_check,
2081 memalign_check, __malloc_set_state): Likewise.
2082 * malloc/mallocbug.c (main): Likewise.
2083 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
2084 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
2085 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
2086 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
2087 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
2088 * malloc/malloc.h: Likewise.
2089 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
2090 memalignhook, reallochook, mabort): Likewise.
2091 * malloc/mcheck.h: Likewise.
2092 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
2093 mmap64, mremap, munmap, dest): Likewise.
2094 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
2095 * malloc/morecore.c (__default_morecore): Likewise.
2096 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
2097 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
2098 _obstack_allocated_p, obstack_free, _obstack_memory_used,
2099 print_and_abort): Likewise.
2100 * malloc/obstack.h: Likewise.
2101 * malloc/set-freeres.c (__libc_freeres): Likewise.
2102 * malloc/tst-mallocstate.c (main): Likewise.
2103 * malloc/tst-mtrace.c (main): Likewise.
2104 * malloc/tst-realloc.c (do_test): Likewise.
2105
d4124212
SP
21062013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2107
9a3c6a6f
SP
2108 [BZ #16366]
2109 * nscd/netgroupcache.c (do_notfound): New function.
2110 (addgetnetgrentX): Use it.
2111
d4124212
SP
2112 [BZ # 16365]
2113 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
2114 NSS_STATUS_NOTFOUND.
2115
97b9a009
JM
21162014-01-01 Joseph Myers <joseph@codesourcery.com>
2117
2118 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2120
d4697bc9
AM
21212014-01-01 Allan McRae <allan@archlinux.org>
2122
ddb3687f
AM
2123 * scripts/update-copyrights: Update configure input file suffix.
2124
88726d48
AM
2125 * NEWS: Update copyright year.
2126 * catgets/gencat.c: Likewise.
2127 * csu/version.c: Likewise.
2128 * debug/catchsegv.sh: Likewise.
2129 * debug/pcprofiledump.c: Likewise.
2130 * debug/xtrace.sh: Likewise.
2131 * elf/ldconfig.c: Likewise.
2132 * elf/ldd.bash.in: Likewise.
2133 * elf/pldd.c: Likewise.
2134 * elf/sotruss.ksh: Likewise.
2135 * elf/sprof.c: Likewise.
2136 * iconv/iconv_prog.c: Likewise.
2137 * iconv/iconvconfig.c: Likewise.
2138 * locale/programs/locale.c: Likewise.
2139 * locale/programs/localedef.c: Likewise.
2140 * login/programs/pt_chown.c: Likewise.
2141 * malloc/memusage.sh: Likewise.
2142 * malloc/memusagestat.c: Likewise.
2143 * malloc/mtrace.pl: Likewise.
2144 * manual/libc.texinfo: Likewise.
2145 * nscd/nscd.c: Likewise.
2146 * nss/getent.c: Likewise.
2147 * nss/makedb.c: Likewise.
2148 * posix/getconf.c: Likewise.
2149 * scripts/test-installation.pl: Likewise.
2150
d4697bc9
AM
2151 * All files with FSF copyright notices: Update copyright dates
2152 using scripts/update-copyrights.
2153 * intl/plural.c: Regenerated.
2154 * locale/programs/charmap-kw.h: Likewise.
2155 * locale/programs/locfile-kw.h: Likewise.
2156
c8590f9d
MF
21572013-12-31 Mike Frysinger <vapier@gentoo.org>
2158
2159 * sysdeps/unix/sysv/linux/configure: Regenerated.
2160 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
2161 the linux/fanotify.h header.
2162 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
2163 HAVE_LINUX_FANOTIFY_H is defined.
2164
b19221b9
SP
21652013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2166
dd1d85e5
SP
2167 * benchtests/cos-inputs: New inputs.
2168 * benchtests/sin-inputs: Likewise.
2169
1acbb90f
SP
2170 * benchtests/atan-inputs: New inputs. Fix name of multiple
2171 precision fallback inputs.
2172
4c012ed3
SP
2173 * benchtests/atanh-inputs: New inputs.
2174 * benchtests/tanh-inputs: Likewise.
2175
eff98324
SP
2176 * benchtests/acosh-inputs: New inputs.
2177 * benchtests/asinh-inputs: Likewise.
2178
ce641152
SP
2179 * benchtests/cosh-inputs: New inputs.
2180 * benchtests/sinh-inputs: Likewise.
2181
b19221b9
SP
2182 * benchtests/acos-inputs: Add more inputs.
2183 * benchtests/asin-inputs: Likewise.
2184
030a4976 21852013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 2186
030a4976 2187 [BZ #16375]
9dcc8f11
VS
2188 * manual/arith.texi: Fix spelling.
2189 * manual/charset.texi: Likewise.
2190 * manual/errno.texi: Likewise.
2191 * manual/filesys.texi: Likewise.
2192 * manual/lang.texi: Likewise.
2193 * manual/llio.texi: Likewise.
2194 * manual/locale.texi: Likewise.
2195 * manual/message.texi: Likewise.
2196 * manual/resource.texi: Likewise.
2197 * manual/search.texi: Likewise.
2198 * manual/setjmp.texi: Likewise.
2199 * manual/stdio.texi: Likewise.
2200 * manual/string.texi: Likewise.
2201 * manual/sysinfo.texi: Likewise.
2202 * manual/time.texi: Likewise.
2203
11520a57
CD
22042013-12-27 Carlos O'Donell <carlos@redhat.com>
2205
2206 * po/sl.po: New file.
2207
471103ae
MF
22082013-12-27 Mike Frysinger <vapier@gentoo.org>
2209
2210 * .gitignore: Add core/.gdbinit/.gdb_history.
2211
6c9642ed
AM
22122013-12-27 Allan McRae <allan@archlinux.org>
2213
2214 [BZ #16369]
2215 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
2216 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
2217
3f637079
BM
22182013-12-24 Brooks Moses <bmoses@google.com>
2219
2220 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
2221 all compilers that claim C++98 compliance, not just GCC.
2222 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
2223 Likewise.
2224
abc26e99
MK
22252013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
2226
2227 * NEWS: Restore accidentally deleted bug-fix entries.
2228
362b47fe
MK
22292013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
2230 Ondřej Bílka <neleai@seznam.cz>
2231
2232 [BZ #15073]
2233 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 2234 have_lock.
362b47fe 2235
b9bcbbcb
OB
22362013-12-23 Ondřej Bílka <neleai@seznam.cz>
2237
2238 [BZ #12986]
2239 * manual/stdio.texi (String Input Conversions): Clarify that character
2240 classes are not supported.
2241
fb55fcd2
AZ
22422013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2243
2244 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2245
ef7344f0
JM
22462013-12-22 Joseph Myers <joseph@codesourcery.com>
2247
4f40e4b3
JM
2248 [BZ #16337]
2249 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2250 Calculate results for small negative arguments directly rather
2251 than using reflection formula with special underflow handling.
2252
ef7344f0
JM
2253 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
2254 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
2255 sysdeps/unix/bsd/bsd4.4/syscalls.list.
2256 (fchflags): Likewise.
2257 (revoke): Likewise.
2258 (setlogin): Likewise.
2259 (sigaltstack): Likewise.
2260 (wait4): Likewise.
2261 (sigblock): Remove.
2262 (sigsetmask): Likewise.
2263 (wait3): Likewise.
2264 (waitpid): Likewise.
2265 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
2266 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
2267 file.
2268 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
2269 * sysdeps/unix/bsd/Makefile: ... here.
2270 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
2271 * sysdeps/unix/bsd/Versions: ... here.
2272 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
2273 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
2274 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
2275 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
2276 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
2277 * sysdeps/unix/bsd/sigblock.c: ... here.
2278 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
2279 * sysdeps/unix/bsd/sigsetmask.c: ... here.
2280 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
2281 * sysdeps/unix/bsd/sigvec.c: ... here.
2282 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
2283 * sysdeps/unix/bsd/tcdrain.c: ... here.
2284 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
2285 * sysdeps/unix/bsd/tcgetattr.c: ... here.
2286 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
2287 * sysdeps/unix/bsd/tcsetattr.c: ... here.
2288 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
2289 * sysdeps/unix/bsd/wait.c: ... here.
2290 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
2291 * sysdeps/unix/bsd/wait3.c: ... here.
2292 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
2293 * sysdeps/unix/bsd/waitpid.c: ... here.
2294
5b0626b9
JM
22952013-12-21 Joseph Myers <joseph@codesourcery.com>
2296
2297 [BZ #16356]
2298 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
2299 round-to-nearest for [!USE_AS_EXPM1L].
2300 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
2301 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
2302 more tests of exp and exp10. Expect some exp10 tests to miss
2303 exceptions or fail in directed rounding modes.
2304 * math/auto-libm-test-out: Regenerated.
2305 * math/libm-test.inc (exp10_tonearest_test_data): New array.
2306 (exp10_test_tonearest): New function.
2307 (exp10_towardzero_test_data): New array.
2308 (exp10_test_towardzero): New function.
2309 (exp10_downward_test_data): New array.
2310 (exp10_test_downward): New function.
2311 (exp10_upward_test_data): New array.
2312 (exp10_test_upward): New function.
2313 (main): Call the new functions.
2314 * sysdeps/i386/fpu/libm-test-ulps: Update.
2315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2316
7fda5682
JM
23172013-12-20 Joseph Myers <joseph@codesourcery.com>
2318
31e3a405
JM
2319 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2320 asinh, atan, atan2, atanh, cbrt, cos and cosh.
2321 * math/auto-libm-test-out: Regenerated.
2322 * math/libm-test.inc (acosh_test_data): Add more tests.
2323 (atanh_test_data): Likewise.
2324 (ceil_test_data): Likewise.
2325 (copysign_test_data): Likewise.
2326 * sysdeps/i386/fpu/libm-test-ulps: Update.
2327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2328
85bff96a
JM
2329 * timezone/checktab.awk: Update from tzcode 2013i.
2330 * timezone/private.h: Likewise.
2331 * timezone/scheck.c: Likewise.
2332 * timezone/tzfile.h: Likewise.
2333 * timezone/tzselect.ksh: Likewise.
2334 * timezone/zdump.c: Likewise.
2335 * timezone/zic.c: Likewise.
2336
b7867a3b
JM
2337 * math/auto-libm-test-in: Add tests of cpow.
2338 * math/auto-libm-test-out: Regenerated.
2339 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
2340 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
2341 mpc_cc_c.
2342 (func_calc_desc): Add mpc_cc_c union field.
2343 (test_functions): Add cpow.
2344 (special_fill_2pi): New function.
2345 (special_real_inputs): Add 2pi.
2346 (calc_generic_results): Handle mpc_cc_c.
2347 * sysdeps/i386/fpu/libm-test-ulps: Update.
2348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2349
7fda5682
JM
2350 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
2351 csqrt, ctan and ctanh.
2352 * math/auto-libm-test-out: Regenerated.
2353 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2354 (TEST_COND_x86): Likewise.
2355 (ccos_test_data): Use AUTO_TESTS_c_c.
2356 (ccosh_test_data): Likewise.
2357 (cexp_test_data): Likewise.
2358 (clog_test_data): Likewise.
2359 (csqrt_test_data): Likewise.
2360 (ctan_test_data): Likewise.
2361 (ctan_tonearest_test_data): Likewise.
2362 (ctan_towardzero_test_data): Likewise.
2363 (ctan_downward_test_data): Likewise.
2364 (ctan_upward_test_data): Likewise.
2365 (ctanh_test_data): Likewise.
2366 (ctanh_tonearest_test_data): Likewise.
2367 (ctanh_towardzero_test_data): Likewise.
2368 (ctanh_downward_test_data): Likewise.
2369 (ctanh_upward_test_data): Likewise.
2370 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2371 mpc_c_c.
2372 (func_calc_desc): Add mpc_c_c union field.
2373 (FUNC_mpc_c_c): New macro.
2374 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
2375 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
2376 ctanh.
2377 (special_fill_min_subnorm_p120): New function.
2378 (special_real_inputs): Add min_subnorm_p120.
2379 (calc_generic_results): Handle mpc_c_c.
2380 * sysdeps/i386/fpu/libm-test-ulps: Update.
2381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2382
5ff8d60e
SP
23832013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2384
392dd2de
SP
2385 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
2386 do_sin_slow): New functions.
2387 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
2388 cslow2, csloww1, csloww2): Use the new functions.
2389
84ba214c
SP
2390 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
2391 Use M to change sign of result instead of X. Assume X is
2392 positive.
2393 (csloww1): Likewise.
2394 (__sin): Adjust.
2395 (__cos): Adjust.
2396
975195e4
SP
2397 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
2398 arguments A and DA.
2399 (__sin): Adjust.
2400 (__cos): Likewise.
2401
5ff8d60e
SP
2402 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
2403 (__cos): Likewise.
2404 (sloww1): Don't adjust sign of DX.
2405 (csloww1): Likewise.
2406 (sloww2): Use X directly and don't adjust sign of DX.
2407 (csloww2): Likewise.
2408
eb983568
JM
24092013-12-19 Joseph Myers <joseph@codesourcery.com>
2410
64a17f1a
JM
2411 * math/auto-libm-test-in: Add tests of cabs and carg.
2412 * math/auto-libm-test-out: Regenerated.
2413 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
2414 (carg_test_data): Likewise.
2415 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2416 mpc_c_f.
2417 (func_calc_desc): Add mpc_c_f union field.
2418 (test_functions): Add cabs and carg.
2419 (calc_generic_results): Handle mpc_c_f.
2420
eb983568
JM
2421 * sysdeps/powerpc/powerpc32/libgcc-compat.S
2422 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
2423 as a macro and a compat symbol.
2424 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2425 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2426 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2427 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2428 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
2429 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
2430 not use .hidden.
2431 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
2432 Likewise.
2433 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
2434 Likewise.
2435 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
2436 Likewise.
2437 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
2438 Likewise.
2439 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
2440 Likewise.
2441 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
2442 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
2443 from GLIBC_2.3.2.
2444
6eeb678a
AZ
24452013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2446
2447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2448
6f6fc482
JM
24492013-12-19 Joseph Myers <joseph@codesourcery.com>
2450
21fea2e2
JM
2451 * manual/texinfo.tex: Update to version 2013-11-26.10 with
2452 trailing whitespace removed.
2453 * scripts/config.guess: Update to version 2013-11-29.
2454 * scripts/config.sub: Update to version 2013-10-01.
2455
6f6fc482
JM
2456 * math/auto-libm-test-in: Add tests of sincos.
2457 * math/auto-libm-test-out: Regenerated.
2458 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
2459 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2460 mpfr_f_11.
2461 (func_calc_desc): Add mpfr_f_11 union field.
2462 (test_functions): Add sincos.
2463 (calc_generic_results): Handle mpfr_f_11.
2464 * sysdeps/i386/fpu/libm-test-ulps: Update.
2465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2466
83f5c32d
AS
24672013-12-19 Andreas Schwab <schwab@suse.de>
2468
2469 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
2470 CALL_MCOUNT.
2471 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2472 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
2473 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
2474
c688b419
JM
24752013-12-19 Joseph Myers <joseph@codesourcery.com>
2476
335ee092
JM
2477 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
2478 * sysdeps/i386/fpu/libm-test-ulps: Update.
2479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2480
f88acd39
JM
2481 [BZ #16293]
2482 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
2483 round-to-nearest mode when using frndint.
2484 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
2485 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2486 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2487 Likewise.
2488 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
2489 sinh test to fail.
2490 * math/auto-libm-test-out: Regenerated.
2491 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
2492 (TEST_COND_x86): Likewise.
2493 (expm1_tonearest_test_data): New array.
2494 (expm1_test_tonearest): New function.
2495 (expm1_towardzero_test_data): New array.
2496 (expm1_test_towardzero): New function.
2497 (expm1_downward_test_data): New array.
2498 (expm1_test_downward): New function.
2499 (expm1_upward_test_data): New array.
2500 (expm1_test_upward): New function.
2501 (main): Run the new test functions.
2502 * sysdeps/i386/fpu/libm-test-ulps: Update.
2503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2504
c688b419
JM
2505 * include/features.h: Update comment documenting feature test
2506 macros. Mention _DEFAULT_SOURCE in comment.
2507 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
2508 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
2509 _BSD_SOURCE and _SVID_SOURCE.
2510 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
2511 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
2512 !_SVID_SOURCE]: Likewise.
2513 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2514 (__USE_POSIX_IMPLICITLY): Define.
2515 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2516 (_POSIX_SOURCE): Undefine and redefine.
2517 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2518 (_POSIX_C_SOURCE): Likewise.
2519 * manual/creature.texi (_DEFAULT_SOURCE): Document.
2520 (Feature Test Macros): Update documentation of default features.
2521
9f6e964c
RS
25222013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2523
2524 * benchtests/Makefile: Add bench-strtok.
2525 * benchtests/bench-strtok.c: New file: strtok benchtest.
2526
ee0a148a
AM
25272013-12-19 Allan McRae <allan@archlinux.org>
2528
2529 * manual/install.texi: Suppress menu for plain text output.
2530 * INSTALL: Regenerated.
2531
b9ab448f
BM
25322013-12-18 Brooks Moses <bmoses@google.com>
2533
2534 [BZ #15846]
2535 * misc/getauxval.c: Include errno.h.
2536 (__getauxval): Set errno to ENOENT if the requested type is not
2537 found.
2538 * misc/sys/auxv.h (getauxval): Document that it may set errno;
2539 don't declare with __attribute_const__.
2540 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
2541 * manual/startup.texi: Document that getauxval sets errno.
2542
23776487
JM
25432013-12-18 Joseph Myers <joseph@codesourcery.com>
2544
f889953b
JM
2545 * math/auto-libm-test-in: Add tests of jn and yn.
2546 * math/auto-libm-test-out: Regenerated.
2547 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
2548 (yn_test_data): Likewise.
2549 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2550 mpfr_if_f.
2551 (func_calc_desc): Add mpfr_if_f union field.
2552 (FUNC_mpfr_if_f): New macro.
2553 (test_functions): Add jn and yn.
2554 (calc_generic_results): Assert type of second input for
2555 mpfr_ff_f. Handle mpfr_if_f.
2556 (output_for_one_input_case): Disable all checking for arguments
2557 fitting floating-point types in case of an integer argument.
2558 * sysdeps/i386/fpu/libm-test-ulps: Update.
2559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2560
23776487
JM
2561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2562 Don't expect fegetround reference in libm.so.
2563
cb756c6d
MS
25642013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2565
2566 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
2567 $(config-cflags-nofma).
2568
2dec468f
JM
25692013-12-18 Joseph Myers <joseph@codesourcery.com>
2570
5953eb3a
JM
2571 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
2572 * math/auto-libm-test-out: Regenerated.
2573
2dec468f
JM
2574 [BZ #16338]
2575 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
2576 to determine exponent and adjust argument to have exponent of -1.
2577 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
2578 log2.
2579 * math/auto-libm-test-out: Regenerated.
2580 * sysdeps/i386/fpu/libm-test-ulps: Update.
2581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2582
4d84e6ad
OB
25832013-12-18 Ondřej Bílka <neleai@seznam.cz>
2584
2585 * manual/probes.texi: Remove cases when per-thread arenas are
2586 disabled.
2587
1818483b
AS
25882013-12-18 Andreas Schwab <schwab@suse.de>
2589
2590 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
2591 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
2592 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
2593 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
2594 * sysdeps/i386/i686/multiarch/Makefile: Update.
2595 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
2596
25de95bf
JM
25972013-12-17 Joseph Myers <joseph@codesourcery.com>
2598
2599 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
2600 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
2601
674762d9
PE
26022013-12-17 Paul Eggert <eggert@cs.ucla.edu>
2603
ed27ed83 2604 [BZ #15968]
0748546f
PE
2605 Support TZ transition times < 00:00:00.
2606 This is needed for version-3 tz-format files; it supports time
2607 stamps past 2037 for America/Godthab (the only entry in the tz
2608 database for which this change is relevant).
2609 * manual/time.texi (TZ Variable): Document transition times
2610 from -167:59:59 through -00:00:01.
2611 * time/tzset.c (tz_rule): Time of day is now signed.
2612 (__tzset_parse_tz): Parse negative time of day.
2613
4480e934
PE
2614 Document TZ transition times >= 25:00:00.
2615 * manual/time.texi (TZ Variable): Document transition times from
2616 25:00:00 through 167:59:59. These are already supported, and this
2617 support will help with version-3 tz-format files.
2618
69947401
PE
2619 * manual/time.texi (TZ Variable): Modernize North America example
2620 to reflect current (i.e., 2007-and-later) daylight saving rules.
2621
674762d9
PE
2622 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
2623
7011c262
JM
26242013-12-17 Joseph Myers <joseph@codesourcery.com>
2625
2fc6557e
JM
2626 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
2627 * sysdeps/unix/bsd/bits/stat.h: Likewise.
2628 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
2629 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2630 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
2631 * sysdeps/unix/bsd/bsdstat.h: Likewise.
2632 * sysdeps/unix/bsd/clock.c: Likewise.
2633 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
2634 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
2635 * sysdeps/unix/bsd/init-posix.c: Likewise.
2636 * sysdeps/unix/bsd/poll.c: Likewise.
2637 * sysdeps/unix/bsd/ptsname.c: Likewise.
2638 * sysdeps/unix/bsd/seekdir.c: Likewise.
2639 * sysdeps/unix/bsd/setegid.c: Likewise.
2640 * sysdeps/unix/bsd/seteuid.c: Likewise.
2641 * sysdeps/unix/bsd/setgid.c: Likewise.
2642 * sysdeps/unix/bsd/setrgid.c: Likewise.
2643 * sysdeps/unix/bsd/setruid.c: Likewise.
2644 * sysdeps/unix/bsd/setsid.c: Likewise.
2645 * sysdeps/unix/bsd/setuid.c: Likewise.
2646 * sysdeps/unix/bsd/sigaction.c: Likewise.
2647 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
2648 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
2649 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
2650 * sysdeps/unix/bsd/telldir.c: Likewise.
2651 * sysdeps/unix/bsd/times.c: Likewise.
2652 * sysdeps/unix/bsd/usleep.c: Likewise.
2653
029c7b25
JM
2654 * misc/Makefile (install-lib): Remove libbsd-compat.a.
2655 ($(objpfx)libbsd-compat.a): Remove rule.
2656
7011c262
JM
2657 * include/features.h (__FAVOR_BSD): Do not define.
2658 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
2659 features conflicting with POSIX.
2660 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
2661 (_BSD_SOURCE): Remove description of not being a subset of other
2662 feature test macros.
2663 * manual/job.texi (getpgrp): Do not document BSD version.
2664 (getpgid): Do not document by reference to BSD getpgrp.
2665 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
2666 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
2667 * signal/signal.h [__FAVOR_BSD]: Likewise.
2668 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
2669 instead of making contents conditional on [__FAVOR_BSD].
2670 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
2671
affb6f78
AZ
26722013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2673
2674 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2675
c88769dd
JM
26762013-12-17 Joseph Myers <joseph@codesourcery.com>
2677
6432a540
JM
2678 [BZ #16314]
2679 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
2680 values below 2**-450, not 2**-500.
2681 * math/auto-libm-test-in: Don't allow spurious underflow from
2682 hypot.
2683 * math/auto-libm-test-out: Regenerated.
2684
c88769dd
JM
2685 [BZ #16316]
2686 [BZ #16330]
2687 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
2688 values of ha and hb and sort them after adjusting subnormal
2689 arguments.
2690 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2691 Likewise.
2692 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
2693 values of ea and eb and sort them after adjusting subnormal
2694 arguments.
2695 * math/auto-libm-test-in: Do not expect some hypot tests of
2696 subnormals to fail. Add more hypot tests.
2697 * math/auto-libm-test-out: Regenerated.
2698
29618f6b
KK
26992013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2700
2701 [BZ #13304]
2702 * sysdeps/sh/s_fma.c: New file.
2703 * sysdeps/sh/s_fmaf.c: New file.
2704 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
2705 version.
2706 * sysdeps/sh/Implies: Add sh/soft-fp.
2707
eacfdfbf
RM
27082013-12-16 Roland McGrath <roland@hack.frob.com>
2709
2710 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
2711 level of indirection to members `objname', `errstring', `malloced'.
2712 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
2713 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
2714 it as the __longjmp argument (just pass 1 instead).
2715 (_dl_catch_error): Initialize C with argument pointers and address of
2716 volatile local ERRCODE rather than copying values out of C at return.
2717
ff362e5b
JM
27182013-12-16 Joseph Myers <joseph@codesourcery.com>
2719
2720 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
2721 * math/auto-libm-test-out: Regenerated.
2722 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
2723 (hypot_test_data): Likewise.
2724 (pow_test_data): Likewise.
2725 (pow_tonearest_test_data): Likewise.
2726 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2727 mpfr_ff_f.
2728 (func_calc_desc): Add mpfr_ff_f union field.
2729 (FUNC_mpfr_ff_f): New macro.
2730 (test_functions): Add atan2, hypot and pow.
2731 (special_fill_min): New function.
2732 (special_fill_minus_min): Likewise.
2733 (special_fill_min_subnorm): Likewise.
2734 (special_fill_minus_min_subnorm): Likewise.
2735 (special_real_inputs): Add min, -min, min_subnorm and
2736 -min_subnorm.
2737 (calc_generic_results): Handle mpfr_ff_f.
2738 * sysdeps/i386/fpu/libm-test-ulps: Update.
2739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2740
5764c27f
WN
27412013-12-16 Will Newton <will.newton@linaro.org>
2742
2743 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
2744 (Aligned Memory Blocks): Add documentation for aligned_alloc
2745 and suggest it as an alternative to posix_memalign.
2746 (Hooks for Malloc): Document __memalign_hook is also called
2747 for aligned_alloc. (Summary of Malloc): Add summary for
2748 aligned alloc. Document __memalign_hook is also called
2749 for aligned_alloc.
2750
0a096e44
WN
27512013-12-16 Will Newton <will.newton@linaro.org>
2752
2753 * manual/memory.texi (Malloc Examples): Clarify default
2754 alignment documentation. Suggest posix_memalign rather
2755 than memalign or valloc.
2756 (Aligned Memory Blocks): Remove suggestion to use memalign
2757 or valloc. Remove obsolete comment about BSD.
2758 Document memalign errno values and mark the function obsolete.
2759 Document posix_memalign returned error codes. Mark valloc
2760 as obsolete. (Hooks for Malloc): __memalign_hook is also
2761 called for posix_memalign and valloc.
2762 (Summary of Malloc): Add posix_memalign to function summary.
2763 __memalign_hook is also called for posix_memalign and valloc.
2764
8d561986
SP
27652013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2766
2767 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
2768 TAYLOR_SIN.
2769 (__sin): Adjust.
2770 (__cos): Likewise.
2771 (sloww): Use mynumber union. Expand ternary operator into
2772 if-else statements.
2773 (cslow): use mynumber union.
2774
73616a74
AM
27752013-12-16 Allan McRae <allan@archlinux.org>
2776
9e8ac24b
AM
2777 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
2778 * configure: Regenerated.
2779
6f8e37eb
AM
2780 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
2781
8894bad3
AM
2782 [BZ #14120]
2783 * configure.ac: Added --enable-maintainer-mode. Check for
2784 autoconf when enabled.
2785 * configure: Regenerated.
2786
73616a74
AM
2787 * nscd/nscd.service: New file.
2788 * nscd/nscd.tmpfiles: New file.
2789
584b18eb
OB
27902013-12-14 Ondřej Bílka <neleai@seznam.cz>
2791
2792 [BZ #12100]
2793 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
2794 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
2795 * sysdeps/x86_64/multiarch/strstr.c: ... here.
2796 (strstr): Add __strstr_sse2_unaligned ifunc.
2797 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
2798 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
2799 (strcasestr): Remove __strcasestr_sse42 ifunc.
2800 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
2801 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2802 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2803
8a5c7897
KK
28042013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2805
2806 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
2807 * sysdeps/sh/bits/fenv.h: ... here.
2808 * sysdeps/sh/sh4/fpu/bits: Remove directory.
2809
fd712ef3
AZ
28102013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2811
2812 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
2813
42fcb46c
AZ
28142013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2815
2816 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
2817 hypotf multiarch implementations.
2818 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
2819 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
2820 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
2821 multiarch hypot for PPC64.
2822 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
2823 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
2824 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
2825 multiarch hypotf for PPC64.
2826
83efded4
AZ
28272013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2828
2829 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
2830 modff multiarch implementations.
2831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
2832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
2833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
2834 multiarch modf for PPC64.
2835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
2836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
2837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
2838 multiarch modff for PPC64.
2839
43e246d2
AZ
28402013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2841
2842 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
2843 and logl multiarch implementations.
2844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
2845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
2846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
2847 multiarch logb for PPC64.
2848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
2849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
2850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
2851 multiarch logb for PPC64.
2852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
2853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
2854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
2855 multiarch logb for PPC64.
2856
8fdad123
AZ
28572013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2858
2859 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
2860 isinff multiarch implementation.
2861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
2862 file.
2863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
2864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
2865 multiarch isinf for PPC64.
2866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
2867 file.
2868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
2869 multiarch isinff for PPC64.
2870
1481d706
AZ
28712013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2872
2873 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
2874 finitef multiarch implementation.
2875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
2876 file.
2877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
2878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
2879 multiarch finite for PPC64.
2880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
2881 file.
2882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
2883 multiarch finitef for PPC64.
2884
5ccd5fc8
AZ
28852013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2886
2887 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
2888 lrint multiarch implementation.
2889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
2890 file.
2891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
2892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
2893 multiarch llrint for PPC64.
2894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
2895 multiarch lrint for PPC64.
2896
2568f3fa
AZ
28972013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2898
2899 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
2900 copysignf multiarch implementation.
2901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
2902 file.
2903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
2904 file.
2905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
2906 multiarch copysign for PPC64.
2907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
2908 multiarch copysignf for PPC64.
2909
1cb341fd
AZ
29102013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2911
2912 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
2913 multiarch implementation.
2914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
2915 file.
2916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
2917 file.
2918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
2919 file.
2920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
2921 file.
2922 multiarch llround for PPC64.
2923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
2924 multiarch trunc for PPC64.
2925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
2926 multiarch truncf for PPC64.
2927
59a3e194
AZ
29282013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2929
2930 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
2931 multiarch implementation.
2932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
2933 file.
2934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
2935 file.
2936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
2937 file.
2938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
2939 file.
2940 multiarch llround for PPC64.
2941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
2942 multiarch round for PPC64.
2943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
2944 multiarch roundf for PPC64.
2945
357fd3b4
AZ
29462013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2947
2948 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
2949 multiarch implementation.
2950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
2951 file.
2952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
2953 file.
2954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
2955 file.
2956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
2957 file.
2958 multiarch llround for PPC64.
2959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
2960 multiarch floor for PPC64.
2961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
2962 multiarch floorf for PPC64.
2963
96770f12
AZ
29642013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2965
2966 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
2967 multiarch implementation.
2968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
2969 file.
2970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
2971 file.
2972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
2973 file.
2974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
2975 file.
2976 multiarch llround for PPC64.
2977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
2978 multiarch ceil for PPC64.
2979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
2980 multiarch ceilf for PPC64.
2981
c3627f6e
AZ
29822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2983
2984 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
2985 multiarch implementation.
2986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
2987 file.
2988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
2989 file.
2990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
2991 file.
2992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
2993 multiarch llround for PPC64.
2994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
2995 multiarch lround for PPC64.
2996
b2284ad7
AZ
29972013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2998
2999 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3000 multiarch implementation.
3001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
3002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
3003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
3004 file.
3005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
3006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
3007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
3008 multiarch isnan for PPC64.
3009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
3010 multiarch isnanf for PPC64.
3011
69bbc63d
AZ
30122013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3013
3014 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
3015 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
3016 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
3017 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
3018 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
3019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
3020
c24517c9
AZ
30212013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3022
3023 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
3024 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3025 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3026 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3027
a52374e8
AZ
30282013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3029
3030 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
3031 multiarch implementations.
3032 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3033 (__libc_ifunc_impl_list): Likewise.
3034 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
3035 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
3036 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
3037 multiarch stpcpy for PPC64.
3038
7f5ec113
AZ
30392013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3040
3041 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
3042 multiarch implementations.
3043 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3044 (__libc_ifunc_impl_list): Likewise.
3045 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
3046 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
3047 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
3048 multiarch strcpy for PPC64.
3049
e28bcd42
AZ
30502013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3051
3052 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
3053 redefine function name.
3054 (_wordcopy_fwd_dest_aligned): Likewise.
3055 (_wordcopy_bwd_aligned): Likewise.
3056 (_wordcopy_bwd_dest_aligned): Likewise.
3057 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
3058 multiarch implementations.
3059 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3060 (__libc_ifunc_impl_list): Likewise.
3061 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
3062 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
3063 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
3064 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
3065 multiarch wcscpy for PPC64.
3066
92cacfce
AZ
30672013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3068
3069 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
3070 multiarch implementations.
3071 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3072 (__libc_ifunc_impl_list): Likewise.
3073 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
3074 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
3075 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
3076 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
3077 multiarch wcscpy for PPC64.
3078
7b714620
AZ
30792013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3080
3081 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
3082 multiarch implementations.
3083 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3084 (__libc_ifunc_impl_list): Likewise.
3085 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
3086 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
3087 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
3088 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
3089 multiarch wcsrchr for PPC64.
3090
16fd2ae3
AZ
30912013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3092
3093 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
3094 multiarch implementations.
3095 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3096 (__libc_ifunc_impl_list): Likewise.
3097 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
3098 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
3099 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
3100 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
3101 multiarch wcschr for PPC64.
3102
9ee2969b
AZ
31032013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3104
3105 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
3106 multiarch implementations.
3107 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3108 (__libc_ifunc_impl_list): Likewise.
3109 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
3110 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
3111 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
3112 multiarch strchrnul for PPC64.
3113
372dc060
AZ
31142013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3115
3116 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
3117 implementations.
3118 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3119 (__libc_ifunc_impl_list): Likewise.
3120 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
3121 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
3122 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
3123 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
3124 strchr for PPC64.
3125
24c2c3b9
AZ
31262013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3127
3128 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
3129 implementations.
3130 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3131 (__libc_ifunc_impl_list): Likewise.
3132 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
3133 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
3134 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
3135 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
3136 strncmp for PPC64.
3137
1c92d9a0
AZ
31382013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3139
3140 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
3141 multiarch implementations.
3142 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3143 (__libc_ifunc_impl_list): Likewise.
3144 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
3145 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
3146 strncasecmp for PPC64.
3147 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
3148 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
3149 multiarch strncasecmp_l for PPC64.
3150
17de3ee3
AZ
31512013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3152
3153 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
3154 multiarch implementations.
3155 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3156 (__libc_ifunc_impl_list): Likewise.
3157 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
3158 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
3159 multiarch strcasecmp for PPC64.
3160 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
3161 file.
3162 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
3163 multiarch strcasecmp_l for PPC64.
3164
62982bf9
AZ
31652013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3166
3167 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
3168 implementations.
3169 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3170 (__libc_ifunc_impl_list): Likewise.
3171 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
3172 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
3173 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
3174 strnlen for PPC64.
3175
a65f4904
AZ
31762013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3177
3178 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
3179 implementations.
3180 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3181 (__libc_ifunc_impl_list): Likewise.
3182 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
3183 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
3184 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
3185 strlen for PPC64.
3186
1fd005ad
AZ
31872013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3188
3189 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
3190 implementations.
3191 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3192 (__libc_ifunc_impl_list): Likewise.
3193 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
3194 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
3195 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
3196 rawmemrchr for PPC64.
3197
cd05ba91
AZ
31982013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3199
3200 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
3201 implementation.
3202 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3203 (__libc_ifunc_impl_list): Likewise.
3204 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
3205 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
3206 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
3207 memrchr for PPC64.
3208
870f8676
AZ
32092013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3210
3211 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
3212 implementation.
3213 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3214 (__libc_ifunc_impl_list): Likewise.
3215 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
3216 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
3217 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
3218 memchr for PPC64.
3219
f00be62b
AZ
32202013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3221
3222 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
3223 implementation.
3224 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3225 (__libc_ifunc_impl_list): Likewise.
3226 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
3227 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
3228 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
3229 mempcpy for PPC64.
3230
8a29a3d0
AZ
32312013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3232
3233 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
3234 avoid cretion of __bzero symbol.
3235 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
3236 Likewise.
3237 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
3238 Likewise.
3239 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
3240 Likewise.
3241 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
3242 multiarch implementations.
3243 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3244 (__libc_ifunc_impl_list): Likewise.
3245 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
3246 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
3247 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
3248 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
3249 bzero for PPC32.
3250 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
3251 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
3252 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
3253 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
3254 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
3255 memset for PPC64.
3256 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
3257
07253fcf
AZ
32582013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3259
3260 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
3261 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
3262 implementations.
3263 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3264 (__libc_ifunc_impl_list): Likewise.
3265 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
3266 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
3267 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
3268 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
3269 memcmp for PPC64.
3270
b5beafbc
AZ
32712013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3272
3273 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
3274 multiarch for POWER/PPC64.
3275 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3276 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
3277 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
3278 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
3279 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
3280 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
3281 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
3282 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
3283 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
3284 memcpy for PPC64.
3285
5e6a4d4b
AZ
32862013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3287
3288 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
3289 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
3290 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
3291 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
3292 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
3293 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
3294 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
3295 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
3296 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
3297 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
3298 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
3299 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
3300 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
3301 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
3302 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
3303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
3304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
3305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
3306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
3307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
3308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
3309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
3310
ddfab6dc
KK
33112013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3312
3313 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
3314
19b5525e
SP
33152013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3316
3317 * benchtests/Makefile (bench): Add exp2 and log2.
3318 (LDLIBS-bench-exp2): Add -lm.
3319 (LDLIBS-bench-log2): Likewise.
3320 * benchtests/exp2-inputs: New inputs file.
3321 * benchtests/log2-inputs: New inputs file.
3322 * benchtests/log-inputs: Add new inputs.
3323 * benchtests/tan-inputs: Likewise.
3324
196f7f5d
SP
33252013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3326
7a74607f
SP
3327 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
3328 definition...
3329 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
3330 csloww1, csloww2): ... from here.
3331
196f7f5d
SP
3332 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
3333 instead of structures.
3334 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
3335 (POLYNOMIAL): Likewise.
3336 (TAYLOR_SLOW): Likewise.
3337 (__sin): Likewise.
3338 (__cos): Likewise.
3339 (slow1): Likewise.
3340 (slow2): Likewise.
3341 (sloww): Likewise.
3342 (sloww1); Likewise.
3343 (sloww2): Likewise.
3344 (bsloww1): Likewise.
3345 (bsloww2): Likewise.
3346 (cslow2): Likewise.
3347 (csloww): Likewise.
3348 (csloww1): Likewise.
3349 (csloww2): Likewise.
3350
0dfa665c
OB
33512013-12-10 Ondřej Bílka <neleai@seznam.cz>
3352
3353 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
3354 (__malloc_assert, __libc_realloc, __libc_calloc,
3355 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
3356 memcpy and memset.
3357 * malloc/hooks.c (realloc_check): Likewise.
3358
5782a80f
OB
33592013-12-10 Ondřej Bílka <neleai@seznam.cz>
3360
3361 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
3362 * malloc/arena.c: Remove PER_THREAD conditional.
3363 [!PER_THREAD]: Remove code.
3364 (ptmalloc_unlock_all2): Likewise.
3365 (ptmalloc_init): Likewise.
3366 (_int_new_arena): Likewise.
3367 (arena_get2): Likewise.
3368 * malloc/hooks.c (__malloc_get_state): Likewise.
3369 (__malloc_set_state): Likewise.
3370 * malloc/malloc.c: Likewise.
3371 (struct malloc_state): Likewise.
3372 (struct malloc_par): Likewise.
3373 (__libc_realloc): Likewise.
3374 (__libc_mallopt): Likewise.
3375
aeb95445
AZ
33762013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3377
3378 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
3379
e8349efd
OB
33802013-12-09 Ondřej Bílka <neleai@seznam.cz>
3381
3382 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
3383 macro to a function. Check for zero perturb_byte.
3384 (_int_malloc, _int_free): Remove zero perturb_byte checks.
3385
f3eeb3fc
OB
33862013-12-09 Ondřej Bílka <neleai@seznam.cz>
3387
3388 * malloc/malloc.c: (force_reg): Remove.
3389 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
3390 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
3391 force_reg by atomic_forced_read.
3392 * malloc/arena.c (ptmalloc_init): Likewise.
3393 * malloc/hooks.c (top_check): Likewise.
3394
be2f9009
AZ
33952013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3396
3397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3398
e7b914bd
MT
33992013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
3400
3401 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3402
9f0be4f8
JM
34032013-12-08 Joseph Myers <joseph@codesourcery.com>
3404
3405 * math/auto-libm-test-in: Add tests of lgamma.
3406 * math/auto-libm-test-out: Regenerated.
3407 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
3408 (M_LOG_2_SQRT_PIl): Likewise.
3409 (lgamma_test_data): Use AUTO_TESTS_f_f1.
3410 * math/gen-auto-libm-tests.c (func_calc_method): Add value
3411 mpfr_f_f1.
3412 (func_calc_desc): Add mpfr_f_f1 union field.
3413 (ARGS1): New macro.
3414 (ARGS2): Likewise.
3415 (ARGS3): Likewise.
3416 (ARGS4): Likewise.
3417 (RET1): Likewise.
3418 (RET2): Likewise.
3419 (CALC): Likewise.
3420 (FUNC): Likewise.
3421 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
3422 (test_functions): Add lgamma.
3423 (calc_generic_results): Handle mpfr_f_f1.
3424 * sysdeps/i386/fpu/libm-test-ulps: Update.
3425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3426
24eeafdb
AZ
34272013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3428
3429 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
3430 __mpn_add_n for PowerPC64/POWER7.
3431 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
3432 __mpn_sub_n for PowerPC64/POWER7.
3433
4a2c0fd4
AZ
34342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3435
3436 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
3437 __mpn_addmul_1 for PowerPC64.
3438 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
3439 __mpn_submul_1 for PowerPC64.
3440 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
3441 for PowerPC64.
3442 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
3443 for PowerPC64.
3444
4b5b548c
FS
34452013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
3446
3447 [BZ #15089]
3448 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
3449
0a3ac0aa
AZ
34502013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3451
3452 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
3453
ccdc8438
AZ
34542013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3455
3456 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
3457 add multiarch folders.
3458 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
3459 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
3460 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
3461 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
3462 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
3463 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
3464 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
3465 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
3466 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
3467 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
3468 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
3469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
3470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
3471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
3472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
3473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
3474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
3475
2e973d99
AZ
34762013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3477
3478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3479 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
3480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
3481 New file.
3482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
3483 New file.
3484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
3485 multiarch __ieee754_hypot for PowerPC32.
3486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
3487 New file.
3488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
3489 New file.
3490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
3491 multiarch __ieee754_hypotf for PowerPC32.
3492
2d9470b2
AZ
34932013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3494
3495 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
3496 long_double_symbol only if __logbl is defined.
3497 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
3498 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
3499 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
3500 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
3501 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
3502 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
3503 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
3504 path for implementation.
3505 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
3506 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
3507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
3508 logb, and logbl multiarch implementations for PowerPC32.
3509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
3510 file.
3511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
3512 file.
3513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
3514 multiarch logb for PowerPC32.
3515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
3516 file.
3517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
3518 file.
3519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
3520 multiarch logbf for PowerPC32.
3521 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
3522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
3523 file.
3524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
3525 multiarch logbl implementation for PowerPC32.
3526
5212ffce
AZ
35272013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3528
3529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
3530 and modff multiarch implementations.
3531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
3532 New file.
3533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
3534 New file.
3535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
3536 multiarch modf for PowerPC32.
3537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
3538 New file.
3539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
3540 New file.
3541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
3542 multiarch modff for PowerPC32.
3543
79dccf31
AZ
35442013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3545
3546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
3547 and lrintf multiarch implementations.
3548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
3549 New file.
3550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3551 New file.
3552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
3553 multiarch lrint for PowerPC32.
3554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
3555 file: multiarch lrintf for PowerPC32.
3556
deb66480
AZ
35572013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3558
3559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
3560 and lroundf multiarch implementations.
3561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
3562 New file.
3563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
3564 New file.
3565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
3566 New file.
3567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
3568 multiarch lround for PowerPC32.
3569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
3570 file: multiarch lroundf for PowerPC32.
3571
264b036b
AZ
35722013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3573
3574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3575 copysign and copysignf multiarch implementations.
3576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3577 New file.
3578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3579 New file.
3580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
3581 file: multiarch copysign for PowerPC32.
3582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
3583 file: multiarch copysignf for PowerPC32.
3584
d47db6c9
AZ
35852013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3586
3587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
3588 and truncf multiarch implementations.
3589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
3590 New file.
3591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
3592 file.
3593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
3594 multiarch trunc for PowerPC32.
3595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
3596 New file.
3597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
3598 New file.
3599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
3600 multiarch truncf for PowerPC32.
3601
ddb60b5a
AZ
36022013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3603
3604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
3605 and roundf multiarch implementations.
3606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
3607 New file.
3608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
3609 file.
3610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
3611 multiarch round for PowerPC32.
3612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
3613 New file.
3614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
3615 New file.
3616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
3617 multiarch roundf for PowerPC32.
3618
bedcf49b
AZ
36192013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3620
3621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
3622 and floorf multiarch implementations.
3623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
3624 New file.
3625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
3626 file.
3627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
3628 multiarch floor for PowerPC32.
3629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
3630 New file.
3631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
3632 New file.
3633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
3634 multiarch floorf for PowerPC32.
3635
35ae5b40
AZ
36362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3637
3638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
3639 and ceilf multiarch implementations.
3640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
3641 New file.
3642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
3643 file.
3644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
3645 multiarch ceil for PowerPC32.
3646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
3647 New file.
3648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
3649 file.
3650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
3651 multiarch ceilf for PowerPC32.
3652
ae1a4cd9
AZ
36532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3654
3655 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
3656 is defined.
3657 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
3658 FINITEF is defined.
3659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
3660 and finitef multiarch implementations.
3661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3662 New file.
3663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
3664 file.
3665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
3666 multiarch finite for PowerPC32.
3667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3668 New file.
3669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
3670 file: multiarch finitef for PowerPC32.
3671
64fffd65
AZ
36722013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3673
3674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
3675 and isinff multiarch implementations.
3676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
3677 file.
3678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
3679 file.
3680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
3681 multiarch isinf for PowerPC32.
3682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3683 New file.
3684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
3685 multiarch isinff for PowerPC32.
3686
8e4e7ba2
AZ
36872013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3688
3689 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
3690 alias when __isnan is defined.
3691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
3692 and isnanf multiarch implementations.
3693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
3694 file.
3695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
3696 file.
3697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
3698 file.
3699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
3700 file.
3701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
3702 multiarch isnan for PowerPC32.
3703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3704 New file.
3705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
3706 New file.
3707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
3708 multiarch isnanf for PowerPC32.
3709
ddba588e
AZ
37102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3711
3712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
3713 and sqrtf multiarch implementations.
3714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
3715 file.
3716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
3717 file.
3718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
3719 multiarch sqrt for PowerPC32.
3720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
3721 file.
3722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
3723 file.
3724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
3725 multiarch sqrtf for PowerPC32.
3726
0f96a2f0
AZ
37272013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3728
3729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
3730 and llroundf multiarch implementations.
3731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
3732 New file.
3733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
3734 New file.
3735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
3736 New file.
3737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
3738 file: multiarch llround for PowerPC32.
3739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
3740 file: multiarch llroundf for PowerPC32.
3741
c9b5d79e
AZ
37422013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3743
3744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
3745 multiarch PowerPC32 fpu implementations.
3746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3747 New file.
3748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3749 New file.
3750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
3751 multiarch llrint for PowerPC32.
3752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3753 New file.
3754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3755 New file.
3756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
3757 file.
3758
9cbb3aab
AZ
37592013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3760
3761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
3762
ea5a72f8
AZ
37632013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3764
3765 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
3766 file.
3767 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
3768 file.
3769 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
3770 file.
3771 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
3772 multiarch wordcopy for PPC32.
3773 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3774 wordcopy objects.
3775 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3776 (__libc_ifunc_impl_list): Likewise.
3777 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
3778 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
3779 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
3780 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
3781 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
3782 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
3783
93be09e7
AZ
37842013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3785
3786 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
3787 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
3788 file.
3789 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
3790 file.
3791 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
3792 file.
3793 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
3794 multiarch wcscpy for PPC32.
3795 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3796 multiarch objects.
3797 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3798 (__libc_ifunc_impl_list): Likewise.
3799 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3800 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3801 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
3802 sysdeps/powerpc/power6/wcscpy.c.
3803
bb04e529
AZ
38042013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3805
3806 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
3807 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
3808 file.
3809 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
3810 file.
3811 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
3812 file.
3813 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
3814 multiarch wcsrchr for PPC32.
3815 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3816 multiarch objects.
3817 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3818 (__libc_ifunc_impl_list): Likewise.
3819 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3820 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3821 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
3822 sysdeps/powerpc/power6/wcsrchr.c.
3823
05b5cd1c
AZ
38242013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3825
3826 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
3827 file.
3828 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
3829 file.
3830 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
3831 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
3832 multiarch wcschr for PPc32.
3833 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3834 multiarch objects.
3835 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3836 (__libc_ifunc_impl_list): Likewise.
3837 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
3838 * sysdeps/powerpc/power6/wcschr.c: ... to here.
3839 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
3840 sysdeps/powerpc/power6/wcschr.c.
3841
ba964147
AZ
38422013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3843
3844 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
3845 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
3846 file.
3847 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
3848 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
3849 file: multiarch strchr for PPC32.
3850 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
3851 multiarch objects.
3852 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3853 (__libc_ifunc_impl_list): Likewise.
3854
31c81aaa
AZ
38552013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3856
3857 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
3858 name.
3859 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
3860 file.
3861 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
3862 file.
3863 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
3864 multiarch strchrnul for PPC32.
3865 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
3866 multiarch objects.
3867 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3868 (__libc_ifunc_impl_list): Likewise.
3869
0d0607d9
AZ
38702013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3871
3872 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
3873 file.
3874 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
3875 multiarch strncasecmp for PPC32.
3876 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
3877 file.
3878 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
3879 multiarch strncasecmp_l for PPC32.
3880 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
3881 strncasecmp multiarch objects.
3882 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3883 (__libc_ifunc_impl_list): Likewise.
3884
4dfd5c86
AZ
38852013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3886
3887 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
3888 file.
3889 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
3890 multiarch strncasecmp for PPC32.
3891 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3892 New file.
3893 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
3894 multiarch strcasecmp_l for PPC32.
3895 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
3896 multiarch objects.
3897 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3898 (__libc_ifunc_impl_list): Likewise.
3899
a19e01a3
AZ
39002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3901
3902 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
3903 file.
3904 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
3905 file.
3906 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
3907 multiarch strncmp for PPC32.
3908 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
3909 multiarch objects.
3910 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3911 (__libc_ifunc_impl_list): Likewise.
3912
ae9cf7a2
AZ
39132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3914
3915 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
3916 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
3917 file.
3918 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
3919 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
3920 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
3921 multiarch objects.
3922 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3923 (__libc_ifunc_impl_list): Likewise.
3924
3148bb7d
AZ
39252013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3926
3927 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
3928 file.
3929 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
3930 file.
3931 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
3932 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
3933 multiarch objects.
3934 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3935 (__libc_ifunc_impl_list): Likewise.
3936
7af8b946
AZ
39372013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3938
3939 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
3940 file.
3941 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
3942 file.
3943 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
3944 multiarch rawmemchr for PPC32.
3945 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
3946 multiarch objects.
3947 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3948 (__libc_ifunc_impl_list): Likewise.
3949
03a6aa6a
AZ
39502013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3951
3952 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
3953 file.
3954 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
3955 file.
3956 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
3957 file: memrchr multiarch for PPC32.
3958 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
3959 multiarch objects.
3960 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3961 (__libc_ifunc_impl_list): Likewise.
3962
1c62e6d9
AZ
39632013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3964
3965 * string/memchr.c (__memchr): Using macro to redefine symbol name.
3966 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
3967 file.
3968 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
3969 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
3970 multiarch memchr for PPC32.
3971 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
3972 multiarch objects.
3973 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3974 (__libc_ifunc_impl_list): Likewise.
3975
87da8bdb
AZ
39762013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3977
3978 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
3979 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
3980 file.
3981 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
3982 file.
3983 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
3984 file: multiarch mempcpy for PPC32.
3985 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
3986 multiarch objects.
3987 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3988 (__libc_ifunc_impl_list): Likewise.
3989
20ed4714
AZ
39902013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3991
3992 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
3993 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
3994 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
3995 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
3996 multiarch bzero for PPC32.
3997 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
3998 file.
3999 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
4000 file.
4001 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
4002 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
4003 file: multiarch memset for PPC32.
4004 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
4005 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
4006 memset multiarch objects.
4007 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4008 (__libc_ifunc_impl_list): Likewise.
4009
ab3e3a46
AZ
40102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4011
4012 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
4013 file.
4014 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
4015 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
4016 memcmp for PPC32.
4017 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
4018 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
4019 multiarch objects.
4020 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4021 (__libc_ifunc_impl_list): Likewise.
4022
930de6f0
AZ
40232013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4024
4025 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
4026 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
4027 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
4028 file.
4029 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
4030 file.
4031 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
4032 file.
4033 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
4034 multiarch memcpy for PPC32.
4035 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
4036 multiarch objects.
4037 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4038 (__libc_ifunc_impl_list): Likewise.
4039
4c628e00
AZ
40402013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4041
4042 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
4043 support multiarch for POWER/PPC32.
4044 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4045 Likewise.
4046 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
4048 Implies file to make multiarch folder appers before the fpu and
4049 default folder for power4 configuration.
4050
f4479220
SP
40512013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4052
4053 * scripts/bench.pl: Append volatile keyword to type.
4054
8517800f
KK
40552013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4056
4057 * sysdeps/sh/sotruss-lib.c: New file.
4058 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
4059
180138f1
AZ
40602013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4061
4062 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4063
bbf37bdc
JM
40642013-12-05 Joseph Myers <joseph@codesourcery.com>
4065
e47cc4e0
JM
4066 [BZ #6810]
4067 * math/w_tgamma.c: Include <errno.h>.
4068 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
4069 * math/w_tgammaf.c: Include <errno.h>.
4070 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
4071 * math/w_tgammal.c: Include <errno.h>.
4072 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
4073 * math/auto-libm-test-in: Do not allow missing errno on tgamma
4074 underflow. Add more tgamma tests.
4075 * math/auto-libm-test-out: Regenerated.
4076 * sysdeps/i386/fpu/libm-test-ulps: Update.
4077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4078
bbf37bdc
JM
4079 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
4080 sin, sinh, tan, tanh, tgamma, y0 and y1.
4081 * math/auto-libm-test-out: Regenerated.
4082 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4083 (TEST_COND_x86): Likewise.
4084 (M_E2l): Remove macro.
4085 (M_E3l): Likewise.
4086 (M_2_SQRT_PIl): Likewise.
4087 (M_SQRT_PIl): Likewise.
4088 (M_1_DIV_El): Likewise.
4089 (log_test_data): Use AUTO_TESTS_f_f.
4090 (log10_test_data): Likewise.
4091 (log1p_test_data): Likewise.
4092 (log2_test_data): Likewise.
4093 (sin_test_data): Likewise.
4094 (sin_tonearest_test_data): Likewise.
4095 (sin_towardzero_test_data): Likewise.
4096 (sin_downward_test_data): Likewise.
4097 (sin_upward_test_data): Likewise.
4098 (sinh_test_data): Likewise.
4099 (sinh_tonearest_test_data): Likewise.
4100 (sinh_towardzero_test_data): Likewise.
4101 (sinh_downward_test_data): Likewise.
4102 (sinh_upward_test_data): Likewise.
4103 (tan_test_data): Likewise.
4104 (tan_tonearest_test_data): Likewise.
4105 (tan_towardzero_test_data): Likewise.
4106 (tan_downward_test_data): Likewise.
4107 (tan_upward_test_data): Likewise.
4108 (tanh_test_data): Likewise.
4109 (tgamma_test_data): Likewise.
4110 (y0_test_data): Likewise.
4111 (y1_test_data): Likewise.
4112 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
4113 (special_real_inputs): Add pi/4.
4114 * sysdeps/i386/fpu/libm-test-ulps: Update.
4115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4116
eb5ad6b9
AZ
41172013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4118
4119 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
4120 "longjmp_target" static probes.
4121 (__longjmp): Rename to __longjmp_symbol.
4122 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4123 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
4124 on which longjmp to generate.
4125 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4126 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
4127 probe.
4128 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4129 (__sigjmp_save): Rename to __sigjmp_save_symbol.
4130 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4131 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
4132 and __sigjmp_save_symbol based on which sigsetjmp to generated.
4133 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
4134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
4135 __longjmp_symbol based on which __longjmp to generate.
4136 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
4137 probe.
4138 (setjmp): Rename to setjmp_symbol.
4139 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4140 (_setjmp): Rename to _setjmp_symbol.
4141 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4142 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
4143 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
4144 which setjmp to generate.
4145 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
4146 "longjmp_target" static probes.
4147
d136c6dc
SP
41482013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4149
9298ecba
SP
4150 * benchtests/README: Add note about output arguments.
4151 * benchtests/bench-sincos.c: Remove file.
4152 * benchtests/sincos-inputs: New file.
4153 * scripts/bench.pl: Identify output arguments and define
4154 static variables for them.
4155
232983e9
SP
4156 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
4157
d136c6dc
SP
4158 [BZ #15941]
4159 * Makefile (INSTALL): Add install-plain.texi as the primary
4160 dependency.
4161 * manual/install-plain.texi: New file.
4162 * manual/install.texi: Include node directive only for
4163 non-plaintext output.
4164
699ff837
JM
41652013-12-04 Joseph Myers <joseph@codesourcery.com>
4166
ab07cea8
JM
4167 * stdlib/longlong.h: Update from GCC.
4168
699ff837
JM
4169 [BZ #6807]
4170 [BZ #15901]
4171 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
4172 * math/w_j0f.c (y0f): Likewise.
4173 * math/w_j0l.c (__y0l): Likewise.
4174 * math/w_j1.c (y1): Likewise.
4175 * math/w_j1f.c (y1f): Likewise.
4176 * math/w_j1l.c (__y1l): Likewise
4177 * math/w_jn.c (yn): Likewise.
4178 * math/w_jnf.c (ynf): Likewise.
4179 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
4180 Bessel function pole errors in _POSIX_ mode. Use NAN as return
4181 value for Bessel function domain errors outside _SVID_ mode.
4182 Adjust sign of return value for yn (negative integer, 0).
4183 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
4184 by zero in return for negative x and set sign appropriately for
4185 negative n.
4186 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
4187 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
4188 * math/libm-test.inc (y0_test_data): Add more tests and adjust
4189 expectations in error cases.
4190 (y1_test_data): Likewise.
4191 (yn_test_data): Likewise.
4192 * sysdeps/i386/fpu/libm-test-ulps: Update.
4193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4194
5b118558
UW
41952013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4196
4197 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
4198 "64" to "64-v1". Add "64-v2".
4199 (abi-64-options): Rename to ...
4200 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
4201 (abi-64-condition): Rename to ...
4202 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
4203 (abi-64-ld-soname): Rename to ...
4204 (abi-64-v1-ld-soname): ... this.
4205 (abi-64-v2-options): Define.
4206 (abi-64-v2-condition): Likewise.
4207 (abi-64-v2-ld-soname): Likewise.
4208 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
4209 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
4210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
4211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
4212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
4213
61cd8fe4
UW
42142013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4215 Alan Modra <amodra@gmail.com>
4216
4217 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
4218 New versions for use with the ELFv2 ABI.
4219 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
4220 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
4221 declaration.
4222 (struct La_ppc64v2_retval): Likewise.
4223 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
4224 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
4225 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
4226 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
4227 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
4228 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
4229 Do not save or restore CR.
4230 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
4231 (_dl_profile_resolve): Do no save or restore CR. Support extended
4232 return values for ELFv2 ABI. Fix location of FPR return registers.
4233 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
4234 updated values for _CALL_ELF == 2.
4235 (La_regs, La_retval, int_retval): Likewise.
4236
8b8a692c
UW
42372013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4238
4239 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
4240 (FRAME_MIN_SIZE_PARM): Likewise.
4241 (FRAME_BACKCHAIN): Likewise.
4242 (FRAME_CR_SAVE): Likewise.
4243 (FRAME_LR_SAVE): Likewise.
4244 (FRAME_TOC_SAVE): Likewise.
4245 (FRAME_PARM_SAVE): Likewise.
4246 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4247 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4248 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4249 (call_mcount_parm_offset): New macro.
4250 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
4251 (PROF): Use symbolic stack frame offsets.
4252 (TAIL_CALL_SYSCALL_ERROR): Likewise.
4253 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
4254 Redefine in terms of FRAME_MIN_SIZE.
4255 (_dl_runtime_resolve): Use symbolic stack frame offsets.
4256 (_dl_profile_resolve): Likewise. Update comment.
4257 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
4258 symbols stack frame offsets.
4259 (__sigsetjmp): Likewise.
4260 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
4261 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
4262 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
4263 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
4264
4265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
4266 (FRAME_BACKCHAIN): Remove.
4267 (FRAME_CR_SAVE): Likewise.
4268 (FRAME_LR_SAVE): Likewise.
4269 (FRAME_COMPILER_DW): Likewise.
4270 (FRAME_LINKER_DW): Likewise.
4271 (FRAME_TOC_SAVE): Likewise.
4272 (FRAME_PARM_SAVE): Likewise.
4273 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4274 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4275 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
4277 (CHECK_SP): Use symbolic stack frame offsets.
4278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
4279 zone" instead of caller's parameter save area for temp storage.
4280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4281 Likewise. Also, use symbolic stack frame offsets.
4282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
4283 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
4284 our own stack frame instead of the caller's.
4285 (__socket): Use symbolic stack frame offsets.
4286
122b66de
UW
42872013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4288 Alan Modra <amodra@gmail.com>
4289
4290 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
4291 Define.
4292 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
4293 PPC64_LOCAL_ENTRY_OFFSET): Define.
4294 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
4295 New function.
4296 (elf_machine_fixup_plt): Call it.
4297 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
4298 reloc arguments.
4299 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
4300 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4301 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
4302 r2 before calling target.
4303
696caf1d
UW
43042013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4305 Alan Modra <amodra@gmail.com>
4306
4307 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
4308 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
4309 versions of macros to support ELFv2 ABI.
4310 (LOCALENTRY): New macro.
4311 (ENTRY, EALIGN): Use it.
4312 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
4313 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
4314 fall through into ENTRY entry point.
4315 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
4316 Only define if _CALL_ELF != 2.
4317
4318 (elf_machine_matches_host): Verify ABI version matches.
4319 (RTLD_START): Use LOCALENTRY.
4320 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
4321 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
4322 (PLT_ENTRY_WORDS): New macro.
4323 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
4324 (elf_machine_runtime_setup): Support ELFv2 ABI.
4325 (elf_machine_fixup_plt): Likewise.
4326 (elf_machine_plt_conflict): Likewise.
4327 (resolve_ifunc): Likewise.
4328 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4329 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4330 Likewise.
4331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
4332 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
4333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4334 (makecontext): Support ELFv2 ABI.
4335 * elf/elf.h (EF_PPC64_ABI): Define.
4336
d31beafa
UW
43372013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4338
4339 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
4340 New assembler macro.
4341 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
4342 [ASSEMBLER] (ENTRY): ... but instead here ...
4343 [ASSEMBLER] (EALIGN): ... and here.
4344 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
4345 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
4346 [!ASSEMBLER] (ENTRY_2): Use it.
4347 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
4348 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
4349 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4350 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
4351 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
4352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
4353 Use PPC64_LOAD_FUNCPTR.
4354
b525166b
UW
43552013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4356
4357 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
4358
7ec07d9a
AM
43592013-12-04 Alan Modra <amodra@gmail.com>
4360
4361 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
4362 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
4363 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
4364 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
4365
4366 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
4367 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
4368 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
4369 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
4370 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
4371 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
4372
5162e7dd
UW
43732013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4374
4375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4376 (__makecontext): Fix incorrect CFI when backtracing out of
4377 context created via makecontext.
4378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
4379 (__setcontext): Fix incorrect CFI during switch to new context.
4380 (__novec_setcontext): Likewise.
4381
19e3372b
OB
43822013-12-04 Ondřej Bílka <neleai@seznam.cz>
4383
4384 [BZ #4772]
4385 * time/strptime_l.c (__strptime_internal): Allow modifiers
4386 in strptime.
4387 * time/tst-strptime.c (day_tests): Add testcase.
4388
4389
ecaf142d
SP
43902013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4391
4392 * scripts/bench.pl: Skip over blank lines.
4393
fbf964ae
PE
43942013-12-04 Paul Eggert <eggert@cs.ucla.edu>
4395
4396 [BZ #926]
4397 * manual/time.texi (Calendar Time): Clarify what timezone functions
4398 use.
4399
fa60a674
AZ
44002013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4401
4402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4403
d674f0ef
OB
44042013-12-04 Ondřej Bílka <neleai@seznam.cz>
4405
4406 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
4407 implementation.
4408 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
4409 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
4410 * debug/memset_chk.c (__memset_chk): Likewise.
4411 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
4412 * debug/strncpy_chk.c: Likewise.
4413
17dea188
JM
44142013-12-03 Joseph Myers <joseph@codesourcery.com>
4415
749008ff
JM
4416 [BZ #15268]
4417 [BZ #15425]
4418 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
4419 (__ieee754_exp): For possibly underflowing results, check size of
4420 result and force underflow exception if required.
4421 * math/auto-libm-test-in: Add more tests of exp.
4422 * math/auto-libm-test-out: Regenerated.
4423 * sysdeps/i386/fpu/libm-test-ulps: Update.
4424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4425
17dea188
JM
4426 [BZ #16283]
4427 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
4428 * math/w_exp2f.c (__exp2f): Likewise.
4429 * math/w_exp2l.c (__exp2l): Likewise.
4430 * math/auto-libm-test-in: Do not allow missing errno on exp2
4431 underflow.
4432 * math/auto-libm-test-out: Regenerated.
4433
b20de2c3
OB
44342013-12-03 Ondřej Bílka <neleai@seznam.cz>
4435
4436 [BZ #16274]
4437 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
4438 handle filename validation.
4439 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
4440 (do_open): Delete.
4441
d8e2dbe3
JM
44422013-12-03 Joseph Myers <joseph@codesourcery.com>
4443
34e16df5
JM
4444 [BZ #6786]
4445 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
4446 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
4447 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
4448 <float.h>.
4449 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
4450 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
4451 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4452 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
4453 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4454 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
4455 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4456 * math/auto-libm-test-in: Don't allow missing errno from erfc.
4457 Add more erfc tests.
4458 * math/auto-libm-test-out: Regenerated.
4459 * sysdeps/i386/fpu/libm-test-ulps: Update.
4460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4461
d8e2dbe3
JM
4462 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
4463 exp2, expm1, j0 and j1.
4464 * math/auto-libm-test-out: Regenerated.
4465 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
4466 (erfc_test_data): Likewise.
4467 (exp_test_data): Likewise.
4468 (exp_tonearest_test_data): Likewise.
4469 (exp_towardzero_test_data): Likewise.
4470 (exp_downward_test_data): Likewise.
4471 (exp_upward_test_data): Likewise.
4472 (exp10_test_data): Likewise.
4473 (exp2_test_data): Likewise.
4474 (expm1_test_data): Likewise.
4475 (j0_test_data): Likewise.
4476 (j1_test_data): Likewise.
4477 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
4478 (input_flag_type): Add flag_xfail_rounding.
4479 (input_flags): Add xfail-rounding.
4480 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
4481 (output_for_one_input_case): Handle flag_xfail_rounding.
4482 * sysdeps/i386/fpu/libm-test-ulps: Update.
4483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4484
18d14251
AJ
44852013-12-03 Aurelien Jarno <aurelien@aurel32.net>
4486
3d2e6075 4487 [BZ #16289]
18d14251
AJ
4488 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
4489 division by 0.
4490
520d437b
SP
44912013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4492
4493 [BZ #16195]
4494 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
4495 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
4496 (STAP_PROBE0): New macro.
4497 (STAP_PROBE1): Likewise.
4498 (STAP_PROBE2): Likewise.
4499 (STAP_PROBE3): Likewise.
4500 (STAP_PROBE4): Likewise.
4501
416e0145
OB
45022013-12-02 Ondřej Bílka <neleai@seznam.cz>
4503
4504 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
4505
9d17796a
SE
45062013-12-02 Steve Ellcey <sellcey@mips.com>
4507
4508 * benchtests/Makefile (bench): Add sqrt.
4509 (LDLIBS-bench-sqrt): New.
4510 * benchtests/sqrt-input: New.
4511
f524d6a8
PS
45122013-12-02 Pavel Simerda <psimerda@redhat.com>
4513
639a0ef8
PS
4514 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
4515 (GAIH_EAI): Likewise.
4516 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
4517 (gaih_inet): Likewise.
4518 (getaddrinfo): Don't use GAIH_EAI.
4519
f524d6a8
PS
4520 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
4521 (struct gaih): Remove definition.
4522
df3aedaf
SP
45232013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4524
4525 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
4526 Use HERRNOP directly.
4527
1ab19dec
AZ
45282013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4529
b42ad38d 4530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 4531
176b0c79
JM
45322013-11-30 Joseph Myers <joseph@codesourcery.com>
4533
4534 * math/gen-auto-libm-tests.c (test_functions): Add more
4535 single-argument functions.
4536 (special_fill_pi_2): New function.
4537 (special_fill_minus_pi_2): Likewise.
4538 (special_fill_pi_6): Likewise.
4539 (special_fill_minus_pi_6): Likewise.
4540 (special_fill_pi_3): Likewise.
4541 (special_fill_2pi_3): Likewise.
4542 (special_fill_e): Likewise.
4543 (special_fill_1_e): Likewise.
4544 (special_fill_e_minus_1): Likewise.
4545 (special_real_inputs): Add more special inputs.
4546 (output_for_one_input_case): Do not require ERANGE on underflow to
4547 zero if round-to-nearest result does not underflow to zero, unless
4548 exact results required.
4549 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
4550 atan, atanh, cbrt, cos and cosh.
4551 * math/auto-libm-test-out: Regenerated.
4552 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
4553 (acos_tonearest_test_data): Likewise.
4554 (acos_towardzero_test_data): Likewise.
4555 (acos_downward_test_data): Likewise.
4556 (acos_upward_test_data): Likewise.
4557 (acosh_test_data): Likewise.
4558 (asin_test_data): Likewise.
4559 (asin_tonearest_test_data): Likewise.
4560 (asin_towardzero_test_data): Likewise.
4561 (asin_upward_test_data): Likewise.
4562 (asinh_test_data): Likewise.
4563 (atan_test_data): Likewise.
4564 (atanh_test_data): Likewise.
4565 (cbrt_test_data): Likewise.
4566 (cos_test_data): Likewise.
4567 (cos_tonearest_test_data): Likewise.
4568 (cos_towardzero_test_data): Likewise.
4569 (cos_downward_test_data): Likewise.
4570 (cos_upward_test_data): Likewise.
4571 (cosh_test_data): Likewise.
4572 (cosh_tonearest_test_data): Likewise.
4573 (cosh_towardzero_test_data): Likewise.
4574 (cosh_downward_test_data): Likewise.
4575 (cosh_upward_test_data): Likewise.
4576 * sysdeps/i386/fpu/libm-test-ulps: Update.
4577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4578
ffb536d0
JM
45792013-11-29 Joseph Myers <joseph@codesourcery.com>
4580
2a77a467
JM
4581 [BZ #6787]
4582 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
4583 * math/w_exp10f.c (__exp10f): Likewise.
4584 * math/w_exp10l.c (__exp10l): Likewise.
4585 * math/libm-test.inc (exp10_test_data): Add more tests and expect
4586 errno settings in existing tests.
4587
ea3bc4e8
JM
4588 [BZ #14032]
4589 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
4590 precision control set to double precision.
4591 * sysdeps/i386/fpu/w_sqrt.c: New file.
4592 * math/auto-libm-test-in: Add more tests.
4593 * math/auto-libm-test-out: Update.
4594
0712c9d8
JM
4595 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
4596 (sqrt_test_tonearest): New function.
4597 (sqrt_towardzero_test_data): New variable.
4598 (sqrt_test_towardzero): New function.
4599 (sqrt_downward_test_data): New variable.
4600 (sqrt_test_downward): New function.
4601 (sqrt_upward_test_data): New variable.
4602 (sqrt_test_upward): New function.
4603 (main): Call the new functions.
4604
ffb536d0
JM
4605 * math/gen-auto-libm-tests.c: New file.
4606 * math/auto-libm-test-in: Likewise.
4607 * math/auto-libm-test-out: New generated file.
4608 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
4609 variables.
4610 (%beautify): Add generated representations of zero.
4611 (top level): Set $auto_input and call parse_auto_input.
4612 (beautify): Remove trailing "f" from hex float constants.
4613 (parse_args): Handle XFAIL_TEST.
4614 (convert_condition): New function.
4615 (or_value): Likewise.
4616 (or_cond_value): Likewise.
4617 (generate_testfile): Handle AUTO_TESTS_* lines.
4618 (parse_auto_input): New function.
4619 * math/libm-test.inc (XFAIL_TEST): New macro.
4620 (ERRNO_UNCHANGED): Update value.
4621 (ERRNO_EDOM): Likewise.
4622 (ERRNO_ERANGE): Likewise.
4623 (IGNORE_RESULT): Likewise.
4624 (TEST_COND_flt_32): New macro.
4625 (TEST_COND_dbl_64): Likewise.
4626 (TEST_COND_ldbl_96_intel): Likewise.
4627 (TEST_COND_ldbl_96_m68k): Likewise.
4628 (TEST_COND_ldbl_128): Likewise.
4629 (TEST_COND_ldbl_128ibm): Likewise.
4630 (TEST_COND_long32): Likewise.
4631 (TEST_COND_long64): Likewise.
4632 (TEST_COND_before_rounding): Likewise.
4633 (TEST_COND_after_rounding): Likewise.
4634 (enable_test): Handle XFAIL_TEST flag.
4635 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
4636 with finite results.
4637 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
4638 auto-libm-test-out.
4639
acd98a8e
AK
46402013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4641 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4642
4643 [BZ #16214]
4644 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
4645 __tls_get_addr_internal instead of __tls_get_offset in order to
4646 avoid GOT pointer dependency. Make rtld export
4647 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
4648 __tls_get_addr since we are a __tls_get_offset platform.
4649 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
4650 GOT pointer being set up before.
4651 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
4652
3c1c46a6
JM
46532013-11-28 Joseph Myers <joseph@codesourcery.com>
4654
7475aef5
JM
4655 * manual/math.texi (Errors in Math Functions): Document accuracy
4656 goals.
4657
8bca7cd8
JM
4658 [BZ #15004]
4659 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
4660 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
4661 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4662 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4663 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4664 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4665 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4666 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4667 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4668 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4669 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4670 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4671 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4672 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4673 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4674 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4675
91a1f3fe
JM
4676 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
4677 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
4678 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
4679 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
4680 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
4681 Likewise.
4682 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
4683 Likewise.
4684 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
4685 Likewise.
4686 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
4687 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
4688 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
4689 atomic-feupdateenv and flt-rounds.
4690 * sysdeps/powerpc/nofpu/Versions (libc): Add
4691 __atomic_feholdexcept, __atomic_feclearexcept,
4692 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
4693 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
4694 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
4695 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
4696 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
4697 here.
4698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4699 Update.
4700
c5df7609
JM
4701 * manual/arith.texi (FP Exceptions): Document that exceptions may
4702 not be raised when matherr is used.
4703 (Math Error Reporting): Document overflow in directed rounding
4704 modes. Document that errno may not be set when finite values are
4705 returned on overflow. Document intent to set errno on underflow
4706 only for underflow to zero.
4707
3c1c46a6
JM
4708 [BZ #16271]
4709 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
4710 round-to-nearest then adjust result for other rounding modes.
4711 * include/fenv.h (fegetround): Use libm_hidden_proto.
4712 * math/fegetround.c (fegetround): Use libm_hidden_def.
4713 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
4714 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
4715 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4716 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
4717 Likewise.
4718 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
4719 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4720 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
4721 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
4722
5a4c6d53
SP
47232013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4724
4725 [BZ #16077]
4726 * nss/Versions (libnss_files): Add
4727 _nss_files_gethostbyname3_r.
4728 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
4729 New function.
4730 (HOST_DB_LOOKUP): Remove macro.
4731 (_nss_files_gethostbyname_r): Implement function without the
4732 HOST_DB_LOOKUP macro.
4733 (_nss_files_gethostbyname2_r): Likewise.
4734
897b98ba
OB
47352013-11-28 Ondřej Bílka <neleai@seznam.cz>
4736
4737 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
4738
6f476861
UB
47392013-11-26 Uros Bizjak <ubizjak@gmail.com>
4740
4741 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
4742 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
4743 warning.
4744
bd12ab55
AZ
47452013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4746
4747 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
4748 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
4749 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4750 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4751 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
4752 __fe_nomask_env_priv and attribute_hidden.
4753 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
4754 (libc_feupdateenv_test_ppc): Likewise.
4755 (libc_feresetround_ppc): Likewise.
4756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4757 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
4758 compat_symbol macro.
4759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4760 (__fe_nomask_env): Likewise.
4761 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
4762
52bb6543
OB
47632013-11-26 Ondřej Bílka <neleai@seznam.cz>
4764
4765 * string/Makefile: Remove ifunc tests.
4766 * string/test-string.h: Define TEST_IFUNC.
4767 * string/test-bcopy-ifunc.c: Remove.
4768 * string/test-bzero-ifunc.c: Likewise.
4769 * string/test-memccpy-ifunc.c: Likewise.
4770 * string/test-memchr-ifunc.c: Likewise.
4771 * string/test-memcmp-ifunc.c: Likewise.
4772 * string/test-memcpy-ifunc.c: Likewise.
4773 * string/test-memmem-ifunc.c: Likewise.
4774 * string/test-memmove-ifunc.c: Likewise.
4775 * string/test-mempcpy-ifunc.c: Likewise.
4776 * string/test-memrchr-ifunc.c: Likewise.
4777 * string/test-memset-ifunc.c: Likewise.
4778 * string/test-rawmemchr-ifunc.c: Likewise.
4779 * string/test-stpcpy-ifunc.c: Likewise.
4780 * string/test-stpncpy-ifunc.c: Likewise.
4781 * string/test-strcasecmp-ifunc.c: Likewise.
4782 * string/test-strcasestr-ifunc.c: Likewise.
4783 * string/test-strcat-ifunc.c: Likewise.
4784 * string/test-strchr-ifunc.c: Likewise.
4785 * string/test-strchrnul-ifunc.c: Likewise.
4786 * string/test-strcmp-ifunc.c: Likewise.
4787 * string/test-strcpy-ifunc.c: Likewise.
4788 * string/test-strcspn-ifunc.c: Likewise.
4789 * string/test-strlen-ifunc.c: Likewise.
4790 * string/test-strncasecmp-ifunc.c: Likewise.
4791 * string/test-strncat-ifunc.c: Likewise.
4792 * string/test-strncmp-ifunc.c: Likewise.
4793 * string/test-strncpy-ifunc.c: Likewise.
4794 * string/test-strnlen-ifunc.c: Likewise.
4795 * string/test-strpbrk-ifunc.c: Likewise.
4796 * string/test-strrchr-ifunc.c: Likewise.
4797 * string/test-strspn-ifunc.c: Likewise.
4798 * string/test-strstr-ifunc.c: Likewise.
4799
ab260039 48002013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
4801
4802 * benchtests/Makefile: Remove ifunc tests.
4803 * benchtests/bench-string.h: Define TEST_IFUNC.
4804 * benchtests/bench-bcopy-ifunc.c: Remove.
4805 * benchtests/bench-bzero-ifunc.c: Likewise.
4806 * benchtests/bench-memccpy-ifunc.c: Likewise.
4807 * benchtests/bench-memchr-ifunc.c: Likewise.
4808 * benchtests/bench-memcmp-ifunc.c: Likewise.
4809 * benchtests/bench-memcpy-ifunc.c: Likewise.
4810 * benchtests/bench-memmem-ifunc.c: Likewise.
4811 * benchtests/bench-memmove-ifunc.c: Likewise.
4812 * benchtests/bench-mempcpy-ifunc.c: Likewise.
4813 * benchtests/bench-memrchr-ifunc.c: Likewise.
4814 * benchtests/bench-memset-ifunc.c: Likewise.
4815 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
4816 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
4817 * benchtests/bench-stpcpy-ifunc.c: Likewise.
4818 * benchtests/bench-stpncpy-ifunc.c: Likewise.
4819 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
4820 * benchtests/bench-strcasestr-ifunc.c: Likewise.
4821 * benchtests/bench-strcat-ifunc.c: Likewise.
4822 * benchtests/bench-strchr-ifunc.c: Likewise.
4823 * benchtests/bench-strchrnul-ifunc.c: Likewise.
4824 * benchtests/bench-strcmp-ifunc.c: Likewise.
4825 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
4826 * benchtests/bench-strcpy-ifunc.c: Likewise.
4827 * benchtests/bench-strcspn-ifunc.c: Likewise.
4828 * benchtests/bench-strlen-ifunc.c: Likewise.
4829 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
4830 * benchtests/bench-strncat-ifunc.c: Likewise.
4831 * benchtests/bench-strncmp-ifunc.c: Likewise.
4832 * benchtests/bench-strncpy-ifunc.c: Likewise.
4833 * benchtests/bench-strnlen-ifunc.c: Likewise.
4834 * benchtests/bench-strpbrk-ifunc.c: Likewise.
4835 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 4836 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
4837 * benchtests/bench-strspn-ifunc.c: Likewise.
4838 * benchtests/bench-strstr-ifunc.c: Likewise.
4839
48402013-11-26 Ondřej Bílka <neleai@seznam.cz>
4841
ab260039
OB
4842 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
4843
d1d9eaf4 48442013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 4845
d1d9eaf4
OB
4846 * resolv/netdb.h: Use __glibc_reserved instead __unused.
4847 * rt/aio.h: Likewise.
4848 * sysdeps/gnu/bits/utmp.h: Likewise.
4849 * sysdeps/gnu/bits/utmpx.h: Likewise.
4850 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4851 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
4852 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
4853 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
4854 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
4855 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
4856 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
4857 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
4858 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4859 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
4860 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
4861 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4862 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
4864 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4865 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
4866 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
4867 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
4868 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
4869 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4870 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
4871 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
4872 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
4873 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4874 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4875 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4876 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
4877 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
4878 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
4879 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4880 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4881 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
4882 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
4883 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4884 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
4885 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
4886 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
4887 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
4888 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4889 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
4890 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4891 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4892
a7624ed9
CD
48932013-11-25 Carlos O'Donell <carlos@redhat.com>
4894
4895 [BZ #16245]
4896 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
4897 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
4898
63cfe52b
JM
48992013-11-25 Joseph Myers <joseph@codesourcery.com>
4900
4901 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
4902 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4903 Likewise.
4904
41e8926a
AZ
49052013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4906
4907 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
4908 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
4909 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
4910 (__fesetround): Remove define.
4911 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
4912 rounding and exceptions handling.
4913 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
4914 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
4915 (__fe_nomask_env): Likewise.
4916 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
4917 __fegetround instead of fegetround.
4918 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4919 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4920
6851bd4d
RM
49212013-11-21 Roland McGrath <roland@hack.frob.com>
4922
070906ff
RM
4923 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
4924 it's there.
4925
6851bd4d
RM
4926 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
4927
84ae135d
MI
49282013-11-21 Meador Inge <meadori@codesourcery.com>
4929
4930 [BZ #11157]
4931 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
4932 (encrypt_r): Likewise.
4933 * malloc/obstack.h (obstack_free): Likewise.
4934 * posix/unistd.h (encrypt): Likewise.
4935
daf75146
GM
49362013-11-21 Guy Martin <gmsoft@tuxicoman.be>
4937
4938 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
4939 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
4940 DL_CALL_DT_FINI() that call the functions directly.
4941 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
4942 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
4943 * elf/dl-fini.c: Likewise.
4944
10ad46bc
OB
49452013-11-20 Ondřej Bílka <neleai@seznam.cz>
4946
4947 * malloc/hooks.c (memalign_check): Add alignment rounding.
4948 * malloc/malloc.c (_mid_memalign): New function.
4949 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
4950 Implement by calling _mid_memalign.
4951 * manual/probes.texi (Memory Allocation Probes): Remove
4952 memory_valloc_retry and memory_pvalloc_retry.
4953
f3fd2628
SP
49542013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4955
4712799f
SP
4956 * locale/programs/locarchive.c (open_archive): Add const
4957 qualifier to ARCHIVEFNAME and copy default fname to
4958 DEFAULT_FNAME.
4959
0417b20f
SP
4960 [BZ #15601]
4961 * libio/tst-widetext.input: Rename Oriya to Odia.
4962 * locale/iso-639.def: Likewise.
4963
f3fd2628
SP
4964 * manual/probes.texi (Mathematical Function Probes): Add
4965 documentation for sin, cos, asin and acos probes.
4966 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
4967 (__sin32): Add slowasin probe.
4968 (__cos32): Add slowacos probe.
4969 (__mpsin): Add slowsin probe.
4970 (__mpcos): Add slowcos probe.
4971
73c1ce4f
JM
49722013-11-19 Joseph Myers <joseph@codesourcery.com>
4973
4974 [BZ #15483]
4975 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
4976 thread-local __sim_exceptions_thread and global
4977 __sim_exceptions_global.
4978 (__sim_disabled_exceptions): Change to thread-local
4979 __sim_disabled_exceptions_thread and global
4980 __sim_disabled_exceptions_global.
4981 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4982 and global __sim_round_mode_global.
4983 (__simulate_exceptions): Use thread-local floating-point state and
4984 set global state from it as needed.
4985 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
4986 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
4987 __sim_round_mode_thread.
4988 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
4989 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
4990 and global __sim_exceptions_global.
4991 (__sim_disabled_exceptions): Change to thread-local
4992 __sim_disabled_exceptions_thread and global
4993 __sim_disabled_exceptions_global.
4994 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4995 and global __sim_round_mode_global.
4996 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
4997 (SIM_SET_GLOBAL): Likewise.
4998 * sysdeps/powerpc/soft-fp/sfp-machine.h
4999 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
5000 __sim_round_mode_thread.
5001 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
5002 __sim_disabled_exceptions_thread.
5003 (__sim_exceptions): Change to __sim_exceptions_thread.
5004 (__sim_disabled_exceptions): Change to
5005 __sim_disabled_exceptions_thread.
5006 (__sim_round_mode): Change to __sim_round_mode_thread.
5007 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
5008 thread-local floating-point state and set global state from it as
5009 needed.
5010 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
5011 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
5012 (__sim_disabled_exceptions): Remove extern declaration.
5013 (feenableexcept): Use thread-local floating-point state and set
5014 global state from it as needed.
5015 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
5016 extern declaration.
5017 (__sim_disabled_exceptions): Likewise.
5018 (__sim_round_mode): Likewise.
5019 (__fegetenv): Use thread-local floating-point state.
5020 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
5021 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
5022 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
5023 floating-point state and set global state from it as needed.
5024 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
5025 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5026 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
5027 Likewise.
5028 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
5029 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
5030 Likewise.
5031 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
5032 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
5033 Use __sim_round_mode_thread.
5034 * math/test-fenv-tls.c: New file.
5035 * math/Makefile (tests): Add test-fenv-tls.
5036 ($(objpfx)test-fenv-tls): Depend on
5037 $(common-objpfx)nptl/libpthread.so.
5038
b5449b12
AS
50392013-11-19 Andreas Schwab <schwab@suse.de>
5040
5041 * locale/programs/locale.c (show_info): Decode wordarray elements.
5042 * locale/categories.def (LC_MONETARY): Add element for
5043 _NL_MONETARY_CRNCYSTR.
5044 * locale/C-monetary.c (conversion_rate): New variable.
5045 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
5046 element.
5047
e186536b
CM
50482013-11-18 Chris Metcalf <cmetcalf@tilera.com>
5049
5050 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
5051 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
5052
5c349950
PP
50532013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5054
5055 * elf/Makefile (tst-auxv): New test.
5056 * elf/tst-auxv.c: New
5057 * elf/rtld.c (dl_main): Adjust AT_EXECFN
5058
699df45b
JM
50592013-11-18 Joseph Myers <joseph@codesourcery.com>
5060
5061 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
5062 (hidden_proto): Caller changed.
5063 (hidden_tls_proto): New macro.
5064 (libc_hidden_tls_proto): Likewise.
5065 (rtld_hidden_tls_proto): Likewise.
5066 (libm_hidden_tls_proto): Likewise.
5067 (libresolv_hidden_tls_proto): Likewise.
5068 (librt_hidden_tls_proto): Likewise.
5069 (libdl_hidden_tls_proto): Likewise.
5070 (libnss_files_hidden_tls_proto): Likewise.
5071 (libnsl_hidden_tls_proto): Likewise.
5072 (libnss_nisplus_hidden_tls_proto): Likewise.
5073 (libutil_hidden_tls_proto): Likewise.
5074
b7589107
OB
50752013-11-18 Ondřej Bílka <neleai@seznam.cz>
5076
5077 [BZ #10253]
5078 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
5079 (decompose_rpath): Defer expansion to fillin_rpath.
5080 (_dl_init_paths): Pass linkmap to fillin_rpath.
5081
250c23bd
RS
50822013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5083
5084 * benchtests/Makefile: Add strsep.
5085 * benchtests/bench-strsep.c: New file: strsep benchtest.
5086 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
5087
a7931fcf
AS
50882013-11-18 Andreas Schwab <schwab@suse.de>
5089
5090 * locale/programs/locale.c (show_info) [case byte]: Check for
5091 '\377' instead of '\177'.
5092 * locale/C-monetary.c (not_available): Always use "\377".
5093 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
5094 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
5095 detect unavailable sign_posn locale elements.
5096 * locale/localeconv.c (__localeconv): For grouping and
5097 mon_grouping handle "\177" and "\377" like no grouping.
5098 (INT_ELEM): New macro. Use it to set all numeric members.
5099 * locale/programs/ld-monetary.c (monetary_read)
5100 <tok_mon_grouping>: Normalize single -1 to the empty string.
5101 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
5102 Likewise.
5103
728dab0e
OB
51042013-11-07 Ondřej Bílka <neleai@seznam.cz>
5105
5106 [BZ #16055]
5107 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
5108 when we match (nil).
5109 * stdio-common/tst-sscanf.c (struct test): Add testcase.
5110
66294491
JM
51112013-11-16 Joseph Myers <joseph@codesourcery.com>
5112
ce665817
JM
5113 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
5114 (NO_TEST_INLINE): Update value.
5115 (ERRNO_UNCHANGED): Likewise.
5116 (ERRNO_EDOM): Likewise.
5117 (ERRNO_ERANGE): Likewise.
5118 (IGNORE_RESULT): Likewise.
5119 (check_float_internal): Check signs of NaN results if
5120 TEST_NAN_SIGN used.
5121 (check_complex): Pass TEST_NAN_SIGN flag through to second
5122 check_float_internal call.
5123 (copysign_test_data): Add tests with quiet NaNs as second
5124 argument. Use TEST_NAN_SIGN.
5125 (fabs_test_data): Add test of negative quiet NaN argument. Use
5126 TEST_NAN_SIGN.
5127 (signbit_test_data): Add tests of quiet NaN argument.
5128 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
5129
ee1466a9
JM
5130 * math/gen-libm-test.pl (show_exceptions): Take extra argument
5131 $ignore_result.
5132 (parse_args): Handle function results specified as IGNORE.
5133 * math/libm-test.inc (IGNORE_RESULT): New macro.
5134 (check_float_internal): Do not check numerical result if flag
5135 IGNORE_RESULT set.
5136 (check_complex): Pass through IGNORE_RESULT to second
5137 check_float_internal call.
5138 (check_int): Do not check numerical result if flag IGNORE_RESULT
5139 set.
5140 (check_long): Likewise.
5141 (check_bool): Likewise.
5142 (check_longlong): Likewise.
5143 (lrint_test_data): Add tests of infinite and NaN arguments.
5144 (lrint_tonearest_test_data): Likewise.
5145 (lrint_towardzero_test_data): Likewise.
5146 (lrint_downward_test_data): Likewise.
5147 (lrint_upward_test_data): Likewise.
5148 (llrint_test_data): Likewise.
5149 (llrint_tonearest_test_data): Likewise.
5150 (llrint_towardzero_test_data): Likewise.
5151 (llrint_downward_test_data): Likewise.
5152 (llrint_upward_test_data): Likewise.
5153 (lround_test_data): Likewise.
5154 (llround_test_data): Likewise.
5155
14407b7e
JM
5156 * math/libm-test.inc (NO_TEST_INLINE): New macro.
5157 (ERRNO_UNCHANGED): Update value.
5158 (ERRNO_EDOM): Likewise.
5159 (ERRNO_ERANGE): Likewise.
5160 (NO_TEST_INLINE_FLOAT): New macro.
5161 (NO_TEST_INLINE_DOUBLE): Likewise.
5162 (enable_test): New function.
5163 (RUN_TEST_f_f): Check enable_test before running test.
5164 (RUN_TEST_2_f): Likewise.
5165 (RUN_TEST_fff_f): Likewise.
5166 (RUN_TEST_c_f): Likewise.
5167 (RUN_TEST_f_f1): Likewise.
5168 (RUN_TEST_fF_f1): Likewise.
5169 (RUN_TEST_fI_f1): Likewise.
5170 (RUN_TEST_ffI_f1): Likewise.
5171 (RUN_TEST_c_c): Likewise.
5172 (RUN_TEST_cc_c): Likewise.
5173 (RUN_TEST_f_i): Likewise.
5174 (RUN_TEST_f_i_tg): Likewise.
5175 (RUN_TEST_ff_i_tg): Likewise.
5176 (RUN_TEST_f_b): Likewise.
5177 (RUN_TEST_f_b_tg): Likewise.
5178 (RUN_TEST_f_l): Likewise.
5179 (RUN_TEST_f_L): Likewise.
5180 (RUN_TEST_fFF_11): Likewise.
5181 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
5182 conditionals.
5183 (cosh_test_data): Likewise.
5184 (exp_test_data): Likewise.
5185 (expm1_test_data): Likewise.
5186 (hypot_test_data): Likewise.
5187 (pow_test_data): Likewise.
5188 (sinh_test_data): Likewise.
5189 (tanh_test_data): Likewise.
5190 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
5191 flags argument.
5192
ca07f197
JM
5193 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
5194 tests with quiet NaN input and output.
5195 (acosh_test_data): Likewise.
5196 (asin_test_data): Likewise.
5197 (asinh_test_data): Likewise.
5198 (atan_test_data): Likewise.
5199 (atanh_test_data): Likewise.
5200 (atan2_test_data): Likewise.
5201 (cbrt_test_data): Likewise.
5202 (cos_test_data): Likewise.
5203 (cosh_test_data): Likewise.
5204 (erf_test_data): Likewise.
5205 (erfc_test_data): Likewise.
5206 (exp_test_data): Likewise.
5207 (exp10_test_data): Likewise.
5208 (exp2_test_data): Likewise.
5209 (expm1_test_data): Likewise.
5210 (hypot_test_data): Likewise.
5211 (j0_test_data): Likewise.
5212 (j1_test_data): Likewise.
5213 (jn_test_data): Likewise.
5214 (lgamma_test_data): Likewise.
5215 (log_test_data): Likewise.
5216 (log10_test_data): Likewise.
5217 (log1p_test_data): Likewise.
5218 (log2_test_data): Likewise.
5219 (pow_test_data): Likewise.
5220 (scalb_test_data): Likewise.
5221 (sin_test_data): Likewise.
5222 (sincos_test_data): Likewise.
5223 (sinh_test_data): Likewise.
5224 (tan_test_data): Likewise.
5225 (tanh_test_data): Likewise.
5226 (tgamma_test_data): Likewise.
5227 (y0_test_data): Likewise.
5228 (y1_test_data): Likewise.
5229 (yn_test_data): Likewise.
5230
66294491
JM
5231 [BZ #16167]
5232 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
5233 argument being NaN and avoid computations with second argument in
5234 that case.
5235 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5236 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5237 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5238
1820b143
CL
52392013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
5240
5241 * locale/iso-639.def: Add Chitwani Tharu (the).
5242
714bd261
AS
52432013-11-14 Andreas Schwab <schwab@suse.de>
5244
5245 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
5246 word instead of empty string.
5247
7ab44563
AZ
52482013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5249
5250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5251 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
5252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5253 (__fe_nomask_env): Likewise.
5254
e8470ea2
SE
52552013-11-13 Steve Ellcey <sellcey@mips.com>
5256
5257 * benchtests/bench-timing.h: Include time.h.
5258
17c1d9f0
L
52592013-11-13 H.J. Lu <hongjiu.lu@intel.com>
5260
5261 [BZ #15997]
5262 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
5263 to 3.4.0 for x32.
5264 * sysdeps/unix/sysv/linux/configure: Regenerated.
5265
9310c284
JM
52662013-11-13 Joseph Myers <joseph@codesourcery.com>
5267
5268 [BZ #16151]
5269 * stdlib/strtod_l.c (round_and_return): Do not consider
5270 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
5271 exponent one less than half the least subnormal exponent.
5272 * stdlib/test-strtod-round-data: Add more tests.
5273 * stdlib/tst-strtod-round.c (tests): Regenerated.
5274
7a2ad8cf
AZ
52752013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5276
5277 [BZ #14143]
5278 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
5279 (__fe_mask_env): Likewise.
5280 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
5281 libm_hidden_proto and add function prototype.
5282 (__fe_mask_env): Add function prototype.
5283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5284 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
5285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5286 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
5287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5288 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
5289
50727aa7
MS
52902013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5291
b2f386c1 5292 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
5293 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
5294
a615be46
MS
52952013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5296
5297 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
5298 of htab_find_slot().
5299
7ddace62
DM
53002013-11-11 David S. Miller <davem@davemloft.net>
5301
5302 [BZ #16150]
5303 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
5304 symbol in the non-vis3 case in static builds.
5305 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
5306 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
5307 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
5308 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
5309
9182aa67
JK
53102013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5311
5312 [BZ #387]
5313 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
5314 it is empty.
5315
450a2e2d
AZ
53162013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5317
b2f386c1
SP
5318 * benchtests/Makefile: Add bench-strtod.
5319 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 5320
8ec3f656
AS
53212013-11-11 Andreas Schwab <schwab@suse.de>
5322
5323 [BZ #16153]
5324 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
5325 terminating NUL in key length.
5326
76a9b998
AZ
53272013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5328
5329 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
5330 Add artificial ODP entry for vDSO symbol for PPC64.
5331 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
5332 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5333
e4368156
OB
53342013-11-07 Ondřej Bílka <neleai@seznam.cz>
5335
5336 [BZ #15374]
5337 * nss/getent.c (services_keys): Recognize services starting with digit.
5338
8d6bb57c
DM
53392013-11-06 David S. Miller <davem@davemloft.net>
5340
5341 [BZ #15985]
5342 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
5343 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
5344
e256c421
WN
53452013-11-06 Will Newton <will.newton@linaro.org>
5346
5347 * manual/memory.texi (Malloc Examples): Remove register
5348 keyword from examples.
5349
f6e12daa 53502013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 5351
f6e12daa 5352 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 5353
9d880655
AS
53542013-11-04 Joseph Myers <joseph@codesourcery.com>
5355
fd2f9486 5356 [BZ #6981]
9d880655
AS
5357 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
5358 depending on [__GCC_IEC_559 > 0].
5359 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
5360 depending on [__GCC_IEC_559_COMPLEX > 0].
5361
ae129d3c
CL
53622013-11-03 Chris Leonard <cjl@sugarlabs.org>
5363
5364 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
5365 to iso-639.def.
5366
4a15c2a4 53672013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
5368
5369 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
5370
8b35e35d
OB
53712013-11-01 Ondřej Bílka <neleai@seznam.cz>
5372
5373 [BZ #16112]
5374 * malloc/malloc (malloc_info): Do not handle first bin as
5375 special case.
5376
1d70fd6c
CL
53772013-11-01 Chris Leonard <cjl@sugarlabs.org>
5378
5379 * locale/iso-639.def: Add Central Nahuatl (nhn).
5380
8c5c2600
BH
53812013-11-01 Bruno Haible <bruno@clisp.org>
5382
5383 [BZ #7003]
5384 * manual/math.texi (BSD Random): Specify range upper bound as
5385 in POSIX.
5386
da5579c2
CL
53872013-10-31 Chris Leonard <cjl@sugarlabs.org>
5388
5389 * locale/iso-639.def: Add Meadow Mari (mhr).
5390
5d30d853
OB
53912013-10-31 Ondřej Bílka <neleai@seznam.cz>
5392
5393 [BZ #14752], [BZ #15763]
5394 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
5395 Validate name.
5396 * rt/tst_shm.c: Add test for escaping directory.
5397
a4966c61
AS
53982013-10-31 Andreas Schwab <schwab@suse.de>
5399
8a43e768 5400 [BZ #15917]
a4966c61
AS
5401 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
5402 followed by 'x' as part of digit sequence.
5403 * stdio-common/tst-sscanf.c (double_tests2): New tests.
5404
28d708c4
MAP
54052013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
5406
5407 [BZ #16037]
5408 * configure.ac: allow GNU Make 4.0 and greater.
5409 * configure: Regenerated.
5410
a56ee40b
WN
54112013-10-30 Will Newton <will.newton@linaro.org>
5412
5413 [BZ #16038]
5414 * malloc/hooks.c (memalign_check): Limit alignment to the
5415 maximum representable power of two.
5416 * malloc/malloc.c (__libc_memalign): Likewise.
5417 * malloc/tst-memalign.c (do_test): Add test for very
5418 large alignment values.
5419 * malloc/tst-posix_memalign.c (do_test): Likewise.
5420
c6e4925d
OB
54212013-10-30 Ondřej Bílka <neleai@seznam.cz>
5422
5423 [BZ #11087]
5424 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
5425 (munmap_chunk): Likewise.
5426 (mremap_chunk): Likewise.
5427
54282013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 5429
8a43e768 5430 [BZ #15799]
bbea82f7
OB
5431 * stdlib/div.c (div): Remove obsolete code.
5432 * stdlib/ldiv.c (ldiv): Likewise.
5433 * stdlib/lldiv.c (lldiv): Likewise.
5434
977f4b31
SP
54352013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5436
5437 [BZ #16071]
5438 * nss/nss_files/files-XXX.c (get_contents_ret): New
5439 enumerator.
5440 (get_contents): New function.
5441 (internal_getent): Use it. Expand size of LINEBUFLEN.
5442
cb8a6dbd
MF
54432013-10-30 Mike Frysinger <vapier@gentoo.org>
5444
5445 * configure.in: Moved to ...
5446 * configure.ac: ... here. Change reference to configure.in
5447 to configure.ac.
5448 * sysdeps/arm/preconfigure.ac: ... here.
5449 configure.in to configure.ac.
5450 * sysdeps/gnu/configure.in: Moved to ...
5451 * sysdeps/gnu/configure.ac: ... here.
5452 * sysdeps/i386/configure.in: Moved to ...
5453 * sysdeps/i386/configure.ac: ... here.
5454 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
5455 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
5456 * sysdeps/mach/configure.in: Moved to ...
5457 * sysdeps/mach/configure.ac: ... here.
5458 * sysdeps/mach/hurd/configure.in: Moved to ...
5459 * sysdeps/mach/hurd/configure.ac: ... here.
5460 * sysdeps/powerpc/configure.in: Moved to ...
5461 * sysdeps/powerpc/configure.ac: ... here.
5462 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
5463 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
5464 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
5465 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
5466 * sysdeps/s390/s390-32/configure.in: Moved to ...
5467 * sysdeps/s390/s390-32/configure.ac: ... here.
5468 * sysdeps/s390/s390-64/configure.in: Moved to ...
5469 * sysdeps/s390/s390-64/configure.ac: ... here.
5470 * sysdeps/sh/configure.in: Moved to ...
5471 * sysdeps/sh/configure.ac: ... here.
5472 * sysdeps/sparc/configure.in: Moved to ...
5473 * sysdeps/sparc/configure.ac: ... here.
5474 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
5475 * sysdeps/unix/sysv/linux/configure.ac: ... here.
5476 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
5477 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
5478 * sysdeps/x86_64/configure.in: Moved to ...
5479 * sysdeps/x86_64/configure.ac: ... here.
5480 * sysdeps/x86_64/preconfigure.in: Moved to ...
5481 * sysdeps/x86_64/preconfigure.ac: ... here.
5482 * aclocal.m4: Change reference to configure.in to configure.ac.
5483 * config.h.in: Likewise.
5484 * manual/install.texi: Likewise.
5485 * manual/maint.texi: Likewise.
5486 * Makefile: Likewise.
5487 * malloc/Makefile: Likewise.
5488 * nscd/Makefile: Likewise.
5489 * Makeconfig: Change reference to configure.in and
5490 preconfigure.in to configure.ac and preconfigure.ac
5491 respectively.
5492 * INSTALL: Regenerated.
5493 * configure: Likewise.
5494 * sysdeps/gnu/configure: Likewise.
5495 * sysdeps/i386/configure: Likewise.
5496 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
5497 * sysdeps/mach/configure: Likewise.
5498 * sysdeps/mach/hurd/configure: Likewise.
5499 * sysdeps/powerpc/configure: Likewise.
5500 * sysdeps/powerpc/powerpc32/configure: Likewise.
5501 * sysdeps/powerpc/powerpc64/configure: Likewise.
5502 * sysdeps/s390/s390-32/configure: Likewise.
5503 * sysdeps/s390/s390-64/configure: Likewise.
5504 * sysdeps/sh/configure: Likewise.
5505 * sysdeps/sparc/configure: Likewise.
5506 * sysdeps/unix/sysv/linux/configure: Likewise.
5507 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
5508 * sysdeps/x86_64/configure: Likewise.
5509 * sysdeps/x86_64/preconfigure: Likewise.
5510
36a4953a
AS
55112013-10-29 Andreas Schwab <schwab@suse.de>
5512
5513 * stdio-common/Makefile (tst-swscanf-ENV): Define.
5514
c79a1204
SP
55152013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5516
dfa1b402
SP
5517 * benchtests/pow-inputs: Add new inputs.
5518
54f73d9c
SP
5519 * benchtests/exp-inputs: Add new inputs.
5520
c79a1204
SP
5521 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
5522 conditional check for return value.
5523 (__cos32): Likewise.
5524
67beb545 55252013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
5526
5527 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
5528 to provide a boost for large inputs with word alignment.
5529 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
5530 implementation based on optimized PPC64 strcpy.
5531 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
5532 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
5533 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
5534 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
5535
151659f6
OB
55362013-10-25 Ondřej Bílka <neleai@seznam.cz>
5537
482a077e 5538 [BZ #2801]
151659f6
OB
5539 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
5540
10b0f26b
OB
55412013-10-25 Ondřej Bílka <neleai@seznam.cz>
5542
5543 [BZ #14876]
5544 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
5545 * time/tst-strptime.c (day_tests): Add testcase.
5546
ca42d35e
OB
55472013-10-25 Ondřej Bílka <neleai@seznam.cz>
5548
482a077e 5549 [BZ #14029]
ca42d35e
OB
5550 * manual/pattern.texi: Acknowledge that fnmatch can fail.
5551
52e6d801
FB
55522013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
5553
5554 [BZ #16074]
5555 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
5556 MAP_FAILED on error.
5557
7cbcdb36
SP
55582013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5559
5560 [BZ #16072]
5561 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
5562 heap for large requests.
5563
894f3f10
AM
55642013-10-25 Aurelien Jarno <aurelien@aurel32.net>
5565
5566 [BZ #9954]
5567 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
5568 result if the result has no associated interface.
5569 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
5570 interface for all 127.X.Y.Z addresses.
5571
b85545a6
CL
55722013-10-24 Chris Leonard <cjl@sugarlabs.org>
5573
5574 * locale/iso-639.def: Add Ligurian (lij)
5575
d1f23d46
OB
55762013-10-21 Ondřej Bílka <neleai@seznam.cz>
5577
5578 [BZ #15825]
5579 * sunrpc/rpc_main.c: Document rpcgen -5.
5580
4db5b08f
MS
55812013-10-19 Michael Stahl <mstahl@redhat.com>
5582
5583 * elf/rtld.c (do_preload): Print the reason why preloading failed.
5584
a471e96a
OB
55852013-10-19 Ondřej Bílka <neleai@seznam.cz>
5586
d1f23d46 5587 [BZ #10278]
a471e96a
OB
5588 * posix/glob.c: Match only directories when trailing slash is present.
5589 * posix/tst-gnuglob.c (my_opendir): Do not open files.
5590 (main): Add testcase.
5591
45c30c61
OB
55922013-10-19 Ondřej Bílka <neleai@seznam.cz>
5593
5594 [BZ #15670]
5595 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
5596
484c12fb
CD
55972013-10-18 Carlos O'Donell <carlos@redhat.com>
5598
3d7dc513
CD
5599 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
5600 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
5601 AUTH_DES and cindex for FIPS 140-2.
5602 (DES Encryption): Add cindex FIPS 46-3.
5603
484c12fb
CD
5604 * locale/locarchive.h (struct locarhandle): Add fname.
5605 * locale/programs/localedef.c (main): Pass ARGV[remaining]
5606 if an optional argument was specified to --list-archive,
5607 otherwise NULL.
5608 * locale/programs/locarchive.c (show_archive_content): Take new
5609 argument fname and pass it via ah.fname to open_archive.
5610 * locale/programs/localedef.h: Update decl.
5611 (open_archive): If AH->fname is non-null, open that file
5612 rather than the default file name, and don't ignore ENOENT.
5613 (create_archive): Set AH.fname to NULL.
5614 (delete_locales_from_archive): Likewise.
5615 (add_locales_to_archive): Likewise.
5616 * locale/programs/locfile.c (write_all_categories): Likewise.
5617
3c8325fb
JM
56182013-10-18 Joseph Myers <joseph@codesourcery.com>
5619 Aldy Hernandez <aldyh@redhat.com>
5620
5621 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
5622 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
5623 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
5624 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
5625 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
5626 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
5627 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
5628 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
5629 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
5630 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
5631 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
5632 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
5633 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
5634 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
5635 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
5636 Likewise.
5637 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
5638 Likewise.
5639 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
5640 Likewise.
5641 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
5642 Likewise.
5643 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
5644 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
5645 Likewise.
5646 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
5647 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
5648 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
5649 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
5650 Likewise.
5651 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
5652 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
5653 * sysdeps/powerpc/preconfigure: Likewise.
5654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
5655 Likewise.
5656 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
5657 Replace contents of file by #include of <fenv_libc.h>.
5658 * sysdeps/powerpc/soft-fp/sfp-machine.h
5659 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
5660 and <sys/prctl.h>.
5661 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
5662 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
5663 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
5664 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
5665 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
5666 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
5667 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
5668 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
5669 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
5670 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
5671 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
5672 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
5673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5674 Allow copysignl PLT reference to be missing.
5675
5abe0682
RS
56762013-10-18 Richard Sandiford <richard@codesourcery.com>
5677 Joseph Myers <joseph@codesourcery.com
5678
5679 [BZ #15948]
5680 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
5681 single character.
5682 (add_to_tablewc): Assert sequence of wide characters is nonempty.
5683
c7738d08
SP
56842013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5685
5686 * elf/tst-tls-dlinfo.c: Don't include tls.h.
5687 * elf/tst-tls1.c: Likewise.
5688 * elf/tst-tls10.h: Likewise.
5689 * elf/tst-tls14.c: Likewise.
5690 * elf/tst-tls2.c: Likewise.
5691 * elf/tst-tls3.c: Likewise.
5692 * elf/tst-tls4.c: Likewise.
5693 * elf/tst-tls5.c: Likewise.
5694 * elf/tst-tls6.c: Likewise.
5695 * elf/tst-tls7.c: Likewise.
5696 * elf/tst-tls8.c: Likewise.
5697 * elf/tst-tls9.c: Likewise.
5698 * elf/tst-tlsmod1.c: Likewise.
5699 * elf/tst-tlsmod13.c: Likewise.
5700 * elf/tst-tlsmod13a.c: Likewise.
5701 * elf/tst-tlsmod14a.c: Likewise.
5702 * elf/tst-tlsmod16a.c: Likewise.
5703 * elf/tst-tlsmod16b.c: Likewise.
5704 * elf/tst-tlsmod2.c: Likewise.
5705 * elf/tst-tlsmod3.c: Likewise.
5706 * elf/tst-tlsmod4.c: Likewise.
5707 * elf/tst-tlsmod5.c: Likewise.
5708 * elf/tst-tlsmod6.c: Likewise.
5709
0bfcf2c7
OB
57102013-10-18 Ondřej Bílka <neleai@seznam.cz>
5711
5712 [BZ #12486]
5713 * malloc/malloc.c: remove checks for statistics.
5714
264aad1e
OB
57152013-10-17 Ondřej Bílka <neleai@seznam.cz>
5716
5717 [BZ #15277]
5718 * inet/inet_net.c (inet_network): Detect additional invalid strings.
5719 * inet/tst-network.c: Add testcase.
5720
b957ced8
AS
57212013-10-17 Andreas Schwab <schwab@suse.de>
5722
5723 [BZ #15218]
5724 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
5725 to determine canonical name.
5726
c5d5d574
OB
57272013-10-17 Ondřej Bílka <neleai@seznam.cz>
5728
5729 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
5730 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
5731 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5732 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5733 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5734 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5735 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5736 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5737 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5738 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5739 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5740 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5741 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5742 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5743 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5744 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5745 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5746 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5747 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5748 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5749 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5750 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5751 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5752 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
5753 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
5754 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5755 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5756 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
5757 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5758 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
5759 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5760 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5761 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5762 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5763 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5764 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5765 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5766 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5767 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5768 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5769 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5770 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5771 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5772 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5773 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5774 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5775 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5776 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5777 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5778 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5779 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5780 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5781 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5782 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5783 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5784 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5785 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5786 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5787
e5c2c2d0
JM
57882013-10-17 Joseph Myers <joseph@codesourcery.com>
5789
5790 [BZ #16041]
5791 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
5792 make result into a quiet NaN.
5793
51ca9e29
JM
57942013-10-16 Joseph Myers <joseph@codesourcery.com>
5795
5796 * soft-fp/adddf3.c: Fix horizontal whitespace.
5797 * soft-fp/addsf3.c: Likewise.
5798 * soft-fp/addtf3.c: Likewise.
5799 * soft-fp/divdf3.c: Likewise.
5800 * soft-fp/divsf3.c: Likewise.
5801 * soft-fp/divtf3.c: Likewise.
5802 * soft-fp/double.h: Likewise.
5803 * soft-fp/eqdf2.c: Likewise.
5804 * soft-fp/eqsf2.c: Likewise.
5805 * soft-fp/eqtf2.c: Likewise.
5806 * soft-fp/extenddftf2.c: Likewise.
5807 * soft-fp/extended.h: Likewise.
5808 * soft-fp/extendsfdf2.c: Likewise.
5809 * soft-fp/extendsftf2.c: Likewise.
5810 * soft-fp/extendxftf2.c: Likewise.
5811 * soft-fp/fixdfdi.c: Likewise.
5812 * soft-fp/fixdfsi.c: Likewise.
5813 * soft-fp/fixdfti.c: Likewise.
5814 * soft-fp/fixsfdi.c: Likewise.
5815 * soft-fp/fixsfsi.c: Likewise.
5816 * soft-fp/fixsfti.c: Likewise.
5817 * soft-fp/fixtfdi.c: Likewise.
5818 * soft-fp/fixtfsi.c: Likewise.
5819 * soft-fp/fixtfti.c: Likewise.
5820 * soft-fp/fixunsdfdi.c: Likewise.
5821 * soft-fp/fixunsdfsi.c: Likewise.
5822 * soft-fp/fixunsdfti.c: Likewise.
5823 * soft-fp/fixunssfdi.c: Likewise.
5824 * soft-fp/fixunssfsi.c: Likewise.
5825 * soft-fp/fixunssfti.c: Likewise.
5826 * soft-fp/fixunstfdi.c: Likewise.
5827 * soft-fp/fixunstfsi.c: Likewise.
5828 * soft-fp/fixunstfti.c: Likewise.
5829 * soft-fp/floatdidf.c: Likewise.
5830 * soft-fp/floatdisf.c: Likewise.
5831 * soft-fp/floatditf.c: Likewise.
5832 * soft-fp/floatsidf.c: Likewise.
5833 * soft-fp/floatsisf.c: Likewise.
5834 * soft-fp/floatsitf.c: Likewise.
5835 * soft-fp/floattidf.c: Likewise.
5836 * soft-fp/floattisf.c: Likewise.
5837 * soft-fp/floattitf.c: Likewise.
5838 * soft-fp/floatundidf.c: Likewise.
5839 * soft-fp/floatundisf.c: Likewise.
5840 * soft-fp/floatunditf.c: Likewise.
5841 * soft-fp/floatunsidf.c: Likewise.
5842 * soft-fp/floatunsisf.c: Likewise.
5843 * soft-fp/floatunsitf.c: Likewise.
5844 * soft-fp/floatuntidf.c: Likewise.
5845 * soft-fp/floatuntisf.c: Likewise.
5846 * soft-fp/floatuntitf.c: Likewise.
5847 * soft-fp/fmadf4.c: Likewise.
5848 * soft-fp/fmasf4.c: Likewise.
5849 * soft-fp/fmatf4.c: Likewise.
5850 * soft-fp/gedf2.c: Likewise.
5851 * soft-fp/gesf2.c: Likewise.
5852 * soft-fp/getf2.c: Likewise.
5853 * soft-fp/ledf2.c: Likewise.
5854 * soft-fp/lesf2.c: Likewise.
5855 * soft-fp/letf2.c: Likewise.
5856 * soft-fp/muldf3.c: Likewise.
5857 * soft-fp/mulsf3.c: Likewise.
5858 * soft-fp/multf3.c: Likewise.
5859 * soft-fp/negdf2.c: Likewise.
5860 * soft-fp/negsf2.c: Likewise.
5861 * soft-fp/negtf2.c: Likewise.
5862 * soft-fp/op-1.h: Likewise.
5863 * soft-fp/op-2.h: Likewise.
5864 * soft-fp/op-4.h: Likewise.
5865 * soft-fp/op-8.h: Likewise.
5866 * soft-fp/op-common.h: Likewise.
5867 * soft-fp/quad.h: Likewise.
5868 * soft-fp/single.h: Likewise.
5869 * soft-fp/soft-fp.h: Likewise.
5870 * soft-fp/sqrtdf2.c: Likewise.
5871 * soft-fp/sqrtsf2.c: Likewise.
5872 * soft-fp/sqrttf2.c: Likewise.
5873 * soft-fp/subdf3.c: Likewise.
5874 * soft-fp/subsf3.c: Likewise.
5875 * soft-fp/subtf3.c: Likewise.
5876 * soft-fp/truncdfsf2.c: Likewise.
5877 * soft-fp/trunctfdf2.c: Likewise.
5878 * soft-fp/trunctfsf2.c: Likewise.
5879 * soft-fp/trunctfxf2.c: Likewise.
5880 * soft-fp/unorddf2.c: Likewise.
5881 * soft-fp/unordsf2.c: Likewise.
5882 * soft-fp/unordtf2.c: Likewise.
5883
9ebb0332
JM
58842013-10-15 Joseph Myers <joseph@codesourcery.com>
5885
5886 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
5887 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
5888
4b1a6d8b
OB
58892013-10-15 Ondřej Bílka <neleai@seznam.cz>
5890
5891 * elf/dl-libc.c: Clear initfini list after freeing.
5892
1e145589
JM
58932013-10-14 Joseph Myers <joseph@codesourcery.com>
5894
5895 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
5896 * soft-fp/addsf3.c: Likewise.
5897 * soft-fp/addtf3.c: Likewise.
5898 * soft-fp/divdf3.c: Likewise.
5899 * soft-fp/divsf3.c: Likewise.
5900 * soft-fp/divtf3.c: Likewise.
5901 * soft-fp/double.h: Likewise.
5902 * soft-fp/eqdf2.c: Likewise.
5903 * soft-fp/eqsf2.c: Likewise.
5904 * soft-fp/eqtf2.c: Likewise.
5905 * soft-fp/extenddftf2.c: Likewise.
5906 * soft-fp/extended.h: Likewise.
5907 * soft-fp/extendsfdf2.c: Likewise.
5908 * soft-fp/extendsftf2.c: Likewise.
5909 * soft-fp/extendxftf2.c: Likewise.
5910 * soft-fp/fixdfdi.c: Likewise.
5911 * soft-fp/fixdfsi.c: Likewise.
5912 * soft-fp/fixdfti.c: Likewise.
5913 * soft-fp/fixsfdi.c: Likewise.
5914 * soft-fp/fixsfsi.c: Likewise.
5915 * soft-fp/fixsfti.c: Likewise.
5916 * soft-fp/fixtfdi.c: Likewise.
5917 * soft-fp/fixtfsi.c: Likewise.
5918 * soft-fp/fixtfti.c: Likewise.
5919 * soft-fp/fixunsdfdi.c: Likewise.
5920 * soft-fp/fixunsdfsi.c: Likewise.
5921 * soft-fp/fixunsdfti.c: Likewise.
5922 * soft-fp/fixunssfdi.c: Likewise.
5923 * soft-fp/fixunssfsi.c: Likewise.
5924 * soft-fp/fixunssfti.c: Likewise.
5925 * soft-fp/fixunstfdi.c: Likewise.
5926 * soft-fp/fixunstfsi.c: Likewise.
5927 * soft-fp/fixunstfti.c: Likewise.
5928 * soft-fp/floatdidf.c: Likewise.
5929 * soft-fp/floatdisf.c: Likewise.
5930 * soft-fp/floatditf.c: Likewise.
5931 * soft-fp/floatsidf.c: Likewise.
5932 * soft-fp/floatsisf.c: Likewise.
5933 * soft-fp/floatsitf.c: Likewise.
5934 * soft-fp/floattidf.c: Likewise.
5935 * soft-fp/floattisf.c: Likewise.
5936 * soft-fp/floattitf.c: Likewise.
5937 * soft-fp/floatundidf.c: Likewise.
5938 * soft-fp/floatundisf.c: Likewise.
5939 * soft-fp/floatunsidf.c: Likewise.
5940 * soft-fp/floatunsisf.c: Likewise.
5941 * soft-fp/floatuntidf.c: Likewise.
5942 * soft-fp/floatuntisf.c: Likewise.
5943 * soft-fp/floatuntitf.c: Likewise.
5944 * soft-fp/fmadf4.c: Likewise.
5945 * soft-fp/fmasf4.c: Likewise.
5946 * soft-fp/fmatf4.c: Likewise.
5947 * soft-fp/gedf2.c: Likewise.
5948 * soft-fp/gesf2.c: Likewise.
5949 * soft-fp/getf2.c: Likewise.
5950 * soft-fp/ledf2.c: Likewise.
5951 * soft-fp/lesf2.c: Likewise.
5952 * soft-fp/letf2.c: Likewise.
5953 * soft-fp/muldf3.c: Likewise.
5954 * soft-fp/mulsf3.c: Likewise.
5955 * soft-fp/multf3.c: Likewise.
5956 * soft-fp/negdf2.c: Likewise.
5957 * soft-fp/negsf2.c: Likewise.
5958 * soft-fp/negtf2.c: Likewise.
5959 * soft-fp/op-1.h: Likewise.
5960 * soft-fp/op-2.h: Likewise.
5961 * soft-fp/op-4.h: Likewise.
5962 * soft-fp/op-8.h: Likewise.
5963 * soft-fp/op-common.h: Likewise.
5964 * soft-fp/quad.h: Likewise.
5965 * soft-fp/single.h: Likewise.
5966 * soft-fp/soft-fp.h: Likewise.
5967 * soft-fp/sqrtdf2.c: Likewise.
5968 * soft-fp/sqrtsf2.c: Likewise.
5969 * soft-fp/sqrttf2.c: Likewise.
5970 * soft-fp/subdf3.c: Likewise.
5971 * soft-fp/subsf3.c: Likewise.
5972 * soft-fp/subtf3.c: Likewise.
5973 * soft-fp/truncdfsf2.c: Likewise.
5974 * soft-fp/trunctfdf2.c: Likewise.
5975 * soft-fp/trunctfsf2.c: Likewise.
5976 * soft-fp/trunctfxf2.c: Likewise.
5977 * soft-fp/unorddf2.c: Likewise.
5978 * soft-fp/unordsf2.c: Likewise.
5979 * soft-fp/unordtf2.c: Likewise.
5980
17c48a60
OB
59812013-10-14 Ondřej Bílka <neleai@seznam.cz>
5982
5983 [BZ #15672]
5984 * misc/error.c (error_tail): Fix possible buffer overflow.
5985
cabba934
OB
59862013-10-14 Aurelien Jarno <aurelien@aurel32.net>
5987
5988 [BZ #13028]
5989 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
5990 address.
5991
94bf958a
PM
59922013-10-14 P. J. McDermott <pj@pehjota.net>
5993
5994 [BZ #832]
5995 * elf/ldd.bash.in (try_trace): New function. Delete previous code
5996 testing pipefail option.
5997
71b4dea7
JM
59982013-10-12 Joseph Myers <joseph@codesourcery.com>
5999
6000 * soft-fp/double.h: Indent preprocessor directives inside #if.
6001 * soft-fp/extended.h: Likewise.
6002 * soft-fp/op-2.h: Likewise.
6003 * soft-fp/op-4.h: Likewise.
6004 * soft-fp/op-common.h: Likewise.
6005 * soft-fp/quad.h: Likewise.
6006 * soft-fp/single.h: Likewise.
6007 * soft-fp/soft-fp.h: Likewise.
6008
55602758
YC
60092013-10-12 Yuri Chornoivan <yurchor@ukr.net>
6010
6011 * iconv/iconv_prog.c: Fix typos.
6012 * stdio-common/psiginfo-data.h: Likewise.
6013
9cd83302
RT
60142013-10-12 Reuben Thomas <rrt@sc3d.org>
6015
6016 [BZ #15764]
6017 * locale/setlocale.c: Fix typo.
6018
99fd9f47
JM
60192013-10-12 Joseph Myers <joseph@codesourcery.com>
6020
b7ea74f0
JM
6021 [BZ #16036]
6022 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
6023 signaling NaN arguments.
6024 * soft-fp/unordsf2.c (__unordsf2): Likewise.
6025 * soft-fp/unordtf2.c (__unordtf2): Likewise.
6026
8a509447
JM
6027 [BZ #14910]
6028 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
6029 unordered operands.
6030 * soft-fp/gesf2.c (__gesf2): Likewise.
6031 * soft-fp/getf2.c (__getf2): Likewise.
6032 * soft-fp/ledf2.c (__ledf2): Likewise.
6033 * soft-fp/lesf2.c (__lesf2): Likewise.
6034 * soft-fp/letf2.c (__letf2): Likewise.
6035
98998e9f
JM
6036 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
6037 * soft-fp/eqsf2.c (__eqsf2): Likewise.
6038 * soft-fp/eqtf2.c (__eqtf2): Likewise.
6039 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
6040 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
6041 * soft-fp/fixdfti.c (__fixdfti): Likewise.
6042 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
6043 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
6044 * soft-fp/fixsfti.c (__fixsfti): Likewise.
6045 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
6046 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
6047 * soft-fp/fixtfti.c (__fixtfti): Likewise.
6048 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
6049 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
6050 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
6051 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
6052 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
6053 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
6054 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
6055 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
6056 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
6057 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
6058 * soft-fp/floatdisf.c (__floatdisf): Likewise.
6059 * soft-fp/floatsisf.c (__floatsisf): Likewise.
6060 * soft-fp/floattidf.c (__floattidf): Likewise.
6061 * soft-fp/floattisf.c (__floattisf): Likewise.
6062 * soft-fp/floattitf.c (__floattitf): Likewise.
6063 * soft-fp/floatundidf.c (__floatundidf): Likewise.
6064 * soft-fp/floatundisf.c (__floatundisf): Likewise.
6065 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
6066 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
6067 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
6068 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
6069 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
6070 * soft-fp/gesf2.c (__gesf2): Likewise.
6071 * soft-fp/getf2.c (__getf2): Likewise.
6072 * soft-fp/ledf2.c (__ledf2): Likewise.
6073 * soft-fp/lesf2.c (__lesf2): Likewise.
6074 * soft-fp/letf2.c (__letf2): Likewise.
6075
8edc4a11
JM
6076 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
6077 Undefine and redefine.
6078 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
6079 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
6080 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
6081 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
6082 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6083 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
6084 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6085 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
6086 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6087 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
6088 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6089 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
6090 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6091 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
6092 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6093
8399acaf
JM
6094 [BZ #16032]
6095 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
6096 without decrementing exponent if mantissa >= that for the
6097 denominator, not >.
6098 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
6099 denominator, not >. Decrement exponent in < case instead of
6100 incrementing in >= case.
6101 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
6102 without decrementing exponent if mantissa >= that for the
6103 denominator, not >.
6104
99fd9f47
JM
6105 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
6106 computing saturated result for unsigned overflow.
6107
10e1cf6b
SP
61082013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6109 Jeff Law <law@redhat.com>
6110
6111 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
6112 (atan2Mp): Add systemtap probe marker.
6113 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
6114 (__ieee754_log): Add systemtap probe marker.
6115 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
6116 (atanMp): Add systemtap probe marker.
6117 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
6118 (tanMp): Add systemtap probe marker.
6119 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
6120 (__slowexp): Add systemtap probe marker.
6121 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
6122 (__slowpow): Add systemtap probe marker.
6123 * manual/probes.texi: Document probes.
6124
3d110c7c
EB
61252013-10-11 Eric Biggers <ebiggers3@gmail.com>
6126
6127 [BZ #15362]
6128 * libio/fileops.c (_IO_new_file_write): Return count of bytes
6129 written.
6130 (_IO_new_file_xsputn): Don't return EOF if nothing has been
6131 written.
6132 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
6133 written to buffer but not flushed.
6134 * libio/iofwrite_u.c: Likewise.
6135 * libio/iopadn.c: Return bytes returned even if EOF was
6136 encountered.
6137 * libio/iowpadn.c: Likewise.
6138 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
6139 if _IO_padn does not write the whole buffer.
6140 [!COMPILE_WPRINTF] (PAD): Likewise.
6141
75b4202a
DM
61422013-10-10 David S. Miller <davem@davemloft.net>
6143
6144 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
6145 directory block.
6146
6c6352e6
JM
61472013-10-10 Joseph Myers <joseph@codesourcery.com>
6148
33b853c3
JM
6149 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
6150 instead of FSF address.
6151 * soft-fp/fixdfti.c: Likewise.
6152 * soft-fp/fixsfti.c: Likewise.
6153 * soft-fp/fixtfti.c: Likewise.
6154 * soft-fp/fixunsdfti.c: Likewise.
6155 * soft-fp/fixunssfti.c: Likewise.
6156 * soft-fp/fixunstfti.c: Likewise.
6157 * soft-fp/floattidf.c: Likewise.
6158 * soft-fp/floattisf.c: Likewise.
6159 * soft-fp/floattitf.c: Likewise.
6160 * soft-fp/floatuntidf.c: Likewise.
6161 * soft-fp/floatuntisf.c: Likewise.
6162 * soft-fp/floatuntitf.c: Likewise.
6163 * soft-fp/trunctfxf2.c: Likewise.
6164
6c6352e6
JM
6165 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
6166 * soft-fp/fixdfti.c: Likewise.
6167 * soft-fp/fixsfti.c: Likewise.
6168 * soft-fp/fixtfti.c: Likewise.
6169 * soft-fp/fixunsdfti.c: Likewise.
6170 * soft-fp/fixunssfti.c: Likewise.
6171 * soft-fp/fixunstfti.c: Likewise.
6172 * soft-fp/floattidf.c: Likewise.
6173 * soft-fp/floattisf.c: Likewise.
6174 * soft-fp/floattitf.c: Likewise.
6175 * soft-fp/floatuntidf.c: Likewise.
6176 * soft-fp/floatuntisf.c: Likewise.
6177 * soft-fp/floatuntitf.c: Likewise.
6178 * soft-fp/trunctfxf2.c: Likewise.
6179
3bf78b71
DM
61802013-10-10 David S. Miller <davem@davemloft.net>
6181
6182 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6183
6f10289e
JM
61842013-10-10 Joseph Myers <joseph@codsourcery.com>
6185
bd878fc0
JM
6186 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6187 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
6188 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
6189 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
6190 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
6191 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
6192 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
6193
6f10289e
JM
6194 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
6195 for NaNs before doing comparisons on argument.
6196 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
6197 Likewise.
6198
321e2684
WN
61992013-10-10 Will Newton <will.newton@linaro.org>
6200
6201 * malloc/hooks.c (memalign_check): Ensure the value of bytes
6202 passed to _int_memalign does not overflow.
6203
40fefba1
TR
62042013-10-10 Torvald Riegel <triegel@redhat.com>
6205
6206 * scripts/bench.pl: Add include-sources directive.
6207 * benchtests/README: Update documentation.
6208
2ae21ed2
JM
62092013-10-10 Joseph Myers <joseph@codesourcery.com>
6210
dcc2dd3f
JM
6211 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
6212 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
6213 instead of FP_INIT_ROUNDMODE.
6214 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
6215 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
6216
2ae21ed2
JM
6217 [BZ #16034]
6218 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
6219 copy class of input value.
6220 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
6221 not handle exceptions.
6222 * soft-fp/negsf2.c (__negsf2): Likewise.
6223 * soft-fp/negtf2.c (__negtf2): Likewise.
6224 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
6225
cb8f9562
JM
62262013-10-09 Joseph Myers <joseph@codesourcery.com>
6227
6228 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
6229 semicolon. From Linux kernel.
6230
5b60c59d
AB
62312013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
6232
6233 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
6234
b86835ca
YC
62352013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
6236
6237 [BZ #156]
6238 * manual/socket.texi: Added statement about buffer
6239 for gethostbyname2_r.
6240
e7044ea7
OB
62412013-10-08 Ondřej Bílka <neleai@seznam.cz>
6242
6243 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
6244 Use .p2align directive instead, throughout.
6245 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6246 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6247 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
6248 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6249 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6250 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
6251 * sysdeps/x86_64/strchr.S: Likewise.
6252 * sysdeps/x86_64/strrchr.S: Likewise.
6253
09544cbc
SP
62542013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6255
88576635
SP
6256 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
6257
e7b2d1dd
SP
6258 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
6259
09544cbc
SP
6260 * sysdeps/generic/math_private.h (__mpsin1): Remove
6261 declaration.
6262 (__mpcos1): Likewise.
6263 (__mpsin): New argument __range_reduce.
6264 (__mpcos): Likewise.
6265 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6266 (slow): Use __mpsin and __mpcos.
6267 (slow1): Likewise.
6268 (slow2): Likewise.
6269 (sloww): Likewise.
6270 (sloww1): Likewise.
6271 (sloww2): Likewise.
6272 (bsloww): Likewise.
6273 (bsloww1): Likewise.
6274 (bsloww2): Likewise.
6275 (cslow2): Likewise.
6276 (csloww): Likewise.
6277 (csloww1): Likewise.
6278 (csloww2): Likewise.
6279 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
6280 range_reduce. Merge in __mpsin1.
6281 (__mpcos): Likewise.
6282 (__mpsin1): Remove.
6283 (__mpcos1): Likewise.
6284
7602d070
JM
62852013-10-07 Joseph Myers <joseph@codesourcery.com>
6286
6287 * locale/loadlocale.c (_nl_intern_locale_data): Use
6288 LOCFILE_ALIGNED_P.
6289 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
6290 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
6291 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
6292 obstack data is appropriately aligned.
6293 (obstack_int32_grow_fast): Likewise.
6294 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
6295 * locale/programs/locfile.c (add_locale_uint32): Likewise.
6296 (add_locale_uint32_array): Likewise.
6297
a357259b
SP
62982013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6299
6300 * benchtests/Makefile: Remove ARGLIST and RET variables.
6301 ($(objpfx)bench-%.c): Pass only function name to the script.
6302 * benchtests/README: Update documentation.
6303 * benchtests/acos-inputs: Add new directives.
6304 * benchtests/acosh-inputs: Likewise.
6305 * benchtests/asin-inputs: Likewise.
6306 * benchtests/asinh-inputs: Likewise.
6307 * benchtests/atan-inputs: Likewise.
6308 * benchtests/atanh-inputs: Likewise.
6309 * benchtests/cos-inputs: Likewise.
6310 * benchtests/cosh-inputs: Likewise.
6311 * benchtests/exp-inputs: Likewise.
6312 * benchtests/log-inputs: Likewise.
6313 * benchtests/pow-inputs: Likewise.
6314 * benchtests/rint-inputs: Likewise.
6315 * benchtests/sin-inputs: Likewise.
6316 * benchtests/sinh-inputs: Likewise.
6317 * benchtests/tan-inputs: Likewise.
6318 * benchtests/tanh-inputs: Likewise.
6319 * scripts/bench.pl: Add support for new directives.
6320
9ec1b13d
AM
63212013-10-07 Alan Modra <amodra@gmail.com>
6322
6323 * README: Fix careless merge.
6324
8b7d57cd
AM
63252013-10-05 Alan Modra <amodra@gmail.com>
6326
6327 * NEWS: Mention powerpc64le support and bugs fixed.
6328 * README: Both big-endian and little-endian powerpc64 supported.
6329
7b7bab13
ST
63302013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6331
6332 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
6333 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
6334 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
6335 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
6336
d39baad1
RA
63372013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
6338
6339 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
6340 match prototype.
6341
cd78f7e7
JM
63422013-10-04 Joseph Myers <joseph@codesourcery.com>
6343
29d73d86
JM
6344 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
6345 Move -mhard-float appending from
6346 ports/sysdeps/powerpc/powerpc32/Makefile.
6347 [$(with-fp) = yes] (ASFLAGS): Likewise.
6348 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
6349 * sysdeps/powerpc/nofpu: Move directory from
6350 ports/sysdeps/powerpc/nofpu.
6351 * sysdeps/powerpc/soft-fp: Move directory from
6352 ports/sysdeps/powerpc/soft-fp.
6353 * sysdeps/powerpc/powerpc32/405: Move directory from
6354 ports/sysdeps/powerpc/powerpc32/405.
6355 * sysdeps/powerpc/powerpc32/440: Move directory from
6356 ports/sysdeps/powerpc/powerpc32/440.
6357 * sysdeps/powerpc/powerpc32/464: Move directory from
6358 ports/sysdeps/powerpc/powerpc32/464.
6359 * sysdeps/powerpc/powerpc32/476: Move directory from
6360 ports/sysdeps/powerpc/powerpc32/476.
6361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
6362 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
6363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
6364 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
6365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
6366 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
6367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
6368 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
6369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
6370 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
6371 * README: Update for powerpc-*-linux-gnu software floating point
6372 support in libc.
6373
e246b347
JM
6374 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
6375 case to powerpc/powerpc32*.
6376 * sysdeps/unix/sysv/linux/configure: Regenerated.
6377
89c2003e
JM
6378 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
6379 (_FPU_MASK_OM): Define as 0x04.
6380 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
6381 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
6382 0x00c10080.
6383 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
6384 0x0000003c.
6385 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
6386
cd78f7e7
JM
6387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
6388 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6389 getcontext_e500.
6390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
6391 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6392 setcontext_e500.
6393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
6394 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
6395 and setcontext_e500.
6396
c755294d
CL
63972013-10-04 Chris Leonard <cjl@sugarlabs,.org>
6398
6399 * locale/iso-3166.def: Update iso-1366.def and related occurrences
6400
e16d221c
SP
64012013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6402
6403 * manual/threads.texi (Default Thread Attributes): Fix typo.
6404
215c7d43
WN
64052013-10-04 Will Newton <will.newton@linaro.org>
6406
6407 * malloc/Makefile: Add tst-memalign.
6408 * malloc/tst-memalign.c: New file.
6409
27d0461b
WN
6410 * malloc/tst-posix_memalign.c: Add comments.
6411 (do_test): Add comments and call free on all potentially
6412 allocated pointers. Add space after cast.
6413
1bc92709
WN
6414 * malloc/tst-pvalloc.c: Add comments.
6415 (do_test): Add comments and call free on all potentially
6416 allocated pointers. Remove duplicate check for NULL pointer.
6417 Add space after cast.
6418
66a9be9d
WN
6419 * malloc/tst-valloc.c: Add comments.
6420 (do_test): Add comments and call free on all potentially
6421 allocated pointers. Remove duplicate check for NULL pointer.
6422 Add space after cast.
6423
4cb81307
AM
64242013-10-04 Alan Modra <amodra@gmail.com>
6425
6426 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6427 Use stdint types in rather than __attribute__((mode())).
6428 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6429
f8e3e9f3
AM
64302013-10-04 Alan Modra <amodra@gmail.com>
6431
6432 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6433 Correct handling of unaligned relocs for little-endian.
6434 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6435
8f9ebb08
AM
64362013-10-04 Alan Modra <amodra@gmail.com>
6437
6438 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
6439 * configure: Regenerate.
6440 * nptl/shlib-versions: Powerpc*le starts at 2.18.
6441 * shlib-versions: Likewise.
6442
0edf96c2
AM
64432013-10-04 Alan Modra <amodra@gmail.com>
6444
6445 * string/tester.c (test_memrchr): Increment reported test cycle.
6446
e0f7a380
AM
64472013-10-04 Alan Modra <amodra@gmail.com>
6448
6449 * string/test-memcpy.c (do_one_test): When reporting errors, print
6450 string address and don't overrun end of string.
6451
466b0393
AM
64522013-10-04 Alan Modra <amodra@gmail.com>
6453
6454 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
6455 insrdi. Make better use of reg selection to speed exit slightly.
6456 Schedule entry path a little better. Remove useless "are we done"
6457 checks on entry to main loop. Handle wrapping around zero address.
6458 Correct main loop count. Handle single left-over word from main
6459 loop inline rather than by using loop_small. Remove extra word
6460 case in loop_small caused by wrong loop count. Add little-endian
6461 support.
6462 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6463 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
6464 cache hint.
6465 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6466 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
6467 support. Avoid rlwimi.
6468 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
6469
3be87c77
AM
64702013-10-04 Alan Modra <amodra@gmail.com>
6471
6472 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 6473 insrdi. Formatting.
3be87c77
AM
6474 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6475 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6476 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6477 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6478 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6479 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
6480
759cfef3
AM
64812013-10-04 Alan Modra <amodra@gmail.com>
6482
6483 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
6484 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6485 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6486 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
6487 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6488 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6489 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6490 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6491 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
6492 use of regs. Use power7 mtocrf. Tidy function tails.
6493
fe6e95d7
AM
64942013-10-04 Alan Modra <amodra@gmail.com>
6495
6496 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
6497 Formatting. Consistently use rXXX register defines or rN defines.
6498 Use early exit labels that avoid restoring unused non-volatile regs.
6499 Make cr field use more consistent with rWORDn compares. Rename
6500 regs used as shift registers for unaligned loop, using rN defines
6501 for short lifetime/multiple use regs.
6502 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6503 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
6504 addi 1,1,64 to pop stack frame. Simplify return value code.
6505 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6506
664318c3
AM
65072013-10-04 Alan Modra <amodra@gmail.com>
6508
6509 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
6510 support. Correct typos, formatting. Optimize tail. Use insrdi
6511 rather than rlwimi.
6512 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
6513 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
6514 little-endian support. Correct typos.
6515 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
6516 rather than rlwimi.
6517 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
6518 in loop and entry code to keep "and." results.
6519 (strchr): Add little-endian support. Comment. Move cntlzd
6520 earlier in tail.
6521 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
6522
43b84013
AM
65232013-10-04 Alan Modra <amodra@gmail.com>
6524
6525 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
6526 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
6527 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
6528 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
6529
8a7413f9
AM
65302013-10-04 Alan Modra <amodra@gmail.com>
6531
6532 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
6533 (rTMP): Define as r11.
6534 (strcmp): Add little-endian support. Optimise tail.
6535 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
6536 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6537 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6538 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6539 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6540 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6541 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6542
33ee81de
AM
65432013-10-04 Alan Modra <amodra@gmail.com>
6544
6545 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
6546 little-endian support. Remove unnecessary "are we done" tests.
6547 Handle "s" wrapping around zero and extremely large "size".
6548 Correct main loop count. Handle single left-over word from main
6549 loop inline rather than by using small_loop. Correct comments.
6550 Delete "zero" tail, use "end_max" instead.
6551 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
6552
db9b4570
AM
65532013-10-04 Alan Modra <amodra@gmail.com>
6554
6555 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
6556 support. Don't branch over align.
6557 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
6558 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
6559 support. Rearrange tmp reg use to suit. Comment.
6560 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
6561
f7c399cf
AM
65622013-10-04 Alan Modra <amodra@gmail.com>
6563
6564 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
6565
0b2c2ace
AM
65662013-10-04 Alan Modra <amodra@gmail.com>
6567
6568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
6569 conditional form of branch and link when obtaining pc.
6570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6571
02f04a6c
AM
65722013-10-04 Alan Modra <amodra@gmail.com>
6573
6574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
6575 HIWORD/LOWORD.
6576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
6577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
6578
9b874b2f
AM
65792013-10-04 Alan Modra <amodra@gmail.com>
6580
6581 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
6582 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
6583 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
6584 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
6585 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6586 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6587 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
6588 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6589 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
6590 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
6591
be1e5d31
AB
65922013-10-04 Anton Blanchard <anton@au1.ibm.com>
6593 Alistair Popple <alistair@ozlabs.au.ibm.com>
6594 Alan Modra <amodra@gmail.com>
6595
6596 [BZ #15723]
6597 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
6598 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
6599 _dl_hwcap access for little-endian.
6600 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
6601 destroy vmx regs when saving unaligned.
6602 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
6603 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
6604 destroy vmx regs when saving unaligned.
6605
fef13a78
AM
66062013-10-04 Alan Modra <amodra@gmail.com>
6607
6608 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
6609 Don't use a union to pack hi/low value.
6610
76a66d51
AB
66112013-10-04 Anton Blanchard <anton@au1.ibm.com>
6612
6613 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
6614 for little-endian.
6615 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6616 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
6617 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6618 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6619 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6620
6a31fe7f
AM
66212013-10-04 Alan Modra <amodra@gmail.com>
6622
6623 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
6624 constants to usual value for .cst8 section, and remove redundant
6625 high address load.
6626 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
6627 constant for 0x1p52. Load little-endian words of double from
6628 correct stack offsets.
6629
7b88401f
AM
66302013-10-04 Alan Modra <amodra@gmail.com>
6631
6632 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
6633 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
6634 words of double from correct stack offsets.
6635 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
6636 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
6637 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6638 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6639 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6640 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6641 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6642 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
6643 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
6644 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6645 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6646 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6647 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6648 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6649 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6650 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
6651 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
6652
9c008155
AM
66532013-10-04 Alan Modra <amodra@gmail.com>
6654
6655 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
6656 64-bit int/double union.
6657 (_FPU_SETCW): Likewise.
6658 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
6659 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
6660
da13146d
AM
66612013-10-04 Alan Modra <amodra@gmail.com>
6662
6663 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
6664 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
6665
603e8410
AM
66662013-10-04 Alan Modra <amodra@gmail.com>
6667
6668 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
6669 use vector int constants.
6670 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
6671
4a28b3ca
AB
66722013-10-04 Anton Blanchard <anton@au1.ibm.com>
6673
6674 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
6675 array with long long.
6676 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
6677 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
6678 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
6679 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
6680 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
6681 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
6682 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
6683 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
6684 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
6685 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
6686 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
6687 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
6688 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
6689
2ca85d2b
AB
66902013-10-04 Anton Blanchard <anton@au1.ibm.com>
6691
6692 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
6693 (__signbit): Likewise. Correct for little-endian.
6694 (__signbitl): Call __signbit.
6695 (lrint): Correct for little-endian.
6696 (lrintf): Call lrint.
6697
62a728ae
AM
66982013-10-04 Alan Modra <amodra@gmail.com>
6699
6700 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
6701 union 32-bit int array member with 64-bit int array.
6702 (t515, tm256): Double rather than long double.
6703 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
6704
32c301df
AM
67052013-10-04 Alan Modra <amodra@gmail.com>
6706
6707 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
6708 Delete.
6709 (IEEE854_LONG_DOUBLE_BIAS): Delete.
6710 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
6711 version of math_ldbl.h.
6712
650ef4bd
AM
67132013-10-04 Alan Modra <amodra@gmail.com>
6714
6715 [BZ #15734], [BZ #15735]
6716 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
6717 all uses of ieee875 long double macros and unions. Simplify test
6718 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
6719 ldbl_extract_mantissa value for ix,iy exponents. Properly
6720 normalize after ldbl_extract_mantissa, and don't add hidden bit
6721 already handled. Don't treat low word of ieee854 mantissa like
6722 low word of IBM long double and mask off bit when testing for
6723 zero.
6724 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
6725 all uses of ieee875 long double macros and unions. Simplify tests
6726 for 0.0L and inf. Correct double adjustment of k. Delete dead code
6727 adjusting ha,hb. Simplify code setting kld. Delete two600 and
6728 two1022, instead use their values. Recognise that tests for large
6729 "a" and small "b" are mutually exclusive. Rename vars. Comment.
6730 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
6731 Rewrite all uses of ieee875 long double macros and unions. Simplify
6732 test for 0.0L and nan. Correct negation.
6733 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
6734 ieee875 long double macros and unions. Correct output for large
6735 magnitude x. Correct absolute value calculation.
6736 (__erfcl): Likewise.
6737 * math/libm-test.inc: Add tests for errors discovered in IBM long
6738 double versions of fmodl, remainderl, erfl and erfcl.
6739
765714ca
AM
67402013-10-04 Alan Modra <amodra@gmail.com>
6741
6742 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
6743 all uses of ieee854 long double macros and unions. Simplify tests
6744 for long doubles that are fully specified by the high double.
6745 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6746 Likewise.
6747 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
6748 Remove dead code too.
6749 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6750 (__ieee754_ynl): Likewise.
6751 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
6752 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
6753 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6754 Remove dead code too.
6755 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
6756 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6757 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
6758 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
6759 Simplify.
6760 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
6761 Simplify.
6762 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
6763 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
6764 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
6765 Comment on variable precision.
6766 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
6767 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6768 Likewise.
6769 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6770 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6771 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6772 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
6773 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
6774
4ebd120c
AM
67752013-10-04 Alan Modra <amodra@gmail.com>
6776
6777 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
6778 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
6779 all uses of ieee854 long double macros and unions.
6780 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
6781 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6782 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
6783 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
6784 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
6785 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6786 Likewise.
6787 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
6788 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6789 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
6790 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6791 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
6792 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
6793 Simplify sign and nan test too.
6794 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
6795 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
6796 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
6797 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
6798 Likewise.
6799 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6800 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
6801 Likewise.
6802 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6803 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6804 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
6805 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
6806 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
6807 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
6808
1b6adf88
AM
68092013-10-04 Alan Modra <amodra@gmail.com>
6810
6811 * stdio-common/printf_size.c (__printf_size): Don't use
6812 union ieee854_long_double in fpnum union.
6813 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
6814 signbit macro to retrieve sign from long double.
6815 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
6816 retrieve sign from long double.
6817 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
6818 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
6819 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
6820 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6821 * math/test-misc.c (main): Don't use union ieee854_long_double.
6822
4cf69995
AM
68232013-10-04 Alan Modra <amodra@gmail.com>
6824
6825 [BZ #15680]
6826 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
6827 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
6828 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
6829 calculation. Remove unnecessary test for denormal exponent.
6830 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
6831 Correct handling of denormals. Avoid undefined shift behaviour.
6832 Correct normalisation of low mantissa when low double is denormal.
6833 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
6834 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
6835 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
6836 Correct normalisation of low mantissa. Test for overflow of high
6837 mantissa and normalise.
6838 (ldbl_nearbyint): Use more readable constant for two52.
6839 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
6840 (__mpn_construct_long_double): Fix test for overflow of high
6841 mantissa and correct normalisation. Avoid undefined shift.
6842
9605ca6c
AM
68432013-10-04 Alan Modra <amodra@gmail.com>
6844
6845 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6846 (union ibm_extended_long_double): Define as an array of ieee754_double.
6847 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
6848 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
6849 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
6850 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6851 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6852 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
6853 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6854 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
6855 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6856 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
6857 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6858
975569d0
JM
68592013-10-03 Joseph Myers <joseph@codesourcery.com>
6860
d3d23756
JM
6861 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
6862 page size instead of calling getpagesize.
6863
975569d0
JM
6864 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
6865 (LOCFILE_ALIGN_MASK): Likewise.
6866 (LOCFILE_ALIGN_UP): Likewise.
6867 (LOCFILE_ALIGNED_P): Likewise.
6868 * locale/programs/ld-collate.c (collate_output): Use the new
6869 macros instead of __alignof__ (int32_t).
6870 * locale/weight.h (findidx): Likewise.
6871
b1fe1f2b
OB
68722013-10-03 Ondřej Bílka <neleai@seznam.cz>
6873
6874 [BZ #431]
6875 * manual/string.texi: Fix strncat and wcsncat.
6876
5f855e35
BM
68772013-10-03 Brooks Moses <bmoses@google.com>
6878
6879 [BZ #15915]
6880 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
6881 * Makerules: ...here, and adjust associated comments.
6882
3cef6009
WN
68832013-10-02 Will Newton <will.newton@linaro.org>
6884
6885 * malloc/Makefile: Add tst-pvalloc.
6886 * malloc/tst-pvalloc.c: New file.
6887
7815420b
WN
68882013-10-02 Will Newton <will.newton@linaro.org>
6889
6890 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
6891 improve test coverage.
6892
4868b204
WN
68932013-10-02 Will Newton <will.newton@linaro.org>
6894
6895 * malloc/Makefile: Add tst-posix_memalign.
6896 * malloc/tst-posix_memalign.c: New file.
6897
29c793b3
EB
68982013-10-01 Eric Blake <eblake@redhat.com>
6899
6900 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
6901 Use __THROWNL rather than __THROW on static functions.
6902
fd967522
PM
69032013-09-30 Petr Machata <pmachata@redhat.com>
6904
6905 * elf/elf.h (R_AARCH64_ABS16): New macro.
6906 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
6907 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
6908 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
6909 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
6910 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
6911 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
6912 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
6913 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
6914 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
6915 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
6916 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
6917 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
6918 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
6919 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
6920 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
6921 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
6922 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
6923 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
6924 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
6925 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
6926 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
6927 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
6928 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
6929 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
6930 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
6931 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
6932 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
6933 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
6934 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
6935 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
6936 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
6937 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
6938 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
6939 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
6940 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
6941 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
6942 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
6943 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
6944 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
6945 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
6946 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
6947 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
6948 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
6949 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
6950 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
6951 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
6952 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
6953 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
6954 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
6955 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
6956 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
6957 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
6958 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
6959 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
6960 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
6961 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
6962 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
6963 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
6964 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
6965 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
6966 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
6967 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
6968 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
6969 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
6970 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
6971 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
6972 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
6973 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
6974 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
6975 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
6976 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
6977 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
6978 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
6979 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
6980 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
6981 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
6982 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
6983 (R_AARCH64_TLSDESC_LDR): Likewise.
6984 (R_AARCH64_TLSDESC_ADD): Likewise.
6985 (R_AARCH64_TLSDESC_CALL): Likewise.
6986
b2179107
AS
69872013-09-30 Andreas Schwab <schwab@suse.de>
6988
6989 [BZ #15048]
6990 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
6991 the nss database lookup.
6992 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6993 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6994
47f28d0a
MF
69952013-09-28 Mike Frysinger <vapier@gentoo.org>
6996
6997 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
6998
69992013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
7000
7001 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
7002 ${Bash-specific parameter/pattern/string} parameter expansion.
7003 * sysdeps/unix/make-syscalls.sh: Likewise.
7004
f4518a17
KK
70052013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7006
7007 * sysdeps/sh/stackguard-macros.h: New file.
7008
dc1a95c7
OB
70092013-09-26 Ondřej Bílka <neleai@seznam.cz>
7010
7011 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7012 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
7013 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
7014 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
7015 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7016 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
7017
5ebbff8f
AZ
70182013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7019
7020 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
7021 Fix thread ID register.
7022
4fd2cf9f
JM
70232013-09-25 Joseph Myers <joseph@codesourcery.com>
7024
7025 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
7026 [POSIX || UNIX98]: Require rather than permitting all symbols from
7027 <time.h>.
7028 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
7029 element of struct sched_param.
7030 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
7031 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
7032 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
7033 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
7034 constant.
7035
12c22bc4
OL
70362013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
7037
7038 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
7039 argument calculation.
7040
a03d8ea7
JM
70412013-09-24 Joseph Myers <joseph@codesourcery.com>
7042
7043 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
7044 Expect macro.
7045 [POSIX] (pthread_attr_t): Do not require type.
7046 [POSIX] (pthread_cond_t): Likewise.
7047 [POSIX] (pthread_condattr_t): Likewise.
7048 [POSIX] (pthread_key_t): Likewise.
7049 [POSIX] (pthread_mutex_t): Likewise.
7050 [POSIX] (pthread_mutexattr_t): Likewise.
7051 [POSIX] (pthread_once_t): Likewise.
7052 [POSIX] (pthread_t): Likewise.
7053 [POSIX-based standards] (pthread_atfork): Expect function.
7054
6055173a
JM
70552013-09-24 Joseph Myers <joseph@codesourcery.com>
7056 Richard Sandiford <richard@codesourcery.com>
7057
7058 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
7059 (swap_endianness_p): New extern variable.
7060 (set_big_endian): New inline function.
7061 (maybe_swap_uint32): Likewise.
7062 (maybe_swap_uint32_array): Likewise.
7063 (maybe_swap_uint32_obstack): Likewise.
7064 * locale/programs/locfile.c: Include <stdbool.h>.
7065 (swap_endianness_p): New variable.
7066 (add_locale_uint32): Call maybe_swap_uint32.
7067 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
7068 (write_locale_data): Call maybe_swap_uint32_array.
7069 * locale/programs/ld-collate.c (obstack_int32_grow): Call
7070 maybe_swap_uint32.
7071 (obstack_int32_grow_fast): Likewise.
7072 (output_weightwc): Call maybe_swap_uint32_obstack.
7073 (collate_output): Likewise.
7074 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
7075 (OPT_LITTLE_ENDIAN): Likewise.
7076 (options): Add --little-endian and --big-endian options.
7077 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
7078 * locale/programs/locarchive.c: Include "locfile.h".
7079 (GET): New macro.
7080 (SET): Likewise.
7081 (INC): Likewise.
7082 (create_archive): Use the new macros to access fields of
7083 structures directly mapped from or written to locale archives.
7084 (oldlocrecentcmp): Likewise.
7085 (enlarge_archive): Likewise.
7086 (insert_name): Likewise.
7087 (add_alias): Likewise.
7088 (add_locale): Likewise.
7089 (delete_locales_from_archive): Likewise.
7090 (show_archive_content): Likewise.
7091 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
7092 locale data.
7093
39bf0bb4
RM
70942013-09-24 Roland McGrath <roland@hack.frob.com>
7095
7096 * manual/freemanuals.texi: Updated from (newly) canonical copy at
7097 http://www.gnu.org/doc/freemanuals.texi.
7098 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
7099
f02eed10
WN
71002013-09-24 Will Newton <will.newton@linaro.org>
7101
7102 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
7103 macro.
7104
a3a6c312
JM
71052013-09-23 Joseph Myers <joseph@codesourcery.com>
7106
7107 * locale/hashval.h (compute_hashval): Interpret bytes of key as
7108 unsigned char.
7109
107375ac
MR
71102013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
7111
7112 * manual/threads.texi (POSIX Threads): Fix a typo.
7113
141f3a77
SP
71142013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7115
303e567a
SP
7116 [BZ #14547]
7117 * string/tst-strcoll-overflow.c: New test case.
7118 * string/Makefile (xtests): Add tst-strcoll-overflow.
7119 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
7120 cache if string sizes may cause integer overflow.
7121
141f3a77
SP
7122 [BZ #14547]
7123 * string/strcoll_l.c (coll_seq): New members rule, idx,
7124 save_idx and back_us.
7125 (get_next_seq_nocache): New function.
7126 (do_compare_nocache): New function.
7127 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
7128 when malloc fails.
7129
c61b4d41
CD
71302013-09-23 Carlos O'Donell <carlos@redhat.com>
7131
0b1f8e35
CD
7132 [BZ #15754]
7133 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
7134 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
7135 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
7136
c61b4d41
CD
7137 [BZ #15754]
7138 * elf/Makefile (tests): Add tst-ptrguard1.
7139 (tests-static): Add tst-ptrguard1-static.
7140 (tst-ptrguard1-ARGS): Define.
7141 (tst-ptrguard1-static-ARGS): Define.
7142 * elf/tst-ptrguard1.c: New file.
7143 * elf/tst-ptrguard1-static.c: New file.
7144 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
7145 * sysdeps/i386/stackguard-macros.h: Likewise.
7146 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
7147 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
7148 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7149 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7150 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
7151 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
7152
71532013-09-23 Hector Marco <hecmargi@upv.es>
7154 Ismael Ripoll <iripoll@disca.upv.es>
7155 Carlos O'Donell <carlos@redhat.com>
7156
7157 [BZ #15754]
7158 * sysdeps/generic/stackguard-macros.h: Define
7159 __pointer_chk_guard_local and POINTER_CHK_GUARD.
7160 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
7161 Define __pointer_chk_guard_local.
7162 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
7163 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
7164
f5f4e7b4
VV
71652013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
7166
7167 [BZ #15859]
7168 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
7169
5bb43a43
AS
71702013-09-20 Andreas Schwab <schwab@linux-m68k.org>
7171
7172 * include/string.h (__ffs): Declare as hidden.
7173 * string/ffs.c (__ffs): Define as hidden.
7174 * sysdeps/i386/ffs.c (__ffs): Likewise.
7175 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
7176 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
7177 * sysdeps/s390/ffs.c (__ffs): Likewise.
7178 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
7179
3ea5be54
AO
71802013-09-20 Alexandre Oliva <aoliva@redhat.com>
7181
ffb89e53
AO
7182 * NEWS: Mention malloc probes.
7183
322dea08
AO
7184 * malloc/arena.c (new_heap): New memory_heap_new probe.
7185 (grow_heap): New memory_heap_more probe.
7186 (shrink_heap): New memory_heap_less probe.
7187 (heap_trim): New memory_heap_free probe.
7188 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
7189 (systrim): New memory_sbrk_less probe.
7190 * manual/probes.texi: Document them.
7191
655673f3
AO
7192 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
7193 * manual/probes.texi: Document it.
7194
35fed6f1
AO
7195 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
7196 (__libc_realloc): Add memory_realloc_retry probe.
7197 (__libc_memalign): Add memory_memalign_retry probe.
7198 (__libc_valloc): Add memory_valloc_retry probe.
7199 (__libc_pvalloc): Add memory_pvalloc_retry probe.
7200 (__libc_calloc): Add memory_calloc_retry probe.
7201 * manual/probes.texi: Document them.
7202
6999d38c
AO
7203 * malloc/arena.c (get_free_list): Add probe
7204 memory_arena_reuse_free_list.
7205 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
7206 and memory_arena_reuse.
7207 (arena_get2) [!PER_THREAD]: Likewise.
7208 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
7209 memory_arena_reuse_realloc.
7210 * manual/probes.texi: Document them.
7211
0653427f
AO
7212 * malloc/malloc.c (__libc_free): Add
7213 memory_mallopt_free_dyn_thresholds probe.
7214 (__libc_mallopt): Add multiple memory_mallopt probes.
7215 * manual/probes.texi: Document them.
7216
3ea5be54
AO
7217 * malloc/malloc.c: Include stap-probe.h.
7218 (__libc_mallopt): Add memory_mallopt probe.
7219 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
7220 * manual/probes.texi: New.
7221 * manual/Makefile (chapters): Add probes.
7222 * manual/threads.texi: Set next node.
7223
e35696c3 72242013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 7225
e35696c3
CL
7226 [BZ #15963, #13985]
7227 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
7228 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
7229 Add `Chinese' to `nan' entry name.
7230
4aafb73c
SP
72312013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7232
7233 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
7234 (POLYNOMIAL): Likewise.
7235 (TAYLOR_SINCOS): Likewise.
7236 (TAYLOR_SLOW): Likewise.
7237 (__sin): Use TAYLOR_SINCOS.
7238 (__cos): Likewise.
7239 (slow): Use TAYLOR_SLOW.
7240 (sloww): Likewise.
7241 (bsloww): Likewise.
7242 (csloww): Likewise.
7243
d84f25c7
LD
72442013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7245
7246 * stdlib/strtod_l.c: Fix buffer overrun.
7247
5eea0404
SP
72482013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7249
7849ff93
SP
7250 * benchtests/Makefile (bench): Add sincos.
7251 * benchtests/bench-sincos.c: New file.
7252
cfa3c886
SP
7253 * math/libm-test.inc (cos_test_data): New test inputs.
7254 (sin_test_data): Likewise.
7255
b348e1e3
SP
7256 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
7257 macro.
7258 (__sin): Use it.
7259 (__cos): Likewise.
7260 (slow1): Likewise.
7261 (slow2): Likewise.
7262 (sloww1): Likewise.
7263 (sloww2): Likewise.
7264 (bsloww1): Likewise.
7265 (bsloww2): Likewise.
7266 (cslow2): Likewise.
7267 (csloww1): Likewise.
7268 (csloww2): Likewise.
7269
6cce25f8
SP
7270 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
7271 function.
7272 (__sin): Use it.
7273 (__cos): Likewise.
7274
5eea0404
SP
7275 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
7276 gotos.
7277 (__cos): Likewise.
7278
9c21573c
MR
72792013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
7280
7281 * config.h.in (HAVE_MIPS_NAN2008): New macro.
7282 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
7283 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
7284 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
7285 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
7286 * elf/cache.c (print_entry): Handle the new cache flags.
7287
24d22e65
JM
72882013-09-18 Joseph Myers <joseph@codesourcery.com>
7289 Aldy Hernandez <aldyh@redhat.com>
7290
7291 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
7292 Change condition to [_SOFT_FLOAT].
7293 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
7294 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
7295 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
7296 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
7297 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
7298 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
7299 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
7300 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
7301 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
7302 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
7303 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
7304 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
7305 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
7306 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
7307 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
7308 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
7309 declaration.
7310
d13ef066
JM
73112013-09-18 Joseph Myers <joseph@codesourcery.com>
7312
2e071de0
JM
7313 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
7314 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7315 (__longjmp): Use LOAD_GP to load saved GPRs.
7316 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
7317 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7318 (__sigsetjmp): Use SAVE_GP to save GPRs.
7319
d13ef066
JM
7320 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
7321 Do not append -msoft-float.
7322 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
7323
97a0650b
SP
73242013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7325
7326 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
7327
11ca09e9
JM
73282013-09-17 Joseph Myers <joseph@codesourcery.com>
7329
7330 [BZ #15966]
7331 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
7332 (_FPU_GETCW): Use initial "__" on variable and field names but not
7333 on macro parameter name.
7334 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
7335 parentheses around reference to macro parameter.
7336
08ffcf34
RS
73372013-09-13 Richard Sandiford <richard@codesourcery.com>
7338
7339 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
7340 prototype.
7341 (ctype_startup): Use uint32_t in cast and sizeof for
7342 ctype->charnames.
7343
ae7080d3
JL
73442013-09-11 Jia Liu <proljc@gmail.com>
7345
7346 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
7347 __daddr_t_defined.
7348 [__FreeBSD__]: Likewise.
7349
5905e7b3
OB
73502013-09-11 Ondřej Bílka <neleai@seznam.cz>
7351
7352 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7353 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
7354 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
7355 (strchr): Remove __strchr_sse42 ifunc selection.
7356 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
7357 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
7358
b987c776
WN
73592013-09-11 Will Newton <will.newton@linaro.org>
7360
7361 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
7362 parameter to RES. Remove hardcoded 1000 value.
7363 * benchtests/bench-skeleton.c (main): Pass RES parameter
7364 to TIMING_INIT and multiply result by 1000.
7365
ddf985af
AZ
73662013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7367
7368 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7369
ffdd3181
AS
73702013-09-11 Andreas Schwab <schwab@suse.de>
7371
7372 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7373 if not defined.
7374 (O_TMPFILE) [__USE_GNU]: Define.
7375 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
7376 Define.
7377
b73ed247
WN
73782013-09-11 Will Newton <will.newton@linaro.org>
7379
7380 [BZ #15857]
7381 * malloc/malloc.c (__libc_memalign): Check the value of bytes
7382 does not overflow.
7383
55e17aad
WN
73842013-09-11 Will Newton <will.newton@linaro.org>
7385
7386 [BZ #15856]
7387 * malloc/malloc.c (__libc_valloc): Check the value of bytes
7388 does not overflow.
7389
1159a193
WN
73902013-09-11 Will Newton <will.newton@linaro.org>
7391
7392 [BZ #15855]
7393 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
7394 does not overflow.
7395
5905e7b3 73962013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
7397
7398 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
7399 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7400 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7401 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7402 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7403
cdfc721b
AM
74042013-09-10 Allan McRae <allan@archlinux.org>
7405
aa04af00
AM
7406 [BZ #15748]
7407 * manual/arith.texi (Parsing of Floats): Clarify
7408 cross-reference.
7409
cdfc721b
AM
7410 [BZ #15849]
7411 * manual/install.texi (Running make install): Mention
7412 --enable-pt-chown.
7413 * INSTALL: Regenerated.
7414
95e7cf29
MR
74152013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7416
7417 * csu/init-first.c (_init): Remove the !SHARED condition around
7418 FPU control word initialization.
7419 * elf/dl-support.c (_dl_fpu_control): New variable.
7420 (_dl_aux_init) <AT_FPUCW>: Initialize it.
7421 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
7422 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
7423 * math/test-fpucw-static.c: New file.
7424 * math/test-fpucw-ieee.c: New file.
7425 * math/test-fpucw-ieee-static.c: New file.
7426 * math/Makefile (tests): Add `test-fpucw-ieee' and
7427 `$(tests-static)'.
7428 (tests-static): New variable.
7429 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
7430 dependency to...
7431 [($(build-shared),yes)]
7432 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7433 ... this.
7434 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
7435 New dependency.
7436
83e43bf0
AM
74372013-09-09 Allan McRae <allan@archlinux.org>
7438
a9f5ce09
AM
7439 [BZ #15939]
7440 * manual/string.texi (Collation Functions): Fix typo in
7441 strcoll example.
7442 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
7443
34829bc2
AM
7444 [BZ #15893]
7445 * stdlib/isomac.c (get_null_defines): Fix memory leak.
7446
3932737d
AM
7447 [BZ #15892]
7448 * libio/memstream.c (open_memstream): Fix memory leak.
7449 * libio/wmemstream.c (open_wmemstream): Likewise.
7450
83e43bf0
AM
7451 [BZ #15895]
7452 * nscd/netgroupcache.c: Fix nesting of ifdefs.
7453
0c66b8e9
WN
74542013-09-09 Will Newton <will.newton@linaro.org>
7455
7456 * malloc/Makefile: Add tst-realloc to tests.
7457 * malloc/tst-realloc.c: New file.
7458
f6b00fd1
AM
74592013-09-09 Allan McRae <allan@archlinux.org>
7460
7461 [BZ #15844]
7462 * COPYING: Update from GNU website to fix FSF address.
7463 * COPYING.LIB: Likewise.
7464
eec55e16
DM
74652013-09-06 David S. Miller <davem@davemloft.net>
7466
7467 * po/zh_TW.po: Update Chinese (traditional) translation from
7468 translation project.
7469
1ecbb381
RS
74702013-09-06 Richard Sandiford <richard@codesourcery.com>
7471 Joseph Myers <joseph@codesourcery.com>
7472
7473 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
7474 "localeinfo.h".
7475 (obstack_chunk_alloc): New macro.
7476 (obstack_chunk_free): Likewise.
7477 (record_offset): New function.
7478 (init_locale_data): Likewise.
7479 (align_locale_data): Likewise.
7480 (add_locale_empty): Likewise.
7481 (add_locale_raw_data): Likewise.
7482 (add_locale_raw_obstack): Likewise.
7483 (add_locale_string): Likewise.
7484 (add_locale_wstring): Likewise.
7485 (add_locale_uint32): Likewise.
7486 (add_locale_uint32_array): Likewise.
7487 (add_locale_char): Likewise.
7488 (start_locale_structure): Likewise.
7489 (end_locale_structure): Likewise.
7490 (start_locale_prelude): Likewise.
7491 (end_locale_prelude): Likewise.
7492 (write_locale_data): Take locale_file structure rather than an
7493 iovec.
7494 * locale/programs/locfile.h: Include "obstack.h".
7495 (struct locale_file): Change to store locale file contents instead
7496 of header.
7497 (init_locale_data): New prototype.
7498 (align_locale_data): Likewise.
7499 (add_locale_empty): Likewise.
7500 (add_locale_raw_data): Likewise.
7501 (add_locale_raw_obstack): Likewise.
7502 (add_locale_string): Likewise.
7503 (add_locale_wstring): Likewise.
7504 (add_locale_uint32): Likewise.
7505 (add_locale_uint32_array): Likewise.
7506 (add_locale_char): Likewise.
7507 (start_locale_structure): Likewise.
7508 (end_locale_structure): Likewise.
7509 (start_locale_prelude): Likewise.
7510 (end_locale_prelude): Likewise.
7511 (write_locale_data): Update prototype.
7512 * locale/programs/3level.h (struct TABLE): Remove result field.
7513 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
7514 Use new locale_file interface.
7515 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
7516 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
7517 * locale/programs/ld-address.c (address_output): Use new
7518 locale_file interface.
7519 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
7520 NO_ADD_LOCALE.
7521 (collate_finish): Don't call collseq_table_finalize.
7522 (collate_output): Use new locale_file interface.
7523 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
7524 in file.
7525 (NO_FINALIZE): Change to NO_ADD_LOCALE.
7526 (TABLE): Move defines earlier in file.
7527 (ELEMENT): Likewise.
7528 (DEFAULT): Likewise.
7529 (wctrans_table_add): Move macro and inline function earlier in
7530 file.
7531 (struct wctype_table): Move type earlier in file.
7532 (add_locale_wctype_table): New static prototype.
7533 (struct locale_ctype_t): Use logical types instead of struct iovec
7534 pointers for members.
7535 (ctype_output): Use new locale_file interface.
7536 (wctype_table_finalize): Change to add_locale_wctype_table. Use
7537 new locale_file interface.
7538 (allocate_arrays): Update for use of new locale_file interface.
7539 * locale/programs/ld-identification.c (identification_output): Use
7540 new locale_file interface.
7541 * locale/programs/ld-measurement.c (measurement_output): Likewise.
7542 * locale/programs/ld-messages.c (messages_output): Likewise.
7543 * locale/programs/ld-monetary.c (monetary_output): Likewise.
7544 * locale/programs/ld-name.c (name_output): Likewise.
7545 * locale/programs/ld-numeric.c (numeric_output): Likewise.
7546 * locale/programs/ld-paper.c (paper_output): Likewise.
7547 * locale/programs/ld-telephone.c (telephone_output): Likewise.
7548 * locale/programs/ld-time.c (time_output): Likewise.
7549
e029e2e5
AZ
75502013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7551
7552 * benchtests/Makefile: Add memrchr benchmark.
7553 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
7554 benchmark as memrchr.
7555 * benchtests/bench-memrchr-ifunc.c: New file.
7556 * benchtests/bench-memrchr.c: New file.
7557
bbf6e8e4
WN
75582013-09-06 Will Newton <will.newton@linaro.org>
7559
7560 * benchtests/Makefile (string-bench): Add memcpy.
7561
6c82a2f8
CD
75622013-09-05 Carlos O'Donell <carlos@redhat.com>
7563 Cong Wang <amwang@redhat.com>
7564
e732c5f0 7565 [BZ #15850]
6c82a2f8
CD
7566 * sysdeps/unix/sysv/linux/bits/in.h
7567 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
7568 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
7569 before __USE_KERNEL_IPV6_DEFS uses.
7570 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
7571 IPPROTO_BEETPH.
7572 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
7573 sockaddr_in6, or ipv6_mreq.
7574
5430fc65
AZ
75752013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7576
7577 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
7578 memory access for final bytes in some large inputs.
7579 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
7580
4660856c
AZ
75812013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7582
7583 * string/test-memrchr.c: New file.
7584 * string/test-memrchr-ifunc.c: New file.
7585 * string/Makefile: Add new memrchr testcase.
7586
bb8ea713
MF
75872013-09-05 Mike Frysinger <vapier@gentoo.org>
7588
7589 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
7590 fanotify_init returns EPERM.
7591
b92a20b5
JM
75922013-09-04 Joseph Myers <joseph@codesourcery.com>
7593
7594 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
7595 errors.
7596 (top level): Treat second token from macro or constant entries for
7597 allowed headers as allowed.
7598 * include/complex.h: Condition internal declarations on
7599 [!_ISOMAC].
7600 * include/fenv.h: Condition include of <stdbool.h> and internal
7601 declarations on [!_ISOMAC].
7447ccd9
CL
7602
76032013-09-04 Chris Leonard <cjl@sugarlabs,.org>
7604
3e181dda 7605 [BZ #15923]
7447ccd9
CL
7606 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
7607
3f2e46a4
JM
76082013-09-04 Joseph Myers <joseph@codesourcery.com>
7609
7610 * configure.in (--enable-versioning): Remove configure option.
7611 (libc_cv_asm_symver_directive): Remove configure test.
7612 (libc_cv_ld_version_script_option): Likewise.
7613 (VERSIONING): Remove variable and AC_SUBST.
7614 (DO_VERSIONING): Remove AC_DEFINE.
7615 * configure: Regenerated.
7616 * config.h.in (DO_VERSIONING): Remove macro.
7617 * Makerules [$(versioning) = yes]: Change conditionals to
7618 [$(build-shared) = yes].
7619 * config.make.in (versioning): Remove variable.
7620 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
7621 [$(build-shared) = yes].
7622 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
7623 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
7624 * elf/Makefile [$(versioning) = yes]: Change conditionals to
7625 [$(build-shared) = yes].
7626 * extra-lib.mk [$(versioning) = yes]: Likewise.
7627 * hurd/Makefile [$(versioning) = yes]: Likewise.
7628 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
7629 [SHARED].
7630 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
7631 [SHARED].
7632 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7633 [SHARED && !NO_HIDDEN].
7634 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
7635 [SHARED].
7636 [SHARED && DO_VERSIONING]: Likewise..
7637 * libio/Makefile [$(versioning) = yes]: Change conditionals to
7638 [$(build-shared) = yes].
7639 * manual/install.texi (--disable-versioning): Remove
7640 documentation.
7641 * INSTALL: Regenerated.
7642 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
7643 to [SHARED].
7644 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
7645 [$(build-shared) = yes].
7646 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
7647 * sysdeps/i386/i686/multiarch/strstr-c.c
7648 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7649 [SHARED && !NO_HIDDEN].
7650 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
7651 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
7652 * sysdeps/powerpc/powerpc32/dl-machine.c
7653 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
7654 * sysdeps/powerpc/powerpc32/sysdep.h
7655 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
7656 to [SHARED && PIC && !NO_HIDDEN].
7657 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
7658 conditional to [SHARED].
7659
44558701
WN
76602013-09-04 Will Newton <will.newton@linaro.org>
7661
7662 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
7663 * benchtests/bench-string.h: Include bench-timing.h instead
7664 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
7665 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
7666 call to HP_TIMING_DIFF_INIT.
7667 * benchtests/bench-memccpy.c: Use bench-timing.h macros
7668 instead of hp-timing.h macros.
7669 * benchtests/bench-memchr.c: Likewise.
7670 * benchtests/bench-memcmp.c: Likewise.
7671 * benchtests/bench-memcpy.c: Likewise.
7672 * benchtests/bench-memmem.c: Likewise.
7673 * benchtests/bench-memmove.c: Likewise.
7674 * benchtests/bench-memset.c: Likewise.
7675 * benchtests/bench-rawmemchr.c: Likewise.
7676 * benchtests/bench-strcasecmp.c: Likewise.
7677 * benchtests/bench-strcasestr.c: Likewise.
7678 * benchtests/bench-strcat.c: Likewise.
7679 * benchtests/bench-strchr.c: Likewise.
7680 * benchtests/bench-strcmp.c: Likewise.
7681 * benchtests/bench-strcpy.c: Likewise.
7682 * benchtests/bench-strcpy_chk.c: Likewise.
7683 * benchtests/bench-strlen.c: Likewise.
7684 * benchtests/bench-strncasecmp.c: Likewise.
7685 * benchtests/bench-strncat.c: Likewise.
7686 * benchtests/bench-strncmp.c: Likewise.
7687 * benchtests/bench-strncpy.c: Likewise.
7688 * benchtests/bench-strnlen.c: Likewise.
7689 * benchtests/bench-strpbrk.c: Likewise.
7690 * benchtests/bench-strrchr.c: Likewise.
7691 * benchtests/bench-strspn.c: Likewise.
7692 * benchtests/bench-strstr.c: Likewise.
7693
cae16d66
WN
76942013-09-04 Will Newton <will.newton@linaro.org>
7695
7696 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
7697
ffa3cd7f
JM
76982013-09-03 Joseph Myers <joseph@codesourcery.com>
7699
7700 [BZ #15427]
7701 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
7702 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
7703 * math/libm-test.inc (lgamma_test_data): Add more tests.
7704 * sysdeps/i386/fpu/libm-test-ulps: Update.
7705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7706
8f02859f
OB
77072013-09-03 Ondřej Bílka <neleai@seznam.cz>
7708
7709 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
7710 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7711 Add ifunc.
7712 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7713 Add strcmp-sse2-unaligned
7714 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
7715
18d43716
MF
77162013-09-02 Mike Frysinger <vapier@gentoo.org>
7717
7718 * Versions.def (libc): Add GLIBC_2.19.
7719
ac444012
MF
77202013-09-02 Mike Frysinger <vapier@gentoo.org>
7721
7722 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
7723 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
7724
b7835e32
JM
77252013-09-02 Joseph Myers <joseph@codesourcery.com>
7726
7727 [BZ #14155]
7728 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
7729 intermediate calculations in recurrence.
7730 (__ieee754_ynf): Likewise.
7731 * math/libm-test.inc (jn_test_data): Do not allow spurious
7732 underflow exception. Add more tests.
7733 (yn_test_data): Add more tests.
7734 * sysdeps/i386/fpu/libm-test-ulps: Update.
7735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7736
8220f4f0
OB
77372013-09-02 Ondřej Bílka <neleai@seznam.cz>
7738
7739 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
7740
f24a6d08
OB
77412013-08-30 Ondřej Bílka <neleai@seznam.cz>
7742
7743 * csu/init-first.c: Fix then/than typos.
7744 * locale/programs/ld-collate.c: Likewise.
7745 * locale/programs/linereader.h: Likewise.
7746 * manual/charset.texi: Likewise.
7747 * manual/filesys.texi: Likewise.
7748 * manual/stdio.texi: Likewise.
7749 * manual/string.texi: Likewise.
7750 * stdlib/fmtmsg.c: Likewise.
7751 * sysdeps/i386/stpncpy.S: Likewise.
7752 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7753 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7754 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7755 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7756
382466e0
OB
77572013-08-30 Ondřej Bílka <neleai@seznam.cz>
7758
7759 * elf/dl-open.c: Fix typos.
7760 * iconvdata/gbbig5.c: Likewise.
7761 * iconvdata/iso-2022-jp.c: Likewise.
7762 * iconv/gconv_int.h: Likewise.
7763 * iconv/loop.c: Likewise.
7764 * nis/rpcsvc/nis.h: Likewise.
7765 * resolv/ns_name.c: Likewise.
7766 * stdio-common/vfscanf.c: Likewise.
7767 * streams/stropts.h: Likewise.
7768 * sunrpc/rpc_thread.c: Likewise.
7769 * sysdeps/i386/strpbrk.S: Likewise.
7770 * sysdeps/ieee754/k_standard.c: Likewise.
7771 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7772 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7773 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7774 * sysdeps/mach/hurd/profil.c: Likewise.
7775 * sysdeps/s390/dl-procinfo.h: Likewise.
7776 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7777 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7778 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
7779 * sysdeps/x86_64/dl-trampoline.S: Likewise.
7780 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7781
0186c6e9
OB
77822013-08-30 Ondřej Bílka <neleai@seznam.cz>
7783
7784 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
7785 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
7786
d4e16af1
OB
77872013-08-29 Ondřej Bílka <neleai@seznam.cz>
7788
7789 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
7790 aix specific files.
7791 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
7792 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
7793 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
7794 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
7795 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
7796 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
7797 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
7798 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
7799
88335980
TS
78002013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7801 Roland McGrath <roland@hack.frob.com>
7802
7803 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
7804 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7805
ed479b02
ST
78062013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
7807
7808 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
7809 __executable_start symbol instead of _start.
7810
f1cc4c86
TS
78112013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7812
d821f07c
TS
7813 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
7814 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
7815 Move macros to...
7816 * sysdeps/gnu/ldsodefs.h: ... this new file.
7817
c54290cf
TS
7818 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
7819 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
7820 instead of ELFOSABI_LINUX.
7821
0007fc9b 7822 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
7823 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
7824 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
7825 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
7826 Likewise.
7827 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
7828 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
7829 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
7830 Likewise.
7831 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7832 (ibm_extended_long_double): Add ieee_nan member.
7833 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
7834 (do_test): New function.
7835
f1cc4c86
TS
7836 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
7837 TEST_TRUNC.
7838 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
7839 functions, renamed from truncdfsf_test, trunctfsf_test,
7840 trunctfdf_test.
7841 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
7842 functions.
7843 (do_test): Run all these.
7844
6f65e668
OB
78452013-08-29 Ondřej Bílka <neleai@seznam.cz>
7846
7847 * argp/argp-help.c: Fix typos.
7848 * argp/argp-parse.c: Likewise.
7849 * debug/backtracesyms.c: Likewise.
7850 * elf/elf.h: Likewise.
7851 * malloc/malloc.c: Likewise.
7852 * nis/nis_print.c: Likewise.
7853 * resolv/res_comp.c: Likewise.
7854 * stdlib/stdlib.h: Likewise.
7855 * sunrpc/clnt_tcp.c: Likewise.
7856 * sunrpc/clnt_udp.c: Likewise.
7857 * sunrpc/clnt_unix.c: Likewise.
7858 * sysdeps/unix/bsd/ptsname.c: Likewise.
7859 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7860 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
7861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
7862 Likewise.
7863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
7864 Likewise.
7865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7866 Likewise.
6f65e668
OB
7867 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7868
3a309239
SP
78692013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7870
7871 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
7872 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7873
3b813b29
MF
78742013-08-27 Mike Frysinger <vapier@gentoo.org>
7875
7876 [BZ #15897]
7877 * dlfcn/Makefile (tests): Add bug-dl-leaf.
7878 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
7879 ($(objpfx)bug-dl-leaf): New rule.
7880 ($(objpfx)bug-dl-leaf.so): Likewise.
7881 ($(objpfx)bug-dl-leaf.out): Likewise.
7882 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
7883 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
7884 * dlfcn/bug-dl-leaf.c: New test.
7885 * dlfcn/bug-dl-leaf-lib.c: Likewise.
7886 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
7887 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
7888 (dlclose): Likewise.
7889 (dlmopen): Likewise.
7890
8cc3269f
RM
78912013-08-27 Roland McGrath <roland@hack.frob.com>
7892
7f9d0034
RM
7893 * include/netdb.h [!_ISOMAC]:
7894 Don't include <tls.h>.
7895 (h_errno, __libc_h_errno): Move declaration and macros out of
7896 [_LIBC_REENTRANT].
7897
fb431262
RM
7898 * include/resolv.h [_RESOLV_H_]:
7899 Don't include <tls.h>.
7900 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
7901 * resolv/res_libc.c: Don't include <tls.h>.
7902 (_res): Use __attribute__ ((nocommon)) in place of
7903 __attribute__ ((section (".bss"))).
7904
bd81123a
RM
7905 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
7906 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
7907
c4e42566
RM
7908 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
7909
f890a59b
RM
7910 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
7911 only under [SIOCGIFCONF && SIOCGIFNETMASK].
7912
7913 * resolv/res_mkquery.c: Include <sys/time.h>.
7914
5d1f0a09
RM
7915 * inet/ifreq.c: Moved to ...
7916 * sysdeps/unix/ifreq.c: ... here.
7917 * inet/ifreq.c: New file, true stub version.
7918
6fcf28b3
RM
7919 * socket/sa_len.c: New file.
7920 * socket/Makefile (aux): Add it.
7921 * sysdeps/unix/sysv/linux/Makefile
7922 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
7923 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
7924 and #include <socket/sa_len.c>.
7925 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
7926 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
7927
e041fb8b
RM
7928 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
7929 * bits/socket.h: ... here.
7930
8cc3269f
RM
7931 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
7932 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
7933 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
7934
5d228a43
AS
79352013-08-27 Andreas Schwab <schwab@suse.de>
7936
45b8accc
AS
7937 [BZ #15736]
7938 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
7939 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
7940 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
7941 * string/test-strcasecmp.c (test_main): Run tests in several
7942 locales.
7943 * string/test-strncasecmp.c (test_main): Likewise.
7944
5d228a43
AS
7945 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
7946 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
7947 to __strcasecmp_nonascii and __strncasecmp_nonascii.
7948 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
7949 (__strncasecmp_ssse3) [PIC]: Likewise.
7950
59d112a4
RM
79512013-08-26 Roland McGrath <roland@hack.frob.com>
7952
53234cc3
RM
7953 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
7954
59d112a4
RM
7955 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
7956 instead of explicitly declaring xdecrypt.
7957 * nis/nss_nis/nis-publickey.c: Likewise.
7958
595aba70
SP
79592013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7960
7961 [BZ #15890]
7962 * nscd/aicache.c: Include res_hconf.h.
7963 (addhstaiX): Initialize res_hconf.
7964
ffabd393
AS
79652013-08-26 Andreas Schwab <schwab@suse.de>
7966
7967 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
7968 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
7969
e0a69f5c
SP
79702013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7971
7972 * nscd/aicache.c (addhstaiX): Fix indentation.
7973
8c12f01d
MF
79742013-08-25 Mike Frysinger <vapier@gentoo.org>
7975
7976 * configure.ac: Quote $build_pt_chown test.
7977 * configure: Regenerated.
7978
8fe89494
JM
79792013-08-23 Joseph Myers <joseph@codesourcery.com>
7980
7981 [BZ #15532]
7982 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
7983 * math/s_cexpf.c (__cexpf): Likewise.
7984 * math/s_cexpl.c (__cexpl): Likewise.
7985 * math/libm-test.inc (cexp_test_data): Correct expected return
7986 value for NaN + i0. Add another test.
7987
75b181d6
DM
79882013-08-22 David S. Miller <davem@davemloft.net>
7989
7990 * po/ca.po: Update Catalan translation from translation project.
936241e4 7991 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 7992
acd06bb1
JM
79932013-08-21 Joseph Myers <joseph@codesourcery.com>
7994
7995 [BZ #15797]
7996 * math/s_fdim.c (__fdim): Check for infinite arguments if result
7997 is infinite, not alongside NaN test.
7998 * math/s_fdimf.c (__fdimf): Likewise.
7999 * math/s_fdiml.c (__fdiml): Likewise.
8000 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
8001 errno is unchanged.
8002
c0c3f78a
OB
80032013-08-21 Ondřej Bílka <neleai@seznam.cz>
8004
8005 * argp/argp-help.c: Fix typos.
8006 * crypt/speeds.c: Likewise.
8007 * csu/check_fds.c: Likewise.
8008 * elf/dl-load.c: Likewise.
8009 * elf/dl-open.c: Likewise.
8010 * elf/reldep3.c: Likewise.
8011 * elf/reldep.c: Likewise.
8012 * elf/sprof.c: Likewise.
8013 * iconv/iconv_charmap.c: Likewise.
8014 * iconv/skeleton.c: Likewise.
8015 * iconv/strtab.c: Likewise.
8016 * io/lockf64.c: Likewise.
8017 * libio/libioP.h: Likewise.
8018 * resolv/gai_notify.c: Likewise.
8019 * resolv/ns_name.c: Likewise.
8020 * resolv/ns_samedomain.c: Likewise.
8021 * resolv/res_send.c: Likewise.
8022 * stdlib/random.c: Likewise.
8023 * sunrpc/rpc/xdr.h: Likewise.
8024 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
8025 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8026 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8027 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8028 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8029 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8030 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8031 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8032 * sysdeps/mach/hurd/check_fds.c: Likewise.
8033 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8034 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8035 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8036 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8037 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8038 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8039 * sysdeps/pthread/aio_notify.c: Likewise.
8040 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
8041 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
8042 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
8043 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8044 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8045
46ed1038
LD
80462013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8047
8048 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
8049 version if bit_Slow_SSE4_2 is set.
8050 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8051 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8052
d400dcac
AZ
80532013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8054
8055 [BZ #15867]
8056 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
8057 trampoline stack frame information.
8058 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
8059 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
8060 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
8061 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
8062 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
8063 * sysdeps/unix/sysv/linux/powerpc/init-first.c
8064 (_libc_vdso_platform_setup): Initialize the signal trampolines.
8065 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
8066 sa_flags value.
8067 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
8068 interrupting a syscall and set with option SA_SIGINFO.
8069
42c8fdd8
JM
80702013-08-20 Joseph Myers <joseph@codesourcery.com>
8071
c980f2f4
JM
8072 [BZ #15531]
8073 * math/s_cproj.c (__cproj): Only return an infinity if one part of
8074 argument is infinite.
8075 * math/s_cprojf.c (__cprojf): Likewise.
8076 * math/s_cprojl.c (__cprojl): Likewise.
8077 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
8078 * math/libm-test.inc (cproj_test_data): Add more tests.
8079
0716c4fc
JM
8080 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
8081
42c8fdd8
JM
8082 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
8083 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
8084 size. Use __ffs to determine corresponding shift.
8085
b31469d0
JM
80862013-08-20 Joseph Myers <joseph@codesourcery.com>
8087 Roland McGrath <roland@hack.frob.com>
8088
8089 * Makefile (INSTALL): Remove trailing blank lines from output of
8090 makeinfo.
8091
4e39af6e
AK
80922013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8093
8094 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
8095 Align 32 bit compat elf_greg to 8 bytes.
8096
f315524e
AA
80972013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
8098
8099 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
8100
1326ba1a
SP
81012013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8102
8103 * string/strcoll_l.c (coll_seq): New structure.
8104 (get_next_seq_cached): New function.
8105 (get_next_seq): New function.
8106 (do_compare): New function.
8107 (STRCOLL): Use GNU style definition. Simplify implementation
8108 by using get_next_seq, get_next_seq_cached and do_compare.
8109
91ce4085
FW
81102013-08-16 Florian Weimer <fweimer@redhat.com>
8111
8112 [BZ #14699]
8113 CVE-2013-4237
8114 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
8115 member.
8116 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
8117 member.
8118 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
8119 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
8120 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
8121 conditional.
8122 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
8123 GETDENTS_64BIT_ALIGNED.
8124 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8125 * manual/filesys.texi (Reading/Closing Directory): Document
8126 ENAMETOOLONG return value of readdir_r. Recommend readdir more
8127 strongly.
8128 * manual/conf.texi (Limits for Files): Add portability note to
8129 NAME_MAX, PATH_MAX.
8130 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
8131
ca0a6bc4
AS
81322013-08-13 Andreas Schwab <schwab@suse.de>
8133
8134 [BZ #15749]
8135 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
8136 of fabs.
8137 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
8138 LDBL_MAX_EXP >= 16384]: Add tests for it.
8139
6c1fd795
DM
81402013-08-12 David S. Miller <davem@davemloft.net>
8141
8142 * version.h (RELEASE): Set to "development".
8143 (VERSION): Set to "2.18.90".
8144 * NEWS: Add 2.19 section.
8145
31ad488d
DM
81462013-08-03 David S. Miller <davem@davemloft.net>
8147
8148 * po/ko.po: Update Korean translation from translation project.
8149
db24e684
DM
81502013-08-01 David S. Miller <davem@davemloft.net>
8151
8152 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
8153 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
8154 Bilka.
8155
f723285b
DM
81562013-07-30 David S. Miller <davem@davemloft.net>
8157
8158 * po/fr.po: Update French translation from translation project.
8159
3cbc52db
DM
81602013-07-28 David S. Miller <davem@davemloft.net>
8161
30bbc0cc
DM
8162 * po/cs.po: Update Czech translation from translation project.
8163
3cbc52db
DM
8164 * po/sv.po: Update Swedish translation from translation project.
8165
d492e6d0
DM
81662013-07-27 David S. Miller <davem@davemloft.net>
8167
f1a7f492
DM
8168 * po/eo.po: Update Esperanto translation from translation project.
8169
90e62a4a
DM
8170 * po/vi.po: Update Vietnamese translation from translation project.
8171
d492e6d0
DM
8172 * po/de.po: Update German translation from translation project.
8173
d4baa62d
DM
81742013-07-26 David S. Miller <davem@davemloft.net>
8175
641aa7b4
DM
8176 * po/bg.po: Update Bulgarian translation from translation project.
8177
d4baa62d
DM
8178 * po/nl.po: Update Dutch translation from translation project.
8179 * po/pl.po: Update Polish translation from translation project.
8180 * po/ru.po: Update Russian translation from translation project.
8181
61a9dcb9
DM
81822013-07-24 David S. Miller <davem@davemloft.net>
8183
8184 * po/libc.pot: Update.
8185
7b1f8b58
AZ
81862013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8187
8188 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
8189 variable page size.
8190 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
8191 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
8192 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
8193
a8fc7a03
AK
81942013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8195
8196 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
8197
e4608715
CD
81982013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8199 Andreas Schwab <schwab@suse.de>
8200 Roland McGrath <roland@hack.frob.com>
8201 Joseph Myers <joseph@codesourcery.com>
8202 Carlos O'Donell <carlos@redhat.com>
8203
8204 [BZ #15755]
8205 * config.h.in: Define HAVE_PT_CHOWN.
8206 * config.make.in (build-pt-chown): New variable.
8207 * configure.in (--enable-pt_chown): New configure option.
8208 * configure: Regenerate.
8209 * login/Makefile: Include Makeconfig. Build pt_chown only if
8210 build-pt-chown is enabled.
8211 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
8212 pt_chown to fix pty ownership.
8213 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
8214 CLOSE_ALL_FDS.
8215 * manual/install.texi (Configuring and compiling): Mention
8216 --enable-pt_chown. Add @findex for grantpt.
8217 * INSTALL: Regenerate.
8218
da2d62df
DM
82192013-07-20 David S. Miller <davem@davemloft.net>
8220
8221 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
8222 difference between 32-bit and 64-bit.
8223
d7e06450
CD
82242013-07-15 Carlos O'Donell <carlos@redhat.com>
8225
8226 [BZ #15711]
8227 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
8228 Avoid system header dependency with -ffreestanding.
8229 ($(objpfx)bits/syscall%d): Likewise.
8230
f959cfd7
DM
82312013-07-13 David S. Miller <davem@davemloft.net>
8232
8233 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
8234 underflows from atanl/atan2l due to bug 15319.
8235 (casinh_test_data): Likewise.
8236
c61f8513
DM
82372013-07-07 David S. Miller <davem@davemloft.net>
8238
8239 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
8240
72c90ed0
JA
82412013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
8242
8243 * sysdeps/i386/fpu/libm-test-ulps: Update.
8244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8245
52dfbe13
SP
82462013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8247
8248 * configure.in (--enable-lock-elision): Fix message text.
8249 * INSTALL: Regenerate.
8250 * configure: Regenerate.
8251
3f169543
AZ
82522013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8253
8254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8255
521c6785
AJ
82562013-07-03 Andreas Jaeger <aj@suse.de>
8257
8258 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
8259 define.
8260 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
8261 (ptrace_peeksiginfo_args): Add.
8262 (__ptrace_peeksiginfo_flags): Add.
8263 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8264 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8265 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8266
d2cc15cb
AM
82672013-07-03 Allan McRae <allan@archlinux.org>
8268
8269 * sysdeps/i386/fpu/libm-test-ulps: Update.
8270
3aaeeca7
DM
82712013-07-02 David S. Miller <davem@davemloft.net>
8272
8273 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8274
5314ed1a
MT
82752013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
8276
8277 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8278
67338156
JM
82792013-07-02 Joseph Myers <joseph@codesourcery.com>
8280
8281 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8283
1717da59
AK
82842013-07-02 Andi Kleen <ak@linux.intel.com>
8285
8286 * config.h.in (ENABLE_LOCK_ELISION): Add.
8287 * configure.in (--enable-lock-elision): Add option.
8288 * manual/install.texi: Document --enable lock elision.
8289 * configure: Regenerate
8290 * INSTALL: Regenerate.
8291
1c81621c
L
82922013-07-02 H.J. Lu <hongjiu.lu@intel.com>
8293
8294 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
8295 SSE4.2 strcasecmp for libc.a.
8296 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
8297
77f01ab5
JM
82982013-07-02 Joseph Myers <joseph@codesourcery.com>
8299
8300 [BZ #13304]
8301 * soft-fp/op-common.h (_FP_FMA): New macro.
8302 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
8303 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
8304 (_FP_MUL_MEAT_1_imm): ... here.
8305 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
8306 (_FP_MUL_MEAT_1_wide): ... here.
8307 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
8308 (_FP_MUL_MEAT_1_hard): ... here.
8309 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
8310 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
8311 (_FP_MUL_MEAT_2_wide): ... here.
8312 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
8313 (_FP_MUL_MEAT_2_wide_3mul): ... here.
8314 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
8315 (_FP_MUL_MEAT_2_gmp): ... here.
8316 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
8317 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
8318 (_FP_MUL_MEAT_4_wide): ... here.
8319 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
8320 (_FP_MUL_MEAT_4_gmp): ... here.
8321 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
8322 (_FP_WFRACBITS_DW_S): Likewise.
8323 (_FP_WFRACXBITS_DW_S): Likewise.
8324 (_FP_HIGHBIT_DW_S): Likewise.
8325 (FP_FMA_S): Likewise.
8326 (_FP_FRAC_HIGH_DW_S): Likewise.
8327 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
8328 (_FP_WFRACBITS_DW_D): Likewise.
8329 (_FP_WFRACXBITS_DW_D): Likewise.
8330 (_FP_HIGHBIT_DW_D): Likewise.
8331 (FP_FMA_D): Likewise.
8332 (_FP_FRAC_HIGH_DW_D): Likewise.
8333 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
8334 (_FP_WFRACBITS_DW_E): Likewise.
8335 (_FP_WFRACXBITS_DW_E): Likewise.
8336 (_FP_HIGHBIT_DW_E): Likewise.
8337 (FP_FMA_E): Likewise.
8338 (_FP_FRAC_HIGH_DW_E): Likewise.
8339 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
8340 (_FP_WFRACBITS_DW_Q): Likewise.
8341 (_FP_WFRACXBITS_DW_Q): Likewise.
8342 (_FP_HIGHBIT_DW_Q): Likewise.
8343 (FP_FMA_Q): Likewise.
8344 (_FP_FRAC_HIGH_DW_Q): Likewise.
8345 * soft-fp/fmasf4.c: New file.
8346 * soft-fp/fmadf4.c: Likewise.
8347 * soft-fp/fmatf4.c: Likewise.
8348
6308fd9a
LD
83492013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8350
8351 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
8352 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
8353 Silvermont.
8354 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
8355 macro.
8356 (index_Slow_SSE4_2): Likewise.
8357 (index_Prefer_PMINUB_for_stringop): Likewise.
8358 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
8359 bit_Slow_SSE4_2 is set.
8360 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8361 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8362
89cd9569
RA
83632013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8364
8365 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
8366 rtld_global._dl_hwcap2.
8367 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
8368 POWER8.
8369 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
8370 POWER8 feature descriptions defined in _dl_hwcap2.
8371 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
8372 string handling for POWER8 feature bits.
8373 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
8374 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
8375 _dl_powerpc_cap_flags.
8376 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
8377 * sysdeps/powerpc/rtld-global-offsets.sym
8378 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
8379 _dl_hwcap2 in the rtld_global_ro structure.
8380
1ae8bfe0
RA
83812013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8382
8383 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
8384 hardware capabilities in support of AT_HWCAP2.
8385 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
8386 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
8387 GLRO(dl_hwcap2).
8388 (_dl_show_auxv): Add support for calling _dl_procinfo to display
8389 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
8390 explicitly the unknown a_type display mechanism is used.
8391 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
8392 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
8393 struct member.
8394 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
8395 to macro prototype for AT_HWCAP2 support.
8396 * sysdeps/i386/dl-procinfo.h: Likewise.
8397 * sysdeps/s390/dl-procinfo.h: Likewise.
8398 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
8399 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
8400 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
8401 return -1 for unknown a_type display fallback.
8402 * sysdeps/sparc/dl-procinfo.h: Likewise.
8403 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
8404 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
8405
8fbec010
JM
84062013-06-28 Joseph Myers <joseph@codesourcery.com>
8407
8408 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
8409 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
8410
0432680e
PY
84112013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
8412
8413 [BZ #12492]
8414 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
8415 mprotect making __stack_prot writable.
8416
ce61a2ad
NF
84172013-06-28 Nathan Froyd <froydnj@codesourcery.com>
8418 Joseph Myers <joseph@codesourcery.com>
8419
8420 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
8421 as being properly aligned.
8422
f91f1c0f
MR
84232013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
8424
3d0f5d0c
MR
8425 * dlfcn/modstatic5.c: New file.
8426 * dlfcn/tststatic5.c: New file.
8427 * dlfcn/Makefile (tests): Add tststatic5.
8428 (tests-static): Likewise.
8429 (modules-names): Add modstatic5.
8430 (tststatic5-ENV): New variable.
8431 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
8432
f91f1c0f
MR
8433 [BZ #15022]
8434 * elf/dl-support.c (_dl_main_map): New variable.
8435 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
8436 (_dl_nns, _dl_load_adds): Set to 1.
8437 (_dl_initial_searchlist): Refer to _dl_main_map.
8438 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
8439 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
8440 call to _dl_get_origin.
8441 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
8442 around call_map.
8443 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
8444 * dlfcn/modstatic3.c: New file.
8445 * dlfcn/tststatic3.c: New file.
8446 * dlfcn/tststatic4.c: New file.
8447 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
8448 (tests-static): Likewise.
8449 (modules-names): Add modstatic3.
8450 (tststatic3-ENV, tststatic4-ENV): New variables.
8451 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
8452 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
8453
cbe7d24b
JM
84542013-06-26 Joseph Myers <joseph@codesourcery.com>
8455
8456 * configure.in (CC): Require GCC version 4.4 or later.
8457 * configure: Regenerated.
8458 * manual/install.texi (Tools for Compilation): Update GCC version
8459 requirement.
8460 * INSTALL: Regenerated.
8461
11b8a0e1
LD
84622013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8463
8464 [BZ #15674]
bb5bb87c
L
8465 * string/test-memcmp.c (check2): New.
8466 (main): Call check2.
8467
11b8a0e1
LD
8468 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
8469
b0037103
MR
84702013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
8471
8472 [BZ #15022]
8473 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
8474 over to...
8475 (dl_open_worker) [!SHARED]: ... here.
8476
c18c701d
RA
84772013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8478
8479 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
8480
1d17fa5f
RH
84812013-06-25 Richard Henderson <rth@redhat.com>
8482
8483 * locale/programs/locarchive.c: Include <libc-internal.h>
8484
8fcb833a
JM
84852013-06-25 Joseph Myers <joseph@codesourcery.com>
8486
8487 * manual/texinfo.tex: Update to version 2013-06-21.17, with
8488 trailing whitespace removed.
8489
17db6e8d
MF
84902013-06-24 Mike Frysinger <vapier@gentoo.org>
8491
8492 [BZ #10283]
17db6e8d
MF
8493 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
8494 * locale/programs/locarchive.c: Include libc-mmap.h.
8495 (prepare_address_space): Take two new outputs (the mmap base and len).
8496 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
8497 values.
8498 (create_archive): Declare new mmap base and len values for
8499 prepare_address_space, and store the result in ah.
8500 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
8501 (enlarge_archive): If ah->mmap_base is not NULL, use that and
8502 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8503 Declare new mmap base and len values for
8504 prepare_address_space, and store the result in new_ah.
8505 (open_archive): Declare new mmap base and len values for
8506 prepare_address_space, and store the result in ah.
8507 (close_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 * sysdeps/generic/libc-mmap.h: New file.
8510
d605071e
MF
85112013-06-24 Mike Frysinger <vapier@gentoo.org>
8512
8513 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
8514 (ALIGN_UP): Likewise.
8515 (PTR_ALIGN_DOWN): Likewise.
8516 (PTR_ALIGN_UP): Likewise.
8517
2f063a6e
RA
85182013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8519
8520 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
8521 entry mapped to PPC_PLATFORM_POWER8.
8522 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
8523 POWER8.
8524 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
8525 (_dl_string_platform): Add case for exporting platform position for
8526 POWER8.
8527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
8528 search path to sysdeps/powerpc/powerpc32/power8 directory.
8529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
8530 search path to sysdeps/powerpc/powerpc64/power8 directory.
8531 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
8532 power7 directories.
8533 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
8534 power7 directories.
8535
a31ee4b3
SP
85362013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8537
a74ca98f
SP
8538 * INSTALL: Regenerate.
8539
a31ee4b3
SP
8540 * nscd/connections.c (nscd_init): Fix comment.
8541
695c378f
JM
85422013-06-22 Joseph Myers <joseph@codesourcery.com>
8543
d8412221
JM
8544 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
8545
695c378f
JM
8546 [BZ #15667]
8547 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
8548 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
8549
d1d54715
MR
85502013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8551
8552 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
8553 DL_DST_REQ_STATIC.
8554 (DL_DST_REQ_STATIC): Remove macro.
8555
8fdda7af
JM
85562013-06-21 Joseph Myers <joseph@codesourcery.com>
8557
8558 [BZ #7006]
8559 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
8560 with a shift of 0 bits.
8561
f3bc5e5a
MR
85622013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8563
8564 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
8565 $(tststatic-ENV).
8566
be09e8c9
KK
85672013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8568
8569 [BZ #15655]
8570 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
8571
85c2e611
AZ
85722013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8573
8574 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
8575 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
8576 accepts -fno-tree-loop-distribute-patterns.
8577 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
8578 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
8579 recursive call.
8580 * string/memset.c (memset): Likewise.
8581 * string/test-memmove.c (simple_memmove): Disable loop transformation
8582 to library calls.
8583 * string/test-memset.c (simple_memset): Likewise.
8584 * benchtests/bench-memmove.c (simple_memmove): Likewise.
8585 * benchtests/bench-memset.c (simple_memset): Likewise.
8586 * configure: Regenerated.
8587
c91e0825
JM
85882013-06-20 Joseph Myers <joseph@codesourcery.com>
8589
b8c792af
JM
8590 * math/test-misc.c (main): Ignore fesetround failure when failures
8591 of subsequent rounding tests would be ignored.
8592
c91e0825
JM
8593 [BZ #15654]
8594 * math/fedisblxcpt.c (fedisableexcept): Return 0.
8595 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
8596 * math/fegetenv.c (__fegetenv): Return 0.
8597 * math/fegetexcept.c (fegetexcept): Return 0.
8598 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
8599 FE_TONEAREST.
8600 * math/feholdexcpt.c (feholdexcept): Return 0.
8601 * math/fesetenv.c (__fesetenv): Return 0.
8602 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
8603 argument FE_TONEAREST.
8604 * math/feupdateenv.c (__feupdateenv): Return 0.
8605 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
8606
bfcacbde
RM
86072013-06-18 Roland McGrath <roland@hack.frob.com>
8608
8609 * elf/rtld-Rules (rtld-compile-command.S): New variable.
8610 (rtld-compile-command.s, rtld-compile-command.c): New variables.
8611 ($(objpfx)rtld-%.os rules): Use them.
8612
e55a9b25
AZ
86132013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8614
8615 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
8616 fields.
8617
346d65b3
RM
86182013-06-17 Roland McGrath <roland@hack.frob.com>
8619
12086fb4
RM
8620 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
8621 length of target pattern, then descending length of dependency pattern.
8622 * configure.in (AWK): Require gawk 3.1.2 or newer.
8623 * manual/install.texi (Tools for Compilation): Say that we do.
8624 * configure: Regenerated.
8625
346d65b3
RM
8626 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
8627 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
8628 * scripts/sysd-rules.awk: ... this new script.
8629 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
8630 than a glob-style pattern.
8631
1a846317
JM
86322013-06-17 Joseph Myers <joseph@codesourcery.com>
8633
8634 * math/test-misc.c (main): Do not treat incorrectly rounded
8635 conversions as failure unless ROUNDING_TESTS passes.
8636
8fc75e6f
JM
86372013-06-15 Joseph Myers <joseph@codesourcery.com>
8638
3711a167
JM
8639 [BZ #15631]
8640 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
8641 restore exception state around main square root computation, then
8642 check for inexactness explicitly.
8643
8fc75e6f
JM
8644 * math/libm-test.inc (fma_test_data): Add another test.
8645
61dd6208
SP
86462013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8647
adf23d2c
SP
8648 * manual/threads.texi (Non-POSIX Extensions): New document
8649 node. Document pthread_getattr_default_np and
8650 pthread_setattr_default_np.
8651
61dd6208
SP
8652 * Versions.def (libpthread): Add GLIBC_2.18.
8653 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
8654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8655 Likewise.
8656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8657 Likewise.
8658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8659 Likewise.
8660 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8661 Likewise.
8662 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
8663 Likewise.
8664 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8665 Likewise.
8666 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8667 Likewise.
8668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
8669 Likewise.
8670 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8671 Likewise.
8672
d086fc7b
LD
86732013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8674
8675 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8676 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
8677
747ef469
SP
86782013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8679 H.J. Lu <hjl.tools@gmail.com>
8680
8681 [BZ #15627]
8682 * sysdeps/x86_64/rtld-memset.c: Remove file.
8683 * sysdeps/x86_64/rtld-memset.S: New file.
8684
1b2feed2
JM
86852013-06-14 Joseph Myers <joseph@codesourcery.com>
8686
8687 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
8688 (test_in_one_mode): Take arguments for whether the rounding mode
8689 is supported for each floating-point type.
8690 (do_test): Pass new arguments to test_in_one_mode using
8691 ROUNDING_TESTS.
8692
a58ad3f8
RM
86932013-06-13 Roland McGrath <roland@hack.frob.com>
8694
8695 * posix/tst-waitid.c (do_test): Distinguish different instances of
8696 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
8697 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
8698 before entering the kernel for waitpid.
8699
c204ab28
SP
87002013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8701
8702 * NEWS: Fix note on clock function precision. Text by Roland
8703 McGrath.
8704
f4a29fba
RM
87052013-06-13 Roland McGrath <roland@hack.frob.com>
8706
8707 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
8708 it into place only when and if the sanity check passes.
8709
1f24b9ad
JM
87102013-06-13 Joseph Myers <joseph@codesourcery.com>
8711
8712 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
8713 output for whether conversion result is exact. Take argument
8714 indicating whether type is IBM long double.
8715 (round_for_all): Change need_exact field to ibm_ld.
8716 * stdlib/tst-strtod-round.c (struct exactness): New type.
8717 (struct test): Change bool ld_ok field to struct exactness exact.
8718 (TEST): Update all definitions for change to field.
8719 (tests): Regenerate array contents.
8720 (test_in_one_mode): Take pointer to new field instead of old ld_ok
8721 field value. Check for IBM long double here.
8722 (do_test): Update calls to test_in_one_mode.
8723
58206c68
SP
87242013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8725
8726 [BZ #12515]
8727 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
8728 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
8729
2d6f4c5b 87302013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
8731
8732 [BZ #15605]
8733 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
8734 generated by the compiler on loop optimizations.
8735 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
8736 general definitions.
8737
94f2c076
JM
87382013-06-12 Joseph Myers <joseph@codesourcery.com>
8739
8740 * math/bug-nextafter.c: Include <math-tests.h>.
8741 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8742 the relevant type.
8743 * math/bug-nexttoward.c: Include <math-tests.h>.
8744 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8745 the relevant type.
8746 * math/test-misc.c: Include <math-tests.h>.
8747 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8748 the relevant type.
8749
e0e50a0a
AJ
87502013-06-12 Andreas Jaeger <aj@suse.de>
8751
8752 * po/ia.po: Update Interlingua translation from translation
8753 project.
8754
25061094
SP
87552013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8756
8757 * include/fenv.h: Include stdbool.h.
8758 (struct rm_ctx): New structure.
8759 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
8760 Define macro.
8761 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
8762 (SET_RESTORE_ROUNDF): Likewise.
8763 (SET_RESTORE_ROUNDL): Likewise.
8764 (SET_RESTORE_ROUND_NOEX): Likewise.
8765 (SET_RESTORE_ROUND_NOEXF): Likewise.
8766 (SET_RESTORE_ROUND_NOEXL): Likewise.
8767 (SET_RESTORE_ROUND_53BIT): Likewise.
8768 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
8769 (libc_feresetround_noexf_ctx): Likewise.
8770 (libc_feresetround_noexl_ctx): Likewise.
8771 (libc_feholdsetround_53bit_ctx): Likewise.
8772 (libc_feresetround_53bit_ctx): Likewise.
8773 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
8774 (libc_feholdexcept_setround_sse_ctx): New function.
8775 (libc_fesetenv_sse_ctx): Likewise.
8776 (libc_feupdateenv_sse_ctx): Likewise.
8777 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
8778 (libc_feholdexcept_setround_387_ctx): Likewise.
8779 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
8780 (libc_feholdsetround_387_prec_ctx): Likewise.
8781 (libc_feholdsetround_387_ctx): Likewise.
8782 (libc_feholdsetround_387_53bit_ctx): Likewise.
8783 (libc_feholdsetround_sse_ctx): Likewise.
8784 (libc_feresetround_sse_ctx): Likewise.
8785 (libc_feresetround_387_ctx): Likewise.
8786 (libc_feupdateenv_387_ctx): Likewise.
8787 (libc_feholdexcept_setroundf_ctx): Define macro.
8788 (libc_fesetenvf_ctx): Likewise.
8789 (libc_feupdateenvf_ctx): Likewise.
8790 (libc_feholdsetroundf_ctx): Likewise.
8791 (libc_feresetroundf_ctx): Likewise.
8792 (libc_feholdexcept_setround_ctx): Likewise.
8793 (libc_fesetenv_ctx): Likewise.
8794 (libc_feupdateenv_ctx): Likewise.
8795 (libc_feholdsetround_ctx): Likewise.
8796 (libc_feresetround_ctx): Likewise.
8797 (libc_feholdexcept_setroundl_ctx): Likewise.
8798 (libc_feupdateenvl_ctx): Likewise.
8799 (libc_feholdsetroundl_ctx): Likewise.
8800 (libc_feresetroundl_ctx): Likewise.
8801 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
8802 (libc_feresetround_53bit_ctx): Likewise.
8803
59b30555
SP
88042013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8805
8806 * locale/iso-639.def: Convert to UTF-8.
8807
f1d73d30
JM
88082013-06-11 Joseph Myers <joseph@codesourcery.com>
8809
8810 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
8811 (EXCEPTION_TESTS_double): Likewise.
8812 (EXCEPTION_TESTS_long_double): Likewise.
8813 (EXCEPTION_TESTS): Likewise.
8814 * math/libm-test.inc (test_exceptions): Only test exceptions if
8815 EXCEPTION_TESTS (FLOAT).
8816
94aca5e7
SP
88172013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8818
8819 * benchtests/Makefile (string-bench): Add strcpy_chk and
8820 stpcpy_chk.
8821 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
8822 * benchtests/bench-stpcpy_chk.c: New file.
8823 * benchtests/bench-strcpy_chk-ifunc.c: New file.
8824 * benchtests/bench-strcpy_chk.c: New file.
8825 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
8826 code.
8827 (do_test): Likewise.
8828
fac0c5f2
RA
88292013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8830
8831 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
8832 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
8833 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
8834 with tabs where appropriate.
8835 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
8836 dl-procinfo.h.
8837 [PPC_PLATFORM_PPC440]: Likewise.
8838 [PPC_PLATFORM_PPC464]: Likewise.
8839 [PPC_PLATFORM_PPC476]: Likewise.
8840 (_dl_string_platform): Add support for detecting ppc405, ppc440,
8841 ppc464, and ppc476 platform strings merging from ports/
8842 dl-procinfo.h.
8843
f22bc486
AS
88442013-06-11 Andreas Schwab <schwab@suse.de>
8845
8846 [BZ #14991]
8847 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
8848 (from_ucs4_idx): Regenerate.
8849 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
8850 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
8851 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
8852 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
8853 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
8854 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
8855 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
8856 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
8857 from FROM_LOOP and TO_LOOP specific macros.
8858 (BODY): Handle combining characters.
8859 * iconvdata/BIG5HKSCS.irreversible: Update.
8860 * iconvdata/BIG5HKSCS.precomposed: New file.
8861 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
8862 characters.
8863 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
8864
c1f75dc3
SP
88652013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8866
4eacded2
SP
8867 * include/sys/time.h: Fix indentation and add copyright header.
8868
fec799f8
SP
8869 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
8870 (do_test): Likewise.
8871 * string/test-memchr.c (do_one_test): Likewise.
8872 (do_test): Likewise.
8873 * string/test-memcmp.c (do_one_test): Likewise.
8874 (do_test): Likewise.
8875 * string/test-memcpy.c (do_one_test): Likewise.
8876 (do_test): Likewise.
8877 * string/test-memmem.c (do_one_test): Likewise.
8878 (do_test): Likewise.
8879 (do_random_tests): Likewise.
8880 * string/test-memmove.c (do_one_test): Likewise.
8881 (do_test): Likewise.
8882 * string/test-memset.c (do_one_test): Likewise.
8883 (do_test): Likewise.
8884 * string/test-rawmemchr.c (do_one_test): Likewise.
8885 (do_test): Likewise.
8886 * string/test-strcasecmp.c (do_one_test): Likewise.
8887 (do_test): Likewise.
8888 * string/test-strcasestr.c (do_one_test): Likewise.
8889 (do_test): Likewise.
8890 * string/test-strcat.c (do_one_test): Likewise.
8891 (do_test): Likewise.
8892 * string/test-strchr.c (do_one_test): Likewise.
8893 (do_test): Likewise.
8894 * string/test-strcmp.c (do_one_test): Likewise.
8895 (do_test): Likewise.
8896 * string/test-strcpy.c (do_one_test): Likewise.
8897 (do_test): Likewise.
8898 * string/test-string.h: Likewise.
8899 (test_init): Likewise.
8900 * string/test-strlen.c (do_one_test): Likewise.
8901 (do_test): Likewise.
8902 * string/test-strncasecmp.c (do_one_test): Likewise.
8903 (do_test): Likewise.
8904 * string/test-strncat.c (do_one_test): Likewise.
8905 (do_test): Likewise.
8906 * string/test-strncmp.c (do_one_test): Likewise.
8907 (do_test_limit): Likewise.
8908 (do_test): Likewise.
8909 * string/test-strncpy.c (do_one_test): Likewise.
8910 (do_test): Likewise.
8911 * string/test-strnlen.c (do_one_test): Likewise.
8912 (do_test): Likewise.
8913 * string/test-strpbrk.c (do_one_test): Likewise.
8914 (do_test): Likewise.
8915 * string/test-strrchr.c (do_one_test): Likewise.
8916 (do_test): Likewise.
8917 * string/test-strspn.c (do_one_test): Likewise.
8918 (do_test): Likewise.
8919 * string/test-strstr.c (do_one_test): Likewise.
8920 (do_test): Likewise.
8921
97020474
SP
8922 * benchtests/Makefile (string-bench): Add string benchmarks.
8923 * benchtests/bench-bcopy-ifunc.c: New file.
8924 * benchtests/bench-bcopy.c: New file.
8925 * benchtests/bench-bzero-ifunc.c: New file.
8926 * benchtests/bench-bzero.c: New file.
8927 * benchtests/bench-memccpy-ifunc.c: New file.
8928 * benchtests/bench-memccpy.c: New file.
8929 * benchtests/bench-memchr-ifunc.c: New file.
8930 * benchtests/bench-memchr.c: New file.
8931 * benchtests/bench-memcmp-ifunc.c: New file.
8932 * benchtests/bench-memcmp.c: New file.
8933 * benchtests/bench-memmem-ifunc.c: New file.
8934 * benchtests/bench-memmem.c: New file.
8935 * benchtests/bench-memmove-ifunc.c: New file.
8936 * benchtests/bench-memmove.c: New file.
8937 * benchtests/bench-mempcpy-ifunc.c: New file.
8938 * benchtests/bench-mempcpy.c: New file.
8939 * benchtests/bench-memset-ifunc.c: New file.
8940 * benchtests/bench-memset.c: New file.
8941 * benchtests/bench-rawmemchr-ifunc.c: New file.
8942 * benchtests/bench-rawmemchr.c: New file.
8943 * benchtests/bench-stpcpy-ifunc.c: New file.
8944 * benchtests/bench-stpcpy.c: New file.
8945 * benchtests/bench-stpncpy-ifunc.c: New file.
8946 * benchtests/bench-stpncpy.c: New file.
8947 * benchtests/bench-strcasecmp-ifunc.c: New file.
8948 * benchtests/bench-strcasecmp.c: New file.
8949 * benchtests/bench-strcasestr-ifunc.c: New file.
8950 * benchtests/bench-strcasestr.c: New file.
8951 * benchtests/bench-strcat-ifunc.c: New file.
8952 * benchtests/bench-strcat.c: New file.
8953 * benchtests/bench-strchr-ifunc.c: New file.
8954 * benchtests/bench-strchr.c: New file.
8955 * benchtests/bench-strchrnul-ifunc.c: New file.
8956 * benchtests/bench-strchrnul.c: New file.
8957 * benchtests/bench-strcmp-ifunc.c: New file.
8958 * benchtests/bench-strcmp.c: New file.
8959 * benchtests/bench-strcpy-ifunc.c: New file.
8960 * benchtests/bench-strcpy.c: New file.
8961 * benchtests/bench-strcspn-ifunc.c: New file.
8962 * benchtests/bench-strcspn.c: New file.
8963 * benchtests/bench-strlen-ifunc.c: New file.
8964 * benchtests/bench-strlen.c: New file.
8965 * benchtests/bench-strncasecmp-ifunc.c: New file.
8966 * benchtests/bench-strncasecmp.c: New file.
8967 * benchtests/bench-strncat-ifunc.c: New file.
8968 * benchtests/bench-strncat.c: New file.
8969 * benchtests/bench-strncmp-ifunc.c: New file.
8970 * benchtests/bench-strncmp.c: New file.
8971 * benchtests/bench-strncpy-ifunc.c: New file.
8972 * benchtests/bench-strncpy.c: New file.
8973 * benchtests/bench-strnlen-ifunc.c: New file.
8974 * benchtests/bench-strnlen.c: New file.
8975 * benchtests/bench-strpbrk-ifunc.c: New file.
8976 * benchtests/bench-strpbrk.c: New file.
8977 * benchtests/bench-strrchr-ifunc.c: New file.
8978 * benchtests/bench-strrchr.c: New file.
8979 * benchtests/bench-strspn-ifunc.c: New file.
8980 * benchtests/bench-strspn.c: New file.
8981 * benchtests/bench-strstr-ifunc.c: New file.
8982 * benchtests/bench-strstr.c: New file.
8983
c1f75dc3
SP
8984 * benchtests/Makefile: Disable parallel execution of targets.
8985 (string-bench): Add memcpy.
8986 (benchset): New variable to store a list of benchmark sets.
8987 (bench-func): Renamed from bench.
8988 (bench-set): New target.
8989 (bench): Depend on bench-func and bench-set.
8990 * benchtests/README: Add section on benchmark sets.
8991 * benchtests/bench-memcpy-ifunc.c: New file.
8992 * benchtests/bench-memcpy.c: New file.
8993 * benchtests/bench-string.h: New file.
8994
50fd745b
AS
89952013-06-11 Andreas Schwab <schwab@suse.de>
8996
8997 [BZ #15577]
8998 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
8999 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
9000 values in the triple.
9001 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
9002 terminator in the group key.
9003
3ee7e9fe
AJ
90042013-06-11 Andreas Jaeger <aj@suse.de>
9005
9006 * po/zh_TW.po: Update Chinese (traditional) translation from
9007 translation project.
9008
89fb6835
SP
90092013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9010
9011 * include/time.h (__clock_gettime): Add libc_hidden_proto.
9012 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
9013 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
9014 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9015 (clock_getcpuclockid): Likewise.
9016 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
9017 Add weak_alias and libc_hidden_def.
9018 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
9019 * rt/clock_gettime.c (clock_gettime): Rename to
9020 __clock_gettime. Add weak_alias and libc_hidden_def.
9021 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
9022 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
9023 __clock_nanosleep. Add weak_alias and libc_hidden_def.
9024 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
9025 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
9026 Likewise.
9027 * rt/clock_settime.c (clock_settime): Rename to
9028 __clock_settime. Add weak_alias and libc_hidden_def.
9029 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
9030
0efa6f8b
JM
90312013-06-10 Joseph Myers <joseph@codesourcery.com>
9032
b8c61b4b
JM
9033 * mach/err_boot.sub: Remove trailing whitespace.
9034 * mach/err_ipc.sub: Likewise.
9035 * mach/err_mach.sub: Likewise.
9036
0efa6f8b
JM
9037 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
9038 (ROUNDING_TESTS_double): Likewise.
9039 (ROUNDING_TESTS_long_double): Likewise.
9040 (ROUNDING_TESTS): Likewise.
9041 * math/libm-test.inc: Include <math-tests.h>.
9042 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
9043 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9044 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9045 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9046
50b818bf
SP
90472013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9048
9049 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
9050 of assigning.
9051
60d2f8f3
JM
90522013-06-08 Joseph Myers <joseph@codesourcery.com>
9053
4902d2c3
JM
9054 * sysdeps/gnu/errlist.awk: Do not generate space at end of
9055 otherwise empty TRANS lines.
9056 * sysdeps/gnu/errlist.c: Regenerated.
9057
60d2f8f3
JM
9058 * catgets/gencat.c (error_print): Use (void) in function
9059 definition.
9060 * crypt/crypt_util.c (__init_des): Likewise.
9061 * crypt/speeds.c (Stop): Likewise.
9062 (main): Likewise.
9063 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
9064 * inet/ruserpass.c (token): Likewise.
9065 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
9066 * intl/localealias.c (extend_alias_table): Likewise.
9067 * intl/plural-exp.c (init_germanic_plural): Likewise.
9068 * libio/fcloseall.c (__fcloseall): Likewise.
9069 * libio/genops.c (_IO_flush_all): Likewise.
9070 (_IO_flush_all_linebuffered): Likewise.
9071 (_IO_cleanup): Likewise.
9072 (_IO_iter_begin): Likewise.
9073 (_IO_iter_end): Likewise.
9074 (_IO_list_lock): Likewise.
9075 (_IO_list_unlock): Likewise.
9076 (_IO_list_resetlock): Likewise.
9077 * libio/getchar.c (getchar): Likewise.
9078 * libio/getchar_u.c (getchar_unlocked): Likewise.
9079 * libio/getwchar.c (getwchar): Likewise.
9080 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
9081 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
9082 * login/getpt.c (__getpt): Likewise.
9083 * login/tst-utmp.c (main): Likewise.
9084 * malloc/hooks.c (__malloc_check_init): Likewise.
9085 * malloc/malloc.c (__malloc_stats): Likewise.
9086 * malloc/mtrace.c (tr_break): Likewise.
9087 (mtrace): Likewise.
9088 (muntrace): Likewise.
9089 * misc/fstab.c (endfsent): Likewise.
9090 * misc/getclktck.c (__getclktck): Likewise.
9091 * misc/getdtsz.c (__getdtablesize): Likewise.
9092 * misc/gethostid.c (gethostid): Likewise.
9093 * misc/getpagesize.c (__getpagesize): Likewise.
9094 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
9095 (__get_nprocs): Likewise.
9096 (__get_phys_pages): Likewise.
9097 (__get_avphys_pages): Likewise.
9098 * misc/getttyent.c (getttyent): Likewise.
9099 (setttyent): Likewise.
9100 (endttyent): Likewise.
9101 * misc/getusershell.c (getusershell): Likewise.
9102 (endusershell): Likewise.
9103 (setusershell): Likewise.
9104 (initshells): Likewise.
9105 * misc/hsearch.c (__hdestroy): Likewise.
9106 * misc/sync.c (sync): Likewise.
9107 * misc/syslog.c (closelog_internal): Likewise.
9108 (closelog): Likewise.
9109 * misc/ttyslot.c (ttyslot): Likewise.
9110 * misc/vhangup.c (vhangup): Likewise.
9111 * posix/fork.c (__fork): Likewise.
9112 * posix/getegid.c (__getegid): Likewise.
9113 * posix/geteuid.c (__geteuid): Likewise.
9114 * posix/getgid.c (__getgid): Likewise.
9115 * posix/getpid.c (__getpid): Likewise.
9116 * posix/getppid.c (__getppid): Likewise.
9117 * posix/getuid.c (__getuid): Likewise.
9118 * posix/pause.c (pause): Likewise.
9119 * posix/setpgrp.c (setpgrp): Likewise.
9120 * posix/setsid.c (__setsid): Likewise.
9121 * posix/test-vfork.c (noop): Likewise.
9122 * resolv/gethnamaddr.c (_endhtent): Likewise.
9123 (_gethtent): Likewise.
9124 (ht_endhostent): Likewise.
9125 (gethostent): Likewise.
9126 (dns_service): Likewise.
9127 * stdlib/drand48.c (drand48): Likewise.
9128 * stdlib/lrand48.c (lrand48): Likewise.
9129 * stdlib/mrand48.c (mrand48): Likewise.
9130 * stdlib/rand.c (rand): Likewise.
9131 * stdlib/random.c (__random): Likewise.
9132 * stdlib/setenv.c (clearenv): Likewise.
9133 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
9134 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
9135 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
9136 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
9137 (__get_nprocs): Likewise.
9138 (__get_phys_pages): Likewise.
9139 (__get_avphys_pages): Likewise.
9140 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
9141 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
9142 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
9143 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
9144 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
9145 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
9146 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
9147 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
9148 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
9149 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
9150 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
9151 * sysdeps/mach/hurd/sync.c (sync): Likewise.
9152 * sysdeps/posix/clock.c (clock): Likewise.
9153 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
9154 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
9155 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
9156 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
9157 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
9158 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
9159 (__get_nprocs_conf): Likewise.
9160 (__get_phys_pages): Likewise.
9161 (__get_avphys_pages): Likewise.
9162 * time/clock.c (clock): Likewise.
9163 * time/tzset.c (__tzname_max): Likewise.
9164
2e09a79a
JM
91652013-06-07 Joseph Myers <joseph@codesourcery.com>
9166
9167 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
9168 (__bswap_32): Do not use "register".
9169 * crypt/crypt.c (_ufc_doit_r): Likewise.
9170 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9171 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9172 * gmon/gmon.c (__monstartup): Likewise.
9173 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
9174 * hurd/hurdmalloc.c (more_memory): Likewise.
9175 (malloc): Likewise.
9176 (free): Likewise.
9177 (realloc): Likewise.
9178 (malloc_fork_prepare): Likewise.
9179 (malloc_fork_parent): Likewise.
9180 (malloc_fork_child): Likewise.
9181 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
9182 (_svcauth_des): Likewise.
9183 * inet/inet_lnaof.c (inet_lnaof): Likewise.
9184 * inet/inet_net.c (inet_network): Likewise.
9185 * inet/inet_netof.c (inet_netof): Likewise.
9186 * inet/rcmd.c (__validuser2_sa): Likewise.
9187 * io/fts.c (fts_open): Likewise.
9188 (fts_load): Likewise.
9189 (fts_close): Likewise.
9190 (fts_read): Likewise.
9191 (fts_children): Likewise.
9192 (fts_build): Likewise.
9193 (fts_stat): Likewise.
9194 (fts_sort): Likewise.
9195 (fts_alloc): Likewise.
9196 (fts_lfree): Likewise.
9197 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
9198 (_IO_file_xsgetn): Likewise.
9199 (_IO_file_xsgetn_mmap): Likewise.
9200 * libio/iofopncook.c (_IO_cookie_read): Likewise.
9201 (_IO_cookie_write): Likewise.
9202 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
9203 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
9204 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
9205 * malloc/obstack.c (_obstack_begin): Likewise.
9206 (_obstack_begin_1): Likewise.
9207 (_obstack_newchunk): Likewise.
9208 (_obstack_allocated_p): Likewise.
9209 (obstack_free): Likewise.
9210 (_obstack_memory_used): Likewise.
9211 * misc/getttyent.c (getttynam): Likewise.
9212 (getttyent): Likewise.
9213 (skip): Likewise.
9214 (value): Likewise.
9215 * misc/getusershell.c (initshells): Likewise.
9216 * misc/syslog.c (__vsyslog_chk): Likewise.
9217 * misc/ttyslot.c (ttyslot): Likewise.
9218 * nis/nis_hash.c (__nis_hash): Likewise.
9219 * posix/fnmatch_loop.c (FCT): Likewise.
9220 * posix/getconf.c (print_all): Likewise.
9221 (main): Likewise.
9222 * posix/getopt.c (exchange): Likewise.
9223 * posix/glob.c (globfree): Likewise.
9224 (prefix_array): Likewise.
9225 (__glob_pattern_type): Likewise.
9226 * resolv/arpa/nameser.h (NS_GET16): Likewise.
9227 (NS_GET32): Likewise.
9228 (NS_PUT16): Likewise.
9229 (NS_PUT32): Likewise.
9230 * resolv/gethnamaddr.c (getanswer): Likewise.
9231 (gethostbyname2): Likewise.
9232 (gethostbyaddr): Likewise.
9233 (_gethtent): Likewise.
9234 (_gethtbyname2): Likewise.
9235 (_gethtbyaddr): Likewise.
9236 * resolv/ns_print.c (dst_s_get_int16): Likewise.
9237 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
9238 * resolv/res_init.c (__res_vinit): Likewise.
9239 (net_mask): Likewise.
9240 * resolv/res_mkquery.c (outchar): Likewise.
9241 (PRINT): Likewise.
9242 * stdio-common/printf_fp.c (outchar): Likewise.
9243 (PRINT): Likewise.
9244 * stdio-common/printf_fphex.c (outchar): Likewise.
9245 (PRINT): Likewise.
9246 * stdio-common/printf_size.c (outchar): Likewise.
9247 (PRINT): Likewise.
9248 * stdio-common/test_rdwr.c (main): Likewise.
9249 * stdio-common/tfformat.c (matches): Likewise.
9250 * stdio-common/vfprintf.c (outchar): Likewise.
9251 (printf_unknown): Likewise.
9252 (buffered_vfprintf): Likewise.
9253 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9254 * stdio-common/xbug.c (AppendToBuffer): Likewise.
9255 (ReadFile): Likewise.
9256 * stdlib/qsort.c (SWAP): Likewise.
9257 (_quicksort): Likewise.
9258 * stdlib/setenv.c (__add_to_environ): Likewise.
9259 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9260 * stdlib/strtol_l.c (__strtol_l): Likewise.
9261 * stdlib/tst-strtod.c (main): Likewise.
9262 * stdlib/tst-strtol.c (main): Likewise.
9263 * stdlib/tst-strtoll.c (main): Likewise.
9264 * string/bits/string2.h (__strcmp_cc): Likewise.
9265 (__strcmp_cg): Likewise.
9266 (__strcspn_c1): Likewise.
9267 (__strcspn_c2): Likewise.
9268 (__strcspn_c3): Likewise.
9269 (__strspn_c1): Likewise.
9270 (__strspn_c2): Likewise.
9271 (__strspn_c3): Likewise.
9272 (__strsep_1c): Likewise.
9273 (__strsep_2c): Likewise.
9274 (__strsep_3c): Likewise.
9275 * string/memccpy.c (__memccpy): Likewise.
9276 * string/stpcpy.c (__stpcpy): Likewise.
9277 * string/strcmp.c (strcmp): Likewise.
9278 * string/strrchr.c (strrchr): Likewise.
9279 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
9280 Likewise.
9281 * sysdeps/mach/hurd/getcwd.c
9282 (_hurd_canonicalize_directory_name_internal): Likewise.
9283 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
9284 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
9285 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
9286 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
9287 Likewise, in both definitions.
9288 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
9289 definitions.
9290 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
9291 64] (__bswap_64): Likewise.
9292 * time/test_time.c (main): Likewise.
9293 * time/tzfile.c (__tzfile_read): Likewise.
9294 (__tzfile_compute): Likewise.
9295 * time/tzset.c (__tzset_parse_tz): Likewise.
9296 (tzset_internal): Likewise.
9297 (compute_change): Likewise.
9298 * wcsmbs/wcscat.c (__wcscat): Likewise.
9299 * wcsmbs/wcschr.c (wcschr): Likewise.
9300 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
9301 * wcsmbs/wcscspn.c (wcscspn): Likewise.
9302 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
9303 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
9304 * wcsmbs/wcsspn.c (wcsspn): Likewise.
9305 * wcsmbs/wcsstr.c (wcsstr): Likewise.
9306 * wcsmbs/wmemchr.c (wmemchr): Likewise.
9307 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9308 * wcsmbs/wmemset.c (wmemset): Likewise.
9309
9e54314b
JM
93102013-06-06 Joseph Myers <joseph@codesourcery.com>
9311
9312 * scripts/config.guess: Update to version 2013-05-16.
9313 * scripts/config.sub: Update to version 2013-04-24.
9314 * scripts/install-sh: Update to version 2011-11-20.07.
9315 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
9316 * scripts/move-if-change: Update to version 2012-01-06 07:23.
9317
350635a5
OB
93182013-06-06 Ondřej Bílka <neleai@seznam.cz>
9319
9320 * debug/fgetws_u_chk.c: Fix leading whitespaces.
9321 * elf/sln.c: Likewise.
9322 * hurd/hurd/ioctl.h: Likewise.
9323 * hurd/hurdmalloc.c: Likewise.
9324 * hurd/xattr.c: Likewise.
9325 * include/shlib-compat.h: Likewise.
9326 * inet/ruserpass.c: Likewise.
9327 * libio/iofgets_u.c: Likewise.
9328 * libio/iofgetws_u.c: Likewise.
9329 * locale/programs/ld-identification.c: Likewise.
9330 * locale/programs/ld-time.c: Likewise.
9331 * mach/msg-destroy.c: Likewise.
9332 * nss/nss_files/files-netgrp.c: Likewise.
9333 * resolv/res_data.c: Likewise.
9334 * soft-fp/op-1.h: Likewise.
9335 * soft-fp/op-2.h: Likewise.
9336 * soft-fp/op-4.h: Likewise.
9337 * soft-fp/op-common.h: Likewise.
9338 * stdio-common/printf_fphex.c: Likewise.
9339 * stdlib/strtod_l.c: Likewise.
9340 * sunrpc/rpc/clnt.h: Likewise.
9341 * sysdeps/generic/framestate.c: Likewise.
9342 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9343 * sysdeps/i386/bsd-setjmp.S: Likewise.
9344 * sysdeps/i386/__longjmp.S: Likewise.
9345 * sysdeps/i386/setjmp.S: Likewise.
9346 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9347 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9348 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9349 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9350 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9351 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9352 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9353 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9354 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9355 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9356 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9357 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9358 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9359 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9360 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9361 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9362 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9363 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
9364 * sysdeps/ieee754/support.c: Likewise.
9365 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9366 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
9367 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
9368 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
9369 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
9370 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
9371 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
9372 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
9373 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
9374 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
9375 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
9376 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
9377 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
9378 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
9379 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
9380 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
9381 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9383
44a988af
OB
93842013-06-05 Ondřej Bílka <neleai@seznam.cz>
9385
25506f09 9386 * posix/transbug.c: Remove executable mode.
44a988af 9387
9c84384c
JM
93882013-06-05 Joseph Myers <joseph@codesourcery.com>
9389
9390 * crypt/speeds.c: Remove trailing whitespace.
9391 * dlfcn/default.c: Likewise.
9392 * elf/ifuncdep2.c: Likewise.
9393 * elf/ifuncmain1.c: Likewise.
9394 * elf/ifuncmain1vis.c: Likewise.
9395 * elf/testobj.h: Likewise.
9396 * elf/tst-stackguard1.c: Likewise.
9397 * gmon/sys/gmon.h: Likewise.
9398 * hurd/hurdmsg.c: Likewise.
9399 * hurd/new-fd.c: Likewise.
9400 * hurd/ports-get.c: Likewise.
9401 * iconvdata/ibm1008_420.c: Likewise.
9402 * inet/tst-getni1.c: Likewise.
9403 * inet/tst-getni2.c: Likewise.
9404 * libio/ioungetc.c: Likewise.
9405 * libio/wfiledoalloc.c: Likewise.
9406 * manual/libm-err-tab.pl: Likewise.
9407 * math/w_dremf.c: Likewise.
9408 * misc/ftruncate.c: Likewise.
9409 * posix/bug-glob2.c: Likewise.
9410 * posix/tst-pcre.c: Likewise.
9411 * posix/wait4.c: Likewise.
9412 * resolv/README: Likewise.
9413 * resolv/res_debug.h: Likewise.
9414 * resolv/tst-inet_ntop.c: Likewise.
9415 * setjmp/bug269-setjmp.c: Likewise.
9416 * soft-fp/extended.h: Likewise.
9417 * soft-fp/op-1.h: Likewise.
9418 * soft-fp/op-2.h: Likewise.
9419 * soft-fp/op-4.h: Likewise.
9420 * soft-fp/op-8.h: Likewise.
9421 * soft-fp/testit.c: Likewise.
9422 * stdio-common/bug16.c: Likewise.
9423 * stdlib/random.c: Likewise.
9424 * sunrpc/rpcsvc/rquota.x: Likewise.
9425 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
9426 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9427 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9428 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9429 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9430 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9431 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9432 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9433 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9434 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9435 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9436 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9437 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9438 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9439 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9440 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9441 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9442 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9443 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9444 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9445 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9446 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9447 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9448 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9449 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9450 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9451 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9452 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9453 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9454 * sysdeps/ieee754/s_lib_version.c: Likewise.
9455 * sysdeps/mach/hurd/check_fds.c: Likewise.
9456 * sysdeps/mach/hurd/getsockname.c: Likewise.
9457 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
9458 * sysdeps/mach/hurd/recvfrom.c: Likewise.
9459 * sysdeps/powerpc/bits/link.h: Likewise.
9460 * sysdeps/powerpc/dl-procinfo.c: Likewise.
9461 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
9462 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
9463 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
9464 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9465 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9466 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
9467 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9468 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
9469 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9470 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9471 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9472 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
9473 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9474 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9475 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9476 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9477 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9478 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9479 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9480 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9481 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
9482 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9483 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9484 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
9485 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9486 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9487 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9488 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9489 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9490 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9491 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9492 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9493 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9494 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
9495 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9496 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
9497 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9498 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9499 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
9500 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
9501 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
9502 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
9503 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
9504 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9505 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
9506 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
9507 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9508 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
9509 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
9510 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9511 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9512 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9513 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9514 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
9515 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9516 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9517 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9518 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
9519 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9520 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
9521 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
9522 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
9523 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9524 * sysdeps/powerpc/sysdep.h: Likewise.
9525 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9526 * sysdeps/s390/s390-64/sub_n.S: Likewise.
9527 * sysdeps/sh/dl-trampoline.S: Likewise.
9528 * sysdeps/sh/memset.S: Likewise.
9529 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
9530 * sysdeps/sh/strlen.S: Likewise.
9531 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
9532 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
9533 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
9534 * sysdeps/sparc/sparc32/rem.S: Likewise.
9535 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
9536 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
9537 * sysdeps/sparc/sparc32/strchr.S: Likewise.
9538 * sysdeps/sparc/sparc32/udiv.S: Likewise.
9539 * sysdeps/sparc/sparc32/urem.S: Likewise.
9540 * sysdeps/sparc/sparc64/add_n.S: Likewise.
9541 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9542 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
9543 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
9544 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
9545 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
9546 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
9547 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
9548 * sysdeps/unix/bsd/times.c: Likewise.
9549 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
9550 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
9551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9554 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9555 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9556 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
9557 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
9558 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
9559 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
9560 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9561 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
9562 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9563 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9564 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
9565 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9566 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
9567 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
9568 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
9569 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
9570 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
9571 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9572 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
9573 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
9574 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9575 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
9576 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9577 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
9578 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
9579 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
9580 * sysdeps/x86_64/strcspn.S: Likewise.
9581
869378a5
RA
95822013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9583
9584 * locale/C-translit.h: Revert #include <stdint.h> because this is a
9585 generated file. Regenerate properly from gen-translit.pl.
9586 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
9587 locale/C-translit.h.
9588
840e2943
AS
95892013-06-05 Andreas Schwab <schwab@suse.de>
9590
9591 [BZ #15100]
9592 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
9593 week as 6 instead of -1.
9594 * time/tst-strptime.c (day_tests): Add test case.
9595
4c60cb0c
SP
95962013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9597
9598 * sysdeps/generic/math_private.h
9599 (libc_feholdexcept_setround_53bit): Replace with
9600 libc_feholdsetround_53bit.
9601 (libc_feupdateenv_53bit): Replace with
9602 libc_feresetround_53bit.
9603 (SET_RESTORE_ROUND_53BIT): Adjust.
9604
d180203e
SP
96052013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9606
96df079a
SP
9607 * string/test-strchrnul.c: Add copyright header.
9608
d180203e
SP
9609 * posix/tst-getaddrinfo4.c: Increase test timeout.
9610
8b0ccb2d
CD
96112013-06-03 Carlos O'Donell <carlos@redhat.com>
9612
9613 [BZ #15536]
9614 * math/libm-test.inc (MAX_EXP): Remove
9615 (MIN_EXP): Define.
9616 (ulp): Use MIN_EXP - MANT_DIG.
9617 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
9618
3b3c4d40
CD
96192013-05-31 Carlos O'Donell <carlos@redhat.com>
9620
9621 * po/be.po: Revert last change.
9622 * po/zh_CN.po: Likewise.
9623 * po/header.pot: Likewise.
9624
fab7ce3f
JM
96252013-05-31 Joseph Myers <joseph@codesourcery.com>
9626
9627 * Makefile ($(common-objpfx)linkobj/libc.so): Define
9628 link-libc-deps to empty as target-specific variable.
9629 * Makerules (link-libc-args): New variable.
9630 (libc-for-link): Likewise.
9631 (link-libc-deps): Likewise.
9632 (lib%.so): Depend on $(link-libc-deps). Link with
9633 $(link-libc-args).
9634 (build-module): Link with $(link-libc-args).
9635 (build-module-asneeded): Likewise.
9636 (build-module-helper-objlist): Filter out $(link-libc-deps) from
9637 list of objects.
9638 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
9639 target-specific variable.
9640 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
9641 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
9642 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
9643 libc.
9644 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
9645 libc and ld.so.
9646 ($(objpfx)libpcprofile.so): Likewise.
9647 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
9648 libc_nonshared.a.
9649 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
9650 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
9651 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
9652 $(link-libc-deps).
9653 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
9654 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
9655 * login/Makefile ($(objpfx)libutil.so): Likewise.
9656 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
9657 * math/Makefile ($(objpfx)libm.so): Likewise.
9658 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
9659 $(objpfx)libnsl.so): Define libc-for-link as target-specific
9660 variable instead of depending directly on libc.
9661 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
9662 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
9663 $(link-libc-deps).
9664 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
9665 libc.
9666 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
9667 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
9668 ($(objpfx)libanl.so): Likewise.
9669 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
9670 ld.so.
9671 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
9672 $(link-libc-deps).
9673 * sysdeps/i386/fpu/Makefile: Remove file.
9674 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
9675 ($(objpfx)libm.so): Remove dependency on ld.so.
9676
eca5920c
PF
96772013-05-30 Patsy Franklin <pfrankli@redhat.com>
9678
9679 [BZ # 15553]
9680 * nis/yp_xdr.c (XDRMAXNAME): Define.
9681 (XDRMAXRECORD): Define.
9682 (xdr_domainname): Use XDRMAXNAME.
9683 (xdr_mapname): Likewise.
9684 (xdr_peername): Likewise.
9685 (xdr_keydat): Use XDRMAXRECORD.
9686 (xdr_valdat): Likewise.
9687
96882013-05-30 Jeff Law <law@redhat.com>
96945714
JL
9689
9690 [BZ #14256]
9691 * manual/errno.texi (ESTALE): Update to account for more than
9692 just NFS file systems.
9693 * sysdeps/gnu/errlist.c: Regenerated.
9694
b9375348
SP
96952013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9696
9697 [BZ #15465]
9698 * elf/Makefile (tests): Add tst-null-argv.
9699 (modules-names): Add tst-null-argv-lib.
9700 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
9701 (tst-null-argv-ENV): Set environment for tst-null-argv.
9702 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
9703 (RTLD_PROGNAME): New macro.
9704 * elf/tst-null-argv.c: New test case.
9705 * elf/tst-null-argv-lib.c: Library for test case.
9706 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
9707 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
9708 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
9709 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
9710 * elf/dl-init.c (call_init): Likewise.
9711 (_dl_init): Likewise.
9712 * elf/dl-load.c (print_search_path): Likewise.
9713 (_dl_map_object): Likewise.
9714 * elf/dl-lookup.c (do_lookup_x): Likewise.
9715 (add_dependency): Likewise.
9716 (_dl_lookup_symbol_x): Likewise.
9717 (_dl_debug_bindings): Likewise.
9718 * elf/dl-open.c (_dl_show_scope): Likewise.
9719 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9720 * elf/dl-version.c (match_symbol): Likewise.
9721 (_dl_check_map_versions): Likewise.
9722 * elf/rtld.c (dl_main): Likewise.
9723 (print_unresolved): Use RTLD_PROGNAME.
9724 (print_missing_version): Likewise.
9725 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
9726 (elf_machine_rela): Likewise.
9727 * sysdeps/powerpc/powerpc32/dl-machine.c
9728 (__process_machine_rela): Likewise.
9729 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9730 Likewise.
9731 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9732 Likewise.
9733 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9734 Likewise.
9735 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9736 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
9737 Likewise.
9738 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
9739 Likewise.
9740 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9741
8a9f20c8
CD
97422013-05-28 Carlos O'Donell <carlos@redhat.com>
9743
9744 * po/be.po: Add descriptive title.
9745 * po/zh_CN.po: Likewise.
9746 * po/header.pot: Likewise.
9747
0e60d68e
MF
97482013-05-28 Mike Frysinger <vapier@gentoo.org>
9749
9750 * locale/programs/locarchive.c (create_archive): Inlucde fname in
9751 error message.
9752 (enlarge_archive): Likewise.
9753
56b672e9
BN
97542013-05-28 Ben North <ben@redfrontdoor.org>
9755
9756 * manual/arith.texi (frexp): It is the magnitude of the return
9757 value which lies in [0.5, 1), not the return value itself.
9758
5e056687
AZ
97592013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9760
9761 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9762
2b66ef5d
TS
97632013-05-26 Thomas Schwinge <thomas@codesourcery.com>
9764
528c2405
TS
9765 * stdio-common/bug26.c (main): Correct fscanf template.
9766
07b4c13d
TS
9767 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
9768 declare _dl_skip_args.
9769
ec9dd97c
TS
9770 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
9771 Don't declare.
9772
2b66ef5d
TS
9773 * manual/platform.texi: Add missing @end deftypefun.
9774
4f8dfe27
JM
97752013-05-24 Joseph Myers <joseph@codesourcery.com>
9776
0323d086
JM
9777 [BZ #15529]
9778 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
9779 bit of mantissa of 2^16382.
9780 * math/libm-test.inc (hypot_test_data): Add more tests.
9781
dd4259b9
JM
9782 * math/libm-test.inc: Add drem and pow10 to list of tested
9783 functions.
9784 (pow10_test): New function.
9785 (drem_test): Likewise.
9786 (drem_test_tonearest): Likewise.
9787 (drem_test_towardzero): Likewise.
9788 (drem_test_downward): Likewise.
9789 (drem_test_upward): Likewise.
9790 (main): Call the new functions.
9791
4f8dfe27
JM
9792 * math/libm-test.inc (finite_test_data): Remove.
9793 (finite_test): Run tests from isfinite_test_data.
9794 (gamma_test_data): Remove.
9795 (gamma_test): Run tests from lgamma_test_data.
9796 * sysdeps/i386/fpu/libm-test-ulps: Update.
9797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9798
d116b7c4
AZ
97992013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9800
9801 * manual/platform.texi: Add PowerPC PPR function set documentation.
9802 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
9803 implementation.
9804
e96e3767
CD
98052013-05-24 Carlos O'Donell <carlos@redhat.com>
9806
9807 * math/libm-test.inc (MAX_EXP): Define.
9808 (ULPDIFF): Define.
9809 (ulp): New function.
9810 (check_float_internal): Use ULPDIFF.
9811 (cpow_test): Disable failing test.
9812 (check_ulp): Test ulp() implemetnation.
9813 (main): Call check_ulp before starting tests.
9814
b679a606
JM
98152013-05-24 Joseph Myers <joseph@codesourcery.com>
9816
e8bdba36
JM
9817 * math/gen-libm-test.pl (generate_testfile): Do not handle
9818 START_DATA and END_DATA.
9819 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
9820 END_DATA.
9821 (acos_tonearest_test_data): Likewise.
9822 (acos_towardzero_test_data): Likewise.
9823 (acos_downward_test_data): Likewise.
9824 (acos_upward_test_data): Likewise.
9825 (acosh_test_data): Likewise.
9826 (asin_test_data): Likewise.
9827 (asin_tonearest_test_data): Likewise.
9828 (asin_towardzero_test_data): Likewise.
9829 (asin_downward_test_data): Likewise.
9830 (asin_upward_test_data): Likewise.
9831 (asinh_test_data): Likewise.
9832 (atan_test_data): Likewise.
9833 (atanh_test_data): Likewise.
9834 (atan2_test_data): Likewise.
9835 (cabs_test_data): Likewise.
9836 (cacos_test_data): Likewise.
9837 (cacosh_test_data): Likewise.
9838 (carg_test_data): Likewise.
9839 (casin_test_data): Likewise.
9840 (casinh_test_data): Likewise.
9841 (catan_test_data): Likewise.
9842 (catanh_test_data): Likewise.
9843 (cbrt_test_data): Likewise.
9844 (ccos_test_data): Likewise.
9845 (ccosh_test_data): Likewise.
9846 (ceil_test_data): Likewise.
9847 (cexp_test_data): Likewise.
9848 (cimag_test_data): Likewise.
9849 (clog_test_data): Likewise.
9850 (clog10_test_data): Likewise.
9851 (conj_test_data): Likewise.
9852 (copysign_test_data): Likewise.
9853 (cos_test_data): Likewise.
9854 (cos_tonearest_test_data): Likewise.
9855 (cos_towardzero_test_data): Likewise.
9856 (cos_downward_test_data): Likewise.
9857 (cos_upward_test_data): Likewise.
9858 (cosh_test_data): Likewise.
9859 (cosh_tonearest_test_data): Likewise.
9860 (cosh_towardzero_test_data): Likewise.
9861 (cosh_downward_test_data): Likewise.
9862 (cosh_upward_test_data): Likewise.
9863 (cpow_test_data): Likewise.
9864 (cproj_test_data): Likewise.
9865 (creal_test_data): Likewise.
9866 (csin_test_data): Likewise.
9867 (csinh_test_data): Likewise.
9868 (csqrt_test_data): Likewise.
9869 (ctan_test_data): Likewise.
9870 (ctan_tonearest_test_data): Likewise.
9871 (ctan_towardzero_test_data): Likewise.
9872 (ctan_downward_test_data): Likewise.
9873 (ctan_upward_test_data): Likewise.
9874 (ctanh_test_data): Likewise.
9875 (ctanh_tonearest_test_data): Likewise.
9876 (ctanh_towardzero_test_data): Likewise.
9877 (ctanh_downward_test_data): Likewise.
9878 (ctanh_upward_test_data): Likewise.
9879 (erf_test_data): Likewise.
9880 (erfc_test_data): Likewise.
9881 (exp_test_data): Likewise.
9882 (exp_tonearest_test_data): Likewise.
9883 (exp_towardzero_test_data): Likewise.
9884 (exp_downward_test_data): Likewise.
9885 (exp_upward_test_data): Likewise.
9886 (exp10_test_data): Likewise.
9887 (exp2_test_data): Likewise.
9888 (expm1_test_data): Likewise.
9889 (fabs_test_data): Likewise.
9890 (fdim_test_data): Likewise.
9891 (finite_test_data): Likewise.
9892 (floor_test_data): Likewise.
9893 (fma_test_data): Likewise.
9894 (fma_towardzero_test_data): Likewise.
9895 (fma_downward_test_data): Likewise.
9896 (fma_upward_test_data): Likewise.
9897 (fmax_test_data): Likewise.
9898 (fmin_test_data): Likewise.
9899 (fmod_test_data): Likewise.
9900 (fpclassify_test_data): Likewise.
9901 (frexp_test_data): Likewise.
9902 (gamma_test_data): Likewise.
9903 (hypot_test_data): Likewise.
9904 (ilogb_test_data): Likewise.
9905 (isfinite_test_data): Likewise.
9906 (isgreater_test_data): Likewise.
9907 (isgreaterequal_test_data): Likewise.
9908 (isinf_test_data): Likewise.
9909 (isless_test_data): Likewise.
9910 (islessequal_test_data): Likewise.
9911 (islessgreater_test_data): Likewise.
9912 (isnan_test_data): Likewise.
9913 (isnormal_test_data): Likewise.
9914 (issignaling_test_data): Likewise.
9915 (isunordered_test_data): Likewise.
9916 (j0_test_data): Likewise.
9917 (j1_test_data): Likewise.
9918 (jn_test_data): Likewise.
9919 (ldexp_test_data): Likewise.
9920 (lgamma_test_data): Likewise.
9921 (lrint_test_data): Likewise.
9922 (lrint_tonearest_test_data): Likewise.
9923 (lrint_towardzero_test_data): Likewise.
9924 (lrint_downward_test_data): Likewise.
9925 (lrint_upward_test_data): Likewise.
9926 (llrint_test_data): Likewise.
9927 (llrint_tonearest_test_data): Likewise.
9928 (llrint_towardzero_test_data): Likewise.
9929 (llrint_downward_test_data): Likewise.
9930 (llrint_upward_test_data): Likewise.
9931 (log_test_data): Likewise.
9932 (log10_test_data): Likewise.
9933 (log1p_test_data): Likewise.
9934 (log2_test_data): Likewise.
9935 (logb_test_data): Likewise.
9936 (logb_downward_test_data): Likewise.
9937 (lround_test_data): Likewise.
9938 (llround_test_data): Likewise.
9939 (modf_test_data): Likewise.
9940 (nearbyint_test_data): Likewise.
9941 (nextafter_test_data): Likewise.
9942 (nexttoward_test_data): Likewise.
9943 (pow_test_data): Likewise.
9944 (pow_tonearest_test_data): Likewise.
9945 (pow_towardzero_test_data): Likewise.
9946 (pow_downward_test_data): Likewise.
9947 (pow_upward_test_data): Likewise.
9948 (remainder_test_data): Likewise.
9949 (remainder_tonearest_test_data): Likewise.
9950 (remainder_towardzero_test_data): Likewise.
9951 (remainder_downward_test_data): Likewise.
9952 (remainder_upward_test_data): Likewise.
9953 (remquo_test_data): Likewise.
9954 (rint_test_data): Likewise.
9955 (rint_tonearest_test_data): Likewise.
9956 (rint_towardzero_test_data): Likewise.
9957 (rint_downward_test_data): Likewise.
9958 (rint_upward_test_data): Likewise.
9959 (round_test_data): Likewise.
9960 (scalb_test_data): Likewise.
9961 (scalbn_test_data): Likewise.
9962 (scalbln_test_data): Likewise.
9963 (signbit_test_data): Likewise.
9964 (sin_test_data): Likewise.
9965 (sin_tonearest_test_data): Likewise.
9966 (sin_towardzero_test_data): Likewise.
9967 (sin_downward_test_data): Likewise.
9968 (sin_upward_test_data): Likewise.
9969 (sincos_test_data): Likewise.
9970 (sinh_test_data): Likewise.
9971 (sinh_tonearest_test_data): Likewise.
9972 (sinh_towardzero_test_data): Likewise.
9973 (sinh_downward_test_data): Likewise.
9974 (sinh_upward_test_data): Likewise.
9975 (sqrt_test_data): Likewise.
9976 (tan_test_data): Likewise.
9977 (tan_tonearest_test_data): Likewise.
9978 (tan_towardzero_test_data): Likewise.
9979 (tan_downward_test_data): Likewise.
9980 (tan_upward_test_data): Likewise.
9981 (tanh_test_data): Likewise.
9982 (tgamma_test_data): Likewise.
9983 (trunc_test_data): Likewise.
9984 (y0_test_data): Likewise.
9985 (y1_test_data): Likewise.
9986 (yn_test_data): Likewise.
9987 (significand_test_data): Likewise.
9988
b679a606
JM
9989 * math/gen-libm-test.pl (@functions): Remove variable.
9990 (generate_testfile): Don't handle START and END lines.
9991 * math/libm-test.inc (START): New macro.
9992 (END): Likewise.
9993 (END_COMPLEX): Likewise.
9994 (acos_test): Use END macro without arguments.
9995 (acos_test_tonearest): Likewise.
9996 (acos_test_towardzero): Likewise.
9997 (acos_test_downward): Likewise.
9998 (acos_test_upward): Likewise.
9999 (acosh_test): Likewise.
10000 (asin_test): Likewise.
10001 (asin_test_tonearest): Likewise.
10002 (asin_test_towardzero): Likewise.
10003 (asin_test_downward): Likewise.
10004 (asin_test_upward): Likewise.
10005 (asinh_test): Likewise.
10006 (atan_test): Likewise.
10007 (atanh_test): Likewise.
10008 (atan2_test): Likewise.
10009 (cabs_test): Likewise.
10010 (cacos_test): Use END_COMPLEX macro without arguments.
10011 (cacosh_test): Likewise.
10012 (carg_test): Use END macro without arguments.
10013 (casin_test): Use END_COMPLEX macro without arguments.
10014 (casinh_test): Likewise.
10015 (catan_test): Likewise.
10016 (catanh_test): Likewise.
10017 (cbrt_test): Use END macro without arguments.
10018 (ccos_test): Use END_COMPLEX macro without arguments.
10019 (ccosh_test): Likewise.
10020 (ceil_test): Use END macro without arguments.
10021 (cexp_test): Use END_COMPLEX macro without arguments.
10022 (cimag_test): Use END macro without arguments.
10023 (clog_test): Use END_COMPLEX macro without arguments.
10024 (clog10_test): Likewise.
10025 (conj_test): Likewise.
10026 (copysign_test): Use END macro without arguments.
10027 (cos_test): Likewise.
10028 (cos_test_tonearest): Likewise.
10029 (cos_test_towardzero): Likewise.
10030 (cos_test_downward): Likewise.
10031 (cos_test_upward): Likewise.
10032 (cosh_test): Likewise.
10033 (cosh_test_tonearest): Likewise.
10034 (cosh_test_towardzero): Likewise.
10035 (cosh_test_downward): Likewise.
10036 (cosh_test_upward): Likewise.
10037 (cpow_test): Use END_COMPLEX macro without arguments.
10038 (cproj_test): Likewise.
10039 (creal_test): Use END macro without arguments.
10040 (csin_test): Use END_COMPLEX macro without arguments.
10041 (csinh_test): Likewise.
10042 (csqrt_test): Likewise.
10043 (ctan_test): Likewise.
10044 (ctan_test_tonearest): Likewise.
10045 (ctan_test_towardzero): Likewise.
10046 (ctan_test_downward): Likewise.
10047 (ctan_test_upward): Likewise.
10048 (ctanh_test): Likewise.
10049 (ctanh_test_tonearest): Likewise.
10050 (ctanh_test_towardzero): Likewise.
10051 (ctanh_test_downward): Likewise.
10052 (ctanh_test_upward): Likewise.
10053 (erf_test): Use END macro without arguments.
10054 (erfc_test): Likewise.
10055 (exp_test): Likewise.
10056 (exp_test_tonearest): Likewise.
10057 (exp_test_towardzero): Likewise.
10058 (exp_test_downward): Likewise.
10059 (exp_test_upward): Likewise.
10060 (exp10_test): Likewise.
10061 (exp2_test): Likewise.
10062 (expm1_test): Likewise.
10063 (fabs_test): Likewise.
10064 (fdim_test): Likewise.
10065 (finite_test): Likewise.
10066 (floor_test): Likewise.
10067 (fma_test): Likewise.
10068 (fma_test_towardzero): Likewise.
10069 (fma_test_downward): Likewise.
10070 (fma_test_upward): Likewise.
10071 (fmax_test): Likewise.
10072 (fmin_test): Likewise.
10073 (fmod_test): Likewise.
10074 (fpclassify_test): Likewise.
10075 (frexp_test): Likewise.
10076 (gamma_test): Likewise.
10077 (hypot_test): Likewise.
10078 (ilogb_test): Likewise.
10079 (isfinite_test): Likewise.
10080 (isgreater_test): Likewise.
10081 (isgreaterequal_test): Likewise.
10082 (isinf_test): Likewise.
10083 (isless_test): Likewise.
10084 (islessequal_test): Likewise.
10085 (islessgreater_test): Likewise.
10086 (isnan_test): Likewise.
10087 (isnormal_test): Likewise.
10088 (issignaling_test): Likewise.
10089 (isunordered_test): Likewise.
10090 (j0_test): Likewise.
10091 (j1_test): Likewise.
10092 (jn_test): Likewise.
10093 (ldexp_test): Likewise.
10094 (lgamma_test): Likewise.
10095 (lrint_test): Likewise.
10096 (lrint_test_tonearest): Likewise.
10097 (lrint_test_towardzero): Likewise.
10098 (lrint_test_downward): Likewise.
10099 (lrint_test_upward): Likewise.
10100 (llrint_test): Likewise.
10101 (llrint_test_tonearest): Likewise.
10102 (llrint_test_towardzero): Likewise.
10103 (llrint_test_downward): Likewise.
10104 (llrint_test_upward): Likewise.
10105 (log_test): Likewise.
10106 (log10_test): Likewise.
10107 (log1p_test): Likewise.
10108 (log2_test): Likewise.
10109 (logb_test): Likewise.
10110 (logb_test_downward): Likewise.
10111 (lround_test): Likewise.
10112 (llround_test): Likewise.
10113 (modf_test): Likewise.
10114 (nearbyint_test): Likewise.
10115 (nextafter_test): Likewise.
10116 (nexttoward_test): Likewise.
10117 (pow_test): Likewise.
10118 (pow_test_tonearest): Likewise.
10119 (pow_test_towardzero): Likewise.
10120 (pow_test_downward): Likewise.
10121 (pow_test_upward): Likewise.
10122 (remainder_test): Likewise.
10123 (remainder_test_tonearest): Likewise.
10124 (remainder_test_towardzero): Likewise.
10125 (remainder_test_downward): Likewise.
10126 (remainder_test_upward): Likewise.
10127 (remquo_test): Likewise.
10128 (rint_test): Likewise.
10129 (rint_test_tonearest): Likewise.
10130 (rint_test_towardzero): Likewise.
10131 (rint_test_downward): Likewise.
10132 (rint_test_upward): Likewise.
10133 (round_test): Likewise.
10134 (scalb_test): Likewise.
10135 (scalbn_test): Likewise.
10136 (scalbln_test): Likewise.
10137 (signbit_test): Likewise.
10138 (sin_test): Likewise.
10139 (sin_test_tonearest): Likewise.
10140 (sin_test_towardzero): Likewise.
10141 (sin_test_downward): Likewise.
10142 (sin_test_upward): Likewise.
10143 (sincos_test): Likewise.
10144 (sinh_test): Likewise.
10145 (sinh_test_tonearest): Likewise.
10146 (sinh_test_towardzero): Likewise.
10147 (sinh_test_downward): Likewise.
10148 (sinh_test_upward): Likewise.
10149 (sqrt_test): Likewise.
10150 (tan_test): Likewise.
10151 (tan_test_tonearest): Likewise.
10152 (tan_test_towardzero): Likewise.
10153 (tan_test_downward): Likewise.
10154 (tan_test_upward): Likewise.
10155 (tanh_test): Likewise.
10156 (tgamma_test): Likewise.
10157 (trunc_test): Likewise.
10158 (y0_test): Likewise.
10159 (y1_test): Likewise.
10160 (yn_test): Likewise.
10161 (significand_test): Likewise.
10162
bae143d2
OB
101632013-05-24 Ondřej Bílka <neleai@seznam.cz>
10164
10165 [BZ #15381]
10166 * libio/genops.c (_IO_no_init): Initialize wide struct info.
10167
9323d39b
EM
101682013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
10169
d4ea44a0 10170 [BZ #14894]
9323d39b
EM
10171 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
10172 __ppc_mdoio and __ppc_mdoom.
10173 * manual/platform.texi: Document new functions __ppc_yield,
10174 __ppc_mdoio and __ppc_mdoom.
10175
13e23af7
CD
101762013-05-22 Carlos O'Donell <carlos@redhat.com>
10177
10178 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
10179 (main): Mention "tls" pseudo-hwcap is legacy.
10180 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
10181
351fe550
JM
101822013-05-22 Joseph Myers <joseph@codesourcery.com>
10183
10184 * math/gen-libm-test.pl (parse_args): Output only string of
10185 arguments as text for test name, not full call or descriptions of
10186 tests for extra outputs.
10187 (generate_testfile): Do not pass function name to parse_args.
10188 Generate this_func variable from START.
10189 * math/libm-test.inc (struct test_f_f_data): Rename test_name
10190 field to arg_str.
10191 (struct test_ff_f_data): Likewise.
10192 (test_ff_f_data_nexttoward): Likewise.
10193 (struct test_fi_f_data): Likewise.
10194 (struct test_fl_f_data): Likewise.
10195 (struct test_if_f_data): Likewise.
10196 (struct test_fff_f_data): Likewise.
10197 (struct test_c_f_data): Likewise.
10198 (struct test_f_f1_data): Likewise. Remove field extra_name.
10199 (struct test_fF_f1_data): Likewise.
10200 (struct test_ffI_f1_data): Likewise.
10201 (struct test_c_c_data): Rename test_name field to arg_str.
10202 (struct test_cc_c_data): Likewise.
10203 (struct test_f_i_data): Likewise.
10204 (struct test_ff_i_data): Likewise.
10205 (struct test_f_l_data): Likewise.
10206 (struct test_f_L_data): Likewise.
10207 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
10208 and extra2_name.
10209 (COMMON_TEST_SETUP): New macro.
10210 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
10211 (COMMON_TEST_CLEANUP): Likewise.
10212 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
10213 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
10214 macros.
10215 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
10216 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
10217 macros.
10218 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
10219 (RUN_TEST_fff_f): Take argument string. Call new setup and
10220 cleanup macros.
10221 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
10222 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
10223 macros.
10224 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
10225 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
10226 macros.
10227 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10228 (RUN_TEST_fF_f1): Take argument string. Call new setup and
10229 cleanup macros.
10230 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10231 (RUN_TEST_fI_f1): Take argument string. Call new setup and
10232 cleanup macros.
10233 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10234 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
10235 cleanup macros.
10236 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10237 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
10238 macros.
10239 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
10240 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
10241 macros.
10242 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
10243 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
10244 macros.
10245 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
10246 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
10247 cleanup macros.
10248 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
10249 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
10250 cleanup macros.
10251 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
10252 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
10253 macros.
10254 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
10255 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
10256 cleanup macros.
10257 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
10258 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
10259 macros.
10260 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
10261 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
10262 macros.
10263 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
10264 (RUN_TEST_fFF_11): Take argument string. Call new setup and
10265 cleanup macros.
10266 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
10267
85118d4d
EBM
102682013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10269
10270 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
10271 to _sifields.sigfault.
10272 (si_addr_lsb): Define new macro.
10273 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10274 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10275 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
10276
7a44c18f
CD
102772013-05-03 Carlos O'Donell <carlos at redhat.com>
10278
10279 [BZ #15441]
10280 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
10281 returns -1.
10282 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
10283 null return -1.
10284 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
10285 loading the domain.
10286
b50a7181
JM
102872013-05-22 Joseph Myers <joseph@codesourcery.com>
10288
10289 * math/gen-libm-test.pl (parse_args): Do not include expected
10290 result in test name.
10291 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
10292 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10293 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10294 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10295 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10297
051063c8
SP
102982013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10299
3ce9e010
SP
10300 * benchtests/Makefile: Sort function entries.
10301
051063c8
SP
10302 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
10303 tanh, asinh, acosh, atanh.
10304 * benchtests/acos-inputs: New file.
10305 * benchtests/acosh-inputs: New file.
10306 * benchtests/asin-inputs: New file.
10307 * benchtests/asinh-inputs: New file.
10308 * benchtests/atanh-inputs: New file.
10309 * benchtests/cosh-inputs: New file.
10310 * benchtests/log-inputs: New file.
10311 * benchtests/sinh-inputs: New file.
10312 * benchtests/tanh-inputs: New file.
10313
47c22455
DL
103142013-05-21 Dmitry V. Levin <ldv@altlinux.org>
10315
10316 [BZ #15339]
10317 * posix/tst-getaddrinfo4.c: New test.
10318 * posix/Makefile (tests): Add it.
10319
3d04f5db
SP
103202013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10321
10322 [BZ #15339]
10323 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
10324 when no services were used.
10325 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
10326 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
10327
d5dd6189
AS
103282013-05-21 Andreas Schwab <schwab@suse.de>
10329
10330 [BZ #15014]
10331 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
10332 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
10333 successful.
10334 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
10335 redundant variable declarations and reallocation of buffer when
10336 parsing as IPv6 address. Always set NSS status when called from
10337 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
10338 buffer too small. Correct computation of needed size.
10339 * nss/Makefile (tests): Add test-digits-dots.
10340 * nss/test-digits-dots.c: New test.
10341
fef94eab
SP
103422013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10343
10344 * benchtests/Makefile: Remove instructions for adding
10345 benchmark tests.
10346 * benchtests/README: New file to explain how to execute and
10347 enhance the benchmark tests.
10348
e39adf43
AS
103492013-05-21 Andreas Schwab <schwab@suse.de>
10350
10351 [BZ #15493]
10352 * setjmp/Makefile (tests): Add tst-sigsetjmp.
10353 * setjmp/tst-sigsetjmp.c: New test.
10354
b2b671b6
OB
103552013-05-20 Ondřej Bílka <neleai@seznam.cz>
10356
10357 * sysdeps/x86_64/memset.S (memset): New implementation.
10358 (__bzero): Likewise.
10359 (__memset_tail): New function.
10360
2d48b41c
OB
103612013-05-20 Ondřej Bílka <neleai@seznam.cz>
10362
10363 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
10364 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
10365 __memcpy_sse2_unaligned ifunc selection.
10366 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10367 Add memcpy-sse2-unaligned.S.
10368 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10369 Add: __memcpy_sse2_unaligned.
10370
f16cc3eb
JM
103712013-05-19 Joseph Myers <joseph@codesourcery.com>
10372
3e694268
JM
10373 [BZ #15490]
10374 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10375 math_force_eval before restoring floating-point envrionment.
10376 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
10377 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
10378 Likewise.
10379 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
10380 <math_private.h>.
10381 (__nearbyintl): Use math_force_eval before restoring
10382 floating-point environment.
10383 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
10384
db62a907
JM
10385 * math/gen-libm-test.pl (special_functions): Remove.
10386 (parse_args): Don't handle TEST_extra. Handle functions with no
10387 return value.
10388 * math/libm-test.inc (struct test_sincos_data): Replace with
10389 struct test_fFF_11_data.
10390 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
10391 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
10392 (sincos_test_data): Change element type to struct
10393 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
10394 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
10395 RUN_TEST_LOOP_sincos.
10396 * math/README.libm-test: Don't mention special handling of
10397 individual functions.
10398 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
10399 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10400 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10401 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10402 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10404
f16cc3eb
JM
10405 * math/gen-libm-test.pl (get_variable): Remove function.
10406 (parse_args): Don't show pointer parameters to call in test
10407 names. Use "extra output N" in test names for extra outputs
10408 rather than naming variables.
10409
3779b5b6
JM
104102013-05-18 Joseph Myers <joseph@codesourcery.com>
10411
2ee094ff
JM
10412 [BZ #15488]
10413 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
10414 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
10415 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
10416 double tests.
10417 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
10418 disable.
10419 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
10420 check_long_double.
10421
3779b5b6
JM
10422 * math/gen-libm-test.pl (@tests): Remove variable.
10423 ($count): Likewise.
10424 (new_test): Remove function.
10425 (show_exceptions): New function.
10426 (special_functions): Use show_exceptions instead of new_test.
10427 (parse_args): Likewise.
10428 (generate_testfile): Pass only function name in generated call to
10429 print_max_error or print_complex_max_error.
10430 (get_ulps): Do not handle complex tests specially.
10431 (output_test): Rename to ...
10432 (get_all_ulps_for_test): ... this. Return a string rather than
10433 printing to a file. Require ulps to be present.
10434 (output_ulps): Generate arrays rather than #defines.
10435 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
10436 (struct ulp_data): New type.
10437 (BUILD_COMPLEX_ULP): Remove macro.
10438 (compare_ulp_data): New function.
10439 (find_ulps): Likewise.
10440 (find_test_ulps): Likewise.
10441 (find_function_ulps): Likewise.
10442 (find_complex_function_ulps): Likewise.
10443 (print_max_error): Determine allowed ulps using
10444 find_function_ulps.
10445 (print_complex_max_error): Determine allowed ulps using
10446 find_complex_function_ulps.
10447 (check_float_internal): Determine max ulps using find_test_ulps.
10448 (check_float): Do not take max_ulp parameter. Update call to
10449 check_float_internal.
10450 (check_complex): Likewise.
10451 (check_int): Do not take max_ulp parameter.
10452 (check_long): Likewise.
10453 (check_bool): Likewise.
10454 (check_longlong): Likewise.
10455 (struct test_f_f_data): Remove max_ulp field.
10456 (struct test_ff_f_data): Likewise.
10457 (struct test_ff_f_data_nexttoward): Likewise.
10458 (struct test_fi_f_data): Likewise.
10459 (struct test_fl_f_data): Likewise.
10460 (struct test_if_f_data): Likewise.
10461 (struct test_fff_f_data): Likewise.
10462 (struct test_c_f_data): Likewise.
10463 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
10464 (struct test_fF_f1_data): Likewise.
10465 (struct test_ffI_f1_data): Likewise.
10466 (struct test_c_c_data): Remove max_ulp field.
10467 (struct test_cc_c_data): Likewise.
10468 (struct test_f_i_data): Likewise.
10469 (struct test_ff_i_data): Likewise.
10470 (struct test_f_l_data): Likewise.
10471 (struct test_f_L_data): Likewise.
10472 (struct test_sincos_data): Likewise.
10473 (RUN_TEST_f_f): Do not handle ulps.
10474 (RUN_TEST_LOOP_f_f): Likewise.
10475 (RUN_TEST_2_f): Likewise.
10476 (RUN_TEST_LOOP_2_f): Likewise.
10477 (RUN_TEST_fff_f): Likewise.
10478 (RUN_TEST_LOOP_fff_f): Likewise.
10479 (RUN_TEST_c_f): Likewise.
10480 (RUN_TEST_LOOP_c_f): Likewise.
10481 (RUN_TEST_f_f1): Likewise.
10482 (RUN_TEST_LOOP_f_f1): Likewise.
10483 (RUN_TEST_fF_f1): Likewise.
10484 (RUN_TEST_LOOP_fF_f1): Likewise.
10485 (RUN_TEST_fI_f1): Likewise.
10486 (RUN_TEST_LOOP_fI_f1): Likewise.
10487 (RUN_TEST_ffI_f1): Likewise.
10488 (RUN_TEST_LOOP_ffI_f1): Likewise.
10489 (RUN_TEST_c_c): Likewise.
10490 (RUN_TEST_LOOP_c_c): Likewise.
10491 (RUN_TEST_cc_c): Likewise.
10492 (RUN_TEST_LOOP_cc_c): Likewise.
10493 (RUN_TEST_f_i): Likewise.
10494 (RUN_TEST_LOOP_f_i): Likewise.
10495 (RUN_TEST_f_i_tg): Likewise.
10496 (RUN_TEST_LOOP_f_i_tg): Likewise.
10497 (RUN_TEST_ff_i_tg): Likewise.
10498 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10499 (RUN_TEST_f_b): Likewise.
10500 (RUN_TEST_LOOP_f_b): Likewise.
10501 (RUN_TEST_f_b_tg): Likewise.
10502 (RUN_TEST_LOOP_f_b_tg): Likewise.
10503 (RUN_TEST_f_l): Likewise.
10504 (RUN_TEST_LOOP_f_l): Likewise.
10505 (RUN_TEST_f_L): Likewise.
10506 (RUN_TEST_LOOP_f_L): Likewise.
10507 (RUN_TEST_sincos): Likewise.
10508 (RUN_TEST_LOOP_sincos): Likewise.
10509
8269107f
JM
105102013-05-17 Joseph Myers <joseph@codesourcery.com>
10511
bb38759d
JM
10512 [BZ #15480]
10513 [BZ #15485]
10514 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
10515 main case of finite arguments, set rounding mode to FE_TONEAREST
10516 and discard exceptions.
10517 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
10518 exceptions.
10519 (remainder_tonearest_test_data): New variable.
10520 (remainder_test_tonearest): New function.
10521 (remainder_towardzero_test_data): New variable.
10522 (remainder_test_towardzero): New function.
10523 (remainder_downward_test_data): New variable.
10524 (remainder_test_downward): New function.
10525 (remainder_upward_test_data): New variable.
10526 (remainder_test_upward): New function.
10527 (main): Call the new test functions.
10528
a00bdcf0
JM
10529 * math/libm-test.inc (struct test_f_f1_data): Remove field
10530 extra_init.
10531 (struct test_fF_f1_data): Likewise.
10532 (struct test_ffI_f1_data): Likewise.
10533 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
10534 based on value of EXTRA_EXPECTED.
10535 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10536 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
10537 EXTRA_VAR based on value of EXTRA_EXPECTED.
10538 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10539 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
10540 EXTRA_VAR based on value of EXTRA_EXPECTED.
10541 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10542 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
10543 EXTRA_VAR based on value of EXTRA_EXPECTED.
10544 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10545 * math/gen-libm-test.pl (parse_args): Don't output initializers
10546 for extra output values.
10547
de407f79
JM
10548 * math/libm-test.inc (check_int): Expect result to be exactly
10549 equal to expected value and do not handle ulps.
10550 (check_long): Likewise.
10551 (check_longlong): Likewise.
10552
8269107f
JM
10553 * math/libm-test.inc (ceil_test_data): Test for "inexact"
10554 exceptions.
10555 (cimag_test_data): Likewise.
10556 (conj_test_data): Likewise.
10557 (copysign_test_data): Likewise.
10558 (cproj_test_data): Likewise.
10559 (creal_test_data): Likewise.
10560 (fabs_test_data): Likewise.
10561 (fdim_test_data): Likewise.
10562 (finite_test_data): Likewise.
10563 (floor_test_data): Likewise.
10564 (fmax_test_data): Likewise.
10565 (fmin_test_data): Likewise.
10566 (fmod_test_data): Likewise.
10567 (fpclassify_test_data): Likewise.
10568 (frexp_test_data): Likewise.
10569 (ilogb_test_data): Likewise.
10570 (isfinite_test_data): Likewise.
10571 (isgreater_test_data): Likewise.
10572 (isgreaterequal_test_data): Likewise.
10573 (isinf_test_data): Likewise.
10574 (isless_test_data): Likewise.
10575 (islessequal_test_data): Likewise.
10576 (islessgreater_test_data): Likewise.
10577 (isnan_test_data): Likewise.
10578 (isnormal_test_data): Likewise.
10579 (issignaling_test_data): Likewise.
10580 (isunordered_test_data): Likewise.
10581 (ldexp_test_data): Likewise.
10582 (lrint_test_data): Likewise.
10583 (lrint_test_data) [TEST_FLOAT]: Disable one test.
10584 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
10585 (lrint_tonearest_test_data): Test for "inexact" exceptions.
10586 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10587 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
10588 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10589 test input.
10590 (lrint_towardzero_test_data): Test for "inexact" exceptions.
10591 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10592 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
10593 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
10594 that test input.
10595 (lrint_downward_test_data): Test for "inexact" exceptions.
10596 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10597 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
10598 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10599 test input.
10600 (lrint_upward_test_data): Test for "inexact" exceptions.
10601 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
10602 test input.
10603 (llrint_test_data): Test for "inexact" exceptions.
10604 (llrint_test_data) [TEST_FLOAT]: Disable one test.
10605 (llrint_tonearest_test_data): Test for "inexact" exceptions.
10606 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10607 (llrint_towardzero_test_data): Test for "inexact" exceptions.
10608 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10609 (llrint_downward_test_data): Test for "inexact" exceptions.
10610 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10611 (llrint_upward_test_data): Test for "inexact" exceptions.
10612 (logb_test_data): Likewise.
10613 (logb_downward_test_data): Likewise.
10614 (nextafter_test_data): Likewise.
10615 (nexttoward_test_data): Likewise.
10616 (remainder_test_data): Likewise.
10617 (remquo_test_data): Likewise.
10618 (scalbn_test_data): Likewise.
10619 (scalbln_test_data): Likewise.
10620 (signbit_test_data): Likewise.
10621 (sqrt_test_data): Likewise.
10622 (significand_test_data): Likewise.
10623
48a18de1
SP
106242013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10625
10626 [BZ #15424]
10627 * benchtests/bench-modf.c (struct args): Mark arg0 as
10628 volatile.
10629 * scripts/bench.pl: Mark members of struct args as volatile.
10630
13d3b41a
AZ
106312013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10632
68191c1d 10633 [BZ # 15497]
13d3b41a
AZ
10634 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
10635 negative infinity on POWER6 or lower.
10636 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
10637
2848b105
MR
106382013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
10639
10640 [BZ #15442]
10641 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
10642 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
10643 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
10644 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
10645 (_FP_SETQNAN): New macro.
10646 (_FP_SETQNAN_SEMIRAW): Likewise.
10647 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
10648 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
10649 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
10650 (FP_EXTEND): Use _FP_FRAC_SNANP.
10651 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
10652 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
10653 into account.
10654 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10655 New macro.
10656 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10657 Likewise.
10658
323e5cb7
JM
106592013-05-16 Joseph Myers <joseph@codesourcery.com>
10660
c58b274f
JM
10661 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
10662 with DIVIDE_BY_ZERO_EXCEPTION.
10663 (gamma_test_data): Likewise.
10664 (lgamma_test_data): Likewise.
10665 (log_test_data): Likewise.
10666 (log10_test_data): Likewise.
10667 (log2_test_data): Likewise.
10668 (tgamma_test_data): Likewise.
10669
0ab34904
JM
10670 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
10671 (acos_test_tonearest): Likewise.
10672 (acos_test_towardzero): Likewise.
10673 (acos_test_downward): Likewise.
10674 (acos_test_upward): Likewise.
10675 (acosh_test): Likewise.
10676 (asin_test): Likewise.
10677 (asin_test_tonearest): Likewise.
10678 (asin_test_towardzero): Likewise.
10679 (asin_test_downward): Likewise.
10680 (asin_test_upward): Likewise.
10681 (asinh_test): Likewise.
10682 (atan_test): Likewise.
10683 (atanh_test): Likewise.
10684 (atan2_test): Likewise.
10685 (cabs_test): Likewise.
10686 (cacos_test): Likewise.
10687 (cacosh_test): Likewise.
10688 (casin_test): Likewise.
10689 (casinh_test): Likewise.
10690 (catan_test): Likewise.
10691 (catanh_test): Likewise.
10692 (cbrt_test): Likewise.
10693 (ccos_test): Likewise.
10694 (ccosh_test): Likewise.
10695 (cexp_test): Likewise.
10696 (clog_test): Likewise.
10697 (clog10_test): Likewise.
10698 (cos_test): Likewise.
10699 (cos_test_tonearest): Likewise.
10700 (cos_test_towardzero): Likewise.
10701 (cos_test_downward): Likewise.
10702 (cos_test_upward): Likewise.
10703 (cosh_test): Likewise.
10704 (cosh_test_tonearest): Likewise.
10705 (cosh_test_towardzero): Likewise.
10706 (cosh_test_downward): Likewise.
10707 (cosh_test_upward): Likewise.
10708 (cpow_test): Likewise.
10709 (csin_test): Likewise.
10710 (csinh_test): Likewise.
10711 (csqrt_test): Likewise.
10712 (ctan_test): Likewise.
10713 (ctan_test_tonearest): Likewise.
10714 (ctan_test_towardzero): Likewise.
10715 (ctan_test_downward): Likewise.
10716 (ctan_test_upward): Likewise.
10717 (ctanh_test): Likewise.
10718 (ctanh_test_tonearest): Likewise.
10719 (ctanh_test_towardzero): Likewise.
10720 (ctanh_test_downward): Likewise.
10721 (ctanh_test_upward): Likewise.
10722 (erf_test): Likewise.
10723 (erfc_test): Likewise.
10724 (exp_test): Likewise.
10725 (exp_test_tonearest): Likewise.
10726 (exp_test_towardzero): Likewise.
10727 (exp_test_downward): Likewise.
10728 (exp_test_upward): Likewise.
10729 (exp10_test): Likewise.
10730 (exp2_test): Likewise.
10731 (expm1_test): Likewise.
10732 (fmod_test): Likewise.
10733 (gamma_test): Likewise.
10734 (hypot_test): Likewise.
10735 (j0_test): Likewise.
10736 (j1_test): Likewise.
10737 (jn_test): Likewise.
10738 (lgamma_test): Likewise.
10739 (log_test): Likewise.
10740 (log10_test): Likewise.
10741 (log1p_test): Likewise.
10742 (log2_test): Likewise.
10743 (logb_test_downward): Likewise.
10744 (pow_test): Likewise.
10745 (pow_test_tonearest): Likewise.
10746 (pow_test_towardzero): Likewise.
10747 (pow_test_downward): Likewise.
10748 (pow_test_upward): Likewise.
10749 (remainder_test): Likewise.
10750 (remquo_test): Likewise.
10751 (sin_test): Likewise.
10752 (sin_test_tonearest): Likewise.
10753 (sin_test_towardzero): Likewise.
10754 (sin_test_downward): Likewise.
10755 (sin_test_upward): Likewise.
10756 (sincos_test): Likewise.
10757 (sinh_test): Likewise.
10758 (sinh_test_tonearest): Likewise.
10759 (sinh_test_towardzero): Likewise.
10760 (sinh_test_downward): Likewise.
10761 (sinh_test_upward): Likewise.
10762 (sqrt_test): Likewise.
10763 (tan_test): Likewise.
10764 (tan_test_tonearest): Likewise.
10765 (tan_test_towardzero): Likewise.
10766 (tan_test_downward): Likewise.
10767 (tan_test_upward): Likewise.
10768 (tanh_test): Likewise.
10769 (tgamma_test): Likewise.
10770 (y0_test): Likewise.
10771 (y1_test): Likewise.
10772 (yn_test): Likewise.
10773
323e5cb7
JM
10774 * math/gen-libm-test.pl (adjust_arg): Remove function.
10775 (special_function): Remove argument $in_func. Only handle
10776 generating output for tables of tests, not inside functions.
10777 (parse_args): Likewise.
10778 (generate_testfile): Remove variable $in_func. Update call to
10779 parse_args.
10780 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
10781 (MINUS_ZERO_INIT): Rename macro to minus_zero.
10782 (PLUS_INFTY_INIT): Rename macro to plus_infty.
10783 (MINUS_INFTY_INIT): Rename macro to minus_infty.
10784 (QNAN_VALUE_INIT): Rename macro to qnan_value.
10785 (MAX_VALUE_INIT): Rename macro to max_value.
10786 (MIN_VALUE_INIT): Rename macro to min_value.
10787 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
10788 (plus_zero): Remove variable.
10789 (minus_zero): Likewise.
10790 (plus_infty): Likewise.
10791 (minus_infty): Likewise.
10792 (qnan_value): Likewise.
10793 (max_value): Likewise.
10794 (min_value): Likewise.
10795 (min_subnorm_value): Likewise.
10796
e054f494
RA
107972013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10798
10799 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
10800 uint64_t or uint32_t usage.
10801 * crypt/sha256-block.c: Likewise.
10802 * crypt/sha256-crypt.c: Likewise.
10803 * crypt/sha256.c: Likewise.
10804 * crypt/sha512-block.c: Likewise.
10805 * crypt/sha512-crypt.c: Likewise.
10806 * crypt/sha512.c: Likewise.
10807 * debug/backtrace-tst.c: Likewise.
10808 * debug/pcprofiledump.c: Likewise.
10809 * elf/cache.c: Likewise.
10810 * elf/dl-cache.c: Likewise.
10811 * elf/dl-misc.c: Likewise.
10812 * elf/dl-profile.c: Likewise.
10813 * elf/dl-support.c: Likewise.
10814 * elf/ldconfig.c: Likewise.
10815 * elf/sprof.c: Likewise.
10816 * iconv/dummy-repertoire.c: Likewise.
10817 * iconv/iconv_charmap.c: Likewise.
10818 * iconv/skeleton.c: Likewise.
10819 * iconvdata/8bit-generic.c: Likewise.
10820 * iconvdata/cp737.h: Likewise.
10821 * iconvdata/cp775.h: Likewise.
10822 * iconvdata/ibm1008.h: Likewise.
10823 * iconvdata/ibm1025.h: Likewise.
10824 * iconvdata/ibm1046.h: Likewise.
10825 * iconvdata/ibm1097.h: Likewise.
10826 * iconvdata/ibm1112.h: Likewise.
10827 * iconvdata/ibm1122.h: Likewise.
10828 * iconvdata/ibm1123.h: Likewise.
10829 * iconvdata/ibm1124.h: Likewise.
10830 * iconvdata/ibm1129.h: Likewise.
10831 * iconvdata/ibm1130.h: Likewise.
10832 * iconvdata/ibm1132.h: Likewise.
10833 * iconvdata/ibm1133.h: Likewise.
10834 * iconvdata/ibm1137.h: Likewise.
10835 * iconvdata/ibm1140.h: Likewise.
10836 * iconvdata/ibm1141.h: Likewise.
10837 * iconvdata/ibm1142.h: Likewise.
10838 * iconvdata/ibm1143.h: Likewise.
10839 * iconvdata/ibm1144.h: Likewise.
10840 * iconvdata/ibm1145.h: Likewise.
10841 * iconvdata/ibm1146.h: Likewise.
10842 * iconvdata/ibm1147.h: Likewise.
10843 * iconvdata/ibm1148.h: Likewise.
10844 * iconvdata/ibm1149.h: Likewise.
10845 * iconvdata/ibm1153.h: Likewise.
10846 * iconvdata/ibm1154.h: Likewise.
10847 * iconvdata/ibm1155.h: Likewise.
10848 * iconvdata/ibm1156.h: Likewise.
10849 * iconvdata/ibm1157.h: Likewise.
10850 * iconvdata/ibm1158.h: Likewise.
10851 * iconvdata/ibm1160.h: Likewise.
10852 * iconvdata/ibm1161.h: Likewise.
10853 * iconvdata/ibm1162.h: Likewise.
10854 * iconvdata/ibm1163.h: Likewise.
10855 * iconvdata/ibm1164.h: Likewise.
10856 * iconvdata/ibm1166.h: Likewise.
10857 * iconvdata/ibm1167.h: Likewise.
10858 * iconvdata/ibm12712.h: Likewise.
10859 * iconvdata/ibm1390.h: Likewise.
10860 * iconvdata/ibm1399.h: Likewise.
10861 * iconvdata/ibm16804.h: Likewise.
10862 * iconvdata/ibm4517.h: Likewise.
10863 * iconvdata/ibm4899.h: Likewise.
10864 * iconvdata/ibm4909.h: Likewise.
10865 * iconvdata/ibm4971.h: Likewise.
10866 * iconvdata/ibm5347.h: Likewise.
10867 * iconvdata/ibm803.h: Likewise.
10868 * iconvdata/ibm856.h: Likewise.
10869 * iconvdata/ibm901.h: Likewise.
10870 * iconvdata/ibm902.h: Likewise.
10871 * iconvdata/ibm9030.h: Likewise.
10872 * iconvdata/ibm9066.h: Likewise.
10873 * iconvdata/ibm921.h: Likewise.
10874 * iconvdata/ibm922.h: Likewise.
10875 * iconvdata/ibm9448.h: Likewise.
10876 * iconvdata/isiri-3342.h: Likewise.
10877 * iconvdata/jis0201.h: Likewise.
10878 * include/link.h: Likewise.
10879 * include/netdb.h: Likewise.
10880 * inet/check_native.c: Likewise.
10881 * inet/check_pf.c: Likewise.
10882 * inet/getipv4sourcefilter.c: Likewise.
10883 * inet/getnameinfo.c: Likewise.
10884 * inet/getsourcefilter.c: Likewise.
10885 * inet/htonl.c: Likewise.
10886 * inet/setipv4sourcefilter.c: Likewise.
10887 * inet/setsourcefilter.c: Likewise.
10888 * inet/test-inet6_opt.c: Likewise.
10889 * inet/tst-network.c: Likewise.
10890 * locale/C-collate.c: Likewise.
10891 * locale/C-ctype.c: Likewise.
10892 * locale/C-time.c: Likewise.
10893 * locale/C-translit.h: Likewise.
10894 * locale/loadarchive.c: Likewise.
10895 * locale/programs/3level.h: Likewise.
10896 * locale/programs/charmap.c: Likewise.
10897 * locale/programs/charmap.h: Likewise.
10898 * locale/programs/ld-address.c: Likewise.
10899 * locale/programs/ld-collate.c: Likewise.
10900 * locale/programs/ld-ctype.c: Likewise.
10901 * locale/programs/ld-identification.c: Likewise.
10902 * locale/programs/ld-measurement.c: Likewise.
10903 * locale/programs/ld-messages.c: Likewise.
10904 * locale/programs/ld-monetary.c: Likewise.
10905 * locale/programs/ld-name.c: Likewise.
10906 * locale/programs/ld-numeric.c: Likewise.
10907 * locale/programs/ld-paper.c: Likewise.
10908 * locale/programs/ld-telephone.c: Likewise.
10909 * locale/programs/ld-time.c: Likewise.
10910 * locale/programs/linereader.c: Likewise.
10911 * locale/programs/locale.c: Likewise.
10912 * locale/programs/locarchive.c: Likewise.
10913 * locale/programs/locfile.h: Likewise.
10914 * locale/programs/repertoire.c: Likewise.
10915 * locale/programs/simple-hash.c: Likewise.
10916 * locale/programs/simple-hash.h: Likewise.
10917 * malloc/memusage.c: Likewise.
10918 * malloc/memusagestat.c: Likewise.
10919 * nis/nis_defaults.c: Likewise.
10920 * nis/nis_hash.c: Likewise.
10921 * nis/nis_print.c: Likewise.
10922 * nis/nis_xdr.c: Likewise.
10923 * nscd/connections.c: Likewise.
10924 * nscd/hstcache.c: Likewise.
10925 * nscd/nscd_gethst_r.c: Likewise.
10926 * nscd/nscd_getserv_r.c: Likewise.
10927 * nscd/nscd_helper.c: Likewise.
10928 * nscd/servicescache.c: Likewise.
10929 * nss/makedb.c: Likewise.
10930 * nss/nss_db/db-XXX.c: Likewise.
10931 * nss/nss_db/db-initgroups.c: Likewise.
10932 * nss/nss_db/db-netgrp.c: Likewise.
10933 * nss/nss_files/files-network.c: Likewise.
10934 * nss/nss_files/files-parse.c: Likewise.
10935 * posix/bug-regex5.c: Likewise.
10936 * posix/fnmatch_loop.c: Likewise.
10937 * posix/regcomp.c: Likewise.
10938 * posix/regexec.c: Likewise.
10939 * posix/tst-rfc3484-2.c: Likewise.
10940 * posix/tst-rfc3484-3.c: Likewise.
10941 * posix/tst-rfc3484.c: Likewise.
10942 * resolv/nss_dns/dns-canon.c: Likewise.
10943 * resolv/nss_dns/dns-network.c: Likewise.
10944 * resolv/res_init.c: Likewise.
10945 * resolv/res_mkquery.c: Likewise.
10946 * resolv/tst-aton.c: Likewise.
10947 * stdlib/cxa_atexit.c: Likewise.
10948 * stdlib/cxa_finalize.c: Likewise.
10949 * stdlib/gen-fpioconst.c: Likewise.
10950 * stdlib/strtol_l.c: Likewise.
10951 * string/tst-endian.c: Likewise.
10952 * sunrpc/auth_des.c: Likewise.
10953 * sunrpc/clnt_udp.c: Likewise.
10954 * sunrpc/rtime.c: Likewise.
10955 * sunrpc/svcauth_des.c: Likewise.
10956 * sunrpc/xdr.c: Likewise.
10957 * sunrpc/xdr_intXX_t.c: Likewise.
10958 * sunrpc/xdr_rec.c: Likewise.
10959 * sysdeps/generic/ldconfig.h: Likewise.
10960 * sysdeps/generic/ldsodefs.h: Likewise.
10961 * sysdeps/generic/memusage.h: Likewise.
10962 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10963 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
10964 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
10965 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10966 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10967 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10968 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10969 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10970 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10971 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10972 * sysdeps/posix/getaddrinfo.c: Likewise.
10973 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10974 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10975 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10976 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10977 * sysdeps/powerpc/test-gettimebase.c: Likewise.
10978 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10979 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
10980 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
10981 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10982 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
10983 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10984 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10985 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
10986 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
10987 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
10988 * sysdeps/x86_64/dl-tls.h: Likewise.
10989 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
10990 * time/alt_digit.c: Likewise.
10991 * time/era.c: Likewise.
10992 * wcsmbs/tst-c16c32-1.c: Likewise.
10993
8c75f674
JM
109942013-05-16 Joseph Myers <joseph@codesourcery.com>
10995
10996 * math/libm-test.inc (struct test_sincos_data): New type.
10997 (RUN_TEST_LOOP_sincos): New macro.
10998 (sincos_test_data): New variable.
10999 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
11000
e6e49e59
RH
110012013-05-16 Richard Henderson <rth@redhat.com>
11002
11003 * math/atest-exp2.c (LIMB64): New macro.
11004 (CONSTSZ): New macro.
11005 (mp_exp1, mp_exp_m1, mp_log2): New variables.
11006 (hexdig): Move ...
11007 (print_mpn_fp): ... to function scope.
11008 (read_mpn_hex): Remove.
11009 (get_log2): Remove.
11010 (exp2_mpn): Use mp_log2.
11011 (main): Use mp_exp1.
11012
15c7c18d
JM
110132013-05-16 Joseph Myers <joseph@codesourcery.com>
11014
105a07df
JM
11015 * math/libm-test.inc: Remove comment about not testing "inexact"
11016 exceptions.
11017 (INEXACT_EXCEPTION): New macro.
11018 (NO_INEXACT_EXCEPTION): Likewise.
11019 (INVALID_EXCEPTION_OK): Update value.
11020 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11021 (OVERFLOW_EXCEPTION_OK): Likewise.
11022 (UNDERFLOW_EXCEPTION_OK): Likewise.
11023 (IGNORE_ZERO_INF_SIGN): Likewise.
11024 (ERRNO_UNCHANGED): Likewise.
11025 (ERRNO_EDOM): Likewise.
11026 (ERRNO_ERANGE): Likewise.
11027 (test_exceptions): Handle testing "inexact" exceptions.
11028 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
11029 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
11030 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
11031 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
11032 INEXACT_EXCEPTION.
11033 (rint_towardzero_test_data): Likewise.
11034 (rint_downward_test_data): Likewise.
11035 (rint_upward_test_data): Likewise.
11036
e9eee333
JM
11037 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
11038 with OVERFLOW_EXCEPTION.
11039 (exp10_test_data): Likewise.
11040 (exp2_test_data): Likewise.
11041 (expm1_test_data): Likewise.
11042 (lgamma_test_data): Likewise.
11043 (pow_test_data): Likewise.
11044 (tgamma_test_data): Likewise.
11045 (yn_test_data): Remove duplicate test of overflow.
11046
1c38ff73
JM
11047 * math/libm-test.inc (struct test_cc_c_data): New type.
11048 (RUN_TEST_LOOP_cc_c): New macro.
11049 (cpow_test_data): New variable.
11050 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
11051
15c7c18d
JM
11052 * math/libm-test.inc (struct test_f_L_data): New type.
11053 (RUN_TEST_LOOP_f_L): New macro.
11054 (llrint_test_data): New variable.
11055 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
11056 (llrint_tonearest_test_data): New variable.
11057 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
11058 (llrint_towardzero_test_data): New variable.
11059 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
11060 (llrint_downward_test_data): New variable.
11061 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
11062 (llrint_upward_test_data): New variable.
11063 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
11064 (llround_test_data): New variable.
11065 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
11066
f137ff13
PC
110672013-05-13 Peter Collingbourne <pcc@google.com>
11068
11069 * math/atest-exp2.c (get_log2): Remove const attribute.
11070
3608cb24
JM
110712013-05-15 Joseph Myers <joseph@codesourcery.com>
11072
11073 * math/libm-test.inc (struct test_f_l_data): New type.
11074 (RUN_TEST_LOOP_f_l): New macro.
11075 (lrint_test_data): New variable.
11076 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
11077 (lrint_tonearest_test_data): New variable.
11078 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
11079 (lrint_towardzero_test_data): New variable.
11080 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
11081 (lrint_downward_test_data): New variable.
11082 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
11083 (lrint_upward_test_data): New variable.
11084 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
11085 (lround_test_data): New variable.
11086 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
11087
39b1f617
PC
110882013-05-15 Peter Collingbourne <pcc@google.com>
11089
1deff3dc
PC
11090 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
11091 (EXTRACT_WORDS64) Use where appropriate.
11092 (INSERT_WORDS64) Likewise.
11093
791f3ba0
PC
11094 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
11095 constraints with x constraints.
11096 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
11097
39b1f617
PC
11098 * malloc/obstack.c (_obstack_compat): Add initializer.
11099
12fba011
EM
111002013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
11101
11102 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
11103 si_trapno and add si_addr_lsb to _sifields.sigfault.
11104 (si_trapno): Remove macro.
11105 (si_addr_lsb): Define new macro.
11106 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
11107
d369f531
JM
111082013-05-15 Joseph Myers <joseph@codesourcery.com>
11109
b861c6c4
JM
11110 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
11111 instead of TEST_f_l.
11112 (llrint_test_tonearest): Likewise.
11113 (llrint_test_towardzero): Likewise.
11114 (llrint_test_downward): Likewise.
11115 (llrint_test_upward): Likewise.
11116 (llround_test): Likewise.
11117
7abeee12
JM
11118 * math/libm-test.inc (struct test_f_i_data): Add comment.
11119 (RUN_TEST_LOOP_f_b): New macro.
11120 (RUN_TEST_LOOP_f_b_tg): Likewise.
11121 (finite_test_data): New variable.
11122 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
11123 (isfinite_test_data): New variable.
11124 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11125 (isinf_test_data): New variable.
11126 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11127 (isnan_test_data): New variable.
11128 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11129 (isnormal_test_data): New variable.
11130 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11131 (issignaling_test_data): New variable.
11132 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11133 (signbit_test_data): New variable.
11134 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11135
cbe8c4d3
JM
11136 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
11137 with INVALID_EXCEPTION.
11138 (acosh_test_data): Likewise.
11139 (asin_test_data): Likewise.
11140 (atanh_test_data): Likewise.
11141 (fmod_test_data): Likewise.
11142 (log_test_data): Likewise.
11143 (log10_test_data): Likewise.
11144 (log2_test_data): Likewise.
11145 (pow_test_data): Likewise.
11146 (sqrt_test_data): Likewise.
11147 (y0_test_data): Likewise.
11148 (y1_test_data): Likewise.
11149 (yn_test_data): Likewise.
11150
5575c0e5
JM
11151 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
11152 function contents.
11153
d369f531
JM
11154 * math/libm-test.inc (struct test_ff_i_data): New type.
11155 (RUN_TEST_LOOP_ff_i_tg): New macro.
11156 (isgreater_test_data): New variable.
11157 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11158 (isgreaterequal_test_data): New variable.
11159 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11160 (isless_test_data): New variable.
11161 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11162 (islessequal_test_data): New variable.
11163 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11164 (islessgreater_test_data): New variable.
11165 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11166 (isunordered_test_data): New variable.
11167 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11168
781fd748
DM
111692013-05-14 David S. Miller <davem@davemloft.net>
11170
11171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11172
87aa21df
JM
111732013-05-14 Joseph Myers <joseph@codesourcery.com>
11174
5e908270
JM
11175 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
11176
f71172e5
JM
11177 * math/libm-test.inc (struct test_fF_f1_data): Change type of
11178 extra_test to int.
11179 (struct test_f_i_data): Change type of max_ulp to int.
11180
8cfa635a
JM
11181 * math/libm-test.inc (test_ffI_f1_data): New type.
11182 (RUN_TEST_LOOP_ffI_f1): New macro.
11183 (remquo_test_data): New variable.
11184 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
11185
2bcb36b2
JM
11186 * setjmp/tst-setjmp-fp.c: New file.
11187 * setjmp/Makefile (tests): Add tst-setjmp-fp.
11188 (link-libm): New variable.
11189 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
11190
acbd839a
JM
11191 * math/libm-test.inc (struct test_f_i_data): New type.
11192 (RUN_TEST_LOOP_f_i): New macro.
11193 (RUN_TEST_LOOP_f_i_tg): Likewise.
11194 (fpclassify_test_data): New variable.
11195 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
11196 (ilogb_test_data): New variable.
11197 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
11198
e414d745
JM
11199 * math/libm-test.inc (scalbln_test): Correct function name in END
11200 call.
11201
d9c2a0fd
JM
11202 * math/libm-test.inc (struct test_f_f1_data): Add comment.
11203 (RUN_TEST_LOOP_fI_f1): New macro.
11204 (frexp_test_data): New variable.
11205 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
11206
9dc9095d
JM
11207 * math/libm-test.inc (struct test_fF_f1_data): New type.
11208 (RUN_TEST_LOOP_fF_f1): New macro.
11209 (modf_test_data): New variable.
11210 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
11211
87aa21df
JM
11212 * math/libm-test.inc (struct test_f_f1_data): New type.
11213 (RUN_TEST_LOOP_f_f1): New macro.
11214 (gamma_test_data): New variable.
11215 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
11216 (lgamma_test_data): New variable.
11217 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
11218
141af660
CD
112192013-05-13 Carlos O'Donell <carlos@redhat.com>
11220
11221 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
11222 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
11223 (main): Comment "tls" pseudo-hwcap.
11224
6d33265c
JM
112252013-05-13 Joseph Myers <joseph@codesourcery.com>
11226
68fc074c
JM
11227 * math/libm-test.inc (struct test_fl_f_data): New type.
11228 (RUN_TEST_LOOP_fl_f): New variable.
11229 (scalbln_test_data): New variable.
11230 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
11231
243216e1
JM
11232 * math/libm-test.inc (struct test_fi_f_data): New type.
11233 (RUN_TEST_LOOP_fi_f): New macro.
11234 (ldexp_test_data): New variable.
11235 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
11236 (scalbn_test_data): New variable.
11237 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
11238
6a1992e2
JM
11239 * math/libm-test.inc (struct test_c_f_data): New type.
11240 (RUN_TEST_LOOP_c_f): New macro.
11241 (cabs_test_data): New variable.
11242 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
11243 (carg_test_data): New variable.
11244 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
11245 (cimag_test_data): New variable.
11246 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
11247 (creal_test_data): New variable.
11248 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
11249
0e400df5
JM
11250 * math/libm-test.inc (struct test_if_f_data): New type.
11251 (RUN_TEST_LOOP_if_f): New macro.
11252 (jn_test_data): New variable.
11253 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
11254 (yn_test_data): New variable.
11255 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
11256
6d33265c
JM
11257 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
11258
f98ece5f
AZ
112592013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11260
11261 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
11262 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
11263
0f7d347b
SP
112642013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11265
43fe811b
SP
11266 * benchtests/Makefile (CPPFLAGS-nonlib): Add
11267 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
11268 (bench-deps): Add bench-timing.h.
11269 * benchtests-bench-skeleton.c: Include bench-timing.h.
11270 (main): Use TIMING_* macros instead of clock_gettime.
11271 * benchtests/bench-timing.h: New file.
11272
0f7d347b
SP
11273 [BZ #14582]
11274 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
11275 Renamed from _LIB_VERSION.
11276 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
11277
601a3a5f
JM
112782013-05-12 Joseph Myers <joseph@codesourcery.com>
11279
4f184d30
JM
11280 * math/libm-test.inc (struct test_fff_f_data): New type.
11281 (RUN_TEST_LOOP_fff_f): New macro.
11282 (fma_test_data): New variable.
11283 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
11284 (fma_towardzero_test_data): New variable.
11285 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
11286 (fma_downward_test_data): New variable.
11287 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
11288 (fma_upward_test_data): New variable.
11289 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
11290
08198877
JM
11291 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
11292 (struct test_c_c_data): New type.
11293 (RUN_TEST_LOOP_c_c): New macro.
11294 (cacos_test_data): New variable.
11295 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
11296 (cacosh_test_data): New variable.
11297 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
11298 (casin_test_data): New variable.
11299 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
11300 (casinh_test_data): New variable.
11301 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
11302 (catan_test_data): New variable.
11303 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
11304 (catanh_test_data): New variable.
11305 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
11306 (ccos_test_data): New variable.
11307 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
11308 (ccosh_test_data): New variable.
11309 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
11310 (cexp_test_data): New variable.
11311 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
11312 (clog_test_data): New variable.
11313 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
11314 (clog10_test_data): New variable.
11315 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
11316 (conj_test_data): New variable.
11317 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
11318 (cproj_test_data): New variable.
11319 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
11320 (csin_test_data): New variable.
11321 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
11322 (csinh_test_data): New variable.
11323 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
11324 (csqrt_test_data): New variable.
11325 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
11326 (ctan_test_data): New variable.
11327 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
11328 (ctan_tonearest_test_data): New variable.
11329 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11330 (ctan_towardzero_test_data): New variable.
11331 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11332 (ctan_downward_test_data): New variable.
11333 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11334 (ctan_upward_test_data): New variable.
11335 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11336 (ctanh_test_data): New variable.
11337 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
11338 (ctanh_tonearest_test_data): New variable.
11339 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11340 (ctanh_towardzero_test_data): New variable.
11341 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11342 (ctanh_downward_test_data): New variable.
11343 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11344 (ctanh_upward_test_data): New variable.
11345 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11346 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
11347 of BUILD_COMPLEX.
11348
601a3a5f
JM
11349 * math/libm-test.inc (struct test_ff_f_data): New type.
11350 (struct test_ff_f_data_nexttoward): Likewise.
11351 (RUN_TEST_LOOP_2_f): New macro.
11352 (RUN_TEST_LOOP_ff_f): Likewise.
11353 (atan2_test_data): New variable.
11354 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
11355 (copysign_test_data): New variable.
11356 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
11357 (fdim_test_data): New variable.
11358 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
11359 (fmax_test_data): New variable.
11360 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
11361 (fmin_test_data): New variable.
11362 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
11363 (fmod_test_data): New variable.
11364 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
11365 (hypot_test_data): New variable.
11366 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
11367 (nextafter_test_data): New variable.
11368 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
11369 (nexttoward_test_data): New variable.
11370 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
11371 (pow_test_data): New variable.
11372 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
11373 (pow_tonearest_test_data): New variable.
11374 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
11375 (pow_towardzero_test_data): New variable.
11376 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
11377 (pow_downward_test_data): New variable.
11378 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
11379 (pow_upward_test_data): New variable.
11380 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
11381 (remainder_test_data): New variable.
11382 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
11383 (scalb_test_data): New variable.
11384 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
11385 * sysdeps/i386/fpu/libm-test-ulps: Update.
11386
74c57478
JM
113872013-05-11 Joseph Myers <joseph@codesourcery.com>
11388
8329e4da
JM
11389 * math/libm-test.inc (fma_test): Use max_value instead of local
11390 variable fltmax.
11391 (nextafter_test): Likewise.
11392
74c57478
JM
11393 * math/libm-test.inc (acos_towardzero_test_data): New variable.
11394 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11395 (acos_downward_test_data): New variable.
11396 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11397 (acos_upward_test_data): New variable.
11398 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11399 (acosh_test_data): New variable.
11400 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
11401 (asin_test_data): New variable.
11402 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
11403 (asin_tonearest_test_data): New variable.
11404 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11405 (asin_towardzero_test_data): New variable.
11406 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11407 (asin_downward_test_data): New variable.
11408 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11409 (asin_upward_test_data): New variable.
11410 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11411 (asinh_test_data): New variable.
11412 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
11413 (atan_test_data): New variable.
11414 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
11415 (atanh_test_data): New variable.
11416 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
11417 (cbrt_test_data): New variable.
11418 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
11419 (ceil_test_data): New variable.
11420 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
11421 (cos_test_data): New variable.
11422 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
11423 (cos_tonearest_test_data): New variable.
11424 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11425 (cos_towardzero_test_data): New variable.
11426 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11427 (cos_downward_test_data): New variable.
11428 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11429 (cos_upward_test_data): New variable.
11430 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11431 (cosh_test_data): New variable.
11432 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
11433 (cosh_tonearest_test_data): New variable.
11434 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11435 (cosh_towardzero_test_data): New variable.
11436 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11437 (cosh_downward_test_data): New variable.
11438 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11439 (cosh_upward_test_data): New variable.
11440 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11441 (erf_test_data): New variable.
11442 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
11443 (erfc_test_data): New variable.
11444 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
11445 (exp_test_data): New variable.
11446 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
11447 (exp_tonearest_test_data): New variable.
11448 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11449 (exp_towardzero_test_data): New variable.
11450 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11451 (exp_downward_test_data): New variable.
11452 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11453 (exp_upward_test_data): New variable.
11454 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11455 (exp10_test_data): New variable.
11456 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
11457 (exp2_test_data): New variable.
11458 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
11459 (expm1_test_data): New variable.
11460 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
11461 (fabs_test_data): New variable.
11462 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
11463 (floor_test_data): New variable.
11464 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
11465 (j0_test_data): New variable.
11466 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
11467 (j1_test_data): New variable.
11468 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
11469 (log_test_data): New variable.
11470 (log_test): Run tests with RUN_TEST_LOOP_f_f.
11471 (log10_test_data): New variable.
11472 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
11473 (log1p_test_data): New variable.
11474 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
11475 (log2_test_data): New variable.
11476 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
11477 (logb_test_data): New variable.
11478 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
11479 (logb_downward_test_data): New variable.
11480 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11481 (nearbyint_test_data): New variable.
11482 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
11483 (rint_test_data): New variable.
11484 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
11485 (rint_tonearest_test_data): New variable.
11486 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11487 (rint_towardzero_test_data): New variable.
11488 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11489 (rint_downward_test_data): New variable.
11490 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11491 (rint_upward_test_data): New variable.
11492 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11493 (round_test_data): New variable.
11494 (round_test): Run tests with RUN_TEST_LOOP_f_f.
11495 (sin_test_data): New variable.
11496 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
11497 (sin_tonearest_test_data): New variable.
11498 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11499 (sin_towardzero_test_data): New variable.
11500 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11501 (sin_downward_test_data): New variable.
11502 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11503 (sin_upward_test_data): New variable.
11504 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11505 (sinh_test_data): New variable.
11506 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
11507 (sinh_tonearest_test_data): New variable.
11508 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11509 (sinh_towardzero_test_data): New variable.
11510 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11511 (sinh_downward_test_data): New variable.
11512 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11513 (sinh_upward_test_data): New variable.
11514 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11515 (sqrt_test_data): New variable.
11516 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
11517 (tan_test_data): New variable.
11518 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
11519 (tan_tonearest_test_data): New variable.
11520 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11521 (tan_towardzero_test_data): New variable.
11522 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11523 (tan_downward_test_data): New variable.
11524 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11525 (tan_upward_test_data): New variable.
11526 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11527 (tanh_test_data): New variable.
11528 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
11529 (tgamma_test_data): New variable.
11530 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
11531 (trunc_test_data): New variable.
11532 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
11533 (y0_test_data): New variable.
11534 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
11535 (y1_test_data): New variable.
11536 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
11537 (significand_test_data): New variable.
11538 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
11539
7187d844
CG
115402013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
11541
11542 [BZ #12387]
11543 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
11544
f63fae73
PT
115452013-05-10 Pino Toscano <toscano.pino@tiscali.it>
11546
11547 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
11548
8a67a4b3
AJ
115492013-05-10 Andreas Jaeger <aj@suse.de>
11550
11551 [BZ #15448]
11552 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
11553 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
11554
51df539d
JM
115552013-05-10 Joseph Myers <joseph@codesourcery.com>
11556
11557 * math/gen-libm-test.pl (adjust_arg): New function.
11558 (special_functions): Handle generating output in both functions
11559 and arrays.
11560 (parse_args): Likewise.
11561 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
11562 $in_func argument to parse_args.
11563 * math/libm-test.inc (struct test_f_f_data): New type.
11564 (IF_ROUND_INIT_): New macro.
11565 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
11566 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11567 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11568 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11569 (ROUND_RESTORE_): Likewise.
11570 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
11571 (ROUND_RESTORE_FE_TONEAREST): Likewise.
11572 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
11573 (ROUND_RESTORE_FE_UPWARD): Likewise.
11574 (RUN_TEST_LOOP_f_f): New macro.
11575 (acos_test_data): New variable.
11576 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
11577 (acos_tonearest_test_data): New variable.
11578 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11579
5c637fe5
SP
115802013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11581
11582 * benchtests/bench-skeleton.c (startup): Fix coding style.
11583
ab2b9461
JM
115842013-05-10 Joseph Myers <joseph@codesourcery.com>
11585
11586 [BZ #6809]
11587 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
11588 negative infinity argument.
11589 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
11590 negative infinity argument.
11591 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
11592 negative infinity argument.
11593 * math/libm-test.inc (tgamma_test): Expect errno to be set for
11594 domain errors.
11595
4c0fe6fe
FW
115962013-05-10 Florian Weimer <fweimer@redhat.com>
11597
11598 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
11599 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
11600 * iconv/iconv_prog.c (main): Likewise.
11601 * locale/programs/charmap-dir.c (charmap_readdir)
11602 (fopen_uncompressed): Likewise.
11603 * locale/programs/locfile.c (siblings_uncached)
11604 (write_locale_data): Use lstat64 instead of lstat.
11605 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
11606 stat.
11607
a3375d29
AJ
116082013-05-10 Andreas Jaeger <aj@suse.de>
11609
11610 [BZ #15395]
11611 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
11612 localization.
11613 Include <locale.h>.
11614
36129722
CD
116152013-05-09 Carlos O'Donell <carlos@redhat.com>
11616
11617 * elf/dl-close.c (_dl_close_worker): Add comments.
11618
faa7f811
JM
116192013-05-09 Joseph Myers <joseph@codesourcery.com>
11620
ed41ffef
JM
11621 [BZ #15359]
11622 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
11623 high part of pi/2.
11624 (__ieee754_rem_pio2l): Update comments.
11625
d0213cd0
JM
11626 [BZ #15429]
11627 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
11628 high part of pi/2.
11629 (__ieee754_rem_pio2l): Update comments.
11630
0d3e777a
JM
11631 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
11632 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
11633
24f56066
JM
11634 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
11635 M_PI_4l.
11636
faa7f811
JM
11637 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
11638 (M_PI_34_LOG10El): Likewise.
11639 (M_PI2_LOG10El): Likewise.
11640 (M_PI4_LOG10El): Likewise.
11641 (M_PI_LOG10El): Likewise.
11642
e9a5e0fd
AZ
116432013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11644
11645 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11646
d8cd06db
JM
116472013-05-08 Joseph Myers <joseph@codesourcery.com>
11648
a0d9f9d7
JM
11649 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
11650 (MINUS_ZERO_INIT): Likewise.
11651 (PLUS_INFTY_INIT): Likewise.
11652 (MINUS_INFTY_INIT): Likewise.
11653 (QNAN_VALUE_INIT): Likewise.
11654 (MAX_VALUE_INIT): Likewise.
11655 (MIN_VALUE_INIT): Likewise.
11656 (MIN_SUBNORM_VALUE_INIT): Likewise.
11657 (plus_zero): Initialize with PLUS_ZERO_INIT.
11658 (minus_zero): Initialize with MINUS_ZERO_INIT.
11659 (plus_infty): Initialize with PLUS_INFTY_INIT.
11660 (minus_infty): Initialize with MINUS_INFTY_INIT.
11661 (qnan_value): Initialize with QNAN_VALUE_INIT.
11662 (max_value): Initialize with MAX_VALUE_INIT.
11663 (min_value): Initialize with MIN_VALUE_INIT.
11664 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
11665
ae08db3b
JM
11666 * math/libm-test.inc (RUN_TEST_if_f): New macro.
11667 (jn_test): Use TEST_if_f instead of TEST_ff_f.
11668 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
11669 (yn_test): Use TEST_if_f instead of TEST_ff_f.
11670
f44bf14a
JM
11671 * math/libm-test.inc (RUN_TEST_f_f): New macro.
11672 (RUN_TEST_2_f): Likewise.
11673 (RUN_TEST_ff_f): Likewise.
11674 (RUN_TEST_fi_f): Likewise.
11675 (RUN_TEST_fl_f): Likewise.
11676 (RUN_TEST_fff_f): Likewise.
11677 (RUN_TEST_c_f): Likewise.
11678 (RUN_TEST_f_f1): Likewise.
11679 (RUN_TEST_fF_f1): Likewise.
11680 (RUN_TEST_fI_f1): Likewise.
11681 (RUN_TEST_ffI_f1): Likewise.
11682 (RUN_TEST_c_c): Likewise.
11683 (RUN_TEST_cc_c): Likewise.
11684 (RUN_TEST_f_i): Likewise.
11685 (RUN_TEST_f_i_tg): Likewise.
11686 (RUN_TEST_ff_i_tg): Likewise.
11687 (RUN_TEST_f_b): Likewise.
11688 (RUN_TEST_f_b_tg): Likewise.
11689 (RUN_TEST_f_l): Likewise.
11690 (RUN_TEST_f_L): Likewise.
11691 (RUN_TEST_sincos): Likewise.
11692 * math/gen-libm-test.pl (new_test): Take new argument to indicate
11693 whether to show exceptions. Do not include ");\n" in return
11694 value.
11695 (special_functions): Output call to RUN_TEST_sincos instead of
11696 check_float calls. Update calls to new_test.
11697 (parse_args): Output call to single RUN_TEST_* macro instead of
11698 check_* calls and other assignments. Update calls to new_test.
11699
d8cd06db
JM
11700 [BZ #2546]
11701 [BZ #2560]
11702 [BZ #5159]
11703 [BZ #15426]
11704 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
11705 input to result for tgamma overflow.
11706 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
11707 (gamma_coeff): New variable.
11708 (NCOEFF): New macro.
11709 (gamma_positive): New function.
11710 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
11711 underflow here. Use gamma_positive instead of exp (lgamma) for
11712 other arguments.
11713 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
11714 (gamma_coeff): New variable.
11715 (NCOEFF): New macro.
11716 (gammaf_positive): New function.
11717 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
11718 underflow here. Use gamma_positive instead of exp (lgamma) for
11719 other arguments.
11720 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
11721 (gamma_coeff): New variable.
11722 (NCOEFF): New macro.
11723 (gammal_positive): New function.
11724 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
11725 underflow here. Use gamma_positive instead of exp (lgamma) for
11726 other arguments.
11727 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
11728 (gamma_coeff): New variable.
11729 (NCOEFF): New macro.
11730 (gammal_positive): New function.
11731 (__ieee754_gammal_r): Handle positive infinity, overflow and
11732 underflow here. Handle NaN the same as positive infinity. Remove
11733 check x < 0xffffffff for negative integers. Use gamma_positive
11734 instead of exp (lgamma) for other arguments.
11735 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
11736 (gamma_coeff): New variable.
11737 (NCOEFF): New macro.
11738 (gammal_positive): New function.
11739 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
11740 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11741 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11742 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
11743 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11744 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
11745 * sysdeps/generic/math_private.h (__gamma_productf): New
11746 prototype.
11747 (__gamma_product): Likewise.
11748 (__gamma_productl): Likewise.
11749 * math/Makefile (libm-calls): Add gamma_product.
11750 * math/libm-test.inc (tgamma_test): Add more tests.
11751 * sysdeps/i386/fpu/libm-test-ulps: Update.
11752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11753
bb7cf681
OB
117542013-05-08 Ondřej Bílka <neleai@seznam.cz>
11755
11756 * benchtests/bench-skeleton.c (main): Preheat CPU.
11757
ba853947
AJ
117582013-05-07 Aurelien Jarno <aurelien@aurel32.net>
11759
11760 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
11761
8347c74c
RM
117622013-05-07 Roland McGrath <roland@hack.frob.com>
11763
11764 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
11765 and _dl_skip_args_internal.
11766
e8dd4791
CD
117672013-05-07 Carlos O'Donell <carlos@redhat.com>
11768
11769 * manual/message.texi (Message Translation): Talk about users.
11770 Message to key mapping impacts design.
11771
c7405830
RM
117722013-05-06 Roland McGrath <roland@hack.frob.com>
11773
a9173057
RM
11774 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
11775
976e2f03
RM
11776 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
11777
9723ffc5
RM
11778 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
11779 * sysdeps/wordsize-64/glob64.c: ... here.
11780
962e6658
RM
11781 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
11782 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
11783 New macros.
11784
ee586a6d
RM
11785 * debug/getlogin_r_chk.c: Moved to ...
11786 * login/getlogin_r_chk.c: ... here.
11787 * debug/Makefile (routines): Move getlogin_r_chk to ...
11788 * login/Makefile (routines): ... here.
11789 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
11790 * login/Versions (libc: GLIBC_2.4): ... here.
11791
355f9165
RM
11792 * io/poll.c (__poll): Renamed from poll.
11793 Add libc_hidden_def.
11794 (poll): Define as weak alias.
11795
bd9ffde6
RM
11796 * debug/ptsname_r_chk.c: Moved to ...
11797 * login/ptsname_r_chk.c: ... here.
11798 * debug/Makefile (routines): Move ptsname_r_chk to ...
11799 * login/Makefile (routines): ... here.
11800 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
11801 * login/Versions (libc: GLIBC_2.4): ... here.
11802
8fb16a04
RM
11803 * posix/getlogin.c: Moved to ...
11804 * login/getlogin.c: ... here.
11805 * posix/getlogin_r.c: Moved to ...
11806 * login/getlogin_r.c: ... here.
11807 * posix/getlogin_r.c: Moved to ...
11808 * login/getlogin_r.c: ... here.
11809 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
11810 * login/Makefile (routines): ... here.
11811 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
11812 * login/Versions (libc: GLIBC_2.0): ... here.
11813
b99b892f
RM
11814 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
11815 (setrlimit): Define as weak alias.
11816
c7405830
RM
11817 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
11818 Call __ names for open, ftruncate, and close.
11819 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
11820 (truncate): Define as weak alias.
11821
5bf96de5
JM
118222013-05-06 Joseph Myers <joseph@codesourcery.com>
11823
9ea3513c
JM
11824 * math/gen-libm-test.pl (parse_args): Initialize x before each
11825 test of frexp, modf and remquo.
11826
5bf96de5
JM
11827 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
11828 test signgam value.
11829
16e616a7
AZ
118302013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11831
11832 [BZ #15418]
11833 [BZ #15419]
11834 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
11835 internal tests.
11836 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11837
d5e82754
RM
118382013-05-06 Roland McGrath <roland@hack.frob.com>
11839
11840 * elf/dl-writev.h: New file.
11841 * elf/dl-misc.c: Include it.
11842 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
11843 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
11844
a7548d41
JM
118452013-05-04 Joseph Myers <joseph@codesourcery.com>
11846
b7dab1e4
JM
11847 * math/libm-test.inc (noXFails): Remove variable.
11848 (noXPasses): Likewise.
11849 (BUILD_COMPLEX_INT): Remove macro.
11850 (print_screen): Remove xfail argument.
11851 (print_screen_max_error): Likewise.
11852 (update_stats): Likewise.
11853 (print_max_error): Likewise. Update calls to other affected
11854 functions.
11855 (print_complex_max_error): Likewise.
11856 (test_single_exception): Update calls to print_screen.
11857 (test_single_errno): Likewise.
11858 (check_float_internal): Remove xfail argument. Update calls to
11859 other affected functions.
11860 (check_float): Likewise.
11861 (check_complex): Likewise.
11862 (check_int): Likewise.
11863 (check_long): Likewise.
11864 (check_bool): Likewise.
11865 (check_longlong): Likewise.
11866 (main): Don't print noXFails and noXPasses.
11867 * math/gen-libm-test.pl (top level): Don't mention expected
11868 failure handling in comment.
11869 (new_test): Don't handle expected failures.
11870 (parse_args): Don't mention expected failure handling in comment.
11871 (generate_testfile): Don't handle expected failures.
11872 (parse_ulps): Likewise.
11873 (print_ulps_file): Likewise.
11874 (get_failure): Remove function.
11875 (output_test): Don't handle expected failures.
11876 * make/README.libm-test: Don't mention expected failure handling.
11877
a7548d41
JM
11878 * math/libm-test.inc (plus_zero): Make const. Add initializer.
11879 (minus_zero): Likewise.
11880 (plus_infty): Likewise.
11881 (minus_infty): Likewise.
11882 (qnan_value): Likewise.
11883 (max_value): Likewise.
11884 (min_value): Likewise.
11885 (min_subnorm_value): Likewise.
11886 (initialize): Do not initialize those variables dynamically.
11887
60bfd54c
RM
118882013-05-03 Roland McGrath <roland@hack.frob.com>
11889
cc0e6ed8
RM
11890 * io/open.c (__open_2): Moved to ...
11891 * io/open_2.c: ... this new file.
11892 * io/open64.c (__open64_2): Moved to ...
11893 * io/open64_2.c: ... this new file.
11894 * io/openat.c (__openat_2): Moved to ...
11895 * io/openat_2.c: ... this new file.
11896 * io/openat64.c (__openat64_2): Moved to ...
11897 * io/openat64_2.c: ... this new file.
11898 * io/Makefile (routines): Add them.
11899 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
11900 * sysdeps/unix/sysv/linux/open_2.c: File removed.
11901 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
11902 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
11903 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
11904 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
11905 (__openat64): Add hidden_ver.
11906 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
11907 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
11908
60bfd54c
RM
11909 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
11910 Separately conditionalize setting of GLRO(dl_sysinfo) so
11911 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
11912 as well, but the actual setting is only under [NEED_DL_SYSINFO].
11913
83e7640f
AZ
119142013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11915
11916 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
11917 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
11918 definition.
11919 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
11920 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11921 (_libc_vdso_platform_setup): Add __vdso_time initialization.
11922 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
11923 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
11924
d5dc2af3
JM
119252013-05-03 Joseph Myers <joseph@codesourcery.com>
11926
c31a5b1e
JM
11927 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
11928 test signgam value.
11929
d5dc2af3
JM
11930 * math/libm-test.inc (hypot_test): Do not use
11931 IGNORE_ZERO_INF_SIGN.
11932
164fd39d
AJ
119332013-05-03 Andreas Jaeger <aj@suse.de>
11934
11935 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
11936 Linux 3.9.
11937 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
11938 (PF_MAX): Adjust for VSOCK change.
11939
8237f48c
AZ
119402013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11941
11942 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11943
9df02941
CD
119442013-05-02 Carlos O'Donell <carlos@redhat.com>
11945
11946 [BZ #15264]
11947 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
11948 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
11949 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
11950
d422395e
DM
119512013-05-02 David S. Miller <davem@davemloft.net>
11952
11953 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11954
a07c5731
OB
119552013-05-01 Ondřej Bílka <neleai@seznam.cz>
11956
11957 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
11958
1324e37f
RM
119592013-05-01 Roland McGrath <roland@hack.frob.com>
11960
11961 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
11962
0695940b
RS
119632013-05-01 Richard Smith <richard@metafoo.co.uk>
11964
bb5f27ad 11965 [BZ #14952]
0695940b
RS
11966 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
11967 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11968 Use __attribute__ ((__gnu_inline__)).
11969 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11970 Don't use __attribute__ ((__gnu_inline__)).
11971
10de07f5
JM
119722013-05-01 Joseph Myers <joseph@codesourcery.com>
11973
11974 [BZ #15423]
11975 * math/s_catan.c (__catan): Handle small real or imaginary part of
11976 input specially to avoid spurious underflow.
11977 * math/s_catanf.c (__catanf): Likewise.
11978 * math/s_catanh.c (__catanh): Likewise.
11979 * math/s_catanhf.c (__catanhf): Likewise.
11980 * math/s_catanhl.c (__catanhl): Likewise.
11981 * math/s_catanl.c (__catanl): Likewise.
11982 * math/libm-test.inc (catan_test): Add more tests.
11983 (catanh_test): Likewise.
11984 * sysdeps/i386/fpu/libm-test-ulps: Update.
11985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11986
cb4d5414
AZ
119872013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11988
11989 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11990
caf84319
JM
119912013-04-30 Joseph Myers <joseph@codesourcery.com>
11992
11993 [BZ #15416]
11994 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
11995 accurately for denominator in atan2.
11996 * math/s_catanf.c (__catanf): Likewise.
11997 * math/s_catanh.c (__catanh): Likewise.
11998 * math/s_catanhf.c (__catanhf): Likewise.
11999 * math/s_catanhl.c (__catanhl): Likewise.
12000 * math/s_catanl.c (__catanl): Likewise.
12001 * math/libm-test.inc (catan_test): Add more tests.
12002 (catanh_test): Likewise.
12003 * sysdeps/i386/fpu/libm-test-ulps: Update.
12004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12005
d569c6ee
SP
120062013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12007
6dbe713d
SP
12008 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
12009
f0ee064b
SP
12010 * benchtests/Makefile (bench): Remove slow benchmarks.
12011 * benchtests/atan-inputs: Add slow benchmark inputs.
12012 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
12013 (BENCH_FUNC): Accept variant offset.
12014 (VARIANT): Define.
12015 * benchtests/bench-skeleton.c (main): Run benchmark for each
12016 variant.
12017 * benchtests/cos-inputs: Add slow benchmark inputs.
12018 * benchtests/exp-inputs: Likewise.
12019 * benchtests/pow-inputs: Likewise.
12020 * benchtests/sin-inputs: Likewise.
12021 * benchtests/slowatan-inputs: Remove.
12022 * benchtests/slowatan.c: Remove.
12023 * benchtests/slowcos-inputs: Remove.
12024 * benchtests/slowcos.c: Remove.
12025 * benchtests/slowexp-inputs: Remove.
12026 * benchtests/slowexp.c: Remove.
12027 * benchtests/slowpow-inputs: Remove.
12028 * benchtests/slowpow.c: Remove.
12029 * benchtests/slowsin-inputs: Remove.
12030 * benchtests/slowsin.c: Remove.
12031 * benchtests/slowtan-inputs: Remove.
12032 * benchtests/slowtan.c: Remove.
12033 * benchtests/tan-inputs: Add slow benchmark inputs.
12034 * scripts/bench.pl: Parse comments and directives.
12035
d569c6ee
SP
12036 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
12037 in CPPFLAGS.
12038 ($(objpfx)bench-%.c): Remove *-ITER.
12039 * benchtests/bench-modf.c: Remove definition of ITER.
12040 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
12041 (main): Loop for DURATION seconds instead of fixed number of
12042 iterations.
12043 * scripts/bench.pl: Don't expect iterations in parameters.
12044
a6a242fe
RM
120452013-04-29 Roland McGrath <roland@hack.frob.com>
12046
12047 * io/fchdir.c (__fchdir): Renamed from fchdir.
12048 (fchdir): Define as weak alias.
12049
f2da7793
JM
120502013-04-29 Joseph Myers <joseph@codesourcery.com>
12051
12052 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
12053 (ERRNO_EDOM): Likewise.
12054 (ERRNO_ERANGE): Likewise.
12055 (noErrnoTests): New variable.
12056 (init_max_error): Set errno to 0.
12057 (test_single_errno): New function.
12058 (test_errno): Likewise.
12059 (check_float_internal): Call test_errno. Set errno to 0.
12060 (check_complex): Refer to errno tests in comment.
12061 (check_int): Call test_errno. Set errno to 0.
12062 (check_long): Likewise.
12063 (check_bool): Likewise.
12064 (check_longlong): Likewise.
12065 (cos_test): Use ERRNO_* flags for errno tests instead of
12066 check_int.
12067 (expm1_test): Likewise.
12068 (fmod_test): Likewise.
12069 (ilogb_test): Likewise.
12070 (lgamma_test): Likewise.
12071 (pow_test): Likewise.
12072 (remainder_test): Likewise.
12073 (sin_test): Likewise.
12074 (tan_test): Likewise.
12075 (yn_test): Likewise.
12076 (initialize): Set errno to 0.
12077 (main): Print number of errno tests.
12078 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
12079
b1a36ceb
AJ
120802013-04-29 Andreas Jaeger <aj@suse.de>
12081
c3ed8088
AJ
12082 [BZ #15084]
12083 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
12084 and RES_USEVC.
12085
f1a24198
AJ
12086 [BZ #15085]
12087 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
12088 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
12089 unimplemented.
12090
9ce3b2cb
AJ
12091 [BZ #15380]
12092 * stdlib/random.c (__initstate): Return NULL if
12093 __initstate fails.
12094
f1a24198 12095 [BZ #15086]
b1a36ceb
AJ
12096 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
12097 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
12098 RES_SNGLKUPREOP.
12099
7e7b6f36
AZ
121002013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12101
12102 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12103
4d14f449
JM
121042013-04-29 Joseph Myers <joseph@codesourcery.com>
12105
12106 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
12107 of individual tests.
12108 (casin_test): Likewise.
12109 (casinh_test): Likewise.
12110
5b4217d7
JM
121112013-04-27 Joseph Myers <joseph@codesourcery.com>
12112
12113 [BZ #15409]
12114 * math/s_catan.c (__catan): Handle arguments with large real or
12115 imaginary part separately without squaring.
12116 * math/s_catanf.c (__catanf): Likewise.
12117 * math/s_catanh.c (__catanh): Likewise.
12118 * math/s_catanhf.c (__catanhf): Likewise.
12119 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12120 and redefine.
12121 (__catanhl): Handle arguments with large real or imaginary part
12122 separately without squaring.
12123 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12124 and redefine.
12125 (__catanl): Handle arguments with large real or imaginary part
12126 separately without squaring.
12127 * math/libm-test.inc (catan_test): Add more tests.
12128 (catanh_test): Likewise.
12129 * sysdeps/i386/fpu/libm-test-ulps: Update.
12130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12131
4220c3ef
AJ
121322013-04-27 Andreas Jaeger <aj@suse.de>
12133
12134 [BZ #15007]
12135 * stdlib/stdlib.h: Update guards for qecvt.
12136 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
12137 <stdlib.h>.
12138
4721b2d1
AM
121392013-04-27 Allan McRae <allan@archlinux.org>
12140
12141 * sysdeps/i386/fpu/libm-test-ulps: Update.
12142
f0302940
JM
121432013-04-26 Joseph Myers <joseph@codesourcery.com>
12144
9457fd95
JM
12145 [BZ #15406]
12146 * math/s_catan.c: Include <float.h>.
12147 (__catan): Ensure underflow exception occurs for underflowed
12148 result.
12149 * math/s_catanf.c: Include <float.h>.
12150 (__catanf): Ensure underflow exception occurs for underflowed
12151 result.
12152 * math/s_catanh.c: Include <float.h>.
12153 (__catanh): Ensure underflow exception occurs for underflowed
12154 result.
12155 * math/s_catanhf.c: Include <float.h>.
12156 (__catanhf): Ensure underflow exception occurs for underflowed
12157 result.
12158 * math/s_catanhl.c: Include <float.h>.
12159 (__catanhl): Ensure underflow exception occurs for underflowed
12160 result.
12161 * math/s_catanl.c: Include <float.h>.
12162 (__catanl): Ensure underflow exception occurs for underflowed
12163 result.
12164 * math/libm-test.inc (catan_test): Add more tests.
12165 (catanh_test): Likewise.
12166
f0302940
JM
12167 [BZ #15405]
12168 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
12169 underflowed result.
12170 * math/s_ccoshf.c (__ccoshf): Likewise.
12171 * math/s_ccoshl.c (__ccoshl): Likewise.
12172 * math/s_csin.c (__csin): Likewise.
12173 * math/s_csinf.c (__csinf): Likewise.
12174 * math/s_csinh.c (__csinh): Likewise.
12175 * math/s_csinhf.c (__csinhf): Likewise.
12176 * math/s_csinhl.c (__csinhl): Likewise.
12177 * math/s_csinl.c (__csinl): Likewise.
12178 * math/libm-test.inc (ccos_test): Add more tests.
12179 (ccosh_test): Likewise.
12180 (csin_test): Likewise.
12181 (csinh_test): Likewise.
12182
aa630f59
AZ
121832013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12184
12185 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
12186 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
12187 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
12188 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
12189 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
12190 powerpc/power5+/fpu folders.
12191 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
12192
12193
1b835983
MT
121942013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12195
12196 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12197
73709b26
JM
121982013-04-25 Joseph Myers <joseph@codesourcery.com>
12199
12200 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
12201 additions to variable.
12202 [$(config-machine) = x86_64] (modules-names): Likewise.
12203 ($(objpfx)tst-audit3): Remove dependency.
12204 ($(objpfx)tst-audit3.out): Likewise.
12205 ($(objpfx)tst-audit4): Likewise.
12206 ($(objpfx)tst-audit4.out): Likewise.
12207 ($(objpfx)tst-audit5): Likewise.
12208 ($(objpfx)tst-audit5.out): Likewise.
12209 ($(objpfx)tst-audit6): Likewise.
12210 ($(objpfx)tst-audit6.out): Likewise.
12211 ($(objpfx)tst-audit7): Likewise.
12212 ($(objpfx)tst-audit7.out): Likewise.
12213 (tst-audit3-ENV): Remove variable.
12214 (tst-audit4-ENV): Likewise.
12215 (tst-audit5-ENV): Likewise.
12216 (tst-audit6-ENV): Likewise.
12217 (tst-audit7-ENV): Likewise.
12218 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
12219 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
12220 addition to variable.
12221 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
12222 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
12223 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
12224 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
12225 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
12226 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
12227 tst-audit3, tst-audit4 and tst-audit5.
12228 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
12229 tst-audit6 and tst-audit7.
12230 [$(subdir) = elf] (modules-names): Add audit modules for those
12231 tests.
12232 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
12233 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
12234 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
12235 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
12236 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
12237 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
12238 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
12239 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
12240 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
12241 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
12242 [$(subdir) = elf] (tst-audit3-ENV): New variable.
12243 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
12244 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
12245 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
12246 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
12247 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
12248 Likewise.
12249 [$(subdir) = elf && $(config-cflags-avx) = yes]
12250 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
12251 [$(subdir) = elf && $(config-cflags-avx) = yes]
12252 (CFLAGS-tst-auditmod4a.c): Likewise.
12253 [$(subdir) = elf && $(config-cflags-avx) = yes]
12254 (CFLAGS-tst-auditmod4b.c): Likewise.
12255 [$(subdir) = elf && $(config-cflags-avx) = yes]
12256 (CFLAGS-tst-auditmod6b.c): Likewise.
12257 [$(subdir) = elf && $(config-cflags-avx) = yes]
12258 (CFLAGS-tst-auditmod6c.c): Likewise.
12259 [$(subdir) = elf && $(config-cflags-avx) = yes]
12260 (CFLAGS-tst-auditmod7b.c): Likewise.
12261 * elf/tst-audit3.c: Move to ...
12262 * sysdeps/x86_64/tst-audit3.c: ... here.
12263 * elf/tst-audit4.c: Move to ...
12264 * sysdeps/x86_64/tst-audit4.c: ... here.
12265 * elf/tst-audit5.c: Move to ...
12266 * sysdeps/x86_64/tst-audit5.c: ... here.
12267 * elf/tst-audit6.c: Move to ...
12268 * sysdeps/x86_64/tst-audit6.c: ... here.
12269 * elf/tst-audit7.c: Move to ...
12270 * sysdeps/x86_64/tst-audit7.c: ... here.
12271 * elf/tst-auditmod3a.c: Move to ...
12272 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
12273 * elf/tst-auditmod3b.c: Move to ...
12274 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
12275 * elf/tst-auditmod4a.c: Move to ...
12276 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
12277 * elf/tst-auditmod4b.c: Move to ...
12278 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
12279 * elf/tst-auditmod5a.c: Move to ...
12280 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
12281 * elf/tst-auditmod5b.c: Move to ...
12282 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
12283 * elf/tst-auditmod6a.c: Move to ...
12284 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
12285 * elf/tst-auditmod6b.c: Move to ...
12286 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
12287 * elf/tst-auditmod6c.c: Move to ...
12288 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
12289 * elf/tst-auditmod7a.c: Move to ...
12290 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
12291 * elf/tst-auditmod7b.c: Move to ...
12292 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
12293
1ef74943
PP
122942013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
12295
12296 [BZ #15366]
12297 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
12298 define unconditionally.
12299 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
12300 define unconditionally.
12301 (INT8_C, INT16_C, etc.): Likewise.
12302
93fd48c5
MR
123032013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
12304
ae9552cf
MR
12305 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
12306 __ehdr_start with hidden visibility.
12307
93fd48c5
MR
12308 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
12309
418601aa
CD
123102013-04-24 Carlos O'Donell <carlos@redhat.com>
12311
12312 * math/libm-test.inc (cos_test): Use accurate hex constants.
12313 (sincost_test): Likewise.
12314
2f38fbfe
JM
123152013-04-24 Joseph Myers <joseph@codesourcery.com>
12316
5e221800
JM
12317 * math/libm-test.inc (catan_test): Add more tests.
12318 (catanh_test): Likewise.
12319
77f143fd
JM
12320 * math/s_catanf.c (__catanf): Use suffixed floating-point
12321 constants.
12322 * math/s_catanhf.c (__catanhf): Likewise.
12323 * math/s_catanhl.c (__catanhl): Likewise.
12324 * math/s_catanl.c (__catanl): Likewise.
12325
2f38fbfe
JM
12326 [BZ #15394]
12327 * math/s_catan.c (__catan): Calculate imaginary part of result
12328 with log1p not log unless computing log of number close to 0.
12329 * math/s_catanf.c (__catanf): Likewise.
12330 * math/s_catanl.c (__catanl): Likewise.
12331 * math/s_catanh.c (__catanh): Calculate real part of result with
12332 log1p not log unless computing log of number close to 0.
12333 * math/s_catanhf.c (__catanhf): Likewise.
12334 * math/s_catanhl.c (__catanhl): Likewise.
12335 * math/libm-test.inc (catan_test): Add more tests.
12336 (catanh_test): Likewise.
12337 * sysdeps/i386/fpu/libm-test-ulps: Update.
12338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12339
45d69176
SP
123402013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12341
12342 * benchtests/Makefile: Mention files in which fast and slow
12343 paths of math functions are implemented.
12344
87f51853
RM
123452013-04-23 Roland McGrath <roland@hack.frob.com>
12346
12347 * sysdeps/posix/timespec_get.c: New file.
12348
3c026539
AZ
123492013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12350
12351 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
12352 POWER.
12353 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
12354 for POWER.
12355 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
12356 powerpc/power5/fpu folders.
12357 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
12358 * benchtests/Makefile: Add modf testcase.
12359 * benchtests/bench-modf.c: New file: Benchmark test for mo
12360
ff491d14
SP
123612013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12362
12363 [BZ #14888]
12364 * time/Makefile (tests): Add tst-strptime-whitespace.
12365 * time/strptime_l.c (get_number): Use ISSPACE.
12366 (__strptime_internal): Likewise.
12367 * time/tst-strptime-whitespace.c: New test case.
12368
7ed3f4e8
AS
123692013-04-23 Andreas Schwab <schwab@linux-m68k.org>
12370
12371 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
12372 member.
12373 (_nss_files_init): Set it here.
12374
5c95f7b6
HC
123752013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
12376
12377 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
12378 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
12379 unsigned.
12380
d34c9158
JBG
123812013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
12382
12383 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
12384
2169712d
SP
123852013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12386
12387 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
12388 size just once.
12389
29c5de99
DM
123902013-04-21 David S. Miller <davem@davemloft.net>
12391
12392 * po/ru.po: Update Russion translation from translation project.
12393
ccdad15d
AC
123942013-04-17 Adam Conrad <adconrad@0c3.net>
12395
12396 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
12397 and setfsgid.
12398
0f122b8d
CD
123992013-04-17 Carlos O'Donell <carlos@redhat.com>
12400
5c5b07da 12401 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 12402 * configure: Regenerate.
5c5b07da 12403 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
12404 Add example to error message.
12405 * sysdeps/i386/configure: Regenerate.
12406
037714dd
SP
124072013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12408
12409 * benchtests/Makefile (bench): Add cos, tan, slowcos and
12410 slowtan.
12411 * benchtests/cos-inputs: New file.
12412 * benchtests/slowcos-inputs: New file.
12413 * benchtests/slowcos.c: New file.
12414 * benchtests/slowtan-inputs: New file.
12415 * benchtests/slowtan.c: New file.
12416 * benchtests/tan-inputs: New file.
12417
e913141d
RM
124182013-04-16 Roland McGrath <roland@hack.frob.com>
12419
12420 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
12421 considered kosher.
12422
a2964074
SP
124232013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12424
4856bcd2
SP
12425 * benchtests/Makefile: Include cppflags-iterator.mk to add
12426 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
12427
a2964074
SP
12428 * Makefile.in (bench-clean): New target.
12429 * benchtests/Makefile (bench-clean): Likewise.
12430
9fbf9aca
DH
124312013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
12432
12433 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
12434
207d1e2a
TS
124352013-04-15 Thomas Schwinge <thomas@codesourcery.com>
12436
12437 * stdio-common/tstdiomisc.c: Fix coding-style violation.
12438
306dfba9
AS
124392013-04-15 Andreas Schwab <schwab@suse.de>
12440
12441 * nscd/grpcache.c (cache_addgr): Properly check for short write.
12442 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12443 * nscd/pwdcache.c (cache_addpw): Likewise.
12444 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
12445 more than recsize.
12446
206a6699
SP
124472013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12448
12449 * benchtests/Makefile (bench): Write all output to
12450 bench-out.tmp together.
12451
0582f6b3
AS
124522013-04-15 Andreas Schwab <schwab@suse.de>
12453
12454 * nscd/nscd.c (main): Don't fork again after closing files.
12455
acb4325f
SP
124562013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12457
5cb26d0a
SP
12458 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
12459
acb4325f
SP
12460 * benchtests/Rules (bench-deps): Collect dependencies into a
12461 single variable. Add Makefile to dependencies.
12462 ($(objpfx)bench-%.c): Depend on bench-deps.
12463
47792506
RM
124642013-04-12 Roland McGrath <roland@hack.frob.com>
12465 Xavier Roche <roche+kml2@exalead.com>
12466
12467 [BZ #15361]
12468 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
12469 just that it's a file descriptor.
12470 * manual/llio.texi (Synchronizing AIO Operations): Update description
12471 for EBADF error from aio_fsync.
12472
8fc1bee5
SP
124732013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12474
12475 * Rules (bench): Move target definition...
12476 * benchtests/Makefile: ... here.
12477
aba5e333
CD
124782013-04-11 Carlos O'Donell <carlos@redhat.com>
12479
12480 * math/libm-test.inc (cos_test): Fix PI/2 test.
12481 (sincos_test): Likewise.
12482 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12483 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
12484
273cdee8
AS
124852013-04-11 Andreas Schwab <schwab@suse.de>
12486
6ecec3b6
AS
12487 [BZ #13988]
12488 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
12489 accept exponent character only when digits were seen.
12490 * stdio-common/Makefile (tests): Add bug26.
12491 * stdio-common/bug26.c: New file.
12492
273cdee8
AS
12493 [BZ #14293]
12494 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
12495 non-freeable.
12496
8da491f5
SP
124972013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12498
01dc6df9
SP
12499 * Makeconfig (rtld-prefix): Define built linker prefix.
12500 * Rules (run-bench): Use it.
12501 * math/Makefile (run-regen-ulps): Likewise.
12502
8da491f5
SP
12503 * Rules (bench): Remove eval.
12504
abe7f530
SP
125052013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12506 Roland McGrath <roland@hack.frob.com>
12507 Ondrej Bilka <neleai@seznam.cz>
12508
12509 [BZ #15346]
12510 * time/getdate.c: Include ctype.h and alloca.h.
12511 (__getdate_r): Trim leading and trailing spaces of input.
12512 * time/tst-getdate.c (tests): Add tests with leading and
12513 trailing spaces.
12514
61c23e62
RM
125152013-04-08 Roland McGrath <roland@hack.frob.com>
12516
12517 [BZ #14280]
12518 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
12519 when computing value.
12520
7208a313
CD
125212013-04-06 Carlos O'Donell <carlos@redhat.com>
12522
085b2d41
CD
12523 * math/README.libm-test (How can I generate "libm-test-ulps"?):
12524 Use testrun.sh to run libm tests.
12525
7208a313
CD
12526 [BZ #15309]
12527 * elf/dl-open.c (dl_open_worker): memset all of seen array.
12528
872c0acd
MM
125292013-04-06 Marko Myllynen <myllynen@redhat.com>
12530
12531 [BZ #15264]
12532 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
12533
26510bdd
CD
125342013-04-06 Carlos O'Donell <carlos@redhat.com>
12535
12536 * Makefile.in (regen-ulps): New target.
12537 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
12538 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
12539 [ifneq (no,$(PERL)] (regen-ulps): New target.
12540 [ifeq (no,$(PERL)] (regen-ulps): New target.
12541 * math/libm-test.inc (ulps_file_name): Define.
12542 (output_dir): New variable.
12543 (options): Add "output-dir" option.
12544 (parse_opt): Handle 'o' case.
12545 (main): If output_dir is non-NULL use it as a prefix
12546 otherwise use "".
12547 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
12548
a01f19c8
CD
125492013-04-06 Carlos O'Donell <carlos@redhat.com>
12550
12551 [BZ #10060, #10062]
12552 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
12553 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
12554 fail configure if __sync_val_compare_and_swap is not inlined.
12555 * sysdeps/i386/configure: Regenerate.
12556 * configure.in: Build for i686 when configured for i386.
12557 * configure: Regenerate.
12558 * README: Remove i386 reference.
12559
b7a329a5
CD
125602013-04-06 Carlos O'Donell <carlos@redhat.com>
12561
12562 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
12563 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12564
bf0f50df
TS
125652013-04-05 Thomas Schwinge <thomas@codesourcery.com>
12566
ee091edf
TS
12567 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
12568 (lmsnanval): New variables.
12569 (F): Add conversion tests.
12570 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
12571 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
12572
a8b792d6
TS
12573 * stdio-common/tstdiomisc.c (F): Properly collect individual
12574 tests' results.
12575
a1cbf437
TS
12576 [BZ #14686, #15336]
12577 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
12578 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
12579 Instead, use input NaN values or generate a qNaN by arithmetic
12580 operation. Also fix bugs to comply with the standard.
12581 * math/libm-test.inc (remainder_test): Add more tests.
12582
8b43a0c9
TS
12583 [BZ #15335, #15342]
12584 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
12585 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
12586 input NaN values or generate a qNaN by arithmetic operation.
12587
d91da4ce
TS
12588 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
12589 unreachable code.
12590
bf0f50df
TS
12591 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
12592 definitions.
12593
05e166c8
JM
125942013-04-03 Joseph Myers <joseph@codesourcery.com>
12595
12596 [BZ #14478]
12597 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
12598 underflowed result.
12599 * math/s_cexpf.c (__cexpf): Likewise.
12600 * math/s_cexpl.c (__cexpl): Likewise.
12601 * math/libm-test.inc (cexp_test): Add more tests.
12602
1cef1b19
AS
126032013-04-03 Andreas Schwab <schwab@suse.de>
12604
12605 [BZ #15330]
12606 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
12607 order arrays from heap if bigger than alloca cutoff.
12608
74d87055
TS
126092013-04-03 Thomas Schwinge <thomas@codesourcery.com>
12610
12611 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
12612 (SNAN_TESTS_double): Refer to GCC PR56831.
12613 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
12614 GCC PR56828.
12615
d755bba4
SP
126162013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12617
90d5d5bb
SP
12618 * Rules (bench): Move bench.out after the run is complete.
12619
73e0cd5d
SP
12620 * Rules (bench): Echo currently running benchmark.
12621
64aabd4b
SP
12622 * benchtests/Makefile (bench): Add atan and slowatan.
12623 * benchtests/atan-inputs: New file.
12624 * benchtests/slowatan-inputs: New file.
12625 * benchtests/slowatan.c: New file.
12626
c871eccd
SP
12627 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
12628 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
12629 its value.
12630
d755bba4
SP
12631 [BZ #15305]
12632 * sysdeps/unix/sysv/linux/kernel-features.h
12633 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
12634 __ASSUME_XFS_RESTRICTED_CHOWN.
12635 * sysdeps/unix/sysv/linux/pathconf.c
12636 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12637 Save and restore errno.
12638
52ce4860
JM
126392013-04-02 Joseph Myers <joseph@codesourcery.com>
12640
12641 [BZ #15327]
12642 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
12643 arguments using __kernel_casinh.
12644 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
12645 arguments using __kernel_casinhf.
12646 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
12647 arguments using __kernel_casinhl.
12648 * math/libm-test.inc (cacosh_test): Add more tests.
12649 * sysdeps/i386/fpu/libm-test-ulps: Update.
12650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12651
81f311c2
SP
126522013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12653
e7906a47
SP
12654 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
12655 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
12656
92e3664b
SP
12657 * bench/Makefile (bench): Add sin and slowsin.
12658 * benchtests/sin-inputs: New file.
12659 * benchtests/slowsin-inputs: New file.
12660 * benchtests/slowsin.c: New file.
12661
81f311c2
SP
12662 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
12663 (bench): Add slowexp and slowpow.
12664 (exp-ITER): Increase iterations.
12665 (pow-ITER): Likewise.
12666 * benchtests/exp-inputs: Change input.
12667 * benchtests/pow-inputs: Likewise.
12668 * benchtests/slowexp-inputs: New file.
12669 * benchtests/slowexp.c: New file.
12670 * benchtests/slowpow-inputs: New file.
12671 * benchtests/slowpow.c: New file.
12672
ab0f1aa9
AZ
126732013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12674
12675 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
12676 instructions.
12677 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12678 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
12679 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12680 * benchtests/Makefile: Add rint benchtest.
12681 * benchtests/rint-inputs: Input for rint benchtest.
12682
57267616
TS
126832013-04-02 Thomas Schwinge <thomas@codesourcery.com>
12684
12685 * Versions.def (libm): Add GLIBC_2.18.
12686 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
12687 hidden libm prototypes.
12688 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
12689 * math/Makefile (libm-calls): Add s_issignaling.
12690 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
12691 __issignalingf, __issignalingl. Adjust all libm.abilist files.
12692 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
12693 declaration.
12694 * math/math.h [__USE_GNU] (issignaling): New macro.
12695 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
12696 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
12697 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
12698 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
12699 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
12700 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
12701 * manual/arith.texi (issignaling): New section.
12702 * manual/libm-err-tab.pl (@all_functions): Update comment.
12703 * math/gen-libm-test.pl (parse_args): Apply special handling for
12704 issignaling.
12705 * math/libm-test.inc (print_float, issignaling_test): New
12706 functions.
12707 (check_float_internal): Add issignaling checks.
12708 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
12709 default definition.
12710 * sysdeps/powerpc/math-tests.h: New file.
12711 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
12712 tests.
12713 * math/test-snan.c (TEST_FUNC): Likewise.
12714
6142896d
DM
127152013-03-30 David S. Miller <davem@davemloft.net>
12716
12717 * po/de.po: Update from translation team.
12718
ccc8cadf
JM
127192013-03-30 Joseph Myers <joseph@codesourcery.com>
12720
12721 [BZ #10357]
12722 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12723 imaginary part less than 1.0 and real part less than 0.5
12724 specially.
12725 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12726 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12727 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
12728 (cacos_test): Add more tests.
12729 (casin_test): Likewise.
12730 (casinh_test): Likewise.
12731 * sysdeps/i386/fpu/libm-test-ulps: Update.
12732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12733
0f6a8d4b
SP
127342013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12735
0d1029de
SP
12736 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
12737 ONE with its value.
12738
c2d94018
SP
12739 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
12740 (__pow_mp): Replace ONE and MONE with their values.
12741 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12742 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
12743 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12744 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
12745 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12746 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12747
27ec37f1
SP
12748 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
12749
a64d7e0e
SP
12750 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
12751 (__pow_mp): Replace ZERO and MZERO with their values.
12752 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12753 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12754 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12755 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12756 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12757 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
12758 (__sqr): Likewise.
12759
d26dd3eb
SP
12760 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
12761
0f6a8d4b
SP
12762 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
12763
e57b0c61
RM
127642013-03-28 Roland McGrath <roland@hack.frob.com>
12765
12766 * include/stdlib.h [!SHARED] (__call_tls_dtors):
12767 Declare with __attribute__ ((weak)).
12768 * stdlib/exit.c (__libc_atexit) [!SHARED]:
12769 Call __call_tls_dtors only if it's not NULL.
12770
356b3480
RM
127712013-03-28 Roland McGrath <roland@hack.frob.com>
12772
288f7d79
RM
12773 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
12774 didn't do it already, then set _dl_phdr and _dl_phnum based on the
12775 magic __ehdr_start linker symbol if it's defined.
12776 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
12777 them up here if it was already done.
12778
dc0a0263
RM
12779 * elf/dl-support.c (_dl_phdr): Make pointer to const.
12780 (_dl_aux_init): Use const in cast when setting it.
12781 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
12782 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
12783 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
12784
3d3436ae
RM
12785 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
12786 Declare them here.
12787 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
12788 * csu/libc-tls.c: Nor here.
12789 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
12790
356b3480
RM
12791 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
12792 (__libc_message): Never call vsyslog.
12793
b0f1246a
AM
127942013-03-28 Alan Modra <amodra@gmail.com>
12795
12796 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
12797 Define as empty.
12798 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
12799 Likewise.
12800
fbbe2b9a
AZ
128012013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12802
12803 [BZ #15214]
12804 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
12805 underflow.
12806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12807
1728ab37
SP
128082013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12809
7a86be6e
SP
12810 [BZ #15304]
12811 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12812 Don't add gid passed as argument.
12813
1728ab37
SP
12814 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
12815
3a7182a1
JM
128162013-03-27 Joseph Myers <joseph@codesourcery.com>
12817
12818 [BZ #15307]
12819 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12820 imaginary part between 1.0 and 1.5 and real part less than 0.5
12821 specially.
12822 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12823 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12824 * math/libm-test.inc (cacos_test): Add more tests.
12825 (casin_test): Likewise.
12826 (casinh_test): Likewise.
12827 * sysdeps/i386/fpu/libm-test-ulps: Update.
12828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12829
6f2e90e7
SP
128302013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12831
5739f705
SP
12832 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
12833 constants.
12834 (norm): Likewise.
12835 (denorm): Likewise.
12836 (__dbl_mp): Likewise.
12837 (add_magnitudes): Likewise.
12838 (sub_magnitudes): Likewise.
12839 (__add): Likewise.
12840 (__sub): Likewise.
12841 (__mul): Likewise.
12842 (__sqr): Likewise.
12843 (__inv): Likewise.
12844 (__dvd): Likewise.
12845
e375e83d
SP
12846 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
12847 commented code.
12848 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
12849 (__dubcos): Likewise.
12850 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
12851 (__ieee754_acos): Likewise.
12852 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12853 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
12854 (__exp1): Likewise.
12855 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12856 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12857 (log1): Likewise.
12858 (my_log2): Likewise.
12859 (checkint): Likewise.
12860 * sysdeps/ieee754/dbl-64/e_remainder.c
12861 (__ieee754_remainder): Likewise.
12862 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12863 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12864 (bsloww): Likewise.
12865 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12866
6f2e90e7
SP
12867 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12868 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
12869 MANTISSA_STORE_T to store computations on mantissa. Use
12870 macros for rounding and division.
12871 (denorm): Likewise.
12872 (__dbl_mp): Likewise.
12873 (add_magnitudes): Likewise.
12874 (sub_magnitudes): Likewise.
12875 (__mul): Likewise.
12876 (__sqr): Likewise.
12877 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
12878 powers of two in terms of TWOPOW macro.
12879 (mp_no): Make type of mantissa as MANTISSA_T.
12880 [!RADIXI]: Define RADIXI.
12881 [!TWO52]: Define TWO52.
12882 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12883
fce14d4e
AZ
128842013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12885
12886 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
12887 llroundl symbol when building for PPC32.
12888
9ad027fb
MW
128892013-03-24 Mark H Weaver <mhw@netris.org>
12890
12891 * manual/arith.texi (Normalization Functions): Fix prototypes for
12892 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
12893
e42a38dd
AZ
128942013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12895
12896 [BZ #13889]
12897 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
12898 high value to check if expl overflow.
12899 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
12900 to check for underflow and overflow.
12901 * math/libm-test.inc: Add exp test.
12902
2e0fb521
DL
129032013-03-21 Dmitry V. Levin <ldv@altlinux.org>
12904
12905 [BZ #11120]
12906 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
12907 with NOT_IN_libc.
12908
b5784d95
AZ
129092013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12910
12911 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
12912 symbol.
12913
5aa4a1a1
TS
129142013-03-21 Thomas Schwinge <thomas@codesourcery.com>
12915
bdef0be7
TS
12916 * math/gen-libm-test.pl (parse_args, special_functions): Properly
12917 wrap blocks consisting of several statements.
12918
5aa4a1a1
TS
12919 * sysdeps/generic/math-tests.h: New file.
12920 * sysdeps/i386/fpu/math-tests.h: Likewise.
12921 * math/test-snan.c: Include it.
12922 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
12923
98c48fe5
JM
129242013-03-21 Joseph Myers <joseph@codesourcery.com>
12925
12926 [BZ #15285]
12927 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
12928 (__ieee754_j0l): Do not improve calculations using cos of twice
12929 input for inputs above LDBL_MAX / 2.0L.
12930 (__ieee754_y0l): Likewise.
12931 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
12932 (__ieee754_j1l): Do not improve calculations using cos of twice
12933 input for inputs above LDBL_MAX / 2.0L.
12934 (__ieee754_y1l): Likewise.
12935 * math/libm-test.inc (j0_test): Add another test.
12936 (j1_test): Likewise.
12937 (y0_test): Likewise.
12938 (y1_test): Likewise.
12939 * sysdeps/i386/fpu/libm-test-ulps: Update.
12940
3775a8bc
SP
129412013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12942
12943 * Rules ($(objpfx)bench-%.c): Include code from a C source
12944 file.
12945
0a1b2ae6
JM
129462013-03-21 Joseph Myers <joseph@codesourcery.com>
12947
12948 [BZ #15287]
12949 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12950 imaginary part 1.0 and real part less than 0.5 specially.
12951 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12952 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12953 * math/libm-test.inc (cacos_test): Add more tests.
12954 (casin_test): Likewise.
12955 (casinh_test): Likewise.
12956 * sysdeps/i386/fpu/libm-test-ulps: Update.
12957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12958
b33d4ce4
SP
129592013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12960
12961 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
12962 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
12963
bef0b507
JM
129642013-03-20 Joseph Myers <joseph@codesourcery.com>
12965
12966 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
12967 * config.make.in (config-cflags-sse4): Remove variable.
12968 (config-cflags-avx): Likewise.
12969 (config-cflags-sse2avx): Likewise.
12970 (config-cflags-novzeroupper): Likewise.
12971 (config-asflags-i686): Likewise.
12972 (have-mfma4): Likewise.
12973 (have-as-vis3): Likewise.
12974 (MIG): Likewise.
12975 * configure.in (MIG): Do not AC_SUBST.
12976 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
12977 (libc_cv_cc_sse4): Do not AC_SUBST.
12978 (libc_cv_cc_avx): Likewise.
12979 (libc_cv_cc_sse2avx): Likewise.
12980 (libc_cv_cc_novzeroupper): Likewise.
12981 (libc_cv_cc_fma4): Likewise.
12982 (libc_cv_as_i686): Likewise.
12983 (libc_cv_sparc_as_vis3): Likewise.
12984 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
12985 LIBC_CONFIG_VAR.
12986 (config-asflags-i686): Likewise.
12987 (config-cflags-avx): Likewise.
12988 (config-cflags-sse2avx): Likewise.
12989 (have-mfma4): Likewise.
12990 (config-cflags-novzeroupper): Likewise.
12991 * sysdeps/mach/configure.in (MIG): Likewise.
12992 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
12993 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
12994 LIBC_CONFIG_VAR.
12995 (config-cflags-avx): Likewise.
12996 (config-cflags-sse2avx): Likewise.
12997 (have-mfma4): Likewise.
12998 (config-cflags-novzeroupper): Likewise.
12999 * configure: Regenerated.
13000 * sysdeps/i386/configure: Likewise.
13001 * sysdeps/mach/configure: Likewise.
13002 * sysdeps/sparc/configure: Likewise.
13003 * sysdeps/x86_64/configure: Likewise.
13004
912cc4b3
RM
130052013-03-20 Roland McGrath <roland@hack.frob.com>
13006
13007 [BZ #14812]
13008 * locale/programs/localedef.c (options): Put N_ translation marker
13009 on argument names, not just descriptions.
13010
04eed2b0
MS
130112013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13012
13013 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
13014
a065ceff
OB
130152013-03-20 Ondřej Bílka <neleai@seznam.cz>
13016
9bb2a810 13017 [BZ #14176]
a065ceff
OB
13018 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
13019
a600e5ce
RM
130202013-03-19 Roland McGrath <roland@hack.frob.com>
13021
13022 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
13023 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
13024 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
13025 [!BEFORE_ABORT] (before_abort): New function.
13026 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
13027 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
13028 (writev_for_fatal): New function.
13029 (WRITEV_FOR_FATAL): New macro; call that.
13030 (backtrace_and_maps): New function.
13031 (BEFORE_ABORT): New macro; call that.
13032 (struct str_list): Type removed.
13033 (__libc_message, __libc_fatal): Functions removed.
13034 Include <sysdeps/posix/libc_fatal.c> instead.
13035
6b18bea6
JM
130362013-03-19 Joseph Myers <joseph@codesourcery.com>
13037
13038 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
13039 constants.
13040 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
13041 double constants.
13042
aaa8cb4b
AS
130432013-03-19 Andreas Schwab <schwab@suse.de>
13044
44673770
AS
13045 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
13046 * sysdeps/gnu/configure: Regenerate.
13047
aaa8cb4b
AS
13048 * configure.in: Substitute libc_cv_rtlddir.
13049 * configure: Regenerate.
13050 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
13051 * Makeconfig (rtlddir, inst_rtlddir): New variables.
13052 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
13053 * elf/Makefile (install-others, CFLAGS-interp.c)
13054 (ldso_install, common-ldd-rewrite): Likewise.
13055 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
13056 $(inst_slibdir)/$(rtld-installed-name).
13057 * scripts/rellns-sh: Add -p option.
13058 * Makerules (make-shlib-link): Use rellns-sh to get relative name
13059 for source.
13060
d3cfc668
SP
130612013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13062
13063 * manual/nptl.texi: Renamed to ...
13064 * manual/threads.texi: ... this.
13065 * manual/Makefile (chapters): Update.
13066
0e2b9cdd
RM
130672013-03-18 Roland McGrath <roland@hack.frob.com>
13068
13069 [BZ #14812]
13070 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
13071 on argument names, not just descriptions.
0e2b9cdd
RM
13072 * malloc/memusagestat.c (options): Likewise.
13073 * nss/getent.c (options): Likewise.
63270c24
RM
13074
130752013-03-18 Benno Schulenberg <bensberg@justemail.net>
13076
13077 [BZ #14812]
13078 * iconv/iconv_prog.c (options): Put N_ translation marker
13079 on argument names, not just descriptions.
13080 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 13081
b2e1393c
OB
130822013-03-18 Ondrej Bilka <neleai@seznam.cz>
13083
13084 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
13085 implementation which is faster on all x86_64 architectures.
13086 Tested on AMD, Intel Nehalem, SNB, IVB.
13087 * sysdeps/x86_64/strnlen.S: Likewise.
13088
13089 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13090 Remove all multiarch strlen and strnlen versions.
13091 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13092 Remove strlen and strnlen related parts.
13093
13094 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
13095 Inline strlen part.
13096 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
13097
13098 * sysdeps/x86_64/multiarch/strlen.S: Remove.
13099 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
13100 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
13101 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
13102 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13103 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
13104
ec4ff04d
CD
131052013-03-17 Carlos O'Donell <carlos@redhat.com>
13106
13107 * manual/memory.texi (Malloc Tunable Parameters):
13108 Sort parameters alphabetically. Add comments for missing entries.
13109
cd18e90a
DM
131102013-03-17 David S. Miller <davem@davemloft.net>
13111
13112 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13113
2a185d32
JM
131142013-03-16 Joseph Myers <joseph@codesourcery.com>
13115
d2f9799e
JM
13116 [BZ #15283]
13117 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
13118 for arguments at most half maximum finite value.
13119 * math/libm-test.inc (j0_test): Add more tests.
13120 (j1_test): Likewise.
13121 (y0_test): Likewise.
13122 (y1_test): Likewise.
13123 * sysdeps/i386/fpu/libm-test-ulps: Update.
13124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13125
2a185d32
JM
13126 [BZ #14155]
13127 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
13128 1 / x and functions P and Q for arguments above 0x1p256L.
13129 (__ieee754_y0l): Likewise.
13130 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13131 (__ieee754_y1l): Likewise.
13132 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
13133 (j1_test): Likewise.
13134 (y0_test): Likewise.
13135 (y1_test): Likewise.
13136
6cbec759
TS
131372013-03-16 Thomas Schwinge <thomas@codesourcery.com>
13138
13139 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
13140 variable.
13141
bc16e260
RM
131422013-03-15 Roland McGrath <roland@hack.frob.com>
13143
aefc9b8c
RM
13144 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
13145 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
13146 zero since it's initialized to EXEC_PAGESIZE.
13147
bc16e260
RM
13148 * sysdeps/unix/sysv/linux/ldsodefs.h
13149 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
13150 * sysdeps/generic/ldsodefs.h: ... here.
13151
a57da955
TS
131522013-03-15 Thomas Schwinge <thomas@codesourcery.com>
13153
af00a34d
TS
13154 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
13155
495ded2c
TS
13156 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
13157 math/test-snan.c.
13158 * math/test-snan.c: Renamed from
13159 sysdeps/powerpc/fpu/test-powerpc-snan.c.
13160 * math/Makefile (tests): Add test-snan.
13161 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
13162 test-powerpc-snan.
13163
777b0332
TS
13164 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
13165 SUFFIX. Initialize qNaN_var with __builtin_nan family of
13166 functions.
13167 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
13168 __builtin_nan family of functions.
13169 * math/libm-test.inc (initialize): Initialize qnan_value with
13170 __builtin_nan family of functions.
13171 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
13172 Remove variables.
13173 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
13174 Remove functions.
13175 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
13176 storage class. Initialize qNaN_var and sNaN_var with
13177 __builtin_nan and __builtin_nans families of functions,
13178 respectively.
13179
64d063b8
TS
13180 * math/libm-test.inc (acosh_test): Also test with qNaN input.
13181 (sqrt_test): Remove duplicate test with qNaN input.
13182 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
13183 (round_test, signbit_test, significand_test): Note missing +/-Inf
13184 as well as qNaN tests.
13185
67e971f1
TS
13186 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
13187 qNaN_var. Fix a few strings, too.
13188 * math/libm-test.inc (nan_value): Rename to qnan_value.
13189 * math/gen-libm-test.pl (%beautify): Adjust to that.
13190 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
13191 * math/test-misc.c (main): Likewise.
13192 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
13193 to __qnan_bytes, and __qnan_union, respectively.
13194 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
13195 Likewise.
13196 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
13197 and lqnanval, respectively.
13198 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
13199 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
13200 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
13201 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
13202
64487e12
TS
13203 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
13204 * math/test-misc.c (main) [__x86_64__]: Enable test for long
13205 doubles.
13206
e015e27b
TS
13207 * math/test-misc.c (main): Fix copy'n'pastos.
13208 * misc/tst-efgcvt.c (special): Likewise.
13209
a57da955
TS
13210 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
13211 Remove declarations.
13212
1e380345
SP
132132013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13214
13215 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
13216 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
13217 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
13218 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
13219
ef26eece
AZ
132202013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13221
13222 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
13223 macro to return vdso values correctly in IFUNC implementations.
13224 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13225 Optimization by using IFUNC.
13226
8cfdb7e0
SP
132272013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13228 Richard Henderson <rth@redhat.com>
13229 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13230
13231 * Makefile.in (bench): New target.
13232 * NEWS: Mention the benchmark framework.
13233 * Rules (bench): Likewise.
13234 (binaries-bench): Generate binaries for functions to
13235 benchmark.
13236 * benchtests/Makefile: New makefile for benchmark tests.
13237 * benchtests/bench-skeleton.c: New skeleton file for benchmark
13238 programs.
13239 * benchtests/exp-inputs: New input file for EXP function.
13240 * benchtests/pow-inputs: New input file for POW function.
13241 * scripts/bench.pl: New script to generate source files for
13242 benchmark programs.
13243
bcda9880
SP
132442013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13245
d22ca8cd
SP
13246 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
13247 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
13248 computations on mantissa. Use macros for rounding and
13249 division.
13250 (denorm): Likewise.
13251 (__dbl_mp): Likewise.
13252 (add_magnitudes): Likewise.
13253 (sub_magnitudes): Likewise.
13254 (__mul): Likewise.
13255 (__sqr): Likewise.
13256 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
13257 powers of two in terms of TWOPOW macro.
13258 (mp_no): Make type of mantissa as MANTISSA_T.
13259 [!RADIXI]: Define RADIXI.
13260 [!TWO52]: Define TWO52.
13261 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
13262
bcda9880
SP
13263 * manual/nptl.texi (cindex): Modify threads to pthreads.
13264
06d5adfb
JM
132652013-03-15 Joseph Myers <joseph@codesourcery.com>
13266
13267 * sysdeps/x86_64/preconfigure: Regenerated.
13268
41c7328e
JM
132692013-03-14 Joseph Myers <joseph@codesourcery.com>
13270
13271 [BZ #14155]
13272 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
13273 0x1p28 and above.
13274 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
13275 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
13276 0x1p28 and above.
13277 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
13278 * math/libm-test.inc (j0_test): Do not allow one spurious
13279 underflow exception.
13280 (y1_test): Likewise.
13281
e25cfa60
SP
132822013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13283
0409959c
SP
13284 * manual/Makefile (chapters): Add nptl.
13285 * manual/debug.texi (Debugging Support): Add link to Threads
13286 chapter.
13287 * manual/nptl.texi: New file.
13288
e25cfa60
SP
13289 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
13290
58a1335e
PB
132912013-03-14 Petr Baudis <pasky@ucw.cz>
13292
13293 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
13294 for non-NULL pointer before the memory validity test. Pointed
13295 out by Holger Brunck <holger.brunck@keymile.com>.
13296
9dc7c64f
AS
132972013-03-13 Andreas Schwab <schwab@suse.de>
13298
13299 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
13300 instead of .os.
13301
54206aa6
JM
133022013-03-13 Joseph Myers <joseph@codesourcery.com>
13303
13304 * timezone/zic.c: Update from tzcode 2013b.
13305
e98cdb38
CD
133062013-03-12 Carlos O'Donell <carlos@redhat.com>
13307
13308 * manual/install.texi (Configuring and compiling):
13309 Mention i686 and i586.
13310 * INSTALL: Regenerate.
13311
9967e003
RM
133122013-03-12 Roland McGrath <roland@hack.frob.com>
13313
13314 * sysdeps/init_array/elf-init.c: New file.
13315 * csu/elf-init.c
13316 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
13317 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
13318
13319 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
13320 __gmon_start__ as global, but as static with a .preinit_array pointer.
13321 * sysdeps/init_array/gmon-start.c: New file. Use that.
13322 * sysdeps/init_array/crti.S: New file, empty except for comments.
13323 * sysdeps/init_array/crtn.S: Likewise.
13324
e6b5a293 133252013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
13326
13327 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
13328 definining bcopy.
80f844c9
OB
13329 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13330 Remove Prefer_SSE_for_memop.
13331 * sysdeps/x86_64/multiarch/init-arch.h: Remove
13332 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
13333 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
13334 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13335 memset-x86-64.
80f844c9 13336 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 13337 Remove bzero, memset ifunc support.
80f844c9
OB
13338 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
13339 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
13340 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13341 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13342
fb6b0fcb
AS
133432013-03-11 Andreas Schwab <schwab@suse.de>
13344
13345 [BZ #15234]
13346 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
13347 by SHLIB_COMPAT.
13348 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
13349 (GLIBC_2.16): Remove pthread_atfork.
13350
3e6bd4b1
PP
133512013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
13352
13353 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
13354 (ptestcases.h): Likewise.
13355
222d7f00
RM
133562013-03-08 Roland McGrath <roland@hack.frob.com>
13357
13358 * Makeconfig ($(common-objpfx)config.status): Depend on
13359 sysdeps/*/preconfigure{,.in} too.
13360
1ba4f030
JM
133612013-03-08 Joseph Myers <joseph@codesourcery.com>
13362
a222d91a
JM
13363 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
13364 (__free_hook): Use void * instead of __malloc_ptr_t.
13365 (__malloc_hook): Likewise.
13366 (__realloc_hook): Likewise.
13367 (__memalign_hook): Likewise.
13368 (__after_morecore_hook): Likewise.
13369 * malloc/arena.c (save_malloc_hook): Likewise.
13370 (save_free_hook): Likewise.
13371 * malloc/hooks.c (malloc_hook_ini): Likewise.
13372 (realloc_hook_ini): Likewise.
13373 (memalign_hook_ini): Likewise.
13374 * malloc/malloc.c (malloc_hook_ini): Likewise.
13375 (realloc_hook_ini): Likewise.
13376 (memalign_hook_ini): Likewise.
13377 (__free_hook): Likewise.
13378 (__malloc_hook): Likewise.
13379 (__realloc_hook): Likewise.
13380 (__memalign_hook): Likewise.
13381 (__libc_malloc): Likewise.
13382 (__libc_free): Likewise.
13383 (__libc_realloc): Likewise.
13384 (__libc_memalign): Likewise.
13385 (__libc_valloc): Likewise.
13386 (__libc_pvalloc): Likewise.
13387 (__libc_calloc): Likewise.
13388 (__posix_memalign): Likewise.
13389 * malloc/morecore.c (__sbrk): Likewise.
13390 (__default_morecore): Likewise.
13391
5cc45e10
JM
13392 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
13393
dd54b864
JM
13394 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
13395 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
13396 __malloc_ptrdiff_t.
13397
1ba4f030
JM
13398 * malloc/malloc.h (__malloc_size_t): Remove macro.
13399 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
13400 __malloc_size_t.
13401 (old_memalign_hook): Likewise.
13402 (old_realloc_hook): Likewise.
13403 (struct hdr): Likewise.
13404 (flood): Likewise.
13405 (mallochook): Likewise.
13406 (memalignhook): Likewise.
13407 (reallochook): Likewise.
13408 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
13409 (tr_old_realloc_hook): Likewise.
13410 (tr_old_memalign_hook): Likewise.
13411 (tr_mallochook): Likewise.
13412 (tr_reallochook): Likewise.
13413 (tr_memalignhook): Likewise.
13414
edf66e57
AZ
134152013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13416
13417 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
13418 default_ldbl_pack and using as default implementation.
13419 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
13420 implementation.
13421 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
13422 redundant definition.
13423 (ldbl_insert_mantissa): Likewise.
13424 (ldbl_canonicalize): Likewise.
13425 (ldbl_nearbyint): Likewise.
13426 (ldbl_pack): Rename to ldbl_pack_ppc.
13427 (ldbl_unpack): Rename to ldbl_unpack_ppc.
13428 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
13429 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
13430
6d9145d8
SP
134312013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13432
13433 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
13434 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
13435 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
13436 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
13437 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
13438 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
13439 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
13440 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
13441
4dd4e157
AJ
134422013-03-07 Andreas Jaeger <aj@suse.de>
13443
13444 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13445 bits/mman-linux.h.
13446
adbb8027
SP
134472013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13448
ce544b5b
SP
13449 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
13450 Include mpa.h and declare __MPEXP.
13451 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
13452 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13453 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13454 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
13455 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13456 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13457 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
13458
4cc149fd
SP
13459 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
13460 (__slowpow): Use long double EXPL and LOGL functions to
13461 compute POW.
13462 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13463 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13464 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
13465 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13466 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13467 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
13468
e6ebd4a7
SP
13469 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
13470 intermediate variable to calculate exponent.
13471 (__sqr): Likewise.
13472 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13473 Likewise.
13474 (__sqr): Likewise.
13475
82a9811d
SP
13476 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
13477 [!NO__SQR]: Define __sqr.
13478 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
13479 and NO__SQR. Remove all code except __mul and __sqr. Include
13480 sysdeps/ieee754/dbl-64/mpa.c.
13481 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13482
adbb8027
SP
13483 [BZ #12723]
13484 * posix/Makefile (tests): Add tst-pathconf.
13485 * posix/tst-pathconf.c: New test case.
13486 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
13487 _PC_PIPE_BUF.
13488 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
13489
39120df9
PF
134902013-03-06 Patsy Franklin <pfrankli@redhat.com>
13491
13492 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
13493
67525cb8
AJ
134942013-03-06 Andreas Jaeger <aj@suse.de>
13495
664a9ce4
AJ
13496 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
13497 definition via __MAP_ANONYMOUS.
13498
8e39047d
AJ
13499 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
13500 it's not part of Linux headers.
13501
67525cb8
AJ
13502 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
13503 (MAP_HUGE_MASK): Define.
13504
13505 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13506 Define.
13507 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13508 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13509 Define.
13510 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13511 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13512 Define.
13513 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13514 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
13515 Define.
13516 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13517
13518 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
13519 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
13520 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
13521 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
13522 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
13523 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
13524
13525 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13526 Handle f2fs.
13527
13528 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13529 Handle f2fs and efivarfs.
13530
13531 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
13532 f2fs.
13533
13534 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
13535 (EFIVARFS_MAGIC): Add.
13536 (F2FS_LINK_MAX): Add.
13537
e1b42695
PP
135382013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13539
13540 * stdio-common/vfprintf.c: Replace __builtin_expect with
13541 __glibc_unlikely.
13542
2d67d91a
JM
135432013-03-06 Joseph Myers <joseph@codesourcery.com>
13544
13545 [BZ #13550]
13546 * sysdeps/generic/bp-sym.h: Remove file.
13547 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
13548 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
13549 <bp-sym.h> and <bp-asm.h>.
13550 (__longjmp): Don't use BP_SYM.
13551 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
13552 and <bp-asm.h>.
13553 (memcpy): Don't use BP_SYM.
13554 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
13555 <bp-sym.h> and <bp-asm.h>.
13556 (memcpy): Don't use BP_SYM.
13557 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
13558 <bp-asm.h>.
13559 (memcpy): Don't use BP_SYM.
13560 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
13561 <bp-asm.h>.
13562 (memset): Don't use BP_SYM.
13563 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13564 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13565 (__bzero): Don't use BP_SYM.
13566 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13567 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13568 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
13569 <bp-sym.h> and <bp-asm.h>.
13570 (memcmp): Don't use BP_SYM. Remove comment about bounded
13571 pointers.
13572 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
13573 <bp-sym.h> and <bp-asm.h>.
13574 (memcpy): Don't use BP_SYM.
13575 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
13576 <bp-sym.h> and <bp-asm.h>.
13577 (memset): Don't use BP_SYM.
13578 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13579 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13580 (__bzero): Don't use BP_SYM.
13581 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13582 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13583 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
13584 <bp-sym.h> and <bp-asm.h>.
13585 (strncmp): Don't use BP_SYM. Remove comment about bounded
13586 pointers.
13587 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
13588 <bp-sym.h> and <bp-asm.h>.
13589 (memcpy): Don't use BP_SYM.
13590 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
13591 <bp-sym.h> and <bp-asm.h>.
13592 (memset): Don't use BP_SYM.
13593 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13594 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13595 (__bzero): Don't use BP_SYM.
13596 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13597 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13598 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
13599 <bp-sym.h> and <bp-asm.h>.
13600 (__memchr): Don't use BP_SYM.
13601 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
13602 <bp-sym.h> and <bp-asm.h>.
13603 (memcmp): Don't use BP_SYM. Remove comment about bounded
13604 pointers.
13605 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
13606 <bp-sym.h> and <bp-asm.h>.
13607 (memcpy): Don't use BP_SYM.
13608 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
13609 <bp-sym.h> and <bp-asm.h>.
13610 (__mempcpy): Don't use BP_SYM.
13611 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
13612 <bp-sym.h> and <bp-asm.h>.
13613 (__memrchr): Don't use BP_SYM.
13614 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
13615 <bp-sym.h> and <bp-asm.h>.
13616 (memset): Don't use BP_SYM.
13617 (__bzero): Likewise.
13618 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
13619 <bp-sym.h> and <bp-asm.h>.
13620 (__rawmemchr): Don't use BP_SYM.
13621 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
13622 <bp-sym.h> and <bp-asm.h>.
13623 (__STRCMP): Don't use BP_SYM.
13624 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
13625 <bp-sym.h> and <bp-asm.h>.
13626 (strchr): Don't use BP_SYM.
13627 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
13628 <bp-sym.h> and <bp-asm.h>.
13629 (__strchrnul): Don't use BP_SYM.
13630 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
13631 <bp-sym.h> and <bp-asm.h>.
13632 (strlen): Don't use BP_SYM.
13633 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
13634 <bp-sym.h> and <bp-asm.h>.
13635 (strncmp): Don't use BP_SYM. Remove comment about bounded
13636 pointers.
13637 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
13638 <bp-sym.h> and <bp-asm.h>.
13639 (__strnlen): Don't use BP_SYM.
13640 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
13641 <bp-sym.h> and <bp-asm.h>.
13642 (__GI__setjmp): Don't use BP_SYM.
13643 (_setjmp): Likewise.
13644 (__sigsetjmp): Likewise.
13645 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
13646 (L(start_addresses)): Don't use BP_SYM.
13647 (_start): Likewise.
13648 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
13649 <bp-asm.h>.
13650 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
13651 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
13652 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13653 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13654 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
13655 <bp-asm.h>.
13656 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
13657 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
13658 about bounded pointers.
13659 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13660 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13661 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
13662 <bp-asm.h>.
13663 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13664 about bounded pointers. Remove GKM FIXME comments.
13665 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13666 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
13667 <bp-asm.h>.
13668 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
13669 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
13670 Remove GKM FIXME comments.
13671 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13672 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13673 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
13674 <bp-asm.h>.
13675 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13676 about bounded pointers. Remove GKM FIXME comment.
13677 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
13678 and <bp-asm.h>.
13679 (strncmp): Don't use BP_SYM. Remove comment about bounded
13680 pointers.
13681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
13682 <bp-sym.h> and <bp-asm.h>.
13683 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
13685 <bp-sym.h> and <bp-asm.h>.
13686 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13687 comment.
13688
cdcf361f
PP
136892013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13690
13691 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
13692 call free(NULL).
13693
3c4a2b15
DM
136942013-03-05 David S. Miller <davem@davemloft.net>
13695
13696 * po/es.po: Update from translation team.
13697
cdcf361f 136982013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
13699
13700 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
13701 <bits/mman-linux.h>.
13702 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13703 is fine.
13704 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
13705 <bits/mman-linux.h> to end of file.
13706 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13707 is fine.
13708 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
13709 <bits/mman-linux.h> to end of file.
13710 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13711 is fine.
13712 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
13713 <bits/mman-linux.h> to end of file.
13714
13715 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
13716 (MCL_CURRENT, MCL_FUTURE): Define here.
13717
5f67c04f
AK
137182013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13719
8a4473cc 13720 [BZ #15232]
5f67c04f
AK
13721 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
13722 attribute_hidden.
13723 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13724
c3e94a95
AK
137252013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13726
13727 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
13728 fourth parameter needed for rt_sigprocmask syscall.
13729 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13730 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13731 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
13732 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13733 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13734 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
13735
cfb6382a
JM
137362013-03-04 Joseph Myers <joseph@codesourcery.com>
13737
13738 [BZ #13550]
13739 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
13740 comment about bounded pointers.
13741 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
13742 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
13743
539d8e01
AJ
137442013-03-04 Andreas Jaeger <aj@suse.de>
13745
13746 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
13747 common definitions.
13748
13749 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
13750 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
13751 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
13752 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13753 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
13754 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13755
2e167a70 137562013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
13757
13758 [BZ #15055]
13759 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
13760 __ieee754_sqrl instead of __sqrl.
13761
68508633
JM
137622013-03-01 Joseph Myers <joseph@codesourcery.com>
13763
13764 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
13765 * sysdeps/powerpc/fpu_control.h: ... here.
13766 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
13767 * sysdeps/powerpc/bits/fenvinline.h: ... here.
13768 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
13769 * sysdeps/powerpc/bits/mathinline.h: ... here.
13770
7775448e
RM
137712013-03-01 Roland McGrath <roland@hack.frob.com>
13772
13773 * elf/dl-hwcaps.c (_dl_important_hwcaps):
13774 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
13775 to just [NEED_DL_SYSINFO_DSO].
13776 * elf/dl-support.c: Likewise.
13777 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13778 * elf/rtld.c (dl_main): Likewise.
13779 * elf/setup-vdso.h (setup_vdso): Likewise.
13780 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
13781 * sysdeps/unix/sysv/linux/dl-sysdep.c
13782 (_dl_discover_osversion): Likewise.
13783
4e9b5995
CD
137842013-03-01 Carlos O'Donell <carlos@redhat.com>
13785
13786 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
13787 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13788
e23872c8
SP
137892013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13790
e5c74c63
SP
13791 * NEWS: Mention libm performance improvements and non-x86 PI
13792 futex support.
13793
e23872c8
SP
13794 * csu/libc-start.c (__pthread_initialize_minimal): Change
13795 function arguments.
13796 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13797
b5510883
JM
137982013-02-28 Joseph Myers <joseph@codesourcery.com>
13799
13800 [BZ #13550]
13801 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
13802 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
13803 <bp-sym.h> and <bp-asm.h>.
13804 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13805 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
13806 and <bp-asm.h>.
13807 (memcpy): Don't use BP_SYM.
13808 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
13809 <bp-asm.h>.
13810 (__mpn_add_n): Don't use BP_SYM.
13811 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
13812 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
13813 and <bp-asm.h>.
13814 (__mpn_addmul_1): Don't use BP_SYM.
13815 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13816 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
13817 <bp-sym.h>.
13818 (_setjmp): Don't use BP_SYM.
13819 (__novmx_setjmp): Likewise.
13820 (__GI__setjmp): Likewise.
13821 (__vmx_setjmp): Likewise.
13822 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
13823 <bp-sym.h>.
13824 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
13825 (__bzero): Don't use BP_SYM.
13826 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13827 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13828 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
13829 <bp-sym.h> and <bp-asm.h>.
13830 (memcpy): Don't use BP_SYM.
13831 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
13832 <bp-sym.h> and <bp-asm.h>.
13833 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13834 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
13835 <bp-sym.h> and <bp-asm.h>.
13836 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13837 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
13838 <bp-asm.h>.
13839 (__mpn_lshift): Don't use BP_SYM.
13840 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13841 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
13842 <bp-asm.h>.
13843 (memset): Don't use BP_SYM.
13844 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13845 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13846 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
13847 <bp-asm.h>.
13848 (__mpn_mul_1): Don't use BP_SYM.
13849 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13850 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
13851 <bp-sym.h> and <bp-asm.h>.
13852 (memcmp): Don't use BP_SYM.
13853 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
13854 <bp-sym.h> and <bp-asm.h>.
13855 (memcpy): Don't use BP_SYM.
13856 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
13857 <bp-sym.h> and <bp-asm.h>.
13858 (memset): Don't use BP_SYM.
13859 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
13860 <bp-sym.h> and <bp-asm.h>.
13861 (strncmp): Don't use BP_SYM.
13862 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
13863 <bp-sym.h> and <bp-asm.h>.
13864 (memcpy): Don't use BP_SYM.
13865 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
13866 <bp-sym.h> and <bp-asm.h>.
13867 (memset): Don't use BP_SYM.
13868 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
13869 <bp-sym.h> and <bp-asm.h>.
13870 (__memchr): Don't use BP_SYM.
13871 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
13872 <bp-sym.h> and <bp-asm.h>.
13873 (memcmp): Don't use BP_SYM.
13874 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
13875 <bp-sym.h> and <bp-asm.h>.
13876 (memcpy): Don't use BP_SYM.
13877 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
13878 <bp-sym.h> and <bp-asm.h>.
13879 (__mempcpy): Don't use BP_SYM.
13880 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
13881 <bp-sym.h> and <bp-asm.h>.
13882 (__memrchr): Don't use BP_SYM.
13883 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
13884 <bp-sym.h> and <bp-asm.h>.
13885 (memset): Don't use BP_SYM.
13886 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
13887 <bp-sym.h> and <bp-asm.h>.
13888 (__rawmemchr): Don't use BP_SYM.
13889 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
13890 <bp-sym.h> and <bp-asm.h>.
13891 (__STRCMP): Don't use BP_SYM.
13892 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
13893 <bp-sym.h> and <bp-asm.h>.
13894 (strchr): Don't use BP_SYM.
13895 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
13896 <bp-sym.h> and <bp-asm.h>.
13897 (__strchrnul): Don't use BP_SYM.
13898 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
13899 <bp-sym.h> and <bp-asm.h>.
13900 (strlen): Don't use BP_SYM.
13901 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
13902 <bp-sym.h> and <bp-asm.h>.
13903 (strncmp): Don't use BP_SYM.
13904 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
13905 <bp-sym.h> and <bp-asm.h>.
13906 (__strnlen): Don't use BP_SYM.
13907 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
13908 <bp-asm.h>.
13909 (__mpn_rshift): Don't use BP_SYM.
13910 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13911 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
13912 <bp-sym.h> and <bp-asm.h>.
13913 (__sigsetjmp): Don't use BP_SYM.
13914 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
13915 (L(start_addresses)): Don't use BP_SYM.
13916 (_start): Likewise.
13917 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
13918 <bp-asm.h>.
13919 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
13920 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13921 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13922 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
13923 <bp-asm.h>.
13924 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
13925 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13926 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13927 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
13928 <bp-asm.h>.
13929 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13930 comments.
13931 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13932 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
13933 <bp-asm.h>.
13934 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
13935 FIXME comments.
13936 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13937 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13938 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
13939 <bp-asm.h>.
13940 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13941 comment.
13942 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
13943 and <bp-asm.h>.
13944 (strncmp): Don't use BP_SYM,
13945 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
13946 <bp-asm.h>.
13947 (__mpn_sub_n): Don't use BP_SYM.
13948 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13949 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
13950 and <bp-asm.h>.
13951 (__mpn_submul_1): Don't use BP_SYM.
13952 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
13954 <bp-sym.h> and <bp-asm.h>.
13955 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
13957 <bp-sym.h> and <bp-asm.h>.
13958 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13959 comment.
13960
8d19fe64
SP
139612013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13962
13963 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
13964 Use ZK to minimize writes to Z.
13965 (sub_magnitudes): Simplify code a bit.
13966 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
13967 Use ZK to minimize writes to Z.
13968 (sub_magnitudes): Simplify code a bit.
13969
85bd816a
RM
139702013-02-27 Roland McGrath <roland@hack.frob.com>
13971
13972 * csu/gmon-start.c: Add special exception to license text.
13973
b5977bf2
RH
139742013-02-27 Richard Henderson <rth@redhat.com>
13975
13976 * scripts/config.guess: Update from config.git.
13977 * scripts/config.sub: Likewise.
13978
11d6e2f2
SP
139792013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13980
09c14ed2
SP
13981 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
13982
a688864e
SP
13983 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
13984
6295157a
SP
13985 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
13986
b8de2202
SP
13987 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
13988
11d6e2f2
SP
13989 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
13990
7e80ddb8
RM
139912013-02-26 Roland McGrath <roland@hack.frob.com>
13992
13993 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
13994 [$(build-shared = yes].
7e80ddb8 13995
7da6d9ed
SP
139962013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13997
45f05884
SP
13998 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
13999 (__mul): Reduce iterations for calculating mantissa.
14000
2236d359
SP
14001 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
14002 MPTWO.
14003 (__mpranred): Likewise.
14004
7da6d9ed
SP
14005 [BZ #15160]
14006 * malloc/memusagestat.c (main): Draw graphs for heap and stack
14007 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
14008
b7688c42
PE
140092013-02-26 Paul Eggert <eggert@cs.ucla.edu>
14010
14011 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
14012 Define __attribute__.
14013
53a5c423
SP
140142013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14015
14016 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
14017 unused.
14018 * posix/regex_internal.h (__attribute): Remove.
14019 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
14020 (re_string_context_at): Likewise.
14021 (bitset_not): Use __attribute__ and mark function as possibly
14022 unused.
14023 (bitset_merge): Likewise.
14024 (bitset_mask): Likewise.
14025 (re_string_char_size_at): Likewise.
14026 (re_string_wchar_at): Likewise.
14027 (re_string_elem_size_at): Likewise.
14028
60f5a8b5
SP
140292013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14030
2a983a2e
SP
14031 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
14032 code.
14033 (cc32): Likewise.
14034
e69804d1
SP
14035 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
14036 (__acr): Likewise.
14037 (__cpy): Likewise.
14038 (norm): Likewise.
14039 (denorm): Likewise.
14040 (__dbl_mp): Likewise.
14041 (add_magnitudes): Likewise.
14042 (sub_magnitudes): Likewise.
14043 (__mul): Likewise.
14044 (__inv): Likewise.
14045
2f22a1e8
SP
14046 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
14047 style.
14048
8930ddc7
SP
14049 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
14050 style.
14051
dc60cb11
SP
14052 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
14053 code.
14054
60f5a8b5
SP
14055 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
14056 up changes with default code.
14057 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
14058 Likewise.
14059
b4d1fd33
AM
140602013-02-24 Allan McRae <allan@archlinux.org>
14061
faf6f8bc
AM
14062 * manual/socket.texi (The Internet Namespace): Order menu items
14063 to match that in the file.
14064
b4d1fd33
AM
14065 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
14066 node listing of the info page menu.
14067
2366713d
JM
140682013-02-21 Joseph Myers <joseph@codesourcery.com>
14069
14070 [BZ #13550]
14071 * sysdeps/i386/bp-asm.h: Remove file.
14072 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14073 (PARMS): Do not use macros from bp-asm.h.
14074 (S1): Likewise.
14075 (S2): Likewise.
14076 (SIZE): Likewise.
14077 (__mpn_add_n): Do not use BP_SYM
14078 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
14079 "bp-asm.h".
14080 (PARMS): Do not use macros from bp-asm.h.
14081 (S1): Likewise.
14082 (SIZE): Likewise.
14083 (__mpn_addmul_1): Do not use BP_SYM
14084 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
14085 "bp-asm.h".
14086 (PARMS): Do not use macros from bp-asm.h.
14087 (SIGMSK): Likewise.
14088 (_setjmp): Likewise. Do not use BP_SYM.
14089 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
14090 "bp-asm.h".
14091 (PARMS): Do not use macros from bp-asm.h.
14092 (SIGMSK): Likewise.
14093 (setjmp): Likewise. Do not use BP_SYM.
14094 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
14095 "bp-asm.h".
14096 (PARMS): Do not use macros from bp-asm.h.
14097 (__frexp): Do not use BP_SYM.
14098 (frexp): Likewise.
14099 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
14100 "bp-asm.h".
14101 (PARMS): Do not use macros from bp-asm.h.
14102 (__frexpf): Do not use BP_SYM.
14103 (frexpf): Likewise.
14104 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
14105 "bp-asm.h".
14106 (PARMS): Do not use macros from bp-asm.h.
14107 (__frexpl): Do not use BP_SYM.
14108 (frexpl): Likewise.
14109 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
14110 "bp-asm.h".
14111 (PARMS): Do not use macros from bp-asm.h.
14112 (__remquo): Do not use BP_SYM.
14113 (remquo): Likewise.
14114 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
14115 "bp-asm.h".
14116 (PARMS): Do not use macros from bp-asm.h.
14117 (__remquof): Do not use BP_SYM.
14118 (remquof): Likewise.
14119 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
14120 "bp-asm.h".
14121 (PARMS): Do not use macros from bp-asm.h.
14122 (__remquol): Do not use BP_SYM.
14123 (remquol): Likewise.
14124 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
14125 "bp-asm.h".
14126 (PARMS): Do not use macros from bp-asm.h.
14127 (DEST): Likewise.
14128 (SRC): Likewise.
14129 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
14130 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
14131 "bp-asm.h".
14132 (PARMS): Do not use macros from bp-asm.h.
14133 (strlen): Do not use BP_SYM.
14134 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
14135 "bp-asm.h".
14136 (PARMS): Do not use macros from bp-asm.h.
14137 (S1): Likewise.
14138 (S2): Likewise.
14139 (SIZE): Likewise.
14140 (__mpn_add_n): Do not use BP_SYM.
14141 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
14142 "bp-asm.h".
14143 (PARMS): Do not use macros from bp-asm.h.
14144 (S1): Likewise.
14145 (SIZE): Likewise.
14146 (__mpn_addmul_1): Do not use BP_SYM.
14147 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
14148 weak_alias.
14149 (bzero): Likewise.
14150 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
14151 "bp-asm.h".
14152 (PARMS): Do not use macros from bp-asm.h.
14153 (S): Likewise.
14154 (SIZE): Likewise.
14155 (__mpn_lshift): Do not use BP_SYM.
14156 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
14157 "bp-asm.h".
14158 (PARMS): Do not use macros from bp-asm.h.
14159 (DEST): Likewise.
14160 (SRC): Likewise.
14161 (LEN): Likewise.
14162 (memcpy): Likewise. Do not use BP_SYM.
14163 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
14164 libc_hidden_def and weak_alias.
14165 (mempcpy): Do not use BP_SYM in weak_alias.
14166 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
14167 "bp-asm.h".
14168 (PARMS): Do not use macros from bp-asm.h.
14169 (DEST): Likewise.
14170 (LEN): Likewise.
14171 [!BZERO_P] (CHR): Likewise.
14172 (memset): Likewise. Do not use BP_SYM.
14173 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
14174 "bp-asm.h".
14175 (PARMS): Do not use macros from bp-asm.h.
14176 (S1): Likewise.
14177 (SIZE): Likewise.
14178 (__mpn_mul_1): Do not use BP_SYM.
14179 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
14180 "bp-asm.h".
14181 (PARMS): Do not use macros from bp-asm.h.
14182 (S): Likewise.
14183 (SIZE): Likewise.
14184 (__mpn_rshift): Do not use BP_SYM.
14185 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
14186 "bp-asm.h".
14187 (PARMS): Do not use macros from bp-asm.h.
14188 (STR): Likewise.
14189 (CHR): Likewise.
14190 (strchr): Likewise. Do not use BP_SYM.
14191 (index): Do not use BP_SYM in weak_alias.
14192 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
14193 "bp-asm.h".
14194 (PARMS): Do not use macros from bp-asm.h.
14195 (DEST): Likewise.
14196 (SRC): Likewise.
14197 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
14198 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
14199 "bp-asm.h".
14200 (PARMS): Do not use macros from bp-asm.h.
14201 (strlen): Do not use BP_SYM.
14202 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
14203 "bp-asm.h".
14204 (PARMS): Do not use macros from bp-asm.h.
14205 (S1): Likewise.
14206 (S2): Likewise.
14207 (SIZE): Likewise.
14208 (__mpn_sub_n): Do not use BP_SYM.
14209 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
14210 "bp-asm.h".
14211 (PARMS): Do not use macros from bp-asm.h.
14212 (S1): Likewise.
14213 (SIZE): Likewise.
14214 (__mpn_submul_1): Do not use BP_SYM.
14215 * sysdeps/i386/i686/add_n.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 (S2): Likewise.
14220 (SIZE): Likewise.
14221 (__mpn_add_n): Do not use BP_SYM.
14222 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
14223 weak_alias.
14224 (bzero): Likewise.
14225 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
14226 "bp-asm.h".
14227 (PARMS): Do not use macros from bp-asm.h.
14228 (BLK2): Likewise.
14229 (LEN): Likewise.
14230 (memcmp): Do not use BP_SYM.
14231 (bcmp): Do not use BP_SYM in weak_alias.
14232 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
14233 "bp-asm.h".
14234 (PARMS): Do not use macros from bp-asm.h.
14235 (DEST): Likewise.
14236 (SRC): Likewise.
14237 (LEN): Likewise.
14238 (memcpy): Likewise. Do not use BP_SYM.
14239 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
14240 "bp-asm.h".
14241 (PARMS): Do not use macros from bp-asm.h.
14242 (DEST): Likewise.
14243 (SRC): Likewise.
14244 (LEN): Likewise.
14245 (memmove): Likewise. Do not use BP_SYM.
14246 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
14247 "bp-asm.h".
14248 (PARMS): Do not use macros from bp-asm.h.
14249 (DEST): Likewise.
14250 (SRC): Likewise.
14251 (LEN): Likewise.
14252 (__mempcpy): Likewise. Do not use BP_SYM.
14253 (mempcpy): Do not use BP_SYM in weak_alias.
14254 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
14255 "bp-asm.h".
14256 (PARMS): Do not use macros from bp-asm.h.
14257 (DEST): Likewise.
14258 (LEN): Likewise.
14259 [!BZERO_P] (CHR): Likewise.
14260 (memset): Likewise. Do not use BP_SYM.
14261 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
14262 "bp-asm.h".
14263 (PARMS): Do not use macros from bp-asm.h.
14264 (STR2): Likewise.
14265 (strcmp): Do not use BP_SYM.
14266 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
14267 "bp-asm.h".
14268 (PARMS): Do not use macros from bp-asm.h.
14269 (STR): Likewise.
14270 (DELIM): Likewise.
14271 [USE_AS_STRTOK_R] (SAVE): Likewise.
14272 (FUNCTION): Likewise. Do not use BP_SYM.
14273 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
14274 aliases.
14275 (strtok_r): Likewise.
14276 (__GI___strtok_r): Likewise.
14277 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14278 (PARMS): Do not use macros from bp-asm.h.
14279 (S): Likewise.
14280 (SIZE): Likewise.
14281 (__mpn_lshift): Do not use BP_SYM.
14282 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14283 (PARMS): Do not use macros from bp-asm.h.
14284 (STR): Likewise.
14285 (CHR): Likewise.
14286 (__memchr): Do not use BP_SYM.
14287 (memchr): Do not use BP_SYM in weak_alias.
14288 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14289 (PARMS): Do not use macros from bp-asm.h.
14290 (BLK2): Likewise.
14291 (LEN): Likewise.
14292 (memcmp): Do not use BP_SYM.
14293 (bcmp): Do not use BP_SYM in weak_alias.
14294 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
14295 (PARMS): Do not use macros from bp-asm.h.
14296 (S1): Likewise.
14297 (SIZE): Likewise.
14298 (__mpn_mul_1): Do not use BP_SYM.
14299 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
14300 "bp-asm.h".
14301 (PARMS): Do not use macros from bp-asm.h.
14302 (STR): Likewise.
14303 (CHR): Likewise.
14304 (__rawmemchr): Do not use BP_SYM.
14305 (rawmemchr): Do not use BP_SYM in weak_alias.
14306 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14307 (PARMS): Do not use macros from bp-asm.h.
14308 (S): Likewise.
14309 (SIZE): Likewise.
14310 (__mpn_rshift): Do not use BP_SYM.
14311 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14312 (PARMS): Do not use macros from bp-asm.h.
14313 (SIGMSK): Likewise.
14314 (__sigsetjmp): Likewise. Do not use BP_SYM.
14315 * sysdeps/i386/start.S: Do not include "bp-sym.h".
14316 (_start): Do not use BP_SYM.
14317 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
14318 (PARMS): Do not use macros from bp-asm.h.
14319 (DEST): Likewise.
14320 (SRC): Likewise.
14321 (__stpcpy): Likewise. Do not use BP_SYM.
14322 (stpcpy): Do not use BP_SYM in weak_alias.
14323 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
14324 "bp-asm.h".
14325 (PARMS): Do not use macros from bp-asm.h.
14326 (DEST): Likewise.
14327 (SRC): Likewise.
14328 (LEN): Likewise.
14329 (__stpncpy): Likewise. Do not use BP_SYM.
14330 (stpncpy): Do not use BP_SYM in weak_alias.
14331 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14332 (PARMS): Do not use macros from bp-asm.h.
14333 (STR): Likewise.
14334 (CHR): Likewise.
14335 (strchr): Likewise. Do not use BP_SYM.
14336 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
14337 "bp-asm.h".
14338 (PARMS): Do not use macros from bp-asm.h.
14339 (STR): Likewise.
14340 (CHR): Likewise.
14341 (__strchrnul): Likewise. Do not use BP_SYM.
14342 (strchrnul): Do not use BP_SYM in weak_alias.
14343 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
14344 "bp-asm.h".
14345 (PARMS): Do not use macros from bp-asm.h.
14346 (STOP): Likewise.
14347 (strcspn): Do not use BP_SYM.
14348 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
14349 "bp-asm.h".
14350 (PARMS): Do not use macros from bp-asm.h.
14351 (STR): Likewise.
14352 (STOP): Likewise.
14353 (strpbrk): Likewise. Do not use BP_SYM.
14354 * sysdeps/i386/strrchr.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 (CHR): Likewise.
14359 (strrchr): Likewise. Do not use BP_SYM.
14360 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
14361 (PARMS): Do not use macros from bp-asm.h.
14362 (SKIP): Likewise.
14363 (strspn): Do not use BP_SYM.
14364 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
14365 (PARMS): Do not use macros from bp-asm.h.
14366 (STR): Likewise.
14367 (DELIM): Likewise.
14368 (SAVE): Likewise.
14369 (FUNCTION): Likewise. Do not use BP_SYM.
14370 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
14371 aliases.
14372 (strtok_r): Likewise.
14373 (__GI___strtok_r): Likewise.
14374 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14375 (PARMS): Do not use macros from bp-asm.h.
14376 (S1): Likewise.
14377 (S2): Likewise.
14378 (SIZE): Likewise.
14379 (__mpn_sub_n): Do not use BP_SYM.
14380 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
14381 "bp-asm.h".
14382 (PARMS): Do not use macros from bp-asm.h.
14383 (S1): Likewise.
14384 (SIZE): Likewise.
14385 (__mpn_submul_1): Do not use BP_SYM.
14386 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
14387 <bp-sym.h>.
14388 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
14389 and <bp-asm.h>.
14390 (PARMS): Do not use macros from bp-asm.h.
14391 (FLAGS): Likewise.
14392 (PTID): Likewise.
14393 (TLS): Likewise.
14394 (CTID): Likewise.
14395 (__clone): Do not use BP_SYM.
14396 (clone): Do not use BP_SYM in weak_alias.
14397 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
14398 and <bp-asm.h>.
14399 (PARMS): Do not use macros from bp-asm.h.
14400 (LEN): Likewise.
14401 (__mmap64): Do not use BP_SYM.
14402 (mmap64): Do not use BP_SYM in weak_alias.
14403 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14404 <bp-sym.h> and <bp-asm.h>.
14405 (PARMS): Do not use macros from bp-asm.h.
14406 (__posix_fadvise64_l64): Do not use BP_SYM.
14407 * sysdeps/unix/sysv/linux/i386/semtimedop.S
14408 (PARMS): Do not use macros from bp-asm.h.
14409 (NSOPS): Likewise.
14410 (semtimedop): Do not use BP_SYM.
14411 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
14412 and <bp-asm.h>.
14413
582a3cff
AM
144142013-02-21 Allan McRae <allan@archlinux.org>
14415
14416 * manual/message.texi (Charset conversion in gettext):
14417 Move @end statement to beginning of line.
14418
bab8a695
SP
144192013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14420
80945231
SP
14421 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
14422 static.
14423 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14424 Likewise.
14425
bab8a695
SP
14426 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
14427 (denorm): Likewise.
14428 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
14429 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
14430
e21d7aa7
AK
144312013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14432
14433 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
14434 tail-call to the resolved function if pltexit isn't needed.
14435
4c7a4263
SP
144362013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14437
14438 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
14439 or Y being zero as being unlikely.
14440 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
14441 Likewise.
14442
41f49342
CD
144432013-02-20 Carlos O'Donell <carlos@redhat.com>
14444
14445 * manual/nss.texi (System Databases and Name Service Switch):
14446 Remove frobnicate @pxref.
14447
50022a93
TS
144482013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14449
14450 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14451 __attribute__ ((unused)) to __attribute__ ((__unused__)).
14452
08cbd996
PM
144532013-02-20 Petr Machata <pmachata@redhat.com>
14454
14455 * elf/elf.h (R_ARM_TARGET1): New macro.
14456 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
14457 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
14458 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
14459 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
14460 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
14461 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
14462 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
14463 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
14464 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
14465 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
14466 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
14467 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
14468 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
14469 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
14470 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
14471 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
14472 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
14473 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
14474 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
14475 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
14476 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
14477 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
14478 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
14479 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
14480 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
14481 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
14482 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
14483 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
14484 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
14485 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
14486 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
14487 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
14488 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
14489 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
14490 (R_ARM_THM_GOT_BREL12): Likewise.
14491 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
14492 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
14493 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
14494 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
14495 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
14496 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
14497 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
14498 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
14499 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
14500
c7b275d6
TS
145012013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14502
14503 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14504 __attribute_used__ to __attribute__ ((unused)).
14505
20cd7fb3
SP
145062013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14507
14508 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
14509 powerpc mpa.c.
14510 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
14511 comment formatting.
14512 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
14513
92945b52
JM
145142013-02-19 Joseph Myers <joseph@codesourcery.com>
14515
14516 [BZ #13550]
14517 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
14518 Remove macro.
14519 (ENTER): Remove both macro definitions.
14520 (LEAVE): Likewise.
14521 (CHECK_BOUNDS_LOW): Likewise.
14522 (CHECK_BOUNDS_HIGH): Likewise.
14523 (CHECK_BOUNDS_BOTH): Likewise.
14524 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
14525 (RETURN_BOUNDED_POINTER): Likewise.
14526 (RETURN_NULL_BOUNDED_POINTER): Likewise.
14527 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
14528 (POP_ERRNO_LOCATION_RETURN): Likewise.
14529 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
14530 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14531 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
14532 macros.
14533 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14534 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
14535 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
14536 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
14537 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
14538 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
14539 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
14540 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
14541 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
14542 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
14543 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
14544 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
14545 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14546 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
14547 removed macros.
14548 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14549 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
14550 macros.
14551 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14552 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
14553 * sysdeps/i386/i586/memset.S (memset): Likewise.
14554 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
14555 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14556 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
14557 macros.
14558 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14559 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
14560 Change uses of L(2) to L(out).
14561 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
14562 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
14563 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
14564 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14565 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
14566 removed macros.
14567 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14568 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
14569 macros.
14570 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14571 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
14572 (RETURN): Do not use macro LEAVE.
14573 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
14574 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
14575 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
14576 * sysdeps/i386/i686/memset.S (memset): Likewise.
14577 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
14578 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
14579 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14580 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
14581 Likewise.
14582 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14583 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
14584 L(1_2) and L(1_3) into L(1).
14585 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14586 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
14587 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14588 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
14589 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14590 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
14591 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
14592 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14593 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
14594 macros.
14595 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
14596 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14597 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
14598 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
14599 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
14600 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14601 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
14602 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
14603 * sysdeps/i386/strcspn.S (strcspn): Likewise.
14604 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
14605 * sysdeps/i386/strrchr.S (strrchr): Likewise.
14606 * sysdeps/i386/strspn.S (strspn): Likewise.
14607 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
14608 conditional code.
14609 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14610 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
14611 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14612 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
14613 L(1_3) into L(1_1).
14614 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
14615 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14616 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
14617 macros.
14618 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14619
2389741a
JJ
146202013-02-19 Jakub Jelinek <jakub@redhat.com>
14621
14622 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
14623 macro.
14624
2016b3cd
SP
146252013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14626
e4f22324
SP
14627 * math/atest-exp.c (exp_mpn): Remove ROUND.
14628 * math/atest-exp2.c (exp_mpn): Likewise.
14629 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
14630
2016b3cd
SP
14631 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
14632 * stdlib/tst-tls-atexit-lib.c: Likewise.
14633 * stdlib/tst-tls-atexit.c: Likewise.
14634
4be9b544
MF
146352013-02-18 Mike Frysinger <vapier@gentoo.org>
14636
14637 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
14638 and __attribute_alloc_size__.
14639
2f62b9ee
MF
146402013-02-18 Mike Frysinger <vapier@gentoo.org>
14641
14642 * include/programs/xmalloc.h: Change __attribute_alloc_size to
14643 __attribute_alloc_size__.
14644 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
14645 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
14646
6ff444c4
MF
146472013-02-18 Mike Frysinger <vapier@gentoo.org>
14648
14649 * include/programs/xmalloc.h: New file.
14650 * catgets/gencat.c: Include it.
14651 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
14652 * elf/pldd.c: Likewise.
14653 * iconv/iconv_charmap.c: Likewise.
14654 * iconv/iconvconfig.c: Likewise.
14655 * iconv/strtab.c: Likewise.
14656 * locale/programs/locale.c: Likewise.
14657 * locale/programs/localedef.h: Likewise.
14658 * locale/programs/simple-hash.c: Likewise.
14659 * nscd/nscd.h: Likewise.
14660 * nss/makedb.c: Likewise.
14661 * sysdeps/generic/ldconfig.h: Likewise.
14662
be179c8a
SP
146632013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14664
ba384f6e
SP
14665 * Versions.def: Add GLIBC_2.18.
14666 * include/link.h (struct link_map): New member l_tls_dtor_count.
14667 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
14668 (__call_tls_dtors): Likewise.
14669 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
14670 __cxa_thread_atexit_impl.
14671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14672 Likewise.
14673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14674 Likewise.
14675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14676 Likewise.
14677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14678 Likewise.
14679 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14680 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
14681 Likewise.
14682 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
14683 Likewise.
14684 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14685 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
14686 Likewise.
14687 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
14688 (tests): Add test case tst-tls-atexit.
14689 (modules-names): Add shared library for tst-tls-atexit.
85891aca 14690 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
14691 (GLIBC_PRIVATE): Add __call_tls_dtors.
14692 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
14693 for libstdc++.
14694 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
14695 * stdlib/tst-tls-atexit.c: New test case.
14696 * stdlib/tst-tls-atexit-lib.c: New test case.
14697
ffaa74cf 14698 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 14699
be179c8a
SP
14700 * elf/Versions (ld): Add _dl_find_dso_for_object.
14701 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
14702 * elf/dl-open.c (_dl_find_dso_for_object): New function.
14703 (dl_open_worker): Use _dl_find_dso_for_object.
14704 * elf/dl-sym.c (do_sym): Likewise.
14705 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
14706
f78b5caa
AK
147072013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14708
14709 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
14710 Syntactic changes only.
14711 (_dl_runtime_profile): Do a tail-call to the resolved function.
14712
29691210
JM
147132013-02-17 Joseph Myers <joseph@codesourcery.com>
14714
14715 [BZ #13550]
14716 * sysdeps/x86_64/bp-asm.h: Remove file.
14717 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
14718 <bp-sym.h> and <bp-asm.h>.
14719 (__clone): Do not use BP_SYM.
14720 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
14721 <bp-sym.h> and <bp-asm.h>.
14722 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14723 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
14724 "bp-asm.h".
14725 (_setjmp): Do not use BP_SYM.
14726 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
14727 "bp-asm.h".
14728 (setjmp): Do not use BP_SYM.
14729 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
14730 libc_hidden_def.
14731 (mempcpy): Do not use BP_SYM in weak_alias.
14732 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
14733 "bp-asm.h".
14734 (strchr): Do not use BP_SYM.
14735 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
14736 "bp-asm.h".
14737 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
14738 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
14739 (_start): Do not use BP_SYM.
14740 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
14741 "bp-asm.h".
14742 (strcat): Do not use BP_SYM.
14743 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
14744 "bp-asm.h".
14745 (STRCMP): Do not use BP_SYM.
14746 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
14747 "bp-asm.h".
14748 (STRCPY): Do not use BP_SYM.
14749 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
14750 "bp-asm.h".
14751 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
14752 "bp-asm.h".
14753 (FUNCTION): Do not use BP_SYM.
14754 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
14755 weak_alias.
14756 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
14757
f238fd19
AJ
147582013-02-17 Andreas Jaeger <aj@suse.de>
14759
14760 * time/Versions: Sort entries.
14761 * string/Versions: Likewise.
14762 * resolv/Versions: Likewise.
14763 * posix/Versions: Likewise.
14764 * iconv/Versions: Likewise.
14765 * elf/Versions: Likewise.
14766 * wcsmbs/Versions: Likewise.
14767
bd07f23c 147682013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 14769
22af19f9
SP
14770 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
14771 loop termination condition.
14772
4709fe76
SP
14773 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
14774 variable to calculate EZ.
14775 (__sqr): Likewise.
2d0e0f29
SP
14776
14777 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
14778 the lower precision input.
14779
daaa7713
JM
147802013-02-15 Joseph Myers <joseph@codesourcery.com>
14781
14782 [BZ #13550]
14783 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
14784 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
14785 (run-via-rtld-prefix): Do not handle %-bp tests.
14786 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
14787 (all-object-suffixes): Remove .ob.
14788 (bppfx): Remove variable.
14789 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
14790 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
14791 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
14792 [$(build-bounded) = yes] (libtype.ob): Likewise.
14793 * Makerules (elide-routines.ob): Remove variable.
14794 (do-tests-clean): Do not handle *-bp.out.
14795 (common-mostlyclean): Do not handle *-bp and *-bp.out.
14796 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
14797 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
14798 (tests): Do not include $(tests-bp.out).
14799 (xtests): Do not include $(xtests-bp.out).
14800 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
14801 [$(build-bounded) = yes] ($(addprefix
14802 $(objpfx),$(binaries-bounded))): Remove rule.
14803 ($(objpfx)%-bp.out): Remove rule.
14804 * config.make.in (build-bounded): Remove variable.
14805 * crypt/Makefile [$(build-bounded) = yes]
14806 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
14807 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
14808 append to variable.
14809 [$(build-bounded) = yes] (install-lib): Likewise.
14810 [$(build-bounded) = yes] (generated): Likewise.
14811 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
14812 Remove rule.
14813 * intl/Makefile [$(build-bounded) = yes]
14814 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
14815 * math/Makefile [$(build-bounded) = yes]
14816 ($(tests:%=$(objpfx)%-bp): Likewise.
14817 * misc/Makefile [$(build-bounded) = yes]
14818 ($(objpfx)tst-tsearch-bp): Likewise.
14819 * nptl/Makeconfig (bounded-thread-library): Remove variable.
14820 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
14821 Remove dependency.
14822 * string/Makefile (o-objects.ob): Remove variable.
14823 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
14824 (CFLAGS-.ob): Remove variable.
14825 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
14826 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
14827 both definitions of variable.
14828 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
14829 (ASFLAGS-.ob): Remove variable.
14830
e97ed6dd
JM
148312013-02-14 Joseph Myers <joseph@codesourcery.com>
14832
2bdd4ca6
JM
14833 [BZ #13550]
14834 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
14835 Remove __BOUNDED_POINTERS__ from condition.
14836 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
14837 * string/bits/string2.h [!__NO_STRING_INLINES &&
14838 !__BOUNDED_POINTERS__]: Likewise.
14839 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
14840 Likewise.
14841 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
14842 Remove conditional code.
14843 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
14844 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
14845 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
14846 condition.
14847
e97ed6dd
JM
14848 [BZ #13550]
14849 * csu/libc-start.c: Do not include <bp-sym.h>.
14850 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
14851 * elf/dl-open.c: Do not include <bp-sym.h>.
14852 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
14853 * math/fegetenv.c: Do not include <bp-sym.h>.
14854 (fegetenv): Do not use BP_SYM in versioned symbols.
14855 * nptl/sysdeps/pthread/bits/libc-lockP.h
14856 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
14857 <bp-sym.h>.
14858 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14859 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
14860 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14861 (__pthread_mutex_destroy): Likewise.
14862 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14863 (__pthread_mutex_lock): Likewise.
14864 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14865 (__pthread_mutex_trylock): Likewise.
14866 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14867 (__pthread_mutex_unlock): Likewise.
14868 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14869 (__pthread_mutexattr_init): Likewise.
14870 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14871 (__pthread_mutexattr_destroy): Likewise.
14872 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14873 (__pthread_mutexattr_settype): Likewise.
14874 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14875 (__pthread_rwlock_init): Likewise.
14876 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14877 (__pthread_rwlock_destroy): Likewise.
14878 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14879 (__pthread_rwlock_rdlock): Likewise.
14880 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14881 (__pthread_rwlock_tryrdlock): Likewise.
14882 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14883 (__pthread_rwlock_wrlock): Likewise.
14884 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14885 (__pthread_rwlock_trywrlock): Likewise.
14886 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14887 (__pthread_rwlock_unlock): Likewise.
14888 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14889 (__pthread_key_create): Likewise.
14890 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14891 (__pthread_setspecific): Likewise.
14892 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14893 (__pthread_getspecific): Likewise.
14894 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
14895 Likewise.
14896 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14897 (_pthread_cleanup_push_defer): Likewise.
14898 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14899 (_pthread_cleanup_pop_restore): Likewise.
14900 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14901 (pthread_setcancelstate): Likewise.
14902 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
14903 <bp-sym.h>.
14904 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
14905 (memchr): Do not use BP_SYM in weak_alias.
14906 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
14907 (fegetenv): Do not use BP_SYM in versioned symbols.
14908 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
14909 (fesetenv): Do not use BP_SYM in versioned symbols.
14910 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14911 (feupdateenv): Do not use BP_SYM in versioned symbols.
14912 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14913 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14914 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
14915 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
14916 (open64): Do not use BP_SYM in weak_alias.
14917 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
14918 (fegetenv): Do not use BP_SYM in versioned symbols.
14919 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
14920 (fesetenv): Do not use BP_SYM in versioned symbols.
14921 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14922 (feupdateenv): Do not use BP_SYM in versioned symbols.
14923 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
14924 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
14925 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
14926 (feraiseexcept): Do not use BP_SYM in versioned symbols.
14927 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14928 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14929 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
14930 <bp-sym.h>.
14931 (__libc_start_main): Do not use BP_SYM.
14932
d6752ccd
SP
149332013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14934
cb57ce60
SP
14935 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
14936 redundant return line.
14937 (norm): Likewise.
14938 (denorm): Likewise.
14939 (dbl_mp): Likewise.
14940 (sub_magnitudes): Likewise.
14941 (__add): Likewise.
14942 (__sub): Likewise.
14943 (__mul): Likewise.
14944 (__inv): Likewise.
14945 (__dvd): Likewise.
14946 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
14947 (norm): Likewise.
14948 (denorm): Likewise.
14949 (dbl_mp): Likewise.
14950 (sub_magnitudes): Likewise.
14951 (__add): Likewise.
14952 (__sub): Likewise.
14953 (__mul): Likewise.
14954 (__inv): Likewise.
14955 (__dvd): Likewise.
14956
f414520d
SP
14957 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
14958 instead of __mul.
14959 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14960 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
14961 (cc32): Likewise.
14962
d6752ccd
SP
14963 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
14964 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
14965 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
14966 of __mul for squares.
14967 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
14968 function
14969 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
14970 Likewise.
14971 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
14972 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14973
70d9946a
JM
149742013-02-13 Joseph Myers <joseph@codesourcery.com>
14975
14976 [BZ #13550]
14977 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
14978 code.
14979 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
14980 prototype or function definition. Rename ubp_* variables and
14981 parameters. Remove argv definitions conditional on
14982 [__BOUNDED_POINTERS__].
14983 * debug/backtrace.c (__backtrace): Do not use __unbounded.
14984 * elf/dl-runtime.c (_dl_fixup): Likewise.
14985 * include/set-hooks.h (RUN_HOOK): Likewise.
14986 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
14987 definition.
14988 * string/strcpy.c (strcpy): Do not use __unbounded.
14989 * sysdeps/generic/frame.h (struct layout): Likewise.
14990 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
14991 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
14992 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
14993 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
14994 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
14995 (__backtrace): Likewise.
14996 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
14997 use __ptrvalue.
14998 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
14999 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15000 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
15001 Likewise.
15002 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
15003 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
15004 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15005 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15006 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
15007 Do not use __unbounded.
15008 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
15009 Rename __unboundedrlimits parameter to rlimits in prototype.
15010 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
15011 Do not use __unbounded.
15012 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
15013 not use __ptrvalue.
15014 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15015 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
15016 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15017 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
15018 __ptrvalue or __unbounded.
15019 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
15020 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
15021 use __unbounded.
15022 (__new_msgctl): Do not use __ptrvalue.
15023 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
15024 __unbounded.
15025 (__libc_msgrcv): Do not use __ptrvalue.
15026 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
15027 startup_info): Do not use __unbounded.
15028 (__libc_start_main): Likewise. Rename ubp_* variables and
15029 parameters. Remove argv definitions conditional on
15030 [__BOUNDED_POINTERS__].
15031 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
15032 __ptrvalue.
15033 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
15034 use __unbounded.
15035 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
15036 or __ptrvalue.
15037 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
15038 use __unbounded.
15039 (__new_shmctl): Do not use __ptrvalue.
15040 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
15041 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
15042 Likewise.
15043 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
15044 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
15045 (__libc_sigaction): Likewise.
15046 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
15047 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
15048 Likewise.
15049 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15050
cc7834d6
OB
150512013-02-13 Ondřej Bílka <neleai@seznam.cz>
15052
ffb1ec7b 15053 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
15054
15055 * string/mempcpy.c: Implement by calling memcpy.
15056
bdf02814
SP
150572013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15058
c2af38aa
SP
15059 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
15060
4e92d59e
SP
15061 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
15062 evaluation.
15063
909279a5
SP
15064 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
15065 values in the mantissa.
15066
bdf02814
SP
15067 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
15068 minimize writes to Z.
15069 (sub_magnitudes): Simplify code a bit.
15070
cd525923
RM
150712013-02-12 Roland McGrath <roland@hack.frob.com>
15072
15073 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
15074 from the message. The linker prefixes all warnings with that already.
15075
7e2f0d2d
AS
150762013-02-12 Andreas Schwab <schwab@suse.de>
15077
a445af0b
AS
15078 [BZ #15078]
15079 * posix/regexec.c (extend_buffers): Add parameter min_len.
15080 (check_matching): Pass minimum needed length.
15081 (clean_state_log_if_needed): Likewise.
15082 (get_subexp): Likewise.
15083 * posix/Makefile (tests): Add bug-regex34.
15084 (bug-regex34-ENV): Define.
15085 * posix/bug-regex34.c: New file.
15086
7e2f0d2d
AS
15087 [BZ #11561]
15088 * posix/regcomp.c (parse_bracket_exp): When looking up collating
15089 elements compare against the byte sequence of it, not its name.
15090 * posix/Makefile (tests): Add bug-regex35.
15091 (bug-regex35-ENV): Define.
15092 * posix/bug-regex35.c: New file.
15093
a175b684
TV
150942013-02-11 Tom de Vries <tom@codesourcery.com>
15095
15096 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
15097 comment.
15098 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
15099 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
15100 (CHECK_EOL): Add undef.
15101
310998fe 151022013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
15103
15104 * bits/stdlib-bsearch.h: New file.
15105 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 15106 * stdlib/stdlib.h: Likewise.
41eda41d 15107
8ded91fb
RM
151082013-02-11 Roland McGrath <roland@hack.frob.com>
15109
15110 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
15111 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
15112 declaration.
15113 * manual/search.texi (Array Search Function): Add missing const in
15114 lfind prototype.
15115 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
15116 declaration to use rlim_t.
15117 (Basic Scheduling Functions): Remove erroneous const from
15118 sched_getparam prototype. Remove erroneous * from
15119 sched_get_priority_max and sched_get_priority_min prototypes.
15120 (Resource Usage): Fix summary @comment on vtimes to refer to
15121 sys/vtimes.h rather than vtimes.h.
15122 Add missing *s in vtimes prototype.
15123 (Limits on Resources): Fix ulimit prototype to return long int.
15124 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
15125 prototypes to use long int rather than double.
15126 (BSD Random): Fix initstate and setstate to use char *, not void *.
15127 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
15128 prototype to make second argument 'struct aiocb64 *const[]'.
15129 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
15130 (Status of AIO Operations): Remove erroneous const in aio_return and
15131 aio_return64 prototypes.
15132 (Synchronizing I/O): Fix sync prototype to return void.
15133 * manual/startup.texi (Suboptions): Remove an erroneous const in
15134 getsubopt prototype.
15135 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
15136 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
15137 use size_t rather than int.
15138 (Scanning All Users): Likewise for getpwent_r.
15139 (Setting Groups): Add missing const to setgroups prototype.
15140 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
15141 * manual/socket.texi (Host Names): Fix gethostbyaddr and
15142 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
15143 'const void *' rather than 'const char *'.
15144 (Host Address Functions): Likewise for inet_ntop.
15145 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
15146 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
15147 ssize_t for return value.
15148 (Sending Data): Likewise for send, sendto, sendmsg.
15149 (Socket Option Functions): Add a missing const in setsockopt prototype.
15150 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
15151 use wchar_t for the argument.
15152 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
15153 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
15154 take no arguments.
15155 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
15156 double/float/long double for second argument.
15157 Fix return types of significand, significandf, significandl.
15158 * manual/filesys.texi (Setting Permissions): Use mode_t for second
15159 argument in fchmod prototype.
15160 (File Owner): Use uid_t and gid_t in fchown prototype.
15161 (File Times): Add const to utimes, futimes, and lutimes prototypes.
15162 (Making Special Files): Use mode_t and dev_t in mknod prototype.
15163 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
15164 use 'const struct dirent **' as argument types to CMP function pointer
15165 argument.
15166 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
15167 (File Times): Fix summary magic @comment for struct utimbuf and utime
15168 to refer to utime.h, not time.h.
15169 * manual/string.texi (Argz Functions): Add missing const in
15170 argz_extract and argz_next prototypes.
15171 (Finding Tokens in a String): Likewise for basename.
15172 (String/Array Comparison): Fix typo in wcscasecmp prototype.
15173 (Copying and Concatenation): Fix typo in wmemmove prototype.
15174 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
15175 (Signal Stack): Remove erroneous const in sigstack prototype.
15176 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
15177 prototype.
15178 (Simple Calendar Time): Likewise for stime.
15179 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
15180 prototype.
15181 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
15182 say sys/sysctl.h instead.
15183 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
15184 and vsyslog prototypes.
15185
fe77fe6d
TV
151862013-02-11 Tom de Vries <tom@codesourcery.com>
15187
15188 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
15189 Remove.
15190
3a09b620
RM
151912013-02-11 Roland McGrath <roland@hack.frob.com>
15192
15193 * misc/sys/mman.h: Fix typo in mremap comment.
15194
550a0b89
RM
151952013-02-08 Roland McGrath <roland@hack.frob.com>
15196
15197 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
15198 the '\0' terminator.
15199
a2da1673
JM
152002013-02-08 Joseph Myers <joseph@codesourcery.com>
15201
15202 [BZ #13550]
15203 * debug/segfault.c: Don't include <bp-checks.h>.
15204 * sysdeps/generic/bp-checks.h: Remove file.
15205 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
15206 (__GETDENTS): Don't use CHECK_N.
15207 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
15208 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
15209 (__getgroups): Don't use CHECK_N.
15210 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
15211 (setgroups): Don't use CHECK_N.
15212 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
15213 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
15214 (__libc_msgrcv): Don't use CHECK_N.
15215 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
15216 (__libc_msgsnd): Don't use CHECK_N.
15217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
15218 <bp-checks.h>.
15219 (__libc_pread): Don't use CHECK_N.
15220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
15221 include <bp-checks.h>.
15222 (__libc_pread64): Don't use CHECK_N.
15223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
15224 include <bp-checks.h>.
15225 (__libc_pwrite): Don't use CHECK_N.
15226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
15227 include <bp-checks.h>.
15228 (__libc_pwrite64): Don't use CHECK_N.
15229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
15230 <bp-checks.h>.
15231 (__libc_pread): Don't use CHECK_N.
15232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
15233 include <bp-checks.h>.
15234 (__libc_pread64): Don't use CHECK_N.
15235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
15236 include <bp-checks.h>.
15237 (__libc_pwrite): Don't use CHECK_N.
15238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
15239 include <bp-checks.h>.
15240 (__libc_pwrite64): Don't use CHECK_N.
15241 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
15242 (do_pread): Don't use CHECK_N.
15243 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
15244 (do_pread64): Don't use CHECK_N.
15245 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
15246 (do_pwrite): Don't use CHECK_N.
15247 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
15248 (do_pwrite64): Don't use CHECK_N.
15249 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
15250 (__libc_readv): Don't use CHECK_N.
15251 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
15252 (semop): Don't use CHECK_N.
15253 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
15254 <bp-checks.h>.
15255 (semtimedop): Don't use CHECK_N.
15256 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
15257 (__libc_pread): Don't use CHECK_N.
15258 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
15259 <bp-checks.h>.
15260 (__libc_pread64): Don't use CHECK_N.
15261 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
15262 <bp-checks.h>.
15263 (__libc_pwrite): Don't use CHECK_N.
15264 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
15265 <bp-checks.h>.
15266 (__libc_pwrite64): Don't use CHECK_N.
15267 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
15268 <bp-checks.h>.
15269 (__libc_msgrcv): Don't use CHECK_N.
15270 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
15271 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
15272 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
15273 (__libc_writev): Don't use CHECK_N.
15274
b84660a8
RM
152752013-02-08 Roland McGrath <roland@hack.frob.com>
15276
7f3e75f8
RM
15277 * string/strcpy.c: Removed unused variable.
15278
b84660a8
RM
15279 * Makeconfig (+sysdep-includes): Define with := rather than =.
15280 Use an existing include/ subdir of each sysdeps dir before it.
15281
471514d3
CD
152822013-02-08 Carlos O'Donell <carlos@redhat.com>
15283
15284 * nscd/connection.c (register_traced_file): Comment function.
15285 [HAVE_INOTIFY] (union __inev): Define.
15286 [HAVE_INOTIFY] (inotify_check_files): New function.
15287 [HAVE_INOTIFY] (clear_db_cache): Likewise.
15288 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
15289 clear_db_cache.
15290 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
15291
b2d3c3be
CD
152922013-02-08 Carlos O'Donell <carlos@redhat.com>
15293
15294 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
15295 loaded if not already and that a failure is permanent.
15296
b39949d2
CD
152972013-02-08 Carlos O'Donell <carlos@redhat.com>
15298
ddacd1db 15299 [BZ #15006]
b39949d2
CD
15300 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
15301 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
15302
b2c9eff4
JM
153032013-02-08 Joseph Myers <joseph@codesourcery.com>
15304
f3aae3f3
JM
15305 [BZ #13550]
15306 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
15307 (CHECK_1_NULL_OK): Likewise.
15308 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
15309 (__fxstat): Do not use CHECK_1.
15310 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
15311 <bp-checks.h>.
15312 (___fxstat64): Do not use CHECK_1.
15313 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15314 <bp-checks.h>.
15315 (__fxstatat): Do not use CHECK_1.
15316 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15317 <bp-checks.h>.
15318 (__fxstatat64): Do not use CHECK_1.
15319 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
15320 <bp-checks.h>.
15321 (__fxstat): Do not use CHECK_1.
15322 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15323 <bp-checks.h>.
15324 (__fxstatat): Do not use CHECK_1.
15325 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15326 <bp-checks.h>.
15327 (__getresgid): Do not use CHECK_1.
15328 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15329 <bp-checks.h>.
15330 (__getresuid): Do not use CHECK_1.
15331 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
15332 <bp-checks.h>.
15333 (__lxstat): Do not use CHECK_1.
15334 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15335 <bp-checks.h>.
15336 (__old_msgctl): Do not use CHECK_1.
15337 (__new_msgctl): Likewise.
15338 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
15339 <bp-checks.h>.
15340 (__new_setrlimit): Do not use CHECK_1.
15341 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15342 <bp-checks.h>.
15343 (__old_shmctl): Do not use CHECK_1.
15344 (__new_shmctl): Likewise.
15345 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
15346 <bp-checks.h>.
15347 (__xstat): Do not use CHECK_1.
15348 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
15349 (__lxstat): Do not use CHECK_1.
15350 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
15351 <bp-checks.h>.
15352 (___lxstat64): Do not use CHECK_1.
15353 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
15354 (__old_msgctl): Do not use CHECK_1.
15355 (__new_msgctl): Likewise.
15356 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
15357 <bp-checks.h>.
15358 (__gettimeofday): Do not use CHECK_1.
15359 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
15360 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
15361 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
15362 <bp-checks.h>.
15363 (__gettimeofday): Do not use CHECK_1.
15364 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
15365 (__old_shmctl): Do not use CHECK_1_NULL_OK.
15366 (__new_shmctl): Do not use CHECK_1.
15367 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
15368 <bp-checks.h>.
15369 (do_sigtimedwait): Do not use CHECK_1.
15370 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
15371 <bp-checks.h>.
15372 (do_sigwaitinfo): Do not use CHECK_1.
15373 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
15374 <bp-checks.h>.
15375 (msgctl): Do not use CHECK_1.
15376 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
15377 <bp-checks.h>.
15378 (shmctl): Do not use CHECK_1.
15379 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
15380 (ustat): Do not use CHECK_1.
15381 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
15382 <bp-checks.h>.
15383 (__fxstat): Do not use CHECK_1.
15384 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15385 <bp-checks.h>.
15386 (__fxstatat): Do not use CHECK_1.
15387 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
15388 <bp-checks.h>.
15389 (__lxstat): Do not use CHECK_1.
15390 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
15391 <bp-checks.h>.
15392 (__xstat): Do not use CHECK_1.
15393 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
15394 (__xstat): Do not use CHECK_1.
15395 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
15396 (___xstat64): Do not use CHECK_1.
15397
b2c9eff4
JM
15398 [BZ #13550]
15399 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
15400 definitions.
15401 (CHECK_BOUNDS_HIGH): Likewise.
15402 * string/strcpy.c: Do not include <bp-checks.h>.
15403 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
15404
f1d70dad
RM
154052013-02-07 Roland McGrath <roland@hack.frob.com>
15406
15407 * nscd/nscd-client.h (__nscd_drop_map_ref):
15408 Add __attribute__ ((unused)).
15409 * nis/nss-nisplus.h (niserr2nss): Likewise.
15410
15411 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
15412 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
15413
15414 * csu/libc-tls.c (init_static_tls, init_slotinfo):
15415 Remove inline keyword.
15416 * include/rounding-mode.h (round_away): Likewise.
15417 * libio/wfileops.c (adjust_wide_data): Likewise.
15418 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
15419 (__m128i_strloadu_tolower): Likewise.
15420 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
15421 (__m128i_strloadu_tolower): Likewise.
15422 * time/mktime.c (ydhms_diff): Likewise.
15423 * locale/elem-hash.h (elem_hash): Likewise.
15424 * locale/setlocale.c (setdata): Likewise.
15425 * posix/regex_internal.h (re_string_char_size_at): Likewise.
15426 (re_string_wchar_at): Likewise.
15427 (bitset_not, bitset_merge, bitset_mask): Likewise.
15428 [!(__GNUC__ > 3)] (inline): Remove macro.
15429 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
15430 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
15431 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
15432 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
15433 * string/memcmp.c (memcmp_bytes): Likewise.
15434 * locale/programs/locarchive.c (compute_hashval): Likewise.
15435 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
15436 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
15437 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
15438 * nss/getent.c (print_rpc, print_protocols): Likewise.
15439 (print_passwd, print_group, print_aliases): Likewise.
15440 * nis/nss-nisplus.h (niserr2nss): Likewise.
15441 * nscd/connections.c (restart_p): Likewise.
15442 Change return type to bool.
15443
eab55bfb
RM
154442013-02-05 Roland McGrath <roland@hack.frob.com>
15445
7bd642f5
RM
15446 * Makeconfig (all-Depend-files): Add existing
15447 $(sorted-subdirs:=/Depend) files.
15448 (all-subdirs): Remove nss.
15449 * sysdeps/unix/inet/Subdirs: Add it here instead.
15450 * hesiod/Depend: New file.
15451
573c29b2
RM
15452 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
15453 instead of calling alloca.
15454
b2e25af0
RM
15455 * io/lseek.c (__lseek): Rename to __libc_lseek.
15456 Define __lseek as an alias.
15457
eab55bfb
RM
15458 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
15459
9a0d1941
CD
154602013-02-04 Carlos O'Donell <carlos@redhat.com>
15461
15462 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
15463 else clause and remove check for non-standard endianness.
15464
b83bbec4
DM
154652013-02-04 David S. Miller <davem@davemloft.net>
15466
15467 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15468
6277fdab
JM
154692013-02-04 Joseph Myers <joseph@codesourcery.com>
15470
15471 [BZ #13550]
15472 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
15473 (__ubp_memchr): Remove prototype.
15474 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
15475 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15476 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
15477 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15478 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
15479 Remove alias.
15480 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
15481 (__ubp_memchr): Likewise.
15482 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
15483 (__ubp_memchr): Likewise.
15484 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
15485 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
15486 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
15487 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
15488 CHECK_STRING.
15489 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15490 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
15491 (__getcwd): Do not use CHECK_STRING.
15492 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15493 <bp-checks.h>.
15494 (__real_chown): Do not use CHECK_STRING.
15495 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
15496 <bp-checks.h>.
15497 (fchownat): Do not use CHECK_STRING.
15498 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
15499 CHECK_STRING.
15500 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15501 <bp-checks.h>.
15502 (__lchown): Do not use CHECK_STRING.
15503 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15504 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15505 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15506 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
15507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15508 include <bp-checks.h>.
15509 (truncate64): Do not use CHECK_STRING.
15510 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15511 <bp-checks.h>.
15512 (__real_chown): Do not use CHECK_STRING.
15513 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15514 <bp-checks.h>.
15515 (__lchown): Do not use CHECK_STRING.
15516 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15517 <bp-checks.h>.
15518 (__chown): Do not use CHECK_STRING.
15519 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
15520 <bp-checks.h>.
15521 (truncate64): Do not use CHECK_STRING.
15522 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
15523 Likewise.
15524 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
15525 (__xmknod): Do not use CHECK_STRING.
15526 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15527 <bp-checks.h>.
15528 (__xmknodat): Do not use CHECK_STRING.
15529 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15530 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
15531
903ae060
AS
155322013-02-04 Andreas Schwab <schwab@suse.de>
15533
15534 [BZ #14142]
15535 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
15536 * include/netdb.h: Likewise for h_errno.
15537 * elf/tst-stackguard1.c: Include <tls.h>.
15538
542f9466
JK
155392013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15540
15541 * elf/link.h (struct link_map): Extend the l_addr comment.
15542 * include/link.h (struct link_map): Likewise.
15543
e782a927
JM
155442013-02-01 Joseph Myers <joseph@codesourcery.com>
15545
15546 [BZ #13550]
15547 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
15548 (BOUNDED_1): Remove macro.
15549 * debug/backtrace.c: Don't include <bp-checks.h>.
15550 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
15551 (__backtrace): Likewise.
15552 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
15553 <bp-checks.h>.
15554 (__backtrace): Don't use BOUNDED_1.
15555 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
15556 <bp-checks.h>.
15557 (__backtrace): Don't use BOUNDED_1.
15558 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
15559 (__backtrace): Don't use BOUNDED_1.
15560 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
15561 (shmat): Don't use BOUNDED_N.
15562
8cf28c5e
JM
155632013-01-31 Joseph Myers <joseph@codesourcery.com>
15564
3a7ac8a0
JM
15565 [BZ #13550]
15566 * sysdeps/generic/bp-start.h: Remove file.
15567 * csu/libc-start.c: Don't include <bp-start.h>.
15568 (LIBC_START_MAIN): Set up __environ directly instead of using
15569 INIT_ARGV_and_ENVIRON.
15570 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
15571 <bp-start.h>.
15572
f3499f95
JM
15573 [BZ #13550]
15574 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
15575 definitions.
15576 (CHECK_FCNTL): Likewise.
15577 (CHECK_N_PAGES): Likewise.
15578
32a45bea
JM
15579 [BZ #13550]
15580 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
15581 definitions.
15582 (CHECK_SIGSET_NULL_OK): Likewise.
15583 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
15584 <bp-checks.h>.
15585 (sigpending): Don't use CHECK_SIGSET.
15586 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
15587 <bp-checks.h>.
15588 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15589 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
15590 <bp-checks.h>.
15591 (do_sigsuspend): Don't use CHECK_SIGSET.
15592 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
15593 use CHECK_SIGSET.
15594 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
15595 (do_sigwait): Don't use CHECK_SIGSET.
15596 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
15597 use CHECK_SIGSET.
15598 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
15599 include <bp-checks.h>.
15600 (sigpending): Don't use CHECK_SIGSET.
15601 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
15602 include <bp-checks.h>.
15603 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15604 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
15605 <bp-checks.h>.
15606 (sigpending): Don't use CHECK_SIGSET.
15607 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
15608 <bp-checks.h>.
15609 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15610
2e8a5c8c
JM
15611 [BZ #13550]
15612 * sysdeps/generic/bp-semctl.h: Remove file.
15613 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
15614 <bp-checks.h> and <bp-semctl.h>.
15615 (__old_semctl): Don't use CHECK_SEMCTL.
15616 (__new_semctl): Likewise.
15617 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
15618 and <bp-semctl.h>.
15619 (__old_semctl): Don't use CHECK_SEMCTL.
15620 (__new_semctl): Likewise.
15621 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
15622 <bp-checks.h> and <bp-semctl.h>.
15623 (__old_semctl): Don't use CHECK_SEMCTL.
15624 (__new_semctl): Likewise.
15625 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
15626 <bp-checks.h> and <bp-semctl.h>.
15627 (semctl): Don't use CHECK_SEMCTL.
15628
c2d54929
JM
15629 [BZ #13550]
15630 * Makerules (elide-bp-thunks): Remove variable.
15631 (elide-routines.oS): Don't use $(elide-bp-thunks).
15632 (elide-routines.os): Likewise.
15633 (elide-routines.o): Likewise.
15634 (elide-routines.op): Likewise.
15635 (elide-routines.og): Likewise.
15636 (objects): Don't use $(bp-thunks).
15637 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
15638 include.
15639 (common-generated): Do not add s-proto-bp.d.
15640 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
15641 (int): Likewise.
15642 (typ): Likewise.
15643 Do not generate makefile rules for bounded-pointer thunks.
15644 * sysdeps/generic/bp-thunks.h: Remove file.
15645 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
15646 * sysdeps/unix/s-proto-bp.S: Likewise.
15647
8cf28c5e
JM
15648 [BZ #15062]
15649 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
15650 parts of result separately when argument is not close to line from
15651 -i to i and one part of argument is small.
15652 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15653 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15654 * math/libm-test.inc (cacos_test): Add more tests.
15655 (casin_test): Likewise.
15656 (casinh_test): Likewise.
15657 * sysdeps/i386/fpu/libm-test-ulps: Update.
15658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15659
c4e33b8d
DM
156602013-01-31 David S. Miller <davem@davemloft.net>
15661
15662 * po/de.po: Update from translation team.
15663
3b60b421
MK
156642013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
15665
15666 * time/tzfile.c: Include stdint.h for SIZE_MAX.
15667
bb931195
TS
156682013-01-25 Thomas Schwinge <thomas@codesourcery.com>
15669
b5a5da23
TS
15670 * configure.in (_AC_PROG_CC_C89): New definition.
15671 * configure: Regenerate.
15672
bb931195
TS
15673 * configure.in (AC_PROG_CPP): New definition.
15674 * configure: Regenerate.
15675
8c53a12c
JM
156762013-01-23 Joseph Myers <joseph@codesourcery.com>
15677
15678 * debug/tst-backtrace.h: New file.
15679 * debug/tst-backtrace2.c: Include tst-backtrace.h.
15680 (ret): Remove variable.
15681 (x): Likewise.
15682 (FAIL): Remove macro.
15683 (NO_INLINE): Likewise.
15684 (fn1): Use match function instead of strstr.
15685 * debug/tst-backtrace3.c: Include tst-backtrace.h.
15686 (ret): Remove variable.
15687 (x): Likewise.
15688 (FAIL): Remove macro.
15689 (NO_INLINE): Likewise.
15690 (fn): Use match function instead of strstr.
15691 * debug/tst-backtrace4.c: Include tst-backtrace.h.
15692 (ret): Remove variable.
15693 (x): Likewise.
15694 (FAIL): Remove macro.
15695 (NO_INLINE): Likewise.
15696 (handle_signal): Use match function instead of strstr.
15697 * debug/tst-backtrace5.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
4858fa2a
RM
157042013-01-23 Roland McGrath <roland@hack.frob.com>
15705
15706 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
15707
bae8e7f5
DM
157082013-01-23 David S. Miller <davem@davemloft.net>
15709
15710 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
15711 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
15712 argument of CAS if possible.
15713 * sysdeps/sparc/sparc64/bits/atomic.h
15714 (__arch_compare_and_exchange_val_32_acq): Likewise.
15715 (__arch_compare_and_exchange_val_64_acq): Likewise.
15716
9cbbc4ae
PT
157172013-01-23 Pino Toscano <toscano.pino@tiscali.it>
15718
15719 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
15720 * sysdeps/posix/ulimit.c: ... this.
92a601b8 15721 Include <limits.h>.
67b3f58c 15722 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 15723
5655a0b5
AC
157242013-01-23 Adam Conrad <adconrad@0c3.net>
15725
15726 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
15727 (LDFLAGS-tst-array5): Likewise.
15728
052aff95
JM
157292013-01-23 Joseph Myers <joseph@codesourcery.com>
15730
15731 [BZ #15036]
15732 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
15733 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
15734 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
15735 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
15736
7c1e01aa
DM
157372013-01-21 David S. Miller <davem@davemloft.net>
15738
15739 * sysdeps/sparc/backtrace.c: New file.
15740 * sysdeps/sparc/sparc32/backtrace.h: New file.
15741 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
15742 * sysdeps/sparc/sparc64/backtrace.h: New file.
15743 * sysdeps/sparc/sparc64/backtrace.c: Delete.
15744 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
15745 -funwind-tables.
15746
ab087e0a
AS
157472013-01-21 Andreas Schwab <schwab@suse.de>
15748
15749 [BZ #15020]
15750 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
15751 closed its stdout.
15752
ed689c2f
AS
157532013-01-20 Andreas Schwab <schwab@linux-m68k.org>
15754
15755 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
15756 "mpa2.h".
15757 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15758
31d470ac
JM
157592013-01-18 Joseph Myers <joseph@codesourcery.com>
15760 Mark Mitchell <mark@codesourcery.com>
15761 Tom de Vries <tom@codesourcery.com>
15762 Paul Pluzhnikov <ppluzhnikov@google.com>
15763
15764 * debug/tst-backtrace2.c: New file.
15765 * debug/tst-backtrace3.c: Likewise.
15766 * debug/tst-backtrace4.c: Likewise.
15767 * debug/tst-backtrace5.c: Likewise.
15768 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
15769 (CFLAGS-tst-backtrace3.c): Likewise.
15770 (CFLAGS-tst-backtrace4.c): Likewise.
15771 (CFLAGS-tst-backtrace5.c): Likewise.
15772 (LDFLAGS-tst-backtrace2): Likewise.
15773 (LDFLAGS-tst-backtrace3): Likewise.
15774 (LDFLAGS-tst-backtrace4): Likewise.
15775 (LDFLAGS-tst-backtrace5): Likewise.
15776 (tests): Add new tests tst-backtrace2, tst-backtrace3,
15777 tst-backtrace4 and tst-backtrace5.
15778
90567f30 157792013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
15780 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15781
15782 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
15783 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
15784 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
15785 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
15786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15787 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
15788 "+r" and remove output regs list as redundant. Add explicit inline
15789 asm to specify register of return val to work around compiler codegen
15790 bug. Remove (int) cast on return value. Add return type parameter to
15791 use in macro so that this macro does not truncate return value for
15792 64-bit values.
15793 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
15794 pass to INTERNAL_VSYSCALL_NCS.
15795 (INLINE_VSYSCALL): Add 'long int' as return type to
15796 INTERNAL_VSYSCALL_NCS macro invocation.
15797 (INTERNAL_VSYSCALL): Add 'long int' as return type to
15798 INTERNAL_VSYSCALL_NCS macro invocation.
15799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15800
d3b9ea61
SP
158012013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15802
0b57daeb
SP
15803 [BZ #14496]
15804 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
15805 Fix application of SIMD FP exception mask.
15806
caa99d06
SP
15807 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
15808 mp_no from a power of two.
15809 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
15810 __mpexp_twomm1. Use __pow_mp.
15811
d3b9ea61
SP
15812 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
15813 multiplication.
15814
1dbaee3c
DM
158152013-01-17 David S. Miller <davem@davemloft.net>
15816
15817 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15818
728d7b43
JM
158192013-01-17 Joseph Myers <joseph@codesourcery.com>
15820
15821 [BZ #15023]
15822 * include/complex.h: Condition contents on [!_COMPLEX_H].
15823 (__kernel_casinhf): New prototype.
15824 (__kernel_casinh): Likewise.
15825 (__kernel_casinhl): Likewise.
15826 * math/Makefile (libm_calls): Add k_casinh.
15827 * math/k_casinh.c: New file.
15828 * math/k_casinhf.c: Likewise.
15829 * math/k_casinhl.c: Likewise.
15830 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
15831 finite nonzero arguments.
15832 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
15833 finite nonzero arguments.
15834 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
15835 finite nonzero arguments.
15836 * math/s_casinh.c: Do not include <float.h>.
15837 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
15838 * math/s_casinhf.c: Do not include <float.h>.
15839 (__casinhf): Move code for finite nonzero arguments to
15840 k_casinhf.c.
15841 * math/s_casinhl.c: Do not include <float.h>.
15842 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
15843 redefine.
15844 (__casinhl): Move code for finite nonzero arguments to
15845 k_casinhl.c.
15846 * math/libm-test.inc (cacos_test): Add more tests.
15847 * sysdeps/i386/fpu/libm-test-ulps: Update.
15848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15849
2a26ef3a
PT
158502013-01-17 Pino Toscano <toscano.pino@tiscali.it>
15851
15852 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
15853 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
15854 [!HAVE_MREMAP]: Remove [defined linux] case.
15855 * malloc/arena.c: Do not include <malloc-sysdep.h>.
15856
a897655d
SP
158572013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15858
15859 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
15860
881ebe89 158612013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
15862
15863 * elf/elf.h (R_386_SIZE32): New relocation.
15864 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
15865 R_386_SIZE32.
15866 (elf_machine_rela): Likewise.
15867 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15868 R_X86_64_SIZE64 and R_X86_64_SIZE32.
15869
59981e9b
JM
158702013-01-17 Joseph Myers <joseph@codesourcery.com>
15871
15872 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
15873 (FP_FAST_FMA): Do not define.
15874 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
15875 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
15876 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
15877 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
15878 !_SOFT_FLOAT]: Likewise.
15879 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
15880 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
15881 value.
15882 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
15883 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
15884 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
15885 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
15886 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
15887 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
15888 file.
15889
cfa8054f
AS
158902013-01-16 Andreas Schwab <schwab@suse.de>
15891
15892 [BZ #14327]
15893 * include/stdlib.h (__mktemp): Add declaration.
15894 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
15895 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
15896
dd930cc5
SP
158972013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15898
881ebe89
SP
15899 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
15900 definitions.
15901 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15902 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
15903 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
15904 definitions here.
15905 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
15906 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
15907 definitions.
15908 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
15909 and ONE.
15910 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
15911 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
15912 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
15913 definitions.
15914 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
15915 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
15916 definitions.
15917 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 15918
dd930cc5
SP
15919 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
15920
c19a9f89
DM
159212013-01-15 David S. Miller <davem@davemloft.net>
15922
1aa61767
DM
15923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15924 trunc{,f} to libm-sysdep_routes.
15925 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
15927 file.
15928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
15929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
15930 file.
15931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
15932 file.
15933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
15934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
15935 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
15936 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
15937 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
15938 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
15939 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
15940 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
15941
c42d5e98
DM
15942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15943 nearbyint{,f} to libm-sysdep_routes.
15944 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
15946 New file.
15947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
15948 file.
15949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
15950 New file.
15951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
15952 file.
15953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
15954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
15955 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
15956 file.
15957 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
15958 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
15959 file.
15960 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
15961 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
15962 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
15963
c19a9f89
DM
15964 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15965 libc_feholdexcept and libc_fesetenv.
15966
357679d2
MF
159672013-01-15 Mike Frysinger <vapier@gentoo.org>
15968
15969 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
15970
65a82e3d
DM
159712013-01-14 David S. Miller <davem@davemloft.net>
15972
8b954ab9
DM
15973 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
15974 (SPARC_ASM_VIS2_IFUNC): Likewise.
15975 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
15976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
15977 use of 'siam' instruction.
15978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
15979 Likewise.
15980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
15981 Likewise.
15982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
15983 Likewise.
15984 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
15985 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15986 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
15987 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
15988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
15989 file.
15990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
15991 file.
15992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
15993 file.
15994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
15995 file.
15996 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
15997 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
15998 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
15999 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
16000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
16001 new VIS2 routines.
16002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16005 Likewise.
16006 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16007 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16008 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16009 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
16011 routines to libm-sysdep_routines.
16012 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16013
65a82e3d
DM
16014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
16015 fdim/fdimf to libm-sysdep_routines.
16016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
16017 file.
16018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
16019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
16020 file.
16021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
16022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
16023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
16024 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
16025 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
16026 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
16027 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
16028
e34ab705
SP
160292013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16030
2a91b573
SP
16031 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
16032 to optimize copies.
16033
1066a534
SP
16034 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
16035 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16036 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16037
e34ab705
SP
16038 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
16039 local variable MPTWO.
16040 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16041 Likewise.
16042
aba5e596
MF
160432013-01-13 Mike Frysinger <vapier@gentoo.org>
16044
16045 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
16046 GLOB_NOESCAPE.
16047
e557e9e5
MF
160482013-01-13 Mike Frysinger <vapier@gentoo.org>
16049
16050 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
16051
0428cec9
MF
160522013-01-13 Mike Frysinger <vapier@gentoo.org>
16053
16054 * manual/pattern.texi (glob_t): Document gl_flags.
16055 (glob64_t): Likewise.
16056
8794a964
DM
160572013-01-11 David S. Miller <davem@davemloft.net>
16058
66438c3f
RM
16059 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
16060 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
16061 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
16062 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
16063 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
16064 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
16065 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
16066 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
16067 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
16068 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
16069 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
16070 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
16071 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
16072
4ae4244d
DM
16073 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
16074 sparc V9 rather than using V8 code.
16075 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16076 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16077
8794a964
DM
16078 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16079 Move to...
16080 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
16081 Here.
16082
6270516e
RM
160832013-01-11 Roland McGrath <roland@hack.frob.com>
16084
16085 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
16086 not in the main loop.
16087 * configure: Regenerated.
16088
6a57d931
JM
160892013-01-11 Joseph Myers <joseph@codesourcery.com>
16090
16091 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
16092 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
16093 to just #else.
16094 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
16095 [!__GLIBC_HAVE_LONG_LONG] case.
16096 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
16097 condition to just #else.
16098 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
16099 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
16100 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
16101 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
16102 unconditional.
16103 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
16104 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
16105 #elif condition to just #else.
16106 * sysdeps/unix/sysv/linux/sys/sysmacros.h
16107 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
16108 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
16109 #elif condition to just #else.
16110
0e8529e9
SE
161112013-01-11 Steve Ellcey <sellcey@mips.com>
16112
16113 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
16114 (EF_MIPS_ARCH_64): Fix value.
16115 (EF_MIPS_ARCH_32R2): New.
16116 (EF_MIPS_ARCH_64R2): New.
16117
740b3dbe
L
161182013-01-11 H.J. Lu <hongjiu.lu@intel.com>
16119
16120 * Makeconfig (+link-pie-before-libc): New.
16121 (+link-pie-after-libc): Likewise.
16122 (+link-pie-tests): Likewise.
16123 (+link-pie): Rewritten.
16124 (link-before-libc): Remove $(config-LDFLAGS).
16125 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
16126 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
16127 (config-LDFLAGS): Renamed to ...
16128 (rtld-LDFLAGS): This.
16129 (rtld-tests-LDFLAGS): New macro.
16130 (link-libc-rpath-link): Likewise.
16131 (link-libc-tests-rpath-link): Likewise.
16132 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
16133 (link-libc): Prepand $(link-libc-rpath-link).
16134 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
16135 (test-program-prefix): New macro.
16136 (test-via-rtld-prefix): Likewise.
16137 (test-program-cmd): Likewise.
16138 (host-test-program-cmd): Likewise.
16139 * Makefile ($(common-objpfx)testrun.sh): Replace
16140 $(run-program-prefix) with $(test-program-prefix).
16141 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
16142 $(rtld-LDFLAGS).
16143 ($(common-objpfx)shlib.lds): Likewise.
16144 (build-module-helper): Likewise.
16145 ($(common-objpfx)format.lds): Likewise.
16146 * Rules (binaries-pie-tests): New.
16147 (binaries-pie-notests): Likewise.
16148 (binaries-pie): Rewritten.
16149 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
16150 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
16151 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
16152 (make-test-out): Replace $(host-built-program-cmd) with
16153 $(host-test-program-cmd).
16154 * config.make.in (build-hardcoded-path-in-tests): New variable.
16155 * configure.in (--enable-hardcoded-path-in-tests): New configure
16156 option.
16157 (hardcoded_path_in_tests): New AC_SUBST.
16158 * configure: Regenerated.
16159 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
16160 $(built-program-cmd) with $(test-program-cmd).
16161 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
16162 (test_program_cmd): This.
16163 * elf/Makefile ($(objpfx)order.out): Run test with
16164 $(test-program-prefix).
16165 ($(objpfx)order2.out): Likewise.
16166 ($(objpfx)tst-initorder.out): Likewise.
16167 ($(objpfx)tst-initorder2.out): Likewise.
16168 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
16169 $(test-program-cmd).
16170 ($(objpfx)tst-array1-static.out): Likewise.
16171 ($(objpfx)tst-array2.out): Likewise.
16172 ($(objpfx)tst-array3.out): Likewise.
16173 ($(objpfx)tst-array4.out): Likewise.
16174 ($(objpfx)tst-array5.out): Likewise.
16175 ($(objpfx)tst-array5-static.out): Likewise.
16176 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
16177 $(test-program-cmd).
16178 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
16179 $(run-program-prefix) with $(test-program-prefix).
16180 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
16181 (test_program_prefix): This.
16182 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
16183 $(run-program-prefix) with $(test-program-prefix).
16184 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
16185 (test_program_prefix): This.
16186 * iconvdata/tst-tables.sh: Likewise.
16187 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
16188 $(run-program-prefix) with $(test-program-prefix).
16189 ($(objpfx)tst-translit.out): Likewise.
16190 ($(objpfx)tst-gettext2.out): Likewise.
16191 ($(objpfx)tst-gettext4.out): Likewise.
16192 ($(objpfx)tst-gettext6.out): Likewise.
16193 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
16194 (test_program_prefix): This.
16195 * intl/tst-gettext2.sh: Likewise.
16196 * intl/tst-gettext4.sh Likewise.
16197 * intl/tst-gettext6.sh: Likewise.
16198 * intl/tst-translit.sh: Likewise.
16199 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
16200 with $(test-program-cmd).
16201 * libio/Makefile ($(objpfx)test-freopen.out): Replace
16202 $(run-program-prefix) with $(test-program-prefix).
16203 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
16204 (test_program_prefix): This.
16205 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
16206 $(run-program-prefix) with $(test-program-prefix).
16207 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
16208 (test_program_prefix): This.
16209 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
16210 * posix/Makefile ($(objpfx)globtest.out): Replace
16211 $(run-via-rtld-prefix) and $(test-wrapper) with
16212 $(test-program-prefix) and $(test-via-rtld-prefix).
16213 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
16214 $(test-program-prefix).
16215 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
16216 $(host-test-program-cmd).
16217 (tst-spawn-ARGS): Likewise.
16218 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
16219 $(test-program-prefix).
16220 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
16221 (test_via_rtld_prefix): This.
16222 (test_wrapper): Renamed to ...
16223 (test_program_prefix): This.
16224 (run_program_prefix): Replaced by test_program_prefix.
16225 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
16226 (test_program_prefix): This.
16227 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
16228 with $(host-test-program-cmd).
16229 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
16230 $(run-program-prefix) with $(test-program-prefix).
16231 ($(objpfx)tst-printf.out): Likewise.
16232 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
16233 $(test-program-cmd).
16234 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
16235 (test_program_prefix): This.
16236 * stdio-common/tst-unbputc.sh: Likewise.
16237 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
16238 $(run-program-prefix) with $(test-program-prefix).
16239 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
16240 (test_program_prefix): This.
16241 * string/Makefile ($(objpfx)tst-svc.out): Replace
16242 $(built-program-cmd) with $(test-program-cmd).
16243
c6fe55cf
AJ
162442013-01-11 Andreas Jaeger <aj@suse.de>
16245
16246 [BZ #15003]
16247 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
16248 value. Sync with Linux 3.7.
16249
9e6919c8
DM
162502013-01-10 David S. Miller <davem@davemloft.net>
16251
16252 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
16253 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16254 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16255
1c9f1a02
RM
162562013-01-10 Roland McGrath <roland@hack.frob.com>
16257
16258 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
16259 never set.
16260 * configure: Regenerated.
16261
b9de2dde
DM
162622013-01-10 David S. Miller <davem@davemloft.net>
16263
16264 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
16265 sparc V9 rather than using V8 code.
16266 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16267 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16268
e7f68ef4
RM
162692013-01-10 Roland McGrath <roland@hack.frob.com>
16270
16271 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
16272 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
16273 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
16274 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
16275 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
16276 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
16277 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
16278 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
16279 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
16280 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
16281 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
16282 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
16283 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
16284 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
16285 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
16286 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
16287 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
16288 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
16289 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
16290 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
16291 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
16292 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
16293 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
16294 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
16295 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
16296 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
16297 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
16298
5a47cc9c
DM
162992013-01-10 David S. Miller <davem@davemloft.net>
16300
16301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16302
4cf8f209
L
163032013-01-10 H.J. Lu <hongjiu.lu@intel.com>
16304
16305 * posix/Makefile (tests-static): New variable.
16306 (tests): Add $(tests-static).
16307 (tst-exec-static-ARGS): New variable.
16308 (tst-spawn-static-ARGS): Likewise.
16309 * posix/tst-exec-static.c: New file.
16310 * posix/tst-spawn-static.c: Likewise.
16311 * posix/tst-exec.c: Support run directly.
16312 * posix/tst-spawn.c: Likewise.
16313
fed0faa1
JM
163142013-01-10 Joseph Myers <joseph@codesourcery.com>
16315
828beb13
JM
16316 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
16317 long.
16318 * math/bits/mathcalls.h (llrint): Likewise.
16319 (llround): Likewise.
16320 * stdlib/stdlib.h (struct drand48_data): Likewise.
16321 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
16322 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
16323 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
16324 Likewise.
16325 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
16326 Likewise.
16327 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
16328 (elf_greg_t): Likewise.
16329 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
16330 (__jmp_buf): Likewise.
16331 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
16332 definitions.
16333 (llrint): Likewise, for all definitions.
16334 (llrintl): Likewise.
16335
fed0faa1
JM
16336 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
16337 Remove [__GNUC__] condition.
16338 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
16339 condition to just [__USE_ISOC99].
16340 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
16341
1a20cb20
L
163422013-01-10 H.J. Lu <hongjiu.lu@intel.com>
16343
16344 [BZ #14200]
16345 * sysdeps/unix/sysv/linux/x86/bits/environments.h
16346 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
16347 defined.
16348 (_POSIX_V6_ILP32_OFF32): Likewise.
16349 (_XBS5_ILP32_OFF32): Likewise.
16350 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
16351 (__ILP32_OFFBIG_LDFLAGS): Likewise.
16352
751b85f7
SP
163532013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16354
7490eb81
SP
16355 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
16356
751b85f7
SP
16357 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
16358 doubles __mpexp_twomm1. Adjust usage.
16359 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
16360 Remove.
16361
988197f0
AS
163622013-01-10 Andreas Schwab <schwab@suse.de>
16363
16364 [BZ #14964]
16365 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
16366 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
16367
e83d7298
DM
163682013-01-09 David S. Miller <davem@davemloft.net>
16369
034ed64b 16370 [BZ #15003]
e83d7298
DM
16371 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
16372 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
16373 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
16374 TCP_FASTOPEN): Define.
16375 (tcp_repair_opt): New structure.
16376 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
16377 enum values.
16378 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
16379 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
16380 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
16381 (tcp_cookie_transactions): New structure.
16382
d5e0b9bd
AB
163832013-01-09 Anton Blanchard <anton@samba.org>
16384
16385 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
16386 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
16387 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
16388 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
16389
0c07e3ea
JM
163902013-01-09 Joseph Myers <joseph@codesourcery.com>
16391
16392 * include/features.h (__USE_ANSI): Remove.
16393
232f7002
RM
163942013-01-09 Roland McGrath <roland@hack.frob.com>
16395
ad98e30c
RM
16396 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
16397
232f7002
RM
16398 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
16399
950c99ca
SP
164002013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
16401
b5792741
SP
16402 * sysdeps/s390/fpu/libm-test-ulps: Update.
16403
47cf2278
SP
16404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16405
950c99ca
SP
16406 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
16407 (__acr): Likewise.
16408 (__cpy): Likewise.
16409 (norm): Likewise.
16410 (denorm): Likewise.
16411 (__mp_dbl): Likewise.
16412 (__dbl_mp): Likewise.
16413 (add_magnitudes): Likewise.
16414 (sub_magnitudes): Likewise.
16415 (__add): Likewise.
16416 (__sub): Likewise.
16417 (__mul): Likewise.
16418 (__inv): Likewise.
16419 (__dvd): Likewise.
16420 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
16421 (__acr): Likewise.
16422 (__cpy): Likewise.
16423 (norm): Likewise.
16424 (denorm): Likewise.
16425 (__mp_dbl): Likewise.
16426 (__dbl_mp): Likewise.
16427 (add_magnitudes): Likewise.
16428 (sub_magnitudes): Likewise.
16429 (__add): Likewise.
16430 (__sub): Likewise.
16431 (__mul): Likewise.
16432 (__inv): Likewise.
16433 (__dvd): Likewise.
16434 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
16435 (__acr): Likewise.
16436 (__cpy): Likewise.
16437 (norm): Likewise.
16438 (denorm): Likewise.
16439 (__mp_dbl): Likewise.
16440 (__dbl_mp): Likewise.
16441 (add_magnitudes): Likewise.
16442 (sub_magnitudes): Likewise.
16443 (__add): Likewise.
16444 (__sub): Likewise.
16445 (__mul): Likewise.
16446 (__inv): Likewise.
16447 (__dvd): Likewise.
16448
eede9df9
JM
164492013-01-08 Joseph Myers <joseph@codesourcery.com>
16450
16451 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
16452 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
16453 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
16454 2 && __USE_EXTERN_INLINES]: Likewise.
16455
c40ea3d9
AJ
164562013-01-08 Andreas Jaeger <aj@suse.de>
16457
16458 [BZ# 14985]
16459 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
16460 Remove.
16461 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16462 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16463
2ccdea26
AB
164642013-01-07 Anton Blanchard <anton@samba.org>
16465
16466 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
16467 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16468 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
16469 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16470 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16471 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16472 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
16473 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16474 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16475 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16476 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16477 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16478 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16479 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16480 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16481 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16482 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16483 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16484 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16485 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16486 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16487 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
16488 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16489 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16490 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
16491 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16492 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16493 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16494 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
16495 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16496 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16497 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16498 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16499 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16500 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16501 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16502 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16503 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16504 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
16505 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16506 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
16507 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16508 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16509
a9708fed
JM
165102013-01-07 Joseph Myers <joseph@codesourcery.com>
16511
375607b9
JM
16512 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
16513 (__MALLOC_PMT): Likewise.
16514 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
16515 [__GNUC__], only on [_LIBC].
16516 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16517 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
16518 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16519 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
16520 forward declaration.
16521 (realloc_hook_ini): Likewise.
16522 (memalign_hook_ini): Likewise.
16523 (__libc_memalign): Do not use __MALLOC_PMT in variable
16524 declaration.
16525 (__libc_valloc): Likewise.
16526 (__libc_pvalloc): Likewise.
16527 (__libc_calloc): Likewise.
16528 (__posix_memalign): Likewise.
16529
a9708fed
JM
16530 [BZ #14996]
16531 * math/s_casinh.c: Include <float.h>.
16532 (__casinh): Do not do computation with squaring and square root
16533 for large arguments.
16534 * math/s_casinhf.c: Include <float.h>.
16535 (__casinhf): Do not do computation with squaring and square root
16536 for large arguments.
16537 * math/s_casinhl.c: Include <float.h>.
16538 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
16539 (__casinhl): Do not do computation with squaring and square root
16540 for large arguments.
16541 * math/libm-test.inc (casin_test): Add more tests.
16542 (casinh_test): Likewise.
16543 * sysdeps/i386/fpu/libm-test-ulps: Update.
16544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16545
afec409a
L
165462013-01-04 H.J. Lu <hongjiu.lu@intel.com>
16547
16548 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
16549 (__x86_64_raw_data_cache_size): Likewise.
16550 (__x86_64_data_cache_size_half): Likewise.
16551 (__x86_64_raw_data_cache_size_half): Likewise.
16552 (__x86_64_shared_cache_size): Likewise.
16553 (__x86_64_raw_shared_cache_size): Likewise.
16554 (__x86_64_shared_cache_size_half): Likewise.
16555 (__x86_64_raw_shared_cache_size_half): Likewise.
16556 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
16557 to ...
16558 (__x86_data_cache_size): This.
16559 (__x86_64_raw_data_cache_size): Renamed to ...
16560 (__x86_raw_data_cache_size): This.
16561 (__x86_64_data_cache_size_half): Renamed to ...
16562 (__x86_data_cache_size_half): This.
16563 (__x86_64_raw_data_cache_size_half): Renamed to ...
16564 (__x86_raw_data_cache_size_half): This.
16565 (__x86_64_shared_cache_size): Renamed to ...
16566 (__x86_shared_cache_size): This.
16567 (__x86_64_raw_shared_cache_size): Renamed to ...
16568 (__x86_raw_shared_cache_size): This.
16569 (__x86_64_shared_cache_size_half): Renamed to ...
16570 (__x86_shared_cache_size_half): This.
16571 (__x86_64_raw_shared_cache_size_half): Renamed to ...
16572 (__x86_raw_shared_cache_size_half): This.
16573 * sysdeps/x86_64/memcpy.S: Updated.
16574 * sysdeps/x86_64/memset.S: Likewise.
16575 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16576 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16577 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16578
0b3986d0
DM
165792013-01-04 David S. Miller <davem@davemloft.net>
16580
16581 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16582
e47686e9
AS
165832013-01-04 Andreas Schwab <schwab@linux-m68k.org>
16584
d643bac1
AS
16585 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
16586 1 to avoid redefinition warning.
16587 (__USE_GNU): Don't define.
16588 (init_signaling_nan): Protoize.
16589
e47686e9
AS
16590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16591
b18decba
SP
165922013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16593
fffb407f
SP
16594 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
16595 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
16596 (__cpymn): Likewise.
16597 (norm): Remove commented code.
16598 (denorm): Likewise.
16599 (__mp_dbl): Likewise.
16600 (__inv): Likewise.
16601 * sysdeps/powerpc/powerpc64/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
b18decba
SP
16608 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
16609 mp_no value for 1.0 and 2.0.
16610 (norm): Use RADIXI instead of radixi.d.
16611 (denorm): Likewise.
16612 (__mul): Use 0.0 instead of zero.d.
16613 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
16614 mp_no value for 1.0 and 2.0.
16615 (norm): Use RADIXI instead of radixi.d.
16616 (denorm): Likewise.
16617 (__mul): Use 0.0 instead of zero.d.
16618
cdc1c96f
JM
166192013-01-04 Joseph Myers <joseph@codesourcery.com>
16620
16621 [BZ #14994]
16622 * math/s_casinh.c (__casinh): Reduce finite argument to first
16623 quadrant then set signs of results at the end.
16624 * math/s_casinhf.c (__casinhf): Likewise.
16625 * math/s_casinhl.c (__casinhl): Likewise.
16626 * math/libm-test.inc (casin_test): Add more tests.
16627 (casinh_test): Likewise.
16628 * sysdeps/i386/fpu/libm-test-ulps: Update.
16629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16630
302913e1
SP
166312013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16632
6420d207
SP
16633 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
16634
a9e48ab4
SP
16635 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
16636
b7837264
SP
16637 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
16638 declarations.
16639 (denorm): Likewise.
16640 (__mp_dbl): Likewise.
16641 (__inv): Likewise.
16642
f8af25d2
SP
16643 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
16644 and adjust the header comment.
16645
302913e1
SP
16646 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
16647 variable name from declaration.
16648
5d7dd1ca
L
166492013-01-03 H.J. Lu <hongjiu.lu@intel.com>
16650
16651 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16652 Initialize COMMON_CPUID_INDEX_7 element.
16653 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
16654 (CPUID_RTM): Likewise.
16655 (HAS_RTM): Likewise.
16656 (COMMON_CPUID_INDEX_7): New enum.
16657
2f5f40f4
AS
166582013-01-03 Andreas Schwab <schwab@linux-m68k.org>
16659
16660 [BZ #14981]
16661 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
16662 size is zero, record memory as freed.
16663
4056f4a0
AJ
166642013-01-03 Andreas Jaeger <aj@suse.de>
16665
16666 * po/ia.po: Add new Interlingua translation.
16667
ab15736f 166682012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
16669
16670 * locale/programs/localedef.c: Fix description of '--posix' flag.
16671
568035b7
JM
166722013-01-02 Joseph Myers <joseph@codesourcery.com>
16673
e6898b8d
JM
16674 * NEWS: Update dates in second copyright notice.
16675 * README: Update copyright dates in example.
16676 * manual/libc.texinfo: Update copyright dates.
16677 * scripts/test-installation.pl: Update copyright date in --version
16678 output.
16679
0e2f9562
JM
16680 * hurd/ctty-input.c: Fix copyright notice formatting.
16681 * hurd/ctty-output.c: Likewise.
16682 * hurd/dtable.c: Likewise.
16683 * hurd/hurd-raise.c: Likewise.
16684 * hurd/hurdprio.c: Likewise.
16685 * hurd/msgportdemux.c: Likewise.
16686 * misc/sys/file.h: Likewise.
16687 * misc/sys/ioctl.h: Likewise.
16688 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16689 * sysdeps/mach/hurd/chdir.c: Likewise.
16690 * sysdeps/mach/hurd/fchdir.c: Likewise.
16691 * sysdeps/mach/hurd/rename.c: Likewise.
16692 * sysdeps/mach/hurd/rmdir.c: Likewise.
16693 * sysdeps/mach/hurd/seekdir.c: Likewise.
16694 * sysdeps/mach/hurd/setsid.c: Likewise.
16695 * sysdeps/posix/wait3.c: Likewise.
16696
568035b7
JM
16697 * All files with FSF copyright notices: Update copyright dates
16698 using scripts/update-copyrights.
16699 * intl/plural.c: Regenerated.
16700 * locale/programs/charmap-kw.h: Likewise.
16701 * locale/programs/locfile-kw.h: Likewise.
16702
da08f647
SP
167032013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16704
0f5477af
SP
16705 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
16706 four values.
16707
44e0d4c2
SP
16708 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
16709 calculation loop and add branch prediction.
16710
4d55b4e5
SP
16711 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
16712 check access beyond bounds of m1np.
16713
da08f647
SP
16714 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16715 MPTWO.
16716 (__inv): Remove local variable MPTWO to use the global
16717 constant.
16718 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
16719 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16720 variable MPTWO.
16721 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
16722 MP3HALFS static const.
16723
8e051029
DM
167242013-01-01 David S. Miller <davem@davemloft.net>
16725
16726 * po/ca.po: Update from translation team.
16727
f4cf5f2d
JM
167282013-01-01 Joseph Myers <joseph@codesourcery.com>
16729
16730 * scripts/update-copyrights: New file.
16731 * Makeconfig: Reformat copyright notice.
16732 * ctype/ctype.h: Likewise.
16733 * debug/swprintf_chk.c: Likewise.
16734 * elf/dl-cache.c: Likewise.
16735 * elf/dl-debug.c: Likewise.
16736 * elf/dl-object.c: Likewise.
16737 * grp/initgroups.c: Likewise.
16738 * hurd/Makefile: Likewise.
16739 * hurd/hurd/signal.h: Likewise.
16740 * hurd/hurdfault.c: Likewise.
16741 * hurd/hurdioctl.c: Likewise.
16742 * hurd/hurdlookup.c: Likewise.
16743 * hurd/intr-msg.c: Likewise.
16744 * iconv/gconv_open.c: Likewise.
16745 * libio/swprintf.c: Likewise.
16746 * locale/lc-ctype.c: Likewise.
16747 * locale/nl_langinfo.c: Likewise.
16748 * mach/Machrules: Likewise.
16749 * mach/Makefile: Likewise.
16750 * malloc/obstack.h: Likewise.
16751 * manual/Makefile: Likewise.
16752 * manual/tsort.awk: Likewise.
16753 * misc/bits/stab.def: Likewise.
16754 * nis/nis_print_group_entry.c: Likewise.
16755 * nis/nis_table.c: Likewise.
16756 * nis/nss_compat/compat-pwd.c: Likewise.
16757 * nis/nss_compat/compat-spwd.c: Likewise.
16758 * po/Makefile: Likewise.
16759 * posix/fnmatch.c: Likewise.
16760 * posix/regex.h: Likewise.
16761 * resolv/Makefile: Likewise.
16762 * resolv/nss_dns/dns-network.c: Likewise.
16763 * resolv/res_hconf.c: Likewise.
16764 * scripts/gen-sorted.awk: Likewise.
16765 * soft-fp/soft-fp.h: Likewise.
16766 * stdio-common/printf.h: Likewise.
16767 * stdlib/monetary.h: Likewise.
16768 * stdlib/random.c: Likewise.
16769 * stdlib/random_r.c: Likewise.
16770 * sysdeps/generic/Makefile: Likewise.
16771 * sysdeps/gnu/Makefile: Likewise.
16772 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16773 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16774 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16775 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16776 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16777 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16778 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16779 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16780 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16781 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16782 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16783 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16784 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16785 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16786 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16787 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16788 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16789 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16790 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16791 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16792 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16793 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16794 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16795 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16796 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
16797 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16798 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16799 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
16800 * sysdeps/mach/hurd/errnos.awk: Likewise.
16801 * sysdeps/mach/hurd/fork.c: Likewise.
16802 * sysdeps/mach/hurd/getcwd.c: Likewise.
16803 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
16804 * sysdeps/mach/hurd/mmap.c: Likewise.
16805 * sysdeps/mach/hurd/utimes.c: Likewise.
16806 * sysdeps/mach/hurd/xmknod.c: Likewise.
16807 * sysdeps/posix/profil.c: Likewise.
16808 * sysdeps/posix/readdir_r.c: Likewise.
16809 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16810 * sysdeps/powerpc/bits/setjmp.h: Likewise.
16811 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
16812 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16813 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16814 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16815 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16816 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16817 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16818 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16819 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16820 * sysdeps/pthread/lio_listio.c: Likewise.
16821 * sysdeps/sparc/dl-procinfo.h: Likewise.
16822 * sysdeps/unix/i386/sysdep.S: Likewise.
16823 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
16824 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
16825 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
16826 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
16827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16828 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16829 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16830 * sysdeps/unix/sysv/linux/speed.c: Likewise.
16831 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16832 * sysdeps/wordsize-32/divdi3.c: Likewise.
16833 * time/sys/time.h: Likewise.
16834 * wcsmbs/Makefile: Likewise.
16835
0549fbba
DM
168362013-01-01 David S. Miller <davem@davemloft.net>
16837
a141f1a7
DM
16838 * po/fr.po: Update from translation team.
16839
0549fbba
DM
16840 * catgets/gencat.c: Update copyright year.
16841 * csu/version.c: Likewise.
16842 * debug/catchsegv.sh: Likewise.
16843 * debug/pcprofiledump.c: Likewise.
16844 * debug/xtrace.sh: Likewise.
16845 * elf/ldconfig.c: Likewise.
16846 * elf/ldd.bash.in: Likewise.
16847 * elf/pldd.c: Likewise.
16848 * elf/sotruss.ksh: Likewise.
16849 * elf/sprof.c: Likewise.
16850 * iconv/iconv_prog.c: Likewise.
16851 * iconv/iconvconfig.c: Likewise.
16852 * locale/programs/locale.c: Likewise.
16853 * locale/programs/localedef.c: Likewise.
16854 * login/programs/pt_chown.c: Likewise.
16855 * malloc/memusage.sh: Likewise.
16856 * malloc/memusagestat.c: Likewise.
16857 * malloc/mtrace.pl: Likewise.
16858 * nscd/nscd.c: Likewise.
16859 * nss/getent.c: Likewise.
16860 * nss/makedb.c: Likewise.
16861 * posix/getconf.c: Likewise.
16862
18ea052c
SP
168632012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16864
16865 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
16866 numbers.
16867
9c89fca6
MF
168682012-12-30 Mike Frysinger <vapier@gentoo.org>
16869
16870 * math/bits/mathcalls.h (modf): Use __nonnull.
16871
085ec079
SP
168722012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16873
16874 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
16875 (split): Use macro CN instead of the bare value.
16876 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
16877 could be used.
16878 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
16879 instead of the bare value.
16880 (power1): Likewise.
16881
6d9f97e1
SP
168822012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16883
d63f73be
SP
16884 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
16885 __ATAN_TWOM.
16886 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16887
6d9f97e1
SP
16888 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
16889 their values.
16890 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16891 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16892 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
16893 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
16894
4c4febf5
AJ
168952012-12-28 Andreas Jaeger <aj@suse.de>
16896
af5843ef
AJ
16897 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
16898 values are from Linux 3.7.
16899
4c4febf5
AJ
16900 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
16901 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
16902
99136f82
SP
169032012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16904
2f216c3c 16905 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
16906 TRUE case.
16907
99136f82
SP
16908 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
16909 (norm): Likewise.
16910 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
16911 variables with preprocessor constants.
16912 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16913 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16914 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16915
7fffbdff
BH
169162012-12-27 Bruno Haible <bruno@clisp.org>
16917
16918 [BZ #14317]
16919 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
16920 only if needed.
16921
b76eb5f0
SP
169222012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16923
31a7fe5c
SP
16924 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
16925 and use variable directly.
16926 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
16927
b76eb5f0
SP
16928 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16929 MPONE.
16930 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
16931 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16932 variable MPONE.
16933 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16934 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16935 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
16936 include directive. Remove local variable MPONE.
16937 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
16938 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
16939 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16940
2c8bfe7d
DM
169412012-12-25 David S. Miller <davem@davemloft.net>
16942
16943 * version.h (RELEASE): Set to "development".
16944 (VERSION): Set to "2.17.90".
16945 * NEWS: Add 2.18 section.
16946
147d03b0
DM
169472012-12-21 David S. Miller <davem@davemloft.net>
16948
16949 * po/hr.po: Update from translation team.
16950
a8ebb2b9
AK
169512012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16952
16953 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
16954
95b4f1b6
SE
169552012-12-19 Steve Ellcey <sellcey@mips.com>
16956
b2d94007 16957 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 16958
cedb2a90
MS
169592012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16960
16961 * manual/contrib.texi (Contributors): Spelling correction.
16962
bbf527d6
DM
169632012-12-15 David S. Miller <davem@davemloft.net>
16964
16965 * po/ru.po: Update from translation team.
16966
bc38c906
DM
169672012-12-13 David S. Miller <davem@davemloft.net>
16968
85429b1a
DM
16969 * NEWS: Mention IFUNC testsuite enhancements.
16970
d283e353
DM
16971 * po/pl.po: Update from translation team.
16972 * po/bg.po: Likewise.
16973
bc38c906
DM
16974 * manual/contrib.texi (Contributors): Update entries for Hongjiu
16975 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
16976
a181b0d7
DM
169772012-12-11 David S. Miller <davem@davemloft.net>
16978
4641d57e
DM
16979 * po/sv.po: Update from translation team.
16980
f7bc6495
DM
16981 * po/vi.po: Update from translation team.
16982
6fc9048f
DM
16983 * po/cs.po: Update from translation team.
16984
a181b0d7
DM
16985 * po/de.po: Update from translation team.
16986 * po/eo.po: Likewise.
16987 * po/nl.po: Likewise.
16988
f70bfe80
SP
169892012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16990
3c8b4190
SP
16991 [BZ #14246]
16992 * manual/argp.texi (Argp Helper Functions): Move node to follow
16993 Argp Parsing State.
16994
f70bfe80
SP
16995 [BZ #14872]
16996 * manual/conf.texi (Limits on File System Capacity): Mention if
16997 terminating null is included in the max size.
16998
188f0adf
AJ
169992012-12-10 Andreas Jaeger <aj@suse.de>
17000
17001 * po/cs.po: Update from translation team.
17002
56e7d3ad
SP
170032012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17004
17005 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
17006 void pointer and cast to uintptr_t.
17007 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
17008 path.
17009 * sysdeps/s390/s390-64/memcpy.S: Likewise.
17010 * sysdeps/s390/s390-64/memset.S: Likewise.
17011
76f2d2ea 170122012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
17013
17014 [BZ #14833]
17015 * menual/message.texi (Message Translation): Fix typos.
17016 (Helper programs for gettext): Likewise.
17017
67cbf9a2
AS
170182012-12-07 Andreas Schwab <schwab@linux-m68k.org>
17019
17020 [BZ #14898]
17021 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
17022 Change to -1.
17023
682d0e9a
DM
170242012-12-07 David S. Miller <davem@davemloft.net>
17025
17026 * po/libc.pot: Update.
17027
573cd484
RH
170282012-12-07 Richard Henderson <rth@redhat.com>
17029
7e9da188 17030 [BZ #10114]
573cd484
RH
17031 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
17032 normal/normal case to before the switch.
17033 (_FP_DIV): Likewise.
17034
e933a943
MF
170352012-12-06 Carlos O'Donell <carlos@systemhalted.org>
17036 Mike Frysinger <vapier@gentoo.org>
17037
17038 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
17039 check for __NR_fadvise64_64.
17040
82123268
CM
170412012-12-06 Chris Metcalf <cmetcalf@tilera.com>
17042
17043 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
17044 0, not just to plain "0" as a statement.
17045 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
17046 with cw.
17047
d9814526
JM
170482012-12-06 Joseph Myers <joseph@codesourcery.com>
17049
17050 * NEWS: Use sourceware.org in Bugzilla URL.
17051
7728c574
SP
170522012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17053
f16946dd
SP
17054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17055 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
17056
5704bbcb
SP
17057 * stdio-common/tst-put-error.c (do_test): Add newline to the
17058 padded test to ensure flush.
17059
17aa0516
JL
170602012-12-05 Jeff Law <law@redhat.com>
17061
17062 * sunrpc/etc.rpc (fedfs_admin): Add entry.
17063
363313b5
JM
170642012-12-05 Joseph Myers <joseph@codesourcery.com>
17065
effbd42a
JM
17066 * README: Don't refer to ports add-on as distributed separately.
17067 Mention AArch64 in list of systems supported in the ports add-on.
17068
87600365
JM
17069 * LICENSES: Add more non-FSF copyright and license notices.
17070
a0d7066a
JM
17071 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
17072 ((unused)).
17073
66ca5a5b
JM
17074 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
17075
363313b5
JM
17076 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
17077 10000 as width of padded output.
17078
b37984ad
JM
170792012-12-04 Joseph Myers <joseph@codesourcery.com>
17080
9003570a
JM
17081 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
17082
b37984ad
JM
17083 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
17084 variable LX with __attribute__ ((unused)).
17085 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17086 Likewise.
17087 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17088 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17089 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
17090 with __attribute__ ((unused)).
17091
c8df52ec
DM
170922012-12-04 David S. Miller <davem@abraco.davemloft.net>
17093
17094 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
17095
b3b099af
JM
170962012-12-04 Joseph Myers <joseph@codesourcery.com>
17097
c33aa6e3
JM
17098 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
17099 (CFLAGS-nldbl-acos.c): New variable.
17100 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
17101 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
17102 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
17103 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
17104 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
17105 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
17106 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
17107 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
17108 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
17109 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
17110 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
17111 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
17112 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
17113 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
17114 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
17115 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
17116 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
17117 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
17118 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
17119 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
17120 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
17121 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
17122 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
17123 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
17124 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
17125 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
17126 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
17127 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
17128 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
17129 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
17130 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
17131 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
17132 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
17133 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
17134 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
17135 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
17136 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
17137 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
17138 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
17139 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
17140 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
17141 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
17142 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
17143 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
17144 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
17145 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
17146 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
17147 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
17148 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
17149 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
17150 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
17151 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
17152 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
17153 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
17154 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
17155 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
17156 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
17157 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
17158 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
17159 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
17160 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
17161 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
17162 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
17163 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
17164 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
17165 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
17166 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
17167 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
17168 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
17169 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
17170 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
17171 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
17172 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
17173 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
17174 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
17175 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
17176 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
17177 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
17178 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
17179 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
17180 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
17181 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
17182 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
17183 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
17184 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
17185 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
17186 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
17187 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
17188 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
17189 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
17190 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
17191 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
17192 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
17193 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
17194 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
17195 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
17196 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
17197
20f0018d
JM
17198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17199 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
17200
b3b099af
JM
17201 [BZ #14914]
17202 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
17203 whole low double instead of just low 47 bits when splitting values
17204 into two parts.
17205
029264d1
AM
172062012-12-03 Allan McRae <allan@archlinux.org>
17207
17208 * manual/stdio.texi (Predefined Printf Handlers): Remove
17209 @hsep and @vsep usage.
17210
c9d6789e
MF
172112012-12-03 Mike Frysinger <vapier@gentoo.org>
17212
17213 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
17214 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
17215
4b7634a5
JL
172162012-12-03 Jeff Law <law@redhat.com>
17217
17218 * time/sys/time.h (settimeofday): Do not mark TV argument
17219 as __nonnull.
17220
eb6cbd24
MF
172212012-12-01 Mike Frysinger <vapier@gentoo.org>
17222
17223 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
17224 when currently writing and seek to current position when not.
17225 * libio/Makefile (tests): Remove bug-fclose1.
17226 * libio/bug-fclose1.c: Delete.
17227
f638872a
JM
172282012-12-01 Joseph Myers <joseph@codesourcery.com>
17229
17230 * manual/arith.texi (feenableexcept): Fix typo.
17231 (fedisableexcept): Likewise.
17232
48085d14
RM
172332012-11-30 Roland McGrath <roland@hack.frob.com>
17234
17235 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
17236 second, differently-typed declaration, rather than a cast.
17237
1a538b9f
SP
172382012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17239
17240 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
17241 * include/rpc/svc.h: ... here.
17242
d07f2ff1 172432012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
17244
17245 [BZ #13013]
17246 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
17247 depending n and resplen2 to catch cases where answer
17248 equals answerp2.
17249
c93ec1f0
CD
172502012-11-29 Carlos O'Donell <carlos@systemhalted.org>
17251
17252 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
17253 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
17254
37db69de
MF
172552012-11-29 Mike Frysinger <vapier@gentoo.org>
17256
17257 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
17258
e10c4e4f
RM
172592012-11-29 Roland McGrath <roland@hack.frob.com>
17260
17261 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
17262
2af1b328
JL
172632012-11-28 Jeff Law <law@redhat.com>
17264
17265 [BZ #13761]
17266 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
17267 dataset_temporary. Track alloca usage into alloca_used.
17268 If dataset is large allocate and release it via malloc/free.
17269
111db5b1
FW
172702012-06-04 Florian Weimer <fweimer@redhat.com>
17271
f06cc227 17272 [BZ #14197]
111db5b1
FW
17273 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
17274
dd694abd
DM
172752012-11-28 David S. Miller <davem@davemloft.net>
17276
17277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17278
9984dd01
JM
172792012-11-28 Joseph Myers <joseph@codesourcery.com>
17280
17281 [BZ #14803]
17282 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
17283 of pi/2 rounded to nearest to 64 bits.
17284 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
17285 nearest to 64 bits.
17286 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
17287 bits.
17288
14bc93a9
JL
172892012-11-28 Jeff Law <law@redhat.com>
17290 Martin Osvald <mosvald@redhat.com>
17291
17292 [BZ #14889]
17293 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
17294 * sunrpc/svc.c: Include time.h.
17295 (__svc_accept_failed): New function.
17296 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
17297 any reason other than EINTR, call __svc_accept_failed.
17298 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
17299 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
17300
e3c6aa3a
AS
173012012-11-28 Andreas Schwab <schwab@suse.de>
17302
17303 * scripts/abilist.awk: Also handle indirect functions in .opd
17304 section.
17305
1bead169
JM
173062012-11-28 Joseph Myers <joseph@codesourcery.com>
17307
17308 [BZ #13881]
17309 * sysdeps/x86/fpu/powl_helper.c: New file.
17310 * sysdeps/x86/fpu/Makefile: Likewise.
17311 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
17312 (p3): New object.
17313 (__ieee754_powl): Use __powl_helper for finite arguments except
17314 integer exponents below 8.
17315 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
17316 (p3): New object.
17317 (__ieee754_powl): Use __powl_helper for finite arguments except
17318 integer exponents below 8.
17319 * math/libm-test.inc (pow_test): Add more tests and enable some
17320 previously disabled tests.
17321 * sysdeps/i386/fpu/libm-test-ulps: Update.
17322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17323
0817d63d
SP
173242012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17325 Carlos O'Donell <carlos_odonell@mentor.com>
17326
17327 * nss/makedb.c (is_prime): Assert that input is odd and greater
17328 than 4. Note that fact in a comment too.
17329 (next_prime): Add 4 to input.
17330
de2fd463
SP
173312012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17332
17333 [BZ #11741]
17334 * libio/Makefile (tests): Add test case tst-fwrite-error.
17335 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
17336 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
17337 * libio/tst-fwrite-error.c: New test case.
17338
c515fb51
L
173392012-11-26 H.J. Lu <hongjiu.lu@intel.com>
17340
17341 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
17342 before casting to void *.
17343 * include/libc-internal.h (__pointer_type): New macro.
17344 (__integer_if_pointer_type_sub): Likewise.
17345 (__integer_if_pointer_type): Likewise.
17346 (cast_to_integer): Likewise.
17347 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
17348 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
17349 before casting to atomic64_t.
17350 (atomic_exchange_acq): Likewise.
17351 (__arch_exchange_and_add_body): Likewise.
17352 (__arch_add_body): Likewise.
17353 (atomic_add_negative): Likewise.
17354 (atomic_add_zero): Likewise.
17355
4cf77aa9
JM
173562012-11-26 Joseph Myers <joseph@codesourcery.com>
17357
17358 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
17359 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
17360 (add_fdes): Likewise.
17361 (linear_search_fdes): Likewise.
17362 (binary_search_unencoded_fdes): Likewise.
17363
d260b3b4
AS
173642012-11-26 Andreas Schwab <schwab@linux-m68k.org>
17365
17366 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
17367
67060746
AC
173682012-11-24 Adam Conrad <adconrad@0c3.net>
17369
17370 * configure.in: Autodetect C++ header directories.
17371 * configure: Regenerated.
17372
800938a1
MF
173732012-11-23 Mike Frysinger <vapier@gentoo.org>
17374
17375 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
17376
4e6e34e6
AS
173772012-11-23 Andreas Schwab <schwab@linux-m68k.org>
17378
17379 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17380
7c7feb47
JM
173812012-11-22 Joseph Myers <joseph@codesourcery.com>
17382
7184dcdf
JM
17383 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
17384 LDBL_MANT_DIG == 106]: Disable some tests.
17385 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17386 Likewise.
17387 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17388 Likewise.
17389
0a42601f
JM
17390 [BZ #14871]
17391 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
17392 input for small inputs. Return +/- pi/2 for large inputs.
17393 * math/libm-test.inc (atan_test): Add more tests.
17394
79c9b9fe
JM
17395 * sysdeps/generic/unwind-dw2-fde-glibc.c
17396 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
17397 __attribute__ ((unused)).
17398
c60d3bf2
JM
17399 [BZ #14645]
17400 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
17401 x * y if x and y are nonzero and z is zero.
17402
ef1e0867
JM
17403 [BZ #14811]
17404 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
17405 nonzero exponents with absolute value below 0x1p-117 to +/-
17406 0x1p-117.
17407
1468ded3
JM
17408 [BZ #14869]
17409 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
17410 up arguments below 2**-450, not just those below 2**-500.
17411 * math/libm-test.inc (hypot_test): Add another test.
17412
8e27e3cc
JM
17413 [BZ #14868]
17414 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
17415 Return a+b for ratio over 2**120, not 2**60.
17416 * math/libm-test.inc (hypot_test): Add another test.
17417
c9c0279b
JM
17418 * math/libm-test.inc (clog_test): Use
17419 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
17420 (clog10_test): Likewise.
17421
7c7feb47
JM
17422 [BZ #6778]
17423 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
17424
fff1530e
AS
174252012-11-22 Andreas Schwab <schwab@suse.de>
17426
17427 * sysdeps/i386/fpu/libm-test-ulps: Update.
17428
94558d30
PT
174292012-11-22 Pino Toscano <toscano.pino@tiscali.it>
17430
17431 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
17432 printf output with newline.
17433
7e1be741
L
174342012-11-21 H.J. Lu <hongjiu.lu@intel.com>
17435
6bfea974
L
17436 [BZ #14865]
17437 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
17438 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
17439 -z nodlopen, -z initfirst and -z execstack support.
17440 * configure: Regenerated.
17441
7e1be741
L
17442 * elf/elf.h (DF_1_NODIRECT): New macro.
17443 (DF_1_IGNMULDEF): Likewise.
17444 (DF_1_NOKSYMS): Likewise.
17445 (DF_1_NOHDR): Likewise.
17446 (DF_1_EDITED): Likewise.
17447 (DF_1_NORELOC): Likewise.
17448 (DF_1_SYMINTPOSE): Likewise.
17449 (DF_1_GLOBAUDIT): Likewise.
17450 (DF_1_SINGLETON): Likewise.
17451 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
17452 DT_1_SUPPORTED_MASK bits.
17453 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
17454
105ce2ce
CD
174552012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
17456
17457 * sysdeps/unix/make-syscalls.sh: Document prefixes.
17458
123be9de
TS
174592012-11-20 Thomas Schwinge <thomas@codesourcery.com>
17460
d072f3f7
TS
17461 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
17462 macro.
17463
123be9de
TS
17464 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
17465 (sendmmsg): Move declarations...
17466 * socket/sys/socket.h: ... here.
17467 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
17468 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
17469 include it from...
17470 * socket/recvmmsg.c: ... this new file.
17471 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
17472 (sendmmsg): Rename to __sendmmsg, create weak alias and make
17473 definition of __sendmmsg hidden.
17474 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17475 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
17476 Move ENOSYS stub into and include it from...
17477 * socket/sendmmsg.c: ... this new file.
17478 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
17479 (sysdep_routines): Move recvmmsg and sendmmsg...
17480 * socket/Makefile (routines): ... here.
17481 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
17482 (GLIBC_PRIVATE): Add __sendmmsg.
17483 * include/sys/socket.h (__sendmmsg): Add declarations.
17484 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
17485 sendmmsg.
17486
cf9a5d18
JM
174872012-11-20 Joseph Myers <joseph@codesourcery.com>
17488
17489 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
17490 variable I1 with __attribute__ ((unused)).
17491 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17492
ecd4caf9
JM
174932012-11-19 Joseph Myers <joseph@codesourcery.com>
17494
be14d48f
JM
17495 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
17496 DUMMY variables with __attribute__ ((unused)).
17497
ecd4caf9
JM
17498 * bits/byteswap.h: Include <bits/types.h>.
17499 (__bswap_64): Use __uint64_t instead of unsigned long long int.
17500
986cab95
PT
175012012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17502
17503 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
17504 string_t. Do not manually set errno.
17505 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
17506 length with __strnlen. Make sure to both set errno and return it on
17507 failure.
17508
6d33cc9d
DM
175092012-11-19 David S. Miller <davem@davemloft.net>
17510
17511 With help from Joseph Myers.
17512 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
17513 very large arguments properly.
17514 * math/libm-test.inc (atan_test): New tests.
17515 (atan2_test): New tests.
17516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17517 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17518
ee663277
JM
175192012-11-19 Joseph Myers <joseph@codesourcery.com>
17520
877f2d8e
JM
17521 [BZ #14856]
17522 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
17523 Define to 3.
17524
116fc08a
JM
17525 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
17526 [POSIX] (EADDRNOTAVAIL): Likewise.
17527 [POSIX] (EAFNOSUPPORT): Likewise.
17528 [POSIX] (EALREADY): Likewise.
17529 [POSIX] (ECONNABORTED): Likewise.
17530 [POSIX] (ECONNREFUSED): Likewise.
17531 [POSIX] (ECONNRESET): Likewise.
17532 [POSIX] (EDESTADDRREQ): Likewise.
17533 [POSIX] (EDQUOT): Likewise.
17534 [POSIX] (EHOSTUNREACH): Likewise.
17535 [POSIX] (EIDRM): Likewise.
17536 [POSIX] (EISCONN): Likewise.
17537 [POSIX] (ELOOP): Likewise.
17538 [POSIX] (EMULTIHOP): Likewise.
17539 [POSIX] (ENETDOWN): Likewise.
17540 [POSIX] (ENETUNREACH): Likewise.
17541 [POSIX] (ENOBUFS): Likewise.
17542 [POSIX] (ENODATA): Likewise.
17543 [POSIX] (ENOLINK): Likewise.
17544 [POSIX] (ENOMSG): Likewise.
17545 [POSIX] (ENOPROTOOPT): Likewise.
17546 [POSIX] (ENOSR): Likewise.
17547 [POSIX] (ENOSTR): Likewise.
17548 [POSIX] (ENOTCONN): Likewise.
17549 [POSIX] (ENOTSOCK): Likewise.
17550 [POSIX] (EOPNOTSUPP): Likewise.
17551 [POSIX] (EOVERFLOW): Likewise.
17552 [POSIX] (EPROTO): Likewise.
17553 [POSIX] (EPROTONOSUPPORT): Likewise.
17554 [POSIX] (EPROTOTYPE): Likewise.
17555 [POSIX] (ESTALE): Likewise.
17556 [POSIX] (ETIME): Likewise.
17557 [POSIX] (ETXTBSY): Likewise.
17558 [POSIX] (EWOULDBLOCK): Likewise.
17559 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
17560 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
17561 [POSIX] (SEEK_CUR): Likewise.
17562 [POSIX] (SEEK_END): Likewise.
17563 [POSIX || UNIX98] (mode_t): Do not require.
17564 [POSIX] (off_t): Likewise.
17565 [POSIX] (pid_t): Likewise.
17566 [POSIX] (sys/stat.h): Do not allow header.
17567 [POSIX] (unistd.h): Likewise.
17568 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
17569 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
17570 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
17571 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
17572 require.
17573 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
17574 sigevent): Specify elements.
17575 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
17576 entry.
17577 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
17578 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
17579
a483863f
JM
17580 * conform/data/cpio.h-data [POSIX]: Disable whole file.
17581 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
17582 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
17583 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
17584 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
17585 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
17586 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
17587 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
17588 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
17589 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
17590 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
17591 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
17592 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
17593 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
17594 Likewise.
17595 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
17596 Likewise.
17597 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
17598 Likewise.
17599 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
17600 Likewise.
17601 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
17602 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
17603 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
17604 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
17605 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
17606 Specify lower bound on value.
17607 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
17608 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
17609 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
17610 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
17611 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
17612 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
17613 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
17614 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
17615 value.
17616 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
17617 as optional.
17618 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
17619 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
17620 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
17621 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
17622 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
17623 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
17624 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
17625 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
17626 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
17627 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
17628 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
17629 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
17630 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
17631 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
17632 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
17633 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
17634 entry.
17635 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
17636 optional.
17637 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
17638 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
17639 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
17640 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
17641 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
17642 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
17643 Likewise.
17644 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
17645 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
17646 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
17647 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
17648 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
17649 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
17650 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
17651 as optional.
17652 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
17653 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
17654 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
17655 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
17656 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
17657 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
17658 specify as optional.
17659 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
17660 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
17661 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
17662 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
17663 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
17664 [XPG3] (NL_LANGMAX): Likewise.
17665 [POSIX || XPG3] (NL_MSGMAX): Likewise.
17666 [POSIX || XPG3] (NL_NMAX): Likewise.
17667 [POSIX || XPG3] (NL_SETMAX): Likewise.
17668 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
17669 [XPG3] (NZERO): Likewise.
17670 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
17671 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
17672 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
17673 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
17674 (REG_ERANGE): Expect.
17675 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
17676 optional-constant.
17677 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
17678 Use (void) in prototype.
17679 [POSIX] (*_t): Allow.
17680 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
17681 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
17682 (WRDE_BADVAL): Expect.
17683
5ba924e3
JM
17684 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
17685 expect.
17686 [XPG3 || XPG4] (O_RSYNC): Likewise.
17687 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
17688 Likewise.
17689 [XPG3 || XPG4] (pthread_sigmask): Likewise.
17690 [XPG3 || XPG4] (sigqueue): Likewise.
17691 [XPG3 || XPG4] (sigtimedwait): Likewise.
17692 [XPG3 || XPG4] (sigwaitinfo): Likewise.
17693 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
17694 [XPG3 || XPG4] (vsnprintf): Likewise.
17695 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
17696 Likewise.
17697 [XPG3 || XPG4] (blksize_t): Likewise.
17698 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
17699 Likewise.
17700 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
17701 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17702 [XPG3 || XPG4] (struct itimerspec): Likewise.
17703 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
17704 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
17705 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
17706 [XPG3 || XPG4] (clockid_t): Likewise.
17707 [XPG3 || XPG4] (timer_t): Likewise.
17708 [XPG3 || XPG4] (clock_getres): Likewise.
17709 [XPG3 || XPG4] (clock_gettime): Likewise.
17710 [XPG3 || XPG4] (clock_settime): Likewise.
17711 [XPG3 || XPG4] (nanosleep): Likewise.
17712 [XPG3 || XPG4] (timer_create): Likewise.
17713 [XPG3 || XPG4] (timer_delete): Likewise.
17714 [XPG3 || XPG4] (timer_gettime): Likewise.
17715 [XPG3 || XPG4] (timer_getoverrun): Likewise.
17716 [XPG3 || XPG4] (timer_settime): Likewise.
17717 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
17718 [XPG3 || XPG4] (getlogin_r): Likewise.
17719 [XPG3 || XPG4] (pread): Likewise.
17720 [XPG3 || XPG4] (pthread_atfork): Likewise.
17721 [XPG3 || XPG4] (pwrite): Likewise.
17722
ee663277
JM
17723 [BZ #14835]
17724 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
17725 <bits/siginfo.h>.
17726
942caa16
PT
177272012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17728
e19af380
PT
17729 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
17730 finalizing MALLSTREAM.
17731
942caa16
PT
17732 * sysdeps/mach/hurd/syncfs.c: New file.
17733
cfde9b46
SP
177342012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17735
17736 [BZ #14719]
17737 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
17738 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
17739 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
17740 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
17741 (_nss_dns_gethostbyname4_r): Likewise.
17742 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
17743 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
17744
f6da27e5
PH
177452012-11-19 Peng Haitao <penght@cn.fujitsu.com>
17746
17747 [BZ #13763]
17748 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
17749
6665d4a2
SM
177502012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
17751
1f51ee92
SM
17752 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
17753 * elf/cache.c (print_entry): Print ",AArch64" for
17754 FLAG_AARCH64_LIB64
17755
6665d4a2
SM
17756 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
17757 * elf/cache.c (print_entry): Print ",hard-float" for
17758 FLAG_ARM_LIBHF.
17759
05b227bd
DM
177602012-11-18 David S. Miller <davem@davemloft.net>
17761
17762 With help from Joseph Myers.
17763 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
17764 cutoff to 2**-13.
17765 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
17766 cutoff to 2**-25.
17767 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
17768 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
17769 small.
17770 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
17771 * math/libm-test.inc (y0_test): New tests.
17772 (y1_test): New tests.
17773 * sysdeps/i386/fpu/libm-test-ulps: Update.
17774 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17775 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17776
786b0b67
AS
177772012-11-18 Andreas Schwab <schwab@linux-m68k.org>
17778
17779 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
17780 64-bit targets.
17781 * configure: Regenerated.
17782
8e18b86d
DM
177832012-11-17 David S. Miller <davem@davemloft.net>
17784
17785 [BZ #14811]
17786 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
17787 nonzero exponents with absolute value below 0x1p-128 to +/-
17788 0x1p-128.
17789
531f1ae0
JM
177902012-11-17 Joseph Myers <joseph@codesourcery.com>
17791
12df29e2
JM
17792 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
17793
150dc1a0
JM
17794 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
17795
531f1ae0
JM
17796 * posix/getconf-speclist.c: New file.
17797 * posix/posix-envs.def: Likewise.
17798 * posix/confstr.c (START_ENV_GROUP): New macro.
17799 (END_ENV_GROUP): Likewise.
17800 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17801 (KNOWN_PRESENT_ENV_STRING): Likewise.
17802 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17803 (UNKNOWN_ENVIRONMENT): Likewise.
17804 (confstr): Include posix-envs.def instead of handling
17805 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
17806 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
17807 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
17808 (END_ENV_GROUP): Likewise.
17809 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17810 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17811 (UNKNOWN_ENVIRONMENT): Likewise.
17812 (__sysconf): Include posix-envs.def instead of handling associated
17813 cases directly here.
17814 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
17815 preprocessing getconf-speclist.c rather than running getconf or
17816 generating empty file.
17817
a93f9cbc
PT
178182012-11-16 Pino Toscano <toscano.pino@tiscali.it>
17819
17820 * scripts/check-local-headers.sh: Ignore 'mach' headers.
17821
d64d9f87
AL
178222012-11-16 Andrej Lajovic <natrij@gmail.com>
17823
17824 [BZ #14672]
17825 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
17826
447885eb
DM
178272012-11-16 David S. Miller <davem@davemloft.net>
17828
17829 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
17830 smaller than LDBL_EPSILON/2.0L, just return xm1.
17831
bcbf9830
L
178322012-11-16 H.J. Lu <hongjiu.lu@intel.com>
17833
17834 * elf/tst-array1.c (init): Set constructor priority to 1000.
17835 (fini): Set destructor priority to 1000.
17836 * elf/tst-array2dep.c: Likewise.
17837
2b766585
SP
178382012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17839
17840 [BZ #11741]
17841 * libio/fileops.c (_IO_new_file_write): Correctly return error.
17842 (_IO_new_file_xsputn): Also return EOF if none of the input
17843 data was written when overflow failed.
17844 * libio/iopadn.c (_IO_padn): Likewise.
17845 * libio/iowpadn.c (_IO_wpadn): Likewise.
17846 * stdio-common/tst-put-error.c: Add copyright notice.
17847 (do_test): Add case for printing padded string.
17848 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
17849 _IO_padn returned error.
17850 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
17851 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
17852 return EOF.
17853
b1848fde
SP
178542012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17855
17856 * libio/libioP.h: Add comment note that the references to C++
17857 bits are now obsolete.
17858
2fd89785
MS
178592012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17860
17861 * math/libm-test.inc (check_complex): Use asprintf.
17862
e3ea5409
JM
178632012-11-14 Joseph Myers <joseph@codesourcery.com>
17864
17865 * debug/pcprofiledump.c (print_version): Update copyright year.
17866 * malloc/memusagestat.c (print_version): Likewise.
17867
2e64d265
L
178682012-11-14 H.J. Lu <hongjiu.lu@intel.com>
17869
17870 [BZ #14831]
17871 * elf/Makefile (tests): Add tst-audit8.
17872 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
17873 ($(objpfx)tst-audit8.out): New target.
17874 (tst-audit8-ENV): New variable.
17875 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
17876 audit if l_reloc_result is NULL.
17877 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
17878 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
17879 * elf/tst-audit8.c: New file.
17880
c485e4d2
MS
178812012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17882
17883 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
17884 * misc/Makefile (CFLAGS-select.c): Define.
17885 * posix/Makefile (CFLAGS-pause.c): Define.
17886
3a0d900a
DM
178872012-11-13 David S. Miller <davem@davemloft.net>
17888
17889 * crypt/Makefile: Move test targets after toplevel Rules
17890 inclusion. Grab any necessary sysdep routines when linking.
17891 * crypt/md5.c (md5_process_block): Remove define, we will always
17892 name it __md5_process_block.
17893 (md5_finish_ctx): Update md5_process_block call.
17894 (md5_stream): Likewise.
17895 (md5_process_bytes): Likewise.
17896 (md5_process_block): Rename to __md5_process_block and move to ...
17897 * crypt/md5-block.c: ... here.
17898 * crypt/sha256.c (sha256_process_block): Move to ...
17899 * crypt/sha256-block.c: ... here.
17900 * crypt/sha512.c (sha512_process_block): Move to ...
17901 * crypt/sha512-block.c: ... here.
17902 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
17903 path.
17904 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
17905 * sysdeps/sparc/sparc64/multiarch/Makefile
17906 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
17907 crypt subdir.
17908 (localedef-aux): Add md5 crypto assembler when in locale subdir.
17909 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
17910 multiarch changes.
17911 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
17912 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
17913 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
17914 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
17915 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
17916 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
17917 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
17918 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
17919 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
17920 file.
17921 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
17922 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
17923 file.
17924 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
17925
8ca89318
JM
179262012-11-13 Joseph Myers <joseph@codesourcery.com>
17927
e27d476a
JM
17928 * timezone/tzselect.ksh: Update from tzcode git revision
17929 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
17930 * timezone/zdump.c: Likewise.
17931 * timezone/zic.c: Likewise.
17932 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
17933 in TZVERSION setting, not $(PKGVERSION).
17934 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
17935 REPORT_BUGS_TO settings.
17936
8ca89318
JM
17937 [BZ #14838]
17938 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
17939 macro.
17940
47594329
MS
179412012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17942
17943 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
17944 detection to immediately after _FP_ROUND().
17945 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
17946 bits are 0.
17947
640ac3f1
DM
179482012-11-11 David S. Miller <davem@davemloft.net>
17949
17950 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
17951 inttypes.h
17952 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
17953 __close rather than their public counterparts.
17954
3d2577bb
JM
179552012-11-10 Joseph Myers <joseph@codesourcery.com>
17956
17957 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
17958 file.
17959 [UNIX98] (sem_timedwait): Do not expect.
17960 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
17961 [XPG4 || UNIX98] (sockatmark): Do not expect.
17962 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
17963 (clock_getcpuclockid): Do not expect.
17964 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
17965 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
17966 Do not expect.
17967 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
17968 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
17969 [UNIX98] (vwscanf): Likewise.
17970 [UNIX98] (vswscanf): Likewise.
17971
fb1ae1ee
JM
179722012-11-09 Joseph Myers <joseph@codesourcery.com>
17973
9ec6f8bd
JM
17974 * timezone/version.h: Remove file.
17975 * timezone/README: Do not refer to version.h.
17976 * timezone/Makefile ($(objpfx)zic.o): New dependency on
17977 $(objpfx)version.h.
17978 ($(objpfx)zdump.o): Likewise.
c3f81911 17979 ($(objpfx)version.h): New target.
9ec6f8bd 17980
0aa8f8a1
JM
17981 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
17982 2012i.
17983 * timezone/README: Don't mention modification to tzselect.ksh.
17984 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
17985 work on unmodified tzselect.ksh. Substitute version numbers in
17986 tzselect.ksh.
17987
4e87147f
JM
17988 * Makefile (format-me): Remove.
17989 (INSTALL): Adjust indentation. Use commands directly instead of
17990 using $(format-me).
17991
8b748aed
JM
17992 * aclocal.m4 (ACX_PKGVERSION): New macro.
17993 (ACX_BUGURL): Likewise.
17994 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
17995 (PKGVERSION): New AC_DEFINE_UNQUOTED.
17996 (REPORT_BUGS_TO): Likewise.
17997 * configure: Regenerated.
17998 * config.h.in (PKGVERSION): New macro.
17999 (REPORT_BUGS_TO): Likewise.
18000 * config.make.in (PKGVERSION): New variable.
18001 (PKGVERSION_TEXI): Likewise.
18002 (REPORT_BUGS_TO): Likewise.
18003 (REPORT_BUGS_TEXI): Likewise.
18004 * Makefile (format-me): Use -I$(common-objpfx)manual.
18005 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
18006 ($(common-objpfx)manual/%): New target.
18007 (manual/%): Remove target.
18008 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
18009 (print_version): Use PKGVERSION.
18010 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
18011 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
18012 and REPORT_BUGS_TO.
18013 ($(objpfx)xtrace): Likewise.
18014 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
18015 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
18016 (print_version): Use PKGVERSION.
18017 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
18018 (do_version): Use PKGVERSION.
18019 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
18020 REPORT_BUGS_TO.
18021 (common-ldd-rewrite): Likewise.
18022 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
18023 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
18024 (print_version): Use PKGVERSION.
18025 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
18026 * elf/pldd.c (argp_program_bug_address): Remove variable.
18027 (more_help): New function.
18028 (argp): Use more_help.
18029 (print_version): Use PKGVERSION.
18030 * elf/sln.c (main): Use PKGVERSION.
18031 (usage): Use REPORT_BUGS_TO.
18032 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
18033 (top level): Use PKGVERSION.
18034 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
18035 (print_version): Use PKGVERSION.
18036 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
18037 (print_version): Use PKGVERSION.
18038 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
18039 (print_version): Use PKGVERSION.
18040 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
18041 (print_version): Use PKGVERSION.
18042 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
18043 (print_version): Use PKGVERSION.
18044 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
18045 (print_version): Use PKGVERSION.
18046 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
18047 and BUGURL.
18048 ($(objpfx)memusage): Likewise.
18049 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
18050 (do_version): Use PKGVERSION.
18051 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
18052 (print_version): Use PKGVERSION.
18053 * malloc/mtrace.pl ($PACKAGE): Remove variable.
18054 ($PKGVERSION): New variable.
18055 ($REPORT_BUGS_TO): Likewise.
18056 (usage): Use $REPORT_BUGS_TO.
18057 (top level): Use $PKGVERSION.
18058 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
18059 ($(objpfx)pkgvers.texi): New rule.
18060 ($(objpfx)stamp-pkgvers): Likewise.
18061 * manual/install.texi: Include pkgvers.texi.
18062 (--with-pkgversion): Document new configure option.
18063 (--with-bugurl): Likewise.
18064 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
18065 than necessarily for this particular distribution. Use
18066 REPORT_BUGS_TO for where to report bugs.
18067 * INSTALL: Regenerated.
18068 * manual/libc.texinfo: Include pkgvers.texi.
18069 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
18070 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
18071 (print_version): Use PKGVERSION.
18072 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
18073 (print_version): Use PKGVERSION.
18074 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
18075 (print_version): Use PKGVERSION.
18076 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
18077 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
18078 macro.
18079 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
18080 (print_version): Use PKGVERSION.
18081 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
18082 (print_version): Use PKGVERSION.
18083 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
18084 and PKGVERSION.
18085
92e4b6a9
JM
18086 * timezone/checktab.awk: Update from tzcode 2012i.
18087 * timezone/ialloc.c: Likewise.
18088 * timezone/private.h: Likewise.
18089 * timezone/scheck.c: Likewise.
18090 * timezone/tzfile.h: Likewise.
18091 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
18092 (TZVERSION): Hardcode tzcode version number.
18093 * timezone/zdump.c: Update from tzcode 2012i.
18094 * timezone/zic.c: Likewise.
18095 * timezone/version.h: New file.
18096 * timezone/README: Describe version.h. Update upstream location.
18097
9bde902c
JM
18098 [BZ #14824]
18099 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
18100 (mktemp): Enable declaration.
18101 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
18102 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
18103 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
18104 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
18105 Likewise.
18106 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
18107 Likewise.
18108 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
18109 Likewise.
18110 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
18111 Likewise.
18112 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
18113 Likewise.
18114 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
18115 Likewise.
18116
fb1ae1ee
JM
18117 [BZ #14821]
18118 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
18119 offset in buffer as u_int32_t not u_long. Consistently use memcpy
18120 for copies of such integer values.
18121 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18122 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18123
2c1adbcb
AJ
181242012-11-09 Andreas Jaeger <aj@suse.de>
18125
18126 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
18127 definitions and declarations that are provided by
18128 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18129
d0f8457e
AK
181302012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18131
3a235abb 18132 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
18133 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
18134 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
18135 definition.
18136
57241e26
MS
181372012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18138
18139 * elf/elf.h: Update comment before AArch64 relocations.
18140
60e8270d
DM
181412012-11-07 David S. Miller <davem@davemloft.net>
18142
18143 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
18144 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18145 (__start_context): Declare.
18146 (__makecontext_ret): Delete.
18147 (__makecontext): Hook up __start_context instead of
18148 __makecontext_ret.
18149 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
18150 (sysdep_routines): Add __start_context when in stdlib.
18151
0fbb0fbc
JM
181522012-11-07 Joseph Myers <joseph@codesourcery.com>
18153
18154 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
18155 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
18156 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
18157 hardcoded "nm".
18158 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
18159 (READELF): New variable. Use it instead of hardcoded "readelf".
18160
eb48db7e
L
181612012-11-07 H.J. Lu <hongjiu.lu@intel.com>
18162
18163 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
18164 * sysdeps/x86/Makefile: Here.
18165 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
18166 * sysdeps/x86/tst-xmmymm.sh: This.
18167
05bcf62a
JM
181682012-11-07 Joseph Myers <joseph@codesourcery.com>
18169
c4b6cf53
JM
18170 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
18171 expectations.
18172 [UNIX98] (pthread_barrier_t): Do not expect.
18173 [UNIX98] (pthread_barrierattr_t): Likewise.
18174 [UNIX98] (pthread_spinlock_t): Likewise.
18175 [UNIX98] (pthread_barrier_destroy): Likewise.
18176 [UNIX98] (pthread_barrier_init): Likewise.
18177 [UNIX98] (pthread_barrier_wait): Likewise.
18178 [UNIX98] (pthread_barrierattr_destroy): Likewise.
18179 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
18180 [UNIX98] (pthread_barrierattr_init): Likewise.
18181 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
18182 [UNIX98] (pthread_getcpuclockid): Likewise.
18183 [UNIX98] (pthread_mutex_timedlock): Likewise.
18184 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
18185 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
18186 [UNIX98] (pthread_sigmask): Likewise.
18187 [UNIX98] (pthread_spin_destroy): Likewise.
18188 [UNIX98] (pthread_spin_init): Likewise.
18189 [UNIX98] (pthread_spin_lock): Likewise.
18190 [UNIX98] (pthread_spin_trylock): Likewise.
18191 [UNIX98] (pthread_spin_unlock): Likewise.
18192 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
18193 Do not expect.
18194 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
18195 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
18196 [XPG3 || XPG4] (pthread_cond_t): Likewise.
18197 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
18198 [XPG3 || XPG4] (pthread_key_t): Likewise.
18199 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
18200 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
18201 [XPG3 || XPG4] (pthread_once_t): Likewise.
18202 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
18203 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
18204 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
18205 [XPG3 || XPG4] (pthread_t): Likewise.
18206
cbe6e120
JM
18207 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
18208 not expect.
18209 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
18210
1b126443
JM
18211 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
18212 Change function return type to int.
18213
b961a573
JM
18214 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
18215 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
18216 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
18217 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
18218 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
18219 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
18220 [!POSIX] (posix_madvise): Likewise.
18221 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
18222 && !UNIX98].
18223 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
18224 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
18225 (mode_t): Likewise.
18226 (posix_mem_offset): Likewise.
18227 (posix_typed_mem_get_info): Likewise.
18228 (posix_typed_mem_open): Likewise.
18229
9e188909
JM
18230 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
18231 Change condition to [XOPEN2K8].
18232
05bcf62a
JM
18233 * conform/conformtest.pl: Preprocess allow-header data with -x c
18234 instead of from stdin.
18235 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
18236 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
18237 [C99-based standards] (cerfc): Likewise.
18238 [C99-based standards] (cexp2): Likewise.
18239 [C99-based standards] (cexpm1): Likewise.
18240 [C99-based standards] (clog10): Likewise.
18241 [C99-based standards] (clog1p): Likewise.
18242 [C99-based standards] (clog2): Likewise.
18243 [C99-based standards] (clgamma): Likewise.
18244 [C99-based standards] (ctgamma): Likewise.
18245 [C99-based standards] (cerff): Likewise.
18246 [C99-based standards] (cerfcf): Likewise.
18247 [C99-based standards] (cexp2f): Likewise.
18248 [C99-based standards] (cexpm1f): Likewise.
18249 [C99-based standards] (clog10f): Likewise.
18250 [C99-based standards] (clog1pf): Likewise.
18251 [C99-based standards] (clog2f): Likewise.
18252 [C99-based standards] (clgammaf): Likewise.
18253 [C99-based standards] (ctgammaf): Likewise.
18254 [C99-based standards] (cerfl): Likewise.
18255 [C99-based standards] (cerfcl): Likewise.
18256 [C99-based standards] (cexp2l): Likewise.
18257 [C99-based standards] (cexpm1l): Likewise.
18258 [C99-based standards] (clog10l): Likewise.
18259 [C99-based standards] (clog1pl): Likewise.
18260 [C99-based standards] (clog2l): Likewise.
18261 [C99-based standards] (clgammal): Likewise.
18262 [C99-based standards] (ctgammal): Likewise.
18263 * conform/data/inttypes.h-data [C99-based standards]: Include
18264 stdint.h-data. Remove all expectations for stdint.h contents.
18265 [C99-based standards] (PRI*): Do not allow.
18266 [C99-based standards] (SCN*): Likewise.
18267 [C99-based standards] (*_t): Likewise.
18268 [C99-based-standards] (PRId8): Expect macro.
18269 [C99-based-standards] (PRIi8): Likewise.
18270 [C99-based-standards] (PRIo8): Likewise.
18271 [C99-based-standards] (PRIu8): Likewise.
18272 [C99-based-standards] (PRIx8): Likewise.
18273 [C99-based-standards] (PRIX8): Likewise.
18274 [C99-based-standards] (SCNd8): Likewise.
18275 [C99-based-standards] (SCNi8): Likewise.
18276 [C99-based-standards] (SCNo8): Likewise.
18277 [C99-based-standards] (SCNu8): Likewise.
18278 [C99-based-standards] (SCNx8): Likewise.
18279 [C99-based-standards] (PRIdLEAST8): Likewise.
18280 [C99-based-standards] (PRIiLEAST8): Likewise.
18281 [C99-based-standards] (PRIoLEAST8): Likewise.
18282 [C99-based-standards] (PRIuLEAST8): Likewise.
18283 [C99-based-standards] (PRIxLEAST8): Likewise.
18284 [C99-based-standards] (PRIXLEAST8): Likewise.
18285 [C99-based-standards] (SCNdLEAST8): Likewise.
18286 [C99-based-standards] (SCNiLEAST8): Likewise.
18287 [C99-based-standards] (SCNoLEAST8): Likewise.
18288 [C99-based-standards] (SCNuLEAST8): Likewise.
18289 [C99-based-standards] (SCNxLEAST8): Likewise.
18290 [C99-based-standards] (PRIdFAST8): Likewise.
18291 [C99-based-standards] (PRIiFAST8): Likewise.
18292 [C99-based-standards] (PRIoFAST8): Likewise.
18293 [C99-based-standards] (PRIuFAST8): Likewise.
18294 [C99-based-standards] (PRIxFAST8): Likewise.
18295 [C99-based-standards] (PRIXFAST8): Likewise.
18296 [C99-based-standards] (SCNdFAST8): Likewise.
18297 [C99-based-standards] (SCNiFAST8): Likewise.
18298 [C99-based-standards] (SCNoFAST8): Likewise.
18299 [C99-based-standards] (SCNuFAST8): Likewise.
18300 [C99-based-standards] (SCNxFAST8): Likewise.
18301 [C99-based-standards] (PRId16): Likewise.
18302 [C99-based-standards] (PRIi16): Likewise.
18303 [C99-based-standards] (PRIo16): Likewise.
18304 [C99-based-standards] (PRIu16): Likewise.
18305 [C99-based-standards] (PRIx16): Likewise.
18306 [C99-based-standards] (PRIX16): Likewise.
18307 [C99-based-standards] (SCNd16): Likewise.
18308 [C99-based-standards] (SCNi16): Likewise.
18309 [C99-based-standards] (SCNo16): Likewise.
18310 [C99-based-standards] (SCNu16): Likewise.
18311 [C99-based-standards] (SCNx16): Likewise.
18312 [C99-based-standards] (PRIdLEAST16): Likewise.
18313 [C99-based-standards] (PRIiLEAST16): Likewise.
18314 [C99-based-standards] (PRIoLEAST16): Likewise.
18315 [C99-based-standards] (PRIuLEAST16): Likewise.
18316 [C99-based-standards] (PRIxLEAST16): Likewise.
18317 [C99-based-standards] (PRIXLEAST16): Likewise.
18318 [C99-based-standards] (SCNdLEAST16): Likewise.
18319 [C99-based-standards] (SCNiLEAST16): Likewise.
18320 [C99-based-standards] (SCNoLEAST16): Likewise.
18321 [C99-based-standards] (SCNuLEAST16): Likewise.
18322 [C99-based-standards] (SCNxLEAST16): Likewise.
18323 [C99-based-standards] (PRIdFAST16): Likewise.
18324 [C99-based-standards] (PRIiFAST16): Likewise.
18325 [C99-based-standards] (PRIoFAST16): Likewise.
18326 [C99-based-standards] (PRIuFAST16): Likewise.
18327 [C99-based-standards] (PRIxFAST16): Likewise.
18328 [C99-based-standards] (PRIXFAST16): Likewise.
18329 [C99-based-standards] (SCNdFAST16): Likewise.
18330 [C99-based-standards] (SCNiFAST16): Likewise.
18331 [C99-based-standards] (SCNoFAST16): Likewise.
18332 [C99-based-standards] (SCNuFAST16): Likewise.
18333 [C99-based-standards] (SCNxFAST16): Likewise.
18334 [C99-based-standards] (PRId32): Likewise.
18335 [C99-based-standards] (PRIi32): Likewise.
18336 [C99-based-standards] (PRIo32): Likewise.
18337 [C99-based-standards] (PRIu32): Likewise.
18338 [C99-based-standards] (PRIx32): Likewise.
18339 [C99-based-standards] (PRIX32): Likewise.
18340 [C99-based-standards] (SCNd32): Likewise.
18341 [C99-based-standards] (SCNi32): Likewise.
18342 [C99-based-standards] (SCNo32): Likewise.
18343 [C99-based-standards] (SCNu32): Likewise.
18344 [C99-based-standards] (SCNx32): Likewise.
18345 [C99-based-standards] (PRIdLEAST32): Likewise.
18346 [C99-based-standards] (PRIiLEAST32): Likewise.
18347 [C99-based-standards] (PRIoLEAST32): Likewise.
18348 [C99-based-standards] (PRIuLEAST32): Likewise.
18349 [C99-based-standards] (PRIxLEAST32): Likewise.
18350 [C99-based-standards] (PRIXLEAST32): Likewise.
18351 [C99-based-standards] (SCNdLEAST32): Likewise.
18352 [C99-based-standards] (SCNiLEAST32): Likewise.
18353 [C99-based-standards] (SCNoLEAST32): Likewise.
18354 [C99-based-standards] (SCNuLEAST32): Likewise.
18355 [C99-based-standards] (SCNxLEAST32): Likewise.
18356 [C99-based-standards] (PRIdFAST32): Likewise.
18357 [C99-based-standards] (PRIiFAST32): Likewise.
18358 [C99-based-standards] (PRIoFAST32): Likewise.
18359 [C99-based-standards] (PRIuFAST32): Likewise.
18360 [C99-based-standards] (PRIxFAST32): Likewise.
18361 [C99-based-standards] (PRIXFAST32): Likewise.
18362 [C99-based-standards] (SCNdFAST32): Likewise.
18363 [C99-based-standards] (SCNiFAST32): Likewise.
18364 [C99-based-standards] (SCNoFAST32): Likewise.
18365 [C99-based-standards] (SCNuFAST32): Likewise.
18366 [C99-based-standards] (SCNxFAST32): Likewise.
18367 [C99-based-standards] (PRId64): Likewise.
18368 [C99-based-standards] (PRIi64): Likewise.
18369 [C99-based-standards] (PRIo64): Likewise.
18370 [C99-based-standards] (PRIu64): Likewise.
18371 [C99-based-standards] (PRIx64): Likewise.
18372 [C99-based-standards] (PRIX64): Likewise.
18373 [C99-based-standards] (SCNd64): Likewise.
18374 [C99-based-standards] (SCNi64): Likewise.
18375 [C99-based-standards] (SCNo64): Likewise.
18376 [C99-based-standards] (SCNu64): Likewise.
18377 [C99-based-standards] (SCNx64): Likewise.
18378 [C99-based-standards] (PRIdLEAST64): Likewise.
18379 [C99-based-standards] (PRIiLEAST64): Likewise.
18380 [C99-based-standards] (PRIoLEAST64): Likewise.
18381 [C99-based-standards] (PRIuLEAST64): Likewise.
18382 [C99-based-standards] (PRIxLEAST64): Likewise.
18383 [C99-based-standards] (PRIXLEAST64): Likewise.
18384 [C99-based-standards] (SCNdLEAST64): Likewise.
18385 [C99-based-standards] (SCNiLEAST64): Likewise.
18386 [C99-based-standards] (SCNoLEAST64): Likewise.
18387 [C99-based-standards] (SCNuLEAST64): Likewise.
18388 [C99-based-standards] (SCNxLEAST64): Likewise.
18389 [C99-based-standards] (PRIdFAST64): Likewise.
18390 [C99-based-standards] (PRIiFAST64): Likewise.
18391 [C99-based-standards] (PRIoFAST64): Likewise.
18392 [C99-based-standards] (PRIuFAST64): Likewise.
18393 [C99-based-standards] (PRIxFAST64): Likewise.
18394 [C99-based-standards] (PRIXFAST64): Likewise.
18395 [C99-based-standards] (SCNdFAST64): Likewise.
18396 [C99-based-standards] (SCNiFAST64): Likewise.
18397 [C99-based-standards] (SCNoFAST64): Likewise.
18398 [C99-based-standards] (SCNuFAST64): Likewise.
18399 [C99-based-standards] (SCNxFAST64): Likewise.
18400 [C99-based-standards] (PRIdMAX): Likewise.
18401 [C99-based-standards] (PRIiMAX): Likewise.
18402 [C99-based-standards] (PRIoMAX): Likewise.
18403 [C99-based-standards] (PRIuMAX): Likewise.
18404 [C99-based-standards] (PRIxMAX): Likewise.
18405 [C99-based-standards] (PRIXMAX): Likewise.
18406 [C99-based-standards] (SCNdMAX): Likewise.
18407 [C99-based-standards] (SCNiMAX): Likewise.
18408 [C99-based-standards] (SCNoMAX): Likewise.
18409 [C99-based-standards] (SCNuMAX): Likewise.
18410 [C99-based-standards] (SCNxMAX): Likewise.
18411 [C99-based-standards] (PRIdPTR): Likewise.
18412 [C99-based-standards] (PRIiPTR): Likewise.
18413 [C99-based-standards] (PRIoPTR): Likewise.
18414 [C99-based-standards] (PRIuPTR): Likewise.
18415 [C99-based-standards] (PRIxPTR): Likewise.
18416 [C99-based-standards] (PRIXPTR): Likewise.
18417 [C99-based-standards] (SCNdPTR): Likewise.
18418 [C99-based-standards] (SCNiPTR): Likewise.
18419 [C99-based-standards] (SCNoPTR): Likewise.
18420 [C99-based-standards] (SCNuPTR): Likewise.
18421 [C99-based-standards] (SCNxPTR): Likewise.
18422 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
18423 allow.
18424 * conform/data/stdint.h-data: Update comments to clarify
18425 requirements.
18426 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
18427 type.
18428 [C99-based standards] (INT8_MAX): Likewise.
18429 [C99-based standards] (INT16_MIN): Likewise.
18430 [C99-based standards] (INT16_MAX): Likewise.
18431 [C99-based standards] (INT32_MIN): Likewise.
18432 [C99-based standards] (INT32_MAX): Likewise.
18433 [C99-based standards] (INT64_MIN): Likewise.
18434 [C99-based standards] (INT64_MAX): Likewise.
18435 [C99-based standards] (UINT8_MAX): Likewise.
18436 [C99-based standards] (UINT16_MAX): Likewise.
18437 [C99-based standards] (UINT32_MAX): Likewise.
18438 [C99-based standards] (UINT64_MAX): Likewise.
18439 [C99-based standards] (INT_LEAST8_MIN): Likewise.
18440 [C99-based standards] (INT_LEAST8_MAX): Likewise.
18441 [C99-based standards] (INT_LEAST16_MIN): Likewise.
18442 [C99-based standards] (INT_LEAST16_MAX): Likewise.
18443 [C99-based standards] (INT_LEAST32_MIN): Likewise.
18444 [C99-based standards] (INT_LEAST32_MAX): Likewise.
18445 [C99-based standards] (INT_LEAST64_MIN): Likewise.
18446 [C99-based standards] (INT_LEAST64_MAX): Likewise.
18447 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
18448 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
18449 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
18450 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
18451 [C99-based standards] (INT_FAST8_MIN): Likewise.
18452 [C99-based standards] (INT_FAST8_MAX): Likewise.
18453 [C99-based standards] (INT_FAST16_MIN): Likewise.
18454 [C99-based standards] (INT_FAST16_MAX): Likewise.
18455 [C99-based standards] (INT_FAST32_MIN): Likewise.
18456 [C99-based standards] (INT_FAST32_MAX): Likewise.
18457 [C99-based standards] (INT_FAST64_MIN): Likewise.
18458 [C99-based standards] (INT_FAST64_MAX): Likewise.
18459 [C99-based standards] (UINT_FAST8_MAX): Likewise.
18460 [C99-based standards] (UINT_FAST16_MAX): Likewise.
18461 [C99-based standards] (UINT_FAST32_MAX): Likewise.
18462 [C99-based standards] (UINT_FAST64_MAX): Likewise.
18463 [C99-based standards] (INTPTR_MIN): Likewise.
18464 [C99-based standards] (INTPTR_MAX): Likewise.
18465 [C99-based standards] (UINTPTR_MAX): Likewise.
18466 [C99-based standards] (INTMAX_MIN): Likewise.
18467 [C99-based standards] (INTMAX_MAX): Likewise.
18468 [C99-based standards] (UINTMAX_MAX): Likewise.
18469 [C99-based standards] (PTRDIFF_MIN): Likewise.
18470 [C99-based standards] (PTRDIFF_MAX): Likewise.
18471 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
18472 [C99-based standards] (SIZE_MAX): Likewise.
18473 [C99-based standards] (WCHAR_MAX): Likewise.
18474 [C99-based standards] (WINT_MAX): Likewise.
18475 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
18476 constraint on value.
18477 [C99-based standards] (WCHAR_MIN): Likewise.
18478 [C99-based standards] (WINT_MIN): Likewise.
18479 [C99-based standards] (*_t): Allow.
18480 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
18481 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
18482 Include math.h-data and complex.h-data. Remove all expectations
18483 of math.h and complex.h contents.
18484 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
18485 at end of line.
18486 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
18487 (struct tm): Expect tag.
18488 [C99-based-standards] (wcstof): Expect function.
18489 [C99-based-standards] (wcstold): Likewise.
18490 [C99-based-standards] (wcstoll): Likewise.
18491 [C99-based-standards] (wcstoull): Likewise.
18492 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
18493 macro-int-constant. Specify type.
18494 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
18495 constraint on value.
18496 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18497 Specify type.
18498 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
18499 Specify value.
18500 [ISO C standards]: Do not allow headers.
18501 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
18502 wcs[abcdefghijklmnopqrstuvwxyz]*.
18503 [ISO C standards] (*_t): Do not allow.
18504 * conform/data/wctype.h-data [C99-based standards] (iswblank):
18505 Expect function.
18506 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
18507 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18508 Specify type.
18509 [ISO C standards]: Do not allow headers.
18510 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
18511 is[abcdefghijklmnopqrstuvwxyz]*.
18512 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
18513 to[abcdefghijklmnopqrstuvwxyz]*.
18514 [ISO C standards] (*_t): Do not allow.
18515 * conform/data/stdalign.h-data: New file.
18516 * conform/data/stdbool.h-data: Likewise.
18517 * conform/data/stdnoreturn.h-data: Likewise.
18518
7514feb8
RM
185192012-11-07 Roland McGrath <roland@hack.frob.com>
18520
18521 [BZ #14815]
18522 * manual/filesys.texi (Directory Entries): Typo fix.
18523 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
18524
19b2ecfc
MS
185252012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18526
18527 * elf/elf.h (EM_AARCH64): New macro.
18528 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
18529 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
18530 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
18531 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
18532 (R_AARCH64_TLSDESC): Likewise.
18533 (NT_ARM_TLS): Likewise.
18534 (NT_ARM_HW_BREAK): Likewise.
18535 (NT_ARM_HW_WATCH): Likewise.
18536
60e235ee
JM
185372012-11-07 Joseph Myers <joseph@codesourcery.com>
18538
18539 [BZ #14811]
18540 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
18541 (__ieee754_powl): Saturate nonzero exponents with absolute value
18542 below 0x1p-79 to +/- 0x1p-79.
18543 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
18544 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
18545 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
18546 nonzero exponents with absolute value below 0x1p-32 to +/-
18547 0x1p-32.
18548 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
18549 (__ieee754_powl): Saturate nonzero exponents with absolute value
18550 below 0x1p-79 to +/- 0x1p-79.
18551 * math/libm-test.inc (pow_test): Add more tests.
18552
0ab234b7
AK
185532012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18554
18555 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
18556 _dl_s390_cap_flags with kernel. Increase string length.
18557 (_dl_s390_platforms): Add z196 and zEC12.
18558
45832f74
JM
185592012-11-07 Joseph Myers <joseph@codesourcery.com>
18560
18561 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
18562 Change XOPEN21K to XOPEN2K.
18563
19218757
MK
185642012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
18565
18566 * string/memmove.c: Use memcpy when possible.
18567
c5f45721
AJ
185682012-11-06 Andreas Jaeger <aj@suse.de>
18569
18570 * po/eo.po: Update from translation team.
18571
82477c28
JM
185722012-11-06 Joseph Myers <joseph@codesourcery.com>
18573
18574 [BZ #14793]
18575 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
18576 exponent and small x and y exponents, scale x or y up. Increase
18577 by 2 the exponent used in scaling up.
18578 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18579 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18580 * math/libm-test.inc (fma_test): Add more tests.
18581 (fma_test_towardzero): Likewise.
18582 (fma_test_downward): Likewise.
18583 (fma_test_upward): Likewise.
18584
99252c8c
JM
185852012-11-05 Joseph Myers <joseph@codesourcery.com>
18586
acfa885f
JM
18587 [BZ #14805]
18588 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
18589 fenv_t *.
18590
99252c8c
JM
18591 [BZ #14801]
18592 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
18593 namespace for names of struct fields.
18594 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
18595 fenv_t fields.
18596 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
18597 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
18598
d6d98dea
ST
185992012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18600
18601 [BZ #3665]
18602 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
18603
e10bb107
TS
186042012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18605
18606 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
18607 PTR_DEMANGLE.
18608
18609 [BZ #5246]
18610 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
18611 PTR_DEMANGLE.
18612
a0c2940d
JM
186132012-11-04 Joseph Myers <joseph@codesourcery.com>
18614
18615 [BZ #14797]
18616 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
18617 definitely overflow as x * y not x * y + z.
18618 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18619 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18620 * math/libm-test.inc (fma_test): Add more tests.
18621 (fma_test_towardzero): Likewise.
18622 (fma_test_downward): Likewise.
18623 (fma_test_upward): Likewise.
18624
b830319d
TS
186252012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18626
18627 [BZ #157]
18628
18629 * include/stub-tag.h: Remove file.
18630 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
18631 '#include' of it.
18632 * manual/maint.texi (Porting): Don't reference it.
18633 * Makerules ($(objpfx)stubs): Likewise.
18634 * dirent/closedir.c: Don't include <stub-tag.h>.
18635 * dirent/dirfd.c: Likewise.
18636 * dirent/fdopendir.c: Likewise.
18637 * dirent/getdents.c: Likewise.
18638 * dirent/getdents64.c: Likewise.
18639 * dirent/opendir.c: Likewise.
18640 * dirent/readdir.c: Likewise.
18641 * dirent/readdir64.c: Likewise.
18642 * dirent/readdir64_r.c: Likewise.
18643 * dirent/readdir_r.c: Likewise.
18644 * dirent/rewinddir.c: Likewise.
18645 * dirent/seekdir.c: Likewise.
18646 * dirent/telldir.c: Likewise.
18647 * gmon/profil.c: Likewise.
18648 * grp/setgroups.c: Likewise.
18649 * inet/if_index.c: Likewise.
18650 * io/access.c: Likewise.
18651 * io/chdir.c: Likewise.
18652 * io/chmod.c: Likewise.
18653 * io/chown.c: Likewise.
18654 * io/close.c: Likewise.
18655 * io/dup.c: Likewise.
18656 * io/dup2.c: Likewise.
18657 * io/dup3.c: Likewise.
18658 * io/euidaccess.c: Likewise.
18659 * io/faccessat.c: Likewise.
18660 * io/fchdir.c: Likewise.
18661 * io/fchmod.c: Likewise.
18662 * io/fchmodat.c: Likewise.
18663 * io/fchown.c: Likewise.
18664 * io/fchownat.c: Likewise.
18665 * io/fcntl.c: Likewise.
18666 * io/flock.c: Likewise.
18667 * io/fstatfs.c: Likewise.
18668 * io/fstatfs64.c: Likewise.
18669 * io/fstatvfs.c: Likewise.
18670 * io/fstatvfs64.c: Likewise.
18671 * io/futimens.c: Likewise.
18672 * io/fxstat.c: Likewise.
18673 * io/fxstat64.c: Likewise.
18674 * io/fxstatat.c: Likewise.
18675 * io/fxstatat64.c: Likewise.
18676 * io/getcwd.c: Likewise.
18677 * io/isatty.c: Likewise.
18678 * io/lchmod.c: Likewise.
18679 * io/lchown.c: Likewise.
18680 * io/link.c: Likewise.
18681 * io/linkat.c: Likewise.
18682 * io/lseek.c: Likewise.
18683 * io/lseek64.c: Likewise.
18684 * io/lxstat64.c: Likewise.
18685 * io/mkdir.c: Likewise.
18686 * io/mkdirat.c: Likewise.
18687 * io/mkfifo.c: Likewise.
18688 * io/mkfifoat.c: Likewise.
18689 * io/open.c: Likewise.
18690 * io/open64.c: Likewise.
18691 * io/openat.c: Likewise.
18692 * io/openat64.c: Likewise.
18693 * io/pipe.c: Likewise.
18694 * io/pipe2.c: Likewise.
18695 * io/poll.c: Likewise.
18696 * io/posix_fadvise.c: Likewise.
18697 * io/posix_fadvise64.c: Likewise.
18698 * io/posix_fallocate.c: Likewise.
18699 * io/posix_fallocate64.c: Likewise.
18700 * io/read.c: Likewise.
18701 * io/readlink.c: Likewise.
18702 * io/readlinkat.c: Likewise.
18703 * io/rmdir.c: Likewise.
18704 * io/sendfile.c: Likewise.
18705 * io/sendfile64.c: Likewise.
18706 * io/statfs.c: Likewise.
18707 * io/statfs64.c: Likewise.
18708 * io/statvfs.c: Likewise.
18709 * io/statvfs64.c: Likewise.
18710 * io/symlink.c: Likewise.
18711 * io/symlinkat.c: Likewise.
18712 * io/ttyname.c: Likewise.
18713 * io/ttyname_r.c: Likewise.
18714 * io/umask.c: Likewise.
18715 * io/unlink.c: Likewise.
18716 * io/unlinkat.c: Likewise.
18717 * io/utime.c: Likewise.
18718 * io/utimensat.c: Likewise.
18719 * io/write.c: Likewise.
18720 * io/xmknod.c: Likewise.
18721 * io/xmknodat.c: Likewise.
18722 * io/xstat.c: Likewise.
18723 * io/xstat64.c: Likewise.
18724 * login/getpt.c: Likewise.
18725 * login/grantpt.c: Likewise.
18726 * login/unlockpt.c: Likewise.
18727 * math/e_acoshl.c: Likewise.
18728 * math/e_acosl.c: Likewise.
18729 * math/e_asinl.c: Likewise.
18730 * math/e_atan2l.c: Likewise.
18731 * math/e_atanhl.c: Likewise.
18732 * math/e_coshl.c: Likewise.
18733 * math/e_expl.c: Likewise.
18734 * math/e_fmodl.c: Likewise.
18735 * math/e_gammal_r.c: Likewise.
18736 * math/e_hypotl.c: Likewise.
18737 * math/e_j0l.c: Likewise.
18738 * math/e_j1l.c: Likewise.
18739 * math/e_jnl.c: Likewise.
18740 * math/e_lgammal_r.c: Likewise.
18741 * math/e_log10l.c: Likewise.
18742 * math/e_log2l.c: Likewise.
18743 * math/e_logl.c: Likewise.
18744 * math/e_powl.c: Likewise.
18745 * math/e_rem_pio2l.c: Likewise.
18746 * math/e_sinhl.c: Likewise.
18747 * math/e_sqrtl.c: Likewise.
18748 * math/fclrexcpt.c: Likewise.
18749 * math/fedisblxcpt.c: Likewise.
18750 * math/feenablxcpt.c: Likewise.
18751 * math/fegetenv.c: Likewise.
18752 * math/fegetexcept.c: Likewise.
18753 * math/fegetround.c: Likewise.
18754 * math/feholdexcpt.c: Likewise.
18755 * math/fesetenv.c: Likewise.
18756 * math/fesetround.c: Likewise.
18757 * math/feupdateenv.c: Likewise.
18758 * math/fgetexcptflg.c: Likewise.
18759 * math/fraiseexcpt.c: Likewise.
18760 * math/fsetexcptflg.c: Likewise.
18761 * math/ftestexcept.c: Likewise.
18762 * math/k_cosl.c: Likewise.
18763 * math/k_rem_pio2l.c: Likewise.
18764 * math/k_sinl.c: Likewise.
18765 * math/k_tanl.c: Likewise.
18766 * math/s_asinhl.c: Likewise.
18767 * math/s_atanl.c: Likewise.
18768 * math/s_cbrtl.c: Likewise.
18769 * math/s_erfl.c: Likewise.
18770 * math/s_expm1l.c: Likewise.
18771 * math/s_log1pl.c: Likewise.
18772 * math/s_tanhl.c: Likewise.
18773 * misc/acct.c: Likewise.
18774 * misc/brk.c: Likewise.
18775 * misc/chflags.c: Likewise.
18776 * misc/chroot.c: Likewise.
18777 * misc/fchflags.c: Likewise.
18778 * misc/fgetxattr.c: Likewise.
18779 * misc/flistxattr.c: Likewise.
18780 * misc/fremovexattr.c: Likewise.
18781 * misc/fsetxattr.c: Likewise.
18782 * misc/fsync.c: Likewise.
18783 * misc/ftruncate.c: Likewise.
18784 * misc/futimes.c: Likewise.
18785 * misc/futimesat.c: Likewise.
18786 * misc/getdomain.c: Likewise.
18787 * misc/getdtsz.c: Likewise.
18788 * misc/gethostid.c: Likewise.
18789 * misc/gethostname.c: Likewise.
18790 * misc/getloadavg.c: Likewise.
18791 * misc/getpagesize.c: Likewise.
18792 * misc/getsysstats.c: Likewise.
18793 * misc/getxattr.c: Likewise.
18794 * misc/gtty.c: Likewise.
18795 * misc/ioctl.c: Likewise.
18796 * misc/lgetxattr.c: Likewise.
18797 * misc/listxattr.c: Likewise.
18798 * misc/llistxattr.c: Likewise.
18799 * misc/lremovexattr.c: Likewise.
18800 * misc/lsetxattr.c: Likewise.
18801 * misc/lutimes.c: Likewise.
18802 * misc/madvise.c: Likewise.
18803 * misc/mincore.c: Likewise.
18804 * misc/mlock.c: Likewise.
18805 * misc/mlockall.c: Likewise.
18806 * misc/mmap.c: Likewise.
18807 * misc/mprotect.c: Likewise.
18808 * misc/msync.c: Likewise.
18809 * misc/munlock.c: Likewise.
18810 * misc/munlockall.c: Likewise.
18811 * misc/munmap.c: Likewise.
18812 * misc/preadv.c: Likewise.
18813 * misc/preadv64.c: Likewise.
18814 * misc/ptrace.c: Likewise.
18815 * misc/pwritev.c: Likewise.
18816 * misc/pwritev64.c: Likewise.
18817 * misc/readv.c: Likewise.
18818 * misc/reboot.c: Likewise.
18819 * misc/remap_file_pages.c: Likewise.
18820 * misc/removexattr.c: Likewise.
18821 * misc/revoke.c: Likewise.
18822 * misc/select.c: Likewise.
18823 * misc/setdomain.c: Likewise.
18824 * misc/setegid.c: Likewise.
18825 * misc/seteuid.c: Likewise.
18826 * misc/sethostid.c: Likewise.
18827 * misc/sethostname.c: Likewise.
18828 * misc/setregid.c: Likewise.
18829 * misc/setreuid.c: Likewise.
18830 * misc/setxattr.c: Likewise.
18831 * misc/sstk.c: Likewise.
18832 * misc/stty.c: Likewise.
18833 * misc/swapoff.c: Likewise.
18834 * misc/swapon.c: Likewise.
18835 * misc/sync.c: Likewise.
18836 * misc/syncfs.c: Likewise.
18837 * misc/syscall.c: Likewise.
18838 * misc/truncate.c: Likewise.
18839 * misc/ualarm.c: Likewise.
18840 * misc/usleep.c: Likewise.
18841 * misc/ustat.c: Likewise.
18842 * misc/utimes.c: Likewise.
18843 * misc/vhangup.c: Likewise.
18844 * misc/writev.c: Likewise.
18845 * posix/_exit.c: Likewise.
18846 * posix/alarm.c: Likewise.
18847 * posix/execve.c: Likewise.
18848 * posix/fexecve.c: Likewise.
18849 * posix/fork.c: Likewise.
18850 * posix/fpathconf.c: Likewise.
18851 * posix/getaddrinfo.c: Likewise.
18852 * posix/getegid.c: Likewise.
18853 * posix/geteuid.c: Likewise.
18854 * posix/getgid.c: Likewise.
18855 * posix/getgroups.c: Likewise.
18856 * posix/getlogin.c: Likewise.
18857 * posix/getlogin_r.c: Likewise.
18858 * posix/getpgid.c: Likewise.
18859 * posix/getpid.c: Likewise.
18860 * posix/getppid.c: Likewise.
18861 * posix/getresgid.c: Likewise.
18862 * posix/getresuid.c: Likewise.
18863 * posix/getsid.c: Likewise.
18864 * posix/getuid.c: Likewise.
18865 * posix/glob64.c: Likewise.
18866 * posix/nanosleep.c: Likewise.
18867 * posix/pathconf.c: Likewise.
18868 * posix/pause.c: Likewise.
18869 * posix/posix_madvise.c: Likewise.
18870 * posix/pread.c: Likewise.
18871 * posix/pread64.c: Likewise.
18872 * posix/pwrite.c: Likewise.
18873 * posix/pwrite64.c: Likewise.
18874 * posix/sched_getaffinity.c: Likewise.
18875 * posix/sched_getp.c: Likewise.
18876 * posix/sched_gets.c: Likewise.
18877 * posix/sched_primax.c: Likewise.
18878 * posix/sched_primin.c: Likewise.
18879 * posix/sched_rr_gi.c: Likewise.
18880 * posix/sched_setaffinity.c: Likewise.
18881 * posix/sched_setp.c: Likewise.
18882 * posix/sched_sets.c: Likewise.
18883 * posix/sched_yield.c: Likewise.
18884 * posix/setgid.c: Likewise.
18885 * posix/setlogin.c: Likewise.
18886 * posix/setpgid.c: Likewise.
18887 * posix/setresgid.c: Likewise.
18888 * posix/setresuid.c: Likewise.
18889 * posix/setsid.c: Likewise.
18890 * posix/setuid.c: Likewise.
18891 * posix/sleep.c: Likewise.
18892 * posix/spawni.c: Likewise.
18893 * posix/sysconf.c: Likewise.
18894 * posix/times.c: Likewise.
18895 * posix/wait.c: Likewise.
18896 * posix/wait3.c: Likewise.
18897 * posix/wait4.c: Likewise.
18898 * posix/waitpid.c: Likewise.
18899 * resolv/gai_sigqueue.c: Likewise.
18900 * resource/getpriority.c: Likewise.
18901 * resource/getrlimit.c: Likewise.
18902 * resource/getrusage.c: Likewise.
18903 * resource/nice.c: Likewise.
18904 * resource/setpriority.c: Likewise.
18905 * resource/setrlimit.c: Likewise.
18906 * resource/ulimit.c: Likewise.
18907 * rt/aio_cancel.c: Likewise.
18908 * rt/aio_fsync.c: Likewise.
18909 * rt/aio_read.c: Likewise.
18910 * rt/aio_sigqueue.c: Likewise.
18911 * rt/aio_suspend.c: Likewise.
18912 * rt/aio_write.c: Likewise.
18913 * rt/clock_getres.c: Likewise.
18914 * rt/clock_gettime.c: Likewise.
18915 * rt/clock_nanosleep.c: Likewise.
18916 * rt/clock_settime.c: Likewise.
18917 * rt/lio_listio.c: Likewise.
18918 * rt/mq_close.c: Likewise.
18919 * rt/mq_getattr.c: Likewise.
18920 * rt/mq_notify.c: Likewise.
18921 * rt/mq_open.c: Likewise.
18922 * rt/mq_receive.c: Likewise.
18923 * rt/mq_send.c: Likewise.
18924 * rt/mq_setattr.c: Likewise.
18925 * rt/mq_timedreceive.c: Likewise.
18926 * rt/mq_timedsend.c: Likewise.
18927 * rt/mq_unlink.c: Likewise.
18928 * rt/shm_open.c: Likewise.
18929 * rt/shm_unlink.c: Likewise.
18930 * rt/timer_create.c: Likewise.
18931 * rt/timer_delete.c: Likewise.
18932 * rt/timer_getoverr.c: Likewise.
18933 * rt/timer_gettime.c: Likewise.
18934 * rt/timer_settime.c: Likewise.
18935 * setjmp/__longjmp.c: Likewise.
18936 * setjmp/setjmp.c: Likewise.
18937 * signal/kill.c: Likewise.
18938 * signal/killpg.c: Likewise.
18939 * signal/raise.c: Likewise.
18940 * signal/sigaction.c: Likewise.
18941 * signal/sigaltstack.c: Likewise.
18942 * signal/sigblock.c: Likewise.
18943 * signal/sigignore.c: Likewise.
18944 * signal/sigintr.c: Likewise.
18945 * signal/signal.c: Likewise.
18946 * signal/sigpause.c: Likewise.
18947 * signal/sigpending.c: Likewise.
18948 * signal/sigqueue.c: Likewise.
18949 * signal/sigreturn.c: Likewise.
18950 * signal/sigset.c: Likewise.
18951 * signal/sigsetmask.c: Likewise.
18952 * signal/sigstack.c: Likewise.
18953 * signal/sigsuspend.c: Likewise.
18954 * signal/sigtimedwait.c: Likewise.
18955 * signal/sigvec.c: Likewise.
18956 * signal/sigwait.c: Likewise.
18957 * signal/sigwaitinfo.c: Likewise.
18958 * signal/sysv_signal.c: Likewise.
18959 * socket/accept.c: Likewise.
18960 * socket/accept4.c: Likewise.
18961 * socket/bind.c: Likewise.
18962 * socket/connect.c: Likewise.
18963 * socket/getpeername.c: Likewise.
18964 * socket/getsockname.c: Likewise.
18965 * socket/getsockopt.c: Likewise.
18966 * socket/isfdtype.c: Likewise.
18967 * socket/listen.c: Likewise.
18968 * socket/recv.c: Likewise.
18969 * socket/recvfrom.c: Likewise.
18970 * socket/recvmsg.c: Likewise.
18971 * socket/send.c: Likewise.
18972 * socket/sendmsg.c: Likewise.
18973 * socket/sendto.c: Likewise.
18974 * socket/setsockopt.c: Likewise.
18975 * socket/shutdown.c: Likewise.
18976 * socket/sockatmark.c: Likewise.
18977 * socket/socket.c: Likewise.
18978 * socket/socketpair.c: Likewise.
18979 * stdio-common/ctermid.c: Likewise.
18980 * stdio-common/cuserid.c: Likewise.
18981 * stdio-common/remove.c: Likewise.
18982 * stdio-common/rename.c: Likewise.
18983 * stdio-common/renameat.c: Likewise.
18984 * stdio-common/tempname.c: Likewise.
18985 * stdlib/getcontext.c: Likewise.
18986 * stdlib/makecontext.c: Likewise.
18987 * stdlib/setcontext.c: Likewise.
18988 * stdlib/swapcontext.c: Likewise.
18989 * stdlib/system.c: Likewise.
18990 * streams/fattach.c: Likewise.
18991 * streams/fdetach.c: Likewise.
18992 * streams/getmsg.c: Likewise.
18993 * streams/getpmsg.c: Likewise.
18994 * streams/putmsg.c: Likewise.
18995 * streams/putpmsg.c: Likewise.
18996 * sysdeps/unix/bsd/getpt.c: Likewise.
18997 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
18998 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
18999 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
19001 Likewise.
19002 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
19003 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
19004 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
19005 * sysvipc/msgctl.c: Likewise.
19006 * sysvipc/msgget.c: Likewise.
19007 * sysvipc/msgrcv.c: Likewise.
19008 * sysvipc/msgsnd.c: Likewise.
19009 * sysvipc/semctl.c: Likewise.
19010 * sysvipc/semget.c: Likewise.
19011 * sysvipc/semop.c: Likewise.
19012 * sysvipc/semtimedop.c: Likewise.
19013 * sysvipc/shmat.c: Likewise.
19014 * sysvipc/shmctl.c: Likewise.
19015 * sysvipc/shmdt.c: Likewise.
19016 * sysvipc/shmget.c: Likewise.
19017 * termios/tcdrain.c: Likewise.
19018 * termios/tcflow.c: Likewise.
19019 * termios/tcflush.c: Likewise.
19020 * termios/tcgetattr.c: Likewise.
19021 * termios/tcgetpgrp.c: Likewise.
19022 * termios/tcsendbrk.c: Likewise.
19023 * termios/tcsetattr.c: Likewise.
19024 * termios/tcsetpgrp.c: Likewise.
19025 * time/adjtime.c: Likewise.
19026 * time/clock.c: Likewise.
19027 * time/getitimer.c: Likewise.
19028 * time/gettimeofday.c: Likewise.
19029 * time/setitimer.c: Likewise.
19030 * time/settimeofday.c: Likewise.
19031 * time/stime.c: Likewise.
19032 * time/time.c: Likewise.
19033
190342012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 19035
a20492cf
PT
19036 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
19037 /usr/old/bin.
19038
72e182e3
PT
19039 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
19040 instead of spaces.
19041 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
19042
fbeafede
JM
190432012-11-03 Joseph Myers <joseph@codesourcery.com>
19044
5b5b04d6
JM
19045 [BZ #14796]
19046 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
19047 FE_TONEAREST before applying Dekker multiplication and Knuth
19048 addition. Clear inexact exceptions and check for exact zero
19049 results afterwards.
19050 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19051 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19052 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19053 * math/libm-test.inc (fma_test): Add more tests.
19054 (fma_test_towardzero): Likewise.
19055 (fma_test_downward): Likewise.
19056 (fma_test_upward): Likewise.
19057 * sysdeps/generic/math_private.h (default_libc_fesetround): New
19058 function.
19059 (libc_fesetround): New macro.
19060 (libc_fesetroundf): Likewise.
19061 (libc_fesetroundl): Likewise.
19062 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
19063 function.
19064 (libc_fesetround_387): Likewise.
19065 (libc_fesetroundf): New macro.
19066 (libc_fesetround): Likewise.
19067 (libc_fesetroundl): Likewise.
19068 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
19069 function.
19070 (libc_fesetroundf): New macro.
19071 (libc_fesetround): Likewise.
19072 (libc_fesetroundl): Likewise.
19073 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
19074 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
19075 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
19076 libm_hidden_ver.
19077 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
19078 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
19079 libm_hidden_def.
19080 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
19081 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
19082 libm_hidden_ver.
19083 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
19084 libm_hidden_def.
19085
fbeafede
JM
19086 [BZ #3439]
19087 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
19088 integer constant usable in #if and use that to give value to enum
19089 constant.
19090 (FE_DIVBYZERO): Likewise.
19091 (FE_UNDERFLOW): Likewise.
19092 (FE_OVERFLOW): Likewise.
19093 (FE_INVALID): Likewise.
19094 (FE_INVALID_SNAN): Likewise.
19095 (FE_INVALID_ISI): Likewise.
19096 (FE_INVALID_IDI): Likewise.
19097 (FE_INVALID_ZDZ): Likewise.
19098 (FE_INVALID_IMZ): Likewise.
19099 (FE_INVALID_COMPARE): Likewise.
19100 (FE_INVALID_SOFTWARE): Likewise.
19101 (FE_INVALID_SQRT): Likewise.
19102 (FE_INVALID_INTEGER_CONVERSION): Likewise.
19103 (FE_TONEAREST): Likewise.
19104 (FE_TOWARDZERO): Likewise.
19105 (FE_UPWARD): Likewise.
19106 (FE_DOWNWARD): Likewise.
19107 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
19108 (FE_DIVBYZERO): Likewise.
19109 (FE_OVERFLOW): Likewise.
19110 (FE_UNDERFLOW): Likewise.
19111 (FE_INEXACT): Likewise.
19112 (FE_TONEAREST): Likewise.
19113 (FE_DOWNWARD): Likewise.
19114 (FE_UPWARD): Likewise.
19115 (FE_TOWARDZERO): Likewise.
19116 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
19117 (FE_UNDERFLOW): Likewise.
19118 (FE_OVERFLOW): Likewise.
19119 (FE_DIVBYZERO): Likewise.
19120 (FE_INVALID): Likewise.
19121 (FE_TONEAREST): Likewise.
19122 (FE_TOWARDZERO): Likewise.
19123 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
19124 (FE_OVERFLOW): Likewise.
19125 (FE_UNDERFLOW): Likewise.
19126 (FE_DIVBYZERO): Likewise.
19127 (FE_INEXACT): Likewise.
19128 (FE_TONEAREST): Likewise.
19129 (FE_TOWARDZERO): Likewise.
19130 (FE_UPWARD): Likewise.
19131 (FE_DOWNWARD): Likewise.
19132 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
19133 (FE_DIVBYZERO): Likewise.
19134 (FE_OVERFLOW): Likewise.
19135 (FE_UNDERFLOW): Likewise.
19136 (FE_INEXACT): Likewise.
19137 (FE_TONEAREST): Likewise.
19138 (FE_DOWNWARD): Likewise.
19139 (FE_UPWARD): Likewise.
19140 (FE_TOWARDZERO): Likewise.
19141
105ca950
CM
191422012-11-02 Chris Metcalf <cmetcalf@tilera.com>
19143
19144 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
19145
a542b389
AS
191462012-11-03 Andreas Schwab <schwab@linux-m68k.org>
19147
19148 * scripts/cross-test-ssh.sh (command): Use newlines to separate
19149 commands. Quote $PWD.
19150 (blacklist_exports): Don't use remove_newlines. Replace "declare
19151 -x" by "export".
19152 (remove_newlines): Remove.
19153
f62c8abc
L
191542012-11-02 H.J. Lu <hongjiu.lu@intel.com>
19155
19156 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
19157 * stdlib/stdlib.h (atof): Moved to ...
19158 * include/bits/stdlib-float.h: Here. New file.
19159 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
19160 * stdlib/bits/stdlib-float.h: New file.
19161 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
19162 -mno-sse -mno-mmx.
19163 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
19164 <xmmintrin.h>.
19165
0155d5b2
JM
191662012-11-02 Joseph Myers <joseph@codesourcery.com>
19167
a68d0680
JM
19168 * conform/conformtest.pl (@headers): Add fenv.h.
19169 * conform/data/fenv.h-data: New file.
19170 * include/fenv.h [_ISOMAC]: Disable all contents of file except
19171 include of <math/fenv.h>.
19172
caf7f573
JM
19173 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
19174 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
19175 && !UNIX98]. Enables tests for XOPEN2K8.
19176 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
19177 POSIX2008]: Likewise.
19178
6c073ad6
JM
19179 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
19180 (struct rusage): Do not expect type or its members.
19181
0155d5b2
JM
19182 [BZ #3439]
19183 * math/math.h (FP_NAN): Define macro to integer constant usable in
19184 #if and use that to give value to enum constant.
19185 (FP_INFINITE): Likewise.
19186 (FP_ZERO): Likewise.
19187 (FP_SUBNORMAL): Likewise.
19188 (FP_NORMAL): Likewise.
19189
b5dcacb4
AS
191902012-11-02 Andreas Schwab <schwab@linux-m68k.org>
19191
19192 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
19193 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
19194 arguments.
19195
f7934be8
RM
191962012-11-02 Roland McGrath <roland@hack.frob.com>
19197
19198 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
19199 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
19200 autoconf-time if not.
19201 * configure.in: Remove AC_PREREQ.
19202
d7d08bde
TMQMF
192032012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19204
19205 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
19206 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
19207 of the internal implementation.
19208
dcdae19a
JM
192092012-11-02 Joseph Myers <joseph@codesourcery.com>
19210
19211 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
19212 except include of <misc/sys/syslog.h>.
19213
d6cffd3e
AS
192142012-11-01 Andreas Schwab <schwab@linux-m68k.org>
19215
19216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
19217 function returns with a NULL context exit with zero.
19218
b3563932
TMQMF
192192012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19220
19221 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
19222
b288a93d
L
192232012-11-01 H.J. Lu <hongjiu.lu@intel.com>
19224
19225 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
19226 (run_program_cmd): This.
19227 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
19228 (tst_langinfo): New variable. Use it.
19229
a2421a68
SAS
192302012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
19231
19232 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
19233 floating point opcodes.
19234
6f796e1b
TS
192352012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19236
7402596b
TS
19237 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
19238 variable.
19239
d0d4f868
TS
19240 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
19241
6f796e1b
TS
19242 * sysdeps/mach/hurd/powerpc: Remove directory.
19243 * sysdeps/mach/powerpc: Likewise.
19244
4da224a2
AS
192452012-11-01 Andreas Schwab <schwab@linux-m68k.org>
19246
19247 * scripts/check-local-headers.sh: Ignore c++ headers.
19248
341dd673
TS
192492012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19250
19251 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
19252 __libc_cleanup_region_start argument.
19253
473611b2
JM
192542012-11-01 Joseph Myers <joseph@codesourcery.com>
19255
19256 [BZ #14784]
19257 [BZ #14785]
19258 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
19259 x * y using scaling, not as x * y + z.
19260 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19261 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19262 * math/libm-test.inc (fma_test): Add more tests.
19263 (fma_test_towardzero): Likewise.
19264 (fma_test_downward): Likewise.
19265 (fma_test_upward): Likewise.
19266
4078da3d
TS
192672012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19268
19269 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
19270
903252aa
JM
192712012-10-31 Joseph Myers <joseph@codesourcery.com>
19272
19273 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
19274 New variable.
19275
cbc818d0
TS
192762012-10-31 Thomas Schwinge <thomas@codesourcery.com>
19277
19278 * rt/tst-shm.c (worker): Correct checking for mmap failure.
19279
5a03cb1e
AS
192802012-10-31 Andreas Schwab <schwab@linux-m68k.org>
19281
19282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19283 Fix sort order.
19284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19285 Likewise.
19286
90aff2ff
TMQMF
192872012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19288
19289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19290 Fix the order of the list for glibc 2.17.
19291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19292 Likewise.
19293
1818fcb7
AS
192942012-10-31 Andreas Schwab <schwab@linux-m68k.org>
19295
19296 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19297
ef82f4da
JM
192982012-10-31 Joseph Myers <joseph@codesourcery.com>
19299
16a0e2ec
JM
19300 [BZ #14610]
19301 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
19302 for low part of x being zero before using __atanl (y).
19303 * math/libm-test.inc (atan2_test): Add another test.
19304
0eb69512
JM
19305 * manual/install.texi (Configuring and compiling): Document
19306 general use of test-wrapper and test-wrapper-env.
19307 * INSTALL: Regenerated.
19308
ef82f4da
JM
19309 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
19310 (__fma): Do not extract and scale down low bits on after-rounding
19311 systems when result rounded to normal precision would have normal
19312 exponent.
19313 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
19314 (__fmal): Do not extract and scale down low bits on after-rounding
19315 systems when result rounded to normal precision would have normal
19316 exponent.
19317 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
19318 (__fmal): Do not extract and scale down low bits on after-rounding
19319 systems when result rounded to normal precision would have normal
19320 exponent.
19321 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
19322 macro.
19323 (fma_test): Add more tests.
19324 (fma_test_towardzero): Likewise.
19325 (fma_test_downward): Likewise.
19326 (fma_test_upward): Likewise.
19327
954ef0d9
L
193282012-10-30 H.J. Lu <hongjiu.lu@intel.com>
19329
19330 * sysdeps/i386/tininess.h: Renamed to ...
19331 * sysdeps/x86/tininess.h: This.
19332 * sysdeps/x86_64/tininess.h: Removed.
19333
df61ffb2
JM
193342012-10-30 Joseph Myers <joseph@codesourcery.com>
19335
19336 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
19337 input. Use $(build-program-cmd).
19338 ($(objpfx)tst-array1-static.out): Likewise.
19339 ($(objpfx)tst-array2.out): Likewise.
19340 ($(objpfx)tst-array3.out): Likewise.
19341 ($(objpfx)tst-array4.out): Likewise.
19342 ($(objpfx)tst-array5.out): Likewise.
19343 ($(objpfx)tst-array5-static.out): Likewise.
19344
01767843
CM
193452012-10-30 Chris Metcalf <cmetcalf@tilera.com>
19346
47cc1490
CM
19347 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
19348 if defined.
19349
01767843
CM
19350 * nss/nsswitch.h (nss_interface_function): Provide new
19351 macro for use with NSS functions.
19352 * grp/initgroups.c: Use new macro.
19353 * nss/getXXbyYY.c: Likewise.
19354 * nss/getXXbyYY_r.c: Likewise.
19355 * nss/getXXent.c: Likewise.
19356 * nss/getXXent_r.c: Likewise.
19357 * sysdeps/posix/getaddrinfo.c: Likewise.
19358
8321aa97
AJ
193592012-10-30 Andreas Jaeger <aj@suse.de>
19360
19361 * po/ru.po: Update Russion translation from translation project.
19362
2a27fd6d
JM
193632012-10-30 Joseph Myers <joseph@codesourcery.com>
19364
8627a232
JM
19365 [BZ #14152]
19366 [BZ #14783]
19367 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
19368 result and shift together with sticky bit instead of replicating
19369 round-to-nearest rounding.
19370 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19371 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19372 * math/libm-test.inc (fma_test): Add more tests. Do not permit
19373 missing underflow exceptions.
19374 (fma_test_towardzero): Add more tests.
19375 (fma_test_downward): Likewise.
19376 (fma_test_upward): Likewise.
19377
2a27fd6d
JM
19378 [BZ #14047]
19379 * sysdeps/generic/tininess.h: New file.
19380 * sysdeps/i386/tininess.h: Likewise.
19381 * sysdeps/sh/tininess.h: Likewise.
19382 * sysdeps/x86_64/tininess.h: Likewise.
19383 * stdlib/tst-strtod-underflow.c: Likewise.
19384 * stdlib/tst-tininess.c: Likewise.
19385 * stdlib/strtod_l.c: Include <tininess.h>.
19386 (round_and_return): Do not set errno for exact underflow cases.
19387 Force an underflow exception when setting errno for underflow.
19388 Determine underflow based on rounding to normal precision if
19389 TININESS_AFTER_ROUNDING.
19390 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
19391 ERANGE for exact underflow cases.
19392 * stdlib/Makefile (tests): Add tst-tininess and
19393 tst-strtod-underflow.
19394 ($(objpfx)tst-tininess): Use $(link-libm).
19395 ($(objpfx)tst-strtod-underflow): Likewise.
19396
e7170363
AJ
193972012-10-30 Andreas Jaeger <aj@suse.de>
19398
e5088dc6
AJ
19399 [BZ#14767]
19400 * elf/Makefile (tests): Remove conditional for have-initfini-array
19401 since this is now always required and the variable does not exist
19402 anymore.
19403 (tests-static): Likewise.
19404 (modules-names): Likewise.
19405
e7170363 19406 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
19407
19408 * elf/tst-array1.c (fini_array): Make writeable so that it can be
19409 merged with constructor/destructor.
19410 (init_array): Likewise.
19411 * elf/tst-array2dep.c (fini_array): Likewise.
19412 (init_array): Likewise.
19413
60457d8a
MF
194142012-10-29 Mike Frysinger <vapier@gentoo.org>
19415
19416 * manual/message.texi: Delete @cartouche tags.
19417
8bece752
PT
194182012-10-29 Pino Toscano <toscano.pino@tiscali.it>
19419
94ce799f
PT
19420 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
19421 EOPNOTSUPP.
19422 * sysdeps/mach/hurd/fsync.c: Likewise.
19423
8bece752
PT
19424 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
19425 [_POSIX_REALTIME_SIGNALS]: Change condition to
19426 [_POSIX_REALTIME_SIGNALS > 0].
19427
86ebe6b1
AJ
194282012-10-27 Andreas Jaeger <aj@suse.de>
19429
19430 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
19431 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
19432 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
19433 [__WORDSIZE != 64]: Likewise.
19434
54399c08
L
194352012-10-26 H.J. Lu <hongjiu.lu@intel.com>
19436
19437 * iconvdata/tst-table.sh: Remove ${SHELL}.
19438 * iconvdata/tst-tables.sh: Likewise.
19439
e2211bed
DM
194402012-10-25 David S. Miller <davem@davemloft.net>
19441
19442 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19443 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
19444 of strtoull.
19445
f303f97c
DM
19446 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
19447 ifunc-impl-list.c
19448 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19449 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
19450 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
19451 file.
19452
1e9d84cd
RM
194532012-10-25 Roland McGrath <roland@hack.frob.com>
19454
19455 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19456 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
19457 __getdirentries.
19458
df381762
JM
194592012-10-25 Joseph Myers <joseph@codesourcery.com>
19460 Jim Blandy <jimb@codesourcery.com>
19461
19462 * scripts/cross-test-ssh.sh: New file.
19463 * manual/install.texi (Configuring and compiling): Document use of
19464 cross-test-ssh.sh.
19465 * INSTALL: Regenerated.
19466
bff64913
PT
194672012-10-25 Pino Toscano <toscano.pino@tiscali.it>
19468
19469 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
19470 EOPNOTSUPP.
19471
25fe8932
JM
194722012-10-25 Joseph Myers <joseph@codesourcery.com>
19473
19474 * Makeconfig (run-program-prefix): Fix comment.
19475
cc1290d0
JM
194762012-10-24 Joseph Myers <joseph@codesourcery.com>
19477 Jim Blandy <jimb@codesourcery.com>
19478
19479 * Makeconfig (test-wrapper): New variable,
19480 (test-wrapper-env): Likewise.
19481 [$(cross-compiling) = yes && $(test-wrapper) != ""]
19482 (run-built-tests): Define to yes.
19483 (run-program-prefix): Use $(test-wrapper).
19484 (built-program-cmd): Likewise.
19485 * Rules (make-test-out): Use $(test-wrapper-env) and
19486 $(host-built-program-cmd).
19487 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
19488 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
19489 tst-pathopt.sh.
19490 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
19491 $(test-wrapper-env) to tst-rtld-load-self.sh.
19492 ($(objpfx)order2.out): Use $(test-wrapper).
19493 ($(objpfx)tst-initorder.out): Likewise.
19494 ($(objpfx)tst-initorder2.out): Likewise.
19495 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
19496 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
19497 (test_wrapper_env): New variable. Use it to run ld.so.
19498 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
19499 Use it to run ld.so.
19500 (test_wrapper_env): Likewise.
19501 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
19502 $(test-wrapper) to run-iconv-test.sh.
19503 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
19504 (ICONV): Use $test_wrapper.
19505 * posix/Makefile ($(objpfx)globtest.out): Pass
19506 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
19507 globtest.sh, not $(run-program-prefix).
19508 * posix/globtest.sh (run_via_rtld_prefix): New variable.
19509 (test_wrapper): Likewise.
19510 (test_wrapper_env): Likewise. Use it to run globtest with HOME
19511 set together with run_via_rtld_prefix.
19512 (run_program_prefix): Define in terms of test_wrapper and
19513 run_via_rtld_prefix.
19514
6e6249d0
RM
195152012-10-24 Roland McGrath <roland@hack.frob.com>
19516
19517 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
19518 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
19519 Targets removed.
19520
19521 [BZ #14743]
19522 * include/time.h: Remove librt_hidden_proto (clock_gettime).
19523 Declare __clock_getres, __clock_gettime, __clock_settime,
19524 __clock_nanosleep, and __clock_getcpuclockid.
19525 * rt/clock_gettime.c: Define __clock_gettime as an alias.
19526 Remove librt_hidden_def (clock_gettime).
19527 * sysdeps/unix/clock_gettime.c: Likewise.
19528 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
19529 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
19530 * rt/clock_getres.c: Define __clock_getres as an alias.
19531 * sysdeps/posix/clock_getres.c: Likewise.
19532 * rt/clock_settime.c: Define __clock_settime as an alias.
19533 * sysdeps/unix/clock_settime.c: Likewise.
19534 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
19535 * sysdeps/unix/clock_nanosleep.c: Likewise.
19536 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
19537 * rt/clock-compat.c: New file.
19538 * rt/Makefile (librt-routines): Add clock-compat and move
19539 $(clock-routines) to ...
19540 (routines): ... here, new variable.
19541 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
19542 Don't add get_clockfreq here.
19543 * rt/Versions (libc: GLIBC_2.17): New version set.
19544 Add clock_* symbols here.
19545 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
19546 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
19547 (GLIBC_2.17): Add clock_* symbols.
19548 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19549 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19550 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19552 Likewise.
19553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19554 Likewise.
19555 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19556 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
19557 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19559 * NEWS: Mention the move.
19560
19561 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19562 Use __open, __read, __close rather than their public counterparts.
19563 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19564 (__get_clockfreq_via_cpuinfo): Likewise.
19565 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
19566 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
19567
19568 * config.h.in (HAVE_IFUNC): New #undef.
19569 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
19570 was successful.
19571 * configure: Regenerated.
19572
0cae3f4b
MF
195732012-10-24 Mike Frysinger <vapier@gentoo.org>
19574
19575 * configure.in: Move READELF check to start of file.
19576 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
19577 libc_cv_asm_gnu_indirect_function in the process.
19578 * configure: Regenerated.
19579
8175a253
MF
195802012-10-24 Mike Frysinger <vapier@gentoo.org>
19581
19582 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
19583 send the output to /dev/null.
19584 (libc_cv_cc_with_libunwind): Likewise.
19585 (libc_cv_as_noexecstack): Likewise.
19586 * configure: Regenerate.
19587
0708a7d1
JM
195882012-10-24 Joseph Myers <joseph@codesourcery.com>
19589
10b40d85
JM
19590 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
19591
0708a7d1
JM
19592 * posix/globtest.sh (TMPDIR): Do not set.
19593 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
19594 (testout): Likewise.
19595
9fddec1a
AJ
195962012-10-24 Andreas Jaeger <aj@suse.de>
19597
3a8db22f
AJ
19598 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
19599 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
19600 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
19601 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
19602 posix_fadvise64, posix_fallocate64.
19603
9fddec1a
AJ
19604 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
19605 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
19606 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
19607 Likewise.
19608 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
19609 Likewise.
19610 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
19611
19612 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
19613 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
19614 <bits/fcntl-linux.h>.
19615 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
19616
19617 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
19618 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
19619 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
19620 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
19621 [__WORDSIZE != 64]: Likewise.
19622
ebfd1bbd
JM
196232012-10-23 Joseph Myers <joseph@codesourcery.com>
19624
03ac099f
JM
19625 * Makeconfig (run-built-tests): New variable.
19626 * Rules [$(cross-compiling) = yes]: Change condition to
19627 [$(run-built-tests) = no].
19628 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
19629 to [$(run-built-tests) = yes].
19630 * elf/Makefile [$(cross-compiling) = no]: Likewise
19631 * grp/Makefile [$(cross-compiling) = no]: Likewise.
19632 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
19633 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
19634 * intl/Makefile [$(cross-compiling) = no]: Likewise.
19635 * io/Makefile [$(cross-compiling) = no]: Likewise.
19636 * libio/Makefile [$(cross-compiling) = no]: Likewise.
19637 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
19638 * misc/Makefile [$(cross-compiling) = no]: Likewise.
19639 * posix/Makefile [$(cross-compiling) = no]: Likewise.
19640 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
19641 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
19642 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
19643 * string/Makefile [$(cross-compiling) = no]: Likewise.
19644
ebfd1bbd
JM
19645 * posix/Makefile ($(objpfx)globtest.out): Pass
19646 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
19647 $(rtld-installed-name).
19648 * posix/globtest.sh (elf_objpfx): Remove variable.
19649 (rtld_installed_name): Likewise.
19650 (library_path): Likewise.
19651 (run_program_prefix): New variable. Use for running globtest
19652 binary.
19653
166bca24
JB
196542012-10-23 Jim Blandy <jimb@codesourcery.com>
19655 Joseph Myers <joseph@codesourcery.com>
19656
19657 * Makeconfig (host-built-program-cmd): New variable.
19658 * elf/Makefile (tst-stackguard1-ARGS): Use
19659 $(host-built-program-cmd).
19660 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
19661 (tst-spawn-ARGS): Likewise.
19662 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
19663
88866099
JM
196642012-10-23 Joseph Myers <joseph@codesourcery.com>
19665 Jim Blandy <jimb@codesourcery.com>
19666
19667 * Makeconfig (run-via-rtld-prefix): New variable.
19668 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
19669 (built-program-cmd): Likewise.
19670
b4b4c296
AJ
196712012-10-22 Andreas Jaeger <aj@suse.de>
19672
19673 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
19674 __O_RSYNC if it exists, otherwise to O_SYNC.
19675
6fb54a22
JB
196762012-10-22 Jim Blandy <jimb@codesourcery.com>
19677 Joseph Myers <joseph@codesourcery.com>
19678
19679 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
19680 /dev/null.
19681 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
19682 from /dev/null
19683 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
19684 /dev/null.
19685
481b90b9
AJ
196862012-10-22 Andreas Jaeger <aj@suse.de>
19687
2a0e2669
AJ
19688 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
19689 Define always.
19690 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
19691
76e38f9a
AJ
19692 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19693 bits/fcntl-linux.h.
19694
7cd37b43
AJ
19695 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
19696 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
19697
481b90b9
AJ
19698 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
19699 to __O_LARGEFILE.
19700 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
19701 to __O_LARGEFILE.
19702
aba75984
JB
197032012-10-21 Jim Blandy <jimb@codesourcery.com>
19704 Joseph Myers <joseph@codesourcery.com>
19705
19706 * config.make.in (NM): New variable.
19707
88d4247f
AJ
197082012-10-21 Andreas Jaeger <aj@suse.de>
19709
19710 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
19711 definitions and declarations that are provided by
19712 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
19713
f2eed205
L
197142012-10-20 H.J. Lu <hongjiu.lu@intel.com>
19715
19716 [BZ #14683]
19717 * elf/Makefile (tests-static): Add tst-leaks1-static.
19718 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
19719 ($(objpfx)tst-leaks1-static): New rule.
19720 ($(objpfx)tst-leaks1-static-mem): Likewise.
19721 (tst-leaks1-static-ENV): New macro.
19722 * elf/dl-open.c (dl_open_worker): Check the main application
19723 only if SHARED is defined.
19724 * elf/tst-leaks1-static.c: New file.
19725
335e6931
AJ
197262012-10-20 Andreas Jaeger <aj@suse.de>
19727
19728 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
19729 generic values for Linux.
19730 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
19731 and declarations that are provided by <bits/fcntl-linux.h> and
19732 include <bits/fcntl-linux.h>.
19733 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19734 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19735
ac5c94d3
RM
197362012-10-20 Roland McGrath <roland@hack.frob.com>
19737
19738 * io/fcntl.h: Move include of <bits/types.h> to the top and
19739 include it unconditionally.
19740
de54b33a
L
197412012-10-20 H.J. Lu <hongjiu.lu@intel.com>
19742
228cfb01
L
19743 * wcsmbs/Makefile (tests-ifunc): New variable.
19744 (tests): Add $(tests-ifunc).
19745 * wcsmbs/test-wcschr-ifunc.c: New file.
19746 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
19747 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
19748 * wcsmbs/test-wcslen-ifunc.c: Likewise.
19749 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
19750 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
19751
69f07e5f
L
19752 * string/Makefile (tests-ifunc): New variable.
19753 (tests): Add $(tests-ifunc).
19754 * string/test-memccpy.c (TEST_NAME): New macro.
19755 * string/test-memchr.c (TEST_NAME): Likewise.
19756 * string/test-memcmp.c (TEST_NAME): Likewise.
19757 * string/test-memcpy.c (TEST_NAME): Likewise.
19758 * string/test-memmem.c (TEST_NAME): Likewise.
19759 * string/test-memmove.c (TEST_NAME): Likewise.
19760 * string/test-memset.c (TEST_NAME): Likewise.
19761 * string/test-rawmemchr.c (TEST_NAME): Likewise.
19762 * string/test-stpcpy.c (TEST_NAME): Likewise.
19763 * string/test-stpncpy.c (TEST_NAME): Likewise.
19764 * string/test-strcasecmp.c (TEST_NAME): Likewise.
19765 * string/test-strcasestr.c (TEST_NAME): Likewise.
19766 * string/test-strcat.c (TEST_NAME): Likewise.
19767 * string/test-strchr.c (TEST_NAME): Likewise.
19768 * string/test-strcmp.c(TEST_NAME): Likewise.
19769 * string/test-strcpy.c (TEST_NAME): Likewise.
19770 * string/test-strcspn.c (TEST_NAME): Likewise.
19771 * string/test-strlen.c (TEST_NAME): Likewise.
19772 * string/test-strncasecmp.c (TEST_NAME): Likewise.
19773 * string/test-strncmp.c (TEST_NAME): Likewise.
19774 * string/test-strncpy.c (TEST_NAME): Likewise.
19775 * string/test-strnlen.c (TEST_NAME): Likewise.
19776 * string/test-strpbrk.c (TEST_NAME): Likewise.
19777 * string/test-strrchr.c (TEST_NAME): Likewise.
19778 * string/test-strspn.c (TEST_NAME): Likewise.
19779 * string/test-strstr.c (TEST_NAME): Likewise.
19780 * string/test-bcopy-ifunc.c: New file.
19781 * string/test-bzero-ifunc.c: Likewise.
19782 * string/test-memccpy-ifunc.c: Likewise.
19783 * string/test-memchr-ifunc.c: Likewise.
19784 * string/test-memcmp-ifunc.c: Likewise.
19785 * string/test-memcpy-ifunc.c: Likewise.
19786 * string/test-memmem-ifunc.c: Likewise.
19787 * string/test-memmove-ifunc.c: Likewise.
19788 * string/test-mempcpy-ifunc.c: Likewise.
19789 * string/test-memset-ifunc.c: Likewise.
19790 * string/test-rawmemchr-ifunc.c: Likewise.
19791 * string/test-stpcpy-ifunc.c: Likewise.
19792 * string/test-stpncpy-ifunc.c: Likewise.
19793 * string/test-strcasecmp-ifunc.c: Likewise.
19794 * string/test-strcasestr-ifunc.c: Likewise.
19795 * string/test-strcat-ifunc.c: Likewise.
19796 * string/test-strchr-ifunc.c: Likewise.
19797 * string/test-strchrnul-ifunc.c: Likewise.
19798 * string/test-strcmp-ifunc.c: Likewise.
19799 * string/test-strcpy-ifunc.c: Likewise.
19800 * string/test-strcspn-ifunc.c: Likewise.
19801 * string/test-strlen-ifunc.c: Likewise.
19802 * string/test-strncasecmp-ifunc.c: Likewise.
19803 * string/test-strncat-ifunc.c: Likewise.
19804 * string/test-strncmp-ifunc.c: Likewise.
19805 * string/test-strncpy-ifunc.c: Likewise.
19806 * string/test-strnlen-ifunc.c: Likewise.
19807 * string/test-strpbrk-ifunc.c: Likewise.
19808 * string/test-strrchr-ifunc.c: Likewise.
19809 * string/test-strspn-ifunc.c: Likewise.
19810 * string/test-strstr-ifunc.c: Likewise.
19811
de54b33a
L
19812 * debug/Makefile (tests-ifunc): New variable.
19813 (tests): Add $(tests-ifunc).
19814 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
19815 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
19816 * debug/test-stpcpy_chk-ifunc.c: New file.
19817 * debug/test-strcpy_chk-ifunc.c: Likewise.
19818
88481c16
SP
198192012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19820
19821 [BZ #13601]
19822 * elf/dl-load.c (open_verify): Retry read if the entire ELF
19823 header is not read in.
19824
135948bd
JM
198252012-10-19 Joseph Myers <joseph@codesourcery.com>
19826
89f1c388
JM
19827 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
19828 script to $(SHELL) as $<. Pass $(common-objpfx) to script
19829 directly. Pass built executable to script as
19830 $(built-program-cmd).
19831 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
19832 $testprogram without using LD_LIBRARY_PATH and $ldso.
19833
e40a0d21
JM
19834 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
19835 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
19836 $(rtld-installed-name).
19837 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
19838 (rtld_installed_name): Likewise.
19839 (library_path): Likewise.
19840 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
19841 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
19842 $(run-program-prefix) to tst-tables.sh.
19843 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
19844 it to run tst-table-from and tst-table-to.
19845 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
19846 Pass it to tst-table.sh.
19847 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
19848 $(run-program-prefix) to tst-gettext.sh.
19849 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
19850 tst-translit.sh.
19851 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
19852 tst-gettext2.sh.
19853 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
19854 to run tst-gettext.
19855 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
19856 to run tst-gettext2.
19857 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
19858 to run tst-translit.
19859 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
19860 $(run-program-prefix) to tst-mtrace.sh.
19861 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
19862 to run tst-mtrace.
19863 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
19864 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
19865 $(rtld-installed-name).
19866 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
19867 (rtld_installed_name): Likewise.
19868 (run_program_prefix): New variable. Use it to run wordexp-test.
19869
728e272a
JM
19870 * Makeconfig (ARCH): Remove all definitions.
19871 (machine): Likewise.
19872 [ARCH]: Remove conditional code.
19873 [!objdir]: Give error.
19874 [!objdir] (objpfx): Remove.
19875 [!objdir] (common-objpfx): Likewise.
19876 [!objdir] (common-objdir): Likewise.
19877 * configure.in (config_makefile): Remove. Hardcode Makefile in
19878 AC_CONFIG_FILES call.
19879 * configure: Regenerated.
19880
d528cdcf
JM
19881 [BZ #13888]
19882 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
19883 or TMPDIR.
19884 (testout): Likewise.
19885
135948bd
JM
19886 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
19887 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
19888 $(rtld-installed-name).
19889 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
19890 (rtld_installed_name): Likwise.
19891 (runit): Remove function.
19892 (run_getconf): New variable, Use it for running getconf binary.
19893
38c78296
L
198942012-10-18 H.J. Lu <hongjiu.lu@intel.com>
19895
19896 [BZ #14716]
19897 * string/test-memmem.c (check_result): New function.
19898 (do_one_test): Use it.
19899 (check1): New function.
19900 (test_main): Use it.
19901
d077f65f
MT
199022012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
19903
19904 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
19905
ced52c71
JM
199062012-10-18 Joseph Myers <joseph@codesourcery.com>
19907
19908 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
19909 (_G_LSEEK64): Likewise.
19910 (_G_MMAP64): Likewise.
19911 (_G_FSTAT64): Likewise.
19912 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
19913 (_G_LSEEK64): Likewise.
19914 (_G_MMAP64): Likewise.
19915 (_G_FSTAT64): Likewise.
19916 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
19917 unconditional. Call __mmap64 directly.
19918 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
19919 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
19920 __lseek64 directly.
19921 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
19922 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
19923 __mmap64 directly.
19924 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
19925 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
19926 __lseek64 directly.
19927 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
19928 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
19929 __lseek64 directly.
19930 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
19931 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
19932 __lseek64 directly.
19933 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
19934 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
19935 __fxstat64 directly.
19936 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
19937 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
19938 unconditional.
19939 (freopen64) [!_G_OPEN64]: Remove conditional code.
19940 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
19941 unconditional.
19942 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
19943 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
19944 unconditional.
19945 (ftello64) [!_G_LSEEK64]: Remove conditional code.
19946 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
19947 unconditional.
19948 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19949 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
19950 unconditional.
19951 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
19952 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
19953 unconditional.
19954 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19955 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
19956 unconditional.
19957 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19958 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
19959 unconditional.
19960 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19961
b741de23
SP
199622012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19963
19964 [BZ #12140]
19965 * manual/memory.texi (Malloc Tunable Parameters): Add note
19966 about free list pointers overwriting some perturb bytes.
19967 Wording suggested by Roland McGrath.
19968
f9b9d9c9
JM
199692012-10-17 Joseph Myers <joseph@codesourcery.com>
19970
19971 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
19972 (lgamma_test): Likewise.
19973 (tgamma_test): Likewise.
19974
172a631a
FW
199752012-10-16 Florian Weimer <fweimer@redhat.com>
19976
19977 [BZ #14700]
19978 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
19979 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
19980
e9f37252
MK
199812012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
19982
19983 * NEWS: Mention BZ #14716.
19984 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
19985 when removing AVAILABLE1_USES_J macro.
19986
d394eb74
L
199872012-10-12 H.J. Lu <hongjiu.lu@intel.com>
19988
19989 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
19990 (__bswap_64): __uint64_t for unsigned 64-bit int.
19991
ca38dc17
AS
199922012-10-12 Andreas Schwab <schwab@linux-m68k.org>
19993
19994 * include/string.h (memmem): Declare libc hidden alias.
19995 * string/memmem.c (memmem): Define libc hidden alias.
19996 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
19997 __read, __close instead of open, read, close.
19998
9a387d1f
L
199992012-10-11 H.J. Lu <hongjiu.lu@intel.com>
20000
ac49ecaf
L
20001 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
20002 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
20003 global and hidden.
20004 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
20005 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
20006 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
20007 Likewise.
20008 (__rawmemchr_sse2): Likewise.
20009 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
20010 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
20011 (__strchr_sse2): Likewise.
20012 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
20013 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
20014 (__strcasecmp_sse2): Likewise.
20015 (__strncasecmp_sse2): Likewise.
20016 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
20017 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
20018 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
20019 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
20020 (__strrchr_sse2): Likewise.
20021 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
20022 ifunc-impl-list.c.
20023 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
20024 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20025 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20026 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20027 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20028 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20029 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20030 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20031 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
20032 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
20033 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
20034 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
20035 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
20036 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
20037 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
20038 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20039 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
20040 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
20041 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
20042 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
20043 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
20044 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
20045 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
20046 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20047 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
20048 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20049 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20050 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20051 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20052 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20053
b090e8ea
L
20054 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
20055 global and hidden.
20056 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
20057 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
20058 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
20059 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
20060 Likewise.
20061 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
20062 Likewise.
20063 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
20064 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
20065 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
20066 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
20067 ifunc-impl-list.c.
20068 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20069 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20070 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20071 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20072 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20073 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20074 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20075 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20076 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20077 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20078 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20079 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20080 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20081 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
20082 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
20083 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20084 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
20085 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
20086 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20087 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20088 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20089 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20090 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20091 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20092 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20093 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
20094 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
20095 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
20096 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
20097 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20098 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
20099 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20100 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20101 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
20102 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20103 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20104 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20105 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20106 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20107 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20108 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
20109
11dd4af6
L
20110 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
20111 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
20112 * include/ifunc-impl-list.h: New file.
20113 * misc/ifunc-impl-list.c: Likewise.
20114 * misc/Makefile (routines): Add ifunc-impl-list.
20115 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
20116 * string/test-string.h: Include <ifunc-impl-list.h>.
20117 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
20118 impl_array): New variables.
20119 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
20120 are defined.
20121 (test_init): Call __libc_ifunc_impl_list to initialize
20122 func_list if TEST_IFUNC and TEST_NAME are defined.
20123
9a387d1f
L
20124 * string/Makefile (strop-tests): Add bcopy and bzero.
20125 * string/test-bcopy.c: New file.
20126 * string/test-bzero.c: Likewise.
20127 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
20128 defined.
20129 * string/test-memset.c: Support bzero test if TEST_BZERO is
20130 defined.
20131 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
20132 __libc_memmove.
20133 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
20134 __libc_memset.
20135 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
20136 of memset.
20137
472371b9
JM
201382012-10-10 Joseph Myers <joseph@codesourcery.com>
20139
1e4a9536
JM
20140 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
20141 * configure: Regenerated.
20142
d173d12e
JM
20143 * Makeconfig (+link-static-before-libc): Don't include
20144 $(link-static-libc).
20145
472371b9
JM
20146 * libio/libio.h (_IO_pos_t): Remove.
20147
89a3ad0b
AO
201482012-10-10 Alexandre Oliva <aoliva@redhat.com>
20149
20150 * NEWS: Add note about FIPS mode. Wording suggested by Roland
20151 McGrath.
20152
e7451425
AO
201532012-10-10 Alexandre Oliva <aoliva@redhat.com>
20154
20155 * crypt/crypt-entry.c: Include fips-private.h.
20156 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
20157 * crypt/md5c-test.c (main): Tolerate disabled MD5.
20158 * sysdeps/unix/sysv/linux/fips-private.h: New file.
20159 * sysdeps/generic/fips-private.h: New file, dummy fallback.
20160
4ba74a35
AO
201612012-10-10 Alexandre Oliva <aoliva@redhat.com>
20162
20163 * crypt/crypt-private.h: Include stdbool.h.
20164 (_ufc_setup_salt_r): Return bool.
20165 * crypt/crypt-entry.c: Include errno.h.
20166 (__crypt_r): Return NULL with EINVAL for bad salt.
20167 * crypt/crypt_util.c (bad_for_salt): New.
20168 (_ufc_setup_salt_r): Check that salt is long enough and within
20169 the specified alphabet.
20170 * crypt/badsalttest.c: New file.
20171 * crypt/Makefile (tests): Add it.
20172 ($(objpfx)badsalttest): New.
20173
f96f1242
MK
201742012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
20175
20176 * NEWS: Add entry for BZ #14602.
20177
0e8e0c1c
JM
201782012-10-09 Joseph Myers <joseph@codesourcery.com>
20179
20180 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
20181 type-generic.
20182 * math/libm-test.inc: Update comment listing what functions and
20183 macros are tested.
20184 (isgreater_test): New function.
20185 (isgreaterequal_test): Likewise.
20186 (isless_test): Likewise.
20187 (islessequal_test): Likewise.
20188 (islessgreater_test): Likewise.
20189 (isunordered_test): Likewise.
20190 (main): Call the new functions.
20191
273edc5e
RM
201922012-10-09 Roland McGrath <roland@hack.frob.com>
20193
b8493de0
RM
20194 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
20195 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
20196 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
20197 * sysdeps/i386/configure: Regenerated.
20198 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
20199 * sysdeps/mach/configure: Regenerated.
20200 * sysdeps/mach/hurd/configure: Regenerated.
20201 * sysdeps/powerpc/configure: Regenerated.
20202 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20203 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20204 * sysdeps/s390/s390-32/configure: Regenerated.
20205 * sysdeps/s390/s390-64/configure: Regenerated.
20206 * sysdeps/sh/configure: Regenerated.
20207 * sysdeps/sparc/configure: Regenerated.
20208 * sysdeps/unix/sysv/linux/configure: Regenerated.
20209 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
20210 * sysdeps/x86_64/configure: Regenerated.
20211
273edc5e
RM
20212 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
20213 defined. Don't check if MAP is NULL.
20214
c8450f70
JM
202152012-10-09 Joseph Myers <joseph@codesourcery.com>
20216
20217 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
20218 (_G_stat64): Likewise.
20219 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
20220 (_G_stat64): Likewise.
20221 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
20222 instead of struct _G_stat64.
20223 * libio/fileops.c (mmap_remap_check): Likewise.
20224 (decide_maybe_mmap): Likewise.
20225 (_IO_new_file_seekoff): Likewise.
20226 (_IO_file_stat): Likewise.
20227 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
20228 _G_off64_t.
20229 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
20230 instead of struct _G_stat64.
20231 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20232
57e605ba
MK
202332012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
20234
20235 [BZ #14602]
20236 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20237 Replace with ...
20238 (CHECK_EOL): New macro.
20239 (two_way_short_needle): Check beginning of haystack for EOL. Use
20240 CHECK_EOL.
20241 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20242 Replace with CHECK_EOL.
20243 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20244 Replace with CHECK_EOL.
20245
ef1bb361
JM
202462012-10-08 Joseph Myers <joseph@codesourcery.com>
20247
20248 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
20249 type-generic.
20250 * math/libm-test.inc: Update comment listing what functions and
20251 macros are tested.
20252 (finite_test): New function.
20253 (isinf_test): Likewise.
20254 (isnan_test): Likewise.
20255 (fpclassify_test): Test subnormal input.
20256 (isfinite_test): Likewise.
20257 (isnormal_test): Likewise.
20258 (main): Call the new functions.
20259
55f11534
JN
202602012-10-08 Jonathan Nieder <jrnieder@gmail.com>
20261
20262 [BZ #14660]
20263 * Makerules (%.dynsym): Force C locale when running
20264 $(OBJDUMP) --dynamic-syms.
20265
1ab29350
AS
202662012-10-08 Andreas Schwab <schwab@linux-m68k.org>
20267
20268 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
20269 <stdint.h>.
20270
f1ecb7ef
DM
202712012-10-06 David S. Miller <davem@davemloft.net>
20272
20273 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
20274 upper 32-bits of the length value in %o2 since we use branch-on-register
20275 tests which consider the entire 64-bit register.
20276
5d41d91a
L
202772012-10-06 H.J. Lu <hongjiu.lu@intel.com>
20278
20279 * string/test-strstr.c (check2): Add a test for page boundary.
20280
3baddb72
DM
202812012-10-05 David S. Miller <davem@davemloft.net>
20282
20283 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
20284 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
20285 file.
20286 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20287 sysdep_routines.
20288 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20289 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
20290 and bzero when HWCAP_SPARC_CRYPTO is present.
20291
9cee5585
L
202922012-10-05 H.J. Lu <hongjiu.lu@intel.com>
20293
d7e0dab9
L
20294 [BZ #14602]
20295 * string/test-strstr.c (check2): New function.
20296 (test_main): Call check2.
20297
03759f47
L
20298 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
20299 and bug-strchr1.
20300 * string/bug-strcasestr1.c (do_test): Moved to ...
20301 * string/test-strcasestr.c (check1): Here. New function.
20302 (do_one_test): Break out result checking code into ...
20303 (check_result): This. New function.
20304 (do_one_test): Call check_result.
20305 (test_main): Call check1.
20306 * string/bug-strchr1.c (do_test): Moved to ...
20307 * string/test-strchr.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-strstr1.c (main): Moved to ...
046f153e 20313 * string/test-strstr.c (check1): Here. New function.
03759f47
L
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-strcasestr1.c: Removed.
20319 * string/bug-strchr1.c: Likewise.
20320 * string/bug-strstr1.c: Likewise.
20321
53cea63e
L
20322 * elf/Makefile (dl-routines): Add hwcaps.
20323 * elf/dl-support.c (_dl_important_hwcaps): Removed.
20324 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
20325 (_dl_important_hwcaps): Moved to ...
20326 * elf/dl-hwcaps.c: Here. New file.
20327 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
20328
9cee5585 20329 [BZ #14557]
bb859b06
L
20330 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
20331 if IS_IN_rtld isn't defined.
20332
9cee5585
L
20333 * elf/dl-support.c (_dl_sysinfo_map): New.
20334 Include "get-dynamic-info.h" and "setup-vdso.h".
20335 (_dl_non_dynamic_init): Call setup_vdso.
20336 * elf/dynamic-link.h: Don't include <assert.h>.
20337 (elf_get_dynamic_info): Moved to ...
20338 * elf/get-dynamic-info.h: Here. New file.
20339 * elf/dynamic-link.h: Include "get-dynamic-info.h".
20340 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
20341 * elf/setup-vdso.h: Here. New file.
20342 * elf/rtld.c: Include "setup-vdso.h".
20343 (dl_main): Call setup_vdso.
20344
23c31b76
JM
203452012-10-05 Joseph Myers <joseph@codesourcery.com>
20346
28234b07
JM
20347 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
20348 creal in comment listing functions tested. List finite, isinf,
20349 isnan, isless, islessequal, isgreater, isgreaterequal,
20350 islessgreater, isunordered, lgamma_r and pow10 as functions and
20351 macros not tested. Mention which functions not tested are aliases
20352 for other functions. Fix typo. Note that signs of NaNs are not
20353 tested.
20354
23c31b76
JM
20355 * scripts/config.guess: Update from config.git.
20356 * scripts/config.sub: Likewise.
20357
9043e228
RM
203582012-10-04 Roland McGrath <roland@hack.frob.com>
20359
20360 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
20361 * misc/madvise.c (madvise): Renamed to __madvise.
20362 Make madvise a weak alias.
20363 * include/sys/mman.h: Declare __madvise.
20364 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
20365 * sysdeps/unix/syscalls.list
20366 (madvise): Make __madvise the strong name, and madvise a weak alias.
20367 * sysdeps/unix/sysv/linux/syscalls.list
20368 (madvise, mmap): Remove redundant entries.
20369 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
20370 * malloc/malloc.c (mtrim): Likewise.
20371 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
20372
f57f8055
RM
203732012-10-03 Roland McGrath <roland@hack.frob.com>
20374
20375 * sysdeps/mach/hurd/dl-cache.c: File removed.
20376 * config.h.in (USE_LDCONFIG): New #undef.
20377 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
20378 * configure: Regenerated.
20379 * elf/Makefile (dl-routines): Add dl-cache only under
20380 [$(use-ldconfig) = yes].
20381 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
20382 cache on [USE_LDCONFIG].
20383 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
20384 [USE_LDCONFIG].
20385 * elf/rtld.c (dl_main): Likewise.
20386
5bb0c10a
PT
203872012-10-03 Pino Toscano <toscano.pino@tiscali.it>
20388
20389 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
20390 _SC_LEVEL4_CACHE_LINESIZE.
20391
010188c6
RM
203922012-10-03 Roland McGrath <roland@hack.frob.com>
20393
20394 * sysdeps/unix/bsd/confstr.h: File removed.
20395
b6c5ec07
AO
203962012-10-02 Alexandre Oliva <aoliva@redhat.com>
20397
20398 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
20399 sys/sdt-config.h.
20400
408223d4
RM
204012012-10-02 Roland McGrath <roland@hack.frob.com>
20402
20403 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
20404 Make 'mapoff' field ElfW(Off) rather than off_t.
20405
bb9510dc
DL
204062012-10-02 Dmitry V. Levin <ldv@altlinux.org>
20407
fc997c6e
DL
20408 * nscd/Makefile: Remove nscd-cflags and all its users.
20409 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
20410 (CFLAGS-nonlib): Add compiler flags for nscd modules.
20411
bb9510dc
DL
20412 [BZ #10631]
20413 * malloc.c (malloc_printerr): Clarify error message.
20414
05699367
L
204152012-10-02 H.J. Lu <hongjiu.lu@intel.com>
20416
20417 [BZ #14648]
20418 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20419 Set bit_FMA_Usable if FMA is supported.
20420 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
20421 macro.
20422 (bit_FMA4_Usable): Updated.
20423 (index_FMA_Usable): New macro.
20424 (CPUID_FMA): Likewise
20425 (HAS_FMA): Defined with bit_FMA_Usable.
20426
51367701
RM
204272012-10-01 Roland McGrath <roland@hack.frob.com>
20428
20429 * bits/types.h (__swblk_t): Type removed.
20430 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
20431 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
20432 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20433 (__SWBLK_T_TYPE): Likewise.
20434 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20435 (__SWBLK_T_TYPE): Likewise.
20436 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20437 (__SWBLK_T_TYPE): Likewise.
20438 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20439 (__SWBLK_T_TYPE): Likewise.
20440
4d57bf63 204412012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 20442 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
20443
20444 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
20445 (xdr_mapname): Use YPMAXMAP as maxsize.
20446 (xdr_peername): Use YPMAXPEER as maxsize.
20447 (xdr_keydat): Use YPAXRECORD as maxsize.
20448 (xdr_valdat): Use YPMAXRECORD as maxsize.
20449
93c65d43
RM
204502012-10-01 Roland McGrath <roland@hack.frob.com>
20451
497a03d6
RM
20452 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
20453
93c65d43
RM
20454 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
20455 * csu/init-first.c: ... here.
20456 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
20457 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
20458 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
20459 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20460 * sysdeps/i386/init-first.c: File removed.
20461 * sysdeps/sh/init-first.c: File removed.
20462
bec749fd
JM
204632012-10-01 Joseph Myers <joseph@codesourcery.com>
20464
20465 [BZ #14645]
20466 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
20467 if x * y might underflow to zero and z is zero.
20468 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20469 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20470 * math/libm-test.inc (min_subnorm_value): New variable.
20471 (fma_test): Add more tests.
20472 (fma_test_towardzero): Likewise.
20473 (fma_test_downward): Likewise
20474 (fma_test_upward): Likewise.
20475 (initialize): Set min_subnorm_value.
20476
8ec5b013
JM
204772012-09-29 Joseph Myers <joseph@codesourcery.com>
20478
20479 [BZ #14638]
20480 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
20481 0 + 0.
20482 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
20483 mode for addition resulting in exact zero.
20484 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
20485 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
20486 exact 0 + 0.
20487 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20488 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20489 * math/libm-test.inc (fma_test): Add more tests.
20490 (fma_test_towardzero): New function.
20491 (fma_test_downward): Likewise.
20492 (fma_test_upward): Likewise.
20493 (main): Call the new functions.
20494
b1fa802e
DM
204952012-09-28 David S. Miller <davem@davemloft.net>
20496
20497 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
20498
d3b9fd9e
RM
204992012-09-28 Roland McGrath <roland@hack.frob.com>
20500
ea4d37b3
RM
20501 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
20502 instead of SIGALRM.
20503
ac51c949
RM
20504 * sysdeps/gnu/_G_config.h: Moved to ...
20505 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
20506 * sysdeps/mach/hurd/_G_config.h: Moved to ...
20507 * sysdeps/generic/_G_config.h: ... here.
20508
28c195f7
RM
20509 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
20510
848917f9
RM
20511 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
20512
6bacf05b
RM
20513 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
20514 Conditionalize target on [libnss_test1.so-version].
20515
91363dbb
RM
20516 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
20517
cc87f7d8
RM
20518 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
20519 (elfobjdir): Move out of conditionals.
20520
b1c608fe
RM
20521 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
20522 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
20523 (__nss_lookup_function): Conditionalize label remove_from_tree on
20524 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 20525
1d9a6d96
DM
205262012-09-28 David S. Miller <davem@davemloft.net>
20527
20528 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
20529 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
20530 file.
20531 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20532 sysdep_routines.
20533 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20534 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
20535 when HWCAP_SPARC_CRYPTO is present.
20536
72581615
PT
205372012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20538
20539 * io/tst-mknodat.c: Create a FIFO instead of a socket.
20540
715a900c
JL
205412012-09-28 Andreas Schwab <schwab@linux-m68k.org>
20542
20543 [BZ #6530]
20544 * stdio-common/vfprintf.c (process_string_arg): Revert
20545 2000-07-22 change.
20546
205472011-09-28 Jonathan Nieder <jrnieder@gmail.com>
20548
20549 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
20550 for testcase.
20551 * stdio-common/tst-sprintf.c: Include <locale.h>
20552 (main): Test sprintf's handling of incomplete multibyte
20553 characters.
20554
9bac1d86
L
205552012-09-28 H.J. Lu <hongjiu.lu@intel.com>
20556
20557 * elf/dl-runtime.c (VERSYMIDX): Removed.
20558 * elf/dl-version.c (VERSYMIDX): Likewise.
20559 * elf/do-rel.h (VERSYMIDX): Likewise.
20560 (VALIDX): Likewise.
20561 * elf/dynamic-link.h (VERSYMIDX): Likewise.
20562 * elf/rtld.c (VALIDX): Likewise.
20563 (ADDRIDX): Likewise.
9bac1d86
L
20564 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
20565 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
20566 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
20567 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
20568 (VALIDX): Likewise.
20569 (ADDRIDX): Likewise.
9bac1d86 20570
b31606c0
PT
205712012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20572
20573 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
20574
11541177
JL
205752012-09-28 Dmitry V. Levin <ldv@altlinux.org>
20576
20577 [BZ #11438]
20578 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
20579 to global scope.
20580 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
20581 addresses are in the same scope as 192.0.2/24.
20582 * posix/gai.conf: Document new scope table defaults.
20583
adb26fae
SP
205842012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20585
20586 [BZ #5298]
20587 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
20588 for ftell. Compute offsets from write pointers instead.
20589 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20590
4573c6b0
SP
205912012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20592
20593 [BZ #14543]
20594 * libio/Makefile (tests): New test case tst-fseek.
20595 * libio/tst-fseek.c: New test case to verify that fseek/ftell
20596 combination works in wide mode.
20597 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
20598 state when the external buffer state changes.
20599
aa9bbfe6
DM
206002012-09-27 David S. Miller <davem@davemloft.net>
20601
20602 [BZ #14376]
20603 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
20604 pass reloc->r_addend in as the 'high' argument to
20605 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
20606
784421e7
DM
20607 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20608
c39bc8b8
PT
206092012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20610
20611 * rt/tst-aio2.c: Include <pthread.h>.
20612 * rt/tst-aio3.c: Likewise.
20613
1ccc2399
SE
206142012-09-27 Steve Ellcey <sellcey@mips.com>
20615
20616 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
20617
31ed4153
L
206182012-09-27 H.J. Lu <hongjiu.lu@intel.com>
20619
25f5f885
L
20620 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
20621 contents on [SHARED].
31ed4153 20622
b7bfe116
MP
206232012-09-26 Marek Polacek <polacek@redhat.com>
20624
20625 [BZ #14530]
20626 [BZ #13741]
20627 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
20628 for C++ and GCC <4.3 as well as for non GCC compilers.
20629
43c4edba
MT
206302012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20631
20632 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20633
6a1bf82f
RM
206342012-09-25 Roland McGrath <roland@hack.frob.com>
20635
20636 * Makefile.in (all, install): Declare with .PHONY.
20637 Reported by Michael Hope <michael.hope@linaro.org>.
20638
8ad11b9a
TMQMF
206392012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20640
20641 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
20642 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
20643 system header.
20644 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
20645 Likewise.
20646 (sydep_routines): Add the new and the internal functions.
20647 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
20648 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
20649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
20650 (GLIBC_2.17): Add the new function.
20651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20652 (GLIBC_2.17): Likewise.
20653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
20654 (GLIBC_2.17): Likewise.
20655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
20656 (GLIBC_2.17): Likewise.
20657 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
20658
7e2fca8d
AM
206592012-09-25 Alan Modra <amodra@gmail.com>
20660
20661 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
20662 Add release barrier before setting once_control to say
20663 initialisation is done. Add hints on lwarx. Use macro in
20664 place of isync.
20665 (clear_once_control): Add release barrier.
20666
b87c4b24
JM
206672012-09-25 Joseph Myers <joseph@codesourcery.com>
20668
d032e0d2
JM
20669 [BZ #13629]
20670 * math/s_clog.c (__clog): Handle more values close to |z| = 1
20671 specially.
20672 * math/s_clog10.c (__clog10): Likewise.
20673 * math/s_clog10f.c (__clog10f): Likewise.
20674 * math/s_clog10l.c (__clog10l): Likewise.
20675 * math/s_clogf.c (__clogf): Likewise.
20676 * math/s_clogl.c (__clogl): Likewise.
20677 * math/Makefile (libm-calls): Add x2y2m1.
20678 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
20679 (__x2y2m1): Likewise.
20680 (__x2y2m1l): Likewise.
20681 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
20682 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
20683 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
20684 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20685 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
20686 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
20687 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
20688 * sysdeps/i386/fpu/libm-test-ulps: Update.
20689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20690
b87c4b24
JM
20691 [BZ #14621]
20692 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
20693 int as type of variable DEPTH.
20694 (glob): Use size_t instead of int as type of variables NEWCOUNT
20695 and OLD_PATHC.
20696
6d3bf199
LD
206972012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20698
22bf5c17
LD
20699 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20700 Add s_sincosf-sse2.
20701 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
20702 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
20703 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
20704 macros for using routine as __sincosf_ia32.
20705 Use macro for function declaration and weak_alias.
20706 * sysdeps/i386/fpu/libm-test-ulps: Update.
20707
20708 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
20709 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20710
20711 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
20712 subnormal argument.
20713 * math/s_cexpf.c (__cexpf): Likewise.
20714 * math/s_csinf.c (__csinf): Likewise.
20715 * math/s_csinhf.c (__csinhf): Likewise.
20716 * math/s_ctanf.c (__ctanf): Likewise.
20717 * math/s_ctanhf.c (__ctanhf): Likewise.
20718 * math/s_ccosh.c (__ccoshf): Likewise.
20719 * math/s_cexp.c (__cexpl): Likewise.
20720 * math/s_csin.c (__csin): Likewise.
20721 * math/s_csinh.c (__csinh): Likewise.
20722 * math/s_ctan.c (__ctan): Likewise.
20723 * math/s_ctanh.c (ctanh): Likewise.
20724 * math/s_ccoshl.c (__ccoshl): Likewise.
20725 * math/s_cexpl.c (__cexpl): Likewise.
20726 * math/s_csinl.c (__csinl): Likewise.
20727 * math/s_csinhl.c (__csinhl): Likewise.
20728 * math/s_ctanl.c (__ctanl): Likewise.
20729 * math/s_ctanhl.c (__ctanhl): Likewise.
20730
203e5603
JM
207312012-09-25 Joseph Myers <joseph@codesourcery.com>
20732
20733 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
20734 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
20735 (_IO_off_t): Define to __off_t, not _G_off_t.
20736 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
20737 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
20738 (_IO_wint_t): Define to wint_t, not _G_wint_t.
20739 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
20740 type of __dummy and __dummy2 fields.
20741 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
20742 (_G_ssize_t): Likewise.
20743 (_G_off_t): Likewise.
20744 (_G_pid_t): Likewise.
20745 (_G_uid_t): Likewise.
20746 (_G_wchar_t): Likewise.
20747 (_G_wint_t): Likewise.
20748 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
20749 (_G_ssize_t): Likewise.
20750 (_G_off_t): Likewise.
20751 (_G_pid_t): Likewise.
20752 (_G_uid_t): Likewise.
20753 (_G_wchar_t): Likewise.
20754 (_G_wint_t): Likewise.
20755 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
20756 (_G_ssize_t): Likewise.
20757 (_G_off_t): Likewise.
20758 (_G_pid_t): Likewise.
20759 (_G_uid_t): Likewise.
20760 (_G_wchar_t): Likewise.
20761 (_G_wint_t): Likewise.
20762
9fab36eb
SP
207632012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20764
20765 * malloc/arena.c: Include malloc-sysdep.h.
20766 (shrink_heap): Use check_may_shrink_heap to decide if madvise
20767 is sufficient to shrink the heap or an unmap is needed.
20768 * sysdeps/generic/malloc-sysdep.h: New file. Define
20769 new function check_may_shrink_heap.
20770 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
20771 new function check_may_shrink_heap.
20772
2b4f00d1
SP
207732012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20774
20775 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
20776 comments.
20777
9a9028b1
DL
207782012-09-24 Dmitry V. Levin <ldv@altlinux.org>
20779
57c69bef
DL
20780 * catgets/test-gencat.sh: Add "set -e".
20781 * elf/tst-pathopt.sh: Likewise.
20782 * grp/tst_fgetgrent.sh: Likewise.
20783 * iconvdata/run-iconv-test.sh: Likewise.
20784 * intl/tst-gettext.sh: Likewise.
20785 * intl/tst-gettext2.sh: Likewise.
20786 * intl/tst-gettext4.sh: Likewise.
20787 * intl/tst-gettext6.sh: Likewise.
20788 * intl/tst-translit.sh: Likewise.
20789 * io/ftwtest-sh: Likewise.
20790 * libio/test-freopen.sh: Likewise.
20791 * malloc/tst-mtrace.sh: Likewise.
20792 * posix/globtest.sh: Likewise.
20793 * posix/tst-getconf.sh: Likewise.
20794 * posix/wordexp-tst.sh: Likewise.
20795 * stdio-common/tst-printf.sh: Likewise.
20796 * stdio-common/tst-unbputc.sh: Likewise.
20797 * stdlib/tst-fmtmsg.sh: Likewise.
20798 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20799 * catgets/Makefile: Do not specify -e option when running
20800 testsuite shell scripts.
20801 * elf/Makefile: Likewise.
20802 * grp/Makefile: Likewise.
20803 * iconvdata/Makefile: Likewise.
20804 * intl/Makefile: Likewise.
20805 * io/Makefile: Likewise.
20806 * libio/Makefile: Likewise.
20807 * malloc/Makefile: Likewise.
20808 * posix/Makefile: Likewise.
20809 * stdio-common/Makefile: Likewise.
20810 * stdlib/Makefile: Likewise.
20811 * sysdeps/x86_64/Makefile: Likewise.
20812
9a9028b1
DL
20813 * io/ftwtest-sh: Add copyright header.
20814 * posix/globtest.sh: Likewise.
20815 * posix/tst-getconf.sh: Likewise.
20816 * posix/wordexp-tst.sh: Likewise.
20817 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20818
ced6f16e
L
208192012-09-24 H.J. Lu <hongjiu.lu@intel.com>
20820
94b32c39
L
20821 [BZ #13679]
20822 * Makeconfig (+link): Defined as $(+link-static) if
20823 $(build-shared) isn't yes.
20824 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
20825 isn't yes.
20826 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
20827
189e935b
L
20828 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
20829
ced6f16e
L
20830 [BZ #14562]
20831 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
20832 new chunk size with MALLOC_ALIGN_MASK.
20833
a9f8e53a
JM
208342012-09-24 Joseph Myers <joseph@codesourcery.com>
20835
20836 [BZ #5044]
20837 * stdio-common/printf_fphex.c: Include <stdbool.h> and
20838 <rounding-mode.h>.
20839 (__printf_fphex): Determine rounding using get_rounding_mode and
20840 round_away.
20841 * stdio-common/tst-printf-round.c (struct hex_test): New
20842 structure.
20843 (hex_tests): New variable.
20844 (test_hex_in_one_mode): New function.
20845 (do_test): Also run tests for hex float output.
20846
43153109
JM
208472012-09-21 Joseph Myers <joseph@codesourcery.com>
20848
20849 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20850 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20851 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
20852 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20853 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20854 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
20855 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20856 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20857
8a26625d
JM
208582012-09-20 Joseph Myers <joseph@codesourcery.com>
20859
20860 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
20861 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
20862 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
20863 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
20864
f3fd569c
DL
208652012-09-19 Dmitry V. Levin <ldv@altlinux.org>
20866
20867 [BZ #14579]
20868 * elf/rtld.c (dl_main): Limit the check for self loading to normal
20869 mode only.
20870 * elf/tst-rtld-load-self.sh: New test.
20871 * elf/Makefile: Run it.
20872
63bbedd4
JM
208732012-09-18 Joseph Myers <joseph@codesourcery.com>
20874
20875 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
20876 (tst-writev-ENV): Remove.
20877 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
20878
626f8b6a
CM
208792012-09-17 Chris Metcalf <cmetcalf@tilera.com>
20880
20881 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
20882
b7aaa4d6
JM
208832012-09-17 Joseph Myers <joseph@codesourcery.com>
20884
20885 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
20886 unconditional.
20887 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
20888 Likewise.
20889 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
20890 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
20891 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
20892 Likewise.
20893
65513990
L
208942012-09-14 H.J. Lu <hongjiu.lu@intel.com>
20895
20896 [BZ #14587]
20897 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
20898 * config.make.in (have-cpp-asm-debuginfo): Removed.
20899 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
20900 * configure: Regenerated.
20901
784761be
JM
209022012-09-14 Joseph Myers <joseph@codesourcery.com>
20903
20904 [BZ #5044]
20905 * stdio-common/printf_fp.c: Include <stdbool.h> and
20906 <rounding-mode.h>.
20907 (___printf_fp): Determine rounding using get_rounding_mode and
20908 round_away.
20909 * stdio-common/tst-printf-round.c: New file.
20910 * stdio-common/Makefile (tests): Add tst-printf-round.
20911 (link-libm): New variable.
20912 ($(objpfx)tst-printf-round): Depend in $(link-libm).
20913
9503345f
L
209142012-09-13 H.J. Lu <hongjiu.lu@intel.com>
20915
20916 [BZ #14576]
20917 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
20918 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
20919 Likewise.
20920 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
20921 Likewise.
20922
ad35fc00
JM
209232012-09-13 Joseph Myers <joseph@codesourcery.com>
20924
20925 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
20926 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20927 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20928 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20929
6c9b0f68
JM
209302012-09-12 Joseph Myers <joseph@codesourcery.com>
20931
20932 [BZ #14518]
20933 * include/rounding-mode.h: New file.
20934 * sysdeps/generic/get-rounding-mode.h: Likewise.
20935 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
20936 * stdlib/strtod_l.c: Include <rounding-mode.h>.
20937 (MAX_VALUE): New macro.
20938 (MIN_VALUE): Likewise.
20939 (overflow_value): New function.
20940 (underflow_value): Likewise.
20941 (round_and_return): Use overflow_value and underflow_value to
20942 determine return values in overflow and underflow cases. Use
20943 round_away to determine rounding depending on rounding mode.
20944 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
20945 determine return values in overflow and underflow cases.
20946 * stdlib/tst-strtod-round.c: Include <fenv.h>.
20947 (struct test_results): New structure.
20948 (struct test): Use struct test_results to store expected results
20949 for all rounding modes.
20950 (TEST): Include expected results for all rounding modes.
20951 (test_in_one_mode): New function.
20952 (do_test): Use test_in_one_mode to compute and check results.
20953 Check results for all rounding modes.
20954 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
20955 $(link-libm).
20956
19fcedd5
AM
209572012-12-09 Allan McRae <allan@archlinux.org>
20958
1e9d84cd 20959 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 20960
8bbfd2f1
JM
209612012-09-11 Joseph Myers <joseph@codesourcery.com>
20962
20963 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
20964 (_G_int32_t): Likewise.
20965 (_G_uint16_t): Likewise.
20966 (_G_uint32_t): Likewise.
20967 (_G_HAVE_BOOL): Likewise.
20968 (_G_HAVE_ATEXIT): Likewise.
20969 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20970 (_G_HAVE_IO_FILE_OPEN): Likewise.
20971 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
20972 (_G_int32_t): Likewise.
20973 (_G_uint16_t): Likewise.
20974 (_G_uint32_t): Likewise.
20975 (_G_HAVE_BOOL): Likewise.
20976 (_G_HAVE_ATEXIT): Likewise.
20977 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20978 (_G_HAVE_IO_FILE_OPEN): Likewise.
20979 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
20980 (_G_int32_t): Likewise.
20981 (_G_uint16_t): Likewise.
20982 (_G_uint32_t): Likewise.
20983 (_G_HAVE_BOOL): Likewise.
20984 (_G_HAVE_ATEXIT): Likewise.
20985 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20986 (_G_HAVE_IO_FILE_OPEN): Likewise.
20987
b1dc5912
L
209882012-09-11 H.J. Lu <hongjiu.lu@intel.com>
20989
20990 * csu/libc-tls.c: Update copyright years.
20991
0e886ef9
JM
209922012-09-10 Joseph Myers <joseph@codesourcery.com>
20993
28361c5e
JM
20994 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
20995 [!_G_USING_THUNKS]: Remove conditional code.
20996 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
20997 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
20998
0e886ef9
JM
20999 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
21000 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
21001 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21002 (_G_VTABLE_LABEL_PREFIX): Likewise.
21003 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21004 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21005 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21006 (_G_VTABLE_LABEL_PREFIX): Likewise.
21007 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
21008 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21009 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21010 (_G_VTABLE_LABEL_PREFIX): Likewise.
21011 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
21012
bcba7aa2
L
210132012-09-10 H.J. Lu <hongjiu.lu@intel.com>
21014
21015 * libio/Makefile: Include ../Makeconfig before tests.
21016 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
21017 only if $(build-shared) is yes.
21018
06585ee8
L
21019 * iconv/gconv_db.c: Update copyright years.
21020
80ccd52c
LD
210212012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21022
21023 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
21024 unwind info if defined PIC. Fix special cases description.
21025 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
21026
21027 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
21028 DP_HI_MASK entry.
21029 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
21030
691bc9c1
L
210312012-09-07 H.J. Lu <hongjiu.lu@intel.com>
21032
3d9b46b3
L
21033 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
21034
de2139a9
L
21035 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
21036 is NULL.
21037
5ca78dd0
L
21038 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
21039 (LDLIBS-tst-chk4): This.
21040 (LDFLAGS-tst-chk5): Renamed to ...
21041 (LDLIBS-tst-chk5): This.
21042 (LDFLAGS-tst-chk6): Renamed to ...
21043 (LDLIBS-tst-chk6): This.
21044 (LDFLAGS-tst-lfschk4): Renamed to ...
21045 (LDLIBS-tst-lfschk4): This.
21046 (LDFLAGS-tst-lfschk5): Renamed to ...
21047 (LDLIBS-tst-lfschk5): This.
21048 (LDFLAGS-tst-lfschk6): Renamed to ...
21049 (LDLIBS-tst-lfschk6): This.
21050
691bc9c1
L
21051 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
21052 on $(common-objpfx)soversions.mk.
21053
65cafb1c
JM
210542012-09-07 Joseph Myers <joseph@codesourcery.com>
21055
21056 [BZ #10014]
21057 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
21058 example host name.
21059
c78ab094
SP
210602012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21061
21062 * malloc/arena.c (arena_get_retry): New function that gets
21063 another arena for the caller to try its request on.
21064 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
21065 current arena cannot fulfill the request.
21066 (__libc_memalign): Likewise.
21067 (__libc_memalign): Likewise.
21068 (__libc_pvalloc): Likewise.
21069 (__libc_calloc): Likewise.
21070
01f49f59
JT
210712012-09-05 John Tobey <john.tobey@gmail.com>
21072
21073 [BZ #13542]
21074 * manual/arith.texi (Operations on Complex): Fix description
21075 of carg branch cut.
21076
4c23fed5
JM
210772012-09-06 Joseph Myers <joseph@codesourcery.com>
21078
1d3c8572
JM
21079 [BZ #10014]
21080 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
21081 host name.
21082
4c23fed5
JM
21083 [BZ #10038]
21084 * manual/memory.texi (Memory): Make order of menu items match
21085 order of sections.
21086
04570aaa
L
210872012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21088
21089 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
21090 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
21091 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
21092
b80af2f4
L
210932012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21094
21095 * csu/libc-tls.c (static_dtv): Renamed to ...
21096 (_dl_static_dtv): This. Make it global.
21097 (_dl_initial_dtv): Removed.
21098 (__libc_setup_tls): Updated.
21099 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
21100 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
21101 DL_INITIAL_DTV.
21102
2abe9f15
PM
211032012-09-06 Petr Machata <pmachata@redhat.com>
21104
21105 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
21106 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
21107 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
21108 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
21109
0948c3af
L
211102012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21111
21112 [BZ #14545]
21113 * csu/libc-tls.c (_dl_initial_dtv): New variable.
21114 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
21115 freeing dtv[-1].
21116
a5055ad1
L
211172012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21118
21119 [BZ #14544]
21120 * Makeconfig (link-static-before-libc): Replace $(+prector)
21121 with $(+prectorT).
21122 (link-static-after-libc): Replace $(+postctor) with
21123 $(+postctorT).
21124 (link-bounded): Replace $(+prector)/$(+postctor) with
21125 $(+prectorT)/$(+postctorT).
21126 (+prectorT): New macro.
21127 (+postctorT): Likewise.
21128
ed8c2ecd
JM
211292012-09-06 Joseph Myers <joseph@codesourcery.com>
21130
21131 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
21132 (round_str): Handle values above the maximum for IBM long double
21133 as inexact.
21134 * stdlib/tst-strtod-round.c (tests): Regenerated.
21135
14c996c8
AK
211362012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21137
21138 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
21139 assembler flag.
21140 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
21141 zarch_nohighgprs around the zarch optimized routines.
21142 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
21143 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
21144 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
21145 for zarch.
21146
430d6ce6
DM
211472012-09-05 David S. Miller <davem@davemloft.net>
21148
21149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21150
ff04dda4
DM
21151 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
21152 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
21153 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
21154 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21155 entries.
21156
24d4e01b
AO
211572012-09-05 Alexandre Oliva <aoliva@redhat.com>
21158
21159 * malloc/arena.c: Fold copyright years.
21160 * malloc/mcheck.c, malloc/memusage.c: Likewise.
21161
61d58174
AO
211622012-09-05 Alexandre Oliva <aoliva@redhat.com>
21163
21164 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
21165
20196a5e
AO
211662012-09-05 Alexandre Oliva <aoliva@redhat.com>
21167
21168 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
21169
5c447383
AO
211702012-09-05 Alexandre Oliva <aoliva@redhat.com>
21171
21172 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
21173 change internal state upon failure.
21174
fad64255
AO
211752012-09-05 Alexandre Oliva <aoliva@redhat.com>
21176
21177 * malloc/mcheck.c (mcheck_check_all): Fix typo.
21178 * malloc/memusage.c (mmap): Likewise.
21179 (mmap64, mremap): Likewise. Adjust name in comment.
21180
1ffb8c90
SP
211812012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21182
21183 * libio/fileops.c: Fix typos in comments.
21184 * libio/oldfileops.c: Likewise.
21185 * libio/wfileops.c: Likewise.
21186
6ef9cc37
SP
211872012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21188
21189 [BZ #1349]
21190 * malloc/Makefile (tests): Add tst-malloc-usable test case.
21191 (tst-malloc-usable-ENV): Set environment for test case.
21192 * malloc/hooks.c (malloc_check_get_size): New function to get
21193 requested size.
21194 * malloc/malloc.c (musable): Use malloc_check_get_size.
21195 * malloc/tst-malloc-usable.c: New test case.
21196
4d038ae3
AS
211972012-09-05 Andreas Schwab <schwab@linux-m68k.org>
21198
21199 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
21200
c4e85184
AM
212012012-09-05 Allan McRae <allan@archlinux.org>
21202
b9dafc56 21203 [BZ #13966]
c4e85184
AM
21204 * configure.in (CXX_SYSINCLUDES): Use compiler output to
21205 determine header location.
21206 * configure: Regenerated.
21207
e1343020
AS
212082012-09-05 Andreas Schwab <schwab@linux-m68k.org>
21209
21210 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
21211 float format.
21212 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
21213 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
21214 format.
e1343020
AS
21215 (test): Regenerate.
21216
0a9f1987
DM
212172012-09-04 David S. Miller <davem@davemloft.net>
21218
21219 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
21220 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
21221 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
21222
29237804
FW
212232012-09-04 Florian Weimer <fweimer@redhat.com>
21224
21225 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
21226 failures.
21227
edb3cb88
FW
21228 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
21229
60160d83
JM
212302012-09-04 Joseph Myers <joseph@codesourcery.com>
21231
21232 [BZ #9914]
21233 * libio/iogetdelim.c: Include <limits.h>.
21234 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
21235 + len + 1 would overflow.
21236
bcd6c8dc
AJ
212372012-09-03 Andreas Jaeger <aj@suse.de>
21238
21239 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21240 * sysdeps/i386/fpu/libm-test-ulps: Update.
21241
4ffffbd2
LD
212422012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21243
21244 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
21245 Add s_sinf-sse2, s_conf-sse2.
21246
21247 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
21248 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
21249 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
21250 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
21251
21252 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
21253 for using routine as __sinf_ia32.
21254 Use macro for function declaration and weak_alias.
21255 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
21256 for using routine as __cosf_ia32.
21257 Use macro for function declaration and weak_alias.
21258
21259 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
21260 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
21261
21262 * sysdeps/x86_64/fpu/s_sinf.S: New file.
21263 * sysdeps/x86_64/fpu/s_cosf.S: New file.
21264 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21265
21266 * math/libm-test.inc (cos_test): Add more test cases.
21267 (sin_test): Likewise.
21268 (sincos_test): Likewise.
21269
511fa286
AK
212702012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21271
21272 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
21273 (IFUNC_RESOLVE): Make pointers to the specialized implementations
21274 hidden.
21275 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21276
5f30cfec
L
212772012-09-02 H.J. Lu <hongjiu.lu@intel.com>
21278
21279 [BZ #14538]
21280 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
21281 first element of the GOT.
21282 (elf_machine_load_address): Return the difference between
21283 the runtime address of _DYNAMIC and elf_machine_dynamic ().
21284
0786794f
AM
212852012-09-01 Allan McRae <allan@archlinux.org>
21286
5f30cfec
L
21287 [BZ #13412]
21288 * configure.in (AWK): Require gawk version 3.0 or later.
21289 * configure: Regenerated.
0786794f 21290
26889eac
JM
212912012-09-01 Joseph Myers <joseph@codesourcery.com>
21292
21293 * sysdeps/unix/sysv/linux/kernel-features.h
21294 (__ASSUME_POSIX_CPU_TIMERS): Remove.
21295 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21296 [__NR_clock_getres]: Make code unconditional.
21297 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
21298 (clock_getcpuclockid): Remove code left unreachable by removal of
21299 conditionals.
21300 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
21301 code unconditional.
21302 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21303 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21304 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
21305 Make code unconditional.
21306 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21307 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21308 * sysdeps/unix/sysv/linux/clock_settime.c
21309 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
21310 conditional code.
21311 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
21312 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21313
d22e28b0
L
213142012-08-29 H.J. Lu <hongjiu.lu@intel.com>
21315
21316 [BZ #14476]
21317 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
21318 scripts/test-installation.pl.
21319
21320 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
21321 and $ld_so_version if it is set.
21322
050af9c4
SP
213232012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21324
21325 [BZ #14516]
21326 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
21327 failure if reading from procfs failed.
21328 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
21329
ad845c0b
JM
213302012-08-27 Joseph Myers <joseph@codesourcery.com>
21331
21332 * sysdeps/unix/sysv/linux/kernel-features.h
21333 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
21334 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21335 Remove conditional code.
21336 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21337 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
21338 Remove conditional code.
21339 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21340 * sysdeps/unix/sysv/linux/i386/fxstat.c
21341 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21342 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21343 * sysdeps/unix/sysv/linux/i386/fxstatat.c
21344 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21345 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21346 * sysdeps/unix/sysv/linux/i386/lxstat.c
21347 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21348 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21349 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
21350 Remove conditional code.
21351 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21352 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21353 Remove conditional code.
21354 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21355 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
21356 <kernel-features.h>.
21357 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
21358 Remove.
21359 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
21360 Remove conditional code.
21361 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21362 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
21363 Remove conditional.
21364
5dbf56af
MF
213652012-08-27 Mike Frysinger <vapier@gentoo.org>
21366
21367 [BZ #5400]
21368 * NEWS: Add fixed bug number.
21369
d6e70f43
JM
213702012-08-27 Joseph Myers <joseph@codesourcery.com>
21371
7efb4737
JM
21372 [BZ #14519]
21373 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
21374 underflowing exponent in case of negative sign.
21375 * stdlib/tst-strtod-round-data: Add more tests.
21376 * stdlib/tst-strtod-round.c (tests): Regenerated.
21377
af92131a
JM
21378 [BZ #3479]
21379 * stdlib/strtod_l.c (NDIG): Remove.
21380 (HEXNDIG): Likewise.
21381 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
21382 smallest representable value.
21383 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
21384 lie within an exact representation of 1/2 ulp of the result.
21385 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
21386 unconditionally.
21387 (TENS_P9_IDX): Define unconditionally.
21388 (TENS_P9_SIZE): Likewise.
21389 (TENS_P10_IDX): Likewise.
21390 (TENS_P10_SIZE): Likewise.
21391 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
21392 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
21393 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
21394 entries for 10^2^13 and 10^2^14.
21395 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
21396 (TENS_P13_IDX): Define.
21397 (TENS_P13_SIZE): Likewise.
21398 (TENS_P14_IDX): Likewise.
21399 (TENS_P14_SIZE): Likewise.
21400 (_fpioconst_pow10): Change array size to
21401 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
21402 unconditional.
21403 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
21404 1024]: Add entries for 10^2^13 and 10^2^14.
21405 [LAST_POW10 > _LAST_POW10]: Remove #error.
21406 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
21407 (_fpioconst_pow10): Change array size to
21408 FPIOCONST_POW10_ARRAY_SIZE.
21409 * stdlib/gen-fpioconst.c: New file.
21410 * stdlib/gen-tst-strtod-round.c: Likewise.
21411 * stdlib/tst-strtod-round-data: Likewise.
21412 * stdlib/tst-strtod-round.c: Likewise.
21413 * stdlib/Makefile (tests): Add tst-strtod-round.
21414
d6e70f43
JM
21415 [BZ #14459]
21416 * stdlib/strtod_l.c: Include <stdint.h>.
21417 (NDEBUG): Do not define.
21418 (round_and_return): Change EXPONENT parameter to type intmax_t.
21419 Rearrange calculations to avoid internal overflow possibilities.
21420 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
21421 Rearrange calculations to avoid internal overflow possibilities.
21422 Assert that number fits inside MPNSIZE limbs.
21423 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
21424 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
21425 calculations and add assertions to avoid internal overflow
21426 possibilities. Add casts to avoid signed/unsigned operations.
21427 * stdlib/tst-strtod-overflow.c: New file.
21428 * stdlib/Makefile (tests): Add tst-strtod-overflow.
21429
1f529f7d
MP
214302012-08-25 Marek Polacek <polacek@redhat.com>
21431
21432 * time/time.h: Fix some typos in comments.
21433
59a629f1
RM
214342012-08-23 Roland McGrath <roland@hack.frob.com>
21435
21436 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
21437 * posix/tst-rfc3484-2.c: Likewise.
21438 * posix/tst-rfc3484-3.c: Likewise.
21439
d3bafbc9
SM
214402012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
21441
21442 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
21443 (EF_ARM_ABI_FLOAT_HARD): Likewise.
21444
4efcc022
JM
214452012-08-23 Joseph Myers <joseph@codesourcery.com>
21446
21447 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
21448 #include of fxstatat64.c.
21449
3cc3ef96
RM
214502012-08-22 Roland McGrath <roland@hack.frob.com>
21451
f04e2132
RM
21452 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
21453 * shadow/getspent_r.c: Likewise.
21454 * shadow/getspnam.c: Likewise.
21455 * shadow/getspnam_r.c: Likewise.
21456 * gshadow/getsgent.c: Likewise.
21457 * gshadow/getsgent_r.c: Likewise.
21458 * gshadow/getsgnam.c: Likewise.
21459 * gshadow/getsgnam_r.c: Likewise.
21460 * inet/getnetbyad.c: Likewise.
21461 * inet/getnetbyad_r.c: Likewise.
21462 * inet/getnetbynm.c: Likewise.
21463 * inet/getnetbynm_r.c: Likewise.
21464 * inet/getnetent.c: Likewise.
21465 * inet/getnetent_r.c: Likewise.
21466 * inet/getproto.c: Likewise.
21467 * inet/getproto_r.c: Likewise.
21468 * inet/getprtent.c: Likewise.
21469 * inet/getprtent_r.c: Likewise.
21470 * inet/getprtname.c: Likewise.
21471 * inet/getprtname_r.c: Likewise.
21472 * inet/getrpcbyname.c: Likewise.
21473 * inet/getrpcbyname_r.c: Likewise.
21474 * inet/getrpcbynumber.c: Likewise.
21475 * inet/getrpcbynumber_r.c: Likewise.
21476 * inet/getrpcent.c: Likewise.
21477 * inet/getrpcent_r.c: Likewise.
21478 * inet/getaliasent.c: Likewise.
21479 * inet/getaliasent_r.c: Likewise.
21480 * inet/getaliasname.c: Likewise.
21481 * inet/getaliasname_r.c: Likewise.
21482 * nscd/getgrgid_r.c: Likewise.
21483 * nscd/getgrnam_r.c: Likewise.
21484 * nscd/gethstbyad_r.c: Likewise.
21485 * nscd/gethstbynm3_r.c: Likewise.
21486 * nscd/getpwnam_r.c: Likewise.
21487 * nscd/getpwuid_r.c: Likewise.
21488 * nscd/getsrvbynm_r.c: Likewise.
21489 * nscd/getsrvbypt_r.c: Likewise.
21490 * nscd/gai.c: Likewise.
21491
c53d909c
RM
21492 * configure.in (build_nscd): New substituted variable, set
21493 by --disable-build-nscd and defaults to $use_nscd.
21494 * configure: Regenerated.
21495 * config.make.in (build-nscd): New substituted variable.
21496 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
21497 Change conditional to require [$(build-nscd) = yes] as well.
21498 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
21499
3cc3ef96
RM
21500 [BZ# 13696]
21501 * configure.in (use_nscd): New substituted variable, set by
21502 --disable-nscd. If enabled, define USE_NSCD.
21503 * configure: Regenerated.
21504 * config.h.in: Add USE_NSCD.
21505 * config.make.in (use-nscd): New substituted variable.
21506 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21507 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
21508 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
21509 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
21510 (CFLAGS-getgrnam_r.c): Likewise.
21511 (CFLAGS-initgroups.c): Likewise.
21512 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
21513 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
21514 Variables removed.
21515 * inet/getnetgrent_r.c
21516 (nscd_setnetgrent): New function, broken out of ...
21517 (setnetgrent): ... here. Call it.
21518 (innetgr): Conditionalize nscd bits on [USE_NSCD].
21519 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
21520 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
21521 * nscd/Makefile (routines, aux): Move definitions after include of
21522 Makeconfig. Conditionalize on [$(use-nscd) != no].
21523 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
21524 Conditionalize on [USE_NSCD].
21525 (is_nscd, nscd_init_cb): Likewise.
21526 (nss_load_library): Conditionalize init callback on [USE_NSCD].
21527 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
21528 * nss/nss_db/db-init.c: Likewise.
21529 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
21530 [USE_NSCD].
21531 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
21532 (make_request): Use it.
21533 (cache_valid_p): New function.
21534 (__check_pf): Use it.
21535 * NEWS: Add item for --disable-nscd.
21536
07e51550
DL
215372012-08-22 Dmitry V. Levin <ldv@altlinux.org>
21538
21539 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
21540 to support sed >= 4.2.1-20-ga9bf076.
21541 * configure: Regenerated.
21542
35a5b08b
RM
215432012-08-22 Roland McGrath <roland@hack.frob.com>
21544
21545 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
21546 Conditionalize whole body on [IREL].
21547
8479f23a
JL
215482012-08-22 Jeff Law <law@redhat.com>
21549
21550 [BZ #14505]
21551 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
21552 if the family is PF_UNSPEC.
21553
48da0b21
MF
215542012-08-22 Mike Frysinger <vapier@gentoo.org>
21555
21556 * Makerules (lib-version): Rename from V.
21557 (install-lib-nosubdir): Change V to lib-version.
21558
15d0da8c
WS
215592012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
21560
21561 [BZ #14252]
21562 * powerpc32/power6/wcschr.c: New file.
21563 * powerpc32/power6/wcscpy.c: New file.
21564 * powerpc32/power6/wcsrchr.c: New file.
21565 * powerpc64/power6/wcschr.c: New file.
21566 * powerpc64/power6/wcscpy.c: New file.
21567 * powerpc64/power6/wcsrchr.c: New file.
21568
bcca0895
MK
215692012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21570
21571 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
21572 (two_way_short_needle): Use it.
5a4aaa33
RM
21573 * string/strstr.c (AVAILABLE1_USES_J): Define.
21574 * string/strcasestr.c: Likewise.
99677e57
MK
21575
21576 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
21577 array references.
21578 * string/strcasestr.c (TOLOWER): Make side-effect safe.
21579
400726de
MK
21580 [BZ #11607]
21581 * NEWS: Add an entry.
21582 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
21583 define their defaults.
21584 (two_way_short_needle): Detect end-of-string on-the-fly.
21585 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
21586 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
21587 * string/bug-strcasestr1.c: New test.
21588 * string/Makefile: Run it.
21589
20a71f2c
MK
215902012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21591
21592 [BZ #11607]
21593 * string/str-two-way.h (two_way_short_needle): Optimize matching of
21594 the first character.
21595
21ad0558
RM
215962012-08-21 Roland McGrath <roland@hack.frob.com>
21597
21598 * csu/elf-init.c (__libc_csu_irel): Function removed.
21599 * csu/libc-start.c (apply_irel): New function.
21600 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
21601
0e1d9911
JM
216022012-08-21 Joseph Myers <joseph@codesourcery.com>
21603
21604 * sysdeps/unix/sysv/linux/kernel-features.h
21605 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
21606 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21607 <kernel-features.h>.
21608 [__NR_fadvise64_64]: Make code unconditional.
21609 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
21610 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21611 !__NR_fadvise64_64)]: Likewise.
21612 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21613 !__NR_fadvise64_64))]: Likewise.
21614 [__NR_fadvise64]: Make code unconditional.
21615 [!__NR_fadvise64]: Remove conditional code.
21616 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
21617 <kernel-features.h>.
21618 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21619 unconditional.
21620 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21621 conditional code.
21622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
21623 not include <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/s390/s390-32/posix_fadvise64.c: Do not
21629 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
14a50c9d
WS
216352012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21636
21637 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
21638 slight instruction rearrangements per scrollpipe analysis.
21639 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21640
c0f4faf0
RM
216412012-08-20 Roland McGrath <roland@hack.frob.com>
21642
696da859
RM
21643 * manual/syslog.texi (syslog; vsyslog, closelog):
21644 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
21645 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
21646
c0f4faf0
RM
21647 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
21648 DSOCAPS to match condition on defining it.
21649
348363b2
JM
216502012-08-20 Joseph Myers <joseph@codesourcery.com>
21651
a35cbf28
JM
21652 * sysdeps/unix/sysv/linux/kernel-features.h
21653 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
21654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
21655 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21656 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
21658 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21659 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
21661 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21662 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21663
445f7ecd
JM
21664 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
21665 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
21666
348363b2
JM
21667 * sysdeps/unix/sysv/linux/kernel-features.h
21668 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
21669 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
21670 unconditional.
21671 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21672 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
21673 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21674 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21675 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
21676 Make code unconditional.
21677 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21678 (__mmap64) [!__NR_mmap2]: Likewise.
21679 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
21680 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21681 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21682 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
21683 [__NR_mmap2]: Make code unconditional.
21684 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21685 (__mmap64) [!__NR_mmap2]: Likewise.
21686
bc5bc0e5
AK
216872012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21688
21689 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
21690
88d506de
AJ
216912012-08-18 Andreas Jaeger <aj@suse.de>
21692
21693 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
21694
493387d2
MF
216952012-08-18 Mike Frysinger <vapier@gentoo.org>
21696
21697 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
21698 * include/unistd.h (__have_sock_cloexec): Likewise.
21699 (__have_pipe2): Likewise.
21700 (__have_dup3): Likewise.
21701
a277af22
MF
217022012-08-18 Mike Frysinger <vapier@gentoo.org>
21703
21704 [BZ #9685]
21705 * include/unistd.h (__have_pipe2): Change define into an extern int.
21706 (__have_dup3): Likewise.
21707 * socket/have_sock_cloexec.c: Include fcntl.h.
21708 (__have_pipe2): New variable.
21709 (__have_dup3): Likewise.
21710
fdab8fd3
MF
217112012-08-17 Mike Frysinger <vapier@gentoo.org>
21712
21713 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
21714
31035e80
MP
217152012-08-17 Marek Polacek <polacek@redhat.com>
21716
21717 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
21718 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
21719
3bd9e993
RM
217202012-08-17 Roland McGrath <roland@hack.frob.com>
21721
c91c505f
RM
21722 * configure.in: Add AC_SUBST for sysheaders.
21723 * configure: Regenerated.
21724 * config.make.in (sysheaders): New substituted variable.
21725
7c6f9d53
RM
21726 * sysdeps/unix/mkfifo.c: Moved ...
21727 * sysdeps/posix/mkfifo.c: ... here.
21728 * sysdeps/unix/mkfifoat.c: Moved ...
21729 * sysdeps/posix/mkfifoat.c: ... here.
21730
21731 * sysdeps/unix/utime.c: Moved ...
21732 * sysdeps/posix/utime.c: ... here.
21733
21734 * sysdeps/unix/time.c: Moved ...
21735 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
21736 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
21737 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
21738
21739 * sysdeps/unix/nice.c: Moved ...
21740 * sysdeps/posix/nice.c: ... here.
21741
21742 * sysdeps/unix/alarm.c: Moved ...
21743 * sysdeps/posix/alarm.c: ... here.
21744
3bd9e993
RM
21745 * intl/Makefile ($(codeset_mo)): Depend on the input file.
21746
d1f09384
JL
217472012-08-17 Jeff Law <law@redhat.com>
21748
21749 * intl/Makefile (codeset_mo): New variable.
21750 ($(codeset_mo)): New target.
21751 (tst-codeset.out): Depend on that. Remove explicit rule.
21752 (tst-gettext3.out, tst-gettext5.out): Likewise.
21753 (LOCPATH-ENV, tst-codeset-ENV): New variables.
21754 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
21755 * intl/tst-codeset.sh: Remove.
21756 * intl/tst-gettext3.sh: Likewise.
21757 * intl/tst-gettext5.sh: Likewise.
21758
2ae1ae5c
RM
217592012-08-17 Roland McGrath <roland@hack.frob.com>
21760
c31fdb83
RM
21761 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
21762 * sysdeps/unix/syscalls.list: ... here.
21763
a0844057
RM
21764 * sysdeps/posix/getaddrinfo.c
21765 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
21766 (gaiconf_init, gaiconf_reload): Use them.
21767 [!_STATBUF_ST_NSEC]
21768 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
21769 Define using time_t rather than struct timespec.
21770
750c1f2a
RM
21771 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
21772 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
21773 Macros removed.
21774 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
21775 [!NO_THREADS].
21776 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
21777 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
21778 Likewise.
21779
2ae1ae5c
RM
21780 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
21781 __libc_cleanup_push argument.
21782
e66a42f5
RM
21783 * bits/param.h: New file.
21784 * misc/sys/param.h: New file.
21785 * include/sys/param.h: New file.
21786 * misc/Makefile (headers): Add bits/param.h.
21787 * sysdeps/generic/sys/param.h: File removed.
21788 * sysdeps/unix/sysv/linux/bits/param.h: New file.
21789 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
21790 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 21791 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 21792
b7c08a66
RM
21793 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
21794 last change.
21795
b2e1c562
RM
21796 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
21797 [_IO_MTSAFE_IO].
21798 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
21799 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
21800 New macros.
21801
c75ccd4c
RM
21802 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
21803 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
21804 rather than -D_IO_MTSAFE_IO conditionally.
21805 * stdio-common/Makefile (CPPFLAGS): Likewise.
21806 * wcsmbs/Makefile (CPPFLAGS): Likewise.
21807 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
21808 Use $(libio-mtsafe).
21809 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
21810 of -D_IO_MTSAFE_IO.
21811 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
21812 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
21813 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
21814 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
21815 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
21816 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
21817 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
21818 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
21819 (CFLAGS-fread_u_chk.c): Likewise.
21820 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
21821 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
21822 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
21823 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
21824 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
21825 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
21826 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
21827 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
21828 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
21829
21830 * libio/Makefile: Test [$(libc-reentrant) = yes]
21831 instead of [$(filter %REENTRANT, $(defines)) nonempty].
21832
21833 * Makeconfig
21834 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
21835 * sysdeps/pthread/configure: File removed.
21836 * sysdeps/pthread/Makeconfig: New file.
21837 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
21838 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
21839
d9195db8
GB
218402012-08-16 Gary Benson <gbenson@redhat.com>
21841
21842 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
21843 unmapping the first object in a namespace.
21844
86466cd9
RM
218452012-08-16 Roland McGrath <roland@hack.frob.com>
21846
21847 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
21848 (__internal_setnetgrent): ... this. Add internal_function to
21849 definition. Add libc_hidden_def.
21850 (setnetgrent): Update caller.
21851 (internal_endnetgrent): Renamed to ...
21852 (__internal_endnetgrent): ... this. Add internal_function to
21853 definition. Add libc_hidden_def.
21854 (endnetgrent): Update caller.
21855 (internal_getnetgrent_r): Renamed to ...
21856 (__internal_getnetgrent_r): ... this. Add internal_function to
21857 definition. Add libc_hidden_def.
21858 (__getnetgrent_r): Update caller.
21859 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
21860
c3c8283c
JM
218612012-08-16 Joseph Myers <joseph@codesourcery.com>
21862
21863 * stdlib/longlong.h: Update from GCC.
21864
db1ee0a8
RM
218652012-08-16 Roland McGrath <roland@hack.frob.com>
21866
21867 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
21868 on _QL, which is set by umul_ppmm but never used.
21869 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
21870 variables, which are set by GMP macros but never used.
21871 * stdio-common/_itowa.c (_itowa): Likewise.
21872 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
21873 * stdlib/mod_1.c (mpn_mod_1): Likewise.
21874
30f69637
CD
218752012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
21876
21877 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
21878 struct La_sh_regs is not constant.
21879 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
21880 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
21881 and struct La_sparc64_regs are not constant.
21882
93a78ac4
JM
218832012-08-16 Joseph Myers <joseph@codesourcery.com>
21884
21885 * sysdeps/unix/sysv/linux/kernel-features.h
21886 (__ASSUME_POSIX_TIMERS): Remove.
21887 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21888 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21889 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
21890 Make code unconditional.
21891 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21892 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
21893 Make code unconditional.
21894 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21895 * sysdeps/unix/sysv/linux/clock_nanosleep.c
21896 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
21897 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21898 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
21899 Make code unconditional.
21900 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21901 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
21902 (__libc_missing_posix_timers): Remove.
21903
dd924cd7
RM
219042012-08-15 Roland McGrath <roland@hack.frob.com>
21905
4b4f2771
RM
21906 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
21907 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
21908
601c888b
RM
21909 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
21910
176790a7
RM
21911 * elf/dl-sym.c: Include <stdlib.h>.
21912
329bc018
RM
21913 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
21914 constants, which avoids warnings in 32-bit builds.
21915
e04e272d
RM
21916 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
21917 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
21918
952bf94a
RM
21919 * misc/lseek.c: File moved to ...
21920 * io/lseek.c: ... here.
21921
7c99b50a
RM
21922 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
21923
dd924cd7
RM
21924 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
21925 shifting LEN more than 31 bits at once.
21926
b3f479a8
LD
219272012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21928
21929 [BZ #14195]
8c4ae0d4
RM
21930 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
21931 segmentation fault for a case of two empty input strings.
b3f479a8
LD
21932 * string/test-strncasecmp.c (check1): Renamed to...
21933 (bz12205): ...this.
21934 (bz14195): Add new testcase for two empty input strings and N > 0.
21935 (test_main): Call new testcase, adapt for renamed function.
21936
9c55864e
AJ
219372012-08-15 Andreas Jaeger <aj@suse.de>
21938
21939 [BZ #14090]
21940 * crypt/md5test2.c: New test, based on test supplied by Serge
21941 Belyshev <belyshev@depni.sinp.msu.ru>.
21942 * crypt/Makefile (xtests): Add md5test-giant..
21943 * crypt/Makefile ($(objpfx)md5test-giant): Add.
21944
02dcb6c5
PE
219452012-08-15 Paul Eggert <eggert@cs.ucla.edu>
21946
21947 [BZ #14090]
21948 * crypt/md5.c (md5_process_block): Don't assume the buffer
21949 length is less than 2**32.
21950 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
21951 length is less than 2**64.
21952
a3f95dcc
RM
219532012-08-15 Roland McGrath <roland@hack.frob.com>
21954
be75d758
RM
21955 * string/str-two-way.h: Include <sys/param.h>.
21956 (MAX): Macro removed.
21957
7312ca90
RM
21958 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
21959 Move #define and #undef of memmove to just before and after
21960 including <string.h>.
21961
9a0a5486
RM
21962 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
21963 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
21964 and after including <string.h>. Move declarations of
21965 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
21966 to before #include "string/memmove.c".
21967
67cc348d
RM
21968 * include/dirent.h: Declare __getdirentries.
21969
a3f95dcc
RM
21970 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
21971 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
21972
ca98e171
MF
219732012-08-14 Mike Frysinger <vapier@gentoo.org>
21974
21975 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
21976 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
21977 * sysdeps/i386/configure: Regenerated.
21978 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
21979 STABS_CURRENT_FILE, and STABS_FUN.
21980 (END): Remove call to STABS_FUN_END.
21981 (STABS_CURRENT_FILE1): Delete.
21982 (STABS_CURRENT_FILE): Likewise.
21983 (STABS_FUN): Likewise.
21984 (STABS_FUN_END): Likewise.
21985 (STABS_FUN2): Likewise.
21986 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
21987 * sysdeps/x86_64/configure: Regenerated.
21988
5908bf46
RM
219892012-08-14 Roland McGrath <roland@hack.frob.com>
21990
21991 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 21992 * elf/dl-lookup.c: Likewise.
5908bf46 21993
f2c05b9e
JM
219942012-08-14 Joseph Myers <joseph@codesourcery.com>
21995
21996 * sysdeps/unix/sysv/linux/kernel-features.h
21997 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
21998 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
21999 unconditionally.
22000 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
22001 unconditionally.
22002 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
22003 condition on __ASSUME_CLONE_THREAD_FLAGS.
22004
e11f5155
AJ
220052012-08-14 Andreas Jaeger <aj@suse.de>
22006
22007 * sysdeps/i386/fpu/libm-test-ulps: Update.
22008
51a9ba86
MK
220092012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
22010
2fdd4f78
AJ
22011 * include/atomic.h (atomic_exchange_and_add): Split into ...
22012 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
22013 New atomic macros.
51a9ba86 22014
ba6cba9e
MT
220152012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
22016
22017 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22018
42443a47
JL
220192012-08-13 Jeff Law <law@redhat.com>
22020
22021 * manual/stdio.texi (snprintf): Clarify handling of the trailing
22022 null byte in the output string.
22023
121dce05
JM
220242012-08-10 Joseph Myers <joseph@codesourcery.com>
22025
22026 * sysdeps/unix/sysv/linux/kernel-features.h
22027 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
22028 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
22029 (__ASSUME_ARG_MAX_STACK_BASED): Define.
22030 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
22031 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
22032 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
22033 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
22034
bf51f568
JL
220352012-08-09 Jeff Law <law@redhat.com>
22036
22037 [BZ #13939]
22038 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
22039 When avoid_arena is set, don't retry in the that arena. Pick the
22040 next one, whatever it might be.
22041 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
22042 (arena_lock): Pass in new parameter to arena_get2.
22043 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
22044 arena_get2.
22045 (__libc_malloc): Unify retrying after main arena failure with
22046 __libc_memalign version.
22047 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
22048
f85fa270
L
220492012-08-09 H.J. Lu <hongjiu.lu@intel.com>
22050
22051 [BZ #14166]
22052 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
22053 to __redirect_strstr.
22054 (__strstr_sse42): Use typeof __redirect_strstr.
22055 (__strstr_ia32): Likewise.
22056 (__libc_strstr): New prototype.
22057 (strstr): Renamed to ...
22058 (__libc_strstr): This.
22059 (strstr): New strong alias of __libc_strstr.
22060 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22061 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
22062 __redirect_time.
22063 Include <time.h>.
22064 (__libc_time): New prototype.
22065 (time_ifunc): Replace time with __libc_time.
22066 (time): New strong alias and hidden definition of __libc_time.
22067 (__GI_time): Remove strong alias.
22068 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
22069 Include <stddef.h>.
22070 (memmove): Redefined to __redirect_memmove.
22071 (__memmove_sse2): Use typeof __redirect_memmove.
22072 (__memmove_ssse3): Likewise.
22073 (__memmove_ssse3_back): Likewise.
22074 (__libc_memmove): New prototype.
22075 (memmove): Renamed to ...
22076 (__libc_memmove): This.
22077 (memmove): New strong alias of __libc_memmove.
22078
33b4a91e
MS
220792012-08-08 Mark Salter <msalter@redhat.com>
22080
22081 * elf/elf.h
22082 (R_MN10300_TLS_GD): Define.
22083 (R_MN10300_TLS_LD): Likewise.
22084 (R_MN10300_TLS_LDO): Likewise.
22085 (R_MN10300_TLS_GOTIE): Likewise.
22086 (R_MN10300_TLS_IE): Likewise.
22087 (R_MN10300_TLS_LE): Likewise.
22088 (R_MN10300_TLS_DTPMOD): Likewise.
22089 (R_MN10300_TLS_DTPOFF): Likewise.
22090 (R_MN10300_TLS_TPOFF): Likewise.
22091 (R_MN10300_SYM_DIFF): Likewise.
22092 (R_MN10300_ALIGN): Likewise.
22093 (R_MN10300_NUM): Update.
22094
b36137f1
JM
220952012-08-08 Joseph Myers <joseph@codesourcery.com>
22096
22097 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
22098 Remove.
22099
cdd915fd
RM
221002012-08-08 Roland McGrath <roland@hack.frob.com>
22101
a2433aac
RM
22102 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
22103
cdd915fd
RM
22104 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
22105 sysdeps/unix -> sysdeps/posix move.
22106 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22107
bf9b740a
AM
221082012-08-07 Allan McRae <allan@archlinux.org>
22109
22110 [BZ #14303]
22111 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
22112 (SUNOS_CPP): Likewise.
22113 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
22114 not found.
22115 (open_input): Call CPP using execvp.
22116
93df14ee
JM
221172012-08-07 Joseph Myers <joseph@codesourcery.com>
22118
22119 * sysdeps/unix/sysv/linux/kernel-features.h
22120 (__ASSUME_PROT_GROWSUPDOWN): Remove.
22121 (__ASSUME_NO_CLONE_DETACHED): Likewise.
22122 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
22123 (__ASSUME_WAITID_SYSCALL): Likewise.
22124 * sysdeps/unix/sysv/linux/dl-execstack.c
22125 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
22126 code unconditional.
22127 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
22128 conditional code.
22129 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
22130 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
22131 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
22132 code.
22133 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
22134 unconditional.
22135 [__ASSUME_WAITID_SYSCALL]: Likewise.
22136 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
22137
d34689de
RM
221382012-08-07 Roland McGrath <roland@hack.frob.com>
22139
a281decc
RM
22140 * sysdeps/unix/closedir.c: Renamed to ...
22141 * sysdeps/posix/closedir.c: ... here.
22142 * sysdeps/unix/dirfd.c: Renamed to ...
22143 * sysdeps/posix/dirfd.c: ... here.
22144 * sysdeps/unix/dirstream.h: Renamed to ...
22145 * sysdeps/posix/dirstream.h: ... here.
22146 * sysdeps/unix/fdopendir.c: Renamed to ...
22147 * sysdeps/posix/fdopendir.c: ... here.
22148 * sysdeps/unix/opendir.c: Renamed to ...
22149 * sysdeps/posix/opendir.c: ... here.
22150 * sysdeps/unix/readdir.c: Renamed to ...
22151 * sysdeps/posix/readdir.c: ... here.
22152 * sysdeps/unix/readdir_r.c: Renamed to ...
22153 * sysdeps/posix/readdir_r.c: ... here.
22154 * sysdeps/unix/rewinddir.c: Renamed to ...
22155 * sysdeps/posix/rewinddir.c: ... here.
22156 * sysdeps/unix/seekdir.c: Renamed to ...
22157 * sysdeps/posix/seekdir.c: ... here.
22158 * sysdeps/unix/telldir.c: Renamed to ...
22159 * sysdeps/posix/telldir.c: ... here.
22160 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
22161 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
22162 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
22163 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
22164
22895b47
RM
22165 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
22166 * bits/fcntl.h: ... here.
22167
707a53b6
RM
22168 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
22169 not 0.
22170 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
22171 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
22172 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
22173 (struct flock): Move l_start, l_len to the beginning.
22174 Use __pid_t for l_pid.
22175 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
22176 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
22177 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
22178 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
22179 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
22180 [__USE_LARGEFILE64] (struct flock64): New type.
22181 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
22182
f0bd3e25
RM
22183 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
22184 * bits/dirent.h: ... here.
22185
d34689de
RM
22186 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
22187 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
22188
6dad2c06
JM
221892012-08-07 Joseph Myers <joseph@codesourcery.com>
22190
22191 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22192 Change from 2.6.0 to 2.6.16.
22193 * sysdeps/unix/sysv/linux/configure: Regenerated.
22194 * sysdeps/unix/sysv/linux/kernel-features.h
22195 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
22196 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
22197 version.
22198 (__ASSUME_UTIMES): Likewise.
22199 (__ASSUME_CLONE_STOPPED): Remove.
22200 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
22201 architectures, not kernel version.
22202 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
22203 (__ASSUME_NO_CLONE_DETACHED): Likewise.
22204 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
22205 (__ASSUME_WAITID_SYSCALL): Likewise.
22206 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
22207 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
22208 * README: State 2.6.16 as minimum Linux kernel version. Do not
22209 refer to older versions.
22210
03af9520
RM
222112012-08-06 Roland McGrath <roland@hack.frob.com>
22212
8e49df1d
RM
22213 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
22214 Define alphasort64 as an alias.
22215 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
22216 Define versionsort64 as an alias.
22217 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
22218 Define scandir64 as an alias.
22219 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
22220 Define scandirat64 as an alias.
22221 * dirent/alphasort64.c (alphasort64):
22222 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
22223 * dirent/versionsort64.c: Likewise.
22224 * dirent/scandir64.c: Likewise.
22225 * dirent/scandirat64.c: Likewise.
22226 * sysdeps/wordsize-64/alphasort.c: File removed.
22227 * sysdeps/wordsize-64/alphasort64.c: File removed.
22228 * sysdeps/wordsize-64/scandir.c: File removed.
22229 * sysdeps/wordsize-64/scandir64.c: File removed.
22230 * sysdeps/wordsize-64/scandirat.c: File removed.
22231 * sysdeps/wordsize-64/scandirat64.c: File removed.
22232 * sysdeps/wordsize-64/versionsort.c: File removed.
22233 * sysdeps/wordsize-64/versionsort64.c: File removed.
22234 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
22235 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
22236 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
22237 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
22238 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
22239 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
22240 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
22241 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
22242
22243 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
22244 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22245 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
22246 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22247 [defined __arch64__ || defined __sparcv9]
22248 (__INO_T_MATCHES_INO64_T): New macro.
22249 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22250 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
22251 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
22252 * sysdeps/unix/sysv/linux/bits/dirent.h
22253 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
22254 (_DIRENT_MATCHES_DIRENT64): New macro.
22255
03af9520
RM
22256 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
22257 Define lockf64 as an alias.
22258 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
22259 Define fseeko64 as an alias.
22260 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
22261 Define ftello64 as an alias.
22262 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
22263 Define _IO_fgetpos64 and fgetpos64 as aliases.
22264 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
22265 Define _IO_fsetpos64 and fsetpos64 as aliases.
22266 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
22267 Conditionalize body on this.
22268 * libio/fseeko64.c: Likewise.
22269 * libio/ftello64.c: Likewise.
22270 * libio/iofgetpos64.c: Likewise.
22271 * libio/iofsetpos64.c: Likewise.
22272 * sysdeps/wordsize-64/lockf.c: File removed.
22273 * sysdeps/wordsize-64/lockf64.c: File removed.
22274 * sysdeps/wordsize-64/fseeko.c: File removed.
22275 * sysdeps/wordsize-64/fseeko64.c: File removed.
22276 * sysdeps/wordsize-64/ftello.c: File removed.
22277 * sysdeps/wordsize-64/ftello64.c: File removed.
22278 * sysdeps/wordsize-64/iofgetpos.c: File removed.
22279 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
22280 * sysdeps/wordsize-64/iofsetpos.c: File removed.
22281 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
22282 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
22283 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
22284 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
22285 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
22286 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
22287 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
22288 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
22289 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
22290 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
22291 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
22292
22293 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22294 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22295 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
22296 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22297 [defined __arch64__ || defined __sparcv9]
22298 (__OFF_T_MATCHES_OFF64_T): New macro.
22299 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22300 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22301 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22302 (__OFF_T_MATCHES_OFF64_T): New macro.
22303
c5757acd
L
223042012-08-06 H.J. Lu <hongjiu.lu@intel.com>
22305
22306 * stdlib/secure-getenv.c (__secure_getenv): Replace
22307 GLIBC_2_16 with GLIBC_2_17.
22308
3a31811e
L
223092012-08-06 H.J. Lu <hongjiu.lu@intel.com>
22310
22311 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
22312 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22313
faa2bccb
DM
223142012-08-03 David S. Miller <davem@davemloft.net>
22315
22316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22317
85fe1997
JM
223182012-08-03 Joseph Myers <joseph@codesourcery.com>
22319
22320 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
22321 Remove.
22322 (__ASSUME_CORRECT_SI_PID): Likewise.
22323 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
22324 (__ASSUME_TMPFS_NAME): Likewise.
22325 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
22326 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
22327 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
22328 (HAVE_AUX_SECURE): Make definition unconditional.
22329 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
22330 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
22331
4f75b7a0
RM
223322012-08-03 Roland McGrath <roland@hack.frob.com>
22333
22334 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
22335 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
22336 * sysdeps/mach/hurd/eloop-threshold.h: New file.
22337 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22338 __eloop_threshold instead of SYMLOOP_MAX.
22339
22340 * sysdeps/generic/eloop-threshold.h: New file.
22341 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
22342 of MAXSYMLINKS.
22343 * elf/chroot_canon.c (chroot_canon): Likewise.
22344
7aab07e4
JM
223452012-08-03 Joseph Myers <joseph@codesourcery.com>
22346
22347 [BZ #13717]
22348 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22349 Change to 2.6.0 everywhere.
22350 * sysdeps/unix/sysv/linux/configure: Regenerated.
22351 * sysdeps/unix/sysv/linux/kernel-features.h
22352 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
22353 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
22354 kernel versions.
22355 (__ASSUME_POSIX_TIMERS): Define unconditionally.
22356 (__ASSUME_FUTEX_REQUEUE): Remove.
22357 (__ASSUME_STATFS64): Define unconditionally.
22358 (__ASSUME_AT_SECURE): Likewise.
22359 (__ASSUME_CORRECT_SI_PID): Likewise.
22360 (__ASSUME_TGKILL): Define without depending on kernel version for
22361 i386.
22362 (__ASSUME_UTIMES): Likewise.
22363 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
22364 kernel version.
22365 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
22366 (__ASSUME_TMPFS_NAME): Likewise.
22367 * README: Update reference to Linux kernel versions.
22368
b67e9372
MP
223692012-08-02 Marek Polacek <polacek@redhat.com>
22370
1f529f7d 22371 [BZ# 14150]
b67e9372
MP
22372 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
22373 libc_cv_asm_type_prefix with %.
22374 * configure: Regenerated.
d2441631
RM
22375 * include/libc-symbols.h: Remove comment about
22376 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
22377 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
22378 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
22379 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
22380 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
22381 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
22382 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
22383 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
22384 * elf/tst-unique2mod1.c: Likewise.
22385 * elf/tst-unique1mod2.c: Likewise.
22386 * elf/tst-unique1mod1.c: Likewise.
22387 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
22388 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
22389 Replace ASM_TYPE_DIRECTIVE with .type.
22390 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22391 * sysdeps/i386/sysdep.h: Likewise.
22392 * sysdeps/x86_64/sysdep.h: Likewise.
22393 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
22394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22395 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 22396 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
22397 * sysdeps/powerpc/powerpc32/sysdep.h:
22398 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
22399 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22400 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22401 * sysdeps/i386/fpu/e_powf.S: Likewise.
22402 * sysdeps/i386/fpu/e_expl.S: Likewise.
22403 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22404 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22405 * sysdeps/i386/fpu/e_pow.S: Likewise.
22406 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22407 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22408 * sysdeps/i386/fpu/s_expm1.S: Likewise.
22409 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22410 * sysdeps/i386/fpu/e_log2.S: Likewise.
22411 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22412 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22413 * sysdeps/i386/fpu/e_powl.S: Likewise.
22414 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22415 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22416 * sysdeps/i386/fpu/e_logl.S: Likewise.
22417 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22418 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22419 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22420 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22421 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22422 * sysdeps/i386/fpu/e_log.S: Likewise.
22423 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22424 * sysdeps/i386/fpu/e_logf.S: Likewise.
22425 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22426 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22427 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22428 * sysdeps/i386/fpu/e_log10.S: Likewise.
22429 * sysdeps/i386/fpu/s_frexp.S: Likewise.
22430 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22431 * sysdeps/i386/fpu/s_asinh.S: Likewise.
22432 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22433 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22434 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
22435 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22436 * sysdeps/i386/i686/strtok.S: Likewise.
22437 * sysdeps/i386/i386-mcount.S: Likewise.
22438 * sysdeps/i386/strtok.S: Likewise.
22439 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
22440 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22441 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22442 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22443 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22444 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22445 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22446 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22447 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22448 * sysdeps/x86_64/_mcount.S: Likewise.
22449 * sysdeps/x86_64/strtok.S: Likewise.
22450 * sysdeps/sh/_mcount.S: Likewise.
22451
2747bf9a
RM
224522012-08-01 Roland McGrath <roland@hack.frob.com>
22453
22454 * libio/iofopen.c: Include <fcntl.h>.
22455 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
22456 (_IO_fopen64, fopen64): Define as aliases.
22457 * libio/iofopen64.c: Include <fcntl.h>.
22458 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
22459 Conditionalize body on this.
22460 * sysdeps/wordsize-64/iofopen.c: File removed.
22461 * sysdeps/wordsize-64/iofopen64.c: File removed.
22462
3fb791b8
MP
224632012-08-01 Marek Polacek <polacek@redhat.com>
22464
22465 * libc/Makeconfig: Use elf in place of binfmt-subdir.
22466 Use dlfcn directly instead of a variable.
22467 (binfmt-subdir): Do not define.
22468 (dlfcn): Likewise.
22469
a9f1039f
JM
224702012-08-01 Joseph Myers <joseph@codesourcery.com>
22471
23bddc06
JM
22472 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
22473 Remove all definitions.
22474 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
22475 <kernel-features.h>.
22476 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22477 (miss_F_GETOWN_EX): Remove all definitions.
22478 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
22479 macro definition.
22480 [!__ASSUME_FCNTL64]: Remove conditional code.
22481 [__ASSUME_FCNTL64]: Make code unconditional.
22482 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
22483 <kernel-features.h>.
22484 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22485 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
22486 (lockf64) [__NR_fcntl64]: Make code unconditional.
22487 (lockf64) [__ASSUME_FCNTL64]: Likewise.
22488
a9f1039f
JM
22489 * sysdeps/unix/sysv/linux/kernel-features.h
22490 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
22491 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
22492 Make code unconditional.
22493 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22494 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
22496 [__NR_vfork]: Make code unconditional.
22497 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22498 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
22500 [__NR_vfork]: Make code unconditional.
22501 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22502 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22503
09c0ee5f
RM
225042012-08-01 Roland McGrath <roland@hack.frob.com>
22505
48aec5b9
RM
22506 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
22507 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
22508
cd97c966
RM
22509 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22510 Define mkstemp64 as an alias.
3f55550c
RM
22511 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22512 Define mkstemps64 as an alias.
cd97c966
RM
22513 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22514 Define mkostemp64 as an alias.
b8625cfc
RM
22515 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22516 Define mkostemps64 as an alias.
cd97c966
RM
22517 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
22518 Conditionalize body on this.
22519 * misc/mkostemp64.c: Likewise.
b8625cfc 22520 * misc/mkostemps64.c: Likewise.
3f55550c 22521 * misc/mkstemps64.c: Likewise.
cd97c966
RM
22522 * sysdeps/wordsize-64/mkstemp64.c: File removed.
22523 * sysdeps/wordsize-64/mkostemp64.c: File removed.
22524 * sysdeps/wordsize-64/mkostemp.c: File removed.
22525 * sysdeps/wordsize-64/mkstemp.c: File removed.
22526 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
22527 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
22528 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
22529 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
22530
09c0ee5f
RM
22531 [BZ #14138]
22532 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
22533 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
22534 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
22535 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
22536
22537 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
22538 compat_symbol macros from <shlib-compat.h> rather than the underlying
22539 default_symbol_version and symbol_version macros, so that DEFAULT
22540 lines in shlib-versions are respected.
22541 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
22542
7e66ee51
FW
225432012-08-01 Florian Weimer <fweimer@redhat.com>
22544
22545 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
22546 Declare with warn_unused_result.
22547 (setgid, setregid, setegid, setresgid): Likewise.
22548 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
22549 Likewise.
22550 * WUR-REPORT: Remove set*id functions.
22551
d2a54255
PT
225522012-07-31 Pino Toscano <toscano.pino@tiscali.it>
22553
22554 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
22555
7ecdb005
RM
225562012-07-31 Roland McGrath <roland@hack.frob.com>
22557
b4180a5e 22558 [BZ #10191]
789bd351
RM
22559 * include/sys/socket.h (__libc_accept, __libc_accept4):
22560 Add attribute_hidden.
22561 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
22562
40ce302d
RM
22563 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
22564 use of PTR_MANGLE.
22565 * inet/getnetgrent_r.c (setup): Likewise.
22566
7ecdb005
RM
22567 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
22568
e2eabb2c
DM
225692012-07-31 David S. Miller <davem@davemloft.net>
22570
22571 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22572
d0419dbf
JM
225732012-07-31 Joseph Myers <joseph@codesourcery.com>
22574
22575 [BZ #13629]
22576 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
22577 value between 1.0 and 2.0 and smaller part has absolute value less
22578 than 1.0.
22579 * math/s_clog10.c (__clog10): Likewise.
22580 * math/s_clog10f.c (__clog10f): Likewise.
22581 * math/s_clog10l.c (__clog10l): Likewise.
22582 * math/s_clogf.c (__clogf): Likewise.
22583 * math/s_clogl.c (__clogl): Likewise.
22584 * math/libm-test.inc (clog_test): Add more tests.
22585 (clog10_test): Likewise.
22586 * sysdeps/i386/fpu/libm-test-ulps: Update.
22587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22588
2bc13872
FW
225892012-07-31 Florian Weimer <fweimer@redhat.com>
22590
22591 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
22592 Exit with zero in case no suitable GID is found, and write a
22593 message to standard error.
22594
bea9b193
RM
225952012-07-30 Roland McGrath <roland@hack.frob.com>
22596
22597 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
22598 rather than to 1.
22599 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
22600 (MAXPATHLEN): Removed.
22601 (NOGROUP, NODEV): New macros.
22602 (setbit, clrbit, isset, isclr): New macros.
22603 (howmany, roundup, powerof2): New macros.
22604 (DEV_BSIZE): New macro.
22605
22606 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
22607 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
22608
22609 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
22610 definition on [!__NO_LONG_DOUBLE_MATH].
22611
22612 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
22613 PTR_MANGLE and PTR_DEMANGLE.
22614
22615 * socket/accept4.c (accept4): Rename to __libc_accept4.
22616 Define accept4 as a weak alias.
22617
22618 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
22619 on [_DIRENT_HAVE_D_TYPE].
22620 * io/ftw.c (ftw_dir): Likewise.
22621
22622 * io/xmknod.c (__xmknod): Don't check PATH for being null.
22623
22624 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
22625
22626 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
22627 Use the BSD numbers rather than the arbitrary ones we had.
22628 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
22629 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
22630 (SIGXCPU, SIGXFSZ): New macros.
22631 (_NSIG): Now 32.
22632
22633 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
22634 initializer on [_LIBC_REENTRANT].
22635
22636 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
22637 definitions inside [_POSIX_MAPPED_FILES].
22638
22639 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
22640
22641 * dirent/opendir.c: Include <fcntl.h>.
22642
22643 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
22644 (__libc_getspecific): Likewise.
22645 (__libc_key_create): Likewise.
22646
22647 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
22648 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
22649 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
22650 (tmpfile64): Define as alias.
22651 * sysdeps/wordsize-64/tmpfile.c: File removed.
22652 * sysdeps/wordsize-64/tmpfile64.c: File removed.
22653 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
22654 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
22655
22656 * stdio-common/vfscanf.c: Include <stdbool.h>.
22657 * nss/makedb.c: Likewise.
22658 * stdio-common/_i18n_number.h: Likewise.
22659 * argp/argp-help.c: Likewise.
22660 * posix/wordexp.c: Likewise.
22661 * sysdeps/posix/spawni.c: Likewise.
22662 * nss/nss_files/files-initgroups.c: Likewise.
22663 * stdio-common/reg-modifier.c: Include <stdlib.h>.
22664 * nss/nss_files/files-initgroups.c: Likewise.
22665 * nss/nss_db/db-netgrp.c: Likewise.
22666 * nss/nss_db/db-initgroups.c: Likewise.
22667 * io/fchmodat.c: Include <sys/stat.h>.
22668
22669 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
22670 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
22671
22672 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
22673 [HAVE_MMAP].
22674
22675 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
22676 Add multiple inclusion protection.
22677
e5abc686
DM
226782012-07-27 David S. Miller <davem@davemloft.net>
22679
22680 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22681
815e6fa3
GB
226822012-07-27 Gary Benson <gbenson@redhat.com>
22683
22684 [BZ #14298]
22685 * elf/rtld.c: Include <stap-probe.h>.
22686 (dl_main): Added static probes "init_start" and "init_complete".
22687 * elf/dl-load.c: Include <stap-probe.h>.
22688 (lose): Take new parameter "nsid".
22689 Added static probe "map_failed".
22690 (_dl_map_object_from_fd): Pass namespace id to lose.
22691 Added static probe "map_start".
22692 (open_verify): Pass namespace id to lose.
22693 * elf/dl-open.c: Include <stap-probe.h>.
22694 (dl_open_worker) Added static probes "map_complete", "reloc_start"
22695 and "reloc_complete".
22696 * elf/dl-close.c: Include <stap-probe.h>.
22697 (_dl_close_worker): Added static probes "unmap_start" and
22698 "unmap_complete".
22699 * elf/rtld-debugger-interface.txt: New file documenting the above.
22700
9f98c16c
RM
227012012-07-26 Roland McGrath <roland@hack.frob.com>
22702
22703 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
22704 rather than a string variable.
22705 * sunrpc/rpc_main.c (h_output): Likewise.
22706 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
22707
f3c22df3
PT
227082012-07-26 Pino Toscano <toscano.pino@tiscali.it>
22709
22710 * inet/check_native.c: New file.
22711
3129cfc6
JM
227122012-07-26 Joseph Myers <joseph@codesourcery.com>
22713
da865e95
JM
22714 [BZ #13629]
22715 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
22716 if larger part has absolute value 1.0.
22717 * math/s_clog10.c (__clog10): Likewise.
22718 * math/s_clog10f.c (__clog10f): Likewise.
22719 * math/s_clog10l.c (__clog10l): Likewise.
22720 * math/s_clogf.c (__clogf): Likewise.
22721 * math/s_clogl.c (__clogl): Likewise.
22722 * math/libm-test.inc (clog_test): Add more tests.
22723 (clog10_test): Likewise.
22724 * sysdeps/i386/fpu/libm-test-ulps: Update.
22725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22726
3129cfc6
JM
22727 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
22728 (pltexit): Likewise.
22729 (La_regs): Likewise.
22730 (La_retval): Likewise.
22731 (int_retval): Likewise.
22732 Update #error for removed macros to refer only to definitions in
22733 tst-audit.h.
22734 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
22735 macro.
22736 (pltexit): Likewise.
22737 (La_regs): Likewise.
22738 (La_retval): Likewise.
22739 (int_retval): Likewise.
22740 * elf/tst-auditmod4b.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-auditmod5b.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-auditmod6b.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-auditmod6c.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-auditmod7b.c (pltenter): Remove all definitions of
22765 macro.
22766 (pltexit): Likewise.
22767 (La_regs): Likewise.
22768 (La_retval): Likewise.
22769 (int_retval): Likewise.
22770 * sysdeps/generic/tst-audit.h: Update comment to refer only to
22771 macro definitions in tst-audit.h.
22772 * sysdeps/i386/tst-audit.h: New file.
22773 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
22774 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
22775 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
22776 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
22777 * sysdeps/sh/tst-audit.h: Likewise.
22778 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
22779 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
22780 * sysdeps/x86_64/tst-audit.h: Likewise.
22781
bfc07087
AJ
227822012-07-26 Andreas Jaeger <aj@suse.de>
22783
b1b2aaf8
AJ
22784 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
22785 ptrace.
22786
22787 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
22788 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
22789 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
22790 PTRACE_O_MASK.
22791 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
22792 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
22793 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
22794
bfc07087
AJ
22795 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
22796 value.
22797
22798 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
22799 _sigsys.
22800 (si_call_addr, si_syscall, si_arch): Define new macro.
22801 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
22802 _sigsys.
22803 (si_call_addr, si_syscall, si_arch): Define new marcro.
22804 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
22805 _sigsys.
22806 (si_call_addr, si_syscall, si_arch): Define new macro.
22807 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
22808 _sigsys.
22809 (si_call_addr, si_syscall, si_arch): Define new macro.
22810
89b4b02f
JM
228112012-07-25 Joseph Myers <joseph@codesourcery.com>
22812
22813 [BZ #13717]
22814 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22815 Change to 2.4.21 where previously 2.4.1.
22816 * sysdeps/unix/sysv/linux/configure: Regenerated.
22817 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
22818 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
22819 Linux kernel version.
22820 (__ASSUME_STD_AUXV): Remove.
22821 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
22822 kernel version.
22823 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
22824 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
22825 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
22826 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
22827 (__ASSUME_NETLINK_SUPPORT): Likewise.
22828 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
22829 (__no_netlink_support): Remove conditional definition.
22830 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
22831 Remove.
22832 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22833 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
22834 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
22835 (if_nameindex_ioctl): Remove.
22836 (if_nameindex_netlink): Do not handle __no_netlink_support.
22837 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22838 code.
22839 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
22840 Remove conditional code.
22841 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22842 code.
22843 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
22844 unconditional.
22845 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22846 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
22847 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
22848 Remove.
22849 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
22850 [!__ASSUME_STD_AUXV]: Remove conditional code.
22851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
22852 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
22853 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
22854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
22855 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
22856 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22857 code.
22858 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22860 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
22861 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22862 conditional code.
22863 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22865 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22866 code.
22867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22868 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22869 conditional code.
22870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
22871 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22872 code unconditional.
22873 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22874 conditional code.
22875 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22876 unconditional.
22877 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22878 conditional code.
22879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22880 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22881 unconditional.
22882 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22883 conditional code.
22884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
22885 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22886 code unconditional.
22887 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22888 conditional code.
22889 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22890 unconditional.
22891 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22892 conditional code.
22893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
22894 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22895 code unconditional.
22896 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22897 conditional code.
22898 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22899 unconditional.
22900 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22901 conditional code.
22902
842a39cd
AS
229032012-07-25 Andreas Schwab <schwab@linux-m68k.org>
22904
22905 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
22906 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
22907 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22908 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
22909 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
22910 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
22911 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22912 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
22913 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
22914 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
22915 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
22916 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
22917 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
22918 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
22919 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
22920 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
22921 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
22922 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
22923 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
22924 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
22925 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
22926 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
22927 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22928
84b3fd84
FW
229292012-07-25 Florian Weimer <fweimer@redhat.com>
22930
22931 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
22932 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
22933 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
22934 Introduce __libc_secure_getenv.
0c7936d5
FW
22935 * stdlib/Versions (2.17): Add secure_getenv
22936 (GLIBC_PRIVATE): Add __libc_secure_getenv.
22937 * stdlib/secure-getenv.c: Rename __secure_getenv to
22938 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
22939 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
22940 * stdlib/tst-secure-getenv.c: New.
22941 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
22942 * manual/startup.texi (Environment Access): Document
22943 secure_getenv.
84b3fd84
FW
22944 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
22945 __libc_secure_getenv.
22946 * inet/ruserpass.c (ruserpass): Likewise.
22947 * malloc/mtrace.c (mtrace): Likewise.
22948 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 22949 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
22950 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
22951 * sysdeps/posix/tempname.c: Likewise. Evaluate
22952 HAVE_SECURE_GETENV.
22953 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 22954 __secure_getenv to __libc_secure_getenv.
84b3fd84 22955 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
22956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22957 Likewise.
22958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22959 Likewise.
22960 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22961 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22962 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22963 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22964 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22965 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22966 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 22967
56e49b71
JM
229682012-07-25 Joseph Myers <joseph@codesourcery.com>
22969
22970 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
22971 (struct La_i86_retval): Likewise.
22972 (struct La_x86_64_regs): Likewise.
22973 (struct La_x86_64_retval): Likewise.
22974 (struct La_x32_regs): Likewise.
22975 (struct La_x32_retval): Likewise.
22976 (struct La_ppc32_regs): Likewise.
22977 (struct La_ppc32_retval): Likewise.
22978 (struct La_ppc64_regs): Likewise.
22979 (struct La_ppc64_retval): Likewise.
22980 (struct La_sh_regs): Likewise.
22981 (struct La_sh_retval): Likewise.
22982 (struct La_s390_32_regs): Likewise.
22983 (struct La_s390_32_retval): Likewise.
22984 (struct La_s390_64_regs): Likewise.
22985 (struct La_s390_64_retval): Likewise.
22986 (struct La_sparc32_regs): Likewise.
22987 (struct La_sparc32_retval): Likewise.
22988 (struct La_sparc64_regs): Likewise.
22989 (struct La_sparc64_retval): Likewise.
22990 (struct audit_ifaces): Remove architecture-specific pltenter and
22991 pltexit members.
22992 * sysdeps/i386/ldsodefs.h: New file.
22993 * sysdeps/powerpc/ldsodefs.h: Likewise.
22994 * sysdeps/s390/ldsodefs.h: Likewise.
22995 * sysdeps/sh/ldsodefs.h: Likewise.
22996 * sysdeps/sparc/ldsodefs.h: Likewise.
22997 * sysdeps/x86_64/ldsodefs.h: Likewise.
22998
354691b7
MP
229992012-07-25 Marek Polacek <polacek@redhat.com>
23000
23001 [BZ #6808]
23002 * math/libm-test.inc (yn_test): Add another test.
23003 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
23004 to ERANGE when the result is +-Inf.
23005 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
23006 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
23007 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
23008 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
23009
bf9e2071
JM
230102012-07-24 Joseph Myers <joseph@codesourcery.com>
23011
23012 * conform/data/time.h-data (NULL): Use macro-constant. Require
23013 equal to 0.
23014 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
23015 clock_t.
23016 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
23017
57633811
TS
230182012-07-23 Thomas Schwinge <thomas@codesourcery.com>
23019
23020 * configure.in <sysdeps resolving>: Correct printing
23021 Implies_before.
23022 * configure: Regenerate.
23023
c23c33b0
TS
230242012-07-22 Thomas Schwinge <thomas@codesourcery.com>
23025
23026 * math/w_ilogb.c: Include <limits.h>.
23027 * math/w_ilogbl.c: Likewise.
23028
b5982523
JM
230292012-07-20 Joseph Myers <joseph@codesourcery.com>
23030
23031 * manual/lang.texi (__va_copy): Document primarily as ISO C99
23032 va_copy. Document allowing for unavailable va_copy only as
23033 pre-C99 compatibility.
23034 * manual/string.texi (Copying and Concatenation): Use va_copy
23035 instead of __va_copy in concat example.
23036
ac4ea442
PT
230372012-07-20 Pino Toscano <toscano.pino@tiscali.it>
23038
23039 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
23040 (__sendto): Use create_address_port. Initialize APORT and deallocate
23041 it if not null.
23042
f98eafbd
PT
23043 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
23044 with O_NOLINK passed to __file_name_lookup.
23045
898c7aab
PT
23046 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
23047 with O_NOLINK passed to __file_name_lookup.
23048
0ced335a
PT
23049 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
23050 negative N or less than NGIDS.
23051
b3404dbd
PT
23052 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
23053 type to string_t. Set ERANGE as errno and return it if NAME is not big
23054 enough. Use memcpy instead of strncpy.
23055
0f48659e
JM
230562012-07-20 Joseph Myers <joseph@codesourcery.com>
23057
23058 * elf/Makefile (check-data): Remove.
23059 (localplt.data): New vpath directive.
23060 ($(objpfx)check-localplt.out): Use localplt.data from vpath
23061 instead of $(check-data).
23062 * scripts/data/localplt-generic.data: Move to ...
23063 * sysdeps/generic/localplt.data: ... here.
23064 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
23065 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
23066 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
23067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
23068 ... here.
23069 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
23070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
23071 ... here.
23072 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
23073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
23074 ... here.
23075 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
23076 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
23077 ... here.
23078 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
23079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
23080 ... here.
23081 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
23082 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
23083 ... here.
23084
d37cbdaa
AZ
230852012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23086
23087 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
23088 PPC32 and PPC64 files.
23089 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
23090 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
23091
46f85fc2
AK
230922012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23093
23094 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
23095 __makecontext_ret to ...
23096 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
23097 ... here and call exit if uc_link is NULL. New file.
23098 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
23099 __makecontext_ret.S.
23100 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
23101 __makecontext_ret to ...
23102 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
23103 ... here and call exit if uc_link is NULL. New file.
23104 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
23105 __makecontext_ret.S.
23106
08f43f9b
AK
231072012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23108
23109 * elf/elf.h (R_390_IRELATIVE): New definition.
23110 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
23111 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
23112 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
23113 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23114 (elf_machine_lazy_rel): Likewise.
23115 * sysdeps/s390/dl-irel.h: New file.
23116 * sysdeps/s390/s390-64/memcpy.S: New asm code.
23117 * sysdeps/s390/s390-64/memset.S: New asm code.
23118 * sysdeps/s390/s390-64/memcmp.S: New asm code.
23119 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
23120 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
23121 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
23122 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
23123 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
23124 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
23125 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
23126 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
23127 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
23128 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
23129 * sysdeps/s390/s390-32/memcpy.S: New asm code.
23130 * sysdeps/s390/s390-32/memset.S: New asm code.
23131 * sysdeps/s390/s390-32/memcmp.S: New asm code.
23132
3b05db33
MP
231332012-07-17 Marek Polacek <polacek@redhat.com>
23134
23135 [BZ #14349]
23136 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
23137 * sysdeps/s390/s390-64/configure.in: Likewise.
23138 * sysdeps/sparc/configure.in: Likewise.
23139 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
23140 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
23141 * sysdeps/i386/configure.in: Likewise.
23142 * sysdeps/x86_64/configure.in: Likewise.
23143 * sysdeps/sh/configure.in: Likewise.
23144 * sysdeps/s390/s390-32/configure: Regenerated.
23145 * sysdeps/s390/s390-64/configure: Likewise.
23146 * sysdeps/x86_64/configure: Likewise.
23147 * sysdeps/sh/configure: Likewise.
23148 * sysdeps/powerpc/powerpc64/configure: Likewise.
23149 * sysdeps/powerpc/powerpc32/configure: Likewise.
23150 * sysdeps/sparc/configure: Likwise.
23151 * sysdeps/i386/configure: Likewise.
23152
a66877c6
MP
23153 * elf/dl-open.c: Comment fixes.
23154
cfc82fd8
JM
231552012-07-17 Joseph Myers <joseph@codesourcery.com>
23156
bd29910a
JM
23157 * Makefile [CXX] (check-data): Remove.
23158 [CXX] (c++-types.data): New vpath directive.
23159 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
23160 vpath. Do not allow for C++ type data being missing.
23161 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
23162 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
23163 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
23164 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
23165 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
23166 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
23167 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
23168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
23169 ... here.
23170 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
23171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
23172 ... here.
23173 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
23174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
23175 ... here.
23176 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
23177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
23178 ... here.
23179 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
23180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
23181 ... here.
23182 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
23183 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
23184 ... here.
23185 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
23186 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
23187 ... here.
23188 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
23189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
23190
cfc82fd8
JM
23191 * elf/tls-macros.h (TLS_LE): Move architecture-specific
23192 definitions to architecture-specific files.
23193 (TLS_IE): Likewise.
23194 (TLS_LD): Likewise.
23195 (TLS_GD): Likewise.
23196 * sysdeps/i386/tls-macros.h: New file.
23197 * sysdeps/powerpc/tls-macros.h: Likewise.
23198 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
23199 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
23200 * sysdeps/sh/tls-macros.h: Likewise.
23201 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
23202 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
23203 * sysdeps/x86_64/tls-macros.h: Likewise.
23204
f7db3170
TS
232052012-07-17 Thomas Schwinge <thomas@codesourcery.com>
23206
07cbfc23
TS
23207 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
23208 zero value for regular exit case.
23209
f7db3170
TS
23210 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
23211 (__start_context): Preserve zero value for regular exit case.
23212
dc97c227
TS
232132012-07-17 Thomas Schwinge <thomas@codesourcery.com>
23214 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23215
23216 * manual/setjmp.texi (setcontext): Clarify normal process
23217 termination when uc_link is the null pointer.
23218 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
23219 exit call.
23220
d0cd7d02
AS
232212012-07-16 Andreas Schwab <schwab@linux-m68k.org>
23222
23223 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
23224 preprocessor. Test for each exception mask separately.
23225
dd318934
AJ
232262012-07-16 Andreas Jaeger <aj@suse.de>
23227
23228 * po/ru.po: Update from translation team.
23229
8048311a
JM
232302012-07-15 Joseph Myers <joseph@codesourcery.com>
23231
23232 * conform/data/string.h-data (NULL): Use macro-constant. Require
23233 equal to 0.
23234 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23235 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23236 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
23237 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
23238 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23239
b637d46e
AJ
232402012-07-13 Andreas Jaeger <aj@suse.de>
23241
23242 * po/fr.po: Update from translation team.
23243
541428fe
MP
232442012-07-12 Marek Polacek <polacek@redhat.com>
23245
23246 [BZ #14173]
23247 * math/libm-test.inc (yn_test): Add test for BZ #14173.
23248 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
23249 loop condition.
23250
ec332e94
JM
232512012-07-12 Joseph Myers <joseph@codesourcery.com>
23252
23253 [BZ #13717]
23254 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23255 Change to 2.4.1 where previously 2.4.0.
23256 * sysdeps/unix/sysv/linux/configure: Regenerated.
23257 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
23258 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
23259 version.
23260 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
23261 (__ASSUME_AT_CLKTCK): Remove.
23262 (__ASSUME_AT_PAGESIZE): Likewise.
23263 (__ASSUME_AT_XID): Likewise.
23264 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
23265 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
23266 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
23267 unconditionally.
23268 (HAVE_AUX_PAGESIZE): Likewise.
23269 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
23270 [__ASSUME_AT_CLKTCK]: Make code unconditional.
23271 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
23272
7b6e99be
JB
232732012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
23274
23275 [BZ #14307]
23276 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
23277 the temporary buffer used to invoke __gethostbyname2_r,
23278 __gethostbyaddr_r and gethostbyname4_r to make room for struct
23279 host_data / struct gaih_addrtuple.
23280 * resolv/nss_dns/dns-host.c (global scope): Move definition of
23281 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
23282 header file nss/nsswitch.h.
23283 * nss/nsswitch.h (global scope): Add definition of implementation
23284 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
23285 resolv/nss_dns/dns-host.c).
23286
608404eb
AJ
232872012-07-11 Andreas Jaeger <aj@suse.de>
23288
23289 * po/fr.po: Update from translation team.
23290
71220aca
AJ
23291 * po/sv.po: Update from translation team
23292 * po/fr.po: Another update from translation team.
23293
28cfe843
AZ
232942012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23295
23296 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
23297 for subnormals or multiply small sinh result by itself.
23298 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23300
6b90f981
DM
233012012-07-11 David S. Miller <davem@davemloft.net>
23302
23303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23304
c6825772
AS
233052012-07-10 Andreas Schwab <schwab@linux-m68k.org>
23306
23307 [BZ #14347]
23308 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
23309 (INTERNAL_MARK): Shift it here.
23310
7b8e0d49
MP
233112012-07-10 Marek Polacek <polacek@redhat.com>
23312
23313 [BZ #14151]
23314 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
23315 libc_cv_asm_global_directive with .globl.
23316 * configure: Regenerated.
23317 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
23318 with .globl.
23319 * sysdeps/i386/configure: Regenerated.
23320 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
23321 with .globl.
23322 * sysdeps/x86_64/configure: Regenerated.
23323 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
23324 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
23325 * elf/tst-unique2mod2.c: Likewise.
23326 * elf/tst-unique2mod1.c: Likewise.
23327 * elf/tst-unique1mod2.c: Likewise.
23328 * elf/tst-unique1mod1.c: Likewise.
23329 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23330 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
23331 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23332 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23333 * sysdeps/mach/sysdep.h: Likewise.
23334 * sysdeps/i386/sysdep.h: Likewise.
23335 * sysdeps/i386/i386-mcount.S: Likewise.
23336 * sysdeps/x86_64/_mcount.S: Likewise.
23337 * sysdeps/x86_64/sysdep.h: Likewise.
23338 * sysdeps/sh/_mcount.S: Likewise.
23339 * sysdeps/sh/sysdep.h: Likewise.
23340 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
23341 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
23342 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
23343 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23344 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
23345 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
23346 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
23347 * locale/localeinfo.h: Likewise.
23348 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
23349 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
23350
6c55cda3
RM
233512012-07-09 Roland McGrath <roland@hack.frob.com>
23352
23353 [BZ #14336]
23354 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
23355 system".
23356 * manual/message.texi (The Uniforum approach): Likewise.
23357 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
23358 (glibc iconv Implementation): Likewise.
23359
638a572e
JM
233602012-07-09 Joseph Myers <joseph@codesourcery.com>
23361
23362 [BZ #14337]
23363 * math/s_clog.c (__clog): Avoid scaling a value down where that
23364 could result in underflow.
23365 * math/s_clog10.c (__clog10): Likewise.
23366 * math/s_clog10f.c (__clog10f): Likewise.
23367 * math/s_clog10l.c (__clog10l): Likewise.
23368 * math/s_clogf.c (__clogf): Likewise.
23369 * math/s_clogl.c (__clogl): Likewise.
23370 * math/libm-test.inc (clog_test): Add more tests.
23371 (clog10_test): Likewise.
23372 * sysdeps/i386/fpu/libm-test-ulps: Update.
23373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23374
261f4859
AS
233752012-07-06 Andreas Schwab <schwab@linux-m68k.org>
23376
0abaf3e4
AS
23377 [BZ #14283]
23378 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
23379 by 7 not 8 to examine high bit of fractional part.
23380
261f4859
AS
23381 [BZ #14042]
23382 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
23383 for call to __mcount_internal.
23384 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
23385 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
23386 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
23387
f17ac40d
JM
233882012-07-06 Joseph Myers <joseph@codesourcery.com>
23389
9ad63c23
JM
23390 [BZ #14154]
23391 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
23392 approximation for values within 0x1p-13f of an odd multiple of
23393 pi/4.
23394 * math/libm-test.inc (tan_test): Do not allow spurious underflow
23395 exception. Add more tests.
23396 * sysdeps/i386/fpu/libm-test-ulps: Update.
23397
f17ac40d
JM
23398 [BZ #6778]
23399 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
23400 inputs and return -1 for them. Do not check for +Inf in case not
23401 reachable for +Inf.
23402 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
23403 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
23404 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23405 and return -1 for them. Do not check for +Inf in case not
23406 reachable for +Inf.
23407 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
23408 define.
23409 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23410 and return -1 for them. Do not check for +Inf in case not
23411 reachable for +Inf.
23412 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
23413 spurious underflow.
23414 * sysdeps/i386/fpu/libm-test-ulps: Update.
23415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23416
fb21f89b
MF
234172012-07-06 Mike Frysinger <vapier@gentoo.org>
23418
23419 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
23420
cdfe2c5e
JM
234212012-07-05 Joseph Myers <joseph@codesourcery.com>
23422
23423 [BZ #14157]
23424 [BZ #14331]
23425 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
23426 could result in spurious underflow. Scale down values above
23427 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
23428 * math/s_csqrtf.c (__csqrtf): Likewise.
23429 * math/s_csqrtl.c (__csqrtl): Likewise.
23430 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
23431 spurious underflow.
23432 * sysdeps/i386/fpu/libm-test-ulps: Update.
23433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23434
70d35b67
AS
234352012-07-04 Andreas Schwab <schwab@linux-m68k.org>
23436
704bc459
AS
23437 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
23438 xopen-msg.sed.
23439 * catgets/xopen-msg.awk: New file.
23440 * catgets/xopen-msg.sed: Removed.
23441
70d35b67
AS
23442 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
23443 po2text.sed.
23444 * intl/po2test.awk: New file.
23445 * intl/po2test.sed: Removed.
23446
ca61cf32
JM
234472012-07-04 Joseph Myers <joseph@codesourcery.com>
23448
23449 [BZ #14328]
23450 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
23451 or multiply small sinh result by itself.
23452 * math/s_ctanf.c (__ctanf): Likewise.
23453 * math/s_ctanh.c (__ctanh): Likewise.
23454 * math/s_ctanhf.c (__ctanhf): Likewise.
23455 * math/s_ctanhl.c (__ctanhl): Likewise.
23456 * math/s_ctanl.c (__ctanl): Likewise.
23457 * math/libm-test.inc (ctan_test_tonearest): New function.
23458 (ctan_test_towardzero): Likewise.
23459 (ctan_test_downward): Likewise.
23460 (ctan_test_upward): Likewise.
23461 (ctanh_test_tonearest): Likewise.
23462 (ctanh_test_towardzero): Likewise.
23463 (ctanh_test_downward): Likewise.
23464 (ctanh_test_upward): Likewise.
23465 (main): Call these new functions.
23466 * sysdeps/i386/fpu/libm-test-ulps: Update.
23467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23468
ca48a46a
MF
234692012-07-03 Mike Frysinger <vapier@gentoo.org>
23470
23471 * .gitignore: Delete /ports entry.
23472
9d63d37d
AJ
234732012-07-03 Andreas Jaeger <aj@suse.de>
23474
23475 * po/bg.po: Update from translation team.
23476 * po/cs.po: Likewise.
23477 * po/de.po: Likewise.
23478 * po/hr.po: Likewise.
23479 * po/nl.pl: Likewise.
23480 * po/pl.po: Likewise.
23481 * po/vi.po: Likewise.
23482
370ca3d2
JM
234832012-07-03 Joseph Myers <joseph@codesourcery.com>
23484
95f5a9a8
JM
23485 * Makeconfig [!+link] (+link-before-libc): New variable.
23486 [!+link] (+link-after-libc): Likewise.
23487 [!+link] (+link-tests): Likewise.
23488 [!+link] (+link): Define in terms of $(+link-before-libc) and
23489 $(+link-after-libc).
23490 [!+link-static] (+link-static-before-libc): New variable.
23491 [!+link-static] (+link-static-after-libc): Likewise.
23492 [!+link-static] (+link-static-tests): Likewise.
23493 [!+link-static] (+link-static): Define in terms of
23494 $(+link-static-before-libc) and $(+link-static-after-libc).
23495 [build-shared] (link-libc-before-gnulib): New variable.
23496 [build-shared] (link-libc-tests): Likewise.
23497 [build-shared] (link-libc): Define in terms of
23498 $(link-libc-before-gnulib).
23499 [!build-shared] (link-libc-tests): New variable.
23500 (link-libc-static-tests): New variable.
23501 [!gnulib] (gnulib-arch): New variable.
23502 [!gnulib] (gnulib-tests): Likewise.
23503 [!gnulib] (static-gnulib-arch): Likewise.
23504 [!gnulib] (static-gnulib-tests): Likewise.
23505 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
23506 Define with "=" instead of ":=".
23507 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
23508 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
23509 * Rules (binaries-all-notests): New variable.
23510 (binaries-all-tests): Likewise.
23511 (binaries-static-notests): Likewise.
23512 (binaries-static-tests): Likewise.
23513 (binaries-all): Define using $(binaries-all-notests) and
23514 $(binaries-all-tests).
23515 (binaries-static): Define using $(binaries-static-notests) and
23516 $(binaries-static-tests).
23517 (binaries-shared-tests): New variable.
23518 (binaries-shared-notests): Likewise.
23519 (binaries-shared): Remove variable.
23520 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
23521 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
23522 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
23523 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
23524 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
23525 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
23526 * elf/Makefile (sln-modules): New variable.
23527 (extra-objs): Add $(sln-modules:=.o).
23528 (ldconfig-modules): Add static-stubs.
23529 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
23530 * elf/static-stubs.c: New file.
23531
7a845b2c
JM
23532 [BZ #14283]
23533 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
23534 by 7 not 8 to examine high bit of fractional part. Use volatile
23535 variables when splitting into final array of floats if
23536 __FLT_EVAL_METHOD__ != 0.
23537 * math/libm-test.inc (cos_test): Add another test.
23538 (sin_test): Likewise.
23539 * sysdeps/i386/fpu/libm-test-ulps: Update.
23540
e2283f38
JM
23541 [BZ #14273]
23542 * math/libm-test.inc (cosh_test): Add more tests.
23543
370ca3d2
JM
23544 * version.h (RELEASE): Set to "development".
23545 (VERSION): Set to "2.16.90".
23546
ee9247c3
CD
235472012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
23548
23549 * NEWS: Update copyright. Remove last-updated date.
23550 Mention math library bug fixes and timezone data changes.
23551 * README: Mention GNU/Hurd, x32, and HPPA support status.
23552
4648c381
TS
235532012-06-28 Thomas Schwinge <thomas@codesourcery.com>
23554
23555 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
23556
aac78a43
AJ
235572012-06-27 Andreas Jaeger <aj@suse.de>
23558
23559 * manual/contrib.texi (Contributors): Add Samuel Thibault.
23560
ed3dbfad
AJ
235612012-06-25 Andreas Jaeger <aj@suse.de>
23562
23563 * sysdeps/s390/fpu/libm-test-ulps: Update.
23564
4d0ee855
AS
235652012-06-23 Andreas Schwab <schwab@linux-m68k.org>
23566 Thomas Schwinge <thomas@codesourcery.com>
23567
23568 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
23569 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
23570 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
23571 fanotify_mark.
23572
af1bce34
TS
235732012-06-23 Thomas Schwinge <thomas@codesourcery.com>
23574
a9fa33ba
TS
23575 * sysdeps/mach/start.c: Remove file.
23576 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
23577 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
23578 * sysdeps/sh/init-first.c: Likewise.
23579
58f902b8
TS
23580 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
23581 registers for frame unwinding purposes, add CFI directives.
23582 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23583 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
23584 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
23585 Likewise.
23586
1518f58b
TS
23587 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
23588 __fortify_fail returning.
23589 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23590
db9b5059
TS
23591 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
23592 sysdeps/sh/____longjmp_chk.S.
23593 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
23594 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
23595 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
23596 (gen-as-const-headers): Append sigaltstack-offsets.sym.
23597
967705fe
TS
23598 * sysdeps/sh/abort-instr.h: New file.
23599 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
23600 process in case exit returns.
23601
a9def8c4
TS
23602 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
23603 initialize the GOT register before use.
23604
2a649725
TS
23605 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
23606 calculation of ARGC > 4.
23607
af1bce34
TS
23608 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
23609 meaningful names to some local labels.
23610
d230f50a
KK
236112012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23612 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23613
23614 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
23615 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
23616 (__arch_compare_and_exchange_val_16_acq): Likewise.
23617 (__arch_compare_and_exchange_val_32_acq): Likewise.
23618 (atomic_exchange_and_add): Fix gUSA sequence.
23619 (atomic_add): Likewise.
23620 (atomic_add_negative): Likewise.
23621 (atomic_add_zero): Likewise.
23622 (atomic_bit_test_set): Likewise.
23623
0479b305
AS
236242012-06-22 Andreas Schwab <schwab@redhat.com>
23625
23626 [BZ #13579]
23627 * include/link.h (struct link_map): Add l_free_initfini.
23628 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
23629 l_initfini.
23630 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
23631 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
23632 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
23633 set.
23634
0e3933b9
CD
236352012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
23636
23637 * configure.in: Use AC_LANG_SOURCE.
23638 * configure: Regenerate.
23639
4248b1b1
RM
236402012-06-22 Roland McGrath <roland@hack.frob.com>
23641
23642 * configure.in (libc_cv_localstatedir): New substituted variable.
23643 * configure: Regenerated.
23644 * config.make.in (localstatedir): New variable, substituted from
23645 libc_cv_localstatedir.
23646 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
23647 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
23648 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
23649 * sysdeps/gnu/configure: Regenerated.
23650
006dd861
JL
236512012-06-21 Jeff Law <law@redhat.com>
23652
23653 [BZ #14277]
23654 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
23655 free. Simplify list management for _LIBC case.
23656
79662d42
JM
236572012-06-21 Joseph Myers <joseph@codesourcery.com>
23658
b7abb4bf
JM
23659 [BZ #14273]
23660 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
23661 Clear sign bit of 64-bit integer value before comparing against
23662 overflow value.
23663
79662d42
JM
23664 * sysdeps/mach/configure: Regenerated.
23665
1f150908
L
236662012-06-21 H.J. Lu <hongjiu.lu@intel.com>
23667
23668 [BZ #14278]
23669 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
23670
28363bbf
JL
236712012-06-21 Jeff Law <law@redhat.com>
23672
23673 [BZ #13882]
23674 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
23675 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 23676 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
23677 * elf/dl-open.c (dl_open_worker): Likewise.
23678
09615db4
CD
236792012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
23680
23681 * scripts/list-sources.sh: Scan PORTS for translations.
23682 * po/libc.pot: Regenerated.
23683
2174c6dd
AJ
236842012-06-21 Andreas Jaeger <aj@suse.de>
23685
23686 [BZ #12194]
23687 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
23688 warning.
23689 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
23690 * bits/byteswap-16.h (__bswap_16): Likewise.
23691 * bits/byteswap.h (__bswap_constant_16): Likewise.
23692
3ee947b1
L
236932012-06-18 H.J. Lu <hongjiu.lu@intel.com>
23694
23695 [BZ #14117]
a2f34833
L
23696 * sysdeps/i386/fpu_control.h: Removed.
23697 * sysdeps/x86_64/fpu_control.h: Moved to ...
23698 * sysdeps/x86/fpu_control.h: Here.
23699
3ee947b1
L
23700 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
23701 (_FPU_SETCW): Likewise.
23702
ed1825f8
L
237032012-06-15 H.J. Lu <hongjiu.lu@intel.com>
23704
25f1282a
L
23705 [BZ #14117]
23706 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
23707 * sysdeps/x86/fpu/bits/mathinline.h: This.
23708 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
23709
ed1825f8
L
23710 [BZ #14050]
23711 [BZ #14117]
23712 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
23713 functions if __x86_64__ is defined.
23714
36d54b74
CLT
237152012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
23716
23717 * string/endian.h: Add !__ASSEMBLER__ condition for including
23718 conversion interfaces.
23719
10285c21
JM
237202012-06-15 Joseph Myers <joseph@codesourcery.com>
23721
23722 [BZ #14241]
23723 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
23724 of ABS(x) in calculating zero to negative powers other than odd
23725 integers.
23726 * math/libm-test.inc (pow_test): Add more tests.
23727
06c5abbd
AJ
237282012-06-15 Andreas Jaeger <aj@suse.de>
23729
23730 * manual/contrib.texi (Contributors): Update entry of Liubov
23731 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
23732 Machado Filho.
23733
a3aeac40
CH
237342012-06-15 Cyril Hrubis <metan@ucw.cz>
23735
23736 * string/string.h: Add __wur to GNU version of strerror_r.
23737
49bdf4c1
L
237382012-06-14 H.J. Lu <hongjiu.lu@intel.com>
23739
23740 [BZ #14229]
23741 * string/Makefile (tests): Add tst-strtok_r.
23742 * string/tst-strtok_r.c: New file.
23743 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
23744 RAX_LP/RDX_LP on SAVE_PTR.
23745
834f9b8d
RM
237462012-06-14 Roland McGrath <roland@hack.frob.com>
23747
23748 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
23749
75fa1921
JM
237502012-06-14 Joseph Myers <joseph@codesourcery.com>
23751
23752 * libm_test.inc (csqrt_test): Allow more spurious underflow
23753 exceptions.
23754 (j0_test): Likewise.
23755 (j1_test): Likewise.
23756 (y0_test): Likewise.
23757 (y1_test): Likewise.
23758
771766df
CD
237592012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
23760
23761 * po/Makefile (libc.pot): Use UTF-8 charset.
23762
ceb9e56b
PP
237632012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
23764
23765 [BZ #14210]
23766 Suppress sign-conversion warning from FD_SET.
23767 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
23768 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
23769 not unsigned long int.
23770 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
23771
ddb28975
L
237722012-06-12 H.J. Lu <hongjiu.lu@intel.com>
23773
23774 [BZ #14050]
23775 [BZ #14117]
23776 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
23777 __extern_always_inline instead of __extern_inline.
23778 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
23779 (__signbit): Likewise.
23780 (__signbitl): Support C++ namespace.
23781 (lrintf): New inline function.
23782 (lrint): Likewise.
23783 (llrintf): Likewise.
23784 (llrint): Likewise.
23785 (fmaxf): Likewise.
23786 (fmax): Likewise.
23787 (fminf): Likewise.
23788 (fmin): Likewise.
23789 (rint): Likewise.
23790 (rintf): Likewise.
23791 (ceil): Likewise.
23792 (ceilf): Likewise.
23793 (floor): Likewise.
23794 (floorf): Likewise.
23795 (nearbyint): Likewise.
23796 (nearbyintf): Likewise.
23797
d7b4fb26
TS
237982012-06-12 Thomas Schwinge <thomas@codesourcery.com>
23799
23800 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
23801 non-default versions.
23802
eb55f5c2
RM
238032012-06-11 Roland McGrath <roland@hack.frob.com>
23804
23805 [BZ #14218]
23806 * manual/argp.texi (Argp): Reword argp_parse description slightly.
23807
366af02c
TS
238082012-06-09 Thomas Schwinge <thomas@codesourcery.com>
23809
99ff6e5c
TS
23810 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
23811 (FE_UPWARD, FE_DOWNWARD): Don't define.
23812 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
23813 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23814
366af02c
TS
23815 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
23816 reading it.
23817 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23818 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23819
793ea851
KK
238202012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23821
23822 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23823 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
23824 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
23825 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
23826
a728a38f
L
238272012-06-06 H.J. Lu <hongjiu.lu@intel.com>
23828
23829 [BZ #14117]
c08010c7
L
23830 * sysdeps/i386/fpu/bits/fenv.h: Removed.
23831 * sysdeps/i386/fpu/Implies: New file.
23832 * sysdeps/x86_64/fpu/Implies: Likewise.
23833 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
23834 * sysdeps/x86/fpu/bits/fenv.h: This.
23835
a728a38f
L
23836 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
23837 __SSE_MATH__.
23838
6e230d11
SP
238392012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23840
23841 [BZ #14134]
23842 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
23843 character 0xffff that matches the last element of the
23844 conversion table.
23845
1b671feb
AZ
238462012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23847
23848 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
23849 fmodl commit.
23850
6043738b
AZ
238512012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23852
23853 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
23854 values higher than 25.6283.
23855
34ae0b32
AZ
238562012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23857
23858 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
23859 subnormal exponent extraction and add some __builtin_expect.
23860 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
23861 Fix for subnormal mantissa calculation.
23862
1214ec8f
MF
238632012-06-04 Mike Frysinger <vapier@gentoo.org>
23864
23865 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
23866 cpu2 is -1 and errno is not ENOSYS.
23867
f3d1f93c
L
238682012-06-04 H.J. Lu <hongjiu.lu@intel.com>
23869
23870 [BZ #14117]
0e4a3cd7
L
23871 * sysdeps/i386/i486/bits/string.h: Renamed to ...
23872 * sysdeps/x86/bits/string.h: This.
23873 * sysdeps/x86_64/bits/string.h: Removed.
23874
6704c645
L
23875 * sysdeps/i386/i486/bits/string.h: Define inline functions only
23876 if not compiling for x86-64, but compiling for >= i486.
23877
48495318
L
23878 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
23879 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
23880
14adcbfc
L
23881 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
23882 New macro from Linux kernel 3.4.0.
23883 (FP_XSTATE_MAGIC2): Likewise.
23884 (FP_XSTATE_MAGIC2_SIZE): Likewise.
23885 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
23886 (struct _fpx_sw_bytes): New struct.
23887 (struct _xsave_hdr): Likewise.
23888 (struct _ymmh_state): Likewise.
23889 (struct _xstate): Likewise.
23890
68e408ab
L
23891 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
23892 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
23893 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
23894 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
23895 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
23896 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
23897
f3d1f93c
L
23898 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
23899 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
23900 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
23901 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
23902 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
23903 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
23904
d9dc34cd
TMQMF
239052012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23906
23907 [BZ #13743]
23908 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
23909 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
23910 (sysdep_headers): Include sys/platform/ppc.h.
23911 * sysdeps/powerpc/test-gettimebase.c: Test for
23912 __ppc_get_timebase() to catch future ISA opcode/insn changes.
23913 * manual/Makefile (appendices): Include platform.texi.
23914 * manual/contrib.texi (Contributors): Update @node pointers.
23915 * manual/maint.texi (Maintenance): Likewise.
23916 (Platform): New node.
23917 * manual/platform.texi: New file. Document the new features.
23918
4af3879c
SP
239192012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23920 Jakub Jelinek <jakub@redhat.com>
23921
23922 [BZ #14188]
23923 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
23924 where __builtin_expect is unavailable.
23925
2fd6ff13
DM
239262012-06-03 David S. Miller <davem@davemloft.net>
23927
23928 * stdlib/longlong.h: Updated from GCC.
23929
173f7220
AS
239302012-06-02 Andreas Schwab <schwab@linux-m68k.org>
23931
23932 [BZ #14042]
23933 * sysdeps/powerpc/powerpc32/mcount.c: New file.
23934 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
23935 __mcount_internal.
23936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23937 (GLIBC_2.16): Likewise.
23938
f34a1c6f
L
239392012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23940
23941 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
23942
88a4576f
JM
239432012-06-01 Joseph Myers <joseph@codesourcery.com>
23944
ea32bcdd
JM
23945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
23946 (default-abi): New variable.
23947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
23948 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
23949 variable.
23950 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
23951 Likewise.
23952 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
23953 Likewise.
23954 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
23955 Likewise.
23956
88a4576f
JM
23957 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
23958 definition. Document in comment.
23959
402fe938
DM
239602012-06-01 David S. Miller <davem@davemloft.net>
23961
23962 * stdlib/longlong.h: Updated from GCC.
23963
3553723f
L
239642012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23965
23966 [BZ #14117]
3bd872c4
L
23967 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
23968 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
23969 sys/debugreg.h sys/io.h here.
23970 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
23971 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
23972 sys/io.h.
23973 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
23974 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
23975 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
23976 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
23977 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
23978 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
23979
3553723f
L
23980 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
23981 Define only if __x86_64__ is defined.
23982
4842e4fe
JM
239832012-06-01 Joseph Myers <joseph@codesourcery.com>
23984
c5bfe3d5
JM
23985 [BZ #14048]
23986 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
23987 Use int64_t for variable i.
23988 * math/libm-test.inc (fmod_test): Add more tests.
23989
4842e4fe
JM
23990 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
23991 z computation is not scheduled after fetestexcept.
23992 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
23993 Use math_force_eval instead of asm to ensure calculation scheduled
23994 before exception test.
23995 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
23996 Ensure a1 + u.d computation is not scheduled after fetestexcept.
23997
efb73488
AJ
239982012-06-01 Aurelien Jarno <aurelien@aurel32.net>
23999
24000 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
24001 computation is not scheduled after fetestexcept.
24002
29bcce7c
L
240032012-06-01 H.J. Lu <hongjiu.lu@intel.com>
24004
24005 [BZ #14117]
24006 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
24007 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
24008
73a68f94
AZ
240092012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24010
24011 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
24012 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24013
67b6df78
L
240142012-05-31 H.J. Lu <hongjiu.lu@intel.com>
24015
edf2933a 24016 [BZ #14117]
ebc64a18
L
24017 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
24018 <bits/wordsize.h>.
24019 (__WCHAR_MIN): Support __WORDSIZE == 64.
24020 (__WCHAR_MAX): Likewise.
24021
edf2933a
L
24022 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
24023 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
24024
57c6cf40
L
24025 [BZ #14183]
24026 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
24027 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
24028
67b6df78 24029 [BZ #14117]
8eb6281e
L
24030 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
24031 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
24032
aac639f4
L
24033 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
24034 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
24035
67b6df78
L
24036 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
24037 Defined to 1 if __x86_64__ isn't defined.
24038 (_STAT_VER_LINUX_OLD): New.
24039 (st_atime): Remove duplicate.
24040 (st_mtime): Likewise.
24041 (st_ctime): Likewise.
24042
1c2cfe81
DM
240432012-05-31 David S. Miller <davem@davemloft.net>
24044
24045 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
24046 entries.
24047
5be8418c
AS
240482012-06-01 Andreas Schwab <schwab@linux-m68k.org>
24049
e7725326
AS
24050 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
24051 gen-libm-test.pl.
24052
5be8418c
AS
24053 [BZ #14132]
24054 * elf/dl-reloc.c: Include <_itoa.h>.
24055 (_dl_reloc_bad_type): Remove use of INTUSE.
24056 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
24057 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
24058 * stdio-common/psiginfo.c (psiginfo): Likewise.
24059 * stdio-common/psignal.c (psignal): Likewise.
24060 * string/strsignal.c (strsignal): Likewise.
24061 * include/signal.h (_sys_siglist): Declare hidden proto.
24062 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
24063 INTVARDEF with libc_hidden_data_def.
24064 * stdio-common/itoa-udigits.c: Likewise.
24065 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
24066 (_itoa_lower_digits_internal): Remove declaration.
24067 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
24068 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
24069 (_sys_sigabbrev_internal): Remove aliases.
24070 (_sys_siglist): Define hidden alias.
24071
507352f1
MT
240722012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
24073
24074 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24075 bits/sysctl.h.
24076
42bbb1c3
L
240772012-05-31 H.J. Lu <hongjiu.lu@intel.com>
24078
24079 [BZ #14117]
6bd784b6
L
24080 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
24081 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
24082
8bca20f0
L
24083 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
24084 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
24085 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
24086 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
24087 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
24088 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
24089
f9e890a9
L
24090 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
24091 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
24092 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
24093
471101a1
L
24094 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
24095 with __addr.
24096 (insw): Likewise.
24097 (insl): Likewise.
24098 (outsb): Likewise.
24099 (outsw): Likewise.
24100 (outsl): Likewise.
24101
6451c862
L
24102 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
24103 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
24104 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
24105
a254b8c9
L
24106 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
24107 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
24108 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
24109 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
24110 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
24111 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
24112
b8dfdd92
L
24113 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
24114 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
24115
578cd270
L
24116 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
24117 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
24118
de662f5f
L
24119 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
24120 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
24121 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
24122
25653439
L
24123 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
24124 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
24125 to ...
24126 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
24127
6bad24a0
L
24128 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
24129 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
24130 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
24131
42bbb1c3
L
24132 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
24133 for x86-64.
24134 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
24135
2d10d547
JM
241362012-05-31 Joseph Myers <joseph@codesourcery.com>
24137
24138 * math/math.h (M_El): Use two more decimal places.
24139 (M_LOG2El): Likewise.
24140 (M_LOG10El): Likewise.
24141 (M_LN2l): Likewise.
24142 (M_LN10l): Likewise.
24143 (M_PIl): Likewise.
24144 (M_PI_2l): Likewise.
24145 (M_PI_4l): Likewise.
24146 (M_1_PIl): Likewise.
24147 (M_2_PIl): Likewise.
24148 (M_2_SQRTPIl): Likewise.
24149 (M_SQRT2l): Likewise.
24150 (M_SQRT1_2l): Likewise.
24151
f230c29b
DM
241522012-05-31 David S. Miller <davem@davemloft.net>
24153
24154 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
24155 values between float registers.
24156 * sysdeps/sparc/sparc64/memset.S: Likewise.
24157 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24158
fed806c3
MF
241592012-05-31 Mike Frysinger <vapier@gentoo.org>
24160
24161 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
24162 -D_FORTIFY_SOURCE=1.
24163 (CPPFLAGS-tst-longjmp_chk.c): Define.
24164 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
24165 (CPPFLAGS-tst-longjmp_chk2.c): Define.
24166 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
24167 CFLAGS-tst-wchar-h.c.
24168
30917259
MP
241692012-05-31 Marek Polacek <polacek@redhat.com>
24170
24171 [BZ #14132]
24172 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
24173 __endmntent_internal): Remove declaration.
24174 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
24175 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
24176 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
24177
1c58d5dc
DM
241782012-05-30 David S. Miller <davem@davemloft.net>
24179
24180 * sysdeps/sparc/sparc32/soft-fp/q_util.c
24181 (___Q_simulate_exceptions): Use real FP ops rather than writing
24182 into the %fsr.
24183 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
24184 Likewise.
24185
7dc00e0d
L
241862012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24187
24188 [BZ #14117]
0bd53985
L
24189 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
24190 * sysdeps/x86/bits/xtitypes.h: This.
24191
3a257e66
L
24192 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
24193 * sysdeps/x86/bits/wordsize.h: This.
24194
62f62904
L
24195 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
24196 * sysdeps/x86/bits/huge_vall.h: This.
24197
404fe9d9
L
24198 * sysdeps/i386/bits/select.h: Removed.
24199 * sysdeps/x86_64/bits/select.h: Renamed to ...
24200 * sysdeps/x86/bits/select.h: This.
24201
d48d0446
L
24202 * sysdeps/i386/bits/setjmp.h: Removed.
24203 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
24204 * sysdeps/x86/bits/setjmp.h: This.
24205
7dc00e0d
L
24206 * sysdeps/i386/bits/mathdef.h: Removed.
24207 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
24208 * sysdeps/x86/bits/mathdef.h: This.
24209
03277f8f
AS
242102012-05-30 Andreas Schwab <schwab@linux-m68k.org>
24211
24212 [BZ #14132]
24213 * include/sys/socket.h (__connect_internal)
24214 (__libc_sa_len_internal): Remove declaration.
24215 (__connect, __libc_sa_len): Declare hidden_proto.
24216 (SA_LEN): Remove use of INTUSE.
24217 * socket/connect.c: Add libc_hidden_def.
24218 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
24219 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
24220 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
24221 alias.
24222 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
24223 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
24224 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
24225 of adding _internal alias.
24226
13764867
L
242272012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24228
24229 [BZ #14117]
6bd97696
L
24230 * sysdeps/i386/bits/link.h: Removed.
24231 * sysdeps/i386/bits/linkmap.h: Likewise.
24232 * sysdeps/x86_64/bits/link.h: Renamed to ...
24233 * sysdeps/x86/bits/link.h: This.
24234 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
24235 * sysdeps/x86/bits/linkmap.h: This.
24236
f726f0bb
L
24237 * sysdeps/i386/bits/endian.h: Removed.
24238 * sysdeps/x86_64/bits/endian.h: Renamed to ...
24239 * sysdeps/x86/bits/endian.h: This.
24240
13764867
L
24241 * sysdeps/i386/bits/byteswap.h: Removed.
24242 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24243 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
24244 * sysdeps/x86/bits/byteswap.h: This.
24245 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
24246 * sysdeps/x86/bits/byteswap-16.h: This.
24247 * sysdeps/i386/Implies: Add x86.
24248 * sysdeps/x86_64/Implies: Likewise.
24249
ae251b0b
DM
242502012-05-30 David S. Miller <davem@davemloft.net>
24251
24252 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
24253 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
24254 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24255 (FP_TRAPPING_EXCEPTIONS): Define.
24256 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24257 (FP_TRAPPING_EXCEPTIONS): Define.
24258 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
24259 subnormals only when inexact has been signalled or underflow
24260 exceptions are enabled.
24261 (_FP_PACK_CANONICAL): Likewise.
24262
d5c90867
L
242632012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24264
24265 [BZ #14183]
24266 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
24267 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
24268
63f1549e
RH
242692012-05-30 Richard Henderson <rth@twiddle.net>
24270
8d8f2279
RH
24271 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
24272 with #ifndef NOT_IN_libc.
24273
63f1549e
RH
24274 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
24275 marked to avoid plt entry.
24276
0ab0291b
L
242772012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24278
24279 [BZ #14112]
24280 * Makeconfig (default-abi): New macro.
24281 (abi-includes): Likewise.
24282 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
24283 $(abi-$(default-abi)-lib-soname) for soname if defined.
24284 ($(common-objpfx)gnu/lib-names.stmp): Generate from
24285 abi-variants.
24286 * Makefile (installed-stubs): Likewise.
24287 * include/stubs-biarch.h: Removed.
24288 * scripts/lib-names.awk: Only handle one library at a time.
24289 * scripts/soversions.awk: Remove WORDSIZE support.
24290 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
24291 entries.
24292 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
24293 Removed.
24294 (syscall-list-default-condition): Likewise.
24295 (syscall-list-default-condition): Likewise.
24296 (syscall-list-includes): Likewise.
24297 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
24298 syscall-list-* with abi-*. Handle undefined abi-variants.
24299 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
24300 * sysdeps/unix/sysv/linux/i386/Implies: New file.
24301 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
24302 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
24303 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
24304 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
24305 Removed.
24306 (syscall-list-32-options): Likewise.
24307 (syscall-list-32-condition): Likewise.
24308 (syscall-list-64-options): Likewise.
24309 (syscall-list-64-condition): Likewise.
24310 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
24311 macro.
24312 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
24313 Renamed to ...
24314 (abi-*): This.
24315 (abi-64-ld-soname): New macro.
24316 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
24317 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
24318 Renamed to ...
24319 (abi-*): This.
24320 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
24321 * sysdeps/x86_64/x32/shlib-versions: Likewise.
24322
4da0431d
JM
243232012-05-30 Joseph Myers <joseph@codesourcery.com>
24324
3a85279c
JM
24325 * sysdeps/unix/sysv/linux/kernel-features.h
24326 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
24327 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
24328 include <kernel-features.h>.
24329 [!__NR_ftruncate64]: Remove conditional code.
24330 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24331 [__NR_ftruncate64]: Make code unconditional.
24332 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24333 * sysdeps/unix/sysv/linux/truncate64.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/powerpc/powerpc32/ftruncate64.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/truncate64.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
4da0431d
JM
24352 * configure.in (libc_cv_fpie): Weaken to a compile test using
24353 LIBC_TRY_CC_OPTION.
24354 * configure: Regenerated.
24355
11ef492c
AK
243562012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24357
24358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
24359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
24360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
24361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24362 Refreshed.
24363 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
24364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
24365 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
24366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
24367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
24368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24369 Refreshed.
24370
d66ef399
DM
243712012-05-27 David S. Miller <davem@davemloft.net>
24372
24373 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
24374 (___Q_zero): New.
24375 (__Q_simulate_exceptions): Return void. Change to simulate
24376 exceptions by writing into the %fsr.
24377 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
24378 (__Qp_handle_exceptions): Likewise.
24379 (numbers): Delete.
24380 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
24381 __Qp_handle_exceptions.
24382 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
24383 __Qp_handle_exceptions.
24384 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24385 as unused and give dummy FP_RND_NEAREST initializer.
24386 (FP_INHIBIT_RESULTS): Define.
24387 (___Q_simulate_exceptions): Update declaration.
24388 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
24389 formatting.
24390 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24391 as unused and give dummy FP_RND_NEAREST initializer.
24392 (__Qp_handle_exceptions): Update declaration.
24393 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
24394 formatting.
24395
04fb54b5
TS
243962012-05-27 Thomas Schwinge <thomas@codesourcery.com>
24397
24398 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
24399 the temporary FPU control word.
24400 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
24401 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
24402 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
24403 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
24404 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24405 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
24406 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24407 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24408 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24409 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
24410 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24411
3f99608f
KK
244122012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24413
24414 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
24415 fields.
24416
65a4de4e
CLT
244172012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
24418
24419 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
24420 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
24421 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
24422 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
24423 Likewise.
24424 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
24425 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
24426 Likewise.
24427
15749d40
UD
244282012-05-27 Ulrich Drepper <drepper@gmail.com>
24429
24430 * po/h.po: Update from translation team.
24431
25dbcb27
AS
244322012-05-26 Andreas Schwab <schwab@linux-m68k.org>
24433
3d3f8e55
AS
24434 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
24435
25dbcb27
AS
24436 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
24437 handling of denormals.
24438 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24439 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24440 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24441 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24442 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24443 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
24444 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
24445 Likewise.
24446
7ad47a80 244472012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
24448
24449 [BZ #14152]
24450 * math/libm-test.inc (fma_test): Don't always expect underflow
24451 exception.
24452
9c6ea9fa
SP
244532012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24454
24455 [BZ #12416]
24456 * elf/tst-execstack.c: Include stackinfo.h.
24457 (do_test): Adjust test case to ensure that pthread_getattr_np
24458 behaviour remains the same after marking stack executable.
24459
a8239222
JM
244602012-05-25 Joseph Myers <joseph@codesourcery.com>
24461
24462 * sysdeps/unix/sysv/linux/kernel-features.h
24463 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
24464 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
24465 kernel-features.h.
24466 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24467 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24468 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
24469 kernel-features.h.
24470 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24471 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24472
918b5606
L
244732012-05-25 H.J. Lu <hongjiu.lu@intel.com>
24474
24475 * configure.in: Define the default includes to being none.
24476 * configure: Regenerated.
24477
3a097cc7
RM
244782012-05-25 Roland McGrath <roland@hack.frob.com>
24479
8422c9a5
RM
24480 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
24481 * sysdeps/x86_64/setjmp.S: Likewise.
24482 * sysdeps/i386/bsd-setjmp.S: Likewise.
24483 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24484 * sysdeps/i386/setjmp.S: Likewise.
24485 * sysdeps/i386/__longjmp.S: Likewise.
24486 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24487 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
24488
3a097cc7
RM
24489 * include/stap-probe.h: New file.
24490 * configure.in: Handle --enable-systemtap.
24491 * configure: Regenerated.
24492 * config.h.in (USE_STAP_PROBE): New #undef.
24493 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
24494 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
24495 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24496
21708942
JM
244972012-05-25 Joseph Myers <joseph@codesourcery.com>
24498
24499 [BZ #13717]
24500 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24501 to 2.4.0 where earlier.
24502 * sysdeps/unix/sysv/linux/configure: Regenerated.
24503 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24504 <kernel-features.h>.
24505 [__ASSUME_32BITUIDS]: Make code unconditional.
24506 [!__ASSUME_32BITUIDS]: Remove conditional code.
24507 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
24508 <kernel-features.h>.
24509 [__ASSUME_32BITUIDS]: Make code unconditional.
24510 [!__ASSUME_32BITUIDS]: Remove conditional code.
24511 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
24512 [__ASSUME_32BITUIDS]: Make code unconditional.
24513 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
24514 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
24515 <kernel-features.h>.
24516 [__ASSUME_32BITUIDS]: Make code unconditional.
24517 [!__ASSUME_32BITUIDS]: Remove conditional code.
24518 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
24519 <kernel-features.h>.
24520 [__ASSUME_32BITUIDS]: Make code unconditional.
24521 [!__ASSUME_32BITUIDS]: Remove conditional code.
24522 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
24523 <kernel-features.h>.
24524 [__ASSUME_32BITUIDS]: Make code unconditional.
24525 [!__ASSUME_32BITUIDS]: Remove conditional code.
24526 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
24527 <kernel-features.h>.
24528 [__ASSUME_32BITUIDS]: Make code unconditional.
24529 [!__ASSUME_32BITUIDS]: Remove conditional code.
24530 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24531 <kernel-features.h>.
24532 [__ASSUME_32BITUIDS]: Make code unconditional.
24533 [!__ASSUME_32BITUIDS]: Remove conditional code.
24534 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24535 <kernel-features.h>.
24536 [__ASSUME_32BITUIDS]: Make code unconditional.
24537 [!__ASSUME_32BITUIDS]: Remove conditional code.
24538 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
24539 <kernel-features.h>.
24540 [__ASSUME_32BITUIDS]: Make code unconditional.
24541 [!__ASSUME_32BITUIDS]: Remove conditional code.
24542 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24543 <kernel-features.h>.
24544 [__ASSUME_32BITUIDS]: Make code unconditional.
24545 [!__ASSUME_32BITUIDS]: Remove conditional code.
24546 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24547 <kernel-features.h>.
24548 [__ASSUME_32BITUIDS]: Make code unconditional.
24549 [!__ASSUME_32BITUIDS]: Remove conditional code.
24550 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
24551 <kernel-features.h>.
24552 [__ASSUME_32BITUIDS]: Make code unconditional.
24553 [!__ASSUME_32BITUIDS]: Remove conditional code.
24554 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
24555 <kernel-features.h>.
24556 [__NR_setresgid] (__setresgid): Do not declare.
24557 [__ASSUME_32BITUIDS]: Make code unconditional.
24558 [!__ASSUME_32BITUIDS]: Remove conditional code.
24559 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
24560 <kernel-features.h>.
24561 [__NR_setresuid] (__setresuid): Do not declare.
24562 [__ASSUME_32BITUIDS]: Make code unconditional.
24563 [!__ASSUME_32BITUIDS]: Remove conditional code.
24564 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
24565 <kernel-features.h>.
24566 [__ASSUME_32BITUIDS]: Make code unconditional.
24567 [!__ASSUME_32BITUIDS]: Remove conditional code.
24568 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
24569 <kernel-features.h>.
24570 [__ASSUME_32BITUIDS]: Make code unconditional.
24571 [!__ASSUME_32BITUIDS]: Remove conditional code.
24572 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
24573 <kernel-features.h>.
24574 [__ASSUME_32BITUIDS]: Make code unconditional.
24575 [!__ASSUME_32BITUIDS]: Remove conditional code.
24576 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
24577 <kernel-features.h>.
24578 [__ASSUME_32BITUIDS]: Make code unconditional.
24579 [!__ASSUME_32BITUIDS]: Remove conditional code.
24580 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
24581 <kernel-features.h>.
24582 [__ASSUME_32BITUIDS]: Make code unconditional.
24583 [!__ASSUME_32BITUIDS]: Remove conditional code.
24584 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
24585 <kernel-features.h>.
24586 [__ASSUME_32BITUIDS]: Make code unconditional.
24587 [!__ASSUME_32BITUIDS]: Remove conditional code.
24588 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
24589 <kernel-features.h>.
24590 [__ASSUME_32BITUIDS]: Make code unconditional.
24591 [!__ASSUME_32BITUIDS]: Remove conditional code.
24592 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
24593 <kernel-features.h>.
24594 [__ASSUME_32BITUIDS]: Make code unconditional.
24595 [!__ASSUME_32BITUIDS]: Remove conditional code.
24596 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
24597 <kernel-features.h>.
24598 [__ASSUME_32BITUIDS]: Make code unconditional.
24599 [!__ASSUME_32BITUIDS]: Remove conditional code.
24600 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24601 <kernel-features.h>.
24602 [__ASSUME_32BITUIDS]: Make code unconditional.
24603 [!__ASSUME_32BITUIDS]: Remove conditional code.
24604 * sysdeps/unix/sysv/linux/kernel-features.h
24605 (__ASSUME_SETRESUID_SYSCALL): Remove.
24606 (__ASSUME_SETRESGID_SYSCALL): Likewise.
24607 (__ASSUME_32BITUIDS): Likewise.
24608 (__ASSUME_LDT_WORKS): Likewise.
24609 (__ASSUME_O_DIRECTORY): Likewise.
24610 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
24611 architecture but not kernel version.
24612 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
24613 (__ASSUME_MMAP2_SYSCALL): Likewise.
24614 (__ASSUME_STAT64_SYSCALL): Likewise.
24615 (__ASSUME_IPC64): Likewise.
24616 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
24617 <kernel-features.h>.
24618 [__ASSUME_32BITUIDS]: Make code unconditional.
24619 [!__ASSUME_32BITUIDS]: Remove conditional code.
24620 * sysdeps/unix/sysv/linux/opendir.c: Do not include
24621 <kernel-features.h>.
24622 [__ASSUME_O_DIRECTORY]: Make code unconditional.
24623 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
24624 132096]: Remove conditional code.
24625 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
24626 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24627 <kernel-features.h>.
24628 [__ASSUME_32BITUIDS]: Make code unconditional.
24629 [!__ASSUME_32BITUIDS]: Remove conditional code.
24630 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24631 <kernel-features.h>.
24632 [__ASSUME_32BITUIDS]: Make code unconditional.
24633 [!__ASSUME_32BITUIDS]: Remove conditional code.
24634 * sysdeps/unix/sysv/linux/setegid.c: Do not include
24635 <kernel-features.h>.
24636 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
24637 unconditional.
24638 (__setresgid): Do not declare.
24639 [__ASSUME_32BITUIDS]: Make code unconditional.
24640 [!__ASSUME_32BITUIDS]: Remove conditional code.
24641 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
24642 <kernel-features.h>.
24643 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
24644 unconditional.
24645 (__setresuid): Do not declare.
24646 [__ASSUME_32BITUIDS]: Make code unconditional.
24647 [!__ASSUME_32BITUIDS]: Remove conditional code.
24648 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24649 <kernel-features.h>.
24650 [__ASSUME_32BITUIDS]: Make code unconditional.
24651 [!__ASSUME_32BITUIDS]: Remove conditional code.
24652 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
24653 <kernel-features.h>.
24654 [__ASSUME_32BITUIDS]: Make code unconditional.
24655 [!__ASSUME_32BITUIDS]: Remove conditional code.
24656
a386f1cc
RH
246572012-05-25 Richard Henderson <rth@twiddle.net>
24658
24659 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
24660 dl_hwcap to ifunc resolver.
24661 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
24662 elf_ifunc_invoke.
24663 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
24664 dl_hwcap to ifunc resolver.
24665 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
24666
b6550497
JM
246672012-05-24 Joseph Myers <joseph@codesourcery.com>
24668
24669 [BZ #14153]
24670 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
24671 for |x| <= 2**-26, not 2**-57.
24672 * math/libm-test.inc (acos_test): Do not allow spurious underflow
24673 exception.
24674
b0bc23a1
JL
246752012-05-24 Jeff Law <law@redhat.com>
24676
24677 * stdio-common/Makefile (tests): Add bug25.
24678 * stdio-common/bug25.c: New test.
24679
347c92e9
L
246802012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24681
24682 [BZ #13576]
24683 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
24684 multiple of MALLOC_ALIGNMENT in size.
24685 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
24686
6bcc8b3f
JM
246872012-05-24 Joseph Myers <joseph@codesourcery.com>
24688
24689 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
24690 Require >= 256.
24691 (FILENAME_MAX): Use macro-int-constant.
24692 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
24693 (_IOFBF): Use macro-int-constant.
24694 (_IOLBF): Likewise.
24695 (_IONBF): Likewise.
24696 (SEEK_CUR): Likewise.
24697 (SEEK_END): Likewise.
24698 (SEEK_SET): Likewise.
24699 (TMP_MAX): Likewise.
24700 (EOF): Use macro-int-constant. Require < 0.
24701 (NULL): Use macro-constant. Require == 0.
24702 (stdin): Require type to be FILE *.
24703 (stdout): Likewise.
24704 (stderr): Likewise.
24705 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
24706 macro-int-constant.
24707 (EXIT_SUCCESS): Likewise.
24708 (NULL): Use macro-constant. Require == 0.
24709 (RAND_MAX): Use macro-int-constant.
24710 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
24711 [C99-based standards] (strtof): Require function.
24712 [C99-based standards] (strtold): Likewise.
24713 [C99-based standards] (strtoll): Likewise.
24714 [C99-based standards] (strtoull): Likewise.
24715 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
24716 [ISO || ISO99 || ISO11] (limits.h): Likewise.
24717 [ISO || ISO99 || ISO11] (math.h): Likewise.
24718 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
24719 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
24720 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24721
d18ea0c5
AS
247222012-05-24 Andreas Schwab <schwab@linux-m68k.org>
24723
24724 [BZ #14132]
56d25bb8
AS
24725 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
24726 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
24727 * intl/dgettext.c (DCGETTEXT): Likewise.
24728 * intl/gettext.c (DCGETTEXT): Likewise.
24729 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
24730 * posix/regex_internal.h (gettext): Likewise.
24731 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
24732 Remove declaration.
24733 * include/argz.h (__argz_count_internal)
24734 (__argz_stringify_internal): Remove declaration.
24735 (__argz_count, __argz_stringify): Declare hidden proto.
24736 * intl/dcgettext.c: Remove use of INTDEF.
24737 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
24738 * string/argz-stringify.c: Likewise.
24739 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24740 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24741 Declare hidden proto.
d18ea0c5
AS
24742 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24743 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24744 Declare hidden proto.
24745 * include/stdio.h (__asprintf_internal): Don't declare.
24746 (__asprintf): Don't define as macro. Declare hidden proto.
24747 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
24748 (__fsetlocking): Declare hidden proto.
24749 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
24750 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
24751 hidden proto.
24752 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
24753 (_IO_setlinebuf): Remove use of INTUSE.
24754 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
24755 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
24756 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
24757 Remove declaration.
24758 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
24759 (_IO_do_flush): Remove use of INTUSE.
24760 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
24761 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
24762 (_IO_adjust_column, _IO_least_wmarker)
24763 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
24764 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
24765 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
24766 (_IO_default_doallocate, _IO_wdefault_doallocate)
24767 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
24768 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
24769 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
24770 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
24771 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
24772 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
24773 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
24774 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
24775 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
24776 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
24777 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
24778 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
24779 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
24780 proto.
24781 (_IO_flush_all_internal, _IO_adjust_column_internal)
24782 (_IO_default_uflow_internal, _IO_default_finish_internal)
24783 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
24784 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
24785 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
24786 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
24787 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
24788 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
24789 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
24790 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
24791 (_IO_file_close_internal, _IO_file_close_it_internal)
24792 (_IO_file_underflow_internal, _IO_file_overflow_internal)
24793 (_IO_file_init_internal, _IO_file_attach_internal)
24794 (_IO_file_fopen_internal, _IO_file_read_internal)
24795 (_IO_file_sync_internal, _IO_file_seek_internal)
24796 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
24797 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
24798 (_IO_str_underflow_internal, _IO_str_overflow_internal)
24799 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
24800 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
24801 (_IO_list_all_internal, _IO_link_in_internal)
24802 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
24803 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
24804 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
24805 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
24806 (_IO_do_write_internal, _IO_padn_internal)
24807 (_IO_getline_info_internal, _IO_getline_internal)
24808 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
24809 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
24810 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
24811 (_IO_vfscanf_internal, _IO_vfprintf_internal)
24812 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
24813 (_IO_init_internal, _IO_un_link_internal): Don't declare.
24814 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
24815 with libc_hidden_ver, remove use of INTUSE.
24816 * libio/genops.c: Likewise.
24817 * libio/freopen.c: Likewise.
24818 * libio/freopen64.c: Likewise.
24819 * libio/iofclose.c: Likewise.
24820 * libio/iofdopen.c: Likewise.
24821 * libio/iofflush.c: Likewise.
24822 * libio/iofflush_u.c: Likewise.
24823 * libio/iofgets.c: Likewise.
24824 * libio/iofgets_u.c: Likewise.
24825 * libio/iofopen.c: Likewise.
24826 * libio/iofopncook.c: Likewise.
24827 * libio/iofread.c: Likewise.
24828 * libio/iofread_u.c: Likewise.
24829 * libio/ioftell.c: Likewise.
24830 * libio/iofwrite.c: Likewise.
24831 * libio/iogetline.c: Likewise.
24832 * libio/iogets.c: Likewise.
24833 * libio/iogetwline.c: Likewise.
24834 * libio/iopadn.c: Likewise.
24835 * libio/iopopen.c: Likewise.
24836 * libio/ioseekoff.c: Likewise.
24837 * libio/ioseekpos.c: Likewise.
24838 * libio/iosetbuffer.c: Likewise.
24839 * libio/iosetvbuf.c: Likewise.
24840 * libio/ioungetc.c: Likewise.
24841 * libio/ioungetwc.c: Likewise.
24842 * libio/iovdprintf.c: Likewise.
24843 * libio/iovsprintf.c: Likewise.
24844 * libio/iovsscanf.c: Likewise.
24845 * libio/memstream.c: Likewise.
24846 * libio/obprintf.c: Likewise.
24847 * libio/oldfileops.c: Likewise.
24848 * libio/oldiofclose.c: Likewise.
24849 * libio/oldiofdopen.c: Likewise.
24850 * libio/oldiofopen.c: Likewise.
24851 * libio/oldiopopen.c: Likewise.
24852 * libio/oldstdfiles.c: Likewise.
24853 * libio/putc.c: Likewise.
24854 * libio/setbuf.c: Likewise.
24855 * libio/setlinebuf.c: Likewise.
24856 * libio/stdfiles.c: Likewise.
24857 * libio/strops.c: Likewise.
24858 * libio/vasprintf.c: Likewise.
24859 * libio/vscanf.c: Likewise.
24860 * libio/vsnprintf.c: Likewise.
24861 * libio/vswprintf.c: Likewise.
24862 * libio/wfiledoalloc.c: Likewise.
24863 * libio/wfileops.c: Likewise.
24864 * libio/wgenops.c: Likewise.
24865 * libio/wmemstream.c: Likewise.
24866 * libio/wstrops.c: Likewise.
24867 * libio/__fpurge.c: Likewise.
24868 * libio/__fsetlocking.c: Likewise.
24869 * assert/assert.c: Likewise.
24870 * debug/fgets_chk.c: Likewise.
24871 * debug/fgets_u_chk.c: Likewise.
24872 * debug/fread_chk.c: Likewise.
24873 * debug/fread_u_chk.c: Likewise.
24874 * debug/gets_chk.c: Likewise.
24875 * debug/obprintf_chk.c: Likewise.
24876 * debug/vasprintf_chk.c: Likewise.
24877 * debug/vdprintf_chk.c: Likewise.
24878 * debug/vsnprintf_chk.c: Likewise.
24879 * debug/vsprintf_chk.c: Likewise.
24880 * malloc/mtrace.c: Likewise.
24881 * misc/error.c: Likewise.
24882 * misc/syslog.c: Likewise.
24883 * stdio-common/asprintf.c: Likewise.
24884 * stdio-common/fxprintf.c: Likewise.
24885 * stdio-common/getw.c: Likewise.
24886 * stdio-common/isoc99_fscanf.c: Likewise.
24887 * stdio-common/isoc99_scanf.c: Likewise.
24888 * stdio-common/isoc99_vfscanf.c: Likewise.
24889 * stdio-common/isoc99_vscanf.c: Likewise.
24890 * stdio-common/isoc99_vsscanf.c: Likewise.
24891 * stdio-common/printf-prs.c: Likewise.
24892 * stdio-common/printf_fp.c: Likewise.
24893 * stdio-common/printf_fphex.c: Likewise.
24894 * stdio-common/printf_size.c: Likewise.
24895 * stdio-common/putw.c: Likewise.
24896 * stdio-common/scanf.c: Likewise.
24897 * stdio-common/sprintf.c: Likewise.
24898 * stdio-common/tmpfile.c: Likewise.
24899 * stdio-common/vfprintf.c: Likewise.
24900 * stdio-common/vfscanf.c: Likewise.
24901 * stdlib/strfmon_l.c: Likewise.
24902 * sunrpc/openchild.c: Likewise.
24903 * sunrpc/xdr_stdio.c: Likewise.
24904 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
24905 * sysdeps/mach/hurd/tmpfile.c: Likewise.
24906
d6c33fda
RM
249072012-05-24 Roland McGrath <roland@hack.frob.com>
24908
c1487492
RM
24909 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24910
24911 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
24912 in the third column, to generate for the shared library an IFUNC
24913 that uses _dl_vdso_vsym.
24914 * Makerules (COMPILE.c, compile-stdin.c): New variables.
24915 * Makeconfig (object-suffixes-noshared): New variable.
24916
24917 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
24918 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
24919 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
24920 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
24921
d6c33fda
RM
24922 [BZ #14132]
24923 * include/sys/time.h (__gettimeofday): Remove macro.
24924 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
24925 * time/gettimeofday.c (__gettimeofday): Remove #undef.
24926 Remove INTDEF.
24927 (__gettimeofday): Add libc_hidden_def.
24928 (gettimeofday): Add libc_hidden_weak.
24929 * sysdeps/mach/gettimeofday.c: Likewise.
24930 * sysdeps/posix/gettimeofday.c: Likewise.
24931 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
24932 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
24933 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
24934 (__gettimeofday_internal): Remove strong_alias.
24935 (__gettimeofday): Add libc_hidden_def.
24936 (gettimeofday): Add libc_hidden_weak.
24937 * sysdeps/unix/syscalls.list (gettimeofday):
24938 Remove __gettimeofday_internal alias.
24939
b5a2bbe6
L
249402012-05-24 Daniel Jacobowitz <drow@false.org>
24941 H.J. Lu <hongjiu.lu@intel.com>
24942
24943 [BZ #12495]
24944 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
24945 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
24946 (largebin_index_32_big): New.
24947 (largebin_index): Use it for 16-byte alignment.
24948 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
24949 correction with front_misalign.
24950
cfba4fda
L
249512012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24952
7f907421
L
24953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
24954 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
24955 Likewise.
24956 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
24957 Likewise.
24958 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24959 Likewise.
24960 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
24961 Likewise.
24962 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
24963 Likewise.
24964 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
24965 Likewise.
24966 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
24967 Likewise.
24968 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24969 Likewise.
24970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
24971 Likewise.
24972 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
24973 Likewise.
24974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
24975 Likewise.
24976 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
24977 Likewise.
24978
cfba4fda
L
24979 * scripts/data/c++-types-x32-linux-gnu.data: New file.
24980 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
24981
80bad0cc
JM
249822012-05-24 Joseph Myers <joseph@codesourcery.com>
24983
7a25eb06
JM
24984 [BZ #10846]
24985 [BZ #14036]
24986 * math/libm-test.inc (exp_test): Add test from bug 14036.
24987 (pow_test): Add test from bug 10846.
24988
795405f9
JM
24989 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
24990 and other flags.
24991 (special_function): Do not include flags in test name.
24992 (parse_args): Likewise.
24993 * sysdeps/i386/fpu/libm-test-ulps: Update.
24994 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24995 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24996 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24998
80bad0cc
JM
24999 * math/gen-libm-test.pl (%beautify): Add entries for underflow
25000 exceptions.
25001 * math/libm-test.inc ("Philosophy"): Update comment about
25002 exception testing.
25003 (UNDERFLOW_EXCEPTION): New macro.
25004 (UNDERFLOW_EXCEPTION_OK): Likewise.
25005 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
25006 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
25007 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
25008 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
25009 (INVALID_EXCEPTION_OK): Update value.
25010 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25011 (OVERFLOW_EXCEPTION_OK): Likewise.
25012 (IGNORE_ZERO_INF_SIGN): Likewise.
25013 (test_exceptions): Handle underflow exceptions.
25014 (acos_test): Update for underflow exception expectations.
25015 (cexp_test): Likewise.
25016 (clog_test): Likewise.
25017 (clog10_test): Likewise.
25018 (csqrt_test): Likewise.
25019 (ctan_test): Likewise.
25020 (ctanh_test): Likewise.
25021 (exp_test): Likewise.
25022 (exp10_test): Likewise.
25023 (exp2_test): Likewise.
25024 (expm1_test): Likewise.
25025 (fma_test): Likewise.
25026 (j0_test): Likewise.
25027 (jn_test): Likewise.
25028 (nexttoward_test): Likewise.
25029 (pow_test): Likewise.
25030 (scalbn_test): Likewise.
25031 (scalbln_test): Likewise.
25032 (tan_test): Likewise.
25033 (y1_test): Likewise.
25034 * sysdeps/i386/fpu/libm-test-ulps: Update.
25035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25036
9e0e3d0b
DM
250372012-05-23 David S. Miller <davem@davemloft.net>
25038
25039 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
25040 (__libc_sigaction): Remove unused local variables.
25041
ccd0a08f
L
250422012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25043
25044 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
25045
62bdf9a6
PE
250462012-05-23 Paul Eggert <eggert@cs.ucla.edu>
25047
f8591f80
PE
25048 mktime: avoid signed integer overflow
25049 * time/mktime.c (__mktime_internal): Do not mishandle the case
25050 where diff == INT_MIN.
25051
94c7d826
PE
25052 mktime: simplify computation of average
25053 * time/mktime.c (ranged_convert): Use new time_t_avg function
25054 instead of rolling our own (probably-slower) code.
25055
ce73d683
PE
25056 mktime: do not assume signed right shift propagates sign bit
25057 * time/mktime.c (isdst_differ): New static function.
25058 (__mktime_internal): No need to normalize tm_isdst now.
25059 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
25060 tm_isdst values.
25061
72a22e59
PE
25062 mktime: merge another wrapv change from gnulib
25063 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
25064 from some compilers.
25065
68605433
PE
25066 mktime: remove incorrect attempt at unusual arithmetics
25067 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
25068 The code didn't really work on such machines anyway.
25069 (TYPE_MINIMUM): Assume two's complement.
25070 (twos_complement_arithmetic): Verify that long_int and time_t
25071 are two's complement (or unsigned, in the latter case).
25072
03cf7fe3
PE
25073 mktime: check signed shifts on long_int and time_t, too
25074 * time/mktime.c (SHR): Check that shifts work as desired
25075 on the types long_int and time_t too, as SHR is used on
25076 such types.
25077
f04dfbc2
PE
25078 mktime: do not assume 'long' is wide enough
25079 * time/mktime.c (verify): Move decl up.
25080 (long_int): New type.
25081 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
25082 to remove assumption in the code that 'long' is wide enough to
25083 store year values. This assumption is not true on x32 and on
25084 some non-glibc platforms.
25085
62bdf9a6
PE
25086 mktime: merge wrapv change from gnulib
25087 * time/mktime.c (WRAPV): New macro.
25088 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
25089 (guess_time_tm, __mktime_internal): Do not assume that signed
25090 integer overflow wraps around; modern compilers generate code
25091 where this assumption is no longer valid.
25092
5e292e4f
L
250932012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25094
25095 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
25096 Replace "jmp L(pseudo_end)" with "ret".
25097 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
25098 Likewise.
25099
8caf8c87
AJ
251002012-05-23 Andreas Jaeger <aj@suse.de>
25101
25102 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
25103 * sysdeps/unix/sysv/linux/poll.c: Remove file.
25104
1a09dc56
AJ
251052012-05-23 Andreas Jaeger <aj@suse.de>
25106 Maximilian Attems <max@stro.at>
25107
25108 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
25109 New macros.
25110
1c87aba0
L
251112012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25112
25113 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
25114 code so that pseudo_end is just ret and the stack pointer is
25115 correct also for static library in error case.
25116
40e45bd5
JM
251172012-05-23 Joseph Myers <joseph@codesourcery.com>
25118
c2670533
JM
25119 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
25120 move to syscalls.list.
25121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
25122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25125
40e45bd5
JM
25126 * manual/install.texi (Running make install): Do not mention Linux
25127 kernel version for which pt_chown is not needed.
25128 (Linux): Do not mention problems with nscd with 2.0 kernels.
25129 * INSTALL: Regenerated.
25130
be08eda5
AJ
251312012-05-23 Andreas Jaeger <aj@suse.de>
25132
25133 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
25134 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
25135 macro.
25136 * sysdeps/unix/sysv/linux/s390/bits/mman.h
25137 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25138 * sysdeps/unix/sysv/linux/sh/bits/mman.h
25139 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25140 * sysdeps/unix/sysv/linux/i386/bits/mman.h
25141 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25142 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
25143 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25144 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
25145 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25146 * sysdeps/unix/sysv/linux/bits/in.h
25147 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
25148
a6a056bb
RM
251492012-05-22 Roland McGrath <roland@hack.frob.com>
25150
25151 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
25152 (PREPARE_VERSION): Just use assert instead, it will be elided
25153 under [NDEBUG] anyway.
25154
c9009328
L
251552012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25156
25157 * sysdeps/unix/sysv/linux/Makefile: Include
25158 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 25159 (sysdep_routines): Remove sysctl.
c9009328
L
25160 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
25161 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
25162 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
25163 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
25164 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
25165
73338355
AJ
251662012-05-22 Andreas Jaeger <aj@suse.de>
25167
25168 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
25169 that pseudo_end is just ret and the stack pointer is correct also
25170 for static library in error case.
25171
d44638b0
PP
251722012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
25173
25174 [BZ #14122]
25175 * nss/nsswitch.c (defconfig_entries): New variable.
25176 (__nss_database_lookup): Don't leak defconfig entries.
25177 (nss_parse_service_list): Don't leak on error paths.
25178 (free_database_entries): New function.
25179 (free_defconfig): New function.
25180 (free_mem): Move common code to free_database_entries.
25181
31a39bd8
L
251822012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25183
da0331a8
L
25184 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
25185 Add arch_prctl.
25186 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
25187
31a39bd8
L
25188 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25189 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
25190 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
25191 New macro.
25192 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
25193 (INTERNAL_SYSCALL_TYPES): Likewise.
25194 (LOAD_ARGS_TYPES_[1-6]): Likewise.
25195 (LOAD_REGS_TYPES_[1-6]): Likewise.
25196 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
25197 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
25198
45470df3
AZ
251992012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25200
25201 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
25202 copysignl for GLIBC_2_0.
25203 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
25204 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
25205 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
25206 logbl for GLIBC_2_0.
25207 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
25208 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
25209
98a61bcb
L
252102012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25211
a4f6e481
L
25212 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
25213 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25214
f63d5db6
L
25215 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
25216 Use "neg %eax".
25217
98a61bcb
L
25218 * time/mktime.c: Update copyright years.
25219
95770f14
PE
252202012-05-22 Paul Eggert <eggert@cs.ucla.edu>
25221
6226efbd
PE
25222 mktime: merge comment-quoting-style change from gnulib
25223 * time/mktime.c: Quote 'like this' in comments.
25224 The GNU coding standards suggest that we no longer quote `like this',
25225 as "`" and "'" are typically rendered asymmetrically nowadays.
25226 The typical gnulib style is to quote 'like this' when quoting
25227 code, and "like this" when quoting English.
25228
b99e4f78
PE
25229 * time/mktime.c (compile-command): Add "-I.".
25230
643e01e6
PE
25231 mktime: merge mktime-internal.h change from gnulib
25232 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
25233
2554247d
PE
25234 mktime: merge time_r change from gnulib
25235 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
25236
826dd0ab
PE
25237 mktime: merge DEBUG change from gnulib
25238 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
25239 case system <time.h> has a #define.
25240
bd83aabe
PE
25241 mktime: merge <sys/types.h> change from gnulib
25242 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
25243 since <time.t> is now guaranteed to define time_t.
25244
95770f14
PE
25245 mktime: merge HAVE_CONFIG_H change from gnulib
25246 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
25247
5e1a27a9
L
252482012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25249
0e44a77e
L
25250 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25251 Use "neg %eax".
25252
5e1a27a9
L
25253 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
25254 __rlim_t cast.
25255 (struct rusage): Use anonymous union to pad each field to
25256 __syscall_slong_t.
25257
46259bec
DM
252582012-05-21 David S. Miller <davem@davemloft.net>
25259
25260 * Makefules (o-iterator): Remove .s cases.
25261 (compile-command.s): Delete.
25262 (COMPILE.s): Delete.
25263 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
25264
59f0c22e
JM
252652012-05-21 Joseph Myers <joseph@codesourcery.com>
25266
25267 * configure.in (libc_cv_predef_stack_protector): Only consider
25268 "foobar" and "__stack_chk_fail" lines in libc_undefs.
25269 * configure: Regenerated.
25270
20c07380
L
252712012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25272
bbb3154b
L
25273 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25274 New macro. Use R*LP on int and pointer.
25275 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
25276 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
25277 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
25278 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
25279
20c07380
L
25280 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
25281 [__WORDSIZE_TIME64_COMPAT32] instead of
25282 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
25283 (struct utmp): Likewise.
25284 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
25285 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
25286 Renamed to ...
25287 (__WORDSIZE_TIME64_COMPAT32): This.
25288 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
25289 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
25290 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
25291 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
25292 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
25293 (__WORDSIZE_TIME64_COMPAT32): New macro.
25294
d8d1017e
AJ
252952012-05-21 Andreas Jaeger <aj@suse.de>
25296
25297 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
25298 only if [SHARED]. Add prototype for __wcschr_ia32.
25299
6c7fb145
RM
253002012-05-21 Roland McGrath <roland@hack.frob.com>
25301
25302 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
25303 of %rbp unmolested in the jmp_buf while mangling the low bits.
25304 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
25305 unmolested high bits of %rbp while demangling the low bits.
25306 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
25307
66274218
AJ
253082012-05-21 Andreas Jaeger <aj@suse.de>
25309
07c58f8f
AJ
25310 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
25311 * sunrpc/svc_simple.c: Use it for registerrpc.
25312 * sunrpc/xcrypt.c: Use it for passwd2des.
25313
66274218
AJ
25314 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
25315
61f65140
L
253162012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25317
25318 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
25319 Don't define if [__SYSCALL_WORDSIZE != 32].
25320 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
25321 New macro.
25322
5fefb436
AJ
253232012-05-21 Bruno Haible <bruno@clisp.org>
25324 Andreas Jaeger <aj@suse.de>
25325
25326 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
25327 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
25328 inptr and inend for must_buffer_ch.
25329 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
25330 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
25331 * stdio-common/Makefile (tests): Remove bug15.
25332 (bug15-ENV): Remove macro.
25333 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
25334 anymore.
25335
d8e272ab
AJ
253362012-05-19 Andreas Jaeger <aj@suse.de>
25337 Roland McGrath <roland@hack.frob.com>
25338
25339 * manual/contrib.texi: Completely rewritten. It contains now an
25340 alphabetical list of contributors and their contributions.
25341
4a56a162
RH
253422012-05-21 Richard Henderson <rth@twiddle.net>
25343
25344 * misc/getauxval.c (__getauxval): Use unsigned long int.
25345 * misc/sys/auxv.h: Include <sys/cdefs.h>.
25346 (getauxval): Use unsigned long int.
25347
d024d23c
L
253482012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25349
25350 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
25351
cbc00a03
RM
253522012-05-21 Roland McGrath <roland@hack.frob.com>
25353
25354 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
25355 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
25356 __alignof__ (long double).
25357
478143fa
AZ
253582012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25359
25360 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25361
c7683a6d
RH
253622012-05-20 Richard Henderson <rth@twiddle.net>
25363
25364 * misc/getauxval.c: New file.
25365 * misc/sys/auxv.h: New file.
25366 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
25367 (routines): Add getauxval.
25368 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
25369 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
25370 * elf/dl-sysdep.c (_dl_auxv): Remove.
25371 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
25372 * elf/dl-support.c (_dl_auxv): New variable.
25373 (_dl_aux_init): Initialize it.
25374 * manual/startup.texi (Auxiliary Vector): New node.
25375 * sysdeps/generic/bits/hwcap.h: New file.
25376 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
25377 * sysdeps/powerpc/sysdep.h: ... here. Include it.
25378 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
25379 * sysdeps/sparc/sysdep.h: ... here. Include it.
25380 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
25381 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
25382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25383 Update.
c7683a6d
RH
25384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
25385 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
25386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
25387 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
25388 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25389 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25390 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
25391 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
25392
a6f1845d
AZ
253932012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25394
25395 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25396
cbcbe830
DM
253972012-05-19 David S. Miller <davem@davemloft.net>
25398
25399 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25400
e0b16cc2
JM
254012012-05-19 Joseph Myers <joseph@codesourcery.com>
25402
25403 [BZ #14123]
25404 * math/s_ccosh.c: Include <float.h>
25405 (__ccosh): Avoid internal overflow calculating sinh and cosh
25406 values before multiplying by sin and cos values.
25407 * math/s_ccoshf.c: Likewise.
25408 * math/s_ccoshl.c: Likewise.
25409 * math/s_csin.c: Likewise.
25410 * math/s_csinf.c: Likewise.
25411 * math/s_csinl.c: Likewise.
25412 * math/s_csinh.c: Likewise.
25413 * math/s_csinhf.c: Likewise.
25414 * math/s_csinhl.c: Likewise.
25415 * math/libm-test.inc (ccos_test): Add more tests.
25416 (ccosh_test): Likewise.
25417 (csin_test): Likewise.
25418 (csinh_test): Likewise.
25419 * sysdeps/i386/fpu/libm-test-ulps: Update.
25420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25421
6ad13e08
L
254222012-05-19 H.J. Lu <hongjiu.lu@intel.com>
25423
f66f0ce8
L
25424 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
25425 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
25426
6ad13e08
L
25427 * sysdeps/x86_64/x32/_itoa.h: Add comment.
25428
b1d072a7
JM
254292012-05-19 Joseph Myers <joseph@codesourcery.com>
25430
25431 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
25432 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
25433 * sysdeps/powerpc/soft-fp/Versions: Likewise.
25434 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
25435 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
25436 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
25437 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
25438 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
25439 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
25440 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
25441 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
25442 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
25443 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
25444 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
25445 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
25446 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
25447 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
25448 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
25449 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
25450 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
25451 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
25452 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
25453 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
25454 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
25455 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
25456 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
25457 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
25458 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
25459 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
25460 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
25461 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
25462
9eae47cb
AJ
254632012-05-18 Andreas Jaeger <aj@suse.de>
25464
25465 * csu/.gitignore: Delete.
25466
bb07f69f
L
254672012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25468
25469 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
25470 (timex): Use __syscall_slong_t.
25471
e6bdb741
AJ
254722012-05-18 Andreas Jaeger <aj@suse.de>
25473 Carlos O'Donell <carlos_odonell@mentor.com>
25474
25475 * manual/install.texi (Configuring and compiling): Update
25476 description about files modified in the source directory.
d6c33fda 25477 * INSTALL: Regenerated.
e6bdb741 25478
1b74487e
L
254792012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25480
25481 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
25482 value. Use "or" to set return value to -1.
25483 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
25484 negate return value.
25485
a88b64b9
TMQMF
254862012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25487
25488 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
25489 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
25490 failure if the compiler has Graphite support disabled.
25491 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
25492 Likewise.
25493 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
25494 CFLAGS-memmove.c): Likewise.
25495 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
25496 Likewise.
25497
3707636e
L
254982012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25499
610b8622
L
25500 * sysdeps/x86_64/x32/_itoa.h: New file.
25501
7cd195df
L
25502 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
25503 getdents system call only if kernel and user dirents have the
25504 same d_ino and d_off.
25505
94b07d20
L
25506 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25507 LLONG_MAX != LONG_MAX.
25508 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25509 (_fitoa_word): Likewise.
25510
18298070
L
25511 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
25512 years.
25513 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
25514 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
25515 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
25516
553c7ea4
L
25517 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
25518 include <bits/wordsize.h>. Check __x86_64__ instead of
25519 __WORDSIZE.
25520 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
25521 if __x86_64__ is defined. Use anonymous union on fpstate.
25522
3707636e
L
25523 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
25524 anonymous union.
25525
b53ef01a
AS
255262012-05-18 Andreas Schwab <schwab@linux-m68k.org>
25527
37fb1dc0
AS
25528 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
25529 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
25530 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
25531 Refer to _rtld_local_ro instead of _rtld_global_ro.
25532 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
25533 Likewise.
25534 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
25535 Likewise.
25536 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
25537 Likewise.
25538 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
25539 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
25540 of _rtld_global, and rtld_progname instead of _dl_argv[0].
25541
b53ef01a
AS
25542 * sysdeps/powerpc/powerpc32/dl-machine.c
25543 (__elf_machine_runtime_setup) [PROF]: Don't reference
25544 _dl_prof_resolve.
25545
7a185db2
AJ
255462012-05-18 Andreas Jaeger <aj@suse.de>
25547
25548 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
25549 function only available for GCCs before 3.4 since GCC 3.4
25550 introduced a builtin.
25551 (lrint): Likewise.
25552 (llrintf): Likewise.
25553 (llrint): Likewise.
25554 (fmaxf): Likewise.
25555 (fmax): Likewise.
25556 (fminf): Likewise.
25557 (fmin): Likewise.
25558 (rint): Likewise.
25559 (rintf): Likewise.
25560 (nearbyint): Likewise.
25561 (nearbyintf): Likewise.
25562 (ceil): Likewise.
25563 (ceilf): Likewise.
25564 (floor): Likewise.
25565 (floorf): Likewise.
25566
3e5aef87
L
255672012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25568
428bd707
L
25569 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
25570 on both fields and cast pointer to __syscall_ulong_t.
25571
3e5aef87
L
25572 * bits/types.h (__fsword_t): New type.
25573 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
25574 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
25575 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25576 (__FSWORD_T_TYPE): Likewise.
25577 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25578 (__FSWORD_T_TYPE): Likewise.
25579 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25580 (__FSWORD_T_TYPE): Likewise.
25581 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
25582 (__FSWORD_T_TYPE): Likewise.
25583 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
25584 __SWORD_TYPE with __fsword_t.
25585 (statfs64): Likewise.
25586
1ba7c3dc
DM
255872012-05-17 David S. Miller <davem@davemloft.net>
25588
25589 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
25590
59910343
AJ
255912012-05-17 Andreas Jaeger <aj@suse.de>
25592
25593 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
25594 warning.
25595
2e4c1e9e
L
255962012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25597
25598 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
25599
de7f5ce7
AJ
256002012-05-17 Andreas Jaeger <aj@suse.de>
25601
25602 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
25603 when it is used.
25604
286abc3d
CM
256052012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25606
25607 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
25608
477cc68e
L
256092012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25610
25611 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
25612 * sysdeps/x86_64/tst-mallocalign1.c: New file.
25613
1a0994f5
CD
256142012-05-17 Andreas Jaeger <aj@suse.de>
25615 Carlos O'Donell <carlos_odonell@mentor.com>
25616
25617 [BZ #14059]
25618 * sysdeps/x86_64/multiarch/init-arch.h
25619 (bit_YMM_Usable): Rename to...
25620 (bit_AVX_Usable): ... this.
25621 (bit_FMA4_Usable): New macro.
25622 (bit_XMM_state): New macro.
25623 (bit_YMM_state): New macro.
25624 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
25625 [__ASSEMBLER__] (index_AVX_Usable): ... this.
25626 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
25627 (CPUID_OSXSAVE): New macro.
25628 (CPUID_AVX): New macro.
25629 (CPUID_FMA4): New macro.
25630 (index_YMM_Usable): Rename to...
25631 (index_AVX_Usable): ... this.
25632 (HAS_AVX): Use HAS_ARCH_FEATURE.
25633 (HAS_FMA4): Likewise.
25634 (HAS_YMM_USABLE): Remove.
25635 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25636 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
25637 are present.
25638 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
25639 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
25640 * sysdeps/x86_64/multiarch/Makefile: Likewise.
25641 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
25642 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
25643
0af797de
CM
256442012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25645
25646 * math/libm-test.c: Support platforms without multiple rounding modes.
25647 * math/bug-nextafter.c: Support platforms without FP exceptions.
25648 * math/bug-nexttoward.c: Likewise.
25649 * math/test-fenv.c: Likewise.
25650 * math/test-misc.c: Likewise.
25651 * stdlib/bug-getcontext.c: Likewise.
25652
e39745ff
AJ
256532012-05-17 Andreas Jaeger <aj@suse.de>
25654
25655 * manual/examples/search.c (critter_cmp): Change signature to
25656 avoid warnings.
25657 * manual/string.texi (Collation Functions): Likewise.
25658
48970aba
L
256592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25660
25661 * bits/types.h: Fold copyright years.
25662 * bits/typesizes.h: Likewise.
25663 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
25664 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25665 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
25666 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
25667 * time/time.h: Likewise.
25668
bedee953
PP
256692012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
25670
25671 [BZ #208]
25672 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
25673 in instead of returning them. Return void.
25674 (__libc_mallinfo): Accumulate over all arenas.
25675 (__malloc_stats): Adjust for change in int_mallinfo interface.
25676
61653dfb
RM
256772012-05-16 Roland McGrath <roland@hack.frob.com>
25678
30b99d79
RM
25679 [BZ #10375]
25680 * configure.in (NM): Add AC_CHECK_TOOL for it.
25681 (libc_extra_cflags): New substituted variable.
25682 Check for -fstack-protector being used implicitly.
25683 * configure: Regenerated.
25684 * config.make.in (config-extra-cflags): New variable,
25685 gets @libc_extra_cflags@.
25686 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
25687
61653dfb
RM
25688 [BZ #10375]
25689 * configure.in: Check for _FORTIFY_SOURCE being predefined.
25690 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
25691 * configure: Regenerated.
25692 * config.make.in (CPPUNDEFS): New substituted variable.
25693 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
25694 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
25695 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
25696
661768bb
L
256972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25698
25699 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
25700 (mq_attr): Use __syscall_slong_t.
25701
d4261567
L
257022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25703
25704 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
25705 Check __x86_64__ instead of __WORDSIZE.
25706 (_STAT_VER_LINUX): Likewise.
25707 (stat): Check __x86_64__ instead of __WORDSIZE. Use
25708 __syscall_ulong_t and __syscall_slong_t.
25709 (stat64): Likewise.
25710
cf3ff365
L
257112012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25712
25713 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
25714
76cf3e4d
L
257152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25716
25717 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
25718
a637753a
L
257192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25720
25721 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
25722 __syscall_ulong_t.
25723
d5e05119
L
25724 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
25725 include <bits/wordsize.h>. Check __x86_64__ instead of
25726 __WORDSIZE.
25727 (greg_t): Use "__extension__ long long int" if __x86_64__ is
25728 defined.
25729 (mcontext_t): Replace "unsigned long" with "unsigned long long".
25730
f62ee380
L
25731 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
25732 include <bits/wordsize.h>. Check __x86_64__ instead of
25733 __WORDSIZE.
25734 (user_regs_struct): Use "__extension__ unsigned long long"
25735 instead of "unsigned long" if __x86_64__ is defined.
25736 (user): Likewise. Pad after pointer field if __ILP32__ is
25737 defined.
25738
4e124ced
JM
257392012-05-16 Joseph Myers <joseph@codesourcery.com>
25740
6a3951a0
JM
25741 * configure.in (makeinfo): Require version 4.5 or later. Allow
25742 versions 5 to 9.
25743 * configure: Regenerated.
25744 * manual/install.texi (texinfo): Increase version requirement to
25745 4.5 or later.
25746 * INSTALL: Regenerated.
25747
4e124ced
JM
25748 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
25749
953ca31a
L
257502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25751
25752 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
25753
617aca05
L
25754 * sysdeps/x86_64/x32/ffs.c: New file.
25755
5762f7ae
L
25756 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
25757 __syscall_ulong_t.
25758 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
25759 defined. Use __syscall_ulong_t.
25760 (shminfo): Use __syscall_ulong_t.
25761 (shm_info): Likewise.
25762
a26b6856
L
25763 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
25764 __syscall_ulong_t.
25765
cb2b9ef7
L
25766 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
25767 <bits/wordsize.h>.
25768 (msgqnum_t): Use __syscall_ulong_t.
25769 (msglen_t): Likewise.
25770 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
25771 __syscall_ulong_t.
25772
34683bb0
L
25773 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
25774 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25775
84a68786
L
25776 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
25777
48baa5f1
L
25778 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
25779 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
25780
180be88b
L
25781 * sysvipc/sys/msg.h (msgbuf): Replace long int with
25782 __syscall_slong_t.
25783
5e90c8ad
L
25784 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
25785 include <bits/wordsize.h>. Check __x86_64__ instead of
25786 __WORDSIZE.
25787
23dfb58b
L
25788 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
25789 "unsigned long long int" if __x86_64__ is defined.
25790 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
25791
ce5d54b0
L
25792 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
25793 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25794 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
25795
13dc9eac
L
25796 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
25797 <stdint.h>.
25798 (GET_PC): Cast to uintptr_t first.
25799 (GET_FRAME): Likewise.
25800 (GET_STACK): Likewise.
25801
a7895d15
L
25802 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
25803 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
25804 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
25805 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
25806 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
25807 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
25808 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
25809 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
25810 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
25811 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
25812 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
25813 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
25814 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25815 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
25816 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
25817 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
25818 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
25819 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
25820 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
25821 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
25822 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
25823 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
25824 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
25825 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
25826 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
25827 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
25828 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
25829 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
25830 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
25831
656416c9
AS
258322012-05-16 Andreas Schwab <schwab@linux-m68k.org>
25833
5bd66283
AS
25834 * Makerules (+depfiles): Also collect depfiles from .oS in
25835 $(extra-objs).
25836 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
25837 .oS, $(libnldbl-routines)).
25838
656416c9
AS
25839 * Makerules (native-compile-mkdep-flags): Define.
25840 * sunrpc/Makefile (extra-objs): Add $(addprefix
25841 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
25842 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
25843 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
25844 calling $(make-target-directory).
25845
a46f2169
L
258462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25847
25848 * bits/types.h (__snseconds_t): Removed.
25849 * time/time.h (struct timespec): Replace __snseconds_t with
25850 __syscall_slong_t.
25851 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
25852 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
25853 Likewise.
25854 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25855 (__SNSECONDS_T_TYPE): Likewise.
25856 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25857 (__SNSECONDS_T_TYPE): Likewise.
25858 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25859 (__SNSECONDS_T_TYPE): Likewise.
25860
6af6528b
L
258612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25862
25863 * sysdeps/mach/hurd/bits/typesizes.h
25864 (__SYSCALL_SLONG_TYPE): New macro.
25865 (__SYSCALL_ULONG_TYPE): Likewise.
25866
de986b56
L
258672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25868
25869 * bits/types.h (__syscall_slong_t): New type.
25870 (__syscall_ulong_t): Likewise.
25871
25872 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
25873 (__SYSCALL_ULONG_TYPE): Likewise.
25874 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25875 (__SYSCALL_SLONG_TYPE): Likewise.
25876 (__SYSCALL_ULONG_TYPE): Likewise.
25877 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25878 (__SYSCALL_SLONG_TYPE): Likewise.
25879 (__SYSCALL_ULONG_TYPE): Likewise.
25880 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25881 (__SYSCALL_SLONG_TYPE): Likewise.
25882 (__SYSCALL_ULONG_TYPE): Likewise.
25883
85736dc7
L
258842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25885
25886 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
25887 Add sigaltstack-offsets.sym.
25888 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
25889 <sigaltstack-offsets.h>.
25890 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
25891 longjmp_msg pointer.
25892 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
25893 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
25894 signal stack.
25895 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
25896
cc03b296
JM
258972012-05-15 Joseph Myers <joseph@codesourcery.com>
25898
a9538892
JM
25899 * elf/stackguard-macros.h: Remove file.
25900 * sysdeps/generic/stackguard-macros.h: New file.
25901 * sysdeps/i386/stackguard-macros.h: Likewise.
25902 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25903 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25904 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25905 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25906 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25907 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25908 * sysdeps/x86_64/stackguard-macros.h: Likewise.
25909 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
25910 <elf/stackguard-macros.h>.
25911
cc03b296
JM
25912 [BZ #14109]
25913 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
25914 __aligned__ in attribute.
25915 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
25916 (gregset_t): Likewise.
25917
93171016
L
259182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25919
25920 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
25921 * sysdeps/x86_64/64/Implies-after: Here. New file.
25922 * sysdeps/x86_64/x32/Implies-after: New file.
25923
d86813a0
L
259242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25925
25926 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
25927 and access return value for _dl_profile_fixup. Use R10_LP to
25928 load frame size.
25929
2953ec75
L
259302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25931
25932 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
25933
3b550e9e
L
259342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25935
25936 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
25937 * sysdeps/x86_64/x32/sysdep.h: New file.
25938
eda41706
L
259392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25940
25941 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
25942 * sysdeps/x86_64/setjmp.S: Likewise.
25943
9ea01d93
AZ
259442012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25945
25946 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
25947 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
25948 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
25949 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
25950 remove unused global constant.
25951
02a91938
CM
259522012-05-15 Chris Metcalf <cmetcalf@tilera.com>
25953
25954 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
25955 include of <not-cancel.h>.
25956
6540185f
RM
259572012-05-15 Roland McGrath <roland@hack.frob.com>
25958
25959 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
25960
509072a0
AJ
259612012-05-15 Jeff Law <law@redhat.com>
25962 Andreas Jaeger <aj@suse.de>
25963
25964 [BZ #13594]
25965 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
25966 out from...
25967 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
25968 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
25969 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
25970 code changing __hst_map_handle.map.
25971
ba75122d
RM
259722012-05-15 Roland McGrath <roland@hack.frob.com>
25973
25974 * configure.in (sysnames): Look for Implies-before and Implies-after
25975 files.
25976 * configure: Regenerated.
25977
890d8bd8
L
259782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25979
25980 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
25981 8-byte data alignment with LP_SIZE alignment.
25982
f6ee6623
L
259832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25984
25985 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
25986 into R10_LP.
25987
ea2626f6
L
259882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25989
25990 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
25991
085f715e
L
259922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25993
25994 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
25995 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
25996 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
25997 Likewise.
25998 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25999
be8498fc
L
260002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26001
26002 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
26003 (stackinfo_sub_sp): Likewise.
26004
70bc83b9
L
260052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26006
26007 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
26008 RAX_LP.
26009
9bc0b730
L
260102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26011
26012 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
26013 into R*_LP.
26014
6d2850e7
L
260152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26016
26017 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
26018 sizes into R*_LP.
26019
3cb84561
L
260202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26021
26022 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
26023
54e2ed81
L
260242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26025
26026 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
26027 into R11_LP and load __x86_64_shared_cache_size_half into
26028 R8_LP.
26029
8a17f349
L
260302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26031
26032 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
26033 R8_LP.
26034
777b1eea
AZ
260352012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26036
26037 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
26038 logb for POWER7.
26039 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
26040 logbf for POWER7.
26041 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
26042 logbl for POWER7.
26043 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
26044 powerpc32/power7/fpu/s_logb.c via #include.
26045 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
26046 powerpc32/power7/fpu/s_logbf.c via #include.
26047 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
26048 powerpc32/power7/fpu/s_logbl.c via #include.
26049
d20d4ac2
JM
260502012-05-15 Joseph Myers <joseph@codesourcery.com>
26051
26052 * README.libm: Remove file.
26053
6cdef1ab
L
260542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26055
26056 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
26057 count for x32. Use R*_LP and omit operand-size suffix.
26058
0b254d8f
L
260592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26060
26061 * shlib-versions: Move x86_64-.*-linux.* entries to ...
26062 * sysdeps/x86_64/64/shlib-versions: Here. New file.
26063 * sysdeps/x86_64/x32/shlib-versions: New file.
26064
ceb809dc
RM
260652012-05-14 Roland McGrath <roland@hack.frob.com>
26066
26067 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
26068 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
26069 Use _dl_fatal_printf instead.
26070
37f1abd4
JM
260712012-05-14 Joseph Myers <joseph@codesourcery.com>
26072
26073 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
26074 set if not set by the user. Do not allow for being unset.
26075 * sysdeps/unix/sysv/linux/configure: Regenerated.
26076
11de3a33
L
260772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26078
26079 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
26080 the `q' suffix from lea and replace .quad with ASM_ADDR.
26081
e02f153a
L
260822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26083
26084 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
26085 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
26086 instead of $17.
26087 (PTR_DEMANGLE): Likewise.
26088
520ae0fd
L
260892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26090
26091 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
26092 (LP_OP): Likewise.
26093 (ASM_ADDR): Likewise.
26094 (RAX_LP): Likewise.
26095 (RBP_LP): Likewise.
26096 (RBX_LP): Likewise.
26097 (RCX_LP): Likewise.
26098 (RDI_LP): Likewise.
26099 (RSI_LP): Likewise.
26100 (RSP_LP): Likewise.
26101 (R8_LP): Likewise.
26102 (R9_LP): Likewise.
26103 (R10_LP): Likewise.
26104 (R10_LP): Likewise.
26105 (R11_LP): Likewise.
26106 (R12_LP): Likewise.
26107 (R13_LP): Likewise.
26108 (R14_LP): Likewise.
26109 (R15_LP): Likewise.
26110
b985be81
L
261112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26112
26113 * sysdeps/x86_64/x32/dl-machine.h: New file.
26114
6a4888ff
AJ
261152012-05-14 Andreas Jaeger <aj@suse.de>
26116
26117 * manual/Makefile (subdir): Remove export of subdir.
26118 (all): Remove target.
26119 (.PHONY): Remove all from list.
26120 (mkinstalldirs): Remove.
26121 (.PHONY): Remove installdirs from list.
26122 ($(inst_infodir)/libc.info): Use make-target-directory.
26123 (installdirs): Remove.
26124 (subdir_%): Remove.
26125 (glibc-targets): Remove.
26126 (lib): Remove.
26127 (stubs): Remove.
26128 ($(objpfx)stubs ../po/manual.pot): Remove.
26129 ($(objpfx)stamp%): Remove.
26130 (make-target-directory): Remove.
26131 (subdir_install): Remove.
26132 (routines): Remove.
26133 (aux): Remove.
26134 (sources): Remove.
26135 (objects): Remove.
26136 (headers): Remove.
26137
26138 [BZ #13750]
26139 * manual/.gitignore: Remove, it's not needed anymore.
26140 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
26141 all files in it.
26142 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
26143 directory.
26144 (texis): Renamed to $(objpfx)texis.
26145 (texis-path): New, contains path to generated files.
26146 (chapters.%): Use texis-path for complete path, add extra argument
26147 libc-texinfo.sh.
26148 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
26149 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
26150 (summary,texi, stamp-summary): Use complete path of
26151 files. Generate files in build dir.
26152 (dir-add.texi): Build in build dir.
26153 (libm-err.texi,stamp-libm-err): Likewise.
26154 (version.texi, stamp-version): Likewise.
26155 (.%c.texi): Likewise.
26156 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
26157 (mostlyclean): Remove target.
26158 (realclean): Remove target.
26159 (generated): Add new variable with contents from mostlyclean and
26160 realclean, remove entries duplicated in common-mostlyclean, add
26161 stamp-libm-err and stamp-version.
26162 (generated-dirs): Add libc directory.
26163 ($(inst_infodir)/libc.info): Install files from build dir.
26164
26165 * manual/install.texi (Configuring and compiling): Adjust since
26166 the info files are not part of the tar ball anymore.
26167
7ac77294
AJ
261682012-05-14 Andreas Jaeger <aj@suse.de>
26169
26170 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
26171 variable.
26172
ffb7875d
JM
261732012-05-14 Joseph Myers <joseph@codesourcery.com>
26174
26175 [BZ #13717]
26176 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26177 to 2.2.0 where earlier.
26178 * sysdeps/unix/sysv/linux/configure: Regenerated.
26179 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
26180 Remove conditional code.
26181 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
26182 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
26183 Remove conditional code.
26184 [!__NR_lchown]: Likewise.
26185 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26186 [__NR_lchown]: Likewise.
26187 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
26188 comment referencing __ASSUME_LCHOWN_SYSCALL.
26189 * sysdeps/unix/sysv/linux/i386/sigaction.c
26190 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26191 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26192 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
26193 Remove conditional code.
26194 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
26195 (__protocol_available): Remove #if 0 code.
26196 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
26197 conditional code.
26198 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
26199 * sysdeps/unix/sysv/linux/kernel-features.h
26200 (__ASSUME_GETCWD_SYSCALL): Don't define.
26201 (__ASSUME_REALTIME_SIGNALS): Likewise.
26202 (__ASSUME_PREAD_SYSCALL): Likewise.
26203 (__ASSUME_PWRITE_SYSCALL): Likewise.
26204 (__ASSUME_POLL_SYSCALL): Likewise.
26205 (__ASSUME_LCHOWN_SYSCALL): Likewise.
26206 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
26207 non-SPARC.
26208 (__ASSUME_SIOCGIFNAME): Don't define.
26209 (__ASSUME_MSG_NOSIGNAL): Likewise.
26210 (__ASSUME_SENDFILE): Define unconditionally.
26211 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
26212 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
26213 conditional code.
26214 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
26215 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
26216 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
26217 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26218 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
26219 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
26220 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
26222 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26223 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
26225 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26226 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
26228 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26229 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
26231 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26232 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
26234 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26235 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
26237 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26238 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
26240 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26241 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
26243 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26244 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26245 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
26246 Remove conditional code.
26247 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26248 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26249 Remove conditional code.
26250 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26251 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
26252 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
26253 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26254 Remove conditional code.
26255 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26256 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
26257 Remove conditional code.
26258 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26259 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
26260 Remove conditional code.
26261 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26262 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26263 Remove conditional code.
26264 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26265 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26266 Remove conditional code.
26267 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26268 * sysdeps/unix/sysv/linux/sh/pwrite64.c
26269 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26270 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26271 * sysdeps/unix/sysv/linux/sigaction.c
26272 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26273 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26274 * sysdeps/unix/sysv/linux/sigpending.c
26275 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26276 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26277 * sysdeps/unix/sysv/linux/sigprocmask.c
26278 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26279 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26280 * sysdeps/unix/sysv/linux/sigsuspend.c
26281 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26282 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26283 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
26284 (__libc_missing_rt_sigs): Remove.
26285 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
26286 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
26287 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
26288 Remove conditional code.
26289 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
26290 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
26291 return 1.
26292 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
26293 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
26294 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
26295 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
26296
1bfb7291
AJ
262972012-05-14 Andreas Jaeger <aj@suse.de>
26298
caae5a81
AJ
26299 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
26300 it's not used in glibc.
26301 (__coshm1): Likewise.
26302 (__acosh1p): Likewise.
26303 (__sgn): Likewise.
26304
1bfb7291
AJ
26305 * manual/string.texi (Copying and Concatenation): Add missing
26306 variable in concat example.
26307 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
26308
c044d724
L
263092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26310
144c5467 26311 [BZ #14103]
c044d724
L
26312 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
26313 __builtin_clzl with __builtin_clzll.
26314
2523c62b
L
263152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26316
26317 [BZ #14104]
26318 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
26319 libc_freeres_ptr.
26320
d7bb4c42
LD
263212012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26322
26323 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
26324 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
26325 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
26326 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
26327
9dc4e1fb
MF
263282012-05-14 Mike Frysinger <vapier@gentoo.org>
26329
26330 * NEWS: Update ia64 info.
26331
c7df0112
AS
263322012-05-12 Andreas Schwab <schwab@linux-m68k.org>
26333
26334 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
26335 used as bcopy.
26336
dc70356c
TS
263372012-05-12 Thomas Schwinge <thomas@codesourcery.com>
26338
26339 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
26340 * sysdeps/unix/syscalls.list (dup3): Likewise.
26341 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
26342 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
26343
9fb1a21f
L
263442012-05-11 H.J. Lu <hongjiu.lu@intel.com>
26345
26346 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
26347 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
26348
4822a2a5
L
263492012-05-11 H.J. Lu <hongjiu.lu@intel.com>
26350
26351 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
26352 thread pointer.
26353 (TLS_IE): Use mov/add instead of movq/addq to load thread
26354 pointer.
26355 (TLS_GD_PREFIX): New.
26356 (TLS_GD): Use it.
26357
842b81d6
DM
263582012-05-11 David S. Miller <davem@davemloft.net>
26359
26360 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
26361 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
26362 (_FPU_SETCW): Likewise.
26363
1cf463cd
L
263642012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26365
26366 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
26367 is 32-byte aligned.
26368
60cc4a18
AS
263692012-05-11 Andreas Schwab <schwab@linux-m68k.org>
26370
26371 [BZ #11837]
26372 * iconvdata/gb18030.c: Update tables.
26373 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
26374 characters specially.
26375 (BODY for TO_LOOP): Add encoding of missing ranges.
26376
febb44a4
TS
263772012-05-11 Thomas Schwinge <thomas@codesourcery.com>
26378
26379 [BZ #13673]
26380 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
26381 * sysdeps/mach/hurd/dup3.c: Likewise.
26382 * sysdeps/mach/hurd/readlinkat.c: Likewise.
26383 * sysdeps/powerpc/memmove.c:: Likewise.
26384
0a10fb9e
L
263852012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26386
26387 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
26388 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
26389
df8a552f
L
263902012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26391
26392 * elf/elf.h (R_X86_64_RELATIVE64): New.
26393 (R_X86_64_NUM): Updated.
26394 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26395 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
26396 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
26397 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
26398 tst-quad1pie tst-quad2pie
26399 (modules-names): Add tst-quadmod1 tst-quadmod2.
26400 ($(objpfx)tst-quad1): New dependency.
26401 ($(objpfx)tst-quad2): Likewise.
26402 ($(objpfx)tst-quad1pie): Likewise.
26403 ($(objpfx)tst-quad2pie): Likewise.
26404 * sysdeps/x86_64/tst-quad1.c: New file.
26405 * sysdeps/x86_64/tst-quad1pie.c: New file.
26406 * sysdeps/x86_64/tst-quad2.c: Likewise.
26407 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
26408 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
26409 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
26410 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
26411 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
26412
f34d6f84
ST
264132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26414
f42d41d1
ST
26415 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
26416 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
26417 * streams/stropts.h (t_scalar_t): Define type.
26418
3c3571fc
ST
26419 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
26420 (_PATH_PRESERVE): Set to "/var/lib".
26421 (_PATH_RWHODIR): Set to "/var/spool/rwho".
26422
61f06bd3
ST
26423 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
26424 instead of int.
26425
918d4d71
ST
26426 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
26427 if __dir_mkfile succeeded.
26428
f34d6f84
ST
26429 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
26430 checking for _hurd_dtablesize. Unlock it right after having
26431 finished _hurd_dtable allocation.
26432
10589b4a
TS
264332012-05-10 Thomas Schwinge <thomas@schwinge.name>
26434
674cdbc7
TS
26435 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
26436 * sysdeps/mach/hurd/configure: Regenerated.
26437 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
26438 special-casing to...
26439 * sysdeps/gnu/configure.in: ... this new file.
26440 * sysdeps/unix/sysv/linux/configure: Regenerated.
26441 * sysdeps/gnu/configure: New generated file.
26442
8e41b99f
TS
26443 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
26444 for Linux: use nsec instead of usec, as well as:
26445 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
26446 members of type struct timespec.
26447 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
26448 New macros.
26449 (struct stat64): Likewise.
26450 (_STATBUF_ST_NSEC): New macro.
26451 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
26452
10589b4a
TS
26453 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26454 __strtoul_internal rather than strtoul.
26455
63643c85
PT
264562012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26457
26458 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
26459 and reject them.
26460
3faebe6a
ST
264612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26462
26463 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
26464 which preserves existing values.
26465 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
26466
c6474b07
PT
264672012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26468
26469 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
26470 TIMEOUT values. Return EINVAL for NFDS values either negative or
26471 greater than FD_SETSIZE.
26472
1043890b
ST
264732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26474
26475 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
26476 allocated, call __vm_protect to finish enabling the existing space, and
26477 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
26478 allocate the remainder.
26479
37ed8b9b
PT
264802012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26481
26482 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
26483 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
26484
db653660
ST
264852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26486
37ed8b9b
PT
26487 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
26488 sysdeps/mach/hurd/readlink.c.
b29d4053 26489
db653660
ST
26490 * posix/tst-sysconf.c (posix_options): Only use
26491 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
26492 _POSIX_SYNCHRONIZED_IO when they are defined
26493 * sysdeps/mach/hurd/bits/posix_opt.h:
26494 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
26495 (_XOPEN_REALTIME): Undefine macro.
26496 (_XOPEN_REALTIME_THREADS): Undefine macro.
26497 (_XOPEN_SHM): Undefine macro.
26498 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
26499 macro to -1.
26500 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
26501 macro to -1.
26502 (_POSIX_ASYNC_IO): Undefine macro.
26503 (_POSIX_PRIORITIZED_IO): Undefine macro.
26504 (_POSIX_SPIN_LOCKS): Define macro to -1.
26505
ee16e894
ST
26506 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
26507 SA_NODEFER, SA_RESETHAND.
26508 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
26509 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
26510 F_DUPFD_CLOEXEC.
26511
6103ae3b
TS
265122012-05-10 Thomas Schwinge <thomas@schwinge.name>
26513
26514 * elf/Makefile (pldd-modules): Define unconditionally.
26515
80b4e5f3
TS
265162012-05-10 Thomas Schwinge <thomas@schwinge.name>
26517
26518 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
26519
edadcbd6
ST
265202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26521
26522 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
26523 Return ENOENT when name is empty.
26524 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
26525
80694780
TS
265262012-05-10 Thomas Schwinge <thomas@schwinge.name>
26527
1792c087
TS
26528 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
26529
80694780
TS
26530 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
26531
6b645f0d
ST
265322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26533
80694780
TS
26534 Fix mlock in all cases except non-readable pages.
26535 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
26536 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 26537
6b645f0d
ST
26538 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
26539 (__mkdir): When path is `/', just fail with EEXIST.
26540 * sysdeps/mach/hurd/mkdirat.c: Likewise.
26541
e468f8a3
TS
265422012-05-10 Thomas Schwinge <thomas@schwinge.name>
26543
26544 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
26545 <sys/uio.h> (for writev).
26546 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
26547 and <sys/param.h> (for MIN).
26548
a4186cff
PT
265492012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26550
26551 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
26552 REQUESTED_TIME. Properly set the remaining time and return EINTR
26553 if interrupted.
26554
510bbf14
TS
265552012-05-10 Thomas Schwinge <thomas@schwinge.name>
26556
26557 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
26558 Depend on against $(link-rpcuserlibs).
26559
5d5722e8
ST
265602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26561
a4186cff
PT
26562 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
26563 (__libc_stack_end): Do not use attribute_relro.
26564 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
26565 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 26566 to libthread-provided value.
a4186cff
PT
26567 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
26568 attribute_relro.
5d5722e8 26569
37233df9
TS
265702012-05-10 Thomas Schwinge <thomas@schwinge.name>
26571
be971a2b
TS
26572 [BZ #3748]
26573 * bits/libc-lock.h (__libc_once_get): New macro.
26574 * sysdeps/mach/bits/libc-lock.h: Likewise.
26575 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
26576 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
26577 instead of using implementation details.
26578
37233df9
TS
26579 * libio/fileops.c: Unconditionally include <kernel-features.h>.
26580 * libio/freopen.c: Likewise.
26581 * libio/freopen64.c: Likewise.
26582 * misc/syslog.c: Likewise.
26583 * nscd/connections.c: Likewise.
26584 * nscd/netgroupcache.c: Likewise.
26585 * sysdeps/posix/getcwd.c: Likewise.
26586
38de94a5
RM
265872012-05-10 Roland McGrath <roland@hack.frob.com>
26588
26589 * math/w_ilogbf.c: Add #include <limits.h>.
26590
67530489
ST
265912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26592
a4186cff 26593 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
26594 path instead of returning without unlocking.
26595
67530489
ST
26596 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
26597 immediate-write ioctls.
26598 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
26599
5aa3a74a
TS
266002012-05-10 Thomas Schwinge <thomas@schwinge.name>
26601
18bad2ae
TS
26602 * sysdeps/mach/hurd/i386/init-first.c (init): Use
26603 __builtin_frame_address instead of making assumptions about the
26604 location of the return address relative to DATA. Force early load of
26605 the return address.
26606 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
26607 __builtin_frame_address.
26608
5aa3a74a
TS
26609 dup3 for GNU Hurd.
26610 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
26611 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
26612 implement dup3 and do some further code clean-ups.
26613 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
26614 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
26615
ecd0de9a
ST
266162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26617
cd9fa985
ST
26618 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
26619
a4186cff
PT
26620 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
26621 HURD_CRITICAL_END around holding _hurd_dtable_lock.
26622 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
26623 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
26624 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
26625 d->port.lock.
802ca5a5 26626
a4186cff
PT
26627 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
26628 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
26629 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 26630
bcf55240
TS
266312012-05-10 Thomas Schwinge <thomas@schwinge.name>
26632
6960eb42
TS
26633 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
26634 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
26635 definitions.
26636
eb43375f
TS
26637 accept4 for GNU Hurd.
26638 * include/sys/socket.h (__libc_accept4): New prototype.
26639 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
26640 to implement __libc_accept4.
26641 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
26642 __libc_accept4.
26643 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
26644
bcf55240
TS
26645 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
26646 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
26647 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
26648 signal-defines.sym.
26649
6178c55b
ST
266502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26651
a4186cff 26652 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 26653
6f080c2f
TS
266542012-05-10 Thomas Schwinge <thomas@schwinge.name>
26655
26656 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
26657 assertion on O_CLOEXEC flag.
26658 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
26659 * hurd/intern-fd.c: Likewise.
26660 * hurd/port2fd.c: Likewise.
26661
bcfe3a54
ST
266622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26663
26664 [BZ #3906]
26665 * bits/in.h (IPV6_PKTINFO): Define new macro.
26666 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
26667
89c9aa49
AZ
266682012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26669
26670 [BZ #13954]
26671 [BZ #13955]
26672 [BZ #13956]
26673 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
26674 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26675 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
26676 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26677 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26678 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26679 * math/libm-test.inc (logb_test) : Additional logb tests.
26680
021db4be
AJ
266812012-05-09 Andreas Schwab <schwab@linux-m68k.org>
26682 Andreas Jaeger <aj@suse.de>
26683
26684 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
26685 * configure: Regenerated.
26686 * config.h.in (LINK_OBSOLETE_RPC): New macro.
26687 * config.make.in (link-obsolete-rpc): New substituted variable.
26688 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
26689 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
26690 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26691 (shared-only-routines): Don't set it under [link-obsolete-rpc],
26692 so that libc.a contains the symbols.
26693 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26694 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
26695 * sunrpc/auth_none.c: Likewise.
26696 * sunrpc/auth_unix.c: Likewise.
26697 * sunrpc/authdes_prot.c: Likewise.
26698 * sunrpc/authuxprot.c: Likewise.
26699 * sunrpc/clnt_gen.c: Likewise.
26700 * sunrpc/clnt_perr.c: Likewise.
26701 * sunrpc/clnt_raw.c: Likewise.
26702 * sunrpc/clnt_simp.c: Likewise.
26703 * sunrpc/clnt_tcp.c: Likewise.
26704 * sunrpc/clnt_udp.c: Likewise.
26705 * sunrpc/clnt_unix.c: Likewise.
26706 * sunrpc/des_crypt.c: Likewise.
26707 * sunrpc/des_soft.c: Likewise.
26708 * sunrpc/get_myaddr.c: Likewise.
26709 * sunrpc/key_call.c: Likewise.
26710 * sunrpc/key_prot.c: Likewise.
26711 * sunrpc/netname.c: Likewise.
26712 * sunrpc/pm_getmaps.c: Likewise.
26713 * sunrpc/pm_getport.c: Likewise.
26714 * sunrpc/pmap_clnt.c: Likewise.
26715 * sunrpc/pmap_prot.c: Likewise.
26716 * sunrpc/pmap_prot2.c: Likewise.
26717 * sunrpc/pmap_rmt.c: Likewise.
26718 * sunrpc/publickey.c: Likewise.
26719 * sunrpc/rpc_cmsg.c: Likewise.
26720 * sunrpc/rpc_common.c: Likewise.
26721 * sunrpc/rpc_dtable.c: Likewise.
26722 * sunrpc/rpc_prot.c: Likewise.
26723 * sunrpc/rpc_thread.c: Likewise.
26724 * sunrpc/rtime.c: Likewise.
26725 * sunrpc/svc.c: Likewise.
26726 * sunrpc/svc_auth.c: Likewise.
26727 * sunrpc/svc_raw.c: Likewise.
26728 * sunrpc/svc_run.c: Likewise.
26729 * sunrpc/svc_tcp.c: Likewise.
26730 * sunrpc/svc_udp.c: Likewise.
26731 * sunrpc/svc_unix.c: Likewise.
26732 * sunrpc/svcauth_des.c: Likewise.
26733 * sunrpc/xcrypt.c: Likewise.
26734 * sunrpc/xdr.c: Likewise.
26735 * sunrpc/xdr_array.c: Likewise.
26736 * sunrpc/xdr_float.c: Likewise.
26737 * sunrpc/xdr_intXX_t.c: Likewise.
26738 * sunrpc/xdr_mem.c: Likewise.
26739 * sunrpc/xdr_rec.c: Likewise.
26740 * sunrpc/xdr_ref.c: Likewise.
26741 * sunrpc/xdr_sizeof.c: Likewise.
26742 * sunrpc/xdr_stdio.c: Likewise.
26743
b5c086a2
RM
267442012-05-10 Roland McGrath <roland@hack.frob.com>
26745
26746 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
26747 change. Update copyright years.
26748
6d74dd09
JM
267492012-05-10 Joseph Myers <joseph@codesourcery.com>
26750
26751 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
26752
28e72501
MK
267532012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
26754 Joseph Myers <joseph@codesourcery.com>
26755 Paul Pluzhnikov <ppluzhnikov@google.com>
26756
26757 [BZ #14012]
26758 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
26759 requiring rpcgen.
26760 [cross-compiling] (extra-libs): Likewise.
26761 [cross-compiling] (extra-libs-others): Likewise.
26762 [cross-compiling] (librpcsvc-routines): Likewise.
26763 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
26764 [cross-compiling] (omit-deps): Likewise.
26765 (sunrpc-CPPFLAGS): New variable.
26766 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
26767 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
26768 (cross-rpcgen-objs): New variable.
26769 (extra-objs): Append $(cross-rpcgen-objs).
26770 ($(cross-rpcgen-objs)): New rule.
26771 ($(objpfx)cross-rpcgen): Likewise.
26772 (rpcgen-cmd): Define to use $(built-program-file). Expand
26773 comment.
26774 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
26775 ($(objpfx)x%.stmp): Likewise.
26776 * sunrpc/proto.h [IS_IN_build] (_): Define.
26777 [IS_IN_build] (_libc_intl_domainname): Likewise.
26778
c8c59454
L
267792012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26780
26781 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
26782 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
26783 and R_X86_64_TPOFF64.
26784
6f27cd16
JM
267852012-05-10 Joseph Myers <joseph@codesourcery.com>
26786
26787 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
26788 sysdeps/unix/sysv/syscalls.list.
26789 (stime): Likewise.
26790 (utime): Likewise.
26791 * sysdeps/unix/sysv/syscalls.list: Remove file.
26792
02467e1c
PE
267932012-05-10 Paul Eggert <eggert@cs.ucla.edu>
26794
26795 [BZ #3440]
26796 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
26797 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
26798 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
26799 (__LC_IDENTIFICATION): Make these macros useful in #if
26800 expressions, as required by C99.
26801
da392631
AS
268022012-05-10 Andreas Schwab <schwab@linux-m68k.org>
26803
26804 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
26805 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
26806 after this.
26807
8115f29b
L
268082012-05-09 H.J. Lu <hongjiu.lu@intel.com>
26809
26810 * stdlib/longlong.h: Updated from GCC.
26811
bdd74070
AJ
268122012-05-09 Andreas Jaeger <aj@suse.de>
26813
edfe0dbe
AJ
26814 * nscd/nscd.c (run_modes): Make named enum, reorder so that
26815 default is first entry.
26816 (run_mode): Set type.
26817 (main): Remove informal message about syslog.
26818 (options): Fix typo.
26819
bcfe3a54
ST
26820 [BZ #14053]
26821 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 26822 to asm.
bcfe3a54
ST
26823 (lrint): Likewise.
26824 (llrintf): Likewise.
26825 (llrint): Likewise.
26826 (rint): Likewise.
26827 (rintf): Likewise.
26828 (nearbyint): Likewise.
26829 (nearbyintf): Likewise.
bdd74070 26830
91d8d69e
AJ
268312012-05-09 Andreas Jaeger <aj@suse.de>
26832 Pedro Alves <palves@redhat.com>
26833
26834 * nscd/nscd.c (run_mode): Use enum.
26835 (main): Cleanup coding style issue.
26836
bb90b80b
AJ
268372012-05-09 Alexandre Oliva <aoliva@redhat.com>
26838 Andreas Jaeger <aj@suse.de>
26839
bcfe3a54
ST
26840 * nscd/nscd.c (go_background): Replaced with...
26841 (run_mode): ... this.
bb90b80b 26842 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
26843 (options): Add -F --foreground.
26844 (main): Implement it.
26845 (parse_opt): Parse it.
bb90b80b 26846
1a4b75a1
AJ
268472012-05-09 Andreas Jaeger <aj@suse.de>
26848
26849 [BZ #14083]
26850 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
26851 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
26852 -Wconversion warning.
26853 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
26854 Likewise.
26855
b1cc2472
JM
268562012-05-09 Joseph Myers <joseph@codesourcery.com>
26857
26858 * conform/data/locale.h-data (NULL): Use macro-constant. Require
26859 == 0.
26860 (LC_ALL): Use macro-int-constant.
26861 (LC_COLLATE): Likewise.
26862 (LC_CTYPE): Likewise.
26863 (LC_MESSAGES): Likewise.
26864 (LC_MONETARY): Likewise.
26865 (LC_NUMERIC): Likewise.
26866 (LC_TIME): Likewise.
26867 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
26868 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26869 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26870 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
26871 Specify type.
26872 [C99-based standards] (float_t): Expect type.
26873 [C99-based standards] (double_t): Expect type.
26874 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
26875 type.
26876 [C99-based standards] (HUGE_VALL): Likewise.
26877 [C99-based standards] (INFINITY): Likewise.
26878 [C99-based standards] (NAN): Likewise.
26879 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
26880 [C99-based standards] (FP_NAN): Likewise.
26881 [C99-based standards] (FP_NORMAL): Likewise.
26882 [C99-based standards] (FP_SUBNORMAL): Likewise.
26883 [C99-based standards] (FP_ZERO): Likewise.
26884 [C99-based standards] (FP_FAST_FMA): Use
26885 optional-macro-int-constant. Specify type. Require == 1.
26886 [C99-based standards] (FP_FAST_FMAF): Likewise.
26887 [C99-based standards] (FP_FAST_FMAL): Likewise.
26888 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
26889 [C99-based standards] (FP_ILOGBNAN): Likewise.
26890 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
26891 Specify type.
26892 [C99-based standards] (MATH_ERREXCEPT): Likewise.
26893 [C99-based standards] (math_errhandling): Specify type.
26894 [ISO99 || ISO11] (signgam): Do not allow.
26895 [non-C99-based standards] (copysignf): Do not allow.
26896 [non-C99-based standards] (exp2f): Likewise.
26897 [non-C99-based standards] (log2f): Likewise.
26898 [non-C99-based standards] (modff): Allow.
26899 [non-C99-based standards] (erff): Do not allow.
26900 [non-C99-based standards] (erfcf): Likewise.
26901 [non-C99-based standards] (gammaf): Likewise.
26902 [non-C99-based standards] (hypotf): Likewise.
26903 [non-C99-based standards] (j0f): Likewise.
26904 [non-C99-based standards] (j1f): Likewise.
26905 [non-C99-based standards] (jnf): Likewise.
26906 [non-C99-based standards] (lgammaf): Likewise.
26907 [non-C99-based standards] (tgammaf): Likewise.
26908 [non-C99-based standards] (y0f): Likewise.
26909 [non-C99-based standards] (y1f): Likewise.
26910 [non-C99-based standards] (ynf): Likewise.
26911 [non-C99-based standards] (isnanf): Likewise.
26912 [non-C99-based standards] (acoshf): Likewise.
26913 [non-C99-based standards] (asinhf): Likewise.
26914 [non-C99-based standards] (atanhf): Likewise.
26915 [non-C99-based standards] (cbrtf): Likewise.
26916 [non-C99-based standards] (expm1f): Likewise.
26917 [non-C99-based standards] (ilogbf): Likewise.
26918 [non-C99-based standards] (log1pf): Likewise.
26919 [non-C99-based standards] (logbf): Likewise.
26920 [non-C99-based standards] (nextafterf): Likewise.
26921 [non-C99-based standards] (remainderf): Likewise.
26922 [non-C99-based standards] (rintf): Likewise.
26923 [non-C99-based standards] (scalbf): Likewise.
26924 [non-C99-based standards] (copysignl): Likewise.
26925 [non-C99-based standards] (exp2l): Likewise.
26926 [non-C99-based standards] (log2l): Likewise.
26927 [non-C99-based standards] (modfl): Allow.
26928 [non-C99-based standards] (erfl): Do not allow.
26929 [non-C99-based standards] (erfcl): Likewise.
26930 [non-C99-based standards] (gammal): Likewise.
26931 [non-C99-based standards] (hypotl): Likewise.
26932 [non-C99-based standards] (j0l): Likewise.
26933 [non-C99-based standards] (j1l): Likewise.
26934 [non-C99-based standards] (jnl): Likewise.
26935 [non-C99-based standards] (lgammal): Likewise.
26936 [non-C99-based standards] (tgammal): Likewise.
26937 [non-C99-based standards] (y0l): Likewise.
26938 [non-C99-based standards] (y1l): Likewise.
26939 [non-C99-based standards] (ynl): Likewise.
26940 [non-C99-based standards] (isnanl): Likewise.
26941 [non-C99-based standards] (acoshl): Likewise.
26942 [non-C99-based standards] (asinhl): Likewise.
26943 [non-C99-based standards] (atanhl): Likewise.
26944 [non-C99-based standards] (cbrtl): Likewise.
26945 [non-C99-based standards] (expm1l): Likewise.
26946 [non-C99-based standards] (ilogbl): Likewise.
26947 [non-C99-based standards] (log1pl): Likewise.
26948 [non-C99-based standards] (logbl): Likewise.
26949 [non-C99-based standards] (nextafterl): Likewise.
26950 [non-C99-based standards] (remainderl): Likewise.
26951 [non-C99-based standards] (rintl): Likewise.
26952 [non-C99-based standards] (scalbl): Likewise.
26953 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26954 [non-C99-based standards] (FP_*): Do not allow.
26955 [C99-based standards] (FP_*): Change to
26956 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26957 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26958 allow.
26959 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
26960 (SIG_ERR): Likewise.
26961 [X/Open-based standards] (SIG_HOLD): Likewise.
26962 (SIG_IGN): Likewise.
26963 (SIGABRT): Use macro-int-constant. Specify type. Require
26964 positive value.
26965 (SIGFPE): Likewise.
26966 (SIGILL): Likewise.
26967 (SIGINT): Likewise.
26968 (SIGSEGV): Likewise.
26969 (SIGTER): Likewise.
26970 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
26971 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
26972 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
26973 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
26974 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
26975 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
26976 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
26977 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
26978 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
26979 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
26980 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
26981 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
26982 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
26983 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
26984 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
26985 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
26986 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
26987 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
26988 [X/Open-based standards] (SIGTRAP): Likewise.
26989 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
26990 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
26991 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
26992 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
26993 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26994 allow.
26995
b9f1922d
IW
269962012-05-08 Ian Wienand <ianw@vmware.com>
26997
26998 [BZ #14080]
26999 * time/tzset.c (__tzset_parse_tz): Update default rules for
27000 daylight time changes in the Energy Policy Act of 2005.
27001
1db86e88
AJ
270022012-05-09 Andreas Jaeger <aj@suse.de>
27003
27004 [BZ #13983]
27005 * elf/ldconfig.c (parse_conf): Change string to make clear that
27006 ldconfig only issued a warning if ld.so.conf does not exist.
27007
dee4a4e3
DM
270082012-05-08 David S. Miller <davem@davemloft.net>
27009
ee0db190
DM
27010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
27011 movxtod instead of popping the value on the stack.
27012
dee4a4e3
DM
27013 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27014
6a43ec98
CD
270152012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
27016
27017 * config.h.in: Add HAVE_ARM_PCS_VFP.
27018
05c2c961
RMG
270192012-05-08 Roland Mc Grath <roland@hack.frob.com>
27020
bcfe3a54
ST
27021 [BZ #13979]
27022 * include/features.h: Warn if user requests __FORTIFY_SOURCE
27023 checking but the checks are disabled for any reason.
05c2c961 27024
4b30f61a
L
270252012-05-08 H.J. Lu <hongjiu.lu@intel.com>
27026
27027 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
27028 and ELF64_R_TYPE with ELFW(R_TYPE).
27029
eee2bc67
JM
270302012-05-08 Joseph Myers <joseph@codesourcery.com>
27031
7ea5391a
JM
27032 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
27033 (ulimit): Likewise.
27034
eee2bc67
JM
27035 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
27036 (settimeofday): Likewise.
27037
abb66a67
MF
270382012-05-08 Mike Frysinger <vapier@gentoo.org>
27039
27040 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
27041 a struct th_u2 inside the union, and move tu_block/tu_code into
27042 a new th_u3 union of tu_block/tu_code inside of that. Move
27043 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
27044 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
27045 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
27046 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
27047 (th_stuff): Change to th_u1.tu_stuff.
27048 (th_data): Define.
27049 (th_msg): Change to th_u1.th_u2.tu_data.
27050
7f18b530
DM
270512012-05-07 David S. Miller <davem@davemloft.net>
27052
05760585
DM
27053 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27054
7f18b530
DM
27055 [BZ #14074]
27056 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
27057 (SETUP_PIC_REG): Use it.
27058 (SETUP_PIC_REG_LEAF): Use it.
27059
495fd99f
JM
270602012-05-07 Joseph Myers <joseph@codesourcery.com>
27061
27062 [BZ #13885]
27063 [BZ #13923]
27064 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27065 USE_AS_EXPM1L.
27066 (EXPL_FINITE): Likewise.
27067 (FLDLOG): Likewise.
27068 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
27069 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
27070 e_expl.S.
27071 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27072 USE_AS_EXPM1L.
27073 (EXPL_FINITE): Likewise.
27074 (FLDLOG): Likewise.
27075 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
27076 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
27077 e_expl.S.
27078 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
27079 test of -max_value argument for long double.
27080 * sysdeps/i386/fpu/libm-test-ulps: Update.
27081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27082
6693d694
DM
270832012-05-06 David S. Miller <davem@davemloft.net>
27084
27085 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
27086 quad soft-float symbols whose references which are compiler
27087 generated.
27088 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27089
6c23e11c
JM
270902012-05-06 Joseph Myers <joseph@codesourcery.com>
27091
d8b82cad
JM
27092 [BZ #13884]
27093 [BZ #13914]
27094 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27095 USE_AS_EXP10L.
27096 (EXPL_FINITE): Likewise.
27097 (FLDLOG): Likewise.
27098 (c0): Likewise.
27099 (c1): Likewise.
27100 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
27101 Adjust comments for base varying.
27102 (__expl_finite): Change alias to EXPL_FINITE.
27103 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
27104 e_expl.S.
27105 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
27106 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
27107 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
27108 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
27109 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27110 USE_AS_EXP10L.
27111 (EXPL_FINITE): Likewise.
27112 (FLDLOG): Likewise.
27113 (c0): Likewise.
27114 (c1): Likewise.
27115 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
27116 Adjust comments for base varying.
27117 (__expl_finite): Change alias to EXPL_FINITE.
27118 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
27119 tests for bugs.
27120 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27121
6c23e11c
JM
27122 [BZ #14064]
27123 * math/libm-test.inc (check_float_internal): Correct ulp
27124 calculation for subnormal expected results.
27125
29ba805c
AJ
271262012-05-06 Andreas Jaeger <aj@suse.de>
27127
27128 * Makeconfig (+math-flags): New, set to -frounding-math.
27129 (+cflags): Add +math-flags so that all of glibc gets compiled with
27130 it.
27131
27132 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
27133
7b17aeda
JM
271342012-05-05 Joseph Myers <joseph@codesourcery.com>
27135
5779f134
JM
27136 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
27137 Disable one test.
27138
41498f4d
JM
27139 [BZ #13787]
27140 [BZ #13922]
27141 [BZ #14036]
27142 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
27143 (__ieee754_expl): Allow for and saturate large arguments.
27144 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
27145 (u_threshold): Likewise.
27146 (__exp): Call __ieee754_exp before checking for overflow and
27147 underflow.
27148 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
27149 (u_threshold): Likewise.
27150 (__expf): Call __ieee754_expf before checking for overflow and
27151 underflow.
27152 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
27153 (u_threshold): Likewise.
27154 (__expl): Call __ieee754_expl before checking for overflow and
27155 underflow.
27156 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
27157 (__ieee754_expl): Allow for and saturate large arguments.
27158 * math/libm-test.inc (exp_test): Add another test. Do not allow
27159 missing overflow exception on overflow.
27160 (expm1_test): Do not allow missing overflow exception on overflow.
27161
6698b8bf
JM
27162 * sysdeps/i386/fpu/e_expl.c: Move to ...
27163 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
27164 rather than using inline asm.
27165 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
27166 * sysdeps/x86_64/fpu/e_expl.S: Copy from
27167 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
27168
7b17aeda
JM
27169 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
27170 (nice): Likewise.
27171 (poll): Likewise.
27172 (signal): Likewise.
27173 (time): Likewise.
27174 (times): Likewise.
27175
f7c85819
JM
271762012-05-04 Joseph Myers <joseph@codesourcery.com>
27177
27178 * sysdeps/unix/syscalls.list (adjtime): Add entry from
27179 sysdeps/unix/common/syscalls.list.
27180 (fchmod): Likewise.
27181 (fchown): Likewise.
27182 (ftruncate): Likewise.
27183 (getrusage): Likewise.
27184 (gettimeofday): Likewise.
27185 (setpgid): Likewise.
27186 (setregid): Likewise.
27187 (setreuid): Likewise.
27188 (sigaction): Likewise.
27189 (truncate): Likewise.
27190 (vhangup): Likewise.
27191 * sysdeps/unix/common/syscalls.list: Remove file.
27192 * sysdeps/unix/bsd/Implies: Don't include unix/common.
27193 * sysdeps/unix/sysv/linux/Implies: Likewise.
27194
336270d0
L
271952012-05-04 H.J. Lu <hongjiu.lu@intel.com>
27196
27197 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
27198 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
27199 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
27200 Moved to ...
27201 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
27202 Here.
27203 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
27204 to ...
27205 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
27206 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
27207 to ...
27208 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
27209 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
27210 to ...
27211 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
27212 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
27213 to ...
27214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
27215 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
27216 to ...
27217 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
27218 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
27219 to ...
27220 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
27221 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
27222 to ...
27223 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
27224 Here.
27225 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
27226 to ...
27227 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
27228 Here.
27229 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
27230 to ...
27231 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
27232 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
27233 Moved to ...
27234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
27235 Here.
27236 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
27237 to ...
27238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
27239
d128e450
JM
272402012-05-04 Joseph Myers <joseph@codesourcery.com>
27241
fa8ee516
JM
27242 * sysdeps/unix/common/bits/dirent.h: Remove file.
27243 * sysdeps/unix/common/bits/fcntl.h: Likewise.
27244
d128e450
JM
27245 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
27246 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
27247 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
27248 * sysdeps/unix/bsd/isatty.c: Likewise.
27249 * sysdeps/unix/bsd/tcdrain.c: Likewise.
27250 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
27251 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
27252
ff8faaf0 272532012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 27254
62881be4 27255 [BZ #13563]
31dc8730
AZ
27256 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
27257 long double comparison inaccuracies.
27258 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
27259 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27260
6fef930c
AS
272612012-05-04 Andreas Schwab <schwab@linux-m68k.org>
27262
27263 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
27264 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
27265
8f203e6c
JM
272662012-05-04 Joseph Myers <joseph@codesourcery.com>
27267
27268 [BZ #14049]
27269 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
27270 nonzero digits before rounding a hex value.
27271 * stdlib/tst-strtod.c (tests): Add another test.
27272
5197d9c2
AK
272732012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27274
27275 * sysdeps/s390/fpu/libm-test-ulps: Update.
27276
f0c1dedf
AJ
272772012-05-03 Andreas Jaeger <aj@suse.de>
27278
27279 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
27280 does not get optimized out.
27281 (malloc_opt_barrier): New.
27282
a65ef2ae 272832012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 27284 Roland McGrath <roland@hack.frob.com>
a65ef2ae 27285
2b942cb7 27286 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 27287 intermediate file deletion.
2b942cb7 27288 (generated): Add .symlist files.
a65ef2ae 27289
54b71e02
JM
272902012-05-03 Joseph Myers <joseph@codesourcery.com>
27291
27292 [BZ #13775]
27293 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
27294 Redirect under this condition.
27295 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27296 [__USE_GNU] (__dprintf_chk): Not under this condition.
27297 [__USE_GNU] (__vdprintf_chk): Likewise.
27298 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
27299 under this condition.
27300 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27301 [__USE_XOPEN2K8] (dprintf): Define under this condition.
27302 [__USE_XOPEN2K8] (vdprintf): Likewise.
27303 [__USE_GNU] (__dprintf_chk): Not under this condition.
27304 [__USE_GNU] (__vdprintf_chk): Likewise.
27305 [__USE_GNU] (dprintf): Likewise.
27306 [__USE_GNU] (vdprintf): Likewise.
27307
d3dfcc41
RM
273082012-05-03 Roland McGrath <roland@hack.frob.com>
27309
27310 * elf/Makefile (common-generated): Set this instead of generated for
27311 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
27312 $(all-built-dso)-derived lists.
27313
7ac30cc5
AJ
273142012-05-03 Andreas Jaeger <aj@suse.de>
27315
0c51e550
AJ
27316 * sysdeps/i386/fpu/libm-test-ulps: Update.
27317
7ac30cc5
AJ
27318 * FAQ: Removed.
27319 * FAQ.in: Likewise.
27320 * scripts/gen-FAQ.pl: Likewise.
27321 * manual/install.texi (Installation): Point to online location of
27322 FAQ.
27323 * Makefile (files-for-dist): Remove FAQ.
27324 (FAQ): Remove.
27325
d4c2917f
AM
273262012-05-02 Allan McRae <allan@archlinux.org>
27327
27328 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
27329 (LDFLAGS-reldepmod5.so): Likewise.
27330 (LDFLAGS-reldep6mod1.so): Likewise.
27331 (LDFLAGS-reldep6mod4.so): Likewise.
27332 (LDFLAGS-reldep8mod3.so): Likewise.
27333 (LDFLAGS-unload4mod1.so): Likewise.
27334 (LDFLAGS-unload4mod2.so): Likewise.
27335 (LDFLAGS-tst-initorder): Likewise.
27336 (LDFLAGS-tst-initordera2.so): Likewise.
27337 (LDFLAGS-tst-initordera3.so): Likewise.
27338 (LDFLAGS-tst-initordera4.so): Likewise.
27339 (LDFLAGS-tst-initorderb2.so): Likewise.
27340 (LDFLAGS-noload): Likewise.
27341 (LDFLAGS-next): Likewise.
27342 (LDFLAGS-order2mod1.so): Likewise.
27343 (LDFLAGS-order2mod2.so): Likewise.
27344 (LDFLAGS-tst-initorder2): Likewise.
27345 (LDFLAGS-tst-initorder2a.so): Likewise.
27346 (LDFLAGS-tst-initorder2b.so): Likewise.
27347 (LDFLAGS-tst-initorder2c.so): Likewise.
27348 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
27349
d77f993f
DM
273502012-05-02 David S. Miller <davem@davemloft.net>
27351
27352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27353
171a70b4
PP
273542012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
27355
27356 [BZ #14055]
27357 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
27358
0be196ad
AJ
273592012-05-02 Andreas Jaeger <aj@suse.de>
27360
27361 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
27362 since we manipulate rounding mode.
27363 (CPPFLAGS-test-idouble.c): Likewise.
27364 (CPPFLAGS-test-ifloat.c): Likewise.
27365 (CFLAGS-test-ldouble.c): Likewise.
27366 (CFLAGS-test-double.c): Likewise.
27367 (CFLAGS-test-float.c): Likewise.
27368 (CFLAGS-test-misc.c): Likewise.
27369 (CFLAGS-test-test-fenv.c): Likewise.
27370
4f9d04aa
AZ
273712012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27372
2b942cb7
RM
27373 [BZ #2550]
27374 [BZ #2570]
27375 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
27376 comparisons to determine direction to adjust input.
4f9d04aa 27377
82a79e7d
RM
273782012-05-01 Roland McGrath <roland@hack.frob.com>
27379
f5a01ca9
RM
27380 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
27381 output to the target.
27382
90fe4186
RM
27383 * scripts/localplt.awk: New file.
27384 * elf/Makefile ($(objpfx)check-localplt): Target removed.
27385 (check-localplt-CFLAGS): Variable removed.
27386 ($(all-built-dso:=.jmprel)): New static pattern rule.
27387 (generated): Add those targets.
27388 (localplt-built-dso): New variable.
27389 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
27390
27391 * elf/check-localplt.c: File removed.
27392
82397ed6
RM
27393 * scripts/check-execstack.awk: New file.
27394 * elf/Makefile ($(objpfx)check-execstack): Target removed.
27395 (check-execstack-CFLAGS): Variable removed.
27396 ($(objpfx)check-execstack.h): Target removed.
27397 ($(objpfx)execstack-default): New target.
27398 (generated): Add that instead of check-execstack.h.
27399 ($(all-built-dso:=.phdr)): New static pattern rule.
27400 (generated): Add those targets.
27401 * elf/check-execstack.c: File removed.
27402
82a79e7d
RM
27403 * scripts/check-textrel.awk: New file.
27404 * elf/Makefile ($(objpfx)check-textrel): Target removed.
27405 (check-textrel-CFLAGS): Variable removed.
27406 (all-built-dso): Use := to define.o
27407 ($(all-built-dso:=.dyn)): New static pattern rule.
27408 (generated): Add those targets.
27409 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
27410 * config.make.in (READELF): New substituted variable.
27411 * elf/check-textrel.c: File removed.
27412
62fde54f 274132012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 27414
615605c9
JM
27415 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27416 allow.
27417 * conform/data/ctype.h-data [C99-based standards] (isblank):
27418 Expect function.
27419 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
27420 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
27421 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27422 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
27423 Specify type. Require positive value.
27424 (EILSEQ): Likewise.
27425 (ERANGE): Likewise.
27426 [ISO || POSIX] (EILSEQ): Do not expect.
27427 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
27428 Specify type. Require positive value.
27429 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
27430 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
27431 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
27432 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
27433 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
27434 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
27435 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
27436 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
27437 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
27438 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
27439 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
27440 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
27441 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
27442 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
27443 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
27444 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
27445 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
27446 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
27447 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
27448 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
27449 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
27450 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
27451 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
27452 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
27453 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
27454 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
27455 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
27456 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
27457 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
27458 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
27459 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
27460 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
27461 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
27462 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
27463 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
27464 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
27465 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
27466 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
27467 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
27468 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
27469 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
27470 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
27471 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
27472 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
27473 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
27474 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
27475 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
27476 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
27477 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
27478 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
27479 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
27480 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
27481 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
27482 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
27483 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
27484 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
27485 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
27486 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
27487 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
27488 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
27489 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
27490 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
27491 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
27492 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
27493 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
27494 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
27495 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
27496 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
27497 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
27498 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
27499 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
27500 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
27501 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
27502 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
27503 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
27504 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
27505 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
27506 Require >= 2.
27507 (FLT_ROUNDS): Expect as macro, not constant.
27508 (FLT_MANT_DIG): Use macro-int-constant.
27509 (DBL_MANT_DIG): Likewise.
27510 (LDBL_MANT_DIG): Likewise.
27511 (FLT_DIG): Likewise.
27512 (DBL_DIG): Likewise.
27513 (LDBL_DIG): Likewise.
27514 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
27515 (DBL_MIN_EXP): Likewise.
27516 (LDBL_MIN_EXP): Likewise.
27517 (FLT_MAX_EXP): Use macro-int-constant.
27518 (DBL_MAX_EXP): Likewise.
27519 (LDBL_MAX_EXP): Likewise.
27520 (FLT_MAX_10_EXP): Likewise.
27521 (DBL_MAX_10_EXP): Likewise.
27522 (LDBL_MAX_10_EXP): Likewise.
27523 (FLT_MAX): Use macro-constant.
27524 (DBL_MAX): Likewise.
27525 (LDBL_MAX): Likewise.
27526 (FLT_EPSILON): Use macro-constant. Give upper bound.
27527 (DBL_EPSILON): Likewise.
27528 (LDBL_EPSILON): Likewise.
27529 (FLT_MIN): Likewise.
27530 (DBL_MIN): Likewise.
27531 (LDBL_MIN): Likewise.
27532 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
27533 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
27534 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
27535 [ISO11] (FLT_HAS_SUBNORM): Likewise.
27536 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
27537 [ISO11] (DBL_DECIMAL_DIG): Likewise.
27538 [ISO11] (FLT_DECIMAL_DIG): Likewise.
27539 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
27540 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
27541 [ISO11] (FLT_TRUE_MIN): Likewise.
27542 [ISO11] (LDBL_TRUE_MIN): Likewise.
27543 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27544 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
27545 (SCHAR_MIN): Use macro-int-constant. Specify type.
27546 (SCHAR_MAX): Likewise.
27547 (UCHAR_MAX): Likewise.
27548 (CHAR_MIN): Likewise.
27549 (CHAR_MAX): Likewise.
27550 (MB_LEN_MAX): Use macro-int-constant.
27551 (SHRT_MIN): Use macro-int-constant. Specify type.
27552 (SHRT_MAX): Likewise.
27553 (USHRT_MAX): Likewise.
27554 (INT_MAX): Likewise.
27555 (INT_MIN): Use macro-int-constant. Specify type. Make upper
27556 bound negative.
27557 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
27558 bound with "U".
27559 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27560 bound with "L".
27561 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
27562 bound negative. Suffix upper bound with "L".
27563 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27564 bound with "UL".
27565 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
27566 Specify type.
27567 [C99-based standards] (LLONG_MAX): Likewise.
27568 [C99-based standards] (ULLONG_MAX): Likewise.
27569 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
27570 == 0.
27571 [ISO11] (max_align_t): Require type.
27572 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27573
c9140a62
JM
27574 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
27575 from $CFLAGS, without defining away __attribute__ calls.
27576 (checknamespace): Use $CFLAGS_namespace.
27577
9af0bf29
JM
27578 * conform/conformtest.pl (@keywords): Only include C99 keywords
27579 for standards based on C99 or C11.
27580
343222a2
JM
27581 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
27582 Disable tests.
27583 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
27584 UNIX98]: Likewise.
27585
661f8cf0
JM
27586 * conform/conformtest.pl: Handle "macro-int-constant" and test for
27587 usability of symbols in #if.
27588
ee74b9cb
JM
27589 * conform/conformtest.pl: If macro or constant types start
27590 "promoted:", expect the symbol to be of the following type
27591 promoted by the integer promotions.
62fde54f 27592
aafc49b3
JM
27593 * conform/conformtest.pl: Parse all "constant" and "macro" lines
27594 in one place. Also handle "macro-constant".
27595
fefdf574
JM
27596 * conform/conformtest.pl: Only accept expected macro values with
27597 "==". Parse all "macro" lines in one place.
27598 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
27599
f2d922fe
JM
27600 * conform/conformtest.pl: Handle braced types on "constant" lines
27601 instead of handling "typed-constant".
27602 * conform/data/signal.h-data: Use "constant" instead of
27603 "typed-constant".
27604
d22956c9
JM
27605 * conform/conformtest.pl: Handle "optional-" at start of lines in
27606 one place rather than duplicating several cases. Handle each
27607 format of "macro" line with initial "optional-".
27608
028e2e38
JM
27609 * conform/conformtest.pl: Only accept expected constant or
27610 optional-constant values with "==". Parse all "constant" lines in
27611 one place. Parse all "optional-constant" lines in one place.
27612 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
27613 * conform/data/fmtmsg.h-data: Likewise.
27614 * conform/data/netinet/in.h-data: Likewise.
27615 * conform/data/tar.h-data: Likewise.
27616 * conform/data/limits.h-data: Use "==" form on "constant" and
27617 "optional-constant" lines.
27618
1b8f2850
JM
27619 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
27620 Use -std=c99 for XOPEN2K.
27621 (@knownproblems): Remove.
27622 (newtoken): Don't check %isknown.
27623
a05a144b
JM
27624 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
27625 Do not expect macro.
27626 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
27627 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
27628 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
27629 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
27630 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
27631 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
27632 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
27633 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
27634 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
27635 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
27636 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
27637 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
27638 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
27639 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
27640 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
27641 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
27642 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
27643 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
27644 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
27645 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
27646 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
27647 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
27648 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
27649 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
27650 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
27651 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
27652 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
27653 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
27654 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
27655 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
27656 [XPG3] (acosh): Likewise.
27657 [XPG3] (asinh): Likewise.
27658 [XPG3] (atanh): Likewise.
27659 [XPG3] (cbrt): Likewise.
27660 [XPG3] (expm1): Likewise.
27661 [XPG3] (ilogb): Likewise.
27662 [XPG3] (log1p): Likewise.
27663 [XPG3] (logb): Likewise.
27664 [XPG3] (nextafter): Likewise.
27665 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
27666 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
27667 [XPG3] (remainder): Likewise.
27668 [XPG3] (rint): Likewise.
27669 [XPG3 || XPG4 || UNIX98] (round): Likewise.
27670 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
27671 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
27672 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
27673 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
27674 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
27675 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
27676 [UNIX98 || XOPEN2K] (scalb): Expect.
27677 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
27678 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
27679 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
27680 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
27681 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
27682 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
27683 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
27684 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
27685 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
27686 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
27687 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
27688 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
27689 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
27690 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
27691 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
27692 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
27693 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
27694 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
27695 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
27696 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
27697 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
27698 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
27699 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
27700 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
27701 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
27702 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
27703 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
27704 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
27705 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
27706 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
27707 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
27708 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
27709 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
27710 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
27711 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
27712 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
27713 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
27714 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
27715 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
27716 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
27717 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
27718 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
27719 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
27720 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
27721 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
27722 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
27723 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
27724 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
27725 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
27726 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
27727 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
27728 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
27729 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
27730 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
27731 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
27732 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
27733 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
27734 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
27735 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
27736 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
27737 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
27738 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
27739 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
27740 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
27741 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
27742 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
27743 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
27744 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
27745 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
27746 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
27747 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
27748 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
27749 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
27750 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
27751 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
27752 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
27753 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
27754 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
27755 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
27756 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
27757 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
27758 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
27759 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
27760 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
27761 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
27762 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
27763 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
27764 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
27765 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
27766 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
27767 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
27768 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
27769 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
27770 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
27771 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
27772 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
27773 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
27774 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
27775 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
27776 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
27777 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
27778 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
27779 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
27780 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
27781 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
27782 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
27783 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
27784 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
27785 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
27786 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
27787 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
27788 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
27789 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
27790 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
27791 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
27792 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
27793 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
27794 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
27795 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
27796 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
27797 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
27798 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
27799 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
27800 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
27801 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
27802 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
27803 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
27804 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
27805 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
27806 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
27807 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
27808 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
27809 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
27810 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
27811 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
27812 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
27813 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
27814
73c5ebe3
JM
27815 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
27816 _XOPEN_SOURCE_EXTENDED for XPG4.
27817
39c33b6c
JM
27818 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
27819
62fde54f
JM
27820 * Makeconfig (localtime): Remove variable.
27821 (inst_localtime-file): Likewise.
27822
0741d64c
AS
278232012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27824
27825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27826 Update.
27827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27828 Update.
27829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27830 Update.
27831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27832 Update.
27833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
27834 Update.
27835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
27836 Update.
27837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27838 Update.
27839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
27840 Update.
27841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27842 Update.
27843
7cb029ee
JM
278442012-05-01 Joseph Myers <joseph@codesourcery.com>
27845
27846 [BZ #2550]
27847 [BZ #2570]
27848 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
27849 comparisons to determine direction to adjust input.
27850 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27851 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
27852 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
27853 Likewise.
27854 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
27855 Likewise.
27856 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27857 Likewise.
27858 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
27859 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27860 Likewise.
27861 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27862 Likewise.
27863 * math/libm-test.inc (nexttoward_test): Add more tests.
27864
412bd966
AS
278652012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27866
27867 [BZ #14040]
27868 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
27869 in version GLIBC_2.1, not GLIBC_2.0.
27870 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
27871 Likewise.
27872
9568c0c2
JM
278732012-04-30 Joseph Myers <joseph@codesourcery.com>
27874
adfbc8ac
JM
27875 [BZ #13942]
27876 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
27877 (1 - x) * (1 + x).
27878 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27879 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
27880 * math/libm-test.inc (acos_test): Add more tests.
27881 (asin_test): Likewise.
27882 * sysdeps/i386/fpu/libm-test-ulps: Update.
27883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27884
5ba3cc69
JM
27885 [BZ #14034]
27886 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
27887 of square root.
27888 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
27889 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27890 * math/libm-test.inc (acos_test_tonearest): New function.
27891 (acos_test_towardzero): Likewise.
27892 (acos_test_downward): Likewise.
27893 (acos_test_upward): Likewise.
27894 (asin_test_tonearest): Likewise.
27895 (asin_test_towardzero): Likewise.
27896 (asin_test_downward): Likewise.
27897 (asin_test_upward): Likewise.
27898 (main): Call the new functions.
27899 * sysdeps/i386/fpu/libm-test-ulps: Update.
27900 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27901
9568c0c2
JM
27902 [BZ #13884]
27903 [BZ #13924]
27904 * math/e_exp10.c: Include <float.h>.
27905 (__ieee754_exp10): Handle underflow here rather than multiplying
27906 large negative argument by M_LN10.
27907 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
27908 of __ieee754_expf.
27909 * math/e_exp10l.c: Include <float.h>.
27910 (__ieee754_exp10l): Handle underflow here rather than multiplying
27911 large negative argument by M_LN10l.
27912 * math/libm-test.inc (exp10_test): Add another test. Do not allow
27913 spurious overflow exception on underflow.
27914
5ac3ea17
MP
279152012-04-29 Marek Polacek <polacek@redhat.com>
27916
27917 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
27918 (__fortify_function): New macro.
27919 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
27920 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
27921 __extern_always_inline.
27922 * libio/bits/stdio2.h: Likewise.
27923 * libio/bits/stdio.h: Likewise.
27924 * string/string.h: Likewise.
27925 * string/bits/string3.h: Likewise.
27926 * include/stdio.h: Likewise.
27927 * stdlib/bits/stdlib.h: Likewise.
27928 * stdlib/stdlib.h: Likewise.
27929 * rt/bits/mqueue2.h: Likewise.
27930 * rt/mqueue.h: Likewise.
27931 * posix/bits/unistd.h: Likewise.
27932 * posix/unistd.h: Likewise.
27933 * io/bits/poll2.h: Likewise.
27934 * io/bits/fcntl2.h: Likewise.
27935 * io/fcntl.h: Likewise.
27936 * io/sys/poll.h: Likewise.
27937 * misc/bits/syslog.h: Likewise.
27938 * misc/bits/syslog-ldbl.h: Likewise.
27939 * misc/sys/syslog.h: Likewise.
27940 * socket/bits/socket2.h: Likewise.
27941 * socket/sys/socket.h: Likewise.
27942 * debug/tst-chk1.c: Likewise.
27943 * wcsmbs/bits/wchar2.h: Likewise.
27944 * wcsmbs/bits/wchar-ldbl.h: Likewise.
27945 * wcsmbs/wchar.h: Likewise.
27946
ecf0ebfb
AJ
279472012-04-29 Andreas Jaeger <aj@suse.de>
27948
27949 * Makerules (tests): Remove enable-check-abi protection.
27950 (check-abi-warn): Remove.
27951 (check-abi-%): Remove check-abi-warn usage.
27952
27953 * configure.in: Remove check-abi configure option.
27954 * configure: Regenerated.
27955 * config.make.in (enable-check-abi): Remove.
27956
6d5c57fa
AS
279572012-04-28 Andreas Schwab <schwab@linux-m68k.org>
27958
24c5d07e 27959 [BZ #14033]
ded5180a
AS
27960 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
27961 double functions to double *_finite functions.
27962
7e0d315d
AS
27963 [BZ #13941]
27964 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
27965 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
27966 LDBL_MIN_EXP.
27967 * stdio-common/Makefile (tests): Add tst-sprintf3.
27968 * stdio-common/tst-sprintf3.c: New file.
27969
6d5c57fa
AS
27970 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
27971 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
27972
0749ff8b
JM
279732012-04-28 Joseph Myers <joseph@codesourcery.com>
27974
27975 * conform/conformtest.pl: Remove duplicate typed-constant
27976 handling.
27977
8dbd5d7b
DM
279782012-04-28 David S. Miller <davem@davemloft.net>
27979
27980 * Makerules (%.abilist): Add vpath on sysdep_dirs.
27981 (check-abi-%): Remove AWK script prerequisite and explicit
27982 abilist directory.
27983 (check-abi): Rewrite to just diff the symlist with the abilist.
27984 (config-tls, config-abi-config): Delete, no longer used.
27985 (update-abi-%): Remove AWK script and explicit abilist directory.
27986 (update-abi): Rewrite to simply compare and conditionally copy the
27987 symlist and the sysdep abilist file. Remove update-abi-config
27988 checks.
27989 * abilist/ld.abilist: Remove.
27990 * abilist/libBrokenLocale.abilist: Remove.
27991 * abilist/libanl.abilist: Remove.
27992 * abilist/libcrypt.abilist: Remove.
27993 * abilist/libdl.abilist: Remove.
27994 * abilist/librt.abilist: Remove.
27995 * abilist/libthread_db.abilist: Remove.
27996 * abilist/libutil.abilist: Remove.
27997 * scripts/extract-abilist.awk: Remove.
27998 * scripts/merge-abilist.awk: Remove.
27999 * sysdeps/generic/libcidn.abilist: New file.
28000 * sysdeps/generic/libnss_compat.abilist: New file.
28001 * sysdeps/generic/libnss_db.abilist: New file.
28002 * sysdeps/generic/libnss_dns.abilist: New file.
28003 * sysdeps/generic/libnss_files.abilist: New file.
28004 * sysdeps/generic/libnss_hesiod.abilist: New file.
28005 * sysdeps/generic/libnss_nis.abilist: New file.
28006 * sysdeps/generic/libnss_nisplus.abilist: New file.
28007 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
28008 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
28009 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
28010 file.
28011 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
28012 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
28013 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
28014 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
28015 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
28016 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
28017 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
28018 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
28019 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
28020 file.
28021 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
28022 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
28023 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
28024 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
28025 file.
28026 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
28027 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
28028 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
28029 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
28030 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
28031 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
28032 file.
28033 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
28034 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
28035 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
28036 file.
28037 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
28038 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
28039 New file.
28040 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
28041 New file.
28042 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
28043 New file.
28044 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
28045 New file.
28046 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
28047 New file.
28048 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
28049 New file.
28050 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
28051 New file.
28052 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
28053 New file.
28054 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
28055 New file.
28056 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
28057 New file.
28058 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
28059 New file.
28060 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
28061 New file.
28062 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
28063 New file.
28064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
28065 file.
28066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
28067 New file.
28068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
28069 New file.
28070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
28071 file.
28072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
28073 New file.
28074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
28075 New file.
28076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
28077 file.
28078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
28079 New file.
28080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28081 New file.
28082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
28083 New file.
28084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
28085 New file.
28086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
28087 New file.
28088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
28089 New file.
28090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
28091 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
28092 file.
28093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
28094 New file.
28095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
28096 file.
28097 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
28098 file.
28099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
28100 file.
28101 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
28102 file.
28103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
28104 file.
28105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28106 New file.
28107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
28108 file.
28109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
28110 file.
28111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
28112 New file.
28113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
28114 file.
28115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
28116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
28117 file.
28118 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
28119 New file.
28120 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
28121 file.
28122 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
28123 file.
28124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
28125 file.
28126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
28127 file.
28128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
28129 file.
28130 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28131 New file.
28132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
28133 file.
28134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
28135 file.
28136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
28137 New file.
28138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
28139 file.
28140 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28141 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
28142 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
28143 file.
28144 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
28145 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
28146 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
28147 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
28148 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
28149 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
28150 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
28151 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
28152 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
28153 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
28154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
28155 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
28156 file.
28157 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
28158 New file.
28159 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
28160 file.
28161 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
28162 file.
28163 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
28164 file.
28165 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
28166 file.
28167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
28168 file.
28169 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28170 New file.
28171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
28172 New file.
28173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
28174 file.
28175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
28176 New file.
28177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
28178 file.
28179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
28180 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
28181 file.
28182 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
28183 New file.
28184 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
28185 file.
28186 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
28187 file.
28188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
28189 file.
28190 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
28191 file.
28192 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
28193 file.
28194 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28195 New file.
28196 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
28197 New file.
28198 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
28199 file.
28200 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
28201 New file.
28202 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
28203 file.
28204
41d73a1b
JM
282052012-04-28 Joseph Myers <joseph@codesourcery.com>
28206
28207 * conform/conformtest.pl: Fix typo in handling typed-constant from
28208 allow-header.
28209
28aeeda4
JM
282102012-04-27 Joseph Myers <joseph@codesourcery.com>
28211
adae8f5e
JM
28212 * README: Cut down references to pre-2.6 Linux kernels and
28213 Linuxthreads. Update lists of configurations in libc and ports
28214 and sort alphabetically. Say "or newer" with Linux kernel version
28215 requirements.
28216
28aeeda4
JM
28217 * config.h.in [IS_IN_build]: Allow compiling without optimization.
28218
a462cb63
RA
282192012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28220
28221 [BZ #887]
28222 * math/libm-test.inc (logb_test_downward): New test to expose
28223 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
28224 rounding mode.
28225
6ad3493e
JM
282262012-04-27 Joseph Myers <joseph@codesourcery.com>
28227
28228 [BZ #14027]
28229 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
28230 to be done.
28231 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
28232 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
28233
2ce4f015
JM
282342012-04-26 Joseph Myers <joseph@codesourcery.com>
28235
5aeb141a
JM
28236 * sysdeps/unix/i386/brk.S: Remove file.
28237 * sysdeps/unix/i386/dl-brk.S: Likewise.
28238 * sysdeps/unix/i386/pipe.S: Likewise.
28239 * sysdeps/unix/i386/sigreturn.S: Likewise.
28240 * sysdeps/unix/i386/syscall.S: Likewise.
28241 * sysdeps/unix/i386/vfork.S: Likewise.
28242 * sysdeps/unix/i386/wait.S: Likewise.
28243
7143acae
JM
28244 * sysdeps/unix/common/tcsendbrk.c: Move to ...
28245 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
28246
2ce4f015
JM
28247 * configure.in (arm*-none*): Do not allow without
28248 --enable-hacker-mode.
28249 (netbsd*): Remove case setting base_os.
28250 (386bsd*): Likewise.
28251 (freebsd*): Likewise.
28252 (bsdi*): Likewise.
28253 (osf*): Likewise.
28254 (sunos*): Likewise.
28255 (ultrix*): Likewise.
28256 (newsos*): Likewise.
28257 (dynix*): Likewise.
28258 (*bsd*): Likewise.
28259 (sysv*): Likewise.
28260 (isc*): Likewise.
28261 (esix*): Likewise.
28262 (sco*): Likewise.
28263 (minix*): Likewise.
28264 (irix4*): Likewise.
28265 (irix6*): Likewise.
28266 (solaris[2-9]*): Likewise.
28267 (none): Likewise.
28268 * configure: Regenerated.
28269
0ac229c8
AZ
282702012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28271
28272 [BZ #11521]
28273 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
28274 overflow or cancellation in calculating denominator.
28275 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
28276 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
28277 down expression to avoid unexpected rounding in newer GCCs.
28278 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
28279
33f244f4
DM
282802012-04-26 David S. Miller <davem@davemloft.net>
28281
28282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
28283 long-double compat symbols.
28284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
28288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
28290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
28291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
28292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
28293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
28294 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
28295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
28296 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28297
cfa1f3e8
DM
282982012-04-25 David S. Miller <davem@davemloft.net>
28299
28300 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
28301 HWCAP_* values only after the memory barriers have been defined.
28302 (atomic_full_barrier): Define.
28303 (atomic_read_barrier): Define.
28304 (atomic_write_barrier): Define.
28305
6e236b92
SP
283062012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28307
28308 * shlib-versions: Add libgcc_s version information.
28309 * sysdeps/generic/libgcc_s.h: Remove.
28310 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
28311 libgcc_s.h.
28312 * sysdeps/gnu/unwind-resume.c: Likewise.
28313 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
28314
aab39a09
DM
283152012-04-25 David S. Miller <davem@davemloft.net>
28316
28317 * sysdeps/unix/sparc/brk.S: Delete.
28318 * sysdeps/unix/sparc/dl-brk.S: Delete.
28319 * sysdeps/unix/sparc/pipe.S: Delete.
28320 * sysdeps/unix/sparc/sysdep.S: Delete.
28321 * sysdeps/unix/sparc/sysdep.h: Delete.
28322 * sysdeps/unix/sparc/vfork.S: Delete.
28323 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
28324 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
28325 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
28326 ret_ERRVAL, r0, r1, MOVE): Define.
28327 (JUMPTARGET): Remove.
28328 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
28329 sysdeps/unix/sparc/sysdep.h
28330 (ENTRY, END): Remove.
28331 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28332
a3cc4f48
JM
283332012-04-25 Joseph Myers <joseph@codesourcery.com>
28334
2ed8cda2
JM
28335 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
28336 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
28337 -DIS_IN_build.
28338
35d76d59
JM
28339 * timezone/README: Update upstream location and email address for
28340 tzcode and tzdata.
28341 * timezone/zdump.c: Update from tzcode 2012b.
28342 * timezone/zic.c: Likewise.
28343
a3cc4f48
JM
28344 * configure.in (libc_cv_as_needed): Remove test.
28345 * configure: Regenerated.
28346 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
28347 conditional definition.
28348 [$(have-as-needed) != yes] (no-as-needed): Likewise.
28349 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
28350 * config.make.in (have-as-needed): Remove variable.
28351
ceab42c3
SP
283522012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28353 Paul Pluzhnikov <ppluzhnikov@google.com>
28354
28355 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
28356 strings correctly.
28357
3ce2865f
CLT
283582012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
28359
28360 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
28361 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
28362 * sysdeps/sh/strlen.S: Likewise.
28363
f37e0d68
JM
283642012-04-24 Joseph Myers <joseph@codesourcery.com>
28365
ae186e9a
JM
28366 * sysdeps/unix/fork.S: Remove file.
28367 * sysdeps/unix/i386/fork.S: Likewise.
28368 * sysdeps/unix/sparc/fork.S: Likewise.
28369
b96914af
JM
28370 * sysdeps/unix/system.c: Remove file.
28371 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
28372
f37e0d68
JM
28373 * sysdeps/unix/getegid.S: Remove file.
28374 * sysdeps/unix/geteuid.S: Likewise.
28375
87ef29ca
RM
283762012-04-24 Roland McGrath <roland@hack.frob.com>
28377
83bcd236
RM
28378 * scripts/check-localplt.awk: New file.
28379 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
28380 of diff.
28381 * scripts/data/localplt-generic.data: Add a comment.
28382
87ef29ca
RM
28383 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
28384 NODE when __dir_mkfile failed.
28385 * sysdeps/mach/hurd/symlinkat.c: Likewise.
28386 Reported by Ludovic Courtès <ludo@gnu.org>.
28387
e5a6e567
AJ
283882012-04-24 Andreas Jaeger <aj@suse.de>
28389
28390 * Makerules (common-clean): Also remove gen-as-const-headers
28391 files.
28392
c1820385
JM
283932012-04-24 Joseph Myers <joseph@codesourcery.com>
28394
28395 * Makerules (native-compile): Do not change working directory for
28396 build. Use $(OUTPUT_OPTION) in command.
28397 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
28398
94e02fc4
AZ
283992012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28400
28401 [BZ #13886]
28402 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
28403 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
28404 * math/libm-test.inc (floor_test): Add more tests.
28405 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
28406
3a533ca3
JM
284072012-04-24 Joseph Myers <joseph@codesourcery.com>
28408
940ab4b3
JM
28409 * sysdeps/unix/getdents.c: Remove file.
28410 * sysdeps/unix/sysv/getdents.c: Likewise.
28411 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
28412
90e037bd
JM
28413 * sysdeps/unix/syscalls.list (madvise): Add syscall from
28414 sysdeps/unix/mman/syscalls.list.
28415 (mmap): Likewise.
28416 (mprotect): Likewise.
28417 (msync): Likewise.
28418 (munmap): Likewise.
28419 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
28420 * sysdeps/unix/mman/syscalls.list: Remove.
28421 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
28422
3a533ca3
JM
28423 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
28424 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
28425 * configure: Regenerated.
28426 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
28427 $(libgcc_s_suffix).
28428 * config.make.in (libgcc_s_suffix): Remove variable.
28429
1ad743de
JM
284302012-04-23 Joseph Myers <joseph@codesourcery.com>
28431
4ad451e2
JM
28432 * sysdeps/unix/sysv/gethostname.c: Move to ...
28433 * sysdeps/posix/gethostname.c: ... here.
28434
5e37ce39
JM
28435 * sysdeps/unix/execve.S: Remove file.
28436
1ad743de
JM
28437 * sysdeps/unix/_exit.S: Remove file.
28438
4e681b5b
AJ
284392012-04-23 Andreas Jaeger <aj@suse.de>
28440
28441 [BZ #13739]
28442 * manual/Makefile: Remove make dist support, there's no
28443 need for a stand-alone documentation tar ball.
28444 (TEXI2DVI): Define always, it's not in Makeconfig.
28445 (dist): Removed.
28446 (tar-it): Removed.
28447 (edition): Removed.
28448 (glibc-doc-$(edition).tar): Removed
28449 (%.Z): Removed.
28450 (%.gz): Removed.
28451 (%.uu): Removed.
28452 (ETAGS): Remove, it's in Makeconfig.
28453 (move-if-change): Remove, it's in Makeconfig.
28454
38686a03 284552012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
28456
28457 [BZ #13970]
28458 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
28459 (strtod, strtof, strtold, strtol, strtoul, strtoq)
28460 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
28461 (strtod_l, strtof_l, strtold_l): Remove __wur.
28462 It is not necessarily an error to ignore strtol's return value.
28463 One can reliably look at the stored endptr to decide whether
28464 the number had valid syntax.
28465
7c0616fa
AJ
284662012-04-21 Andreas Jaeger <aj@suse.de>
28467
803cb6b7 28468 [BZ #13739]
7c0616fa
AJ
28469 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
28470
b0fe253f
JM
284712012-04-21 Joseph Myers <joseph@codesourcery.com>
28472
28473 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
28474 * sysdeps/unix/sysv/Versions: Remove file.
28475
8280f22d
MT
284762012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
28477
28478 [BZ #13927]
28479 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28480
75ce411f 284812012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
28482
28483 [BZ #7064]
28484 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
28485 version from __vm86.
28486
097d59fa
JM
284872012-04-20 Joseph Myers <joseph@codesourcery.com>
28488
a90f3bcb
JM
28489 * sysdeps/unix/common/lxstat.c: Remove file.
28490 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
28491
edc7ea78
JM
28492 * sysdeps/unix/sysv/Makefile: Remove file.
28493
cb78c221
JM
28494 * sysdeps/unix/sysv/direct.h: Remove file.
28495
efa6a45f
JM
28496 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
28497 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
28498 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
28499 * sysdeps/unix/sysv/bits/signum.h: Likewise.
28500 * sysdeps/unix/sysv/bits/stat.h: Likewise.
28501 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
28502 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
28503
9c9f2d0c
JM
28504 * sysdeps/unix/sysv/setrlimit.c: Remove file.
28505
4541c83b
JM
28506 * sysdeps/unix/xmknod.c: Remove file.
28507 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
28508
f5d153a0
JM
28509 * sysdeps/unix/sysv/settimeofday.c: Remove file.
28510
aa746595
JM
28511 * sysdeps/unix/sysv/i386/time.S: Remove file.
28512
cce5905e
JM
28513 * sysdeps/unix/fxstat.c: Remove file.
28514 * sysdeps/unix/xstat.c: Likewise.
28515 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
28516
37fa3841
JM
28517 * sysdeps/unix/sysv/sigaction.c: Remove file.
28518
ff1962a3
JM
28519 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
28520 (sysdep_headers): Remove variable.
28521 [termio.h not in sysdep_headers] (generated): Likewise.
28522 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
28523 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
28524 * sysdeps/unix/sysv/tcdrain.c: Likewise.
28525 * sysdeps/unix/sysv/tcflow.c: Likewise.
28526 * sysdeps/unix/sysv/tcflush.c: Likewise.
28527 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
28528 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
28529 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
28530 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
28531 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
28532
e7740d31
JM
28533 * sysdeps/unix/siglist.c: Remove file.
28534
ee06f18b
JM
28535 * sysdeps/unix/getppid.S: Remove file.
28536
097d59fa
JM
28537 * sysdeps/unix/mkdir.c: Remove file.
28538 * sysdeps/unix/rmdir.c: Likewise.
28539
ff3d51ec
AS
285402012-04-19 Andreas Schwab <schwab@linux-m68k.org>
28541
28542 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
28543 ERR_MAX value.
28544 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
28545 errlist-compat value.
28546
50f81fd7
DM
285472012-04-18 David S. Miller <davem@davemloft.net>
28548
28549 * sysdeps/generic/memcopy.h (reg_char): Delete.
28550 * debug/strcat_chk.c: Use char, not reg_char.
28551 * debug/strcpy_chk.c: Likewise.
28552 * debug/strncat_chk.c: Likewise.
28553 * debug/strncpy_chk.c: Likewise.
28554 * string/memchr.c: Likewise.
28555 * string/memrchr.c: Likewise.
28556 * string/rawmemchr.c: Likewise.
28557 * string/strcat.c: Likewise.
28558 * string/strchr.c: Likewise.
28559 * string/strchrnul.c: Likewise.
28560 * string/strcmp.c: Likewise.
28561 * string/strcpy.c: Likewise.
28562 * string/strncat.c: Likewise.
28563 * string/strncmp.c: Likewise.
28564 * string/strncpy.c: Likewise.
28565
8ff41c46
WS
285662012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28567
28568 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
28569 __builtin_memcopy is called when src and dest ranges are known to not
28570 overlap.
28571
6b652f46
WS
285722012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28573
28574 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
28575 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
28576 fwd_align_merge macro call.
28577 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
28578 bwd_align_merge macro call.
28579 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28580
b282631e
WS
285812012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28582
28583 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
28584 bwd_align_merge macros.
28585 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
28586 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
28587 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28588
95aa737c
DM
285892012-04-18 David S. Miller <davem@davemloft.net>
28590
28591 * sysdeps/sparc/sparc64/memcopy.h: Delete.
28592
7a99a614
AJ
285932012-04-18 Andreas Jaeger <aj@suse.de>
28594
28595 [BZ# 6794]
28596 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
28597 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
28598 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28599
28600 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
28601 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
28602 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28603
28604 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
28605 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
28606 Adjust for changed ldbl-128 files.
28607
28608 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
28609 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
28610 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28611
e5270c23
DM
286122012-04-17 David S. Miller <davem@davemloft.net>
28613
28614 * sysdeps/sparc/sparc32/memcopy.h: Delete.
28615
fb5e92c9
AS
286162012-04-17 Andreas Schwab <schwab@linux-m68k.org>
28617
28618 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
28619 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
28620 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
28621 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
28622 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28623 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
28624
76da7265
AZ
286252012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28626
28627 [BZ #6794]
28628 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
28629 * math/libm-test.inc: Add ilogb errno and exception tests.
28630 * math/w_ilogb.c: New file: ilogb wrapper.
28631 * math/w_ilogbf.c: New file: ilogbf wrapper.
28632 * math/w_ilogbl.c: New file: ilogbl wrapper.
28633 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
28634 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
28635 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
28636 exception being thrown with 0.0 as argument.
28637 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
28638 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
28639 exception being thrown with 0.0 as argument.
28640 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
28641 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28642 exception being thrown with 0.0 as argument.
28643 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
28644 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28645 exception being thrown with 0.0 as argument.
28646 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
28647 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 28648 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
28649 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
28650 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
28651 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
28652 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
28653 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
28654 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
28655
0396e69d
PB
286562012-04-17 Petr Baudis <pasky@ucw.cz>
28657
28658 * include/sys/uio.h: Change __vector to __iovec to avoid clash
28659 with altivec.
28660
750b5926
MP
286612012-04-16 Marek Polacek <polacek@redhat.com>
28662
28663 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
28664
751728a1
MP
286652012-04-16 Marek Polacek <polacek@redhat.com>
28666
28667 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
28668 operands of fdivp instruction.
28669
34a27407
L
286702012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28671
28672 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
28673 * elf/tst-auditmod3b.c: Likewise.
28674 * elf/tst-auditmod4b.c: Likewise.
28675 * elf/tst-auditmod5b.c: Likewise.
28676 * elf/tst-auditmod6b.c: Likewise.
28677 * elf/tst-auditmod6c.c: Likewise.
28678 * elf/tst-auditmod7b.c: Likewise.
28679 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
28680 * sysdeps/x86_64/preconfigure.in: Likewise.
28681 * sysdeps/x86_64/preconfigure: Regenerated.
28682
7e73e17d
L
286832012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28684
28685 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
28686 __ILP32__.
28687
c7a6ab72
AB
286882012-04-13 Antoine Balestrat <merkil33@gmail.com>
28689
28690 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28691 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
28692
a9e8e0e0
CL
286932012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
28694
28695 [BZ #13973]
28696 * locale/iso-639.def: Fix gl language name. Spotted by
28697 Yaron Shahrabani.
28698
ec98af7d
RM
286992012-04-12 Roland McGrath <roland@hack.frob.com>
28700
28701 [BZ #2074]
28702 * libio/libio.h (__io_write_fn): Update comment.
28703
247c3ede
PB
287042012-04-12 Petr Baudis <pasky@ucw.cz>
28705
28706 [BZ #2074]
28707 * stdio.texi (Hook Functions): The user provided writer function
28708 is not allowed to return -1.
28709
55939d6d
DM
287102012-04-11 David S. Miller <davem@davemloft.net>
28711
28712 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28713
90020f5a
MF
287142012-04-11 Mike Frysinger <vapier@gentoo.org>
28715
28716 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
28717 Add a leading slash to rtkaio.
28718
288f9098
JM
287192012-04-11 Jim Meyering <meyering@redhat.com>
28720
90020f5a
MF
28721 [BZ #11959]
28722 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
28723 It is not necessarily an error to ignore fwrite's return
28724 value. One can reliably use ferror to test for errors after
28725 the fact.
288f9098 28726
4be2b570
L
287272012-04-10 H.J. Lu <hongjiu.lu@intel.com>
28728
28729 * bits/types.h (__snseconds_t): New type.
28730 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
28731
28732 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
28733 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28734 (__SNSECONDS_T_TYPE): Likewise.
28735 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28736 (__SNSECONDS_T_TYPE): Likewise.
28737 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28738 (__SNSECONDS_T_TYPE): Likewise.
28739
288f9098 287402012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
28741
28742 [BZ #2636]
28743 * manual/time.texi (Processor Time): Return type of times is
28744 elapsed real time since an arbitrary point in the past.
28745 (CPU Time): Move CLK_TCK from here...
28746 (Processor Time): ...to here. Correct description.
28747 * manual/conf.texi (Constants for Sysconf): Correct description of
28748 _SC_CLK_TCK.
28749
d7dd4413
DM
287502012-04-10 David S. Miller <davem@davemloft.net>
28751
28752 [BZ #13967]
28753 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
28754 where the is a gap between DT_REL(A) and DT_JMPREL.
28755
b46068fc
L
287562012-04-10 H.J. Lu <hongjiu.lu@intel.com>
28757
28758 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
28759 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28760 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28761
73d65cc3
SP
287622012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28763
28764 * elf/dl-support.c (_dl_inhibit_cache): New variable.
28765 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
28766 (dl_main): Handle --inhibit-cache.
28767 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
28768 _dl_inhibit_cache.
28769 * elf/dl-load.c (_dl_map_object): Use it.
28770 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
28771
bcc8d661
JM
287722012-04-09 Joseph Myers <joseph@codesourcery.com>
28773
8f9a2fae
JM
28774 [BZ #13872]
28775 * sysdeps/i386/fpu/e_powl.S (p78): New object.
28776 (__ieee754_powl): Saturate large exponents rather than testing for
28777 overflow of y*log2(x).
28778 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28779 * math/libm-test.inc (pow_test): Do not permit spurious overflow
28780 exceptions.
28781
bcc8d661
JM
28782 [BZ #11521]
28783 * math/s_ctan.c: Include <float.h>.
28784 (__ctan): Avoid internal overflow or cancellation in calculating
28785 denominator.
28786 * math/s_ctanf.c: Likewise.
28787 * math/s_ctanl.c: Likewise.
28788 * math/s_ctanh.c: Likewise.
28789 * math/s_ctanhf.c: Likewise.
28790 * math/s_ctanhl.c: Likewise.
28791 * math/libm-test.inc (ctan_test): Add more tests.
28792 (ctanh_test): Likewise.
28793 * sysdeps/i386/fpu/libm-test-ulps: Update.
28794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28795
823fbbb4
AJ
287962012-04-09 Andreas Jaeger <aj@suse.de>
28797
03879793
AJ
28798 [BZ #6894]
28799 * manual/filesys.texi (Directory Entries): Mention that d_namlen
28800 is an optional BSD extension.
28801
823fbbb4
AJ
28802 [BZ #10254]
28803 * manual/stdio.texi (Opening Streams): Document additional fopen
28804 parameters.
28805
8de131cb
RM
288062012-04-09 Roland McGrath <roland@hack.frob.com>
28807
28808 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
28809 %eax without telling the compiler.
28810
c0ed9d7d
CD
288112012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
28812
28813 [BZ # 13963]
28814 * manual/install.texi: Use sourceware.org.
28815
c483f6b4
JM
288162012-04-09 Joseph Myers <joseph@codesourcery.com>
28817
d7dd9453
JM
28818 [BZ #13873]
28819 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
28820 (__ieee754_pow): Generate overflow and underflow using huge*huge
28821 and tiny*tiny rather than just returning constant infinity or zero
28822 for large exponents.
28823 * math/libm-test.inc (pow_test): Require overflow exceptions for
28824 applicable cases of large exponents.
28825
c483f6b4
JM
28826 [BZ #706]
28827 * sysdeps/i386/fpu/e_pow.S (p10): New object.
28828 (__ieee754_pow): Use iterative multiplication algorithm only for
28829 integer exponents with absolute value below 1024. Check for odd
28830 integer exponents when using algorithm for real exponents.
28831 * math/libm-test.inc (pow_test): Add more tests.
28832 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28833
d2de7579
JM
288342012-04-08 Joseph Myers <joseph@codesourcery.com>
28835
28836 [BZ #13705]
28837 * math/libm-test.inc (exp_test): Do not allow overflow exception
28838 on underflow test.
28839
f77f1232
AJ
288402012-04-08 Aurelien Jarno <aurelien@aurel32.net>
28841
28842 [BZ #13705]
28843 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
28844 instead of __kernel_standard_f.
28845
3884932b
MF
288462012-04-08 Mike Frysinger <vapier@gentoo.org>
28847
28848 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
28849 * sysdeps/x86_64/memset_chk.S: Likewise.
28850
54472e9c
AJ
288512012-04-08 Andreas Jaeger <aj@suse.de>
28852
6ab0fbfc
AJ
28853 [BZ #10153]
28854 * manual/startup.texi (Environment Access): Describe return value
28855 for putenv and setenv.
28856
61efba8c
AJ
28857 [BZ #6895]
28858 * manual/filesys.texi (Directory Entries): Add description for
28859 DT_LNK.
28860
95c3f29a
AJ
28861 [BZ #6890]
28862 * manual/filesys.texi (Directory Entries): Clarify that it's file
28863 system not operating system in the description of DT_UNKNOWN.
28864
54472e9c
AJ
28865 [BZ #6578]
28866 * manual/syslog.texi (closelog): Fix reference, it's openlog.
28867
624254b1
SC
288682012-04-08 Stephen Compall <s11@member.fsf.org>
28869
28870 [BZ #6649]
28871 * manual/llio.texi (Opening and Closing Files): Add cross
28872 reference to explain mode argument.
28873
1e4920e0
MF
288742012-04-07 Mike Frysinger <vapier@gentoo.org>
28875
28876 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
28877 * sysdeps/x86_64/memset_chk.S: Likewise.
28878
5ed848f3
DM
288792012-04-07 David S. Miller <davem@davemloft.net>
28880
28881 * elf/elf.h (R_SPARC_WDISP10): Define.
28882 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
28883 R_SPARC_SIZE32.
28884 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
28885 R_SPARC_SIZE64 and R_SPARC_H34.
28886
96154cd8
CD
288872012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
28888
28889 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
28890 conditions and remove no longer applicable assertion.
28891
9904dc47
L
288922012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28893
28894 * bits/byteswap.h: Include <features.h>.
28895 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28896 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28897
f8887d0a
L
288982012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28899
28900 * bits/byteswap.h (__bswap_16): Removed.
28901 Include <bits/byteswap-16.h> to get __bswap_16.
28902 * sysdeps/i386/bits/byteswap.h: Likewise.
28903 * sysdeps/s390/bits/byteswap.h: Likewise.
28904 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28905 * bits/byteswap-16.h: New file.
28906 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28907 * sysdeps/s390/bits/byteswap-16.h: Likewise.
28908 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
28909 * string/Makefile (headers): Add bits/byteswap-16.h.
28910
62470f60
PP
289112012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28912
28913 [BZ #13895]
28914 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
28915 extra indirection.
28916 * nss/Makefile (tests-static, tests): Add tst-nss-static.
28917 * nss/tst-nss-static.c: New.
28918
4dad7bab
RM
289192012-04-06 Robert Millan <rmh@gnu.org>
28920
28921 [BZ #6486]
28922 * manual/llio.texi (File Position Primitive): lseek
28923 refers to WHENCE when it really means OFFSET.
28924
e9142a17
AJ
289252012-04-06 Andreas Jaeger <aj@suse.de>
28926
2c040eff
AJ
28927 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
28928 strncmp declarations.
28929
e9142a17
AJ
28930 * abilist/libc.abilist: Add __poll and __ppoll.
28931
ff9f1c5f
DM
289322012-04-05 David S. Miller <davem@davemloft.net>
28933
dcd2ae90
DM
28934 * scripts/check-local-headers.sh: Accept a host triplet in the
28935 path matched by the exclude regexp.
28936
993eb054
DM
28937 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
28938 definition.
28939 * sysdeps/powerpc/powerpc32/dl-machine.h
28940 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
28941 * sysdeps/s390/s390-32/dl-machine.h
28942 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28943 * sysdeps/sparc/sparc32/dl-machine.h
28944 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28945 * sysdeps/sparc/sparc64/dl-machine.h
28946 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28947
ff9f1c5f
DM
28948 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
28949 lazy binding.
48e2e132 28950 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
28951 undefined symbol errors.
28952
48e2e132 28953 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
28954 DT_NEEDED entries.
28955
e80d6f94
MM
289562012-04-05 Michael Matz <matz@suse.de>
28957
28958 [BZ #13592]
28959 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
28960
349fa79f
AJ
289612012-04-05 Andreas Jaeger <aj@suse.de>
28962
28963 [BZ #13908]
28964 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
28965 comment.
28966
f402708f
KK
289672012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28968
28969 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
28970 which ROUND is no valid rounding mode.
28971
2ecccfc9
KK
289722012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28973
28974 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
28975 read again.
28976 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
28977
8a53f50f
KK
289782012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28979
28980 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
28981 an exception using FPU order intentionally.
28982
289832012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28984
28985 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
28986 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
28987 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
28988 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
28989
d653abb7
SJ
289902012-04-05 Simon Josefsson <simon@josefsson.org>
28991
28992 [BZ #12340]
28993 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
28994 EINVAL when BUFLEN is too smal.
28995
c3b1bf7d
TS
289962012-04-05 Thomas Schwinge <thomas@codesourcery.com>
28997
28998 [BZ #13553]
28999 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
29000 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
29001
b1aa60f3
AJ
290022012-04-03 Andreas Jaeger <aj@suse.de>
29003
c3b1bf7d 29004 [BZ #13938]
67f60a26
AJ
29005 * manual/setjmp.texi (System V contexts): Fix sentence.
29006
b1aa60f3
AJ
29007 [BZ #13926]
29008 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
29009 New macro for this case.
29010 [!__GNUC__] (__bswap_64): New inline function for this case.
29011 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29012 * bits/byteswap.h: Likewise.
29013 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
29014 ull, guard with __GLIBC_HAVE_LONG_LONG.
29015
29016 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
29017 __GLIBC_HAVE_LONG_LONG.
29018
29019 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
29020 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
29021
39c59c35
TMQMF
290222012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29023
29024 [BZ #13691]
29025 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
29026 inptr and inend, rather than using last_ch.
29027
135ffda8
DM
290282012-04-02 David S. Miller <davem@davemloft.net>
29029
29030 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
29031 * stdio-common/printf-parse.h (read_int): Change return type to
29032 'int', return -1 on INT_MAX overflow.
29033 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
29034 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
29035 overflows INT_MAX. Check for overflow of in-format-string precision
29036 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
29037 SIZE_MAX not INT_MAX for integer overflow test.
29038 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
29039 skip the construct in the format string but do not record anything.
29040 * stdio-common/bug22.c: Adjust to test both width/prevision
29041 INT_MAX overflow as well as total length INT_MAX overflow. Check
29042 explicitly for proper errno values.
29043
228c019e
TS
290442012-04-02 Thomas Schwinge <thomas@codesourcery.com>
29045
302cadd3
TS
29046 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
29047 CHAR_MAX.
29048 * string/test-strcmp.c [! WIDE]: Likewise.
29049 * time/tst-mktime2.c: Likewise for INT_MAX.
29050 * string/test-string.h: #include <sys/param.h> for MIN.
29051
228c019e
TS
29052 * csu/init-first.c (__libc_init_first): Call __ctype_init.
29053 * sysdeps/i386/init-first.c (init): Likewise.
29054 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
29055 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
29056 * sysdeps/sh/init-first.c (init): Likewise.
29057
cfa633f5
UD
290582012-04-01 Ulrich Drepper <drepper@gmail.com>
29059
29060 * po/ru.po: Update from translation team.
d1635ef8 29061 * po/vi.po: Likewise.
cfa633f5 29062
6cd0a5ea
SP
290632012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
29064
29065 * resolv/nss_dns/dns-host.c: Merge copyright years.
29066
4b43400f
LD
290672012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29068
29069 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29070 Optimize memcpy with prefetch if
29071 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
29072 src, dst pointers have unequal 16 byte alignments.
29073
48c41d04
SP
290742012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29075
29076 [BZ #13928]
29077 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
29078 from a CNAME entry and return the minimum ttl for the query.
29079 (gaih_getanswer_slice): Likewise.
29080
b8dc394d
JL
290812012-03-30 Jeff Law <law@redhat.com>
29082
29083 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
29084 due to long keys.
29085 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
29086 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
29087
2f5a5ed0
JL
29088 * resolv/nss_dns/dns-host.c: Update copyright year.
29089
1d39e359
UD
290902012-03-30 Ulrich Drepper <drepper@gmail.com>
29091
c030f70c 29092 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 29093 requests to save a system call. Fix check that all bytes are sent.
c030f70c 29094
1d39e359
UD
29095 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
29096 comments for sendmmsg.
29097
290982012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
29099
29100 [BZ #13691]
29101 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
29102 with only 1 character between 0x0041 and 0x01b0.
29103 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
29104 * wcsmbs/tst-mbsnrtowcs.c: New file.
29105
20fde227
DM
291062012-03-29 David S. Miller <davem@davemloft.net>
29107
29108 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
29109 small copies by hand.
29110
984a4237
JL
291112012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29112
29113 [BZ #13761]
29114 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
29115 _nss_compat_initgroups_dyn): Fall back to malloc/free
29116 for large group memberships.
29117
18c9d62b
DM
291182012-03-28 David S. Miller <davem@davemloft.net>
29119
88d85d4f
DM
29120 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
29121 that branches into memcpy.
29122 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
29123 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
29124 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29125 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
29126 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
29127 bits.
29128 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
29129 implementation too.
29130 * sysdeps/sparc/mempcpy.S: New file.
29131
e5aa83e1
DM
29132 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
29133 the IFUNC routine in the libc case.
29134 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29135
88570753
DM
29136 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
29137 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
29138 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
29139 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
29140 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
29141 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
29142 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
29143 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
29144
249d7567
DM
29145 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
29146 loop to 256 bytes instead of 64 bytes and fix test signedness.
29147
18c9d62b
DM
29148 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
29149 * sysdeps/sparc/sparc32/Makefile: rather than here...
29150 * sysdeps/sparc/sparc64/Makefile: and here.
29151
05f3d1f6
UD
291522012-03-28 Ulrich Drepper <drepper@gmail.com>
29153
29154 * malloc/mallocbug.c: Avoid warnings about unused variables.
29155
86ae07a8
JL
291562012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29157
29158 [BZ #13760]
29159 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
29160 in the right place. Discard and retry query if response is
29161 larger than input buffer size.
29162
41bf21a1
JM
291632012-03-28 Joseph Myers <joseph@codesourcery.com>
29164
d6270972
JM
29165 [BZ #369]
29166 [BZ #2678]
29167 [BZ #3866]
29168 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
29169 x for large integer exponent.
29170 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29171 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
29172 sign of result as needed afterwards.
29173 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
29174 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
29175 result for underflowing pow the same as for overflow.
29176 (__kernel_standard_l): Handle powl overflow and underflow here
29177 rather than calling __kernel_standard.
29178 * math/libm-test.inc (pow_test): Add more tests.
29179
414fca03 29180 [BZ #3868]
41bf21a1
JM
29181 [BZ #13879]
29182 [BZ #13910]
29183 [BZ #13911]
29184 [BZ #13912]
29185 [BZ #13913]
29186 [BZ #13915]
29187 [BZ #13916]
29188 [BZ #13917]
29189 [BZ #13918]
29190 [BZ #13919]
29191 [BZ #13920]
29192 [BZ #13921]
29193 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
29194 * sysdeps/ieee754/k_standard.c: Include <float.h>.
29195 (__kernel_standard_l): New function.
29196 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
29197 __kernel_standard.
29198 * math/w_acosl.c (__acosl): Likewise.
29199 * math/w_asinl.c (__asinl): Likewise.
29200 * math/w_atan2l.c (__atan2l): Likewise.
29201 * math/w_atanhl.c (__atanhl): Likewise.
29202 * math/w_coshl.c (__coshl): Likewise.
29203 * math/w_exp10l.c (__exp10l): Likewise.
29204 * math/w_exp2l.c (__exp2l): Likewise.
29205 * math/w_fmodl.c (__fmodl): Likewise.
29206 * math/w_hypotl.c (__hypotl): Likewise.
29207 * math/w_j0l.c (__j0l, __y0l): Likewise.
29208 * math/w_j1l.c (__j1l, __y1l): Likewise.
29209 * math/w_jnl.c (__jnl, __ynl): Likewise.
29210 * math/w_lgammal.c (__lgammal): Likewise.
29211 * math/w_log10l.c (__log10l): Likewise.
29212 * math/w_log2l.c (__log2l): Likewise.
29213 * math/w_logl.c (__logl): Likewise.
29214 * math/w_powl.c (__powl): Likewise.
29215 * math/w_remainderl.c (__remainderl): Likewise.
29216 * math/w_scalbl.c (sysv_scalbl): Likewise.
29217 * math/w_sinhl.c (__sinhl): Likewise.
29218 * math/w_sqrtl.c (__sqrtl): Likewise.
29219 * math/w_tgammal.c (__tgammal): Likewise.
29220 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
29221 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
29222 * math/libm-test.inc (acos_test): Add more tests.
29223 (acosh_test): Likewise.
29224 (asin_test): Likewise.
29225 (atanh_test): Likewise.
29226 (exp_test): Likewise.
29227 (exp10_test): Likewise.
29228 (exp2_test): Likewise.
29229 (expm1_test): Likewise.
29230 (lgamma_test): Likewise.
29231 (log_test): Likewise.
29232 (log10_test): Likewise.
29233 (log1p_test): Likewise.
29234 (log2_test): Likewise.
29235 (pow_test): Do not allow some spurious overflow exceptions.
29236 (sqrt_test): Add more tests.
29237 (tgamma_test): Likewise.
29238 (y0_test): Likewise.
29239 (y1_test): Likewise.
29240 (yn_test): Likewise.
29241
dd62fda6
AB
292422012-03-27 Anton Blanchard <anton@samba.org>
29243
29244 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
29245 MAP_HUGETLB.
29246 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29247 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29248 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29249
1e3cdfda
AJ
292502012-03-27 David S. Miller <davem@davemloft.net>
29251
b855ab85
DM
29252 * conform/Makefile: Run run-conformtest.sh using $(BASH).
29253
1e3cdfda
AJ
29254 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
29255 have-as-vis3 check.
29256
292572012-03-27 Andreas Jaeger <aj@suse.de>
29258
29259 * sysdeps/x86_64/elf/configure.in: Moved to ...
29260 * sysdeps/x86_64/configure.in: ... here.
29261 * sysdeps/x86_64/elf/start.S: Moved to ...
29262 * sysdeps/x86_64/start.S: ... here.
29263 * sysdeps/x86_64/elf/configure: Delete.
29264
29265 * sysdeps/x86_64/configure.in: Merge contents from
29266 sysdeps/i386/configure.in (without i686 check).
29267
29268 * sysdeps/i386/elf/Versions: Merge into ...
29269 * sysdeps/i386/Versions: ... this.
29270 * sysdeps/i386/elf/Versions: Delete file.
29271 * sysdeps/i386/elf/start.S: Moved to ...
29272 * sysdeps/i386/start.S: ...here.
29273 * sysdeps/i386/elf/configure.in: Merge into...
29274 * sysdeps/i386/configure.in: ...here.
29275 * sysdeps/i386/elf/configure.in: Delete file.
29276 * sysdeps/i386/elf/configure: Delete file.
29277
29278 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
29279 * debug/backtracesyms.c: ... here.
29280 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
29281 * debug/backtracesymsfd.c: ... here.
29282 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
29283 * sysdeps/generic/ifunc-sel.h: ... here.
29284
29285 * sysdeps/unix/i386/start.c: Delete file.
29286 * sysdeps/unix/sparc/start.c: Delete file.
29287 * sysdeps/unix/start.c: Delete file.
29288
29289 * sysdeps/sh/elf/configure.in: Moved to ...
29290 * sysdeps/sh/configure.in: ... here.
29291 * sysdeps/sh/elf/start.S: Moved to ...
29292 * sysdeps/sh/start.S: ... here.
29293 * sysdeps/sh/elf/configure: Delete file.
29294
29295 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
29296 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
29297 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
29298 * sysdeps/powerpc/powerpc64/entry.h: ... here.
29299 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
29300 * sysdeps/powerpc/powerpc64/start.S: here.
29301 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
29302 * sysdeps/powerpc/powerpc64/Makefile: ... this.
29303 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
29304 * sysdeps/powerpc/powerpc64/configure.in: ... this.
29305 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
29306
29307 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
29308 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
29309 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
29310 * sysdeps/powerpc/powerpc32/start.S: ... here.
29311 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
29312 * sysdeps/powerpc/powerpc32/configure.in: ... this.
29313 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
29314
29315 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
29316 * sysdeps/powerpc/ifunc-sel.h: ... here.
29317 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
29318 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
29319
29320 * sysdeps/sparc/elf/configure.in: Moved to ...
29321 * sysdeps/sparc/configure.in: ... here.
29322 * sysdeps/sparc/elf/configure: Delete file.
29323 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
29324 * sysdeps/sparc/sparc32/start.S: ... here.
29325 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
29326 * sysdeps/sparc/sparc64/start.S: ... here.
29327 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
29328 * sysdeps/sparc/sparc32/Makefile: ... this.
29329 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
29330 * sysdeps/sparc/sparc64/Makefile: ... this.
29331
29332 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
29333 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
29334 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
29335 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
29336 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
29337 * sysdeps/s390/s390-32/setjmp.S: ... here.
29338 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
29339 * sysdeps/s390/s390-32/configure.in: ... here.
29340 * sysdeps/s390/s390-32/elf/configure: Delete file.
29341 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
29342 * sysdeps/s390/s390-32/start.S: ... here.
29343
29344 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
29345 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
29346 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
29347 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
29348 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
29349 * sysdeps/s390/s390-64/setjmp.S: ... here.
29350 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
29351 * sysdeps/s390/s390-64/configure.in: ... here
29352 * sysdeps/s390/s390-64/elf/configure: Delete file.
29353 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
29354 * sysdeps/s390/s390-64/start.S: ... here.
29355 * sysdeps/s390/s390-64/elf/configure: Delete.
29356
29357 * configure.in: Remove support for elf directories in sysdeps.
29358
29359 * configure: Regenerated.
29360 * sysdeps/i386/configure: Regenerated.
29361 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29362 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29363 * sysdeps/s390/s390-32/configure: Regenerated.
29364 * sysdeps/s390/s390-64/configure: Regenerated.
29365 * sysdeps/sh/configure: Regenerated.
29366 * sysdeps/sparc/configure: Regenerated.
29367 * sysdeps/x86_64/configure: Regenerated.
29368
a3f61311
AS
293692012-03-26 Andreas Schwab <schwab@linux-m68k.org>
29370
c876e002
AS
29371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29372
a3f61311
AS
29373 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
29374 denormal result into account.
29375
ac4c54f0
RM
293762012-03-25 Roland McGrath <roland@hack.frob.com>
29377
29378 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
29379 Reported by Allan McRae <allan@archlinux.org>.
29380
6a9b9c02
JL
293812012-03-23 Jeff Law <law@redhat.com>
29382
29383 * nss/getnssent.c (__nss_getent): Fix typo.
29384
4c42a0c1
DM
293852012-03-23 David S. Miller <davem@davemloft.net>
29386
29387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29388
1532c7ac
L
293892012-03-23 H.J. Lu <hongjiu.lu@intel.com>
29390
29391 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
29392 to pad to uint64_t for each field.
29393 (dl_tls_index): Replace unsigned long with uint64_t.
29394
3ff42526
PP
293952012-03-23 Daniel Jacobowitz <dmj@google.com>
29396 Paul Pluzhnikov <ppluzhnikov@google.com>
29397
29398 [BZ #6528]
29399 * grp/Makefile (otherlibs): Don't set it.
29400 * inet/Makefile (otherlibs): Likewise.
29401 * login/Makefile (otherlibs): Likewise.
29402 * nscd/Makefile (otherlibs): Likewise.
29403 * posix/Makefile (otherlibs): Likewise.
29404 * pwd/Makefile (otherlibs): Likewise.
29405 * rt/Makefile (otherlibs): Likewise.
29406 * sunrpc/Makefile (otherlibs): Likewise.
29407 * nss/Makefile (otherlibs): Likewise.
29408 Add libnss_files to routines and static-only-routines.
29409 ($(objpfx)getent): Remove rule.
29410 * resolv/Makefile: Add libnss_dns and libresolv to routines and
29411 static-only-routines.
29412
7c69cd14
JM
294132012-03-22 Joseph Myers <joseph@codesourcery.com>
29414
29415 [BZ #13892]
29416 * math/s_cexp.c: Include <float.h>.
29417 (__cexp): Handle exp result overflowing not necessarily
29418 overflowing both real and imaginary parts of result.
29419 * math/s_cexpf.c: Likewise.
29420 * math/s_cexpl.c: Likewise.
29421 * math/libm-test.inc (cexp_test): Add more tests.
29422 * sysdeps/i386/fpu/libm-test-ulps: Update.
29423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29424
81b035fe
L
294252012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29426
29427 * include/link.h (ELFW): New macro.
29428 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
29429 Replace ELF64_R_TYPE with ELFW(R_TYPE).
29430
1da7940c
L
294312012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29432
29433 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
29434 with uint64_t.
29435
b749dbb9
L
294362012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29437
29438 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
29439 declaration.
29440 (struct La_x32_retval): Likewise.
29441
2ff87f3f
L
294422012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29443
29444 * sysdeps/x86_64/preconfigure.in: New file.
29445 * sysdeps/x86_64/preconfigure: New generated file.
29446
c0df8e69
JM
294472012-03-22 Joseph Myers <joseph@codesourcery.com>
29448
48e44791
JM
29449 [BZ #13824]
29450 * math/e_exp2l.c: Include <float.h>.
29451 (__ieee754_exp2l): Handle overflow and underflow cases
29452 separately. Only pass fractional part of argument to
29453 __ieee754_expl.
29454 * math/libm-test.inc (exp2_test): Add more tests.
29455
c0df8e69
JM
29456 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
29457 negating x to take absolute value.
29458 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
29459 Likewise.
29460 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29461 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
29462 Likewise.
29463 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
29464 computing low part if x was negated.
29465 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29466
c8e43ba7
L
294672012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29468
29469 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
29470 la_x32_gnu_pltexit.
29471 (pltexit): Cast int_retval to ptrdiff_t.
29472 * elf/tst-auditmod3b.c: Likewise.
29473 * elf/tst-auditmod4b.c: Likewise.
29474 * elf/tst-auditmod5b.c: Likewise.
29475 * elf/tst-auditmod6b.c: Likewise.
29476 * elf/tst-auditmod6c.c: Likewise.
29477 * elf/tst-auditmod7b.c: Likewise.
29478
29479 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
29480 and x32_gnu_pltexit.
29481
29482 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
29483 __ELF_NATIVE_CLASS.
29484 (La_x32_regs): New macro.
29485 (La_x32_retval): Likewise.
29486 (la_x32_gnu_pltenter): New function prototype.
29487 (la_x32_gnu_pltexit): Likewise.
29488
7998fa78
AS
294892012-03-21 Andreas Schwab <schwab@linux-m68k.org>
29490
dcb33988
AS
29491 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
29492 exponent.
29493
233fc563
AS
29494 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29495
7998fa78
AS
29496 * configure.in (libc_cv_cc_nofma): Check for option to disable
29497 generation of FMA instructions.
29498 * configure: Regenerate.
29499 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
29500 * sysdeps/ieee754/dbl-64/Makefile: New file.
29501 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29502 Remove brandred-fma4.
29503 (CFLAGS-brandred-fma4.c): Remove.
29504 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
29505 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
29506 define.
29507 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
29508 define.
29509
8e95c99a
L
295102012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29511
29512 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29513 LLONG_MAX != LONG_MAX.
29514 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29515 (_fitoa_word): Likewise.
29516 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
29517 LLONG_MAX != LONG_MAX.
29518 * stdio-common/_itowa.h: Include <_itoa.h>.
29519 (_itowa_word): Use _ITOA_WORD_TYPE on value.
29520 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
29521 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
29522 only if not defined.
29523 (_ITOA_WORD_TYPE): Likewise.
29524 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29525 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
29526
6f4db457
DM
295272012-03-21 David S. Miller <davem@davemloft.net>
29528
29529 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29530
7785fe5a
L
295312012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29532
29533 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
29534 of x86_64 when setting libc_cv_slibdir, libdir and
29535 libc_cv_localedir.
29536 * sysdeps/unix/sysv/linux/configure: Regenerated.
29537
4535cd55
JM
295382012-03-21 Joseph Myers <joseph@codesourcery.com>
29539
29540 * manual/lang.texi (Old Varargs): Remove section.
29541 (How Variadic): Update menu.
29542 (va_start): Do not mention varargs.h.
29543
17228132
TS
295442012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29545 Joseph Myers <joseph@codesourcery.com>
29546
29547 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
29548 link test.
29549 * configure: Regenerated.
29550
8149f976
TS
295512012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29552
05f3d1f6
UD
29553 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
29554 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
29555 conformtest.pl
8149f976 29556
1a4ac776
JM
295572012-03-21 Joseph Myers <joseph@codesourcery.com>
29558
be22ce65
JM
29559 * NOTES: Remove.
29560 * Makefile (files-for-dist): Remove NOTES.
29561 (NOTES): Remove rule.
29562 * README: Don't refer to NOTES.
29563 * manual/creature.texi: Don't include macros.texi.
29564 * manual/intro.texi (creature.texi): Remove comment referring to
29565 NOTES.
29566
40b601fb
JM
29567 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
29568 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
29569 * configure: Regenerated.
29570 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
29571 LIBC_TRY_CC_OPTION.
29572 (libc_cv_as_i686): Likewise.
29573 (libc_cv_cc_avx): Likewise.
29574 (libc_cv_cc_sse2avx): Likewise.
29575 (libc_cv_cc_fma4): Likewise.
29576 (libc_cv_cc_novzeroupper): Likewise.
29577 * sysdeps/i386/configure: Regenerated.
29578
1a4ac776
JM
29579 [BZ #13883]
29580 * sysdeps/i386/fpu/s_cexp.S: Remove.
29581 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29582 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29583 * math/libm-test.inc (cexp_test): Add more tests.
29584 * sysdeps/i386/fpu/libm-test-ulps: Update.
29585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29586
a458e7fe
AM
295872012-03-21 Allan McRae <allan@archlinux.org>
29588
29589 * timezone/Makefile: Do not install iso3166.tab and zone.tab
29590
0cb7efc5
JM
295912012-03-21 Joseph Myers <joseph@codesourcery.com>
29592
29593 [BZ #13871]
29594 * math/w_exp2.c: Do not include <float.h>.
29595 (o_threshold, u_threshold): Remove.
29596 (__exp2): Calculate result before checking finiteness and calling
29597 __kernel_standard.
29598 * math/w_exp2f.c: Likewise.
29599 * math/w_exp2l.c: Likewise.
29600 * math/libm-test.inc (exp2_test): Require overflow exception for
29601 1e6 input.
2460d3aa
JM
29602
29603 [BZ #3866]
29604 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
29605 range of signed 64-bit integers before using fistpll. Remove
29606 checks for whether integers fit in mantissa bits.
29607 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
29608 the range of signed 32-bit integers before using fistpl. Remove
29609 checks for whether integers fit in mantissa bits.
29610 * sysdeps/i386/fpu/e_powl.S (p64): New object.
29611 (__ieee754_powl): Test for y outside the range of signed 64-bit
29612 integers before using fistpll. Reduce 64-bit values to 63-bit
29613 ones as needed.
29614 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
29615 divide-by-zero is raised for zero to large negative powers.
29616 * sysdeps/x86_64/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 * math/libm-test.inc (pow_test): Add more tests.
29621
eb96ffb0
L
296222012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29623
29624 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
29625 <stdio-common/_itoa.h>.
29626 * debug/segfault.c: Likewise.
29627 * elf/dl-cache.c: Likewise.
29628 * elf/dl-minimal.c: Likewise.
29629 * elf/dl-misc.c: Likewise.
29630 * elf/dl-sysdep.c: Likewise.
29631 * elf/dl-version.c: Likewise.
29632 * elf/rtld.c: Likewise.
29633 * hurd/hurdsock.c: Likewise.
29634 * hurd/lookup-retry.c: Likewise.
29635 * malloc/malloc.c: Likewise.
29636 * malloc/mtrace.c: Likewise.
29637 * nscd/nscd_getgr_r.c: Likewise.
29638 * nscd/nscd_getpw_r.c: Likewise.
29639 * nscd/nscd_getserv_r.c: Likewise.
29640 * posix/getopt_init.c: Likewise.
29641 * posix/wordexp.c: Likewise.
29642 * stdio-common/_itoa.c: Likewise.
29643 * stdio-common/printf_fphex.c: Likewise.
29644 * stdio-common/vfprintf.c: Likewise.
29645 * string/_strerror.c: Likewise.
29646 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
29647 * sysdeps/i386/i686/hp-timing.h: Likewise.
29648 * sysdeps/mach/_strerror.c: Likewise.
29649 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
29650 * sysdeps/mach/hurd/sethostid.c: Likewise.
29651 * sysdeps/mach/hurd/xmknodat.c: Likewise.
29652 * sysdeps/mach/xpg-strerror.c: Likewise.
29653 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29654 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29655 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
29656 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
29657 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29658 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
29659 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
29660 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
29661 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
29662 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
29663 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
29664 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29665 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
29666 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
29667 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
29668 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
29669 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
29670 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
29671 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
29672 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
29673 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
29674
29675 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
29676
29677 * stdio-common/_itoa.h: Moved to ...
29678 * sysdeps/generic/_itoa.h: Here.
29679
29680 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
29681
29682 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
29683 instead of "_itoa.h" and "_itowa.h".
29684 * stdio-common/vfprintf.: Likewise.
29685
d1af992d
L
296862012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29687
29688 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
29689 <bits/wordsize.h>.
29690 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
29691 (__signbit): Likwise.
29692 (llrintf): Likwise.
29693 (llrint): Likwise.
29694
114883e0
L
296952012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29696
29697 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
29698 __WORDSIZE != 64.
29699
c135cc1b
JM
297002012-03-20 Joseph Myers <joseph@codesourcery.com>
29701
29702 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
29703 OVERFLOW_EXCEPTION_OK.
29704 * math/libm-test.inc ("Philosophy"): Update comment about
29705 exception testing.
29706 (OVERFLOW_EXCEPTION): Define.
29707 (OVERFLOW_EXCEPTION_OK): Likewise.
29708 (INVALID_EXCEPTION_OK): Renumber.
29709 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29710 (IGNORE_ZERO_INF_SIGN): Likewise.
29711 (test_exceptions): Handle FE_OVERFLOW.
29712 (exp10_test): Expect overflow exceptions.
29713 (exp2_test): Likewise.
29714 (expm1_test): Likewise.
29715 (nextafter_test): Likewise.
29716 (pow_test): Likewise.
29717 (scalbn_test): Likewise.
29718 (scalbln_test): Likewise.
29719
95443d88
L
297202012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29721
29722 * sysdeps/x86_64/bits/atomic.h
29723 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
29724 64bit integer.
29725 (atomic_exchange_acq): Likewise.
29726 (__arch_exchange_and_add_body): Likewise.
29727 (__arch_add_body): Likewise.
29728 (atomic_add_negative): Likewise.
29729 (atomic_add_zero): Likewise.
29730
490df6c4
L
297312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29732
c2722551 29733 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
29734 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
29735
5e52b189
L
297362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29737
29738 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
29739 Check __x86_64__ instead of __WORDSIZE.
29740
a9879d4c
L
297412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29742
29743 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
29744
5df98260
DM
297452012-03-19 David S. Miller <davem@davemloft.net>
29746
e1497744
DM
29747 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29748
5df98260
DM
29749 * sysdeps/sparc/fpu/fenv_private.h: New file.
29750 * sysdeps/sparc/fpu/math_private.h: Use it.
29751 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
29752 Remove.
29753 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
29754 (libc_feholdexcept_setroundl): Remove.
29755 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
29756 Remove.
29757 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
29758 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
29759
b4c35121
L
297602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29761
29762 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
29763 int64_t instead of long int.
29764 (INSERT_WORDS64): Likwise.
29765
56965fd7
L
297662012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29767
29768 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
29769 _Unwind_GetCFA return to _Unwind_Ptr first.
29770
83d1aec8
JM
297712012-03-19 Joseph Myers <joseph@codesourcery.com>
29772
1897ad44
JM
29773 [BZ #13629]
29774 * math/s_clog.c: Include <float.h>.
29775 (__clog): Scale large or subnormal inputs.
29776 * math/s_clogf.c: Likewise.
29777 * math/s_clogl.c: Likewise.
29778 * math/s_clog10.c: Include <float.h>.
29779 (M_LOG10_2): Define.
29780 (__clog10): Scale large or subnormal inputs.
29781 * math/s_clog10f.c: Likewise.
29782 * math/s_clog10l.c: Likewise.
29783 * math/libm-test.inc (clog_test): Add more tests.
29784 (clog10_test): Likewise.
29785 * sysdeps/i386/fpu/libm-test-ulps: Update.
29786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29787
7726d6a9
JM
29788 [BZ #11451]
29789 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
29790 x and y.
29791 * math/libm-test.inc (atan2_test): Add another test.
29792
83d1aec8
JM
29793 * Makerules (common-objdir-compile): Remove.
29794 * sysdeps/unix/Makefile (config-generated): Do not add
29795 $(unix-generated) to variable.
29796 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
29797 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
29798 Remove rule.
29799 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
29800 Likewise.
29801 [generic bits/local_lim.h] (before-compile): Do not append to
29802 variable.
29803 [generic bits/local_lim.h] (common-generated): Likewise.
29804 [generic sys/param.h] (before-compile): Do not append to variable.
29805 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
29806 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
29807 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
29808 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
29809 include.
29810 [generic sys/param.h] (sys/param.h-includes): Remove variable.
29811 [generic sys/param.h] (sys/param.h-includes): Remove rule.
29812 [generic sys/param.h] ($(addprefix
29813 $(common-objpfx),$(sys/param.h-includes))): Likewise.
29814 [generic sys/param.h] (common-generated): Do not append to
29815 variable.
29816 [generic sys/param.h] (sysdep_headers): Likewise.
29817 [generic bits/errno.h] (before-compile): Do not append to
29818 variable.
29819 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
29820 rule.
29821 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
29822 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
29823 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
29824 [generic bits/errno.h] (common-generated): Do not append to
29825 variable.
29826 [generic bits/ioctls.h] (before-compile): Do not append to
29827 variable.
29828 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
29829 rule.
29830 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
29831 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
29832 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
29833 rule.
29834 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
29835 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
29836 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
29837 [generic bits/ioctls.h] (common-generated): Do not append to
29838 variable.
29839 [generic sys/syscall.h] (syscall.h): Remove variable.
29840 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
29841 rule.
29842 [generic sys/syscall.h] (before-compile): Do not append to
29843 variable.
29844 [generic sys/syscall.h] (common-generated): Likewise.
29845 * sysdeps/unix/errnos-tmpl.c: Remove file.
29846 * sysdeps/unix/errnos.awk: Likewise.
29847 * sysdeps/unix/ioctls-tmpl.c: Likewise.
29848 * sysdeps/unix/ioctls.awk: Likewise.
29849 * sysdeps/unix/mk-local_lim.c: Likewise.
29850 * sysdeps/unix/snarf-ioctls: Likewise.
29851
4851a949
RH
298522012-03-19 Richard Henderson <rth@twiddle.net>
29853
bd37f2ee
RH
29854 * sysdeps/i386/fpu/fenv_private.h: New file.
29855 * sysdeps/i386/fpu/math_private.h: Use it.
29856 (math_opt_barrier, math_force_eval): Remove.
29857 (libc_feholdexcept_setround_53bit): Remove.
29858 (libc_feupdateenv_53bit): Remove.
29859 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29860 (math_opt_barrier, math_force_eval): Remove.
29861 (libc_feholdexcept): Remove.
29862 (libc_feholdexcept_setround): Remove.
29863 (libc_fetestexcept, libc_fesetenv): Remove.
29864 (libc_feupdateenv_test): Remove.
29865 (libc_feupdateenv, libc_feholdsetround): Remove.
29866 (libc_feresetround): Remove.
29867
d0adc922
RH
29868 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
29869 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29870
0fe0f1f8
RH
29871 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
29872 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
29873 (libc_feupdateenv_testl): New.
29874 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
29875 (libc_feupdateenv_testf): New.
29876 (libc_feupdateenv): Use libc_feupdateenv_test.
29877 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
29878 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
29879
eb92c487
RH
29880 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
29881 (libc_feholdsetroundf, libc_feholdsetroundl): New.
29882 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
29883 (libc_feresetround_noex): New.
29884 (libc_feresetround_noexf): New.
29885 (libc_feresetround_noexl): New.
29886 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
29887 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
29888 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
29889 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
29890 SET_RESTORE_ROUND.
29891 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29892 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
29893 (__cos): Likewise.
29894 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
29895 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
29896 SET_RESTORE_ROUND_NOEX.
29897 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
29898 SET_RESTORE_ROUND_NOEXF.
29899 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
29900 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
29901 (libc_feholdsetroundf): New.
29902 (libc_feresetround, libc_feresetroundf): New.
29903
7d2e8012
RH
29904 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
29905 (libc_feholdexcept_setround_53bit): Convert from macro to function.
29906 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
29907
b4dabbb4
RH
29908 * sysdeps/generic/math_private.h: Include <fenv.h>.
29909 (default_libc_feholdexcept): New.
29910 (default_libc_feholdexcept_setround): New.
29911 (default_libc_fesetenv, default_libc_feupdateenv): New.
29912 (libc_feholdexcept): Only define if undefined.
29913 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
29914 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
29915 (libc_feholdexcept_setroundl): Likewise.
29916 (libc_feholdexcept_setround_53bit): Likewise.
29917 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
29918 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
29919 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
29920 (libc_feupdateenv_53bit): Likewise.
29921 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
29922 (libc_feholdexcept): Convert from macro to inline function.
29923 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
29924 (libc_fesetenv, libc_feupdateenv): Likewise.
29925
4851a949
RH
29926 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
29927 not previously defined.
29928 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
29929 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
29930 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
29931 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
29932 * sysdeps/ieee754/flt-32/math_private.h: New file.
29933 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
29934 math_private.h below SET_FLOAT_WORD.
29935 (__isnan, __isinf_ns, __finite): Remove.
29936 (__isnanf, __isinf_nsf, __finitef): Remove.
29937
e79d442e
AS
299382012-03-18 Andreas Schwab <schwab@linux-m68k.org>
29939
29940 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29941
90b80344
DM
299422012-03-17 David S. Miller <davem@davemloft.net>
29943
29944 [BZ #6471]
29945 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
29946 for 2.16.
29947
edc21804
DM
299482012-03-16 David S. Miller <davem@davemloft.net>
29949
77e927af
DM
29950 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
29951 warnings.
29952
374976dd
DM
29953 [BZ #6471]
29954 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
29955 properly.
29956 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
29957 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
29958 sysdep_routines when subdir is sysvipc.
29959 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
29960 __getshmlba helper.
29961
edc21804
DM
29962 * sysdeps/sparc/fpu/libm-test/ulps: Update.
29963
473c3ef3
L
299642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29965
29966 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
29967 [__LP64__].
29968
eb0f39b6
L
299692012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29970
29971 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
29972 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
29973 (__lround): Renamed to ...
29974 (__llround): This. Replace long int with long long int.
29975 Define lround functions as aliases of llround functions.
29976 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
29977
6b6cd74b
L
299782012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29979
29980 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
29981 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
29982 adresses to uintptr_t. Replace "long int" and "unsigned long
29983 int" with "greg_t" on va_arg.
29984
f1a77b01
L
299852012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29986
29987 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
29988 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
29989
29990 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
29991 Move e_machine check before EI_CLASS check. Handle x32
29992 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
29993 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
29994 SKIP_EM_IA_64 and include
29995 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
29996
29997 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
29998 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
29999 (add_system_dir): New macro.
30000
30001 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
30002 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
30003
11b90b9f
JM
300042012-03-16 Joseph Myers <joseph@codesourcery.com>
30005
c36e1d23
JM
30006 [BZ #2551]
30007 [BZ #2552]
30008 [BZ #2553]
30009 [BZ #2554]
30010 [BZ #2562]
30011 [BZ #2563]
30012 [BZ #2565]
30013 [BZ #2566]
30014 [BZ #2576]
30015 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
30016 (y0): Likewise.
30017 * math/w_j0f.c (j0f): Likewise.
30018 (y0f): Likewise.
30019 * math/w_j0l.c (__j0l): Likewise.
30020 (__y0l): Likewise.
30021 * math/w_j1.c (j1): Likewise.
30022 (y1): Likewise.
30023 * math/w_j1f.c (j1f): Likewise.
30024 (y1f): Likewise.
30025 * math/w_j1l.c (__j1l): Likewise.
30026 (__y1l): Likewise.
30027 * math/w_jn.c (jn): Likewise.
30028 (yn): Likewise.
30029 * math/w_jnf.c (jnf): Likewise.
30030 (ynf): Likewise.
30031 * math/w_jnl.c (__jnl): Likewise.
30032 (__ynl): Likewise.
30033 * math/libm-test.inc (j0_test): Add more tests.
30034 (j1_test): Likewise.
30035 (jn_test): Likewise. Add trailing semicolon to existing test.
30036 (y0_test): Likewise.
30037 (y1_test): Likewise.
30038 * sysdeps/i386/fpu/libm-test-ulps: Update.
30039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30040
11b90b9f
JM
30041 [BZ #13851]
30042 [BZ #13854]
30043 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
30044 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
30045 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
30046 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
30047 (__tanl): Set errno for infinite argument.
30048 * sysdeps/i386/fpu/mptan.c: Remove.
30049 * sysdeps/i386/fpu/s_tan.S: Likewise.
30050 * sysdeps/i386/fpu/s_tanl.S: Likewise.
30051 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
30052 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
30053 * math/libm-test.inc (tan_test): Add more tests and enable more
30054 tests for double and long double.
30055 * sysdeps/i386/fpu/libm-test-ulps: Update.
30056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30057
6a1bd2a1
JK
300582012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
30059
30060 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
30061 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
30062
10a803e0
RM
300632012-03-16 Roland McGrath <roland@hack.frob.com>
30064
30065 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
30066 * configure.in: Use it for both main tree and add-ons.
30067 * configure: Regenerated.
30068
f196c7f7
L
300692012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30070
30071 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
30072
8848d99d
JM
300732012-03-16 Joseph Myers <joseph@codesourcery.com>
30074
96cbe7f4
JM
30075 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
30076 in comment.
30077
8848d99d
JM
30078 [BZ #13851]
30079 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
30080 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
30081 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
30082 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
30083 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
30084 infinite argument.
30085 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
30086 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
30087 != 0 for prec == 2.
30088 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
30089 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
30090 * sysdeps/i386/fpu/s_cosl.S: Likewise.
30091 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
30092 * sysdeps/i386/fpu/s_sinl.S: Likewise.
30093 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
30094 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
30095 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
30096 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
30097 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
30098 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
30099 * math/libm-test.inc (cos_test): Add more tests and enable more
30100 tests for long double.
30101 (sin_test): Likewise.
30102 (sincos_test): Likewise.
30103 * sysdeps/i386/fpu/libm-test-ulps: Update.
30104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30105
dd7f4703
DM
301062012-03-16 David S. Miller <davem@davemloft.net>
30107
30108 * sysdeps/sparc/fpu/math_private.h: New file.
30109
006f1daa
DM
301102012-03-15 David S. Miller <davem@davemloft.net>
30111
c0c83bc8
DM
30112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
30113 file.
e6a62e18 30114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
30115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
30116 file.
e6a62e18
DM
30117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
30118 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
30119 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
30120 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
30121 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
30122 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
30123 sysdep routines.
30124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
30125
88cb87d9
DM
30126 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
30127 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
30128
006f1daa 30129 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
30130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
30131 sparc-ifunc.h
006f1daa 30132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
30133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
30134 Likewise.
30135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
30136 Likewise.
006f1daa
DM
30137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
30138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
30139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
30140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30141 Likewise.
006f1daa
DM
30142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
30144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
30146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
30147 Likewise.
30148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
30149 Likewise.
006f1daa
DM
30150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
30152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
30153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
30154 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30155 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30156 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
30157 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
30158 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30159 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30160 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
30161 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
30162 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
30163 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
30164 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
30165 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
30166 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
30167 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
30168 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
30169 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
30170 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
30171 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
30172 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
30173 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
30174
11e0098e
AS
301752012-03-15 Andreas Schwab <schwab@linux-m68k.org>
30176
30177 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
30178 scaling.
30179 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30180
e85b09d0
AJ
301812012-03-15 Andreas Jaeger <aj@suse.de>
30182
30183 [BZ #13852]
30184 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
30185 ieee754/flt-32 implementation for sin, cos and sincos.
30186 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
30187 * sysdeps/i386/fpu/s_cosf.S: Likewise.
30188 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
30189 * sysdeps/i386/fpu/s_sinf.S: Likewise.
30190 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
30191 ieee754/flt-32 implementation for tan.
30192
30193 * math/libm-test.inc (cos_test): Enable some large input tests for
30194 float as well
30195 (sin_test): Likewise.
30196 (sincos_test): Likewise.
30197 (tan_test): Add tests for large input.
30198
30199 * sysdeps/i386/fpu/libm-test-ulps: Update.
30200
81c64153
AJ
302012012-03-15 Andreas Jaeger <aj@suse.de>
30202
30203 [BZ #13658]
30204 * math/libm-test.inc (cos_test): Add more test cases.
30205 (sin_test): Likewise.
30206 (sincos_test): Likewise.
30207
7bbfa5c6
AJ
302082012-03-15 Andreas Jaeger <aj@suse.de>
30209
30210 [BZ #13837]
30211 * math/libm-test.inc (cos_test): Add a test case for large input
30212 value.
30213 (sin_test): Likewise.
30214 (sincos_test): Likewise.
30215
302162012-03-15 Andreas Jaeger <aj@suse.de>,
30217 Joseph Myers <joseph@codesourcery.com>
30218
30219 [BZ #13658]
0671f479 30220 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
30221 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
30222 * sysdeps/i386/fpu/branred.c: Likewise.
30223 * sysdeps/i386/fpu/dosincos.c: Likewise.
30224 * sysdeps/i386/fpu/mpa.c: Likewise.
30225 * sysdeps/i386/fpu/s_cos.S: Likewise.
30226 * sysdeps/i386/fpu/s_sin.S: Likewise.
30227 * sysdeps/i386/fpu/s_sincos.S: Likewise.
30228 * sysdeps/i386/fpu/sincos32.c: Likewise.
30229
30230 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
30231 Define.
30232 (libc_feupdateenv_53bit): Define.
30233 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
30234 Define.
30235 (libc_feupdateenv_53bit): Define.
30236
30237 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
30238 53 bit (without extend i386 double precision).
30239
30240 * math/libm-test.inc (sincos_test): Add tests for large input.
30241 (sin): Likewise.
30242 (cos): Likewise.
30243
30244 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30245
9cad04ea
AS
302462012-03-15 Andreas Schwab <schwab@linux-m68k.org>
30247
30248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30249
f7062b9a
DM
302502012-03-15 David S. Miller <davem@davemloft.net>
30251
30252 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
30253 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
30254 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
30255 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
30256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
30257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
30258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
30259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
30260 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
30261 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
30262 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
30263 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
30264 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
30265 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
30266 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
30267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
30268 file.
f7062b9a 30269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
30270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
30271 file.
f7062b9a 30272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
30273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
30274 file.
f7062b9a 30275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
30276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
30277 file.
f7062b9a
DM
30278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
30279 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
30280 fmin/fmax sysdep routines.
30281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
30282
7bd951ff
DM
302832012-03-14 David S. Miller <davem@davemloft.net>
30284
559398ab
DM
30285 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
30286 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
30287 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
30288 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
30289 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
30290 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
30291 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
30292 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
30293 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
30294 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
30295 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
30296 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
30297 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
30298 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
30299 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
30300 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
30301 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
30302 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
30303 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
30304 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
30305 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
30306 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
30307 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
30308 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
30309 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
30310 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
30311 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
30312 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
30313 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
30314 routines.
30315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
30316 file.
559398ab 30317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
30318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
30319 file.
559398ab 30320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
30321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
30322 file.
559398ab 30323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
30324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
30325 file.
559398ab 30326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
30327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
30328 file.
559398ab 30329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
30330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
30331 file.
30332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
30333 file.
30334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
30335 file.
30336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
30337 file.
30338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
30339 New file.
30340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
30341 file.
30342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
30343 file.
559398ab 30344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
30345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
30346 file.
559398ab 30347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
30348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
30349 file.
559398ab 30350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
30351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
30352 file.
559398ab 30353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
30354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
30355 VIS3 routines.
559398ab
DM
30356
30357 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30358 New file.
30359
5a1c1e32
DM
30360 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30361
eae47a36
DM
30362 * sysdeps/sparc/configure.in: New file.
30363 * sysdeps/sparc/configure: Generate.
30364 * configure.in (libc_cv_sparc_as_vis3): Substitute.
30365 * configure: Regenerate.
30366 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
30367 * config.make.in (have-as-vis3): New.
30368 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
30369 available use -Av9d instead of -Av9a.
30370 * sysdeps/sparc/sparc64/Makefile: Likewise.
30371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
30372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
30373 New file.
30374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
30375 file.
30376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
30377 New file.
30378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
30379 file.
eae47a36
DM
30380 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
30381 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
30382 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
30383 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
30384 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
30385
c0c83bc8
DM
30386 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
30387 fzeros/fnegs to load 0x80000000 into a float register instead of
30388 using the stack.
7bd951ff
DM
30389 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
30390
bd951ccb
JM
303912012-03-14 Joseph Myers <joseph@codesourcery.com>
30392
30393 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30394 bits/syscall.h.
30395 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
30396 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
30397 ($(inst_includedir)/bits/syscall.h): Remove rule.
30398 ($(objpfx)bits/syscall.d): Include instead of
30399 $(objpfx)syscall-list.d.
30400 (generated): Change syscall-list.h and syscall-list.d to
30401 bits/syscall.h and bits/syscall.d.
30402
bb4e6db2
RM
304032012-03-14 Roland McGrath <roland@hack.frob.com>
30404
30405 [BZ #13846]
30406 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
30407
aa4a2ae1
JM
304082012-03-14 Joseph Myers <joseph@codesourcery.com>
30409
e456826d
JM
30410 [BZ #13841]
30411 * math/s_csqrt.c: Include <float.h>.
30412 (__csqrt): Scale large or subnormal inputs.
30413 * math/s_csqrtf.c: Likewise.
30414 * math/s_csqrtl.c: Likewise.
30415 * math/libm-test.inc (csqrt_test): Add more tests.
30416 * sysdeps/i386/fpu/libm-test-ulps: Update.
30417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30418
aa4a2ae1
JM
30419 [BZ #13840]
30420 * math/libm-test.inc (hypot_test): Add more tests.
30421
7c10fd35
DM
304222012-03-13 David S. Miller <davem@davemloft.net>
30423
30424 [BZ #13840]
30425 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
30426 double-precision for the calculation instead of scaling.
30427
f453b98b
JM
304282012-03-13 Joseph Myers <joseph@codesourcery.com>
30429
30430 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
30431 manipulate bits before adding and subtracting TWO52[sx].
30432 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
30433 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
30434 Likewise.
30435 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
30436
09a3453f
DM
304372012-03-13 David S. Miller <davem@davemloft.net>
30438
8e59da90
DM
30439 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
30440 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
30441 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
30442 rtld-global-offsets.h
30443 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30444
2a8ab7f2
DM
30445 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
30446 large parameters.
30447
10f62770
DM
30448 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
30449
5f0bdb18
DM
30450 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
30451 'err' in the ifdef scope in which it is actually used.
30452
09a3453f
DM
30453 * nss/nss_db/db-init.c: Include string.h
30454
b4b2eb5e
DM
304552012-03-12 David S. Miller <davem@davemloft.net>
30456
98bb2f1c
DM
30457 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30458 masking out of the most significant byte of random value used.
30459 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30460 Fix coding style in previous change.
30461
b4b2eb5e
DM
30462 * sysdeps/unix/sysv/linux/kernel-features.h
30463 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
30464 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
30465 expression.
30466 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
30467 later.
30468
6e226b09
DM
304692012-03-11 David S. Miller <davem@davemloft.net>
30470
a1bcbd40
DM
30471 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30472 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
30473 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
30474 for 'resultvar' otherwise things get truncated on 64-bit.
30475
cb9d6174
DM
30476 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30477 Fix masking out of the most significant byte of random value used.
30478
6e226b09
DM
30479 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30480
058c132d
AS
304812012-03-10 Andreas Schwab <schwab@linux-m68k.org>
30482
30483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30484
2d2cd515
DM
304852012-03-09 David S. Miller <davem@davemloft.net>
30486
30487 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
30488 variables with appropriate CPP guards.
30489 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
30490 frame pointer, not the stack pointer. Correct layout comments. Fix test
30491 on resulting framesize and the management of the outregs buffer for pltexit.
30492 Preserve floating point return values across _dl_call_pltexit call.
30493 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
30494 framesize and the management of the outregs buffer for pltexit.
30495 Preserve floating point return values across _dl_call_pltexit
30496 call.
30497 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
30498 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
30499 (print_exit): Fix format string for return register value.
30500
9a07f9d0
JM
305012012-03-10 Joseph Myers <joseph@codesourcery.com>
30502
30503 * sunrpc/Makefile (others): Add rpcgen.
30504 ($(objpfx)rpcgen): Remove special build rule and dependency on
30505 libc.
30506 * sunrpc/rpcgen.c: New file.
30507
547b5e30
PE
305082012-03-09 Paul Eggert <eggert@cs.ucla.edu>
30509
c524201a
PE
30510 [BZ #13673]
30511 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
30512 * stdio-common/bug-vfprintf-nargs.c: Likewise.
30513 * sysdeps/i386/crti.S: Likewise.
30514 * sysdeps/i386/crtn.S: Likewise.
30515 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
30516 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
30517 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
30518 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
30519 * sysdeps/sh/crti.S: Likewise.
30520 * sysdeps/sh/crtn.S: Likewise.
30521 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30522
7b6235f2
PE
30523 [BZ #13673]
30524 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
30525 with URL.
30526 * locale/programs/locfile-kw.gperf: Likewise.
30527 * locale/programs/charmap-kw.h: Regenerated.
30528 * locale/programs/locfile-kw.h: Likewise.
30529
547b5e30
PE
30530 [BZ #13673]
30531 * intl/plural.y: Replace FSF snail mail address with URL.
30532 * intl/plural.c: Regenerated.
30533
5f0a5dae
RH
305342012-03-09 Richard Henderson <rth@twiddle.net>
30535
30536 * include/math_private.h: Remove file.
30537 * math/math_private.h: Move file ...
30538 * sysdeps/generic/math_private.h: ... here.
30539
b8c03620
RH
30540 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
30541 * sysdeps/powerpc/fpu/math_private.h: Likewise.
30542 * sysdeps/x86_64/fpu/math_private.h: Likewise.
30543
4e234f5d 30544 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
30545 and <math_private.h>.
30546 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30547 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30548 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30549 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30550 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30551 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
30552 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30553 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30554 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30555 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30556 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30557 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30558 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30559 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30560 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30561 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30562 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30563 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30564 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30565 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30566 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30567 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30568 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30569 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30570 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30571 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30572 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30573 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30574 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30575 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30576 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30577 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30578 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30579 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30580 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30581 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30582 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30583 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30584 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30585 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30586 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
30587 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30588 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30589 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
30590 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
30591 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30592 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
30593 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
30594 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30595 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30596 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
30597 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
30598 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
30599 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30600 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
30601 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30602 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30603 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30604 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
30605 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
30606 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30607 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
30608 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30609 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30610 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
30611 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30612 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30613 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30614 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
30615 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
30616 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
30617 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30618 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
30619 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30620 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
30621 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
30622 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
30623 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30624 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
30625 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
30626 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
30627 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
30628 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
30629 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30630 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30631 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
30632 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
30633 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
30634 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30635 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30636 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30637 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30638 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30639 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30640 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30641 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30642 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30643 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30644 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30645 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30646 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30647 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30648 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30649 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30650 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30651 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30652 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30653 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30654 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30655 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30656 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30657 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30658 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30659 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30660 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
30661 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30662 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30663 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30664 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30665 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30666 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30667 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30668 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30669 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
30670 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30671 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30672 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30673 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
30674 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30675 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
30676 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
30677 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30678 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30679 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
30680 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
30681 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30682 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30683 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30684 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
30685 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30686 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30687 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30688 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30689 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
30690 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
30691 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30692 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30693 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30694 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
30695 * sysdeps/ieee754/k_standard.c: Likewise.
30696 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30697 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30698 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30699 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30700 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30701 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30702 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30703 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30704 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30705 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30706 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30707 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30708 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30709 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30710 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30711 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30712 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30713 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30714 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30715 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
30716 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
30717 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
30718 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30719 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30720 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30721 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
30722 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30723 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30724 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30725 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30726 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30727 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30728 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30729 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30730 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30731 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30732 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30733 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
30734 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
30735 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30736 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30737 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30738 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30739 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30740 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30741 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30742 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30743 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30744 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30745 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30746 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30747 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30748 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30749 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
30750 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30751 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30752 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
30753 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
30754 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30755 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30756 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30757 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30758 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30759 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30760 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30761 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30762 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30763 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30764 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30765 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30766 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30767 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30768 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30769 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30770 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30771 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30772 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
30773 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30774 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30775 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30776 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30777 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30778 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30779 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30780 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
30781 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30782 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30783 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30784 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30785 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30786 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
30787 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30788 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30789 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30790 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30791 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30792 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
30793 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30794 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30795 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
30796 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30797 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30798 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30799 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30800 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
30801 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30802 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30803 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30804 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
30805 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30806 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30807 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30808 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30809 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30810 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30811 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30812 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30813 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30814 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30815 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30816 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30817 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30818 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30819 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30820 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30821 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
30822 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30823 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30824 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30825 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30826 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30827 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30828 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30829 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30830 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30831 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30832 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
30833 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30834 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30835 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
30836 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
30837 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30838 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
30839 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
30840 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30841 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30842 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30843 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30844 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30845 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
30846 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30847 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30848 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30849 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30850 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
30851 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
30852 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30853 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30854 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30855 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30856 * sysdeps/ieee754/s_lib_version.c: Likewise.
30857 * sysdeps/ieee754/s_matherr.c: Likewise.
30858 * sysdeps/ieee754/s_signgam.c: Likewise.
30859 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30860 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30861 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
30862 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
30863 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
30864 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30865 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
30866 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
30867 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
30868 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
30869 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30870 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
30871 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30872 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30873 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
30874 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30875 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30876 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30877 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30878 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30879 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 30880
1991fa03
JM
308812012-03-09 Joseph Myers <joseph@codesourcery.com>
30882
30883 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
30884 * sunrpc/rpc_main.c: Likewise.
30885 * sunrpc/rpc_svcout.c: Likewise.
30886
60d6f5a6
DM
308872012-03-09 David S. Miller <davem@davemloft.net>
30888
30889 * include/math_private.h: New file.
30890
4962050e
JM
308912012-03-09 Joseph Myers <joseph@codesourcery.com>
30892
02a6f887
JM
30893 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
30894 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
30895 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
30896 from <bits/socket_type.h>.
30897 (enum __socket_type): Don't define here.
30898 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
30899 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30900 bits/socket_type.h.
30901
c6e013c1
JM
30902 [BZ #13566]
30903 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
30904 checking __USE_GNU.
30905
4962050e
JM
30906 * Makerules ($(inst_includedir)/%.h): New rule.
30907 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
30908 (install-others): Remove variable setting.
30909 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
30910
38842f45
RH
309112012-03-08 Richard Henderson <rth@twiddle.net>
30912
67bb6da6
RH
30913 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
30914 from macro to inline function; merge with the
30915 !__LIBC_INTERNAL_MATH_INLINES version.
30916 (__ieee754_sqrtf): Likewise.
30917
15194b4b
RH
30918 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
30919 to inline function.
30920 (__rintf, __floor, __floorf): Likewise.
30921
64e21ede
RH
30922 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
30923 macro to inline function.
30924 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
30925
38842f45
RH
30926 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
30927 not <math/math_private.h>.
30928
c64bf5fe
DM
309292012-03-08 David S. Miller <davem@davemloft.net>
30930
30931 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
30932 copyright year.
30933 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
30934
82d86f28
TS
309352012-03-08 Thomas Schwinge <thomas@codesourcery.com>
30936
30937 * resolv/gai_misc.c (handle_requests): Fix struct timespec
30938 normalization.
30939 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
30940 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
30941
aea5d727
UD
309422012-03-08 Ulrich Drepper <drepper@gmail.com>
30943
30944 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
30945 be defined individually, they must be defined as a block. Define
30946 S for printing a string instead of hidint the different by using a
30947 macro for adding the 'l'.
30948 * stdio-common/tst-fphex-wide.c: Adjust.
30949
70bca0a3
MP
309502012-03-07 Marek Polacek <polacek@redhat.com>
30951
30952 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
30953
65b81130
MP
309542012-03-08 Marek Polacek <polacek@redhat.com>
30955
30956 [BZ #13806]
30957 * stdio-common/Makefile (tests): Add tst-fphex-wide.
30958 * stdio-common/tst-fphex.c: Define a few macros to make the
30959 test reusable. Use them.
30960 * stdio-common/tst-fphex-wide.c: New file.
30961
07037eeb
JM
309622012-03-08 Joseph Myers <joseph@codesourcery.com>
30963
a7a93d50
JM
30964 [BZ #6911]
30965 * manual/macros.texi (gnusystems): New macro.
30966 (nongnusystems): Likewise.
30967 (gnulinuxhurdsystems): Likewise.
30968 (gnuhurdsystems): Likewise..
30969 (gnulinuxsystems): Likewise.
30970 * manual/charset.texi: Use new macros or @theglibc{} to refer to
30971 variants of the GNU system, not "GNU system".
30972 * manual/conf.texi: Likewise.
30973 * manual/errno.texi: Likewise. Update example of errno macro
30974 expansion.
30975 * manual/filesys.texi: Likewise.
30976 (getumask): Document as specific to GNU/Hurd.
30977 * manual/install.texi: Likewise. Reword some references to
30978 GNU/Linux.
30979 * manual/intro.texi: Likewise.
30980 * manual/io.texi: Likewise.
30981 (File Name Portability): Detail which constraints are inapplicable
30982 to all GNU systems and which are only inapplicable to GNU/Hurd.
30983 * manual/job.texi: Likewise.
30984 * manual/llio.texi: Likewise.
30985 (O_NOCTTY): Document as present on GNU/Linux.
30986 * manual/maint.texi: Likewise.
30987 * manual/memory.texi: Likewise.
30988 * manual/pattern.texi: Likewise.
30989 * manual/pipe.texi: Likewise.
30990 * manual/process.texi: Likewise.
30991 * manual/resource.texi: Likewise.
30992 (RUSAGE_CHILDREN): Remove statement about specifying a particular
30993 child on GNU/Hurd.
30994 * manual/setjmp.texi: Likewise.
30995 * manual/signal.texi: Likewise.
30996 * manual/startup.texi: Likewise.
30997 * manual/stdio.texi: Likewise.
30998 * manual/terminal.texi: Likewise.
30999 (ONLCR): Document as POSIX.
31000 (OXTABS): Document availability on GNU/Linux as XTABS.
31001 (ONOEOT): Document availability separately from other bits.
31002 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
31003 * manual/time.texi: Likewise.
31004 * manual/users.texi: Likewise.
31005 * INSTALL: Regenerated.
31006 * sysdeps/gnu/errlist.c: Regenerated.
31007
07037eeb
JM
31008 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
31009 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
31010 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
31011 puts.
31012 * configure: Regenerated.
31013
d1d3431a
JM
310142012-03-07 Joseph Myers <joseph@codesourcery.com>
31015
af6a1e37
JM
31016 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
31017 default includes instead of AC_HEADER_CHECK.
31018 * sysdeps/i386/configure: Regenerated.
31019
d1d3431a
JM
31020 [BZ #10716]
31021 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
31022 * math/s_cacoshf.c (__cacoshf): Likewise.
31023 * math/s_cacoshl.c (__cacoshl): Likewise.
31024 * math/s_casinh.c (__casinh): Set signs of result from argument.
31025 * math/s_casinhf.c (__casinhf): Likewise.
31026 * math/s_casinhl.c (__casinhl): Likewise.
31027 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
31028 (casinh_test): Add more tests.
31029 * sysdeps/i386/fpu/libm-test-ulps: Update.
31030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31031
482ff4da
UD
310322012-03-07 Ulrich Drepper <drepper@gmail.com>
31033
872fda05
UD
31034 * po/zh_TW.po: Update from translation team.
31035
a4300c7a
UD
31036 * login/Makefile (distribute): Remove variable.
31037 * catgets/Makefile: Likewise.
31038 * mach/Makefile: Likewise.
31039 * malloc/Makefile: Likewise.
31040 * misc/Makefile: Likewise.
31041 * iconv/Makefile: Likewise.
31042 * nscd/Makefile: Likewise.
31043 * hurd/Makefile: Likewise.
31044 * manual/Makefile: Likewise.
31045 * locale/Makefile: Likewise.
31046 * intl/Makefile: Likewise.
31047 * conform/Makefile: Likewise.
31048 * nss/Makefile: Likewise.
31049 * time/Makefile: Likewise.
31050 * soft-fp/Makefile: Likewise.
31051 * dirent/Makefile: Likewise.
31052 * gmon/Makefile: Likewise.
31053 * po/Makefile: Likewise.
31054 * rt/Makefile: Likewise.
31055 * socket/Makefile: Likewise.
31056 * math/Makefile: Likewise.
31057 * signal/Makefile: Likewise.
31058 * debug/Makefile: Likewise.
31059 * elf/Makefile: Likewise.
31060 * timezone/Makefile: Likewise.
31061 * stdlib/Makefile: Likewise.
31062 * iconvdata/Makefile: Likewise.
31063 * sunrpc/Makefile: Likewise.
31064 * io/Makefile: Likewise.
31065 * argp/Makefile: Likewise.
31066 * inet/Makefile: Likewise.
31067 * hesiod/Makefile: Likewise.
31068 * grp/Makefile: Likewise.
31069 * csu/Makefile: Likewise.
31070 * wctype/Makefile: Likewise.
31071 * crypt/Makefile: Likewise.
31072 * libio/Makefile: Likewise.
31073 * string/Makefile: Likewise.
31074 * nis/Makefile: Likewise.
31075 * resolv/Makefile: Likewise.
31076 * stdio-common/Makefile: Likewise.
31077 * wcsmbs/Makefile: Likewise.
31078 * dlfcn/Makefile: Likewise.
31079 * posix/Makefile: Likewise.
31080
3b7c4e74 31081 [BZ #6959]
482ff4da
UD
31082 * timezone/Makefile: Don't install timezone files, just the programs
31083 and scripts.
31084
f72ed77d
UD
310852012-03-06 Ulrich Drepper <drepper@gmail.com>
31086
a000466f
UD
31087 * nss/databases.def: Add missing gshadow entry.
31088
f72ed77d
UD
31089 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
31090
a53b7a4e
MP
310912012-03-06 Marek Polacek <polacek@redhat.com>
31092
31093 [BZ #13726]
31094 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
31095 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
31096 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
31097 * stdio-common/tst-long-dbl-fphex.c: New file.
31098
e9258400
DM
310992012-03-06 David S. Miller <davem@davemloft.net>
31100
31101 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31102 (set_obp_int): New function.
31103 (get_obp_int): New function.
31104 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
31105 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
31106 Avoid unused variable warnings on 'val' and use builtin_expect.
31107 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
31108 __builtin_expect.
e9258400
DM
31109 (INLINE_CLONE_SYSCALL): Likewise.
31110
3bd2c723
DM
311112012-03-05 David S. Miller <davem@davemloft.net>
31112
31113 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31114
bbb78d03
AS
311152012-03-05 Andreas Schwab <schwab@linux-m68k.org>
31116
884c5db4
AS
31117 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31118
bbb78d03
AS
31119 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
31120 only for |x| >= 40.
31121 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31122
1c9f702a 311232012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
31124
31125 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
31126 Replace gettimeofday with __vdso_gettimeofday.
31127
7be16f82
RM
31128 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31129 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
31130 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
31131
31132 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
31133 time with __vdso_time.
31134
ed58a00f
JM
311352012-03-05 Joseph Myers <joseph@codesourcery.com>
31136
31137 * manual/lang.texi (size_t): Note types to which size_t may be
31138 equivalent with the GNU C Library, but do not describe when
31139 differences between them are significant.
31140
30ee4ced
AJ
311412012-03-05 Andreas Jaeger <aj@suse.de>
31142
31143 * sysdeps/i386/fpu/libm-test-ulps: Update.
31144
b7cd39e8
JM
311452012-03-05 Joseph Myers <joseph@codesourcery.com>
31146
31147 [BZ #3976]
31148 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
31149 (__ieee754_pow): Save and restore rounding mode and use
31150 round-to-nearest for main computations.
31151 * math/libm-test.inc (pow_test_tonearest): New function.
31152 (pow_test_towardzero): Likewise.
31153 (pow_test_downward): Likewise.
31154 (pow_test_upward): Likewise.
31155 (main): Call the new functions.
31156 * sysdeps/i386/fpu/libm-test-ulps: Update.
31157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
31158
31159 [BZ #3976]
31160 * math/libm-test.inc (cosh_test_tonearest): New function.
31161 (cosh_test_towardzero): Likewise.
31162 (cosh_test_downward): Likewise.
31163 (cosh_test_upward): Likewise.
31164 (sinh_test_tonearest): Likewise.
31165 (sinh_test_towardzero): Likewise.
31166 (sinh_test_downward): Likewise.
31167 (sinh_test_upward): Likewise.
31168 (main): Call the new functions.
31169 * sysdeps/i386/fpu/libm-test-ulps: Update.
31170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31171
6c6a98c9
TV
311722012-03-05 Tom de Vries <tom@codesourcery.com>
31173
31174 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
31175 default stack guard is set in last bytes.
31176 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
31177
21bb2d2e 311782012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 31179
21bb2d2e 31180 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 31181
21bb2d2e
AJ
31182 [BZ #13656]
31183 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
31184 possibly allocate from heap instead of stack.
31185 * stdio-common/bug-vfprintf-nargs.c: New file.
31186 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 31187
c6922934
AS
311882012-03-03 Andreas Schwab <schwab@linux-m68k.org>
31189
31190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31191
bc957d53
MP
311922012-03-03 Marek Polacek <polacek@redhat.com>
31193
31194 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
31195 * math/math_private.h: Likewise.
31196 * stdlib/tst-strtod.c: Likewise.
31197 * sysdeps/i386/i486/bits/atomic.h: Likewise.
31198 * sysdeps/x86_64/bits/atomic.h: Likewise.
31199
6358490d
DM
312002012-03-02 David S. Miller <davem@davemloft.net>
31201
31202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
31203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
31204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
31205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
31206 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
31207 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
31208 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
31209 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
31210
01ae168d
RM
312112012-03-02 Roland McGrath <roland@hack.frob.com>
31212
d9a17c07
RM
31213 [BZ #13792]
31214 * manual/examples/README: New file, says the example source files
31215 can be used under GPL>=2.
31216 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
31217 line containing just "*/".
31218 * manual/examples/add.c: Add copyright header (GPL>=2).
31219 * manual/examples/argp-ex1.c: Likewise.
31220 * manual/examples/argp-ex2.c: Likewise.
31221 * manual/examples/argp-ex3.c: Likewise.
31222 * manual/examples/argp-ex4.c: Likewise.
31223 * manual/examples/atexit.c: Likewise.
31224 * manual/examples/db.c: Likewise.
31225 * manual/examples/dir.c: Likewise.
31226 * manual/examples/dir2.c: Likewise.
31227 * manual/examples/execinfo.c: Likewise.
31228 * manual/examples/filecli.c: Likewise.
31229 * manual/examples/filesrv.c: Likewise.
31230 * manual/examples/fmtmsgexpl.c: Likewise.
31231 * manual/examples/genpass.c: Likewise.
31232 * manual/examples/inetcli.c: Likewise.
31233 * manual/examples/inetsrv.c: Likewise.
31234 * manual/examples/isockad.c: Likewise.
31235 * manual/examples/longopt.c: Likewise.
31236 * manual/examples/memopen.c: Likewise.
31237 * manual/examples/memstrm.c: Likewise.
31238 * manual/examples/mkfsock.c: Likewise.
31239 * manual/examples/mkisock.c: Likewise.
31240 * manual/examples/mygetpass.c: Likewise.
31241 * manual/examples/pipe.c: Likewise.
31242 * manual/examples/popen.c: Likewise.
31243 * manual/examples/rprintf.c: Likewise.
31244 * manual/examples/search.c: Likewise.
31245 * manual/examples/select.c: Likewise.
31246 * manual/examples/setjmp.c: Likewise.
31247 * manual/examples/sigh1.c: Likewise.
31248 * manual/examples/sigusr.c: Likewise.
31249 * manual/examples/stpcpy.c: Likewise.
31250 * manual/examples/strdupa.c: Likewise.
31251 * manual/examples/strftim.c: Likewise.
31252 * manual/examples/strncat.c: Likewise.
31253 * manual/examples/subopt.c: Likewise.
31254 * manual/examples/swapcontext.c: Likewise.
31255 * manual/examples/termios.c: Likewise.
31256 * manual/examples/testopt.c: Likewise.
31257 * manual/examples/testpass.c: Likewise.
31258 * manual/examples/timeval_subtract.c: Likewise.
31259
01ae168d
RM
31260 [BZ #13792]
31261 * manual/time.texi (Elapsed Time): Move timeval_subtract example
31262 function to ...
31263 * manual/timeval_subtract.c.texi: ... here, new file.
31264
49efa33d
DM
312652012-03-02 David S. Miller <davem@davemloft.net>
31266
31267 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
31268
28afd92d
JM
312692012-03-02 Joseph Myers <joseph@codesourcery.com>
31270
804360ed
JM
31271 [BZ #3976]
31272 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
31273 (__sin): Save and restore rounding mode and use round-to-nearest
31274 for all computations.
31275 (__cos): Save and restore rounding mode and use round-to-nearest
31276 for all computations.
31277 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
31278 <fenv.h>.
31279 (tan): Save and restore rounding mode and use round-to-nearest for
31280 all computations.
31281 * math/libm-test.inc (cos_test_tonearest): New function.
31282 (cos_test_towardzero): Likewise.
31283 (cos_test_downward): Likewise.
31284 (cos_test_upward): Likewise.
31285 (sin_test_tonearest): Likewise.
31286 (sin_test_towardzero): Likewise.
31287 (sin_test_downward): Likewise.
31288 (sin_test_upward): Likewise.
31289 (tan_test_tonearest): Likewise.
31290 (tan_test_towardzero): Likewise.
31291 (tan_test_downward): Likewise.
31292 (tan_test_upward): Likewise.
31293 (main): Call the new functions.
31294 * sysdeps/i386/fpu/libm-test-ulps: Update.
31295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31296
a6d06d7b
JM
31297 [BZ #10135]
31298 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
31299 small n, then large n, before computing and testing k+n.
31300 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
31301 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
31302 Likewise.
31303 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
31304 Likewise.
31305 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
31306 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
31307 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
31308 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
31309 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
31310 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
31311 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
31312 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
31313 * math/libm-test.inc (scalbn_test): Add more tests.
31314 (scalbln_test): Likewise.
31315
07e12bb3
JM
31316 * manual/filesys.texi (mode_t): Describe constraints on size and
31317 signedness, not exact equivalence to a particular type.
31318 (ino_t): Likewise.
31319 (ino64_t): Likewise.
31320 (dev_t): Likewise.
31321 (nlink_t): Likewise.
31322 (blkcnt_t): Likewise.
31323 (blkcnt64_t): Likewise.
31324 * manual/llio.texi (off_t): Likewise.
31325
28afd92d
JM
31326 [BZ #3976]
31327 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
31328 (__ieee754_exp): Save and restore rounding mode and use
31329 round-to-nearest for all computations.
31330 * math/libm-test.inc (exp_test_tonearest): New function.
31331 (exp_test_towardzero): Likewise.
31332 (exp_test_downward): Likewise.
31333 (exp_test_upward): Likewise.
31334 (main): Call the new functions.
31335 * sysdeps/i386/fpu/libm-test-ulps: Update.
31336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31337
b1eeb65d
CD
313382012-03-01 Chris Demetriou <cgd@google.com>
31339
31340 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
31341 have predictable order.
31342
53362a4b
DM
313432012-03-01 David S. Miller <davem@davemloft.net>
31344
3c969083
DM
31345 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
31346
759707de
DM
31347 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
31348 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
31349 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
31350 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
31351
dfdb8ff2
DM
31352 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
31353 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
31354 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
31355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
31356 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
31357 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
31358 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
31359 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
31360 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
31361
ead89f96
DM
31362 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31363
7f66bd07
DM
31364 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
31365 * sysdeps/sparc/fpu/libm-test-ulps: to here.
31366 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
31367
53362a4b
DM
31368 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
31369 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31370 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31371 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
31372 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
31373 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
31374 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
31375 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31376 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31377 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
31378 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
31379 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31380 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31381 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31382 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31383 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31384 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
31385 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
31386 * sysdeps/sparc/elf/configure: Regenerated.
31387
7b1902cb
JM
313882012-03-01 Joseph Myers <joseph@codesourcery.com>
31389
bec039bc
JM
31390 * configure.in (AS, LD): Require binutils 2.20 or later.
31391 * configure: Regenerated.
31392 * manual/install.texi (Tools for Compilation): Give binutils 2.20
31393 as required minimum version.
31394 * INSTALL: Regenerated.
31395
7b1902cb
JM
31396 [BZ #2541]
31397 [BZ #4108]
31398 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
31399 before squaring exponent.
31400 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
31401 bottom long double and 27 bits of top long double before squaring
31402 exponent.
31403 * math/libm-test.inc (erfc_test): Add more tests.
31404 * sysdeps/i386/fpu/libm-test-ulps: Update.
31405 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31407
f775c276
KT
314082012-03-01 Kai Tietz <ktietz@redhat.com>
31409
31410 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
31411 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
31412 containing bit-fields.
31413 * soft-fp/extended.h (_FP_UNION_E): Likewise.
31414 * soft-fp/single.h (_FP_UNION_S): Likewise.
31415 * soft-fp/double.h (_FP_UNION_D): Likewise.
31416
5b8a4d4a
JM
314172012-02-29 Joseph Myers <joseph@codesourcery.com>
31418
0bab47b6
JM
31419 [BZ #13786]
31420 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
31421 not include ../strcmp.S.
31422 [USE_AS_STRNCASECMP_L]: Likewise.
31423 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
31424 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
31425 * sysdeps/i386/i686/multiarch/strncase_l-c.c
31426 (__strncasecmp_l_ia32): Define as alias to
31427 __strncasecmp_l_nonascii.
31428
0fcad3e2
JM
31429 [BZ #5794]
31430 * math/libm-test.inc (expm1_test): Add test for bug 5794.
31431 * sysdeps/i386/fpu/libm-test-ulps: Update.
31432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31433
5b8a4d4a
JM
31434 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
31435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31436
8fdceb2e
JL
314372012-02-29 Jeff Law <law@redhat.com>
31438
31439 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
31440 out of bounds read.
31441
1f393a11
MP
314422012-02-29 Marek Polacek <polacek@redhat.com>
31443
31444 [BZ #13706]
31445 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
31446 * elf/Makefile: Add rules to run tst-unused-dep.out.
31447
8847f037
DM
314482012-02-28 David S. Miller <davem@davemloft.net>
31449
31450 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
31451 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
31452 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
31453 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
31454 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
31455 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
31456
169d7f11
JM
314572012-02-29 Joseph Myers <joseph@codesourcery.com>
31458
31459 * math/libm-test.inc (llround_test): Move one test from
31460 lround_test. Use TEST_f_L in moved test.
31461 (lround_test): Move misplaced test to llround_test. Add testcase
31462 from bug 2561.
31463
39adf059
UD
314642012-02-28 Ulrich Drepper <drepper@gmail.com>
31465
31466 * sysdeps/x86_64/fpu/e_expf.S: New file.
31467 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
31468
71b5d1c5
SB
314692012-02-28 Stanislav Brabec <sbrabec@suse.cz>
31470
31471 [BZ #13637]
31472 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
31473 of remain_len that may cause incomplete multi-byte character and
31474 false match.
31475 * posix/bug-regex33.c: New file.
31476 * posix/Makefile (tests): Add bug-regex33.
31477
1f77f049
JM
314782012-02-28 Joseph Myers <joseph@codesourcery.com>
31479
31480 * manual/macros.texi: New file.
31481 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
31482 * manual/libc.texinfo: Include macros.texi.
31483 * manual/creatute.texi: Likewise.
31484 * manual/install.texi: Likewise.
31485 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
31486 @glibcadj{} in references to the GNU C Library.
31487 * manual/charset.texi: Likewise.
31488 * manual/conf.texi: Likewise.
31489 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
31490 when not using those macros.
31491 * manual/creature.texi: Likewise.
31492 * manual/crypt.texi: Likewise.
31493 * manual/errno.texi: Likewise.
31494 * manual/filesys.texi: Likewise.
31495 * manual/header.texi: Likewise.
31496 * manual/install.texi: Likewise.
31497 * manual/intro.texi: Likewise.
31498 * manual/io.texi: Likewise.
31499 * manual/job.texi: Likewise.
31500 * manual/lang.texi: Likewise.
31501 * manual/libc.texiinfo: Likewise.
31502 * manual/llio.texi: Likewise.
31503 * manual/locale.texi: Likewise.
31504 * manual/maint.texi: Likewise.
31505 * manual/math.texi: Likewise.
31506 * manual/memory.texi: Likewise.
31507 * manual/message.texi: Likewise.
31508 * manual/nss.texi: Likewise.
31509 * manual/pattern.texi: Likewise.
31510 * manual/process.texi: Likewise.
31511 * manual/resource.texi: Likewise.
31512 * manual/search.texi: Likewise.
31513 * manual/setjmp.texi: Likewise.
31514 * manual/signal.texi: Likewise.
31515 * manual/socket.texi: Likewise.
31516 * manual/startup.texi: Likewise.
31517 * manual/stdio.texi: Likewise.
31518 * manual/string.texi: Likewise.
31519 * manual/sysinfo.texi: Likewise.
31520 * manual/syslog.texi: Likewise.
31521 * manual/terminal.texi: Likewise.
31522 * manual/time.texi: Likewise.
31523 * manual/users.texi: Likewise.
31524 * INSTALL: Regenerated.
31525 * NOTES: Regenerated.
d40c5d54 31526 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 31527
450bf206
AS
315282012-02-28 Andreas Schwab <schwab@linux-m68k.org>
31529
31530 * include/dirent.h: Include <dirstream.h> before
31531 <dirent/dirent.h>.
31532
741a235b
DM
315332012-02-28 David S. Miller <davem@davemloft.net>
31534
31535 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
31536 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
31537 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
31538 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
31539
d6b5aa58
DM
315402012-02-27 David S. Miller <davem@davemloft.net>
31541
1aff59a3
DM
31542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
31543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
31544 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
31545 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
31546
d6b5aa58
DM
31547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
31548 frame pointer instead of stack pointer relative arg slot.
31549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31550 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31551 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31552
433f48bf
CD
315532012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
31554
31555 [BZ #3992]
31556 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
31557
d674b76d
DM
315582012-02-27 David S. Miller <davem@davemloft.net>
31559
31560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
31561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
31564 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31565 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31566 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
31567 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
31568
0e7727f7
JM
315692012-02-27 Joseph Myers <joseph@codesourcery.com>
31570
31571 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
31572 later. Allow versions 5-9.
43be4ca2 31573 * configure: Regenerated.
0e7727f7
JM
31574 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
31575 required minimum version and 4.6 as recommended version. Do not
31576 mention bugs in GCC 2.7 and 2.8.
43be4ca2 31577 * INSTALL: Regenerated.
0e7727f7 31578
a78bc654
DM
315792012-02-27 David S. Miller <davem@davemloft.net>
31580
428d5830
DM
31581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
31582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
31583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
31584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
31585 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
31586 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
31587 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
31588 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
31589
a78bc654
DM
31590 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
31591 manipulate bits before adding and subtracting TWO112[sx].
31592 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31593
4579f81c
RM
315942012-02-27 Roland McGrath <roland@hack.frob.com>
31595
36c8acb4
RM
31596 [BZ #13775]
31597 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
31598 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
31599 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
31600 being in POSIX, because they are in 1003.1-2008.
31601
84ad622b
RM
31602 * rt/tst-aio.c: Include <fcntl.h>.
31603 * rt/tst-aio7.c: Likewise.
31604 * rt/tst-aio64.c: Likewise.
31605
4579f81c
RM
31606 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
31607
abd923db
JM
316082012-02-27 Joseph Myers <joseph@codesourcery.com>
31609
31610 * manual/install.texi (--with-headers): Describe headers as
31611 interface headers, not private headers.
31612 (Specific advice for GNU/Linux systems): Describe use of headers
31613 from "make headers_install", not private headers from older
31614 kernels.
43be4ca2 31615 * INSTALL: Regenerated.
abd923db
JM
31616 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
31617 Change to 2.6.19.
31618 * sysdeps/unix/sysv/linux/configure: Regenerated.
31619
6664049b
JM
31620 * manual/llio.texi (fclean): Remove documentation.
31621
bb8b6697
JM
31622 * manual/Makefile (libc-texi-generated): New variable. Include
31623 version.texi.
31624 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
31625 $(libc-texi-generated), not duplicated list of files.
31626 (version.texi, stamp-version): New rules.
31627 (realclean): Remove $(libc-texi-generated), not individual files
31628 from that list. Do not remove dir-add.texinfo.
31629 * manual/libc.texinfo: Comment out uses of edition numbers and
31630 references to printed manual. Remove last-updated dates.
31631 (EDITION): Comment out.
31632 (ISBN): Likewise.
31633 (VERSION, UPDATED): Remove.
31634 (version.texi): Include.
31635
12e5c3b9
AS
316362012-02-27 Andreas Schwab <schwab@linux-m68k.org>
31637
31638 * sysdeps/posix/spawni.c: Include <signal.h>.
31639 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
31640 * sysdeps/pthread/aio_fsync.c: Likewise.
31641
4efeffc1 316422012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 31643
ba63ba08
UD
31644 * conform/Makefile (tests): Run only when not cross-compiling and
31645 when fast-check is not defined.
31646
d94a4670
UD
31647 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
31648 * conform/data/limits.h-data: Fixes for POSIX2008.
31649 * conform/run-conformtest.sh: Run all tests.
31650 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
31651 headers.
31652 * include/bits/dlfcn.h: Likewise.
31653 * include/langinfo.h: Likewise.
31654 * include/monetary.h: Likewise.
31655 * include/sys/poll.h: Likewise.
31656
31657 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
31658 for __USE_GNU.
31659 * posix/spawn.h: Define __need_sigset_t.
31660 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
31661 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
31662 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
31663 to get sigevent_t only.
31664 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
31665 only for __USE_GNU.
31666 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31667 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31668 process_vm_writev only for __USE_GNU.
31669 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
31670
31671 * conform/Makefile: For now ignore errors from run-conformtest.
31672 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
31673 POSIX to avoid namespace pollution. Don't prepend headers.
31674 * conform/data/aio.h-data: Fixes for POSIX testing.
31675 * conform/data/fcntl.h-data: Likewise.
31676 * conform/data/glob.h-data: Likewise.
31677 * conform/data/grp.h-data: Likewise.
31678 * conform/data/pthread.h-data: Likewise.
31679 * conform/data/pwd.h-data: Likewise.
31680 * conform/data/signal.h-data: Likewise.
31681 * conform/data/spawn.h-data: Likewise.
31682 * conform/data/stdio.h-data: Likewise.
31683 * conform/data/stdlib.h-data: Likewise.
31684 * conform/data/stropts.h-data: Likewise.
31685 * conform/data/sys/mman.h-data: Likewise.
31686 * conform/data/sys/stat.h-data: Likewise.
31687 * conform/data/sys/types.h-data: Likewise.
31688 * conform/data/sys/wait.h-data: Likewise.
31689 * conform/data/time.h-data: Likewise.
31690 * conform/data/unistd.h-data: Likewise.
31691 * conform/data/utime.h-data: Likewise.
31692
31693 * io/sys/stat.h: fchmod was always in POSIX.
31694 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
31695 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
31696 * rt/aio.h: Define __need_timespec before including <time.h>.
31697 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
31698 struct. Add forward declaration of pthread_attr_t and use it in
31699 sigevent.
31700 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31701 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31702 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
31703 always remove CLK_TCK definition.
31704
c20105c3
AS
317052012-02-26 Andreas Schwab <schwab@linux-m68k.org>
31706
31707 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
31708
7a270350
UD
317092012-02-25 Ulrich Drepper <drepper@gmail.com>
31710
31341567
UD
31711 * conform/run-conformtest.sh: New file.
31712 * conform/Makefile: Run run-conformtest for tests.
31713 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
31714 support.
31715
31716 * conform/data/uchar.h-data: New file.
31717 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
31718 * conform/data/arpa/inet.h-data: Likewise.
31719 * conform/data/assert.h-data: Likewise.
31720 * conform/data/complex.h-data: Likewise.
31721 * conform/data/cpio.h-data: Likewise.
31722 * conform/data/ctype.h-data: Likewise.
31723 * conform/data/dirent.h-data: Likewise.
31724 * conform/data/dlfcn.h-data: Likewise.
31725 * conform/data/errno.h-data: Likewise.
31726 * conform/data/fcntl.h-data: Likewise.
31727 * conform/data/float.h-data: Likewise.
31728 * conform/data/fmtmsg.h-data: Likewise.
31729 * conform/data/fnmatch.h-data: Likewise.
31730 * conform/data/ftw.h-data: Likewise.
31731 * conform/data/glob.h-data: Likewise.
31732 * conform/data/grp.h-data: Likewise.
31733 * conform/data/iconv.h-data: Likewise.
31734 * conform/data/inttypes.h-data: Likewise.
31735 * conform/data/langinfo.h-data: Likewise.
31736 * conform/data/libgen.h-data: Likewise.
31737 * conform/data/limits.h-data: Likewise.
31738 * conform/data/locale.h-data: Likewise.
31739 * conform/data/math.h-data: Likewise.
31740 * conform/data/monetary.h-data: Likewise.
31741 * conform/data/mqueue.h-data: Likewise.
31742 * conform/data/ndbm.h-data: Likewise.
31743 * conform/data/net/if.h-data: Likewise.
31744 * conform/data/netdb.h-data: Likewise.
31745 * conform/data/netinet/in.h-data: Likewise.
31746 * conform/data/nl_types.h-data: Likewise.
31747 * conform/data/poll.h-data: Likewise.
31748 * conform/data/pthread.h-data: Likewise.
31749 * conform/data/pwd.h-data: Likewise.
31750 * conform/data/regex.h-data: Likewise.
31751 * conform/data/sched.h-data: Likewise.
31752 * conform/data/search.h-data: Likewise.
31753 * conform/data/semaphore.h-data: Likewise.
31754 * conform/data/setjmp.h-data: Likewise.
31755 * conform/data/signal.h-data: Likewise.
31756 * conform/data/spawn.h-data: Likewise.
31757 * conform/data/stdarg.h-data: Likewise.
31758 * conform/data/stdio.h-data: Likewise.
31759 * conform/data/stdlib.h-data: Likewise.
31760 * conform/data/string.h-data: Likewise.
31761 * conform/data/strings.h-data: Likewise.
31762 * conform/data/stropts.h-data: Likewise.
31763 * conform/data/sys/ipc.h-data: Likewise.
31764 * conform/data/sys/mman.h-data: Likewise.
31765 * conform/data/sys/msg.h-data: Likewise.
31766 * conform/data/sys/resource.h-data: Likewise.
31767 * conform/data/sys/select.h-data: Likewise.
31768 * conform/data/sys/sem.h-data: Likewise.
31769 * conform/data/sys/shm.h-data: Likewise.
31770 * conform/data/sys/socket.h-data: Likewise.
31771 * conform/data/sys/stat.h-data: Likewise.
31772 * conform/data/sys/statvfs.h-data: Likewise.
31773 * conform/data/sys/time.h-data: Likewise.
31774 * conform/data/sys/timeb.h-data: Likewise.
31775 * conform/data/sys/times.h-data: Likewise.
31776 * conform/data/sys/types.h-data: Likewise.
31777 * conform/data/sys/uio.h-data: Likewise.
31778 * conform/data/sys/un.h-data: Likewise.
31779 * conform/data/sys/utsname.h-data: Likewise.
31780 * conform/data/sys/wait.h-data: Likewise.
31781 * conform/data/syslog.h-data: Likewise.
31782 * conform/data/tar.h-data: Likewise.
31783 * conform/data/termios.h-data: Likewise.
31784 * conform/data/utime.h-data: Likewise.
31785 * conform/data/utmpx.h-data: Likewise.
31786 * conform/data/varargs.h-data: Likewise.
31787 * conform/data/wchar.h-data: Likewise.
31788 * conform/data/wctype.h-data: Likewise.
31789 * conform/data/wordexp.h-data: Likewise.
31790
31791 * include/stropts.h: New file.
31792 * include/uchar.h: New file.
31793 * include/aio.h: Changes to allow conformtest.pl to use the headers.
31794 * include/assert.h: Likewise.
31795 * include/ctype.h: Likewise.
31796 * include/dirent.h: Likewise.
31797 * include/dlfcn.h: Likewise.
31798 * include/fcntl.h: Likewise.
31799 * include/fnmatch.h: Likewise.
31800 * include/glob.h: Likewise.
31801 * include/grp.h: Likewise.
31802 * include/libio.h: Likewise.
31803 * include/locale.h: Likewise.
31804 * include/math.h: Likewise.
31805 * include/net/if.h: Likewise.
31806 * include/netdb.h: Likewise.
31807 * include/netinet/in.h: Likewise.
31808 * include/pthread.h: Likewise.
31809 * include/pwd.h: Likewise.
31810 * include/regex.h: Likewise.
31811 * include/sched.h: Likewise.
31812 * include/search.h: Likewise.
31813 * include/setjmp.h: Likewise.
31814 * include/signal.h: Likewise.
31815 * include/stdio.h: Likewise.
31816 * include/stdlib.h: Likewise.
31817 * include/string.h: Likewise.
31818 * include/sys/cdefs.h: Likewise.
31819 * include/sys/mman.h: Likewise.
31820 * include/sys/msg.h: Likewise.
31821 * include/sys/resource.h: Likewise.
31822 * include/sys/select.h: Likewise.
31823 * include/sys/socket.h: Likewise.
31824 * include/sys/stat.h: Likewise.
31825 * include/sys/statvfs.h: Likewise.
31826 * include/sys/time.h: Likewise.
31827 * include/sys/times.h: Likewise.
31828 * include/sys/uio.h: Likewise.
31829 * include/sys/utsname.h: Likewise.
31830 * include/sys/wait.h: Likewise.
31831 * include/termios.h: Likewise.
31832 * include/time.h: Likewise.
31833 * include/ulimit.h: Likewise.
31834 * include/unistd.h: Likewise.
31835 * include/utime.h: Likewise.
31836 * include/wchar.h: Likewise.
31837 * include/wctype.h: Likewise.
31838 * include/wordexp.h: Likewise.
31839
31840 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
31841
7a270350
UD
31842 * time/time.h: TIME_UTC must be a macro.
31843 Make timespec_get available for ISO C11 only as well.
31844
7724defc
UD
318452012-02-24 Ulrich Drepper <drepper@gmail.com>
31846
31847 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
31848 Reported by Peng Haitao <penght@cn.fujitsu.com>.
31849
6b1d1d46
JM
318502012-02-24 Joseph Myers <joseph@codesourcery.com>
31851
31852 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 31853
0f8bbd69
JM
318542012-02-24 Joseph Myers <joseph@codesourcery.com>
31855
31856 * manual/texinfo.tex: Update to version 2012-01-19.16.
31857
66ab80bc
JM
318582012-02-24 Joseph Myers <joseph@codesourcery.com>
31859
31860 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
31861
74981cc5
RM
318622012-02-24 Roland McGrath <roland@hack.frob.com>
31863
ee968201
RM
31864 [BZ #13738]
31865 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
31866 * manual/fdl-1.3.texi: New file.
31867 * manual/fdl-1.1.texi: File removed.
31868
74981cc5
RM
31869 [BZ #13738]
31870 * manual/libc.texinfo (FDL_VERSION): New @set.
31871 Use it for mention of FDL in cover text.
31872 (Documentation License): Use it in @include file name.
31873
7bb764bc
JM
318742012-02-22 Joseph Myers <joseph@codesourcery.com>
31875 Roland McGrath <roland@hack.frob.com>
31876
31877 [BZ #5461]
31878 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
31879 not LONG_LONG_MAX and LONG_LONG_MIN.
31880 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
31881 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
31882 name.
31883 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
31884
6cbeae47
JM
318852012-02-22 Joseph Myers <joseph@codesourcery.com>
31886
31887 [BZ #2547]
31888 [BZ #11365]
31889 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
31890 manipulate bits before adding and subtracting TWO23[sx].
31891 * math/libm-test.inc (nearbyint_test): Add more tests.
31892
fe45ce09
JM
318932012-02-22 Joseph Myers <joseph@codesourcery.com>
31894
31895 [BZ #2548]
31896 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
31897 bits before adding and subtracting TWO23[sx].
31898 * math/libm-test.inc (rint_test): Add more tests.
31899 (rint_test_tonearest): Likewise.
31900 (rint_test_towardzero): Likewise.
31901 (rint_test_downward): Likewise.
31902 (rint_test_upward: Likewise.
31903
ff3b3d82
JM
319042012-02-22 Joseph Myers <joseph@codesourcery.com>
31905
31906 [BZ #10110]
31907 * include/stdc-predef.h: New file. Extracted from features.h.
31908 * include/features.h: Include stdc-predef.h.
31909 * Makefile (headers): Add stdc-predef.h.
31910 * CONFORMANCE (Compiler limitations): Update.
31911
ef0aab35
JM
319122012-02-22 Joseph Myers <joseph@codesourcery.com>
31913
31914 * manual/libc.texinfo (VERSION, UPDATED): Revert.
31915
58639409
DM
319162012-02-21 David S. Miller <davem@davemloft.net>
31917
31918 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
31919 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31920
c0e70b25
DM
319212012-02-20 David S. Miller <davem@davemloft.net>
31922
31923 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
31924 using a normal save/restore sequence, rather than allocating a
31925 dummy stack frame just to store a frame pointer and restore.
31926 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31927
fb06851d
JM
319282012-02-21 Joseph Myers <joseph@codesourcery.com>
31929
31930 * manual/install.texi: Fix stray word in line-wrapped comment.
31931
7a8b71c3
DM
319322012-02-20 David S. Miller <davem@davemloft.net>
31933
d510c123
DM
31934 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
31935 both binutils and gcc support GOTDATA.
31936
0722d7c2
DM
31937 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
31938 "rd %pc" in the PIC register setup sequences.
31939
3d2b3019
DM
31940 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
31941 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31942 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31943 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31944 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31945 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31946 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31947 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31948 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
31949 (SYSCALL_ERROR_HANDLER): Likewise.
31950 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31951 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31952 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
31953 (SYSCALL_ERROR_HANDLER): Likewise.
31954
c80098a9
DM
31955 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
31956 (HAVE_GCC_GOTDATA): New.
31957 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
31958 relocation support in both binutils and gcc.
31959 * sysdeps/sparc/elf/configure: Regenerate.
31960
3a2545a0
DM
31961 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
31962 * sysdeps/sparc/sparc32/elf/configure: Delete.
31963 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
31964 * sysdeps/sparc/sparc64/elf/configure: Delete.
31965 * sysdeps/sparc/elf/configure.in: New file.
31966 * sysdeps/sparc/elf/configure: Generate.
31967
7a8b71c3
DM
31968 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
31969 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
31970 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31971 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
31972 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
31973
f1e86fca
JM
319742012-02-21 Joseph Myers <joseph@codesourcery.com>
31975
31976 * manual/install.texi: Do not mention specific glibc version
31977 numbers.
31978 * manual/libc.texinfo (VERSION, UPDATED): Update.
31979 (@copying): Use @copyright{} and range of years.
31980
0e7dfaef
JM
319812012-02-21 Joseph Myers <joseph@codesourcery.com>
31982
31983 [BZ #13695]
31984 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
31985 [crti.S not in sysdirs] (generated): Do not append.
31986 [crti.S not in sysdirs] (omit-deps): Likewise.
31987 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
31988 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
31989 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
31990 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
31991 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
31992 Likewise.
31993 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
31994 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
31995 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
31996 * csu/defs.awk: Remove file.
31997 * sysdeps/generic/initfini.c: Likewise.
31998 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
31999 variable.
32000 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
32001 Likewise.
32002
599af3ca
JM
320032012-02-20 Joseph Myers <joseph@codesourcery.com>
32004
32005 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
32006 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
32007 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
32008 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
32009 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32010 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
32011 <bits/epoll.h>.
32012 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
32013 (__EPOLL_PACKED): Define to empty if not defined by
32014 <bits/epoll.h>.
32015 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
32016 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32017 bits/epoll.h.
32018
0e499750
JM
320192012-02-20 Joseph Myers <joseph@codesourcery.com>
32020
32021 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
32022 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
32023 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
32024 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
32025 <bits/timerfd.h>.
32026 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
32027 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32028 bits/timerfd.h.
32029
5ad91f6e
JM
320302012-02-20 Joseph Myers <joseph@codesourcery.com>
32031
32032 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
32033 in C locale.
32034 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32035 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32036 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
32037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32038
06b99b02
AJ
320392012-02-20 Aurelien Jarno <aurelien@aurel32.net>
32040
32041 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32042 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
32043
7638c0fd
AS
320442012-02-19 Andreas Schwab <schwab@linux-m68k.org>
32045
32046 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
32047 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
32048 defined.
32049 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
32050 Likewise.
32051 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
32052 entry for 2.16.
32053
92221550
AJ
320542012-02-19 Aurelien Jarno <aurelien@aurel32.net>
32055
32056 * math/w_acos.c: Use non-signaling floating-point comparisons.
32057 * math/w_acosf.c: Likewise.
32058 * math/w_acosh.c: Likewise.
32059 * math/w_acoshf.c: Likewise.
32060 * math/w_acoshl.c: Likewise.
32061 * math/w_acosl.c: Likewise.
32062 * math/w_asin.c: Likewise.
32063 * math/w_asinf.c: Likewise.
32064 * math/w_asinl.c: Likewise.
32065 * math/w_atanh.c: Likewise.
32066 * math/w_atanhf.c: Likewise.
32067 * math/w_atanhl.c: Likewise.
32068 * math/w_exp2.c: Likewise.
32069 * math/w_exp2f.c: Likewise.
32070 * math/w_exp2l.c: Likewise.
32071 * math/w_j0.c: Likewise.
32072 * math/w_j0f.c: Likewise.
32073 * math/w_j0l.c: Likewise.
32074 * math/w_j1.c: Likewise.
32075 * math/w_j1f.c: Likewise.
32076 * math/w_j1l.c: Likewise.
32077 * math/w_jn.c: Likewise.
32078 * math/w_jnf.c: Likewise.
32079 * math/w_log.c: Likewise.
32080 * math/w_log10.c: Likewise.
32081 * math/w_log10f.c: Likewise.
32082 * math/w_log10l.c: Likewise.
32083 * math/w_log2.c: Likewise.
32084 * math/w_log2f.c: Likewise.
32085 * math/w_log2l.c: Likewise.
32086 * math/w_logf.c: Likewise.
32087 * math/w_logl.c: Likewise.
32088 * math/w_sqrt.c: Likewise.
32089 * math/w_sqrtf.c: Likewise.
32090 * math/w_sqrtl.c: Likewise.
32091 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32092 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
32093 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32094 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32095 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32096
ebaf36eb
JM
320972012-02-19 Joseph Myers <joseph@codesourcery.com>
32098
32099 [BZ #9739]
32100 * manual/string.texi (strnlen): Use correct parameter name in
32101 equivalent expression.
32102
71c254a6
JM
321032012-02-19 Joseph Myers <joseph@codesourcery.com>
32104
32105 [BZ #11174]
32106 * manual/users.texi (seteuid): Consistently use neweuid for
32107 argument name.
32108
16d2c631
JM
321092012-02-19 Joseph Myers <joseph@codesourcery.com>
32110
32111 [BZ #13704]
32112 * manual/nss.texi (Services in the NSS configuration): Correct
32113 list of services in example configuration file.
32114
cd837b09
NB
321152012-02-19 Nick Bowler <nbowler@draconx.ca>
32116
32117 [BZ #11322]
32118 * manual/arith.texi: Remove statements about negative zero
32119 behaving identically to zero.
32120
02c4bbad
JM
321212012-02-18 Joseph Myers <joseph@codesourcery.com>
32122
32123 [BZ #5993]
32124 * manual/install.texi: Do not document upgrading from libc5.
32125
366842e7
JM
321262012-02-18 Joseph Myers <joseph@codesourcery.com>
32127
32128 [BZ #4596]
32129 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
32130
dd54084d
DM
321312012-02-18 David S. Miller <davem@davemloft.net>
32132
32133 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
32134 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
32135 %o7 across the call.
32136 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
32137 instead.
32138 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
32139 SETUP_PIC_REG_LEAF.
32140 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32141 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
32142 * sysdeps/sparc/crtn.S: Likewise.
32143
2bcc53a3
UD
321442012-02-17 Ulrich Drepper <drepper@gmail.com>
32145
32146 * aout/Makefile: Remove.
32147
09c093b5
RK
321482012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
32149
32150 [BZ #13058]
32151 * manual/examples/argp-ex1.c (main): Format definition in GNU
32152 style.
32153 * manual/examples/argp-ex2.c (main): Likewise.
32154 * manual/examples/argp-ex3.c (main): Likewise.
32155 * manual/examples/argp-ex4.c (main): Likewise.
32156 * manual/examples/longopt.c (main): Use new-style prototype
32157 definition.
32158 * manual/examples/strncat.c (main): Specify return type and use
32159 (void) for arguments.
32160 * manual/examples/subopt.c (main): Use char **argv argument.
32161
2ee633a2
JM
321622012-02-17 Joseph Myers <joseph@codesourcery.com>
32163
32164 [BZ #5077]
32165 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
32166 rounding modes.
32167
0520adde
FB
321682012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
32169
32170 [BZ #6907]
32171 * manual/string.texi (strchr): Change when strchrnul is
32172 recommended.
32173
3f4081cd
DGM
321742012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
32175
32176 [BZ #174]
32177 * manual/locale.texi (setlocale): Document LOCPATH.
32178
d1b10e78
JM
321792012-02-17 Joseph Myers <joseph@codesourcery.com>
32180
32181 [BZ #10210]
32182 * manual/process.texi (execle): Move @dots{} before last argument.
32183
79c6869c
PB
321842012-02-17 Paul Bolle <pebolle@tiscali.nl>
32185
32186 [BZ #12047]
32187 * manual/charset.texi (Generic Charset Conversion): Fix typo
32188 (LC_TYPE -> LC_CTYPE).
32189
cc6e48bc
NB
321902012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
32191
32192 [BZ #5805]
32193 * manual/arith.texi (scalbn): Use @var{} on parameter names.
32194 (scalbnf): Likewise.
32195 (scalbnl): Likewise.
32196 (scalbln): Likewise.
32197 (scalblnf): Likewise.
32198 (scalblnl): Likewise.
32199 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
32200 (vwarnx): Likewise.
32201 (verr): Likewise.
32202 (verrx): Likewise.
32203 * manual/filesys.texi (telldir): Use braces around return type.
32204 * manual/llio.texi (mmap): Add space after comma.
32205 (mmap64): Likewise.
32206 * manual/math.texi (jn): Use @var{} on parameter names.
32207 (jnf): Likewise.
32208 (jnl): Likewise.
32209 (yn): Likewise.
32210 (ynf): Likewise.
32211 (ynl): Likewise.
32212 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
32213 line.
32214 * manual/resource.texi (ulimit): Use @dots{} instead of literal
32215 "...".
32216 (sched_get_priority_min): Remove semicolon on @deftypefun line.
32217 (sched_get_priority_max): Likewise.
32218 * manual/signal.texi (sigvec): Add space after comma.
32219 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
32220 names.
32221 (if_indextoname): Likewise.
32222 (if_freenameindex): Likewise.
32223 (sendto): Use ',' instead of '.' in prototype.
32224 * manual/startup.texi (syscall): Use @dots{} instead of literal
32225 "...".
32226 * manual/stdio.texi (__fpending): Separate initial words of
32227 paragraph from @deftypefun line.
32228 * manual/syslog.texi (syslog): Use @dots{} instead of literal
32229 "...".
32230 (vsyslog): Use @var{} on parameter names.
32231 * manual/terminal.texi (stty): Use @var{} on parameter names.
32232 * manual/users.texi (getutmp): Use @var{} on parameter names.
32233 (getutmpx): Likewise.
32234
5b23062f
JM
322352012-02-17 Joseph Myers <joseph@codesourcery.com>
32236
32237 [BZ #6884]
32238 * manual/stdio.texi (fopen): Fix typos in description of
32239 ",ccs=STRING".
32240
8dee4833
AJ
322412012-02-17 Aurelien Jarno <aurelien@aurel32.net>
32242
32243 [BZ #4026]
32244 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
32245 get clock_id definition.
32246
9078ce93
TS
322472012-02-17 Thomas Schwinge <thomas@schwinge.name>
32248
32249 [BZ #4822]
32250 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
32251 (madvise): Cast every argument to void on its own.
32252
3835c55f
JM
322532012-02-17 Joseph Myers <joseph@codesourcery.com>
32254
32255 [BZ #9902]
32256 * manual/startup.texi (Exit Status): Fix typo.
32257
35c47e37
JM
322582012-02-17 Joseph Myers <joseph@codesourcery.com>
32259
32260 [BZ #10140]
32261 * manual/examples/argp-ex1.c: Include <stdlib.h>.
32262 * manual/examples/argp-ex2.c: Likewise.
32263 * manual/examples/argp-ex3.c: Likewise.
32264
e3b69ca7
RH
322652012-02-16 Richard Henderson <rth@redhat.com>
32266
32267 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
32268 * sysdeps/s390/s390-32/initfini.c: Remove.
32269 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
32270 * sysdeps/s390/s390-64/initfini.c: Remove.
32271
df83af67
KK
322722012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32273
32274 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
32275 compiler output for sysdeps/generic/initfini.c.
32276 * sysdeps/sh/elf/initfini.c: Remove file.
32277
f63f3380
DM
322782012-02-16 David S. Miller <davem@davemloft.net>
32279
fb59b3a4
DM
32280 [BZ #11494]
32281 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
32282
f63f3380
DM
32283 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
32284 * sysdeps/sparc/crti.S: New file.
32285 * sysdeps/sparc/crtn.S: New file.
32286 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
32287 * sysdeps/sparc/sparc64/Makefile: Likewise.
32288
df6a4a4a
MF
322892012-02-15 Mike Frysinger <vapier@gentoo.org>
32290
6dd8f3dc 32291 [BZ #3335]
df6a4a4a
MF
32292 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
32293
1cac7236
RM
322942012-02-15 Roland McGrath <roland@hack.frob.com>
32295
d2c736f8
RM
32296 [BZ #4822]
32297 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
32298
1cac7236
RM
32299 * mach/devstream.c (cookie_io_functions_t): Macro removed.
32300 (write, read, close): Likewise.
32301 Patch by Aurelien Jarno <aurelien@aurel32.net>.
32302
8e475601
JM
323032012-02-15 Joseph Myers <joseph@codesourcery.com>
32304
32305 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
32306 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
32307 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
32308 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
32309 <bits/signalfd.h>.
32310 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
32311 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32312 bits/signalfd.h.
32313
ed656b40
MP
323142012-02-14 Marek Polacek <polacek@redhat.com>
32315
32316 * sysdeps/x86_64/crti.S: New file.
32317 * sysdeps/x86_64/crtn.S: New file.
32318 * sysdeps/x86_64/elf/initfini.c: Remove file.
32319
2a979d3a
JM
323202012-02-13 Joseph Myers <joseph@codesourcery.com>
32321
32322 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
32323 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
32324 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
32325 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
32326 <bits/inotify.h>.
32327 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
32328 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32329 bits/inotify.h.
32330
2a418ac3
JM
323312012-02-13 Joseph Myers <joseph@codesourcery.com>
32332
32333 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
32334 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
32335 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
32336 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
32337 <bits/eventfd.h>.
32338 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
32339 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32340 bits/eventfd.h.
32341
fb779be7
TS
323422012-02-10 Thomas Schwinge <thomas@codesourcery.com>
32343
e19e83c5
RM
32344 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
32345 __feraiseexcept instead of feraiseexcept.
7c35ffed 32346
fb779be7
TS
32347 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
32348 nanosleep invocations.
32349 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
32350 strings, and add error checking for a nanosleep invocations.
32351
59ba27a6
PE
323522012-02-09 Paul Eggert <eggert@cs.ucla.edu>
32353
32354 Replace FSF snail mail address with URLs, as per GNU coding standards.
32355 Most of the snail mail addresses were wrong anyway, and omitting
32356 them makes the source code easier to maintain. Almost all of the
32357 changes are to license notices and to locale LC_IDENTIFICATION
32358 addresses, except for this one:
32359 * manual/libc.texinfo: In "Published by", give the FSF's URL,
32360 not its snail mail address.
32361
57b957eb
RH
323622012-02-09 Richard Henderson <rth@twiddle.net>
32363
af850b1c
RH
32364 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
32365 of kernel-features.h.
32366
57b957eb
RH
32367 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
32368
6b73181a
MP
323692012-02-08 Marek Polacek <polacek@redhat.com>
32370
32371 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
32372 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
32373 * sysdeps/gnu/_G_config.h: Likewise.
32374 * sysdeps/generic/_G_config.h: Likewise.
32375
26ecc33a
AS
323762012-02-08 Andreas Schwab <schwab@linux-m68k.org>
32377
6c6dbc63
AS
32378 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
32379 tests.
32380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32381
e216c012
AS
32382 * sysdeps/powerpc/powerpc32/crti.S: New file.
32383 * sysdeps/powerpc/powerpc32/crtn.S: New file.
32384 * sysdeps/powerpc/powerpc64/crti.S: New file.
32385 * sysdeps/powerpc/powerpc64/crtn.S: New file.
32386
26ecc33a
AS
32387 * Makeconfig (have-initfini): Don't set.
32388 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
32389 * configure.in (nopic_initfini): Don't substitute.
32390 * config.h.in (HAVE_INITFINI): Don't #undef.
32391 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
32392 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
32393
3add8e13
JM
323942012-02-08 Joseph Myers <joseph@codesourcery.com>
32395
32396 Support crti.S and crtn.S provided directly by architectures.
32397 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
32398 [crti.S in sysdirs] (omit-deps): Likewise.
32399 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
32400 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
32401 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
32402 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
32403 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
32404 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
32405 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
32406 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
32407 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
32408 compiler output for sysdeps/generic/initfini.c.
32409 * sysdeps/i386/elf/Makefile: Remove file.
32410 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
32411
a22f12b4
MP
324122012-02-07 Marek Polacek <polacek@redhat.com>
32413
32414 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
32415 * sysdeps/gnu/_G_config.h: Likewise.
32416 * sysdeps/mach/hurd/_G_config.h: Likewise.
32417
148cf100
MP
324182012-02-07 Marek Polacek <polacek@redhat.com>
32419
32420 * math/Makefile (tests): Add tst-CMPLX2.
32421 * math/tst-CMPLX2.c: New file.
32422
cfdc0dd7
AS
324232012-02-07 Andreas Schwab <schwab@linux-m68k.org>
32424
84ba42c4
AS
32425 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32426
cfdc0dd7
AS
32427 * math/libm-test.inc (jn_test): Add missing L suffix.
32428
622c86f4
MP
324292012-02-06 Marek Polacek <polacek@redhat.com>
32430
32431 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
32432 * sysdeps/i386/fpu/e_powf.S: Likewise.
32433 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32434 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32435 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32436 * sysdeps/i386/fpu/e_pow.S: Likewise.
32437 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32438 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32439 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32440 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32441 * sysdeps/i386/fpu/e_log2.S: Likewise.
32442 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32443 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32444 * sysdeps/i386/fpu/e_powl.S: Likewise.
32445 * sysdeps/i386/fpu/s_log1p.S: Likewise.
32446 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32447 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32448 * sysdeps/i386/fpu/e_logl.S: Likewise.
32449 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32450 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
32451 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32452 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32453 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32454 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32455 * sysdeps/i386/fpu/e_log.S: Likewise.
32456 * sysdeps/i386/fpu/s_cexp.S: Likewise.
32457 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32458 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
32459 * sysdeps/i386/fpu/e_logf.S: Likewise.
32460 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32461 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32462 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
32463 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32464 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32465 * sysdeps/i386/fpu/e_log10.S: Likewise.
32466 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32467 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32468 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32469 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32470 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32471 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32472 * sysdeps/i386/asm-syntax.h: Likewise.
32473 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32474 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32475 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32476 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
32477 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
32478 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32479 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32480 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32481 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32482 * sysdeps/powerpc/sysdep.h: Likewise.
32483 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
32484 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32485
d4a54ac6
JM
324862012-02-06 Joseph Myers <joseph@codesourcery.com>
32487
32488 [BZ #411]
32489 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
32490
314054ea
JM
324912012-02-06 Joseph Myers <joseph@codesourcery.com>
32492
32493 * sysdeps/i386/sysdep.h: Include <features.h>.
32494 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
32495 version.
32496
d8e0ca50
JM
324972012-02-05 Joseph Myers <joseph@codesourcery.com>
32498
32499 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
32500 Define.
32501 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
32502 LOAD_PIC_REG_STR.
32503
b1da7dd9
JM
325042012-02-03 Joseph Myers <joseph@codesourcery.com>
32505
32506 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
32507 (SETUP_PIC_REG): Use GET_PC_THUNK.
32508 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
32509 macro.
32510
9a1d9254
JM
325112012-02-03 Joseph Myers <joseph@codesourcery.com>
32512
32513 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
32514 for non-PIC compilation.
32515 (SETUP_PIC_REG): Add .p2align directive.
32516 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
32517 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32518 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32519 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32520 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32521 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32522 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32523 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32524 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32525 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32526 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32527 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32528 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32529 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32530 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32531 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32532 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32533 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32534 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32535 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32536 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32537 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32538 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32539 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32540 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32541 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32542 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32543 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32544 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32545 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32546 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32547 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32548 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32549 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32550 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32551 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32552 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32553 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32554 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32555 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32556 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32557
65dc3b75
JM
325582012-02-03 Joseph Myers <joseph@codesourcery.com>
32559
32560 * math/tst-CMPLX.c: Include <stdio.h>.
32561
d55bf177
JM
325622012-01-31 Joseph Myers <joseph@codesourcery.com>
32563
32564 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
32565 float.
32566 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32567 * sysdeps/sparc/bits/mathdef.h: Likewise.
32568
69db4f8f
MP
325692012-01-31 Marek Polacek <polacek@redhat.com>
32570
32571 * libio/libio.h: Don't define _PARAMS.
32572 * locale/programs/config.h: Don't define PARAMS.
32573 * stdlib/strtol_l.c: Likewise.
32574 (__strtol_l): Remove PARAMS from the prototype.
32575
41b81892
UD
325762012-01-31 Ulrich Drepper <drepper@gmail.com>
32577
3b49edc0
UD
32578 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
32579 names. Just use the correct names. Remove unnecessary wrapper
32580 functions.
32581 * malloc/arena.c: Likewise.
32582 * malloc/hooks.c: Likewise.
32583
41b81892
UD
32584 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
32585 ARENA_TEST says not to. Simplify test for creation of a new arena.
32586 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
32587
27a25b6e
UD
325882012-01-30 Ulrich Drepper <drepper@gmail.com>
32589
32590 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
32591 into tail calls.
32592 (update_get_addr): New function.
32593 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
32594 GET_ADDR_MODULE parameter.
32595
c8a89e7d
JM
325962012-01-30 Joseph Myers <joseph@codesourcery.com>
32597
32598 * crypt/cert.c: Remove __STDC__ conditionals.
32599 * crypt/crypt-entry.c: Likewise.
32600 * crypt/crypt_util.c: Likewise.
32601 * libio/filedoalloc.c: Likewise.
32602 * libio/fileops.c: Likewise.
32603 * libio/genops.c: Likewise.
32604 * libio/iofclose.c: Likewise.
32605 * libio/iofdopen.c: Likewise.
32606 * libio/iofopen.c: Likewise.
32607 * libio/iofopen64.c: Likewise.
32608 * libio/iogetdelim.c: Likewise.
32609 * libio/iopopen.c: Likewise.
32610 * libio/obprintf.c: Likewise.
32611 * libio/oldfileops.c: Likewise.
32612 * libio/oldiofclose.c: Likewise.
32613 * libio/oldiofdopen.c: Likewise.
32614 * libio/oldiofopen.c: Likewise.
32615 * libio/oldiopopen.c: Likewise.
32616 * libio/wfiledoalloc.c: Likewise.
32617 * libio/wgenops.c: Likewise.
32618 * locale/programs/xmalloc.c: Likewise.
32619 * misc/syslog.c: Likewise.
32620 * stdio-common/xbug.c: Likewise.
32621 * string/memchr.c: Likewise.
32622 * string/memcmp.c: Likewise.
32623 * string/memrchr.c: Likewise.
32624 * string/rawmemchr.c: Likewise.
32625 * sysdeps/posix/getcwd.c: Likewise.
32626 * time/strftime_l.c: Likewise.
32627
3b100462
JM
326282012-01-30 Joseph Myers <joseph@codesourcery.com>
32629
32630 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
32631 * config.make.in (config-cflags-sse2avx): Define.
32632 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
32633 Fix typo.
32634
607998af
CM
326352012-01-29 Chris Metcalf <cmetcalf@tilera.com>
32636
32637 * scripts/config.guess: Update from upstream config git repository.
32638 * scripts/config.sub: Likewise.
32639
3601428f
CM
326402012-01-28 Chris Metcalf <cmetcalf@tilera.com>
32641
3ac8b282
CM
32642 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
32643 (EM_NUM): Update.
32644 (R_TILEPRO_*, R_TILEGX_*): New macros.
32645
e034841e
CM
32646 * scripts/firstversions.awk: Fix bug in version range handling.
32647
540d7568
CM
32648 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
32649
3601428f
CM
32650 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
32651
463de862
CM
32652 * include/sys/epoll.h: New file.
32653 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
32654 libc_hidden_def.
32655
73139a76
UD
326562012-01-28 Ulrich Drepper <drepper@gmail.com>
32657
96bc5b45
UD
32658 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
32659 Avoid unnecessary __WORDSIZE == 64 test.
32660 (fmaxf): Use VEX format if possible.
32661 (fmax): Likewise.
32662 (fminf): Likewise.
32663 (fmin): Likewise.
32664
56f6f6a2
UD
32665 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
32666 * math/math_private.h: Remove libc_fegetround* and
32667 libc_fesetround*.
32668 * sysdeps/i386/configure.in: Check for -msse2avx.
32669 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
32670 also if SSE2AVX is defined.
32671 Remove libc_fegetround* and libc_fesetround*.
32672 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
32673 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
32674 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
32675 of HAS_YMM_USABLE.
32676 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32677 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32678 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32679 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32680 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32681
73139a76
UD
32682 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
32683
d73f93a4
AZ
326842012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32685
32686 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
32687 size is not set.
32688 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32689
6ee65ed6
UD
326902012-01-27 Ulrich Drepper <drepper@gmail.com>
32691
32692 [BZ #13618]
32693 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
32694 relocation.
32695 * Makeconfig (libm): Define.
32696 * elf/Makefile: Add rules to build and run tst-relsort1.
32697 * elf/tst-relsort1.c: New file.
32698 * elf/tst-relsort1mod1.c: New file.
32699 * elf/tst-relsort1mod2.c: New file.
32700
8db21882
JM
327012012-01-27 Joseph Myers <joseph@codesourcery.com>
32702
32703 * math/s_ldexp.c: Remove __STDC__ conditionals.
32704 * math/s_ldexpf.c: Likewise.
32705 * math/s_ldexpl.c: Likewise.
32706 * math/s_nextafter.c: Likewise.
32707 * math/s_nexttowardf.c: Likewise.
32708 * math/s_significand.c: Likewise.
32709 * math/s_significandf.c: Likewise.
32710 * math/s_significandl.c: Likewise.
32711 * math/w_jnl.c: Likewise.
32712 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32713 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32714 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32715 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32716 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32717 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32718 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
32719 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32720 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32721 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32722 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32723 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32724 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32725 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32726 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32727 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32728 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32729 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32730 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32731 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32732 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32733 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32734 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32735 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32736 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32737 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32738 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32739 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32740 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32741 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32742 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32743 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32744 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32745 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32746 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32747 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32748 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32749 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32750 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32751 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32752 * sysdeps/ieee754/k_standard.c: Likewise.
32753 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32754 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32755 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32756 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32757 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32758 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32759 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32760 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32761 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32762 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32763 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32764 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32765 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32766 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32767 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32768 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32769 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32770 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32771 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32772 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32773 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32774 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32775 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32776 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32777 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32778 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32779 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32780 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32781 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32782 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32783 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32784 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
32785 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32786 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32787 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32788 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32789 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
32790 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32791 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32792 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
32793 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
32794 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32795 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
32796 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
32797 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32798 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32799 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32800 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32801 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32802 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
32803 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
32804 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32805 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32806 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32807 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32808 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32809 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
32810 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32811 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32812 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32813 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32814 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32815 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32816 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32817 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32818 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32819 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32820 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32821 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32822 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32823 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32824 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32825 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32826 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32827 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32828 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32829 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32830 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32831 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32832 * sysdeps/ieee754/s_matherr.c: Likewise.
32833 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32834 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32835 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32836 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32837
965a54a4
JM
328382012-01-26 Joseph Myers <joseph@codesourcery.com>
32839
32840 * crypt/md5.h: Remove __STDC__ conditionals.
32841 * libio/libioP.h: Likewise.
32842 * locale/programs/config.h: Likewise.
32843 * sysdeps/generic/sysdep.h: Likewise.
32844 * sysdeps/i386/asm-syntax.h: Likewise.
32845 * sysdeps/s390/asm-syntax.h: Likewise.
32846 * sysdeps/unix/sysdep.h: Likewise.
32847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32849
7071ad79
JM
328502012-01-26 Joseph Myers <joseph@codesourcery.com>
32851
32852 * libio/libio.h: Remove __STDC__ conditionals.
32853 * malloc/obstack.h: Likewise.
32854 * math/complex.h: Likewise.
32855 * math/math.h: Likewise.
32856 * sysdeps/generic/_G_config.h: Likewise.
32857 * sysdeps/gnu/_G_config.h: Likewise.
32858 * sysdeps/mach/hurd/_G_config.h: Likewise.
32859 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32860 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32861 * sysdeps/sparc/bits/mathdef.h: Likewise.
32862
afc5ed09
UD
328632012-01-26 Ulrich Drepper <drepper@gmail.com>
32864
32865 [BZ #13583]
32866 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 32867 Clean up HAS_* macros.
afc5ed09 32868 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
32869 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
32870 possible.
32871 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
32872 HAS_AVX.
32873 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32874 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32875 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32876 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32877 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 32878
bdb6de1d
JM
328792012-01-25 Joseph Myers <joseph@codesourcery.com>
32880
32881 * elf/tst-unique3.cc (gets): Remove declaration.
32882 * elf/tst-unique3lib.cc (gets): Likewise.
32883 * elf/tst-unique3lib2.cc (gets): Likewise.
32884 * elf/tst-unique4.cc (gets): Likewise.
32885
b15549e6
UD
328862012-01-24 Ulrich Drepper <drepper@gmail.com>
32887
32888 * include/stdio.h: Add C++ protection. Add gets declarations and
32889 definitions.
32890 * debug/tst-chk1.c: Don't declare gets here.
32891 * stdio-common/tst-gets.c: Likewise.
32892
a037381f
JM
328932012-01-24 Joseph Myers <joseph@codesourcery.com>
32894
32895 * posix/glob: Remove directory.
32896
f1d4aa75
JM
328972012-01-24 Joseph Myers <joseph@codesourcery.com>
32898
32899 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
32900
81c0c964
PT
329012012-01-22 Pino Toscano <toscano.pino@tiscali.it>
32902
32903 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
32904 of the non-standard EPFNOSUPPORT.
32905
0ea698ae
ST
329062011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
32907
32908 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
32909 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
32910 ANYWHERE set to 1 only on KERN_NO_SPACE error.
32911
d220b117
UD
329122012-01-21 Ulrich Drepper <drepper@gmail.com>
32913
32914 * wcsmbs/uchar.h: Test __STDC_VERSION__.
32915
3e1aa84e
UD
329162012-01-20 Ulrich Drepper <drepper@gmail.com>
32917
32918 * nscd/aicache.c (addhstaiX): Do not cache negative results of
32919 transient errors.
32920 * nscd/grpcache.c (cache_addgr): Likewise.
32921 * nscd/hstcache.c (cache_addhst): Likewise.
32922 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32923 * nscd/pwdcache.c (cache_addpw): Likewise.
32924 * nscd/servicescache.c (cache_addserv): Likewise.
32925
400aa020
UD
329262012-01-16 Ulrich Drepper <drepper@gmail.com>
32927
d77e7869
UD
32928 * malloc/malloc.c: Various cleanups.
32929 * malloc/hooks.c: Likewise.
32930
400aa020
UD
32931 * stdlib/Makefile (tests): Add bug-fmtmsg1.
32932 * stdlib/bug-fmtmsg1.c: New file.
32933
32934 * stdlib/fmtmsg.c (init): Add missing unlock.
32935 Patch by Peng Haitao <penght@cn.fujitsu.com>.
32936
e0a309cf
MP
329372012-01-12 Marek Polacek <polacek@redhat.com>
32938
32939 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
32940 and _GNU_SOURCE.
32941
929d11c7
WS
329422012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32943
32944 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
32945 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
32946 macro to ensure uniqueness of label name.
32947 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32948 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32949
41d0e869
UD
329502012-01-11 Ulrich Drepper <drepper@gmail.com>
32951
0cc5ed3b
UD
32952 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
32953
41d0e869
UD
32954 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
32955 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32956 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32957 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
32958
a47a831a
UD
329592012-01-10 Ulrich Drepper <drepper@gmail.com>
32960
daa891c0
UD
32961 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
32962
32963 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
32964 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32965 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32966
e58ef0f2
UD
32967 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
32968
a47a831a 32969 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
32970 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32971 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 32972 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
32973
32974 * math/bits/math-finite.h: Add ldexp support.
32975
a0bfc9c7
MP
329762012-01-10 Marek Polacek <polacek@redhat.com>
32977
32978 * locale/programs/localedef.h (show_archive_content): Add noreturn
32979 attribute.
32980
d6e97a1d
UD
329812012-01-09 Ulrich Drepper <drepper@gmail.com>
32982
32983 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
32984
d5835c26
UD
329852012-01-08 Ulrich Drepper <drepper@gmail.com>
32986
e5f484c6
UD
32987 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
32988
d5835c26
UD
32989 * io/Makefile (headers): Add bits/poll2.h.
32990
d1f741e9
WS
329912011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
32992
32993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
32994 typo #include statement.
32995
ec09c1c4
UD
329962012-01-08 Ulrich Drepper <drepper@gmail.com>
32997
32998 * include/sys/cdefs.h: Define __attribute_alloc_size.
32999 * catgets/gencat.c: Add alloc_size attribute and apply consistently
33000 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
33001 * elf/pldd.c: Likewise.
33002 * iconv/iconv_charmap.c: Likewise.
33003 * iconv/iconvconfig.c: Likewise.
33004 * iconv/strtab.c: Likewise.
33005 * locale/programs/locale.c: Likewise.
33006 * locale/programs/localedef.h: Likewise.
33007 * locale/programs/simple-hash.c: Likewise.
33008 * nscd/nscd.h: Likewise.
33009 * nss/makedb.c: Likewise.
33010 * sysdeps/generic/ldconfig.h: Likewise.
33011 * locale/programs/localedef.c: Remove xmalloc prototype.
33012 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
33013
20b38e03
PP
330142012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33015
33016 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
33017 appropriate.
33018
a0da5fe1
UD
330192012-01-08 Ulrich Drepper <drepper@gmail.com>
33020
1d5a644a 33021 * math/Makefile (tests): Add tst-CMPLX.
669704fd 33022 * math/tst-CMPLX.c: New file.
1d5a644a 33023
8784a6db
UD
33024 * math/complex.h (CMPLXL): Fix typo.
33025
d9a216c0
UD
33026 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
33027 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
33028 GLIBC_2.16.
33029 * debug/tst-chk1.c: Add poll and ppoll tests.
33030 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
33031 * include/sys/poll.h: Add hidden proto for ppoll.
33032 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
33033 * sysdeps/mach/hurd/ppoll.c: Likewise.
33034 * io/ppoll.c: Likewise.
33035 * debug/poll_chk.c: New file.
33036 * debug/ppoll_chk.c: New file.
33037 * include/bits/poll2.h: New file.
33038 * io/bits/poll2.h: New file.
33039
ac097f5c
UD
33040 [BZ #1350]
33041 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
33042
2119dcfa
UD
33043 * configure.in: static is always set to yes. Remove.
33044 * config.make.in: Don't set build-static.
33045 * Makeconfig: Remove use of build-static.
33046 * dlfcn/Makefile: Likewise.
33047 * elf/Makefile: Likewise.
33048 * math/Makefile: Likewise.
33049 * misc/Makefile: Likewise.
33050 * nptl/Makefile: Likewise.
33051 * sysdeps/mach/hurd/Makefile: Likewise.
33052
121766a9
UD
33053 * configure.in: PWD_P is not used anymore.
33054 * config.make.in: Remove PWD_P entry.
33055
51a1d39c 33056 * configure.in: Remove last remnants of RANLIB.
8720d066 33057 No need to check for signed size_t anymore.
215f4bdc
UD
33058 Don't set libc_commonpagesize and libc_relro_required here for Alpha
33059 and IA-64.
3857022a 33060 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
33061 * aclocal.m4: Likewise.
33062
d3ed7225
UD
33063 * wcsmbs/mbrtoc16.c: Implement using towc function.
33064 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
33065 * wcsmbs/wcsmbsload.c: Likewise.
33066 * iconv/gconv_simple.c: Likewise.
33067 * iconv/gconv_int.h: Likewise.
33068 * iconv/gconv_builtin.h: Likewise.
33069 * iconv/iconv_prog.c: Remove CHAR16 handling.
33070
33071 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
33072
33073 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
33074
a0da5fe1
UD
33075 * configure.in: Remove --with-elf and --enable-bounded options.
33076 Dont set base_machine for ia64. More non-ELF conditions removed.
33077 Remove testing and setting of leading underscore information.
33078 * config.make.in (build-bounded): Set to no.
33079 * config.h.in: Remove NO_UNDERSCORES entry.
33080 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
33081 them.
33082 * csu/start.c: Remove !NO_UNDERSCORE code.
33083 * locale/localeinfo.h: Likewise.
33084 * sysdeps/generic/machine-gmon.h: Likewise.
33085 * sysdeps/generic/sysdep.h: Likewise.
33086 * sysdeps/i386/sysdep.h: Likewise.
33087 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
33088 * sysdeps/mach/sysdep.h: Likewise.
33089 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33090 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33091 * sysdeps/sh/sysdep.h: Likewise.
33092 * sysdeps/sparc/sparc32/alloca.S: Likewise.
33093 * sysdeps/unix/i386/sysdep.S: Likewise.
33094 * sysdeps/unix/sparc/start.c: Likewise.
33095 * sysdeps/unix/sparc/sysdep.S: Likewise.
33096 * sysdeps/unix/sparc/sysdep.h: Likewise.
33097 * sysdeps/unix/start.c: Likewise.
33098 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33099 * sysdeps/x86_64/sysdep.h: Likewise.
33100
df78418a
UD
331012012-01-07 Ulrich Drepper <drepper@gmail.com>
33102
a784e502
UD
33103 [BZ #13553]
33104 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
33105 for non-gcc.
33106 * argp/argp-fmtstream.h: Use const instead __const.
33107 * argp/argp.h: Likewise.
33108 * assert/assert.h: Likewise.
33109 * bits/fenv.h: Likewise.
33110 * bits/sched.h: Likewise.
33111 * bits/sigset.h: Likewise.
33112 * bits/sigthread.h: Likewise.
33113 * catgets/nl_types.h: Likewise.
33114 * conform/data/pthread.h-data: Likewise.
33115 * crypt/crypt-private.h: Likewise.
33116 * crypt/crypt.h: Likewise.
33117 * crypt/crypt_util.c: Likewise.
33118 * ctype/ctype.h: Likewise.
33119 * debug/execinfo.h: Likewise.
33120 * debug/mbsnrtowcs_chk.c: Likewise.
33121 * debug/mbsrtowcs_chk.c: Likewise.
33122 * debug/wcsnrtombs_chk.c: Likewise.
33123 * debug/wcsrtombs_chk.c: Likewise.
33124 * debug/wcstombs_chk.c: Likewise.
33125 * dirent/dirent.h: Likewise.
33126 * dlfcn/dlfcn.h: Likewise.
33127 * elf/neededtest4.c: Likewise.
33128 * grp/grp.h: Likewise.
33129 * gshadow/gshadow.h: Likewise.
33130 * iconv/gconv.h: Likewise.
33131 * iconv/gconv_int.h: Likewise.
33132 * iconv/gconv_simple.c: Likewise.
33133 * iconv/iconv.h: Likewise.
33134 * iconv/loop.c: Likewise.
33135 * iconv/skeleton.c: Likewise.
33136 * include/aio.h: Likewise.
33137 * include/aliases.h: Likewise.
33138 * include/argz.h: Likewise.
33139 * include/arpa/inet.h: Likewise.
33140 * include/assert.h: Likewise.
33141 * include/dirent.h: Likewise.
33142 * include/dlfcn.h: Likewise.
33143 * include/execinfo.h: Likewise.
33144 * include/fcntl.h: Likewise.
33145 * include/fenv.h: Likewise.
33146 * include/glob.h: Likewise.
33147 * include/grp.h: Likewise.
33148 * include/libintl.h: Likewise.
33149 * include/mntent.h: Likewise.
33150 * include/netdb.h: Likewise.
33151 * include/pwd.h: Likewise.
33152 * include/rpc/netdb.h: Likewise.
33153 * include/sched.h: Likewise.
33154 * include/search.h: Likewise.
33155 * include/shadow.h: Likewise.
33156 * include/signal.h: Likewise.
33157 * include/stdio.h: Likewise.
33158 * include/stdlib.h: Likewise.
33159 * include/string.h: Likewise.
33160 * include/sys/socket.h: Likewise.
33161 * include/sys/stat.h: Likewise.
33162 * include/sys/statfs.h: Likewise.
33163 * include/sys/statvfs.h: Likewise.
33164 * include/sys/syslog.h: Likewise.
33165 * include/sys/time.h: Likewise.
33166 * include/sys/uio.h: Likewise.
33167 * include/time.h: Likewise.
33168 * include/unistd.h: Likewise.
33169 * include/utmp.h: Likewise.
33170 * include/wchar.h: Likewise.
33171 * include/wctype.h: Likewise.
33172 * inet/aliases.h: Likewise.
33173 * inet/arpa/inet.h: Likewise.
33174 * inet/netinet/ether.h: Likewise.
33175 * inet/netinet/in.h: Likewise.
33176 * intl/libintl.h: Likewise.
33177 * io/bits/fcntl2.h: Likewise.
33178 * io/fcntl.h: Likewise.
33179 * io/ftw.h: Likewise.
33180 * io/sys/poll.h: Likewise.
33181 * io/sys/stat.h: Likewise.
33182 * io/sys/statfs.h: Likewise.
33183 * io/sys/statvfs.h: Likewise.
33184 * io/utime.h: Likewise.
33185 * libio/bits/stdio.h: Likewise.
33186 * libio/bits/stdio2.h: Likewise.
33187 * libio/libio.h: Likewise.
33188 * libio/libioP.h: Likewise.
33189 * libio/stdio.h: Likewise.
33190 * locale/lc-ctype.c: Likewise.
33191 * locale/locale.h: Likewise.
33192 * login/utmp.h: Likewise.
33193 * malloc/arena.c: Likewise.
33194 * malloc/malloc.c: Likewise.
33195 * malloc/malloc.h: Likewise.
33196 * malloc/mcheck.c: Likewise.
33197 * malloc/mtrace.c: Likewise.
33198 * math/bits/mathcalls.h: Likewise.
33199 * math/fenv.h: Likewise.
33200 * math/math_private.h: Likewise.
33201 * misc/bits/error.h: Likewise.
33202 * misc/bits/syslog.h: Likewise.
33203 * misc/err.h: Likewise.
33204 * misc/error.h: Likewise.
33205 * misc/fstab.h: Likewise.
33206 * misc/mntent.h: Likewise.
33207 * misc/regexp.h: Likewise.
33208 * misc/search.h: Likewise.
33209 * misc/sgtty.h: Likewise.
33210 * misc/sys/mman.h: Likewise.
33211 * misc/sys/syslog.h: Likewise.
33212 * misc/sys/uio.h: Likewise.
33213 * misc/sys/xattr.h: Likewise.
33214 * misc/ttyent.h: Likewise.
33215 * nis/rpcsvc/ypclnt.h: Likewise.
33216 * nss/nss.h: Likewise.
33217 * posix/bits/unistd.h: Likewise.
33218 * posix/fnmatch.h: Likewise.
33219 * posix/glob.h: Likewise.
33220 * posix/sched.h: Likewise.
33221 * posix/spawn.h: Likewise.
33222 * posix/sys/wait.h: Likewise.
33223 * posix/unistd.h: Likewise.
33224 * posix/wordexp.h: Likewise.
33225 * pwd/pwd.h: Likewise.
33226 * resolv/netdb.h: Likewise.
33227 * resource/sys/resource.h: Likewise.
33228 * rt/aio.h: Likewise.
33229 * rt/bits/mqueue2.h: Likewise.
33230 * rt/mqueue.h: Likewise.
33231 * shadow/shadow.h: Likewise.
33232 * signal/signal.h: Likewise.
33233 * socket/send.c: Likewise.
33234 * socket/sendto.c: Likewise.
33235 * socket/sys/socket.h: Likewise.
33236 * stdio-common/printf.h: Likewise.
33237 * stdlib/bits/stdlib.h: Likewise.
33238 * stdlib/fmtmsg.h: Likewise.
33239 * stdlib/monetary.h: Likewise.
33240 * stdlib/stdlib.h: Likewise.
33241 * stdlib/ucontext.h: Likewise.
33242 * streams/stropts.h: Likewise.
33243 * string/argz.h: Likewise.
33244 * string/bits/string2.h: Likewise.
33245 * string/string.h: Likewise.
33246 * string/strings.h: Likewise.
33247 * sunrpc/rpc/auth.h: Likewise.
33248 * sunrpc/rpc/auth_des.h: Likewise.
33249 * sunrpc/rpc/clnt.h: Likewise.
33250 * sunrpc/rpc/netdb.h: Likewise.
33251 * sunrpc/rpc/pmap_clnt.h: Likewise.
33252 * sunrpc/rpc/xdr.h: Likewise.
33253 * sysdeps/generic/inttypes.h: Likewise.
33254 * sysdeps/generic/net/if.h: Likewise.
33255 * sysdeps/generic/sys/swap.h: Likewise.
33256 * sysdeps/gnu/net/if.h: Likewise.
33257 * sysdeps/gnu/utmpx.h: Likewise.
33258 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
33259 * sysdeps/i386/i486/bits/string.h: Likewise.
33260 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
33261 * sysdeps/s390/bits/string.h: Likewise.
33262 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
33263 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
33264 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
33265 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
33266 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
33267 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
33268 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
33269 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
33270 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
33271 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
33272 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
33273 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33274 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
33275 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33276 * sysdeps/unix/sysv/linux/readv.c: Likewise.
33277 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
33278 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
33279 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33280 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
33281 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
33282 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33283 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
33284 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
33285 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
33286 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
33287 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
33288 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
33289 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33290 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
33291 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
33292 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
33293 * sysvipc/sys/ipc.h: Likewise.
33294 * sysvipc/sys/msg.h: Likewise.
33295 * sysvipc/sys/sem.h: Likewise.
33296 * sysvipc/sys/shm.h: Likewise.
33297 * termios/termios.h: Likewise.
33298 * time/sys/time.h: Likewise.
33299 * time/time.h: Likewise.
33300 * wcsmbs/bits/wchar2.h: Likewise.
33301 * wcsmbs/uchar.h: Likewise.
33302 * wcsmbs/wchar.h: Likewise.
33303 * wctype/wctype.h: Likewise.
33304
0269750c
UD
33305 [BZ #13551]
33306 * Makeconfig: Remove all but ELF support including AIX support.
33307 * Makerules: Likewise.
33308 * config.h.in: Likewise.
33309 * config.make.in: Likewise.
33310 * configure: Likewise.
33311 * configure.in: Likewise.
33312 * csu/Makefile: Likewise.
33313 * csu/version.c: Likewise.
33314 * debug/Makefile: Likewise.
33315 * dlfcn/Makefile: Likewise.
33316 * elf/Makefile: Likewise.
33317 * extra-lib.mk: Likewise.
33318 * iconv/Makefile: Likewise.
33319 * include/libc-symbols.h: Likewise.
33320 * include/shlib-compat.h: Likewise.
33321 * resolv/Makefile: Likewise.
33322 * resolv/res_libc.c: Likewise.
33323 * rt/Makefile: Likewise.
33324 * sysdeps/i386/asm-syntax.h: Likewise.
33325 * sysdeps/i386/sysdep.h: Likewise.
33326 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
33327 * sysdeps/mach/sysdep.h: Likewise.
33328 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
33329 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
33330 * sysdeps/s390/asm-syntax.h: Likewise.
33331 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33332 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33333 * sysdeps/sh/sysdep.h: Likewise.
33334 * sysdeps/unix/sparc/sysdep.h: Likewise.
33335 * sysdeps/wordsize-32/divdi3.c: Likewise.
33336 * sysdeps/x86_64/sysdep.h: Likewise.
33337
00bbd29b
UD
33338 * argp/Versions: Remove _argp_unlock_xxx.
33339
33340 [BZ #13559]
33341 * abilist/ld.abilist: Update. Adjust for removal of tls option.
33342 * abilist/libBrokenLocale.abilist: Likewise.
33343 * abilist/libanl.abilist: Likewise.
33344 * abilist/libc.abilist: Likewise.
33345 * abilist/libcrypt.abilist: Likewise.
33346 * abilist/libdl.abilist: Likewise.
33347 * abilist/libm.abilist: Likewise.
33348 * abilist/libnsl.abilist: Likewise.
33349 * abilist/libpthread.abilist: Likewise.
33350 * abilist/libresolv.abilist: Likewise.
33351 * abilist/librt.abilist: Likewise.
33352 * abilist/libthread_db.abilist: Likewise.
33353 * abilist/libutil.abilist: Likewise.
33354 * abilist/libnss_db.abilist: New file.
33355
33356 * scripts/abilist.awk: Add support for indirect functions.
33357
a2693a0e
UD
33358 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
33359
3f05895f
UD
33360 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
33361
ecb6fb48
UD
33362 * shlib-versions: Remove entries for ports architectures.
33363
664f8cb9
UD
33364 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
33365 files in ports.
33366 * elf/stackguard-macros.h: Remove support for IA-64.
33367 * elf/tst-auditmod1.c: Likewise.
33368 * sysdeps/generic/ldsodefs.h: Likewise.
33369
7ae81d88
UD
33370 * sysdeps/unix/sysv/linux/configure.in: Ports should define
33371 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
33372 configure files.
33373
bdeba135
UD
33374 [BZ #13552]
33375 * configure.in: Remove --enable-omitfp support.
33376 * FAQ.in: Adjust.
33377 * config.make.in: Likewise.
33378 * Makeconfig: Likewise.
33379 * manual/install.texi: Likewise.
33380
d75a0a62
UD
33381 In case anyone cares, the IA-64 architecture could move to ports.
33382 * sysdeps/ia64/*: Removed.
33383 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 33384 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 33385
dcc9756b
UD
33386 [BZ #13555]
33387 * configure.in: Remove entries for unsupported architectures.
33388
d3761ebc 33389 [BZ #13533]
9954432e
UD
33390 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
33391 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
33392 routines.
33393 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
33394 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
33395 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
33396 fall back to using wcrtomb.
33397 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
33398 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
33399 renaming.
33400 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
33401 * wcsmbs/tst-c16c32-1.c: New file.
33402
33403 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
33404 local variable.
33405
c3a87236
UD
33406 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
33407
28926a1b
UD
33408 * elf/tst-unique3.cc: Add explicit declaration of gets.
33409 * elf/tst-unique3lib.cc: Likewise.
33410 * elf/tst-unique3lib2.cc: Likewise.
33411 * elf/tst-unique4.cc: Likewise.
33412
df78418a
UD
33413 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
33414
8ecd6b2a
JM
334152012-01-06 Joseph Myers <joseph@codesourcery.com>
33416
33417 [BZ #13566]
33418 * assert/assert.h (static_assert): Don't define for C++.
33419 * libio/stdio.h (gets): Do declare for C++ <= C++11.
33420 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
33421
9f115170
UD
334222012-01-03 Ulrich Drepper <drepper@gmail.com>
33423
5e0d0300
UD
33424 * iconv/loop.c (single loop): Fix assertion in storing of
33425 remaining bytes.
33426
9f115170
UD
33427 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
33428
81fb02b0
UD
334292012-01-01 Ulrich Drepper <drepper@gmail.com>
33430
33431 * posix/getconf.c: Update copyright year.
33432 * nss/getent.c: Likewise.
a316c1f6 33433 * nss/makedb.c: Likewise.
81fb02b0
UD
33434 * iconv/iconvconfig.c: Likewise.
33435 * iconv/iconv_prog.c: Likewise.
33436 * elf/ldconfig.c: Likewise.
a316c1f6
UD
33437 * elf/pldd.c: Likewise.
33438 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
33439 * catgets/gencat.c: Likewise.
33440 * csu/version.c: Likewise.
33441 * elf/ldd.bash.in: Likewise.
33442 * elf/sprof.c (print_version): Likewise.
33443 * locale/programs/locale.c: Likewise.
33444 * locale/programs/localedef.c: Likewise.
a316c1f6 33445 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
33446 * nscd/nscd.c (print_version): Likewise.
33447 * debug/xtrace.sh: Likewise.
33448 * malloc/memusage.sh: Likewise.
33449 * malloc/mtrace.pl: Likewise.
33450 * debug/catchsegv.sh: Likewise.
33451
2ba92745
JJ
334522011-12-30 Jakub Jelinek <jakub@redhat.com>
33453
33454 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
33455 pure attribute.
33456
dadebdae
UD
334572011-12-24 Ulrich Drepper <drepper@gmail.com>
33458
d3761ebc 33459 [BZ #13533]
db6af3eb
UD
33460 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
33461 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
33462 transformations.
33463 * iconv/gconv_int.h: Likewise.
33464 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
33465 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
33466 from libc for GLIBC_2.16.
33467 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
33468 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
33469 * wcsmbs/uchar.h: Really define mbstate_t.
33470 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
33471 * wcsmbs/c16rtomb.c: New file.
33472 * wcsmbs/mbrtoc16.c: New file.
33473 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
33474 for C/POSIX locale.
33475 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
33476 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
33477
dadebdae
UD
33478 * wcsmbs/wchar.h: Add missing __restrict.
33479
67371b56
UD
334802011-12-23 Ulrich Drepper <drepper@gmail.com>
33481
74033a25
UD
33482 [BZ #13532]
33483 * time/Makefile (routines): Add timespec_get.
33484 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
33485 * time/time.h: Define TIME_UTC and declare timespec_get. Define
33486 timespec for ISO C11.
33487 * time/timespec_get.c: New file.
33488 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
33489 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
33490
380d7e87
UD
33491 [BZ #13531]
33492 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
33493 * stdlib/stdlib.h: Declare aligned_alloc.
33494 * Versions.def: Add GLIBC_2.16 for libc.
33495 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
33496
4e9e7a35
UD
33497 [BZ 13527]
33498 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
33499 ISO C11.
33500
380d7e87 33501 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
33502 code.
33503
03a71829
UD
33504 [BZ #13528]
33505 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
33506
839e283e
UD
33507 [BZ #13529]
33508 * assert/assert.h (static_assert): Define.
33509
ce5294e2 33510 * version.h: Update for 2.16 development version.
90fa7312 33511
8d44e150 33512 [BZ #13526]
d7809905
UD
33513 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
33514 _ISOC11_SOURCE.
33515
c0da14cd
UD
33516 * version.h (RELEASE): Bump for 2.15 release.
33517 * include/features.h (__GLIBC_MINOR__): Bump to 15.
33518
530a3249
MP
33519 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
33520 Patch by Marek Polacek <mpolacek@redhat.com>.
33521
67371b56
UD
33522 * bits/byteswap.h: Protect long long constants with __extension__.
33523 * sysdeps/i386/bits/byteswap.h: Likewise.
33524 * sysdeps/ia64/bits/byteswap.h: Likewise.
33525 * sysdeps/s390/bits/byteswap.h: Likewise.
33526 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33527
15db4de1
LD
335282011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33529
33530 [BZ #13540]
bbe315ea
LD
33531 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
33532 destination buffer.
15db4de1
LD
33533 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
33534
2b2596b1
MP
335352011-12-23 Marek Polacek <polacek@redhat.com>
33536
33537 * elf/dl-addr.c (determine_info): Add inline keyword.
33538 * elf/tst-auditmod4b.c (check_avx): Likewise.
33539 * elf/tst-auditmod6b.c (check_avx): Likewise.
33540 * elf/tst-auditmod6c.c (check_avx): Likewise.
33541 * elf/tst-auditmod7b.c (check_avx): Likewise.
33542
70c6c246
UD
335432011-12-23 Ulrich Drepper <drepper@gmail.com>
33544
33545 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
33546 !__SSE_MATH__.
33547
c044cf14
LD
335482011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33549
15db4de1 33550 [BZ #13540]
c044cf14
LD
33551 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
33552 processing for last bytes.
33553
6b13d9d9
BH
335542011-08-06 Bruno Haible <bruno@clisp.org>
33555
d455f537
BH
33556 [BZ #13061]
33557 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
33558 U+0385, not to U+1FEE.
33559
6b13d9d9
BH
33560 [BZ #13062]
33561 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
33562 entry for U+00A5 U+0301.
33563
db910efd
UD
335642011-12-22 Ulrich Drepper <drepper@gmail.com>
33565
27deeafc
UD
33566 [BZ #13166]
33567 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
33568 buffer for the output is too small.
33569
aed9d171
UD
33570 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
33571 optimization.
33572
db910efd
UD
33573 [BZ #13185]
33574 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
33575 SSE flags if possible.
33576
2bd779ae
LD
335772011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33578
e7f9dac3 33579 [BZ #13540]
2bd779ae
LD
33580 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
33581 processing for last bytes.
33582
154bfc16
JM
335832011-12-22 Joseph Myers <joseph@codesourcery.com>
33584
33585 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
33586 (syscall-list-default-options, syscall-list-default-condition)
33587 (syscall-list-includes): Define.
33588 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
33589 list of ABIs and options and #if conditions for each ABI. Do not
33590 handle common syscalls between ABIs specially.
33591 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
33592 Remove.
33593 (syscall-list-variants, syscall-list-32bit-options)
33594 (syscall-list-32bit-condition, syscall-list-64bit-options)
33595 (syscall-list-64bit-condition): Define.
33596 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
33597 (syscall-list-variants, syscall-list-32bit-options)
33598 (syscall-list-32bit-condition, syscall-list-64bit-options)
33599 (syscall-list-64bit-condition): Define.
33600 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
33601 Remove.
33602 (syscall-list-variants, syscall-list-32bit-options)
33603 (syscall-list-32bit-condition, syscall-list-64bit-options)
33604 (syscall-list-64bit-condition): Define.
33605 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
33606 Remove.
33607 (syscall-list-variants, syscall-list-32bit-options)
33608 (syscall-list-32bit-condition, syscall-list-64bit-options)
33609 (syscall-list-64bit-condition): Define.
33610
21eaf3a5
UD
336112011-12-22 Ulrich Drepper <drepper@gmail.com>
33612
16c6f992
UD
33613 * locale/iso-639.def: Add brx entry.
33614
41043168
UD
33615 [BZ #13328]
33616 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
33617 Proposed by Mariusz_Cukr <marcukr@op.pl>.
33618
21eaf3a5
UD
33619 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
33620 __feraiseexcept_renamed.
33621
e3a851a2
UD
336222011-12-21 Ulrich Drepper <drepper@gmail.com>
33623
4920765e
UD
33624 [BZ #13538]
33625 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
33626 EPOLLET with unsigned values.
33627 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33628 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33629
e3a851a2
UD
33630 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
33631 to large cancellation.
33632 * math/s_cacoshf.c: Likewise.
33633 * math/s_cacoshl.c: Likewise.
33634
b27e24b8
RK
336352011-11-18 Richard B. Kreckel <kreckel@ginac.de>
33636
33637 [BZ #13305]
aebefeee 33638 [BZ #12786]
b27e24b8
RK
33639 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
33640 * math/s_cacoshf.c: Likewise.
33641 * math/s_cacoshl.c: Likewise.
33642
ee190f67
UD
336432011-12-21 Ulrich Drepper <drepper@gmail.com>
33644
33645 [BZ #13439]
33646 * iconv/gconv.h: Define __GCONV_SWAP.
33647 * iconvdata/unicode.c: The swap bit must be stored in __flags.
33648 * iconvdata/utf-16.c: Likewise.
33649 * iconvdata/utf-32.c: Likewise.
33650
707f25df
AS
336512011-12-21 Andreas Schwab <schwab@linux-m68k.org>
33652
33653 [BZ #13524]
33654 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
33655 numerator after shifting it by one limb.
33656
d2daaa1e
RÁE
336572011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
33658
33659 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
33660 under [__USE_EXTERN_INLINES].
33661
a4647e72
UD
336622011-12-17 Ulrich Drepper <drepper@gmail.com>
33663
33664 [BZ #13446]
33665 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
33666
f0b264f1
AZ
336672011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33668
33669 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
33670 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
33671 optimized code.
33672 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
33673 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
33674 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
33675 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
33676 for strncasecmp/strncasecmp_l compilation.
33677 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
33678 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
33679
8ef4f244
MP
336802011-12-08 Marek Polacek <mpolacek@redhat.com>
33681
33682 [BZ #13484]
33683 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
33684 of __asm__.
33685
97ac2654
UD
336862011-12-17 Ulrich Drepper <drepper@gmail.com>
33687
33688 [BZ #13506]
33689 * time/tzfile.c (__tzfile_read): Check values from file header.
33690
91d2a845
WS
336912011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33692
33693 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
33694 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
33695 * powerpc/powerpc32/dl-start.S: Likewise.
33696 * powerpc/powerpc32/elf/start.S: Likewise.
33697 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33698 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
33699 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
33700 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
33701 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33702 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
33703 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
33704 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
33705 * powerpc/powerpc32/fpu/s_round.S: Likewise.
33706 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33707 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33708 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33709 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
33710 * powerpc/powerpc32/memset.S: Likewise.
33711 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33712 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33713 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33714 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33715 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33716 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33717 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33718 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33719 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
33720 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
33721 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
33722 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
33723 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
33724
a1267ba1
AZ
337252011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33726
33727 * math/libm-test.inc: Added more nearbyint tests.
33728 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
33729 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
33730 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
33731 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
33732
ad8ac1bd
RL
337332011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
33734
33735 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
33736 FD_CLOEXEC.
33737
1d3e4b61
UD
337382011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33739
33740 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
33741 Add wcscpy-ssse3 wcscpy-c.
33742 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
33743 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
33744 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
33745 * sysdeps/x86_64/wcschr.S: New file.
33746 * sysdeps/x86_64/wcsrchr.S: New file.
33747 * string/test-strcmp.c: Remove checking of wcscmp function for
33748 wrong alignments.
33749 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
33750 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
33751 wcsrchr-sse2 wcsrchr-c.
33752 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
33753 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
33754 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
33755 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
33756 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
33757 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
33758 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
33759 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
33760 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
33761 * wcsmbc/wcschr.c (WCSCHR): New macro.
33762
5b330a2d
UD
337632011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33764
33765 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
33766 * wcsmbs/test-wcsrchr.c: New file.
33767 * string/test-strrchr.c: Add wcsrchr support.
33768 (WIDE): New macro.
33769 * wcsmbs/test-wcscpy.c: New file.
33770 * string/test-strcpy.c: Add wcscpy support.
33771 (WIDE): New macro.
26428b7c 33772
f039c043
UD
337732011-12-10 Ulrich Drepper <drepper@gmail.com>
33774
33775 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
33776 the inner loop.
33777
850fb039
AS
337782011-12-06 Andreas Schwab <schwab@linux-m68k.org>
33779
33780 [BZ #13472]
33781 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
33782
4efbd5cb
UD
337832011-12-04 Ulrich Drepper <drepper@gmail.com>
33784
52ff5dd0 33785 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 33786 Minor optimizations.
52ff5dd0 33787
4efbd5cb
UD
33788 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
33789 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
33790 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33791
8a426e12
UD
337922011-12-03 Ulrich Drepper <drepper@gmail.com>
33793
aff2453d
UD
33794 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
33795 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
33796 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
33797 for gcc to avoid warnings.
33798 * inet/Makefile (tests): Add tst-checks.
33799 * inet/tst-checks.c: New file.
33800
33801 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
33802 warning.
33803
33804 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
33805 __wmemcmp_sse2.
33806
33807 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
33808 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
33809
8a426e12
UD
33810 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
33811
9bea3473
UD
338122011-12-02 Ulrich Drepper <drepper@gmail.com>
33813
3a965496
UD
33814 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
33815 problem.
33816
9bea3473
UD
33817 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
33818
f101631b
UD
338192011-11-29 Joseph Myers <joseph@codesourcery.com>
33820
33821 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
33822 conditional on GCC version.
33823 (__arch_compare_and_exchange_val_8_acq)
33824 (__arch_compare_and_exchange_val_16_acq)
33825 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
33826 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
33827 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
33828
a98275aa
UD
338292011-12-02 Joseph Myers <joseph@codesourcery.com>
33830
33831 * sysdeps/sh/backtrace.c: New file.
33832
d4cc29a2
AS
338332011-12-02 Andreas Schwab <schwab@redhat.com>
33834
33835 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
33836 parenthesis.
33837
6257af2d
AS
338382011-12-01 Andreas Schwab <schwab@redhat.com>
33839
33840 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
33841 falling back to utime.
33842
b5f44c1a
AS
338432011-11-30 Andreas Schwab <schwab@redhat.com>
33844
33845 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
33846 expectations for float.
33847
f3a6cc0a
AS
338482011-11-29 Andreas Schwab <schwab@redhat.com>
33849
33850 * locale/weight.h (findidx): Add parameter len.
33851 * locale/weightwc.h (findidx): Likewise.
33852 * posix/fnmatch_loop.c (FCT): Adjust caller.
33853 * posix/regcomp.c (build_equiv_class): Likewise.
33854 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
33855 * posix/regexec.c (check_node_accept_bytes): Likewise.
33856 * string/strcoll_l.c (STRCOLL): Likewise.
33857 * string/strxfrm_l.c (STRXFRM): Likewise.
33858
9d65ea3a
UD
338592011-11-17 Ulrich Drepper <drepper@gmail.com>
33860
33861 * Makefile.in: Remove CVSOPT handling.
33862 * configure.in: Remove use of AC_REVISION.
33863 * iconvdata/Makefile (distribute): No need to filter out CVS.
33864 * scripts/list-sources.sh: Remove CVS, subversion and monotone
33865 handling.
33866
5583a086
AS
338672011-11-16 Andreas Schwab <schwab@redhat.com>
33868
33869 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
33870 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
33871 [USE_AS_STRNCASECMP_L]: Likewise.
33872 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
33873 NO_TLS_DIRECT_SEG_REFS.
33874 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
33875 Fix argument offsets for non-PIC.
33876 [USE_AS_STRNCASECMP_L]: Likewise.
33877 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
33878 NO_TLS_DIRECT_SEG_REFS.
33879
d62a8200
UD
338802011-11-15 Ulrich Drepper <drepper@gmail.com>
33881
9d65ea3a 33882 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
33883 O_CLOEXEC.
33884 * locale/loadlocale.c (_nl_load_locale): Likewise.
33885
09f93bd3
AS
338862011-11-15 Andreas Schwab <schwab@redhat.com>
33887
446514f9
AS
33888 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
33889 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
33890 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
33891 (SYSCALL_GETTIME): Set errno on error.
33892
09f93bd3
AS
33893 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
33894 count references to noai6ai_cached.
33895
312be3f9
UD
338962011-11-15 Ulrich Drepper <drepper@gmail.com>
33897
33898 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
33899
33900 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
33901 FD_CLOEXEC for /proc/self/maps.
33902
33903 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
33904 FD_CLOEXEC for /proc/meminfo.
33905
33906 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
33907 gai.conf.
33908
33909 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
33910 FD_CLOEXEC for given file.
33911
33912 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
33913
33914 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
33915 FD_CLOEXEC for /etc/hosts.
33916 (_gethtent): Likewise.
33917
33918 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
33919
33920 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
33921 cancellation and set FD_CLOEXEC for /etc/netgroup.
33922
33923 * nss/nss_files/files-key.c (search): Don't allow cancellation when
33924 reading /etc/publickey.
33925
33926 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
33927 allow cancellation when reading /etc/group.
33928
33929 * nss/nss_files/files-alias.c (internal_setent): Don't allow
33930 cancellation.
33931 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
33932
33933 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
33934 when using data file.
33935
33936 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
33937
33938 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
33939 (write_nis_obj): Use "c" and "e" in fopen.
33940
33941 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
33942
33943 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
33944
33945 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
33946
33947 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
33948
33949 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
33950 locale.alias.
33951
33952 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
33953
33954 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
33955
33956 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
33957
33958 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
33959 file parsing and set FD_CLOEXEC.
33960
82af0fa8
UD
339612011-11-14 Ulrich Drepper <drepper@gmail.com>
33962
33963 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
33964
a5fb313c
AS
339652011-11-14 Andreas Schwab <schwab@redhat.com>
33966
33967 * malloc/arena.c (arena_get2): Don't call reused_arena when
33968 _int_new_arena failed.
33969
6abf3465
UD
339702011-11-14 Ulrich Drepper <drepper@gmail.com>
33971
33972 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
33973 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
33974 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
33975 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33976 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33977 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
33978 to compile strcasecmp and strncasecmp.
33979 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
33980 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
33981
33982 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
33983
76e3966e
UD
339842011-11-13 Ulrich Drepper <drepper@gmail.com>
33985
33986 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
33987 locale-defines.sym to gen-as-const-headers.
33988 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
33989 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
33990 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
33991 to compile strcasecmp and strncasecmp.
33992 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
33993 strcasecmp_l and strncasecmp_l.
33994 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
33995 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
33996 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
33997 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
33998 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
33999 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
34000 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
34001 * sysdeps/i386/i686/multiarch/strncase.S: New file.
34002 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
34003 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
34004 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
34005
ab26144e
UD
340062011-11-12 Ulrich Drepper <drepper@gmail.com>
34007
7edb22ef
UD
34008 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
34009 result of SYSDEP_GETTIME_CPU to retval.
34010 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
34011 parameter list to macro. Remove trailing semicolon. Adjust users.
34012
9694fc44
UD
34013 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
34014 variable.
34015
8ad89ef8
UD
34016 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
34017 mantissa words.
34018 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
34019
0c822ef9
UD
34020 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
34021 from unused variable.
34022
874e0564
UD
34023 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
34024 DWARF definitions.
34025 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
34026 for assembling.
34027
3a2edc79
UD
34028 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
34029 over namespaces.
34030
f3c2577f
UD
34031 * sunrpc/rpc_prot.c (rejected): Fix case value.
34032
294ce126
UD
34033 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
34034 unsigned long long int to avoid warnings in shift.
34035
5e2b63c6
UD
34036 * posix/regex_internal.c (re_string_reconstruct): Actually use result
34037 of use of trans.
34038 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
34039 variable tmp.
34040
e7f4b08e
UD
34041 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
34042 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
34043 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
34044
ab26144e
UD
34045 * nis/nis_table.c (nis_list): Use variable of correct type for
34046 result of __follow_path call.
34047
8a6d5255
AZ
340482011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34049
34050 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
34051 of math functions ceil, trunc, floor, round, and sqrt, when
34052 avaliable on the platform.
34053 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
34054 name clash.
34055 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34056 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
34057 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
34058
aaddc98c
MP
340592011-10-30 Marek Polacek <mpolacek@redhat.com>
34060
34061 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
34062 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
34063
95b7042b
RM
340642011-11-11 Roland McGrath <roland@hack.frob.com>
34065
34066 * include/unistd.h: Fix __readlink return type.
34067 Reported by Chris Metcalf <cmetcalf@tilera.com>.
34068
57769839
UD
340692011-11-11 Ulrich Drepper <drepper@gmail.com>
34070
34071 * stdlib/ucontext.h: Undo last change for makecontext.
34072
edc5984d
AS
340732011-11-11 Andreas Schwab <schwab@redhat.com>
34074
98591e58
AS
34075 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
34076
edc5984d
AS
34077 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
34078 * setjmp/setjmp.h: Mark functions as non-leaf.
34079 * setjmp/bits/setjmp2.h: Likewise.
34080 * stdlib/ucontext.h: Likewise.
34081
77cdc054
AS
340822011-11-10 Andreas Schwab <schwab@redhat.com>
34083
34084 * malloc/arena.c (_int_new_arena): Don't increment narenas.
34085 (reused_arena): Don't check arena limit.
34086 (arena_get2): Atomically check arena limit.
34087
fe72eebd
UD
340882011-11-08 Ulrich Drepper <drepper@gmail.com>
34089
5f078c32
UD
34090 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
34091 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
34092
fe72eebd
UD
34093 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
34094 instructions.
34095
ae1bc2fa
AS
340962011-11-07 Andreas Schwab <schwab@redhat.com>
34097
7583a88d
AS
34098 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
34099 handler when locking.
34100
ae1bc2fa
AS
34101 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34102 Fix size of allocated buffer.
34103
10fb0bfa
AS
341042011-11-04 Andreas Schwab <schwab@redhat.com>
34105
998832a4
AS
34106 [BZ #10103]
34107 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
34108 declarations for long double functions.
34109 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
34110
10fb0bfa
AS
34111 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
34112
3d7ba52b
AS
341132011-11-03 Andreas Schwab <schwab@redhat.com>
34114
a9ae54a1
AS
34115 * nscd/nscd.c (main): Don't start AVC thread until credentials are
34116 installed.
34117
3d7ba52b
AS
34118 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
34119 is disabled.
34120
bc8db248
ST
341212011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
34122
34123 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
34124
45b96dd6
AS
341252011-11-01 Andreas Schwab <schwab@linux-m68k.org>
34126
647776f6
AS
34127 * include/alloca.h (stackinfo_alloca_round): Define.
34128 (extend_alloca): Use it.
34129 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
34130 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
34131 here.
34132
d91a8b93
AS
34133 * scripts/check-local-headers.sh: Ignore libaudit.h.
34134
45b96dd6
AS
34135 * nscd/Makefile (extra-objs): Make recursively expanded.
34136
432d41ce
UD
341372011-11-01 Ulrich Drepper <drepper@gmail.com>
34138
34372fc6
UD
34139 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
34140 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
34141
fadb59f8
UD
34142 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
34143 * posix/tst-rfc3484-2.c: Likewise.
34144 * posix/tst-rfc3484-3.c: Likewise.
34145
78239589
UD
34146 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34147 process_vm_writev.
34148 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
34149 process_vm_writev.
34150 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
34151 process_vm_writev from libc using GLIBC_2.15 version.
34152
432d41ce
UD
34153 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
34154
02f9c6cf
PP
341552011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
34156
34157 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
34158 stack usage.
34159
3a2c0242
UD
341602011-10-31 Ulrich Drepper <drepper@gmail.com>
34161
f4ec4833
UD
34162 [BZ #13367]
34163 * nss/getent.c (initgroups_keys): Show error message in case no group
34164 names are given.
34165
3a2c0242
UD
34166 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
34167 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
34168 __bump_nl_timestamp.
34169 * nscd/connections (nscd_init): When host database is served open
34170 netlink socket and request notification about configuration changes.
34171 (main_loop_poll): Track netlink file descriptor and bump timestamp
34172 in case data becomes available.
34173 (main_loop_epoll): Likewise.
34174 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
34175 (database_pers_head): Add extra_data fileds.
34176 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
34177 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
34178 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
34179 Adjust caller.
34180 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
34181 in6ai data, call __free_in6ai.
34182 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
34183 Add -DHAVE_NETLINK.
34184 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
34185 interface information. Reuse previous data if netlink timestamp
34186 is not changed.
34187 (__bump_nl_timestamp): New function.
34188 (__free_in6ai): New function.
34189
636064eb
UD
341902011-10-30 Ulrich Drepper <drepper@gmail.com>
34191
34192 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
34193 close_not_cancel_no_status here.
34194 (__check_pf): Reorganize code a bit to not call close twice if OOM.
34195
9beb2334
UD
341962011-10-29 Ulrich Drepper <drepper@gmail.com>
34197
6ef76f3b
UD
34198 [BZ #13276]
34199 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
34200 return value.
34201
0ffc4f3e 34202 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
34203 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
34204 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
34205
cb95113e
UD
342062011-07-03 Andreas Jaeger <aj@suse.de>
34207
34208 [BZ #10709]
34209 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
34210 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
34211 * math/libm-test.inc (sin_test): Add test case.
34212
a1b560ff
UD
342132011-10-29 Ulrich Drepper <drepper@gmail.com>
34214
c9aaface
UD
34215 [BZ #13337]
34216 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
34217 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
34218
d272e7f1
UD
34219 * elf/chroot_canon.c (chroot_canon): Cleanups.
34220
1bc33071
UD
34221 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
34222
1760874d
TJ
34223 [BZ #13335]
34224 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
34225 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
34226
51d91b18
UD
34227 * string/test-strchr.c: Make usable for strchrnul testing.
34228 * string/test-strchrnul.c: New file.
34229 * string/Makefile (strop-tests): Add strchrnul.
34230
a1b560ff 34231 * po/it.po: Update from translation team.
b611fb81 34232 * po/es.po: Likewise.
a1b560ff 34233
a5b81e1f
UD
342342011-10-28 Ulrich Drepper <drepper@gmail.com>
34235
fd52bc6d
UD
34236 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
34237 the three constants needed as parameters. Drop the others.
34238 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
34239 __m128i_strloadu_tolower.
52e4b9eb
UD
34240 Create and initialize variable zero and use it in all the places
34241 where _mm_setzero_si128 was used.
fd52bc6d 34242
a5b81e1f
UD
34243 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
34244 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
34245 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
34246 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
34247 anymore.
34248 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
34249 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
34250 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
34251 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
34252 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
34253 __mpranred, __mptan.
34254 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
34255 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
34256 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
34257 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
34258 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
34259 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
34260 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
34261 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
34262 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
34263
b4343346
AS
342642011-10-28 Andreas Schwab <schwab@redhat.com>
34265
0c92d8a8
AS
34266 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
34267 redefine if SHARED.
34268 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
34269
b4343346
AS
34270 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
34271 wide char related routines to wcsmbs subdir.
34272
3871f58f
AS
342732011-10-27 Andreas Schwab <schwab@redhat.com>
34274
34275 [BZ #13344]
34276 * misc/sys/cdefs.h (__THROWNL): Define.
34277 * posix/unistd.h: Use __THREADNL instead of __THREAD
34278 for memory synchronization functions.
34279
94d44d9f
RM
342802011-10-26 Roland McGrath <roland@hack.frob.com>
34281
21b64b15 34282 [BZ #13349]
94d44d9f
RM
34283 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
34284 doesn't exist.
34285 * manual/stdio.texi (Obstack Streams): Node removed.
34286
f6ce9294
AS
342872011-10-26 Andreas Schwab <schwab@redhat.com>
34288
80479147
AS
34289 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
34290 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34291 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34292
f6ce9294
AS
34293 * math/math_private.h (math_force_eval): Allow non-addressable
34294 arguments.
34295 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
34296
618280a1
UD
342972011-10-25 Ulrich Drepper <drepper@gmail.com>
34298
e0016b11
UD
34299 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
34300 file is not needed.
34301
34302 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
34303 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34304 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34305 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34306 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34307 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34308 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34309 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
34310 Add AVX variants.
34311 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
34312 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
34313 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
34314 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
34315 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
34316 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
34317 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
34318 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
34319 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
34320 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
34321 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
34322 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
34323 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
34324 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
34325 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
34326 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
34327 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
34328 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
34329 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
34330
34331 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
34332 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
34333
618280a1
UD
34334 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
34335 place. Use VEX encoding when compiling for AVX.
34336
37822576
AS
343372011-10-25 Andreas Schwab <schwab@redhat.com>
34338
1f1e1947
AS
34339 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
34340 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
34341
37822576
AS
34342 * string/test-strchr.c (do_test): Don't generate NUL bytes.
34343
31ea014d
UD
343442011-10-25 Ulrich Drepper <drepper@gmail.com>
34345
d7826aa1 34346 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 34347 useless if() expression.
d7826aa1
UD
34348 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34349 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34350 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34351 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34352 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34353 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34354 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34355 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34356 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34357 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34358 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34359 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34360 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34361 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34362 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34363 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34364 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34365 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34366 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34367
31ea014d
UD
34368 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
34369
16437fec
AS
343702011-10-25 Andreas Schwab <schwab@redhat.com>
34371
34372 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
34373 condition.
34374 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34375
31d3cc00
UD
343762011-10-25 Ulrich Drepper <drepper@gmail.com>
34377
34378 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
34379 .text section. Avoid duplicate constants.
34380 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34381 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34382 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34383 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34384 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34385 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34386 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34387 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34388 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34389 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
34390 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34391 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34392 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34393 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34394 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34395 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34396 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34397 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34398 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34399 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34400 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34401 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34402 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34403 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
34404 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
34405 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
34406 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
34407 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
34408 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
34409 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
34410 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
34411 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
34412 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34413 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
34414 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
34415 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
34416 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
34417 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
34418 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
34419 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
34420 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
34421 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
34422 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
34423 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
34424 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
34425
58985aa9
UD
344262011-10-24 Ulrich Drepper <drepper@gmail.com>
34427
202c9deb
UD
34428 * sysdeps/x86_64/dla.h: Move to ...
34429 * sysdeps/x86_64/fpu/dla.h: ...here.
34430 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
34431 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 34432
af968f62
UD
34433 * config.make.in: Add have-mfma4 entry.
34434 * configure.in: Substitute libc_cv_cc_fma4.
34435 * math/Makefile (dbl-only-routines): Add sincostab.
34436 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
34437 Use __sincostab not sincos.
34438 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
34439 name is a macro.
34440 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34441 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34442 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34443 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
34444 using __copysign.
34445 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
34446 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
34447 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
34448 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
34449 and __inv.
34450 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
34451 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
34452 __copysign.
34453 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
34454 define aliases when function name is a macro.
34455 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
34456 sysdeps/ieee754/dbl-64/sincos.tbl.
34457 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
34458 fma4-enabled routines.
34459 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
34460 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
34461 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
34462 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
34463 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
34464 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
34465 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
34466 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
34467 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
34468 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
34469 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
34470 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
34471 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
34472 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
34473 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
34474 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
34475 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
34476 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
34477 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
34478 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
34479 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
34480 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
34481 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
34482 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
34483 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
34484 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
34485 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
34486 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
34487 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
34488 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
34489
58985aa9
UD
34490 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
34491 rename.
34492 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34493 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34494 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34495 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34496 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34497 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34498 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34499 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34500
a201fbcf
AS
345012011-10-24 Andreas Schwab <schwab@redhat.com>
34502
34503 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
34504
fc2ee42a
LD
345052011-10-23 Ulrich Drepper <drepper@gmail.com>
34506
bb3129bd
UD
34507 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
34508
0275fff8
UD
34509 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
34510 prediction.
34511 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
34512
2fa2ae85
UD
34513 * string/strnlen.c: Don't define STRNLEN, reverse logic.
34514 Remove unused variable magic_bits.
34515 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
34516
fc2ee42a
LD
34517 * string/strnlen.c: Define and use STRNLEN macro.
34518 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
34519 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
34520 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
34521 * wcsmbs/wcslen.c: Define and use WCSLEN.
34522 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
34523 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
34524 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
34525 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
34526 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
34527 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
34528 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34529
ce7dd29f
LD
345302011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34531
34532 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34533 strnlen-sse2-no-bsf.
34534 Rename strlen-no-bsf to strlen-sse2-no-bsf.
34535 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
34536 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
34537 Add strnlen support.
34538 (USE_AS_STRNLEN): New macro.
34539 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
34540 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
34541 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
34542 * sysdeps/x86_64/wcslen.S: New file.
34543
979c70a3
MZ
345442011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
34545
34546 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34547 XMM-moves are used for copying on small sizes.
34548
2d09f82f
LD
345492011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34550
34551 * wcsmbs/Makefile (strop-tests): Add wcschr.
34552 * wcsmbs/test-wcschr.c: New file.
34553 * string/test-strchr.c: Update.
34554 Add wcschr support.
34555 (WIDE): New macro.
34556
619fccca
LD
345572011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34558
2d09f82f 34559 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
34560 * wcsmbs/test-wcslen.c: New file.
34561 * string/test-strlen.c: Update.
34562 Add wcslen support.
34563 (WIDE): New macro.
34564
09f699ea
UD
345652011-10-23 Ulrich Drepper <drepper@gmail.com>
34566
34567 * po/it.po: Update from translation team.
34568
95584d3b
LD
345692011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34570
34571 * sysdeps/x86_64/wcscmp.S: Update.
34572 Fix wrong comparison semantics.
34573 wcscmp shall use signed comparison not unsigned.
34574 Don't use substraction to avoid overflow bug.
34575 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
34576 * wcsmbc/wcscmp.c: Likewise.
34577 * string/test-strcmp.c: Likewise.
34578 Add new tests to check cases with negative values.
34579
c8b3296b
UD
345802011-10-23 Ulrich Drepper <drepper@gmail.com>
34581
34582 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
34583 * sysdeps/x86_64/dla.h: ...here. New file.
34584 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
34585 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34586 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34587 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34588 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34589 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34590 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34591 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34592 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34593
246ad57a
AS
345942011-10-23 Andreas Schwab <schwab@linux-m68k.org>
34595
34596 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
34597 __ynl_finite aliases.
34598
a1a87169
UD
345992011-10-22 Ulrich Drepper <drepper@gmail.com>
34600
0d355eb7
UD
34601 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34602
a1a87169
UD
34603 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
34604 define DLA_FMA.
34605 [DLA_FMA] (EMULV): Use DLA_FMA.
34606 [DLA_FMA] (MUL12): Use EMULV.
34607 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
34608 that are not needed.
34609 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34610 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34611 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34612 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34613 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34614 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34615 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34616
ee2aafe0
AS
346172011-10-22 Andreas Schwab <schwab@linux-m68k.org>
34618
34619 * math/s_nan.c: Undef __nan.
34620 * math/s_nanf.c: Undef __nanf.
34621 * math/s_nanl.c: Undef __nanl.
34622 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
34623 "math_private.h".
34624
bc62c2fb
UD
346252011-10-22 Ulrich Drepper <drepper@gmail.com>
34626
77425c63
UD
34627 * math/s_catan.c: Add branch predictions.
34628 * math/s_catanf.c: Likewise.
34629 * math/s_catanh.c: Likewise.
34630 * math/s_catanhf.c: Likewise.
34631 * math/s_catanhl.c: Likewise.
34632 * math/s_catanl.c: Likewise.
34633 * math/s_cexp.c: Likewise.
34634 * math/s_cexpf.c: Likewise.
34635 * math/s_cexpl.c: Likewise.
34636 * math/s_clog.c: Likewise.
34637 * math/s_clog10.c: Likewise.
34638 * math/s_clog10f.c: Likewise.
34639 * math/s_clog10l.c: Likewise.
34640 * math/s_clogf.c: Likewise.
34641 * math/s_clogl.c: Likewise.
34642 * math/s_csqrt.c: Likewise.
34643 * math/s_csqrtf.c: Likewise.
34644 * math/s_csqrtl.c: Likewise.
34645 * math/s_ctanf.c: Likewise.
34646 * math/s_ctanh.c: Likewise.
34647 * math/s_ctanhf.c: Likewise.
34648 * math/s_ctanhl.c: Likewise.
34649 * math/s_ctanl.c: Likewise.
34650
bc62c2fb
UD
34651 * math/math_private.h: Define __nan, __nanf, __nanl.
34652 * math/s_cacosh.c: Include <math_private.h>.
34653 * math/s_cacoshl.c: Likewise.
34654 * math/s_casinh.c: Likewise.
34655 * math/s_casinhf.c: Likewise.
34656 * math/s_casinhl.c: Likewise.
34657 * math/s_ccos.c: Rely entire on ccosh.
34658 * math/s_ccosf.c: Rely entire on ccoshf.
34659 * math/s_ccosl.c: Rely entirely on ccoshl.
34660 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
34661 Remove tests for FE_INVALID.
34662 * math/s_ccoshf.c: Likewise.
34663 * math/s_ccoshl.c: Likewise.
34664 * math/s_csin.c: Likewise.
34665 * math/s_csinf.c: Likewise.
34666 * math/s_csinh.c Likewise.
34667 * math/s_csinhf.c: Likewise.
34668 * math/s_csinhl.c: Likewise.
34669 * math/s_csinl.c: Likewise.
34670 * math/s_ctan.c: Likewise.
34671 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
34672 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
34673 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
34674
8ec250a4
UD
346752011-10-21 Ulrich Drepper <drepper@gmail.com>
34676
c196fed8
UD
34677 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
34678 compilation problems.
34679
8ec250a4
UD
34680 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
34681 __builtin_expect.
34682
8d4f46c6
UD
346832011-10-20 Ulrich Drepper <drepper@gmail.com>
34684
ed72b654
UD
34685 * sysdeps/i386/configure.in: Test for -mfma4 option.
34686 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
34687 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
34688 COMMON_CPUID_INDEX_80000001.
34689 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
34690 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
34691 use it if FMA3 is not supported.
34692 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
34693
8d4f46c6
UD
34694 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
34695 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34696
d45c60c2
AS
346972011-10-20 Andreas Schwab <schwab@redhat.com>
34698
34699 [BZ #12892]
34700 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
34701 it would create a cycle with a link time dependency.
34702
d9a4d2ab
UD
347032011-10-19 Ulrich Drepper <drepper@gmail.com>
34704
855d1560
UD
34705 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
34706 instruction.
34707 * string/Makefile (strop-tests): Add rawmemchr.
34708 * string/test-rawmemchr.c: New file.
34709
d9a4d2ab
UD
34710 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
34711 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
34712 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
34713 when compiling str{,n}casecmp and when AVX is available. Hook up
34714 new optimized code in initializers.
34715
8f3b1ffe
AS
347162011-10-19 Andreas Schwab <schwab@redhat.com>
34717
34718 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
34719 __feraiseexcept instead of feraiseexcept.
34720
d38f1dba
UD
347212011-10-18 Ulrich Drepper <drepper@gmail.com>
34722
d9a8d0ab
UD
34723 * math/math_private.h: Define defaults for libc_fetestexcept and
34724 libc_feupdateenv.
34725 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
34726 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
34727 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34728 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34729 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34730 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34731 libc_fetestexcept and libc_feupdateenv.
34732
4855e3dd
UD
34733 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
34734 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
34735 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
34736 * sysdeps/x86_64/fpu/math_private.h: Define special version of
34737 libc_feholdexcept_setround.
34738
581d30e3
UD
34739 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
34740 Add s_nearbyint-c and s_nearbyintf-c.
34741 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
34742 nearbyintf inlines.
34743 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
34744 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
34745 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
34746 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
34747
d38f1dba
UD
34748 * math/math_private.h: Define defaults for libc_fegetround,
34749 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
34750 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
34751 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
34752 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
34753 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
34754 standard functions.
34755 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34756 Remove comments and hacks for old compiler versions.
34757 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34758 libc_fegetround, libc_fesetround, libc_feholdexcept, and
34759 libc_feholdexceptl.
34760
caa6c9d8
AS
347612011-10-18 Andreas Schwab <schwab@redhat.com>
34762
34763 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
34764 (__feraiseexcept_renamed): Add __NTH.
34765 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
34766 namespace violations.
34767
97c066e6
UD
347682011-10-17 Ulrich Drepper <drepper@gmail.com>
34769
99ce7b04
UD
34770 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
34771
1004d182
UD
34772 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
34773
228a984d
UD
34774 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
34775 recently added interfaces.
34776 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
34777
c8553a6a
UD
34778 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
34779 about macro parameter expansion.
34780
ed22dcf6
UD
34781 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
34782 __NO_MATH_INLINES is defined. Cleanups.
34783
34784 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
34785 and __floorf is target has SSE4.1.
34786 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
34787 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
34788 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
34789 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
34790
b171c137
UD
34791 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
34792 name.
34793 (floorf): Likewise.
34794
97c066e6
UD
34795 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
34796
629f62ef
AS
347972011-10-17 Andreas Schwab <schwab@redhat.com>
34798
49a43d80
AS
34799 * misc/sys/cdefs.h: Fix last change.
34800
629f62ef
AS
34801 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
34802 database lookup.
34803
e453f6cd
UD
348042011-10-16 Ulrich Drepper <drepper@gmail.com>
34805
aa78043a
UD
34806 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
34807
ad0f5cad
UD
34808 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
34809 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34810 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34811 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34812 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34813 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34814 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34815 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34816 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34817 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
34818 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
34819 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
34820 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
34821 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
34822 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
34823 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
34824 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
34825 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
34826 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
34827 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
34828 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
34829 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
34830
34831 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
34832 ceil, ceilf, floor, floorf.
34833
34834 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
34835 Perform IRELATIVE relocations last.
34836
e453f6cd
UD
34837 * elf/do-rel.h: Add another parameter nrelative, replacing the
34838 local variable with the same name. Change name of the function
34839 to end in Rel or Rela (uppercase).
34840 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
34841 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
34842 elf_dynamic_do_##reloc function.
34843
fd5bdc09
UD
348442011-10-15 Ulrich Drepper <drepper@gmail.com>
34845
79b195b5
UD
34846 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
34847 is sufficient, at least on modern CPUs.
34848
d4a28569
UD
34849 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
34850
b61099b5
UD
34851 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
34852 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
34853
bcf01e6d
UD
34854 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
34855 __expl_finite.
34856 * math/bits/math-finite.h: Add entries for exp.
34857 * math/e_expl.c: Add __*_finite alias.
34858 * sysdeps/i386/fpu/e_exp.S: Likewise.
34859 * sysdeps/i386/fpu/e_expf.S: Likewise.
34860 * sysdeps/i386/fpu/e_expl.c: Likewise.
34861 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34862 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34863 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34864 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34865 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
34866 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34867 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34868
ba1a0d59
UD
34869 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
34870 is sufficient, at least on modern CPUs.
34871
fd5bdc09
UD
34872 * ctype/ctype-info.c (__ctype_init): Define.
34873 * include/ctype.h (__ctype_init): Declare.
34874 (__ctype_b_loc): The variable is always initialized.
34875 (__ctype_toupper_loc): Likewise.
34876 (__ctype_tolower_loc): Likewise.
34877 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
34878 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
34879
7872cfb0
AS
348802011-10-15 Andreas Schwab <schwab@linux-m68k.org>
34881
b468825a
AS
34882 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
34883
7872cfb0
AS
34884 * configure.in: Also look in $cxxmachine/include for C++ system
34885 headers.
34886
be13f7bf
LD
348872011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34888
34889 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
34890 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
34891 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
34892 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
34893 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
34894 (USE_AS_WMEMCMP): New macro.
34895 Fixing indents.
34896 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
34897 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
34898 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
34899 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
34900 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34901 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
34902 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
34903 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
34904 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
34905 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
34906 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
34907 (USE_AS_WMEMCMP): New macro.
34908 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
34909 * sysdeps/string/test-memcmp.c: Update.
34910 Fix simple_wmemcmp.
34911 Add new tests.
34912 * wcsmbs/wmemcmp.c: Update.
34913 (WMEMCMP): New macro.
34914 Fix overflow bug.
34915
556a2007
AJ
349162011-10-12 Andreas Jaeger <aj@suse.de>
34917
34918 [BZ #13268]
34919 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
34920
538faaa7
UD
349212011-10-15 Ulrich Drepper <drepper@gmail.com>
34922
ab6737ff
UD
34923 * libio/iofwide.c (do_length): Avoid warning.
34924
538faaa7
UD
34925 * ctype/ctype.h (__isctype_f): Add missing __THROW.
34926
396a21b1
UD
349272011-10-14 Ulrich Drepper <drepper@gmail.com>
34928
cdf2901f
UD
34929 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
34930
38ad40ce
UD
34931 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
34932 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
34933 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
34934 * sysdeps/i386/i686/fpu/e_log.S: New file.
34935 * sysdeps/i386/i686/fpu/e_logf.S: New file.
34936 * sysdeps/i386/i686/fpu/e_logl.S: New file.
34937
396a21b1
UD
34938 * ctype/ctype.h: Add support for inlined isXXX functions when
34939 compiling C++ code.
34940
6b1f68c9
AS
349412011-10-14 Andreas Schwab <schwab@redhat.com>
34942
349290c0
AS
34943 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34944
6b1f68c9
AS
34945 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
34946
f2282d42
RM
349472011-10-13 Roland McGrath <roland@hack.frob.com>
34948
34949 [BZ #13291]
34950 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
34951
5298ffa8
AS
349522011-10-13 Andreas Schwab <schwab@redhat.com>
34953
714fad23
AS
34954 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
34955 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
34956 feraiseexcept.
34957
81dcc7fb
AS
34958 * sysdeps/x86_64/memrchr.S: Check for zero size.
34959
5298ffa8
AS
34960 * string/stratcliff.c: Add memrchr tests.
34961
951fbcec
LD
349622011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34963
34964 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34965 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
34966 rawmemchr-sse2 rawmemchr-sse2-bsf.
34967 * sysdeps/i386/i686/multiarch/memchr.S: New file.
34968 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
34969 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
34970 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
34971 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
34972 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
34973 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
34974 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
34975 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
34976 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
34977 * string/memrchr.c (MEMRCHR): New macro.
34978
0ac5ae23
UD
349792011-10-12 Ulrich Drepper <drepper@gmail.com>
34980
34981 Add integration with gcc's -ffinite-math-only and optimize wrapper
34982 functions in libm.
34983 * Versions.def: Define GLIBC_2.15 version for libm.
34984 * math/Makefile (headers): Add bits/math-finite.h.
34985 * math/bits/math-finite.h: New file.
34986 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
34987 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
34988 * math/e_acoshl.c: Add __*_finite alias.
34989 * math/e_acosl.c: Likewise.
34990 * math/e_asinl.c: Likewise.
34991 * math/e_atan2l.c: Likewise.
34992 * math/e_atanhl.c: Likewise.
34993 * math/e_coshl.c: Likewise.
34994 * math/e_exp10.c: Likewise.
34995 * math/e_exp10f.c: Likewise.
34996 * math/e_exp10l.c: Likewise.
34997 * math/e_exp2l.c: Likewise.
34998 * math/e_fmodl.c: Likewise.
34999 * math/e_gammal_r.c: Likewise.
35000 * math/e_hypotl.c: Likewise.
35001 * math/e_j0l.c: Likewise.
35002 * math/e_j1l.c: Likewise.
35003 * math/e_jnl.c: Likewise.
35004 * math/e_lgammal_r.c: Likewise.
35005 * math/e_log10l.c: Likewise.
35006 * math/e_log2l.c: Likewise.
35007 * math/e_logl.c: Likewise.
35008 * math/e_powl.c: Likewise.
35009 * math/e_sinhl.c: Likewise.
35010 * math/e_sqrtl.c: Likewise.
35011 * math/e_scalb.c: Completely rewritten and optimized.
35012 * math/e_scalbf.c: Likewise.
35013 * math/e_scalbl.c: Likewise.
35014 * math/w_acos.c: Likewise.
35015 * math/w_acosf.c: Likewise.
35016 * math/w_acosl.c: Likewise.
35017 * math/w_acosh.c: Likewise.
35018 * math/w_acoshf.c: Likewise.
35019 * math/w_acoshl.c: Likewise.
35020 * math/w_asin.c: Likewise.
35021 * math/w_asinf.c: Likewise.
35022 * math/w_asinl.c: Likewise.
35023 * math/w_atan2.c: Likewise.
35024 * math/w_atan2f.c: Likewise.
35025 * math/w_atan2l.c: Likewise.
35026 * math/w_atanh.c: Likewise.
35027 * math/w_atanhf.c: Likewise.
35028 * math/w_atanhl.c: Likewise.
35029 * math/w_exp10.c: Likewise.
35030 * math/w_exp10f.c: Likewise.
35031 * math/w_exp10l.c: Likewise.
35032 * math/w_fmod.c: Likewise.
35033 * math/w_fmodf.c: Likewise.
35034 * math/w_fmodl.c: Likewise.
35035 * math/w_j0.c: Likewise.
35036 * math/w_j0f.c: Likewise.
35037 * math/w_j0l.c: Likewise.
35038 * math/w_j1.c: Likewise.
35039 * math/w_j1f.c: Likewise.
35040 * math/w_j1l.c: Likewise.
35041 * math/w_jn.c: Likewise.
35042 * math/w_jnf.c: Likewise.
35043 * math/w_log.c: Likewise.
35044 * math/w_logf.c: Likewise.
35045 * math/w_logl.c: Likewise.
35046 * math/w_log10.c: Likewise.
35047 * math/w_log10f.c: Likewise.
35048 * math/w_log10l.c: Likewise.
35049 * math/w_log2.c: Likewise.
35050 * math/w_log2f.c: Likewise.
35051 * math/w_log2l.c: Likewise.
35052 * math/w_pow.c: Likewise.
35053 * math/w_powf.c: Likewise.
35054 * math/w_powl.c: Likewise.
35055 * math/w_remainder.c: Likewise.
35056 * math/w_remainderf.c: Likewise.
35057 * math/w_remainderl.c: Likewise.
35058 * math/w_scalb.c: Likewise.
35059 * math/w_scalbf.c: Likewise.
35060 * math/w_scalbl.c: Likewise.
35061 * math/w_sqrt.c: Likewise.
35062 * math/w_sqrtf.c: Likewise.
35063 * math/w_sqrtl.c: Likewise.
35064 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
35065 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
35066 used.
35067 * math/math_private.h: Declare __kernel_standard_f.
35068 * math/w_cosh.c: Remove cruft and optimize a bit.
35069 * math/w_coshf.c: Likewise.
35070 * math/w_coshl.c: Likewise.
35071 * math/w_exp2.c: Likewise.
35072 * math/w_exp2f.c: Likewise.
35073 * math/w_exp2l.c: Likewise.
35074 * math/w_hypot.c: Likewise.
35075 * math/w_hypotf.c: Likewise.
35076 * math/w_hypotl.c: Likewise.
35077 * math/w_lgamma.c: Likewise.
35078 * math/w_lgamma_r.c: Likewise.
35079 * math/w_lgammaf.c: Likewise.
35080 * math/w_lgammaf_r.c: Likewise.
35081 * math/w_lgammal.c: Likewise.
35082 * math/w_lgammal_r.c: Likewise.
35083 * math/w_sinh.c: Likewise.
35084 * math/w_sinhf.c: Likewise.
35085 * math/w_sinhl.c: Likewise.
35086 * math/w_tgamma.c: Likewise.
35087 * math/w_tgammaf.c: Likewise.
35088 * math/w_tgammal.c: Likewise.
35089 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35090 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35091 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
35092 Minor optimizations. Pretty printing. Remove cruft.
35093 * sysdeps/i386/fpu/e_acosf.S: Likewise.
35094 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35095 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35096 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35097 * sysdeps/i386/fpu/e_acosl.c: Likewise.
35098 * sysdeps/i386/fpu/e_asin.S: Likewise.
35099 * sysdeps/i386/fpu/e_asinf.S: Likewise.
35100 * sysdeps/i386/fpu/e_atan2.S: Likewise.
35101 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
35102 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
35103 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35104 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35105 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35106 * sysdeps/i386/fpu/e_exp10.S: Likewise.
35107 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
35108 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
35109 * sysdeps/i386/fpu/e_exp2.S: Likewise.
35110 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
35111 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
35112 * sysdeps/i386/fpu/e_fmod.S: Likewise.
35113 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
35114 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
35115 * sysdeps/i386/fpu/e_hypot.S: Likewise.
35116 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
35117 * sysdeps/i386/fpu/e_log.S: Likewise.
35118 * sysdeps/i386/fpu/e_log10.S: Likewise.
35119 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35120 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35121 * sysdeps/i386/fpu/e_log2.S: Likewise.
35122 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35123 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35124 * sysdeps/i386/fpu/e_logf.S: Likewise.
35125 * sysdeps/i386/fpu/e_logl.S: Likewise.
35126 * sysdeps/i386/fpu/e_pow.S: Likewise.
35127 * sysdeps/i386/fpu/e_powf.S: Likewise.
35128 * sysdeps/i386/fpu/e_powl.S: Likewise.
35129 * sysdeps/i386/fpu/e_remainder.S: Likewise.
35130 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
35131 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
35132 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35133 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35134 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35135 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
35136 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
35137 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
35138 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35139 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35140 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35141 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35142 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35143 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35144 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
35145 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35146 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35147 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35148 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35149 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35150 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35151 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35152 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35153 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35154 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35155 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35156 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35157 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35158 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35159 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35160 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35161 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35162 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35163 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35164 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
35165 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35166 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
35167 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35168 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35169 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35170 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35171 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35172 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35173 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35174 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35175 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35176 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35177 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35178 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35179 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35180 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35181 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35182 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35183 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35184 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35185 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35186 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35187 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
35188 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35189 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35190 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35191 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35192 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35193 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35194 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35195 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35196 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35197 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35198 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35199 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35200 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35201 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35202 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35203 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35204 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35205 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35206 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
35207 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35208 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35209 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35210 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35211 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35212 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35213 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35214 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
35215 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35216 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35217 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35218 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35219 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35220 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
35221 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35222 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35223 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35224 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35225 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35226 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35227 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35228 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35229 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35230 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35231 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
35232 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35233 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
35234 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
35235 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
35236 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
35237 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
35238 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
35239 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
35240 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
35241 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
35242 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35243 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35244 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35245 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35246 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
35247 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35248 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
35249 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
35250 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
35251 (__isnanf): Likewise.
35252 (__isinf_ns): Likewise.
35253 (__isinf_nsf): Likewise.
35254 (__finite): Likewise.
35255 (__finitef): Likewise.
35256 (__ieee754_sqrt): Define as macro.
35257 (__ieee754_sqrtf): Define as macro.
35258 (__ieee754_sqrtl): Define as macro.
35259 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
35260 inlined copy.
35261 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
35262 __FINITE_MATH_ONLY__ consistent.
35263 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
35264
12cc2fcd
AS
352652011-10-10 Andreas Schwab <schwab@linux-m68k.org>
35266
a843a204
AS
35267 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
35268 of rawmemchr.
35269
12cc2fcd
AS
35270 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
35271
c853acd5
UD
352722011-10-09 Ulrich Drepper <drepper@gmail.com>
35273
35274 * po/ja.po: Update from translation team.
35275
c658d255
RM
352762011-10-08 Roland McGrath <roland@hack.frob.com>
35277
110946e4
RM
35278 * locale/programs/locarchive.c (prepare_address_space): New function.
35279 (create_archive, enlarge_archive, open_archive): Use it.
35280
50604220
RM
35281 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
35282 inside [SHARED], where it is used.
35283
c658d255
RM
35284 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
35285
35286 * nss/getent.c (netgroup_keys): Remove unused variable.
35287 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35288
6a621eb7
UD
352892011-10-08 Ulrich Drepper <drepper@gmail.com>
35290
7edb55ce
UD
35291 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
35292 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
35293 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
35294 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
35295 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
35296 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
35297 * math/Makefile (libm-calls): Add s_isinf_ns.
35298 * math/divtc3.c: Use __isinf_nsl instead of isinf.
35299 * math/multc3.c: Likewise.
35300 * math/s_casin.c: Likewise.
35301 * math/s_casinf.c: Likewise.
35302 * math/s_casinl.c: Likewise.
35303 * math/s_ccos.c: Likewise.
35304 * math/s_ccosf.c: Likewise.
35305 * math/s_ccosl.c: Likewise.
35306 * math/s_ctan.c: Likewise.
35307 * math/s_ctanf.c: Likewise.
35308 * math/s_ctanh.c: Likewise.
35309 * math/s_ctanhf.c: Likewise.
35310 * math/s_ctanhl.c: Likewise.
35311 * math/s_ctanl.c: Likewise.
35312 * math/w_fmod.c: Likewise.
35313 * math/w_fmodf.c: Likewise.
35314 * math/w_fmodl.c: Likewise.
35315 * math/w_remainder.c: Likewise.
35316 * math/w_remainderf.c: Likewise.
35317 * math/w_remainderl.c: Likewise.
35318 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
35319 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
35320 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
35321 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
35322 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
35323 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
35324 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
35325 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
35326
187da0ae
UD
35327 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
35328 of the number.
35329 * stdio-common/printf_fphex.c: Likewise.
35330 * stdio-common/printf_size.c: Likewise.
35331
9277c064
UD
35332 * math/e_exp10.c: Include math_private.h using <...> not "...".
35333 * math/e_exp10f.c: Likewise.
35334 * math/e_exp10l.c: Likewise.
35335 * math/e_exp2l.c: Likewise.
35336 * math/e_j0l.c: Likewise.
35337 * math/e_j1l.c: Likewise.
35338 * math/e_jnl.c: Likewise.
35339 * math/e_lgammal_r.c: Likewise.
35340 * math/e_rem_pio2l.c: Likewise.
35341 * math/e_scalb.c: Likewise.
35342 * math/e_scalbf.c: Likewise.
35343 * math/e_scalbl.c: Likewise.
35344 * math/k_cosl.c: Likewise.
35345 * math/k_sinl.c: Likewise.
35346 * math/k_tanl.c: Likewise.
35347 * math/s_cacoshf.c: Likewise.
35348 * math/s_catan.c: Likewise.
35349 * math/s_catanf.c: Likewise.
35350 * math/s_catanh.c: Likewise.
35351 * math/s_catanhf.c: Likewise.
35352 * math/s_catanhl.c: Likewise.
35353 * math/s_catanl.c: Likewise.
35354 * math/s_ccosh.c: Likewise.
35355 * math/s_ccoshf.c: Likewise.
35356 * math/s_ccoshl.c: Likewise.
35357 * math/s_cexp.c: Likewise.
35358 * math/s_cexpf.c: Likewise.
35359 * math/s_cexpl.c: Likewise.
35360 * math/s_clog.c: Likewise.
35361 * math/s_clog10.c: Likewise.
35362 * math/s_clog10f.c: Likewise.
35363 * math/s_clog10l.c: Likewise.
35364 * math/s_clogf.c: Likewise.
35365 * math/s_clogl.c: Likewise.
35366 * math/s_csin.c: Likewise.
35367 * math/s_csinf.c: Likewise.
35368 * math/s_csinh.c: Likewise.
35369 * math/s_csinhf.c: Likewise.
35370 * math/s_csinhl.c: Likewise.
35371 * math/s_csinl.c: Likewise.
35372 * math/s_csqrt.c: Likewise.
35373 * math/s_csqrtf.c: Likewise.
35374 * math/s_csqrtl.c: Likewise.
35375 * math/s_ctan.c: Likewise.
35376 * math/s_ctanf.c: Likewise.
35377 * math/s_ctanh.c: Likewise.
35378 * math/s_ctanhf.c: Likewise.
35379 * math/s_ctanhl.c: Likewise.
35380 * math/s_ctanl.c: Likewise.
35381 * math/s_ldexp.c: Likewise.
35382 * math/s_ldexpf.c: Likewise.
35383 * math/s_ldexpl.c: Likewise.
35384 * math/s_significand.c: Likewise.
35385 * math/s_significandf.c: Likewise.
35386 * math/s_significandl.c: Likewise.
35387 * math/w_acos.c: Likewise.
35388 * math/w_acosf.c: Likewise.
35389 * math/w_acosh.c: Likewise.
35390 * math/w_acoshf.c: Likewise.
35391 * math/w_acoshl.c: Likewise.
35392 * math/w_acosl.c: Likewise.
35393 * math/w_asin.c: Likewise.
35394 * math/w_asinf.c: Likewise.
35395 * math/w_asinl.c: Likewise.
35396 * math/w_atan2.c: Likewise.
35397 * math/w_atan2f.c: Likewise.
35398 * math/w_atan2l.c: Likewise.
35399 * math/w_atanh.c: Likewise.
35400 * math/w_atanhf.c: Likewise.
35401 * math/w_atanhl.c: Likewise.
35402 * math/w_cosh.c: Likewise.
35403 * math/w_coshf.c: Likewise.
35404 * math/w_coshl.c: Likewise.
35405 * math/w_dremf.c: Likewise.
35406 * math/w_exp10.c: Likewise.
35407 * math/w_exp10f.c: Likewise.
35408 * math/w_exp10l.c: Likewise.
35409 * math/w_exp2.c: Likewise.
35410 * math/w_exp2f.c: Likewise.
35411 * math/w_fmod.c: Likewise.
35412 * math/w_fmodf.c: Likewise.
35413 * math/w_fmodl.c: Likewise.
35414 * math/w_hypot.c: Likewise.
35415 * math/w_hypotf.c: Likewise.
35416 * math/w_hypotl.c: Likewise.
35417 * math/w_j0.c: Likewise.
35418 * math/w_j0f.c: Likewise.
35419 * math/w_j0l.c: Likewise.
35420 * math/w_j1.c: Likewise.
35421 * math/w_j1f.c: Likewise.
35422 * math/w_j1l.c: Likewise.
35423 * math/w_jn.c: Likewise.
35424 * math/w_jnf.c: Likewise.
35425 * math/w_jnl.c: Likewise.
35426 * math/w_lgamma.c: Likewise.
35427 * math/w_lgamma_r.c: Likewise.
35428 * math/w_lgammaf.c: Likewise.
35429 * math/w_lgammaf_r.c: Likewise.
35430 * math/w_lgammal.c: Likewise.
35431 * math/w_lgammal_r.c: Likewise.
35432 * math/w_log.c: Likewise.
35433 * math/w_log10.c: Likewise.
35434 * math/w_log10f.c: Likewise.
35435 * math/w_log10l.c: Likewise.
35436 * math/w_log2.c: Likewise.
35437 * math/w_log2f.c: Likewise.
35438 * math/w_log2l.c: Likewise.
35439 * math/w_logf.c: Likewise.
35440 * math/w_logl.c: Likewise.
35441 * math/w_pow.c: Likewise.
35442 * math/w_powf.c: Likewise.
35443 * math/w_powl.c: Likewise.
35444 * math/w_remainder.c: Likewise.
35445 * math/w_remainderf.c: Likewise.
35446 * math/w_remainderl.c: Likewise.
35447 * math/w_scalb.c: Likewise.
35448 * math/w_scalbf.c: Likewise.
35449 * math/w_scalbl.c: Likewise.
35450 * math/w_sinh.c: Likewise.
35451 * math/w_sinhf.c: Likewise.
35452 * math/w_sinhl.c: Likewise.
35453 * math/w_sqrt.c: Likewise.
35454 * math/w_sqrtf.c: Likewise.
35455 * math/w_sqrtl.c: Likewise.
35456 * math/w_tgamma.c: Likewise.
35457 * math/w_tgammaf.c: Likewise.
35458 * math/w_tgammal.c: Likewise.
35459
6a621eb7
UD
35460 * po/ja.po: Update from translation team.
35461
bf582445
AJ
354622011-09-29 Andreas Jaeger <aj@suse.de>
35463
f9efbf3a
AJ
35464 [BZ #13179]
35465 * sunrpc/netname.c (netname2host): Fix logic.
35466
bf582445
AJ
35467 [BZ #6779]
35468 [BZ #6783]
35469 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
35470 correctly.
35471 * math/w_remainder.c (__remainder): Likewise.
35472 * math/w_remainderf.c (__remainderf): Likewise.
35473 * math/libm-test.inc (remainder_test): Add test cases.
35474
48693bea
AK
354752011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35476
35477 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
35478 sdiv_qrnnd.
35479
42622229
LD
354802011-10-07 Ulrich Drepper <drepper@gmail.com>
35481
35482 * string/test-memcmp.c: Avoid unncessary #defines.
35483 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
35484
093ecf92
LD
354852011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35486
35487 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
35488 Use new sse2 version for core i3 - i7 as it's faster
35489 than sse42 version.
35490 (bit_Prefer_PMINUB_for_stringop): New.
35491 * sysdeps/x86_64/rawmemchr.S: Update.
35492 Replace with faster SSE2 version.
35493 * sysdeps/x86_64/memrchr.S: New file.
35494 * sysdeps/x86_64/memchr.S: Update.
35495 Replace with faster SSE2 version.
35496
fde56e5c
MP
354972011-09-12 Marek Polacek <mpolacek@redhat.com>
35498
35499 * elf/dl-load.c (lose): Add cast to avoid warning.
35500
21fd49a9
UD
355012011-10-07 Ulrich Drepper <drepper@gmail.com>
35502
5a06e643
UD
35503 * po/ca.po: Update from translation team.
35504
684ae515
UD
35505 * inet/getnetgrent_r.c: Hook up nscd.
35506 * nscd/Makefile (routines): Add nscd_netgroup.
35507 (nscd-modules): Add netgroupcache.
35508 (CFLAGS-netgroupcache.c): Define.
35509 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
35510 (cache_search): Add const to second parameter.
35511 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
35512 INNETGR.
35513 (dbs): Add netgrdb entry.
35514 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
35515 (verify_persistent_db): Handle netgrdb.
35516 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
35517 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
35518 GETFDNETGR.
35519 (netgroup_response_header): Define.
35520 (innetgroup_response_header): Define.
35521 (datahead): Add netgroup_response_header and innetgroup_response_header
35522 elements.
35523 * nscd/nscd.conf: Add entries for netgroup cache.
35524 * nscd/nscd.h (dbtype): Add netgrdb.
35525 (_PATH_NSCD_NETGROUP_DB): Define.
35526 (netgroup_iov_disabled): Declare.
35527 (xmalloc, xcalloc, xrealloc): Move declarations here.
35528 (cache_search): Adjust prototype.
35529 Add netgroup-related prototypes.
35530 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
35531 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
35532 (__nscd_innetgr): Declare.
35533 * nscd/selinux.c (perms): Use access_vector_t as element type and
35534 add netgroup-related initializers.
35535 * nscd/netgroupcache.c: New file.
35536 * nscd/nscd_netgroup.c: New file.
35537 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
35538 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
35539 For four parameters use innetgr.
35540 * nss/nss_files/files-init.c: Add definition and callback for netgr.
35541 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
35542 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
35543 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
35544
21fd49a9
UD
35545 * nscd/connections.c (register_traced_file): Don't register file
35546 for disabled databases.
35547
054c0457
UD
355482011-10-06 Ulrich Drepper <drepper@gmail.com>
35549
32b63198
UD
35550 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
35551
054c0457
UD
35552 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
35553 from tree and freeing node.
35554
64031225
JO
355552011-09-25 Jiri Olsa <jolsa@redhat.com>
35556
35557 * nss/nsswitch.c (__nss_database_lookup): Handle
35558 nss_parse_service_list out of memory case.
35559
0490345c
JO
355602011-09-15 Jiri Olsa <jolsa@redhat.com>
35561
35562 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
35563 out of memory case.
35564
3a62d00d
AS
355652011-10-04 Andreas Schwab <schwab@redhat.com>
35566
35567 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
35568 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
35569 pass it down.
35570 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
35571 elf_machine_rela, elf_machine_lazy_rel.
35572 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
35573 (ELF_DYNAMIC_DO_REL): Likewise.
35574 (ELF_DYNAMIC_DO_RELA): Likewise.
35575 (ELF_DYNAMIC_RELOCATE): Likewise.
35576 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
35577 to ELF_DYNAMIC_DO_REL.
35578 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
35579 (dl_main): In trace mode always set __RTLD_NOIFUNC.
35580 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
35581 elf_machine_rela.
35582 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
35583 skip_ifunc, don't call ifunc function if non-zero.
35584 (elf_machine_rela): Likewise.
35585 (elf_machine_lazy_rel): Likewise.
35586 (elf_machine_lazy_rela): Likewise.
35587 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
35588 (elf_machine_lazy_rel): Likewise.
35589 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
35590 Likewise.
35591 (elf_machine_lazy_rel): Likewise.
35592 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35593 Likewise.
35594 (elf_machine_lazy_rel): Likewise.
35595 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
35596 (elf_machine_lazy_rel): Likewise.
35597 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
35598 (elf_machine_lazy_rel): Likewise.
35599 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35600 (elf_machine_lazy_rel): Likewise.
35601 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
35602 (elf_machine_lazy_rel): Likewise.
35603 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
35604 (elf_machine_lazy_rel): Likewise.
35605 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
35606 (elf_machine_lazy_rel): Likewise.
35607
68577918
UD
356082011-09-28 Ulrich Drepper <drepper@gmail.com>
35609
35610 * nss/nss_files/files-init.c (_nss_files_init): Use static
35611 initialization for all the *_traced_file variables.
35612
68822d74
AS
356132011-09-28 Andreas Schwab <schwab@redhat.com>
35614
35615 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35616
2056100b
RM
356172011-09-27 Roland McGrath <roland@hack.frob.com>
35618
35619 [BZ #13226]
35620 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
35621
32c76b63
AS
356222011-09-27 Andreas Schwab <schwab@redhat.com>
35623
35624 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
35625 Reread the line before reparsing it.
35626
bf972c9d
AS
356272011-09-26 Andreas Schwab <schwab@redhat.com>
35628
35629 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
35630
e057a1b5
JM
356312011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
35632 Maxim Kuvyrkov <maxim@codesourcery.com>
35633 Joseph Myers <joseph@codesourcery.com>
35634
35635 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
35636 if needed for __stack_chk_guard.
35637
bc7e1c36
RM
356382011-09-19 Roland McGrath <roland@hack.frob.com>
35639
ecb1482f
RM
35640 * sysdeps/posix/spawni.c (script_execute): Always define it.
35641 It will be optimized away if unused.
35642 (maybe_script_execute): New function.
35643 (__spawni): Call it.
35644
bc7e1c36
RM
35645 * Makerules: Don't include tls.make.
35646 (config-tls): Always set to thread.
35647 * tls.make.c: File removed.
35648
1c3b002b
MF
356492011-09-19 Mike Frysinger <vapier@gentoo.org>
35650
35651 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
35652 * config.make.in (CPPFLAGS-config): New substituted variable.
35653
2840865d
UD
356542011-09-15 Ulrich Drepper <drepper@gmail.com>
35655
88738eb6
UD
35656 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
35657
cbf645a6 35658 [BZ #13192]
2840865d
UD
35659 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
35660 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
35661
b402e91a
RM
356622011-09-15 Roland McGrath <roland@hack.frob.com>
35663
35664 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
35665 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
35666 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35667 (CALL_FAIL): Likewise.
35668 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
35669 (CALL_FAIL): Macro removed.
35670 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
35671
4c1a1f71
UD
356722011-09-15 Ulrich Drepper <drepper@gmail.com>
35673
35674 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
35675 for __FINITE_MATH_ONLY__ == 1.
35676
edc121be
AS
356772011-09-15 Andreas Schwab <schwab@redhat.com>
35678
35679 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
35680 __ieee754_sqrt instead of sqrt.
35681 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
35682 __ieee754_sqrtf instead of sqrtf.
35683 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
35684 __floorf instead of floorf.
35685 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
35686 __floorf, __truncf instead of floorf, truncf.
35687
cd205654
UD
356882011-09-14 Ulrich Drepper <drepper@gmail.com>
35689
ee4d0315
UD
35690 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
35691
cd205654
UD
35692 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
35693 __extern_always_inline.
35694 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
35695 32-bit.
35696
48b67d71
AS
356972011-09-14 Andreas Schwab <schwab@redhat.com>
35698
35699 * elf/rtld.c (dl_main): Also relocate in dependency order when
35700 doing symbol dependency testing.
35701
1ae12c75
AS
357022011-09-13 Andreas Schwab <schwab@linux-m68k.org>
35703
35704 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35705 Always define `refsym'.
35706
995a80df
AS
357072011-09-13 Andreas Schwab <schwab@redhat.com>
35708
e529793b
AS
35709 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
35710 (__FD_ELT): Renamed from __FDELT.
35711 * misc/bits/select2.h (__FD_ELT): Likewise.
35712 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
35713 __FD_MASK instead of __FDELT, __FDMASK.
35714 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35715 Likewise.
35716 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35717 Likewise.
35718
52d4fef8
AS
35719 * elf/Makefile (gen-ldd): Fix pattern.
35720
995a80df
AS
35721 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
35722 (init_tls): Likewise.
35723
8682f8b0
UD
357242011-09-12 Ulrich Drepper <drepper@gmail.com>
35725
35726 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
35727
de82006d
AS
357282011-09-12 Andreas Schwab <schwab@redhat.com>
35729
a7c8e6a1
AS
35730 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
35731 `struct cmsghdr *' instead of `void *'.
35732 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
35733 Likewise.
35734
0f31fe77
AS
357352011-09-11 Andreas Schwab <schwab@linux-m68k.org>
35736
35737 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
35738 if non-absolute.
35739 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
35740 ldd_rewrite_script.
0f31fe77 35741
32b4c839
UD
357422011-09-11 Ulrich Drepper <drepper@gmail.com>
35743
83cd1420
UD
35744 * configure.in: Remove --with-tls option.
35745 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
35746 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
35747 out in case it is missing.
35748 * sysdeps/ia64/elf/configure.in: Likewise.
35749 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
35750 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
35751 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
35752 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
35753 * sysdeps/sh/elf/configure.in: Likewise.
35754 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
35755 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35756 * sysdeps/x86_64/elf/configure.in: Likewise.
35757 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
35758 * sysdeps/mach/hurd/tls.h: Likewise.
35759
633f745d
UD
35760 [BZ #13067]
35761 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
35762
f318beb8
UD
35763 [BZ #13090]
35764 * configure.in: Fix use of AC_INIT.
35765
32b4c839
UD
35766 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
35767
3ce1f295
UD
357682011-09-10 Ulrich Drepper <drepper@gmail.com>
35769
bb016596
UD
35770 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
35771 __set_errno.
8e58439c
UD
35772 * malloc/hooks.c: Likewise.
35773
aebae053 35774 [BZ #11929]
02d46fc4
UD
35775 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
35776 variables statically.
35777 (narenas): Initialize.
35778 (list_lock): Initialize.
bb016596
UD
35779 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
35780 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
35781 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
35782 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
35783 Add initializers to main_arena and mp_.
35784 (malloc_state): Remove pagesize member. Change all users to use
35785 GLRO(dl_pagesize).
35786
35787 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
35788 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
35789 is always initialized.
35790
22a89187
UD
35791 * malloc/malloc.c: Removed unused configurations and dead code.
35792 * malloc/arena.c: Likewise.
35793 * malloc/hooks.c: Likewise.
02d46fc4 35794 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 35795
d063d164
UD
35796 * include/tls.h: Removed. USE___THREAD must always be defined.
35797 * bits/libc-tsd.h: Don't handle !USE___THREAD.
35798 * elf/dl-libc.c: Likewise.
35799 * elf/dl-tsd.c: Likewise.
35800 * include/errno.h: Likewise.
35801 * include/netdb.h: Likewise.
35802 * include/resolv.h: Likewise.
35803 * inet/herrno-loc.c: Likewise.
35804 * inet/herrno.c: Likewise.
35805 * malloc/arena.c: Likewise.
35806 * malloc/hooks.c: Likewise.
35807 * malloc/malloc.c: Likewise.
35808 * resolv/res-state.c: Likewise.
35809 * resolv/res_libc.c: Likewise.
35810 * sysdeps/i386/dl-machine.h: Likewise.
35811 * sysdeps/ia64/dl-machine.h: Likewise.
35812 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35813 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35814 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35815 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35816 * sysdeps/sh/dl-machine.h: Likewise.
35817 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35818 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35819 * sysdeps/unix/i386/sysdep.S: Likewise.
35820 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35821 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
35822 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
35823 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35824 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
35825 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35826 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35827 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35828 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35829 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35830 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35831 * sysdeps/x86_64/dl-machine.h: Likewise.
35832 * tls.make.c: Likewise.
35833
3ce1f295
UD
35834 * configure.in: Remove --with-__thread option. Make tests for
35835 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
35836 tls_model attribute fail if no support is available. Remove
35837 USE_IN_LIBIO.
35838 * Makeconfig: Adjust for dropped configure option. All features are
35839 now mandatory.
35840 * Makerules: Likewise.
35841 * Versions.def: Likewise.
35842 * argp/argp-fmtstream.c: Likewise.
35843 * argp/argp-fmtstream.h: Likewise.
35844 * argp/argp-help.c: Likewise.
35845 * assert/assert.c: Likewise.
35846 * config.h.in: Likewise.
35847 * config.make.in: Likewise.
35848 * configure: Likewise.
35849 * configure.in: Likewise.
35850 * csu/Versions: Likewise.
35851 * csu/init.c: Likewise.
35852 * elf/tst-audit2.c: Likewise.
35853 * elf/tst-tls10.c: Likewise.
35854 * elf/tst-tls10.h: Likewise.
35855 * elf/tst-tls11.c: Likewise.
35856 * elf/tst-tls12.c: Likewise.
35857 * elf/tst-tls14.c: Likewise.
35858 * elf/tst-tlsmod11.c: Likewise.
35859 * elf/tst-tlsmod12.c: Likewise.
35860 * elf/tst-tlsmod13.c: Likewise.
35861 * elf/tst-tlsmod13a.c: Likewise.
35862 * elf/tst-tlsmod14a.c: Likewise.
35863 * elf/tst-tlsmod15b.c: Likewise.
35864 * elf/tst-tlsmod16a.c: Likewise.
35865 * elf/tst-tlsmod16b.c: Likewise.
35866 * elf/tst-tlsmod7.c: Likewise.
35867 * elf/tst-tlsmod8.c: Likewise.
35868 * elf/tst-tlsmod9.c: Likewise.
35869 * gmon/gmon.c: Likewise.
35870 * grp/fgetgrent_r.c: Likewise.
35871 * grp/putgrent.c: Likewise.
35872 * hurd/fopenport.c: Likewise.
35873 * include/libc-symbols.h: Likewise.
35874 * include/tls.h: Likewise.
35875 * intl/gettextP.h: Likewise.
35876 * intl/loadinfo.h: Likewise.
35877 * locale/global-locale.c: Likewise.
35878 * locale/localeinfo.h: Likewise.
35879 * mach/devstream.c: Likewise.
35880 * malloc/arena.c: Likewise.
35881 * malloc/set-freeres.c: Likewise.
35882 * misc/err.c: Likewise.
35883 * misc/getttyent.c: Likewise.
35884 * misc/mntent_r.c: Likewise.
35885 * posix/getopt.c: Likewise.
35886 * posix/wordexp.c: Likewise.
35887 * pwd/fgetpwent_r.c: Likewise.
35888 * resolv/Versions: Likewise.
35889 * resolv/res_hconf.c: Likewise.
35890 * shadow/fgetspent_r.c: Likewise.
35891 * shadow/putspent.c: Likewise.
35892 * stdio-common/printf_fphex.c: Likewise.
35893 * stdio-common/tmpfile.c: Likewise.
35894 * stdlib/abort.c: Likewise.
35895 * stdlib/fmtmsg.c: Likewise.
35896 * sunrpc/auth_unix.c: Likewise.
35897 * sunrpc/clnt_perr.c: Likewise.
35898 * sunrpc/clnt_tcp.c: Likewise.
35899 * sunrpc/clnt_udp.c: Likewise.
35900 * sunrpc/clnt_unix.c: Likewise.
35901 * sunrpc/openchild.c: Likewise.
35902 * sunrpc/svc_simple.c: Likewise.
35903 * sunrpc/svc_tcp.c: Likewise.
35904 * sunrpc/svc_udp.c: Likewise.
35905 * sunrpc/svc_unix.c: Likewise.
35906 * sunrpc/xdr.c: Likewise.
35907 * sunrpc/xdr_array.c: Likewise.
35908 * sunrpc/xdr_rec.c: Likewise.
35909 * sunrpc/xdr_ref.c: Likewise.
35910 * sunrpc/xdr_stdio.c: Likewise.
35911
1248c1c4
PB
359122011-09-09 Ulrich Drepper <drepper@gmail.com>
35913
35914 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35915
359162011-07-03 Andreas Jaeger <aj@suse.de>
35917
35918 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
35919 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
35920 regenerate with gen-libm-tests.pl.
35921
359222010-05-12 Petr Baudis <pasky@suse.cz>
35923
35924 [BZ #11589]
35925 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
35926 around j0() zero points by switching to j1().
35927 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35928 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35929 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35930 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35931
f22e1074
UD
359322011-09-09 Ulrich Drepper <drepper@gmail.com>
35933
f19009c1
UD
35934 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
35935 instead of 0.
35936 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 35937 instead of 0.
f19009c1
UD
35938 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35939 Patch in part by Pavel Roskin <proski@gnu.org>.
35940
3f8cc204
UD
35941 [BZ #13138]
35942 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
35943 realloc.
35944 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
35945 Free memory block if necessary.
35946
f22e1074
UD
35947 [BZ #12847]
35948 * libio/genops.c (INTDEF): For string streams the _lock pointer can
35949 be NULL. Don't lock in this case.
35950
0a2349f9
RM
359512011-09-09 Roland McGrath <roland@hack.frob.com>
35952
35953 * elf/elf.h (ELFOSABI_GNU): New macro.
35954 (ELFOSABI_LINUX): Define to that.
35955
f3cdd467
DZ
359562011-07-29 Denis Zaitceff <zaitceff@gmail.com>
35957
35958 * string/strncat.c (strncat): Undef the symbol in case it has been
35959 defined in bits/string.h.
35960
74718d13
UD
359612011-09-09 Ulrich Drepper <drepper@gmail.com>
35962
633e9e0f
UD
35963 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
35964
0a2349f9 35965 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
35966 link map.
35967
f9924780
AJ
359682011-08-17 Andreas Jaeger <aj@suse.de>
35969
35970 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
35971
7f5517aa
PP
359722011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
35973 Ian Lance Taylor <iant@google.com>
35974
35975 * math/libm-test.inc (lround_test): New testcase.
35976 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
35977
762011fe
UD
359782011-09-08 Ulrich Drepper <drepper@gmail.com>
35979
92963737
UD
35980 * Makefile: Remove support for automatic cvs check-ins.
35981 * Makerules: Likewise.
35982 * config.make.in: Likewise.
35983 * configure.in: Likewise.
35984 * intl/Makefile: Likewise.
35985 * locale/Makefile: Likewise.
35986 * po/Makefile: Likewise.
35987 * posix/Makefile: Likewise.
35988 * sysdeps/gnu/Makefile: Likewise.
35989 * sysdeps/mach/hurd/Makefile: Likewise.
35990 * sysdeps/sparc/sparc32/Makefile: Likewise.
35991
b0727fd8
JS
35992 [BZ #13118]
35993 * posix/Makefile (bug-regex32-ENV): Define.
35994 Patch by John Stanley <jpsinthemix@verizon.net>.
35995
a0f33f99
UD
35996 * misc/Makefile (headers): Add bits/select2.h.
35997 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
35998 * misc/bits/select2.h: New file.
35999 * include/bits/select2.h: New file.
36000 * debug/Makefile (routines): Add fdelt_chk.
36001 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
36002 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
36003 FD_ISSET.
36004 * debug/fdelt_chk.c: New file.
36005
762011fe
UD
36006 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
36007 * wcsmbs/test-wmemcmp.c: Likewise.
36008 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 36009 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
36010
360112011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36012
36013 * string/Makefile (strop-tests): Add memcmp.
36014 * string/test-wmemcmp.c: New file.
36015 * string/test-memcmp.c: Add wmemcmp support.
36016
7f513ec8
RM
360172011-09-08 Roland McGrath <roland@hack.frob.com>
36018
0442afb4
RM
36019 [BZ #13153]
36020 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
36021 2011-07-19 change.
36022
7f513ec8
RM
36023 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
36024 garbage value in a __mach_port_mod_refs call in the cases of the
36025 task-self and thread-self ports.
36026
a12b2239
ST
360272011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
36028
36029 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
36030
610f9ab4
AS
360312011-09-08 Andreas Schwab <schwab@redhat.com>
36032
7f513ec8 36033 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 36034
48882a1a
LD
360352011-09-07 Ulrich Drepper <drepper@gmail.com>
36036
b49865be
UD
36037 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
36038
fdc86bc9
UD
36039 * elf/dl-libc.c (dlerror_run): Pass back error code from
36040 dl_catch_error.
36041
c966526a
UD
36042 [BZ #13123]
36043 * elf/dl-load.c (lose): Free l_origin if it is valid.
36044
48882a1a
LD
36045 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
36046 names.
36047 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
36048 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36049 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36050 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36051 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
36052 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
36053
77a2a8b4
AZ
360542011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36055
36056 * sysdeps/powerpc/fpu/e_hypot.c: New file.
36057 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
36058 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
36059 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
36060 * sysdeps/powerpc/fpu/k_cosf.c: New file.
36061 * sysdeps/powerpc/fpu/k_sinf.c: New file.
36062 * sysdeps/powerpc/fpu/s_cosf.c: New file.
36063 * sysdeps/powerpc/fpu/s_sinf.c: New file.
36064 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
36065 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
36066
24f579d8
AM
360672011-08-15 Alan Modra <amodra@gmail.com>
36068
36069 [BZ #13092]
36070 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
36071 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
36072 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
36073 ppc_mcount to static-only-routines.
36074 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
36075 __mcount_internal.
36076 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
36077 __mcount_internal with usual JUMPTARGET. Remove useless nop.
36078
3d4837df
UD
360792011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
36080
36081 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
36082 for finite and infinity parameters.
36083
22700377
WS
360842011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36085
36086 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
36087 and add nop instructions for throughput optimization.
36088 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36089
5025581e
WS
360902011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
36091
36092 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
36093 aligned copy for power7 with vector-scalar instructions.
36094 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
36095
08a300c9
L
360962011-07-24 H.J. Lu <hongjiu.lu@intel.com>
36097
36098 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
36099 AVX check.
36100
59178ef9
AS
361012011-09-07 Andreas Schwab <schwab@redhat.com>
36102
36103 [BZ #13144]
36104 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
36105 last change.
36106
e38ba7ab
UD
361072011-09-07 Ulrich Drepper <drepper@gmail.com>
36108
36109 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36110 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
36111 syscall wrapper around clock_gettime in __vdso_clock_gettime.
36112 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
36113 clock_gettime.
36114
d53a73ac
UD
361152011-09-06 Ulrich Drepper <drepper@gmail.com>
36116
fc8bffcc
UD
36117 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
36118 Forgot to demangle the pointer.
36119
ceaa0c5d
UD
36120 * sysdeps/i386/sysdep.h: Define atom_text_section.
36121 * sysdeps/x86_64/sysdep.h: Likewise.
36122 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
36123 section with atom_text_section.
36124 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36125 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36126 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
36127 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36128 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
36129
a77d3c17
UD
36130 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
36131 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
36132 already be defined. Change to take two parameters and don't assign
36133 result to variable. Adjust all users.
36134 Define INTERNAL_GETTIME if not already defined.
36135 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
36136 call.
36137 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
36138 HAVE_CLOCK_GETTIME_VSYSCALL.
36139 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
36140
d53a73ac
UD
36141 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
36142 gettimeofday vsyscall, just use time.
36143
a8f84144
AS
361442011-09-06 Andreas Schwab <schwab@redhat.com>
36145
36146 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
36147 <errno.h>.
36148
ef606249
UD
361492011-09-06 Ulrich Drepper <drepper@gmail.com>
36150
36151 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
36152 syscall on x86-64.
36153 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
36154 syscall.
36155 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
36156 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
36157 syscall if possible.
36158
6585cb60
UD
361592011-09-05 Ulrich Drepper <drepper@gmail.com>
36160
36161 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
36162 e_ident. Don't pass to find_mapsXX.
36163 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
36164
a5f524e4
LD
361652011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36166
36167 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36168 strchr-sse2-no-bsf strrchr-sse2-no-bsf
36169 * sysdeps/x86_64/multiarch/strchr.S: Update.
36170 Check bit_slow_BSF bit.
36171 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36172 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
36173 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
36174
554881ef
UD
361752011-09-05 Ulrich Drepper <drepper@gmail.com>
36176
d96de963
UD
36177 [BZ #13134]
36178 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
36179 before glibc 2.15.
36180 (tryshell): Define.
36181 (__spawni): Change last parameter to be flag. Test
36182 SPAWN_XFLAGS_USE_PATH flag to use path or not.
36183 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
36184 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
36185 * posix/spawni.c: Likewise.
36186 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
36187 * posix/spawnp.c: Likewise. Change normal version to use
36188 SPAWN_XFLAGS_USE_PATH.
36189 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
36190 SPAWN_XFLAGS_TRY_SHELL.
36191
d48e5868
UD
36192 [BZ #13150]
36193 * posix/glob.h: Remove gcc 1.x support.
36194
554881ef
UD
36195 [BZ #13068]
36196 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
36197
693fb948
LD
361982011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36199
36200 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36201 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
36202 strrchr-sse2-bsf
36203 * sysdeps/i386/i686/multiarch/strchr.S: New file.
36204 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
36205 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
36206 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
36207 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
36208 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
36209
1b48c537
UD
362102011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36211
49d42c37
UD
36212 * sysdeps/x86_64/wcscmp.S: New file.
36213
1b48c537
UD
36214 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
36215 wcscmp-c wcscmp-sse2
36216 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
36217 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
36218 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
36219 * wcsmbs/wcscmp.c: Allow renaming.
36220
15c95c5d
DM
362212011-09-05 David S. Miller <davem@davemloft.net>
36222
36223 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
36224 stack slot, rather than the struct return pointer slot.
36225 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
36226 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
36227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
36228 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
36229
2f0ad8f3
UD
362302011-09-05 Ulrich Drepper <drepper@gmail.com>
36231
d88ae418
UD
36232 * po/ja.po: Update from translation team.
36233
2f0ad8f3
UD
36234 [BZ #13144]
36235 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
36236 kernel in 64-bit binaries.
36237
5f4318d1
DM
362382011-09-01 David S. Miller <davem@davemloft.net>
36239
36240 * elf/elf.h (HWCAP_SPARC_*): Move to..
36241 * sysdeps/sparc/sysdep.h: this new file and add new values.
36242 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
36243 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
36244 _DL_HWCAP_COUNT to 24.
36245 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36246 entries.
36247 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
36248 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
36249 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
36250 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
36251 instead of magic constants.
36252 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36253
3ba57516
DM
362542011-08-31 David S. Miller <davem@davemloft.net>
36255
36256 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
36257 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
36258 Reimplement to do errno handling inline.
36259 (SYSCALL_ERROR_HANDLER): New macro.
36260 (__SYSCALL_STRING): Do not do errno handling in asm.
36261 (__CLONE_SYSCALL_STRING): Delete.
36262 (__INTERNAL_SYSCALL_STRING): Delete.
36263 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
36264 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
36265 (PSEUDO): Reimplement to do errno handling inline.
36266 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
36267 (SYSCALL_ERROR_HANDLER): New macro.
36268 (__SYSCALL_STRING): Do not do errno handling in asm.
36269 (__CLONE_SYSCALL_STRING): Delete.
36270 (__INTERNAL_SYSCALL_STRING): Delete.
36271 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
36272 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
36273 i386.
36274 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
36275 (inline_syscall*): Add 'err' argument.
36276 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
36277 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
36278 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
36279 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
36280
36281 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
36282 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36283
2bc17433
AS
362842011-08-30 Andreas Schwab <schwab@redhat.com>
36285
36286 * elf/rtld.c (dl_main): Relocate objects in dependency order.
36287
fbeb5f4d
JO
362882011-08-29 Jiri Olsa <jolsa@redhat.com>
36289
36290 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
36291 directive.
36292
ad69cc26
DM
362932011-08-24 David S. Miller <davem@davemloft.net>
36294
36295 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
36296
39dd69df
AS
362972011-08-24 Andreas Schwab <schwab@redhat.com>
36298
36299 * elf/Makefile: Add rules to build and run unload8 test.
36300 * elf/unload8.c: New file.
36301 * elf/unload8mod1.c: New file.
36302 * elf/unload8mod1x.c: New file.
36303 * elf/unload8mod2.c: New file.
36304 * elf/unload8mod3.c: New file.
36305
36306 * elf/dl-close.c (_dl_close_worker): Reset private search list if
36307 it wasn't used.
36308
2c0b250a
DM
363092011-08-23 David S. Miller <davem@davemloft.net>
36310
36311 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
36312 subtract stack bias.
36313 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
36314 %sp not %fp in calculations.
36315 (_JMPBUF_UNWINDS_ADJ): Likewise.
36316
22044b48
DM
36317 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
36318 (aio_suspend): Call it to force an exception region around the
36319 AIO_MISC_WAIT() invocation.
36320
2cae4995
AS
363212011-08-23 Andreas Schwab <schwab@redhat.com>
36322
36323 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
36324 backslash.
36325
873a772e
AJ
363262011-07-04 Aurelien Jarno <aurelien@aurel32.net>
36327
36328 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
36329 protection macro.
36330 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
36331 and <dl-machine.h>.
36332 (Elf64_FuncDesc): Remove.
36333
25ad0df1
DM
363342011-08-22 David S. Miller <davem@davemloft.net>
36335
36336 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
36337 sigaltstack check, add missing cfi directives.
36338 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
36339 missing cfi directives, and sigaltstack handling.
36340
e888bcbe
AS
363412011-08-16 Andreas Schwab <schwab@redhat.com>
36342
36343 [BZ #11724]
36344 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
36345 object is seen twice.
36346 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36347
36348 * elf/Makefile (distribute): Add tst-initorder2.c.
36349 (tests): Add tst-initorder2.
36350 (modules-names): Add tst-initorder2a tst-initorder2b
36351 tst-initorder2c tst-initorder2d. Add rules to build them.
36352 ($(objpfx)tst-initorder2.out): New rule.
36353 * elf/tst-initorder2.c: New file.
36354 * elf/tst-initorder2.exp: New file.
36355
87162f46
AS
363562011-08-22 Andreas Schwab <schwab@redhat.com>
36357
70538b7f
AS
36358 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
36359
f55ffe58
AS
36360 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
36361 dependencies back to end of function.
36362
87162f46
AS
36363 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36364 $(elfobjdir)/ld.so.
36365
91b392a4
UD
363662011-08-21 Ulrich Drepper <drepper@gmail.com>
36367
36368 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
36369 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
36370 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
36371 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
36372 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
36373 of __vdso_gettimeofday.
36374 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
36375 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
36376 attribute_hidden.
36377 (_libc_vdso_platform_setup): Remove initialization of
36378 __vdso_gettimeofday and __vdso_time.
36379
5c43483f
UD
363802011-08-20 Ulrich Drepper <drepper@gmail.com>
36381
775a77e7
UD
36382 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
36383 and fgetc_unlocked.
36384 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
36385 getc_unlocked.
89f447ed 36386
49c74ba9
UD
36387 * elf/dl-open.c (add_to_global): Report additions to the global scope
36388 for LD_DEBUG=scopes.
36389 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 36390 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 36391
5c43483f
UD
36392 [BZ #13114]
36393 * stdio-common/Makefile (tests): Add bug24.
36394 * stdio-common/bug24.c: New file.
36395
a101b025
AJ
363962011-08-19 Andreas Jaeger <aj@suse.de>
36397
36398 [BZ #13114]
36399 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
36400 non-existant file when using close-on-exec mode.
36401
c88f1766
UD
364022011-08-20 Ulrich Drepper <drepper@gmail.com>
36403
0276a718
UD
36404 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
36405 the very first instruction.
36406
c88f1766
UD
36407 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
36408 the CFI state in the end.
36409 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
36410 inclusion of dl-trampoline.h.
36411 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
36412
51ccffa0
AS
364132011-08-19 Andreas Schwab <schwab@redhat.com>
36414
94d7165f
AS
36415 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
36416 expectations for long double.
36417
51ccffa0
AS
36418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
36419 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
36420
fd708658 364212011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
36422
36423 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
36424 artificual limit depends upon the system page size.
36425
44f0a71e
UD
364262011-08-17 Ulrich Drepper <drepper@gmail.com>
36427
36428 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
36429 * resolv/Makefile: Define CFLAGS-libresolv.
36430
8de79a24
AS
364312011-08-17 Andreas Schwab <schwab@redhat.com>
36432
36433 * nss/makedb.c (compute_tables): Make variables used in nested
36434 function static.
36435
27724598
UD
364362011-08-17 Ulrich Drepper <drepper@gmail.com>
36437
c5305d88
UD
36438 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
36439 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
36440 if buffer was too small.
36441
27724598
UD
36442 * elf/pldd.c (main): Attach to all threads in the process.
36443 Rewrite /proc handling to use *at functions.
36444
076fe015
UD
364452011-08-16 Ulrich Drepper <drepper@gmail.com>
36446
174baab3
UD
36447 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
36448 specifies first scope to show.
36449 (dl_open_worker): Update callers. Move printing scope of new
36450 object to before the relocation.
44f0a71e 36451 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
36452 * sysdeps/generic/ldsodefs.h: Update declaration.
36453
076fe015
UD
36454 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
36455 string for the scope number.
36456
a60df2c3
UD
364572011-08-14 Ulrich Drepper <drepper@gmail.com>
36458
36459 * nscd/servicescache.c (cache_addserv): Make sure written is always
36460 initialized.
36461
5e4287d1
RM
364622011-08-14 Roland McGrath <roland@hack.frob.com>
36463
85ae0589
RM
36464 * sysdeps/i386/i486/bits/atomic.h
36465 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
36466 statement expression, so as to suppress "set but not used" warning.
36467 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
36468
69f63097
RM
36469 * string/strncat.c (STRNCAT): Use prototype definition.
36470
675456ef
RM
36471 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
36472 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
36473 -Iprograms here.
36474 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
36475 (localedef-modules): Add localedef.
36476 (locale-modules): Add locale.
36477
5e4287d1
RM
36478 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
36479 * elf/rtld.c (dl_main): Invert order of assignment in last change,
36480 to avoid a warning.
36481
9c96ff23
DM
364822011-08-14 David S. Miller <davem@davemloft.net>
36483
36484 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
36485 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
36486
f9ddf089
UD
364872011-08-13 Ulrich Drepper <drepper@gmail.com>
36488
44f0a71e 36489 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
36490 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
36491 * elf/rtld.c (dl_main): Set l_name of vDSO.
36492 Call _dl_show_scope when DL_DEBUG_SCOPES.
36493 (process_dl_debug): Recognize scopes flag and also set it for all.
36494 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
36495 Declare _dl_show_scope.
36496
1dc27704
UD
36497 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
36498 (do_dlopen): Pass caller_dlopen to dl_open.
36499 (__libc_dlopen_mode): Initialize caller_dlopen.
36500
f9ddf089
UD
36501 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
36502 of libc. Make tolower call locale-independent. Optimize a bit by
36503 using isdigit instead of isalnum.
36504 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
36505
9ac533d3
UD
365062011-08-12 Ulrich Drepper <drepper@gmail.com>
36507
36508 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
36509 was a dependency or dynamically loaded.
36510
89edf2e9
UD
365112011-08-11 Ulrich Drepper <drepper@gmail.com>
36512
8e999d29
UD
36513 * intl/l10nflist.c: Allow architecture-specific pop function.
36514 * sysdeps/x86_64/l10nflist.c: New file.
36515
89edf2e9
UD
36516 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
36517 classification.
36518
14d96785
AS
365192011-08-10 Andreas Schwab <schwab@redhat.com>
36520
36521 * include/dirent.h: Add libc_hidden_proto for scandirat and
36522 scandirat64. Don't declare __scandirat64.
36523 * dirent/scandirat.c: Add libc_hidden_def.
36524 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
36525 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
36526
6761ac04
DM
365272011-08-10 David S. Miller <davem@davemloft.net>
36528
36529 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
36530 enum.
36531 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36532 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36533 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36534
c55fbd1e
UD
365352011-08-09 Ulrich Drepper <drepper@gmail.com>
36536
36537 * Versions.def [libc]: Add GLIBC_2.15.
36538 * dirent/Makefile (routines): Add scandirat and scandirat64.
36539 * dirent/Versions [libc]: Export scandirat and scandirat64 for
36540 GLIBC_2.15.
36541 * dirent/dirent.h: Declare scandirat and scandirat64.
36542 * dirent/scandirat.c: New file.
36543 * dirent/scandirat64.c: New file.
36544 * sysdeps/wordsize-64/scandirat.c: New file.
36545 * sysdeps/wordsize-64/scandirat64.c: New file.
36546 * dirent/opendir.c: Define opendirat.
36547 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
36548 using scandirat.
36549 * dirent/scandir64.c: Adjust for scandir.c change.
36550 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
36551 __scandirat64, and __scandir_cancel_handler.
36552 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
36553 additional parameter and use openat instead of open (outside of ld.so).
36554 Add new __opendir as wrapper around __opendirat.
36555 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
36556 here without requiring old scandirat implementation.
36557
879165f2
UD
365582011-08-08 Ulrich Drepper <drepper@gmail.com>
36559
36560 * dirent/scandir.c (cancel_handler): Renamed to
36561 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
36562 defined. Adjust users.
36563 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
36564 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
36565
cb7e923b
UD
365662011-08-04 Ulrich Drepper <drepper@gmail.com>
36567
16292edd
UD
36568 * string/test-string.h (IMPL): Use __STRING to expand name and then
36569 stringify it.
36570
cb7e923b
UD
36571 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
36572 of cleanups.
36573
cff82933
LD
365742011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36575
36576 * string/Makefile: Update.
36577 (strop-tests): Append strncat.
36578 * string/test-wcscmp.c: New file.
36579 New comprehensive test for wcscmp.
36580 * string/test-strcmp.c: Update.
36581 (WIDE): New define.
36582
9be9bfcc
AS
365832011-07-22 Andreas Schwab <schwab@redhat.com>
36584
36585 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
36586 line.
36587
2e96f1c7
AS
365882011-07-26 Andreas Schwab <schwab@redhat.com>
36589
36590 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36591 encoding to ACE if AI_IDN.
36592
85188888
JJ
365932011-08-01 Jakub Jelinek <jakub@redhat.com>
36594
36595 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
36596 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
36597
5fa16e9b
LD
365982011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36599
36600 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
36601 Fix overflow bug in strncat.
36602 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
36603
36604 * string/test-strncat.c: Update.
36605 Add new tests for checking overflow bugs.
36606
366072011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36608
36609 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36610 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
36611 * sysdeps/i386/i686/multiarch/strcat.S: New file.
36612 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
36613 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
36614 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
36615 * sysdeps/i386/i686/multiarch/strncat.S: New file.
36616 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
36617 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
36618
36619 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
36620 (USE_AS_STRCAT): Define.
36621 Add strcat and strncat support.
36622 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36623
8c1a459f
AS
366242011-07-25 Andreas Schwab <schwab@redhat.com>
36625
36626 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
36627 __n bigger than INT_MAX+1.
36628 (__strncmp_g): Likewise.
36629
bba33c28
UD
366302011-07-23 Ulrich Drepper <drepper@gmail.com>
36631
798be72d
UD
36632 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
36633 * libio/stido.h: Likewise.
36634
8accd4dc
UD
36635 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
36636 (AF_NFC): Define.
36637 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
36638 (AF_NFC): Define.
36639
cbff0d96
UD
36640 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
36641 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36642 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36643 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
36644 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36645
9191c04a
UD
36646 [BZ #13021]
36647 * scripts/test-installation.pl: Don't expect libnss_test1 to be
36648 installed.
36649
bba33c28
UD
36650 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
36651 typo.
36652 (_dl_x86_64_save_sse): Likewise.
36653
90f139dd
UD
366542011-07-22 Ulrich Drepper <drepper@gmail.com>
36655
1aae088a
UD
36656 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
36657 OSXSAVE.
36658 (_dl_x86_64_save_sse): Likewise.
36659
8e2045f5
UD
36660 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
36661
90f139dd
UD
36662 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
36663
1d002f25
AS
366642011-07-21 Andreas Schwab <schwab@redhat.com>
36665
36666 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
36667 change.
36668 (_dl_x86_64_save_sse): Use correct AVX check.
36669
21137f89
UD
366702011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36671
36672 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
36673 bug in strncpy/strncat.
36674 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
36675
a65c0b7a
UD
366762011-07-21 Ulrich Drepper <drepper@gmail.com>
36677
36678 * string/tester.c (test_strcat): Add tests for different alignments
36679 of source and destination.
36680 (test_strncat): Likewise.
36681
6986b98a
UD
366822011-07-20 Ulrich Drepper <drepper@gmail.com>
36683
90bb2039
UD
36684 [BZ #12852]
36685 * posix/glob.c (glob): Check passed in values before using them in
36686 expressions to avoid some overflows.
36687 (glob_in_dir): Likewise.
36688
5644ef54
UD
36689 [BZ #13007]
36690 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
36691 check for AVX enablement so that we don't crash with old kernels and
36692 new hardware.
36693 * elf/tst-audit4.c: Add same checks here.
36694 * elf/tst-audit6.c: Likewise.
36695
36696 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 36697
bfc9dc9b
AS
366982011-07-09 Andreas Schwab <schwab@linux-m68k.org>
36699
36700 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
36701
702e64bb
UD
367022011-07-20 Ulrich Drepper <drepper@gmail.com>
36703
36704 * po/cs.po: Update from translation team.
36705 * po/bg.po: Likewise.
36706
295e904f
MP
367072011-07-12 Marek Polacek <mpolacek@redhat.com>
36708
36709 * misc/sys/cdefs.h: Add support for const attribute.
36710 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
36711 to gnu_dev_{major,minor,makedev} functions.
36712
3ff94596
MP
367132011-07-20 Marek Polacek <mpolacek@redhat.com>
36714
36715 * intl/dcigettext.c (get_output_charset): Add missing bracket.
36716
28b59fca
AS
367172011-07-20 Andreas Schwab <schwab@redhat.com>
36718
36719 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
36720 strlen results.
36721
19df733e
AK
367222011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36723
36724 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
36725 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
36726 register in order to avoid conflicts with the soft frame pointer
36727 being held in r11 when necessary.
36728 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
36729 (INTERNAL_VSYSCALL_NCS): Likewise.
36730
c8835729
MP
367312011-07-14 Marek Polacek <mpolacek@redhat.com>
36732
36733 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
36734 * elf/dl-fini.c (_dl_fini): Adjust caller.
36735 * elf/dl-close.c (_dl_close_worker): Likewise.
36736 * sysdeps/generic/ldsodefs.h: Adjust declaration.
36737
b902330c
MP
367382011-07-15 Marek Polacek <mpolacek@redhat.com>
36739
8991e135
MP
36740 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
36741 "aux_cache->nlibs < 0".
36742
b902330c
MP
36743 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
36744 in the reload-count case.
36745
99710781
LD
367462011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36747
36748 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36749 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
36750 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
36751 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
36752 * sysdeps/x86_64/multiarch/strcat.S: New file.
36753 * sysdeps/x86_64/multiarch/strncat.S: New file.
36754 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
36755 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
36756 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
36757 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
36758 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
36759 (USE_AS_STRCAT): Define.
36760 Add strcat and strncat support.
36761 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36762 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36763 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
36764 * string/strncat.c: Update.
36765 (USE_AS_STRNCAT): Define.
36766 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36767 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
36768 and i7.
36769 * sysdeps/x86_64/multiarch/init-arch.h
36770 (bit_Prefer_PMINUB_for_stringop): New.
36771 (index_Prefer_PMINUB_for_stringop): Likewise.
36772 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
36773 bit_Prefer_PMINUB_for_stringop.
36774
7dc6bd90
UD
367752011-07-19 Ulrich Drepper <drepper@gmail.com>
36776
36777 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
36778 buffer64.
36779 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
36780 of casting of buffer.
36781 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
36782 buffer32 and buffer64.
36783 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
36784 writes instead of casting of buffer.
36785 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
36786 buffer32.
36787 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
36788 casting of buffer.
36789
e0e72284
AS
367902011-07-19 Andreas Schwab <schwab@redhat.com>
36791
36792 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
36793
feb1eb0b
UD
367942011-07-19 Ulrich Drepper <drepper@gmail.com>
36795
36796 * nscd/nscd.c (termination_handler): Don't do anything for a database
36797 if it has not yet been initialized.
36798
298711ff
UD
367992011-07-18 Ulrich Drepper <drepper@gmail.com>
36800
36801 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36802
368032011-07-15 Marek Polacek <mpolacek@redhat.com>
36804
36805 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36806
f9d68389
UD
368072011-07-18 Ulrich Drepper <drepper@gmail.com>
36808
36809 * po/nl.po: Update from translation team.
36810 * po/sv.po: Likewise.
36811
db290cf5
RM
368122011-07-16 Roland McGrath <roland@hack.frob.com>
36813
36814 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
36815 now disallowed by GCC.
5c550700 36816
fd5e21c7
RM
36817 * configure.in (use-default-link): Default to yes if a test -shared
36818 link meets our qualifications.
36819 * configure: Regenerated.
36820
5c550700
RM
36821 * config.make.in (output-format): New variable.
36822 * configure.in: Check for ld --print-output-format support.
36823 * configure: Regenerated.
36824 * Makerules ($(common-objpfx)format.lds)
36825 [$(output-format) != unknown]: Just use $(output-format),
36826 instead of the linker-script munging.
36827
9fa2c032
RM
368282011-07-14 Roland McGrath <roland@hack.frob.com>
36829
a6928d51
RM
36830 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
36831 of $(common-objpfx)shlib.lds.
36832 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
36833
661607b3
RM
36834 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
36835 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
36836
9fa2c032
RM
36837 * configure.in (-z relro check): Adjust test code to add a large
36838 writable data section after it.
36839 * configure: Regenerated.
36840
defe9061
RM
368412011-07-11 Roland McGrath <roland@hack.frob.com>
36842
36843 * configure.in (-z relro check): Fix test code to make the variable
36844 truly const.
36845 * configure: Regenerated.
36846
319b9ad4
UD
368472011-07-11 Ulrich Drepper <drepper@gmail.com>
36848
36849 * nscd/nscd.h (struct traced_file): Define.
36850 (struct database_dyn): Remove inotify_descr, reset_res, and filename
36851 elements. Add traced_files.
36852 (inotify_fd): Declare.
36853 (register_traced_file): Declare.
36854 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
36855 (inotify_fd): Export.
36856 (resolv_conf_descr): Remove.
36857 (nscd_init): Move inotify descriptor creation to main.
36858 Don't register files for notification here.
36859 (register_traced_file): New function.
36860 (invalidate_cache): Don't use reset_res to determine whether to call
36861 res_init, go through the list of registered files.
36862 (main_loop_poll): The inotify descriptors are now stored in the
36863 structures for the traced files.
36864 (main_loop_epoll): Likewise
36865 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
36866 to __nss_disable_nscd.
36867 * nscd/cache.c (prune_cache): There is no single inotify descriptor
36868 for a database anymore. Check the records for all the registered
36869 files instead.
36870 * nss/Makefile (libnss_files-routines): Add files-init.
36871 (libnss_db-routines): Add db-init.
36872 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
36873 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
36874 * nss/nss_db/db-init.c: New file.
36875 * nss/nss_files/files-init.c: New file.
36876 * nss/nsswitch.c (nss_load_library): New function. Broken out of
36877 __nss_lookup_function.
36878 (__nss_lookup_function): Call nss_load_library.
36879 (nss_load_all_libraries): New function.
36880 (__nss_disable_nscd): Take parameter with callback function for files
36881 to register. Set is_nscd. Load all the DSOs for the NSS modules
36882 used for the cached services.
36883 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
36884 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
36885 options for features to all the files in nscd.
36886
36887 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
36888
23bee3e8
RM
368892011-07-10 Roland McGrath <roland@hack.frob.com>
36890
36891 * csu/elf-init.c (__libc_csu_init): Comment typo.
36892
46a5b7f0
UD
368932011-07-09 Ulrich Drepper <drepper@gmail.com>
36894
36895 * po/pl.po: Update from translation team.
36896 * po/ja.po: Likewise.
36897 * po/ru.po: Likewise.
36898 * po/ko.po: Likewise.
36899 * po/fr.po: Likewise.
36900
d30cf5bb
RM
369012011-07-09 Roland McGrath <roland@hack.frob.com>
36902
113ddea4
RM
36903 * configure.in (.ctors/.dtors header and trailer check):
36904 Use an empirical test on a built program.
36905 * configure: Regenerated.
36906
574920b4
RM
36907 * configure.in (-z relro check): Use an empirical test on a built DSO.
36908 Detect, but do not require, on ia64.
36909 * configure: Regenerated.
36910
d30cf5bb
RM
36911 * configure.in (READELF): Find it with AC_CHECK_TOOL.
36912 Update tests that use readelf to use $READELF instead.
36913 * configure: Regenerated.
36914
8538fdb3
UD
369152011-07-08 Ulrich Drepper <drepper@gmail.com>
36916
36917 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
36918 if the result is not used.
36919
04d08991
AJ
369202011-07-05 Andreas Jaeger <aj@suse.de>
36921
36922 [BZ#9696]
36923 * stdlib/tst-strtod.c: Add testcase.
36924
de283087
AD
369252011-07-07 Ulrich Drepper <drepper@gmail.com>
36926
4e5f31c8 36927 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 36928 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
36929 The latter has a higher limit. Take additional parameter to pass to
36930 the new function.
36931 (__pathconf): Pass file to __statfs_link_max.
36932 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
36933 __statfs_link_max.
36934 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
36935 __statfs_link_max.
36936
de283087
AD
36937 [BZ #12868]
36938 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
36939 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36940 Handle Lustre.
36941 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
36942 (__statfs_filesize_max): Likewise.
36943 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
36944
c75fa153
AJ
369452011-07-05 Andreas Jaeger <aj@suse.de>
36946
36947 * resolv/res_comp.c (dn_skipname): Remove unused variable.
36948
1a544854
UD
369492011-07-06 Marek Polacek <mpolacek@redhat.com>
36950
36951 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
36952 `status' variable.
36953 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
36954 Likewise.
36955
6f0eec67
UD
369562011-07-04 H.J. Lu <hongjiu.lu@intel.com>
36957
36958 * Makefile (strop-tests): Add strncat.
36959 * string/test-strncat.c: New file.
36960
aae30307
UD
369612011-06-30 Marek Polacek <mpolacek@redhat.com>
36962
36963 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
36964
c0cfb5eb
UD
369652011-06-21 Andreas Jaeger <aj@suse.de>
36966
36967 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
36968 Copy rule from iconvdata/Makefile.
36969
01636b21
UD
369702011-07-06 Ulrich Drepper <drepper@gmail.com>
36971
36972 [BZ #12922]
36973 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
36974 but no long options are defined, just return 'W'.
36975
9895c8bc
UD
369762011-06-22 Marek Polacek <mpolacek@redhat.com>
36977
36978 [BZ #9696]
36979 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
36980
5d4cf042
UD
369812011-07-06 Ulrich Drepper <drepper@gmail.com>
36982
36983 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
36984 netgroups to read.
960e5535 36985 (innetgr): Likewise.
5d4cf042 36986
751eb97e
RM
369872011-07-05 Roland McGrath <roland@hack.frob.com>
36988
36989 * config.make.in (install_root): Default to $(DESTDIR).
36990
f15f1e45
UD
369912011-07-05 Ulrich Drepper <drepper@gmail.com>
36992
36993 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
36994
4e34ac6a
RM
369952011-07-02 Roland McGrath <roland@hack.frob.com>
36996
5e9b6af4
RM
36997 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
36998
84f9ea0f
RM
36999 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
37000 containing directory rather than embedding absolute directory names.
37001
ea5ee9f7
RM
37002 * scripts/check-local-headers.sh: Rewritten using awk.
37003 Match by word, not by line. Print error messages for matches.
37004 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
37005
1b74661a
RM
37006 * Makerules [shlib-lds-flags empty]:
37007 ($(common-objpfx)libc_pic.opts): New target.
37008 ($(common-objpfx)libc_pic.os.clean): New target.
37009 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
37010
37011 * config.make.in (OBJCOPY): New variable.
37012 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
37013 * configure: Regenerated.
37014
f781ef40
RM
37015 * config.make.in (use-default-link): New variable.
37016 * configure.in (use_default_link): Grok --with-default-link to set it.
37017 * configure: Regenerated.
37018 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
37019 (shlib-lds, shlib-lds-flags): Define to empty.
37020
2d4fa81e
RM
37021 * Makerules (shlib-lds): New variable.
37022 (shlib-lds-flags): New variable.
37023 (build-shlib, build-moduile, build-module-asneeded): Use it.
37024 ($(common-objpfx)libc.so): Use $(shlib-lds).
37025 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
37026 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
37027
31fffa6b
RM
37028 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
37029 DT_FLAGS/DT_FLAGS_1 with zero flags.
37030
4e34ac6a
RM
37031 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
37032 linker script munging.
37033
fcfc776b
UD
370342011-07-02 Ulrich Drepper <drepper@gmail.com>
37035
37036 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
37037 as 128-bit value.
37038 * crypt/sha512.c (sha512_process_block): Perform total addition using
37039 128-bit if possible.
37040 (__sha512_finish_ctx): Likewise.
37041 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
37042 as 64-bit value.
37043 * crypt/sha256.c (SWAP64): Define.
37044 (sha256_process_block): Perform total addition using 64-bit if
37045 possible.
37046 (__sha256_finish_ctx): Likewise.
37047
99231d9a
UD
370482011-07-01 Ulrich Drepper <drepper@gmail.com>
37049
37050 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
37051 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37052 * nscd/hstcache.c (cache_addhst): Likewise.
37053 * nscd/grpcache.c (cache_addgr): Likewise.
37054 * nscd/aicache.c (addhstaiX): Likewise
37055 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
37056
445b4a53
TK
370572011-07-01 Thorsten Kukuk <kukuk@suse.de>
37058
37059 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
37060 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37061 * nscd/hstcache.c (cache_addhst): Likewise.
37062 * nscd/grpcache.c (cache_addgr): Likewise.
37063 * nscd/aicache.c (addhstaiX): Likewise
37064
6d4d8e8e
AS
370652011-07-01 Andreas Schwab <schwab@redhat.com>
37066
37067 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
37068 domain only when needed.
37069
89f654c5
AS
370702011-06-30 Andreas Schwab <schwab@redhat.com>
37071
37072 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
37073 is always restored.
37074
cf3b23ff
UD
370752011-06-29 Ulrich Drepper <drepper@gmail.com>
37076
37077 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
37078 are re-adding the entry.
37079 * nscd/servicescache.c (cache_addserv): Likewise.
37080
751626f9
AJ
370812011-06-30 Aurelien Jarno <aurelien@aurel32.net>
37082
37083 * sysdeps/generic/dl-irel.h: fix protection against multiple
37084 inclusions.
37085 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
37086
9113ea1f
UD
370872011-06-28 Ulrich Drepper <drepper@gmail.com>
37088
5c0b8d90
UD
37089 [BZ #12935]
37090 * malloc/memusage.sh: Fix quoting in message.
37091 * debug/xtrace.sh: Likewise.
37092
9113ea1f
UD
37093 * configure.in: Remove support for --experimental-malloc option, make
37094 it the default.
37095 * config.make.in: Likewise.
37096 * malloc/Makefile: Likewise.
37097
a4172181
AS
370982011-06-27 Andreas Schwab <schwab@redhat.com>
37099
37100 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
37101 two-byte characters.
37102
78a7eee7
RM
371032011-06-27 Roland McGrath <roland@hack.frob.com>
37104
62bede13
RM
37105 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
37106 AC_CACHE_CHECK invocation.
37107 * configure: Regenerated.
37108
78a7eee7
RM
37109 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
37110
5ce33a62
UD
371112011-06-27 Ulrich Drepper <drepper@gmail.com>
37112
034807a9
UD
37113 [BZ #12350]
37114 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
37115 bit from old_res_options.
37116
4902da17
UD
37117 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
37118
5ce33a62
UD
37119 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
37120 value type for setfct.
37121
c2344f56
L
371222011-06-23 H.J. Lu <hongjiu.lu@intel.com>
37123
37124 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
37125 __gettimeofday instead of gettimeofday.
37126
68468076
UD
371272011-06-26 Ulrich Drepper <drepper@gmail.com>
37128
37129 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
37130
acb0d739
L
371312011-06-24 H.J. Lu <hongjiu.lu@intel.com>
37132
37133 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
37134
37135 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
37136 info.
37137
8912479f
L
371382011-06-22 H.J. Lu <hongjiu.lu@intel.com>
37139
37140 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37141 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
37142 strcpy-sse2-unaligned strncpy-sse2-unaligned
37143 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
37144 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
37145 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
37146 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
37147 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
37148 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
37149 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
37150 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
37151 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
37152 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
37153 (STRCPY): Support SSE2 and SSSE3 versions.
37154
d5495a11
UD
371552011-06-24 Ulrich Drepper <drepper@gmail.com>
37156
37157 [BZ #12874]
37158 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
37159 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
37160 kernels which artificially limit size of requests.
37161
0b1cbaae
L
371622011-06-22 H.J. Lu <hongjiu.lu@intel.com>
37163
37164 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37165 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
37166 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
37167 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
37168 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
37169 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
37170 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
37171 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
37172 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
37173 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
37174 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
37175 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
37176 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
37177 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
37178 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
37179 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37180 Enable unaligned load optimization for Intel Core i3, i5 and i7
37181 processors.
37182 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
37183 Define.
37184 (index_Fast_Unaligned_Load): Define.
37185 (HAS_FAST_UNALIGNED_LOAD): Define.
37186
07f494a0
MP
371872011-06-23 Marek Polacek <mpolacek@redhat.com>
37188
37189 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
37190
fa3fc0fe
UD
371912011-06-22 Ulrich Drepper <drepper@gmail.com>
37192
37193 [BZ #12907]
37194 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
37195 until it is clear that the information is realy needed.
37196 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
37197
e12df166
AS
371982011-06-22 Andreas Schwab <schwab@redhat.com>
37199
37200 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
37201
852eb34d
UD
372022011-06-22 Ulrich Drepper <drepper@gmail.com>
37203
84e2a551
UD
37204 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
37205 /sys/devices/system/cpu/online if it is usable.
37206
852eb34d
UD
37207 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
37208 reading the information from the /proc filesystem to once a second.
37209
6e502e19
UD
372102011-06-21 Andreas Jaeger <aj@suse.de>
37211
37212 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
37213 NULL after inclusion of kernel headers.
37214
75d39ff2
UD
372152011-06-21 Ulrich Drepper <drepper@gmail.com>
37216
51f9aa6a
UD
37217 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
37218 calls to internal_setent.
37219
c0244a9d
UD
37220 [BZ #12885]
37221 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
37222 addresses using gethostbyname4_r ignore IPv4 addresses.
37223
c5e3c2ae
UD
37224 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
37225 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
37226
75d39ff2
UD
37227 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
37228
42675c6f
DM
372292011-06-20 David S. Miller <davem@davemloft.net>
37230
37231 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
37232 inclusions.
37233 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
37234
37235 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
37236 (elf_irel): Use it.
37237 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
37238 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
37239 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
37240 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
37241 * sysdeps/x86_64/dl-irel.h: Likewise.
37242
37243 * elf/dl-runtime.c: Use elf_ifunc_invoke.
37244 * elf/dl-sym.c: Likewise.
37245
57912a71
UD
372462011-06-15 Ulrich Drepper <drepper@gmail.com>
37247
37248 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
37249 need to dereference resplen2.
37250
ee22793d
AS
372512011-06-14 Andreas Schwab <schwab@redhat.com>
37252
37253 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
37254
a9e836b0
UD
372552011-06-15 Ulrich Drepper <drepper@gmail.com>
37256
77fb9117
UD
37257 * Makeconfig: Define vardbdir and inst_vardbdir.
37258 * nss/Makefile: Add rules to install db-Makefile.
37259
40c1b22c
UD
37260 * nss/nss_db/db-XXX.c: Cleanup.
37261
9f2da732
UD
37262 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
37263 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
37264 GLIBC_PRIVATE.
37265 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
37266 * nss/makedb.c: Implement -g option to specify that value strings
37267 are generated and should not be added to table iterated over for
37268 get*ent calls.
37269 * nss/nss_db/db-initgroups.c: New file.
37270
82e9a1f7
UD
37271 * nss/getent.c: Add support for initgroups lookups through getgrouplist
37272 interface.
37273
c41af17e
UD
37274 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
37275 (internal_getgrouplist): Adjust to name change.
37276 Update use_initgroups_entry if this is not the first call.
37277 * nss/databases.def: Add initgroups entry.
37278
a9e836b0
UD
37279 * nss/makedb.c (compute_tables): Check result of multiple hash table
37280 sizes to minimize maximum chain length.
37281
2666d441
UD
372822011-06-14 Ulrich Drepper <drepper@gmail.com>
37283
37284 * Versions.def: Add entry for libnss_db.
37285 * shlib-versions: Likewise.
37286 * nss/Makefile: Add rules to build libnss_db.
37287 * nss/Versions: Add libnss_db information. Organize libnss_files
37288 entries better.
37289 * nss/db-Makefile: Add gshadow support. Change rules for the new
37290 makedb progra. Some minor improvements to generate smaller files.
37291 * nss/nss_db/nss_db.h: Move NSS database header data structures to
37292 here from...
37293 * nss/makedb.c: ...here.
37294 Improve database format to be smaller and require less memory at
37295 runtime.
37296 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
37297 db anymore.
37298 * nss/nss_db/db-netgrp.c: Likewise.
37299 * nss/nss_db/db-open.c: Likewise.
37300 * nss/nss_files/flies-XXX.x: Adjust comments.
37301 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
37302 * nss/nss_files/files-grp.c: Likewise.
37303 * nss/nss_files/files-hosts.c: Likewise.
37304 * nss/nss_files/files-network.c: Likewise.
37305 * nss/nss_files/files-proto.c: Likewise.
37306 * nss/nss_files/files-pwd.c: Likewise.
37307 * nss/nss_files/files-rpc.c: Likewise.
37308 * nss/nss_files/files-service.c: Likewise.
37309 * nss/nss_files/files-sgrp.c: Likewise.
37310 * nss/nss_files/files-spwd.c: Likewise.
37311 * nss/nss_db/db-alias.c: Removed.
37312 * nss/nss_db/dummy-db.h: Removed.
37313
9ee76b5a
UD
373142011-06-02 Ulrich Drepper <drepper@gmail.com>
37315
37316 * nss/makedb.c: Rewritten to not use database library.
37317 * nss/Makefile: Update to build new makedb program.
37318
c71ca1f8
AJ
373192011-06-14 Andreas Jaeger <aj@suse.de>
37320
37321 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
37322 memset declaration.
37323
3154bfb8
UD
373242011-06-10 Andreas Schwab <schwab@redhat.com>
37325
37326 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
37327 tmpbuf.
37328
b350afab
RM
373292011-06-10 Roland McGrath <roland@hack.frob.com>
37330
decd4e50
RM
37331 * Makerules (shlib.lds): Fail if the linker script comes out empty.
37332 * elf/Makefile ($(objpfx)ld.so): Likewise.
37333
5615eaf2
RM
37334 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
37335 Don't list ld.so twice in dependencies.
37336
37337 * posix/bug-regex31.c: Include <stdlib.h>.
37338
37339 * nscd/hstcache.c (cache_addhst): Remove unused variable.
37340
37341 * nis/nss_compat/compat-spwd.c
37342 (getspent_next_nss_netgr): Remove unused variable.
37343 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
37344
37345 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
37346 nonmembers" output to use the right array.
37347
37348 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
37349
37350 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
37351
37352 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
37353 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
37354 * catgets/gencat.c (read_input_file): Likewise.
37355 * locale/programs/locarchive.c (enlarge_archive): Likewise.
37356
37357 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
37358 variable definition inside #if's controlling its use.
37359
37360 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
37361
37362 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
37363
37364 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
37365
37366 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
37367 unreachable code.
37368
37369 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
37370
b68e08db
RM
37371 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
37372 * configure: Regenerated.
37373
b350afab
RM
37374 * Makerules: Revert last change.
37375 * elf/Makefile: Likewise.
37376
28368601
RM
373772011-06-09 Roland McGrath <roland@hack.frob.com>
37378
37379 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
37380 * elf/Makefile ($(objpfx)librtld.os): Likewise.
37381 (reloc-link): Likewise.
37382
11988f8f
UD
373832011-06-09 Ulrich Drepper <drepper@gmail.com>
37384
37385 * elf/Makefile: Add rules to build pldd.
37386 * elf/pldd.c: New file.
37387 * elf/pldd-xx.c: New file.
37388
e80fab37
UD
373892011-06-07 Ulrich Drepper <drepper@gmail.com>
37390
37391 * version.h: Update for 2.15 development version.
37392
9b849836
DM
373932011-06-07 David S. Miller <davem@davemloft.net>
37394
37395 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
37396 ifuncs.
37397 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
37398 elf_machine_lazy_rel): Likewise.
37399 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
37400 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
37401 elf_machine_lazy_rel): Likewise.
37402 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
37403 dl_hwcap via passed in argument.
37404 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
37405 Likewise.
37406
5a31b283
AK
374072011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37408
37409 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
37410
069e52f8
RM
374112011-06-06 Roland McGrath <roland@hack.frob.com>
37412
37413 [BZ #12849]
37414 * manual/fdl-1.1.texi: New file, verbatim from:
37415 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
37416 * manual/lgpl-2.1.texi: New file, verbatim from:
37417 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
37418 * manual/Makefile (licenses): New variable, list those new file names.
37419 (texis): Use it.
37420 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
37421
37422 * manual/fdl.texi: File removed.
37423 * manual/lesser.texi: File removed.
37424 * manual/libc.texinfo (Copying, Documentation License):
37425 Use new @include file names, put @appendix directive before @include.
37426
f16846a5
JJ
374272011-06-04 Jakub Jelinek <jakub@redhat.com>
37428
37429 [BZ #12841]
37430 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
37431 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
37432 (mq_open): Add __NTH.
37433
3d29045b
L
374342011-06-02 H.J. Lu <hongjiu.lu@intel.com>
37435
37436 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37437 Assume Intel Core i3/i5/i7 processor if AVX is available.
37438
8c297311
UD
374392011-05-31 Ulrich Drepper <drepper@gmail.com>
37440
37441 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37442 typo.
37443
c8fc0c91
UD
374442011-05-31 Andreas Schwab <schwab@redhat.com>
37445
37446 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
37447 memory. Use alloca_account. Fix memory leak when retrying.
37448
5b27a807
UD
374492011-05-31 Ulrich Drepper <drepper@gmail.com>
37450
356f8bc6
UD
37451 * version.h (RELEASE): Bump for 2.14 release.
37452 * include/features.h (__GLIBC_MINOR__): Bump to 14.
37453
5b27a807
UD
37454 * config.make.in (RANLIB): Remove entry.
37455
01f16ab0
UD
374562011-05-30 Ulrich Drepper <drepper@gmail.com>
37457
41fce8bd
UD
37458 * po/Makefile (po-sed-cmd): Add ksh to extensions.
37459 (libc.pot): Work around missing support for .ksh extension in xgettext.
37460
4769ae77
UD
37461 [BZ #12684]
37462 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
37463 if both request failed.
37464 (send_dg): In case of server errors clear resplen or *resplen2.
37465
6b1e7d19
UD
37466 [BZ #12454]
37467 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
37468 when there are multiple maps.
37469 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
37470 (_dl_fini): Remove test here.
37471
01f16ab0
UD
37472 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
37473
b1ebd700
UD
374742011-05-29 Ulrich Drepper <drepper@gmail.com>
37475
7ae22829
UD
37476 [BZ #12350]
37477 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
37478 bit from old_res_options.
37479 (gaih_inet): Likewise.
37480
553149f6 37481 [BZ #11099]
18a84741 37482 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
37483 as signed.
37484
652ffab1
UD
37485 * resolv/res_init.c (res_setoptions): Make the code more compact.
37486
16985fd0
UD
37487 [BZ #11558]
37488 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
37489 set RES_USEVC.
37490
0464f746
UD
37491 [BZ #11634]
37492 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
37493
7d17596c
UD
37494 * malloc/malloc.h: Mark malloc hook variables as deprecated.
37495
cf6bbbd7
UD
37496 [BZ #11781]
37497 * malloc/malloc.h: Declare malloc hook variables as volatile.
37498
13f1ab36
UD
37499 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
37500 in last patch.
37501
b1ebd700
UD
37502 [BZ #11799]
37503 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 37504 raise in the comment.
80e2212d
UD
37505 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37506 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37507 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 37508
ce67228d
UD
375092011-05-28 Ulrich Drepper <drepper@gmail.com>
37510
8887a920
UD
37511 [BZ #12811]
37512 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
37513 grow the buffers more if it already has to be sufficient.
37514 (build_wcs_upper_buffer): Likewise.
37515 * posix/regexec.c (check_matching): Likewise.
37516 (clean_state_log_if_needed): Likewise.
37517 (extend_buffers): Don't enlarge buffers beyond size of the input
37518 buffer.
37519 Patches mostly by Emil Wojak <emil@wojak.eu>.
37520 * posix/bug-regex32.c: New file.
37521 * posix/Makefile (tests): Add bug-regex32.
37522
4f031072
UD
37523 * locale/findlocale.c (_nl_find_locale): Return right away if
37524 _nl_explode_name failed.
37525 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
37526
d0478f0c
UD
37527 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
37528
de81b246
UD
37529 * debug/xtrace.sh: Unify messages.
37530 * malloc/memusage.sh: Likewise.
37531
c738465a
UD
37532 [BZ #12813]
37533 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
37534 time symbol from vDSO. Substitute with vsyscall if not available.
37535 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
37536 __vdso_time.
37537
f1f929d7
UD
37538 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
37539 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
37540 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
37541 Add sendmmsg and internal_sendmmsg.
37542 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
37543 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
37544 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
37545
ce67228d
UD
37546 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
37547 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
37548 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
37549
e57420c6
UD
375502011-05-27 Ulrich Drepper <drepper@gmail.com>
37551
a8509ca5
UD
37552 [BZ #12813]
37553 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
37554 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
37555 available.
37556 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
37557 __vdso_getcpu.
37558
e57420c6
UD
37559 [BZ #12814]
37560 * iconvdata/Makefile (tests): Add bug-iconv9.
37561 * iconvdata/bug-iconv9.c: New file.
37562
4d07db15
AS
375632011-05-27 Andreas Schwab <schwab@redhat.com>
37564
37565 [BZ #12814]
37566 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
37567
ea486f69
JJ
375682011-05-25 Jakub Jelinek <jakub@redhat.com>
37569
37570 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37571 (struct user_regs_struct): Change intcs field back to cs.
37572
6f038433
UD
375732011-05-25 Ulrich Drepper <drepper@gmail.com>
37574
37575 * po/ja.po: Update from translation team.
37576
67f86a25
UD
375772011-05-23 Ulrich Drepper <drepper@gmail.com>
37578
37579 [BZ #12795]
37580 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
37581 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
37582
def7fbd6
AS
375832011-05-20 Andreas Schwab <schwab@redhat.com>
37584
37585 * stdlib/longlong.h: Update from GCC.
37586
f50ef8f1
AS
375872011-05-23 Andreas Schwab <schwab@redhat.com>
37588
37589 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
37590 parameter name.
37591 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
37592 Add parameter name.
37593 (__sysconf): Pass it down.
37594
de7ce8f1
UD
375952011-05-22 Ulrich Drepper <drepper@gmail.com>
37596
f2962a71
UD
37597 [BZ #12671]
37598 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
37599 some situations.
37600 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
37601 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
37602 add in in __libc_use_alloca calls. Adjust callers.
37603 (glob): Use malloc in some situations.
37604
de7ce8f1
UD
37605 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
37606 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
37607 pltexit.
37608
aec84f53
UD
376092011-05-21 Ulrich Drepper <drepper@gmail.com>
37610
05bb4a68
UD
37611 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
37612 and CLOCK_BOOTTIME_ALARM.
37613
7ea72f99
UD
37614 [BZ #12782]
37615 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
37616 is returned.
37617
7e4afad5
UD
37618 * string/_strerror.c (__strerror_r): Print negative errors as signed
37619 numbers.
37620
8e211fec
UD
37621 [BZ #12777]
37622 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
37623 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
37624 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
37625
f7d82dc9
UD
37626 * configure.in: Fix typo in redirection and correct removal of test
37627 files in two cases.
37628
cc9e536d
UD
37629 [BZ #12788]
37630 * locale/setlocale.c (new_composite_name): Fix test to check for
37631 identical name of all categories.
37632
aec84f53
UD
37633 [BZ #12792]
37634 * libio/filedoalloc.c (local_isatty): New function.
37635 (_IO_file_doallocate): Use local_isatty.
37636 * stdio-common/perror.c (perror): In case a new stream is used
37637 forward the stream error.
37638 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
37639 error flag.
37640
78e64fdc
RT
376412011-05-20 Ulrich Drepper <drepper@gmail.com>
37642
34a9094f
UD
37643 [BZ #11869]
37644 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
37645 alloca.
37646 * include/alloca.h (extend_alloca_account): Define.
37647
78e64fdc
RT
37648 [BZ #11857]
37649 * posix/regex.h: Fix comments with documentation of user-accessible
37650 fields after compilation and describe correct free'ing of pattern
37651 after re_compile_pattern.
37652 Patch by Reuben Thomas <rrt@sc3d.org>.
37653
457bddfc
RA
376542011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
37655
37656 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
37657 and -mno-altivec to prevent the compiler from using Altivec and/or
37658 VSX instructions when the corresponding registers are not available.
37659
a4527b51
AS
376602011-05-19 Andreas Schwab <schwab@redhat.com>
37661
37662 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
37663
ed690b2f
UD
376642011-05-19 Ulrich Drepper <drepper@gmail.com>
37665
37666 * libio/freopen.c (freopen): Use __dup2, not dup2.
37667 * libio/freopen64.c (freopen64): Likewise.
37668
8db73634
L
376692011-05-17 H.J. Lu <hongjiu.lu@intel.com>
37670
37671 [BZ #12775]
37672 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
37673 * math/Makefile (tests): Add test-powl.
37674 (CFLAGS-test-powl.c): Define.
37675 * math/test-powl.c: New file.
37676
0a197a9d
L
376772011-05-16 H.J. Lu <hongjiu.lu@intel.com>
37678
37679 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
37680
ee30c380
UD
376812011-05-17 Ulrich Drepper <drepper@gmail.com>
37682
37683 [BZ #11837]
37684 * iconvdata/gb18030.c: Update to GB18020-2005.
37685
6ce75379
UD
376862011-05-16 Ulrich Drepper <drepper@gmail.com>
37687
a4b89fd8
AR
37688 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
37689 RE_SYNTAX_POSIX_AWK): Update to match recent development.
37690 Patch by Aharon Robbins <arnold@skeeve.com>.
37691
ea389b12
UD
37692 [BZ #11892]
37693 * stdlib/putenv.c (putenv): Don't always create copy of the variable
37694 on the stack.
37695
68a3f91f
UD
37696 [BZ #11895]
37697 * misc/pselect.c (__pselect): Handle timeout value errors hidden
37698 through underflows.
37699
15cc7dd1
UD
37700 [BZ #12766]
37701 * misc/error.c (error_at_line): Ensure file_name and old_file_name
37702 point to strings before performing equality test for error_one_per_line
37703 mode.
37704
f3799213
UD
37705 [BZ #11697]
37706 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
37707
d79a9c94
UD
37708 [BZ #11820]
37709 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37710 (struct user_fpregs_struct): Avoid __uint*_t types.
37711
56e5eb46
UD
37712 [BZ #6420]
37713 * malloc/mtrace.c (tr_where): Add additional parameter to point to
37714 symbol info. Use it instead of calling _dl_addr locally.
37715 (lock_and_info): New function.
37716 (tr_freehook): Call lock_and_info and pass symbol info as additional
37717 parameter to tr_where.
37718 (tr_mallochook): Likewise.
37719 (tr_reallochook): Likewise.
37720 (tr_memalignhook): Likewise.
37721
6ce75379
UD
37722 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
37723 used and couldn't be at all thread-safe.
37724
f8a3b5bf
UD
377252011-05-15 Ulrich Drepper <drepper@gmail.com>
37726
94b7cc37
UD
37727 * libio/freopen.c (freopen): Don't close old file descriptor
37728 before the new one is opened. Instead dup the new file descriptor
37729 to the old one after the new stream is created.
37730 * libio/freopen64.c (freopen64): Likewise.
37731 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
37732 * libio/fileops.c (_IO_new_file_close_it): Handle new
37733 _IO_FLAGS2_NOCLOSE flag.
37734 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
37735 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
37736 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
37737 _IO_FLAGS2_NOCLOSE flag.
37738 * include/unistd.h: Add hidden_proto for dup3.
37739 Define __have_dup3.
37740 * io/dup3.c: Define hidden symbol.
37741 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
37742
bd25564e
UD
37743 [BZ #7101]
37744 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
37745 when an incomplete long option is used.
37746 * posix/tst-getopt_long1.c: New file.
37747 * posix/Makefile (tests): Add tst-getopt_long1.
37748
c84cfef4
UD
37749 [BZ #10138]
37750 * scripts/config.guess: Update from autoconf-2.68.
37751 * scripts/config.sub: Likewise.
37752
3b85df27
UD
37753 [BZ #10157]
37754 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
37755 tests into ...
37756 (has_cpuclock): ...this. New function.
37757 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
37758 macro here based on has_cpuclock code.
37759
15a856b1
UD
37760 [BZ #10149]
37761 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37762 First byte (not low byte) is now always NUL.
37763 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
37764
05f399e6
UD
37765 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37766 Use non-cancelable interfaces.
37767
10a52685 37768 [BZ #9809]
94ecc67d
UD
37769 * locale/iso-639.def: Add entry for Sorani.
37770
f8a3b5bf
UD
37771 [BZ #11901]
37772 * include/stdlib.h: Move include protection to the right place.
37773 Define abort_msg_s. Declare __abort_msg with it.
37774 * stdlib/abort.c (__abort_msg): Adjust type.
37775 * assert/assert.c (__assert_fail_base): New function. Majority
37776 of code from __assert_fail. Allocate memory for __abort_msg with
37777 mmap.
37778 (__assert_fail): Now call __assert_fail_base.
37779 * assert/assert-perr.c: Remove bulk of implementation. Use
37780 __assert_fail_base.
37781 * include/assert.hL Declare __assert_fail_base.
37782 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
37783 mmap.
37784 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
37785
1af4e298
UD
377862011-05-14 Ulrich Drepper <drepper@gmail.com>
37787
f8a3b5bf 37788 [BZ #11952]
d26dfc60
MG
37789 [BZ #12453]
37790 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
37791 until all modules are registered in the DTV.
37792 * elf/Makefile: Add rules to build and run tst-tls19.
37793 * elf/tst-tls19.c: New file.
37794 * elf/tst-tls19mod1.c: New file.
37795 * elf/tst-tls19mod2.c: New file.
37796 * elf/tst-tls19mod3.c: New file.
37797 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
37798
2fc54d6f
UD
37799 [BZ #12083]
37800 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
37801 correctly.
37802
98d76b46
UD
37803 [BZ #12601]
37804 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
37805 two-byte sequence errors.
37806 * iconvdata/Makefile (tests): Add bug-iconv8.
37807 * iconvdata/bug-iconv8.c: New file.
37808
da3c19ef
UD
37809 [BZ #12626]
37810 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
37811 buf2 definition.
37812
ca408c15
UD
37813 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
37814
d6f67f7d
UD
37815 [BZ #12432]
37816 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
37817 (dummy_getcfa): New function.
37818 (init): Get _Unwind_GetCFA address, use dummy if not found.
37819 (backtrace_helper): In recursion check, also check whether CFA changes.
37820 (__backtrace): Completely initialize arg.
37821
1af4e298 37822 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
37823 storing incomplete byte sequence in state object. Avoid testing for
37824 guaranteed too small input if we know there is enough data available.
1af4e298 37825
da62f81b
AS
378262011-05-11 Andreas Schwab <schwab@redhat.com>
37827
37828 * Makeconfig (+link-pie): Indent.
37829 * Rules (binaries-pie): Define if $(have-fpie) and
37830 $(build-shared).
37831 (binaries-shared): Also filter out $(binaries-pie).
37832 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
37833 * nscd/Makefile (others-pie): Add nscd.
37834 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
37835 ($(objpfx)nscd): Remove command override.
37836 * login/Makefile (others-pie): Add pt_chown.
37837 ($(objpfx)pt_chown): Remove command override.
37838 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
37839 remove command overrides.
37840
fcabc0f8
UD
378412011-05-13 Ulrich Drepper <drepper@gmail.com>
37842
20030ae6
UD
37843 * libio/tst_putwc.c: Fix error messages.
37844
fcabc0f8
UD
37845 [BZ #12724]
37846 * libio/fileops.c (_IO_new_file_close_it): Always flush when
37847 currently writing and seek to current position when not.
37848 * libio/Makefile (tests): Add bug-fclose1.
37849 * libio/bug-fclose1.c: New file.
37850
320a5dc0
PB
378512011-05-12 Ulrich Drepper <drepper@gmail.com>
37852
37853 [BZ #12511]
37854 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
37855 don't set DF_1_NODELETE here.
37856 (do_lookup_x): When entering new entry test for copy relocation
37857 and if necessary set DF_1_NODELETE flag.
37858 * elf/tst-unique4.cc: New file.
37859 * elf/tst-unique4.h: New file.
37860 * elf/tst-unique4lib.cc: New file.
37861 * elf/Makefile: Add rules to build and run tst-unique4.
37862 Patch by Piotr Bury <pbury@goahead.com>.
37863
22836f52
UD
378642011-05-11 Ulrich Drepper <drepper@gmail.com>
37865
f574184a
UD
37866 [BZ #12052]
37867 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
37868
e1fb097f
UD
37869 [BZ #12625]
37870 * misc/mntent_r.c (addmntent): Flush the stream after the output
37871
22836f52
UD
37872 [BZ #12393]
37873 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
37874 (is_trusted_path_normalize): Skip initial colon. Append slash
37875 to empty buffer. Duplicate is_trusted_path code but allow
37876 constructed patch to be prefix.
37877 (is_dst): Allow $ORIGIN followed by /.
37878 (_dl_dst_substitute): Correct clearing of check_for_trusted.
37879 Correct testing of result of is_trusted_path_normalize
37880 (decompose_rpath): Fix warning.
37881
7b3b0b2a
UD
378822011-05-10 Ulrich Drepper <drepper@gmail.com>
37883
37884 [BZ #11257]
37885 * grp/initgroups.c (internal_getgrouplist): When we found the service
37886 list through the initgroups entry in nsswitch.conf do not always
37887 continue on a successful lookup. Don't always use the
eac80ce2 37888 __nss_group_database value if it is set.
7b3b0b2a
UD
37889 * nss/nsswitch.conf (initgroups): Change action for successful db
37890 lookup to continue for compatibility.
37891
2a81eaa5
UD
378922011-05-09 Ulrich Drepper <drepper@gmail.com>
37893
be97a69e
UD
37894 [BZ #11532]
37895 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
37896 and CP774 modules.
37897 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
37898 and CP774 modules.
37899 * iconvdata/tst-tables.sh: Likewise.
37900 * iconvdata/cp770.c: New file.
37901 * iconvdata/cp771.c: New file.
37902 * iconvdata/cp772.c: New file.
37903 * iconvdata/cp773.c: New file.
37904 * iconvdata/cp774.c: New file.
37905 * iconvdata/testdata/CP770: New file.
37906 * iconvdata/testdata/CP770..UTF8: New file.
37907 * iconvdata/testdata/CP771: New file.
37908 * iconvdata/testdata/CP771..UTF8: New file.
37909 * iconvdata/testdata/CP772: New file.
37910 * iconvdata/testdata/CP772..UTF8: New file.
37911 * iconvdata/testdata/CP773: New file.
37912 * iconvdata/testdata/CP773..UTF8: New file.
37913 * iconvdata/testdata/CP774: New file.
37914 * iconvdata/testdata/CP774..UTF8: New file.
37915
37916 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
37917 END CHARMAP line.
37918 * iconvdata/gen-8bit-gap.sh: Likewise.
37919 * iconvdata/gen-8bit.sh: Likewise.
37920
c1e9e399
UD
37921 * locale/iso-639.def: Add ary entry.
37922
24c55fb3 37923 [BZ #11258]
96b4b1b0
UD
37924 * locale/C-translit.h.in: Add U20A1 transliteration.
37925
bdc2f971
KB
37926 [BZ #12178]
37927 * locale/iso-639.def: Add wae entry.
37928 Patch by Kevin Bortis <bortis@translate-wae.ch>.
37929
2952b117
UD
37930 [BZ #12545]
37931 * locale/programs/localedef.c (construct_output_path): Use ssize_t
37932 for n.
37933
2a81eaa5
UD
37934 [BZ #12711]
37935 * locale/C-translit.h.in: Add entry for U20B9.
37936 Patch by pravin.d.s@gmail.com.
37937
28377d1b
UD
379382011-05-08 Ulrich Drepper <drepper@gmail.com>
37939
7fb90fb8
UD
37940 [BZ #12713]
37941 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
37942 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
37943 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
37944 in rtld. Use *stat64.
7fb90fb8 37945 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 37946 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 37947 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
37948 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
37949 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
37950 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
37951 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
37952 __fstatat64 macros.
7fb90fb8
UD
37953 * include/dirent.h: Add libc_hidden_proto for rewinddir.
37954 * dirent/rewinddir.c: Add libc_hidden_def.
37955 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 37956 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 37957
28377d1b
UD
37958 * include/dirent.h (__alloc_dir): Add flags parameter.
37959 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
37960 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
37961 __alloc_dir.
37962 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
37963 from fdopendir if O_CLOEXEC is already set.
37964
66bdbaa4
AM
379652011-03-15 Alan Modra <amodra@gmail.com>
37966
37967 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
37968 l_tls_firstbyte_offset non-zero. Save padding offset in
37969 l_tls_firstbyte_offset for later use.
37970 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
37971 freeing static tls block.
37972
95721191
JN
379732011-03-05 Jonathan Nieder <jrnieder@gmail.com>
37974
37975 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
37976 where #ifdef was intended. The intent is to prevent ARG_MAX from
37977 being defined by the kernel headers.
37978
f87dfb1f
UD
379792011-05-07 Ulrich Drepper <drepper@gmail.com>
37980
37981 [BZ #12734]
37982 * resolv/resolv.h: Define RES_NOTLDQUERY.
37983 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
37984 no-tld-query and set RES_NOTLDQUERY.
37985 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
37986 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
37987 modern BIND to search name as TLD unless forbidden.
37988
47c3cd7a
UD
379892011-05-07 Petr Baudis <pasky@suse.cz>
37990 Ulrich Drepper <drepper@gmail.com>
37991
37992 [BZ #12393]
37993 * elf/dl-load.c (fillin_rpath): Move trusted path check...
37994 (is_trusted_path): ...to here.
c1e9ea35 37995 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 37996 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 37997 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 37998
8a35c912
PP
379992011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38000
38001 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
38002 __BEGIN/__END_DECLS.
38003
acd41f47
UD
380042011-05-06 Ulrich Drepper <drepper@gmail.com>
38005
38006 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
38007 NSS_STATUS_NOTFOUND if no record was found.
38008
597df647
AS
380092011-05-05 Andreas Schwab <schwab@redhat.com>
38010
38011 * sunrpc/Makefile (headers): Add rpc/netdb.h.
38012 (headers-not-in-tirpc): Remove rpc/netdb.h
38013 * resolv/netdb.h: Revert last change.
38014
b9af1301
PP
380152011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38016
38017 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
38018 circular dependency between libgcc.a and libc.a.
38019
4e34d5f5
AS
380202011-05-05 Andreas Schwab <schwab@redhat.com>
38021
38022 * resolv/netdb.h: Don't include <rpc/netdb.h>.
38023 * nis/Makefile: Don't install rpcsvc/*.
38024 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
38025 instead of <rpc/types.h>.
38026 (MAXHOSTNAMELEN): Define.
38027
00ee369c
AS
380282011-05-03 Andreas Schwab <schwab@redhat.com>
38029
38030 * elf/ldconfig.c (add_dir): Don't crash on empty path.
38031
0b592a30
MB
380322011-04-28 Maciej Babinski <mbabinski@google.com>
38033
38034 [BZ #12714]
38035 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
38036 gethostbyname4_r when IPv6 results are possible.
38037
6e04cbbe
UD
380382011-05-02 Ulrich Drepper <drepper@gmail.com>
38039
38040 [BZ #12723]
38041 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
38042 _PC_PIPE_BUF handling.
38043
e4ecafe0
BH
380442011-04-30 Bruno Haible <bruno@clisp.org>
38045
38046 [BZ #12717]
38047 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
38048 * resolv/netdb.h (getnameinfo): Change type of flags parameter
38049 to 'int'.
38050 * inet/getnameinfo.c (getnameinfo): Likewise.
38051
125ee683
UD
380522011-04-29 Ulrich Drepper <drepper@gmail.com>
38053
38054 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
38055 to groups setting in database lookup.
38056 * nss/nsswitch.conf: Add initgroups entry.
38057
b722481a
EB
380582011-04-22 Ulrich Drepper <drepper@gmail.com>
38059
38060 [BZ #12685]
38061 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
38062 mode string.
38063 Patch by Eric Blake <eblake@redhat.com>.
38064
4df46dbd
L
380652011-04-20 H.J. Lu <hongjiu.lu@intel.com>
38066
38067 * sunrpc/Makefile (need-export-routines): Add svc_run.
38068 (routines): Remove svc_run.
38069 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
38070 * sunrpc/clnt_perr.c (clnt_perrno): Export.
38071 * sunrpc/svc_run.c (svc_run): Likewise.
38072 * sunrpc/svc_udp.c (svcudp_create): Likewise.
38073
e84142d2
UD
380742011-04-21 Ulrich Drepper <drepper@gmail.com>
38075
38076 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
38077 problem in reallocation in last patch.
38078
877175d8
UD
380792011-04-20 Ulrich Drepper <drepper@gmail.com>
38080
38081 * sunrpc/Makefile: Move inclusion of Rules.
38082
ab8eed78
UD
380832011-04-19 Ulrich Drepper <drepper@gmail.com>
38084
38085 * nss/nss_files/files-initgroups.c: New file.
38086 * nss/Makefile (libnss_files-routines): Add files-initgroups.
38087 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
38088 _nss_files_initgroups_dyn.
38089
e3d8f584
RS
380902011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
38091
38092 * elf/elf.h (R_ARM_IRELATIVE): Define.
38093
af190f45
UD
380942011-04-19 Ulrich Drepper <drepper@gmail.com>
38095
38096 * po/ru.po: Update from translation team.
38097
53cf59ef
UD
380982011-04-17 Ulrich Drepper <drepper@gmail.com>
38099
38100 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
38101 dependencies.
38102
4c559bcd
MF
381032011-02-06 Mike Frysinger <vapier@gentoo.org>
38104
38105 [BZ #12653]
38106 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
38107 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
38108 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38109 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38110 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38111
4420675c
AS
381122011-03-28 Andreas Schwab <schwab@linux-m68k.org>
38113
38114 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
38115 differing bytes.
38116 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38117 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38118 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38119
75ea32ab
UD
381202011-04-17 Ulrich Drepper <drepper@gmail.com>
38121
38122 [BZ #12420]
38123 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
38124 storing it.
38125 * stdlib/bug-getcontext.c: New file.
38126 * stdlib/Makefile: Add rules to build and run bug-getcontext.
38127
27390476
AK
381282011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38129
38130 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
38131 instructions into .machine "z9-109".
38132 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
38133 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
38134
10442705
AK
381352011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38136
38137 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
38138 between environment variables and auxiliary vector.
38139
7b57bfe5
UD
381402011-04-16 Ulrich Drepper <drepper@gmail.com>
38141
38142 * Makefile: Add rules to build linkobj/libc.so.
38143 * include/libc-symbols.h: Define libc_hidden_nolink.
38144 * include/rpc/auth.h: Mark functions which are to be hidden.
38145 * include/rpc/auth_des.h: Likewise.
38146 * include/rpc/auth_unix.h: Likewise.
38147 * include/rpc/clnt.h: Likewise.
38148 * include/rpc/des_crypt.h: Likewise.
38149 * include/rpc/key_prot.h: Likewise.
38150 * include/rpc/pmap_clnt.h: Likewise.
38151 * include/rpc/pmap_prot.h: Likewise.
38152 * include/rpc/pmap_rmt.h: Likewise.
38153 * include/rpc/rpc_msg.h: Likewise.
38154 * include/rpc/svc.h: Likewise.
38155 * include/rpc/svc_auth.h: Likewise.
38156 * include/rpc/xdr.h: Likewise.
38157 * nis/Makefile: Link all DSOs against linkobj/libc.so.
38158 * nss/Makefile: Likewise.
38159 * sunrpc/Makefile: Don't install headers. Build library with normal
38160 entry points. Don't build rpcinfo. Link RPC tests appropriately.
38161 * sunrpc/auth_des.c: Hide exported symbols by default, export some
38162 for the compat linking library. Remove use of INTDEF/INTUSE.
38163 * sunrpc/auth_none.c: Likewise.
38164 * sunrpc/auth_unix.c: Likewise.
38165 * sunrpc/authdes_prot.c: Likewise.
38166 * sunrpc/authuxprot.c: Likewise.
38167 * sunrpc/clnt_gen.c: Likewise.
38168 * sunrpc/clnt_perr.c: Likewise.
38169 * sunrpc/clnt_raw.c: Likewise.
38170 * sunrpc/clnt_simp.c: Likewise.
38171 * sunrpc/clnt_tcp.c: Likewise.
38172 * sunrpc/clnt_udp.c: Likewise.
38173 * sunrpc/clnt_unix.c: Likewise.
38174 * sunrpc/des_crypt.c: Likewise.
38175 * sunrpc/des_soft.c: Likewise.
38176 * sunrpc/get_myaddr.c: Likewise.
38177 * sunrpc/key_call.c: Likewise.
38178 * sunrpc/key_prot.c: Likewise.
38179 * sunrpc/netname.c: Likewise.
38180 * sunrpc/pm_getmaps.c: Likewise.
38181 * sunrpc/pm_getport.c: Likewise.
38182 * sunrpc/pmap_clnt.c: Likewise.
38183 * sunrpc/pmap_prot.c: Likewise.
38184 * sunrpc/pmap_prot2.c: Likewise.
38185 * sunrpc/pmap_rmt.c: Likewise.
38186 * sunrpc/publickey.c: Likewise.
38187 * sunrpc/rpc_cmsg.c: Likewise.
38188 * sunrpc/rpc_common.c: Likewise.
38189 * sunrpc/rpc_dtable.c: Likewise.
38190 * sunrpc/rpc_prot.c: Likewise.
38191 * sunrpc/rpc_thread.c: Likewise.
38192 * sunrpc/rtime.c: Likewise.
38193 * sunrpc/svc.c: Likewise.
38194 * sunrpc/svc_auth.c: Likewise.
38195 * sunrpc/svc_authux.c: Likewise.
38196 * sunrpc/svc_raw.c: Likewise.
38197 * sunrpc/svc_run.c: Likewise.
38198 * sunrpc/svc_simple.c: Likewise.
38199 * sunrpc/svc_tcp.c: Likewise.
38200 * sunrpc/svc_udp.c: Likewise.
38201 * sunrpc/svc_unix.c: Likewise.
38202 * sunrpc/svcauth_des.c: Likewise.
38203 * sunrpc/xcrypt.c: Likewise.
38204 * sunrpc/xdr.c: Likewise.
38205 * sunrpc/xdr_array.c: Likewise.
38206 * sunrpc/xdr_float.c: Likewise.
38207 * sunrpc/xdr_intXX_t.c: Likewise.
38208 * sunrpc/xdr_mem.c: Likewise.
38209 * sunrpc/xdr_rec.c: Likewise.
38210 * sunrpc/xdr_ref.c: Likewise.
38211 * sunrpc/xdr_sizeof.c: Likewise.
38212 * sunrpc/xdr_stdio.c: Likewise.
38213
e6c61494
UD
382142011-04-10 Ulrich Drepper <drepper@gmail.com>
38215
38216 [BZ #12650]
38217 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
38218 * sysdeps/ia64/dl-tls.h: Likewise.
38219 * sysdeps/powerpc/dl-tls.h: Likewise.
38220 * sysdeps/s390/dl-tls.h: Likewise.
38221 * sysdeps/sh/dl-tls.h: Likewise.
38222 * sysdeps/sparc/dl-tls.h: Likewise.
38223 * sysdeps/x86_64/dl-tls.h: Likewise.
38224 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
38225
34fe483e
AS
382262011-03-14 Andreas Schwab <schwab@redhat.com>
38227
38228 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
38229 rpath element also skip the following colon.
38230 (expand_dynamic_string_token): Add is_path parameter and pass
38231 down to DL_DST_REQUIRED and _dl_dst_substitute.
38232 (decompose_rpath): Call expand_dynamic_string_token with
38233 non-zero is_path. Ignore empty rpaths.
38234 (_dl_map_object_from_fd): Call expand_dynamic_string_token
38235 with zero is_path.
38236
f12a32e6
AS
382372011-04-08 Andreas Schwab <schwab@linux-m68k.org>
38238
38239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
38240 Make cancelable.
38241
38a7d692
UD
382422011-04-09 Ulrich Drepper <drepper@gmail.com>
38243
38244 [BZ #12655]
38245 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
38246 Patch by Filipe David Manana <fdmanana@apache.org>.
38247
e451d22b
AS
382482011-04-07 Andreas Schwab <schwab@redhat.com>
38249
38250 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
38251 Maintain aligned stack.
38252 (CHECK_RSP): Remove unused macro.
38253
dedc7c7b
UD
382542011-04-03 Ulrich Drepper <drepper@gmail.com>
38255
38256 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
38257 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
38258
94521213
UD
382592011-04-02 Ulrich Drepper <drepper@gmail.com>
38260
38261 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
38262
8cb700c0 38263 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 38264
0354e355
L
382652011-03-26 H.J. Lu <hongjiu.lu@intel.com>
38266
38267 [BZ #12518]
38268 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
38269 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
38270 * sysdeps/x86_64/memmove.c: New file.
38271 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
38272 (memcpy): Renamed to ...
38273 (__new_memcpy): This.
38274 (memcpy): Provide GLIBC_2_14 memcpy.
38275 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
38276 (memcpy): Provide GLIBC_2_2_5 memcpy.
38277
8593482f
UD
382782011-04-01 Ulrich Drepper <drepper@gmail.com>
38279
38280 [BZ #12631]
38281 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
38282
81a5726b
AS
382832011-03-30 Andreas Schwab <schwab@redhat.com>
38284
38285 * misc/syncfs.c: New file.
38286 * misc/Makefile (routines): Add syncfs.
38287 * posix/unistd.h: Declare syncfs.
38288 * sysdeps/unix/syscalls.list: Add syncfs.
38289
00e5419f
AS
382902011-04-01 Andreas Schwab <schwab@redhat.com>
38291
38292 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
38293 open_by_handle_at.
38294 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38295 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38296 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38297 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38298 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38299 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
38300 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38301
748876bf
UD
383022011-04-01 Ulrich Drepper <drepper@gmail.com>
38303
658e451d
UD
38304 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
38305 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38306 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
38307 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38308 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38309 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38310 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38311
748876bf
UD
38312 * io/Makefile: Compile fallocate.c, fallocate64.c, and
38313 sync_file_range.c with -fexceptions.
38314 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
38315 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
38316 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
38317 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
38318 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
38319 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
38320 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
38321 sync_file_range as cancellation point
38322 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
38323 now a wrapper around __call_sync_file_range with cancellation handling.
38324 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
38325 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
38326 function name to __call_sync_file_range.
38327 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
38328 Add call_sync_file_range.
748876bf 38329
6e63d5e1
AS
383302011-04-01 Andreas Schwab <schwab@redhat.com>
38331
38332 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 38333 bits/timex.h.
6e63d5e1 38334
46998f74
UD
383352011-04-01 Ulrich Drepper <drepper@gmail.com>
38336
4c1423ed
UD
38337 * iconv/iconv.h: Fix typo in comment.
38338 * io/fcntl.h: Likewise.
38339 * libio/stdio.h: Likewise.
38340 * posix/spawn.h: Likewise.
38341 * posix/unistd.h: Likewise.
38342 * stdlib/stdlib.h: Likewise.
38343 * time/time.h: Likewise.
38344 * wcsmbs/wchar.h: Likewise.
38345
158648c0
UD
38346 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
38347 open_by_handle): Add.
38348 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
38349 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
38350 Augment a few comments.
38351 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38352 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38353 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38354 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38355 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38356 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
38357 open_by_handle.
38358
46998f74
UD
38359 * io/fcntl.h (AT_EMPTY_PATH): Define.
38360
83fe108b
UD
383612011-03-30 Ulrich Drepper <drepper@gmail.com>
38362
38363 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
38364 * sysdeps/unix/sysv/linux/bits/time.h: New file.
38365 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
38366 to...
38367 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
38368 * Versions.def: Add GLIBC_2.14.
38369 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
38370 Export.
83fe108b 38371
bb242059
UD
383722011-03-22 Ulrich Drepper <drepper@gmail.com>
38373
38374 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
38375 round counter.
38376 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38377
c97a1282
L
383782011-03-20 H.J. Lu <hongjiu.lu@intel.com>
38379
38380 [BZ #12597]
38381 * string/test-strncmp.c (do_page_test): New function.
38382 (check2): Likewise.
38383 (test_main): Call check2.
38384 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
38385
2a115601
UD
383862011-03-20 Ulrich Drepper <drepper@gmail.com>
38387
38388 [BZ #12587]
38389 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
38390 Handle cache information in CPU leaf 4.
38391 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38392
8126d904
UD
383932011-03-18 Ulrich Drepper <drepper@gmail.com>
38394
042c49c6 38395 [BZ #12583]
8126d904
UD
38396 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
38397 character representation.
38398 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
38399
ccfe366e
RA
384002011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
38401
38402 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
38403 END(__isnan) to END(__isnanf) to match function entry point/label
38404 EALIGN(__isnanf,...).
38405
c6e13027
JJ
384062011-03-10 Jakub Jelinek <jakub@redhat.com>
38407
38408 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
38409
33f85a3f
UD
384102011-03-10 Ulrich Drepper <drepper@gmail.com>
38411
028478fa
UD
38412 [BZ #12510]
38413 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
38414 copy from the symbol referenced in the relocation to initialize the
38415 used variable.
38416 Patch by Piotr Bury <pbury@goahead.com>.
38417 * elf/Makefile: Add rules to build and tst-unique3.
38418 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
38419 * elf/tst-unique3.cc: New file.
38420 * elf/tst-unique3.h: New file.
38421 * elf/tst-unique3lib.cc: New file.
38422 * elf/tst-unique3lib2.cc: New file.
38423
33f85a3f
UD
38424 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
38425
03592fc7
MF
384262011-03-10 Mike Frysinger <vapier@gentoo.org>
38427
38428 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
38429 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
38430 to _start.
03592fc7 38431
6a5ee102
UD
384322011-03-06 Ulrich Drepper <drepper@gmail.com>
38433
38434 * elf/dl-load.c (_dl_map_object): If we are looking for the first
38435 to-be-loaded object along a path to loader is ld.so.
38436
7e4ba49c
HJ
384372011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38438 Ulrich Drepper <drepper@gmail.com>
38439
38440 * sysdeps/x86_64/memset.S: After aligning destination, code
38441 branches to different locations depending on the value of
38442 misalignment, when multiarch is enabled. Fix this.
38443
384442011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38445
38446 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
38447 Set _x86_64_preferred_memory_instruction for AMD processsors.
38448 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38449 Set bit_Prefer_SSE_for_memop for AMD processors.
38450
13a804de
UD
384512011-03-04 Ulrich Drepper <drepper@gmail.com>
38452
38453 * libio/fmemopen.c (fmemopen): Optimize a bit.
38454
9d25c392
AS
384552011-03-03 Andreas Schwab <schwab@redhat.com>
38456
38457 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
38458
a5543c6a
RM
384592011-03-03 Roland McGrath <roland@redhat.com>
38460
38461 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
38462
012d35f7
DM
384632011-02-28 Aurelien Jarno <aurelien@aurel32.net>
38464
7e4ba49c 38465 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
38466 __bzero_ultra1 instead of __memset_ultra1.
38467
4bff6e01
AS
384682011-02-23 Andreas Schwab <schwab@redhat.com>
38469 Ulrich Drepper <drepper@gmail.com>
38470
38471 [BZ #12509]
38472 * include/link.h (struct link_map): Add l_orig_initfini.
38473 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
38474 returning unsuccessfully.
38475 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
38476 close of a file loaded at startup, restore the original l_initfini
38477 list.
38478 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
38479 list, store the pointer.
38480 * elf/Makefile ($(objpfx)noload-mem): New rule.
38481 (noload-ENV): Define.
38482 (tests): Add $(objpfx)noload-mem.
38483 * elf/noload.c: Include <memcheck.h>.
38484 (main): Call mtrace. Close all opened handles.
38485
f2092faf
AS
384862011-02-17 Andreas Schwab <schwab@redhat.com>
38487
38488 [BZ #12454]
38489 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
38490 dependencies are missing.
38491
6c8a2e88
ST
384922011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
38493
f2092faf 38494 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
38495 Hurd needs munmap.
38496 * sysdeps/mach/hurd/ifreq.h: New file.
38497
84a42118
PB
384982011-01-27 Petr Baudis <pasky@suse.cz>
38499 Ulrich Drepper <drepper@gmail.com>
38500
071f805e 38501 [BZ 12445]#
84a42118
PB
38502 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
38503 to extend_alloca().
38504 * stdio-common/bug23.c: New file.
38505 * stdio-common/Makefile (tests): Add bug23.
38506
e23fe25b
AS
385072010-09-28 Andreas Schwab <schwab@redhat.com>
38508 Ulrich Drepper <drepper@gmail.com>
38509
38510 [BZ #12489]
38511 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
38512 before performing relro protection. At old place add assertion
38513 to make sure nothing changed.
38514
d3f02e10
NS
385152011-02-17 Nathan Sidwell <nathan@codesourcery.com>
38516 Glauber de Oliveira Costa <glommer@gmail.com>
38517
38518 * elf/elf.h: Add new ARM TLS relocs.
38519
d55fd7a5
RA
385202011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
38521
38522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38523 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
38524 cast from r3.
38525 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
38526 'tests' variable.
38527 * sysdeps/wordsize-64/tst-writev.c: New file.
38528
2206397e
RA
385292011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
38530
38531 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
38532 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
38533 insns in _dl_start to prevent a TOC reference before relocs are
38534 resolved.
38535
e9433893
UD
385362011-02-15 Ulrich Drepper <drepper@gmail.com>
38537
38538 [BZ #12469]
38539 * Makeconfig: Remove RANLIB definition.
38540 * Makerules: Don't use RANLIB.
38541 * aclocal.m4: Remove ranlib test.
38542 * configure.in: No need to check for ranlib.
38543 * elf/rtld-Rules: Don't use RANLIB.
38544
f75286c6
ST
385452011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
38546
8e31c82d
ST
38547 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
38548 protection macro.
38549 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
38550 inclusion protection macro.
38551
f75286c6
ST
38552 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
38553 SIGRTMIN and SIGRTMAX and print information in that case only when
38554 SIGRTMIN is defined.
38555
c1d0e639
JJ
385562011-02-11 Jakub Jelinek <jakub@redhat.com>
38557
38558 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
38559 arginfo fn returning -1.
38560
38561 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
38562 and thousands string is zero terminated.
38563
edf9294e
AS
385642011-02-03 Andreas Schwab <schwab@redhat.com>
38565
38566 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
38567 sysdeps/unix/sysv/linux/bits/socket.h.
38568
2b7e92df
ST
385692011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
38570
edf9294e
AS
38571 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
38572 (__CPU_COUNT): Remove old macros.
38573 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
38574 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
38575 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
38576 (__sched_cpualloc, __sched_cpufree): Add declarations.
38577
a4c7ea7b
UD
385782011-02-05 Ulrich Drepper <drepper@gmail.com>
38579
38580 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
38581 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
38582 * nscd/aicache.c (addhstaiX): Return timeout of added value.
38583 (readdhstai): Return value of addhstaiX call.
38584 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
38585 (addgrbyX): Return value returned by cache_addgr.
38586 (readdgrbyname): Return value returned by addgrbyX.
38587 (readdgrbygid): Likewise.
38588 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
38589 (addpwbyX): Return value returned by cache_addpw.
38590 (readdpwbyname): Return value returned by addhstbyX.
38591 (readdpwbyuid): Likewise.
38592 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
38593 (addservbyX): Return value returned by cache_addserv.
38594 (readdservbyname): Return value returned by addservbyX:
38595 (readdservbyport): Likewise.
38596 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
38597 (addhstbyX): Return value returned by cache_addhst.
38598 (readdhstbyname): Return value returned by addhstbyX.
38599 (readdhstbyaddr): Likewise.
38600 (readdhstbynamev6): Likewise.
38601 (readdhstbyaddrv6): Likewise.
38602 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
38603 (readdinitgroups): Return value returned by addinitgroupsX.
38604 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
38605 (prune_cache): Keep track of timeout value of re-added entries.
38606 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
38607 * nscd/nscd.h: Adjust prototypes of readd* functions.
38608
a0bf67cc
RM
386092011-02-04 Roland McGrath <roland@redhat.com>
38610
38611 * nis/nis_server.c (nis_servstate): Use the right name for 0.
38612 (nis_stats): Likewise.
38613 * nis/nis_modify.c (nis_modify): Likewise.
38614 * nis/nis_remove.c (nis_remove): Likewise.
38615 * nis/nis_add.c (nis_add): Likewise.
38616
38617 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
38618
38619 * posix/fnmatch_loop.c: Add some consts.
38620
38621 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
38622
435b95eb
L
386232011-02-02 H.J. Lu <hongjiu.lu@intel.com>
38624
38625 [BZ #12460]
38626 * config.make.in (config-cflags-novzeroupper): Define.
38627 * configure.in: Substitute libc_cv_cc_novzeroupper.
38628 * elf/Makefile (AVX-CFLAGS): Define.
38629 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
38630 (CFLAGS-tst-auditmod4a.c): Likewise.
38631 (CFLAGS-tst-auditmod4b.c): Likewise.
38632 (CFLAGS-tst-auditmod6b.c): Likewise.
38633 (CFLAGS-tst-auditmod6c.c): Likewise.
38634 (CFLAGS-tst-auditmod7b.c): Likewise.
38635 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
38636
8517b15e
UD
386372011-02-02 Ulrich Drepper <drepper@gmail.com>
38638
38639 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
38640 function to the callback.
38641 Patch partly by Jiri Olsa <jolsa@redhat.com>.
38642
10a656fe
AS
386432011-02-02 Andreas Schwab <schwab@redhat.com>
38644
38645 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
38646 of errno.
38647
968dad0a
UD
386482011-01-19 Ulrich Drepper <drepper@gmail.com>
38649
9f94d2ea 38650 [BZ #11724]
968dad0a
UD
38651 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
38652 of constructors.
38653 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
38654 of destructors.
38655 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
38656
38657 [BZ #11724]
38658 * elf/Makefile: Add rules to build and run new test.
38659 * elf/tst-initorder.c: New file.
38660 * elf/tst-initorder.exp: New file.
38661 * elf/tst-initordera1.c: New file.
38662 * elf/tst-initordera2.c: New file.
38663 * elf/tst-initordera3.c: New file.
38664 * elf/tst-initordera4.c: New file.
38665 * elf/tst-initorderb1.c: New file.
38666 * elf/tst-initorderb2.c: New file.
38667 * elf/tst-order-a1.c: New file.
38668 * elf/tst-order-a2.c: New file.
38669 * elf/tst-order-a3.c: New file.
38670 * elf/tst-order-a4.c: New file.
38671 * elf/tst-order-b1.c: New file.
38672 * elf/tst-order-b2.c: New file.
38673 * elf/tst-order-main.c: New file.
38674 New test case by George Gensure <werkt0@gmail.com>.
38675
86e92359
UD
386762010-10-01 Andreas Schwab <schwab@redhat.com>
38677
38678 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38679 decoding ACE if AI_CANONIDN.
38680
5d5732b0
UD
386812011-01-18 Ulrich Drepper <drepper@gmail.com>
38682
38683 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
38684
a77e8cbc
UD
386852011-01-17 Ulrich Drepper <drepper@gmail.com>
38686
6392473f
UD
38687 * version.h (RELEASE): Bump for 2.13 release.
38688 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
38689
620a0529
UD
38690 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
38691
18ba70a5
UD
38692 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
38693 MADV_NOHUGEPAGE.
32465c3e
UD
38694 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
38695 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38696 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38697 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38698 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38699 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38700
c0dafcf1
UD
38701 * posix/getconf.c: Update copyright year.
38702 * catgets/gencat.c: Likewise.
38703 * csu/version.c: Likewise.
38704 * debug/catchsegv.sh: Likewise.
38705 * debug/xtrace.sh: Likewise.
38706 * elf/ldconfig.c: Likewise.
38707 * elf/ldd.bash.in: Likewise.
38708 * elf/sprof.c (print_version): Likewise.
38709 * iconv/iconv_prog.c: Likewise.
38710 * iconv/iconvconfig.c: Likewise.
38711 * locale/programs/locale.c: Likewise.
38712 * locale/programs/localedef.c: Likewise.
38713 * malloc/memusage.sh: Likewise.
38714 * malloc/mtrace.pl: Likewise.
38715 * nscd/nscd.c (print_version): Likewise.
38716 * nss/getent.c: Likewise.
38717
a77e8cbc
UD
38718 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
38719 PF_CAIF, and PF_ALG.
38720 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38721
77e8bddf
AS
387222011-01-16 Andreas Schwab <schwab@linux-m68k.org>
38723
1f20b93a
AS
38724 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
38725 (modules-names): Use them.
38726 (ifunc-test-modules, ifunc-pie-tests): Define.
38727 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
38728 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
38729 (test-extras): Likewise.
38730 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
38731 $(compile-command.c).
38732 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
38733 (all-built-dso): Define.
38734 (check-textrel.out, check-execstack.out): Depend on it.
38735
77e8bddf
AS
38736 * configure.in: Don't override --enable-multi-arch.
38737
bc425b33
UD
387382011-01-15 Ulrich Drepper <drepper@gmail.com>
38739
38740 [BZ #6812]
38741 * nscd/hstcache.c (tryagain): Define.
38742 (cache_addhst): Return tryagain not notfound for temporary errors.
38743 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
38744 failed.
38745
794c3ad3
UD
387462011-01-14 Ulrich Drepper <drepper@gmail.com>
38747
70181fdd
UD
38748 [BZ #10563]
38749 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
38750 to make the syscall.
38751 * sysdeps/unix/sysv/linux/setgroups.c: New file.
38752
794c3ad3
UD
38753 [BZ #12378]
38754 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
38755 and fall back to matching as normal character if the string ends before
38756 the matching ']' is found. This is what POSIX requires.
38757 * posix/testfnm.c: Adjust test result.
38758 * posix/globtest.sh: Adjust test result. Add new test.
38759 * posix/tst-fnmatch.input: Likewise.
38760 * posix/tst-fnmatch2.c: Add new test.
38761
68dc9497
AS
387622010-12-28 Andreas Schwab <schwab@linux-m68k.org>
38763
38764 * elf/Makefile (check-execstack): Revert last change. Depend on
38765 check-execstack.h.
38766 (check-execstack.h): New target.
38767 (generated): Add check-execstack.h.
38768 * elf/check-execstack.c: Include "check-execstack.h".
38769 (main): Revert last change.
38770 (handle_file): Return zero if GNU_STACK is absent and
38771 DEFAULT_STACK_PERMS doesn't include PF_X.
38772
451f001b
UD
387732011-01-13 Ulrich Drepper <drepper@gmail.com>
38774
cfa28e56
UD
38775 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
38776 in child fails because the descriptor is already closed.
8cf8ce17
UD
38777 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
38778 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
38779 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 38780
1086d70d
UD
38781 [BZ #12397]
38782 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
38783 syscall.
38784
451f001b
UD
38785 [BZ #10484]
38786 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
38787 temporary buffer used to handle multi lookups locally.
a85b5cb4 38788 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 38789
08769175
UD
387902011-01-12 Ulrich Drepper <drepper@gmail.com>
38791
38792 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
38793 loader is ld.so.
38794
5e49c52e
UD
387952011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
38796
38797 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
38798 alignment for SSE2.
38799
60522a5f
UD
388002011-01-12 Ulrich Drepper <drepper@gmail.com>
38801
38802 [BZ #12394]
38803 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
38804 characters. When rounding increased number of integer digits recompute
38805 number of groups.
38806 * stdio-common/tst-grouping.c: New file.
38807 * stdio-common/Makefile: Add rules to build and run tst-grouping.
38808
f257bbd7
UD
388092011-01-09 Ulrich Drepper <drepper@gmail.com>
38810
38811 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
38812 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
38813
38814 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
38815 void.
38816 * bits/select.h: Likewise.
38817
fa9c15cb
UD
388182011-01-08 Ulrich Drepper <drepper@gmail.com>
38819
38820 * po/ja.po: Update from translation team.
38821
16c2895f
DM
388222011-01-04 David S. Miller <davem@sunset.davemloft.net>
38823
38824 [BZ #11155]
38825 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
38826 implementation just like for lxstat, fxstatat, et al.
38827
2543fef2
JM
388282010-12-27 Jim Meyering <meyering@redhat.com>
38829
38830 [BZ #12348]
38831 * posix/regexec.c (build_trtable): Return failure indication upon
38832 calloc failure. Otherwise, re_search_internal could infloop on OOM.
38833
98727dbe
UD
388342010-12-25 Ulrich Drepper <drepper@gmail.com>
38835
5bd6dc5c
UD
38836 [BZ #12201]
38837 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
38838 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
38839 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
38840 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
38841
97983464
UD
38842 [BZ #12207]
38843 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
38844
98727dbe
UD
38845 [BZ #12204]
38846 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
38847 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
38848
4a531bb0
L
388492010-12-15 H.J. Lu <hongjiu.lu@intel.com>
38850
38851 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
38852 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
38853 script has SORT_BY_INIT_PRIORITY.
38854 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
38855 NO_CTORS_DTORS_SECTIONS is defined.
38856 * elf/soinit.c: Likewise.
38857 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
38858 NO_CTORS_DTORS_SECTIONS is defined.
38859 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
38860 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
38861 * sysdeps/sh/init-first.c: Likewise.
38862 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
38863
07eb4b71
UD
388642010-12-24 Ulrich Drepper <drepper@gmail.com>
38865
38866 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
38867 always use the slow path.
38868
30950a5f
RA
388692010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
38870
38871 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
38872 similar rule which adds the sysdep directories to the header search in
38873 order to pick up the correct platform stackinfo.h.
38874 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
38875 perform test if it is, otherwise return successfully without testing.
38876 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
38877 DEFAULT_STACK_PERMS define in stackinfo.h.
38878 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
38879 defined in stackinfo.h.
38880 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
38881 DEFAULT_STACK_PERMS defined in stackinfo.h.
38882 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
38883 * sysdeps/ia64/stackinfo.h: Likewise.
38884 * sysdeps/s390/stackinfo.h: Likewise.
38885 * sysdeps/sh/stackinfo.h: Likewise.
38886 * sysdeps/sparc/stackinfo.h: Likewise.
38887 * sysdeps/x86_64/stackinfo.h: Likewise.
38888 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
38889 PF_X for powerpc64. Retain PF_X for powerpc32.
38890
db753e2c
UD
388912010-12-19 Ulrich Drepper <drepper@gmail.com>
38892
14b697f7
UD
38893 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
38894 accurately.
db753e2c
UD
38895 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
38896 GETDENTS_64BIT_ALIGNED.
38897
28300719
UD
388982010-12-14 Ulrich Drepper <dreper@gmail.com>
38899
14b697f7 38900 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 38901
4f197237
AS
389022010-12-10 Andreas Schwab <schwab@redhat.com>
38903
dbb0472f
AS
38904 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
38905 _GNU_SOURCE.
38906
4f197237
AS
38907 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
38908 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
38909 Remove __restrict.
38910 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
38911 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
38912
fb88ac72
UD
389132010-12-09 Ulrich Drepper <drepper@gmail.com>
38914
38915 [BZ #11655]
38916 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
38917 are initialized.
38918
42acbb92
JJ
389192010-12-09 Jakub Jelinek <jakub@redhat.com>
38920
38921 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
38922
c038d98d
UD
389232010-12-03 Ulrich Drepper <drepper@gmail.com>
38924
38925 * po/it.po: Update from translation team.
38926
3a4a2499
L
389272010-12-01 H.J. Lu <hongjiu.lu@intel.com>
38928
38929 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
38930 unused codes.
38931
1e24cf6e
UD
389322010-11-30 Ulrich Drepper <drepper@gmail.com>
38933
38934 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
38935
a7690819
AS
389362010-11-24 Andreas Schwab <schwab@redhat.com>
38937
38938 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
38939 specially.
38940 (gaih_getanswer_slice): Likewise.
38941
3bf8d1b1
JJ
389422010-10-20 Jakub Jelinek <jakub@redhat.com>
38943
38944 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
38945
6db52fbb
PB
389462010-05-31 Petr Baudis <pasky@suse.cz>
38947
38948 [BZ #11149]
38949 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
38950 silently even in the chroot mode.
38951
eaca7569
UD
389522010-11-22 Ulrich Drepper <drepper@gmail.com>
38953
38954 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
38955 last patch a bit. Pretty printing
38956
3056dcdb
UD
389572010-05-31 Petr Baudis <pasky@suse.cz>
38958
38959 [BZ #10085]
38960 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
38961 initialization of skip_initgroups_dyn.
38962
cf7c9078
UD
389632010-11-19 Ulrich Drepper <drepper@gmail.com>
38964
38965 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
38966 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38967
a1fb5e3e
UD
389682010-11-16 Ulrich Drepper <drepper@gmail.com>
38969
38970 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
38971
3540d66b
AS
389722010-11-11 Andreas Schwab <schwab@redhat.com>
38973
38974 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
38975 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
38976 (tst-fnmatch-ENV): Set MALLOC_TRACE.
38977 ($(objpfx)tst-fnmatch-mem): New rule.
38978 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
38979 * posix/tst-fnmatch.c (main): Call mtrace.
38980
13b69574
L
389812010-11-11 H.J. Lu <hongjiu.lu@intel.com>
38982
38983 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38984 Support Intel processor model 6 and model 0x2c.
38985
da93d214
LM
389862010-11-10 Luis Machado <luisgpm@br.ibm.com>
38987
38988 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
38989 signed comparison.
38990
8ca52c6e
L
389912010-11-09 H.J. Lu <hongjiu.lu@intel.com>
38992
38993 [BZ #12205]
38994 * string/test-strncasecmp.c (check_result): New function.
38995 (do_one_test): Use it.
38996 (check1): New function.
38997 (test_main): Use it.
38998 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
38999 Support strcasecmp and strncasecmp.
39000
69da074d
UD
390012010-11-08 Ulrich Drepper <drepper@gmail.com>
39002
39003 [BZ #12194]
39004 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
39005 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39006
ff02d528
L
390072010-11-07 H.J. Lu <hongjiu.lu@intel.com>
39008
39009 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
39010 IFUNC support.
39011 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39012 memset-x86-64.
39013 * sysdeps/x86_64/multiarch/bzero.S: New file.
39014 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
39015 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
39016 * sysdeps/x86_64/multiarch/memset.S: New file.
39017 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
39018 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39019 Set bit_Prefer_SSE_for_memop for Intel processors.
39020 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
39021 Define.
39022 (index_Prefer_SSE_for_memop): Define.
39023 (HAS_PREFER_SSE_FOR_MEMOP): Define.
39024
344d0b54
LM
390252010-11-04 Luis Machado <luisgpm@br.ibm.com>
39026
39027 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
39028 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
39029
c0dde15b
UD
390302010-11-03 H.J. Lu <hongjiu.lu@intel.com>
39031
39032 [BZ #12191]
39033 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
39034 (__x86_64_raw_data_cache_size_half): Likewise.
39035 (__x86_64_raw_shared_cache_size): Likewise.
39036 (__x86_64_raw_shared_cache_size_half): Likewise.
39037
39038 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
39039 (__x86_64_raw_data_cache_size_half): Likewise.
39040 (__x86_64_raw_shared_cache_size): Likewise.
39041 (__x86_64_raw_shared_cache_size_half): Likewise.
39042 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
39043 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
39044 and __x86_64_raw_shared_cache_size_half. Round
39045 __x86_64_data_cache_size_half, __x86_64_data_cache_size
39046 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
39047 to multiple of 256 bytes.
39048
0e516e0e
MS
390492010-11-03 Ulrich Drepper <drepper@gmail.com>
39050
39051 [BZ #12167]
39052 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
39053 of inacessible symlinks. Verify result of symlink before returning it.
39054 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
39055 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
39056
0e012e87
ER
390572010-10-28 Erich Ritz <erichritz@gmail.com>
39058
39059 * math/math.h (isinf): Fix typo in comment.
39060
de0ff7bc
UD
390612010-11-01 Ulrich Drepper <drepper@gmail.com>
39062
39063 * po/da.po: Update from translation team.
39064
fa41c84d
UD
390652010-10-26 Ulrich Drepper <drepper@gmail.com>
39066
39067 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
39068 is added to the list.
39069
f0967738
AK
390702010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39071 Ulrich Drepper <drepper@gmail.com>
39072
39073 * elf/dl-object.c (_dl_new_object): Don't append the new object to
39074 the global list here. Move code to...
39075 (_dl_add_to_namespace_list): ...here. New function.
39076 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
39077 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
39078 * elf/dl-load.c (lose): Don't remove the element from the list.
39079 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
39080 (_dl_map_object): Likewise.
39081
390822010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
39083
39084 [BZ #12159]
39085 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
39086 into all bytes of SSE register.
39087 Patch by Richard Li <richardpku@gmail.com>.
39088
f0967738 390892010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
39090
39091 [BZ #12140]
39092 * malloc/malloc.c (_int_free): Fill correct number of bytes when
39093 perturbing.
39094
d0b9e94f
MB
390952010-10-20 Michael B. Brutman <brutman@us.ibm.com>
39096
39097 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
39098 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
39099 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
39100 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
39102 submachine.
39103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
39104
8e9f92e9
AS
391052010-10-22 Andreas Schwab <schwab@redhat.com>
39106
39107 * include/dlfcn.h (__RTLD_SECURE): Define.
39108 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
39109 mode & __RTLD_SECURE instead.
39110 (open_path): Rename preloaded parameter to secure.
39111 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
39112 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
39113 * elf/dl-deps.c (openaux): Likewise.
39114 * elf/rtld.c (struct map_args): Remove is_preloaded.
39115 (map_doit): Don't use it.
39116 (dl_main): Likewise.
39117 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
39118 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
39119
bc96fbda
AS
391202010-09-09 Andreas Schwab <schwab@redhat.com>
39121
39122 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
39123 (sysd-rules-targets): Remove duplicates.
39124 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
39125 rtld-%.$o dependency.
39126
22cd1c9b
AS
391272010-10-18 Andreas Schwab <schwab@redhat.com>
39128
39129 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
39130 _dl_map_object do it.
39131
18edac48
UD
391322010-10-19 Ulrich Drepper <drepper@gmail.com>
39133
39134 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
39135 fast fma builtins, define the macros in the C99 standard.
39136 (FP_FAST_FMAF): Likewise.
39137 (FP_FAST_FMAL): Likewise.
39138 * sysdeps/x86_64/bits/mathdef.h: Likewise.
39139
39140 * bits/mathdef.h: Update copyright year.
39141 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39142
d2050124
MM
391432010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
39144
39145 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
39146 builtins, define the macros in the C99 standard.
39147 (FP_FAST_FMAF): Likewise.
39148 (FP_FAST_FMAL): Likewise.
39149 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
39150 multiply/add.
39151 (FP_FAST_FMAF): Likewise.
39152
475facd1
JJ
391532010-10-15 Jakub Jelinek <jakub@redhat.com>
39154
39155 [BZ #3268]
39156 * math/libm-test.inc (fma_test): Some new testcases.
39157 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
39158 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
39159 y and infinite z. Do multiplication by C already in long double.
39160 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
39161 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
39162 y and infinite z. Do bitwise or of inexact bit into u.d.
39163 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
39164 * sysdeps/i386/fpu/s_fmaf.S: Removed.
39165 * sysdeps/i386/fpu/s_fma.S: Removed.
39166 * sysdeps/i386/fpu/s_fmal.S: Removed.
39167
7c08a05c
JJ
391682010-10-16 Jakub Jelinek <jakub@redhat.com>
39169
39170 [BZ #3268]
39171 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
39172 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
39173 computation is not scheduled after fetestexcept. Fix value
39174 of minimum denormal long double.
39175
f3f7372d
JJ
391762010-10-14 Jakub Jelinek <jakub@redhat.com>
39177
39178 [BZ #3268]
39179 * math/libm-test.inc (fma_test): Add some more tests.
39180 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
39181 correctly.
39182
14d43591
AS
391832010-10-15 Andreas Schwab <schwab@redhat.com>
39184
39185 * scripts/data/localplt-s390-linux-gnu.data: New file.
39186 * scripts/data/localplt-s390x-linux-gnu.data: New file.
39187
5e908464
JJ
391882010-10-13 Jakub Jelinek <jakub@redhat.com>
39189
39190 [BZ #3268]
39191 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
39192 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
39193 instead of dbl-64.
39194 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
39195 inlines.
39196 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
39197 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
39198 if one of x and y is very large and the other is subnormal.
39199 * sysdeps/s390/fpu/s_fmaf.c: New file.
39200 * sysdeps/s390/fpu/s_fma.c: New file.
39201 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
39202 * sysdeps/powerpc/fpu/s_fma.S: New file.
39203 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
39204 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
39205 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
39206
392072010-10-12 Jakub Jelinek <jakub@redhat.com>
39208
39209 [BZ #3268]
39210 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
39211 fma tests.
39212 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
39213 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
39214 * sysdeps/i386/i686/multiarch/s_fma.c: Include
39215 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
39216 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
39217 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
39218 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
39219
b833d51f
UD
392202010-10-12 Ulrich Drepper <drepper@redhat.com>
39221
39222 [BZ #12078]
39223 * posix/regcomp.c (parse_branch): One more memory leak plugged.
39224 * posix/bug-regex31.input: Add test case.
39225
1751705d
UD
392262010-10-11 Ulrich Drepper <drepper@gmail.com>
39227
e9b9cbf5
UD
39228 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
39229 * posix/bug-regex31.input: New file.
39230
39231 [BZ #12078]
39232 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
39233 (parse_sub_exp): Fix last change, use postorder.
39234
ef06edbe
UD
39235 * posix/bug-regex31.c: New file.
39236 * posix/Makefile: Add rules to build and run bug-regex31.
39237
a129c80d
UD
39238 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
39239
39240 [BZ #12078]
39241 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
39242
b76b818e
UD
39243 [BZ #12108]
39244 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
39245 to have entries in sys_siglist.
39246
1751705d
UD
39247 [BZ #12093]
39248 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
39249 be NULL.
39250
9ff8d36f
JJ
392512010-10-07 Jakub Jelinek <jakub@redhat.com>
39252
39253 [BZ #3268]
39254 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
39255 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
39256 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
39257 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
39258 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39259 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
39260 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
39261 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
39262 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
39263 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
39264 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
39265 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
39266 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
39267 * math/ftestexcept.c (fetestexcept): Likewise.
39268 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
39269 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
39270 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
39271 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
39272 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
39273 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
39274 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39275
af325969
UD
392762010-10-11 Ulrich Drepper <drepper@gmail.com>
39277
c579b202 39278 [BZ #12107]
af325969
UD
39279 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
39280 newline.
39281
67a67b95
UD
392822010-10-06 Ulrich Drepper <drepper@gmail.com>
39283
39284 * string/bug-strstr1.c: New file.
39285 * string/Makefile: Add rules to build and run bug-strstr1.
39286
5fb308bc
EB
392872010-10-05 Eric Blake <eblake@redhat.com>
39288
39289 [BZ #12092]
39290 * string/str-two-way.h (two_way_long_needle): Always clear memory
39291 when skipping input due to the shift table.
39292
45db99c7
UD
392932010-10-03 Ulrich Drepper <drepper@gmail.com>
39294
3b111893
UD
39295 [BZ #12005]
39296 * malloc/mcheck.c: Handle large requests.
39297
45db99c7
UD
39298 [BZ #12077]
39299 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
39300 for strncmp and strncasecmp.
39301 * string/stratcliff.c: Add tests for strcmp and strncmp.
39302 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
39303
cf7a1eb8
NI
393042010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39305
39306 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
39307 __set_fpscr.
39308
6484ba5e
AJ
393092010-09-30 Andreas Jaeger <aj@suse.de>
39310
39311 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
39312 (CGROUP_SUPER_MAGIC): Define.
39313 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39314 Handle btrfs and cgroup file systems.
39315 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
39316 Likewise.
39317
91c42559
LM
393182010-09-27 Luis Machado <luisgpm@br.ibm.com>
39319
39320 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
39321 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
39322
87a97932
AK
393232010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39324
39325 [BZ #12067]
39326 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
39327 trying to locate the ELF header.
39328
c21cc9bc
AS
393292010-09-27 Andreas Schwab <schwab@redhat.com>
39330
39331 [BZ #11611]
39332 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
39333 Mask out sign-bit copies when constructing f_fsid.
39334
315970f6
PB
393352010-09-24 Petr Baudis <pasky@suse.cz>
39336
39337 * debug/stack_chk_fail_local.c: Add missing licence exception.
39338 * debug/warning-nop.c: Likewise.
39339
1ac7a2c7
JM
393402010-09-15 Joseph Myers <joseph@codesourcery.com>
39341
39342 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
39343 implementing getdents64 using getdents syscall, set d_type if
39344 __ASSUME_GETDENTS32_D_TYPE.
39345
56801c50
AS
393462010-09-16 Andreas Schwab <schwab@redhat.com>
39347
39348 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
39349 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
39350
dda51327
UD
393512010-09-21 Ulrich Drepper <drepper@redhat.com>
39352
39353 [BZ #12037]
39354 * posix/unistd.h: Undo change of feature selection for ftruncate from
39355 2010-01-11.
39356
8ffcee4a
UD
393572010-09-20 Ulrich Drepper <drepper@redhat.com>
39358
a545ecd9 39359 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
39360 detection.
39361
e24f0a8b
AS
393622010-09-20 Andreas Schwab <schwab@redhat.com>
39363
39364 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
39365 fanotify_mark.
39366 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39367
7291c56f
AS
393682010-09-14 Andreas Schwab <schwab@redhat.com>
39369
39370 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
39371 variables after CHECK_SP call.
39372 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
39373
bc5fb037
AS
393742010-09-13 Andreas Schwab <schwab@redhat.com>
39375 Ulrich Drepper <drepper@redhat.com>
39376
39377 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
39378 re-relocationg ld.so.
39379 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
39380 _dl_init_paths call.
39381 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
39382 here anymore.
39383
e66e7419
UD
393842010-09-14 Ulrich Drepper <drepper@redhat.com>
39385
39386 * resolv/res_init.c (__res_vinit): Count the default server we added.
39387
c044aa75
CLT
393882010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
39389 Ulrich Drepper <drepper@redhat.com>
39390
39391 [BZ #11968]
39392 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39393 (____longjmp_chk): Use %ebx for saving value across system call.
39394 Add unwind info.
39395
32cf4069
AS
393962010-09-06 Andreas Schwab <schwab@redhat.com>
39397
39398 * manual/Makefile: Don't mix pattern rules with normal rules.
39399
817328ee
AS
394002010-09-05 Andreas Schwab <schwab@linux-m68k.org>
39401
39402 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
39403 operation.
39404 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
39405 * libio/iofopncook.c (_IO_cookie_init): Likewise.
39406 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
39407 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
39408 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39409 Likewise.
39410
29fddf61
UD
394112010-09-04 Ulrich Drepper <drepper@redhat.com>
39412
39413 [BZ #11979]
39414 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
39415 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
39416
0959ffc9
UD
394172010-09-02 Ulrich Drepper <drepper@redhat.com>
39418
39419 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
39420 * sysdeps/x86_64/addmul_1.S: Likewise.
39421 * sysdeps/x86_64/lshift.S: Likewise.
39422 * sysdeps/x86_64/mul_1.S: Likewise.
39423 * sysdeps/x86_64/rshift.S: Likewise.
39424 * sysdeps/x86_64/sub_n.S: Likewise.
39425 * sysdeps/x86_64/submul_1.S: Likewise.
39426
ece29840
ST
394272010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
39428
0959ffc9
UD
39429 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
39430 Define __sched_param instead of SCHED_* and sched_param when
ece29840 39431 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 39432 * bits/sched.h [__need_schedparam]
ece29840 39433 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
39434 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
39435 (__defined_schedparam): Define to 1.
ece29840
ST
39436 (__sched_param): New structure, identical to sched_param.
39437 (__need_schedparam): Undefine.
39438
e53a31fe
MF
394392010-08-31 Mike Frysinger <vapier@gentoo.org>
39440
fdc0c10d
MF
39441 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
39442 (epoll_create1): Declare.
39443
e53a31fe
MF
39444 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
39445
a726d796
AS
394462010-08-31 Andreas Schwab <schwab@redhat.com>
39447
39448 [BZ #7066]
39449 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
39450 shifting retval into place.
39451
2f3e3dc7
UD
394522010-09-01 Ulrich Drepper <drepper@redhat.com>
39453
f2933da9
UD
39454 * nis/rpcsvc/nis.h: Update copyright notice.
39455 * nis/rpcsvc/nis.x: Likewise.
39456 * nis/rpcsvc/nis_callback.h: Likewise.
39457 * nis/rpcsvc/nis_callback.x: Likewise.
39458 * nis/rpcsvc/nis_object.x: Likewise.
39459 * nis/rpcsvc/nis_tags.h: Likewise.
39460 * nis/rpcsvc/yp.h: Likewise.
39461 * nis/rpcsvc/yp.x: Likewise.
39462 * nis/rpcsvc/ypupd.h: Likewise.
39463 * nis/yp_xdr.c: Likewise.
39464 * nis/ypupdate_xdr.c: Likewise.
39465
2f3e3dc7
UD
39466 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
39467 mainly the body of pmap_getport. Add parameters to specify timeouts.
39468 (pmap_getport): Use __libc_rpc_getport.
39469 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
39470 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
39471 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
39472
f3dcc2f9
AS
394732010-08-31 Andreas Schwab <schwab@linux-m68k.org>
39474
39475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
39476 fanotify_mark.
39477
6d34eb5b
RM
394782010-08-27 Roland McGrath <roland@redhat.com>
39479
39480 * sysdeps/i386/i686/multiarch/Makefile
39481 (CFLAGS-varshift.c): New variable.
39482
9ea3de11
UD
394832010-08-27 Ulrich Drepper <drepper@redhat.com>
39484
c96d23fc
UD
39485 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
39486 * sysdeps/i386/i686/multiarch/varshift.c: New file.
39487
9ea3de11
UD
39488 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
39489
39490 * sysdeps/x86_64/strlen.S: Minimal code improvement.
39491
623aac7f
L
394922010-08-26 H.J. Lu <hongjiu.lu@intel.com>
39493
39494 * sysdeps/x86_64/strlen.S: Unroll the loop.
39495 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39496 strlen-sse2 strlen-sse2-bsf.
39497 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
39498 __strlen_no_bsf if bit_Slow_BSF is set.
39499 (__strlen_sse42): Removed.
39500 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
39501 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
39502
8b2b7715
RM
395032010-08-25 Roland McGrath <roland@redhat.com>
39504
39505 * sysdeps/x86_64/multiarch/varshift.S: File removed.
39506 * sysdeps/x86_64/multiarch/varshift.c: New file.
39507 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
39508 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
39509 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
39510 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
39511
e73015f2
L
395122010-08-25 H.J. Lu <hongjiu.lu@intel.com>
39513
39514 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39515 strlen-sse2 strlen-sse2-bsf.
39516 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
39517 __strlen_sse2_bsf if bit_Slow_BSF is unset.
39518 (__strlen_sse2): Removed.
39519 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
39520 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
39521 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
39522 bit_Slow_BSF for Atom.
39523 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
39524 (index_Slow_BSF): Define.
39525 (HAS_SLOW_BSF): Define.
39526
df24a73e
UD
395272010-08-25 Ulrich Drepper <drepper@redhat.com>
39528
39529 [BZ #10851]
39530 * resolv/res_init.c (__res_vinit): When no server address at all
39531 is given default to loopback.
39532
f2ac4868
RM
395332010-08-24 Roland McGrath <roland@redhat.com>
39534
09055553
RM
39535 * configure.in: Remove config-name.h generation.
39536 * configure: Regenerated.
39537 * config-name.in: File removed.
39538 * scripts/config-uname.sh: New file.
39539 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
39540 ($(objdir)config-name.h): New target.
39541
f2ac4868
RM
39542 * sunrpc/rpc_parse.h: Avoid nested comment.
39543
73f27d5e
RH
395442010-08-24 Richard Henderson <rth@redhat.com>
39545 Ulrich Drepper <drepper@redhat.com>
39546 H.J. Lu <hongjiu.lu@intel.com>
39547
39548 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
39549 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
39550 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
39551 Replace _mm_srli_si128 with __m128i_shift_right. Replace
39552 _mm_alignr_epi8 with _mm_loadu_si128.
39553 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
39554 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
39555 (__m128i_shift_right): Removed.
39556 * sysdeps/i386/i686/multiarch/varshift.h: New file.
39557 * sysdeps/i386/i686/multiarch/varshift.S: New file.
39558 * sysdeps/x86_64/multiarch/varshift.h: New file.
39559 * sysdeps/x86_64/multiarch/varshift.S: New file.
39560
84b9230c
MF
395612010-08-21 Mike Frysinger <vapier@gentoo.org>
39562
39563 * configure.in: Move assembler checks to before sysdep dir checking.
39564
9bbd0ddc
PB
395652010-08-20 Petr Baudis <pasky@suse.cz>
39566
39567 * LICENSES: Sync the sunrpc license.
39568
9da4bb31
UD
395692010-08-19 Ulrich Drepper <drepper@redhat.com>
39570
a7ab6ec8
UD
39571 * sunrpc/auth_des.c: Update copyright notice once again.
39572 * sunrpc/auth_none.c: Likewise.
39573 * sunrpc/auth_unix.c: Likewise.
39574 * sunrpc/authdes_prot.c: Likewise.
39575 * sunrpc/authuxprot.c: Likewise.
39576 * sunrpc/bindrsvprt.c: Likewise.
39577 * sunrpc/clnt_gen.c: Likewise.
39578 * sunrpc/clnt_perr.c: Likewise.
39579 * sunrpc/clnt_raw.c: Likewise.
39580 * sunrpc/clnt_simp.c: Likewise.
39581 * sunrpc/clnt_tcp.c: Likewise.
39582 * sunrpc/clnt_udp.c: Likewise.
39583 * sunrpc/clnt_unix.c: Likewise.
39584 * sunrpc/des_crypt.c: Likewise.
39585 * sunrpc/des_soft.c: Likewise.
39586 * sunrpc/get_myaddr.c: Likewise.
39587 * sunrpc/getrpcport.c: Likewise.
39588 * sunrpc/key_call.c: Likewise.
39589 * sunrpc/key_prot.c: Likewise.
39590 * sunrpc/openchild.c: Likewise.
39591 * sunrpc/pm_getmaps.c: Likewise.
39592 * sunrpc/pm_getport.c: Likewise.
39593 * sunrpc/pmap_clnt.c: Likewise.
39594 * sunrpc/pmap_prot.c: Likewise.
39595 * sunrpc/pmap_prot2.c: Likewise.
39596 * sunrpc/pmap_rmt.c: Likewise.
39597 * sunrpc/rpc/auth.h: Likewise.
39598 * sunrpc/rpc/auth_unix.h: Likewise.
39599 * sunrpc/rpc/clnt.h: Likewise.
39600 * sunrpc/rpc/des_crypt.h: Likewise.
39601 * sunrpc/rpc/key_prot.h: Likewise.
39602 * sunrpc/rpc/netdb.h: Likewise.
39603 * sunrpc/rpc/pmap_clnt.h: Likewise.
39604 * sunrpc/rpc/pmap_prot.h: Likewise.
39605 * sunrpc/rpc/pmap_rmt.h: Likewise.
39606 * sunrpc/rpc/rpc.h: Likewise.
39607 * sunrpc/rpc/rpc_des.h: Likewise.
39608 * sunrpc/rpc/rpc_msg.h: Likewise.
39609 * sunrpc/rpc/svc.h: Likewise.
39610 * sunrpc/rpc/svc_auth.h: Likewise.
39611 * sunrpc/rpc/types.h: Likewise.
39612 * sunrpc/rpc/xdr.h: Likewise.
39613 * sunrpc/rpc_clntout.c: Likewise.
39614 * sunrpc/rpc_cmsg.c: Likewise.
39615 * sunrpc/rpc_common.c: Likewise.
39616 * sunrpc/rpc_cout.c: Likewise.
39617 * sunrpc/rpc_dtable.c: Likewise.
39618 * sunrpc/rpc_hout.c: Likewise.
39619 * sunrpc/rpc_main.c: Likewise.
39620 * sunrpc/rpc_parse.c: Likewise.
39621 * sunrpc/rpc_parse.h: Likewise.
39622 * sunrpc/rpc_prot.c: Likewise.
39623 * sunrpc/rpc_sample.c: Likewise.
39624 * sunrpc/rpc_scan.c: Likewise.
39625 * sunrpc/rpc_scan.h: Likewise.
39626 * sunrpc/rpc_svcout.c: Likewise.
39627 * sunrpc/rpc_tblout.c: Likewise.
39628 * sunrpc/rpc_util.c: Likewise.
39629 * sunrpc/rpc_util.h: Likewise.
39630 * sunrpc/rpcinfo.c: Likewise.
39631 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
39632 * sunrpc/rpcsvc/key_prot.x: Likewise.
39633 * sunrpc/rpcsvc/klm_prot.x: Likewise.
39634 * sunrpc/rpcsvc/mount.x: Likewise.
39635 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
39636 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
39637 * sunrpc/rpcsvc/rex.x: Likewise.
39638 * sunrpc/rpcsvc/rstat.x: Likewise.
39639 * sunrpc/rpcsvc/rusers.x: Likewise.
39640 * sunrpc/rpcsvc/sm_inter.x: Likewise.
39641 * sunrpc/rpcsvc/spray.x: Likewise.
39642 * sunrpc/rpcsvc/yppasswd.x: Likewise.
39643 * sunrpc/rtime.c: Likewise.
39644 * sunrpc/svc.c: Likewise.
39645 * sunrpc/svc_auth.c: Likewise.
39646 * sunrpc/svc_authux.c: Likewise.
39647 * sunrpc/svc_raw.c: Likewise.
39648 * sunrpc/svc_run.c: Likewise.
39649 * sunrpc/svc_simple.c: Likewise.
39650 * sunrpc/svc_tcp.c: Likewise.
39651 * sunrpc/svc_udp.c: Likewise.
39652 * sunrpc/svc_unix.c: Likewise.
39653 * sunrpc/svcauth_des.c: Likewise.
39654 * sunrpc/xcrypt.c: Likewise.
39655 * sunrpc/xdr.c: Likewise.
39656 * sunrpc/xdr_array.c: Likewise.
39657 * sunrpc/xdr_float.c: Likewise.
39658 * sunrpc/xdr_mem.c: Likewise.
39659 * sunrpc/xdr_rec.c: Likewise.
39660 * sunrpc/xdr_ref.c: Likewise.
39661 * sunrpc/xdr_sizeof.c: Likewise.
39662 * sunrpc/xdr_stdio.c: Likewise.
39663
9da4bb31
UD
39664 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
39665 handling.
39666
bdaa77bc
AS
396672010-08-19 Andreas Schwab <schwab@redhat.com>
39668
39669 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
39670
fe2f79db
LM
396712010-08-19 Luis Machado <luisgpm@br.ibm.com>
39672
39673 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
39674 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
39675 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
39676 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
39677 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
39678 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
39679 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
39680 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
39681 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
39682 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
39683 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
39684 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
39685 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
39686 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
39687
b9b42ee0
AB
396882010-07-26 Anton Blanchard <anton@samba.org>
39689
39690 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
39691 * malloc/arena.c (heap_trim): Likewise.
39692
1c06ba31
UD
396932010-08-16 Ulrich Drepper <drepper@redhat.com>
39694
39695 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
39696 here. Not...
39697 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
39698 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
39699
f8392f40
L
397002010-08-12 H.J. Lu <hongjiu.lu@intel.com>
39701
39702 * sysdeps/i386/elf/Makefile: New file.
39703
3162f12e
AS
397042010-08-14 Andreas Schwab <schwab@linux-m68k.org>
39705
39706 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
39707 from fanotify_init.
39708 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
39709 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39710
28c90b2c
UD
397112010-08-15 Ulrich Drepper <drepper@redhat.com>
39712
39713 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
39714 of strncasecmp_l.
1feccb6c 39715 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 39716
ca6bb004
UD
397172010-08-14 Ulrich Drepper <drepper@redhat.com>
39718
e9f82e0d
UD
39719 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39720 strncase_l-nonascii.
39721 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39722 Add strncase_l-ssse3.
39723 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
39724 * sysdeps/x86_64/strcmp.S: Likewise.
39725 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
39726 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
39727 * sysdeps/x86_64/strncase.S: New file.
39728 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
39729 * sysdeps/x86_64/strncase_l.S: New file.
39730 * string/Makefile (strop-tests): Add strncasecmp.
39731 * string/test-strncasecmp.c: New file.
39732
39733 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
39734 warning.
39735
ca6bb004
UD
39736 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
39737 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
39738
052fa7b3
AS
397392010-08-14 Andreas Schwab <schwab@linux-m68k.org>
39740
39741 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
39742
962dba78
UD
397432010-08-12 Ulrich Drepper <drepper@redhat.com>
39744
39745 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
39746 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
39747 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
39748
bebff237
AM
397492010-05-01 Alan Modra <amodra@gmail.com>
39750
39751 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
39752 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
39753 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
39754 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
39755 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
39756 tidying. Don't tail-call __sigjmp_save for static lib.
39757 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
39758 save location.
39759 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
39760 (CALL_MCOUNT): Add eh info, and nop after bl.
39761 (TAIL_CALL_SYSCALL_ERROR): New macro.
39762 (PSEUDO_RET): Use it.
39763 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
39764 Correct save location of integer regs and cr.
39765 (_dl_profile_resolve): Correct cr save location. Delete nops
39766 after bl when SHARED. Reduce cfi size a little by better
39767 placement of cfi directives.
39768 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
39769 make a stack frame. Instead use parm save area as a temp.
39770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
39771 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
39772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
39773 Don't make a stack frame for parent, use parm save area.
39774 Increase child stack frame to 112 bytes. Don't save unused reg,
39775 and adjust reg usage. Set up cfi on error recovery and
39776 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
39777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39778 (__makecontext): Add dummy nop after jump to exit.
39779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
39780 Use correct parm save area and cr save, reduce stack frame.
39781 Correct cfi for possible PSEUDO_RET frame setup.
39782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
39783 Branch to local label emitted by PSEUDO_RET rather than
39784 __syscall_error.
39785
02637374
AS
397862010-08-12 Andreas Schwab <schwab@redhat.com>
39787
39788 [BZ #11904]
39789 * locale/programs/locale.c (print_assignment): New function.
39790 (show_locale_vars): Use it.
39791
c3e2f19b
UD
397922010-08-11 Ulrich Drepper <drepper@redhat.com>
39793
3cdaa6ad
UD
39794 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
39795 field.
39796 (struct statfs64): Likewise.
39797 (_STATFS_F_FLAGS): Define.
39798 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
39799 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39800 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
39801 (ST_VALID): Define locally.
39802 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
39803 __statvfs_getflags, use the provided value.
39804 * sysdeps/unix/sysv/linux/kernel-features.h: Define
39805 __ASSUME_STATFS_F_FLAGS.
39806
754f7da3
UD
39807 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
39808
10b3bedc
UD
39809 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
39810 Add sys/fanotify.h.
39811 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
39812 fanotify_mask for GLIBC_2.13.
39813 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
39814 fanotify_init and fanotify_mark.
39815 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39816 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
39817
c08fb0d7
UD
39818 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
39819 Add prlimit.
39820 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
39821 prlimit64 for GLIBC_2.13.
39822 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
39823 prlimit64.
39824 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
39825 syscall.
39826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
39827 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39828 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
39829 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
39830 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
39831 add prlimit alias.
39832 * sysdeps/unix/sysv/linux/prlimit.c: New file.
39833
15bac72b
UD
39834 [BZ #11903]
39835 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
39836 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
39837
c3e2f19b
UD
39838 * nss/Makefile: Add rules to build and run tst-nss-test1.
39839 * shlib-versions: Add entry for libnss_test1.
39840 * nss/nss_test1.c: New file.
39841 * nss/tst-nss-test1.c: New file.
39842
39843 * nss/nsswitch.c (__nss_database_custom): Define new variable.
39844 (__nss_configure_lookup): Set appropriate entry in
39845 __nss_configure_lookup to true.
39846 * nss/nsswitch.h: Define enum with indeces of databases in
39847 databases and __nss_database_custom arrays. Declare
39848 __nss_database_custom.
39849 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
39850 to avoid using nscd when custom rules are installed.
39851 * nss/getXXbyYY_r.c: Likewise.
39852 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39853
39854 * nss/nss_files/files-parse.c: Whitespace fixes.
39855
f15ce4d8
UD
398562010-08-09 Ulrich Drepper <drepper@redhat.com>
39857
39858 [BZ #11883]
39859 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
39860 * posix/fnmatch_loop.c: Likewise.
39861
d22e4cc9
AK
398622010-07-17 Andi Kleen <ak@linux.intel.com>
39863
39864 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
39865 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
39866 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
39867 * Versions.def [GLIBC_2.13]: Add.
39868
805bc17d
UD
398692010-08-06 Ulrich Drepper <drepper@redhat.com>
39870
39871 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39872 Also fail if tpwd after pwuid call is NULL.
39873
5a42321d
ST
398742010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
39875
39876 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
39877 when converting to ms.
39878
fd3ebeda
ST
398792010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39880
39881 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
39882 EOPNOTSUPP errors with ENOTTY.
39883 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
39884 EOPNOTSUPP errors with ENOTTY.
39885
73507d3a
UD
398862010-07-31 Ulrich Drepper <drepper@redhat.com>
39887
39888 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39889 Add strcasecmp_l-ssse3.
39890 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
39891 strcasecmp.
39892 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
39893 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
39894 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
39895
fe36dd02
UD
398962010-07-30 Ulrich Drepper <drepper@redhat.com>
39897
66f6765a
UD
39898 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
39899
42e08a54
UD
39900 * string/Makefile (strop-tests): Add strcasecmp.
39901 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39902 strcasecmp_l-nonascii.
39903 (gen-as-const-headers): Add locale-defines.sym.
39904 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
39905 * sysdeps/x86_64/strcasecmp.S: New file.
39906 * sysdeps/x86_64/strcasecmp_l.S: New file.
39907 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
39908 * sysdeps/x86_64/locale-defines.sym: New file.
39909 * string/test-strcasecmp.c: New file.
39910
fe36dd02
UD
39911 * string/test-strcasestr.c: Test both ends of the range of characters.
39912 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
39913
48cbc0d6
RM
399142010-07-29 Roland McGrath <roland@redhat.com>
39915
76e6d6bc 39916 [BZ #11856]
48cbc0d6
RM
39917 * manual/locale.texi (Yes-or-No Questions): Fix example code.
39918
880113d9
UD
399192010-07-27 Ulrich Drepper <drepper@redhat.com>
39920
39921 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
39922 for ld.so.
39923
deb9cabb
AS
399242010-07-27 Andreas Schwab <schwab@redhat.com>
39925
39926 * manual/memory.texi (Malloc Tunable Parameters): Document
39927 M_PERTURB.
39928
1c7570ff
RM
399292010-07-26 Roland McGrath <roland@redhat.com>
39930
39931 [BZ #11840]
39932 * configure.in (-fgnu89-inline check): Set and substitute
39933 gnu89_inline, not libc_cv_gnu89_inline.
39934 * configure: Regenerated.
39935 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
39936
24fb0f88
UD
399372010-07-26 Ulrich Drepper <drepper@redhat.com>
39938
39939 * string/test-strnlen.c: New file.
39940 * string/Makefile (strop-tests): Add strnlen.
39941 * string/tester.c (test_strnlen): Add a few more test cases.
39942 * string/tst-strlen.c: Better error reporting.
39943
39944 * sysdeps/x86_64/strnlen.S: New file.
39945
8e96b93a
UD
399462010-07-24 Ulrich Drepper <drepper@redhat.com>
39947
39948 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
39949 lower-latency instructions.
39950
dbc676d4
UD
399512010-07-23 Ulrich Drepper <drepper@redhat.com>
39952
39953 * string/test-strcasestr.c: New file.
39954 * string/test-strstr.c: New file.
39955 * string/Makefile (strop-tests): Add strstr and strcasestr.
39956 * string/str-two-way.h: Don't undefine MAX.
39957 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
39958
f6a31e0e
AS
399592010-07-21 Andreas Schwab <schwab@redhat.com>
39960
39961 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39962 strcasestr-nonascii.
39963 (CFLAGS-strcasestr-nonascii.c): Define.
39964 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
39965 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
39966 Remove unused attribute.
39967
5dbc3b6c
RM
399682010-07-20 Roland McGrath <roland@redhat.com>
39969
39970 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
39971 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
39972 ld.so.cache was broken. With it, there is no way to disable dsocaps
39973 like LD_HWCAP_MASK can disable hwcaps.
39974
23d101d8
EPM
399752010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
39976
39977 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
39978
cc9f2e47
UD
399792010-07-16 Ulrich Drepper <drepper@redhat.com>
39980
39981 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
39982 call in strcasestr.
39983 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
39984 __strcasestr_sse42_nonascii.
39985 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
39986 strcasestr-nonascii.c.
39987 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
39988
77c1b069
LM
399892010-06-15 Luis Machado <luisgpm@br.ibm.com>
39990
39991 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
39992 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
39993 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
39994 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
39995
440566c3
UD
399962010-07-09 Ulrich Drepper <drepper@redhat.com>
39997
39998 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
39999 fcntl.
40000
5be9d05d
AS
400012010-07-06 Andreas Schwab <schwab@redhat.com>
40002
c30b7ee2 40003 [BZ #11577]
5be9d05d
AS
40004 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
40005 dl_signal_cerror.
40006
8a492a67
UD
400072010-07-06 Ulrich Drepper <drepper@redhat.com>
40008
40009 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
40010 _PC_PIPE_BUF using F_GETPIPE_SZ.
40011
713df3d5
RM
400122010-07-05 Roland McGrath <roland@redhat.com>
40013
40014 * manual/arith.texi (Rounding Functions): Fix rint description
40015 implicit in round description.
40016
702e8f14
UD
400172010-07-02 Ulrich Drepper <drepper@redhat.com>
40018
40019 * elf/Makefile: Fix linking for a few tests to make recent linker
40020 happy.
40021
52ed8be9
AS
400222010-06-30 Andreas Schwab <schwab@redhat.com>
40023
40024 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40025 $(common-objpfx)libc_nonshared.a.
40026
f47c9a11
LM
400272010-06-21 Luis Machado <luisgpm@br.ibm.com>
40028
40029 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
40030 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
40031 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
40032 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
40033 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
40034 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
40035 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
40036 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
40037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
40038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
40039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
40040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
40041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
40042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
40043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
40044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
40045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
40046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
40047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
40048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
40049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
40050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
40051 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
40052 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
40053 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
40054 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
40055 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
40056 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
40057 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
40058 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
40059 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
40060 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
40061 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
40062 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
40063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
40064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
40065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
40066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
40067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
40068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
40069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
40070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
40071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
40072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
40073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
40074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
40075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
40076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
40077
6fb8cbcb
L
400782010-06-25 H.J. Lu <hongjiu.lu@intel.com>
40079
40080 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
40081 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
40082 * string/memmove.c (memmove): Renamed to ...
40083 (MEMMOVE): ...this. Default to memmove.
40084 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
40085 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
40086 (END_CHK): Define.
40087 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40088 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
40089 mempcpy-ssse3-back memmove-ssse3-back.
40090 * sysdeps/x86_64/multiarch/bcopy.S: New file .
40091 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
40092 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
40093 * sysdeps/x86_64/multiarch/memcpy.S: New file.
40094 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
40095 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
40096 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
40097 * sysdeps/x86_64/multiarch/memmove.c: New file.
40098 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
40099 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
40100 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
40101 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
40102 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
40103 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
40104 Define.
40105 (index_Fast_Copy_Backward): Define.
40106 (HAS_ARCH_FEATURE): Define.
40107 (HAS_FAST_REP_STRING): Define.
40108 (HAS_FAST_COPY_BACKWARD): Define.
40109
4e733bac 401102010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
40111
40112 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
40113 Restore proper fallback handling.
40114
63c4ed22
UD
401152010-06-19 Ulrich Drepper <drepper@redhat.com>
40116
ac2b484c
UD
40117 [BZ #11701]
40118 * posix/group_member.c (__group_member): Correct checking loop.
40119
63c4ed22
UD
40120 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
40121 OOM in getpwuid_r correctly. Return error number when the caller
40122 should return, otherwise -1.
40123 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
40124 call returning > 0 value.
40125 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
40126
765ade4b
AS
401272010-06-07 Andreas Schwab <schwab@redhat.com>
40128
40129 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
40130 libc_nonshared.a from targets in modules-names.
40131
80da2e09
KS
401322010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
40133
40134 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
40135 requires it.
40136
158db122
LM
401372010-06-10 Luis Machado <luisgpm@br.ibm.com>
40138
40139 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
40140 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
40141 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
40142 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
40143
caa78cf8
AS
401442010-06-02 Andreas Schwab <schwab@redhat.com>
40145
40146 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
40147
b2ef2c01
UD
401482010-06-14 Ulrich Drepper <drepper@redhat.com>
40149
40150 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
40151 and F_GETPIPE_SZ.
40152 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40153 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40154 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40155 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40156 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40157 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
40158
fbd643b6
RM
401592010-06-14 Roland McGrath <roland@redhat.com>
40160
40161 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
40162
f32f2869
JJ
401632010-06-07 Jakub Jelinek <jakub@redhat.com>
40164
40165 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
40166 __REDIRECT followed by __THROW.
40167 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
40168 * posix/getopt.h (getopt): Likewise.
40169
2a50c078
EPM
401702010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
40171
40172 * hurd/lookup-at.c (__file_name_lookup_at): Accept
40173 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
40174 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
40175 in AT_FLAGS.
40176 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
40177 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
40178
eb5ad2eb
LM
401792010-05-28 Luis Machado <luisgpm@br.ibm.com>
40180
40181 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
40182
3c88fe1e
L
401832010-05-26 H.J. Lu <hongjiu.lu@intel.com>
40184
40185 [BZ #11640]
40186 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40187 Properly check family and model.
40188
d2f73151
TY
401892010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
40190
40191 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
40192
ebd2e13d
LM
401932010-05-24 Luis Machado <luisgpm@br.ibm.com>
40194
40195 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
40196
b32b8b45
UD
401972010-05-21 Ulrich Drepper <drepper@redhat.com>
40198
40199 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
40200 symbol reference.
40201
9acbe24d
AS
402022010-05-19 Andreas Schwab <schwab@redhat.com>
40203
40204 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
40205 symbol reference.
40206
f0ccf6ea
AS
402072010-05-21 Andreas Schwab <schwab@redhat.com>
40208
3d04ff3a
AS
40209 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
40210 and internal_recvmmsg.
40211 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
40212 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
40213 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
40214 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
40215
f0ccf6ea
AS
40216 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
40217 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40218 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40219
5b08ac57
AS
402202010-05-20 Andreas Schwab <schwab@redhat.com>
40221
40222 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
40223
4828935d
LM
402242010-05-17 Luis Machado <luisgpm@br.ibm.com>
40225
40226 POWER7 optimizations.
40227 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
40228 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
40229
373d545e
UD
402302010-05-19 Ulrich Drepper <drepper@redhat.com>
40231
40232 * version.h: Update for 2.13 development version.
40233
21a2b1ae
AS
402342010-05-12 Andrew Stubbs <ams@codesourcery.com>
40235
40236 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
40237 exceptions. Return 0.
40238
3f7dcb2b
RM
402392010-05-07 Roland McGrath <roland@redhat.com>
40240
40241 * elf/ldconfig.c (main): Add a const.
40242
5f24d53a 402432010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 40244
a160f8d8
UD
40245 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
40246 (args_options): Add no-idn option.
40247 (ahosts_keys_int): Add idn_flags to ai_flags.
40248 (parse_option): Handle 'i' option to clear idn_flags.
40249
5f24d53a
UD
40250 * malloc/malloc.c (_int_free): Possible race in the most recently
40251 added check. Only act on the data if no current modification
40252 happened.
265bb1ce
UD
40253
40254See ChangeLog.17 for earlier changes.