]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Consistently include Makeconfig after defining subdir.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
a5f891ac
JM
12014-02-26 Joseph Myers <joseph@codesourcery.com>
2
3 * argp/Makefile: Include Makeconfig immediately after defining
4 subdir.
5 * assert/Makefile: Likewise.
6 * benchtests/Makefile: Likewise.
7 * catgets/Makefile: Likewise.
8 * conform/Makefile: Likewise.
9 * crypt/Makefile: Likewise.
10 * csu/Makefile: Likewise.
11 (all): Remove target.
12 * ctype/Makefile: Include Makeconfig immediately after defining
13 subdir.
14 * debug/Makefile: Likewise.
15 * dirent/Makefile: Likewise.
16 * dlfcn/Makefile: Likewise.
17 * gmon/Makefile: Likewise.
18 * gnulib/Makefile: Likewise.
19 * grp/Makefile: Likewise.
20 * gshadow/Makefile: Likewise.
21 * hesiod/Makefile: Likewise.
22 * hurd/Makefile: Likewise.
23 (all): Remove target.
24 * iconvdata/Makefile: Include Makeconfig immediately after
25 defining subdir.
26 * inet/Makefile: Likewise.
27 * intl/Makefile: Likewise.
28 * io/Makefile: Likewise.
29 * libio/Makefile: Likewise.
30 (all): Remove target.
31 * locale/Makefile: Include Makeconfig immediately after defining
32 subdir.
33 * login/Makefile: Likewise.
34 * mach/Makefile: Likewise.
35 (all): Remove target.
36 * malloc/Makefile: Include Makeconfig immediately after defining
37 subdir.
38 (all): Remove target.
39 * manual/Makefile: Include Makeconfig immediately after defining
40 subdir.
41 * math/Makefile: Likewise.
42 * misc/Makefile: Likewise.
43 * nis/Makefile: Likewise.
44 * nss/Makefile: Likewise.
45 * po/Makefile: Likewise.
46 (all): Remove target.
47 * posix/Makefile: Include Makeconfig immediately after defining
48 subdir.
49 * pwd/Makefile: Likewise.
50 * resolv/Makefile: Likewise.
51 * resource/Makefile: Likewise.
52 * rt/Makefile: Likewise.
53 * setjmp/Makefile: Likewise.
54 * shadow/Makefile: Likewise.
55 * signal/Makefile: Likewise.
56 * socket/Makefile: Likewise.
57 * soft-fp/Makefile: Likewise.
58 * stdio-common/Makefile: Likewise.
59 * stdlib/Makefile: Likewise.
60 * streams/Makefile: Likewise.
61 * string/Makefile: Likewise.
62 * sunrpc/Makefile: Likewise.
63 (all): Remove target.
64 * sysvipc/Makefile: Include Makeconfig immediately after defining
65 subdir.
66 * termios/Makefile: Likewise.
67 * time/Makefile: Likewise.
68 * timezone/Makefile: Likewise.
69 (all): Remove target.
70 * wcsmbs/Makefile: Include Makeconfig immediately after defining
71 subdir.
72 * wctype/Makefile: Likewise.
73
5b456e9d
SE
742014-02-26 Steve Ellcey <sellcey@mips.com>
75
76 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
77 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
78 (libc_feholdexcept_setround_mips): Ditto.
79 (libc_feholdsetround): New.
80 (libc_feholdsetroundf): New.
81 (libc_feholdsetroundl): New.
82 (libc_feupdateenv_test_mips): New.
83 (libc_feupdateenv_test): New.
84 (libc_feupdateenv_testf): New.
85 (libc_feupdateenv_testl): New.
86 (libc_feresetround): New.
87 (libc_feresetroundf): New.
88 (libc_feresetroundl): New.
89 (libc_fetestexcept_mips): New.
90 (libc_fetestexcept): New.
91 (libc_fetestexceptf): New.
92 (libc_fetestexceptl): New.
93 (HAVE_RM_CTX): New.
94 (libc_feholdexcept_setround_mips_ctx): New.
95 (libc_feholdexcept_setround_ctx): New.
96 (libc_feholdexcept_setroundf_ctx): New.
97 (libc_feholdexcept_setroundl_ctx): New.
98 (libc_fesetenv_mips_ctx): New.
99 (libc_fesetenv_ctx): New.
100 (libc_fesetenv_ctxf): New.
101 (libc_fesetenv_ctxl): New.
102 (libc_feupdateenv_mips_ctx): New.
103 (libc_feupdateenv_ctx): New.
104 (libc_feupdateenvf_ctx): New.
105 (libc_feupdateenvl_ctx): New.
106 (libc_feholdsetround_mips_ctx): New.
107 (libc_feholdsetround_ctx): New.
108 (libc_feholdsetroundf_ctx): New.
109 (libc_feholdsetroundl_ctx): New.
110 (libc_feresetround_mips_ctx): New.
111 (libc_feresetround_ctx): New.
112 (libc_feresetroundf_ctx): New.
113 (libc_feresetroundl_ctx): New.
114
085d0e35
CD
1152014-02-26 Carlos O'Donell <carlos@redhat.com>
116
f067bf1f
CD
117 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
118
085d0e35
CD
119 * manual/ipc.texi: New file.
120 * manual/Makefile (chapters): Add ipc.
121 * manual/job.texi: Add "Inter-Process Communication" to next.
122 * manual/process.texi: Add "Inter-Process Communication" to prev.
123
86e58c08
AZ
1242014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
125
126 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
127
4248f0da
OB
1282014-02-26 Ondřej Bílka <neleai@seznam.cz>
129
130 * malloc/malloc.c (__libc_calloc): Simplify implementation.
131
cf822e3c
OB
132 * manual/arith.texi: Fix spaces after sentences.
133 * manual/charset.texi: Likewise.
134 * manual/errno.texi: Likewise.
135 * manual/install.texi: Likewise.
136 * manual/llio.texi: Likewise.
137 * manual/locale.texi: Likewise.
138 * manual/maint.texi: Likewise.
139 * manual/math.texi: Likewise.
140 * manual/memory.texi: Likewise.
141 * manual/message.texi: Likewise.
142 * manual/probes.texi: Likewise.
143 * manual/resource.texi: Likewise.
144 * manual/signal.texi: Likewise.
145 * manual/socket.texi: Likewise.
146 * manual/stdio.texi: Likewise.
147 * manual/string.texi: Likewise.
148 * manual/time.texi: Likewise.
149 * manual/users.texi: Likewise.
150
ade40b10
CD
1512014-02-25 Carlos O'Donell <carlos@redhat.com>
152
153 [BZ #16632]
154 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
155 _DEFAULT_SOURCE is defined.
156
d0503676
CD
1572014-02-25 Ulrich Drepper <drepper@gmail.com>
158 Carlos O'Donell <carlos@redhat.com>
159
160 [BZ #16613]
161 * elf/dl-tls.c (_dl_count_modids): New function.
162 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
163 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
164 audit library and increment generation counter.
165 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
166 * elf/tst-audit9.c: New file.
167 * elf/tst-auditmod9a.c: New file.
168 * elf/tst-auditmod9b.c: New file.
169 * elf/Makefile: Add rules to build and run tst-audit9.
170
4cbf380c
FW
1712014-02-25 Florian Weimer <fweimer@redhat.com>
172
173 [BZ #15347]
174 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
175
80a56cc3
WN
1762014-02-25 Will Newton <will.newton@linaro.org>
177
178 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
179 (__longjmp): Restore sp and lr before restoring callee
180 saved registers. Add longjmp and longjmp_target
181 SystemTap probe point.
182 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
183 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
184 Define to zero to match jmpbuf layout.
185 * sysdeps/arm/setjmp.S: Include stap-probe.h.
186 (__sigsetjmp): Save sp and lr before saving callee
187 saved registers. Add setjmp SystemTap probe point.
188
3ea0f74e
SL
1892014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
190
191 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
192
b04acb26
AS
1932014-02-24 Andreas Schwab <schwab@suse.de>
194
195 [BZ #15804]
196 * elf/pldd.c (wait_for_ptrace_stop): New function.
197 (main): Call it after attaching.
198
098ad55c
RM
1992014-02-22 Roland McGrath <roland@hack.frob.com>
200
d4ec6ae1
RM
201 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
202 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
203 Versions files is now verboten.
204 * hurd/Versions (libc: GLIBC_2.0):
205 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
206 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
207 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
208 * mach/Versions: Likewise.
209
098ad55c
RM
210 * csu/Versions: Remove unused %include.
211 * resolv/Versions: Likewise.
212
acd7f096
JM
2132014-02-21 Joseph Myers <joseph@codesourcery.com>
214
f0881698
JM
215 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
216 ($(objpfx)check-local-headers.out): Likewise.
217 ($(objpfx)begin-end-check.out): Likewise.
218 * Makerules (check-abi-%.out): Likewise.
219 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
220 ($(objpfx)test2.cat): Likewise.
221 ($(objpfx)de/libc.cat): Likewise.
222 ($(objpfx)test-gencat.out): Likewise.
223 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
224 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
225 ($(objpfx)noload-mem): Likewise.
226 ($(objpfx)tst-pathopt.out): Likewise.
227 ($(objpfx)tst-rtld-load-self.out): Likewise.
228 ($(objpfx)tst-array1-cmp.out): Likewise.
229 ($(objpfx)tst-array1-static-cmp.out): Likewise.
230 ($(objpfx)tst-array2-cmp.out): Likewise.
231 ($(objpfx)tst-array3-cmp.out): Likewise.
232 ($(objpfx)tst-array4-cmp.out): Likewise.
233 ($(objpfx)tst-array5-cmp.out): Likewise.
234 ($(objpfx)tst-array5-static-cmp.out): Likewise.
235 ($(objpfx)check-textrel.out): Likewise.
236 ($(objpfx)check-execstack.out): Likewise.
237 ($(objpfx)check-localplt.out): Likewise.
238 ($(objpfx)order2-cmp.out): Likewise.
239 ($(objpfx)tst-leaks1-mem): Likewise.
240 ($(objpfx)tst-leaks1-static-mem): Likewise.
241 ($(objpfx)tst-initorder-cmp.out): Likewise.
242 ($(objpfx)tst-initorder2-cmp.out): Likewise.
243 ($(objpfx)tst-unused-dep.out): Likewise.
244 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
245 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
246 * iconv/Makefile (test-iconvconfig): Likewise.
247 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
248 ($(objpfx)iconv-test.out): Likewise.
249 ($(objpfx)tst-tables.out): Likewise.
250 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
251 ($(objpfx)tst-gettext.out): Likewise.
252 ($(objpfx)tst-translit.out): Likewise.
253 ($(objpfx)tst-gettext2.out): Likewise.
254 ($(objpfx)tst-gettext4.out): Likewise.
255 ($(objpfx)tst-gettext6.out): Likewise.
256 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
257 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
258 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
259 ($(objpfx)tst-fopenloc-mem.out): Likewise.
260 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
261 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
262 * posix/Makefile ($(objpfx)globtest.out): Likewise.
263 ($(objpfx)wordexp-tst.out): Likewise.
264 ($(objpfx)annexc.out): Likewise.
265 ($(objpfx)tst-fnmatch-mem): Likewise.
266 ($(objpfx)bug-regex2-mem): Likewise.
267 ($(objpfx)bug-regex14-mem): Likewise.
268 ($(objpfx)bug-regex21-mem): Likewise.
269 ($(objpfx)bug-regex31-mem): Likewise.
270 ($(objpfx)tst-vfork3-mem): Likewise.
271 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
272 ($(objpfx)tst-pcre-mem): Likewise.
273 ($(objpfx)tst-boost-mem): Likewise.
274 ($(objpfx)tst-getconf.out): Likewise.
275 ($(objpfx)bug-ga2-mem): Likewise.
276 ($(objpfx)bug-glob2-mem): Likewise.
277 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
278 ($(objpfx)mtrace-tst-leaks2): Likewise.
279 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
280 ($(objpfx)tst-printf.out): Likewise.
281 ($(objpfx)tst-setvbuf1.out): Likewise.
282 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
283 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
284 ($(objpfx)tst-fmtmsg.out): Likewise.
285 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
286 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
287
acd7f096
JM
288 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
289 * bits/sigaction.h [__USE_MISC]: Likewise.
290 * bits/waitstatus.h: Update #endif comments.
291 * ctype/ctype.h: Likewise.
292 * dirent/dirent.h: Likewise.
293 [__USE_MISC]: Remove redundant conditionals.
294 * grp/grp.h: Update #endif comments.
295 [__USE_GNU]: Remove redundant conditionals.
296 [__USE_MISC]: Likewise.
297 * inet/netinet/in.h [__USE_GNU]: Likewise.
298 * io/sys/stat.h [__USE_MISC]: Likewise.
299 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
300 * libio/bits/stdio.h: Update #endif comments.
301 [__USE_MISC]: Remove redundant conditionals.
302 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
303 * libio/stdio.h: Update #endif comments.
304 [__USE_MISC]: Remove redundant conditionals.
305 * math/bits/math-finite.h [__USE_MISC]: Likewise.
306 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
307 * math/math.h: Update #else and #endif comments.
308 [__USE_MISC]: Remove redundant conditionals.
309 * misc/sys/uio.h: Update #endif comments.
310 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
311 * posix/glob.h [__USE_MISC]: Likewise.
312 * posix/sys/types.h: Update #endif comments.
313 [__USE_MISC]: Remove redundant conditionals.
314 * posix/sys/wait.h: Update #endif comments.
315 [__USE_MISC]: Remove redundant conditionals.
316 * posix/unistd.h: Update #endif comments.
317 [__USE_MISC]: Remove redundant conditionals.
318 * pwd/pwd.h [__USE_GNU]: Likewise.
319 [__USE_MISC]: Likewise.
320 * resolv/netdb.h [__USE_GNU]: Likewise.
321 * signal/signal.h: Update #endif comments.
322 [__USE_MISC]: Remove redundant conditionals.
323 * stdlib/stdlib.h: Update #else and #endif comments.
324 [__USE_MISC]: Remove redundant conditionals.
325 [__USE_GNU]: Likewise.
326 * string/bits/string2.h [__USE_MISC]: Likewise.
327 * string/string.h: Update #endif comments.
328 [__USE_MISC]: Remove redundant conditionals.
329 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
330 Likewise.
331 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
332 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
333 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
334 Likewise.
335 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
336 Likewise.
337 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
338 comments.
339 [__USE_MISC]: Remove redundant conditionals.
340 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
341 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
342 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
343 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
344 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
345 Likewise.
346 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
347 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
348 Likewise.
349 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
350 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
351 Likewise.
352 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
353 Likewise.
354 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
355 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
356 Likewise.
357 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
358 Likewise.
359 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
360 * sysdeps/x86/bits/string.h: Update #endif comments.
361 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
362 conditionals.
363 * time/sys/time.h: Update #endif comments.
364 * time/time.h: Likewise.
365 [__USE_MISC]: Remove redundant conditionals.
366
a5d82e4e
YG
3672014-02-21 Yury Gribov <y.gribov@samsung.com>
368
369 [BZ #16600]
370 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
371
9a80491d
AS
3722014-02-21 Andreas Schwab <schwab@linux-m68k.org>
373
374 * Versions.def (librt): Add GLIBC_2.17.
375
105fa381
AC
3762014-02-21 Adam Conrad <adconrad@0c3.net>
377
378 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
379 synonym for _SYS_AUXV_H to allow direct inclusion.
380 * sysdeps/sparc/bits/hwcap.h: Likewise.
381 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
382 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
383 * sysdeps/sparc/sysdep.h: Likewise.
384
b8cd1c4e
SP
3852014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
386
387 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
388
bd939d23
RS
3892014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
390
391 * benchtests/bench-strrchr.c: Print length instead of position.
392
5d7b57ca
JM
3932014-02-20 Joseph Myers <joseph@codesourcery.com>
394
bc688c10
JM
395 [BZ #16611]
396 * sysdeps/unix/sysv/linux/kernel-features.h
397 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
398 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
399 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
400 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
401 Likewise.
402 [__i386__ || __powerpc__ || __sh__ || __sparc__]
403 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
404 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
405 (__ASSUME_SENDMMSG): Define instead of using previous
406 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
407 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
408 (__ASSUME_SENDMMSG_SYSCALL): Define.
409 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
410 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
411 Likewise.
412 * sysdeps/unix/sysv/linux/arm/kernel-features.h
413 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
414 Likewise.
415 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
416 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
417 Likewise.
418 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
419 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
420 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
421 [__ASSUME_SENDMMSG]: Change conditionals to
422 [__ASSUME_SENDMMSG_SOCKETCALL].
423 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
424 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
425 Define.
426 * sysdeps/unix/sysv/linux/mips/kernel-features.h
427 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
428 Likewise.
429 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
430 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
431 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
432 [!__ASSUME_SENDMMSG]: Change conditional to
433 [!__ASSUME_SENDMMSG_SOCKETCALL].
434 * sysdeps/unix/sysv/linux/tile/kernel-features.h
435 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
436 Define.
437
0e31b18c
JM
438 [BZ #16610]
439 * sysdeps/unix/sysv/linux/kernel-features.h
440 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
441 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
442 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
443 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
444 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
445 [__i386__ || __sparc__]
446 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
447 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
448 (__ASSUME_RECVMMSG): Define instead of using previous
449 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
450 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
451 (__ASSUME_RECVMMSG_SYSCALL): Define.
452 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
453 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
454 Likewise.
455 * sysdeps/unix/sysv/linux/arm/kernel-features.h
456 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
457 Likewise.
458 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
459 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
460 Likewise.
461 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
462 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
463 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
464 [__ASSUME_RECVMMSG]: Change condition to
465 [__ASSUME_RECVMMSG_SOCKETCALL].
466 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
467 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
468 Define.
469 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
470 * sysdeps/unix/sysv/linux/mips/kernel-features.h
471 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
472 Likewise.
473 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
474 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
475 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
476 [!__ASSUME_RECVMMSG]: Change condition to
477 [!__ASSUME_RECVMMSG_SOCKETCALL].
478 * sysdeps/unix/sysv/linux/tile/kernel-features.h
479 (__ASSUME_RECVMMSG_SYSCALL): Define.
480
dd481ccf
JM
481 [BZ #16609]
482 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
483 __powerpc__ || __s390__ || __sh__ || __sparc__]
484 (__ASSUME_SOCKETCALL): Define.
485 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
486 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
487 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
488 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
489 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
490 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
491 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
492 (__ASSUME_ACCEPT4): Define instead of using previous
493 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
494 __powerpc__ || __sparc__ || __s390__)] condition.
495 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
496 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
497 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
498 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
499 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
500 [!__ASSUME_ACCEPT4]: Change condition to
501 [!__ASSUME_ACCEPT4_SOCKETCALL].
502 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
503 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
504 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
505 * sysdeps/unix/sysv/linux/arm/kernel-features.h
506 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
507 __ASSUME_ACCEPT4_SYSCALL.
508 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
509 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
510 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
511 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
512 __ASSUME_ACCEPT4_SYSCALL.
513 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
514 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
515 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
516 [__ASSUME_ACCEPT4]: Change condition to
517 [__ASSUME_ACCEPT4_SOCKETCALL].
518 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
519 (__ASSUME_SOCKETCALL): Define.
520 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
521 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
522 (__ASSUME_SOCKETCALL): Define.
523 (__ASSUME_ACCEPT4): Remove.
524 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
525 Define.
526 * sysdeps/unix/sysv/linux/mips/kernel-features.h
527 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
528 Likewise.
529 * sysdeps/unix/sysv/linux/tile/kernel-features.h
530 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
531
5d7b57ca
JM
532 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
533 macro.
534 (HWCAP_ARM_LPAE): Likewise.
535 (HWCAP_ARM_EVTSTRM): Likewise.
536 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
537 Add vpfd32, lpae and evtstrm.
538 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
539 Increase to 22.
540
63689d61
JM
5412014-02-19 Joseph Myers <joseph@codesourcery.com>
542
543 * math/auto-libm-test-in: Add tests of clog10.
544 * math/auto-libm-test-out: Regenerated.
545 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
546 * sysdeps/i386/fpu/libm-test-ulps: Update.
547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
548
ab09bf61
AS
5492014-02-18 Andreas Schwab <schwab@suse.de>
550
551 [BZ #16574]
552 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
553 Store non-zero if the second buffer was newly allocated.
554 (send_dg): Likewise.
555 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
556 to send_vc and send_dg.
557 (res_nsend): Pass NULL for ansp2_malloced.
558 * resolv/res_query.c (__libc_res_nquery): Add parameter
559 answerp2_malloced and pass it down to __libc_res_nsend.
560 (res_nquery): Pass additional NULL to __libc_res_nquery.
561 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
562 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
563 second answer buffer if answerp2_malloced was set.
564 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
565 (__libc_res_nquerydomain): Add parameter
566 answerp2_malloced and pass it down to __libc_res_nquery.
567 (res_nquerydomain): Pass additional NULL to
568 __libc_res_nquerydomain.
569 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
570 additional NULL to __libc_res_nsend and __libc_res_nquery.
571 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
572 additional NULL to __libc_res_nsearch.
573 (_nss_dns_gethostbyname4_r): Revert last change. Use new
574 parameter of __libc_res_nsearch to check for separately allocated
575 second buffer.
576 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
577 __libc_res_nquery.
578 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
579 additional NULL to __libc_res_nquery.
580 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
581 __libc_res_nsearch.
582 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
583 * include/resolv.h: Update prototypes of __libc_res_nquery,
584 __libc_res_nsearch, __libc_res_nsend.
585
a4fb7861
JM
5862014-02-18 Joseph Myers <joseph@codesourcery.com>
587
c6af2d89
JM
588 * math/auto-libm-test-in: Add tests of fma.
589 * math/auto-libm-test-out: Regenerated.
590 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
591 (fma_towardzero_test_data): Likewise.
592 (fma_downward_test_data): Likewise.
593 (fma_upward_test_data): Likewise.
594 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
595 mpc_mode.
596 (rounding_modes): Add values for new field.
597 (func_calc_method): Add value mpfr_fff_f.
598 (func_calc_desc): Add mpfr_fff_f union field.
599 (test_function): Add field exact_args.
600 (FUNC): Add macro argument EXACT_ARGS.
601 (FUNC_mpfr_f_f): Update call to FUNC.
602 (FUNC_mpfr_f_f): Likewise.
603 (FUNC_mpfr_ff_f): Likewise.
604 (FUNC_mpfr_if_f): Likewise.
605 (FUNC_mpc_c_f): Likewise.
606 (FUNC_mpc_c_c): Likewise.
607 (test_functions): Add fma. Update calls to FUNC.
608 (handle_input_arg): Add argument exact_args.
609 (add_test): Update call to handle_input_arg.
610 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
611 (output_for_one_input_case): Update call to calc_generic_results.
612 Recalculate exact zero results in each rounding mode.
613
a4fb7861
JM
614 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
615 non-negative before setting low bit.
616 * math/auto-libm-test-in: Mark one asin test possibly having
617 spurious underflow.
618 * math/auto-libm-test-out: Regenerated.
619 * sysdeps/i386/fpu/libm-test-ulps: Update.
620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
621
ef114eaf
DH
6222014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
623
624 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
625 * sysdeps/unix/sysv/linux/microblaze: Move directory from
626 ports/sysdeps/unix/sysv/linux/microblaze.
627 * README: Add missing listing for microblaze*-*-linux-gnu.
628
c70a4b1d
MF
6292014-02-16 Mike Frysinger <vapier@gentoo.org>
630
631 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
632 * sysdeps/unix/sysv/linux/ia64: Move directory from
633 ports/sysdeps/unix/sysv/linux/ia64.
634 * README: Update listing for ia64-*-linux-gnu.
635
591aeaf7
TD
6362014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
637 Joseph Myers <joseph@codesourcery.com>
638
639 * Makeconfig (test-name): New variable.
640 (evaluate-test): Likewise.
641 * Makerules (do-test-clean): Remove .test-result files.
642 (common-mostlyclean): Likewise.
643 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
644 * scripts/evaluate-test.sh: New file.
645
6e89caf1
JM
6462014-02-14 Joseph Myers <joseph@codesourcery.com>
647
7f98f180
JM
648 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
649 separate $(objpfx)tst-fopenloc-cmp.out and
650 $(objpfx)tst-fopenloc-mem.out targets.
651 (tests): Update dependencies.
652 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
653 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
654 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
655 (tst-rxspencer-no-utf8-ARGS): New variable.
656 (tst-rxspencer-no-utf8-ENV): Likewise.
657 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
658 instead of $(objpfx)tst-rxspencer-mem.
659 ($(objpfx)tst-rxspencer-mem): Change target to
660 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
661 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
662 * posix/tst-rxspencer-no-utf8.c: New file.
663
6e89caf1
JM
664 * elf/Makefile ($(objpfx)order.out): Remove rule.
665 [$(run-built-tests) = yes] (tests): Depend on
666 $(objpfx)order-cmp.out.
667 ($(objpfx)order-cmp.out): New rule.
668 [$(run-built-tests) = yes] (tests): Depend on
669 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
670 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
671 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
672 $(objpfx)tst-array5-static-cmp.out.
673 ($(objpfx)tst-array1.out): Remove rule.
674 ($(objpfx)tst-array1-cmp.out): New rule.
675 ($(objpfx)tst-array1-static.out): Remove rule.
676 ($(objpfx)tst-array1-static-cmp.out): New rule.
677 ($(objpfx)tst-array2.out): Remove rule.
678 ($(objpfx)tst-array2-cmp.out): New rule.
679 ($(objpfx)tst-array3.out): Remove rule.
680 ($(objpfx)tst-array3-cmp.out): New rule.
681 ($(objpfx)tst-array4.out): Remove rule.
682 ($(objpfx)tst-array4-cmp.out): New rule.
683 ($(objpfx)tst-array5.out): Remove rule.
684 ($(objpfx)tst-array5-cmp.out): New rule.
685 ($(objpfx)tst-array5-static.out): Remove rule.
686 ($(objpfx)tst-array5-static-cmp.out): New rule.
687 [$(run-built-tests) = yes] (tests): Depend on
688 $(objpfx)order2-cmp.out.
689 ($(objpfx)order2.out): Remove rule.
690 ($(objpfx)order2-cmp.out): New rule.
691 ($(objpfx)tst-initorder.out): Remove rule.
692 [$(run-built-tests) = yes] (tests): Depend on
693 $(objpfx)tst-initorder-cmp.out.
694 ($(objpfx)tst-initorder-cmp.out): New rule.
695 ($(objpfx)tst-initorder2.out): Remove rule.
696 [$(run-built-tests) = yes] (tests): Depend on
697 $(objpfx)tst-initorder2-cmp.out.
698 ($(objpfx)tst-initorder2-cmp.out): New rule.
699 [$(run-built-tests) = yes] (tests): Depend on
700 $(objpfx)tst-unused-dep-cmp.out.
701 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
702 ($(objpfx)tst-unused-dep-cmp.out): New rule.
703 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
704 on $(objpfx)tst-setvbuf1-cmp.out.
705 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
706 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
707 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
708 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
709 ($(objpfx)tst-svc.out): Remove rule.
710 ($(objpfx)tst-svc-cmp.out): New rule.
711
ed9a38e2
JM
7122014-02-13 Joseph Myers <joseph@codesourcery.com>
713
714 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
715 * ctype/ctype.h [__USE_MISC]: Likewise.
716 * dirent/dirent.h [__USE_MISC]: Likewise.
717 * grp/grp.h [__USE_MISC]: Likewise.
718 * io/fcntl.h [__USE_MISC]: Likewise.
719 * io/sys/stat.h [__USE_MISC]: Likewise.
720 * libio/stdio.h [__USE_MISC]: Likewise.
721 * posix/unistd.h [__USE_MISC]: Likewise.
722 * pwd/pwd.h [__USE_MISC]: Likewise.
723 * stdlib.h [__USE_MISC]: Likewise.
724 * string/bits/string2.h [__USE_MISC]: Likewise.
725 * string/string.h [__USE_MISC]: Likewise.
726 * time/time.h [__USE_MISC]: Likewise.
727
d6680619
AS
7282014-02-13 Andreas Schwab <schwab@suse.de>
729
730 [BZ #16574]
731 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
732 second answer buffer if it was separately allocated.
733
ace614b8
JM
7342014-02-12 Joseph Myers <joseph@codesourcery.com>
735
743151ae
JM
736 * sysdeps/mips/math-tests.h: Include <features.h>.
737 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
738 (ROUNDING_TESTS_long_double): Do not define.
739 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
740 (EXCEPTION_TESTS_long_double): Likewise.
741 * sysdeps/mips/mips64/libm-test-ulps: Update.
742
498afc54
JM
743 * include/features.h (__USE_BSD): Remove macro definitions.
744 (__USE_SVID): Likewise.
745 (_BSD_SOURCE): Likewise.
746 (_SVID_SOURCE): Likewise.
747 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
748 from definition of _DEFAULT_SOURCE.
749 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
750 [_DEFAULT_SOURCE].
751 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
752 * bits/mman.h [__USE_BSD]: Likewise.
753 * bits/termios.h [__USE_BSD]: Likewise.
754 * bits/waitstatus.h [__USE_BSD]: Likewise.
755 * ctype/ctype.h [__USE_SVID]: Likewise.
756 * dirent/dirent.h [__USE_BSD]: Likewise.
757 * grp/grp.h [__USE_SVID]: Likewise.
758 [__USE_BSD]: Likewise.
759 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
760 * io/fcntl.h [__USE_BSD]: Likewise.
761 * io/ftw.h [__USE_BSD]: Likewise.
762 * io/sys/stat.h [__USE_BSD]: Likewise.
763 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
764 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
765 * libio/stdio.h [__USE_SVID]: Likewise.
766 [__USE_BSD]: Likewise.
767 * math/math.h [__USE_SVID]: Likewise.
768 [__USE_BSD]: Likewise.
769 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
770 * misc/bits/syslog.h [__USE_BSD]: Likewise.
771 * misc/search.h [__USE_SVID]: Likewise.
772 * misc/sys/mman.h [__USE_BSD]: Likewise.
773 * misc/sys/syslog.h [__USE_BSD]: Likewise.
774 * misc/sys/uio.h [__USE_BSD]: Likewise.
775 * posix/bits/unistd.h [__USE_BSD]: Likewise.
776 * posix/glob.h [__USE_BSD]: Likewise.
777 * posix/regex.h [__USE_BSD]: Likewise.
778 * posix/sys/types.h [__USE_BSD]: Likewise.
779 [__USE_SVID]: Likewise.
780 * posix/sys/utsname.h [__USE_SVID]: Likewise.
781 * posix/sys/wait.h [__USE_BSD]: Likewise.
782 [__USE_SVID]: Likewise.
783 * posix/unistd.h [__USE_BSD]: Likewise.
784 [__USE_SVID]: Likewise.
785 * pwd/pwd.h [__USE_SVID]: Likewise.
786 * resolv/netdb.h [__USE_BSD]: Likewise.
787 * setjmp/setjmp.h [__USE_BSD]: Likewise.
788 * signal/signal.h [__USE_BSD]: Likewise.
789 [__USE_SVID]: Likewise.
790 * socket/sys/socket.h [__USE_BSD]: Likewise.
791 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
792 * stdlib/stdlib.h [__USE_BSD]: Likewise.
793 [__USE_SVID]: Likewise.
794 * string/bits/string2.h [__USE_BSD]: Likewise.
795 [__USE_SVID]: Likewise.
796 * string/bits/string3.h [__USE_BSD]: Likewise.
797 * string/endian.h [__USE_BSD]: Likewise.
798 * string/string.h [__USE_SVID]: Likewise.
799 [__USE_BSD]: Likewise.
800 * string/strings.h [__USE_BSD]: Likewise.
801 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
802 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
803 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
804 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
805 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
806 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
807 Likewise.
808 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
809 Likewise.
810 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
811 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
812 Likewise.
813 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
814 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
815 Likewise.
816 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
817 Likewise.
818 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
819 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
820 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
821 Likewise.
822 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
823 Likewise.
824 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
825 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
826 * termios/termios.h [__USE_BSD]: Likewise.
827 * time/sys/time.h [__USE_BSD]: Likewise.
828 * time/time.h [__USE_BSD]: Likewise.
829 [__USE_SVID]: Likewise.
830
dd7b064c
JM
831 * Makefile (subdir_targets): Remove subdir_lint.out.
832
a2c4c199
JM
833 * stdio-common/Makefile (do-tst-unbputc): Remove target.
834 (do-tst-printf): Likewise.
835 (tests): Depend directly on $(objpfx)tst-unbputc.out and
836 $(objpfx)tst-printf.out.
837
8756f740
JM
838 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
839
1b6dd3f1
JM
840 * Makerules (check-abi-%): Change target to
841 $(objpfx)check-abi-%.out.
842 (check-abi target): Update dependencies.
843 (check-abi-pattern variable): Redirect output of diff to $@.
844 (check-abi variable): Likewise.
845 * elf/Makefile (check-abi): Update dependencies.
846
ace614b8
JM
847 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
848 unused.
849 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
850 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
851 subnormal range.
852 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
853 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
854 value has largest subnormal exponent.
855 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
856 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
857 * sysdeps/aarch64/soft-fp/sfp-machine.h
858 (_FP_TININESS_AFTER_ROUNDING): New macro.
859 * sysdeps/alpha/soft-fp/sfp-machine.h
860 (_FP_TININESS_AFTER_ROUNDING): Likewise.
861 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
862 Likewise.
863 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
864 (_FP_TININESS_AFTER_ROUNDING): Likewise.
865 * sysdeps/mips/soft-fp/sfp-machine.h
866 (_FP_TININESS_AFTER_ROUNDING): Likewise.
867 * sysdeps/powerpc/soft-fp/sfp-machine.h
868 (_FP_TININESS_AFTER_ROUNDING): Likewise.
869 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
870 Likewise.
871 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
872 (_FP_TININESS_AFTER_ROUNDING): Likewise.
873 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
874 (_FP_TININESS_AFTER_ROUNDING): Likewise.
875 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
876 Likewise.
877
fbfdf9cb
DAS
8782014-02-12 Dylan Alex Simon <dylan@dylex.net>
879
880 [BZ #16545]
881 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
882 model 1.
883
68b7efaa
RH
8842014-02-12 Richard Henderson <rth@redhat.com>
885
c70a4b1d 886 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
887 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
888 * sysdeps/unix/sysv/linux/alpha: Move directory from
889 ports/sysdeps/unix/sysv/linux/alpha.
890 * README: Update listing for alpha-*-linux-gnu.
891
cb4a2928
JM
8922014-02-11 Joseph Myers <joseph@codesourcery.com>
893
c941736c
JM
894 * include/features.h: Update comment documenting feature test
895 macros.
896 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
897 _DEFAULT_SOURCE.
898 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
899 (_SVID_SOURCE): Likewise.
900 (_DEFAULT_SOURCE): Update description of default features.
901 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
902 with _GNU_SOURCE.
903 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
904 (S_ISVTX): Likewise.
905 * manual/math.texi (Mathematical Constants): Likewise.
906 * manual/signal.texi (Interrupted Primitives): Likewise.
907 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
908 * math/test-matherr.c (_SVID_SOURCE): Do not define.
909 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
910 Don't refer to _SVID_SOURCE in warning text.
911
e8d8d7ec
JM
912 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
913
cb4a2928
JM
914 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
915 already defined.
916 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
917 * sysdeps/mips/dl-lookup.c: Remove.
918 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
919
7e6424e3
AK
9202014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
921
922 [BZ #16447]
923 * math/auto-libm-test-in: Add testcase for expl.
924 * math/auto-libm-test-out: Regenerate.
925 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
926 calculation of unsafe.
927 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
928
75eff3fe
MS
9292014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
930
931 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
932 * sysdeps/unix/sysv/linux/aarch64: Move directory from
933 ports/sysdeps/unix/sysv/linux/aarch64.
934 * README: Update listing for aarch64*-*-linux-gnu.
935
d35f1e80
WN
9362014-02-11 Will Newton <will.newton@linaro.org>
937
938 * manual/probes.texi (Mathematical Function Probes): Use
939 "triggered" instead of "hit".
940
7b3436d4
WN
9412014-02-11 Will Newton <will.newton@linaro.org>
942
943 * manual/probes.texi (Internal Probes): Add documentation
944 of setjmp, longjmp and longjmp_target probes.
945
b4f12ca3
WN
9462014-02-11 Will Newton <will.newton@linaro.org>
947
948 * include/stap-probe.h: Add comment about probe argument
949 format.
950
c13a72b7
WN
9512014-02-11 Will Newton <will.newton@linaro.org>
952
953 * malloc/mtrace.c (attribute_hidden): Remove unused macro
954 definition. (tr_where, tr_freehook, tr_mallochook,
955 tr_reallochook, tr_memalignhook): Use ANSI protoype.
956
195b8165
DM
9572014-02-11 David S. Miller <davem@davemloft.net>
958
959 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
960 processing int_tests.
961
2ad7600b
JM
9622014-02-10 Joseph Myers <joseph@codesourcery.com>
963
964 * sysdeps/mips: Move directory from ports/sysdeps/mips.
965 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
966 * sysdeps/unix/sysv/linux/mips: Move directory from
967 ports/sysdeps/unix/sysv/linux/mips.
968 * README: Update listing for mips-*-linux-gnu and
969 mips64-*-linux-gnu.
970
73588a72
AS
9712014-02-10 Andreas Schwab <schwab@linux-m68k.org>
972
973 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
974 * sysdeps/unix/sysv/linux/m68k: Move directory from
975 ports/sysdeps/unix/sysv/linux/m68k.
976 * README: Update listing for m68k-*-linux-gnu.
977
4372980f
CM
9782014-02-10 Chris Metcalf <cmetcalf@tilera.com>
979
980 * sysdeps/tile: Move directory from ports/sysdeps/tile.
981 * sysdeps/unix/sysv/linux/generic: Move directory from
982 ports/sysdeps/unix/sysv/linux/generic.
983 * sysdeps/unix/sysv/linux/tile: Move directory from
984 ports/sysdeps/unix/sysv/linux/tile.
985 * README: Update listing for tile*-*-linux-gnu.
986
a1ffb40e
OB
9872014-02-10 Ondřej Bílka <neleai@seznam.cz>
988
989 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
990 * benchtests/bench-memmem.c (simple_memmem): Likewise.
991 * catgets/open_catalog.c (__open_catalog): Likewise.
992 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
993 * debug/confstr_chk.c: Likewise.
994 * debug/fread_chk.c (__fread_chk): Likewise.
995 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
996 * debug/getgroups_chk.c: Likewise.
997 * debug/mbsnrtowcs_chk.c: Likewise.
998 * debug/mbsrtowcs_chk.c: Likewise.
999 * debug/mbstowcs_chk.c: Likewise.
1000 * debug/memcpy_chk.c: Likewise.
1001 * debug/memmove_chk.c: Likewise.
1002 * debug/mempcpy_chk.c: Likewise.
1003 * debug/memset_chk.c: Likewise.
1004 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1005 * debug/strcat_chk.c (__strcat_chk): Likewise.
1006 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
1007 * debug/strncat_chk.c (__strncat_chk): Likewise.
1008 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
1009 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
1010 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
1011 * debug/wcpncpy_chk.c: Likewise.
1012 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1013 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
1014 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
1015 * debug/wcsncpy_chk.c: Likewise.
1016 * debug/wcsnrtombs_chk.c: Likewise.
1017 * debug/wcsrtombs_chk.c: Likewise.
1018 * debug/wcstombs_chk.c: Likewise.
1019 * debug/wmemcpy_chk.c: Likewise.
1020 * debug/wmemmove_chk.c: Likewise.
1021 * debug/wmempcpy_chk.c: Likewise.
1022 * debug/wmemset_chk.c: Likewise.
1023 * dirent/scandirat.c (SCANDIRAT): Likewise.
1024 * dlfcn/dladdr1.c (dladdr1): Likewise.
1025 * dlfcn/dladdr.c (dladdr): Likewise.
1026 * dlfcn/dlclose.c (dlclose_doit): Likewise.
1027 * dlfcn/dlerror.c (__dlerror): Likewise.
1028 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
1029 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
1030 * dlfcn/dlopen.c (dlopen_doit): Likewise.
1031 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
1032 * dlfcn/dlsym.c (dlsym_doit): Likewise.
1033 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
1034 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
1035 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
1036 Likewise.
1037 * elf/dl-conflict.c: Likewise.
1038 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
1039 * elf/dl-dst.h: Likewise.
1040 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
1041 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
1042 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
1043 * elf/dl-init.c (call_init, _dl_init): Likewise.
1044 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
1045 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
1046 _dl_map_object_from_fd, open_verify, open_path,
1047 _dl_map_object): Likewise.
1048 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
1049 Likewise.
1050 * elf/dl-minimal.c (__libc_memalign): Likewise.
1051 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
1052 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1053 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
1054 * elf/dl-sym.c (do_sym): Likewise.
1055 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
1056 _dl_tls_get_addr_soft): Likewise.
1057 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
1058 * elf/dl-writev.h (_dl_writev): Likewise.
1059 * elf/ldconfig.c (search_dir): Likewise.
1060 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
1061 dl_main): Likewise.
1062 * elf/setup-vdso.h (setup_vdso): Likewise.
1063 * grp/compat-initgroups.c (compat_call): Likewise.
1064 * grp/fgetgrent.c (fgetgrent): Likewise.
1065 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
1066 * grp/putgrent.c (putgrent): Likewise.
1067 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1068 Likewise.
1069 * hurd/hurdinit.c: Likewise.
1070 * iconvdata/8bit-gap.c (struct): Likewise.
1071 * iconvdata/ansi_x3.110.c : Likewise.
1072 * iconvdata/big5.c : Likewise.
1073 * iconvdata/big5hkscs.c : Likewise.
1074 * iconvdata/cp1255.c: Likewise.
1075 * iconvdata/cp1258.c : Likewise.
1076 * iconvdata/cp932.c : Likewise.
1077 * iconvdata/euc-cn.c: Likewise.
1078 * iconvdata/euc-jisx0213.c : Likewise.
1079 * iconvdata/euc-jp.c: Likewise.
1080 * iconvdata/euc-jp-ms.c : Likewise.
1081 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
1082 * iconvdata/gb18030.c : Likewise.
1083 * iconvdata/gbbig5.c (const): Likewise.
1084 * iconvdata/gbgbk.c: Likewise.
1085 * iconvdata/gbk.c : Likewise.
1086 * iconvdata/ibm1364.c : Likewise.
1087 * iconvdata/ibm930.c : Likewise.
1088 * iconvdata/ibm932.c: Likewise.
1089 * iconvdata/ibm933.c : Likewise.
1090 * iconvdata/ibm935.c : Likewise.
1091 * iconvdata/ibm937.c : Likewise.
1092 * iconvdata/ibm939.c : Likewise.
1093 * iconvdata/ibm943.c: Likewise.
1094 * iconvdata/iso_11548-1.c: Likewise.
1095 * iconvdata/iso-2022-cn.c : Likewise.
1096 * iconvdata/iso-2022-cn-ext.c : Likewise.
1097 * iconvdata/iso-2022-jp-3.c: Likewise.
1098 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
1099 * iconvdata/iso-2022-kr.c : Likewise.
1100 * iconvdata/iso646.c (gconv_end): Likewise.
1101 * iconvdata/iso_6937-2.c : Likewise.
1102 * iconvdata/iso_6937.c : Likewise.
1103 * iconvdata/iso8859-1.c: Likewise.
1104 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
1105 * iconvdata/shift_jisx0213.c : Likewise.
1106 * iconvdata/sjis.c : Likewise.
1107 * iconvdata/t.61.c : Likewise.
1108 * iconvdata/tcvn5712-1.c : Likewise.
1109 * iconvdata/tscii.c: Likewise.
1110 * iconvdata/uhc.c : Likewise.
1111 * iconvdata/unicode.c (gconv_end): Likewise.
1112 * iconvdata/utf-16.c (gconv_end): Likewise.
1113 * iconvdata/utf-32.c (gconv_end): Likewise.
1114 * iconvdata/utf-7.c (base64): Likewise.
1115 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
1116 * iconv/gconv_close.c (__gconv_close): Likewise.
1117 * iconv/gconv_open.c (__gconv_open): Likewise.
1118 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
1119 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
1120 internal_ucs4le_loop_single, ucs4le_internal_loop,
1121 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
1122 * iconv/iconv.c (iconv): Likewise.
1123 * iconv/iconv_close.c: Likewise.
1124 * iconv/loop.c (SINGLE): Likewise.
1125 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
1126 * include/atomic.h: Likewise.
1127 * inet/inet6_option.c (option_alloc): Likewise.
1128 * intl/bindtextdom.c (set_binding_values): Likewise.
1129 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
1130 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
1131 * intl/localealias.c (read_alias_file): Likewise.
1132 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
1133 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
1134 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
1135 * libio/fmemopen.c (fmemopen): Likewise.
1136 * libio/iofgets.c (_IO_fgets): Likewise.
1137 * libio/iofgets_u.c (fgets_unlocked): Likewise.
1138 * libio/iofgetws.c (fgetws): Likewise.
1139 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
1140 * libio/iogetdelim.c (_IO_getdelim): Likewise.
1141 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
1142 adjust_wide_data, _IO_wfile_seekoff): Likewise.
1143 * locale/findlocale.c (_nl_find_locale): Likewise.
1144 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
1145 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
1146 Likewise.
1147 * locale/setlocale.c (setlocale): Likewise.
1148 * login/programs/pt_chown.c (main): Likewise.
1149 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
1150 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
1151 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
1152 mmap, mmap64, mremap, munmap): Likewise.
1153 * math/e_exp2l.c: Likewise.
1154 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
1155 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
1156 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
1157 * math/s_catan.c (__catan): Likewise.
1158 * math/s_catanf.c (__catanf): Likewise.
1159 * math/s_catanh.c (__catanh): Likewise.
1160 * math/s_catanhf.c (__catanhf): Likewise.
1161 * math/s_catanhl.c (__catanhl): Likewise.
1162 * math/s_catanl.c (__catanl): Likewise.
1163 * math/s_ccosh.c (__ccosh): Likewise.
1164 * math/s_ccoshf.c (__ccoshf): Likewise.
1165 * math/s_ccoshl.c (__ccoshl): Likewise.
1166 * math/s_cexp.c (__cexp): Likewise.
1167 * math/s_cexpf.c (__cexpf): Likewise.
1168 * math/s_cexpl.c (__cexpl): Likewise.
1169 * math/s_clog10.c (__clog10): Likewise.
1170 * math/s_clog10f.c (__clog10f): Likewise.
1171 * math/s_clog10l.c (__clog10l): Likewise.
1172 * math/s_clog.c (__clog): Likewise.
1173 * math/s_clogf.c (__clogf): Likewise.
1174 * math/s_clogl.c (__clogl): Likewise.
1175 * math/s_csin.c (__csin): Likewise.
1176 * math/s_csinf.c (__csinf): Likewise.
1177 * math/s_csinh.c (__csinh): Likewise.
1178 * math/s_csinhf.c (__csinhf): Likewise.
1179 * math/s_csinhl.c (__csinhl): Likewise.
1180 * math/s_csinl.c (__csinl): Likewise.
1181 * math/s_csqrt.c (__csqrt): Likewise.
1182 * math/s_csqrtf.c (__csqrtf): Likewise.
1183 * math/s_csqrtl.c (__csqrtl): Likewise.
1184 * math/s_ctan.c (__ctan): Likewise.
1185 * math/s_ctanf.c (__ctanf): Likewise.
1186 * math/s_ctanh.c (__ctanh): Likewise.
1187 * math/s_ctanhf.c (__ctanhf): Likewise.
1188 * math/s_ctanhl.c (__ctanhl): Likewise.
1189 * math/s_ctanl.c (__ctanl): Likewise.
1190 * math/w_pow.c: Likewise.
1191 * math/w_powf.c: Likewise.
1192 * math/w_powl.c: Likewise.
1193 * math/w_scalb.c (sysv_scalb): Likewise.
1194 * math/w_scalbf.c (sysv_scalbf): Likewise.
1195 * math/w_scalbl.c (sysv_scalbl): Likewise.
1196 * misc/error.c (error_tail): Likewise.
1197 * misc/pselect.c (__pselect): Likewise.
1198 * nis/nis_callback.c (__nis_create_callback): Likewise.
1199 * nis/nis_call.c (__nisfind_server): Likewise.
1200 * nis/nis_creategroup.c (nis_creategroup): Likewise.
1201 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
1202 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1203 * nis/nis_getservlist.c (nis_getservlist): Likewise.
1204 * nis/nis_lookup.c (nis_lookup): Likewise.
1205 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
1206 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
1207 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
1208 * nis/nis_xdr.c (xdr_endpoint): Likewise.
1209 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
1210 internal_getgrgid_r): Likewise.
1211 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
1212 Likewise.
1213 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
1214 internal_getpwuid_r): Likewise.
1215 * nis/nss_compat/compat-spwd.c (getspent_next_file,
1216 internal_getspnam_r): Likewise.
1217 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
1218 _nss_nis_getaliasbyname_r): Likewise.
1219 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
1220 _nss_nis_getntohost_r): Likewise.
1221 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
1222 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
1223 Likewise.
1224 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
1225 internal_nis_gethostent_r, internal_gethostbyname2_r,
1226 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
1227 _nss_nis_gethostbyname4_r): Likewise.
1228 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
1229 initgroups_netid): Likewise.
1230 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
1231 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
1232 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
1233 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
1234 _nss_nis_getprotobynumber_r): Likewise.
1235 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
1236 _nss_nis_getsecretkey): Likewise.
1237 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
1238 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
1239 Likewise.
1240 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
1241 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
1242 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
1243 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
1244 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
1245 _nss_nis_getspnam_r): Likewise.
1246 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
1247 Likewise.
1248 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
1249 _nss_nisplus_getntohost_r): Likewise.
1250 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
1251 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
1252 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
1253 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
1254 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
1255 Likewise.
1256 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
1257 _nss_nisplus_getnetbyaddr_r): Likewise.
1258 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
1259 _nss_nisplus_getprotobynumber_r): Likewise.
1260 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
1261 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
1262 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
1263 Likewise.
1264 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
1265 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
1266 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
1267 _nss_nisplus_getspnam_r): Likewise.
1268 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
1269 * nscd/aicache.c (addhstaiX): Likewise.
1270 * nscd/cache.c (cache_search, prune_cache): Likewise.
1271 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
1272 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
1273 * nscd/grpcache.c (addgrbyX): Likewise.
1274 * nscd/hstcache.c (addhstbyX): Likewise.
1275 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1276 * nscd/mem.c (gc, mempool_alloc): Likewise.
1277 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
1278 Likewise.
1279 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
1280 Likewise.
1281 * nscd/nscd_getai.c (__nscd_getai): Likewise.
1282 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1283 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
1284 Likewise.
1285 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
1286 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
1287 * nscd/nscd_helper.c (__readvall, open_socket,
1288 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
1289 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
1290 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
1291 * nscd/pwdcache.c (addpwbyX): Likewise.
1292 * nscd/selinux.c (preserve_capabilities): Likewise.
1293 * nscd/servicescache.c (addservbyX): Likewise.
1294 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
1295 * posix/fnmatch.c (fnmatch): Likewise.
1296 * posix/getopt.c (_getopt_internal_r): Likewise.
1297 * posix/glob.c (glob, glob_in_dir): Likewise.
1298 * posix/wordexp.c (exec_comm_child): Likewise.
1299 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
1300 gaih_getanswer_slice): Likewise.
1301 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
1302 * resolv/res_init.c: Likewise.
1303 * resolv/res_mkquery.c (res_nmkquery): Likewise.
1304 * resolv/res_query.c (__libc_res_nquery): Likewise.
1305 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
1306 Likewise.
1307 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
1308 * stdio-common/perror.c (perror): Likewise.
1309 * stdio-common/printf_fp.c (___printf_fp): Likewise.
1310 * stdio-common/tmpnam.c (tmpnam): Likewise.
1311 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1312 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
1313 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
1314 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
1315 * stdlib/putenv.c (putenv): Likewise.
1316 * stdlib/setenv.c (__add_to_environ): Likewise.
1317 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1318 * stdlib/strtol_l.c (INTERNAL): Likewise.
1319 * string/memmem.c (memmem): Likewise.
1320 * string/strerror.c (strerror): Likewise.
1321 * string/strnlen.c (__strnlen): Likewise.
1322 * string/test-memmem.c (simple_memmem): Likewise.
1323 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
1324 * sunrpc/pm_getport.c (__get_socket): Likewise.
1325 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
1326 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
1327 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
1328 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
1329 Likewise.
1330 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
1331 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1332 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
1333 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
1334 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
1335 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
1336 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
1337 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
1338 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
1339 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1340 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
1341 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
1342 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
1343 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1344 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
1345 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
1346 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
1347 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
1348 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
1349 Likewise.
1350 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
1351 Likewise.
1352 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
1353 Likewise.
1354 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
1355 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1356 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
1357 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
1358 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
1359 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
1360 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1361 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
1362 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
1363 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
1364 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
1365 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1366 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1367 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
1368 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1369 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
1370 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
1371 Likewise.
1372 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
1373 Likewise.
1374 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
1375 Likewise.
1376 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1377 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1378 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
1379 Likewise.
1380 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
1381 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
1382 * sysdeps/posix/opendir.c (__opendirat): Likewise.
1383 * sysdeps/posix/sleep.c: Likewise.
1384 * sysdeps/posix/tempname.c: Likewise.
1385 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
1386 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1387 Likewise.
1388 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
1389 elf_machine_rela): Likewise.
1390 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1391 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1392 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
1393 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
1394 Likewise.
1395 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
1396 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
1397 elf_machine_rela, elf_machine_lazy_rel): Likewise.
1398 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
1399 elf_machine_rela, elf_machine_lazy_rel): Likewise.
1400 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
1401 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
1402 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
1403 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1404 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
1405 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
1406 elf_machine_lazy_rel): Likewise.
1407 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
1408 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
1409 elf_machine_lazy_rel): Likewise.
1410 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
1411 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
1412 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
1413 * sysdeps/unix/grantpt.c (grantpt): Likewise.
1414 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
1415 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
1416 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
1417 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1418 Likewise.
1419 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
1420 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
1421 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
1422 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
1423 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1424 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1425 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
1426 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
1427 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
1428 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1429 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1430 Likewise.
1431 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
1432 (__posix_fallocate64_l64): Likewise.
1433 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
1434 (posix_fallocate): Likewise.
1435 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
1436 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1437 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
1438 getifaddrs_internal): Likewise.
1439 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
1440 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
1441 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
1442 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1443 * sysdeps/unix/sysv/linux/posix_fallocate64.c
1444 (__posix_fallocate64_l64): Likewise.
1445 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1446 Likewise.
1447 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
1448 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1449 Likewise.
1450 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
1451 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1452 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
1453 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1454 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1455 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
1456 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
1457 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
1458 Likewise.
1459 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
1460 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
1461 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
1462 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
1463 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1464 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
1465 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
1466 Likewise.
1467 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1468 (posix_fallocate): Likewise.
1469 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1470 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
1471 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
1472 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
1473 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
1474 Likewise.
1475 * time/asctime.c (asctime_internal): Likewise.
1476 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
1477 * time/tzset.c (__tzset_parse_tz): Likewise.
1478 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1479 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1480 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
1481 * wcsmbs/wcsmbsload.h: Likewise.
1482
f3d338c9
OB
14832014-02-10 Ondřej Bílka <neleai@seznam.cz>
1484
1485 [BZ #15894]
1486 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
1487
bdfe308a
OB
14882014-02-10 Ondřej Bílka <neleai@seznam.cz>
1489
1490 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
1491 arena_get2): Remove THREAD_STATS conditionals.
1492 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
1493 __malloc_stats, int): Likewise.
1494
d674667c
MF
14952014-02-08 Mike Frysinger <vapier@gentoo.org>
1496
1497 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
1498 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
1499
6349768c
MF
15002014-02-08 Mike Frysinger <vapier@gentoo.org>
1501
1502 * manual/setjmp.texi: Fix typos/grammar errors.
1503
0b7c7473
MF
15042014-02-08 Mike Frysinger <vapier@gentoo.org>
1505
1506 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
1507 Only return early when n is <= 0. Delete unused return statement.
1508
ac8cc9e3
MF
15092014-02-08 Mike Frysinger <vapier@gentoo.org>
1510
1511 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
1512 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
1513 * debug/tst-longjmp_chk3.c: New file.
1514
c5bb8e23
MF
15152014-02-08 Mike Frysinger <vapier@gentoo.org>
1516
1517 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
1518 (test_main): Replace code with set_fortify_handler call.
1519 * debug/test-strcpy_chk.c: Likewise.
1520 * debug/tst-chk1.c: Likewise.
1521 * debug/tst-longjmp_chk.c: Likewise.
1522 * test-skeleton.c: Include fcntl.h & paths.h
1523 (set_fortify_handler): Define.
1524
10444e42
MF
15252014-02-08 Mike Frysinger <vapier@gentoo.org>
1526
1527 * debug/tst-longjmp_chk.c: Add header comment and include
1528 ../test-skeleton.c.
1529 (do_test): Mark static.
1530 (TEST_FUNCTION): Define.
1531
1e805e8d
MF
15322014-02-08 Mike Frysinger <vapier@gentoo.org>
1533
1534 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
1535 (IP_PMTUDISC_INTERFACE): Likewise.
1536 (IP_MULTICAST_IF): Likewise.
1537 (IP_MULTICAST_TTL): Likewise.
1538 (IP_MULTICAST_LOOP): Likewise.
1539 (IP_ADD_MEMBERSHIP): Likewise.
1540 (IP_DROP_MEMBERSHIP): Likewise.
1541 (IP_UNBLOCK_SOURCE): Likewise.
1542 (IP_BLOCK_SOURCE): Likewise.
1543 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
1544 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
1545 (IP_MSFILTER): Likewise.
1546 (MCAST_JOIN_GROUP): Likewise.
1547 (MCAST_BLOCK_SOURCE): Likewise.
1548 (MCAST_UNBLOCK_SOURCE): Likewise.
1549 (MCAST_LEAVE_GROUP): Likewise.
1550 (MCAST_JOIN_SOURCE_GROUP): Likewise.
1551 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1552 (MCAST_MSFILTER): Likewise.
1553 (IP_MULTICAST_ALL): Likewise.
1554 (IP_UNICAST_IF): Likewise.
1555
73f79bb7
MF
15562014-02-08 Mike Frysinger <vapier@gentoo.org>
1557
1558 * timezone/Makefile: Delete $(have-ksh) check.
1559 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
1560 * timezone/tzselect.ksh: Add +x mode bits.
1561
8da79b60
MF
15622014-02-08 Mike Frysinger <vapier@gentoo.org>
1563
1564 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
1565 (ANON_INODE_FS_MAGIC): Likewise.
1566 (BDEVFS_MAGIC): Likewise.
1567 (BINFMTFS_MAGIC): Likewise.
1568 (BTRFS_TEST_MAGIC): Likewise.
1569 (CRAMFS_MAGIC_WEND): Likewise.
1570 (DEBUGFS_MAGIC): Likewise.
1571 (ECRYPTFS_SUPER_MAGIC): Likewise.
1572 (EXT3_SUPER_MAGIC): Likewise.
1573 (EXT4_SUPER_MAGIC): Likewise.
1574 (FUTEXFS_SUPER_MAGIC): Likewise.
1575 (HOSTFS_SUPER_MAGIC): Likewise.
1576 (HUGETLBFS_MAGIC): Likewise.
1577 (MINIX3_SUPER_MAGIC): Likewise.
1578 (MTD_INODE_FS_MAGIC): Likewise.
1579 (NILFS_SUPER_MAGIC): Likewise.
1580 (OPENPROM_SUPER_MAGIC): Likewise.
1581 (PIPEFS_MAGIC): Likewise.
1582 (PSTOREFS_MAGIC): Likewise.
1583 (QNX6_SUPER_MAGIC): Likewise.
1584 (RAMFS_MAGIC): Likewise.
1585 (REISERFS_SUPER_MAGIC_STRING): Likewise.
1586 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
1587 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
1588 (SECURITYFS_MAGIC): Likewise.
1589 (SELINUX_MAGIC): Likewise.
1590 (SMACK_MAGIC): Likewise.
1591 (SOCKFS_MAGIC): Likewise.
1592 (SQUASHFS_MAGIC): Likewise.
1593 (STACK_END_MAGIC): Likewise.
1594 (TMPFS_MAGIC): Likewise.
1595 (USBDEVICE_SUPER_MAGIC): Likewise.
1596 (V9FS_MAGIC): Likewise.
1597 (XENFS_SUPER_MAGIC): Likewise.
1598 (CRAMFS_MAGIC): Fix typo in comment.
1599 (EXT2_SUPER_MAGIC): Update comment.
1600 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
1601
464263cc
JM
16022014-02-08 Joseph Myers <joseph@codesourcery.com>
1603
c6bfe5c4
JM
1604 * sysdeps/arm: Move directory from ports/sysdeps/arm.
1605 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
1606 * sysdeps/unix/sysv/linux/arm: Move directory from
1607 ports/sysdeps/unix/sysv/linux/arm.
1608 * README: Update listing for arm-*-linux-gnueabi.
1609
464263cc
JM
1610 * README: Remove mention of am33.
1611
32749f6c
RM
16122014-02-07 Roland McGrath <roland@hack.frob.com>
1613
1614 * bits/sigset.h (__sigemptyset): Use a statement expression rather
1615 than the comma operator, to avoid "rhs of comma has no effect"
1616 compiler warnings.
1617 (__sigfillset, __sigandset, __sigorset): Likewise.
1618 * include/signal.h (__sigemptyset): Likewise.
1619 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
1620
d5b396c1
AM
16212014-02-07 Allan McRae <allan@archlinux.org>
1622
1623 * version.h (RELEASE): Set to "development".
1624 (VERSION): Set to "2.19.90"
1625 * NEWS: Add 2.20 section.
1626
3bfff2ed
CD
16272014-02-06 Carlos O'Donell <carlos@redhat.com>
1628
1629 [BZ #16529]
1630 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
1631
ee7cc385
SP
16322014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1633
1634 * manual/contrib.texi: Update entry for Carlos O'Donell,
1635 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
1636
f877c4f2
CD
16372014-02-05 Carlos O'Donell <carlos@rehdat.com>
1638
27e839f6
CD
1639 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
1640
f877c4f2
CD
1641 * sysdeps/unix/sysv/linux/kernel-features.h
1642 [__LINUX_KERNEL_VERSION >= 0x020621]
1643 (__ASSUME_PROC_PID_TASK_COMM): Define.
1644
68159946
SP
16452014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1646
1647 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
1648 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
1649 Leonard and Allan McRae.
1650
2b528732
DM
16512014-02-04 David S. Miller <davem@davemloft.net>
1652
1653 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
1654 32-bit.
1655
0ff82463
AZ
16562014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1657
c01603f7
AZ
1658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
1659 file
1660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1661 New file
1662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
1663 file.
1664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
1665 file.
1666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1667 New file.
1668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
1669 file.
1670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
1671 file.
1672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1673 New file.
1674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1675 New file.
1676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1677 New file.
1678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1679 New file.
1680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1681 New file.
1682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1683 New file.
1684
16852014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1686
0ff82463
AZ
1687 * nptl/shlib-versions: Change powerpc*le start to 2.17.
1688 * shlib-versions: Likewise.
1689
1695c773
AZ
16902014-02-04 Roland McGrath <roland@hack.frob.com>
1691 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1692
1693 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
1694 (abilist-pattern): New variable, set to %-le.abilist.
1695
1696 * Makerules (abilist-pattern): New variable.
1697 (vpath): Use $(abilist-pattern) in place of %.abilist.
1698 (check-abi-% pattern rule): Likewise.
1699 (check-abi, update-abi): Likewise.
1700
6c0ce4b4
EW
17012014-02-04 Eric Wong <normalperson@yhbt.net>
1702
1703 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1704
dc98b8f5
EW
17052014-02-04 Eric Wong <normalperson@yhbt.net>
1706
1707 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1708
481e3524
CD
17092014-02-03 Carlos O'Donell <carlos@redhat.com>
1710
1711 * manual/startup.texi: Add next, previous, and top entries for
1712 the `Program Arguments' and `Environment Variables' nodes.
1713
375592d3
AO
17142014-02-03 Alexandre Oliva <aoliva@redhat.com>
1715
1716 * manual/macros.texi: Add comments before MTASC-safety macros.
1717
f54838ba
AO
1718 * manual/users.texi: Document MTASC-safety properties.
1719
909e12ad
AO
1720 * manual/threads.texi (pthread_key_create, pthread_key_delete,
1721 pthread_getspecific, pthread_setspecific): Format with
1722 @deftypefun, and add @safety note.
1723 * manual/signal.texi: Move comments that analyze the above
1724 functions to their home place.
1725
fd3daba4
AM
17262014-02-03 Allan McRae <allan@archlinux.org>
1727
1728 * po/sl.po: Update Slovenian translation from translation project.
1729
597636d7
AO
17302014-02-02 Alexandre Oliva <aoliva@redhat.com>
1731
1732 * manual/time.texi (timegm): Add missing blank after @c.
1733 Reported by Joseph Myers <joseph@codesourcery.com>.
1734
ee196e3c
AO
17352014-02-01 Alexandre Oliva <aoliva@redhat.com>
1736
1737 * manual/check-safety.sh: New.
1738 * manual/Makefile ($(objpfx)stamp-summary): Run it.
1739
f8d529d5
AO
1740 * manual/terminal.texi: Document MTASC-safety properties.
1741
de55fdf4
AO
1742 * manual/filesys.texi: Document MTASC-safety properties.
1743
c3299c08
AO
1744 * manual/errno.texi: Document MTASC-safety properties.
1745
06e90b14
AO
1746 * manual/intro.texi: Document safety identifiers and
1747 conditionals.
1748
1acd4371
AO
1749 * manual/string.texi (wcstok): Fix prototype.
1750 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
1751
23e5b8cb
AO
1752 * manual/time.texi: Document MTASC-safety properties.
1753
11087373
AO
1754 * manual/string.texi: Document MTASC-safety properties.
1755
5da2c93d
AO
1756 * manual/threads.texi: Document MTASC-safety properties.
1757
171e9210
AO
1758 * manual/stdio.texi: Document MTASC-safety properties.
1759
d9e02532
AO
1760 * manual/syslog.texi: Document MTASC-safety properties.
1761
6af8bab7
AO
1762 * manual/sysinfo.texi: Document MTASC-safety properties.
1763
663b02d7
AO
1764 * manual/startup.texi: Document MTASC-safety properties.
1765
973f180b
AO
1766 * manual/socket.texi: Document MTASC-safety properties.
1767
8f3c25c8
AO
1768 * manual/signal.texi: Document MTASC-safety properties.
1769
542210fb
AO
17702014-01-31 Alexandre Oliva <aoliva@redhat.com>
1771
1772 * manual/setjmp.texi: Document MTASC-safety properties.
1773
433c45a2
AO
1774 * manual/search.texi: Document MTASC-safety properties.
1775
c8ce789c
AO
1776 * manual/resource.texi: Document MTASC-safety properties.
1777
19f5d29c
AO
1778 * manual/process.texi: Document MTASC-safety properties.
1779
e2dfb7f4
AO
1780 * manual/platform.texi: Document MTASC-safety properties.
1781
8c1413f5
AO
1782 * manual/pipe.texi: Document MTASC-safety properties.
1783
03483ada
AO
1784 * manual/pattern.texi: Document MTASC-safety properties.
1785
29e7e2df
AO
1786 * manual/message.texi: Document MTASC-safety properties.
1787
9f529d7c
AO
1788 [BZ #12751]
1789 * manual/memory.texi: Document MTASC-safety properties.
1790
27aaa791
AO
1791 * manual/math.texi: Document MTASC-safety properties.
1792
f2d58726
AO
1793 * manual/locale.texi: Document MTASC-safety properties.
1794
2cc3615c
AO
1795 * manual/llio.texi: Document MTASC-safety properties.
1796
d9f0ec97
AO
1797 * manual/libdl.texi: New.
1798
e7c4409a
AO
1799 * manual/lang.texi: Document MTASC-safety properties.
1800
27bdc63c
AO
1801 * manual/job.texi: Document MTASC-safety properties.
1802
a7b90ea9
AO
1803 * manual/getopt.texi: Document MTASC-safety properties.
1804
c49130e3
AO
1805 * manual/ctype.texi: Document MTASC-safety properties.
1806
0d23a5c1
MR
18072014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
1808
1809 [BZ #16046]
1810 * csu/libc-tls.c (static_map): Remove variable.
1811 (__libc_setup_tls): Use main executable's link map for TLS data.
1812 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
1813 casing for LM_ID_BASE and GL(dl_nns).
1814 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
1815 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
1816 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
1817 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
1818 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
1819 member.
1820 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
1821 l_phnum members.
1822
0037bb60
AO
18232014-01-30 Alexandre Oliva <aoliva@redhat.com>
1824
1825 * manual/debug.texi: Document MTASC-safety properties.
1826
409e00bd
L
18272014-01-29 H.J. Lu <hongjiu.lu@intel.com>
1828
1829 [BZ #16510]
1830 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
1831 of __x86_64__ when disabling x87 inline functions.
1832
86e60666
AO
18332014-01-29 Alexandre Oliva <aoliva@redhat.com>
1834
1835 * manual/charset.texi: Document MTASC-safety properties.
1836
76167637
AO
1837 * manual/crypt.texi: Document MTASC-safety properties.
1838
e567f2a0
AO
1839 * manual/conf.texi: Document MTASC-safety properties.
1840
b719dafd
AO
1841 * manual/arith.texi: Document MTASC-safety properties.
1842
4a16c662
AO
1843 * manual/argp.texi: Document MTASC-safety properties.
1844
0a57b83e
AO
1845 * manual/macros.texi: Introduce macros to document multi
1846 thread, asynchronous signal and asynchronous cancellation
1847 safety properties.
1848 * manual/intro.texi: Introduce the properties themselves.
1849
feab2397
KK
18502014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1851
1852 * sysdeps/sh/sh4/Makefile: New file.
1853
1c0d11bc
AS
18542014-01-27 Andreas Schwab <schwab@linux-m68k.org>
1855
1856 * math/gen-libm-test.pl ($srcdir): New variable.
1857 ($auto_input): Use it.
1858
af37a8a3
SP
18592014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1860
d7b00f98
SP
1861 [BZ #16506]
1862 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
1863 access beyond array bounds when parsing netgroups file.
1864
af37a8a3
SP
1865 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
1866 the old buffer before realloc.
1867
0c00f062
AM
18682014-01-27 Allan McRae <allan@archlinux.org>
1869
1870 * po/fr.po: Update French translation from translation project.
1871
7d69a1b0
KK
18722014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1873
1874 * sysdeps/sh/libm-test-ulps: Regenerate.
1875
6e697ff7
DM
18762014-01-24 David S. Miller <davem@davemloft.net>
1877
1878 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
1879
9cadb35c
KK
18802014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1881
1882 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
1883 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
1884
5d41dadf
SP
18852013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1886
1887 [BZ #16474]
1888 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
1889 string pointers after reallocation.
1890
0bad441c
KK
18912014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1892
1893 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
1894 __SH4A__ instead of __SH_FPU_ANY__.
1895
7007c661
KK
18962014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1897
1898 * sysdeps/sh/fpu_control.h: New file.
1899 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
1900 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
1901 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
1902 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
1903 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
1904 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
1905 * sysdeps/sh/sys/ucontext.h: Remove.
1906 * sysdeps/sh/sys: Remove directory.
1907
0f0c35e4
AK
19082014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1909
1910 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
1911 s390/sys/ucontext.h.
1912 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1913 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
1914
4959e284
L
19152014-01-20 H.J. Lu <hongjiu.lu@intel.com>
1916
1917 [BZ #15605]
1918 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
1919
d98720e0
AZ
19202014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1921
1922 [BZ#16431]
1923 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1924 Adjust the vDSO correctly for internal calls.
1925 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
1926
91cbd0bc
AM
19272014-01-20 Allan McRae <allan@archlinux.org>
1928
1929 * po/ca.po: Update Catalan translation from translation project.
1930
7a02cfad
MF
19312014-01-16 Mike Frysinger <vapier@gentoo.org>
1932
1933 * sysdeps/s390/sotruss-lib.c: New file.
1934
736c304a
AZ
19352014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1936
1937 [BZ#16430]
6e077ee5 1938 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
1939 (__GI___gettimeofday): Alias for a different internal symbol to avoid
1940 local calls issues by not having a PLT stub required for IFUNC calls.
1941 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
1942
94d0cea0
JM
19432014-01-16 Joseph Myers <joseph@codesourcery.com>
1944
1945 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
1946 * math/test-fpucw-static.c: Likewise.
1947
980cb518
SP
19482013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1949
1950 [BZ #16453]
1951 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
1952
2393fc01
AZ
19532014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1954
1955 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
1956 implementation for powerpc.
1957
d359bcc2
OB
19582014-01-15 Ondřej Bílka <neleai@seznam.cz>
1959
1960 [BZ #14782]
1961 * sysdeps/posix/system.c (__libc_system): Do not enable
1962 asynchronous cancellation.
1963
7beb48cb
AK
19642014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1965
1966 [BZ #16427]
1967 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
1968 handling only for numbers special also in the IEEE case.
1969
c20d5bf5
AK
19702014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1971
1972 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1973
e83bd4ee
AM
19742014-01-11 Allan McRae <allan@archlinux.org>
1975
76d0ea69
AM
1976 * po/bg.po: Update Bulgarian translation from translation project.
1977
e83bd4ee
AM
1978 * po/de.po: Update German translation from translation project.
1979
bc2ba20a
RM
19802014-01-10 Roland McGrath <roland@hack.frob.com>
1981
1982 * sysdeps/generic/gcc-compat.h: New file.
1983
649ecea2
SP
19842014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1985
1986 * benchtests/asin-inputs: Correct slow inputs.
1987 * benchtests/acos-inputs: Likewise.
1988
1b19c006
AM
19892014-01-10 Allan McRae <allan@archlinux.org>
1990
a46dab08
AM
1991 * po:sv.po: Update Swedish translation from translation project.
1992
421df74a
AM
1993 * po/vi.po: Update Vietnamese translation from translation project.
1994
d61c51a7
AM
1995 * po/eo.po: Update Esperanto translation from translation project.
1996
0339a319
AM
1997 * po/cs.po: Update Czech translation from translation project.
1998
94ad3e99
AM
1999 * po/nl.po: Update Dutch translation from translation project.
2000
e349ca71
AM
2001 * po/pl.po: Update Polish translation from translation project.
2002
ddf930c1
AM
2003 * po/ru.po: Update Russian translation from translation project.
2004
1b19c006
AM
2005 * po/uk.po: Update Ukrainian translation from translation project.
2006
9f236c49
BM
20072014-01-08 Brooks Moses <bmoses@google.com>
2008
2009 * elf/dl-load.c: Fix comment typo.
2010
cd6701cf
CD
20112014-01-08 Carlos O'Donell <carlos@redhat.com>
2012
2013 * po/header.pot: Rename to...
2014 * po/pot.header: ... this.
2015 * po/Makefile: Use pot.header.
2016
66671c84
YK
20172014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
2018 Maxim Kuvyrkov <maxim@kugelworks.com>
2019
2020 [BZ #16394]
cd6701cf
CD
2021 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
2022 SRC and DEST against LEN.
66671c84 2023
38f34581
AZ
20242014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2025
2026 [BZ #16414]
2027 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
2028 implementation.
2029 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
2030
20312014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
2032
2033 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2034
4c327f2a
JM
20352014-01-08 Joseph Myers <joseph@codesourcery.com>
2036
2037 [BZ #16408]
2038 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
2039 for large positive arguments.
2040
b821f414
JM
20412014-01-07 Joseph Myers <joseph@codesourcery.com>
2042
1f0f2067
JM
2043 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2044
a5a326f6
JM
2045 * math/auto-libm-test-in: Mark various tests with
2046 xfail-rounding:ldbl-128ibm.
2047 * math/auto-libm-test-out: Regenerated.
2048
b821f414
JM
2049 [BZ #16407]
2050 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2051 Increase overflow threshold.
2052
94c8a4bc
OB
20532014-01-07 Ondřej Bílka <neleai@seznam.cz>
2054
2055 [BZ #14286]
2056 * stdio-common/vfprintf.c: Check for integer overflow.
2057
87ded0c3
AK
20582014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2059
2060 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
2061 the first argument and return value of __tls_get_addr_internal.
2062
c5eebdd0
AK
20632014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2064
2065 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
2066 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
2067
05d138ef
AK
20682014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2069
2070 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
2071 * sysdeps/s390/rtld-global-offsets.sym: New file.
2072 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
2073 GLIBC_2.19 symbol.
2074 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
2075 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
2076 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2077 ... this.
2078 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
2079 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2080 ... this.
2081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2082 Regenerate.
2083 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2084 Regenerate.
2085 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
2086 halfs of GPRs for high_gprs contexts.
2087 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
2088 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
2089 field.
2090 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
2091 uc_flags field.
2092 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
2093 64 bit versions:
2094 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
2095 for high GPRs (uc_high_gprs) and for future extensions
2096 (__reserved).
2097 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
2098 for future extensions (__reserved).
2099 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
2100 64 bit versions:
2101 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
2102 SC_HIGHGPRS offset definition.
2103 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
2104 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
2105
93a45ff1
AK
21062014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2107
2108 * Versions.def: Add GLIBC_2.19 for libpthread.
2109 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
2110 siglongjmp for libpthread with GLIBC_2.19 symver.
2111 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
2112 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
2113 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
2114 * sysdeps/s390/__longjmp.c: New file.
2115 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
2116 * sysdeps/s390/longjmp.c: New file.
2117 * sysdeps/s390/setjmp.S: New file.
2118 * sysdeps/s390/sigjmp.S: New file.
2119 * sysdeps/s390/v1-longjmp.c: New file.
2120 * sysdeps/s390/v1-setjmp.h: New file.
2121 * sysdeps/s390/v1-sigjmp.c: New file.
2122 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
2123 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
2124 GLIBC_2.19 version.
2125 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
2126 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
2127 versioned symbols for ____longjmp_chk.
2128 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
2129 Likewise.
2130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2131 Regenerate.
2132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2133 Regenerate.
2134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2135 Regenerate.
2136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2137 Regenerate.
2138 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
2139 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
2140 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
2141 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
2142 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
2143 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
2144 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
2145 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
2146 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
2147 * sysdeps/s390/rtld-__longjmp.c: New file.
2148 * sysdeps/s390/rtld-setjmp.S: New file.
2149
eb3fc44b
JM
21502014-01-06 Joseph Myers <joseph@codesourcery.com>
2151
2152 [BZ #16400]
2153 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2154 Return -__logl (x) for small positive arguments without evaluating
2155 a polynomial.
2156
9341dde4
MF
21572014-01-06 Mike Frysinger <vapier@gentoo.org>
2158
2159 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
2160 Rename to ...
2161 (__ptrace_peeksiginfo_args): ... this.
2162 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2163 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2164 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2165
4cff0293
AM
21662014-01-06 Allan McRae <allan@archlinux.org>
2167
2168 * inet/netinet/in.h: Fix typo in comment.
2169
75595dcf
AJ
21702014-01-05 Andreas Jaeger <aj@suse.de>
2171
2172 * sysdeps/i386/fpu/libm-test-ulps: Update.
2173
79c1e109
AM
21742014-01-05 Allan McRae <allan@archlinux.org>
2175
dd804818
AM
2176 * po/libc.pot: Regenerated.
2177
79c1e109
AM
2178 * malloc/memusagestat.c: Fix gettext call formatting.
2179
0c813d1f
SK
21802014-01-04 Sami Kerola <kerolasa@iki.fi>
2181
2182 * nscd/nscd.c: Improve usage() output.
2183
20f4a8d9
MF
21842014-01-04 Mike Frysinger <vapier@gentoo.org>
2185
2186 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
2187 * sysdeps/unix/sysv/linux/configure: Regenerated.
2188 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
2189 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
2190
22562bb2
JM
21912014-01-03 Joseph Myers <joseph@codesourcery.com>
2192
2193 [BZ #16390]
2194 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2195 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
2196
d7ad2d9b
AZ
21972014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2198
2199 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
2200 extra tokens at end of #undef directive.
2201 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
2202 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
2203 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2204
7dd009d8
JM
22052014-01-03 Joseph Myers <joseph@codesourcery.com>
2206
24db925a
JM
2207 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2208
7dd009d8
JM
2209 * math/auto-libm-test-in: Mark various tests with
2210 xfail-rounding:ldbl-128ibm.
2211 * math/auto-libm-test-out: Regenerated.
2212
396e3ecf
JM
22132014-01-02 Joseph Myers <joseph@codesourcery.com>
2214
819e5d50
JM
2215 [BZ #16386]
2216 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
2217 numbers with subnormal high part when calculating exponent.
2218
90b6a1e5
JM
2219 [BZ #16385]
2220 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
2221 fabs.
2222
396e3ecf
JM
2223 [BZ #16384]
2224 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
2225 M_LN2l.
2226 (__ieee754_acoshl): Use __log1pl not __log1p.
2227
6c8dbf00
OB
22282013-01-02 Ondřej Bílka <neleai@seznam.cz>
2229
2230 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
2231 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
2232 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
2233 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
2234 Convert to GNU style.
2235 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
2236 mem2mem_check, mem2chunk_check, top_check, realloc_check,
2237 memalign_check, __malloc_set_state): Likewise.
2238 * malloc/mallocbug.c (main): Likewise.
2239 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
2240 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
2241 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
2242 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
2243 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
2244 * malloc/malloc.h: Likewise.
2245 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
2246 memalignhook, reallochook, mabort): Likewise.
2247 * malloc/mcheck.h: Likewise.
2248 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
2249 mmap64, mremap, munmap, dest): Likewise.
2250 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
2251 * malloc/morecore.c (__default_morecore): Likewise.
2252 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
2253 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
2254 _obstack_allocated_p, obstack_free, _obstack_memory_used,
2255 print_and_abort): Likewise.
2256 * malloc/obstack.h: Likewise.
2257 * malloc/set-freeres.c (__libc_freeres): Likewise.
2258 * malloc/tst-mallocstate.c (main): Likewise.
2259 * malloc/tst-mtrace.c (main): Likewise.
2260 * malloc/tst-realloc.c (do_test): Likewise.
2261
d4124212
SP
22622013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2263
9a3c6a6f
SP
2264 [BZ #16366]
2265 * nscd/netgroupcache.c (do_notfound): New function.
2266 (addgetnetgrentX): Use it.
2267
d4124212
SP
2268 [BZ # 16365]
2269 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
2270 NSS_STATUS_NOTFOUND.
2271
97b9a009
JM
22722014-01-01 Joseph Myers <joseph@codesourcery.com>
2273
2274 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2276
d4697bc9
AM
22772014-01-01 Allan McRae <allan@archlinux.org>
2278
ddb3687f
AM
2279 * scripts/update-copyrights: Update configure input file suffix.
2280
88726d48
AM
2281 * NEWS: Update copyright year.
2282 * catgets/gencat.c: Likewise.
2283 * csu/version.c: Likewise.
2284 * debug/catchsegv.sh: Likewise.
2285 * debug/pcprofiledump.c: Likewise.
2286 * debug/xtrace.sh: Likewise.
2287 * elf/ldconfig.c: Likewise.
2288 * elf/ldd.bash.in: Likewise.
2289 * elf/pldd.c: Likewise.
2290 * elf/sotruss.ksh: Likewise.
2291 * elf/sprof.c: Likewise.
2292 * iconv/iconv_prog.c: Likewise.
2293 * iconv/iconvconfig.c: Likewise.
2294 * locale/programs/locale.c: Likewise.
2295 * locale/programs/localedef.c: Likewise.
2296 * login/programs/pt_chown.c: Likewise.
2297 * malloc/memusage.sh: Likewise.
2298 * malloc/memusagestat.c: Likewise.
2299 * malloc/mtrace.pl: Likewise.
2300 * manual/libc.texinfo: Likewise.
2301 * nscd/nscd.c: Likewise.
2302 * nss/getent.c: Likewise.
2303 * nss/makedb.c: Likewise.
2304 * posix/getconf.c: Likewise.
2305 * scripts/test-installation.pl: Likewise.
2306
d4697bc9
AM
2307 * All files with FSF copyright notices: Update copyright dates
2308 using scripts/update-copyrights.
2309 * intl/plural.c: Regenerated.
2310 * locale/programs/charmap-kw.h: Likewise.
2311 * locale/programs/locfile-kw.h: Likewise.
2312
c8590f9d
MF
23132013-12-31 Mike Frysinger <vapier@gentoo.org>
2314
2315 * sysdeps/unix/sysv/linux/configure: Regenerated.
2316 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
2317 the linux/fanotify.h header.
2318 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
2319 HAVE_LINUX_FANOTIFY_H is defined.
2320
b19221b9
SP
23212013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2322
dd1d85e5
SP
2323 * benchtests/cos-inputs: New inputs.
2324 * benchtests/sin-inputs: Likewise.
2325
1acbb90f
SP
2326 * benchtests/atan-inputs: New inputs. Fix name of multiple
2327 precision fallback inputs.
2328
4c012ed3
SP
2329 * benchtests/atanh-inputs: New inputs.
2330 * benchtests/tanh-inputs: Likewise.
2331
eff98324
SP
2332 * benchtests/acosh-inputs: New inputs.
2333 * benchtests/asinh-inputs: Likewise.
2334
ce641152
SP
2335 * benchtests/cosh-inputs: New inputs.
2336 * benchtests/sinh-inputs: Likewise.
2337
b19221b9
SP
2338 * benchtests/acos-inputs: Add more inputs.
2339 * benchtests/asin-inputs: Likewise.
2340
030a4976 23412013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 2342
030a4976 2343 [BZ #16375]
9dcc8f11
VS
2344 * manual/arith.texi: Fix spelling.
2345 * manual/charset.texi: Likewise.
2346 * manual/errno.texi: Likewise.
2347 * manual/filesys.texi: Likewise.
2348 * manual/lang.texi: Likewise.
2349 * manual/llio.texi: Likewise.
2350 * manual/locale.texi: Likewise.
2351 * manual/message.texi: Likewise.
2352 * manual/resource.texi: Likewise.
2353 * manual/search.texi: Likewise.
2354 * manual/setjmp.texi: Likewise.
2355 * manual/stdio.texi: Likewise.
2356 * manual/string.texi: Likewise.
2357 * manual/sysinfo.texi: Likewise.
2358 * manual/time.texi: Likewise.
2359
11520a57
CD
23602013-12-27 Carlos O'Donell <carlos@redhat.com>
2361
2362 * po/sl.po: New file.
2363
471103ae
MF
23642013-12-27 Mike Frysinger <vapier@gentoo.org>
2365
2366 * .gitignore: Add core/.gdbinit/.gdb_history.
2367
6c9642ed
AM
23682013-12-27 Allan McRae <allan@archlinux.org>
2369
2370 [BZ #16369]
2371 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
2372 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
2373
3f637079
BM
23742013-12-24 Brooks Moses <bmoses@google.com>
2375
2376 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
2377 all compilers that claim C++98 compliance, not just GCC.
2378 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
2379 Likewise.
2380
abc26e99
MK
23812013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
2382
2383 * NEWS: Restore accidentally deleted bug-fix entries.
2384
362b47fe
MK
23852013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
2386 Ondřej Bílka <neleai@seznam.cz>
2387
2388 [BZ #15073]
2389 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 2390 have_lock.
362b47fe 2391
b9bcbbcb
OB
23922013-12-23 Ondřej Bílka <neleai@seznam.cz>
2393
2394 [BZ #12986]
2395 * manual/stdio.texi (String Input Conversions): Clarify that character
2396 classes are not supported.
2397
fb55fcd2
AZ
23982013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2399
2400 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2401
ef7344f0
JM
24022013-12-22 Joseph Myers <joseph@codesourcery.com>
2403
4f40e4b3
JM
2404 [BZ #16337]
2405 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2406 Calculate results for small negative arguments directly rather
2407 than using reflection formula with special underflow handling.
2408
ef7344f0
JM
2409 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
2410 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
2411 sysdeps/unix/bsd/bsd4.4/syscalls.list.
2412 (fchflags): Likewise.
2413 (revoke): Likewise.
2414 (setlogin): Likewise.
2415 (sigaltstack): Likewise.
2416 (wait4): Likewise.
2417 (sigblock): Remove.
2418 (sigsetmask): Likewise.
2419 (wait3): Likewise.
2420 (waitpid): Likewise.
2421 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
2422 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
2423 file.
2424 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
2425 * sysdeps/unix/bsd/Makefile: ... here.
2426 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
2427 * sysdeps/unix/bsd/Versions: ... here.
2428 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
2429 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
2430 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
2431 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
2432 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
2433 * sysdeps/unix/bsd/sigblock.c: ... here.
2434 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
2435 * sysdeps/unix/bsd/sigsetmask.c: ... here.
2436 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
2437 * sysdeps/unix/bsd/sigvec.c: ... here.
2438 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
2439 * sysdeps/unix/bsd/tcdrain.c: ... here.
2440 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
2441 * sysdeps/unix/bsd/tcgetattr.c: ... here.
2442 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
2443 * sysdeps/unix/bsd/tcsetattr.c: ... here.
2444 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
2445 * sysdeps/unix/bsd/wait.c: ... here.
2446 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
2447 * sysdeps/unix/bsd/wait3.c: ... here.
2448 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
2449 * sysdeps/unix/bsd/waitpid.c: ... here.
2450
5b0626b9
JM
24512013-12-21 Joseph Myers <joseph@codesourcery.com>
2452
2453 [BZ #16356]
2454 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
2455 round-to-nearest for [!USE_AS_EXPM1L].
2456 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
2457 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
2458 more tests of exp and exp10. Expect some exp10 tests to miss
2459 exceptions or fail in directed rounding modes.
2460 * math/auto-libm-test-out: Regenerated.
2461 * math/libm-test.inc (exp10_tonearest_test_data): New array.
2462 (exp10_test_tonearest): New function.
2463 (exp10_towardzero_test_data): New array.
2464 (exp10_test_towardzero): New function.
2465 (exp10_downward_test_data): New array.
2466 (exp10_test_downward): New function.
2467 (exp10_upward_test_data): New array.
2468 (exp10_test_upward): New function.
2469 (main): Call the new functions.
2470 * sysdeps/i386/fpu/libm-test-ulps: Update.
2471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2472
7fda5682
JM
24732013-12-20 Joseph Myers <joseph@codesourcery.com>
2474
31e3a405
JM
2475 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2476 asinh, atan, atan2, atanh, cbrt, cos and cosh.
2477 * math/auto-libm-test-out: Regenerated.
2478 * math/libm-test.inc (acosh_test_data): Add more tests.
2479 (atanh_test_data): Likewise.
2480 (ceil_test_data): Likewise.
2481 (copysign_test_data): Likewise.
2482 * sysdeps/i386/fpu/libm-test-ulps: Update.
2483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2484
85bff96a
JM
2485 * timezone/checktab.awk: Update from tzcode 2013i.
2486 * timezone/private.h: Likewise.
2487 * timezone/scheck.c: Likewise.
2488 * timezone/tzfile.h: Likewise.
2489 * timezone/tzselect.ksh: Likewise.
2490 * timezone/zdump.c: Likewise.
2491 * timezone/zic.c: Likewise.
2492
b7867a3b
JM
2493 * math/auto-libm-test-in: Add tests of cpow.
2494 * math/auto-libm-test-out: Regenerated.
2495 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
2496 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
2497 mpc_cc_c.
2498 (func_calc_desc): Add mpc_cc_c union field.
2499 (test_functions): Add cpow.
2500 (special_fill_2pi): New function.
2501 (special_real_inputs): Add 2pi.
2502 (calc_generic_results): Handle mpc_cc_c.
2503 * sysdeps/i386/fpu/libm-test-ulps: Update.
2504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2505
7fda5682
JM
2506 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
2507 csqrt, ctan and ctanh.
2508 * math/auto-libm-test-out: Regenerated.
2509 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2510 (TEST_COND_x86): Likewise.
2511 (ccos_test_data): Use AUTO_TESTS_c_c.
2512 (ccosh_test_data): Likewise.
2513 (cexp_test_data): Likewise.
2514 (clog_test_data): Likewise.
2515 (csqrt_test_data): Likewise.
2516 (ctan_test_data): Likewise.
2517 (ctan_tonearest_test_data): Likewise.
2518 (ctan_towardzero_test_data): Likewise.
2519 (ctan_downward_test_data): Likewise.
2520 (ctan_upward_test_data): Likewise.
2521 (ctanh_test_data): Likewise.
2522 (ctanh_tonearest_test_data): Likewise.
2523 (ctanh_towardzero_test_data): Likewise.
2524 (ctanh_downward_test_data): Likewise.
2525 (ctanh_upward_test_data): Likewise.
2526 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2527 mpc_c_c.
2528 (func_calc_desc): Add mpc_c_c union field.
2529 (FUNC_mpc_c_c): New macro.
2530 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
2531 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
2532 ctanh.
2533 (special_fill_min_subnorm_p120): New function.
2534 (special_real_inputs): Add min_subnorm_p120.
2535 (calc_generic_results): Handle mpc_c_c.
2536 * sysdeps/i386/fpu/libm-test-ulps: Update.
2537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2538
5ff8d60e
SP
25392013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2540
392dd2de
SP
2541 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
2542 do_sin_slow): New functions.
2543 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
2544 cslow2, csloww1, csloww2): Use the new functions.
2545
84ba214c
SP
2546 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
2547 Use M to change sign of result instead of X. Assume X is
2548 positive.
2549 (csloww1): Likewise.
2550 (__sin): Adjust.
2551 (__cos): Adjust.
2552
975195e4
SP
2553 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
2554 arguments A and DA.
2555 (__sin): Adjust.
2556 (__cos): Likewise.
2557
5ff8d60e
SP
2558 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
2559 (__cos): Likewise.
2560 (sloww1): Don't adjust sign of DX.
2561 (csloww1): Likewise.
2562 (sloww2): Use X directly and don't adjust sign of DX.
2563 (csloww2): Likewise.
2564
eb983568
JM
25652013-12-19 Joseph Myers <joseph@codesourcery.com>
2566
64a17f1a
JM
2567 * math/auto-libm-test-in: Add tests of cabs and carg.
2568 * math/auto-libm-test-out: Regenerated.
2569 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
2570 (carg_test_data): Likewise.
2571 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2572 mpc_c_f.
2573 (func_calc_desc): Add mpc_c_f union field.
2574 (test_functions): Add cabs and carg.
2575 (calc_generic_results): Handle mpc_c_f.
2576
eb983568
JM
2577 * sysdeps/powerpc/powerpc32/libgcc-compat.S
2578 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
2579 as a macro and a compat symbol.
2580 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2581 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2582 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2583 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2584 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
2585 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
2586 not use .hidden.
2587 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
2588 Likewise.
2589 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
2590 Likewise.
2591 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
2592 Likewise.
2593 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
2594 Likewise.
2595 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
2596 Likewise.
2597 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
2598 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
2599 from GLIBC_2.3.2.
2600
6eeb678a
AZ
26012013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2602
2603 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2604
6f6fc482
JM
26052013-12-19 Joseph Myers <joseph@codesourcery.com>
2606
21fea2e2
JM
2607 * manual/texinfo.tex: Update to version 2013-11-26.10 with
2608 trailing whitespace removed.
2609 * scripts/config.guess: Update to version 2013-11-29.
2610 * scripts/config.sub: Update to version 2013-10-01.
2611
6f6fc482
JM
2612 * math/auto-libm-test-in: Add tests of sincos.
2613 * math/auto-libm-test-out: Regenerated.
2614 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
2615 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2616 mpfr_f_11.
2617 (func_calc_desc): Add mpfr_f_11 union field.
2618 (test_functions): Add sincos.
2619 (calc_generic_results): Handle mpfr_f_11.
2620 * sysdeps/i386/fpu/libm-test-ulps: Update.
2621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2622
83f5c32d
AS
26232013-12-19 Andreas Schwab <schwab@suse.de>
2624
2625 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
2626 CALL_MCOUNT.
2627 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2628 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
2629 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
2630
c688b419
JM
26312013-12-19 Joseph Myers <joseph@codesourcery.com>
2632
335ee092
JM
2633 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
2634 * sysdeps/i386/fpu/libm-test-ulps: Update.
2635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2636
f88acd39
JM
2637 [BZ #16293]
2638 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
2639 round-to-nearest mode when using frndint.
2640 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
2641 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2642 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2643 Likewise.
2644 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
2645 sinh test to fail.
2646 * math/auto-libm-test-out: Regenerated.
2647 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
2648 (TEST_COND_x86): Likewise.
2649 (expm1_tonearest_test_data): New array.
2650 (expm1_test_tonearest): New function.
2651 (expm1_towardzero_test_data): New array.
2652 (expm1_test_towardzero): New function.
2653 (expm1_downward_test_data): New array.
2654 (expm1_test_downward): New function.
2655 (expm1_upward_test_data): New array.
2656 (expm1_test_upward): New function.
2657 (main): Run the new test functions.
2658 * sysdeps/i386/fpu/libm-test-ulps: Update.
2659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2660
c688b419
JM
2661 * include/features.h: Update comment documenting feature test
2662 macros. Mention _DEFAULT_SOURCE in comment.
2663 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
2664 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
2665 _BSD_SOURCE and _SVID_SOURCE.
2666 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
2667 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
2668 !_SVID_SOURCE]: Likewise.
2669 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2670 (__USE_POSIX_IMPLICITLY): Define.
2671 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2672 (_POSIX_SOURCE): Undefine and redefine.
2673 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2674 (_POSIX_C_SOURCE): Likewise.
2675 * manual/creature.texi (_DEFAULT_SOURCE): Document.
2676 (Feature Test Macros): Update documentation of default features.
2677
9f6e964c
RS
26782013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2679
2680 * benchtests/Makefile: Add bench-strtok.
2681 * benchtests/bench-strtok.c: New file: strtok benchtest.
2682
ee0a148a
AM
26832013-12-19 Allan McRae <allan@archlinux.org>
2684
2685 * manual/install.texi: Suppress menu for plain text output.
2686 * INSTALL: Regenerated.
2687
b9ab448f
BM
26882013-12-18 Brooks Moses <bmoses@google.com>
2689
2690 [BZ #15846]
2691 * misc/getauxval.c: Include errno.h.
2692 (__getauxval): Set errno to ENOENT if the requested type is not
2693 found.
2694 * misc/sys/auxv.h (getauxval): Document that it may set errno;
2695 don't declare with __attribute_const__.
2696 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
2697 * manual/startup.texi: Document that getauxval sets errno.
2698
23776487
JM
26992013-12-18 Joseph Myers <joseph@codesourcery.com>
2700
f889953b
JM
2701 * math/auto-libm-test-in: Add tests of jn and yn.
2702 * math/auto-libm-test-out: Regenerated.
2703 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
2704 (yn_test_data): Likewise.
2705 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2706 mpfr_if_f.
2707 (func_calc_desc): Add mpfr_if_f union field.
2708 (FUNC_mpfr_if_f): New macro.
2709 (test_functions): Add jn and yn.
2710 (calc_generic_results): Assert type of second input for
2711 mpfr_ff_f. Handle mpfr_if_f.
2712 (output_for_one_input_case): Disable all checking for arguments
2713 fitting floating-point types in case of an integer argument.
2714 * sysdeps/i386/fpu/libm-test-ulps: Update.
2715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2716
23776487
JM
2717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2718 Don't expect fegetround reference in libm.so.
2719
cb756c6d
MS
27202013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2721
2722 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
2723 $(config-cflags-nofma).
2724
2dec468f
JM
27252013-12-18 Joseph Myers <joseph@codesourcery.com>
2726
5953eb3a
JM
2727 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
2728 * math/auto-libm-test-out: Regenerated.
2729
2dec468f
JM
2730 [BZ #16338]
2731 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
2732 to determine exponent and adjust argument to have exponent of -1.
2733 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
2734 log2.
2735 * math/auto-libm-test-out: Regenerated.
2736 * sysdeps/i386/fpu/libm-test-ulps: Update.
2737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2738
4d84e6ad
OB
27392013-12-18 Ondřej Bílka <neleai@seznam.cz>
2740
2741 * manual/probes.texi: Remove cases when per-thread arenas are
2742 disabled.
2743
1818483b
AS
27442013-12-18 Andreas Schwab <schwab@suse.de>
2745
2746 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
2747 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
2748 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
2749 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
2750 * sysdeps/i386/i686/multiarch/Makefile: Update.
2751 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
2752
25de95bf
JM
27532013-12-17 Joseph Myers <joseph@codesourcery.com>
2754
2755 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
2756 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
2757
674762d9
PE
27582013-12-17 Paul Eggert <eggert@cs.ucla.edu>
2759
ed27ed83 2760 [BZ #15968]
0748546f
PE
2761 Support TZ transition times < 00:00:00.
2762 This is needed for version-3 tz-format files; it supports time
2763 stamps past 2037 for America/Godthab (the only entry in the tz
2764 database for which this change is relevant).
2765 * manual/time.texi (TZ Variable): Document transition times
2766 from -167:59:59 through -00:00:01.
2767 * time/tzset.c (tz_rule): Time of day is now signed.
2768 (__tzset_parse_tz): Parse negative time of day.
2769
4480e934
PE
2770 Document TZ transition times >= 25:00:00.
2771 * manual/time.texi (TZ Variable): Document transition times from
2772 25:00:00 through 167:59:59. These are already supported, and this
2773 support will help with version-3 tz-format files.
2774
69947401
PE
2775 * manual/time.texi (TZ Variable): Modernize North America example
2776 to reflect current (i.e., 2007-and-later) daylight saving rules.
2777
674762d9
PE
2778 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
2779
7011c262
JM
27802013-12-17 Joseph Myers <joseph@codesourcery.com>
2781
2fc6557e
JM
2782 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
2783 * sysdeps/unix/bsd/bits/stat.h: Likewise.
2784 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
2785 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2786 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
2787 * sysdeps/unix/bsd/bsdstat.h: Likewise.
2788 * sysdeps/unix/bsd/clock.c: Likewise.
2789 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
2790 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
2791 * sysdeps/unix/bsd/init-posix.c: Likewise.
2792 * sysdeps/unix/bsd/poll.c: Likewise.
2793 * sysdeps/unix/bsd/ptsname.c: Likewise.
2794 * sysdeps/unix/bsd/seekdir.c: Likewise.
2795 * sysdeps/unix/bsd/setegid.c: Likewise.
2796 * sysdeps/unix/bsd/seteuid.c: Likewise.
2797 * sysdeps/unix/bsd/setgid.c: Likewise.
2798 * sysdeps/unix/bsd/setrgid.c: Likewise.
2799 * sysdeps/unix/bsd/setruid.c: Likewise.
2800 * sysdeps/unix/bsd/setsid.c: Likewise.
2801 * sysdeps/unix/bsd/setuid.c: Likewise.
2802 * sysdeps/unix/bsd/sigaction.c: Likewise.
2803 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
2804 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
2805 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
2806 * sysdeps/unix/bsd/telldir.c: Likewise.
2807 * sysdeps/unix/bsd/times.c: Likewise.
2808 * sysdeps/unix/bsd/usleep.c: Likewise.
2809
029c7b25
JM
2810 * misc/Makefile (install-lib): Remove libbsd-compat.a.
2811 ($(objpfx)libbsd-compat.a): Remove rule.
2812
7011c262
JM
2813 * include/features.h (__FAVOR_BSD): Do not define.
2814 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
2815 features conflicting with POSIX.
2816 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
2817 (_BSD_SOURCE): Remove description of not being a subset of other
2818 feature test macros.
2819 * manual/job.texi (getpgrp): Do not document BSD version.
2820 (getpgid): Do not document by reference to BSD getpgrp.
2821 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
2822 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
2823 * signal/signal.h [__FAVOR_BSD]: Likewise.
2824 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
2825 instead of making contents conditional on [__FAVOR_BSD].
2826 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
2827
affb6f78
AZ
28282013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2829
2830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2831
c88769dd
JM
28322013-12-17 Joseph Myers <joseph@codesourcery.com>
2833
6432a540
JM
2834 [BZ #16314]
2835 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
2836 values below 2**-450, not 2**-500.
2837 * math/auto-libm-test-in: Don't allow spurious underflow from
2838 hypot.
2839 * math/auto-libm-test-out: Regenerated.
2840
c88769dd
JM
2841 [BZ #16316]
2842 [BZ #16330]
2843 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
2844 values of ha and hb and sort them after adjusting subnormal
2845 arguments.
2846 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2847 Likewise.
2848 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
2849 values of ea and eb and sort them after adjusting subnormal
2850 arguments.
2851 * math/auto-libm-test-in: Do not expect some hypot tests of
2852 subnormals to fail. Add more hypot tests.
2853 * math/auto-libm-test-out: Regenerated.
2854
29618f6b
KK
28552013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2856
2857 [BZ #13304]
2858 * sysdeps/sh/s_fma.c: New file.
2859 * sysdeps/sh/s_fmaf.c: New file.
2860 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
2861 version.
2862 * sysdeps/sh/Implies: Add sh/soft-fp.
2863
eacfdfbf
RM
28642013-12-16 Roland McGrath <roland@hack.frob.com>
2865
2866 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
2867 level of indirection to members `objname', `errstring', `malloced'.
2868 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
2869 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
2870 it as the __longjmp argument (just pass 1 instead).
2871 (_dl_catch_error): Initialize C with argument pointers and address of
2872 volatile local ERRCODE rather than copying values out of C at return.
2873
ff362e5b
JM
28742013-12-16 Joseph Myers <joseph@codesourcery.com>
2875
2876 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
2877 * math/auto-libm-test-out: Regenerated.
2878 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
2879 (hypot_test_data): Likewise.
2880 (pow_test_data): Likewise.
2881 (pow_tonearest_test_data): Likewise.
2882 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2883 mpfr_ff_f.
2884 (func_calc_desc): Add mpfr_ff_f union field.
2885 (FUNC_mpfr_ff_f): New macro.
2886 (test_functions): Add atan2, hypot and pow.
2887 (special_fill_min): New function.
2888 (special_fill_minus_min): Likewise.
2889 (special_fill_min_subnorm): Likewise.
2890 (special_fill_minus_min_subnorm): Likewise.
2891 (special_real_inputs): Add min, -min, min_subnorm and
2892 -min_subnorm.
2893 (calc_generic_results): Handle mpfr_ff_f.
2894 * sysdeps/i386/fpu/libm-test-ulps: Update.
2895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2896
5764c27f
WN
28972013-12-16 Will Newton <will.newton@linaro.org>
2898
2899 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
2900 (Aligned Memory Blocks): Add documentation for aligned_alloc
2901 and suggest it as an alternative to posix_memalign.
2902 (Hooks for Malloc): Document __memalign_hook is also called
2903 for aligned_alloc. (Summary of Malloc): Add summary for
2904 aligned alloc. Document __memalign_hook is also called
2905 for aligned_alloc.
2906
0a096e44
WN
29072013-12-16 Will Newton <will.newton@linaro.org>
2908
2909 * manual/memory.texi (Malloc Examples): Clarify default
2910 alignment documentation. Suggest posix_memalign rather
2911 than memalign or valloc.
2912 (Aligned Memory Blocks): Remove suggestion to use memalign
2913 or valloc. Remove obsolete comment about BSD.
2914 Document memalign errno values and mark the function obsolete.
2915 Document posix_memalign returned error codes. Mark valloc
2916 as obsolete. (Hooks for Malloc): __memalign_hook is also
2917 called for posix_memalign and valloc.
2918 (Summary of Malloc): Add posix_memalign to function summary.
2919 __memalign_hook is also called for posix_memalign and valloc.
2920
8d561986
SP
29212013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2922
2923 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
2924 TAYLOR_SIN.
2925 (__sin): Adjust.
2926 (__cos): Likewise.
2927 (sloww): Use mynumber union. Expand ternary operator into
2928 if-else statements.
2929 (cslow): use mynumber union.
2930
73616a74
AM
29312013-12-16 Allan McRae <allan@archlinux.org>
2932
9e8ac24b
AM
2933 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
2934 * configure: Regenerated.
2935
6f8e37eb
AM
2936 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
2937
8894bad3
AM
2938 [BZ #14120]
2939 * configure.ac: Added --enable-maintainer-mode. Check for
2940 autoconf when enabled.
2941 * configure: Regenerated.
2942
73616a74
AM
2943 * nscd/nscd.service: New file.
2944 * nscd/nscd.tmpfiles: New file.
2945
584b18eb
OB
29462013-12-14 Ondřej Bílka <neleai@seznam.cz>
2947
2948 [BZ #12100]
2949 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
2950 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
2951 * sysdeps/x86_64/multiarch/strstr.c: ... here.
2952 (strstr): Add __strstr_sse2_unaligned ifunc.
2953 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
2954 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
2955 (strcasestr): Remove __strcasestr_sse42 ifunc.
2956 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
2957 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2958 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2959
8a5c7897
KK
29602013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2961
2962 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
2963 * sysdeps/sh/bits/fenv.h: ... here.
2964 * sysdeps/sh/sh4/fpu/bits: Remove directory.
2965
fd712ef3
AZ
29662013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2967
2968 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
2969
42fcb46c
AZ
29702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2971
2972 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
2973 hypotf multiarch implementations.
2974 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
2975 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
2976 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
2977 multiarch hypot for PPC64.
2978 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
2979 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
2980 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
2981 multiarch hypotf for PPC64.
2982
83efded4
AZ
29832013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2984
2985 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
2986 modff multiarch implementations.
2987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
2988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
2989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
2990 multiarch modf for PPC64.
2991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
2992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
2993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
2994 multiarch modff for PPC64.
2995
43e246d2
AZ
29962013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2997
2998 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
2999 and logl multiarch implementations.
3000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
3001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
3002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
3003 multiarch logb for PPC64.
3004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
3005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
3006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
3007 multiarch logb for PPC64.
3008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
3009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
3010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
3011 multiarch logb for PPC64.
3012
8fdad123
AZ
30132013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3014
3015 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
3016 isinff multiarch implementation.
3017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
3018 file.
3019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
3020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
3021 multiarch isinf for PPC64.
3022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
3023 file.
3024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
3025 multiarch isinff for PPC64.
3026
1481d706
AZ
30272013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3028
3029 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
3030 finitef multiarch implementation.
3031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
3032 file.
3033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
3034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
3035 multiarch finite for PPC64.
3036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
3037 file.
3038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
3039 multiarch finitef for PPC64.
3040
5ccd5fc8
AZ
30412013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3042
3043 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
3044 lrint multiarch implementation.
3045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
3046 file.
3047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
3048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
3049 multiarch llrint for PPC64.
3050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
3051 multiarch lrint for PPC64.
3052
2568f3fa
AZ
30532013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3054
3055 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
3056 copysignf multiarch implementation.
3057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
3058 file.
3059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
3060 file.
3061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
3062 multiarch copysign for PPC64.
3063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
3064 multiarch copysignf for PPC64.
3065
1cb341fd
AZ
30662013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3067
3068 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
3069 multiarch implementation.
3070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
3071 file.
3072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
3073 file.
3074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
3075 file.
3076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
3077 file.
3078 multiarch llround for PPC64.
3079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
3080 multiarch trunc for PPC64.
3081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
3082 multiarch truncf for PPC64.
3083
59a3e194
AZ
30842013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3085
3086 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
3087 multiarch implementation.
3088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
3089 file.
3090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
3091 file.
3092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
3093 file.
3094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
3095 file.
3096 multiarch llround for PPC64.
3097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
3098 multiarch round for PPC64.
3099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
3100 multiarch roundf for PPC64.
3101
357fd3b4
AZ
31022013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3103
3104 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
3105 multiarch implementation.
3106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
3107 file.
3108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
3109 file.
3110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
3111 file.
3112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
3113 file.
3114 multiarch llround for PPC64.
3115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
3116 multiarch floor for PPC64.
3117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
3118 multiarch floorf for PPC64.
3119
96770f12
AZ
31202013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3121
3122 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
3123 multiarch implementation.
3124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
3125 file.
3126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
3127 file.
3128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
3129 file.
3130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
3131 file.
3132 multiarch llround for PPC64.
3133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
3134 multiarch ceil for PPC64.
3135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
3136 multiarch ceilf for PPC64.
3137
c3627f6e
AZ
31382013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3139
3140 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3141 multiarch implementation.
3142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
3143 file.
3144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
3145 file.
3146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
3147 file.
3148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
3149 multiarch llround for PPC64.
3150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
3151 multiarch lround for PPC64.
3152
b2284ad7
AZ
31532013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3154
3155 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3156 multiarch implementation.
3157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
3158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
3159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
3160 file.
3161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
3162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
3163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
3164 multiarch isnan for PPC64.
3165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
3166 multiarch isnanf for PPC64.
3167
69bbc63d
AZ
31682013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3169
3170 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
3171 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
3172 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
3173 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
3174 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
3175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
3176
c24517c9
AZ
31772013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3178
3179 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
3180 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3181 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3182 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3183
a52374e8
AZ
31842013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3185
3186 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
3187 multiarch implementations.
3188 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3189 (__libc_ifunc_impl_list): Likewise.
3190 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
3191 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
3192 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
3193 multiarch stpcpy for PPC64.
3194
7f5ec113
AZ
31952013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3196
3197 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
3198 multiarch implementations.
3199 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3200 (__libc_ifunc_impl_list): Likewise.
3201 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
3202 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
3203 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
3204 multiarch strcpy for PPC64.
3205
e28bcd42
AZ
32062013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3207
3208 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
3209 redefine function name.
3210 (_wordcopy_fwd_dest_aligned): Likewise.
3211 (_wordcopy_bwd_aligned): Likewise.
3212 (_wordcopy_bwd_dest_aligned): Likewise.
3213 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
3214 multiarch implementations.
3215 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3216 (__libc_ifunc_impl_list): Likewise.
3217 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
3218 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
3219 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
3220 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
3221 multiarch wcscpy for PPC64.
3222
92cacfce
AZ
32232013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3224
3225 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
3226 multiarch implementations.
3227 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3228 (__libc_ifunc_impl_list): Likewise.
3229 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
3230 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
3231 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
3232 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
3233 multiarch wcscpy for PPC64.
3234
7b714620
AZ
32352013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3236
3237 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
3238 multiarch implementations.
3239 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3240 (__libc_ifunc_impl_list): Likewise.
3241 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
3242 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
3243 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
3244 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
3245 multiarch wcsrchr for PPC64.
3246
16fd2ae3
AZ
32472013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3248
3249 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
3250 multiarch implementations.
3251 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3252 (__libc_ifunc_impl_list): Likewise.
3253 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
3254 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
3255 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
3256 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
3257 multiarch wcschr for PPC64.
3258
9ee2969b
AZ
32592013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3260
3261 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
3262 multiarch implementations.
3263 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3264 (__libc_ifunc_impl_list): Likewise.
3265 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
3266 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
3267 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
3268 multiarch strchrnul for PPC64.
3269
372dc060
AZ
32702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3271
3272 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
3273 implementations.
3274 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3275 (__libc_ifunc_impl_list): Likewise.
3276 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
3277 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
3278 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
3279 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
3280 strchr for PPC64.
3281
24c2c3b9
AZ
32822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3283
3284 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
3285 implementations.
3286 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3287 (__libc_ifunc_impl_list): Likewise.
3288 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
3289 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
3290 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
3291 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
3292 strncmp for PPC64.
3293
1c92d9a0
AZ
32942013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3295
3296 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
3297 multiarch implementations.
3298 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3299 (__libc_ifunc_impl_list): Likewise.
3300 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
3301 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
3302 strncasecmp for PPC64.
3303 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
3304 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
3305 multiarch strncasecmp_l for PPC64.
3306
17de3ee3
AZ
33072013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3308
3309 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
3310 multiarch implementations.
3311 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3312 (__libc_ifunc_impl_list): Likewise.
3313 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
3314 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
3315 multiarch strcasecmp for PPC64.
3316 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
3317 file.
3318 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
3319 multiarch strcasecmp_l for PPC64.
3320
62982bf9
AZ
33212013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3322
3323 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
3324 implementations.
3325 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3326 (__libc_ifunc_impl_list): Likewise.
3327 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
3328 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
3329 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
3330 strnlen for PPC64.
3331
a65f4904
AZ
33322013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3333
3334 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
3335 implementations.
3336 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3337 (__libc_ifunc_impl_list): Likewise.
3338 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
3339 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
3340 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
3341 strlen for PPC64.
3342
1fd005ad
AZ
33432013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3344
3345 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
3346 implementations.
3347 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3348 (__libc_ifunc_impl_list): Likewise.
3349 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
3350 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
3351 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
3352 rawmemrchr for PPC64.
3353
cd05ba91
AZ
33542013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3355
3356 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
3357 implementation.
3358 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3359 (__libc_ifunc_impl_list): Likewise.
3360 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
3361 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
3362 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
3363 memrchr for PPC64.
3364
870f8676
AZ
33652013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3366
3367 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
3368 implementation.
3369 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3370 (__libc_ifunc_impl_list): Likewise.
3371 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
3372 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
3373 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
3374 memchr for PPC64.
3375
f00be62b
AZ
33762013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3377
3378 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
3379 implementation.
3380 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3381 (__libc_ifunc_impl_list): Likewise.
3382 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
3383 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
3384 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
3385 mempcpy for PPC64.
3386
8a29a3d0
AZ
33872013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3388
3389 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
3390 avoid cretion of __bzero symbol.
3391 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
3392 Likewise.
3393 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
3394 Likewise.
3395 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
3396 Likewise.
3397 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
3398 multiarch implementations.
3399 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3400 (__libc_ifunc_impl_list): Likewise.
3401 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
3402 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
3403 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
3404 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
3405 bzero for PPC32.
3406 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
3407 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
3408 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
3409 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
3410 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
3411 memset for PPC64.
3412 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
3413
07253fcf
AZ
34142013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3415
3416 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
3417 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
3418 implementations.
3419 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3420 (__libc_ifunc_impl_list): Likewise.
3421 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
3422 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
3423 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
3424 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
3425 memcmp for PPC64.
3426
b5beafbc
AZ
34272013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3428
3429 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
3430 multiarch for POWER/PPC64.
3431 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3432 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
3433 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
3434 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
3435 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
3436 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
3437 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
3438 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
3439 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
3440 memcpy for PPC64.
3441
5e6a4d4b
AZ
34422013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3443
3444 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
3445 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
3446 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
3447 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
3448 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
3449 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
3450 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
3451 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
3452 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
3453 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
3454 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
3455 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
3456 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
3457 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
3458 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
3459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
3460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
3461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
3462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
3463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
3464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
3465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
3466
ddfab6dc
KK
34672013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3468
3469 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
3470
19b5525e
SP
34712013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3472
3473 * benchtests/Makefile (bench): Add exp2 and log2.
3474 (LDLIBS-bench-exp2): Add -lm.
3475 (LDLIBS-bench-log2): Likewise.
3476 * benchtests/exp2-inputs: New inputs file.
3477 * benchtests/log2-inputs: New inputs file.
3478 * benchtests/log-inputs: Add new inputs.
3479 * benchtests/tan-inputs: Likewise.
3480
196f7f5d
SP
34812013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3482
7a74607f
SP
3483 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
3484 definition...
3485 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
3486 csloww1, csloww2): ... from here.
3487
196f7f5d
SP
3488 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
3489 instead of structures.
3490 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
3491 (POLYNOMIAL): Likewise.
3492 (TAYLOR_SLOW): Likewise.
3493 (__sin): Likewise.
3494 (__cos): Likewise.
3495 (slow1): Likewise.
3496 (slow2): Likewise.
3497 (sloww): Likewise.
3498 (sloww1); Likewise.
3499 (sloww2): Likewise.
3500 (bsloww1): Likewise.
3501 (bsloww2): Likewise.
3502 (cslow2): Likewise.
3503 (csloww): Likewise.
3504 (csloww1): Likewise.
3505 (csloww2): Likewise.
3506
0dfa665c
OB
35072013-12-10 Ondřej Bílka <neleai@seznam.cz>
3508
3509 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
3510 (__malloc_assert, __libc_realloc, __libc_calloc,
3511 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
3512 memcpy and memset.
3513 * malloc/hooks.c (realloc_check): Likewise.
3514
5782a80f
OB
35152013-12-10 Ondřej Bílka <neleai@seznam.cz>
3516
3517 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
3518 * malloc/arena.c: Remove PER_THREAD conditional.
3519 [!PER_THREAD]: Remove code.
3520 (ptmalloc_unlock_all2): Likewise.
3521 (ptmalloc_init): Likewise.
3522 (_int_new_arena): Likewise.
3523 (arena_get2): Likewise.
3524 * malloc/hooks.c (__malloc_get_state): Likewise.
3525 (__malloc_set_state): Likewise.
3526 * malloc/malloc.c: Likewise.
3527 (struct malloc_state): Likewise.
3528 (struct malloc_par): Likewise.
3529 (__libc_realloc): Likewise.
3530 (__libc_mallopt): Likewise.
3531
aeb95445
AZ
35322013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3533
3534 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
3535
e8349efd
OB
35362013-12-09 Ondřej Bílka <neleai@seznam.cz>
3537
3538 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
3539 macro to a function. Check for zero perturb_byte.
3540 (_int_malloc, _int_free): Remove zero perturb_byte checks.
3541
f3eeb3fc
OB
35422013-12-09 Ondřej Bílka <neleai@seznam.cz>
3543
3544 * malloc/malloc.c: (force_reg): Remove.
3545 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
3546 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
3547 force_reg by atomic_forced_read.
3548 * malloc/arena.c (ptmalloc_init): Likewise.
3549 * malloc/hooks.c (top_check): Likewise.
3550
be2f9009
AZ
35512013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3552
3553 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3554
e7b914bd
MT
35552013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
3556
3557 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3558
9f0be4f8
JM
35592013-12-08 Joseph Myers <joseph@codesourcery.com>
3560
3561 * math/auto-libm-test-in: Add tests of lgamma.
3562 * math/auto-libm-test-out: Regenerated.
3563 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
3564 (M_LOG_2_SQRT_PIl): Likewise.
3565 (lgamma_test_data): Use AUTO_TESTS_f_f1.
3566 * math/gen-auto-libm-tests.c (func_calc_method): Add value
3567 mpfr_f_f1.
3568 (func_calc_desc): Add mpfr_f_f1 union field.
3569 (ARGS1): New macro.
3570 (ARGS2): Likewise.
3571 (ARGS3): Likewise.
3572 (ARGS4): Likewise.
3573 (RET1): Likewise.
3574 (RET2): Likewise.
3575 (CALC): Likewise.
3576 (FUNC): Likewise.
3577 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
3578 (test_functions): Add lgamma.
3579 (calc_generic_results): Handle mpfr_f_f1.
3580 * sysdeps/i386/fpu/libm-test-ulps: Update.
3581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3582
24eeafdb
AZ
35832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3584
3585 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
3586 __mpn_add_n for PowerPC64/POWER7.
3587 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
3588 __mpn_sub_n for PowerPC64/POWER7.
3589
4a2c0fd4
AZ
35902013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3591
3592 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
3593 __mpn_addmul_1 for PowerPC64.
3594 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
3595 __mpn_submul_1 for PowerPC64.
3596 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
3597 for PowerPC64.
3598 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
3599 for PowerPC64.
3600
4b5b548c
FS
36012013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
3602
3603 [BZ #15089]
3604 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
3605
0a3ac0aa
AZ
36062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3607
3608 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
3609
ccdc8438
AZ
36102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3611
3612 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
3613 add multiarch folders.
3614 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
3615 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
3616 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
3617 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
3618 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
3619 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
3620 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
3621 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
3622 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
3623 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
3624 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
3625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
3626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
3627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
3628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
3629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
3630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
3631
2e973d99
AZ
36322013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3633
3634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3635 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
3636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
3637 New file.
3638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
3639 New file.
3640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
3641 multiarch __ieee754_hypot for PowerPC32.
3642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
3643 New file.
3644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
3645 New file.
3646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
3647 multiarch __ieee754_hypotf for PowerPC32.
3648
2d9470b2
AZ
36492013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3650
3651 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
3652 long_double_symbol only if __logbl is defined.
3653 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
3654 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
3655 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
3656 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
3657 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
3658 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
3659 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
3660 path for implementation.
3661 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
3662 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
3663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
3664 logb, and logbl multiarch implementations for PowerPC32.
3665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
3666 file.
3667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
3668 file.
3669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
3670 multiarch logb for PowerPC32.
3671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
3672 file.
3673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
3674 file.
3675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
3676 multiarch logbf for PowerPC32.
3677 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
3678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
3679 file.
3680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
3681 multiarch logbl implementation for PowerPC32.
3682
5212ffce
AZ
36832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3684
3685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
3686 and modff multiarch implementations.
3687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
3688 New file.
3689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
3690 New file.
3691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
3692 multiarch modf for PowerPC32.
3693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
3694 New file.
3695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
3696 New file.
3697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
3698 multiarch modff for PowerPC32.
3699
79dccf31
AZ
37002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3701
3702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
3703 and lrintf multiarch implementations.
3704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
3705 New file.
3706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3707 New file.
3708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
3709 multiarch lrint for PowerPC32.
3710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
3711 file: multiarch lrintf for PowerPC32.
3712
deb66480
AZ
37132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3714
3715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
3716 and lroundf multiarch implementations.
3717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
3718 New file.
3719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
3720 New file.
3721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
3722 New file.
3723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
3724 multiarch lround for PowerPC32.
3725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
3726 file: multiarch lroundf for PowerPC32.
3727
264b036b
AZ
37282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3729
3730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3731 copysign and copysignf multiarch implementations.
3732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3733 New file.
3734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3735 New file.
3736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
3737 file: multiarch copysign for PowerPC32.
3738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
3739 file: multiarch copysignf for PowerPC32.
3740
d47db6c9
AZ
37412013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3742
3743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
3744 and truncf multiarch implementations.
3745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
3746 New file.
3747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
3748 file.
3749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
3750 multiarch trunc for PowerPC32.
3751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
3752 New file.
3753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
3754 New file.
3755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
3756 multiarch truncf for PowerPC32.
3757
ddb60b5a
AZ
37582013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3759
3760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
3761 and roundf multiarch implementations.
3762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
3763 New file.
3764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
3765 file.
3766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
3767 multiarch round for PowerPC32.
3768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
3769 New file.
3770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
3771 New file.
3772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
3773 multiarch roundf for PowerPC32.
3774
bedcf49b
AZ
37752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3776
3777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
3778 and floorf multiarch implementations.
3779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
3780 New file.
3781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
3782 file.
3783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
3784 multiarch floor for PowerPC32.
3785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
3786 New file.
3787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
3788 New file.
3789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
3790 multiarch floorf for PowerPC32.
3791
35ae5b40
AZ
37922013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3793
3794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
3795 and ceilf multiarch implementations.
3796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
3797 New file.
3798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
3799 file.
3800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
3801 multiarch ceil for PowerPC32.
3802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
3803 New file.
3804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
3805 file.
3806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
3807 multiarch ceilf for PowerPC32.
3808
ae1a4cd9
AZ
38092013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3810
3811 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
3812 is defined.
3813 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
3814 FINITEF is defined.
3815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
3816 and finitef multiarch implementations.
3817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3818 New file.
3819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
3820 file.
3821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
3822 multiarch finite for PowerPC32.
3823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3824 New file.
3825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
3826 file: multiarch finitef for PowerPC32.
3827
64fffd65
AZ
38282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3829
3830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
3831 and isinff multiarch implementations.
3832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
3833 file.
3834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
3835 file.
3836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
3837 multiarch isinf for PowerPC32.
3838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3839 New file.
3840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
3841 multiarch isinff for PowerPC32.
3842
8e4e7ba2
AZ
38432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3844
3845 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
3846 alias when __isnan is defined.
3847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
3848 and isnanf multiarch implementations.
3849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
3850 file.
3851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
3852 file.
3853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
3854 file.
3855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
3856 file.
3857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
3858 multiarch isnan for PowerPC32.
3859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3860 New file.
3861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
3862 New file.
3863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
3864 multiarch isnanf for PowerPC32.
3865
ddba588e
AZ
38662013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3867
3868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
3869 and sqrtf multiarch implementations.
3870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
3871 file.
3872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
3873 file.
3874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
3875 multiarch sqrt for PowerPC32.
3876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
3877 file.
3878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
3879 file.
3880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
3881 multiarch sqrtf for PowerPC32.
3882
0f96a2f0
AZ
38832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3884
3885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
3886 and llroundf multiarch implementations.
3887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
3888 New file.
3889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
3890 New file.
3891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
3892 New file.
3893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
3894 file: multiarch llround for PowerPC32.
3895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
3896 file: multiarch llroundf for PowerPC32.
3897
c9b5d79e
AZ
38982013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3899
3900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
3901 multiarch PowerPC32 fpu implementations.
3902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3903 New file.
3904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3905 New file.
3906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
3907 multiarch llrint for PowerPC32.
3908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3909 New file.
3910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3911 New file.
3912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
3913 file.
3914
9cbb3aab
AZ
39152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3916
3917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
3918
ea5a72f8
AZ
39192013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3920
3921 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
3922 file.
3923 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
3924 file.
3925 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
3926 file.
3927 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
3928 multiarch wordcopy for PPC32.
3929 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3930 wordcopy objects.
3931 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3932 (__libc_ifunc_impl_list): Likewise.
3933 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
3934 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
3935 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
3936 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
3937 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
3938 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
3939
93be09e7
AZ
39402013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3941
3942 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
3943 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
3944 file.
3945 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
3946 file.
3947 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
3948 file.
3949 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
3950 multiarch wcscpy for PPC32.
3951 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3952 multiarch objects.
3953 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3954 (__libc_ifunc_impl_list): Likewise.
3955 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3956 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3957 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
3958 sysdeps/powerpc/power6/wcscpy.c.
3959
bb04e529
AZ
39602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3961
3962 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
3963 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
3964 file.
3965 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
3966 file.
3967 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
3968 file.
3969 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
3970 multiarch wcsrchr for PPC32.
3971 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3972 multiarch objects.
3973 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3974 (__libc_ifunc_impl_list): Likewise.
3975 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3976 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3977 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
3978 sysdeps/powerpc/power6/wcsrchr.c.
3979
05b5cd1c
AZ
39802013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3981
3982 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
3983 file.
3984 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
3985 file.
3986 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
3987 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
3988 multiarch wcschr for PPc32.
3989 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3990 multiarch objects.
3991 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3992 (__libc_ifunc_impl_list): Likewise.
3993 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
3994 * sysdeps/powerpc/power6/wcschr.c: ... to here.
3995 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
3996 sysdeps/powerpc/power6/wcschr.c.
3997
ba964147
AZ
39982013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3999
4000 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
4001 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
4002 file.
4003 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
4004 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
4005 file: multiarch strchr for PPC32.
4006 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
4007 multiarch objects.
4008 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4009 (__libc_ifunc_impl_list): Likewise.
4010
31c81aaa
AZ
40112013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4012
4013 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
4014 name.
4015 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
4016 file.
4017 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
4018 file.
4019 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
4020 multiarch strchrnul for PPC32.
4021 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
4022 multiarch objects.
4023 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4024 (__libc_ifunc_impl_list): Likewise.
4025
0d0607d9
AZ
40262013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4027
4028 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
4029 file.
4030 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
4031 multiarch strncasecmp for PPC32.
4032 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
4033 file.
4034 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
4035 multiarch strncasecmp_l for PPC32.
4036 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
4037 strncasecmp multiarch objects.
4038 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4039 (__libc_ifunc_impl_list): Likewise.
4040
4dfd5c86
AZ
40412013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4042
4043 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
4044 file.
4045 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
4046 multiarch strncasecmp for PPC32.
4047 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
4048 New file.
4049 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
4050 multiarch strcasecmp_l for PPC32.
4051 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
4052 multiarch objects.
4053 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4054 (__libc_ifunc_impl_list): Likewise.
4055
a19e01a3
AZ
40562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4057
4058 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
4059 file.
4060 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
4061 file.
4062 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
4063 multiarch strncmp for PPC32.
4064 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
4065 multiarch objects.
4066 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4067 (__libc_ifunc_impl_list): Likewise.
4068
ae9cf7a2
AZ
40692013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4070
4071 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
4072 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
4073 file.
4074 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
4075 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
4076 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
4077 multiarch objects.
4078 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4079 (__libc_ifunc_impl_list): Likewise.
4080
3148bb7d
AZ
40812013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4082
4083 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
4084 file.
4085 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
4086 file.
4087 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
4088 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
4089 multiarch objects.
4090 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4091 (__libc_ifunc_impl_list): Likewise.
4092
7af8b946
AZ
40932013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4094
4095 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
4096 file.
4097 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
4098 file.
4099 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
4100 multiarch rawmemchr for PPC32.
4101 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
4102 multiarch objects.
4103 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4104 (__libc_ifunc_impl_list): Likewise.
4105
03a6aa6a
AZ
41062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4107
4108 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
4109 file.
4110 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
4111 file.
4112 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
4113 file: memrchr multiarch for PPC32.
4114 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
4115 multiarch objects.
4116 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4117 (__libc_ifunc_impl_list): Likewise.
4118
1c62e6d9
AZ
41192013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4120
4121 * string/memchr.c (__memchr): Using macro to redefine symbol name.
4122 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
4123 file.
4124 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
4125 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
4126 multiarch memchr for PPC32.
4127 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
4128 multiarch objects.
4129 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4130 (__libc_ifunc_impl_list): Likewise.
4131
87da8bdb
AZ
41322013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4133
4134 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
4135 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
4136 file.
4137 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
4138 file.
4139 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
4140 file: multiarch mempcpy for PPC32.
4141 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
4142 multiarch objects.
4143 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4144 (__libc_ifunc_impl_list): Likewise.
4145
20ed4714
AZ
41462013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4147
4148 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
4149 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
4150 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
4151 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
4152 multiarch bzero for PPC32.
4153 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
4154 file.
4155 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
4156 file.
4157 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
4158 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
4159 file: multiarch memset for PPC32.
4160 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
4161 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
4162 memset multiarch objects.
4163 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4164 (__libc_ifunc_impl_list): Likewise.
4165
ab3e3a46
AZ
41662013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4167
4168 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
4169 file.
4170 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
4171 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
4172 memcmp for PPC32.
4173 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
4174 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
4175 multiarch objects.
4176 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4177 (__libc_ifunc_impl_list): Likewise.
4178
930de6f0
AZ
41792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4180
4181 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
4182 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
4183 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
4184 file.
4185 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
4186 file.
4187 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
4188 file.
4189 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
4190 multiarch memcpy for PPC32.
4191 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
4192 multiarch objects.
4193 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4194 (__libc_ifunc_impl_list): Likewise.
4195
4c628e00
AZ
41962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4197
4198 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
4199 support multiarch for POWER/PPC32.
4200 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4201 Likewise.
4202 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
4204 Implies file to make multiarch folder appers before the fpu and
4205 default folder for power4 configuration.
4206
f4479220
SP
42072013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4208
4209 * scripts/bench.pl: Append volatile keyword to type.
4210
8517800f
KK
42112013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4212
4213 * sysdeps/sh/sotruss-lib.c: New file.
4214 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
4215
180138f1
AZ
42162013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4217
4218 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4219
bbf37bdc
JM
42202013-12-05 Joseph Myers <joseph@codesourcery.com>
4221
e47cc4e0
JM
4222 [BZ #6810]
4223 * math/w_tgamma.c: Include <errno.h>.
4224 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
4225 * math/w_tgammaf.c: Include <errno.h>.
4226 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
4227 * math/w_tgammal.c: Include <errno.h>.
4228 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
4229 * math/auto-libm-test-in: Do not allow missing errno on tgamma
4230 underflow. Add more tgamma tests.
4231 * math/auto-libm-test-out: Regenerated.
4232 * sysdeps/i386/fpu/libm-test-ulps: Update.
4233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4234
bbf37bdc
JM
4235 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
4236 sin, sinh, tan, tanh, tgamma, y0 and y1.
4237 * math/auto-libm-test-out: Regenerated.
4238 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4239 (TEST_COND_x86): Likewise.
4240 (M_E2l): Remove macro.
4241 (M_E3l): Likewise.
4242 (M_2_SQRT_PIl): Likewise.
4243 (M_SQRT_PIl): Likewise.
4244 (M_1_DIV_El): Likewise.
4245 (log_test_data): Use AUTO_TESTS_f_f.
4246 (log10_test_data): Likewise.
4247 (log1p_test_data): Likewise.
4248 (log2_test_data): Likewise.
4249 (sin_test_data): Likewise.
4250 (sin_tonearest_test_data): Likewise.
4251 (sin_towardzero_test_data): Likewise.
4252 (sin_downward_test_data): Likewise.
4253 (sin_upward_test_data): Likewise.
4254 (sinh_test_data): Likewise.
4255 (sinh_tonearest_test_data): Likewise.
4256 (sinh_towardzero_test_data): Likewise.
4257 (sinh_downward_test_data): Likewise.
4258 (sinh_upward_test_data): Likewise.
4259 (tan_test_data): Likewise.
4260 (tan_tonearest_test_data): Likewise.
4261 (tan_towardzero_test_data): Likewise.
4262 (tan_downward_test_data): Likewise.
4263 (tan_upward_test_data): Likewise.
4264 (tanh_test_data): Likewise.
4265 (tgamma_test_data): Likewise.
4266 (y0_test_data): Likewise.
4267 (y1_test_data): Likewise.
4268 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
4269 (special_real_inputs): Add pi/4.
4270 * sysdeps/i386/fpu/libm-test-ulps: Update.
4271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4272
eb5ad6b9
AZ
42732013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4274
4275 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
4276 "longjmp_target" static probes.
4277 (__longjmp): Rename to __longjmp_symbol.
4278 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4279 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
4280 on which longjmp to generate.
4281 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4282 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
4283 probe.
4284 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4285 (__sigjmp_save): Rename to __sigjmp_save_symbol.
4286 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4287 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
4288 and __sigjmp_save_symbol based on which sigsetjmp to generated.
4289 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
4290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
4291 __longjmp_symbol based on which __longjmp to generate.
4292 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
4293 probe.
4294 (setjmp): Rename to setjmp_symbol.
4295 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4296 (_setjmp): Rename to _setjmp_symbol.
4297 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4298 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
4299 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
4300 which setjmp to generate.
4301 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
4302 "longjmp_target" static probes.
4303
d136c6dc
SP
43042013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4305
9298ecba
SP
4306 * benchtests/README: Add note about output arguments.
4307 * benchtests/bench-sincos.c: Remove file.
4308 * benchtests/sincos-inputs: New file.
4309 * scripts/bench.pl: Identify output arguments and define
4310 static variables for them.
4311
232983e9
SP
4312 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
4313
d136c6dc
SP
4314 [BZ #15941]
4315 * Makefile (INSTALL): Add install-plain.texi as the primary
4316 dependency.
4317 * manual/install-plain.texi: New file.
4318 * manual/install.texi: Include node directive only for
4319 non-plaintext output.
4320
699ff837
JM
43212013-12-04 Joseph Myers <joseph@codesourcery.com>
4322
ab07cea8
JM
4323 * stdlib/longlong.h: Update from GCC.
4324
699ff837
JM
4325 [BZ #6807]
4326 [BZ #15901]
4327 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
4328 * math/w_j0f.c (y0f): Likewise.
4329 * math/w_j0l.c (__y0l): Likewise.
4330 * math/w_j1.c (y1): Likewise.
4331 * math/w_j1f.c (y1f): Likewise.
4332 * math/w_j1l.c (__y1l): Likewise
4333 * math/w_jn.c (yn): Likewise.
4334 * math/w_jnf.c (ynf): Likewise.
4335 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
4336 Bessel function pole errors in _POSIX_ mode. Use NAN as return
4337 value for Bessel function domain errors outside _SVID_ mode.
4338 Adjust sign of return value for yn (negative integer, 0).
4339 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
4340 by zero in return for negative x and set sign appropriately for
4341 negative n.
4342 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
4343 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
4344 * math/libm-test.inc (y0_test_data): Add more tests and adjust
4345 expectations in error cases.
4346 (y1_test_data): Likewise.
4347 (yn_test_data): Likewise.
4348 * sysdeps/i386/fpu/libm-test-ulps: Update.
4349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4350
5b118558
UW
43512013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4352
4353 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
4354 "64" to "64-v1". Add "64-v2".
4355 (abi-64-options): Rename to ...
4356 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
4357 (abi-64-condition): Rename to ...
4358 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
4359 (abi-64-ld-soname): Rename to ...
4360 (abi-64-v1-ld-soname): ... this.
4361 (abi-64-v2-options): Define.
4362 (abi-64-v2-condition): Likewise.
4363 (abi-64-v2-ld-soname): Likewise.
4364 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
4365 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
4366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
4367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
4368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
4369
61cd8fe4
UW
43702013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4371 Alan Modra <amodra@gmail.com>
4372
4373 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
4374 New versions for use with the ELFv2 ABI.
4375 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
4376 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
4377 declaration.
4378 (struct La_ppc64v2_retval): Likewise.
4379 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
4380 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
4381 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
4382 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
4383 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
4384 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
4385 Do not save or restore CR.
4386 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
4387 (_dl_profile_resolve): Do no save or restore CR. Support extended
4388 return values for ELFv2 ABI. Fix location of FPR return registers.
4389 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
4390 updated values for _CALL_ELF == 2.
4391 (La_regs, La_retval, int_retval): Likewise.
4392
8b8a692c
UW
43932013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4394
4395 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
4396 (FRAME_MIN_SIZE_PARM): Likewise.
4397 (FRAME_BACKCHAIN): Likewise.
4398 (FRAME_CR_SAVE): Likewise.
4399 (FRAME_LR_SAVE): Likewise.
4400 (FRAME_TOC_SAVE): Likewise.
4401 (FRAME_PARM_SAVE): Likewise.
4402 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4403 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4404 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4405 (call_mcount_parm_offset): New macro.
4406 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
4407 (PROF): Use symbolic stack frame offsets.
4408 (TAIL_CALL_SYSCALL_ERROR): Likewise.
4409 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
4410 Redefine in terms of FRAME_MIN_SIZE.
4411 (_dl_runtime_resolve): Use symbolic stack frame offsets.
4412 (_dl_profile_resolve): Likewise. Update comment.
4413 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
4414 symbols stack frame offsets.
4415 (__sigsetjmp): Likewise.
4416 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
4417 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
4418 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
4419 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
4420
4421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
4422 (FRAME_BACKCHAIN): Remove.
4423 (FRAME_CR_SAVE): Likewise.
4424 (FRAME_LR_SAVE): Likewise.
4425 (FRAME_COMPILER_DW): Likewise.
4426 (FRAME_LINKER_DW): Likewise.
4427 (FRAME_TOC_SAVE): Likewise.
4428 (FRAME_PARM_SAVE): Likewise.
4429 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4430 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4431 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
4433 (CHECK_SP): Use symbolic stack frame offsets.
4434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
4435 zone" instead of caller's parameter save area for temp storage.
4436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4437 Likewise. Also, use symbolic stack frame offsets.
4438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
4439 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
4440 our own stack frame instead of the caller's.
4441 (__socket): Use symbolic stack frame offsets.
4442
122b66de
UW
44432013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4444 Alan Modra <amodra@gmail.com>
4445
4446 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
4447 Define.
4448 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
4449 PPC64_LOCAL_ENTRY_OFFSET): Define.
4450 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
4451 New function.
4452 (elf_machine_fixup_plt): Call it.
4453 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
4454 reloc arguments.
4455 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
4456 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4457 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
4458 r2 before calling target.
4459
696caf1d
UW
44602013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4461 Alan Modra <amodra@gmail.com>
4462
4463 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
4464 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
4465 versions of macros to support ELFv2 ABI.
4466 (LOCALENTRY): New macro.
4467 (ENTRY, EALIGN): Use it.
4468 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
4469 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
4470 fall through into ENTRY entry point.
4471 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
4472 Only define if _CALL_ELF != 2.
4473
4474 (elf_machine_matches_host): Verify ABI version matches.
4475 (RTLD_START): Use LOCALENTRY.
4476 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
4477 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
4478 (PLT_ENTRY_WORDS): New macro.
4479 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
4480 (elf_machine_runtime_setup): Support ELFv2 ABI.
4481 (elf_machine_fixup_plt): Likewise.
4482 (elf_machine_plt_conflict): Likewise.
4483 (resolve_ifunc): Likewise.
4484 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4485 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4486 Likewise.
4487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
4488 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
4489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4490 (makecontext): Support ELFv2 ABI.
4491 * elf/elf.h (EF_PPC64_ABI): Define.
4492
d31beafa
UW
44932013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4494
4495 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
4496 New assembler macro.
4497 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
4498 [ASSEMBLER] (ENTRY): ... but instead here ...
4499 [ASSEMBLER] (EALIGN): ... and here.
4500 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
4501 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
4502 [!ASSEMBLER] (ENTRY_2): Use it.
4503 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
4504 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
4505 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4506 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
4507 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
4508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
4509 Use PPC64_LOAD_FUNCPTR.
4510
b525166b
UW
45112013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4512
4513 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
4514
7ec07d9a
AM
45152013-12-04 Alan Modra <amodra@gmail.com>
4516
4517 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
4518 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
4519 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
4520 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
4521
4522 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
4523 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
4524 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
4525 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
4526 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
4527 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
4528
5162e7dd
UW
45292013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4530
4531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4532 (__makecontext): Fix incorrect CFI when backtracing out of
4533 context created via makecontext.
4534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
4535 (__setcontext): Fix incorrect CFI during switch to new context.
4536 (__novec_setcontext): Likewise.
4537
19e3372b
OB
45382013-12-04 Ondřej Bílka <neleai@seznam.cz>
4539
4540 [BZ #4772]
4541 * time/strptime_l.c (__strptime_internal): Allow modifiers
4542 in strptime.
4543 * time/tst-strptime.c (day_tests): Add testcase.
4544
4545
ecaf142d
SP
45462013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4547
4548 * scripts/bench.pl: Skip over blank lines.
4549
fbf964ae
PE
45502013-12-04 Paul Eggert <eggert@cs.ucla.edu>
4551
4552 [BZ #926]
4553 * manual/time.texi (Calendar Time): Clarify what timezone functions
4554 use.
4555
fa60a674
AZ
45562013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4557
4558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4559
d674f0ef
OB
45602013-12-04 Ondřej Bílka <neleai@seznam.cz>
4561
4562 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
4563 implementation.
4564 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
4565 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
4566 * debug/memset_chk.c (__memset_chk): Likewise.
4567 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
4568 * debug/strncpy_chk.c: Likewise.
4569
17dea188
JM
45702013-12-03 Joseph Myers <joseph@codesourcery.com>
4571
749008ff
JM
4572 [BZ #15268]
4573 [BZ #15425]
4574 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
4575 (__ieee754_exp): For possibly underflowing results, check size of
4576 result and force underflow exception if required.
4577 * math/auto-libm-test-in: Add more tests of exp.
4578 * math/auto-libm-test-out: Regenerated.
4579 * sysdeps/i386/fpu/libm-test-ulps: Update.
4580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4581
17dea188
JM
4582 [BZ #16283]
4583 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
4584 * math/w_exp2f.c (__exp2f): Likewise.
4585 * math/w_exp2l.c (__exp2l): Likewise.
4586 * math/auto-libm-test-in: Do not allow missing errno on exp2
4587 underflow.
4588 * math/auto-libm-test-out: Regenerated.
4589
b20de2c3
OB
45902013-12-03 Ondřej Bílka <neleai@seznam.cz>
4591
4592 [BZ #16274]
4593 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
4594 handle filename validation.
4595 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
4596 (do_open): Delete.
4597
d8e2dbe3
JM
45982013-12-03 Joseph Myers <joseph@codesourcery.com>
4599
34e16df5
JM
4600 [BZ #6786]
4601 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
4602 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
4603 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
4604 <float.h>.
4605 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
4606 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
4607 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4608 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
4609 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4610 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
4611 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4612 * math/auto-libm-test-in: Don't allow missing errno from erfc.
4613 Add more erfc tests.
4614 * math/auto-libm-test-out: Regenerated.
4615 * sysdeps/i386/fpu/libm-test-ulps: Update.
4616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4617
d8e2dbe3
JM
4618 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
4619 exp2, expm1, j0 and j1.
4620 * math/auto-libm-test-out: Regenerated.
4621 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
4622 (erfc_test_data): Likewise.
4623 (exp_test_data): Likewise.
4624 (exp_tonearest_test_data): Likewise.
4625 (exp_towardzero_test_data): Likewise.
4626 (exp_downward_test_data): Likewise.
4627 (exp_upward_test_data): Likewise.
4628 (exp10_test_data): Likewise.
4629 (exp2_test_data): Likewise.
4630 (expm1_test_data): Likewise.
4631 (j0_test_data): Likewise.
4632 (j1_test_data): Likewise.
4633 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
4634 (input_flag_type): Add flag_xfail_rounding.
4635 (input_flags): Add xfail-rounding.
4636 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
4637 (output_for_one_input_case): Handle flag_xfail_rounding.
4638 * sysdeps/i386/fpu/libm-test-ulps: Update.
4639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4640
18d14251
AJ
46412013-12-03 Aurelien Jarno <aurelien@aurel32.net>
4642
3d2e6075 4643 [BZ #16289]
18d14251
AJ
4644 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
4645 division by 0.
4646
520d437b
SP
46472013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4648
4649 [BZ #16195]
4650 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
4651 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
4652 (STAP_PROBE0): New macro.
4653 (STAP_PROBE1): Likewise.
4654 (STAP_PROBE2): Likewise.
4655 (STAP_PROBE3): Likewise.
4656 (STAP_PROBE4): Likewise.
4657
416e0145
OB
46582013-12-02 Ondřej Bílka <neleai@seznam.cz>
4659
4660 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
4661
9d17796a
SE
46622013-12-02 Steve Ellcey <sellcey@mips.com>
4663
4664 * benchtests/Makefile (bench): Add sqrt.
4665 (LDLIBS-bench-sqrt): New.
4666 * benchtests/sqrt-input: New.
4667
f524d6a8
PS
46682013-12-02 Pavel Simerda <psimerda@redhat.com>
4669
639a0ef8
PS
4670 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
4671 (GAIH_EAI): Likewise.
4672 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
4673 (gaih_inet): Likewise.
4674 (getaddrinfo): Don't use GAIH_EAI.
4675
f524d6a8
PS
4676 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
4677 (struct gaih): Remove definition.
4678
df3aedaf
SP
46792013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4680
4681 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
4682 Use HERRNOP directly.
4683
1ab19dec
AZ
46842013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4685
b42ad38d 4686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 4687
176b0c79
JM
46882013-11-30 Joseph Myers <joseph@codesourcery.com>
4689
4690 * math/gen-auto-libm-tests.c (test_functions): Add more
4691 single-argument functions.
4692 (special_fill_pi_2): New function.
4693 (special_fill_minus_pi_2): Likewise.
4694 (special_fill_pi_6): Likewise.
4695 (special_fill_minus_pi_6): Likewise.
4696 (special_fill_pi_3): Likewise.
4697 (special_fill_2pi_3): Likewise.
4698 (special_fill_e): Likewise.
4699 (special_fill_1_e): Likewise.
4700 (special_fill_e_minus_1): Likewise.
4701 (special_real_inputs): Add more special inputs.
4702 (output_for_one_input_case): Do not require ERANGE on underflow to
4703 zero if round-to-nearest result does not underflow to zero, unless
4704 exact results required.
4705 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
4706 atan, atanh, cbrt, cos and cosh.
4707 * math/auto-libm-test-out: Regenerated.
4708 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
4709 (acos_tonearest_test_data): Likewise.
4710 (acos_towardzero_test_data): Likewise.
4711 (acos_downward_test_data): Likewise.
4712 (acos_upward_test_data): Likewise.
4713 (acosh_test_data): Likewise.
4714 (asin_test_data): Likewise.
4715 (asin_tonearest_test_data): Likewise.
4716 (asin_towardzero_test_data): Likewise.
4717 (asin_upward_test_data): Likewise.
4718 (asinh_test_data): Likewise.
4719 (atan_test_data): Likewise.
4720 (atanh_test_data): Likewise.
4721 (cbrt_test_data): Likewise.
4722 (cos_test_data): Likewise.
4723 (cos_tonearest_test_data): Likewise.
4724 (cos_towardzero_test_data): Likewise.
4725 (cos_downward_test_data): Likewise.
4726 (cos_upward_test_data): Likewise.
4727 (cosh_test_data): Likewise.
4728 (cosh_tonearest_test_data): Likewise.
4729 (cosh_towardzero_test_data): Likewise.
4730 (cosh_downward_test_data): Likewise.
4731 (cosh_upward_test_data): Likewise.
4732 * sysdeps/i386/fpu/libm-test-ulps: Update.
4733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4734
ffb536d0
JM
47352013-11-29 Joseph Myers <joseph@codesourcery.com>
4736
2a77a467
JM
4737 [BZ #6787]
4738 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
4739 * math/w_exp10f.c (__exp10f): Likewise.
4740 * math/w_exp10l.c (__exp10l): Likewise.
4741 * math/libm-test.inc (exp10_test_data): Add more tests and expect
4742 errno settings in existing tests.
4743
ea3bc4e8
JM
4744 [BZ #14032]
4745 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
4746 precision control set to double precision.
4747 * sysdeps/i386/fpu/w_sqrt.c: New file.
4748 * math/auto-libm-test-in: Add more tests.
4749 * math/auto-libm-test-out: Update.
4750
0712c9d8
JM
4751 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
4752 (sqrt_test_tonearest): New function.
4753 (sqrt_towardzero_test_data): New variable.
4754 (sqrt_test_towardzero): New function.
4755 (sqrt_downward_test_data): New variable.
4756 (sqrt_test_downward): New function.
4757 (sqrt_upward_test_data): New variable.
4758 (sqrt_test_upward): New function.
4759 (main): Call the new functions.
4760
ffb536d0
JM
4761 * math/gen-auto-libm-tests.c: New file.
4762 * math/auto-libm-test-in: Likewise.
4763 * math/auto-libm-test-out: New generated file.
4764 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
4765 variables.
4766 (%beautify): Add generated representations of zero.
4767 (top level): Set $auto_input and call parse_auto_input.
4768 (beautify): Remove trailing "f" from hex float constants.
4769 (parse_args): Handle XFAIL_TEST.
4770 (convert_condition): New function.
4771 (or_value): Likewise.
4772 (or_cond_value): Likewise.
4773 (generate_testfile): Handle AUTO_TESTS_* lines.
4774 (parse_auto_input): New function.
4775 * math/libm-test.inc (XFAIL_TEST): New macro.
4776 (ERRNO_UNCHANGED): Update value.
4777 (ERRNO_EDOM): Likewise.
4778 (ERRNO_ERANGE): Likewise.
4779 (IGNORE_RESULT): Likewise.
4780 (TEST_COND_flt_32): New macro.
4781 (TEST_COND_dbl_64): Likewise.
4782 (TEST_COND_ldbl_96_intel): Likewise.
4783 (TEST_COND_ldbl_96_m68k): Likewise.
4784 (TEST_COND_ldbl_128): Likewise.
4785 (TEST_COND_ldbl_128ibm): Likewise.
4786 (TEST_COND_long32): Likewise.
4787 (TEST_COND_long64): Likewise.
4788 (TEST_COND_before_rounding): Likewise.
4789 (TEST_COND_after_rounding): Likewise.
4790 (enable_test): Handle XFAIL_TEST flag.
4791 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
4792 with finite results.
4793 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
4794 auto-libm-test-out.
4795
acd98a8e
AK
47962013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4797 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4798
4799 [BZ #16214]
4800 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
4801 __tls_get_addr_internal instead of __tls_get_offset in order to
4802 avoid GOT pointer dependency. Make rtld export
4803 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
4804 __tls_get_addr since we are a __tls_get_offset platform.
4805 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
4806 GOT pointer being set up before.
4807 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
4808
3c1c46a6
JM
48092013-11-28 Joseph Myers <joseph@codesourcery.com>
4810
7475aef5
JM
4811 * manual/math.texi (Errors in Math Functions): Document accuracy
4812 goals.
4813
8bca7cd8
JM
4814 [BZ #15004]
4815 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
4816 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
4817 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4818 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4819 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4820 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4821 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4822 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4823 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4824 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4825 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4826 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4827 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4828 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4829 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4830 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4831
91a1f3fe
JM
4832 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
4833 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
4834 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
4835 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
4836 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
4837 Likewise.
4838 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
4839 Likewise.
4840 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
4841 Likewise.
4842 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
4843 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
4844 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
4845 atomic-feupdateenv and flt-rounds.
4846 * sysdeps/powerpc/nofpu/Versions (libc): Add
4847 __atomic_feholdexcept, __atomic_feclearexcept,
4848 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
4849 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
4850 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
4851 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
4852 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
4853 here.
4854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4855 Update.
4856
c5df7609
JM
4857 * manual/arith.texi (FP Exceptions): Document that exceptions may
4858 not be raised when matherr is used.
4859 (Math Error Reporting): Document overflow in directed rounding
4860 modes. Document that errno may not be set when finite values are
4861 returned on overflow. Document intent to set errno on underflow
4862 only for underflow to zero.
4863
3c1c46a6
JM
4864 [BZ #16271]
4865 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
4866 round-to-nearest then adjust result for other rounding modes.
4867 * include/fenv.h (fegetround): Use libm_hidden_proto.
4868 * math/fegetround.c (fegetround): Use libm_hidden_def.
4869 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
4870 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
4871 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4872 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
4873 Likewise.
4874 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
4875 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4876 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
4877 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
4878
5a4c6d53
SP
48792013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4880
4881 [BZ #16077]
4882 * nss/Versions (libnss_files): Add
4883 _nss_files_gethostbyname3_r.
4884 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
4885 New function.
4886 (HOST_DB_LOOKUP): Remove macro.
4887 (_nss_files_gethostbyname_r): Implement function without the
4888 HOST_DB_LOOKUP macro.
4889 (_nss_files_gethostbyname2_r): Likewise.
4890
897b98ba
OB
48912013-11-28 Ondřej Bílka <neleai@seznam.cz>
4892
4893 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
4894
6f476861
UB
48952013-11-26 Uros Bizjak <ubizjak@gmail.com>
4896
4897 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
4898 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
4899 warning.
4900
bd12ab55
AZ
49012013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4902
4903 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
4904 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
4905 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4906 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4907 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
4908 __fe_nomask_env_priv and attribute_hidden.
4909 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
4910 (libc_feupdateenv_test_ppc): Likewise.
4911 (libc_feresetround_ppc): Likewise.
4912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4913 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
4914 compat_symbol macro.
4915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4916 (__fe_nomask_env): Likewise.
4917 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
4918
52bb6543
OB
49192013-11-26 Ondřej Bílka <neleai@seznam.cz>
4920
4921 * string/Makefile: Remove ifunc tests.
4922 * string/test-string.h: Define TEST_IFUNC.
4923 * string/test-bcopy-ifunc.c: Remove.
4924 * string/test-bzero-ifunc.c: Likewise.
4925 * string/test-memccpy-ifunc.c: Likewise.
4926 * string/test-memchr-ifunc.c: Likewise.
4927 * string/test-memcmp-ifunc.c: Likewise.
4928 * string/test-memcpy-ifunc.c: Likewise.
4929 * string/test-memmem-ifunc.c: Likewise.
4930 * string/test-memmove-ifunc.c: Likewise.
4931 * string/test-mempcpy-ifunc.c: Likewise.
4932 * string/test-memrchr-ifunc.c: Likewise.
4933 * string/test-memset-ifunc.c: Likewise.
4934 * string/test-rawmemchr-ifunc.c: Likewise.
4935 * string/test-stpcpy-ifunc.c: Likewise.
4936 * string/test-stpncpy-ifunc.c: Likewise.
4937 * string/test-strcasecmp-ifunc.c: Likewise.
4938 * string/test-strcasestr-ifunc.c: Likewise.
4939 * string/test-strcat-ifunc.c: Likewise.
4940 * string/test-strchr-ifunc.c: Likewise.
4941 * string/test-strchrnul-ifunc.c: Likewise.
4942 * string/test-strcmp-ifunc.c: Likewise.
4943 * string/test-strcpy-ifunc.c: Likewise.
4944 * string/test-strcspn-ifunc.c: Likewise.
4945 * string/test-strlen-ifunc.c: Likewise.
4946 * string/test-strncasecmp-ifunc.c: Likewise.
4947 * string/test-strncat-ifunc.c: Likewise.
4948 * string/test-strncmp-ifunc.c: Likewise.
4949 * string/test-strncpy-ifunc.c: Likewise.
4950 * string/test-strnlen-ifunc.c: Likewise.
4951 * string/test-strpbrk-ifunc.c: Likewise.
4952 * string/test-strrchr-ifunc.c: Likewise.
4953 * string/test-strspn-ifunc.c: Likewise.
4954 * string/test-strstr-ifunc.c: Likewise.
4955
ab260039 49562013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
4957
4958 * benchtests/Makefile: Remove ifunc tests.
4959 * benchtests/bench-string.h: Define TEST_IFUNC.
4960 * benchtests/bench-bcopy-ifunc.c: Remove.
4961 * benchtests/bench-bzero-ifunc.c: Likewise.
4962 * benchtests/bench-memccpy-ifunc.c: Likewise.
4963 * benchtests/bench-memchr-ifunc.c: Likewise.
4964 * benchtests/bench-memcmp-ifunc.c: Likewise.
4965 * benchtests/bench-memcpy-ifunc.c: Likewise.
4966 * benchtests/bench-memmem-ifunc.c: Likewise.
4967 * benchtests/bench-memmove-ifunc.c: Likewise.
4968 * benchtests/bench-mempcpy-ifunc.c: Likewise.
4969 * benchtests/bench-memrchr-ifunc.c: Likewise.
4970 * benchtests/bench-memset-ifunc.c: Likewise.
4971 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
4972 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
4973 * benchtests/bench-stpcpy-ifunc.c: Likewise.
4974 * benchtests/bench-stpncpy-ifunc.c: Likewise.
4975 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
4976 * benchtests/bench-strcasestr-ifunc.c: Likewise.
4977 * benchtests/bench-strcat-ifunc.c: Likewise.
4978 * benchtests/bench-strchr-ifunc.c: Likewise.
4979 * benchtests/bench-strchrnul-ifunc.c: Likewise.
4980 * benchtests/bench-strcmp-ifunc.c: Likewise.
4981 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
4982 * benchtests/bench-strcpy-ifunc.c: Likewise.
4983 * benchtests/bench-strcspn-ifunc.c: Likewise.
4984 * benchtests/bench-strlen-ifunc.c: Likewise.
4985 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
4986 * benchtests/bench-strncat-ifunc.c: Likewise.
4987 * benchtests/bench-strncmp-ifunc.c: Likewise.
4988 * benchtests/bench-strncpy-ifunc.c: Likewise.
4989 * benchtests/bench-strnlen-ifunc.c: Likewise.
4990 * benchtests/bench-strpbrk-ifunc.c: Likewise.
4991 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 4992 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
4993 * benchtests/bench-strspn-ifunc.c: Likewise.
4994 * benchtests/bench-strstr-ifunc.c: Likewise.
4995
49962013-11-26 Ondřej Bílka <neleai@seznam.cz>
4997
ab260039
OB
4998 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
4999
d1d9eaf4 50002013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 5001
d1d9eaf4
OB
5002 * resolv/netdb.h: Use __glibc_reserved instead __unused.
5003 * rt/aio.h: Likewise.
5004 * sysdeps/gnu/bits/utmp.h: Likewise.
5005 * sysdeps/gnu/bits/utmpx.h: Likewise.
5006 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5007 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
5008 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
5009 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
5010 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
5011 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
5012 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
5013 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
5014 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
5015 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
5016 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
5017 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
5018 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
5019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
5020 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5021 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
5022 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
5023 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
5024 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
5025 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
5026 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
5027 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
5028 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
5029 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5030 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
5031 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5032 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
5033 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
5034 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
5035 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
5036 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
5037 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
5038 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
5039 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
5040 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
5041 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
5042 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
5043 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
5044 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
5045 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
5046 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
5047 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5048
a7624ed9
CD
50492013-11-25 Carlos O'Donell <carlos@redhat.com>
5050
5051 [BZ #16245]
5052 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
5053 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
5054
63cfe52b
JM
50552013-11-25 Joseph Myers <joseph@codesourcery.com>
5056
5057 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
5058 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
5059 Likewise.
5060
41e8926a
AZ
50612013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5062
5063 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
5064 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
5065 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
5066 (__fesetround): Remove define.
5067 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
5068 rounding and exceptions handling.
5069 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
5070 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
5071 (__fe_nomask_env): Likewise.
5072 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
5073 __fegetround instead of fegetround.
5074 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5075 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
5076
6851bd4d
RM
50772013-11-21 Roland McGrath <roland@hack.frob.com>
5078
070906ff
RM
5079 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
5080 it's there.
5081
6851bd4d
RM
5082 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
5083
84ae135d
MI
50842013-11-21 Meador Inge <meadori@codesourcery.com>
5085
5086 [BZ #11157]
5087 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
5088 (encrypt_r): Likewise.
5089 * malloc/obstack.h (obstack_free): Likewise.
5090 * posix/unistd.h (encrypt): Likewise.
5091
daf75146
GM
50922013-11-21 Guy Martin <gmsoft@tuxicoman.be>
5093
5094 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
5095 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
5096 DL_CALL_DT_FINI() that call the functions directly.
5097 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
5098 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
5099 * elf/dl-fini.c: Likewise.
5100
10ad46bc
OB
51012013-11-20 Ondřej Bílka <neleai@seznam.cz>
5102
5103 * malloc/hooks.c (memalign_check): Add alignment rounding.
5104 * malloc/malloc.c (_mid_memalign): New function.
5105 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
5106 Implement by calling _mid_memalign.
5107 * manual/probes.texi (Memory Allocation Probes): Remove
5108 memory_valloc_retry and memory_pvalloc_retry.
5109
f3fd2628
SP
51102013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5111
4712799f
SP
5112 * locale/programs/locarchive.c (open_archive): Add const
5113 qualifier to ARCHIVEFNAME and copy default fname to
5114 DEFAULT_FNAME.
5115
0417b20f
SP
5116 [BZ #15601]
5117 * libio/tst-widetext.input: Rename Oriya to Odia.
5118 * locale/iso-639.def: Likewise.
5119
f3fd2628
SP
5120 * manual/probes.texi (Mathematical Function Probes): Add
5121 documentation for sin, cos, asin and acos probes.
5122 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
5123 (__sin32): Add slowasin probe.
5124 (__cos32): Add slowacos probe.
5125 (__mpsin): Add slowsin probe.
5126 (__mpcos): Add slowcos probe.
5127
73c1ce4f
JM
51282013-11-19 Joseph Myers <joseph@codesourcery.com>
5129
5130 [BZ #15483]
5131 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
5132 thread-local __sim_exceptions_thread and global
5133 __sim_exceptions_global.
5134 (__sim_disabled_exceptions): Change to thread-local
5135 __sim_disabled_exceptions_thread and global
5136 __sim_disabled_exceptions_global.
5137 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
5138 and global __sim_round_mode_global.
5139 (__simulate_exceptions): Use thread-local floating-point state and
5140 set global state from it as needed.
5141 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
5142 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
5143 __sim_round_mode_thread.
5144 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
5145 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
5146 and global __sim_exceptions_global.
5147 (__sim_disabled_exceptions): Change to thread-local
5148 __sim_disabled_exceptions_thread and global
5149 __sim_disabled_exceptions_global.
5150 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
5151 and global __sim_round_mode_global.
5152 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
5153 (SIM_SET_GLOBAL): Likewise.
5154 * sysdeps/powerpc/soft-fp/sfp-machine.h
5155 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
5156 __sim_round_mode_thread.
5157 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
5158 __sim_disabled_exceptions_thread.
5159 (__sim_exceptions): Change to __sim_exceptions_thread.
5160 (__sim_disabled_exceptions): Change to
5161 __sim_disabled_exceptions_thread.
5162 (__sim_round_mode): Change to __sim_round_mode_thread.
5163 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
5164 thread-local floating-point state and set global state from it as
5165 needed.
5166 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
5167 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
5168 (__sim_disabled_exceptions): Remove extern declaration.
5169 (feenableexcept): Use thread-local floating-point state and set
5170 global state from it as needed.
5171 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
5172 extern declaration.
5173 (__sim_disabled_exceptions): Likewise.
5174 (__sim_round_mode): Likewise.
5175 (__fegetenv): Use thread-local floating-point state.
5176 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
5177 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
5178 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
5179 floating-point state and set global state from it as needed.
5180 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
5181 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5182 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
5183 Likewise.
5184 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
5185 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
5186 Likewise.
5187 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
5188 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
5189 Use __sim_round_mode_thread.
5190 * math/test-fenv-tls.c: New file.
5191 * math/Makefile (tests): Add test-fenv-tls.
5192 ($(objpfx)test-fenv-tls): Depend on
5193 $(common-objpfx)nptl/libpthread.so.
5194
b5449b12
AS
51952013-11-19 Andreas Schwab <schwab@suse.de>
5196
5197 * locale/programs/locale.c (show_info): Decode wordarray elements.
5198 * locale/categories.def (LC_MONETARY): Add element for
5199 _NL_MONETARY_CRNCYSTR.
5200 * locale/C-monetary.c (conversion_rate): New variable.
5201 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
5202 element.
5203
e186536b
CM
52042013-11-18 Chris Metcalf <cmetcalf@tilera.com>
5205
5206 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
5207 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
5208
5c349950
PP
52092013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5210
5211 * elf/Makefile (tst-auxv): New test.
5212 * elf/tst-auxv.c: New
5213 * elf/rtld.c (dl_main): Adjust AT_EXECFN
5214
699df45b
JM
52152013-11-18 Joseph Myers <joseph@codesourcery.com>
5216
5217 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
5218 (hidden_proto): Caller changed.
5219 (hidden_tls_proto): New macro.
5220 (libc_hidden_tls_proto): Likewise.
5221 (rtld_hidden_tls_proto): Likewise.
5222 (libm_hidden_tls_proto): Likewise.
5223 (libresolv_hidden_tls_proto): Likewise.
5224 (librt_hidden_tls_proto): Likewise.
5225 (libdl_hidden_tls_proto): Likewise.
5226 (libnss_files_hidden_tls_proto): Likewise.
5227 (libnsl_hidden_tls_proto): Likewise.
5228 (libnss_nisplus_hidden_tls_proto): Likewise.
5229 (libutil_hidden_tls_proto): Likewise.
5230
b7589107
OB
52312013-11-18 Ondřej Bílka <neleai@seznam.cz>
5232
5233 [BZ #10253]
5234 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
5235 (decompose_rpath): Defer expansion to fillin_rpath.
5236 (_dl_init_paths): Pass linkmap to fillin_rpath.
5237
250c23bd
RS
52382013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5239
5240 * benchtests/Makefile: Add strsep.
5241 * benchtests/bench-strsep.c: New file: strsep benchtest.
5242 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
5243
a7931fcf
AS
52442013-11-18 Andreas Schwab <schwab@suse.de>
5245
5246 * locale/programs/locale.c (show_info) [case byte]: Check for
5247 '\377' instead of '\177'.
5248 * locale/C-monetary.c (not_available): Always use "\377".
5249 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
5250 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
5251 detect unavailable sign_posn locale elements.
5252 * locale/localeconv.c (__localeconv): For grouping and
5253 mon_grouping handle "\177" and "\377" like no grouping.
5254 (INT_ELEM): New macro. Use it to set all numeric members.
5255 * locale/programs/ld-monetary.c (monetary_read)
5256 <tok_mon_grouping>: Normalize single -1 to the empty string.
5257 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
5258 Likewise.
5259
728dab0e
OB
52602013-11-07 Ondřej Bílka <neleai@seznam.cz>
5261
5262 [BZ #16055]
5263 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
5264 when we match (nil).
5265 * stdio-common/tst-sscanf.c (struct test): Add testcase.
5266
66294491
JM
52672013-11-16 Joseph Myers <joseph@codesourcery.com>
5268
ce665817
JM
5269 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
5270 (NO_TEST_INLINE): Update value.
5271 (ERRNO_UNCHANGED): Likewise.
5272 (ERRNO_EDOM): Likewise.
5273 (ERRNO_ERANGE): Likewise.
5274 (IGNORE_RESULT): Likewise.
5275 (check_float_internal): Check signs of NaN results if
5276 TEST_NAN_SIGN used.
5277 (check_complex): Pass TEST_NAN_SIGN flag through to second
5278 check_float_internal call.
5279 (copysign_test_data): Add tests with quiet NaNs as second
5280 argument. Use TEST_NAN_SIGN.
5281 (fabs_test_data): Add test of negative quiet NaN argument. Use
5282 TEST_NAN_SIGN.
5283 (signbit_test_data): Add tests of quiet NaN argument.
5284 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
5285
ee1466a9
JM
5286 * math/gen-libm-test.pl (show_exceptions): Take extra argument
5287 $ignore_result.
5288 (parse_args): Handle function results specified as IGNORE.
5289 * math/libm-test.inc (IGNORE_RESULT): New macro.
5290 (check_float_internal): Do not check numerical result if flag
5291 IGNORE_RESULT set.
5292 (check_complex): Pass through IGNORE_RESULT to second
5293 check_float_internal call.
5294 (check_int): Do not check numerical result if flag IGNORE_RESULT
5295 set.
5296 (check_long): Likewise.
5297 (check_bool): Likewise.
5298 (check_longlong): Likewise.
5299 (lrint_test_data): Add tests of infinite and NaN arguments.
5300 (lrint_tonearest_test_data): Likewise.
5301 (lrint_towardzero_test_data): Likewise.
5302 (lrint_downward_test_data): Likewise.
5303 (lrint_upward_test_data): Likewise.
5304 (llrint_test_data): Likewise.
5305 (llrint_tonearest_test_data): Likewise.
5306 (llrint_towardzero_test_data): Likewise.
5307 (llrint_downward_test_data): Likewise.
5308 (llrint_upward_test_data): Likewise.
5309 (lround_test_data): Likewise.
5310 (llround_test_data): Likewise.
5311
14407b7e
JM
5312 * math/libm-test.inc (NO_TEST_INLINE): New macro.
5313 (ERRNO_UNCHANGED): Update value.
5314 (ERRNO_EDOM): Likewise.
5315 (ERRNO_ERANGE): Likewise.
5316 (NO_TEST_INLINE_FLOAT): New macro.
5317 (NO_TEST_INLINE_DOUBLE): Likewise.
5318 (enable_test): New function.
5319 (RUN_TEST_f_f): Check enable_test before running test.
5320 (RUN_TEST_2_f): Likewise.
5321 (RUN_TEST_fff_f): Likewise.
5322 (RUN_TEST_c_f): Likewise.
5323 (RUN_TEST_f_f1): Likewise.
5324 (RUN_TEST_fF_f1): Likewise.
5325 (RUN_TEST_fI_f1): Likewise.
5326 (RUN_TEST_ffI_f1): Likewise.
5327 (RUN_TEST_c_c): Likewise.
5328 (RUN_TEST_cc_c): Likewise.
5329 (RUN_TEST_f_i): Likewise.
5330 (RUN_TEST_f_i_tg): Likewise.
5331 (RUN_TEST_ff_i_tg): Likewise.
5332 (RUN_TEST_f_b): Likewise.
5333 (RUN_TEST_f_b_tg): Likewise.
5334 (RUN_TEST_f_l): Likewise.
5335 (RUN_TEST_f_L): Likewise.
5336 (RUN_TEST_fFF_11): Likewise.
5337 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
5338 conditionals.
5339 (cosh_test_data): Likewise.
5340 (exp_test_data): Likewise.
5341 (expm1_test_data): Likewise.
5342 (hypot_test_data): Likewise.
5343 (pow_test_data): Likewise.
5344 (sinh_test_data): Likewise.
5345 (tanh_test_data): Likewise.
5346 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
5347 flags argument.
5348
ca07f197
JM
5349 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
5350 tests with quiet NaN input and output.
5351 (acosh_test_data): Likewise.
5352 (asin_test_data): Likewise.
5353 (asinh_test_data): Likewise.
5354 (atan_test_data): Likewise.
5355 (atanh_test_data): Likewise.
5356 (atan2_test_data): Likewise.
5357 (cbrt_test_data): Likewise.
5358 (cos_test_data): Likewise.
5359 (cosh_test_data): Likewise.
5360 (erf_test_data): Likewise.
5361 (erfc_test_data): Likewise.
5362 (exp_test_data): Likewise.
5363 (exp10_test_data): Likewise.
5364 (exp2_test_data): Likewise.
5365 (expm1_test_data): Likewise.
5366 (hypot_test_data): Likewise.
5367 (j0_test_data): Likewise.
5368 (j1_test_data): Likewise.
5369 (jn_test_data): Likewise.
5370 (lgamma_test_data): Likewise.
5371 (log_test_data): Likewise.
5372 (log10_test_data): Likewise.
5373 (log1p_test_data): Likewise.
5374 (log2_test_data): Likewise.
5375 (pow_test_data): Likewise.
5376 (scalb_test_data): Likewise.
5377 (sin_test_data): Likewise.
5378 (sincos_test_data): Likewise.
5379 (sinh_test_data): Likewise.
5380 (tan_test_data): Likewise.
5381 (tanh_test_data): Likewise.
5382 (tgamma_test_data): Likewise.
5383 (y0_test_data): Likewise.
5384 (y1_test_data): Likewise.
5385 (yn_test_data): Likewise.
5386
66294491
JM
5387 [BZ #16167]
5388 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
5389 argument being NaN and avoid computations with second argument in
5390 that case.
5391 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5392 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5393 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5394
1820b143
CL
53952013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
5396
5397 * locale/iso-639.def: Add Chitwani Tharu (the).
5398
714bd261
AS
53992013-11-14 Andreas Schwab <schwab@suse.de>
5400
5401 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
5402 word instead of empty string.
5403
7ab44563
AZ
54042013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5405
5406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5407 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
5408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5409 (__fe_nomask_env): Likewise.
5410
e8470ea2
SE
54112013-11-13 Steve Ellcey <sellcey@mips.com>
5412
5413 * benchtests/bench-timing.h: Include time.h.
5414
17c1d9f0
L
54152013-11-13 H.J. Lu <hongjiu.lu@intel.com>
5416
5417 [BZ #15997]
5418 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
5419 to 3.4.0 for x32.
5420 * sysdeps/unix/sysv/linux/configure: Regenerated.
5421
9310c284
JM
54222013-11-13 Joseph Myers <joseph@codesourcery.com>
5423
5424 [BZ #16151]
5425 * stdlib/strtod_l.c (round_and_return): Do not consider
5426 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
5427 exponent one less than half the least subnormal exponent.
5428 * stdlib/test-strtod-round-data: Add more tests.
5429 * stdlib/tst-strtod-round.c (tests): Regenerated.
5430
7a2ad8cf
AZ
54312013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5432
5433 [BZ #14143]
5434 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
5435 (__fe_mask_env): Likewise.
5436 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
5437 libm_hidden_proto and add function prototype.
5438 (__fe_mask_env): Add function prototype.
5439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5440 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
5441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5442 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
5443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5444 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
5445
50727aa7
MS
54462013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5447
b2f386c1 5448 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
5449 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
5450
a615be46
MS
54512013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5452
5453 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
5454 of htab_find_slot().
5455
7ddace62
DM
54562013-11-11 David S. Miller <davem@davemloft.net>
5457
5458 [BZ #16150]
5459 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
5460 symbol in the non-vis3 case in static builds.
5461 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
5462 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
5463 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
5464 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
5465
9182aa67
JK
54662013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5467
5468 [BZ #387]
5469 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
5470 it is empty.
5471
450a2e2d
AZ
54722013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5473
b2f386c1
SP
5474 * benchtests/Makefile: Add bench-strtod.
5475 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 5476
8ec3f656
AS
54772013-11-11 Andreas Schwab <schwab@suse.de>
5478
5479 [BZ #16153]
5480 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
5481 terminating NUL in key length.
5482
76a9b998
AZ
54832013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5484
5485 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
5486 Add artificial ODP entry for vDSO symbol for PPC64.
5487 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
5488 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5489
e4368156
OB
54902013-11-07 Ondřej Bílka <neleai@seznam.cz>
5491
5492 [BZ #15374]
5493 * nss/getent.c (services_keys): Recognize services starting with digit.
5494
8d6bb57c
DM
54952013-11-06 David S. Miller <davem@davemloft.net>
5496
5497 [BZ #15985]
5498 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
5499 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
5500
e256c421
WN
55012013-11-06 Will Newton <will.newton@linaro.org>
5502
5503 * manual/memory.texi (Malloc Examples): Remove register
5504 keyword from examples.
5505
f6e12daa 55062013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 5507
f6e12daa 5508 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 5509
9d880655
AS
55102013-11-04 Joseph Myers <joseph@codesourcery.com>
5511
fd2f9486 5512 [BZ #6981]
9d880655
AS
5513 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
5514 depending on [__GCC_IEC_559 > 0].
5515 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
5516 depending on [__GCC_IEC_559_COMPLEX > 0].
5517
ae129d3c
CL
55182013-11-03 Chris Leonard <cjl@sugarlabs.org>
5519
5520 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
5521 to iso-639.def.
5522
4a15c2a4 55232013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
5524
5525 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
5526
8b35e35d
OB
55272013-11-01 Ondřej Bílka <neleai@seznam.cz>
5528
5529 [BZ #16112]
5530 * malloc/malloc (malloc_info): Do not handle first bin as
5531 special case.
5532
1d70fd6c
CL
55332013-11-01 Chris Leonard <cjl@sugarlabs.org>
5534
5535 * locale/iso-639.def: Add Central Nahuatl (nhn).
5536
8c5c2600
BH
55372013-11-01 Bruno Haible <bruno@clisp.org>
5538
5539 [BZ #7003]
5540 * manual/math.texi (BSD Random): Specify range upper bound as
5541 in POSIX.
5542
da5579c2
CL
55432013-10-31 Chris Leonard <cjl@sugarlabs.org>
5544
5545 * locale/iso-639.def: Add Meadow Mari (mhr).
5546
5d30d853
OB
55472013-10-31 Ondřej Bílka <neleai@seznam.cz>
5548
5549 [BZ #14752], [BZ #15763]
5550 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
5551 Validate name.
5552 * rt/tst_shm.c: Add test for escaping directory.
5553
a4966c61
AS
55542013-10-31 Andreas Schwab <schwab@suse.de>
5555
8a43e768 5556 [BZ #15917]
a4966c61
AS
5557 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
5558 followed by 'x' as part of digit sequence.
5559 * stdio-common/tst-sscanf.c (double_tests2): New tests.
5560
28d708c4
MAP
55612013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
5562
5563 [BZ #16037]
5564 * configure.ac: allow GNU Make 4.0 and greater.
5565 * configure: Regenerated.
5566
a56ee40b
WN
55672013-10-30 Will Newton <will.newton@linaro.org>
5568
5569 [BZ #16038]
5570 * malloc/hooks.c (memalign_check): Limit alignment to the
5571 maximum representable power of two.
5572 * malloc/malloc.c (__libc_memalign): Likewise.
5573 * malloc/tst-memalign.c (do_test): Add test for very
5574 large alignment values.
5575 * malloc/tst-posix_memalign.c (do_test): Likewise.
5576
c6e4925d
OB
55772013-10-30 Ondřej Bílka <neleai@seznam.cz>
5578
5579 [BZ #11087]
5580 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
5581 (munmap_chunk): Likewise.
5582 (mremap_chunk): Likewise.
5583
55842013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 5585
8a43e768 5586 [BZ #15799]
bbea82f7
OB
5587 * stdlib/div.c (div): Remove obsolete code.
5588 * stdlib/ldiv.c (ldiv): Likewise.
5589 * stdlib/lldiv.c (lldiv): Likewise.
5590
977f4b31
SP
55912013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5592
5593 [BZ #16071]
5594 * nss/nss_files/files-XXX.c (get_contents_ret): New
5595 enumerator.
5596 (get_contents): New function.
5597 (internal_getent): Use it. Expand size of LINEBUFLEN.
5598
cb8a6dbd
MF
55992013-10-30 Mike Frysinger <vapier@gentoo.org>
5600
5601 * configure.in: Moved to ...
5602 * configure.ac: ... here. Change reference to configure.in
5603 to configure.ac.
5604 * sysdeps/arm/preconfigure.ac: ... here.
5605 configure.in to configure.ac.
5606 * sysdeps/gnu/configure.in: Moved to ...
5607 * sysdeps/gnu/configure.ac: ... here.
5608 * sysdeps/i386/configure.in: Moved to ...
5609 * sysdeps/i386/configure.ac: ... here.
5610 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
5611 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
5612 * sysdeps/mach/configure.in: Moved to ...
5613 * sysdeps/mach/configure.ac: ... here.
5614 * sysdeps/mach/hurd/configure.in: Moved to ...
5615 * sysdeps/mach/hurd/configure.ac: ... here.
5616 * sysdeps/powerpc/configure.in: Moved to ...
5617 * sysdeps/powerpc/configure.ac: ... here.
5618 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
5619 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
5620 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
5621 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
5622 * sysdeps/s390/s390-32/configure.in: Moved to ...
5623 * sysdeps/s390/s390-32/configure.ac: ... here.
5624 * sysdeps/s390/s390-64/configure.in: Moved to ...
5625 * sysdeps/s390/s390-64/configure.ac: ... here.
5626 * sysdeps/sh/configure.in: Moved to ...
5627 * sysdeps/sh/configure.ac: ... here.
5628 * sysdeps/sparc/configure.in: Moved to ...
5629 * sysdeps/sparc/configure.ac: ... here.
5630 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
5631 * sysdeps/unix/sysv/linux/configure.ac: ... here.
5632 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
5633 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
5634 * sysdeps/x86_64/configure.in: Moved to ...
5635 * sysdeps/x86_64/configure.ac: ... here.
5636 * sysdeps/x86_64/preconfigure.in: Moved to ...
5637 * sysdeps/x86_64/preconfigure.ac: ... here.
5638 * aclocal.m4: Change reference to configure.in to configure.ac.
5639 * config.h.in: Likewise.
5640 * manual/install.texi: Likewise.
5641 * manual/maint.texi: Likewise.
5642 * Makefile: Likewise.
5643 * malloc/Makefile: Likewise.
5644 * nscd/Makefile: Likewise.
5645 * Makeconfig: Change reference to configure.in and
5646 preconfigure.in to configure.ac and preconfigure.ac
5647 respectively.
5648 * INSTALL: Regenerated.
5649 * configure: Likewise.
5650 * sysdeps/gnu/configure: Likewise.
5651 * sysdeps/i386/configure: Likewise.
5652 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
5653 * sysdeps/mach/configure: Likewise.
5654 * sysdeps/mach/hurd/configure: Likewise.
5655 * sysdeps/powerpc/configure: Likewise.
5656 * sysdeps/powerpc/powerpc32/configure: Likewise.
5657 * sysdeps/powerpc/powerpc64/configure: Likewise.
5658 * sysdeps/s390/s390-32/configure: Likewise.
5659 * sysdeps/s390/s390-64/configure: Likewise.
5660 * sysdeps/sh/configure: Likewise.
5661 * sysdeps/sparc/configure: Likewise.
5662 * sysdeps/unix/sysv/linux/configure: Likewise.
5663 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
5664 * sysdeps/x86_64/configure: Likewise.
5665 * sysdeps/x86_64/preconfigure: Likewise.
5666
36a4953a
AS
56672013-10-29 Andreas Schwab <schwab@suse.de>
5668
5669 * stdio-common/Makefile (tst-swscanf-ENV): Define.
5670
c79a1204
SP
56712013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5672
dfa1b402
SP
5673 * benchtests/pow-inputs: Add new inputs.
5674
54f73d9c
SP
5675 * benchtests/exp-inputs: Add new inputs.
5676
c79a1204
SP
5677 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
5678 conditional check for return value.
5679 (__cos32): Likewise.
5680
67beb545 56812013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
5682
5683 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
5684 to provide a boost for large inputs with word alignment.
5685 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
5686 implementation based on optimized PPC64 strcpy.
5687 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
5688 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
5689 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
5690 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
5691
151659f6
OB
56922013-10-25 Ondřej Bílka <neleai@seznam.cz>
5693
482a077e 5694 [BZ #2801]
151659f6
OB
5695 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
5696
10b0f26b
OB
56972013-10-25 Ondřej Bílka <neleai@seznam.cz>
5698
5699 [BZ #14876]
5700 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
5701 * time/tst-strptime.c (day_tests): Add testcase.
5702
ca42d35e
OB
57032013-10-25 Ondřej Bílka <neleai@seznam.cz>
5704
482a077e 5705 [BZ #14029]
ca42d35e
OB
5706 * manual/pattern.texi: Acknowledge that fnmatch can fail.
5707
52e6d801
FB
57082013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
5709
5710 [BZ #16074]
5711 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
5712 MAP_FAILED on error.
5713
7cbcdb36
SP
57142013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5715
5716 [BZ #16072]
5717 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
5718 heap for large requests.
5719
894f3f10
AM
57202013-10-25 Aurelien Jarno <aurelien@aurel32.net>
5721
5722 [BZ #9954]
5723 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
5724 result if the result has no associated interface.
5725 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
5726 interface for all 127.X.Y.Z addresses.
5727
b85545a6
CL
57282013-10-24 Chris Leonard <cjl@sugarlabs.org>
5729
5730 * locale/iso-639.def: Add Ligurian (lij)
5731
d1f23d46
OB
57322013-10-21 Ondřej Bílka <neleai@seznam.cz>
5733
5734 [BZ #15825]
5735 * sunrpc/rpc_main.c: Document rpcgen -5.
5736
4db5b08f
MS
57372013-10-19 Michael Stahl <mstahl@redhat.com>
5738
5739 * elf/rtld.c (do_preload): Print the reason why preloading failed.
5740
a471e96a
OB
57412013-10-19 Ondřej Bílka <neleai@seznam.cz>
5742
d1f23d46 5743 [BZ #10278]
a471e96a
OB
5744 * posix/glob.c: Match only directories when trailing slash is present.
5745 * posix/tst-gnuglob.c (my_opendir): Do not open files.
5746 (main): Add testcase.
5747
45c30c61
OB
57482013-10-19 Ondřej Bílka <neleai@seznam.cz>
5749
5750 [BZ #15670]
5751 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
5752
484c12fb
CD
57532013-10-18 Carlos O'Donell <carlos@redhat.com>
5754
3d7dc513
CD
5755 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
5756 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
5757 AUTH_DES and cindex for FIPS 140-2.
5758 (DES Encryption): Add cindex FIPS 46-3.
5759
484c12fb
CD
5760 * locale/locarchive.h (struct locarhandle): Add fname.
5761 * locale/programs/localedef.c (main): Pass ARGV[remaining]
5762 if an optional argument was specified to --list-archive,
5763 otherwise NULL.
5764 * locale/programs/locarchive.c (show_archive_content): Take new
5765 argument fname and pass it via ah.fname to open_archive.
5766 * locale/programs/localedef.h: Update decl.
5767 (open_archive): If AH->fname is non-null, open that file
5768 rather than the default file name, and don't ignore ENOENT.
5769 (create_archive): Set AH.fname to NULL.
5770 (delete_locales_from_archive): Likewise.
5771 (add_locales_to_archive): Likewise.
5772 * locale/programs/locfile.c (write_all_categories): Likewise.
5773
3c8325fb
JM
57742013-10-18 Joseph Myers <joseph@codesourcery.com>
5775 Aldy Hernandez <aldyh@redhat.com>
5776
5777 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
5778 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
5779 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
5780 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
5781 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
5782 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
5783 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
5784 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
5785 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
5786 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
5787 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
5788 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
5789 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
5790 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
5791 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
5792 Likewise.
5793 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
5794 Likewise.
5795 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
5796 Likewise.
5797 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
5798 Likewise.
5799 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
5800 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
5801 Likewise.
5802 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
5803 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
5804 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
5805 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
5806 Likewise.
5807 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
5808 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
5809 * sysdeps/powerpc/preconfigure: Likewise.
5810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
5811 Likewise.
5812 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
5813 Replace contents of file by #include of <fenv_libc.h>.
5814 * sysdeps/powerpc/soft-fp/sfp-machine.h
5815 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
5816 and <sys/prctl.h>.
5817 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
5818 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
5819 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
5820 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
5821 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
5822 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
5823 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
5824 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
5825 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
5826 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
5827 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
5828 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
5829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5830 Allow copysignl PLT reference to be missing.
5831
5abe0682
RS
58322013-10-18 Richard Sandiford <richard@codesourcery.com>
5833 Joseph Myers <joseph@codesourcery.com
5834
5835 [BZ #15948]
5836 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
5837 single character.
5838 (add_to_tablewc): Assert sequence of wide characters is nonempty.
5839
c7738d08
SP
58402013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5841
5842 * elf/tst-tls-dlinfo.c: Don't include tls.h.
5843 * elf/tst-tls1.c: Likewise.
5844 * elf/tst-tls10.h: Likewise.
5845 * elf/tst-tls14.c: Likewise.
5846 * elf/tst-tls2.c: Likewise.
5847 * elf/tst-tls3.c: Likewise.
5848 * elf/tst-tls4.c: Likewise.
5849 * elf/tst-tls5.c: Likewise.
5850 * elf/tst-tls6.c: Likewise.
5851 * elf/tst-tls7.c: Likewise.
5852 * elf/tst-tls8.c: Likewise.
5853 * elf/tst-tls9.c: Likewise.
5854 * elf/tst-tlsmod1.c: Likewise.
5855 * elf/tst-tlsmod13.c: Likewise.
5856 * elf/tst-tlsmod13a.c: Likewise.
5857 * elf/tst-tlsmod14a.c: Likewise.
5858 * elf/tst-tlsmod16a.c: Likewise.
5859 * elf/tst-tlsmod16b.c: Likewise.
5860 * elf/tst-tlsmod2.c: Likewise.
5861 * elf/tst-tlsmod3.c: Likewise.
5862 * elf/tst-tlsmod4.c: Likewise.
5863 * elf/tst-tlsmod5.c: Likewise.
5864 * elf/tst-tlsmod6.c: Likewise.
5865
0bfcf2c7
OB
58662013-10-18 Ondřej Bílka <neleai@seznam.cz>
5867
5868 [BZ #12486]
5869 * malloc/malloc.c: remove checks for statistics.
5870
264aad1e
OB
58712013-10-17 Ondřej Bílka <neleai@seznam.cz>
5872
5873 [BZ #15277]
5874 * inet/inet_net.c (inet_network): Detect additional invalid strings.
5875 * inet/tst-network.c: Add testcase.
5876
b957ced8
AS
58772013-10-17 Andreas Schwab <schwab@suse.de>
5878
5879 [BZ #15218]
5880 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
5881 to determine canonical name.
5882
c5d5d574
OB
58832013-10-17 Ondřej Bílka <neleai@seznam.cz>
5884
5885 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
5886 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
5887 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5888 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5889 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5890 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5891 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5892 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5893 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5894 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5895 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5896 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5897 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5898 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5899 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5900 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5901 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5902 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5903 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5904 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5905 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5906 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5907 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5908 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
5909 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
5910 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5911 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5912 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
5913 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5914 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
5915 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5916 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5917 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5918 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5919 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5920 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5921 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5922 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5923 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5924 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5925 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5926 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5927 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5928 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5929 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5930 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5931 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5932 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5933 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5934 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5935 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5936 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5937 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5938 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5939 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5940 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5941 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5942 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5943
e5c2c2d0
JM
59442013-10-17 Joseph Myers <joseph@codesourcery.com>
5945
5946 [BZ #16041]
5947 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
5948 make result into a quiet NaN.
5949
51ca9e29
JM
59502013-10-16 Joseph Myers <joseph@codesourcery.com>
5951
5952 * soft-fp/adddf3.c: Fix horizontal whitespace.
5953 * soft-fp/addsf3.c: Likewise.
5954 * soft-fp/addtf3.c: Likewise.
5955 * soft-fp/divdf3.c: Likewise.
5956 * soft-fp/divsf3.c: Likewise.
5957 * soft-fp/divtf3.c: Likewise.
5958 * soft-fp/double.h: Likewise.
5959 * soft-fp/eqdf2.c: Likewise.
5960 * soft-fp/eqsf2.c: Likewise.
5961 * soft-fp/eqtf2.c: Likewise.
5962 * soft-fp/extenddftf2.c: Likewise.
5963 * soft-fp/extended.h: Likewise.
5964 * soft-fp/extendsfdf2.c: Likewise.
5965 * soft-fp/extendsftf2.c: Likewise.
5966 * soft-fp/extendxftf2.c: Likewise.
5967 * soft-fp/fixdfdi.c: Likewise.
5968 * soft-fp/fixdfsi.c: Likewise.
5969 * soft-fp/fixdfti.c: Likewise.
5970 * soft-fp/fixsfdi.c: Likewise.
5971 * soft-fp/fixsfsi.c: Likewise.
5972 * soft-fp/fixsfti.c: Likewise.
5973 * soft-fp/fixtfdi.c: Likewise.
5974 * soft-fp/fixtfsi.c: Likewise.
5975 * soft-fp/fixtfti.c: Likewise.
5976 * soft-fp/fixunsdfdi.c: Likewise.
5977 * soft-fp/fixunsdfsi.c: Likewise.
5978 * soft-fp/fixunsdfti.c: Likewise.
5979 * soft-fp/fixunssfdi.c: Likewise.
5980 * soft-fp/fixunssfsi.c: Likewise.
5981 * soft-fp/fixunssfti.c: Likewise.
5982 * soft-fp/fixunstfdi.c: Likewise.
5983 * soft-fp/fixunstfsi.c: Likewise.
5984 * soft-fp/fixunstfti.c: Likewise.
5985 * soft-fp/floatdidf.c: Likewise.
5986 * soft-fp/floatdisf.c: Likewise.
5987 * soft-fp/floatditf.c: Likewise.
5988 * soft-fp/floatsidf.c: Likewise.
5989 * soft-fp/floatsisf.c: Likewise.
5990 * soft-fp/floatsitf.c: Likewise.
5991 * soft-fp/floattidf.c: Likewise.
5992 * soft-fp/floattisf.c: Likewise.
5993 * soft-fp/floattitf.c: Likewise.
5994 * soft-fp/floatundidf.c: Likewise.
5995 * soft-fp/floatundisf.c: Likewise.
5996 * soft-fp/floatunditf.c: Likewise.
5997 * soft-fp/floatunsidf.c: Likewise.
5998 * soft-fp/floatunsisf.c: Likewise.
5999 * soft-fp/floatunsitf.c: Likewise.
6000 * soft-fp/floatuntidf.c: Likewise.
6001 * soft-fp/floatuntisf.c: Likewise.
6002 * soft-fp/floatuntitf.c: Likewise.
6003 * soft-fp/fmadf4.c: Likewise.
6004 * soft-fp/fmasf4.c: Likewise.
6005 * soft-fp/fmatf4.c: Likewise.
6006 * soft-fp/gedf2.c: Likewise.
6007 * soft-fp/gesf2.c: Likewise.
6008 * soft-fp/getf2.c: Likewise.
6009 * soft-fp/ledf2.c: Likewise.
6010 * soft-fp/lesf2.c: Likewise.
6011 * soft-fp/letf2.c: Likewise.
6012 * soft-fp/muldf3.c: Likewise.
6013 * soft-fp/mulsf3.c: Likewise.
6014 * soft-fp/multf3.c: Likewise.
6015 * soft-fp/negdf2.c: Likewise.
6016 * soft-fp/negsf2.c: Likewise.
6017 * soft-fp/negtf2.c: Likewise.
6018 * soft-fp/op-1.h: Likewise.
6019 * soft-fp/op-2.h: Likewise.
6020 * soft-fp/op-4.h: Likewise.
6021 * soft-fp/op-8.h: Likewise.
6022 * soft-fp/op-common.h: Likewise.
6023 * soft-fp/quad.h: Likewise.
6024 * soft-fp/single.h: Likewise.
6025 * soft-fp/soft-fp.h: Likewise.
6026 * soft-fp/sqrtdf2.c: Likewise.
6027 * soft-fp/sqrtsf2.c: Likewise.
6028 * soft-fp/sqrttf2.c: Likewise.
6029 * soft-fp/subdf3.c: Likewise.
6030 * soft-fp/subsf3.c: Likewise.
6031 * soft-fp/subtf3.c: Likewise.
6032 * soft-fp/truncdfsf2.c: Likewise.
6033 * soft-fp/trunctfdf2.c: Likewise.
6034 * soft-fp/trunctfsf2.c: Likewise.
6035 * soft-fp/trunctfxf2.c: Likewise.
6036 * soft-fp/unorddf2.c: Likewise.
6037 * soft-fp/unordsf2.c: Likewise.
6038 * soft-fp/unordtf2.c: Likewise.
6039
9ebb0332
JM
60402013-10-15 Joseph Myers <joseph@codesourcery.com>
6041
6042 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
6043 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
6044
4b1a6d8b
OB
60452013-10-15 Ondřej Bílka <neleai@seznam.cz>
6046
6047 * elf/dl-libc.c: Clear initfini list after freeing.
6048
1e145589
JM
60492013-10-14 Joseph Myers <joseph@codesourcery.com>
6050
6051 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
6052 * soft-fp/addsf3.c: Likewise.
6053 * soft-fp/addtf3.c: Likewise.
6054 * soft-fp/divdf3.c: Likewise.
6055 * soft-fp/divsf3.c: Likewise.
6056 * soft-fp/divtf3.c: Likewise.
6057 * soft-fp/double.h: Likewise.
6058 * soft-fp/eqdf2.c: Likewise.
6059 * soft-fp/eqsf2.c: Likewise.
6060 * soft-fp/eqtf2.c: Likewise.
6061 * soft-fp/extenddftf2.c: Likewise.
6062 * soft-fp/extended.h: Likewise.
6063 * soft-fp/extendsfdf2.c: Likewise.
6064 * soft-fp/extendsftf2.c: Likewise.
6065 * soft-fp/extendxftf2.c: Likewise.
6066 * soft-fp/fixdfdi.c: Likewise.
6067 * soft-fp/fixdfsi.c: Likewise.
6068 * soft-fp/fixdfti.c: Likewise.
6069 * soft-fp/fixsfdi.c: Likewise.
6070 * soft-fp/fixsfsi.c: Likewise.
6071 * soft-fp/fixsfti.c: Likewise.
6072 * soft-fp/fixtfdi.c: Likewise.
6073 * soft-fp/fixtfsi.c: Likewise.
6074 * soft-fp/fixtfti.c: Likewise.
6075 * soft-fp/fixunsdfdi.c: Likewise.
6076 * soft-fp/fixunsdfsi.c: Likewise.
6077 * soft-fp/fixunsdfti.c: Likewise.
6078 * soft-fp/fixunssfdi.c: Likewise.
6079 * soft-fp/fixunssfsi.c: Likewise.
6080 * soft-fp/fixunssfti.c: Likewise.
6081 * soft-fp/fixunstfdi.c: Likewise.
6082 * soft-fp/fixunstfsi.c: Likewise.
6083 * soft-fp/fixunstfti.c: Likewise.
6084 * soft-fp/floatdidf.c: Likewise.
6085 * soft-fp/floatdisf.c: Likewise.
6086 * soft-fp/floatditf.c: Likewise.
6087 * soft-fp/floatsidf.c: Likewise.
6088 * soft-fp/floatsisf.c: Likewise.
6089 * soft-fp/floatsitf.c: Likewise.
6090 * soft-fp/floattidf.c: Likewise.
6091 * soft-fp/floattisf.c: Likewise.
6092 * soft-fp/floattitf.c: Likewise.
6093 * soft-fp/floatundidf.c: Likewise.
6094 * soft-fp/floatundisf.c: Likewise.
6095 * soft-fp/floatunsidf.c: Likewise.
6096 * soft-fp/floatunsisf.c: Likewise.
6097 * soft-fp/floatuntidf.c: Likewise.
6098 * soft-fp/floatuntisf.c: Likewise.
6099 * soft-fp/floatuntitf.c: Likewise.
6100 * soft-fp/fmadf4.c: Likewise.
6101 * soft-fp/fmasf4.c: Likewise.
6102 * soft-fp/fmatf4.c: Likewise.
6103 * soft-fp/gedf2.c: Likewise.
6104 * soft-fp/gesf2.c: Likewise.
6105 * soft-fp/getf2.c: Likewise.
6106 * soft-fp/ledf2.c: Likewise.
6107 * soft-fp/lesf2.c: Likewise.
6108 * soft-fp/letf2.c: Likewise.
6109 * soft-fp/muldf3.c: Likewise.
6110 * soft-fp/mulsf3.c: Likewise.
6111 * soft-fp/multf3.c: Likewise.
6112 * soft-fp/negdf2.c: Likewise.
6113 * soft-fp/negsf2.c: Likewise.
6114 * soft-fp/negtf2.c: Likewise.
6115 * soft-fp/op-1.h: Likewise.
6116 * soft-fp/op-2.h: Likewise.
6117 * soft-fp/op-4.h: Likewise.
6118 * soft-fp/op-8.h: Likewise.
6119 * soft-fp/op-common.h: Likewise.
6120 * soft-fp/quad.h: Likewise.
6121 * soft-fp/single.h: Likewise.
6122 * soft-fp/soft-fp.h: Likewise.
6123 * soft-fp/sqrtdf2.c: Likewise.
6124 * soft-fp/sqrtsf2.c: Likewise.
6125 * soft-fp/sqrttf2.c: Likewise.
6126 * soft-fp/subdf3.c: Likewise.
6127 * soft-fp/subsf3.c: Likewise.
6128 * soft-fp/subtf3.c: Likewise.
6129 * soft-fp/truncdfsf2.c: Likewise.
6130 * soft-fp/trunctfdf2.c: Likewise.
6131 * soft-fp/trunctfsf2.c: Likewise.
6132 * soft-fp/trunctfxf2.c: Likewise.
6133 * soft-fp/unorddf2.c: Likewise.
6134 * soft-fp/unordsf2.c: Likewise.
6135 * soft-fp/unordtf2.c: Likewise.
6136
17c48a60
OB
61372013-10-14 Ondřej Bílka <neleai@seznam.cz>
6138
6139 [BZ #15672]
6140 * misc/error.c (error_tail): Fix possible buffer overflow.
6141
cabba934
OB
61422013-10-14 Aurelien Jarno <aurelien@aurel32.net>
6143
6144 [BZ #13028]
6145 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
6146 address.
6147
94bf958a
PM
61482013-10-14 P. J. McDermott <pj@pehjota.net>
6149
6150 [BZ #832]
6151 * elf/ldd.bash.in (try_trace): New function. Delete previous code
6152 testing pipefail option.
6153
71b4dea7
JM
61542013-10-12 Joseph Myers <joseph@codesourcery.com>
6155
6156 * soft-fp/double.h: Indent preprocessor directives inside #if.
6157 * soft-fp/extended.h: Likewise.
6158 * soft-fp/op-2.h: Likewise.
6159 * soft-fp/op-4.h: Likewise.
6160 * soft-fp/op-common.h: Likewise.
6161 * soft-fp/quad.h: Likewise.
6162 * soft-fp/single.h: Likewise.
6163 * soft-fp/soft-fp.h: Likewise.
6164
55602758
YC
61652013-10-12 Yuri Chornoivan <yurchor@ukr.net>
6166
6167 * iconv/iconv_prog.c: Fix typos.
6168 * stdio-common/psiginfo-data.h: Likewise.
6169
9cd83302
RT
61702013-10-12 Reuben Thomas <rrt@sc3d.org>
6171
6172 [BZ #15764]
6173 * locale/setlocale.c: Fix typo.
6174
99fd9f47
JM
61752013-10-12 Joseph Myers <joseph@codesourcery.com>
6176
b7ea74f0
JM
6177 [BZ #16036]
6178 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
6179 signaling NaN arguments.
6180 * soft-fp/unordsf2.c (__unordsf2): Likewise.
6181 * soft-fp/unordtf2.c (__unordtf2): Likewise.
6182
8a509447
JM
6183 [BZ #14910]
6184 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
6185 unordered operands.
6186 * soft-fp/gesf2.c (__gesf2): Likewise.
6187 * soft-fp/getf2.c (__getf2): Likewise.
6188 * soft-fp/ledf2.c (__ledf2): Likewise.
6189 * soft-fp/lesf2.c (__lesf2): Likewise.
6190 * soft-fp/letf2.c (__letf2): Likewise.
6191
98998e9f
JM
6192 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
6193 * soft-fp/eqsf2.c (__eqsf2): Likewise.
6194 * soft-fp/eqtf2.c (__eqtf2): Likewise.
6195 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
6196 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
6197 * soft-fp/fixdfti.c (__fixdfti): Likewise.
6198 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
6199 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
6200 * soft-fp/fixsfti.c (__fixsfti): Likewise.
6201 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
6202 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
6203 * soft-fp/fixtfti.c (__fixtfti): Likewise.
6204 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
6205 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
6206 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
6207 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
6208 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
6209 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
6210 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
6211 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
6212 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
6213 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
6214 * soft-fp/floatdisf.c (__floatdisf): Likewise.
6215 * soft-fp/floatsisf.c (__floatsisf): Likewise.
6216 * soft-fp/floattidf.c (__floattidf): Likewise.
6217 * soft-fp/floattisf.c (__floattisf): Likewise.
6218 * soft-fp/floattitf.c (__floattitf): Likewise.
6219 * soft-fp/floatundidf.c (__floatundidf): Likewise.
6220 * soft-fp/floatundisf.c (__floatundisf): Likewise.
6221 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
6222 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
6223 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
6224 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
6225 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
6226 * soft-fp/gesf2.c (__gesf2): Likewise.
6227 * soft-fp/getf2.c (__getf2): Likewise.
6228 * soft-fp/ledf2.c (__ledf2): Likewise.
6229 * soft-fp/lesf2.c (__lesf2): Likewise.
6230 * soft-fp/letf2.c (__letf2): Likewise.
6231
8edc4a11
JM
6232 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
6233 Undefine and redefine.
6234 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
6235 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
6236 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
6237 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
6238 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6239 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
6240 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6241 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
6242 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6243 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
6244 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6245 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
6246 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6247 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
6248 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6249
8399acaf
JM
6250 [BZ #16032]
6251 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
6252 without decrementing exponent if mantissa >= that for the
6253 denominator, not >.
6254 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
6255 denominator, not >. Decrement exponent in < case instead of
6256 incrementing in >= case.
6257 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
6258 without decrementing exponent if mantissa >= that for the
6259 denominator, not >.
6260
99fd9f47
JM
6261 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
6262 computing saturated result for unsigned overflow.
6263
10e1cf6b
SP
62642013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6265 Jeff Law <law@redhat.com>
6266
6267 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
6268 (atan2Mp): Add systemtap probe marker.
6269 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
6270 (__ieee754_log): Add systemtap probe marker.
6271 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
6272 (atanMp): Add systemtap probe marker.
6273 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
6274 (tanMp): Add systemtap probe marker.
6275 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
6276 (__slowexp): Add systemtap probe marker.
6277 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
6278 (__slowpow): Add systemtap probe marker.
6279 * manual/probes.texi: Document probes.
6280
3d110c7c
EB
62812013-10-11 Eric Biggers <ebiggers3@gmail.com>
6282
6283 [BZ #15362]
6284 * libio/fileops.c (_IO_new_file_write): Return count of bytes
6285 written.
6286 (_IO_new_file_xsputn): Don't return EOF if nothing has been
6287 written.
6288 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
6289 written to buffer but not flushed.
6290 * libio/iofwrite_u.c: Likewise.
6291 * libio/iopadn.c: Return bytes returned even if EOF was
6292 encountered.
6293 * libio/iowpadn.c: Likewise.
6294 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
6295 if _IO_padn does not write the whole buffer.
6296 [!COMPILE_WPRINTF] (PAD): Likewise.
6297
75b4202a
DM
62982013-10-10 David S. Miller <davem@davemloft.net>
6299
6300 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
6301 directory block.
6302
6c6352e6
JM
63032013-10-10 Joseph Myers <joseph@codesourcery.com>
6304
33b853c3
JM
6305 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
6306 instead of FSF address.
6307 * soft-fp/fixdfti.c: Likewise.
6308 * soft-fp/fixsfti.c: Likewise.
6309 * soft-fp/fixtfti.c: Likewise.
6310 * soft-fp/fixunsdfti.c: Likewise.
6311 * soft-fp/fixunssfti.c: Likewise.
6312 * soft-fp/fixunstfti.c: Likewise.
6313 * soft-fp/floattidf.c: Likewise.
6314 * soft-fp/floattisf.c: Likewise.
6315 * soft-fp/floattitf.c: Likewise.
6316 * soft-fp/floatuntidf.c: Likewise.
6317 * soft-fp/floatuntisf.c: Likewise.
6318 * soft-fp/floatuntitf.c: Likewise.
6319 * soft-fp/trunctfxf2.c: Likewise.
6320
6c6352e6
JM
6321 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
6322 * soft-fp/fixdfti.c: Likewise.
6323 * soft-fp/fixsfti.c: Likewise.
6324 * soft-fp/fixtfti.c: Likewise.
6325 * soft-fp/fixunsdfti.c: Likewise.
6326 * soft-fp/fixunssfti.c: Likewise.
6327 * soft-fp/fixunstfti.c: Likewise.
6328 * soft-fp/floattidf.c: Likewise.
6329 * soft-fp/floattisf.c: Likewise.
6330 * soft-fp/floattitf.c: Likewise.
6331 * soft-fp/floatuntidf.c: Likewise.
6332 * soft-fp/floatuntisf.c: Likewise.
6333 * soft-fp/floatuntitf.c: Likewise.
6334 * soft-fp/trunctfxf2.c: Likewise.
6335
3bf78b71
DM
63362013-10-10 David S. Miller <davem@davemloft.net>
6337
6338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6339
6f10289e
JM
63402013-10-10 Joseph Myers <joseph@codsourcery.com>
6341
bd878fc0
JM
6342 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6343 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
6344 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
6345 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
6346 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
6347 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
6348 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
6349
6f10289e
JM
6350 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
6351 for NaNs before doing comparisons on argument.
6352 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
6353 Likewise.
6354
321e2684
WN
63552013-10-10 Will Newton <will.newton@linaro.org>
6356
6357 * malloc/hooks.c (memalign_check): Ensure the value of bytes
6358 passed to _int_memalign does not overflow.
6359
40fefba1
TR
63602013-10-10 Torvald Riegel <triegel@redhat.com>
6361
6362 * scripts/bench.pl: Add include-sources directive.
6363 * benchtests/README: Update documentation.
6364
2ae21ed2
JM
63652013-10-10 Joseph Myers <joseph@codesourcery.com>
6366
dcc2dd3f
JM
6367 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
6368 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
6369 instead of FP_INIT_ROUNDMODE.
6370 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
6371 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
6372
2ae21ed2
JM
6373 [BZ #16034]
6374 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
6375 copy class of input value.
6376 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
6377 not handle exceptions.
6378 * soft-fp/negsf2.c (__negsf2): Likewise.
6379 * soft-fp/negtf2.c (__negtf2): Likewise.
6380 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
6381
cb8f9562
JM
63822013-10-09 Joseph Myers <joseph@codesourcery.com>
6383
6384 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
6385 semicolon. From Linux kernel.
6386
5b60c59d
AB
63872013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
6388
6389 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
6390
b86835ca
YC
63912013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
6392
6393 [BZ #156]
6394 * manual/socket.texi: Added statement about buffer
6395 for gethostbyname2_r.
6396
e7044ea7
OB
63972013-10-08 Ondřej Bílka <neleai@seznam.cz>
6398
6399 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
6400 Use .p2align directive instead, throughout.
6401 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6402 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6403 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
6404 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6405 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6406 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
6407 * sysdeps/x86_64/strchr.S: Likewise.
6408 * sysdeps/x86_64/strrchr.S: Likewise.
6409
09544cbc
SP
64102013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6411
88576635
SP
6412 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
6413
e7b2d1dd
SP
6414 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
6415
09544cbc
SP
6416 * sysdeps/generic/math_private.h (__mpsin1): Remove
6417 declaration.
6418 (__mpcos1): Likewise.
6419 (__mpsin): New argument __range_reduce.
6420 (__mpcos): Likewise.
6421 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6422 (slow): Use __mpsin and __mpcos.
6423 (slow1): Likewise.
6424 (slow2): Likewise.
6425 (sloww): Likewise.
6426 (sloww1): Likewise.
6427 (sloww2): Likewise.
6428 (bsloww): Likewise.
6429 (bsloww1): Likewise.
6430 (bsloww2): Likewise.
6431 (cslow2): Likewise.
6432 (csloww): Likewise.
6433 (csloww1): Likewise.
6434 (csloww2): Likewise.
6435 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
6436 range_reduce. Merge in __mpsin1.
6437 (__mpcos): Likewise.
6438 (__mpsin1): Remove.
6439 (__mpcos1): Likewise.
6440
7602d070
JM
64412013-10-07 Joseph Myers <joseph@codesourcery.com>
6442
6443 * locale/loadlocale.c (_nl_intern_locale_data): Use
6444 LOCFILE_ALIGNED_P.
6445 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
6446 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
6447 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
6448 obstack data is appropriately aligned.
6449 (obstack_int32_grow_fast): Likewise.
6450 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
6451 * locale/programs/locfile.c (add_locale_uint32): Likewise.
6452 (add_locale_uint32_array): Likewise.
6453
a357259b
SP
64542013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6455
6456 * benchtests/Makefile: Remove ARGLIST and RET variables.
6457 ($(objpfx)bench-%.c): Pass only function name to the script.
6458 * benchtests/README: Update documentation.
6459 * benchtests/acos-inputs: Add new directives.
6460 * benchtests/acosh-inputs: Likewise.
6461 * benchtests/asin-inputs: Likewise.
6462 * benchtests/asinh-inputs: Likewise.
6463 * benchtests/atan-inputs: Likewise.
6464 * benchtests/atanh-inputs: Likewise.
6465 * benchtests/cos-inputs: Likewise.
6466 * benchtests/cosh-inputs: Likewise.
6467 * benchtests/exp-inputs: Likewise.
6468 * benchtests/log-inputs: Likewise.
6469 * benchtests/pow-inputs: Likewise.
6470 * benchtests/rint-inputs: Likewise.
6471 * benchtests/sin-inputs: Likewise.
6472 * benchtests/sinh-inputs: Likewise.
6473 * benchtests/tan-inputs: Likewise.
6474 * benchtests/tanh-inputs: Likewise.
6475 * scripts/bench.pl: Add support for new directives.
6476
9ec1b13d
AM
64772013-10-07 Alan Modra <amodra@gmail.com>
6478
6479 * README: Fix careless merge.
6480
8b7d57cd
AM
64812013-10-05 Alan Modra <amodra@gmail.com>
6482
6483 * NEWS: Mention powerpc64le support and bugs fixed.
6484 * README: Both big-endian and little-endian powerpc64 supported.
6485
7b7bab13
ST
64862013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6487
6488 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
6489 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
6490 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
6491 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
6492
d39baad1
RA
64932013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
6494
6495 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
6496 match prototype.
6497
cd78f7e7
JM
64982013-10-04 Joseph Myers <joseph@codesourcery.com>
6499
29d73d86
JM
6500 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
6501 Move -mhard-float appending from
6502 ports/sysdeps/powerpc/powerpc32/Makefile.
6503 [$(with-fp) = yes] (ASFLAGS): Likewise.
6504 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
6505 * sysdeps/powerpc/nofpu: Move directory from
6506 ports/sysdeps/powerpc/nofpu.
6507 * sysdeps/powerpc/soft-fp: Move directory from
6508 ports/sysdeps/powerpc/soft-fp.
6509 * sysdeps/powerpc/powerpc32/405: Move directory from
6510 ports/sysdeps/powerpc/powerpc32/405.
6511 * sysdeps/powerpc/powerpc32/440: Move directory from
6512 ports/sysdeps/powerpc/powerpc32/440.
6513 * sysdeps/powerpc/powerpc32/464: Move directory from
6514 ports/sysdeps/powerpc/powerpc32/464.
6515 * sysdeps/powerpc/powerpc32/476: Move directory from
6516 ports/sysdeps/powerpc/powerpc32/476.
6517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
6518 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
6519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
6520 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
6521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
6522 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
6523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
6524 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
6525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
6526 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
6527 * README: Update for powerpc-*-linux-gnu software floating point
6528 support in libc.
6529
e246b347
JM
6530 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
6531 case to powerpc/powerpc32*.
6532 * sysdeps/unix/sysv/linux/configure: Regenerated.
6533
89c2003e
JM
6534 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
6535 (_FPU_MASK_OM): Define as 0x04.
6536 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
6537 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
6538 0x00c10080.
6539 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
6540 0x0000003c.
6541 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
6542
cd78f7e7
JM
6543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
6544 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6545 getcontext_e500.
6546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
6547 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6548 setcontext_e500.
6549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
6550 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
6551 and setcontext_e500.
6552
c755294d
CL
65532013-10-04 Chris Leonard <cjl@sugarlabs,.org>
6554
6555 * locale/iso-3166.def: Update iso-1366.def and related occurrences
6556
e16d221c
SP
65572013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6558
6559 * manual/threads.texi (Default Thread Attributes): Fix typo.
6560
215c7d43
WN
65612013-10-04 Will Newton <will.newton@linaro.org>
6562
6563 * malloc/Makefile: Add tst-memalign.
6564 * malloc/tst-memalign.c: New file.
6565
27d0461b
WN
6566 * malloc/tst-posix_memalign.c: Add comments.
6567 (do_test): Add comments and call free on all potentially
6568 allocated pointers. Add space after cast.
6569
1bc92709
WN
6570 * malloc/tst-pvalloc.c: Add comments.
6571 (do_test): Add comments and call free on all potentially
6572 allocated pointers. Remove duplicate check for NULL pointer.
6573 Add space after cast.
6574
66a9be9d
WN
6575 * malloc/tst-valloc.c: Add comments.
6576 (do_test): Add comments and call free on all potentially
6577 allocated pointers. Remove duplicate check for NULL pointer.
6578 Add space after cast.
6579
4cb81307
AM
65802013-10-04 Alan Modra <amodra@gmail.com>
6581
6582 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6583 Use stdint types in rather than __attribute__((mode())).
6584 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6585
f8e3e9f3
AM
65862013-10-04 Alan Modra <amodra@gmail.com>
6587
6588 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6589 Correct handling of unaligned relocs for little-endian.
6590 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6591
8f9ebb08
AM
65922013-10-04 Alan Modra <amodra@gmail.com>
6593
6594 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
6595 * configure: Regenerate.
6596 * nptl/shlib-versions: Powerpc*le starts at 2.18.
6597 * shlib-versions: Likewise.
6598
0edf96c2
AM
65992013-10-04 Alan Modra <amodra@gmail.com>
6600
6601 * string/tester.c (test_memrchr): Increment reported test cycle.
6602
e0f7a380
AM
66032013-10-04 Alan Modra <amodra@gmail.com>
6604
6605 * string/test-memcpy.c (do_one_test): When reporting errors, print
6606 string address and don't overrun end of string.
6607
466b0393
AM
66082013-10-04 Alan Modra <amodra@gmail.com>
6609
6610 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
6611 insrdi. Make better use of reg selection to speed exit slightly.
6612 Schedule entry path a little better. Remove useless "are we done"
6613 checks on entry to main loop. Handle wrapping around zero address.
6614 Correct main loop count. Handle single left-over word from main
6615 loop inline rather than by using loop_small. Remove extra word
6616 case in loop_small caused by wrong loop count. Add little-endian
6617 support.
6618 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6619 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
6620 cache hint.
6621 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6622 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
6623 support. Avoid rlwimi.
6624 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
6625
3be87c77
AM
66262013-10-04 Alan Modra <amodra@gmail.com>
6627
6628 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 6629 insrdi. Formatting.
3be87c77
AM
6630 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6631 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6632 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6633 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6634 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6635 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
6636
759cfef3
AM
66372013-10-04 Alan Modra <amodra@gmail.com>
6638
6639 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
6640 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6641 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6642 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
6643 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6644 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6645 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6646 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6647 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
6648 use of regs. Use power7 mtocrf. Tidy function tails.
6649
fe6e95d7
AM
66502013-10-04 Alan Modra <amodra@gmail.com>
6651
6652 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
6653 Formatting. Consistently use rXXX register defines or rN defines.
6654 Use early exit labels that avoid restoring unused non-volatile regs.
6655 Make cr field use more consistent with rWORDn compares. Rename
6656 regs used as shift registers for unaligned loop, using rN defines
6657 for short lifetime/multiple use regs.
6658 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6659 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
6660 addi 1,1,64 to pop stack frame. Simplify return value code.
6661 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6662
664318c3
AM
66632013-10-04 Alan Modra <amodra@gmail.com>
6664
6665 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
6666 support. Correct typos, formatting. Optimize tail. Use insrdi
6667 rather than rlwimi.
6668 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
6669 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
6670 little-endian support. Correct typos.
6671 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
6672 rather than rlwimi.
6673 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
6674 in loop and entry code to keep "and." results.
6675 (strchr): Add little-endian support. Comment. Move cntlzd
6676 earlier in tail.
6677 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
6678
43b84013
AM
66792013-10-04 Alan Modra <amodra@gmail.com>
6680
6681 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
6682 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
6683 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
6684 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
6685
8a7413f9
AM
66862013-10-04 Alan Modra <amodra@gmail.com>
6687
6688 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
6689 (rTMP): Define as r11.
6690 (strcmp): Add little-endian support. Optimise tail.
6691 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
6692 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6693 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6694 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6695 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6696 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6697 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6698
33ee81de
AM
66992013-10-04 Alan Modra <amodra@gmail.com>
6700
6701 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
6702 little-endian support. Remove unnecessary "are we done" tests.
6703 Handle "s" wrapping around zero and extremely large "size".
6704 Correct main loop count. Handle single left-over word from main
6705 loop inline rather than by using small_loop. Correct comments.
6706 Delete "zero" tail, use "end_max" instead.
6707 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
6708
db9b4570
AM
67092013-10-04 Alan Modra <amodra@gmail.com>
6710
6711 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
6712 support. Don't branch over align.
6713 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
6714 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
6715 support. Rearrange tmp reg use to suit. Comment.
6716 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
6717
f7c399cf
AM
67182013-10-04 Alan Modra <amodra@gmail.com>
6719
6720 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
6721
0b2c2ace
AM
67222013-10-04 Alan Modra <amodra@gmail.com>
6723
6724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
6725 conditional form of branch and link when obtaining pc.
6726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6727
02f04a6c
AM
67282013-10-04 Alan Modra <amodra@gmail.com>
6729
6730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
6731 HIWORD/LOWORD.
6732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
6733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
6734
9b874b2f
AM
67352013-10-04 Alan Modra <amodra@gmail.com>
6736
6737 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
6738 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
6739 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
6740 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
6741 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6742 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6743 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
6744 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6745 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
6746 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
6747
be1e5d31
AB
67482013-10-04 Anton Blanchard <anton@au1.ibm.com>
6749 Alistair Popple <alistair@ozlabs.au.ibm.com>
6750 Alan Modra <amodra@gmail.com>
6751
6752 [BZ #15723]
6753 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
6754 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
6755 _dl_hwcap access for little-endian.
6756 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
6757 destroy vmx regs when saving unaligned.
6758 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
6759 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
6760 destroy vmx regs when saving unaligned.
6761
fef13a78
AM
67622013-10-04 Alan Modra <amodra@gmail.com>
6763
6764 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
6765 Don't use a union to pack hi/low value.
6766
76a66d51
AB
67672013-10-04 Anton Blanchard <anton@au1.ibm.com>
6768
6769 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
6770 for little-endian.
6771 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6772 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
6773 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6774 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6775 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6776
6a31fe7f
AM
67772013-10-04 Alan Modra <amodra@gmail.com>
6778
6779 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
6780 constants to usual value for .cst8 section, and remove redundant
6781 high address load.
6782 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
6783 constant for 0x1p52. Load little-endian words of double from
6784 correct stack offsets.
6785
7b88401f
AM
67862013-10-04 Alan Modra <amodra@gmail.com>
6787
6788 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
6789 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
6790 words of double from correct stack offsets.
6791 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
6792 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
6793 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6794 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6795 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6796 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6797 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6798 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
6799 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
6800 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6801 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6802 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6803 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6804 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6805 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6806 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
6807 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
6808
9c008155
AM
68092013-10-04 Alan Modra <amodra@gmail.com>
6810
6811 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
6812 64-bit int/double union.
6813 (_FPU_SETCW): Likewise.
6814 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
6815 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
6816
da13146d
AM
68172013-10-04 Alan Modra <amodra@gmail.com>
6818
6819 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
6820 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
6821
603e8410
AM
68222013-10-04 Alan Modra <amodra@gmail.com>
6823
6824 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
6825 use vector int constants.
6826 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
6827
4a28b3ca
AB
68282013-10-04 Anton Blanchard <anton@au1.ibm.com>
6829
6830 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
6831 array with long long.
6832 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
6833 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
6834 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
6835 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
6836 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
6837 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
6838 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
6839 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
6840 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
6841 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
6842 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
6843 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
6844 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
6845
2ca85d2b
AB
68462013-10-04 Anton Blanchard <anton@au1.ibm.com>
6847
6848 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
6849 (__signbit): Likewise. Correct for little-endian.
6850 (__signbitl): Call __signbit.
6851 (lrint): Correct for little-endian.
6852 (lrintf): Call lrint.
6853
62a728ae
AM
68542013-10-04 Alan Modra <amodra@gmail.com>
6855
6856 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
6857 union 32-bit int array member with 64-bit int array.
6858 (t515, tm256): Double rather than long double.
6859 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
6860
32c301df
AM
68612013-10-04 Alan Modra <amodra@gmail.com>
6862
6863 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
6864 Delete.
6865 (IEEE854_LONG_DOUBLE_BIAS): Delete.
6866 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
6867 version of math_ldbl.h.
6868
650ef4bd
AM
68692013-10-04 Alan Modra <amodra@gmail.com>
6870
6871 [BZ #15734], [BZ #15735]
6872 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
6873 all uses of ieee875 long double macros and unions. Simplify test
6874 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
6875 ldbl_extract_mantissa value for ix,iy exponents. Properly
6876 normalize after ldbl_extract_mantissa, and don't add hidden bit
6877 already handled. Don't treat low word of ieee854 mantissa like
6878 low word of IBM long double and mask off bit when testing for
6879 zero.
6880 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
6881 all uses of ieee875 long double macros and unions. Simplify tests
6882 for 0.0L and inf. Correct double adjustment of k. Delete dead code
6883 adjusting ha,hb. Simplify code setting kld. Delete two600 and
6884 two1022, instead use their values. Recognise that tests for large
6885 "a" and small "b" are mutually exclusive. Rename vars. Comment.
6886 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
6887 Rewrite all uses of ieee875 long double macros and unions. Simplify
6888 test for 0.0L and nan. Correct negation.
6889 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
6890 ieee875 long double macros and unions. Correct output for large
6891 magnitude x. Correct absolute value calculation.
6892 (__erfcl): Likewise.
6893 * math/libm-test.inc: Add tests for errors discovered in IBM long
6894 double versions of fmodl, remainderl, erfl and erfcl.
6895
765714ca
AM
68962013-10-04 Alan Modra <amodra@gmail.com>
6897
6898 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
6899 all uses of ieee854 long double macros and unions. Simplify tests
6900 for long doubles that are fully specified by the high double.
6901 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6902 Likewise.
6903 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
6904 Remove dead code too.
6905 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6906 (__ieee754_ynl): Likewise.
6907 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
6908 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
6909 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6910 Remove dead code too.
6911 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
6912 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6913 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
6914 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
6915 Simplify.
6916 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
6917 Simplify.
6918 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
6919 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
6920 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
6921 Comment on variable precision.
6922 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
6923 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6924 Likewise.
6925 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6926 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6927 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6928 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
6929 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
6930
4ebd120c
AM
69312013-10-04 Alan Modra <amodra@gmail.com>
6932
6933 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
6934 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
6935 all uses of ieee854 long double macros and unions.
6936 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
6937 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6938 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
6939 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
6940 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
6941 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6942 Likewise.
6943 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
6944 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6945 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
6946 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6947 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
6948 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
6949 Simplify sign and nan test too.
6950 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
6951 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
6952 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
6953 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
6954 Likewise.
6955 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6956 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
6957 Likewise.
6958 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6959 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6960 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
6961 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
6962 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
6963 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
6964
1b6adf88
AM
69652013-10-04 Alan Modra <amodra@gmail.com>
6966
6967 * stdio-common/printf_size.c (__printf_size): Don't use
6968 union ieee854_long_double in fpnum union.
6969 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
6970 signbit macro to retrieve sign from long double.
6971 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
6972 retrieve sign from long double.
6973 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
6974 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
6975 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
6976 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6977 * math/test-misc.c (main): Don't use union ieee854_long_double.
6978
4cf69995
AM
69792013-10-04 Alan Modra <amodra@gmail.com>
6980
6981 [BZ #15680]
6982 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
6983 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
6984 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
6985 calculation. Remove unnecessary test for denormal exponent.
6986 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
6987 Correct handling of denormals. Avoid undefined shift behaviour.
6988 Correct normalisation of low mantissa when low double is denormal.
6989 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
6990 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
6991 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
6992 Correct normalisation of low mantissa. Test for overflow of high
6993 mantissa and normalise.
6994 (ldbl_nearbyint): Use more readable constant for two52.
6995 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
6996 (__mpn_construct_long_double): Fix test for overflow of high
6997 mantissa and correct normalisation. Avoid undefined shift.
6998
9605ca6c
AM
69992013-10-04 Alan Modra <amodra@gmail.com>
7000
7001 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7002 (union ibm_extended_long_double): Define as an array of ieee754_double.
7003 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
7004 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
7005 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
7006 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7007 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7008 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
7009 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7010 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
7011 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7012 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
7013 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7014
975569d0
JM
70152013-10-03 Joseph Myers <joseph@codesourcery.com>
7016
d3d23756
JM
7017 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
7018 page size instead of calling getpagesize.
7019
975569d0
JM
7020 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
7021 (LOCFILE_ALIGN_MASK): Likewise.
7022 (LOCFILE_ALIGN_UP): Likewise.
7023 (LOCFILE_ALIGNED_P): Likewise.
7024 * locale/programs/ld-collate.c (collate_output): Use the new
7025 macros instead of __alignof__ (int32_t).
7026 * locale/weight.h (findidx): Likewise.
7027
b1fe1f2b
OB
70282013-10-03 Ondřej Bílka <neleai@seznam.cz>
7029
7030 [BZ #431]
7031 * manual/string.texi: Fix strncat and wcsncat.
7032
5f855e35
BM
70332013-10-03 Brooks Moses <bmoses@google.com>
7034
7035 [BZ #15915]
7036 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
7037 * Makerules: ...here, and adjust associated comments.
7038
3cef6009
WN
70392013-10-02 Will Newton <will.newton@linaro.org>
7040
7041 * malloc/Makefile: Add tst-pvalloc.
7042 * malloc/tst-pvalloc.c: New file.
7043
7815420b
WN
70442013-10-02 Will Newton <will.newton@linaro.org>
7045
7046 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
7047 improve test coverage.
7048
4868b204
WN
70492013-10-02 Will Newton <will.newton@linaro.org>
7050
7051 * malloc/Makefile: Add tst-posix_memalign.
7052 * malloc/tst-posix_memalign.c: New file.
7053
29c793b3
EB
70542013-10-01 Eric Blake <eblake@redhat.com>
7055
7056 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
7057 Use __THROWNL rather than __THROW on static functions.
7058
fd967522
PM
70592013-09-30 Petr Machata <pmachata@redhat.com>
7060
7061 * elf/elf.h (R_AARCH64_ABS16): New macro.
7062 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
7063 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
7064 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
7065 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
7066 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
7067 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
7068 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
7069 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
7070 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
7071 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
7072 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
7073 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
7074 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
7075 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
7076 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
7077 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
7078 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
7079 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
7080 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
7081 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
7082 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
7083 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
7084 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
7085 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
7086 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
7087 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
7088 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
7089 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
7090 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
7091 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
7092 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
7093 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
7094 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
7095 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
7096 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
7097 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
7098 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
7099 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
7100 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
7101 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
7102 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
7103 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
7104 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
7105 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
7106 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
7107 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
7108 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
7109 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
7110 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
7111 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
7112 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
7113 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
7114 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
7115 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
7116 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
7117 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
7118 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
7119 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
7120 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
7121 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
7122 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
7123 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
7124 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
7125 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
7126 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
7127 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
7128 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
7129 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
7130 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
7131 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
7132 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
7133 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
7134 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
7135 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
7136 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
7137 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
7138 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
7139 (R_AARCH64_TLSDESC_LDR): Likewise.
7140 (R_AARCH64_TLSDESC_ADD): Likewise.
7141 (R_AARCH64_TLSDESC_CALL): Likewise.
7142
b2179107
AS
71432013-09-30 Andreas Schwab <schwab@suse.de>
7144
7145 [BZ #15048]
7146 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
7147 the nss database lookup.
7148 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7149 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7150
47f28d0a
MF
71512013-09-28 Mike Frysinger <vapier@gentoo.org>
7152
7153 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
7154
71552013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
7156
7157 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
7158 ${Bash-specific parameter/pattern/string} parameter expansion.
7159 * sysdeps/unix/make-syscalls.sh: Likewise.
7160
f4518a17
KK
71612013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7162
7163 * sysdeps/sh/stackguard-macros.h: New file.
7164
dc1a95c7
OB
71652013-09-26 Ondřej Bílka <neleai@seznam.cz>
7166
7167 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7168 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
7169 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
7170 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
7171 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7172 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
7173
5ebbff8f
AZ
71742013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7175
7176 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
7177 Fix thread ID register.
7178
4fd2cf9f
JM
71792013-09-25 Joseph Myers <joseph@codesourcery.com>
7180
7181 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
7182 [POSIX || UNIX98]: Require rather than permitting all symbols from
7183 <time.h>.
7184 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
7185 element of struct sched_param.
7186 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
7187 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
7188 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
7189 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
7190 constant.
7191
12c22bc4
OL
71922013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
7193
7194 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
7195 argument calculation.
7196
a03d8ea7
JM
71972013-09-24 Joseph Myers <joseph@codesourcery.com>
7198
7199 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
7200 Expect macro.
7201 [POSIX] (pthread_attr_t): Do not require type.
7202 [POSIX] (pthread_cond_t): Likewise.
7203 [POSIX] (pthread_condattr_t): Likewise.
7204 [POSIX] (pthread_key_t): Likewise.
7205 [POSIX] (pthread_mutex_t): Likewise.
7206 [POSIX] (pthread_mutexattr_t): Likewise.
7207 [POSIX] (pthread_once_t): Likewise.
7208 [POSIX] (pthread_t): Likewise.
7209 [POSIX-based standards] (pthread_atfork): Expect function.
7210
6055173a
JM
72112013-09-24 Joseph Myers <joseph@codesourcery.com>
7212 Richard Sandiford <richard@codesourcery.com>
7213
7214 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
7215 (swap_endianness_p): New extern variable.
7216 (set_big_endian): New inline function.
7217 (maybe_swap_uint32): Likewise.
7218 (maybe_swap_uint32_array): Likewise.
7219 (maybe_swap_uint32_obstack): Likewise.
7220 * locale/programs/locfile.c: Include <stdbool.h>.
7221 (swap_endianness_p): New variable.
7222 (add_locale_uint32): Call maybe_swap_uint32.
7223 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
7224 (write_locale_data): Call maybe_swap_uint32_array.
7225 * locale/programs/ld-collate.c (obstack_int32_grow): Call
7226 maybe_swap_uint32.
7227 (obstack_int32_grow_fast): Likewise.
7228 (output_weightwc): Call maybe_swap_uint32_obstack.
7229 (collate_output): Likewise.
7230 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
7231 (OPT_LITTLE_ENDIAN): Likewise.
7232 (options): Add --little-endian and --big-endian options.
7233 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
7234 * locale/programs/locarchive.c: Include "locfile.h".
7235 (GET): New macro.
7236 (SET): Likewise.
7237 (INC): Likewise.
7238 (create_archive): Use the new macros to access fields of
7239 structures directly mapped from or written to locale archives.
7240 (oldlocrecentcmp): Likewise.
7241 (enlarge_archive): Likewise.
7242 (insert_name): Likewise.
7243 (add_alias): Likewise.
7244 (add_locale): Likewise.
7245 (delete_locales_from_archive): Likewise.
7246 (show_archive_content): Likewise.
7247 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
7248 locale data.
7249
39bf0bb4
RM
72502013-09-24 Roland McGrath <roland@hack.frob.com>
7251
7252 * manual/freemanuals.texi: Updated from (newly) canonical copy at
7253 http://www.gnu.org/doc/freemanuals.texi.
7254 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
7255
f02eed10
WN
72562013-09-24 Will Newton <will.newton@linaro.org>
7257
7258 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
7259 macro.
7260
a3a6c312
JM
72612013-09-23 Joseph Myers <joseph@codesourcery.com>
7262
7263 * locale/hashval.h (compute_hashval): Interpret bytes of key as
7264 unsigned char.
7265
107375ac
MR
72662013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
7267
7268 * manual/threads.texi (POSIX Threads): Fix a typo.
7269
141f3a77
SP
72702013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7271
303e567a
SP
7272 [BZ #14547]
7273 * string/tst-strcoll-overflow.c: New test case.
7274 * string/Makefile (xtests): Add tst-strcoll-overflow.
7275 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
7276 cache if string sizes may cause integer overflow.
7277
141f3a77
SP
7278 [BZ #14547]
7279 * string/strcoll_l.c (coll_seq): New members rule, idx,
7280 save_idx and back_us.
7281 (get_next_seq_nocache): New function.
7282 (do_compare_nocache): New function.
7283 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
7284 when malloc fails.
7285
c61b4d41
CD
72862013-09-23 Carlos O'Donell <carlos@redhat.com>
7287
0b1f8e35
CD
7288 [BZ #15754]
7289 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
7290 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
7291 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
7292
c61b4d41
CD
7293 [BZ #15754]
7294 * elf/Makefile (tests): Add tst-ptrguard1.
7295 (tests-static): Add tst-ptrguard1-static.
7296 (tst-ptrguard1-ARGS): Define.
7297 (tst-ptrguard1-static-ARGS): Define.
7298 * elf/tst-ptrguard1.c: New file.
7299 * elf/tst-ptrguard1-static.c: New file.
7300 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
7301 * sysdeps/i386/stackguard-macros.h: Likewise.
7302 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
7303 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
7304 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7305 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7306 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
7307 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
7308
73092013-09-23 Hector Marco <hecmargi@upv.es>
7310 Ismael Ripoll <iripoll@disca.upv.es>
7311 Carlos O'Donell <carlos@redhat.com>
7312
7313 [BZ #15754]
7314 * sysdeps/generic/stackguard-macros.h: Define
7315 __pointer_chk_guard_local and POINTER_CHK_GUARD.
7316 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
7317 Define __pointer_chk_guard_local.
7318 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
7319 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
7320
f5f4e7b4
VV
73212013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
7322
7323 [BZ #15859]
7324 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
7325
5bb43a43
AS
73262013-09-20 Andreas Schwab <schwab@linux-m68k.org>
7327
7328 * include/string.h (__ffs): Declare as hidden.
7329 * string/ffs.c (__ffs): Define as hidden.
7330 * sysdeps/i386/ffs.c (__ffs): Likewise.
7331 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
7332 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
7333 * sysdeps/s390/ffs.c (__ffs): Likewise.
7334 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
7335
3ea5be54
AO
73362013-09-20 Alexandre Oliva <aoliva@redhat.com>
7337
ffb89e53
AO
7338 * NEWS: Mention malloc probes.
7339
322dea08
AO
7340 * malloc/arena.c (new_heap): New memory_heap_new probe.
7341 (grow_heap): New memory_heap_more probe.
7342 (shrink_heap): New memory_heap_less probe.
7343 (heap_trim): New memory_heap_free probe.
7344 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
7345 (systrim): New memory_sbrk_less probe.
7346 * manual/probes.texi: Document them.
7347
655673f3
AO
7348 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
7349 * manual/probes.texi: Document it.
7350
35fed6f1
AO
7351 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
7352 (__libc_realloc): Add memory_realloc_retry probe.
7353 (__libc_memalign): Add memory_memalign_retry probe.
7354 (__libc_valloc): Add memory_valloc_retry probe.
7355 (__libc_pvalloc): Add memory_pvalloc_retry probe.
7356 (__libc_calloc): Add memory_calloc_retry probe.
7357 * manual/probes.texi: Document them.
7358
6999d38c
AO
7359 * malloc/arena.c (get_free_list): Add probe
7360 memory_arena_reuse_free_list.
7361 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
7362 and memory_arena_reuse.
7363 (arena_get2) [!PER_THREAD]: Likewise.
7364 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
7365 memory_arena_reuse_realloc.
7366 * manual/probes.texi: Document them.
7367
0653427f
AO
7368 * malloc/malloc.c (__libc_free): Add
7369 memory_mallopt_free_dyn_thresholds probe.
7370 (__libc_mallopt): Add multiple memory_mallopt probes.
7371 * manual/probes.texi: Document them.
7372
3ea5be54
AO
7373 * malloc/malloc.c: Include stap-probe.h.
7374 (__libc_mallopt): Add memory_mallopt probe.
7375 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
7376 * manual/probes.texi: New.
7377 * manual/Makefile (chapters): Add probes.
7378 * manual/threads.texi: Set next node.
7379
e35696c3 73802013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 7381
e35696c3
CL
7382 [BZ #15963, #13985]
7383 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
7384 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
7385 Add `Chinese' to `nan' entry name.
7386
4aafb73c
SP
73872013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7388
7389 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
7390 (POLYNOMIAL): Likewise.
7391 (TAYLOR_SINCOS): Likewise.
7392 (TAYLOR_SLOW): Likewise.
7393 (__sin): Use TAYLOR_SINCOS.
7394 (__cos): Likewise.
7395 (slow): Use TAYLOR_SLOW.
7396 (sloww): Likewise.
7397 (bsloww): Likewise.
7398 (csloww): Likewise.
7399
d84f25c7
LD
74002013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7401
7402 * stdlib/strtod_l.c: Fix buffer overrun.
7403
5eea0404
SP
74042013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7405
7849ff93
SP
7406 * benchtests/Makefile (bench): Add sincos.
7407 * benchtests/bench-sincos.c: New file.
7408
cfa3c886
SP
7409 * math/libm-test.inc (cos_test_data): New test inputs.
7410 (sin_test_data): Likewise.
7411
b348e1e3
SP
7412 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
7413 macro.
7414 (__sin): Use it.
7415 (__cos): Likewise.
7416 (slow1): Likewise.
7417 (slow2): Likewise.
7418 (sloww1): Likewise.
7419 (sloww2): Likewise.
7420 (bsloww1): Likewise.
7421 (bsloww2): Likewise.
7422 (cslow2): Likewise.
7423 (csloww1): Likewise.
7424 (csloww2): Likewise.
7425
6cce25f8
SP
7426 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
7427 function.
7428 (__sin): Use it.
7429 (__cos): Likewise.
7430
5eea0404
SP
7431 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
7432 gotos.
7433 (__cos): Likewise.
7434
9c21573c
MR
74352013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
7436
7437 * config.h.in (HAVE_MIPS_NAN2008): New macro.
7438 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
7439 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
7440 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
7441 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
7442 * elf/cache.c (print_entry): Handle the new cache flags.
7443
24d22e65
JM
74442013-09-18 Joseph Myers <joseph@codesourcery.com>
7445 Aldy Hernandez <aldyh@redhat.com>
7446
7447 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
7448 Change condition to [_SOFT_FLOAT].
7449 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
7450 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
7451 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
7452 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
7453 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
7454 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
7455 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
7456 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
7457 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
7458 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
7459 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
7460 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
7461 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
7462 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
7463 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
7464 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
7465 declaration.
7466
d13ef066
JM
74672013-09-18 Joseph Myers <joseph@codesourcery.com>
7468
2e071de0
JM
7469 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
7470 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7471 (__longjmp): Use LOAD_GP to load saved GPRs.
7472 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
7473 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7474 (__sigsetjmp): Use SAVE_GP to save GPRs.
7475
d13ef066
JM
7476 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
7477 Do not append -msoft-float.
7478 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
7479
97a0650b
SP
74802013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7481
7482 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
7483
11ca09e9
JM
74842013-09-17 Joseph Myers <joseph@codesourcery.com>
7485
7486 [BZ #15966]
7487 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
7488 (_FPU_GETCW): Use initial "__" on variable and field names but not
7489 on macro parameter name.
7490 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
7491 parentheses around reference to macro parameter.
7492
08ffcf34
RS
74932013-09-13 Richard Sandiford <richard@codesourcery.com>
7494
7495 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
7496 prototype.
7497 (ctype_startup): Use uint32_t in cast and sizeof for
7498 ctype->charnames.
7499
ae7080d3
JL
75002013-09-11 Jia Liu <proljc@gmail.com>
7501
7502 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
7503 __daddr_t_defined.
7504 [__FreeBSD__]: Likewise.
7505
5905e7b3
OB
75062013-09-11 Ondřej Bílka <neleai@seznam.cz>
7507
7508 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7509 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
7510 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
7511 (strchr): Remove __strchr_sse42 ifunc selection.
7512 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
7513 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
7514
b987c776
WN
75152013-09-11 Will Newton <will.newton@linaro.org>
7516
7517 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
7518 parameter to RES. Remove hardcoded 1000 value.
7519 * benchtests/bench-skeleton.c (main): Pass RES parameter
7520 to TIMING_INIT and multiply result by 1000.
7521
ddf985af
AZ
75222013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7523
7524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7525
ffdd3181
AS
75262013-09-11 Andreas Schwab <schwab@suse.de>
7527
7528 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7529 if not defined.
7530 (O_TMPFILE) [__USE_GNU]: Define.
7531 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
7532 Define.
7533
b73ed247
WN
75342013-09-11 Will Newton <will.newton@linaro.org>
7535
7536 [BZ #15857]
7537 * malloc/malloc.c (__libc_memalign): Check the value of bytes
7538 does not overflow.
7539
55e17aad
WN
75402013-09-11 Will Newton <will.newton@linaro.org>
7541
7542 [BZ #15856]
7543 * malloc/malloc.c (__libc_valloc): Check the value of bytes
7544 does not overflow.
7545
1159a193
WN
75462013-09-11 Will Newton <will.newton@linaro.org>
7547
7548 [BZ #15855]
7549 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
7550 does not overflow.
7551
5905e7b3 75522013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
7553
7554 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
7555 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7556 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7557 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7558 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7559
cdfc721b
AM
75602013-09-10 Allan McRae <allan@archlinux.org>
7561
aa04af00
AM
7562 [BZ #15748]
7563 * manual/arith.texi (Parsing of Floats): Clarify
7564 cross-reference.
7565
cdfc721b
AM
7566 [BZ #15849]
7567 * manual/install.texi (Running make install): Mention
7568 --enable-pt-chown.
7569 * INSTALL: Regenerated.
7570
95e7cf29
MR
75712013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7572
7573 * csu/init-first.c (_init): Remove the !SHARED condition around
7574 FPU control word initialization.
7575 * elf/dl-support.c (_dl_fpu_control): New variable.
7576 (_dl_aux_init) <AT_FPUCW>: Initialize it.
7577 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
7578 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
7579 * math/test-fpucw-static.c: New file.
7580 * math/test-fpucw-ieee.c: New file.
7581 * math/test-fpucw-ieee-static.c: New file.
7582 * math/Makefile (tests): Add `test-fpucw-ieee' and
7583 `$(tests-static)'.
7584 (tests-static): New variable.
7585 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
7586 dependency to...
7587 [($(build-shared),yes)]
7588 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7589 ... this.
7590 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
7591 New dependency.
7592
83e43bf0
AM
75932013-09-09 Allan McRae <allan@archlinux.org>
7594
a9f5ce09
AM
7595 [BZ #15939]
7596 * manual/string.texi (Collation Functions): Fix typo in
7597 strcoll example.
7598 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
7599
34829bc2
AM
7600 [BZ #15893]
7601 * stdlib/isomac.c (get_null_defines): Fix memory leak.
7602
3932737d
AM
7603 [BZ #15892]
7604 * libio/memstream.c (open_memstream): Fix memory leak.
7605 * libio/wmemstream.c (open_wmemstream): Likewise.
7606
83e43bf0
AM
7607 [BZ #15895]
7608 * nscd/netgroupcache.c: Fix nesting of ifdefs.
7609
0c66b8e9
WN
76102013-09-09 Will Newton <will.newton@linaro.org>
7611
7612 * malloc/Makefile: Add tst-realloc to tests.
7613 * malloc/tst-realloc.c: New file.
7614
f6b00fd1
AM
76152013-09-09 Allan McRae <allan@archlinux.org>
7616
7617 [BZ #15844]
7618 * COPYING: Update from GNU website to fix FSF address.
7619 * COPYING.LIB: Likewise.
7620
eec55e16
DM
76212013-09-06 David S. Miller <davem@davemloft.net>
7622
7623 * po/zh_TW.po: Update Chinese (traditional) translation from
7624 translation project.
7625
1ecbb381
RS
76262013-09-06 Richard Sandiford <richard@codesourcery.com>
7627 Joseph Myers <joseph@codesourcery.com>
7628
7629 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
7630 "localeinfo.h".
7631 (obstack_chunk_alloc): New macro.
7632 (obstack_chunk_free): Likewise.
7633 (record_offset): New function.
7634 (init_locale_data): Likewise.
7635 (align_locale_data): Likewise.
7636 (add_locale_empty): Likewise.
7637 (add_locale_raw_data): Likewise.
7638 (add_locale_raw_obstack): Likewise.
7639 (add_locale_string): Likewise.
7640 (add_locale_wstring): Likewise.
7641 (add_locale_uint32): Likewise.
7642 (add_locale_uint32_array): Likewise.
7643 (add_locale_char): Likewise.
7644 (start_locale_structure): Likewise.
7645 (end_locale_structure): Likewise.
7646 (start_locale_prelude): Likewise.
7647 (end_locale_prelude): Likewise.
7648 (write_locale_data): Take locale_file structure rather than an
7649 iovec.
7650 * locale/programs/locfile.h: Include "obstack.h".
7651 (struct locale_file): Change to store locale file contents instead
7652 of header.
7653 (init_locale_data): New prototype.
7654 (align_locale_data): Likewise.
7655 (add_locale_empty): Likewise.
7656 (add_locale_raw_data): Likewise.
7657 (add_locale_raw_obstack): Likewise.
7658 (add_locale_string): Likewise.
7659 (add_locale_wstring): Likewise.
7660 (add_locale_uint32): Likewise.
7661 (add_locale_uint32_array): Likewise.
7662 (add_locale_char): Likewise.
7663 (start_locale_structure): Likewise.
7664 (end_locale_structure): Likewise.
7665 (start_locale_prelude): Likewise.
7666 (end_locale_prelude): Likewise.
7667 (write_locale_data): Update prototype.
7668 * locale/programs/3level.h (struct TABLE): Remove result field.
7669 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
7670 Use new locale_file interface.
7671 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
7672 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
7673 * locale/programs/ld-address.c (address_output): Use new
7674 locale_file interface.
7675 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
7676 NO_ADD_LOCALE.
7677 (collate_finish): Don't call collseq_table_finalize.
7678 (collate_output): Use new locale_file interface.
7679 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
7680 in file.
7681 (NO_FINALIZE): Change to NO_ADD_LOCALE.
7682 (TABLE): Move defines earlier in file.
7683 (ELEMENT): Likewise.
7684 (DEFAULT): Likewise.
7685 (wctrans_table_add): Move macro and inline function earlier in
7686 file.
7687 (struct wctype_table): Move type earlier in file.
7688 (add_locale_wctype_table): New static prototype.
7689 (struct locale_ctype_t): Use logical types instead of struct iovec
7690 pointers for members.
7691 (ctype_output): Use new locale_file interface.
7692 (wctype_table_finalize): Change to add_locale_wctype_table. Use
7693 new locale_file interface.
7694 (allocate_arrays): Update for use of new locale_file interface.
7695 * locale/programs/ld-identification.c (identification_output): Use
7696 new locale_file interface.
7697 * locale/programs/ld-measurement.c (measurement_output): Likewise.
7698 * locale/programs/ld-messages.c (messages_output): Likewise.
7699 * locale/programs/ld-monetary.c (monetary_output): Likewise.
7700 * locale/programs/ld-name.c (name_output): Likewise.
7701 * locale/programs/ld-numeric.c (numeric_output): Likewise.
7702 * locale/programs/ld-paper.c (paper_output): Likewise.
7703 * locale/programs/ld-telephone.c (telephone_output): Likewise.
7704 * locale/programs/ld-time.c (time_output): Likewise.
7705
e029e2e5
AZ
77062013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7707
7708 * benchtests/Makefile: Add memrchr benchmark.
7709 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
7710 benchmark as memrchr.
7711 * benchtests/bench-memrchr-ifunc.c: New file.
7712 * benchtests/bench-memrchr.c: New file.
7713
bbf6e8e4
WN
77142013-09-06 Will Newton <will.newton@linaro.org>
7715
7716 * benchtests/Makefile (string-bench): Add memcpy.
7717
6c82a2f8
CD
77182013-09-05 Carlos O'Donell <carlos@redhat.com>
7719 Cong Wang <amwang@redhat.com>
7720
e732c5f0 7721 [BZ #15850]
6c82a2f8
CD
7722 * sysdeps/unix/sysv/linux/bits/in.h
7723 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
7724 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
7725 before __USE_KERNEL_IPV6_DEFS uses.
7726 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
7727 IPPROTO_BEETPH.
7728 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
7729 sockaddr_in6, or ipv6_mreq.
7730
5430fc65
AZ
77312013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7732
7733 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
7734 memory access for final bytes in some large inputs.
7735 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
7736
4660856c
AZ
77372013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7738
7739 * string/test-memrchr.c: New file.
7740 * string/test-memrchr-ifunc.c: New file.
7741 * string/Makefile: Add new memrchr testcase.
7742
bb8ea713
MF
77432013-09-05 Mike Frysinger <vapier@gentoo.org>
7744
7745 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
7746 fanotify_init returns EPERM.
7747
b92a20b5
JM
77482013-09-04 Joseph Myers <joseph@codesourcery.com>
7749
7750 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
7751 errors.
7752 (top level): Treat second token from macro or constant entries for
7753 allowed headers as allowed.
7754 * include/complex.h: Condition internal declarations on
7755 [!_ISOMAC].
7756 * include/fenv.h: Condition include of <stdbool.h> and internal
7757 declarations on [!_ISOMAC].
7447ccd9
CL
7758
77592013-09-04 Chris Leonard <cjl@sugarlabs,.org>
7760
3e181dda 7761 [BZ #15923]
7447ccd9
CL
7762 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
7763
3f2e46a4
JM
77642013-09-04 Joseph Myers <joseph@codesourcery.com>
7765
7766 * configure.in (--enable-versioning): Remove configure option.
7767 (libc_cv_asm_symver_directive): Remove configure test.
7768 (libc_cv_ld_version_script_option): Likewise.
7769 (VERSIONING): Remove variable and AC_SUBST.
7770 (DO_VERSIONING): Remove AC_DEFINE.
7771 * configure: Regenerated.
7772 * config.h.in (DO_VERSIONING): Remove macro.
7773 * Makerules [$(versioning) = yes]: Change conditionals to
7774 [$(build-shared) = yes].
7775 * config.make.in (versioning): Remove variable.
7776 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
7777 [$(build-shared) = yes].
7778 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
7779 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
7780 * elf/Makefile [$(versioning) = yes]: Change conditionals to
7781 [$(build-shared) = yes].
7782 * extra-lib.mk [$(versioning) = yes]: Likewise.
7783 * hurd/Makefile [$(versioning) = yes]: Likewise.
7784 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
7785 [SHARED].
7786 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
7787 [SHARED].
7788 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7789 [SHARED && !NO_HIDDEN].
7790 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
7791 [SHARED].
7792 [SHARED && DO_VERSIONING]: Likewise..
7793 * libio/Makefile [$(versioning) = yes]: Change conditionals to
7794 [$(build-shared) = yes].
7795 * manual/install.texi (--disable-versioning): Remove
7796 documentation.
7797 * INSTALL: Regenerated.
7798 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
7799 to [SHARED].
7800 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
7801 [$(build-shared) = yes].
7802 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
7803 * sysdeps/i386/i686/multiarch/strstr-c.c
7804 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7805 [SHARED && !NO_HIDDEN].
7806 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
7807 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
7808 * sysdeps/powerpc/powerpc32/dl-machine.c
7809 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
7810 * sysdeps/powerpc/powerpc32/sysdep.h
7811 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
7812 to [SHARED && PIC && !NO_HIDDEN].
7813 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
7814 conditional to [SHARED].
7815
44558701
WN
78162013-09-04 Will Newton <will.newton@linaro.org>
7817
7818 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
7819 * benchtests/bench-string.h: Include bench-timing.h instead
7820 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
7821 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
7822 call to HP_TIMING_DIFF_INIT.
7823 * benchtests/bench-memccpy.c: Use bench-timing.h macros
7824 instead of hp-timing.h macros.
7825 * benchtests/bench-memchr.c: Likewise.
7826 * benchtests/bench-memcmp.c: Likewise.
7827 * benchtests/bench-memcpy.c: Likewise.
7828 * benchtests/bench-memmem.c: Likewise.
7829 * benchtests/bench-memmove.c: Likewise.
7830 * benchtests/bench-memset.c: Likewise.
7831 * benchtests/bench-rawmemchr.c: Likewise.
7832 * benchtests/bench-strcasecmp.c: Likewise.
7833 * benchtests/bench-strcasestr.c: Likewise.
7834 * benchtests/bench-strcat.c: Likewise.
7835 * benchtests/bench-strchr.c: Likewise.
7836 * benchtests/bench-strcmp.c: Likewise.
7837 * benchtests/bench-strcpy.c: Likewise.
7838 * benchtests/bench-strcpy_chk.c: Likewise.
7839 * benchtests/bench-strlen.c: Likewise.
7840 * benchtests/bench-strncasecmp.c: Likewise.
7841 * benchtests/bench-strncat.c: Likewise.
7842 * benchtests/bench-strncmp.c: Likewise.
7843 * benchtests/bench-strncpy.c: Likewise.
7844 * benchtests/bench-strnlen.c: Likewise.
7845 * benchtests/bench-strpbrk.c: Likewise.
7846 * benchtests/bench-strrchr.c: Likewise.
7847 * benchtests/bench-strspn.c: Likewise.
7848 * benchtests/bench-strstr.c: Likewise.
7849
cae16d66
WN
78502013-09-04 Will Newton <will.newton@linaro.org>
7851
7852 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
7853
ffa3cd7f
JM
78542013-09-03 Joseph Myers <joseph@codesourcery.com>
7855
7856 [BZ #15427]
7857 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
7858 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
7859 * math/libm-test.inc (lgamma_test_data): Add more tests.
7860 * sysdeps/i386/fpu/libm-test-ulps: Update.
7861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7862
8f02859f
OB
78632013-09-03 Ondřej Bílka <neleai@seznam.cz>
7864
7865 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
7866 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7867 Add ifunc.
7868 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7869 Add strcmp-sse2-unaligned
7870 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
7871
18d43716
MF
78722013-09-02 Mike Frysinger <vapier@gentoo.org>
7873
7874 * Versions.def (libc): Add GLIBC_2.19.
7875
ac444012
MF
78762013-09-02 Mike Frysinger <vapier@gentoo.org>
7877
7878 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
7879 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
7880
b7835e32
JM
78812013-09-02 Joseph Myers <joseph@codesourcery.com>
7882
7883 [BZ #14155]
7884 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
7885 intermediate calculations in recurrence.
7886 (__ieee754_ynf): Likewise.
7887 * math/libm-test.inc (jn_test_data): Do not allow spurious
7888 underflow exception. Add more tests.
7889 (yn_test_data): Add more tests.
7890 * sysdeps/i386/fpu/libm-test-ulps: Update.
7891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7892
8220f4f0
OB
78932013-09-02 Ondřej Bílka <neleai@seznam.cz>
7894
7895 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
7896
f24a6d08
OB
78972013-08-30 Ondřej Bílka <neleai@seznam.cz>
7898
7899 * csu/init-first.c: Fix then/than typos.
7900 * locale/programs/ld-collate.c: Likewise.
7901 * locale/programs/linereader.h: Likewise.
7902 * manual/charset.texi: Likewise.
7903 * manual/filesys.texi: Likewise.
7904 * manual/stdio.texi: Likewise.
7905 * manual/string.texi: Likewise.
7906 * stdlib/fmtmsg.c: Likewise.
7907 * sysdeps/i386/stpncpy.S: Likewise.
7908 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7909 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7910 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7911 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7912
382466e0
OB
79132013-08-30 Ondřej Bílka <neleai@seznam.cz>
7914
7915 * elf/dl-open.c: Fix typos.
7916 * iconvdata/gbbig5.c: Likewise.
7917 * iconvdata/iso-2022-jp.c: Likewise.
7918 * iconv/gconv_int.h: Likewise.
7919 * iconv/loop.c: Likewise.
7920 * nis/rpcsvc/nis.h: Likewise.
7921 * resolv/ns_name.c: Likewise.
7922 * stdio-common/vfscanf.c: Likewise.
7923 * streams/stropts.h: Likewise.
7924 * sunrpc/rpc_thread.c: Likewise.
7925 * sysdeps/i386/strpbrk.S: Likewise.
7926 * sysdeps/ieee754/k_standard.c: Likewise.
7927 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7928 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7929 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7930 * sysdeps/mach/hurd/profil.c: Likewise.
7931 * sysdeps/s390/dl-procinfo.h: Likewise.
7932 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7933 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7934 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
7935 * sysdeps/x86_64/dl-trampoline.S: Likewise.
7936 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7937
0186c6e9
OB
79382013-08-30 Ondřej Bílka <neleai@seznam.cz>
7939
7940 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
7941 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
7942
d4e16af1
OB
79432013-08-29 Ondřej Bílka <neleai@seznam.cz>
7944
7945 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
7946 aix specific files.
7947 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
7948 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
7949 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
7950 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
7951 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
7952 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
7953 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
7954 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
7955
88335980
TS
79562013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7957 Roland McGrath <roland@hack.frob.com>
7958
7959 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
7960 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7961
ed479b02
ST
79622013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
7963
7964 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
7965 __executable_start symbol instead of _start.
7966
f1cc4c86
TS
79672013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7968
d821f07c
TS
7969 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
7970 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
7971 Move macros to...
7972 * sysdeps/gnu/ldsodefs.h: ... this new file.
7973
c54290cf
TS
7974 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
7975 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
7976 instead of ELFOSABI_LINUX.
7977
0007fc9b 7978 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
7979 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
7980 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
7981 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
7982 Likewise.
7983 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
7984 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
7985 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
7986 Likewise.
7987 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7988 (ibm_extended_long_double): Add ieee_nan member.
7989 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
7990 (do_test): New function.
7991
f1cc4c86
TS
7992 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
7993 TEST_TRUNC.
7994 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
7995 functions, renamed from truncdfsf_test, trunctfsf_test,
7996 trunctfdf_test.
7997 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
7998 functions.
7999 (do_test): Run all these.
8000
6f65e668
OB
80012013-08-29 Ondřej Bílka <neleai@seznam.cz>
8002
8003 * argp/argp-help.c: Fix typos.
8004 * argp/argp-parse.c: Likewise.
8005 * debug/backtracesyms.c: Likewise.
8006 * elf/elf.h: Likewise.
8007 * malloc/malloc.c: Likewise.
8008 * nis/nis_print.c: Likewise.
8009 * resolv/res_comp.c: Likewise.
8010 * stdlib/stdlib.h: Likewise.
8011 * sunrpc/clnt_tcp.c: Likewise.
8012 * sunrpc/clnt_udp.c: Likewise.
8013 * sunrpc/clnt_unix.c: Likewise.
8014 * sysdeps/unix/bsd/ptsname.c: Likewise.
8015 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8016 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
8017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
8018 Likewise.
8019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
8020 Likewise.
8021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
8022 Likewise.
6f65e668
OB
8023 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8024
3a309239
SP
80252013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8026
8027 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
8028 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8029
3b813b29
MF
80302013-08-27 Mike Frysinger <vapier@gentoo.org>
8031
8032 [BZ #15897]
8033 * dlfcn/Makefile (tests): Add bug-dl-leaf.
8034 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
8035 ($(objpfx)bug-dl-leaf): New rule.
8036 ($(objpfx)bug-dl-leaf.so): Likewise.
8037 ($(objpfx)bug-dl-leaf.out): Likewise.
8038 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
8039 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
8040 * dlfcn/bug-dl-leaf.c: New test.
8041 * dlfcn/bug-dl-leaf-lib.c: Likewise.
8042 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
8043 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
8044 (dlclose): Likewise.
8045 (dlmopen): Likewise.
8046
8cc3269f
RM
80472013-08-27 Roland McGrath <roland@hack.frob.com>
8048
7f9d0034
RM
8049 * include/netdb.h [!_ISOMAC]:
8050 Don't include <tls.h>.
8051 (h_errno, __libc_h_errno): Move declaration and macros out of
8052 [_LIBC_REENTRANT].
8053
fb431262
RM
8054 * include/resolv.h [_RESOLV_H_]:
8055 Don't include <tls.h>.
8056 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
8057 * resolv/res_libc.c: Don't include <tls.h>.
8058 (_res): Use __attribute__ ((nocommon)) in place of
8059 __attribute__ ((section (".bss"))).
8060
bd81123a
RM
8061 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
8062 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
8063
c4e42566
RM
8064 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
8065
f890a59b
RM
8066 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
8067 only under [SIOCGIFCONF && SIOCGIFNETMASK].
8068
8069 * resolv/res_mkquery.c: Include <sys/time.h>.
8070
5d1f0a09
RM
8071 * inet/ifreq.c: Moved to ...
8072 * sysdeps/unix/ifreq.c: ... here.
8073 * inet/ifreq.c: New file, true stub version.
8074
6fcf28b3
RM
8075 * socket/sa_len.c: New file.
8076 * socket/Makefile (aux): Add it.
8077 * sysdeps/unix/sysv/linux/Makefile
8078 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
8079 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
8080 and #include <socket/sa_len.c>.
8081 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
8082 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
8083
e041fb8b
RM
8084 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
8085 * bits/socket.h: ... here.
8086
8cc3269f
RM
8087 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
8088 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
8089 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
8090
5d228a43
AS
80912013-08-27 Andreas Schwab <schwab@suse.de>
8092
45b8accc
AS
8093 [BZ #15736]
8094 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
8095 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
8096 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
8097 * string/test-strcasecmp.c (test_main): Run tests in several
8098 locales.
8099 * string/test-strncasecmp.c (test_main): Likewise.
8100
5d228a43
AS
8101 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
8102 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
8103 to __strcasecmp_nonascii and __strncasecmp_nonascii.
8104 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
8105 (__strncasecmp_ssse3) [PIC]: Likewise.
8106
59d112a4
RM
81072013-08-26 Roland McGrath <roland@hack.frob.com>
8108
53234cc3
RM
8109 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
8110
59d112a4
RM
8111 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
8112 instead of explicitly declaring xdecrypt.
8113 * nis/nss_nis/nis-publickey.c: Likewise.
8114
595aba70
SP
81152013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8116
8117 [BZ #15890]
8118 * nscd/aicache.c: Include res_hconf.h.
8119 (addhstaiX): Initialize res_hconf.
8120
ffabd393
AS
81212013-08-26 Andreas Schwab <schwab@suse.de>
8122
8123 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
8124 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
8125
e0a69f5c
SP
81262013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8127
8128 * nscd/aicache.c (addhstaiX): Fix indentation.
8129
8c12f01d
MF
81302013-08-25 Mike Frysinger <vapier@gentoo.org>
8131
8132 * configure.ac: Quote $build_pt_chown test.
8133 * configure: Regenerated.
8134
8fe89494
JM
81352013-08-23 Joseph Myers <joseph@codesourcery.com>
8136
8137 [BZ #15532]
8138 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
8139 * math/s_cexpf.c (__cexpf): Likewise.
8140 * math/s_cexpl.c (__cexpl): Likewise.
8141 * math/libm-test.inc (cexp_test_data): Correct expected return
8142 value for NaN + i0. Add another test.
8143
75b181d6
DM
81442013-08-22 David S. Miller <davem@davemloft.net>
8145
8146 * po/ca.po: Update Catalan translation from translation project.
936241e4 8147 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 8148
acd06bb1
JM
81492013-08-21 Joseph Myers <joseph@codesourcery.com>
8150
8151 [BZ #15797]
8152 * math/s_fdim.c (__fdim): Check for infinite arguments if result
8153 is infinite, not alongside NaN test.
8154 * math/s_fdimf.c (__fdimf): Likewise.
8155 * math/s_fdiml.c (__fdiml): Likewise.
8156 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
8157 errno is unchanged.
8158
c0c3f78a
OB
81592013-08-21 Ondřej Bílka <neleai@seznam.cz>
8160
8161 * argp/argp-help.c: Fix typos.
8162 * crypt/speeds.c: Likewise.
8163 * csu/check_fds.c: Likewise.
8164 * elf/dl-load.c: Likewise.
8165 * elf/dl-open.c: Likewise.
8166 * elf/reldep3.c: Likewise.
8167 * elf/reldep.c: Likewise.
8168 * elf/sprof.c: Likewise.
8169 * iconv/iconv_charmap.c: Likewise.
8170 * iconv/skeleton.c: Likewise.
8171 * iconv/strtab.c: Likewise.
8172 * io/lockf64.c: Likewise.
8173 * libio/libioP.h: Likewise.
8174 * resolv/gai_notify.c: Likewise.
8175 * resolv/ns_name.c: Likewise.
8176 * resolv/ns_samedomain.c: Likewise.
8177 * resolv/res_send.c: Likewise.
8178 * stdlib/random.c: Likewise.
8179 * sunrpc/rpc/xdr.h: Likewise.
8180 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
8181 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8182 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8183 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8184 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8185 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8186 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8187 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8188 * sysdeps/mach/hurd/check_fds.c: Likewise.
8189 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8190 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8191 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8192 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8193 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8194 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8195 * sysdeps/pthread/aio_notify.c: Likewise.
8196 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
8197 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
8198 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
8199 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8200 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8201
46ed1038
LD
82022013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8203
8204 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
8205 version if bit_Slow_SSE4_2 is set.
8206 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8207 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8208
d400dcac
AZ
82092013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8210
8211 [BZ #15867]
8212 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
8213 trampoline stack frame information.
8214 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
8215 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
8216 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
8217 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
8218 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
8219 * sysdeps/unix/sysv/linux/powerpc/init-first.c
8220 (_libc_vdso_platform_setup): Initialize the signal trampolines.
8221 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
8222 sa_flags value.
8223 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
8224 interrupting a syscall and set with option SA_SIGINFO.
8225
42c8fdd8
JM
82262013-08-20 Joseph Myers <joseph@codesourcery.com>
8227
c980f2f4
JM
8228 [BZ #15531]
8229 * math/s_cproj.c (__cproj): Only return an infinity if one part of
8230 argument is infinite.
8231 * math/s_cprojf.c (__cprojf): Likewise.
8232 * math/s_cprojl.c (__cprojl): Likewise.
8233 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
8234 * math/libm-test.inc (cproj_test_data): Add more tests.
8235
0716c4fc
JM
8236 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
8237
42c8fdd8
JM
8238 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
8239 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
8240 size. Use __ffs to determine corresponding shift.
8241
b31469d0
JM
82422013-08-20 Joseph Myers <joseph@codesourcery.com>
8243 Roland McGrath <roland@hack.frob.com>
8244
8245 * Makefile (INSTALL): Remove trailing blank lines from output of
8246 makeinfo.
8247
4e39af6e
AK
82482013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8249
8250 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
8251 Align 32 bit compat elf_greg to 8 bytes.
8252
f315524e
AA
82532013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
8254
8255 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
8256
1326ba1a
SP
82572013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8258
8259 * string/strcoll_l.c (coll_seq): New structure.
8260 (get_next_seq_cached): New function.
8261 (get_next_seq): New function.
8262 (do_compare): New function.
8263 (STRCOLL): Use GNU style definition. Simplify implementation
8264 by using get_next_seq, get_next_seq_cached and do_compare.
8265
91ce4085
FW
82662013-08-16 Florian Weimer <fweimer@redhat.com>
8267
8268 [BZ #14699]
8269 CVE-2013-4237
8270 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
8271 member.
8272 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
8273 member.
8274 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
8275 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
8276 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
8277 conditional.
8278 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
8279 GETDENTS_64BIT_ALIGNED.
8280 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8281 * manual/filesys.texi (Reading/Closing Directory): Document
8282 ENAMETOOLONG return value of readdir_r. Recommend readdir more
8283 strongly.
8284 * manual/conf.texi (Limits for Files): Add portability note to
8285 NAME_MAX, PATH_MAX.
8286 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
8287
ca0a6bc4
AS
82882013-08-13 Andreas Schwab <schwab@suse.de>
8289
8290 [BZ #15749]
8291 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
8292 of fabs.
8293 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
8294 LDBL_MAX_EXP >= 16384]: Add tests for it.
8295
6c1fd795
DM
82962013-08-12 David S. Miller <davem@davemloft.net>
8297
8298 * version.h (RELEASE): Set to "development".
8299 (VERSION): Set to "2.18.90".
8300 * NEWS: Add 2.19 section.
8301
31ad488d
DM
83022013-08-03 David S. Miller <davem@davemloft.net>
8303
8304 * po/ko.po: Update Korean translation from translation project.
8305
db24e684
DM
83062013-08-01 David S. Miller <davem@davemloft.net>
8307
8308 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
8309 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
8310 Bilka.
8311
f723285b
DM
83122013-07-30 David S. Miller <davem@davemloft.net>
8313
8314 * po/fr.po: Update French translation from translation project.
8315
3cbc52db
DM
83162013-07-28 David S. Miller <davem@davemloft.net>
8317
30bbc0cc
DM
8318 * po/cs.po: Update Czech translation from translation project.
8319
3cbc52db
DM
8320 * po/sv.po: Update Swedish translation from translation project.
8321
d492e6d0
DM
83222013-07-27 David S. Miller <davem@davemloft.net>
8323
f1a7f492
DM
8324 * po/eo.po: Update Esperanto translation from translation project.
8325
90e62a4a
DM
8326 * po/vi.po: Update Vietnamese translation from translation project.
8327
d492e6d0
DM
8328 * po/de.po: Update German translation from translation project.
8329
d4baa62d
DM
83302013-07-26 David S. Miller <davem@davemloft.net>
8331
641aa7b4
DM
8332 * po/bg.po: Update Bulgarian translation from translation project.
8333
d4baa62d
DM
8334 * po/nl.po: Update Dutch translation from translation project.
8335 * po/pl.po: Update Polish translation from translation project.
8336 * po/ru.po: Update Russian translation from translation project.
8337
61a9dcb9
DM
83382013-07-24 David S. Miller <davem@davemloft.net>
8339
8340 * po/libc.pot: Update.
8341
7b1f8b58
AZ
83422013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8343
8344 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
8345 variable page size.
8346 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
8347 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
8348 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
8349
a8fc7a03
AK
83502013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8351
8352 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
8353
e4608715
CD
83542013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8355 Andreas Schwab <schwab@suse.de>
8356 Roland McGrath <roland@hack.frob.com>
8357 Joseph Myers <joseph@codesourcery.com>
8358 Carlos O'Donell <carlos@redhat.com>
8359
8360 [BZ #15755]
8361 * config.h.in: Define HAVE_PT_CHOWN.
8362 * config.make.in (build-pt-chown): New variable.
8363 * configure.in (--enable-pt_chown): New configure option.
8364 * configure: Regenerate.
8365 * login/Makefile: Include Makeconfig. Build pt_chown only if
8366 build-pt-chown is enabled.
8367 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
8368 pt_chown to fix pty ownership.
8369 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
8370 CLOSE_ALL_FDS.
8371 * manual/install.texi (Configuring and compiling): Mention
8372 --enable-pt_chown. Add @findex for grantpt.
8373 * INSTALL: Regenerate.
8374
da2d62df
DM
83752013-07-20 David S. Miller <davem@davemloft.net>
8376
8377 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
8378 difference between 32-bit and 64-bit.
8379
d7e06450
CD
83802013-07-15 Carlos O'Donell <carlos@redhat.com>
8381
8382 [BZ #15711]
8383 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
8384 Avoid system header dependency with -ffreestanding.
8385 ($(objpfx)bits/syscall%d): Likewise.
8386
f959cfd7
DM
83872013-07-13 David S. Miller <davem@davemloft.net>
8388
8389 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
8390 underflows from atanl/atan2l due to bug 15319.
8391 (casinh_test_data): Likewise.
8392
c61f8513
DM
83932013-07-07 David S. Miller <davem@davemloft.net>
8394
8395 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
8396
72c90ed0
JA
83972013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
8398
8399 * sysdeps/i386/fpu/libm-test-ulps: Update.
8400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8401
52dfbe13
SP
84022013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8403
8404 * configure.in (--enable-lock-elision): Fix message text.
8405 * INSTALL: Regenerate.
8406 * configure: Regenerate.
8407
3f169543
AZ
84082013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8409
8410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8411
521c6785
AJ
84122013-07-03 Andreas Jaeger <aj@suse.de>
8413
8414 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
8415 define.
8416 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
8417 (ptrace_peeksiginfo_args): Add.
8418 (__ptrace_peeksiginfo_flags): Add.
8419 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8420 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8421 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8422
d2cc15cb
AM
84232013-07-03 Allan McRae <allan@archlinux.org>
8424
8425 * sysdeps/i386/fpu/libm-test-ulps: Update.
8426
3aaeeca7
DM
84272013-07-02 David S. Miller <davem@davemloft.net>
8428
8429 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8430
5314ed1a
MT
84312013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
8432
8433 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8434
67338156
JM
84352013-07-02 Joseph Myers <joseph@codesourcery.com>
8436
8437 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8439
1717da59
AK
84402013-07-02 Andi Kleen <ak@linux.intel.com>
8441
8442 * config.h.in (ENABLE_LOCK_ELISION): Add.
8443 * configure.in (--enable-lock-elision): Add option.
8444 * manual/install.texi: Document --enable lock elision.
8445 * configure: Regenerate
8446 * INSTALL: Regenerate.
8447
1c81621c
L
84482013-07-02 H.J. Lu <hongjiu.lu@intel.com>
8449
8450 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
8451 SSE4.2 strcasecmp for libc.a.
8452 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
8453
77f01ab5
JM
84542013-07-02 Joseph Myers <joseph@codesourcery.com>
8455
8456 [BZ #13304]
8457 * soft-fp/op-common.h (_FP_FMA): New macro.
8458 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
8459 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
8460 (_FP_MUL_MEAT_1_imm): ... here.
8461 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
8462 (_FP_MUL_MEAT_1_wide): ... here.
8463 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
8464 (_FP_MUL_MEAT_1_hard): ... here.
8465 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
8466 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
8467 (_FP_MUL_MEAT_2_wide): ... here.
8468 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
8469 (_FP_MUL_MEAT_2_wide_3mul): ... here.
8470 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
8471 (_FP_MUL_MEAT_2_gmp): ... here.
8472 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
8473 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
8474 (_FP_MUL_MEAT_4_wide): ... here.
8475 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
8476 (_FP_MUL_MEAT_4_gmp): ... here.
8477 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
8478 (_FP_WFRACBITS_DW_S): Likewise.
8479 (_FP_WFRACXBITS_DW_S): Likewise.
8480 (_FP_HIGHBIT_DW_S): Likewise.
8481 (FP_FMA_S): Likewise.
8482 (_FP_FRAC_HIGH_DW_S): Likewise.
8483 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
8484 (_FP_WFRACBITS_DW_D): Likewise.
8485 (_FP_WFRACXBITS_DW_D): Likewise.
8486 (_FP_HIGHBIT_DW_D): Likewise.
8487 (FP_FMA_D): Likewise.
8488 (_FP_FRAC_HIGH_DW_D): Likewise.
8489 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
8490 (_FP_WFRACBITS_DW_E): Likewise.
8491 (_FP_WFRACXBITS_DW_E): Likewise.
8492 (_FP_HIGHBIT_DW_E): Likewise.
8493 (FP_FMA_E): Likewise.
8494 (_FP_FRAC_HIGH_DW_E): Likewise.
8495 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
8496 (_FP_WFRACBITS_DW_Q): Likewise.
8497 (_FP_WFRACXBITS_DW_Q): Likewise.
8498 (_FP_HIGHBIT_DW_Q): Likewise.
8499 (FP_FMA_Q): Likewise.
8500 (_FP_FRAC_HIGH_DW_Q): Likewise.
8501 * soft-fp/fmasf4.c: New file.
8502 * soft-fp/fmadf4.c: Likewise.
8503 * soft-fp/fmatf4.c: Likewise.
8504
6308fd9a
LD
85052013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8506
8507 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
8508 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
8509 Silvermont.
8510 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
8511 macro.
8512 (index_Slow_SSE4_2): Likewise.
8513 (index_Prefer_PMINUB_for_stringop): Likewise.
8514 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
8515 bit_Slow_SSE4_2 is set.
8516 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8517 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8518
89cd9569
RA
85192013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8520
8521 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
8522 rtld_global._dl_hwcap2.
8523 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
8524 POWER8.
8525 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
8526 POWER8 feature descriptions defined in _dl_hwcap2.
8527 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
8528 string handling for POWER8 feature bits.
8529 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
8530 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
8531 _dl_powerpc_cap_flags.
8532 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
8533 * sysdeps/powerpc/rtld-global-offsets.sym
8534 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
8535 _dl_hwcap2 in the rtld_global_ro structure.
8536
1ae8bfe0
RA
85372013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8538
8539 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
8540 hardware capabilities in support of AT_HWCAP2.
8541 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
8542 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
8543 GLRO(dl_hwcap2).
8544 (_dl_show_auxv): Add support for calling _dl_procinfo to display
8545 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
8546 explicitly the unknown a_type display mechanism is used.
8547 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
8548 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
8549 struct member.
8550 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
8551 to macro prototype for AT_HWCAP2 support.
8552 * sysdeps/i386/dl-procinfo.h: Likewise.
8553 * sysdeps/s390/dl-procinfo.h: Likewise.
8554 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
8555 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
8556 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
8557 return -1 for unknown a_type display fallback.
8558 * sysdeps/sparc/dl-procinfo.h: Likewise.
8559 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
8560 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
8561
8fbec010
JM
85622013-06-28 Joseph Myers <joseph@codesourcery.com>
8563
8564 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
8565 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
8566
0432680e
PY
85672013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
8568
8569 [BZ #12492]
8570 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
8571 mprotect making __stack_prot writable.
8572
ce61a2ad
NF
85732013-06-28 Nathan Froyd <froydnj@codesourcery.com>
8574 Joseph Myers <joseph@codesourcery.com>
8575
8576 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
8577 as being properly aligned.
8578
f91f1c0f
MR
85792013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
8580
3d0f5d0c
MR
8581 * dlfcn/modstatic5.c: New file.
8582 * dlfcn/tststatic5.c: New file.
8583 * dlfcn/Makefile (tests): Add tststatic5.
8584 (tests-static): Likewise.
8585 (modules-names): Add modstatic5.
8586 (tststatic5-ENV): New variable.
8587 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
8588
f91f1c0f
MR
8589 [BZ #15022]
8590 * elf/dl-support.c (_dl_main_map): New variable.
8591 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
8592 (_dl_nns, _dl_load_adds): Set to 1.
8593 (_dl_initial_searchlist): Refer to _dl_main_map.
8594 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
8595 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
8596 call to _dl_get_origin.
8597 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
8598 around call_map.
8599 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
8600 * dlfcn/modstatic3.c: New file.
8601 * dlfcn/tststatic3.c: New file.
8602 * dlfcn/tststatic4.c: New file.
8603 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
8604 (tests-static): Likewise.
8605 (modules-names): Add modstatic3.
8606 (tststatic3-ENV, tststatic4-ENV): New variables.
8607 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
8608 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
8609
cbe7d24b
JM
86102013-06-26 Joseph Myers <joseph@codesourcery.com>
8611
8612 * configure.in (CC): Require GCC version 4.4 or later.
8613 * configure: Regenerated.
8614 * manual/install.texi (Tools for Compilation): Update GCC version
8615 requirement.
8616 * INSTALL: Regenerated.
8617
11b8a0e1
LD
86182013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8619
8620 [BZ #15674]
bb5bb87c
L
8621 * string/test-memcmp.c (check2): New.
8622 (main): Call check2.
8623
11b8a0e1
LD
8624 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
8625
b0037103
MR
86262013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
8627
8628 [BZ #15022]
8629 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
8630 over to...
8631 (dl_open_worker) [!SHARED]: ... here.
8632
c18c701d
RA
86332013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8634
8635 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
8636
1d17fa5f
RH
86372013-06-25 Richard Henderson <rth@redhat.com>
8638
8639 * locale/programs/locarchive.c: Include <libc-internal.h>
8640
8fcb833a
JM
86412013-06-25 Joseph Myers <joseph@codesourcery.com>
8642
8643 * manual/texinfo.tex: Update to version 2013-06-21.17, with
8644 trailing whitespace removed.
8645
17db6e8d
MF
86462013-06-24 Mike Frysinger <vapier@gentoo.org>
8647
8648 [BZ #10283]
17db6e8d
MF
8649 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
8650 * locale/programs/locarchive.c: Include libc-mmap.h.
8651 (prepare_address_space): Take two new outputs (the mmap base and len).
8652 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
8653 values.
8654 (create_archive): Declare new mmap base and len values for
8655 prepare_address_space, and store the result in ah.
8656 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
8657 (enlarge_archive): If ah->mmap_base is not NULL, use that and
8658 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8659 Declare new mmap base and len values for
8660 prepare_address_space, and store the result in new_ah.
8661 (open_archive): Declare new mmap base and len values for
8662 prepare_address_space, and store the result in ah.
8663 (close_archive): If ah->mmap_base is not NULL, use that and
8664 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8665 * sysdeps/generic/libc-mmap.h: New file.
8666
d605071e
MF
86672013-06-24 Mike Frysinger <vapier@gentoo.org>
8668
8669 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
8670 (ALIGN_UP): Likewise.
8671 (PTR_ALIGN_DOWN): Likewise.
8672 (PTR_ALIGN_UP): Likewise.
8673
2f063a6e
RA
86742013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8675
8676 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
8677 entry mapped to PPC_PLATFORM_POWER8.
8678 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
8679 POWER8.
8680 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
8681 (_dl_string_platform): Add case for exporting platform position for
8682 POWER8.
8683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
8684 search path to sysdeps/powerpc/powerpc32/power8 directory.
8685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
8686 search path to sysdeps/powerpc/powerpc64/power8 directory.
8687 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
8688 power7 directories.
8689 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
8690 power7 directories.
8691
a31ee4b3
SP
86922013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8693
a74ca98f
SP
8694 * INSTALL: Regenerate.
8695
a31ee4b3
SP
8696 * nscd/connections.c (nscd_init): Fix comment.
8697
695c378f
JM
86982013-06-22 Joseph Myers <joseph@codesourcery.com>
8699
d8412221
JM
8700 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
8701
695c378f
JM
8702 [BZ #15667]
8703 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
8704 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
8705
d1d54715
MR
87062013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8707
8708 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
8709 DL_DST_REQ_STATIC.
8710 (DL_DST_REQ_STATIC): Remove macro.
8711
8fdda7af
JM
87122013-06-21 Joseph Myers <joseph@codesourcery.com>
8713
8714 [BZ #7006]
8715 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
8716 with a shift of 0 bits.
8717
f3bc5e5a
MR
87182013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8719
8720 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
8721 $(tststatic-ENV).
8722
be09e8c9
KK
87232013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8724
8725 [BZ #15655]
8726 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
8727
85c2e611
AZ
87282013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8729
8730 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
8731 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
8732 accepts -fno-tree-loop-distribute-patterns.
8733 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
8734 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
8735 recursive call.
8736 * string/memset.c (memset): Likewise.
8737 * string/test-memmove.c (simple_memmove): Disable loop transformation
8738 to library calls.
8739 * string/test-memset.c (simple_memset): Likewise.
8740 * benchtests/bench-memmove.c (simple_memmove): Likewise.
8741 * benchtests/bench-memset.c (simple_memset): Likewise.
8742 * configure: Regenerated.
8743
c91e0825
JM
87442013-06-20 Joseph Myers <joseph@codesourcery.com>
8745
b8c792af
JM
8746 * math/test-misc.c (main): Ignore fesetround failure when failures
8747 of subsequent rounding tests would be ignored.
8748
c91e0825
JM
8749 [BZ #15654]
8750 * math/fedisblxcpt.c (fedisableexcept): Return 0.
8751 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
8752 * math/fegetenv.c (__fegetenv): Return 0.
8753 * math/fegetexcept.c (fegetexcept): Return 0.
8754 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
8755 FE_TONEAREST.
8756 * math/feholdexcpt.c (feholdexcept): Return 0.
8757 * math/fesetenv.c (__fesetenv): Return 0.
8758 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
8759 argument FE_TONEAREST.
8760 * math/feupdateenv.c (__feupdateenv): Return 0.
8761 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
8762
bfcacbde
RM
87632013-06-18 Roland McGrath <roland@hack.frob.com>
8764
8765 * elf/rtld-Rules (rtld-compile-command.S): New variable.
8766 (rtld-compile-command.s, rtld-compile-command.c): New variables.
8767 ($(objpfx)rtld-%.os rules): Use them.
8768
e55a9b25
AZ
87692013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8770
8771 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
8772 fields.
8773
346d65b3
RM
87742013-06-17 Roland McGrath <roland@hack.frob.com>
8775
12086fb4
RM
8776 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
8777 length of target pattern, then descending length of dependency pattern.
8778 * configure.in (AWK): Require gawk 3.1.2 or newer.
8779 * manual/install.texi (Tools for Compilation): Say that we do.
8780 * configure: Regenerated.
8781
346d65b3
RM
8782 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
8783 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
8784 * scripts/sysd-rules.awk: ... this new script.
8785 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
8786 than a glob-style pattern.
8787
1a846317
JM
87882013-06-17 Joseph Myers <joseph@codesourcery.com>
8789
8790 * math/test-misc.c (main): Do not treat incorrectly rounded
8791 conversions as failure unless ROUNDING_TESTS passes.
8792
8fc75e6f
JM
87932013-06-15 Joseph Myers <joseph@codesourcery.com>
8794
3711a167
JM
8795 [BZ #15631]
8796 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
8797 restore exception state around main square root computation, then
8798 check for inexactness explicitly.
8799
8fc75e6f
JM
8800 * math/libm-test.inc (fma_test_data): Add another test.
8801
61dd6208
SP
88022013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8803
adf23d2c
SP
8804 * manual/threads.texi (Non-POSIX Extensions): New document
8805 node. Document pthread_getattr_default_np and
8806 pthread_setattr_default_np.
8807
61dd6208
SP
8808 * Versions.def (libpthread): Add GLIBC_2.18.
8809 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
8810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8811 Likewise.
8812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8813 Likewise.
8814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8815 Likewise.
8816 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8817 Likewise.
8818 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
8819 Likewise.
8820 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8821 Likewise.
8822 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8823 Likewise.
8824 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
8825 Likewise.
8826 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8827 Likewise.
8828
d086fc7b
LD
88292013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8830
8831 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8832 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
8833
747ef469
SP
88342013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8835 H.J. Lu <hjl.tools@gmail.com>
8836
8837 [BZ #15627]
8838 * sysdeps/x86_64/rtld-memset.c: Remove file.
8839 * sysdeps/x86_64/rtld-memset.S: New file.
8840
1b2feed2
JM
88412013-06-14 Joseph Myers <joseph@codesourcery.com>
8842
8843 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
8844 (test_in_one_mode): Take arguments for whether the rounding mode
8845 is supported for each floating-point type.
8846 (do_test): Pass new arguments to test_in_one_mode using
8847 ROUNDING_TESTS.
8848
a58ad3f8
RM
88492013-06-13 Roland McGrath <roland@hack.frob.com>
8850
8851 * posix/tst-waitid.c (do_test): Distinguish different instances of
8852 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
8853 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
8854 before entering the kernel for waitpid.
8855
c204ab28
SP
88562013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8857
8858 * NEWS: Fix note on clock function precision. Text by Roland
8859 McGrath.
8860
f4a29fba
RM
88612013-06-13 Roland McGrath <roland@hack.frob.com>
8862
8863 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
8864 it into place only when and if the sanity check passes.
8865
1f24b9ad
JM
88662013-06-13 Joseph Myers <joseph@codesourcery.com>
8867
8868 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
8869 output for whether conversion result is exact. Take argument
8870 indicating whether type is IBM long double.
8871 (round_for_all): Change need_exact field to ibm_ld.
8872 * stdlib/tst-strtod-round.c (struct exactness): New type.
8873 (struct test): Change bool ld_ok field to struct exactness exact.
8874 (TEST): Update all definitions for change to field.
8875 (tests): Regenerate array contents.
8876 (test_in_one_mode): Take pointer to new field instead of old ld_ok
8877 field value. Check for IBM long double here.
8878 (do_test): Update calls to test_in_one_mode.
8879
58206c68
SP
88802013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8881
8882 [BZ #12515]
8883 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
8884 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
8885
2d6f4c5b 88862013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
8887
8888 [BZ #15605]
8889 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
8890 generated by the compiler on loop optimizations.
8891 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
8892 general definitions.
8893
94f2c076
JM
88942013-06-12 Joseph Myers <joseph@codesourcery.com>
8895
8896 * math/bug-nextafter.c: Include <math-tests.h>.
8897 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8898 the relevant type.
8899 * math/bug-nexttoward.c: Include <math-tests.h>.
8900 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8901 the relevant type.
8902 * math/test-misc.c: Include <math-tests.h>.
8903 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8904 the relevant type.
8905
e0e50a0a
AJ
89062013-06-12 Andreas Jaeger <aj@suse.de>
8907
8908 * po/ia.po: Update Interlingua translation from translation
8909 project.
8910
25061094
SP
89112013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8912
8913 * include/fenv.h: Include stdbool.h.
8914 (struct rm_ctx): New structure.
8915 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
8916 Define macro.
8917 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
8918 (SET_RESTORE_ROUNDF): Likewise.
8919 (SET_RESTORE_ROUNDL): Likewise.
8920 (SET_RESTORE_ROUND_NOEX): Likewise.
8921 (SET_RESTORE_ROUND_NOEXF): Likewise.
8922 (SET_RESTORE_ROUND_NOEXL): Likewise.
8923 (SET_RESTORE_ROUND_53BIT): Likewise.
8924 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
8925 (libc_feresetround_noexf_ctx): Likewise.
8926 (libc_feresetround_noexl_ctx): Likewise.
8927 (libc_feholdsetround_53bit_ctx): Likewise.
8928 (libc_feresetround_53bit_ctx): Likewise.
8929 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
8930 (libc_feholdexcept_setround_sse_ctx): New function.
8931 (libc_fesetenv_sse_ctx): Likewise.
8932 (libc_feupdateenv_sse_ctx): Likewise.
8933 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
8934 (libc_feholdexcept_setround_387_ctx): Likewise.
8935 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
8936 (libc_feholdsetround_387_prec_ctx): Likewise.
8937 (libc_feholdsetround_387_ctx): Likewise.
8938 (libc_feholdsetround_387_53bit_ctx): Likewise.
8939 (libc_feholdsetround_sse_ctx): Likewise.
8940 (libc_feresetround_sse_ctx): Likewise.
8941 (libc_feresetround_387_ctx): Likewise.
8942 (libc_feupdateenv_387_ctx): Likewise.
8943 (libc_feholdexcept_setroundf_ctx): Define macro.
8944 (libc_fesetenvf_ctx): Likewise.
8945 (libc_feupdateenvf_ctx): Likewise.
8946 (libc_feholdsetroundf_ctx): Likewise.
8947 (libc_feresetroundf_ctx): Likewise.
8948 (libc_feholdexcept_setround_ctx): Likewise.
8949 (libc_fesetenv_ctx): Likewise.
8950 (libc_feupdateenv_ctx): Likewise.
8951 (libc_feholdsetround_ctx): Likewise.
8952 (libc_feresetround_ctx): Likewise.
8953 (libc_feholdexcept_setroundl_ctx): Likewise.
8954 (libc_feupdateenvl_ctx): Likewise.
8955 (libc_feholdsetroundl_ctx): Likewise.
8956 (libc_feresetroundl_ctx): Likewise.
8957 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
8958 (libc_feresetround_53bit_ctx): Likewise.
8959
59b30555
SP
89602013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8961
8962 * locale/iso-639.def: Convert to UTF-8.
8963
f1d73d30
JM
89642013-06-11 Joseph Myers <joseph@codesourcery.com>
8965
8966 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
8967 (EXCEPTION_TESTS_double): Likewise.
8968 (EXCEPTION_TESTS_long_double): Likewise.
8969 (EXCEPTION_TESTS): Likewise.
8970 * math/libm-test.inc (test_exceptions): Only test exceptions if
8971 EXCEPTION_TESTS (FLOAT).
8972
94aca5e7
SP
89732013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8974
8975 * benchtests/Makefile (string-bench): Add strcpy_chk and
8976 stpcpy_chk.
8977 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
8978 * benchtests/bench-stpcpy_chk.c: New file.
8979 * benchtests/bench-strcpy_chk-ifunc.c: New file.
8980 * benchtests/bench-strcpy_chk.c: New file.
8981 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
8982 code.
8983 (do_test): Likewise.
8984
fac0c5f2
RA
89852013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8986
8987 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
8988 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
8989 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
8990 with tabs where appropriate.
8991 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
8992 dl-procinfo.h.
8993 [PPC_PLATFORM_PPC440]: Likewise.
8994 [PPC_PLATFORM_PPC464]: Likewise.
8995 [PPC_PLATFORM_PPC476]: Likewise.
8996 (_dl_string_platform): Add support for detecting ppc405, ppc440,
8997 ppc464, and ppc476 platform strings merging from ports/
8998 dl-procinfo.h.
8999
f22bc486
AS
90002013-06-11 Andreas Schwab <schwab@suse.de>
9001
9002 [BZ #14991]
9003 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
9004 (from_ucs4_idx): Regenerate.
9005 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
9006 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
9007 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
9008 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
9009 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
9010 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
9011 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
9012 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
9013 from FROM_LOOP and TO_LOOP specific macros.
9014 (BODY): Handle combining characters.
9015 * iconvdata/BIG5HKSCS.irreversible: Update.
9016 * iconvdata/BIG5HKSCS.precomposed: New file.
9017 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
9018 characters.
9019 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
9020
c1f75dc3
SP
90212013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9022
4eacded2
SP
9023 * include/sys/time.h: Fix indentation and add copyright header.
9024
fec799f8
SP
9025 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
9026 (do_test): Likewise.
9027 * string/test-memchr.c (do_one_test): Likewise.
9028 (do_test): Likewise.
9029 * string/test-memcmp.c (do_one_test): Likewise.
9030 (do_test): Likewise.
9031 * string/test-memcpy.c (do_one_test): Likewise.
9032 (do_test): Likewise.
9033 * string/test-memmem.c (do_one_test): Likewise.
9034 (do_test): Likewise.
9035 (do_random_tests): Likewise.
9036 * string/test-memmove.c (do_one_test): Likewise.
9037 (do_test): Likewise.
9038 * string/test-memset.c (do_one_test): Likewise.
9039 (do_test): Likewise.
9040 * string/test-rawmemchr.c (do_one_test): Likewise.
9041 (do_test): Likewise.
9042 * string/test-strcasecmp.c (do_one_test): Likewise.
9043 (do_test): Likewise.
9044 * string/test-strcasestr.c (do_one_test): Likewise.
9045 (do_test): Likewise.
9046 * string/test-strcat.c (do_one_test): Likewise.
9047 (do_test): Likewise.
9048 * string/test-strchr.c (do_one_test): Likewise.
9049 (do_test): Likewise.
9050 * string/test-strcmp.c (do_one_test): Likewise.
9051 (do_test): Likewise.
9052 * string/test-strcpy.c (do_one_test): Likewise.
9053 (do_test): Likewise.
9054 * string/test-string.h: Likewise.
9055 (test_init): Likewise.
9056 * string/test-strlen.c (do_one_test): Likewise.
9057 (do_test): Likewise.
9058 * string/test-strncasecmp.c (do_one_test): Likewise.
9059 (do_test): Likewise.
9060 * string/test-strncat.c (do_one_test): Likewise.
9061 (do_test): Likewise.
9062 * string/test-strncmp.c (do_one_test): Likewise.
9063 (do_test_limit): Likewise.
9064 (do_test): Likewise.
9065 * string/test-strncpy.c (do_one_test): Likewise.
9066 (do_test): Likewise.
9067 * string/test-strnlen.c (do_one_test): Likewise.
9068 (do_test): Likewise.
9069 * string/test-strpbrk.c (do_one_test): Likewise.
9070 (do_test): Likewise.
9071 * string/test-strrchr.c (do_one_test): Likewise.
9072 (do_test): Likewise.
9073 * string/test-strspn.c (do_one_test): Likewise.
9074 (do_test): Likewise.
9075 * string/test-strstr.c (do_one_test): Likewise.
9076 (do_test): Likewise.
9077
97020474
SP
9078 * benchtests/Makefile (string-bench): Add string benchmarks.
9079 * benchtests/bench-bcopy-ifunc.c: New file.
9080 * benchtests/bench-bcopy.c: New file.
9081 * benchtests/bench-bzero-ifunc.c: New file.
9082 * benchtests/bench-bzero.c: New file.
9083 * benchtests/bench-memccpy-ifunc.c: New file.
9084 * benchtests/bench-memccpy.c: New file.
9085 * benchtests/bench-memchr-ifunc.c: New file.
9086 * benchtests/bench-memchr.c: New file.
9087 * benchtests/bench-memcmp-ifunc.c: New file.
9088 * benchtests/bench-memcmp.c: New file.
9089 * benchtests/bench-memmem-ifunc.c: New file.
9090 * benchtests/bench-memmem.c: New file.
9091 * benchtests/bench-memmove-ifunc.c: New file.
9092 * benchtests/bench-memmove.c: New file.
9093 * benchtests/bench-mempcpy-ifunc.c: New file.
9094 * benchtests/bench-mempcpy.c: New file.
9095 * benchtests/bench-memset-ifunc.c: New file.
9096 * benchtests/bench-memset.c: New file.
9097 * benchtests/bench-rawmemchr-ifunc.c: New file.
9098 * benchtests/bench-rawmemchr.c: New file.
9099 * benchtests/bench-stpcpy-ifunc.c: New file.
9100 * benchtests/bench-stpcpy.c: New file.
9101 * benchtests/bench-stpncpy-ifunc.c: New file.
9102 * benchtests/bench-stpncpy.c: New file.
9103 * benchtests/bench-strcasecmp-ifunc.c: New file.
9104 * benchtests/bench-strcasecmp.c: New file.
9105 * benchtests/bench-strcasestr-ifunc.c: New file.
9106 * benchtests/bench-strcasestr.c: New file.
9107 * benchtests/bench-strcat-ifunc.c: New file.
9108 * benchtests/bench-strcat.c: New file.
9109 * benchtests/bench-strchr-ifunc.c: New file.
9110 * benchtests/bench-strchr.c: New file.
9111 * benchtests/bench-strchrnul-ifunc.c: New file.
9112 * benchtests/bench-strchrnul.c: New file.
9113 * benchtests/bench-strcmp-ifunc.c: New file.
9114 * benchtests/bench-strcmp.c: New file.
9115 * benchtests/bench-strcpy-ifunc.c: New file.
9116 * benchtests/bench-strcpy.c: New file.
9117 * benchtests/bench-strcspn-ifunc.c: New file.
9118 * benchtests/bench-strcspn.c: New file.
9119 * benchtests/bench-strlen-ifunc.c: New file.
9120 * benchtests/bench-strlen.c: New file.
9121 * benchtests/bench-strncasecmp-ifunc.c: New file.
9122 * benchtests/bench-strncasecmp.c: New file.
9123 * benchtests/bench-strncat-ifunc.c: New file.
9124 * benchtests/bench-strncat.c: New file.
9125 * benchtests/bench-strncmp-ifunc.c: New file.
9126 * benchtests/bench-strncmp.c: New file.
9127 * benchtests/bench-strncpy-ifunc.c: New file.
9128 * benchtests/bench-strncpy.c: New file.
9129 * benchtests/bench-strnlen-ifunc.c: New file.
9130 * benchtests/bench-strnlen.c: New file.
9131 * benchtests/bench-strpbrk-ifunc.c: New file.
9132 * benchtests/bench-strpbrk.c: New file.
9133 * benchtests/bench-strrchr-ifunc.c: New file.
9134 * benchtests/bench-strrchr.c: New file.
9135 * benchtests/bench-strspn-ifunc.c: New file.
9136 * benchtests/bench-strspn.c: New file.
9137 * benchtests/bench-strstr-ifunc.c: New file.
9138 * benchtests/bench-strstr.c: New file.
9139
c1f75dc3
SP
9140 * benchtests/Makefile: Disable parallel execution of targets.
9141 (string-bench): Add memcpy.
9142 (benchset): New variable to store a list of benchmark sets.
9143 (bench-func): Renamed from bench.
9144 (bench-set): New target.
9145 (bench): Depend on bench-func and bench-set.
9146 * benchtests/README: Add section on benchmark sets.
9147 * benchtests/bench-memcpy-ifunc.c: New file.
9148 * benchtests/bench-memcpy.c: New file.
9149 * benchtests/bench-string.h: New file.
9150
50fd745b
AS
91512013-06-11 Andreas Schwab <schwab@suse.de>
9152
9153 [BZ #15577]
9154 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
9155 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
9156 values in the triple.
9157 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
9158 terminator in the group key.
9159
3ee7e9fe
AJ
91602013-06-11 Andreas Jaeger <aj@suse.de>
9161
9162 * po/zh_TW.po: Update Chinese (traditional) translation from
9163 translation project.
9164
89fb6835
SP
91652013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9166
9167 * include/time.h (__clock_gettime): Add libc_hidden_proto.
9168 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
9169 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
9170 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9171 (clock_getcpuclockid): Likewise.
9172 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
9173 Add weak_alias and libc_hidden_def.
9174 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
9175 * rt/clock_gettime.c (clock_gettime): Rename to
9176 __clock_gettime. Add weak_alias and libc_hidden_def.
9177 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
9178 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
9179 __clock_nanosleep. Add weak_alias and libc_hidden_def.
9180 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
9181 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
9182 Likewise.
9183 * rt/clock_settime.c (clock_settime): Rename to
9184 __clock_settime. Add weak_alias and libc_hidden_def.
9185 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
9186
0efa6f8b
JM
91872013-06-10 Joseph Myers <joseph@codesourcery.com>
9188
b8c61b4b
JM
9189 * mach/err_boot.sub: Remove trailing whitespace.
9190 * mach/err_ipc.sub: Likewise.
9191 * mach/err_mach.sub: Likewise.
9192
0efa6f8b
JM
9193 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
9194 (ROUNDING_TESTS_double): Likewise.
9195 (ROUNDING_TESTS_long_double): Likewise.
9196 (ROUNDING_TESTS): Likewise.
9197 * math/libm-test.inc: Include <math-tests.h>.
9198 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
9199 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9200 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9201 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9202
50b818bf
SP
92032013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9204
9205 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
9206 of assigning.
9207
60d2f8f3
JM
92082013-06-08 Joseph Myers <joseph@codesourcery.com>
9209
4902d2c3
JM
9210 * sysdeps/gnu/errlist.awk: Do not generate space at end of
9211 otherwise empty TRANS lines.
9212 * sysdeps/gnu/errlist.c: Regenerated.
9213
60d2f8f3
JM
9214 * catgets/gencat.c (error_print): Use (void) in function
9215 definition.
9216 * crypt/crypt_util.c (__init_des): Likewise.
9217 * crypt/speeds.c (Stop): Likewise.
9218 (main): Likewise.
9219 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
9220 * inet/ruserpass.c (token): Likewise.
9221 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
9222 * intl/localealias.c (extend_alias_table): Likewise.
9223 * intl/plural-exp.c (init_germanic_plural): Likewise.
9224 * libio/fcloseall.c (__fcloseall): Likewise.
9225 * libio/genops.c (_IO_flush_all): Likewise.
9226 (_IO_flush_all_linebuffered): Likewise.
9227 (_IO_cleanup): Likewise.
9228 (_IO_iter_begin): Likewise.
9229 (_IO_iter_end): Likewise.
9230 (_IO_list_lock): Likewise.
9231 (_IO_list_unlock): Likewise.
9232 (_IO_list_resetlock): Likewise.
9233 * libio/getchar.c (getchar): Likewise.
9234 * libio/getchar_u.c (getchar_unlocked): Likewise.
9235 * libio/getwchar.c (getwchar): Likewise.
9236 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
9237 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
9238 * login/getpt.c (__getpt): Likewise.
9239 * login/tst-utmp.c (main): Likewise.
9240 * malloc/hooks.c (__malloc_check_init): Likewise.
9241 * malloc/malloc.c (__malloc_stats): Likewise.
9242 * malloc/mtrace.c (tr_break): Likewise.
9243 (mtrace): Likewise.
9244 (muntrace): Likewise.
9245 * misc/fstab.c (endfsent): Likewise.
9246 * misc/getclktck.c (__getclktck): Likewise.
9247 * misc/getdtsz.c (__getdtablesize): Likewise.
9248 * misc/gethostid.c (gethostid): Likewise.
9249 * misc/getpagesize.c (__getpagesize): Likewise.
9250 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
9251 (__get_nprocs): Likewise.
9252 (__get_phys_pages): Likewise.
9253 (__get_avphys_pages): Likewise.
9254 * misc/getttyent.c (getttyent): Likewise.
9255 (setttyent): Likewise.
9256 (endttyent): Likewise.
9257 * misc/getusershell.c (getusershell): Likewise.
9258 (endusershell): Likewise.
9259 (setusershell): Likewise.
9260 (initshells): Likewise.
9261 * misc/hsearch.c (__hdestroy): Likewise.
9262 * misc/sync.c (sync): Likewise.
9263 * misc/syslog.c (closelog_internal): Likewise.
9264 (closelog): Likewise.
9265 * misc/ttyslot.c (ttyslot): Likewise.
9266 * misc/vhangup.c (vhangup): Likewise.
9267 * posix/fork.c (__fork): Likewise.
9268 * posix/getegid.c (__getegid): Likewise.
9269 * posix/geteuid.c (__geteuid): Likewise.
9270 * posix/getgid.c (__getgid): Likewise.
9271 * posix/getpid.c (__getpid): Likewise.
9272 * posix/getppid.c (__getppid): Likewise.
9273 * posix/getuid.c (__getuid): Likewise.
9274 * posix/pause.c (pause): Likewise.
9275 * posix/setpgrp.c (setpgrp): Likewise.
9276 * posix/setsid.c (__setsid): Likewise.
9277 * posix/test-vfork.c (noop): Likewise.
9278 * resolv/gethnamaddr.c (_endhtent): Likewise.
9279 (_gethtent): Likewise.
9280 (ht_endhostent): Likewise.
9281 (gethostent): Likewise.
9282 (dns_service): Likewise.
9283 * stdlib/drand48.c (drand48): Likewise.
9284 * stdlib/lrand48.c (lrand48): Likewise.
9285 * stdlib/mrand48.c (mrand48): Likewise.
9286 * stdlib/rand.c (rand): Likewise.
9287 * stdlib/random.c (__random): Likewise.
9288 * stdlib/setenv.c (clearenv): Likewise.
9289 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
9290 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
9291 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
9292 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
9293 (__get_nprocs): Likewise.
9294 (__get_phys_pages): Likewise.
9295 (__get_avphys_pages): Likewise.
9296 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
9297 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
9298 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
9299 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
9300 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
9301 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
9302 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
9303 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
9304 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
9305 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
9306 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
9307 * sysdeps/mach/hurd/sync.c (sync): Likewise.
9308 * sysdeps/posix/clock.c (clock): Likewise.
9309 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
9310 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
9311 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
9312 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
9313 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
9314 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
9315 (__get_nprocs_conf): Likewise.
9316 (__get_phys_pages): Likewise.
9317 (__get_avphys_pages): Likewise.
9318 * time/clock.c (clock): Likewise.
9319 * time/tzset.c (__tzname_max): Likewise.
9320
2e09a79a
JM
93212013-06-07 Joseph Myers <joseph@codesourcery.com>
9322
9323 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
9324 (__bswap_32): Do not use "register".
9325 * crypt/crypt.c (_ufc_doit_r): Likewise.
9326 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9327 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9328 * gmon/gmon.c (__monstartup): Likewise.
9329 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
9330 * hurd/hurdmalloc.c (more_memory): Likewise.
9331 (malloc): Likewise.
9332 (free): Likewise.
9333 (realloc): Likewise.
9334 (malloc_fork_prepare): Likewise.
9335 (malloc_fork_parent): Likewise.
9336 (malloc_fork_child): Likewise.
9337 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
9338 (_svcauth_des): Likewise.
9339 * inet/inet_lnaof.c (inet_lnaof): Likewise.
9340 * inet/inet_net.c (inet_network): Likewise.
9341 * inet/inet_netof.c (inet_netof): Likewise.
9342 * inet/rcmd.c (__validuser2_sa): Likewise.
9343 * io/fts.c (fts_open): Likewise.
9344 (fts_load): Likewise.
9345 (fts_close): Likewise.
9346 (fts_read): Likewise.
9347 (fts_children): Likewise.
9348 (fts_build): Likewise.
9349 (fts_stat): Likewise.
9350 (fts_sort): Likewise.
9351 (fts_alloc): Likewise.
9352 (fts_lfree): Likewise.
9353 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
9354 (_IO_file_xsgetn): Likewise.
9355 (_IO_file_xsgetn_mmap): Likewise.
9356 * libio/iofopncook.c (_IO_cookie_read): Likewise.
9357 (_IO_cookie_write): Likewise.
9358 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
9359 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
9360 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
9361 * malloc/obstack.c (_obstack_begin): Likewise.
9362 (_obstack_begin_1): Likewise.
9363 (_obstack_newchunk): Likewise.
9364 (_obstack_allocated_p): Likewise.
9365 (obstack_free): Likewise.
9366 (_obstack_memory_used): Likewise.
9367 * misc/getttyent.c (getttynam): Likewise.
9368 (getttyent): Likewise.
9369 (skip): Likewise.
9370 (value): Likewise.
9371 * misc/getusershell.c (initshells): Likewise.
9372 * misc/syslog.c (__vsyslog_chk): Likewise.
9373 * misc/ttyslot.c (ttyslot): Likewise.
9374 * nis/nis_hash.c (__nis_hash): Likewise.
9375 * posix/fnmatch_loop.c (FCT): Likewise.
9376 * posix/getconf.c (print_all): Likewise.
9377 (main): Likewise.
9378 * posix/getopt.c (exchange): Likewise.
9379 * posix/glob.c (globfree): Likewise.
9380 (prefix_array): Likewise.
9381 (__glob_pattern_type): Likewise.
9382 * resolv/arpa/nameser.h (NS_GET16): Likewise.
9383 (NS_GET32): Likewise.
9384 (NS_PUT16): Likewise.
9385 (NS_PUT32): Likewise.
9386 * resolv/gethnamaddr.c (getanswer): Likewise.
9387 (gethostbyname2): Likewise.
9388 (gethostbyaddr): Likewise.
9389 (_gethtent): Likewise.
9390 (_gethtbyname2): Likewise.
9391 (_gethtbyaddr): Likewise.
9392 * resolv/ns_print.c (dst_s_get_int16): Likewise.
9393 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
9394 * resolv/res_init.c (__res_vinit): Likewise.
9395 (net_mask): Likewise.
9396 * resolv/res_mkquery.c (outchar): Likewise.
9397 (PRINT): Likewise.
9398 * stdio-common/printf_fp.c (outchar): Likewise.
9399 (PRINT): Likewise.
9400 * stdio-common/printf_fphex.c (outchar): Likewise.
9401 (PRINT): Likewise.
9402 * stdio-common/printf_size.c (outchar): Likewise.
9403 (PRINT): Likewise.
9404 * stdio-common/test_rdwr.c (main): Likewise.
9405 * stdio-common/tfformat.c (matches): Likewise.
9406 * stdio-common/vfprintf.c (outchar): Likewise.
9407 (printf_unknown): Likewise.
9408 (buffered_vfprintf): Likewise.
9409 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9410 * stdio-common/xbug.c (AppendToBuffer): Likewise.
9411 (ReadFile): Likewise.
9412 * stdlib/qsort.c (SWAP): Likewise.
9413 (_quicksort): Likewise.
9414 * stdlib/setenv.c (__add_to_environ): Likewise.
9415 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9416 * stdlib/strtol_l.c (__strtol_l): Likewise.
9417 * stdlib/tst-strtod.c (main): Likewise.
9418 * stdlib/tst-strtol.c (main): Likewise.
9419 * stdlib/tst-strtoll.c (main): Likewise.
9420 * string/bits/string2.h (__strcmp_cc): Likewise.
9421 (__strcmp_cg): Likewise.
9422 (__strcspn_c1): Likewise.
9423 (__strcspn_c2): Likewise.
9424 (__strcspn_c3): Likewise.
9425 (__strspn_c1): Likewise.
9426 (__strspn_c2): Likewise.
9427 (__strspn_c3): Likewise.
9428 (__strsep_1c): Likewise.
9429 (__strsep_2c): Likewise.
9430 (__strsep_3c): Likewise.
9431 * string/memccpy.c (__memccpy): Likewise.
9432 * string/stpcpy.c (__stpcpy): Likewise.
9433 * string/strcmp.c (strcmp): Likewise.
9434 * string/strrchr.c (strrchr): Likewise.
9435 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
9436 Likewise.
9437 * sysdeps/mach/hurd/getcwd.c
9438 (_hurd_canonicalize_directory_name_internal): Likewise.
9439 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
9440 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
9441 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
9442 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
9443 Likewise, in both definitions.
9444 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
9445 definitions.
9446 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
9447 64] (__bswap_64): Likewise.
9448 * time/test_time.c (main): Likewise.
9449 * time/tzfile.c (__tzfile_read): Likewise.
9450 (__tzfile_compute): Likewise.
9451 * time/tzset.c (__tzset_parse_tz): Likewise.
9452 (tzset_internal): Likewise.
9453 (compute_change): Likewise.
9454 * wcsmbs/wcscat.c (__wcscat): Likewise.
9455 * wcsmbs/wcschr.c (wcschr): Likewise.
9456 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
9457 * wcsmbs/wcscspn.c (wcscspn): Likewise.
9458 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
9459 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
9460 * wcsmbs/wcsspn.c (wcsspn): Likewise.
9461 * wcsmbs/wcsstr.c (wcsstr): Likewise.
9462 * wcsmbs/wmemchr.c (wmemchr): Likewise.
9463 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9464 * wcsmbs/wmemset.c (wmemset): Likewise.
9465
9e54314b
JM
94662013-06-06 Joseph Myers <joseph@codesourcery.com>
9467
9468 * scripts/config.guess: Update to version 2013-05-16.
9469 * scripts/config.sub: Update to version 2013-04-24.
9470 * scripts/install-sh: Update to version 2011-11-20.07.
9471 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
9472 * scripts/move-if-change: Update to version 2012-01-06 07:23.
9473
350635a5
OB
94742013-06-06 Ondřej Bílka <neleai@seznam.cz>
9475
9476 * debug/fgetws_u_chk.c: Fix leading whitespaces.
9477 * elf/sln.c: Likewise.
9478 * hurd/hurd/ioctl.h: Likewise.
9479 * hurd/hurdmalloc.c: Likewise.
9480 * hurd/xattr.c: Likewise.
9481 * include/shlib-compat.h: Likewise.
9482 * inet/ruserpass.c: Likewise.
9483 * libio/iofgets_u.c: Likewise.
9484 * libio/iofgetws_u.c: Likewise.
9485 * locale/programs/ld-identification.c: Likewise.
9486 * locale/programs/ld-time.c: Likewise.
9487 * mach/msg-destroy.c: Likewise.
9488 * nss/nss_files/files-netgrp.c: Likewise.
9489 * resolv/res_data.c: Likewise.
9490 * soft-fp/op-1.h: Likewise.
9491 * soft-fp/op-2.h: Likewise.
9492 * soft-fp/op-4.h: Likewise.
9493 * soft-fp/op-common.h: Likewise.
9494 * stdio-common/printf_fphex.c: Likewise.
9495 * stdlib/strtod_l.c: Likewise.
9496 * sunrpc/rpc/clnt.h: Likewise.
9497 * sysdeps/generic/framestate.c: Likewise.
9498 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9499 * sysdeps/i386/bsd-setjmp.S: Likewise.
9500 * sysdeps/i386/__longjmp.S: Likewise.
9501 * sysdeps/i386/setjmp.S: Likewise.
9502 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9503 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9504 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9505 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9506 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9507 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9508 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9509 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9510 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9511 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9512 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9513 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9514 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9515 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9516 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9517 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9518 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9519 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
9520 * sysdeps/ieee754/support.c: Likewise.
9521 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9522 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
9523 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
9524 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
9525 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
9526 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
9527 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
9528 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
9529 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
9530 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
9531 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
9532 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
9533 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
9534 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
9535 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
9536 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
9537 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9539
44a988af
OB
95402013-06-05 Ondřej Bílka <neleai@seznam.cz>
9541
25506f09 9542 * posix/transbug.c: Remove executable mode.
44a988af 9543
9c84384c
JM
95442013-06-05 Joseph Myers <joseph@codesourcery.com>
9545
9546 * crypt/speeds.c: Remove trailing whitespace.
9547 * dlfcn/default.c: Likewise.
9548 * elf/ifuncdep2.c: Likewise.
9549 * elf/ifuncmain1.c: Likewise.
9550 * elf/ifuncmain1vis.c: Likewise.
9551 * elf/testobj.h: Likewise.
9552 * elf/tst-stackguard1.c: Likewise.
9553 * gmon/sys/gmon.h: Likewise.
9554 * hurd/hurdmsg.c: Likewise.
9555 * hurd/new-fd.c: Likewise.
9556 * hurd/ports-get.c: Likewise.
9557 * iconvdata/ibm1008_420.c: Likewise.
9558 * inet/tst-getni1.c: Likewise.
9559 * inet/tst-getni2.c: Likewise.
9560 * libio/ioungetc.c: Likewise.
9561 * libio/wfiledoalloc.c: Likewise.
9562 * manual/libm-err-tab.pl: Likewise.
9563 * math/w_dremf.c: Likewise.
9564 * misc/ftruncate.c: Likewise.
9565 * posix/bug-glob2.c: Likewise.
9566 * posix/tst-pcre.c: Likewise.
9567 * posix/wait4.c: Likewise.
9568 * resolv/README: Likewise.
9569 * resolv/res_debug.h: Likewise.
9570 * resolv/tst-inet_ntop.c: Likewise.
9571 * setjmp/bug269-setjmp.c: Likewise.
9572 * soft-fp/extended.h: Likewise.
9573 * soft-fp/op-1.h: Likewise.
9574 * soft-fp/op-2.h: Likewise.
9575 * soft-fp/op-4.h: Likewise.
9576 * soft-fp/op-8.h: Likewise.
9577 * soft-fp/testit.c: Likewise.
9578 * stdio-common/bug16.c: Likewise.
9579 * stdlib/random.c: Likewise.
9580 * sunrpc/rpcsvc/rquota.x: Likewise.
9581 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
9582 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9583 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9584 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9585 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9586 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9587 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9588 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9589 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9590 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9591 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9592 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9593 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9594 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9595 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9596 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9597 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9598 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9599 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9600 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9601 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9602 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9603 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9604 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9605 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9606 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9607 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9608 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9609 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9610 * sysdeps/ieee754/s_lib_version.c: Likewise.
9611 * sysdeps/mach/hurd/check_fds.c: Likewise.
9612 * sysdeps/mach/hurd/getsockname.c: Likewise.
9613 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
9614 * sysdeps/mach/hurd/recvfrom.c: Likewise.
9615 * sysdeps/powerpc/bits/link.h: Likewise.
9616 * sysdeps/powerpc/dl-procinfo.c: Likewise.
9617 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
9618 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
9619 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
9620 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9621 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9622 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
9623 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9624 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
9625 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9626 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9627 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9628 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
9629 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9630 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9631 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9632 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9633 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9634 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9635 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9636 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9637 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
9638 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9639 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9640 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
9641 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9642 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9643 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9644 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9645 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9646 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9647 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9648 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9649 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9650 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
9651 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9652 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
9653 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9654 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9655 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
9656 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
9657 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
9658 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
9659 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
9660 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9661 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
9662 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
9663 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9664 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
9665 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
9666 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9667 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9668 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9669 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9670 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
9671 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9672 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9673 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9674 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
9675 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9676 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
9677 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
9678 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
9679 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9680 * sysdeps/powerpc/sysdep.h: Likewise.
9681 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9682 * sysdeps/s390/s390-64/sub_n.S: Likewise.
9683 * sysdeps/sh/dl-trampoline.S: Likewise.
9684 * sysdeps/sh/memset.S: Likewise.
9685 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
9686 * sysdeps/sh/strlen.S: Likewise.
9687 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
9688 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
9689 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
9690 * sysdeps/sparc/sparc32/rem.S: Likewise.
9691 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
9692 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
9693 * sysdeps/sparc/sparc32/strchr.S: Likewise.
9694 * sysdeps/sparc/sparc32/udiv.S: Likewise.
9695 * sysdeps/sparc/sparc32/urem.S: Likewise.
9696 * sysdeps/sparc/sparc64/add_n.S: Likewise.
9697 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9698 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
9699 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
9700 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
9701 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
9702 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
9703 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
9704 * sysdeps/unix/bsd/times.c: Likewise.
9705 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
9706 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
9707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9710 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9711 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9712 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
9713 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
9714 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
9715 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
9716 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9717 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
9718 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9719 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9720 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
9721 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9722 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
9723 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
9724 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
9725 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
9726 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
9727 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9728 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
9729 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
9730 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9731 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
9732 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9733 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
9734 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
9735 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
9736 * sysdeps/x86_64/strcspn.S: Likewise.
9737
869378a5
RA
97382013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9739
9740 * locale/C-translit.h: Revert #include <stdint.h> because this is a
9741 generated file. Regenerate properly from gen-translit.pl.
9742 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
9743 locale/C-translit.h.
9744
840e2943
AS
97452013-06-05 Andreas Schwab <schwab@suse.de>
9746
9747 [BZ #15100]
9748 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
9749 week as 6 instead of -1.
9750 * time/tst-strptime.c (day_tests): Add test case.
9751
4c60cb0c
SP
97522013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9753
9754 * sysdeps/generic/math_private.h
9755 (libc_feholdexcept_setround_53bit): Replace with
9756 libc_feholdsetround_53bit.
9757 (libc_feupdateenv_53bit): Replace with
9758 libc_feresetround_53bit.
9759 (SET_RESTORE_ROUND_53BIT): Adjust.
9760
d180203e
SP
97612013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9762
96df079a
SP
9763 * string/test-strchrnul.c: Add copyright header.
9764
d180203e
SP
9765 * posix/tst-getaddrinfo4.c: Increase test timeout.
9766
8b0ccb2d
CD
97672013-06-03 Carlos O'Donell <carlos@redhat.com>
9768
9769 [BZ #15536]
9770 * math/libm-test.inc (MAX_EXP): Remove
9771 (MIN_EXP): Define.
9772 (ulp): Use MIN_EXP - MANT_DIG.
9773 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
9774
3b3c4d40
CD
97752013-05-31 Carlos O'Donell <carlos@redhat.com>
9776
9777 * po/be.po: Revert last change.
9778 * po/zh_CN.po: Likewise.
9779 * po/header.pot: Likewise.
9780
fab7ce3f
JM
97812013-05-31 Joseph Myers <joseph@codesourcery.com>
9782
9783 * Makefile ($(common-objpfx)linkobj/libc.so): Define
9784 link-libc-deps to empty as target-specific variable.
9785 * Makerules (link-libc-args): New variable.
9786 (libc-for-link): Likewise.
9787 (link-libc-deps): Likewise.
9788 (lib%.so): Depend on $(link-libc-deps). Link with
9789 $(link-libc-args).
9790 (build-module): Link with $(link-libc-args).
9791 (build-module-asneeded): Likewise.
9792 (build-module-helper-objlist): Filter out $(link-libc-deps) from
9793 list of objects.
9794 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
9795 target-specific variable.
9796 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
9797 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
9798 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
9799 libc.
9800 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
9801 libc and ld.so.
9802 ($(objpfx)libpcprofile.so): Likewise.
9803 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
9804 libc_nonshared.a.
9805 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
9806 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
9807 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
9808 $(link-libc-deps).
9809 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
9810 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
9811 * login/Makefile ($(objpfx)libutil.so): Likewise.
9812 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
9813 * math/Makefile ($(objpfx)libm.so): Likewise.
9814 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
9815 $(objpfx)libnsl.so): Define libc-for-link as target-specific
9816 variable instead of depending directly on libc.
9817 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
9818 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
9819 $(link-libc-deps).
9820 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
9821 libc.
9822 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
9823 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
9824 ($(objpfx)libanl.so): Likewise.
9825 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
9826 ld.so.
9827 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
9828 $(link-libc-deps).
9829 * sysdeps/i386/fpu/Makefile: Remove file.
9830 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
9831 ($(objpfx)libm.so): Remove dependency on ld.so.
9832
eca5920c
PF
98332013-05-30 Patsy Franklin <pfrankli@redhat.com>
9834
9835 [BZ # 15553]
9836 * nis/yp_xdr.c (XDRMAXNAME): Define.
9837 (XDRMAXRECORD): Define.
9838 (xdr_domainname): Use XDRMAXNAME.
9839 (xdr_mapname): Likewise.
9840 (xdr_peername): Likewise.
9841 (xdr_keydat): Use XDRMAXRECORD.
9842 (xdr_valdat): Likewise.
9843
98442013-05-30 Jeff Law <law@redhat.com>
96945714
JL
9845
9846 [BZ #14256]
9847 * manual/errno.texi (ESTALE): Update to account for more than
9848 just NFS file systems.
9849 * sysdeps/gnu/errlist.c: Regenerated.
9850
b9375348
SP
98512013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9852
9853 [BZ #15465]
9854 * elf/Makefile (tests): Add tst-null-argv.
9855 (modules-names): Add tst-null-argv-lib.
9856 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
9857 (tst-null-argv-ENV): Set environment for tst-null-argv.
9858 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
9859 (RTLD_PROGNAME): New macro.
9860 * elf/tst-null-argv.c: New test case.
9861 * elf/tst-null-argv-lib.c: Library for test case.
9862 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
9863 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
9864 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
9865 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
9866 * elf/dl-init.c (call_init): Likewise.
9867 (_dl_init): Likewise.
9868 * elf/dl-load.c (print_search_path): Likewise.
9869 (_dl_map_object): Likewise.
9870 * elf/dl-lookup.c (do_lookup_x): Likewise.
9871 (add_dependency): Likewise.
9872 (_dl_lookup_symbol_x): Likewise.
9873 (_dl_debug_bindings): Likewise.
9874 * elf/dl-open.c (_dl_show_scope): Likewise.
9875 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9876 * elf/dl-version.c (match_symbol): Likewise.
9877 (_dl_check_map_versions): Likewise.
9878 * elf/rtld.c (dl_main): Likewise.
9879 (print_unresolved): Use RTLD_PROGNAME.
9880 (print_missing_version): Likewise.
9881 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
9882 (elf_machine_rela): Likewise.
9883 * sysdeps/powerpc/powerpc32/dl-machine.c
9884 (__process_machine_rela): Likewise.
9885 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9886 Likewise.
9887 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9888 Likewise.
9889 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9890 Likewise.
9891 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9892 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
9893 Likewise.
9894 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
9895 Likewise.
9896 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9897
8a9f20c8
CD
98982013-05-28 Carlos O'Donell <carlos@redhat.com>
9899
9900 * po/be.po: Add descriptive title.
9901 * po/zh_CN.po: Likewise.
9902 * po/header.pot: Likewise.
9903
0e60d68e
MF
99042013-05-28 Mike Frysinger <vapier@gentoo.org>
9905
9906 * locale/programs/locarchive.c (create_archive): Inlucde fname in
9907 error message.
9908 (enlarge_archive): Likewise.
9909
56b672e9
BN
99102013-05-28 Ben North <ben@redfrontdoor.org>
9911
9912 * manual/arith.texi (frexp): It is the magnitude of the return
9913 value which lies in [0.5, 1), not the return value itself.
9914
5e056687
AZ
99152013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9916
9917 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9918
2b66ef5d
TS
99192013-05-26 Thomas Schwinge <thomas@codesourcery.com>
9920
528c2405
TS
9921 * stdio-common/bug26.c (main): Correct fscanf template.
9922
07b4c13d
TS
9923 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
9924 declare _dl_skip_args.
9925
ec9dd97c
TS
9926 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
9927 Don't declare.
9928
2b66ef5d
TS
9929 * manual/platform.texi: Add missing @end deftypefun.
9930
4f8dfe27
JM
99312013-05-24 Joseph Myers <joseph@codesourcery.com>
9932
0323d086
JM
9933 [BZ #15529]
9934 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
9935 bit of mantissa of 2^16382.
9936 * math/libm-test.inc (hypot_test_data): Add more tests.
9937
dd4259b9
JM
9938 * math/libm-test.inc: Add drem and pow10 to list of tested
9939 functions.
9940 (pow10_test): New function.
9941 (drem_test): Likewise.
9942 (drem_test_tonearest): Likewise.
9943 (drem_test_towardzero): Likewise.
9944 (drem_test_downward): Likewise.
9945 (drem_test_upward): Likewise.
9946 (main): Call the new functions.
9947
4f8dfe27
JM
9948 * math/libm-test.inc (finite_test_data): Remove.
9949 (finite_test): Run tests from isfinite_test_data.
9950 (gamma_test_data): Remove.
9951 (gamma_test): Run tests from lgamma_test_data.
9952 * sysdeps/i386/fpu/libm-test-ulps: Update.
9953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9954
d116b7c4
AZ
99552013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9956
9957 * manual/platform.texi: Add PowerPC PPR function set documentation.
9958 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
9959 implementation.
9960
e96e3767
CD
99612013-05-24 Carlos O'Donell <carlos@redhat.com>
9962
9963 * math/libm-test.inc (MAX_EXP): Define.
9964 (ULPDIFF): Define.
9965 (ulp): New function.
9966 (check_float_internal): Use ULPDIFF.
9967 (cpow_test): Disable failing test.
9968 (check_ulp): Test ulp() implemetnation.
9969 (main): Call check_ulp before starting tests.
9970
b679a606
JM
99712013-05-24 Joseph Myers <joseph@codesourcery.com>
9972
e8bdba36
JM
9973 * math/gen-libm-test.pl (generate_testfile): Do not handle
9974 START_DATA and END_DATA.
9975 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
9976 END_DATA.
9977 (acos_tonearest_test_data): Likewise.
9978 (acos_towardzero_test_data): Likewise.
9979 (acos_downward_test_data): Likewise.
9980 (acos_upward_test_data): Likewise.
9981 (acosh_test_data): Likewise.
9982 (asin_test_data): Likewise.
9983 (asin_tonearest_test_data): Likewise.
9984 (asin_towardzero_test_data): Likewise.
9985 (asin_downward_test_data): Likewise.
9986 (asin_upward_test_data): Likewise.
9987 (asinh_test_data): Likewise.
9988 (atan_test_data): Likewise.
9989 (atanh_test_data): Likewise.
9990 (atan2_test_data): Likewise.
9991 (cabs_test_data): Likewise.
9992 (cacos_test_data): Likewise.
9993 (cacosh_test_data): Likewise.
9994 (carg_test_data): Likewise.
9995 (casin_test_data): Likewise.
9996 (casinh_test_data): Likewise.
9997 (catan_test_data): Likewise.
9998 (catanh_test_data): Likewise.
9999 (cbrt_test_data): Likewise.
10000 (ccos_test_data): Likewise.
10001 (ccosh_test_data): Likewise.
10002 (ceil_test_data): Likewise.
10003 (cexp_test_data): Likewise.
10004 (cimag_test_data): Likewise.
10005 (clog_test_data): Likewise.
10006 (clog10_test_data): Likewise.
10007 (conj_test_data): Likewise.
10008 (copysign_test_data): Likewise.
10009 (cos_test_data): Likewise.
10010 (cos_tonearest_test_data): Likewise.
10011 (cos_towardzero_test_data): Likewise.
10012 (cos_downward_test_data): Likewise.
10013 (cos_upward_test_data): Likewise.
10014 (cosh_test_data): Likewise.
10015 (cosh_tonearest_test_data): Likewise.
10016 (cosh_towardzero_test_data): Likewise.
10017 (cosh_downward_test_data): Likewise.
10018 (cosh_upward_test_data): Likewise.
10019 (cpow_test_data): Likewise.
10020 (cproj_test_data): Likewise.
10021 (creal_test_data): Likewise.
10022 (csin_test_data): Likewise.
10023 (csinh_test_data): Likewise.
10024 (csqrt_test_data): Likewise.
10025 (ctan_test_data): Likewise.
10026 (ctan_tonearest_test_data): Likewise.
10027 (ctan_towardzero_test_data): Likewise.
10028 (ctan_downward_test_data): Likewise.
10029 (ctan_upward_test_data): Likewise.
10030 (ctanh_test_data): Likewise.
10031 (ctanh_tonearest_test_data): Likewise.
10032 (ctanh_towardzero_test_data): Likewise.
10033 (ctanh_downward_test_data): Likewise.
10034 (ctanh_upward_test_data): Likewise.
10035 (erf_test_data): Likewise.
10036 (erfc_test_data): Likewise.
10037 (exp_test_data): Likewise.
10038 (exp_tonearest_test_data): Likewise.
10039 (exp_towardzero_test_data): Likewise.
10040 (exp_downward_test_data): Likewise.
10041 (exp_upward_test_data): Likewise.
10042 (exp10_test_data): Likewise.
10043 (exp2_test_data): Likewise.
10044 (expm1_test_data): Likewise.
10045 (fabs_test_data): Likewise.
10046 (fdim_test_data): Likewise.
10047 (finite_test_data): Likewise.
10048 (floor_test_data): Likewise.
10049 (fma_test_data): Likewise.
10050 (fma_towardzero_test_data): Likewise.
10051 (fma_downward_test_data): Likewise.
10052 (fma_upward_test_data): Likewise.
10053 (fmax_test_data): Likewise.
10054 (fmin_test_data): Likewise.
10055 (fmod_test_data): Likewise.
10056 (fpclassify_test_data): Likewise.
10057 (frexp_test_data): Likewise.
10058 (gamma_test_data): Likewise.
10059 (hypot_test_data): Likewise.
10060 (ilogb_test_data): Likewise.
10061 (isfinite_test_data): Likewise.
10062 (isgreater_test_data): Likewise.
10063 (isgreaterequal_test_data): Likewise.
10064 (isinf_test_data): Likewise.
10065 (isless_test_data): Likewise.
10066 (islessequal_test_data): Likewise.
10067 (islessgreater_test_data): Likewise.
10068 (isnan_test_data): Likewise.
10069 (isnormal_test_data): Likewise.
10070 (issignaling_test_data): Likewise.
10071 (isunordered_test_data): Likewise.
10072 (j0_test_data): Likewise.
10073 (j1_test_data): Likewise.
10074 (jn_test_data): Likewise.
10075 (ldexp_test_data): Likewise.
10076 (lgamma_test_data): Likewise.
10077 (lrint_test_data): Likewise.
10078 (lrint_tonearest_test_data): Likewise.
10079 (lrint_towardzero_test_data): Likewise.
10080 (lrint_downward_test_data): Likewise.
10081 (lrint_upward_test_data): Likewise.
10082 (llrint_test_data): Likewise.
10083 (llrint_tonearest_test_data): Likewise.
10084 (llrint_towardzero_test_data): Likewise.
10085 (llrint_downward_test_data): Likewise.
10086 (llrint_upward_test_data): Likewise.
10087 (log_test_data): Likewise.
10088 (log10_test_data): Likewise.
10089 (log1p_test_data): Likewise.
10090 (log2_test_data): Likewise.
10091 (logb_test_data): Likewise.
10092 (logb_downward_test_data): Likewise.
10093 (lround_test_data): Likewise.
10094 (llround_test_data): Likewise.
10095 (modf_test_data): Likewise.
10096 (nearbyint_test_data): Likewise.
10097 (nextafter_test_data): Likewise.
10098 (nexttoward_test_data): Likewise.
10099 (pow_test_data): Likewise.
10100 (pow_tonearest_test_data): Likewise.
10101 (pow_towardzero_test_data): Likewise.
10102 (pow_downward_test_data): Likewise.
10103 (pow_upward_test_data): Likewise.
10104 (remainder_test_data): Likewise.
10105 (remainder_tonearest_test_data): Likewise.
10106 (remainder_towardzero_test_data): Likewise.
10107 (remainder_downward_test_data): Likewise.
10108 (remainder_upward_test_data): Likewise.
10109 (remquo_test_data): Likewise.
10110 (rint_test_data): Likewise.
10111 (rint_tonearest_test_data): Likewise.
10112 (rint_towardzero_test_data): Likewise.
10113 (rint_downward_test_data): Likewise.
10114 (rint_upward_test_data): Likewise.
10115 (round_test_data): Likewise.
10116 (scalb_test_data): Likewise.
10117 (scalbn_test_data): Likewise.
10118 (scalbln_test_data): Likewise.
10119 (signbit_test_data): Likewise.
10120 (sin_test_data): Likewise.
10121 (sin_tonearest_test_data): Likewise.
10122 (sin_towardzero_test_data): Likewise.
10123 (sin_downward_test_data): Likewise.
10124 (sin_upward_test_data): Likewise.
10125 (sincos_test_data): Likewise.
10126 (sinh_test_data): Likewise.
10127 (sinh_tonearest_test_data): Likewise.
10128 (sinh_towardzero_test_data): Likewise.
10129 (sinh_downward_test_data): Likewise.
10130 (sinh_upward_test_data): Likewise.
10131 (sqrt_test_data): Likewise.
10132 (tan_test_data): Likewise.
10133 (tan_tonearest_test_data): Likewise.
10134 (tan_towardzero_test_data): Likewise.
10135 (tan_downward_test_data): Likewise.
10136 (tan_upward_test_data): Likewise.
10137 (tanh_test_data): Likewise.
10138 (tgamma_test_data): Likewise.
10139 (trunc_test_data): Likewise.
10140 (y0_test_data): Likewise.
10141 (y1_test_data): Likewise.
10142 (yn_test_data): Likewise.
10143 (significand_test_data): Likewise.
10144
b679a606
JM
10145 * math/gen-libm-test.pl (@functions): Remove variable.
10146 (generate_testfile): Don't handle START and END lines.
10147 * math/libm-test.inc (START): New macro.
10148 (END): Likewise.
10149 (END_COMPLEX): Likewise.
10150 (acos_test): Use END macro without arguments.
10151 (acos_test_tonearest): Likewise.
10152 (acos_test_towardzero): Likewise.
10153 (acos_test_downward): Likewise.
10154 (acos_test_upward): Likewise.
10155 (acosh_test): Likewise.
10156 (asin_test): Likewise.
10157 (asin_test_tonearest): Likewise.
10158 (asin_test_towardzero): Likewise.
10159 (asin_test_downward): Likewise.
10160 (asin_test_upward): Likewise.
10161 (asinh_test): Likewise.
10162 (atan_test): Likewise.
10163 (atanh_test): Likewise.
10164 (atan2_test): Likewise.
10165 (cabs_test): Likewise.
10166 (cacos_test): Use END_COMPLEX macro without arguments.
10167 (cacosh_test): Likewise.
10168 (carg_test): Use END macro without arguments.
10169 (casin_test): Use END_COMPLEX macro without arguments.
10170 (casinh_test): Likewise.
10171 (catan_test): Likewise.
10172 (catanh_test): Likewise.
10173 (cbrt_test): Use END macro without arguments.
10174 (ccos_test): Use END_COMPLEX macro without arguments.
10175 (ccosh_test): Likewise.
10176 (ceil_test): Use END macro without arguments.
10177 (cexp_test): Use END_COMPLEX macro without arguments.
10178 (cimag_test): Use END macro without arguments.
10179 (clog_test): Use END_COMPLEX macro without arguments.
10180 (clog10_test): Likewise.
10181 (conj_test): Likewise.
10182 (copysign_test): Use END macro without arguments.
10183 (cos_test): Likewise.
10184 (cos_test_tonearest): Likewise.
10185 (cos_test_towardzero): Likewise.
10186 (cos_test_downward): Likewise.
10187 (cos_test_upward): Likewise.
10188 (cosh_test): Likewise.
10189 (cosh_test_tonearest): Likewise.
10190 (cosh_test_towardzero): Likewise.
10191 (cosh_test_downward): Likewise.
10192 (cosh_test_upward): Likewise.
10193 (cpow_test): Use END_COMPLEX macro without arguments.
10194 (cproj_test): Likewise.
10195 (creal_test): Use END macro without arguments.
10196 (csin_test): Use END_COMPLEX macro without arguments.
10197 (csinh_test): Likewise.
10198 (csqrt_test): Likewise.
10199 (ctan_test): Likewise.
10200 (ctan_test_tonearest): Likewise.
10201 (ctan_test_towardzero): Likewise.
10202 (ctan_test_downward): Likewise.
10203 (ctan_test_upward): Likewise.
10204 (ctanh_test): Likewise.
10205 (ctanh_test_tonearest): Likewise.
10206 (ctanh_test_towardzero): Likewise.
10207 (ctanh_test_downward): Likewise.
10208 (ctanh_test_upward): Likewise.
10209 (erf_test): Use END macro without arguments.
10210 (erfc_test): Likewise.
10211 (exp_test): Likewise.
10212 (exp_test_tonearest): Likewise.
10213 (exp_test_towardzero): Likewise.
10214 (exp_test_downward): Likewise.
10215 (exp_test_upward): Likewise.
10216 (exp10_test): Likewise.
10217 (exp2_test): Likewise.
10218 (expm1_test): Likewise.
10219 (fabs_test): Likewise.
10220 (fdim_test): Likewise.
10221 (finite_test): Likewise.
10222 (floor_test): Likewise.
10223 (fma_test): Likewise.
10224 (fma_test_towardzero): Likewise.
10225 (fma_test_downward): Likewise.
10226 (fma_test_upward): Likewise.
10227 (fmax_test): Likewise.
10228 (fmin_test): Likewise.
10229 (fmod_test): Likewise.
10230 (fpclassify_test): Likewise.
10231 (frexp_test): Likewise.
10232 (gamma_test): Likewise.
10233 (hypot_test): Likewise.
10234 (ilogb_test): Likewise.
10235 (isfinite_test): Likewise.
10236 (isgreater_test): Likewise.
10237 (isgreaterequal_test): Likewise.
10238 (isinf_test): Likewise.
10239 (isless_test): Likewise.
10240 (islessequal_test): Likewise.
10241 (islessgreater_test): Likewise.
10242 (isnan_test): Likewise.
10243 (isnormal_test): Likewise.
10244 (issignaling_test): Likewise.
10245 (isunordered_test): Likewise.
10246 (j0_test): Likewise.
10247 (j1_test): Likewise.
10248 (jn_test): Likewise.
10249 (ldexp_test): Likewise.
10250 (lgamma_test): Likewise.
10251 (lrint_test): Likewise.
10252 (lrint_test_tonearest): Likewise.
10253 (lrint_test_towardzero): Likewise.
10254 (lrint_test_downward): Likewise.
10255 (lrint_test_upward): Likewise.
10256 (llrint_test): Likewise.
10257 (llrint_test_tonearest): Likewise.
10258 (llrint_test_towardzero): Likewise.
10259 (llrint_test_downward): Likewise.
10260 (llrint_test_upward): Likewise.
10261 (log_test): Likewise.
10262 (log10_test): Likewise.
10263 (log1p_test): Likewise.
10264 (log2_test): Likewise.
10265 (logb_test): Likewise.
10266 (logb_test_downward): Likewise.
10267 (lround_test): Likewise.
10268 (llround_test): Likewise.
10269 (modf_test): Likewise.
10270 (nearbyint_test): Likewise.
10271 (nextafter_test): Likewise.
10272 (nexttoward_test): Likewise.
10273 (pow_test): Likewise.
10274 (pow_test_tonearest): Likewise.
10275 (pow_test_towardzero): Likewise.
10276 (pow_test_downward): Likewise.
10277 (pow_test_upward): Likewise.
10278 (remainder_test): Likewise.
10279 (remainder_test_tonearest): Likewise.
10280 (remainder_test_towardzero): Likewise.
10281 (remainder_test_downward): Likewise.
10282 (remainder_test_upward): Likewise.
10283 (remquo_test): Likewise.
10284 (rint_test): Likewise.
10285 (rint_test_tonearest): Likewise.
10286 (rint_test_towardzero): Likewise.
10287 (rint_test_downward): Likewise.
10288 (rint_test_upward): Likewise.
10289 (round_test): Likewise.
10290 (scalb_test): Likewise.
10291 (scalbn_test): Likewise.
10292 (scalbln_test): Likewise.
10293 (signbit_test): Likewise.
10294 (sin_test): Likewise.
10295 (sin_test_tonearest): Likewise.
10296 (sin_test_towardzero): Likewise.
10297 (sin_test_downward): Likewise.
10298 (sin_test_upward): Likewise.
10299 (sincos_test): Likewise.
10300 (sinh_test): Likewise.
10301 (sinh_test_tonearest): Likewise.
10302 (sinh_test_towardzero): Likewise.
10303 (sinh_test_downward): Likewise.
10304 (sinh_test_upward): Likewise.
10305 (sqrt_test): Likewise.
10306 (tan_test): Likewise.
10307 (tan_test_tonearest): Likewise.
10308 (tan_test_towardzero): Likewise.
10309 (tan_test_downward): Likewise.
10310 (tan_test_upward): Likewise.
10311 (tanh_test): Likewise.
10312 (tgamma_test): Likewise.
10313 (trunc_test): Likewise.
10314 (y0_test): Likewise.
10315 (y1_test): Likewise.
10316 (yn_test): Likewise.
10317 (significand_test): Likewise.
10318
bae143d2
OB
103192013-05-24 Ondřej Bílka <neleai@seznam.cz>
10320
10321 [BZ #15381]
10322 * libio/genops.c (_IO_no_init): Initialize wide struct info.
10323
9323d39b
EM
103242013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
10325
d4ea44a0 10326 [BZ #14894]
9323d39b
EM
10327 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
10328 __ppc_mdoio and __ppc_mdoom.
10329 * manual/platform.texi: Document new functions __ppc_yield,
10330 __ppc_mdoio and __ppc_mdoom.
10331
13e23af7
CD
103322013-05-22 Carlos O'Donell <carlos@redhat.com>
10333
10334 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
10335 (main): Mention "tls" pseudo-hwcap is legacy.
10336 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
10337
351fe550
JM
103382013-05-22 Joseph Myers <joseph@codesourcery.com>
10339
10340 * math/gen-libm-test.pl (parse_args): Output only string of
10341 arguments as text for test name, not full call or descriptions of
10342 tests for extra outputs.
10343 (generate_testfile): Do not pass function name to parse_args.
10344 Generate this_func variable from START.
10345 * math/libm-test.inc (struct test_f_f_data): Rename test_name
10346 field to arg_str.
10347 (struct test_ff_f_data): Likewise.
10348 (test_ff_f_data_nexttoward): Likewise.
10349 (struct test_fi_f_data): Likewise.
10350 (struct test_fl_f_data): Likewise.
10351 (struct test_if_f_data): Likewise.
10352 (struct test_fff_f_data): Likewise.
10353 (struct test_c_f_data): Likewise.
10354 (struct test_f_f1_data): Likewise. Remove field extra_name.
10355 (struct test_fF_f1_data): Likewise.
10356 (struct test_ffI_f1_data): Likewise.
10357 (struct test_c_c_data): Rename test_name field to arg_str.
10358 (struct test_cc_c_data): Likewise.
10359 (struct test_f_i_data): Likewise.
10360 (struct test_ff_i_data): Likewise.
10361 (struct test_f_l_data): Likewise.
10362 (struct test_f_L_data): Likewise.
10363 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
10364 and extra2_name.
10365 (COMMON_TEST_SETUP): New macro.
10366 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
10367 (COMMON_TEST_CLEANUP): Likewise.
10368 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
10369 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
10370 macros.
10371 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
10372 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
10373 macros.
10374 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
10375 (RUN_TEST_fff_f): Take argument string. Call new setup and
10376 cleanup macros.
10377 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
10378 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
10379 macros.
10380 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
10381 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
10382 macros.
10383 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10384 (RUN_TEST_fF_f1): Take argument string. Call new setup and
10385 cleanup macros.
10386 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10387 (RUN_TEST_fI_f1): Take argument string. Call new setup and
10388 cleanup macros.
10389 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10390 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
10391 cleanup macros.
10392 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10393 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
10394 macros.
10395 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
10396 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
10397 macros.
10398 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
10399 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
10400 macros.
10401 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
10402 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
10403 cleanup macros.
10404 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
10405 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
10406 cleanup macros.
10407 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
10408 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
10409 macros.
10410 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
10411 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
10412 cleanup macros.
10413 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
10414 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
10415 macros.
10416 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
10417 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
10418 macros.
10419 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
10420 (RUN_TEST_fFF_11): Take argument string. Call new setup and
10421 cleanup macros.
10422 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
10423
85118d4d
EBM
104242013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10425
10426 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
10427 to _sifields.sigfault.
10428 (si_addr_lsb): Define new macro.
10429 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10430 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10431 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
10432
7a44c18f
CD
104332013-05-03 Carlos O'Donell <carlos at redhat.com>
10434
10435 [BZ #15441]
10436 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
10437 returns -1.
10438 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
10439 null return -1.
10440 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
10441 loading the domain.
10442
b50a7181
JM
104432013-05-22 Joseph Myers <joseph@codesourcery.com>
10444
10445 * math/gen-libm-test.pl (parse_args): Do not include expected
10446 result in test name.
10447 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
10448 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10449 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10450 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10451 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10453
051063c8
SP
104542013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10455
3ce9e010
SP
10456 * benchtests/Makefile: Sort function entries.
10457
051063c8
SP
10458 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
10459 tanh, asinh, acosh, atanh.
10460 * benchtests/acos-inputs: New file.
10461 * benchtests/acosh-inputs: New file.
10462 * benchtests/asin-inputs: New file.
10463 * benchtests/asinh-inputs: New file.
10464 * benchtests/atanh-inputs: New file.
10465 * benchtests/cosh-inputs: New file.
10466 * benchtests/log-inputs: New file.
10467 * benchtests/sinh-inputs: New file.
10468 * benchtests/tanh-inputs: New file.
10469
47c22455
DL
104702013-05-21 Dmitry V. Levin <ldv@altlinux.org>
10471
10472 [BZ #15339]
10473 * posix/tst-getaddrinfo4.c: New test.
10474 * posix/Makefile (tests): Add it.
10475
3d04f5db
SP
104762013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10477
10478 [BZ #15339]
10479 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
10480 when no services were used.
10481 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
10482 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
10483
d5dd6189
AS
104842013-05-21 Andreas Schwab <schwab@suse.de>
10485
10486 [BZ #15014]
10487 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
10488 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
10489 successful.
10490 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
10491 redundant variable declarations and reallocation of buffer when
10492 parsing as IPv6 address. Always set NSS status when called from
10493 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
10494 buffer too small. Correct computation of needed size.
10495 * nss/Makefile (tests): Add test-digits-dots.
10496 * nss/test-digits-dots.c: New test.
10497
fef94eab
SP
104982013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10499
10500 * benchtests/Makefile: Remove instructions for adding
10501 benchmark tests.
10502 * benchtests/README: New file to explain how to execute and
10503 enhance the benchmark tests.
10504
e39adf43
AS
105052013-05-21 Andreas Schwab <schwab@suse.de>
10506
10507 [BZ #15493]
10508 * setjmp/Makefile (tests): Add tst-sigsetjmp.
10509 * setjmp/tst-sigsetjmp.c: New test.
10510
b2b671b6
OB
105112013-05-20 Ondřej Bílka <neleai@seznam.cz>
10512
10513 * sysdeps/x86_64/memset.S (memset): New implementation.
10514 (__bzero): Likewise.
10515 (__memset_tail): New function.
10516
2d48b41c
OB
105172013-05-20 Ondřej Bílka <neleai@seznam.cz>
10518
10519 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
10520 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
10521 __memcpy_sse2_unaligned ifunc selection.
10522 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10523 Add memcpy-sse2-unaligned.S.
10524 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10525 Add: __memcpy_sse2_unaligned.
10526
f16cc3eb
JM
105272013-05-19 Joseph Myers <joseph@codesourcery.com>
10528
3e694268
JM
10529 [BZ #15490]
10530 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10531 math_force_eval before restoring floating-point envrionment.
10532 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
10533 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
10534 Likewise.
10535 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
10536 <math_private.h>.
10537 (__nearbyintl): Use math_force_eval before restoring
10538 floating-point environment.
10539 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
10540
db62a907
JM
10541 * math/gen-libm-test.pl (special_functions): Remove.
10542 (parse_args): Don't handle TEST_extra. Handle functions with no
10543 return value.
10544 * math/libm-test.inc (struct test_sincos_data): Replace with
10545 struct test_fFF_11_data.
10546 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
10547 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
10548 (sincos_test_data): Change element type to struct
10549 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
10550 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
10551 RUN_TEST_LOOP_sincos.
10552 * math/README.libm-test: Don't mention special handling of
10553 individual functions.
10554 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
10555 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10556 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10557 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10558 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10560
f16cc3eb
JM
10561 * math/gen-libm-test.pl (get_variable): Remove function.
10562 (parse_args): Don't show pointer parameters to call in test
10563 names. Use "extra output N" in test names for extra outputs
10564 rather than naming variables.
10565
3779b5b6
JM
105662013-05-18 Joseph Myers <joseph@codesourcery.com>
10567
2ee094ff
JM
10568 [BZ #15488]
10569 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
10570 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
10571 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
10572 double tests.
10573 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
10574 disable.
10575 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
10576 check_long_double.
10577
3779b5b6
JM
10578 * math/gen-libm-test.pl (@tests): Remove variable.
10579 ($count): Likewise.
10580 (new_test): Remove function.
10581 (show_exceptions): New function.
10582 (special_functions): Use show_exceptions instead of new_test.
10583 (parse_args): Likewise.
10584 (generate_testfile): Pass only function name in generated call to
10585 print_max_error or print_complex_max_error.
10586 (get_ulps): Do not handle complex tests specially.
10587 (output_test): Rename to ...
10588 (get_all_ulps_for_test): ... this. Return a string rather than
10589 printing to a file. Require ulps to be present.
10590 (output_ulps): Generate arrays rather than #defines.
10591 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
10592 (struct ulp_data): New type.
10593 (BUILD_COMPLEX_ULP): Remove macro.
10594 (compare_ulp_data): New function.
10595 (find_ulps): Likewise.
10596 (find_test_ulps): Likewise.
10597 (find_function_ulps): Likewise.
10598 (find_complex_function_ulps): Likewise.
10599 (print_max_error): Determine allowed ulps using
10600 find_function_ulps.
10601 (print_complex_max_error): Determine allowed ulps using
10602 find_complex_function_ulps.
10603 (check_float_internal): Determine max ulps using find_test_ulps.
10604 (check_float): Do not take max_ulp parameter. Update call to
10605 check_float_internal.
10606 (check_complex): Likewise.
10607 (check_int): Do not take max_ulp parameter.
10608 (check_long): Likewise.
10609 (check_bool): Likewise.
10610 (check_longlong): Likewise.
10611 (struct test_f_f_data): Remove max_ulp field.
10612 (struct test_ff_f_data): Likewise.
10613 (struct test_ff_f_data_nexttoward): Likewise.
10614 (struct test_fi_f_data): Likewise.
10615 (struct test_fl_f_data): Likewise.
10616 (struct test_if_f_data): Likewise.
10617 (struct test_fff_f_data): Likewise.
10618 (struct test_c_f_data): Likewise.
10619 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
10620 (struct test_fF_f1_data): Likewise.
10621 (struct test_ffI_f1_data): Likewise.
10622 (struct test_c_c_data): Remove max_ulp field.
10623 (struct test_cc_c_data): Likewise.
10624 (struct test_f_i_data): Likewise.
10625 (struct test_ff_i_data): Likewise.
10626 (struct test_f_l_data): Likewise.
10627 (struct test_f_L_data): Likewise.
10628 (struct test_sincos_data): Likewise.
10629 (RUN_TEST_f_f): Do not handle ulps.
10630 (RUN_TEST_LOOP_f_f): Likewise.
10631 (RUN_TEST_2_f): Likewise.
10632 (RUN_TEST_LOOP_2_f): Likewise.
10633 (RUN_TEST_fff_f): Likewise.
10634 (RUN_TEST_LOOP_fff_f): Likewise.
10635 (RUN_TEST_c_f): Likewise.
10636 (RUN_TEST_LOOP_c_f): Likewise.
10637 (RUN_TEST_f_f1): Likewise.
10638 (RUN_TEST_LOOP_f_f1): Likewise.
10639 (RUN_TEST_fF_f1): Likewise.
10640 (RUN_TEST_LOOP_fF_f1): Likewise.
10641 (RUN_TEST_fI_f1): Likewise.
10642 (RUN_TEST_LOOP_fI_f1): Likewise.
10643 (RUN_TEST_ffI_f1): Likewise.
10644 (RUN_TEST_LOOP_ffI_f1): Likewise.
10645 (RUN_TEST_c_c): Likewise.
10646 (RUN_TEST_LOOP_c_c): Likewise.
10647 (RUN_TEST_cc_c): Likewise.
10648 (RUN_TEST_LOOP_cc_c): Likewise.
10649 (RUN_TEST_f_i): Likewise.
10650 (RUN_TEST_LOOP_f_i): Likewise.
10651 (RUN_TEST_f_i_tg): Likewise.
10652 (RUN_TEST_LOOP_f_i_tg): Likewise.
10653 (RUN_TEST_ff_i_tg): Likewise.
10654 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10655 (RUN_TEST_f_b): Likewise.
10656 (RUN_TEST_LOOP_f_b): Likewise.
10657 (RUN_TEST_f_b_tg): Likewise.
10658 (RUN_TEST_LOOP_f_b_tg): Likewise.
10659 (RUN_TEST_f_l): Likewise.
10660 (RUN_TEST_LOOP_f_l): Likewise.
10661 (RUN_TEST_f_L): Likewise.
10662 (RUN_TEST_LOOP_f_L): Likewise.
10663 (RUN_TEST_sincos): Likewise.
10664 (RUN_TEST_LOOP_sincos): Likewise.
10665
8269107f
JM
106662013-05-17 Joseph Myers <joseph@codesourcery.com>
10667
bb38759d
JM
10668 [BZ #15480]
10669 [BZ #15485]
10670 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
10671 main case of finite arguments, set rounding mode to FE_TONEAREST
10672 and discard exceptions.
10673 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
10674 exceptions.
10675 (remainder_tonearest_test_data): New variable.
10676 (remainder_test_tonearest): New function.
10677 (remainder_towardzero_test_data): New variable.
10678 (remainder_test_towardzero): New function.
10679 (remainder_downward_test_data): New variable.
10680 (remainder_test_downward): New function.
10681 (remainder_upward_test_data): New variable.
10682 (remainder_test_upward): New function.
10683 (main): Call the new test functions.
10684
a00bdcf0
JM
10685 * math/libm-test.inc (struct test_f_f1_data): Remove field
10686 extra_init.
10687 (struct test_fF_f1_data): Likewise.
10688 (struct test_ffI_f1_data): Likewise.
10689 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
10690 based on value of EXTRA_EXPECTED.
10691 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10692 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
10693 EXTRA_VAR based on value of EXTRA_EXPECTED.
10694 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10695 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
10696 EXTRA_VAR based on value of EXTRA_EXPECTED.
10697 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10698 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
10699 EXTRA_VAR based on value of EXTRA_EXPECTED.
10700 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10701 * math/gen-libm-test.pl (parse_args): Don't output initializers
10702 for extra output values.
10703
de407f79
JM
10704 * math/libm-test.inc (check_int): Expect result to be exactly
10705 equal to expected value and do not handle ulps.
10706 (check_long): Likewise.
10707 (check_longlong): Likewise.
10708
8269107f
JM
10709 * math/libm-test.inc (ceil_test_data): Test for "inexact"
10710 exceptions.
10711 (cimag_test_data): Likewise.
10712 (conj_test_data): Likewise.
10713 (copysign_test_data): Likewise.
10714 (cproj_test_data): Likewise.
10715 (creal_test_data): Likewise.
10716 (fabs_test_data): Likewise.
10717 (fdim_test_data): Likewise.
10718 (finite_test_data): Likewise.
10719 (floor_test_data): Likewise.
10720 (fmax_test_data): Likewise.
10721 (fmin_test_data): Likewise.
10722 (fmod_test_data): Likewise.
10723 (fpclassify_test_data): Likewise.
10724 (frexp_test_data): Likewise.
10725 (ilogb_test_data): Likewise.
10726 (isfinite_test_data): Likewise.
10727 (isgreater_test_data): Likewise.
10728 (isgreaterequal_test_data): Likewise.
10729 (isinf_test_data): Likewise.
10730 (isless_test_data): Likewise.
10731 (islessequal_test_data): Likewise.
10732 (islessgreater_test_data): Likewise.
10733 (isnan_test_data): Likewise.
10734 (isnormal_test_data): Likewise.
10735 (issignaling_test_data): Likewise.
10736 (isunordered_test_data): Likewise.
10737 (ldexp_test_data): Likewise.
10738 (lrint_test_data): Likewise.
10739 (lrint_test_data) [TEST_FLOAT]: Disable one test.
10740 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
10741 (lrint_tonearest_test_data): Test for "inexact" exceptions.
10742 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10743 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
10744 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10745 test input.
10746 (lrint_towardzero_test_data): Test for "inexact" exceptions.
10747 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10748 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
10749 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
10750 that test input.
10751 (lrint_downward_test_data): Test for "inexact" exceptions.
10752 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10753 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
10754 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10755 test input.
10756 (lrint_upward_test_data): Test for "inexact" exceptions.
10757 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
10758 test input.
10759 (llrint_test_data): Test for "inexact" exceptions.
10760 (llrint_test_data) [TEST_FLOAT]: Disable one test.
10761 (llrint_tonearest_test_data): Test for "inexact" exceptions.
10762 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10763 (llrint_towardzero_test_data): Test for "inexact" exceptions.
10764 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10765 (llrint_downward_test_data): Test for "inexact" exceptions.
10766 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10767 (llrint_upward_test_data): Test for "inexact" exceptions.
10768 (logb_test_data): Likewise.
10769 (logb_downward_test_data): Likewise.
10770 (nextafter_test_data): Likewise.
10771 (nexttoward_test_data): Likewise.
10772 (remainder_test_data): Likewise.
10773 (remquo_test_data): Likewise.
10774 (scalbn_test_data): Likewise.
10775 (scalbln_test_data): Likewise.
10776 (signbit_test_data): Likewise.
10777 (sqrt_test_data): Likewise.
10778 (significand_test_data): Likewise.
10779
48a18de1
SP
107802013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10781
10782 [BZ #15424]
10783 * benchtests/bench-modf.c (struct args): Mark arg0 as
10784 volatile.
10785 * scripts/bench.pl: Mark members of struct args as volatile.
10786
13d3b41a
AZ
107872013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10788
68191c1d 10789 [BZ # 15497]
13d3b41a
AZ
10790 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
10791 negative infinity on POWER6 or lower.
10792 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
10793
2848b105
MR
107942013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
10795
10796 [BZ #15442]
10797 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
10798 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
10799 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
10800 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
10801 (_FP_SETQNAN): New macro.
10802 (_FP_SETQNAN_SEMIRAW): Likewise.
10803 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
10804 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
10805 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
10806 (FP_EXTEND): Use _FP_FRAC_SNANP.
10807 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
10808 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
10809 into account.
10810 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10811 New macro.
10812 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10813 Likewise.
10814
323e5cb7
JM
108152013-05-16 Joseph Myers <joseph@codesourcery.com>
10816
c58b274f
JM
10817 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
10818 with DIVIDE_BY_ZERO_EXCEPTION.
10819 (gamma_test_data): Likewise.
10820 (lgamma_test_data): Likewise.
10821 (log_test_data): Likewise.
10822 (log10_test_data): Likewise.
10823 (log2_test_data): Likewise.
10824 (tgamma_test_data): Likewise.
10825
0ab34904
JM
10826 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
10827 (acos_test_tonearest): Likewise.
10828 (acos_test_towardzero): Likewise.
10829 (acos_test_downward): Likewise.
10830 (acos_test_upward): Likewise.
10831 (acosh_test): Likewise.
10832 (asin_test): Likewise.
10833 (asin_test_tonearest): Likewise.
10834 (asin_test_towardzero): Likewise.
10835 (asin_test_downward): Likewise.
10836 (asin_test_upward): Likewise.
10837 (asinh_test): Likewise.
10838 (atan_test): Likewise.
10839 (atanh_test): Likewise.
10840 (atan2_test): Likewise.
10841 (cabs_test): Likewise.
10842 (cacos_test): Likewise.
10843 (cacosh_test): Likewise.
10844 (casin_test): Likewise.
10845 (casinh_test): Likewise.
10846 (catan_test): Likewise.
10847 (catanh_test): Likewise.
10848 (cbrt_test): Likewise.
10849 (ccos_test): Likewise.
10850 (ccosh_test): Likewise.
10851 (cexp_test): Likewise.
10852 (clog_test): Likewise.
10853 (clog10_test): Likewise.
10854 (cos_test): Likewise.
10855 (cos_test_tonearest): Likewise.
10856 (cos_test_towardzero): Likewise.
10857 (cos_test_downward): Likewise.
10858 (cos_test_upward): Likewise.
10859 (cosh_test): Likewise.
10860 (cosh_test_tonearest): Likewise.
10861 (cosh_test_towardzero): Likewise.
10862 (cosh_test_downward): Likewise.
10863 (cosh_test_upward): Likewise.
10864 (cpow_test): Likewise.
10865 (csin_test): Likewise.
10866 (csinh_test): Likewise.
10867 (csqrt_test): Likewise.
10868 (ctan_test): Likewise.
10869 (ctan_test_tonearest): Likewise.
10870 (ctan_test_towardzero): Likewise.
10871 (ctan_test_downward): Likewise.
10872 (ctan_test_upward): Likewise.
10873 (ctanh_test): Likewise.
10874 (ctanh_test_tonearest): Likewise.
10875 (ctanh_test_towardzero): Likewise.
10876 (ctanh_test_downward): Likewise.
10877 (ctanh_test_upward): Likewise.
10878 (erf_test): Likewise.
10879 (erfc_test): Likewise.
10880 (exp_test): Likewise.
10881 (exp_test_tonearest): Likewise.
10882 (exp_test_towardzero): Likewise.
10883 (exp_test_downward): Likewise.
10884 (exp_test_upward): Likewise.
10885 (exp10_test): Likewise.
10886 (exp2_test): Likewise.
10887 (expm1_test): Likewise.
10888 (fmod_test): Likewise.
10889 (gamma_test): Likewise.
10890 (hypot_test): Likewise.
10891 (j0_test): Likewise.
10892 (j1_test): Likewise.
10893 (jn_test): Likewise.
10894 (lgamma_test): Likewise.
10895 (log_test): Likewise.
10896 (log10_test): Likewise.
10897 (log1p_test): Likewise.
10898 (log2_test): Likewise.
10899 (logb_test_downward): Likewise.
10900 (pow_test): Likewise.
10901 (pow_test_tonearest): Likewise.
10902 (pow_test_towardzero): Likewise.
10903 (pow_test_downward): Likewise.
10904 (pow_test_upward): Likewise.
10905 (remainder_test): Likewise.
10906 (remquo_test): Likewise.
10907 (sin_test): Likewise.
10908 (sin_test_tonearest): Likewise.
10909 (sin_test_towardzero): Likewise.
10910 (sin_test_downward): Likewise.
10911 (sin_test_upward): Likewise.
10912 (sincos_test): Likewise.
10913 (sinh_test): Likewise.
10914 (sinh_test_tonearest): Likewise.
10915 (sinh_test_towardzero): Likewise.
10916 (sinh_test_downward): Likewise.
10917 (sinh_test_upward): Likewise.
10918 (sqrt_test): Likewise.
10919 (tan_test): Likewise.
10920 (tan_test_tonearest): Likewise.
10921 (tan_test_towardzero): Likewise.
10922 (tan_test_downward): Likewise.
10923 (tan_test_upward): Likewise.
10924 (tanh_test): Likewise.
10925 (tgamma_test): Likewise.
10926 (y0_test): Likewise.
10927 (y1_test): Likewise.
10928 (yn_test): Likewise.
10929
323e5cb7
JM
10930 * math/gen-libm-test.pl (adjust_arg): Remove function.
10931 (special_function): Remove argument $in_func. Only handle
10932 generating output for tables of tests, not inside functions.
10933 (parse_args): Likewise.
10934 (generate_testfile): Remove variable $in_func. Update call to
10935 parse_args.
10936 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
10937 (MINUS_ZERO_INIT): Rename macro to minus_zero.
10938 (PLUS_INFTY_INIT): Rename macro to plus_infty.
10939 (MINUS_INFTY_INIT): Rename macro to minus_infty.
10940 (QNAN_VALUE_INIT): Rename macro to qnan_value.
10941 (MAX_VALUE_INIT): Rename macro to max_value.
10942 (MIN_VALUE_INIT): Rename macro to min_value.
10943 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
10944 (plus_zero): Remove variable.
10945 (minus_zero): Likewise.
10946 (plus_infty): Likewise.
10947 (minus_infty): Likewise.
10948 (qnan_value): Likewise.
10949 (max_value): Likewise.
10950 (min_value): Likewise.
10951 (min_subnorm_value): Likewise.
10952
e054f494
RA
109532013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10954
10955 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
10956 uint64_t or uint32_t usage.
10957 * crypt/sha256-block.c: Likewise.
10958 * crypt/sha256-crypt.c: Likewise.
10959 * crypt/sha256.c: Likewise.
10960 * crypt/sha512-block.c: Likewise.
10961 * crypt/sha512-crypt.c: Likewise.
10962 * crypt/sha512.c: Likewise.
10963 * debug/backtrace-tst.c: Likewise.
10964 * debug/pcprofiledump.c: Likewise.
10965 * elf/cache.c: Likewise.
10966 * elf/dl-cache.c: Likewise.
10967 * elf/dl-misc.c: Likewise.
10968 * elf/dl-profile.c: Likewise.
10969 * elf/dl-support.c: Likewise.
10970 * elf/ldconfig.c: Likewise.
10971 * elf/sprof.c: Likewise.
10972 * iconv/dummy-repertoire.c: Likewise.
10973 * iconv/iconv_charmap.c: Likewise.
10974 * iconv/skeleton.c: Likewise.
10975 * iconvdata/8bit-generic.c: Likewise.
10976 * iconvdata/cp737.h: Likewise.
10977 * iconvdata/cp775.h: Likewise.
10978 * iconvdata/ibm1008.h: Likewise.
10979 * iconvdata/ibm1025.h: Likewise.
10980 * iconvdata/ibm1046.h: Likewise.
10981 * iconvdata/ibm1097.h: Likewise.
10982 * iconvdata/ibm1112.h: Likewise.
10983 * iconvdata/ibm1122.h: Likewise.
10984 * iconvdata/ibm1123.h: Likewise.
10985 * iconvdata/ibm1124.h: Likewise.
10986 * iconvdata/ibm1129.h: Likewise.
10987 * iconvdata/ibm1130.h: Likewise.
10988 * iconvdata/ibm1132.h: Likewise.
10989 * iconvdata/ibm1133.h: Likewise.
10990 * iconvdata/ibm1137.h: Likewise.
10991 * iconvdata/ibm1140.h: Likewise.
10992 * iconvdata/ibm1141.h: Likewise.
10993 * iconvdata/ibm1142.h: Likewise.
10994 * iconvdata/ibm1143.h: Likewise.
10995 * iconvdata/ibm1144.h: Likewise.
10996 * iconvdata/ibm1145.h: Likewise.
10997 * iconvdata/ibm1146.h: Likewise.
10998 * iconvdata/ibm1147.h: Likewise.
10999 * iconvdata/ibm1148.h: Likewise.
11000 * iconvdata/ibm1149.h: Likewise.
11001 * iconvdata/ibm1153.h: Likewise.
11002 * iconvdata/ibm1154.h: Likewise.
11003 * iconvdata/ibm1155.h: Likewise.
11004 * iconvdata/ibm1156.h: Likewise.
11005 * iconvdata/ibm1157.h: Likewise.
11006 * iconvdata/ibm1158.h: Likewise.
11007 * iconvdata/ibm1160.h: Likewise.
11008 * iconvdata/ibm1161.h: Likewise.
11009 * iconvdata/ibm1162.h: Likewise.
11010 * iconvdata/ibm1163.h: Likewise.
11011 * iconvdata/ibm1164.h: Likewise.
11012 * iconvdata/ibm1166.h: Likewise.
11013 * iconvdata/ibm1167.h: Likewise.
11014 * iconvdata/ibm12712.h: Likewise.
11015 * iconvdata/ibm1390.h: Likewise.
11016 * iconvdata/ibm1399.h: Likewise.
11017 * iconvdata/ibm16804.h: Likewise.
11018 * iconvdata/ibm4517.h: Likewise.
11019 * iconvdata/ibm4899.h: Likewise.
11020 * iconvdata/ibm4909.h: Likewise.
11021 * iconvdata/ibm4971.h: Likewise.
11022 * iconvdata/ibm5347.h: Likewise.
11023 * iconvdata/ibm803.h: Likewise.
11024 * iconvdata/ibm856.h: Likewise.
11025 * iconvdata/ibm901.h: Likewise.
11026 * iconvdata/ibm902.h: Likewise.
11027 * iconvdata/ibm9030.h: Likewise.
11028 * iconvdata/ibm9066.h: Likewise.
11029 * iconvdata/ibm921.h: Likewise.
11030 * iconvdata/ibm922.h: Likewise.
11031 * iconvdata/ibm9448.h: Likewise.
11032 * iconvdata/isiri-3342.h: Likewise.
11033 * iconvdata/jis0201.h: Likewise.
11034 * include/link.h: Likewise.
11035 * include/netdb.h: Likewise.
11036 * inet/check_native.c: Likewise.
11037 * inet/check_pf.c: Likewise.
11038 * inet/getipv4sourcefilter.c: Likewise.
11039 * inet/getnameinfo.c: Likewise.
11040 * inet/getsourcefilter.c: Likewise.
11041 * inet/htonl.c: Likewise.
11042 * inet/setipv4sourcefilter.c: Likewise.
11043 * inet/setsourcefilter.c: Likewise.
11044 * inet/test-inet6_opt.c: Likewise.
11045 * inet/tst-network.c: Likewise.
11046 * locale/C-collate.c: Likewise.
11047 * locale/C-ctype.c: Likewise.
11048 * locale/C-time.c: Likewise.
11049 * locale/C-translit.h: Likewise.
11050 * locale/loadarchive.c: Likewise.
11051 * locale/programs/3level.h: Likewise.
11052 * locale/programs/charmap.c: Likewise.
11053 * locale/programs/charmap.h: Likewise.
11054 * locale/programs/ld-address.c: Likewise.
11055 * locale/programs/ld-collate.c: Likewise.
11056 * locale/programs/ld-ctype.c: Likewise.
11057 * locale/programs/ld-identification.c: Likewise.
11058 * locale/programs/ld-measurement.c: Likewise.
11059 * locale/programs/ld-messages.c: Likewise.
11060 * locale/programs/ld-monetary.c: Likewise.
11061 * locale/programs/ld-name.c: Likewise.
11062 * locale/programs/ld-numeric.c: Likewise.
11063 * locale/programs/ld-paper.c: Likewise.
11064 * locale/programs/ld-telephone.c: Likewise.
11065 * locale/programs/ld-time.c: Likewise.
11066 * locale/programs/linereader.c: Likewise.
11067 * locale/programs/locale.c: Likewise.
11068 * locale/programs/locarchive.c: Likewise.
11069 * locale/programs/locfile.h: Likewise.
11070 * locale/programs/repertoire.c: Likewise.
11071 * locale/programs/simple-hash.c: Likewise.
11072 * locale/programs/simple-hash.h: Likewise.
11073 * malloc/memusage.c: Likewise.
11074 * malloc/memusagestat.c: Likewise.
11075 * nis/nis_defaults.c: Likewise.
11076 * nis/nis_hash.c: Likewise.
11077 * nis/nis_print.c: Likewise.
11078 * nis/nis_xdr.c: Likewise.
11079 * nscd/connections.c: Likewise.
11080 * nscd/hstcache.c: Likewise.
11081 * nscd/nscd_gethst_r.c: Likewise.
11082 * nscd/nscd_getserv_r.c: Likewise.
11083 * nscd/nscd_helper.c: Likewise.
11084 * nscd/servicescache.c: Likewise.
11085 * nss/makedb.c: Likewise.
11086 * nss/nss_db/db-XXX.c: Likewise.
11087 * nss/nss_db/db-initgroups.c: Likewise.
11088 * nss/nss_db/db-netgrp.c: Likewise.
11089 * nss/nss_files/files-network.c: Likewise.
11090 * nss/nss_files/files-parse.c: Likewise.
11091 * posix/bug-regex5.c: Likewise.
11092 * posix/fnmatch_loop.c: Likewise.
11093 * posix/regcomp.c: Likewise.
11094 * posix/regexec.c: Likewise.
11095 * posix/tst-rfc3484-2.c: Likewise.
11096 * posix/tst-rfc3484-3.c: Likewise.
11097 * posix/tst-rfc3484.c: Likewise.
11098 * resolv/nss_dns/dns-canon.c: Likewise.
11099 * resolv/nss_dns/dns-network.c: Likewise.
11100 * resolv/res_init.c: Likewise.
11101 * resolv/res_mkquery.c: Likewise.
11102 * resolv/tst-aton.c: Likewise.
11103 * stdlib/cxa_atexit.c: Likewise.
11104 * stdlib/cxa_finalize.c: Likewise.
11105 * stdlib/gen-fpioconst.c: Likewise.
11106 * stdlib/strtol_l.c: Likewise.
11107 * string/tst-endian.c: Likewise.
11108 * sunrpc/auth_des.c: Likewise.
11109 * sunrpc/clnt_udp.c: Likewise.
11110 * sunrpc/rtime.c: Likewise.
11111 * sunrpc/svcauth_des.c: Likewise.
11112 * sunrpc/xdr.c: Likewise.
11113 * sunrpc/xdr_intXX_t.c: Likewise.
11114 * sunrpc/xdr_rec.c: Likewise.
11115 * sysdeps/generic/ldconfig.h: Likewise.
11116 * sysdeps/generic/ldsodefs.h: Likewise.
11117 * sysdeps/generic/memusage.h: Likewise.
11118 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
11119 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
11120 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
11121 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11122 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11123 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11124 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
11125 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
11126 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11127 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11128 * sysdeps/posix/getaddrinfo.c: Likewise.
11129 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11130 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11131 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11132 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11133 * sysdeps/powerpc/test-gettimebase.c: Likewise.
11134 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11135 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
11136 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
11137 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
11138 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
11139 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11140 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11141 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
11142 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
11143 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
11144 * sysdeps/x86_64/dl-tls.h: Likewise.
11145 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
11146 * time/alt_digit.c: Likewise.
11147 * time/era.c: Likewise.
11148 * wcsmbs/tst-c16c32-1.c: Likewise.
11149
8c75f674
JM
111502013-05-16 Joseph Myers <joseph@codesourcery.com>
11151
11152 * math/libm-test.inc (struct test_sincos_data): New type.
11153 (RUN_TEST_LOOP_sincos): New macro.
11154 (sincos_test_data): New variable.
11155 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
11156
e6e49e59
RH
111572013-05-16 Richard Henderson <rth@redhat.com>
11158
11159 * math/atest-exp2.c (LIMB64): New macro.
11160 (CONSTSZ): New macro.
11161 (mp_exp1, mp_exp_m1, mp_log2): New variables.
11162 (hexdig): Move ...
11163 (print_mpn_fp): ... to function scope.
11164 (read_mpn_hex): Remove.
11165 (get_log2): Remove.
11166 (exp2_mpn): Use mp_log2.
11167 (main): Use mp_exp1.
11168
15c7c18d
JM
111692013-05-16 Joseph Myers <joseph@codesourcery.com>
11170
105a07df
JM
11171 * math/libm-test.inc: Remove comment about not testing "inexact"
11172 exceptions.
11173 (INEXACT_EXCEPTION): New macro.
11174 (NO_INEXACT_EXCEPTION): Likewise.
11175 (INVALID_EXCEPTION_OK): Update value.
11176 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11177 (OVERFLOW_EXCEPTION_OK): Likewise.
11178 (UNDERFLOW_EXCEPTION_OK): Likewise.
11179 (IGNORE_ZERO_INF_SIGN): Likewise.
11180 (ERRNO_UNCHANGED): Likewise.
11181 (ERRNO_EDOM): Likewise.
11182 (ERRNO_ERANGE): Likewise.
11183 (test_exceptions): Handle testing "inexact" exceptions.
11184 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
11185 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
11186 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
11187 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
11188 INEXACT_EXCEPTION.
11189 (rint_towardzero_test_data): Likewise.
11190 (rint_downward_test_data): Likewise.
11191 (rint_upward_test_data): Likewise.
11192
e9eee333
JM
11193 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
11194 with OVERFLOW_EXCEPTION.
11195 (exp10_test_data): Likewise.
11196 (exp2_test_data): Likewise.
11197 (expm1_test_data): Likewise.
11198 (lgamma_test_data): Likewise.
11199 (pow_test_data): Likewise.
11200 (tgamma_test_data): Likewise.
11201 (yn_test_data): Remove duplicate test of overflow.
11202
1c38ff73
JM
11203 * math/libm-test.inc (struct test_cc_c_data): New type.
11204 (RUN_TEST_LOOP_cc_c): New macro.
11205 (cpow_test_data): New variable.
11206 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
11207
15c7c18d
JM
11208 * math/libm-test.inc (struct test_f_L_data): New type.
11209 (RUN_TEST_LOOP_f_L): New macro.
11210 (llrint_test_data): New variable.
11211 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
11212 (llrint_tonearest_test_data): New variable.
11213 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
11214 (llrint_towardzero_test_data): New variable.
11215 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
11216 (llrint_downward_test_data): New variable.
11217 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
11218 (llrint_upward_test_data): New variable.
11219 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
11220 (llround_test_data): New variable.
11221 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
11222
f137ff13
PC
112232013-05-13 Peter Collingbourne <pcc@google.com>
11224
11225 * math/atest-exp2.c (get_log2): Remove const attribute.
11226
3608cb24
JM
112272013-05-15 Joseph Myers <joseph@codesourcery.com>
11228
11229 * math/libm-test.inc (struct test_f_l_data): New type.
11230 (RUN_TEST_LOOP_f_l): New macro.
11231 (lrint_test_data): New variable.
11232 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
11233 (lrint_tonearest_test_data): New variable.
11234 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
11235 (lrint_towardzero_test_data): New variable.
11236 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
11237 (lrint_downward_test_data): New variable.
11238 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
11239 (lrint_upward_test_data): New variable.
11240 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
11241 (lround_test_data): New variable.
11242 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
11243
39b1f617
PC
112442013-05-15 Peter Collingbourne <pcc@google.com>
11245
1deff3dc
PC
11246 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
11247 (EXTRACT_WORDS64) Use where appropriate.
11248 (INSERT_WORDS64) Likewise.
11249
791f3ba0
PC
11250 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
11251 constraints with x constraints.
11252 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
11253
39b1f617
PC
11254 * malloc/obstack.c (_obstack_compat): Add initializer.
11255
12fba011
EM
112562013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
11257
11258 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
11259 si_trapno and add si_addr_lsb to _sifields.sigfault.
11260 (si_trapno): Remove macro.
11261 (si_addr_lsb): Define new macro.
11262 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
11263
d369f531
JM
112642013-05-15 Joseph Myers <joseph@codesourcery.com>
11265
b861c6c4
JM
11266 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
11267 instead of TEST_f_l.
11268 (llrint_test_tonearest): Likewise.
11269 (llrint_test_towardzero): Likewise.
11270 (llrint_test_downward): Likewise.
11271 (llrint_test_upward): Likewise.
11272 (llround_test): Likewise.
11273
7abeee12
JM
11274 * math/libm-test.inc (struct test_f_i_data): Add comment.
11275 (RUN_TEST_LOOP_f_b): New macro.
11276 (RUN_TEST_LOOP_f_b_tg): Likewise.
11277 (finite_test_data): New variable.
11278 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
11279 (isfinite_test_data): New variable.
11280 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11281 (isinf_test_data): New variable.
11282 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11283 (isnan_test_data): New variable.
11284 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11285 (isnormal_test_data): New variable.
11286 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11287 (issignaling_test_data): New variable.
11288 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11289 (signbit_test_data): New variable.
11290 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11291
cbe8c4d3
JM
11292 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
11293 with INVALID_EXCEPTION.
11294 (acosh_test_data): Likewise.
11295 (asin_test_data): Likewise.
11296 (atanh_test_data): Likewise.
11297 (fmod_test_data): Likewise.
11298 (log_test_data): Likewise.
11299 (log10_test_data): Likewise.
11300 (log2_test_data): Likewise.
11301 (pow_test_data): Likewise.
11302 (sqrt_test_data): Likewise.
11303 (y0_test_data): Likewise.
11304 (y1_test_data): Likewise.
11305 (yn_test_data): Likewise.
11306
5575c0e5
JM
11307 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
11308 function contents.
11309
d369f531
JM
11310 * math/libm-test.inc (struct test_ff_i_data): New type.
11311 (RUN_TEST_LOOP_ff_i_tg): New macro.
11312 (isgreater_test_data): New variable.
11313 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11314 (isgreaterequal_test_data): New variable.
11315 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11316 (isless_test_data): New variable.
11317 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11318 (islessequal_test_data): New variable.
11319 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11320 (islessgreater_test_data): New variable.
11321 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11322 (isunordered_test_data): New variable.
11323 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11324
781fd748
DM
113252013-05-14 David S. Miller <davem@davemloft.net>
11326
11327 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11328
87aa21df
JM
113292013-05-14 Joseph Myers <joseph@codesourcery.com>
11330
5e908270
JM
11331 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
11332
f71172e5
JM
11333 * math/libm-test.inc (struct test_fF_f1_data): Change type of
11334 extra_test to int.
11335 (struct test_f_i_data): Change type of max_ulp to int.
11336
8cfa635a
JM
11337 * math/libm-test.inc (test_ffI_f1_data): New type.
11338 (RUN_TEST_LOOP_ffI_f1): New macro.
11339 (remquo_test_data): New variable.
11340 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
11341
2bcb36b2
JM
11342 * setjmp/tst-setjmp-fp.c: New file.
11343 * setjmp/Makefile (tests): Add tst-setjmp-fp.
11344 (link-libm): New variable.
11345 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
11346
acbd839a
JM
11347 * math/libm-test.inc (struct test_f_i_data): New type.
11348 (RUN_TEST_LOOP_f_i): New macro.
11349 (RUN_TEST_LOOP_f_i_tg): Likewise.
11350 (fpclassify_test_data): New variable.
11351 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
11352 (ilogb_test_data): New variable.
11353 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
11354
e414d745
JM
11355 * math/libm-test.inc (scalbln_test): Correct function name in END
11356 call.
11357
d9c2a0fd
JM
11358 * math/libm-test.inc (struct test_f_f1_data): Add comment.
11359 (RUN_TEST_LOOP_fI_f1): New macro.
11360 (frexp_test_data): New variable.
11361 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
11362
9dc9095d
JM
11363 * math/libm-test.inc (struct test_fF_f1_data): New type.
11364 (RUN_TEST_LOOP_fF_f1): New macro.
11365 (modf_test_data): New variable.
11366 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
11367
87aa21df
JM
11368 * math/libm-test.inc (struct test_f_f1_data): New type.
11369 (RUN_TEST_LOOP_f_f1): New macro.
11370 (gamma_test_data): New variable.
11371 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
11372 (lgamma_test_data): New variable.
11373 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
11374
141af660
CD
113752013-05-13 Carlos O'Donell <carlos@redhat.com>
11376
11377 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
11378 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
11379 (main): Comment "tls" pseudo-hwcap.
11380
6d33265c
JM
113812013-05-13 Joseph Myers <joseph@codesourcery.com>
11382
68fc074c
JM
11383 * math/libm-test.inc (struct test_fl_f_data): New type.
11384 (RUN_TEST_LOOP_fl_f): New variable.
11385 (scalbln_test_data): New variable.
11386 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
11387
243216e1
JM
11388 * math/libm-test.inc (struct test_fi_f_data): New type.
11389 (RUN_TEST_LOOP_fi_f): New macro.
11390 (ldexp_test_data): New variable.
11391 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
11392 (scalbn_test_data): New variable.
11393 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
11394
6a1992e2
JM
11395 * math/libm-test.inc (struct test_c_f_data): New type.
11396 (RUN_TEST_LOOP_c_f): New macro.
11397 (cabs_test_data): New variable.
11398 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
11399 (carg_test_data): New variable.
11400 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
11401 (cimag_test_data): New variable.
11402 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
11403 (creal_test_data): New variable.
11404 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
11405
0e400df5
JM
11406 * math/libm-test.inc (struct test_if_f_data): New type.
11407 (RUN_TEST_LOOP_if_f): New macro.
11408 (jn_test_data): New variable.
11409 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
11410 (yn_test_data): New variable.
11411 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
11412
6d33265c
JM
11413 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
11414
f98ece5f
AZ
114152013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11416
11417 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
11418 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
11419
0f7d347b
SP
114202013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11421
43fe811b
SP
11422 * benchtests/Makefile (CPPFLAGS-nonlib): Add
11423 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
11424 (bench-deps): Add bench-timing.h.
11425 * benchtests-bench-skeleton.c: Include bench-timing.h.
11426 (main): Use TIMING_* macros instead of clock_gettime.
11427 * benchtests/bench-timing.h: New file.
11428
0f7d347b
SP
11429 [BZ #14582]
11430 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
11431 Renamed from _LIB_VERSION.
11432 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
11433
601a3a5f
JM
114342013-05-12 Joseph Myers <joseph@codesourcery.com>
11435
4f184d30
JM
11436 * math/libm-test.inc (struct test_fff_f_data): New type.
11437 (RUN_TEST_LOOP_fff_f): New macro.
11438 (fma_test_data): New variable.
11439 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
11440 (fma_towardzero_test_data): New variable.
11441 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
11442 (fma_downward_test_data): New variable.
11443 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
11444 (fma_upward_test_data): New variable.
11445 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
11446
08198877
JM
11447 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
11448 (struct test_c_c_data): New type.
11449 (RUN_TEST_LOOP_c_c): New macro.
11450 (cacos_test_data): New variable.
11451 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
11452 (cacosh_test_data): New variable.
11453 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
11454 (casin_test_data): New variable.
11455 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
11456 (casinh_test_data): New variable.
11457 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
11458 (catan_test_data): New variable.
11459 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
11460 (catanh_test_data): New variable.
11461 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
11462 (ccos_test_data): New variable.
11463 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
11464 (ccosh_test_data): New variable.
11465 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
11466 (cexp_test_data): New variable.
11467 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
11468 (clog_test_data): New variable.
11469 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
11470 (clog10_test_data): New variable.
11471 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
11472 (conj_test_data): New variable.
11473 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
11474 (cproj_test_data): New variable.
11475 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
11476 (csin_test_data): New variable.
11477 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
11478 (csinh_test_data): New variable.
11479 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
11480 (csqrt_test_data): New variable.
11481 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
11482 (ctan_test_data): New variable.
11483 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
11484 (ctan_tonearest_test_data): New variable.
11485 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11486 (ctan_towardzero_test_data): New variable.
11487 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11488 (ctan_downward_test_data): New variable.
11489 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11490 (ctan_upward_test_data): New variable.
11491 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11492 (ctanh_test_data): New variable.
11493 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
11494 (ctanh_tonearest_test_data): New variable.
11495 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11496 (ctanh_towardzero_test_data): New variable.
11497 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11498 (ctanh_downward_test_data): New variable.
11499 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11500 (ctanh_upward_test_data): New variable.
11501 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11502 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
11503 of BUILD_COMPLEX.
11504
601a3a5f
JM
11505 * math/libm-test.inc (struct test_ff_f_data): New type.
11506 (struct test_ff_f_data_nexttoward): Likewise.
11507 (RUN_TEST_LOOP_2_f): New macro.
11508 (RUN_TEST_LOOP_ff_f): Likewise.
11509 (atan2_test_data): New variable.
11510 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
11511 (copysign_test_data): New variable.
11512 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
11513 (fdim_test_data): New variable.
11514 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
11515 (fmax_test_data): New variable.
11516 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
11517 (fmin_test_data): New variable.
11518 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
11519 (fmod_test_data): New variable.
11520 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
11521 (hypot_test_data): New variable.
11522 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
11523 (nextafter_test_data): New variable.
11524 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
11525 (nexttoward_test_data): New variable.
11526 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
11527 (pow_test_data): New variable.
11528 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
11529 (pow_tonearest_test_data): New variable.
11530 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
11531 (pow_towardzero_test_data): New variable.
11532 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
11533 (pow_downward_test_data): New variable.
11534 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
11535 (pow_upward_test_data): New variable.
11536 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
11537 (remainder_test_data): New variable.
11538 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
11539 (scalb_test_data): New variable.
11540 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
11541 * sysdeps/i386/fpu/libm-test-ulps: Update.
11542
74c57478
JM
115432013-05-11 Joseph Myers <joseph@codesourcery.com>
11544
8329e4da
JM
11545 * math/libm-test.inc (fma_test): Use max_value instead of local
11546 variable fltmax.
11547 (nextafter_test): Likewise.
11548
74c57478
JM
11549 * math/libm-test.inc (acos_towardzero_test_data): New variable.
11550 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11551 (acos_downward_test_data): New variable.
11552 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11553 (acos_upward_test_data): New variable.
11554 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11555 (acosh_test_data): New variable.
11556 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
11557 (asin_test_data): New variable.
11558 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
11559 (asin_tonearest_test_data): New variable.
11560 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11561 (asin_towardzero_test_data): New variable.
11562 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11563 (asin_downward_test_data): New variable.
11564 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11565 (asin_upward_test_data): New variable.
11566 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11567 (asinh_test_data): New variable.
11568 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
11569 (atan_test_data): New variable.
11570 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
11571 (atanh_test_data): New variable.
11572 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
11573 (cbrt_test_data): New variable.
11574 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
11575 (ceil_test_data): New variable.
11576 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
11577 (cos_test_data): New variable.
11578 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
11579 (cos_tonearest_test_data): New variable.
11580 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11581 (cos_towardzero_test_data): New variable.
11582 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11583 (cos_downward_test_data): New variable.
11584 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11585 (cos_upward_test_data): New variable.
11586 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11587 (cosh_test_data): New variable.
11588 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
11589 (cosh_tonearest_test_data): New variable.
11590 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11591 (cosh_towardzero_test_data): New variable.
11592 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11593 (cosh_downward_test_data): New variable.
11594 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11595 (cosh_upward_test_data): New variable.
11596 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11597 (erf_test_data): New variable.
11598 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
11599 (erfc_test_data): New variable.
11600 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
11601 (exp_test_data): New variable.
11602 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
11603 (exp_tonearest_test_data): New variable.
11604 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11605 (exp_towardzero_test_data): New variable.
11606 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11607 (exp_downward_test_data): New variable.
11608 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11609 (exp_upward_test_data): New variable.
11610 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11611 (exp10_test_data): New variable.
11612 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
11613 (exp2_test_data): New variable.
11614 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
11615 (expm1_test_data): New variable.
11616 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
11617 (fabs_test_data): New variable.
11618 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
11619 (floor_test_data): New variable.
11620 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
11621 (j0_test_data): New variable.
11622 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
11623 (j1_test_data): New variable.
11624 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
11625 (log_test_data): New variable.
11626 (log_test): Run tests with RUN_TEST_LOOP_f_f.
11627 (log10_test_data): New variable.
11628 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
11629 (log1p_test_data): New variable.
11630 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
11631 (log2_test_data): New variable.
11632 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
11633 (logb_test_data): New variable.
11634 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
11635 (logb_downward_test_data): New variable.
11636 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11637 (nearbyint_test_data): New variable.
11638 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
11639 (rint_test_data): New variable.
11640 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
11641 (rint_tonearest_test_data): New variable.
11642 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11643 (rint_towardzero_test_data): New variable.
11644 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11645 (rint_downward_test_data): New variable.
11646 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11647 (rint_upward_test_data): New variable.
11648 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11649 (round_test_data): New variable.
11650 (round_test): Run tests with RUN_TEST_LOOP_f_f.
11651 (sin_test_data): New variable.
11652 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
11653 (sin_tonearest_test_data): New variable.
11654 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11655 (sin_towardzero_test_data): New variable.
11656 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11657 (sin_downward_test_data): New variable.
11658 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11659 (sin_upward_test_data): New variable.
11660 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11661 (sinh_test_data): New variable.
11662 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
11663 (sinh_tonearest_test_data): New variable.
11664 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11665 (sinh_towardzero_test_data): New variable.
11666 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11667 (sinh_downward_test_data): New variable.
11668 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11669 (sinh_upward_test_data): New variable.
11670 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11671 (sqrt_test_data): New variable.
11672 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
11673 (tan_test_data): New variable.
11674 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
11675 (tan_tonearest_test_data): New variable.
11676 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11677 (tan_towardzero_test_data): New variable.
11678 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11679 (tan_downward_test_data): New variable.
11680 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11681 (tan_upward_test_data): New variable.
11682 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11683 (tanh_test_data): New variable.
11684 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
11685 (tgamma_test_data): New variable.
11686 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
11687 (trunc_test_data): New variable.
11688 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
11689 (y0_test_data): New variable.
11690 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
11691 (y1_test_data): New variable.
11692 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
11693 (significand_test_data): New variable.
11694 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
11695
7187d844
CG
116962013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
11697
11698 [BZ #12387]
11699 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
11700
f63fae73
PT
117012013-05-10 Pino Toscano <toscano.pino@tiscali.it>
11702
11703 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
11704
8a67a4b3
AJ
117052013-05-10 Andreas Jaeger <aj@suse.de>
11706
11707 [BZ #15448]
11708 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
11709 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
11710
51df539d
JM
117112013-05-10 Joseph Myers <joseph@codesourcery.com>
11712
11713 * math/gen-libm-test.pl (adjust_arg): New function.
11714 (special_functions): Handle generating output in both functions
11715 and arrays.
11716 (parse_args): Likewise.
11717 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
11718 $in_func argument to parse_args.
11719 * math/libm-test.inc (struct test_f_f_data): New type.
11720 (IF_ROUND_INIT_): New macro.
11721 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
11722 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11723 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11724 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11725 (ROUND_RESTORE_): Likewise.
11726 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
11727 (ROUND_RESTORE_FE_TONEAREST): Likewise.
11728 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
11729 (ROUND_RESTORE_FE_UPWARD): Likewise.
11730 (RUN_TEST_LOOP_f_f): New macro.
11731 (acos_test_data): New variable.
11732 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
11733 (acos_tonearest_test_data): New variable.
11734 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11735
5c637fe5
SP
117362013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11737
11738 * benchtests/bench-skeleton.c (startup): Fix coding style.
11739
ab2b9461
JM
117402013-05-10 Joseph Myers <joseph@codesourcery.com>
11741
11742 [BZ #6809]
11743 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
11744 negative infinity argument.
11745 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
11746 negative infinity argument.
11747 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
11748 negative infinity argument.
11749 * math/libm-test.inc (tgamma_test): Expect errno to be set for
11750 domain errors.
11751
4c0fe6fe
FW
117522013-05-10 Florian Weimer <fweimer@redhat.com>
11753
11754 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
11755 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
11756 * iconv/iconv_prog.c (main): Likewise.
11757 * locale/programs/charmap-dir.c (charmap_readdir)
11758 (fopen_uncompressed): Likewise.
11759 * locale/programs/locfile.c (siblings_uncached)
11760 (write_locale_data): Use lstat64 instead of lstat.
11761 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
11762 stat.
11763
a3375d29
AJ
117642013-05-10 Andreas Jaeger <aj@suse.de>
11765
11766 [BZ #15395]
11767 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
11768 localization.
11769 Include <locale.h>.
11770
36129722
CD
117712013-05-09 Carlos O'Donell <carlos@redhat.com>
11772
11773 * elf/dl-close.c (_dl_close_worker): Add comments.
11774
faa7f811
JM
117752013-05-09 Joseph Myers <joseph@codesourcery.com>
11776
ed41ffef
JM
11777 [BZ #15359]
11778 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
11779 high part of pi/2.
11780 (__ieee754_rem_pio2l): Update comments.
11781
d0213cd0
JM
11782 [BZ #15429]
11783 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
11784 high part of pi/2.
11785 (__ieee754_rem_pio2l): Update comments.
11786
0d3e777a
JM
11787 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
11788 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
11789
24f56066
JM
11790 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
11791 M_PI_4l.
11792
faa7f811
JM
11793 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
11794 (M_PI_34_LOG10El): Likewise.
11795 (M_PI2_LOG10El): Likewise.
11796 (M_PI4_LOG10El): Likewise.
11797 (M_PI_LOG10El): Likewise.
11798
e9a5e0fd
AZ
117992013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11800
11801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11802
d8cd06db
JM
118032013-05-08 Joseph Myers <joseph@codesourcery.com>
11804
a0d9f9d7
JM
11805 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
11806 (MINUS_ZERO_INIT): Likewise.
11807 (PLUS_INFTY_INIT): Likewise.
11808 (MINUS_INFTY_INIT): Likewise.
11809 (QNAN_VALUE_INIT): Likewise.
11810 (MAX_VALUE_INIT): Likewise.
11811 (MIN_VALUE_INIT): Likewise.
11812 (MIN_SUBNORM_VALUE_INIT): Likewise.
11813 (plus_zero): Initialize with PLUS_ZERO_INIT.
11814 (minus_zero): Initialize with MINUS_ZERO_INIT.
11815 (plus_infty): Initialize with PLUS_INFTY_INIT.
11816 (minus_infty): Initialize with MINUS_INFTY_INIT.
11817 (qnan_value): Initialize with QNAN_VALUE_INIT.
11818 (max_value): Initialize with MAX_VALUE_INIT.
11819 (min_value): Initialize with MIN_VALUE_INIT.
11820 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
11821
ae08db3b
JM
11822 * math/libm-test.inc (RUN_TEST_if_f): New macro.
11823 (jn_test): Use TEST_if_f instead of TEST_ff_f.
11824 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
11825 (yn_test): Use TEST_if_f instead of TEST_ff_f.
11826
f44bf14a
JM
11827 * math/libm-test.inc (RUN_TEST_f_f): New macro.
11828 (RUN_TEST_2_f): Likewise.
11829 (RUN_TEST_ff_f): Likewise.
11830 (RUN_TEST_fi_f): Likewise.
11831 (RUN_TEST_fl_f): Likewise.
11832 (RUN_TEST_fff_f): Likewise.
11833 (RUN_TEST_c_f): Likewise.
11834 (RUN_TEST_f_f1): Likewise.
11835 (RUN_TEST_fF_f1): Likewise.
11836 (RUN_TEST_fI_f1): Likewise.
11837 (RUN_TEST_ffI_f1): Likewise.
11838 (RUN_TEST_c_c): Likewise.
11839 (RUN_TEST_cc_c): Likewise.
11840 (RUN_TEST_f_i): Likewise.
11841 (RUN_TEST_f_i_tg): Likewise.
11842 (RUN_TEST_ff_i_tg): Likewise.
11843 (RUN_TEST_f_b): Likewise.
11844 (RUN_TEST_f_b_tg): Likewise.
11845 (RUN_TEST_f_l): Likewise.
11846 (RUN_TEST_f_L): Likewise.
11847 (RUN_TEST_sincos): Likewise.
11848 * math/gen-libm-test.pl (new_test): Take new argument to indicate
11849 whether to show exceptions. Do not include ");\n" in return
11850 value.
11851 (special_functions): Output call to RUN_TEST_sincos instead of
11852 check_float calls. Update calls to new_test.
11853 (parse_args): Output call to single RUN_TEST_* macro instead of
11854 check_* calls and other assignments. Update calls to new_test.
11855
d8cd06db
JM
11856 [BZ #2546]
11857 [BZ #2560]
11858 [BZ #5159]
11859 [BZ #15426]
11860 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
11861 input to result for tgamma overflow.
11862 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
11863 (gamma_coeff): New variable.
11864 (NCOEFF): New macro.
11865 (gamma_positive): New function.
11866 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
11867 underflow here. Use gamma_positive instead of exp (lgamma) for
11868 other arguments.
11869 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
11870 (gamma_coeff): New variable.
11871 (NCOEFF): New macro.
11872 (gammaf_positive): New function.
11873 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
11874 underflow here. Use gamma_positive instead of exp (lgamma) for
11875 other arguments.
11876 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
11877 (gamma_coeff): New variable.
11878 (NCOEFF): New macro.
11879 (gammal_positive): New function.
11880 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
11881 underflow here. Use gamma_positive instead of exp (lgamma) for
11882 other arguments.
11883 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
11884 (gamma_coeff): New variable.
11885 (NCOEFF): New macro.
11886 (gammal_positive): New function.
11887 (__ieee754_gammal_r): Handle positive infinity, overflow and
11888 underflow here. Handle NaN the same as positive infinity. Remove
11889 check x < 0xffffffff for negative integers. Use gamma_positive
11890 instead of exp (lgamma) for other arguments.
11891 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
11892 (gamma_coeff): New variable.
11893 (NCOEFF): New macro.
11894 (gammal_positive): New function.
11895 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
11896 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11897 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11898 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
11899 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11900 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
11901 * sysdeps/generic/math_private.h (__gamma_productf): New
11902 prototype.
11903 (__gamma_product): Likewise.
11904 (__gamma_productl): Likewise.
11905 * math/Makefile (libm-calls): Add gamma_product.
11906 * math/libm-test.inc (tgamma_test): Add more tests.
11907 * sysdeps/i386/fpu/libm-test-ulps: Update.
11908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11909
bb7cf681
OB
119102013-05-08 Ondřej Bílka <neleai@seznam.cz>
11911
11912 * benchtests/bench-skeleton.c (main): Preheat CPU.
11913
ba853947
AJ
119142013-05-07 Aurelien Jarno <aurelien@aurel32.net>
11915
11916 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
11917
8347c74c
RM
119182013-05-07 Roland McGrath <roland@hack.frob.com>
11919
11920 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
11921 and _dl_skip_args_internal.
11922
e8dd4791
CD
119232013-05-07 Carlos O'Donell <carlos@redhat.com>
11924
11925 * manual/message.texi (Message Translation): Talk about users.
11926 Message to key mapping impacts design.
11927
c7405830
RM
119282013-05-06 Roland McGrath <roland@hack.frob.com>
11929
a9173057
RM
11930 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
11931
976e2f03
RM
11932 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
11933
9723ffc5
RM
11934 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
11935 * sysdeps/wordsize-64/glob64.c: ... here.
11936
962e6658
RM
11937 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
11938 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
11939 New macros.
11940
ee586a6d
RM
11941 * debug/getlogin_r_chk.c: Moved to ...
11942 * login/getlogin_r_chk.c: ... here.
11943 * debug/Makefile (routines): Move getlogin_r_chk to ...
11944 * login/Makefile (routines): ... here.
11945 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
11946 * login/Versions (libc: GLIBC_2.4): ... here.
11947
355f9165
RM
11948 * io/poll.c (__poll): Renamed from poll.
11949 Add libc_hidden_def.
11950 (poll): Define as weak alias.
11951
bd9ffde6
RM
11952 * debug/ptsname_r_chk.c: Moved to ...
11953 * login/ptsname_r_chk.c: ... here.
11954 * debug/Makefile (routines): Move ptsname_r_chk to ...
11955 * login/Makefile (routines): ... here.
11956 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
11957 * login/Versions (libc: GLIBC_2.4): ... here.
11958
8fb16a04
RM
11959 * posix/getlogin.c: Moved to ...
11960 * login/getlogin.c: ... here.
11961 * posix/getlogin_r.c: Moved to ...
11962 * login/getlogin_r.c: ... here.
11963 * posix/getlogin_r.c: Moved to ...
11964 * login/getlogin_r.c: ... here.
11965 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
11966 * login/Makefile (routines): ... here.
11967 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
11968 * login/Versions (libc: GLIBC_2.0): ... here.
11969
b99b892f
RM
11970 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
11971 (setrlimit): Define as weak alias.
11972
c7405830
RM
11973 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
11974 Call __ names for open, ftruncate, and close.
11975 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
11976 (truncate): Define as weak alias.
11977
5bf96de5
JM
119782013-05-06 Joseph Myers <joseph@codesourcery.com>
11979
9ea3513c
JM
11980 * math/gen-libm-test.pl (parse_args): Initialize x before each
11981 test of frexp, modf and remquo.
11982
5bf96de5
JM
11983 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
11984 test signgam value.
11985
16e616a7
AZ
119862013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11987
11988 [BZ #15418]
11989 [BZ #15419]
11990 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
11991 internal tests.
11992 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11993
d5e82754
RM
119942013-05-06 Roland McGrath <roland@hack.frob.com>
11995
11996 * elf/dl-writev.h: New file.
11997 * elf/dl-misc.c: Include it.
11998 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
11999 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
12000
a7548d41
JM
120012013-05-04 Joseph Myers <joseph@codesourcery.com>
12002
b7dab1e4
JM
12003 * math/libm-test.inc (noXFails): Remove variable.
12004 (noXPasses): Likewise.
12005 (BUILD_COMPLEX_INT): Remove macro.
12006 (print_screen): Remove xfail argument.
12007 (print_screen_max_error): Likewise.
12008 (update_stats): Likewise.
12009 (print_max_error): Likewise. Update calls to other affected
12010 functions.
12011 (print_complex_max_error): Likewise.
12012 (test_single_exception): Update calls to print_screen.
12013 (test_single_errno): Likewise.
12014 (check_float_internal): Remove xfail argument. Update calls to
12015 other affected functions.
12016 (check_float): Likewise.
12017 (check_complex): Likewise.
12018 (check_int): Likewise.
12019 (check_long): Likewise.
12020 (check_bool): Likewise.
12021 (check_longlong): Likewise.
12022 (main): Don't print noXFails and noXPasses.
12023 * math/gen-libm-test.pl (top level): Don't mention expected
12024 failure handling in comment.
12025 (new_test): Don't handle expected failures.
12026 (parse_args): Don't mention expected failure handling in comment.
12027 (generate_testfile): Don't handle expected failures.
12028 (parse_ulps): Likewise.
12029 (print_ulps_file): Likewise.
12030 (get_failure): Remove function.
12031 (output_test): Don't handle expected failures.
12032 * make/README.libm-test: Don't mention expected failure handling.
12033
a7548d41
JM
12034 * math/libm-test.inc (plus_zero): Make const. Add initializer.
12035 (minus_zero): Likewise.
12036 (plus_infty): Likewise.
12037 (minus_infty): Likewise.
12038 (qnan_value): Likewise.
12039 (max_value): Likewise.
12040 (min_value): Likewise.
12041 (min_subnorm_value): Likewise.
12042 (initialize): Do not initialize those variables dynamically.
12043
60bfd54c
RM
120442013-05-03 Roland McGrath <roland@hack.frob.com>
12045
cc0e6ed8
RM
12046 * io/open.c (__open_2): Moved to ...
12047 * io/open_2.c: ... this new file.
12048 * io/open64.c (__open64_2): Moved to ...
12049 * io/open64_2.c: ... this new file.
12050 * io/openat.c (__openat_2): Moved to ...
12051 * io/openat_2.c: ... this new file.
12052 * io/openat64.c (__openat64_2): Moved to ...
12053 * io/openat64_2.c: ... this new file.
12054 * io/Makefile (routines): Add them.
12055 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
12056 * sysdeps/unix/sysv/linux/open_2.c: File removed.
12057 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
12058 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
12059 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
12060 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
12061 (__openat64): Add hidden_ver.
12062 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
12063 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
12064
60bfd54c
RM
12065 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
12066 Separately conditionalize setting of GLRO(dl_sysinfo) so
12067 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
12068 as well, but the actual setting is only under [NEED_DL_SYSINFO].
12069
83e7640f
AZ
120702013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12071
12072 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
12073 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
12074 definition.
12075 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
12076 * sysdeps/unix/sysv/linux/powerpc/init-first.c
12077 (_libc_vdso_platform_setup): Add __vdso_time initialization.
12078 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
12079 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
12080
d5dc2af3
JM
120812013-05-03 Joseph Myers <joseph@codesourcery.com>
12082
c31a5b1e
JM
12083 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
12084 test signgam value.
12085
d5dc2af3
JM
12086 * math/libm-test.inc (hypot_test): Do not use
12087 IGNORE_ZERO_INF_SIGN.
12088
164fd39d
AJ
120892013-05-03 Andreas Jaeger <aj@suse.de>
12090
12091 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
12092 Linux 3.9.
12093 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
12094 (PF_MAX): Adjust for VSOCK change.
12095
8237f48c
AZ
120962013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12097
12098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12099
9df02941
CD
121002013-05-02 Carlos O'Donell <carlos@redhat.com>
12101
12102 [BZ #15264]
12103 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
12104 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
12105 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
12106
d422395e
DM
121072013-05-02 David S. Miller <davem@davemloft.net>
12108
12109 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12110
a07c5731
OB
121112013-05-01 Ondřej Bílka <neleai@seznam.cz>
12112
12113 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
12114
1324e37f
RM
121152013-05-01 Roland McGrath <roland@hack.frob.com>
12116
12117 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
12118
0695940b
RS
121192013-05-01 Richard Smith <richard@metafoo.co.uk>
12120
bb5f27ad 12121 [BZ #14952]
0695940b
RS
12122 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
12123 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
12124 Use __attribute__ ((__gnu_inline__)).
12125 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
12126 Don't use __attribute__ ((__gnu_inline__)).
12127
10de07f5
JM
121282013-05-01 Joseph Myers <joseph@codesourcery.com>
12129
12130 [BZ #15423]
12131 * math/s_catan.c (__catan): Handle small real or imaginary part of
12132 input specially to avoid spurious underflow.
12133 * math/s_catanf.c (__catanf): Likewise.
12134 * math/s_catanh.c (__catanh): Likewise.
12135 * math/s_catanhf.c (__catanhf): Likewise.
12136 * math/s_catanhl.c (__catanhl): Likewise.
12137 * math/s_catanl.c (__catanl): Likewise.
12138 * math/libm-test.inc (catan_test): Add more tests.
12139 (catanh_test): Likewise.
12140 * sysdeps/i386/fpu/libm-test-ulps: Update.
12141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12142
cb4d5414
AZ
121432013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12144
12145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12146
caf84319
JM
121472013-04-30 Joseph Myers <joseph@codesourcery.com>
12148
12149 [BZ #15416]
12150 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
12151 accurately for denominator in atan2.
12152 * math/s_catanf.c (__catanf): Likewise.
12153 * math/s_catanh.c (__catanh): Likewise.
12154 * math/s_catanhf.c (__catanhf): Likewise.
12155 * math/s_catanhl.c (__catanhl): Likewise.
12156 * math/s_catanl.c (__catanl): Likewise.
12157 * math/libm-test.inc (catan_test): Add more tests.
12158 (catanh_test): Likewise.
12159 * sysdeps/i386/fpu/libm-test-ulps: Update.
12160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12161
d569c6ee
SP
121622013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12163
6dbe713d
SP
12164 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
12165
f0ee064b
SP
12166 * benchtests/Makefile (bench): Remove slow benchmarks.
12167 * benchtests/atan-inputs: Add slow benchmark inputs.
12168 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
12169 (BENCH_FUNC): Accept variant offset.
12170 (VARIANT): Define.
12171 * benchtests/bench-skeleton.c (main): Run benchmark for each
12172 variant.
12173 * benchtests/cos-inputs: Add slow benchmark inputs.
12174 * benchtests/exp-inputs: Likewise.
12175 * benchtests/pow-inputs: Likewise.
12176 * benchtests/sin-inputs: Likewise.
12177 * benchtests/slowatan-inputs: Remove.
12178 * benchtests/slowatan.c: Remove.
12179 * benchtests/slowcos-inputs: Remove.
12180 * benchtests/slowcos.c: Remove.
12181 * benchtests/slowexp-inputs: Remove.
12182 * benchtests/slowexp.c: Remove.
12183 * benchtests/slowpow-inputs: Remove.
12184 * benchtests/slowpow.c: Remove.
12185 * benchtests/slowsin-inputs: Remove.
12186 * benchtests/slowsin.c: Remove.
12187 * benchtests/slowtan-inputs: Remove.
12188 * benchtests/slowtan.c: Remove.
12189 * benchtests/tan-inputs: Add slow benchmark inputs.
12190 * scripts/bench.pl: Parse comments and directives.
12191
d569c6ee
SP
12192 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
12193 in CPPFLAGS.
12194 ($(objpfx)bench-%.c): Remove *-ITER.
12195 * benchtests/bench-modf.c: Remove definition of ITER.
12196 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
12197 (main): Loop for DURATION seconds instead of fixed number of
12198 iterations.
12199 * scripts/bench.pl: Don't expect iterations in parameters.
12200
a6a242fe
RM
122012013-04-29 Roland McGrath <roland@hack.frob.com>
12202
12203 * io/fchdir.c (__fchdir): Renamed from fchdir.
12204 (fchdir): Define as weak alias.
12205
f2da7793
JM
122062013-04-29 Joseph Myers <joseph@codesourcery.com>
12207
12208 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
12209 (ERRNO_EDOM): Likewise.
12210 (ERRNO_ERANGE): Likewise.
12211 (noErrnoTests): New variable.
12212 (init_max_error): Set errno to 0.
12213 (test_single_errno): New function.
12214 (test_errno): Likewise.
12215 (check_float_internal): Call test_errno. Set errno to 0.
12216 (check_complex): Refer to errno tests in comment.
12217 (check_int): Call test_errno. Set errno to 0.
12218 (check_long): Likewise.
12219 (check_bool): Likewise.
12220 (check_longlong): Likewise.
12221 (cos_test): Use ERRNO_* flags for errno tests instead of
12222 check_int.
12223 (expm1_test): Likewise.
12224 (fmod_test): Likewise.
12225 (ilogb_test): Likewise.
12226 (lgamma_test): Likewise.
12227 (pow_test): Likewise.
12228 (remainder_test): Likewise.
12229 (sin_test): Likewise.
12230 (tan_test): Likewise.
12231 (yn_test): Likewise.
12232 (initialize): Set errno to 0.
12233 (main): Print number of errno tests.
12234 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
12235
b1a36ceb
AJ
122362013-04-29 Andreas Jaeger <aj@suse.de>
12237
c3ed8088
AJ
12238 [BZ #15084]
12239 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
12240 and RES_USEVC.
12241
f1a24198
AJ
12242 [BZ #15085]
12243 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
12244 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
12245 unimplemented.
12246
9ce3b2cb
AJ
12247 [BZ #15380]
12248 * stdlib/random.c (__initstate): Return NULL if
12249 __initstate fails.
12250
f1a24198 12251 [BZ #15086]
b1a36ceb
AJ
12252 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
12253 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
12254 RES_SNGLKUPREOP.
12255
7e7b6f36
AZ
122562013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12257
12258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12259
4d14f449
JM
122602013-04-29 Joseph Myers <joseph@codesourcery.com>
12261
12262 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
12263 of individual tests.
12264 (casin_test): Likewise.
12265 (casinh_test): Likewise.
12266
5b4217d7
JM
122672013-04-27 Joseph Myers <joseph@codesourcery.com>
12268
12269 [BZ #15409]
12270 * math/s_catan.c (__catan): Handle arguments with large real or
12271 imaginary part separately without squaring.
12272 * math/s_catanf.c (__catanf): Likewise.
12273 * math/s_catanh.c (__catanh): Likewise.
12274 * math/s_catanhf.c (__catanhf): Likewise.
12275 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12276 and redefine.
12277 (__catanhl): Handle arguments with large real or imaginary part
12278 separately without squaring.
12279 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12280 and redefine.
12281 (__catanl): Handle arguments with large real or imaginary part
12282 separately without squaring.
12283 * math/libm-test.inc (catan_test): Add more tests.
12284 (catanh_test): Likewise.
12285 * sysdeps/i386/fpu/libm-test-ulps: Update.
12286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12287
4220c3ef
AJ
122882013-04-27 Andreas Jaeger <aj@suse.de>
12289
12290 [BZ #15007]
12291 * stdlib/stdlib.h: Update guards for qecvt.
12292 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
12293 <stdlib.h>.
12294
4721b2d1
AM
122952013-04-27 Allan McRae <allan@archlinux.org>
12296
12297 * sysdeps/i386/fpu/libm-test-ulps: Update.
12298
f0302940
JM
122992013-04-26 Joseph Myers <joseph@codesourcery.com>
12300
9457fd95
JM
12301 [BZ #15406]
12302 * math/s_catan.c: Include <float.h>.
12303 (__catan): Ensure underflow exception occurs for underflowed
12304 result.
12305 * math/s_catanf.c: Include <float.h>.
12306 (__catanf): Ensure underflow exception occurs for underflowed
12307 result.
12308 * math/s_catanh.c: Include <float.h>.
12309 (__catanh): Ensure underflow exception occurs for underflowed
12310 result.
12311 * math/s_catanhf.c: Include <float.h>.
12312 (__catanhf): Ensure underflow exception occurs for underflowed
12313 result.
12314 * math/s_catanhl.c: Include <float.h>.
12315 (__catanhl): Ensure underflow exception occurs for underflowed
12316 result.
12317 * math/s_catanl.c: Include <float.h>.
12318 (__catanl): Ensure underflow exception occurs for underflowed
12319 result.
12320 * math/libm-test.inc (catan_test): Add more tests.
12321 (catanh_test): Likewise.
12322
f0302940
JM
12323 [BZ #15405]
12324 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
12325 underflowed result.
12326 * math/s_ccoshf.c (__ccoshf): Likewise.
12327 * math/s_ccoshl.c (__ccoshl): Likewise.
12328 * math/s_csin.c (__csin): Likewise.
12329 * math/s_csinf.c (__csinf): Likewise.
12330 * math/s_csinh.c (__csinh): Likewise.
12331 * math/s_csinhf.c (__csinhf): Likewise.
12332 * math/s_csinhl.c (__csinhl): Likewise.
12333 * math/s_csinl.c (__csinl): Likewise.
12334 * math/libm-test.inc (ccos_test): Add more tests.
12335 (ccosh_test): Likewise.
12336 (csin_test): Likewise.
12337 (csinh_test): Likewise.
12338
aa630f59
AZ
123392013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12340
12341 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
12342 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
12343 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
12344 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
12345 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
12346 powerpc/power5+/fpu folders.
12347 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
12348
12349
1b835983
MT
123502013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12351
12352 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12353
73709b26
JM
123542013-04-25 Joseph Myers <joseph@codesourcery.com>
12355
12356 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
12357 additions to variable.
12358 [$(config-machine) = x86_64] (modules-names): Likewise.
12359 ($(objpfx)tst-audit3): Remove dependency.
12360 ($(objpfx)tst-audit3.out): Likewise.
12361 ($(objpfx)tst-audit4): Likewise.
12362 ($(objpfx)tst-audit4.out): Likewise.
12363 ($(objpfx)tst-audit5): Likewise.
12364 ($(objpfx)tst-audit5.out): Likewise.
12365 ($(objpfx)tst-audit6): Likewise.
12366 ($(objpfx)tst-audit6.out): Likewise.
12367 ($(objpfx)tst-audit7): Likewise.
12368 ($(objpfx)tst-audit7.out): Likewise.
12369 (tst-audit3-ENV): Remove variable.
12370 (tst-audit4-ENV): Likewise.
12371 (tst-audit5-ENV): Likewise.
12372 (tst-audit6-ENV): Likewise.
12373 (tst-audit7-ENV): Likewise.
12374 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
12375 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
12376 addition to variable.
12377 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
12378 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
12379 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
12380 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
12381 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
12382 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
12383 tst-audit3, tst-audit4 and tst-audit5.
12384 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
12385 tst-audit6 and tst-audit7.
12386 [$(subdir) = elf] (modules-names): Add audit modules for those
12387 tests.
12388 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
12389 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
12390 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
12391 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
12392 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
12393 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
12394 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
12395 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
12396 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
12397 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
12398 [$(subdir) = elf] (tst-audit3-ENV): New variable.
12399 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
12400 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
12401 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
12402 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
12403 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
12404 Likewise.
12405 [$(subdir) = elf && $(config-cflags-avx) = yes]
12406 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
12407 [$(subdir) = elf && $(config-cflags-avx) = yes]
12408 (CFLAGS-tst-auditmod4a.c): Likewise.
12409 [$(subdir) = elf && $(config-cflags-avx) = yes]
12410 (CFLAGS-tst-auditmod4b.c): Likewise.
12411 [$(subdir) = elf && $(config-cflags-avx) = yes]
12412 (CFLAGS-tst-auditmod6b.c): Likewise.
12413 [$(subdir) = elf && $(config-cflags-avx) = yes]
12414 (CFLAGS-tst-auditmod6c.c): Likewise.
12415 [$(subdir) = elf && $(config-cflags-avx) = yes]
12416 (CFLAGS-tst-auditmod7b.c): Likewise.
12417 * elf/tst-audit3.c: Move to ...
12418 * sysdeps/x86_64/tst-audit3.c: ... here.
12419 * elf/tst-audit4.c: Move to ...
12420 * sysdeps/x86_64/tst-audit4.c: ... here.
12421 * elf/tst-audit5.c: Move to ...
12422 * sysdeps/x86_64/tst-audit5.c: ... here.
12423 * elf/tst-audit6.c: Move to ...
12424 * sysdeps/x86_64/tst-audit6.c: ... here.
12425 * elf/tst-audit7.c: Move to ...
12426 * sysdeps/x86_64/tst-audit7.c: ... here.
12427 * elf/tst-auditmod3a.c: Move to ...
12428 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
12429 * elf/tst-auditmod3b.c: Move to ...
12430 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
12431 * elf/tst-auditmod4a.c: Move to ...
12432 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
12433 * elf/tst-auditmod4b.c: Move to ...
12434 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
12435 * elf/tst-auditmod5a.c: Move to ...
12436 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
12437 * elf/tst-auditmod5b.c: Move to ...
12438 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
12439 * elf/tst-auditmod6a.c: Move to ...
12440 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
12441 * elf/tst-auditmod6b.c: Move to ...
12442 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
12443 * elf/tst-auditmod6c.c: Move to ...
12444 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
12445 * elf/tst-auditmod7a.c: Move to ...
12446 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
12447 * elf/tst-auditmod7b.c: Move to ...
12448 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
12449
1ef74943
PP
124502013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
12451
12452 [BZ #15366]
12453 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
12454 define unconditionally.
12455 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
12456 define unconditionally.
12457 (INT8_C, INT16_C, etc.): Likewise.
12458
93fd48c5
MR
124592013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
12460
ae9552cf
MR
12461 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
12462 __ehdr_start with hidden visibility.
12463
93fd48c5
MR
12464 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
12465
418601aa
CD
124662013-04-24 Carlos O'Donell <carlos@redhat.com>
12467
12468 * math/libm-test.inc (cos_test): Use accurate hex constants.
12469 (sincost_test): Likewise.
12470
2f38fbfe
JM
124712013-04-24 Joseph Myers <joseph@codesourcery.com>
12472
5e221800
JM
12473 * math/libm-test.inc (catan_test): Add more tests.
12474 (catanh_test): Likewise.
12475
77f143fd
JM
12476 * math/s_catanf.c (__catanf): Use suffixed floating-point
12477 constants.
12478 * math/s_catanhf.c (__catanhf): Likewise.
12479 * math/s_catanhl.c (__catanhl): Likewise.
12480 * math/s_catanl.c (__catanl): Likewise.
12481
2f38fbfe
JM
12482 [BZ #15394]
12483 * math/s_catan.c (__catan): Calculate imaginary part of result
12484 with log1p not log unless computing log of number close to 0.
12485 * math/s_catanf.c (__catanf): Likewise.
12486 * math/s_catanl.c (__catanl): Likewise.
12487 * math/s_catanh.c (__catanh): Calculate real part of result with
12488 log1p not log unless computing log of number close to 0.
12489 * math/s_catanhf.c (__catanhf): Likewise.
12490 * math/s_catanhl.c (__catanhl): Likewise.
12491 * math/libm-test.inc (catan_test): Add more tests.
12492 (catanh_test): Likewise.
12493 * sysdeps/i386/fpu/libm-test-ulps: Update.
12494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12495
45d69176
SP
124962013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12497
12498 * benchtests/Makefile: Mention files in which fast and slow
12499 paths of math functions are implemented.
12500
87f51853
RM
125012013-04-23 Roland McGrath <roland@hack.frob.com>
12502
12503 * sysdeps/posix/timespec_get.c: New file.
12504
3c026539
AZ
125052013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12506
12507 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
12508 POWER.
12509 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
12510 for POWER.
12511 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
12512 powerpc/power5/fpu folders.
12513 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
12514 * benchtests/Makefile: Add modf testcase.
12515 * benchtests/bench-modf.c: New file: Benchmark test for mo
12516
ff491d14
SP
125172013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12518
12519 [BZ #14888]
12520 * time/Makefile (tests): Add tst-strptime-whitespace.
12521 * time/strptime_l.c (get_number): Use ISSPACE.
12522 (__strptime_internal): Likewise.
12523 * time/tst-strptime-whitespace.c: New test case.
12524
7ed3f4e8
AS
125252013-04-23 Andreas Schwab <schwab@linux-m68k.org>
12526
12527 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
12528 member.
12529 (_nss_files_init): Set it here.
12530
5c95f7b6
HC
125312013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
12532
12533 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
12534 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
12535 unsigned.
12536
d34c9158
JBG
125372013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
12538
12539 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
12540
2169712d
SP
125412013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12542
12543 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
12544 size just once.
12545
29c5de99
DM
125462013-04-21 David S. Miller <davem@davemloft.net>
12547
12548 * po/ru.po: Update Russion translation from translation project.
12549
ccdad15d
AC
125502013-04-17 Adam Conrad <adconrad@0c3.net>
12551
12552 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
12553 and setfsgid.
12554
0f122b8d
CD
125552013-04-17 Carlos O'Donell <carlos@redhat.com>
12556
5c5b07da 12557 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 12558 * configure: Regenerate.
5c5b07da 12559 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
12560 Add example to error message.
12561 * sysdeps/i386/configure: Regenerate.
12562
037714dd
SP
125632013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12564
12565 * benchtests/Makefile (bench): Add cos, tan, slowcos and
12566 slowtan.
12567 * benchtests/cos-inputs: New file.
12568 * benchtests/slowcos-inputs: New file.
12569 * benchtests/slowcos.c: New file.
12570 * benchtests/slowtan-inputs: New file.
12571 * benchtests/slowtan.c: New file.
12572 * benchtests/tan-inputs: New file.
12573
e913141d
RM
125742013-04-16 Roland McGrath <roland@hack.frob.com>
12575
12576 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
12577 considered kosher.
12578
a2964074
SP
125792013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12580
4856bcd2
SP
12581 * benchtests/Makefile: Include cppflags-iterator.mk to add
12582 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
12583
a2964074
SP
12584 * Makefile.in (bench-clean): New target.
12585 * benchtests/Makefile (bench-clean): Likewise.
12586
9fbf9aca
DH
125872013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
12588
12589 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
12590
207d1e2a
TS
125912013-04-15 Thomas Schwinge <thomas@codesourcery.com>
12592
12593 * stdio-common/tstdiomisc.c: Fix coding-style violation.
12594
306dfba9
AS
125952013-04-15 Andreas Schwab <schwab@suse.de>
12596
12597 * nscd/grpcache.c (cache_addgr): Properly check for short write.
12598 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12599 * nscd/pwdcache.c (cache_addpw): Likewise.
12600 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
12601 more than recsize.
12602
206a6699
SP
126032013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12604
12605 * benchtests/Makefile (bench): Write all output to
12606 bench-out.tmp together.
12607
0582f6b3
AS
126082013-04-15 Andreas Schwab <schwab@suse.de>
12609
12610 * nscd/nscd.c (main): Don't fork again after closing files.
12611
acb4325f
SP
126122013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12613
5cb26d0a
SP
12614 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
12615
acb4325f
SP
12616 * benchtests/Rules (bench-deps): Collect dependencies into a
12617 single variable. Add Makefile to dependencies.
12618 ($(objpfx)bench-%.c): Depend on bench-deps.
12619
47792506
RM
126202013-04-12 Roland McGrath <roland@hack.frob.com>
12621 Xavier Roche <roche+kml2@exalead.com>
12622
12623 [BZ #15361]
12624 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
12625 just that it's a file descriptor.
12626 * manual/llio.texi (Synchronizing AIO Operations): Update description
12627 for EBADF error from aio_fsync.
12628
8fc1bee5
SP
126292013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12630
12631 * Rules (bench): Move target definition...
12632 * benchtests/Makefile: ... here.
12633
aba5e333
CD
126342013-04-11 Carlos O'Donell <carlos@redhat.com>
12635
12636 * math/libm-test.inc (cos_test): Fix PI/2 test.
12637 (sincos_test): Likewise.
12638 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12639 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
12640
273cdee8
AS
126412013-04-11 Andreas Schwab <schwab@suse.de>
12642
6ecec3b6
AS
12643 [BZ #13988]
12644 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
12645 accept exponent character only when digits were seen.
12646 * stdio-common/Makefile (tests): Add bug26.
12647 * stdio-common/bug26.c: New file.
12648
273cdee8
AS
12649 [BZ #14293]
12650 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
12651 non-freeable.
12652
8da491f5
SP
126532013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12654
01dc6df9
SP
12655 * Makeconfig (rtld-prefix): Define built linker prefix.
12656 * Rules (run-bench): Use it.
12657 * math/Makefile (run-regen-ulps): Likewise.
12658
8da491f5
SP
12659 * Rules (bench): Remove eval.
12660
abe7f530
SP
126612013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12662 Roland McGrath <roland@hack.frob.com>
12663 Ondrej Bilka <neleai@seznam.cz>
12664
12665 [BZ #15346]
12666 * time/getdate.c: Include ctype.h and alloca.h.
12667 (__getdate_r): Trim leading and trailing spaces of input.
12668 * time/tst-getdate.c (tests): Add tests with leading and
12669 trailing spaces.
12670
61c23e62
RM
126712013-04-08 Roland McGrath <roland@hack.frob.com>
12672
12673 [BZ #14280]
12674 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
12675 when computing value.
12676
7208a313
CD
126772013-04-06 Carlos O'Donell <carlos@redhat.com>
12678
085b2d41
CD
12679 * math/README.libm-test (How can I generate "libm-test-ulps"?):
12680 Use testrun.sh to run libm tests.
12681
7208a313
CD
12682 [BZ #15309]
12683 * elf/dl-open.c (dl_open_worker): memset all of seen array.
12684
872c0acd
MM
126852013-04-06 Marko Myllynen <myllynen@redhat.com>
12686
12687 [BZ #15264]
12688 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
12689
26510bdd
CD
126902013-04-06 Carlos O'Donell <carlos@redhat.com>
12691
12692 * Makefile.in (regen-ulps): New target.
12693 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
12694 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
12695 [ifneq (no,$(PERL)] (regen-ulps): New target.
12696 [ifeq (no,$(PERL)] (regen-ulps): New target.
12697 * math/libm-test.inc (ulps_file_name): Define.
12698 (output_dir): New variable.
12699 (options): Add "output-dir" option.
12700 (parse_opt): Handle 'o' case.
12701 (main): If output_dir is non-NULL use it as a prefix
12702 otherwise use "".
12703 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
12704
a01f19c8
CD
127052013-04-06 Carlos O'Donell <carlos@redhat.com>
12706
12707 [BZ #10060, #10062]
12708 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
12709 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
12710 fail configure if __sync_val_compare_and_swap is not inlined.
12711 * sysdeps/i386/configure: Regenerate.
12712 * configure.in: Build for i686 when configured for i386.
12713 * configure: Regenerate.
12714 * README: Remove i386 reference.
12715
b7a329a5
CD
127162013-04-06 Carlos O'Donell <carlos@redhat.com>
12717
12718 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
12719 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12720
bf0f50df
TS
127212013-04-05 Thomas Schwinge <thomas@codesourcery.com>
12722
ee091edf
TS
12723 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
12724 (lmsnanval): New variables.
12725 (F): Add conversion tests.
12726 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
12727 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
12728
a8b792d6
TS
12729 * stdio-common/tstdiomisc.c (F): Properly collect individual
12730 tests' results.
12731
a1cbf437
TS
12732 [BZ #14686, #15336]
12733 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
12734 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
12735 Instead, use input NaN values or generate a qNaN by arithmetic
12736 operation. Also fix bugs to comply with the standard.
12737 * math/libm-test.inc (remainder_test): Add more tests.
12738
8b43a0c9
TS
12739 [BZ #15335, #15342]
12740 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
12741 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
12742 input NaN values or generate a qNaN by arithmetic operation.
12743
d91da4ce
TS
12744 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
12745 unreachable code.
12746
bf0f50df
TS
12747 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
12748 definitions.
12749
05e166c8
JM
127502013-04-03 Joseph Myers <joseph@codesourcery.com>
12751
12752 [BZ #14478]
12753 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
12754 underflowed result.
12755 * math/s_cexpf.c (__cexpf): Likewise.
12756 * math/s_cexpl.c (__cexpl): Likewise.
12757 * math/libm-test.inc (cexp_test): Add more tests.
12758
1cef1b19
AS
127592013-04-03 Andreas Schwab <schwab@suse.de>
12760
12761 [BZ #15330]
12762 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
12763 order arrays from heap if bigger than alloca cutoff.
12764
74d87055
TS
127652013-04-03 Thomas Schwinge <thomas@codesourcery.com>
12766
12767 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
12768 (SNAN_TESTS_double): Refer to GCC PR56831.
12769 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
12770 GCC PR56828.
12771
d755bba4
SP
127722013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12773
90d5d5bb
SP
12774 * Rules (bench): Move bench.out after the run is complete.
12775
73e0cd5d
SP
12776 * Rules (bench): Echo currently running benchmark.
12777
64aabd4b
SP
12778 * benchtests/Makefile (bench): Add atan and slowatan.
12779 * benchtests/atan-inputs: New file.
12780 * benchtests/slowatan-inputs: New file.
12781 * benchtests/slowatan.c: New file.
12782
c871eccd
SP
12783 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
12784 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
12785 its value.
12786
d755bba4
SP
12787 [BZ #15305]
12788 * sysdeps/unix/sysv/linux/kernel-features.h
12789 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
12790 __ASSUME_XFS_RESTRICTED_CHOWN.
12791 * sysdeps/unix/sysv/linux/pathconf.c
12792 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12793 Save and restore errno.
12794
52ce4860
JM
127952013-04-02 Joseph Myers <joseph@codesourcery.com>
12796
12797 [BZ #15327]
12798 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
12799 arguments using __kernel_casinh.
12800 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
12801 arguments using __kernel_casinhf.
12802 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
12803 arguments using __kernel_casinhl.
12804 * math/libm-test.inc (cacosh_test): Add more tests.
12805 * sysdeps/i386/fpu/libm-test-ulps: Update.
12806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12807
81f311c2
SP
128082013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12809
e7906a47
SP
12810 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
12811 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
12812
92e3664b
SP
12813 * bench/Makefile (bench): Add sin and slowsin.
12814 * benchtests/sin-inputs: New file.
12815 * benchtests/slowsin-inputs: New file.
12816 * benchtests/slowsin.c: New file.
12817
81f311c2
SP
12818 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
12819 (bench): Add slowexp and slowpow.
12820 (exp-ITER): Increase iterations.
12821 (pow-ITER): Likewise.
12822 * benchtests/exp-inputs: Change input.
12823 * benchtests/pow-inputs: Likewise.
12824 * benchtests/slowexp-inputs: New file.
12825 * benchtests/slowexp.c: New file.
12826 * benchtests/slowpow-inputs: New file.
12827 * benchtests/slowpow.c: New file.
12828
ab0f1aa9
AZ
128292013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12830
12831 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
12832 instructions.
12833 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12834 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
12835 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12836 * benchtests/Makefile: Add rint benchtest.
12837 * benchtests/rint-inputs: Input for rint benchtest.
12838
57267616
TS
128392013-04-02 Thomas Schwinge <thomas@codesourcery.com>
12840
12841 * Versions.def (libm): Add GLIBC_2.18.
12842 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
12843 hidden libm prototypes.
12844 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
12845 * math/Makefile (libm-calls): Add s_issignaling.
12846 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
12847 __issignalingf, __issignalingl. Adjust all libm.abilist files.
12848 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
12849 declaration.
12850 * math/math.h [__USE_GNU] (issignaling): New macro.
12851 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
12852 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
12853 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
12854 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
12855 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
12856 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
12857 * manual/arith.texi (issignaling): New section.
12858 * manual/libm-err-tab.pl (@all_functions): Update comment.
12859 * math/gen-libm-test.pl (parse_args): Apply special handling for
12860 issignaling.
12861 * math/libm-test.inc (print_float, issignaling_test): New
12862 functions.
12863 (check_float_internal): Add issignaling checks.
12864 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
12865 default definition.
12866 * sysdeps/powerpc/math-tests.h: New file.
12867 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
12868 tests.
12869 * math/test-snan.c (TEST_FUNC): Likewise.
12870
6142896d
DM
128712013-03-30 David S. Miller <davem@davemloft.net>
12872
12873 * po/de.po: Update from translation team.
12874
ccc8cadf
JM
128752013-03-30 Joseph Myers <joseph@codesourcery.com>
12876
12877 [BZ #10357]
12878 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12879 imaginary part less than 1.0 and real part less than 0.5
12880 specially.
12881 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12882 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12883 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
12884 (cacos_test): Add more tests.
12885 (casin_test): Likewise.
12886 (casinh_test): Likewise.
12887 * sysdeps/i386/fpu/libm-test-ulps: Update.
12888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12889
0f6a8d4b
SP
128902013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12891
0d1029de
SP
12892 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
12893 ONE with its value.
12894
c2d94018
SP
12895 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
12896 (__pow_mp): Replace ONE and MONE with their values.
12897 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12898 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
12899 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12900 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
12901 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12902 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12903
27ec37f1
SP
12904 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
12905
a64d7e0e
SP
12906 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
12907 (__pow_mp): Replace ZERO and MZERO with their values.
12908 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12909 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12910 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12911 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12912 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12913 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
12914 (__sqr): Likewise.
12915
d26dd3eb
SP
12916 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
12917
0f6a8d4b
SP
12918 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
12919
e57b0c61
RM
129202013-03-28 Roland McGrath <roland@hack.frob.com>
12921
12922 * include/stdlib.h [!SHARED] (__call_tls_dtors):
12923 Declare with __attribute__ ((weak)).
12924 * stdlib/exit.c (__libc_atexit) [!SHARED]:
12925 Call __call_tls_dtors only if it's not NULL.
12926
356b3480
RM
129272013-03-28 Roland McGrath <roland@hack.frob.com>
12928
288f7d79
RM
12929 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
12930 didn't do it already, then set _dl_phdr and _dl_phnum based on the
12931 magic __ehdr_start linker symbol if it's defined.
12932 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
12933 them up here if it was already done.
12934
dc0a0263
RM
12935 * elf/dl-support.c (_dl_phdr): Make pointer to const.
12936 (_dl_aux_init): Use const in cast when setting it.
12937 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
12938 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
12939 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
12940
3d3436ae
RM
12941 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
12942 Declare them here.
12943 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
12944 * csu/libc-tls.c: Nor here.
12945 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
12946
356b3480
RM
12947 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
12948 (__libc_message): Never call vsyslog.
12949
b0f1246a
AM
129502013-03-28 Alan Modra <amodra@gmail.com>
12951
12952 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
12953 Define as empty.
12954 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
12955 Likewise.
12956
fbbe2b9a
AZ
129572013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12958
12959 [BZ #15214]
12960 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
12961 underflow.
12962 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12963
1728ab37
SP
129642013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12965
7a86be6e
SP
12966 [BZ #15304]
12967 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12968 Don't add gid passed as argument.
12969
1728ab37
SP
12970 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
12971
3a7182a1
JM
129722013-03-27 Joseph Myers <joseph@codesourcery.com>
12973
12974 [BZ #15307]
12975 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12976 imaginary part between 1.0 and 1.5 and real part less than 0.5
12977 specially.
12978 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12979 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12980 * math/libm-test.inc (cacos_test): Add more tests.
12981 (casin_test): Likewise.
12982 (casinh_test): Likewise.
12983 * sysdeps/i386/fpu/libm-test-ulps: Update.
12984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12985
6f2e90e7
SP
129862013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12987
5739f705
SP
12988 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
12989 constants.
12990 (norm): Likewise.
12991 (denorm): Likewise.
12992 (__dbl_mp): Likewise.
12993 (add_magnitudes): Likewise.
12994 (sub_magnitudes): Likewise.
12995 (__add): Likewise.
12996 (__sub): Likewise.
12997 (__mul): Likewise.
12998 (__sqr): Likewise.
12999 (__inv): Likewise.
13000 (__dvd): Likewise.
13001
e375e83d
SP
13002 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
13003 commented code.
13004 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
13005 (__dubcos): Likewise.
13006 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
13007 (__ieee754_acos): Likewise.
13008 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
13009 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
13010 (__exp1): Likewise.
13011 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13012 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13013 (log1): Likewise.
13014 (my_log2): Likewise.
13015 (checkint): Likewise.
13016 * sysdeps/ieee754/dbl-64/e_remainder.c
13017 (__ieee754_remainder): Likewise.
13018 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
13019 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
13020 (bsloww): Likewise.
13021 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13022
6f2e90e7
SP
13023 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
13024 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
13025 MANTISSA_STORE_T to store computations on mantissa. Use
13026 macros for rounding and division.
13027 (denorm): Likewise.
13028 (__dbl_mp): Likewise.
13029 (add_magnitudes): Likewise.
13030 (sub_magnitudes): Likewise.
13031 (__mul): Likewise.
13032 (__sqr): Likewise.
13033 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
13034 powers of two in terms of TWOPOW macro.
13035 (mp_no): Make type of mantissa as MANTISSA_T.
13036 [!RADIXI]: Define RADIXI.
13037 [!TWO52]: Define TWO52.
13038 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
13039
fce14d4e
AZ
130402013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13041
13042 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
13043 llroundl symbol when building for PPC32.
13044
9ad027fb
MW
130452013-03-24 Mark H Weaver <mhw@netris.org>
13046
13047 * manual/arith.texi (Normalization Functions): Fix prototypes for
13048 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
13049
e42a38dd
AZ
130502013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13051
13052 [BZ #13889]
13053 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
13054 high value to check if expl overflow.
13055 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
13056 to check for underflow and overflow.
13057 * math/libm-test.inc: Add exp test.
13058
2e0fb521
DL
130592013-03-21 Dmitry V. Levin <ldv@altlinux.org>
13060
13061 [BZ #11120]
13062 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
13063 with NOT_IN_libc.
13064
b5784d95
AZ
130652013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13066
13067 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
13068 symbol.
13069
5aa4a1a1
TS
130702013-03-21 Thomas Schwinge <thomas@codesourcery.com>
13071
bdef0be7
TS
13072 * math/gen-libm-test.pl (parse_args, special_functions): Properly
13073 wrap blocks consisting of several statements.
13074
5aa4a1a1
TS
13075 * sysdeps/generic/math-tests.h: New file.
13076 * sysdeps/i386/fpu/math-tests.h: Likewise.
13077 * math/test-snan.c: Include it.
13078 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
13079
98c48fe5
JM
130802013-03-21 Joseph Myers <joseph@codesourcery.com>
13081
13082 [BZ #15285]
13083 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
13084 (__ieee754_j0l): Do not improve calculations using cos of twice
13085 input for inputs above LDBL_MAX / 2.0L.
13086 (__ieee754_y0l): Likewise.
13087 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
13088 (__ieee754_j1l): Do not improve calculations using cos of twice
13089 input for inputs above LDBL_MAX / 2.0L.
13090 (__ieee754_y1l): Likewise.
13091 * math/libm-test.inc (j0_test): Add another test.
13092 (j1_test): Likewise.
13093 (y0_test): Likewise.
13094 (y1_test): Likewise.
13095 * sysdeps/i386/fpu/libm-test-ulps: Update.
13096
3775a8bc
SP
130972013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13098
13099 * Rules ($(objpfx)bench-%.c): Include code from a C source
13100 file.
13101
0a1b2ae6
JM
131022013-03-21 Joseph Myers <joseph@codesourcery.com>
13103
13104 [BZ #15287]
13105 * math/k_casinh.c (__kernel_casinh): Handle arguments with
13106 imaginary part 1.0 and real part less than 0.5 specially.
13107 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13108 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13109 * math/libm-test.inc (cacos_test): Add more tests.
13110 (casin_test): Likewise.
13111 (casinh_test): Likewise.
13112 * sysdeps/i386/fpu/libm-test-ulps: Update.
13113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13114
b33d4ce4
SP
131152013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13116
13117 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
13118 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
13119
bef0b507
JM
131202013-03-20 Joseph Myers <joseph@codesourcery.com>
13121
13122 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
13123 * config.make.in (config-cflags-sse4): Remove variable.
13124 (config-cflags-avx): Likewise.
13125 (config-cflags-sse2avx): Likewise.
13126 (config-cflags-novzeroupper): Likewise.
13127 (config-asflags-i686): Likewise.
13128 (have-mfma4): Likewise.
13129 (have-as-vis3): Likewise.
13130 (MIG): Likewise.
13131 * configure.in (MIG): Do not AC_SUBST.
13132 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
13133 (libc_cv_cc_sse4): Do not AC_SUBST.
13134 (libc_cv_cc_avx): Likewise.
13135 (libc_cv_cc_sse2avx): Likewise.
13136 (libc_cv_cc_novzeroupper): Likewise.
13137 (libc_cv_cc_fma4): Likewise.
13138 (libc_cv_as_i686): Likewise.
13139 (libc_cv_sparc_as_vis3): Likewise.
13140 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
13141 LIBC_CONFIG_VAR.
13142 (config-asflags-i686): Likewise.
13143 (config-cflags-avx): Likewise.
13144 (config-cflags-sse2avx): Likewise.
13145 (have-mfma4): Likewise.
13146 (config-cflags-novzeroupper): Likewise.
13147 * sysdeps/mach/configure.in (MIG): Likewise.
13148 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
13149 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
13150 LIBC_CONFIG_VAR.
13151 (config-cflags-avx): Likewise.
13152 (config-cflags-sse2avx): Likewise.
13153 (have-mfma4): Likewise.
13154 (config-cflags-novzeroupper): Likewise.
13155 * configure: Regenerated.
13156 * sysdeps/i386/configure: Likewise.
13157 * sysdeps/mach/configure: Likewise.
13158 * sysdeps/sparc/configure: Likewise.
13159 * sysdeps/x86_64/configure: Likewise.
13160
912cc4b3
RM
131612013-03-20 Roland McGrath <roland@hack.frob.com>
13162
13163 [BZ #14812]
13164 * locale/programs/localedef.c (options): Put N_ translation marker
13165 on argument names, not just descriptions.
13166
04eed2b0
MS
131672013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13168
13169 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
13170
a065ceff
OB
131712013-03-20 Ondřej Bílka <neleai@seznam.cz>
13172
9bb2a810 13173 [BZ #14176]
a065ceff
OB
13174 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
13175
a600e5ce
RM
131762013-03-19 Roland McGrath <roland@hack.frob.com>
13177
13178 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
13179 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
13180 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
13181 [!BEFORE_ABORT] (before_abort): New function.
13182 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
13183 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
13184 (writev_for_fatal): New function.
13185 (WRITEV_FOR_FATAL): New macro; call that.
13186 (backtrace_and_maps): New function.
13187 (BEFORE_ABORT): New macro; call that.
13188 (struct str_list): Type removed.
13189 (__libc_message, __libc_fatal): Functions removed.
13190 Include <sysdeps/posix/libc_fatal.c> instead.
13191
6b18bea6
JM
131922013-03-19 Joseph Myers <joseph@codesourcery.com>
13193
13194 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
13195 constants.
13196 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
13197 double constants.
13198
aaa8cb4b
AS
131992013-03-19 Andreas Schwab <schwab@suse.de>
13200
44673770
AS
13201 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
13202 * sysdeps/gnu/configure: Regenerate.
13203
aaa8cb4b
AS
13204 * configure.in: Substitute libc_cv_rtlddir.
13205 * configure: Regenerate.
13206 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
13207 * Makeconfig (rtlddir, inst_rtlddir): New variables.
13208 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
13209 * elf/Makefile (install-others, CFLAGS-interp.c)
13210 (ldso_install, common-ldd-rewrite): Likewise.
13211 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
13212 $(inst_slibdir)/$(rtld-installed-name).
13213 * scripts/rellns-sh: Add -p option.
13214 * Makerules (make-shlib-link): Use rellns-sh to get relative name
13215 for source.
13216
d3cfc668
SP
132172013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13218
13219 * manual/nptl.texi: Renamed to ...
13220 * manual/threads.texi: ... this.
13221 * manual/Makefile (chapters): Update.
13222
0e2b9cdd
RM
132232013-03-18 Roland McGrath <roland@hack.frob.com>
13224
13225 [BZ #14812]
13226 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
13227 on argument names, not just descriptions.
0e2b9cdd
RM
13228 * malloc/memusagestat.c (options): Likewise.
13229 * nss/getent.c (options): Likewise.
63270c24
RM
13230
132312013-03-18 Benno Schulenberg <bensberg@justemail.net>
13232
13233 [BZ #14812]
13234 * iconv/iconv_prog.c (options): Put N_ translation marker
13235 on argument names, not just descriptions.
13236 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 13237
b2e1393c
OB
132382013-03-18 Ondrej Bilka <neleai@seznam.cz>
13239
13240 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
13241 implementation which is faster on all x86_64 architectures.
13242 Tested on AMD, Intel Nehalem, SNB, IVB.
13243 * sysdeps/x86_64/strnlen.S: Likewise.
13244
13245 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13246 Remove all multiarch strlen and strnlen versions.
13247 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13248 Remove strlen and strnlen related parts.
13249
13250 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
13251 Inline strlen part.
13252 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
13253
13254 * sysdeps/x86_64/multiarch/strlen.S: Remove.
13255 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
13256 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
13257 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
13258 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13259 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
13260
ec4ff04d
CD
132612013-03-17 Carlos O'Donell <carlos@redhat.com>
13262
13263 * manual/memory.texi (Malloc Tunable Parameters):
13264 Sort parameters alphabetically. Add comments for missing entries.
13265
cd18e90a
DM
132662013-03-17 David S. Miller <davem@davemloft.net>
13267
13268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13269
2a185d32
JM
132702013-03-16 Joseph Myers <joseph@codesourcery.com>
13271
d2f9799e
JM
13272 [BZ #15283]
13273 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
13274 for arguments at most half maximum finite value.
13275 * math/libm-test.inc (j0_test): Add more tests.
13276 (j1_test): Likewise.
13277 (y0_test): Likewise.
13278 (y1_test): Likewise.
13279 * sysdeps/i386/fpu/libm-test-ulps: Update.
13280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13281
2a185d32
JM
13282 [BZ #14155]
13283 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
13284 1 / x and functions P and Q for arguments above 0x1p256L.
13285 (__ieee754_y0l): Likewise.
13286 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13287 (__ieee754_y1l): Likewise.
13288 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
13289 (j1_test): Likewise.
13290 (y0_test): Likewise.
13291 (y1_test): Likewise.
13292
6cbec759
TS
132932013-03-16 Thomas Schwinge <thomas@codesourcery.com>
13294
13295 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
13296 variable.
13297
bc16e260
RM
132982013-03-15 Roland McGrath <roland@hack.frob.com>
13299
aefc9b8c
RM
13300 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
13301 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
13302 zero since it's initialized to EXEC_PAGESIZE.
13303
bc16e260
RM
13304 * sysdeps/unix/sysv/linux/ldsodefs.h
13305 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
13306 * sysdeps/generic/ldsodefs.h: ... here.
13307
a57da955
TS
133082013-03-15 Thomas Schwinge <thomas@codesourcery.com>
13309
af00a34d
TS
13310 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
13311
495ded2c
TS
13312 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
13313 math/test-snan.c.
13314 * math/test-snan.c: Renamed from
13315 sysdeps/powerpc/fpu/test-powerpc-snan.c.
13316 * math/Makefile (tests): Add test-snan.
13317 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
13318 test-powerpc-snan.
13319
777b0332
TS
13320 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
13321 SUFFIX. Initialize qNaN_var with __builtin_nan family of
13322 functions.
13323 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
13324 __builtin_nan family of functions.
13325 * math/libm-test.inc (initialize): Initialize qnan_value with
13326 __builtin_nan family of functions.
13327 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
13328 Remove variables.
13329 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
13330 Remove functions.
13331 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
13332 storage class. Initialize qNaN_var and sNaN_var with
13333 __builtin_nan and __builtin_nans families of functions,
13334 respectively.
13335
64d063b8
TS
13336 * math/libm-test.inc (acosh_test): Also test with qNaN input.
13337 (sqrt_test): Remove duplicate test with qNaN input.
13338 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
13339 (round_test, signbit_test, significand_test): Note missing +/-Inf
13340 as well as qNaN tests.
13341
67e971f1
TS
13342 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
13343 qNaN_var. Fix a few strings, too.
13344 * math/libm-test.inc (nan_value): Rename to qnan_value.
13345 * math/gen-libm-test.pl (%beautify): Adjust to that.
13346 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
13347 * math/test-misc.c (main): Likewise.
13348 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
13349 to __qnan_bytes, and __qnan_union, respectively.
13350 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
13351 Likewise.
13352 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
13353 and lqnanval, respectively.
13354 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
13355 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
13356 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
13357 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
13358
64487e12
TS
13359 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
13360 * math/test-misc.c (main) [__x86_64__]: Enable test for long
13361 doubles.
13362
e015e27b
TS
13363 * math/test-misc.c (main): Fix copy'n'pastos.
13364 * misc/tst-efgcvt.c (special): Likewise.
13365
a57da955
TS
13366 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
13367 Remove declarations.
13368
1e380345
SP
133692013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13370
13371 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
13372 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
13373 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
13374 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
13375
ef26eece
AZ
133762013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13377
13378 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
13379 macro to return vdso values correctly in IFUNC implementations.
13380 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13381 Optimization by using IFUNC.
13382
8cfdb7e0
SP
133832013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13384 Richard Henderson <rth@redhat.com>
13385 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13386
13387 * Makefile.in (bench): New target.
13388 * NEWS: Mention the benchmark framework.
13389 * Rules (bench): Likewise.
13390 (binaries-bench): Generate binaries for functions to
13391 benchmark.
13392 * benchtests/Makefile: New makefile for benchmark tests.
13393 * benchtests/bench-skeleton.c: New skeleton file for benchmark
13394 programs.
13395 * benchtests/exp-inputs: New input file for EXP function.
13396 * benchtests/pow-inputs: New input file for POW function.
13397 * scripts/bench.pl: New script to generate source files for
13398 benchmark programs.
13399
bcda9880
SP
134002013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13401
d22ca8cd
SP
13402 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
13403 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
13404 computations on mantissa. Use macros for rounding and
13405 division.
13406 (denorm): Likewise.
13407 (__dbl_mp): Likewise.
13408 (add_magnitudes): Likewise.
13409 (sub_magnitudes): Likewise.
13410 (__mul): Likewise.
13411 (__sqr): Likewise.
13412 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
13413 powers of two in terms of TWOPOW macro.
13414 (mp_no): Make type of mantissa as MANTISSA_T.
13415 [!RADIXI]: Define RADIXI.
13416 [!TWO52]: Define TWO52.
13417 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
13418
bcda9880
SP
13419 * manual/nptl.texi (cindex): Modify threads to pthreads.
13420
06d5adfb
JM
134212013-03-15 Joseph Myers <joseph@codesourcery.com>
13422
13423 * sysdeps/x86_64/preconfigure: Regenerated.
13424
41c7328e
JM
134252013-03-14 Joseph Myers <joseph@codesourcery.com>
13426
13427 [BZ #14155]
13428 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
13429 0x1p28 and above.
13430 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
13431 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
13432 0x1p28 and above.
13433 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
13434 * math/libm-test.inc (j0_test): Do not allow one spurious
13435 underflow exception.
13436 (y1_test): Likewise.
13437
e25cfa60
SP
134382013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13439
0409959c
SP
13440 * manual/Makefile (chapters): Add nptl.
13441 * manual/debug.texi (Debugging Support): Add link to Threads
13442 chapter.
13443 * manual/nptl.texi: New file.
13444
e25cfa60
SP
13445 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
13446
58a1335e
PB
134472013-03-14 Petr Baudis <pasky@ucw.cz>
13448
13449 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
13450 for non-NULL pointer before the memory validity test. Pointed
13451 out by Holger Brunck <holger.brunck@keymile.com>.
13452
9dc7c64f
AS
134532013-03-13 Andreas Schwab <schwab@suse.de>
13454
13455 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
13456 instead of .os.
13457
54206aa6
JM
134582013-03-13 Joseph Myers <joseph@codesourcery.com>
13459
13460 * timezone/zic.c: Update from tzcode 2013b.
13461
e98cdb38
CD
134622013-03-12 Carlos O'Donell <carlos@redhat.com>
13463
13464 * manual/install.texi (Configuring and compiling):
13465 Mention i686 and i586.
13466 * INSTALL: Regenerate.
13467
9967e003
RM
134682013-03-12 Roland McGrath <roland@hack.frob.com>
13469
13470 * sysdeps/init_array/elf-init.c: New file.
13471 * csu/elf-init.c
13472 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
13473 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
13474
13475 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
13476 __gmon_start__ as global, but as static with a .preinit_array pointer.
13477 * sysdeps/init_array/gmon-start.c: New file. Use that.
13478 * sysdeps/init_array/crti.S: New file, empty except for comments.
13479 * sysdeps/init_array/crtn.S: Likewise.
13480
e6b5a293 134812013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
13482
13483 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
13484 definining bcopy.
80f844c9
OB
13485 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13486 Remove Prefer_SSE_for_memop.
13487 * sysdeps/x86_64/multiarch/init-arch.h: Remove
13488 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
13489 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
13490 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13491 memset-x86-64.
80f844c9 13492 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 13493 Remove bzero, memset ifunc support.
80f844c9
OB
13494 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
13495 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
13496 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13497 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13498
fb6b0fcb
AS
134992013-03-11 Andreas Schwab <schwab@suse.de>
13500
13501 [BZ #15234]
13502 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
13503 by SHLIB_COMPAT.
13504 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
13505 (GLIBC_2.16): Remove pthread_atfork.
13506
3e6bd4b1
PP
135072013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
13508
13509 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
13510 (ptestcases.h): Likewise.
13511
222d7f00
RM
135122013-03-08 Roland McGrath <roland@hack.frob.com>
13513
13514 * Makeconfig ($(common-objpfx)config.status): Depend on
13515 sysdeps/*/preconfigure{,.in} too.
13516
1ba4f030
JM
135172013-03-08 Joseph Myers <joseph@codesourcery.com>
13518
a222d91a
JM
13519 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
13520 (__free_hook): Use void * instead of __malloc_ptr_t.
13521 (__malloc_hook): Likewise.
13522 (__realloc_hook): Likewise.
13523 (__memalign_hook): Likewise.
13524 (__after_morecore_hook): Likewise.
13525 * malloc/arena.c (save_malloc_hook): Likewise.
13526 (save_free_hook): Likewise.
13527 * malloc/hooks.c (malloc_hook_ini): Likewise.
13528 (realloc_hook_ini): Likewise.
13529 (memalign_hook_ini): Likewise.
13530 * malloc/malloc.c (malloc_hook_ini): Likewise.
13531 (realloc_hook_ini): Likewise.
13532 (memalign_hook_ini): Likewise.
13533 (__free_hook): Likewise.
13534 (__malloc_hook): Likewise.
13535 (__realloc_hook): Likewise.
13536 (__memalign_hook): Likewise.
13537 (__libc_malloc): Likewise.
13538 (__libc_free): Likewise.
13539 (__libc_realloc): Likewise.
13540 (__libc_memalign): Likewise.
13541 (__libc_valloc): Likewise.
13542 (__libc_pvalloc): Likewise.
13543 (__libc_calloc): Likewise.
13544 (__posix_memalign): Likewise.
13545 * malloc/morecore.c (__sbrk): Likewise.
13546 (__default_morecore): Likewise.
13547
5cc45e10
JM
13548 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
13549
dd54b864
JM
13550 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
13551 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
13552 __malloc_ptrdiff_t.
13553
1ba4f030
JM
13554 * malloc/malloc.h (__malloc_size_t): Remove macro.
13555 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
13556 __malloc_size_t.
13557 (old_memalign_hook): Likewise.
13558 (old_realloc_hook): Likewise.
13559 (struct hdr): Likewise.
13560 (flood): Likewise.
13561 (mallochook): Likewise.
13562 (memalignhook): Likewise.
13563 (reallochook): Likewise.
13564 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
13565 (tr_old_realloc_hook): Likewise.
13566 (tr_old_memalign_hook): Likewise.
13567 (tr_mallochook): Likewise.
13568 (tr_reallochook): Likewise.
13569 (tr_memalignhook): Likewise.
13570
edf66e57
AZ
135712013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13572
13573 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
13574 default_ldbl_pack and using as default implementation.
13575 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
13576 implementation.
13577 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
13578 redundant definition.
13579 (ldbl_insert_mantissa): Likewise.
13580 (ldbl_canonicalize): Likewise.
13581 (ldbl_nearbyint): Likewise.
13582 (ldbl_pack): Rename to ldbl_pack_ppc.
13583 (ldbl_unpack): Rename to ldbl_unpack_ppc.
13584 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
13585 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
13586
6d9145d8
SP
135872013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13588
13589 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
13590 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
13591 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
13592 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
13593 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
13594 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
13595 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
13596 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
13597
4dd4e157
AJ
135982013-03-07 Andreas Jaeger <aj@suse.de>
13599
13600 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13601 bits/mman-linux.h.
13602
adbb8027
SP
136032013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13604
ce544b5b
SP
13605 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
13606 Include mpa.h and declare __MPEXP.
13607 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
13608 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13609 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13610 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
13611 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13612 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13613 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
13614
4cc149fd
SP
13615 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
13616 (__slowpow): Use long double EXPL and LOGL functions to
13617 compute POW.
13618 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13619 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13620 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
13621 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13622 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13623 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
13624
e6ebd4a7
SP
13625 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
13626 intermediate variable to calculate exponent.
13627 (__sqr): Likewise.
13628 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13629 Likewise.
13630 (__sqr): Likewise.
13631
82a9811d
SP
13632 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
13633 [!NO__SQR]: Define __sqr.
13634 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
13635 and NO__SQR. Remove all code except __mul and __sqr. Include
13636 sysdeps/ieee754/dbl-64/mpa.c.
13637 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13638
adbb8027
SP
13639 [BZ #12723]
13640 * posix/Makefile (tests): Add tst-pathconf.
13641 * posix/tst-pathconf.c: New test case.
13642 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
13643 _PC_PIPE_BUF.
13644 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
13645
39120df9
PF
136462013-03-06 Patsy Franklin <pfrankli@redhat.com>
13647
13648 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
13649
67525cb8
AJ
136502013-03-06 Andreas Jaeger <aj@suse.de>
13651
664a9ce4
AJ
13652 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
13653 definition via __MAP_ANONYMOUS.
13654
8e39047d
AJ
13655 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
13656 it's not part of Linux headers.
13657
67525cb8
AJ
13658 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
13659 (MAP_HUGE_MASK): Define.
13660
13661 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13662 Define.
13663 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13664 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13665 Define.
13666 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13667 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13668 Define.
13669 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13670 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
13671 Define.
13672 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13673
13674 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
13675 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
13676 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
13677 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
13678 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
13679 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
13680
13681 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13682 Handle f2fs.
13683
13684 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13685 Handle f2fs and efivarfs.
13686
13687 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
13688 f2fs.
13689
13690 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
13691 (EFIVARFS_MAGIC): Add.
13692 (F2FS_LINK_MAX): Add.
13693
e1b42695
PP
136942013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13695
13696 * stdio-common/vfprintf.c: Replace __builtin_expect with
13697 __glibc_unlikely.
13698
2d67d91a
JM
136992013-03-06 Joseph Myers <joseph@codesourcery.com>
13700
13701 [BZ #13550]
13702 * sysdeps/generic/bp-sym.h: Remove file.
13703 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
13704 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
13705 <bp-sym.h> and <bp-asm.h>.
13706 (__longjmp): Don't use BP_SYM.
13707 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
13708 and <bp-asm.h>.
13709 (memcpy): Don't use BP_SYM.
13710 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
13711 <bp-sym.h> and <bp-asm.h>.
13712 (memcpy): Don't use BP_SYM.
13713 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
13714 <bp-asm.h>.
13715 (memcpy): Don't use BP_SYM.
13716 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
13717 <bp-asm.h>.
13718 (memset): Don't use BP_SYM.
13719 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13720 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13721 (__bzero): Don't use BP_SYM.
13722 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13723 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13724 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
13725 <bp-sym.h> and <bp-asm.h>.
13726 (memcmp): Don't use BP_SYM. Remove comment about bounded
13727 pointers.
13728 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
13729 <bp-sym.h> and <bp-asm.h>.
13730 (memcpy): Don't use BP_SYM.
13731 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
13732 <bp-sym.h> and <bp-asm.h>.
13733 (memset): Don't use BP_SYM.
13734 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13735 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13736 (__bzero): Don't use BP_SYM.
13737 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13738 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13739 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
13740 <bp-sym.h> and <bp-asm.h>.
13741 (strncmp): Don't use BP_SYM. Remove comment about bounded
13742 pointers.
13743 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
13744 <bp-sym.h> and <bp-asm.h>.
13745 (memcpy): Don't use BP_SYM.
13746 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
13747 <bp-sym.h> and <bp-asm.h>.
13748 (memset): Don't use BP_SYM.
13749 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13750 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13751 (__bzero): Don't use BP_SYM.
13752 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13753 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13754 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
13755 <bp-sym.h> and <bp-asm.h>.
13756 (__memchr): Don't use BP_SYM.
13757 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
13758 <bp-sym.h> and <bp-asm.h>.
13759 (memcmp): Don't use BP_SYM. Remove comment about bounded
13760 pointers.
13761 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
13762 <bp-sym.h> and <bp-asm.h>.
13763 (memcpy): Don't use BP_SYM.
13764 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
13765 <bp-sym.h> and <bp-asm.h>.
13766 (__mempcpy): Don't use BP_SYM.
13767 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
13768 <bp-sym.h> and <bp-asm.h>.
13769 (__memrchr): Don't use BP_SYM.
13770 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
13771 <bp-sym.h> and <bp-asm.h>.
13772 (memset): Don't use BP_SYM.
13773 (__bzero): Likewise.
13774 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
13775 <bp-sym.h> and <bp-asm.h>.
13776 (__rawmemchr): Don't use BP_SYM.
13777 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
13778 <bp-sym.h> and <bp-asm.h>.
13779 (__STRCMP): Don't use BP_SYM.
13780 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
13781 <bp-sym.h> and <bp-asm.h>.
13782 (strchr): Don't use BP_SYM.
13783 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
13784 <bp-sym.h> and <bp-asm.h>.
13785 (__strchrnul): Don't use BP_SYM.
13786 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
13787 <bp-sym.h> and <bp-asm.h>.
13788 (strlen): Don't use BP_SYM.
13789 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
13790 <bp-sym.h> and <bp-asm.h>.
13791 (strncmp): Don't use BP_SYM. Remove comment about bounded
13792 pointers.
13793 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
13794 <bp-sym.h> and <bp-asm.h>.
13795 (__strnlen): Don't use BP_SYM.
13796 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
13797 <bp-sym.h> and <bp-asm.h>.
13798 (__GI__setjmp): Don't use BP_SYM.
13799 (_setjmp): Likewise.
13800 (__sigsetjmp): Likewise.
13801 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
13802 (L(start_addresses)): Don't use BP_SYM.
13803 (_start): Likewise.
13804 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
13805 <bp-asm.h>.
13806 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
13807 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
13808 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13809 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13810 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
13811 <bp-asm.h>.
13812 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
13813 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
13814 about bounded pointers.
13815 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13816 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13817 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
13818 <bp-asm.h>.
13819 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13820 about bounded pointers. Remove GKM FIXME comments.
13821 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13822 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
13823 <bp-asm.h>.
13824 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
13825 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
13826 Remove GKM FIXME comments.
13827 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13828 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13829 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
13830 <bp-asm.h>.
13831 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13832 about bounded pointers. Remove GKM FIXME comment.
13833 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
13834 and <bp-asm.h>.
13835 (strncmp): Don't use BP_SYM. Remove comment about bounded
13836 pointers.
13837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
13838 <bp-sym.h> and <bp-asm.h>.
13839 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
13841 <bp-sym.h> and <bp-asm.h>.
13842 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13843 comment.
13844
cdcf361f
PP
138452013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13846
13847 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
13848 call free(NULL).
13849
3c4a2b15
DM
138502013-03-05 David S. Miller <davem@davemloft.net>
13851
13852 * po/es.po: Update from translation team.
13853
cdcf361f 138542013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
13855
13856 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
13857 <bits/mman-linux.h>.
13858 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13859 is fine.
13860 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
13861 <bits/mman-linux.h> to end of file.
13862 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13863 is fine.
13864 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
13865 <bits/mman-linux.h> to end of file.
13866 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13867 is fine.
13868 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
13869 <bits/mman-linux.h> to end of file.
13870
13871 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
13872 (MCL_CURRENT, MCL_FUTURE): Define here.
13873
5f67c04f
AK
138742013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13875
8a4473cc 13876 [BZ #15232]
5f67c04f
AK
13877 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
13878 attribute_hidden.
13879 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13880
c3e94a95
AK
138812013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13882
13883 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
13884 fourth parameter needed for rt_sigprocmask syscall.
13885 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13886 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13887 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
13888 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13889 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13890 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
13891
cfb6382a
JM
138922013-03-04 Joseph Myers <joseph@codesourcery.com>
13893
13894 [BZ #13550]
13895 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
13896 comment about bounded pointers.
13897 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
13898 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
13899
539d8e01
AJ
139002013-03-04 Andreas Jaeger <aj@suse.de>
13901
13902 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
13903 common definitions.
13904
13905 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
13906 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
13907 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
13908 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13909 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
13910 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13911
2e167a70 139122013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
13913
13914 [BZ #15055]
13915 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
13916 __ieee754_sqrl instead of __sqrl.
13917
68508633
JM
139182013-03-01 Joseph Myers <joseph@codesourcery.com>
13919
13920 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
13921 * sysdeps/powerpc/fpu_control.h: ... here.
13922 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
13923 * sysdeps/powerpc/bits/fenvinline.h: ... here.
13924 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
13925 * sysdeps/powerpc/bits/mathinline.h: ... here.
13926
7775448e
RM
139272013-03-01 Roland McGrath <roland@hack.frob.com>
13928
13929 * elf/dl-hwcaps.c (_dl_important_hwcaps):
13930 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
13931 to just [NEED_DL_SYSINFO_DSO].
13932 * elf/dl-support.c: Likewise.
13933 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13934 * elf/rtld.c (dl_main): Likewise.
13935 * elf/setup-vdso.h (setup_vdso): Likewise.
13936 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
13937 * sysdeps/unix/sysv/linux/dl-sysdep.c
13938 (_dl_discover_osversion): Likewise.
13939
4e9b5995
CD
139402013-03-01 Carlos O'Donell <carlos@redhat.com>
13941
13942 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
13943 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13944
e23872c8
SP
139452013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13946
e5c74c63
SP
13947 * NEWS: Mention libm performance improvements and non-x86 PI
13948 futex support.
13949
e23872c8
SP
13950 * csu/libc-start.c (__pthread_initialize_minimal): Change
13951 function arguments.
13952 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13953
b5510883
JM
139542013-02-28 Joseph Myers <joseph@codesourcery.com>
13955
13956 [BZ #13550]
13957 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
13958 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
13959 <bp-sym.h> and <bp-asm.h>.
13960 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13961 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
13962 and <bp-asm.h>.
13963 (memcpy): Don't use BP_SYM.
13964 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
13965 <bp-asm.h>.
13966 (__mpn_add_n): Don't use BP_SYM.
13967 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
13968 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
13969 and <bp-asm.h>.
13970 (__mpn_addmul_1): Don't use BP_SYM.
13971 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13972 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
13973 <bp-sym.h>.
13974 (_setjmp): Don't use BP_SYM.
13975 (__novmx_setjmp): Likewise.
13976 (__GI__setjmp): Likewise.
13977 (__vmx_setjmp): Likewise.
13978 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
13979 <bp-sym.h>.
13980 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
13981 (__bzero): Don't use BP_SYM.
13982 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13983 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13984 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
13985 <bp-sym.h> and <bp-asm.h>.
13986 (memcpy): Don't use BP_SYM.
13987 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
13988 <bp-sym.h> and <bp-asm.h>.
13989 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13990 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
13991 <bp-sym.h> and <bp-asm.h>.
13992 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13993 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
13994 <bp-asm.h>.
13995 (__mpn_lshift): Don't use BP_SYM.
13996 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13997 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
13998 <bp-asm.h>.
13999 (memset): Don't use BP_SYM.
14000 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
14001 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
14002 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
14003 <bp-asm.h>.
14004 (__mpn_mul_1): Don't use BP_SYM.
14005 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14006 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
14007 <bp-sym.h> and <bp-asm.h>.
14008 (memcmp): Don't use BP_SYM.
14009 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
14010 <bp-sym.h> and <bp-asm.h>.
14011 (memcpy): Don't use BP_SYM.
14012 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
14013 <bp-sym.h> and <bp-asm.h>.
14014 (memset): Don't use BP_SYM.
14015 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
14016 <bp-sym.h> and <bp-asm.h>.
14017 (strncmp): Don't use BP_SYM.
14018 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
14019 <bp-sym.h> and <bp-asm.h>.
14020 (memcpy): Don't use BP_SYM.
14021 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
14022 <bp-sym.h> and <bp-asm.h>.
14023 (memset): Don't use BP_SYM.
14024 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
14025 <bp-sym.h> and <bp-asm.h>.
14026 (__memchr): Don't use BP_SYM.
14027 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
14028 <bp-sym.h> and <bp-asm.h>.
14029 (memcmp): Don't use BP_SYM.
14030 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
14031 <bp-sym.h> and <bp-asm.h>.
14032 (memcpy): Don't use BP_SYM.
14033 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
14034 <bp-sym.h> and <bp-asm.h>.
14035 (__mempcpy): Don't use BP_SYM.
14036 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
14037 <bp-sym.h> and <bp-asm.h>.
14038 (__memrchr): Don't use BP_SYM.
14039 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
14040 <bp-sym.h> and <bp-asm.h>.
14041 (memset): Don't use BP_SYM.
14042 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
14043 <bp-sym.h> and <bp-asm.h>.
14044 (__rawmemchr): Don't use BP_SYM.
14045 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
14046 <bp-sym.h> and <bp-asm.h>.
14047 (__STRCMP): Don't use BP_SYM.
14048 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
14049 <bp-sym.h> and <bp-asm.h>.
14050 (strchr): Don't use BP_SYM.
14051 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
14052 <bp-sym.h> and <bp-asm.h>.
14053 (__strchrnul): Don't use BP_SYM.
14054 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
14055 <bp-sym.h> and <bp-asm.h>.
14056 (strlen): Don't use BP_SYM.
14057 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
14058 <bp-sym.h> and <bp-asm.h>.
14059 (strncmp): Don't use BP_SYM.
14060 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
14061 <bp-sym.h> and <bp-asm.h>.
14062 (__strnlen): Don't use BP_SYM.
14063 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
14064 <bp-asm.h>.
14065 (__mpn_rshift): Don't use BP_SYM.
14066 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14067 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
14068 <bp-sym.h> and <bp-asm.h>.
14069 (__sigsetjmp): Don't use BP_SYM.
14070 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
14071 (L(start_addresses)): Don't use BP_SYM.
14072 (_start): Likewise.
14073 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
14074 <bp-asm.h>.
14075 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
14076 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14077 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
14078 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
14079 <bp-asm.h>.
14080 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
14081 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14082 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14083 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
14084 <bp-asm.h>.
14085 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
14086 comments.
14087 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14088 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
14089 <bp-asm.h>.
14090 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
14091 FIXME comments.
14092 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14093 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
14094 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
14095 <bp-asm.h>.
14096 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
14097 comment.
14098 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
14099 and <bp-asm.h>.
14100 (strncmp): Don't use BP_SYM,
14101 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
14102 <bp-asm.h>.
14103 (__mpn_sub_n): Don't use BP_SYM.
14104 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14105 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
14106 and <bp-asm.h>.
14107 (__mpn_submul_1): Don't use BP_SYM.
14108 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
14110 <bp-sym.h> and <bp-asm.h>.
14111 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
14112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
14113 <bp-sym.h> and <bp-asm.h>.
14114 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
14115 comment.
14116
8d19fe64
SP
141172013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14118
14119 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
14120 Use ZK to minimize writes to Z.
14121 (sub_magnitudes): Simplify code a bit.
14122 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
14123 Use ZK to minimize writes to Z.
14124 (sub_magnitudes): Simplify code a bit.
14125
85bd816a
RM
141262013-02-27 Roland McGrath <roland@hack.frob.com>
14127
14128 * csu/gmon-start.c: Add special exception to license text.
14129
b5977bf2
RH
141302013-02-27 Richard Henderson <rth@redhat.com>
14131
14132 * scripts/config.guess: Update from config.git.
14133 * scripts/config.sub: Likewise.
14134
11d6e2f2
SP
141352013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14136
09c14ed2
SP
14137 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
14138
a688864e
SP
14139 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
14140
6295157a
SP
14141 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
14142
b8de2202
SP
14143 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
14144
11d6e2f2
SP
14145 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
14146
7e80ddb8
RM
141472013-02-26 Roland McGrath <roland@hack.frob.com>
14148
14149 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
14150 [$(build-shared = yes].
7e80ddb8 14151
7da6d9ed
SP
141522013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14153
45f05884
SP
14154 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
14155 (__mul): Reduce iterations for calculating mantissa.
14156
2236d359
SP
14157 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
14158 MPTWO.
14159 (__mpranred): Likewise.
14160
7da6d9ed
SP
14161 [BZ #15160]
14162 * malloc/memusagestat.c (main): Draw graphs for heap and stack
14163 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
14164
b7688c42
PE
141652013-02-26 Paul Eggert <eggert@cs.ucla.edu>
14166
14167 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
14168 Define __attribute__.
14169
53a5c423
SP
141702013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14171
14172 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
14173 unused.
14174 * posix/regex_internal.h (__attribute): Remove.
14175 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
14176 (re_string_context_at): Likewise.
14177 (bitset_not): Use __attribute__ and mark function as possibly
14178 unused.
14179 (bitset_merge): Likewise.
14180 (bitset_mask): Likewise.
14181 (re_string_char_size_at): Likewise.
14182 (re_string_wchar_at): Likewise.
14183 (re_string_elem_size_at): Likewise.
14184
60f5a8b5
SP
141852013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14186
2a983a2e
SP
14187 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
14188 code.
14189 (cc32): Likewise.
14190
e69804d1
SP
14191 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
14192 (__acr): Likewise.
14193 (__cpy): Likewise.
14194 (norm): Likewise.
14195 (denorm): Likewise.
14196 (__dbl_mp): Likewise.
14197 (add_magnitudes): Likewise.
14198 (sub_magnitudes): Likewise.
14199 (__mul): Likewise.
14200 (__inv): Likewise.
14201
2f22a1e8
SP
14202 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
14203 style.
14204
8930ddc7
SP
14205 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
14206 style.
14207
dc60cb11
SP
14208 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
14209 code.
14210
60f5a8b5
SP
14211 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
14212 up changes with default code.
14213 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
14214 Likewise.
14215
b4d1fd33
AM
142162013-02-24 Allan McRae <allan@archlinux.org>
14217
faf6f8bc
AM
14218 * manual/socket.texi (The Internet Namespace): Order menu items
14219 to match that in the file.
14220
b4d1fd33
AM
14221 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
14222 node listing of the info page menu.
14223
2366713d
JM
142242013-02-21 Joseph Myers <joseph@codesourcery.com>
14225
14226 [BZ #13550]
14227 * sysdeps/i386/bp-asm.h: Remove file.
14228 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14229 (PARMS): Do not use macros from bp-asm.h.
14230 (S1): Likewise.
14231 (S2): Likewise.
14232 (SIZE): Likewise.
14233 (__mpn_add_n): Do not use BP_SYM
14234 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
14235 "bp-asm.h".
14236 (PARMS): Do not use macros from bp-asm.h.
14237 (S1): Likewise.
14238 (SIZE): Likewise.
14239 (__mpn_addmul_1): Do not use BP_SYM
14240 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
14241 "bp-asm.h".
14242 (PARMS): Do not use macros from bp-asm.h.
14243 (SIGMSK): Likewise.
14244 (_setjmp): Likewise. Do not use BP_SYM.
14245 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
14246 "bp-asm.h".
14247 (PARMS): Do not use macros from bp-asm.h.
14248 (SIGMSK): Likewise.
14249 (setjmp): Likewise. Do not use BP_SYM.
14250 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
14251 "bp-asm.h".
14252 (PARMS): Do not use macros from bp-asm.h.
14253 (__frexp): Do not use BP_SYM.
14254 (frexp): Likewise.
14255 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
14256 "bp-asm.h".
14257 (PARMS): Do not use macros from bp-asm.h.
14258 (__frexpf): Do not use BP_SYM.
14259 (frexpf): Likewise.
14260 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
14261 "bp-asm.h".
14262 (PARMS): Do not use macros from bp-asm.h.
14263 (__frexpl): Do not use BP_SYM.
14264 (frexpl): Likewise.
14265 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
14266 "bp-asm.h".
14267 (PARMS): Do not use macros from bp-asm.h.
14268 (__remquo): Do not use BP_SYM.
14269 (remquo): Likewise.
14270 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
14271 "bp-asm.h".
14272 (PARMS): Do not use macros from bp-asm.h.
14273 (__remquof): Do not use BP_SYM.
14274 (remquof): Likewise.
14275 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
14276 "bp-asm.h".
14277 (PARMS): Do not use macros from bp-asm.h.
14278 (__remquol): Do not use BP_SYM.
14279 (remquol): Likewise.
14280 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
14281 "bp-asm.h".
14282 (PARMS): Do not use macros from bp-asm.h.
14283 (DEST): Likewise.
14284 (SRC): Likewise.
14285 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
14286 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
14287 "bp-asm.h".
14288 (PARMS): Do not use macros from bp-asm.h.
14289 (strlen): Do not use BP_SYM.
14290 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
14291 "bp-asm.h".
14292 (PARMS): Do not use macros from bp-asm.h.
14293 (S1): Likewise.
14294 (S2): Likewise.
14295 (SIZE): Likewise.
14296 (__mpn_add_n): Do not use BP_SYM.
14297 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
14298 "bp-asm.h".
14299 (PARMS): Do not use macros from bp-asm.h.
14300 (S1): Likewise.
14301 (SIZE): Likewise.
14302 (__mpn_addmul_1): Do not use BP_SYM.
14303 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
14304 weak_alias.
14305 (bzero): Likewise.
14306 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
14307 "bp-asm.h".
14308 (PARMS): Do not use macros from bp-asm.h.
14309 (S): Likewise.
14310 (SIZE): Likewise.
14311 (__mpn_lshift): Do not use BP_SYM.
14312 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
14313 "bp-asm.h".
14314 (PARMS): Do not use macros from bp-asm.h.
14315 (DEST): Likewise.
14316 (SRC): Likewise.
14317 (LEN): Likewise.
14318 (memcpy): Likewise. Do not use BP_SYM.
14319 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
14320 libc_hidden_def and weak_alias.
14321 (mempcpy): Do not use BP_SYM in weak_alias.
14322 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
14323 "bp-asm.h".
14324 (PARMS): Do not use macros from bp-asm.h.
14325 (DEST): Likewise.
14326 (LEN): Likewise.
14327 [!BZERO_P] (CHR): Likewise.
14328 (memset): Likewise. Do not use BP_SYM.
14329 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
14330 "bp-asm.h".
14331 (PARMS): Do not use macros from bp-asm.h.
14332 (S1): Likewise.
14333 (SIZE): Likewise.
14334 (__mpn_mul_1): Do not use BP_SYM.
14335 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
14336 "bp-asm.h".
14337 (PARMS): Do not use macros from bp-asm.h.
14338 (S): Likewise.
14339 (SIZE): Likewise.
14340 (__mpn_rshift): Do not use BP_SYM.
14341 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
14342 "bp-asm.h".
14343 (PARMS): Do not use macros from bp-asm.h.
14344 (STR): Likewise.
14345 (CHR): Likewise.
14346 (strchr): Likewise. Do not use BP_SYM.
14347 (index): Do not use BP_SYM in weak_alias.
14348 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
14349 "bp-asm.h".
14350 (PARMS): Do not use macros from bp-asm.h.
14351 (DEST): Likewise.
14352 (SRC): Likewise.
14353 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
14354 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
14355 "bp-asm.h".
14356 (PARMS): Do not use macros from bp-asm.h.
14357 (strlen): Do not use BP_SYM.
14358 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
14359 "bp-asm.h".
14360 (PARMS): Do not use macros from bp-asm.h.
14361 (S1): Likewise.
14362 (S2): Likewise.
14363 (SIZE): Likewise.
14364 (__mpn_sub_n): Do not use BP_SYM.
14365 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
14366 "bp-asm.h".
14367 (PARMS): Do not use macros from bp-asm.h.
14368 (S1): Likewise.
14369 (SIZE): Likewise.
14370 (__mpn_submul_1): Do not use BP_SYM.
14371 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
14372 "bp-asm.h".
14373 (PARMS): Do not use macros from bp-asm.h.
14374 (S1): Likewise.
14375 (S2): Likewise.
14376 (SIZE): Likewise.
14377 (__mpn_add_n): Do not use BP_SYM.
14378 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
14379 weak_alias.
14380 (bzero): Likewise.
14381 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
14382 "bp-asm.h".
14383 (PARMS): Do not use macros from bp-asm.h.
14384 (BLK2): Likewise.
14385 (LEN): Likewise.
14386 (memcmp): Do not use BP_SYM.
14387 (bcmp): Do not use BP_SYM in weak_alias.
14388 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
14389 "bp-asm.h".
14390 (PARMS): Do not use macros from bp-asm.h.
14391 (DEST): Likewise.
14392 (SRC): Likewise.
14393 (LEN): Likewise.
14394 (memcpy): Likewise. Do not use BP_SYM.
14395 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
14396 "bp-asm.h".
14397 (PARMS): Do not use macros from bp-asm.h.
14398 (DEST): Likewise.
14399 (SRC): Likewise.
14400 (LEN): Likewise.
14401 (memmove): Likewise. Do not use BP_SYM.
14402 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
14403 "bp-asm.h".
14404 (PARMS): Do not use macros from bp-asm.h.
14405 (DEST): Likewise.
14406 (SRC): Likewise.
14407 (LEN): Likewise.
14408 (__mempcpy): Likewise. Do not use BP_SYM.
14409 (mempcpy): Do not use BP_SYM in weak_alias.
14410 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
14411 "bp-asm.h".
14412 (PARMS): Do not use macros from bp-asm.h.
14413 (DEST): Likewise.
14414 (LEN): Likewise.
14415 [!BZERO_P] (CHR): Likewise.
14416 (memset): Likewise. Do not use BP_SYM.
14417 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
14418 "bp-asm.h".
14419 (PARMS): Do not use macros from bp-asm.h.
14420 (STR2): Likewise.
14421 (strcmp): Do not use BP_SYM.
14422 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
14423 "bp-asm.h".
14424 (PARMS): Do not use macros from bp-asm.h.
14425 (STR): Likewise.
14426 (DELIM): Likewise.
14427 [USE_AS_STRTOK_R] (SAVE): Likewise.
14428 (FUNCTION): Likewise. Do not use BP_SYM.
14429 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
14430 aliases.
14431 (strtok_r): Likewise.
14432 (__GI___strtok_r): Likewise.
14433 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14434 (PARMS): Do not use macros from bp-asm.h.
14435 (S): Likewise.
14436 (SIZE): Likewise.
14437 (__mpn_lshift): Do not use BP_SYM.
14438 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14439 (PARMS): Do not use macros from bp-asm.h.
14440 (STR): Likewise.
14441 (CHR): Likewise.
14442 (__memchr): Do not use BP_SYM.
14443 (memchr): Do not use BP_SYM in weak_alias.
14444 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14445 (PARMS): Do not use macros from bp-asm.h.
14446 (BLK2): Likewise.
14447 (LEN): Likewise.
14448 (memcmp): Do not use BP_SYM.
14449 (bcmp): Do not use BP_SYM in weak_alias.
14450 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
14451 (PARMS): Do not use macros from bp-asm.h.
14452 (S1): Likewise.
14453 (SIZE): Likewise.
14454 (__mpn_mul_1): Do not use BP_SYM.
14455 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
14456 "bp-asm.h".
14457 (PARMS): Do not use macros from bp-asm.h.
14458 (STR): Likewise.
14459 (CHR): Likewise.
14460 (__rawmemchr): Do not use BP_SYM.
14461 (rawmemchr): Do not use BP_SYM in weak_alias.
14462 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14463 (PARMS): Do not use macros from bp-asm.h.
14464 (S): Likewise.
14465 (SIZE): Likewise.
14466 (__mpn_rshift): Do not use BP_SYM.
14467 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14468 (PARMS): Do not use macros from bp-asm.h.
14469 (SIGMSK): Likewise.
14470 (__sigsetjmp): Likewise. Do not use BP_SYM.
14471 * sysdeps/i386/start.S: Do not include "bp-sym.h".
14472 (_start): Do not use BP_SYM.
14473 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
14474 (PARMS): Do not use macros from bp-asm.h.
14475 (DEST): Likewise.
14476 (SRC): Likewise.
14477 (__stpcpy): Likewise. Do not use BP_SYM.
14478 (stpcpy): Do not use BP_SYM in weak_alias.
14479 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
14480 "bp-asm.h".
14481 (PARMS): Do not use macros from bp-asm.h.
14482 (DEST): Likewise.
14483 (SRC): Likewise.
14484 (LEN): Likewise.
14485 (__stpncpy): Likewise. Do not use BP_SYM.
14486 (stpncpy): Do not use BP_SYM in weak_alias.
14487 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14488 (PARMS): Do not use macros from bp-asm.h.
14489 (STR): Likewise.
14490 (CHR): Likewise.
14491 (strchr): Likewise. Do not use BP_SYM.
14492 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
14493 "bp-asm.h".
14494 (PARMS): Do not use macros from bp-asm.h.
14495 (STR): Likewise.
14496 (CHR): Likewise.
14497 (__strchrnul): Likewise. Do not use BP_SYM.
14498 (strchrnul): Do not use BP_SYM in weak_alias.
14499 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
14500 "bp-asm.h".
14501 (PARMS): Do not use macros from bp-asm.h.
14502 (STOP): Likewise.
14503 (strcspn): Do not use BP_SYM.
14504 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
14505 "bp-asm.h".
14506 (PARMS): Do not use macros from bp-asm.h.
14507 (STR): Likewise.
14508 (STOP): Likewise.
14509 (strpbrk): Likewise. Do not use BP_SYM.
14510 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
14511 "bp-asm.h".
14512 (PARMS): Do not use macros from bp-asm.h.
14513 (STR): Likewise.
14514 (CHR): Likewise.
14515 (strrchr): Likewise. Do not use BP_SYM.
14516 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
14517 (PARMS): Do not use macros from bp-asm.h.
14518 (SKIP): Likewise.
14519 (strspn): Do not use BP_SYM.
14520 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
14521 (PARMS): Do not use macros from bp-asm.h.
14522 (STR): Likewise.
14523 (DELIM): Likewise.
14524 (SAVE): Likewise.
14525 (FUNCTION): Likewise. Do not use BP_SYM.
14526 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
14527 aliases.
14528 (strtok_r): Likewise.
14529 (__GI___strtok_r): Likewise.
14530 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14531 (PARMS): Do not use macros from bp-asm.h.
14532 (S1): Likewise.
14533 (S2): Likewise.
14534 (SIZE): Likewise.
14535 (__mpn_sub_n): Do not use BP_SYM.
14536 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
14537 "bp-asm.h".
14538 (PARMS): Do not use macros from bp-asm.h.
14539 (S1): Likewise.
14540 (SIZE): Likewise.
14541 (__mpn_submul_1): Do not use BP_SYM.
14542 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
14543 <bp-sym.h>.
14544 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
14545 and <bp-asm.h>.
14546 (PARMS): Do not use macros from bp-asm.h.
14547 (FLAGS): Likewise.
14548 (PTID): Likewise.
14549 (TLS): Likewise.
14550 (CTID): Likewise.
14551 (__clone): Do not use BP_SYM.
14552 (clone): Do not use BP_SYM in weak_alias.
14553 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
14554 and <bp-asm.h>.
14555 (PARMS): Do not use macros from bp-asm.h.
14556 (LEN): Likewise.
14557 (__mmap64): Do not use BP_SYM.
14558 (mmap64): Do not use BP_SYM in weak_alias.
14559 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14560 <bp-sym.h> and <bp-asm.h>.
14561 (PARMS): Do not use macros from bp-asm.h.
14562 (__posix_fadvise64_l64): Do not use BP_SYM.
14563 * sysdeps/unix/sysv/linux/i386/semtimedop.S
14564 (PARMS): Do not use macros from bp-asm.h.
14565 (NSOPS): Likewise.
14566 (semtimedop): Do not use BP_SYM.
14567 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
14568 and <bp-asm.h>.
14569
582a3cff
AM
145702013-02-21 Allan McRae <allan@archlinux.org>
14571
14572 * manual/message.texi (Charset conversion in gettext):
14573 Move @end statement to beginning of line.
14574
bab8a695
SP
145752013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14576
80945231
SP
14577 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
14578 static.
14579 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14580 Likewise.
14581
bab8a695
SP
14582 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
14583 (denorm): Likewise.
14584 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
14585 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
14586
e21d7aa7
AK
145872013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14588
14589 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
14590 tail-call to the resolved function if pltexit isn't needed.
14591
4c7a4263
SP
145922013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14593
14594 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
14595 or Y being zero as being unlikely.
14596 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
14597 Likewise.
14598
41f49342
CD
145992013-02-20 Carlos O'Donell <carlos@redhat.com>
14600
14601 * manual/nss.texi (System Databases and Name Service Switch):
14602 Remove frobnicate @pxref.
14603
50022a93
TS
146042013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14605
14606 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14607 __attribute__ ((unused)) to __attribute__ ((__unused__)).
14608
08cbd996
PM
146092013-02-20 Petr Machata <pmachata@redhat.com>
14610
14611 * elf/elf.h (R_ARM_TARGET1): New macro.
14612 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
14613 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
14614 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
14615 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
14616 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
14617 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
14618 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
14619 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
14620 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
14621 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
14622 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
14623 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
14624 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
14625 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
14626 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
14627 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
14628 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
14629 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
14630 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
14631 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
14632 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
14633 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
14634 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
14635 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
14636 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
14637 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
14638 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
14639 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
14640 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
14641 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
14642 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
14643 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
14644 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
14645 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
14646 (R_ARM_THM_GOT_BREL12): Likewise.
14647 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
14648 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
14649 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
14650 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
14651 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
14652 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
14653 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
14654 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
14655 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
14656
c7b275d6
TS
146572013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14658
14659 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14660 __attribute_used__ to __attribute__ ((unused)).
14661
20cd7fb3
SP
146622013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14663
14664 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
14665 powerpc mpa.c.
14666 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
14667 comment formatting.
14668 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
14669
92945b52
JM
146702013-02-19 Joseph Myers <joseph@codesourcery.com>
14671
14672 [BZ #13550]
14673 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
14674 Remove macro.
14675 (ENTER): Remove both macro definitions.
14676 (LEAVE): Likewise.
14677 (CHECK_BOUNDS_LOW): Likewise.
14678 (CHECK_BOUNDS_HIGH): Likewise.
14679 (CHECK_BOUNDS_BOTH): Likewise.
14680 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
14681 (RETURN_BOUNDED_POINTER): Likewise.
14682 (RETURN_NULL_BOUNDED_POINTER): Likewise.
14683 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
14684 (POP_ERRNO_LOCATION_RETURN): Likewise.
14685 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
14686 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14687 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
14688 macros.
14689 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14690 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
14691 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
14692 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
14693 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
14694 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
14695 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
14696 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
14697 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
14698 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
14699 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
14700 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
14701 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14702 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
14703 removed macros.
14704 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14705 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
14706 macros.
14707 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14708 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
14709 * sysdeps/i386/i586/memset.S (memset): Likewise.
14710 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
14711 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14712 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
14713 macros.
14714 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14715 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
14716 Change uses of L(2) to L(out).
14717 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
14718 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
14719 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
14720 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14721 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
14722 removed macros.
14723 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14724 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
14725 macros.
14726 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14727 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
14728 (RETURN): Do not use macro LEAVE.
14729 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
14730 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
14731 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
14732 * sysdeps/i386/i686/memset.S (memset): Likewise.
14733 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
14734 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
14735 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14736 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
14737 Likewise.
14738 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14739 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
14740 L(1_2) and L(1_3) into L(1).
14741 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14742 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
14743 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14744 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
14745 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14746 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
14747 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
14748 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14749 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
14750 macros.
14751 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
14752 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14753 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
14754 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
14755 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
14756 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14757 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
14758 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
14759 * sysdeps/i386/strcspn.S (strcspn): Likewise.
14760 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
14761 * sysdeps/i386/strrchr.S (strrchr): Likewise.
14762 * sysdeps/i386/strspn.S (strspn): Likewise.
14763 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
14764 conditional code.
14765 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14766 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
14767 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14768 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
14769 L(1_3) into L(1_1).
14770 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
14771 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14772 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
14773 macros.
14774 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14775
2389741a
JJ
147762013-02-19 Jakub Jelinek <jakub@redhat.com>
14777
14778 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
14779 macro.
14780
2016b3cd
SP
147812013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14782
e4f22324
SP
14783 * math/atest-exp.c (exp_mpn): Remove ROUND.
14784 * math/atest-exp2.c (exp_mpn): Likewise.
14785 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
14786
2016b3cd
SP
14787 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
14788 * stdlib/tst-tls-atexit-lib.c: Likewise.
14789 * stdlib/tst-tls-atexit.c: Likewise.
14790
4be9b544
MF
147912013-02-18 Mike Frysinger <vapier@gentoo.org>
14792
14793 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
14794 and __attribute_alloc_size__.
14795
2f62b9ee
MF
147962013-02-18 Mike Frysinger <vapier@gentoo.org>
14797
14798 * include/programs/xmalloc.h: Change __attribute_alloc_size to
14799 __attribute_alloc_size__.
14800 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
14801 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
14802
6ff444c4
MF
148032013-02-18 Mike Frysinger <vapier@gentoo.org>
14804
14805 * include/programs/xmalloc.h: New file.
14806 * catgets/gencat.c: Include it.
14807 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
14808 * elf/pldd.c: Likewise.
14809 * iconv/iconv_charmap.c: Likewise.
14810 * iconv/iconvconfig.c: Likewise.
14811 * iconv/strtab.c: Likewise.
14812 * locale/programs/locale.c: Likewise.
14813 * locale/programs/localedef.h: Likewise.
14814 * locale/programs/simple-hash.c: Likewise.
14815 * nscd/nscd.h: Likewise.
14816 * nss/makedb.c: Likewise.
14817 * sysdeps/generic/ldconfig.h: Likewise.
14818
be179c8a
SP
148192013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14820
ba384f6e
SP
14821 * Versions.def: Add GLIBC_2.18.
14822 * include/link.h (struct link_map): New member l_tls_dtor_count.
14823 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
14824 (__call_tls_dtors): Likewise.
14825 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
14826 __cxa_thread_atexit_impl.
14827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14828 Likewise.
14829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14830 Likewise.
14831 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14832 Likewise.
14833 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14834 Likewise.
14835 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14836 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
14837 Likewise.
14838 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
14839 Likewise.
14840 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14841 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
14842 Likewise.
14843 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
14844 (tests): Add test case tst-tls-atexit.
14845 (modules-names): Add shared library for tst-tls-atexit.
85891aca 14846 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
14847 (GLIBC_PRIVATE): Add __call_tls_dtors.
14848 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
14849 for libstdc++.
14850 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
14851 * stdlib/tst-tls-atexit.c: New test case.
14852 * stdlib/tst-tls-atexit-lib.c: New test case.
14853
ffaa74cf 14854 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 14855
be179c8a
SP
14856 * elf/Versions (ld): Add _dl_find_dso_for_object.
14857 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
14858 * elf/dl-open.c (_dl_find_dso_for_object): New function.
14859 (dl_open_worker): Use _dl_find_dso_for_object.
14860 * elf/dl-sym.c (do_sym): Likewise.
14861 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
14862
f78b5caa
AK
148632013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14864
14865 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
14866 Syntactic changes only.
14867 (_dl_runtime_profile): Do a tail-call to the resolved function.
14868
29691210
JM
148692013-02-17 Joseph Myers <joseph@codesourcery.com>
14870
14871 [BZ #13550]
14872 * sysdeps/x86_64/bp-asm.h: Remove file.
14873 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
14874 <bp-sym.h> and <bp-asm.h>.
14875 (__clone): Do not use BP_SYM.
14876 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
14877 <bp-sym.h> and <bp-asm.h>.
14878 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14879 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
14880 "bp-asm.h".
14881 (_setjmp): Do not use BP_SYM.
14882 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
14883 "bp-asm.h".
14884 (setjmp): Do not use BP_SYM.
14885 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
14886 libc_hidden_def.
14887 (mempcpy): Do not use BP_SYM in weak_alias.
14888 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
14889 "bp-asm.h".
14890 (strchr): Do not use BP_SYM.
14891 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
14892 "bp-asm.h".
14893 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
14894 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
14895 (_start): Do not use BP_SYM.
14896 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
14897 "bp-asm.h".
14898 (strcat): Do not use BP_SYM.
14899 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
14900 "bp-asm.h".
14901 (STRCMP): Do not use BP_SYM.
14902 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
14903 "bp-asm.h".
14904 (STRCPY): Do not use BP_SYM.
14905 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
14906 "bp-asm.h".
14907 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
14908 "bp-asm.h".
14909 (FUNCTION): Do not use BP_SYM.
14910 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
14911 weak_alias.
14912 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
14913
f238fd19
AJ
149142013-02-17 Andreas Jaeger <aj@suse.de>
14915
14916 * time/Versions: Sort entries.
14917 * string/Versions: Likewise.
14918 * resolv/Versions: Likewise.
14919 * posix/Versions: Likewise.
14920 * iconv/Versions: Likewise.
14921 * elf/Versions: Likewise.
14922 * wcsmbs/Versions: Likewise.
14923
bd07f23c 149242013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 14925
22af19f9
SP
14926 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
14927 loop termination condition.
14928
4709fe76
SP
14929 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
14930 variable to calculate EZ.
14931 (__sqr): Likewise.
2d0e0f29
SP
14932
14933 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
14934 the lower precision input.
14935
daaa7713
JM
149362013-02-15 Joseph Myers <joseph@codesourcery.com>
14937
14938 [BZ #13550]
14939 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
14940 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
14941 (run-via-rtld-prefix): Do not handle %-bp tests.
14942 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
14943 (all-object-suffixes): Remove .ob.
14944 (bppfx): Remove variable.
14945 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
14946 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
14947 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
14948 [$(build-bounded) = yes] (libtype.ob): Likewise.
14949 * Makerules (elide-routines.ob): Remove variable.
14950 (do-tests-clean): Do not handle *-bp.out.
14951 (common-mostlyclean): Do not handle *-bp and *-bp.out.
14952 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
14953 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
14954 (tests): Do not include $(tests-bp.out).
14955 (xtests): Do not include $(xtests-bp.out).
14956 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
14957 [$(build-bounded) = yes] ($(addprefix
14958 $(objpfx),$(binaries-bounded))): Remove rule.
14959 ($(objpfx)%-bp.out): Remove rule.
14960 * config.make.in (build-bounded): Remove variable.
14961 * crypt/Makefile [$(build-bounded) = yes]
14962 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
14963 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
14964 append to variable.
14965 [$(build-bounded) = yes] (install-lib): Likewise.
14966 [$(build-bounded) = yes] (generated): Likewise.
14967 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
14968 Remove rule.
14969 * intl/Makefile [$(build-bounded) = yes]
14970 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
14971 * math/Makefile [$(build-bounded) = yes]
14972 ($(tests:%=$(objpfx)%-bp): Likewise.
14973 * misc/Makefile [$(build-bounded) = yes]
14974 ($(objpfx)tst-tsearch-bp): Likewise.
14975 * nptl/Makeconfig (bounded-thread-library): Remove variable.
14976 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
14977 Remove dependency.
14978 * string/Makefile (o-objects.ob): Remove variable.
14979 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
14980 (CFLAGS-.ob): Remove variable.
14981 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
14982 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
14983 both definitions of variable.
14984 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
14985 (ASFLAGS-.ob): Remove variable.
14986
e97ed6dd
JM
149872013-02-14 Joseph Myers <joseph@codesourcery.com>
14988
2bdd4ca6
JM
14989 [BZ #13550]
14990 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
14991 Remove __BOUNDED_POINTERS__ from condition.
14992 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
14993 * string/bits/string2.h [!__NO_STRING_INLINES &&
14994 !__BOUNDED_POINTERS__]: Likewise.
14995 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
14996 Likewise.
14997 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
14998 Remove conditional code.
14999 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
15000 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
15001 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
15002 condition.
15003
e97ed6dd
JM
15004 [BZ #13550]
15005 * csu/libc-start.c: Do not include <bp-sym.h>.
15006 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
15007 * elf/dl-open.c: Do not include <bp-sym.h>.
15008 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
15009 * math/fegetenv.c: Do not include <bp-sym.h>.
15010 (fegetenv): Do not use BP_SYM in versioned symbols.
15011 * nptl/sysdeps/pthread/bits/libc-lockP.h
15012 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
15013 <bp-sym.h>.
15014 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15015 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
15016 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15017 (__pthread_mutex_destroy): Likewise.
15018 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15019 (__pthread_mutex_lock): Likewise.
15020 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15021 (__pthread_mutex_trylock): Likewise.
15022 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15023 (__pthread_mutex_unlock): Likewise.
15024 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15025 (__pthread_mutexattr_init): Likewise.
15026 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15027 (__pthread_mutexattr_destroy): Likewise.
15028 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15029 (__pthread_mutexattr_settype): Likewise.
15030 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15031 (__pthread_rwlock_init): Likewise.
15032 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15033 (__pthread_rwlock_destroy): Likewise.
15034 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15035 (__pthread_rwlock_rdlock): Likewise.
15036 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15037 (__pthread_rwlock_tryrdlock): Likewise.
15038 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15039 (__pthread_rwlock_wrlock): Likewise.
15040 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15041 (__pthread_rwlock_trywrlock): Likewise.
15042 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15043 (__pthread_rwlock_unlock): Likewise.
15044 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15045 (__pthread_key_create): Likewise.
15046 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15047 (__pthread_setspecific): Likewise.
15048 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15049 (__pthread_getspecific): Likewise.
15050 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
15051 Likewise.
15052 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15053 (_pthread_cleanup_push_defer): Likewise.
15054 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15055 (_pthread_cleanup_pop_restore): Likewise.
15056 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15057 (pthread_setcancelstate): Likewise.
15058 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
15059 <bp-sym.h>.
15060 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
15061 (memchr): Do not use BP_SYM in weak_alias.
15062 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
15063 (fegetenv): Do not use BP_SYM in versioned symbols.
15064 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
15065 (fesetenv): Do not use BP_SYM in versioned symbols.
15066 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
15067 (feupdateenv): Do not use BP_SYM in versioned symbols.
15068 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
15069 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
15070 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
15071 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
15072 (open64): Do not use BP_SYM in weak_alias.
15073 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
15074 (fegetenv): Do not use BP_SYM in versioned symbols.
15075 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
15076 (fesetenv): Do not use BP_SYM in versioned symbols.
15077 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
15078 (feupdateenv): Do not use BP_SYM in versioned symbols.
15079 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
15080 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
15081 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
15082 (feraiseexcept): Do not use BP_SYM in versioned symbols.
15083 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
15084 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
15085 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
15086 <bp-sym.h>.
15087 (__libc_start_main): Do not use BP_SYM.
15088
d6752ccd
SP
150892013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15090
cb57ce60
SP
15091 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
15092 redundant return line.
15093 (norm): Likewise.
15094 (denorm): Likewise.
15095 (dbl_mp): Likewise.
15096 (sub_magnitudes): Likewise.
15097 (__add): Likewise.
15098 (__sub): Likewise.
15099 (__mul): Likewise.
15100 (__inv): Likewise.
15101 (__dvd): Likewise.
15102 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
15103 (norm): Likewise.
15104 (denorm): Likewise.
15105 (dbl_mp): Likewise.
15106 (sub_magnitudes): Likewise.
15107 (__add): Likewise.
15108 (__sub): Likewise.
15109 (__mul): Likewise.
15110 (__inv): Likewise.
15111 (__dvd): Likewise.
15112
f414520d
SP
15113 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
15114 instead of __mul.
15115 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
15116 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
15117 (cc32): Likewise.
15118
d6752ccd
SP
15119 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
15120 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
15121 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
15122 of __mul for squares.
15123 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
15124 function
15125 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
15126 Likewise.
15127 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
15128 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15129
70d9946a
JM
151302013-02-13 Joseph Myers <joseph@codesourcery.com>
15131
15132 [BZ #13550]
15133 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
15134 code.
15135 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
15136 prototype or function definition. Rename ubp_* variables and
15137 parameters. Remove argv definitions conditional on
15138 [__BOUNDED_POINTERS__].
15139 * debug/backtrace.c (__backtrace): Do not use __unbounded.
15140 * elf/dl-runtime.c (_dl_fixup): Likewise.
15141 * include/set-hooks.h (RUN_HOOK): Likewise.
15142 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
15143 definition.
15144 * string/strcpy.c (strcpy): Do not use __unbounded.
15145 * sysdeps/generic/frame.h (struct layout): Likewise.
15146 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
15147 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
15148 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
15149 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
15150 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
15151 (__backtrace): Likewise.
15152 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
15153 use __ptrvalue.
15154 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
15155 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15156 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
15157 Likewise.
15158 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
15159 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
15160 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15161 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15162 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
15163 Do not use __unbounded.
15164 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
15165 Rename __unboundedrlimits parameter to rlimits in prototype.
15166 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
15167 Do not use __unbounded.
15168 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
15169 not use __ptrvalue.
15170 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15171 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
15172 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15173 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
15174 __ptrvalue or __unbounded.
15175 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
15176 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
15177 use __unbounded.
15178 (__new_msgctl): Do not use __ptrvalue.
15179 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
15180 __unbounded.
15181 (__libc_msgrcv): Do not use __ptrvalue.
15182 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
15183 startup_info): Do not use __unbounded.
15184 (__libc_start_main): Likewise. Rename ubp_* variables and
15185 parameters. Remove argv definitions conditional on
15186 [__BOUNDED_POINTERS__].
15187 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
15188 __ptrvalue.
15189 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
15190 use __unbounded.
15191 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
15192 or __ptrvalue.
15193 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
15194 use __unbounded.
15195 (__new_shmctl): Do not use __ptrvalue.
15196 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
15197 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
15198 Likewise.
15199 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
15200 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
15201 (__libc_sigaction): Likewise.
15202 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
15203 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
15204 Likewise.
15205 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15206
cc7834d6
OB
152072013-02-13 Ondřej Bílka <neleai@seznam.cz>
15208
ffb1ec7b 15209 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
15210
15211 * string/mempcpy.c: Implement by calling memcpy.
15212
bdf02814
SP
152132013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15214
c2af38aa
SP
15215 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
15216
4e92d59e
SP
15217 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
15218 evaluation.
15219
909279a5
SP
15220 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
15221 values in the mantissa.
15222
bdf02814
SP
15223 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
15224 minimize writes to Z.
15225 (sub_magnitudes): Simplify code a bit.
15226
cd525923
RM
152272013-02-12 Roland McGrath <roland@hack.frob.com>
15228
15229 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
15230 from the message. The linker prefixes all warnings with that already.
15231
7e2f0d2d
AS
152322013-02-12 Andreas Schwab <schwab@suse.de>
15233
a445af0b
AS
15234 [BZ #15078]
15235 * posix/regexec.c (extend_buffers): Add parameter min_len.
15236 (check_matching): Pass minimum needed length.
15237 (clean_state_log_if_needed): Likewise.
15238 (get_subexp): Likewise.
15239 * posix/Makefile (tests): Add bug-regex34.
15240 (bug-regex34-ENV): Define.
15241 * posix/bug-regex34.c: New file.
15242
7e2f0d2d
AS
15243 [BZ #11561]
15244 * posix/regcomp.c (parse_bracket_exp): When looking up collating
15245 elements compare against the byte sequence of it, not its name.
15246 * posix/Makefile (tests): Add bug-regex35.
15247 (bug-regex35-ENV): Define.
15248 * posix/bug-regex35.c: New file.
15249
a175b684
TV
152502013-02-11 Tom de Vries <tom@codesourcery.com>
15251
15252 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
15253 comment.
15254 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
15255 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
15256 (CHECK_EOL): Add undef.
15257
310998fe 152582013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
15259
15260 * bits/stdlib-bsearch.h: New file.
15261 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 15262 * stdlib/stdlib.h: Likewise.
41eda41d 15263
8ded91fb
RM
152642013-02-11 Roland McGrath <roland@hack.frob.com>
15265
15266 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
15267 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
15268 declaration.
15269 * manual/search.texi (Array Search Function): Add missing const in
15270 lfind prototype.
15271 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
15272 declaration to use rlim_t.
15273 (Basic Scheduling Functions): Remove erroneous const from
15274 sched_getparam prototype. Remove erroneous * from
15275 sched_get_priority_max and sched_get_priority_min prototypes.
15276 (Resource Usage): Fix summary @comment on vtimes to refer to
15277 sys/vtimes.h rather than vtimes.h.
15278 Add missing *s in vtimes prototype.
15279 (Limits on Resources): Fix ulimit prototype to return long int.
15280 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
15281 prototypes to use long int rather than double.
15282 (BSD Random): Fix initstate and setstate to use char *, not void *.
15283 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
15284 prototype to make second argument 'struct aiocb64 *const[]'.
15285 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
15286 (Status of AIO Operations): Remove erroneous const in aio_return and
15287 aio_return64 prototypes.
15288 (Synchronizing I/O): Fix sync prototype to return void.
15289 * manual/startup.texi (Suboptions): Remove an erroneous const in
15290 getsubopt prototype.
15291 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
15292 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
15293 use size_t rather than int.
15294 (Scanning All Users): Likewise for getpwent_r.
15295 (Setting Groups): Add missing const to setgroups prototype.
15296 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
15297 * manual/socket.texi (Host Names): Fix gethostbyaddr and
15298 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
15299 'const void *' rather than 'const char *'.
15300 (Host Address Functions): Likewise for inet_ntop.
15301 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
15302 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
15303 ssize_t for return value.
15304 (Sending Data): Likewise for send, sendto, sendmsg.
15305 (Socket Option Functions): Add a missing const in setsockopt prototype.
15306 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
15307 use wchar_t for the argument.
15308 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
15309 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
15310 take no arguments.
15311 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
15312 double/float/long double for second argument.
15313 Fix return types of significand, significandf, significandl.
15314 * manual/filesys.texi (Setting Permissions): Use mode_t for second
15315 argument in fchmod prototype.
15316 (File Owner): Use uid_t and gid_t in fchown prototype.
15317 (File Times): Add const to utimes, futimes, and lutimes prototypes.
15318 (Making Special Files): Use mode_t and dev_t in mknod prototype.
15319 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
15320 use 'const struct dirent **' as argument types to CMP function pointer
15321 argument.
15322 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
15323 (File Times): Fix summary magic @comment for struct utimbuf and utime
15324 to refer to utime.h, not time.h.
15325 * manual/string.texi (Argz Functions): Add missing const in
15326 argz_extract and argz_next prototypes.
15327 (Finding Tokens in a String): Likewise for basename.
15328 (String/Array Comparison): Fix typo in wcscasecmp prototype.
15329 (Copying and Concatenation): Fix typo in wmemmove prototype.
15330 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
15331 (Signal Stack): Remove erroneous const in sigstack prototype.
15332 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
15333 prototype.
15334 (Simple Calendar Time): Likewise for stime.
15335 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
15336 prototype.
15337 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
15338 say sys/sysctl.h instead.
15339 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
15340 and vsyslog prototypes.
15341
fe77fe6d
TV
153422013-02-11 Tom de Vries <tom@codesourcery.com>
15343
15344 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
15345 Remove.
15346
3a09b620
RM
153472013-02-11 Roland McGrath <roland@hack.frob.com>
15348
15349 * misc/sys/mman.h: Fix typo in mremap comment.
15350
550a0b89
RM
153512013-02-08 Roland McGrath <roland@hack.frob.com>
15352
15353 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
15354 the '\0' terminator.
15355
a2da1673
JM
153562013-02-08 Joseph Myers <joseph@codesourcery.com>
15357
15358 [BZ #13550]
15359 * debug/segfault.c: Don't include <bp-checks.h>.
15360 * sysdeps/generic/bp-checks.h: Remove file.
15361 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
15362 (__GETDENTS): Don't use CHECK_N.
15363 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
15364 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
15365 (__getgroups): Don't use CHECK_N.
15366 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
15367 (setgroups): Don't use CHECK_N.
15368 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
15369 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
15370 (__libc_msgrcv): Don't use CHECK_N.
15371 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
15372 (__libc_msgsnd): Don't use CHECK_N.
15373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
15374 <bp-checks.h>.
15375 (__libc_pread): Don't use CHECK_N.
15376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
15377 include <bp-checks.h>.
15378 (__libc_pread64): Don't use CHECK_N.
15379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
15380 include <bp-checks.h>.
15381 (__libc_pwrite): Don't use CHECK_N.
15382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
15383 include <bp-checks.h>.
15384 (__libc_pwrite64): Don't use CHECK_N.
15385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
15386 <bp-checks.h>.
15387 (__libc_pread): Don't use CHECK_N.
15388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
15389 include <bp-checks.h>.
15390 (__libc_pread64): Don't use CHECK_N.
15391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
15392 include <bp-checks.h>.
15393 (__libc_pwrite): Don't use CHECK_N.
15394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
15395 include <bp-checks.h>.
15396 (__libc_pwrite64): Don't use CHECK_N.
15397 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
15398 (do_pread): Don't use CHECK_N.
15399 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
15400 (do_pread64): Don't use CHECK_N.
15401 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
15402 (do_pwrite): Don't use CHECK_N.
15403 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
15404 (do_pwrite64): Don't use CHECK_N.
15405 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
15406 (__libc_readv): Don't use CHECK_N.
15407 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
15408 (semop): Don't use CHECK_N.
15409 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
15410 <bp-checks.h>.
15411 (semtimedop): Don't use CHECK_N.
15412 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
15413 (__libc_pread): Don't use CHECK_N.
15414 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
15415 <bp-checks.h>.
15416 (__libc_pread64): Don't use CHECK_N.
15417 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
15418 <bp-checks.h>.
15419 (__libc_pwrite): Don't use CHECK_N.
15420 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
15421 <bp-checks.h>.
15422 (__libc_pwrite64): Don't use CHECK_N.
15423 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
15424 <bp-checks.h>.
15425 (__libc_msgrcv): Don't use CHECK_N.
15426 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
15427 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
15428 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
15429 (__libc_writev): Don't use CHECK_N.
15430
b84660a8
RM
154312013-02-08 Roland McGrath <roland@hack.frob.com>
15432
7f3e75f8
RM
15433 * string/strcpy.c: Removed unused variable.
15434
b84660a8
RM
15435 * Makeconfig (+sysdep-includes): Define with := rather than =.
15436 Use an existing include/ subdir of each sysdeps dir before it.
15437
471514d3
CD
154382013-02-08 Carlos O'Donell <carlos@redhat.com>
15439
15440 * nscd/connection.c (register_traced_file): Comment function.
15441 [HAVE_INOTIFY] (union __inev): Define.
15442 [HAVE_INOTIFY] (inotify_check_files): New function.
15443 [HAVE_INOTIFY] (clear_db_cache): Likewise.
15444 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
15445 clear_db_cache.
15446 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
15447
b2d3c3be
CD
154482013-02-08 Carlos O'Donell <carlos@redhat.com>
15449
15450 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
15451 loaded if not already and that a failure is permanent.
15452
b39949d2
CD
154532013-02-08 Carlos O'Donell <carlos@redhat.com>
15454
ddacd1db 15455 [BZ #15006]
b39949d2
CD
15456 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
15457 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
15458
b2c9eff4
JM
154592013-02-08 Joseph Myers <joseph@codesourcery.com>
15460
f3aae3f3
JM
15461 [BZ #13550]
15462 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
15463 (CHECK_1_NULL_OK): Likewise.
15464 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
15465 (__fxstat): Do not use CHECK_1.
15466 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
15467 <bp-checks.h>.
15468 (___fxstat64): Do not use CHECK_1.
15469 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15470 <bp-checks.h>.
15471 (__fxstatat): Do not use CHECK_1.
15472 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15473 <bp-checks.h>.
15474 (__fxstatat64): Do not use CHECK_1.
15475 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
15476 <bp-checks.h>.
15477 (__fxstat): Do not use CHECK_1.
15478 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15479 <bp-checks.h>.
15480 (__fxstatat): Do not use CHECK_1.
15481 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15482 <bp-checks.h>.
15483 (__getresgid): Do not use CHECK_1.
15484 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15485 <bp-checks.h>.
15486 (__getresuid): Do not use CHECK_1.
15487 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
15488 <bp-checks.h>.
15489 (__lxstat): Do not use CHECK_1.
15490 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15491 <bp-checks.h>.
15492 (__old_msgctl): Do not use CHECK_1.
15493 (__new_msgctl): Likewise.
15494 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
15495 <bp-checks.h>.
15496 (__new_setrlimit): Do not use CHECK_1.
15497 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15498 <bp-checks.h>.
15499 (__old_shmctl): Do not use CHECK_1.
15500 (__new_shmctl): Likewise.
15501 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
15502 <bp-checks.h>.
15503 (__xstat): Do not use CHECK_1.
15504 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
15505 (__lxstat): Do not use CHECK_1.
15506 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
15507 <bp-checks.h>.
15508 (___lxstat64): Do not use CHECK_1.
15509 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
15510 (__old_msgctl): Do not use CHECK_1.
15511 (__new_msgctl): Likewise.
15512 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
15513 <bp-checks.h>.
15514 (__gettimeofday): Do not use CHECK_1.
15515 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
15516 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
15517 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
15518 <bp-checks.h>.
15519 (__gettimeofday): Do not use CHECK_1.
15520 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
15521 (__old_shmctl): Do not use CHECK_1_NULL_OK.
15522 (__new_shmctl): Do not use CHECK_1.
15523 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
15524 <bp-checks.h>.
15525 (do_sigtimedwait): Do not use CHECK_1.
15526 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
15527 <bp-checks.h>.
15528 (do_sigwaitinfo): Do not use CHECK_1.
15529 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
15530 <bp-checks.h>.
15531 (msgctl): Do not use CHECK_1.
15532 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
15533 <bp-checks.h>.
15534 (shmctl): Do not use CHECK_1.
15535 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
15536 (ustat): Do not use CHECK_1.
15537 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
15538 <bp-checks.h>.
15539 (__fxstat): Do not use CHECK_1.
15540 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15541 <bp-checks.h>.
15542 (__fxstatat): Do not use CHECK_1.
15543 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
15544 <bp-checks.h>.
15545 (__lxstat): Do not use CHECK_1.
15546 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
15547 <bp-checks.h>.
15548 (__xstat): Do not use CHECK_1.
15549 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
15550 (__xstat): Do not use CHECK_1.
15551 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
15552 (___xstat64): Do not use CHECK_1.
15553
b2c9eff4
JM
15554 [BZ #13550]
15555 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
15556 definitions.
15557 (CHECK_BOUNDS_HIGH): Likewise.
15558 * string/strcpy.c: Do not include <bp-checks.h>.
15559 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
15560
f1d70dad
RM
155612013-02-07 Roland McGrath <roland@hack.frob.com>
15562
15563 * nscd/nscd-client.h (__nscd_drop_map_ref):
15564 Add __attribute__ ((unused)).
15565 * nis/nss-nisplus.h (niserr2nss): Likewise.
15566
15567 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
15568 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
15569
15570 * csu/libc-tls.c (init_static_tls, init_slotinfo):
15571 Remove inline keyword.
15572 * include/rounding-mode.h (round_away): Likewise.
15573 * libio/wfileops.c (adjust_wide_data): Likewise.
15574 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
15575 (__m128i_strloadu_tolower): Likewise.
15576 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
15577 (__m128i_strloadu_tolower): Likewise.
15578 * time/mktime.c (ydhms_diff): Likewise.
15579 * locale/elem-hash.h (elem_hash): Likewise.
15580 * locale/setlocale.c (setdata): Likewise.
15581 * posix/regex_internal.h (re_string_char_size_at): Likewise.
15582 (re_string_wchar_at): Likewise.
15583 (bitset_not, bitset_merge, bitset_mask): Likewise.
15584 [!(__GNUC__ > 3)] (inline): Remove macro.
15585 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
15586 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
15587 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
15588 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
15589 * string/memcmp.c (memcmp_bytes): Likewise.
15590 * locale/programs/locarchive.c (compute_hashval): Likewise.
15591 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
15592 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
15593 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
15594 * nss/getent.c (print_rpc, print_protocols): Likewise.
15595 (print_passwd, print_group, print_aliases): Likewise.
15596 * nis/nss-nisplus.h (niserr2nss): Likewise.
15597 * nscd/connections.c (restart_p): Likewise.
15598 Change return type to bool.
15599
eab55bfb
RM
156002013-02-05 Roland McGrath <roland@hack.frob.com>
15601
7bd642f5
RM
15602 * Makeconfig (all-Depend-files): Add existing
15603 $(sorted-subdirs:=/Depend) files.
15604 (all-subdirs): Remove nss.
15605 * sysdeps/unix/inet/Subdirs: Add it here instead.
15606 * hesiod/Depend: New file.
15607
573c29b2
RM
15608 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
15609 instead of calling alloca.
15610
b2e25af0
RM
15611 * io/lseek.c (__lseek): Rename to __libc_lseek.
15612 Define __lseek as an alias.
15613
eab55bfb
RM
15614 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
15615
9a0d1941
CD
156162013-02-04 Carlos O'Donell <carlos@redhat.com>
15617
15618 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
15619 else clause and remove check for non-standard endianness.
15620
b83bbec4
DM
156212013-02-04 David S. Miller <davem@davemloft.net>
15622
15623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15624
6277fdab
JM
156252013-02-04 Joseph Myers <joseph@codesourcery.com>
15626
15627 [BZ #13550]
15628 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
15629 (__ubp_memchr): Remove prototype.
15630 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
15631 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15632 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
15633 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15634 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
15635 Remove alias.
15636 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
15637 (__ubp_memchr): Likewise.
15638 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
15639 (__ubp_memchr): Likewise.
15640 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
15641 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
15642 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
15643 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
15644 CHECK_STRING.
15645 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15646 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
15647 (__getcwd): Do not use CHECK_STRING.
15648 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15649 <bp-checks.h>.
15650 (__real_chown): Do not use CHECK_STRING.
15651 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
15652 <bp-checks.h>.
15653 (fchownat): Do not use CHECK_STRING.
15654 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
15655 CHECK_STRING.
15656 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15657 <bp-checks.h>.
15658 (__lchown): Do not use CHECK_STRING.
15659 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15660 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15661 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15662 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
15663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15664 include <bp-checks.h>.
15665 (truncate64): Do not use CHECK_STRING.
15666 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15667 <bp-checks.h>.
15668 (__real_chown): Do not use CHECK_STRING.
15669 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15670 <bp-checks.h>.
15671 (__lchown): Do not use CHECK_STRING.
15672 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15673 <bp-checks.h>.
15674 (__chown): Do not use CHECK_STRING.
15675 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
15676 <bp-checks.h>.
15677 (truncate64): Do not use CHECK_STRING.
15678 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
15679 Likewise.
15680 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
15681 (__xmknod): Do not use CHECK_STRING.
15682 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15683 <bp-checks.h>.
15684 (__xmknodat): Do not use CHECK_STRING.
15685 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15686 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
15687
903ae060
AS
156882013-02-04 Andreas Schwab <schwab@suse.de>
15689
15690 [BZ #14142]
15691 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
15692 * include/netdb.h: Likewise for h_errno.
15693 * elf/tst-stackguard1.c: Include <tls.h>.
15694
542f9466
JK
156952013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15696
15697 * elf/link.h (struct link_map): Extend the l_addr comment.
15698 * include/link.h (struct link_map): Likewise.
15699
e782a927
JM
157002013-02-01 Joseph Myers <joseph@codesourcery.com>
15701
15702 [BZ #13550]
15703 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
15704 (BOUNDED_1): Remove macro.
15705 * debug/backtrace.c: Don't include <bp-checks.h>.
15706 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
15707 (__backtrace): Likewise.
15708 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
15709 <bp-checks.h>.
15710 (__backtrace): Don't use BOUNDED_1.
15711 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
15712 <bp-checks.h>.
15713 (__backtrace): Don't use BOUNDED_1.
15714 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
15715 (__backtrace): Don't use BOUNDED_1.
15716 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
15717 (shmat): Don't use BOUNDED_N.
15718
8cf28c5e
JM
157192013-01-31 Joseph Myers <joseph@codesourcery.com>
15720
3a7ac8a0
JM
15721 [BZ #13550]
15722 * sysdeps/generic/bp-start.h: Remove file.
15723 * csu/libc-start.c: Don't include <bp-start.h>.
15724 (LIBC_START_MAIN): Set up __environ directly instead of using
15725 INIT_ARGV_and_ENVIRON.
15726 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
15727 <bp-start.h>.
15728
f3499f95
JM
15729 [BZ #13550]
15730 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
15731 definitions.
15732 (CHECK_FCNTL): Likewise.
15733 (CHECK_N_PAGES): Likewise.
15734
32a45bea
JM
15735 [BZ #13550]
15736 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
15737 definitions.
15738 (CHECK_SIGSET_NULL_OK): Likewise.
15739 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
15740 <bp-checks.h>.
15741 (sigpending): Don't use CHECK_SIGSET.
15742 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
15743 <bp-checks.h>.
15744 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15745 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
15746 <bp-checks.h>.
15747 (do_sigsuspend): Don't use CHECK_SIGSET.
15748 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
15749 use CHECK_SIGSET.
15750 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
15751 (do_sigwait): Don't use CHECK_SIGSET.
15752 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
15753 use CHECK_SIGSET.
15754 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
15755 include <bp-checks.h>.
15756 (sigpending): Don't use CHECK_SIGSET.
15757 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
15758 include <bp-checks.h>.
15759 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15760 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
15761 <bp-checks.h>.
15762 (sigpending): Don't use CHECK_SIGSET.
15763 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
15764 <bp-checks.h>.
15765 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15766
2e8a5c8c
JM
15767 [BZ #13550]
15768 * sysdeps/generic/bp-semctl.h: Remove file.
15769 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
15770 <bp-checks.h> and <bp-semctl.h>.
15771 (__old_semctl): Don't use CHECK_SEMCTL.
15772 (__new_semctl): Likewise.
15773 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
15774 and <bp-semctl.h>.
15775 (__old_semctl): Don't use CHECK_SEMCTL.
15776 (__new_semctl): Likewise.
15777 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
15778 <bp-checks.h> and <bp-semctl.h>.
15779 (__old_semctl): Don't use CHECK_SEMCTL.
15780 (__new_semctl): Likewise.
15781 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
15782 <bp-checks.h> and <bp-semctl.h>.
15783 (semctl): Don't use CHECK_SEMCTL.
15784
c2d54929
JM
15785 [BZ #13550]
15786 * Makerules (elide-bp-thunks): Remove variable.
15787 (elide-routines.oS): Don't use $(elide-bp-thunks).
15788 (elide-routines.os): Likewise.
15789 (elide-routines.o): Likewise.
15790 (elide-routines.op): Likewise.
15791 (elide-routines.og): Likewise.
15792 (objects): Don't use $(bp-thunks).
15793 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
15794 include.
15795 (common-generated): Do not add s-proto-bp.d.
15796 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
15797 (int): Likewise.
15798 (typ): Likewise.
15799 Do not generate makefile rules for bounded-pointer thunks.
15800 * sysdeps/generic/bp-thunks.h: Remove file.
15801 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
15802 * sysdeps/unix/s-proto-bp.S: Likewise.
15803
8cf28c5e
JM
15804 [BZ #15062]
15805 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
15806 parts of result separately when argument is not close to line from
15807 -i to i and one part of argument is small.
15808 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15809 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15810 * math/libm-test.inc (cacos_test): Add more tests.
15811 (casin_test): Likewise.
15812 (casinh_test): Likewise.
15813 * sysdeps/i386/fpu/libm-test-ulps: Update.
15814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15815
c4e33b8d
DM
158162013-01-31 David S. Miller <davem@davemloft.net>
15817
15818 * po/de.po: Update from translation team.
15819
3b60b421
MK
158202013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
15821
15822 * time/tzfile.c: Include stdint.h for SIZE_MAX.
15823
bb931195
TS
158242013-01-25 Thomas Schwinge <thomas@codesourcery.com>
15825
b5a5da23
TS
15826 * configure.in (_AC_PROG_CC_C89): New definition.
15827 * configure: Regenerate.
15828
bb931195
TS
15829 * configure.in (AC_PROG_CPP): New definition.
15830 * configure: Regenerate.
15831
8c53a12c
JM
158322013-01-23 Joseph Myers <joseph@codesourcery.com>
15833
15834 * debug/tst-backtrace.h: New file.
15835 * debug/tst-backtrace2.c: Include tst-backtrace.h.
15836 (ret): Remove variable.
15837 (x): Likewise.
15838 (FAIL): Remove macro.
15839 (NO_INLINE): Likewise.
15840 (fn1): Use match function instead of strstr.
15841 * debug/tst-backtrace3.c: Include tst-backtrace.h.
15842 (ret): Remove variable.
15843 (x): Likewise.
15844 (FAIL): Remove macro.
15845 (NO_INLINE): Likewise.
15846 (fn): Use match function instead of strstr.
15847 * debug/tst-backtrace4.c: Include tst-backtrace.h.
15848 (ret): Remove variable.
15849 (x): Likewise.
15850 (FAIL): Remove macro.
15851 (NO_INLINE): Likewise.
15852 (handle_signal): Use match function instead of strstr.
15853 * debug/tst-backtrace5.c: Include tst-backtrace.h.
15854 (ret): Remove variable.
15855 (x): Likewise.
15856 (FAIL): Remove macro.
15857 (NO_INLINE): Likewise.
15858 (handle_signal): Use match function instead of strstr.
15859
4858fa2a
RM
158602013-01-23 Roland McGrath <roland@hack.frob.com>
15861
15862 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
15863
bae8e7f5
DM
158642013-01-23 David S. Miller <davem@davemloft.net>
15865
15866 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
15867 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
15868 argument of CAS if possible.
15869 * sysdeps/sparc/sparc64/bits/atomic.h
15870 (__arch_compare_and_exchange_val_32_acq): Likewise.
15871 (__arch_compare_and_exchange_val_64_acq): Likewise.
15872
9cbbc4ae
PT
158732013-01-23 Pino Toscano <toscano.pino@tiscali.it>
15874
15875 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
15876 * sysdeps/posix/ulimit.c: ... this.
92a601b8 15877 Include <limits.h>.
67b3f58c 15878 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 15879
5655a0b5
AC
158802013-01-23 Adam Conrad <adconrad@0c3.net>
15881
15882 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
15883 (LDFLAGS-tst-array5): Likewise.
15884
052aff95
JM
158852013-01-23 Joseph Myers <joseph@codesourcery.com>
15886
15887 [BZ #15036]
15888 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
15889 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
15890 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
15891 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
15892
7c1e01aa
DM
158932013-01-21 David S. Miller <davem@davemloft.net>
15894
15895 * sysdeps/sparc/backtrace.c: New file.
15896 * sysdeps/sparc/sparc32/backtrace.h: New file.
15897 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
15898 * sysdeps/sparc/sparc64/backtrace.h: New file.
15899 * sysdeps/sparc/sparc64/backtrace.c: Delete.
15900 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
15901 -funwind-tables.
15902
ab087e0a
AS
159032013-01-21 Andreas Schwab <schwab@suse.de>
15904
15905 [BZ #15020]
15906 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
15907 closed its stdout.
15908
ed689c2f
AS
159092013-01-20 Andreas Schwab <schwab@linux-m68k.org>
15910
15911 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
15912 "mpa2.h".
15913 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15914
31d470ac
JM
159152013-01-18 Joseph Myers <joseph@codesourcery.com>
15916 Mark Mitchell <mark@codesourcery.com>
15917 Tom de Vries <tom@codesourcery.com>
15918 Paul Pluzhnikov <ppluzhnikov@google.com>
15919
15920 * debug/tst-backtrace2.c: New file.
15921 * debug/tst-backtrace3.c: Likewise.
15922 * debug/tst-backtrace4.c: Likewise.
15923 * debug/tst-backtrace5.c: Likewise.
15924 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
15925 (CFLAGS-tst-backtrace3.c): Likewise.
15926 (CFLAGS-tst-backtrace4.c): Likewise.
15927 (CFLAGS-tst-backtrace5.c): Likewise.
15928 (LDFLAGS-tst-backtrace2): Likewise.
15929 (LDFLAGS-tst-backtrace3): Likewise.
15930 (LDFLAGS-tst-backtrace4): Likewise.
15931 (LDFLAGS-tst-backtrace5): Likewise.
15932 (tests): Add new tests tst-backtrace2, tst-backtrace3,
15933 tst-backtrace4 and tst-backtrace5.
15934
90567f30 159352013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
15936 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15937
15938 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
15939 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
15940 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
15941 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
15942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15943 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
15944 "+r" and remove output regs list as redundant. Add explicit inline
15945 asm to specify register of return val to work around compiler codegen
15946 bug. Remove (int) cast on return value. Add return type parameter to
15947 use in macro so that this macro does not truncate return value for
15948 64-bit values.
15949 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
15950 pass to INTERNAL_VSYSCALL_NCS.
15951 (INLINE_VSYSCALL): Add 'long int' as return type to
15952 INTERNAL_VSYSCALL_NCS macro invocation.
15953 (INTERNAL_VSYSCALL): Add 'long int' as return type to
15954 INTERNAL_VSYSCALL_NCS macro invocation.
15955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15956
d3b9ea61
SP
159572013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15958
0b57daeb
SP
15959 [BZ #14496]
15960 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
15961 Fix application of SIMD FP exception mask.
15962
caa99d06
SP
15963 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
15964 mp_no from a power of two.
15965 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
15966 __mpexp_twomm1. Use __pow_mp.
15967
d3b9ea61
SP
15968 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
15969 multiplication.
15970
1dbaee3c
DM
159712013-01-17 David S. Miller <davem@davemloft.net>
15972
15973 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15974
728d7b43
JM
159752013-01-17 Joseph Myers <joseph@codesourcery.com>
15976
15977 [BZ #15023]
15978 * include/complex.h: Condition contents on [!_COMPLEX_H].
15979 (__kernel_casinhf): New prototype.
15980 (__kernel_casinh): Likewise.
15981 (__kernel_casinhl): Likewise.
15982 * math/Makefile (libm_calls): Add k_casinh.
15983 * math/k_casinh.c: New file.
15984 * math/k_casinhf.c: Likewise.
15985 * math/k_casinhl.c: Likewise.
15986 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
15987 finite nonzero arguments.
15988 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
15989 finite nonzero arguments.
15990 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
15991 finite nonzero arguments.
15992 * math/s_casinh.c: Do not include <float.h>.
15993 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
15994 * math/s_casinhf.c: Do not include <float.h>.
15995 (__casinhf): Move code for finite nonzero arguments to
15996 k_casinhf.c.
15997 * math/s_casinhl.c: Do not include <float.h>.
15998 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
15999 redefine.
16000 (__casinhl): Move code for finite nonzero arguments to
16001 k_casinhl.c.
16002 * math/libm-test.inc (cacos_test): Add more tests.
16003 * sysdeps/i386/fpu/libm-test-ulps: Update.
16004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16005
2a26ef3a
PT
160062013-01-17 Pino Toscano <toscano.pino@tiscali.it>
16007
16008 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
16009 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
16010 [!HAVE_MREMAP]: Remove [defined linux] case.
16011 * malloc/arena.c: Do not include <malloc-sysdep.h>.
16012
a897655d
SP
160132013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16014
16015 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
16016
881ebe89 160172013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
16018
16019 * elf/elf.h (R_386_SIZE32): New relocation.
16020 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
16021 R_386_SIZE32.
16022 (elf_machine_rela): Likewise.
16023 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
16024 R_X86_64_SIZE64 and R_X86_64_SIZE32.
16025
59981e9b
JM
160262013-01-17 Joseph Myers <joseph@codesourcery.com>
16027
16028 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
16029 (FP_FAST_FMA): Do not define.
16030 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
16031 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
16032 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
16033 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
16034 !_SOFT_FLOAT]: Likewise.
16035 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
16036 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
16037 value.
16038 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
16039 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
16040 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
16041 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
16042 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
16043 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
16044 file.
16045
cfa8054f
AS
160462013-01-16 Andreas Schwab <schwab@suse.de>
16047
16048 [BZ #14327]
16049 * include/stdlib.h (__mktemp): Add declaration.
16050 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
16051 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
16052
dd930cc5
SP
160532013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16054
881ebe89
SP
16055 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
16056 definitions.
16057 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16058 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
16059 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
16060 definitions here.
16061 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
16062 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
16063 definitions.
16064 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
16065 and ONE.
16066 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
16067 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
16068 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
16069 definitions.
16070 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
16071 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
16072 definitions.
16073 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 16074
dd930cc5
SP
16075 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
16076
c19a9f89
DM
160772013-01-15 David S. Miller <davem@davemloft.net>
16078
1aa61767
DM
16079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
16080 trunc{,f} to libm-sysdep_routes.
16081 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
16083 file.
16084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
16085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
16086 file.
16087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
16088 file.
16089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
16090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
16091 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
16092 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
16093 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
16094 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
16095 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
16096 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
16097
c42d5e98
DM
16098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
16099 nearbyint{,f} to libm-sysdep_routes.
16100 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
16102 New file.
16103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
16104 file.
16105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
16106 New file.
16107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
16108 file.
16109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
16110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
16111 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
16112 file.
16113 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
16114 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
16115 file.
16116 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
16117 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
16118 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
16119
c19a9f89
DM
16120 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16121 libc_feholdexcept and libc_fesetenv.
16122
357679d2
MF
161232013-01-15 Mike Frysinger <vapier@gentoo.org>
16124
16125 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
16126
65a82e3d
DM
161272013-01-14 David S. Miller <davem@davemloft.net>
16128
8b954ab9
DM
16129 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
16130 (SPARC_ASM_VIS2_IFUNC): Likewise.
16131 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
16132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
16133 use of 'siam' instruction.
16134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
16135 Likewise.
16136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
16137 Likewise.
16138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
16139 Likewise.
16140 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
16141 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
16142 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
16143 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
16144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
16145 file.
16146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
16147 file.
16148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
16149 file.
16150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
16151 file.
16152 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
16153 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
16154 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
16155 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
16156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
16157 new VIS2 routines.
16158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16161 Likewise.
16162 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16163 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16164 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16165 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
16167 routines to libm-sysdep_routines.
16168 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16169
65a82e3d
DM
16170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
16171 fdim/fdimf to libm-sysdep_routines.
16172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
16173 file.
16174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
16175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
16176 file.
16177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
16178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
16179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
16180 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
16181 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
16182 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
16183 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
16184
e34ab705
SP
161852013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16186
2a91b573
SP
16187 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
16188 to optimize copies.
16189
1066a534
SP
16190 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
16191 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16192 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16193
e34ab705
SP
16194 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
16195 local variable MPTWO.
16196 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16197 Likewise.
16198
aba5e596
MF
161992013-01-13 Mike Frysinger <vapier@gentoo.org>
16200
16201 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
16202 GLOB_NOESCAPE.
16203
e557e9e5
MF
162042013-01-13 Mike Frysinger <vapier@gentoo.org>
16205
16206 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
16207
0428cec9
MF
162082013-01-13 Mike Frysinger <vapier@gentoo.org>
16209
16210 * manual/pattern.texi (glob_t): Document gl_flags.
16211 (glob64_t): Likewise.
16212
8794a964
DM
162132013-01-11 David S. Miller <davem@davemloft.net>
16214
66438c3f
RM
16215 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
16216 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
16217 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
16218 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
16219 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
16220 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
16221 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
16222 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
16223 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
16224 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
16225 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
16226 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
16227 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
16228
4ae4244d
DM
16229 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
16230 sparc V9 rather than using V8 code.
16231 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16232 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16233
8794a964
DM
16234 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16235 Move to...
16236 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
16237 Here.
16238
6270516e
RM
162392013-01-11 Roland McGrath <roland@hack.frob.com>
16240
16241 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
16242 not in the main loop.
16243 * configure: Regenerated.
16244
6a57d931
JM
162452013-01-11 Joseph Myers <joseph@codesourcery.com>
16246
16247 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
16248 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
16249 to just #else.
16250 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
16251 [!__GLIBC_HAVE_LONG_LONG] case.
16252 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
16253 condition to just #else.
16254 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
16255 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
16256 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
16257 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
16258 unconditional.
16259 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
16260 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
16261 #elif condition to just #else.
16262 * sysdeps/unix/sysv/linux/sys/sysmacros.h
16263 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
16264 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
16265 #elif condition to just #else.
16266
0e8529e9
SE
162672013-01-11 Steve Ellcey <sellcey@mips.com>
16268
16269 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
16270 (EF_MIPS_ARCH_64): Fix value.
16271 (EF_MIPS_ARCH_32R2): New.
16272 (EF_MIPS_ARCH_64R2): New.
16273
740b3dbe
L
162742013-01-11 H.J. Lu <hongjiu.lu@intel.com>
16275
16276 * Makeconfig (+link-pie-before-libc): New.
16277 (+link-pie-after-libc): Likewise.
16278 (+link-pie-tests): Likewise.
16279 (+link-pie): Rewritten.
16280 (link-before-libc): Remove $(config-LDFLAGS).
16281 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
16282 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
16283 (config-LDFLAGS): Renamed to ...
16284 (rtld-LDFLAGS): This.
16285 (rtld-tests-LDFLAGS): New macro.
16286 (link-libc-rpath-link): Likewise.
16287 (link-libc-tests-rpath-link): Likewise.
16288 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
16289 (link-libc): Prepand $(link-libc-rpath-link).
16290 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
16291 (test-program-prefix): New macro.
16292 (test-via-rtld-prefix): Likewise.
16293 (test-program-cmd): Likewise.
16294 (host-test-program-cmd): Likewise.
16295 * Makefile ($(common-objpfx)testrun.sh): Replace
16296 $(run-program-prefix) with $(test-program-prefix).
16297 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
16298 $(rtld-LDFLAGS).
16299 ($(common-objpfx)shlib.lds): Likewise.
16300 (build-module-helper): Likewise.
16301 ($(common-objpfx)format.lds): Likewise.
16302 * Rules (binaries-pie-tests): New.
16303 (binaries-pie-notests): Likewise.
16304 (binaries-pie): Rewritten.
16305 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
16306 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
16307 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
16308 (make-test-out): Replace $(host-built-program-cmd) with
16309 $(host-test-program-cmd).
16310 * config.make.in (build-hardcoded-path-in-tests): New variable.
16311 * configure.in (--enable-hardcoded-path-in-tests): New configure
16312 option.
16313 (hardcoded_path_in_tests): New AC_SUBST.
16314 * configure: Regenerated.
16315 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
16316 $(built-program-cmd) with $(test-program-cmd).
16317 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
16318 (test_program_cmd): This.
16319 * elf/Makefile ($(objpfx)order.out): Run test with
16320 $(test-program-prefix).
16321 ($(objpfx)order2.out): Likewise.
16322 ($(objpfx)tst-initorder.out): Likewise.
16323 ($(objpfx)tst-initorder2.out): Likewise.
16324 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
16325 $(test-program-cmd).
16326 ($(objpfx)tst-array1-static.out): Likewise.
16327 ($(objpfx)tst-array2.out): Likewise.
16328 ($(objpfx)tst-array3.out): Likewise.
16329 ($(objpfx)tst-array4.out): Likewise.
16330 ($(objpfx)tst-array5.out): Likewise.
16331 ($(objpfx)tst-array5-static.out): Likewise.
16332 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
16333 $(test-program-cmd).
16334 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
16335 $(run-program-prefix) with $(test-program-prefix).
16336 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
16337 (test_program_prefix): This.
16338 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
16339 $(run-program-prefix) with $(test-program-prefix).
16340 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
16341 (test_program_prefix): This.
16342 * iconvdata/tst-tables.sh: Likewise.
16343 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
16344 $(run-program-prefix) with $(test-program-prefix).
16345 ($(objpfx)tst-translit.out): Likewise.
16346 ($(objpfx)tst-gettext2.out): Likewise.
16347 ($(objpfx)tst-gettext4.out): Likewise.
16348 ($(objpfx)tst-gettext6.out): Likewise.
16349 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
16350 (test_program_prefix): This.
16351 * intl/tst-gettext2.sh: Likewise.
16352 * intl/tst-gettext4.sh Likewise.
16353 * intl/tst-gettext6.sh: Likewise.
16354 * intl/tst-translit.sh: Likewise.
16355 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
16356 with $(test-program-cmd).
16357 * libio/Makefile ($(objpfx)test-freopen.out): Replace
16358 $(run-program-prefix) with $(test-program-prefix).
16359 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
16360 (test_program_prefix): This.
16361 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
16362 $(run-program-prefix) with $(test-program-prefix).
16363 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
16364 (test_program_prefix): This.
16365 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
16366 * posix/Makefile ($(objpfx)globtest.out): Replace
16367 $(run-via-rtld-prefix) and $(test-wrapper) with
16368 $(test-program-prefix) and $(test-via-rtld-prefix).
16369 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
16370 $(test-program-prefix).
16371 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
16372 $(host-test-program-cmd).
16373 (tst-spawn-ARGS): Likewise.
16374 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
16375 $(test-program-prefix).
16376 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
16377 (test_via_rtld_prefix): This.
16378 (test_wrapper): Renamed to ...
16379 (test_program_prefix): This.
16380 (run_program_prefix): Replaced by test_program_prefix.
16381 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
16382 (test_program_prefix): This.
16383 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
16384 with $(host-test-program-cmd).
16385 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
16386 $(run-program-prefix) with $(test-program-prefix).
16387 ($(objpfx)tst-printf.out): Likewise.
16388 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
16389 $(test-program-cmd).
16390 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
16391 (test_program_prefix): This.
16392 * stdio-common/tst-unbputc.sh: Likewise.
16393 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
16394 $(run-program-prefix) with $(test-program-prefix).
16395 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
16396 (test_program_prefix): This.
16397 * string/Makefile ($(objpfx)tst-svc.out): Replace
16398 $(built-program-cmd) with $(test-program-cmd).
16399
c6fe55cf
AJ
164002013-01-11 Andreas Jaeger <aj@suse.de>
16401
16402 [BZ #15003]
16403 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
16404 value. Sync with Linux 3.7.
16405
9e6919c8
DM
164062013-01-10 David S. Miller <davem@davemloft.net>
16407
16408 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
16409 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16410 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16411
1c9f1a02
RM
164122013-01-10 Roland McGrath <roland@hack.frob.com>
16413
16414 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
16415 never set.
16416 * configure: Regenerated.
16417
b9de2dde
DM
164182013-01-10 David S. Miller <davem@davemloft.net>
16419
16420 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
16421 sparc V9 rather than using V8 code.
16422 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16423 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16424
e7f68ef4
RM
164252013-01-10 Roland McGrath <roland@hack.frob.com>
16426
16427 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
16428 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
16429 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
16430 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
16431 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
16432 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
16433 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
16434 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
16435 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
16436 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
16437 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
16438 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
16439 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
16440 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
16441 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
16442 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
16443 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
16444 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
16445 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
16446 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
16447 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
16448 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
16449 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
16450 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
16451 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
16452 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
16453 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
16454
5a47cc9c
DM
164552013-01-10 David S. Miller <davem@davemloft.net>
16456
16457 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16458
4cf8f209
L
164592013-01-10 H.J. Lu <hongjiu.lu@intel.com>
16460
16461 * posix/Makefile (tests-static): New variable.
16462 (tests): Add $(tests-static).
16463 (tst-exec-static-ARGS): New variable.
16464 (tst-spawn-static-ARGS): Likewise.
16465 * posix/tst-exec-static.c: New file.
16466 * posix/tst-spawn-static.c: Likewise.
16467 * posix/tst-exec.c: Support run directly.
16468 * posix/tst-spawn.c: Likewise.
16469
fed0faa1
JM
164702013-01-10 Joseph Myers <joseph@codesourcery.com>
16471
828beb13
JM
16472 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
16473 long.
16474 * math/bits/mathcalls.h (llrint): Likewise.
16475 (llround): Likewise.
16476 * stdlib/stdlib.h (struct drand48_data): Likewise.
16477 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
16478 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
16479 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
16480 Likewise.
16481 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
16482 Likewise.
16483 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
16484 (elf_greg_t): Likewise.
16485 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
16486 (__jmp_buf): Likewise.
16487 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
16488 definitions.
16489 (llrint): Likewise, for all definitions.
16490 (llrintl): Likewise.
16491
fed0faa1
JM
16492 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
16493 Remove [__GNUC__] condition.
16494 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
16495 condition to just [__USE_ISOC99].
16496 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
16497
1a20cb20
L
164982013-01-10 H.J. Lu <hongjiu.lu@intel.com>
16499
16500 [BZ #14200]
16501 * sysdeps/unix/sysv/linux/x86/bits/environments.h
16502 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
16503 defined.
16504 (_POSIX_V6_ILP32_OFF32): Likewise.
16505 (_XBS5_ILP32_OFF32): Likewise.
16506 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
16507 (__ILP32_OFFBIG_LDFLAGS): Likewise.
16508
751b85f7
SP
165092013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16510
7490eb81
SP
16511 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
16512
751b85f7
SP
16513 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
16514 doubles __mpexp_twomm1. Adjust usage.
16515 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
16516 Remove.
16517
988197f0
AS
165182013-01-10 Andreas Schwab <schwab@suse.de>
16519
16520 [BZ #14964]
16521 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
16522 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
16523
e83d7298
DM
165242013-01-09 David S. Miller <davem@davemloft.net>
16525
034ed64b 16526 [BZ #15003]
e83d7298
DM
16527 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
16528 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
16529 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
16530 TCP_FASTOPEN): Define.
16531 (tcp_repair_opt): New structure.
16532 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
16533 enum values.
16534 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
16535 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
16536 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
16537 (tcp_cookie_transactions): New structure.
16538
d5e0b9bd
AB
165392013-01-09 Anton Blanchard <anton@samba.org>
16540
16541 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
16542 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
16543 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
16544 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
16545
0c07e3ea
JM
165462013-01-09 Joseph Myers <joseph@codesourcery.com>
16547
16548 * include/features.h (__USE_ANSI): Remove.
16549
232f7002
RM
165502013-01-09 Roland McGrath <roland@hack.frob.com>
16551
ad98e30c
RM
16552 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
16553
232f7002
RM
16554 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
16555
950c99ca
SP
165562013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
16557
b5792741
SP
16558 * sysdeps/s390/fpu/libm-test-ulps: Update.
16559
47cf2278
SP
16560 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16561
950c99ca
SP
16562 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
16563 (__acr): Likewise.
16564 (__cpy): Likewise.
16565 (norm): Likewise.
16566 (denorm): Likewise.
16567 (__mp_dbl): Likewise.
16568 (__dbl_mp): Likewise.
16569 (add_magnitudes): Likewise.
16570 (sub_magnitudes): Likewise.
16571 (__add): Likewise.
16572 (__sub): Likewise.
16573 (__mul): Likewise.
16574 (__inv): Likewise.
16575 (__dvd): Likewise.
16576 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
16577 (__acr): Likewise.
16578 (__cpy): Likewise.
16579 (norm): Likewise.
16580 (denorm): Likewise.
16581 (__mp_dbl): Likewise.
16582 (__dbl_mp): Likewise.
16583 (add_magnitudes): Likewise.
16584 (sub_magnitudes): Likewise.
16585 (__add): Likewise.
16586 (__sub): Likewise.
16587 (__mul): Likewise.
16588 (__inv): Likewise.
16589 (__dvd): Likewise.
16590 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
16591 (__acr): Likewise.
16592 (__cpy): Likewise.
16593 (norm): Likewise.
16594 (denorm): Likewise.
16595 (__mp_dbl): Likewise.
16596 (__dbl_mp): Likewise.
16597 (add_magnitudes): Likewise.
16598 (sub_magnitudes): Likewise.
16599 (__add): Likewise.
16600 (__sub): Likewise.
16601 (__mul): Likewise.
16602 (__inv): Likewise.
16603 (__dvd): Likewise.
16604
eede9df9
JM
166052013-01-08 Joseph Myers <joseph@codesourcery.com>
16606
16607 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
16608 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
16609 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
16610 2 && __USE_EXTERN_INLINES]: Likewise.
16611
c40ea3d9
AJ
166122013-01-08 Andreas Jaeger <aj@suse.de>
16613
16614 [BZ# 14985]
16615 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
16616 Remove.
16617 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16618 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16619
2ccdea26
AB
166202013-01-07 Anton Blanchard <anton@samba.org>
16621
16622 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
16623 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16624 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
16625 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16626 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16627 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16628 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
16629 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16630 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16631 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16632 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16633 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16634 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16635 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16636 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16637 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16638 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16639 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16640 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16641 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16642 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16643 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
16644 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16645 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16646 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
16647 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16648 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16649 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16650 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
16651 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16652 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16653 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16654 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16655 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16656 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16657 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16658 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16659 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16660 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
16661 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16662 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
16663 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16664 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16665
a9708fed
JM
166662013-01-07 Joseph Myers <joseph@codesourcery.com>
16667
375607b9
JM
16668 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
16669 (__MALLOC_PMT): Likewise.
16670 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
16671 [__GNUC__], only on [_LIBC].
16672 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16673 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
16674 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16675 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
16676 forward declaration.
16677 (realloc_hook_ini): Likewise.
16678 (memalign_hook_ini): Likewise.
16679 (__libc_memalign): Do not use __MALLOC_PMT in variable
16680 declaration.
16681 (__libc_valloc): Likewise.
16682 (__libc_pvalloc): Likewise.
16683 (__libc_calloc): Likewise.
16684 (__posix_memalign): Likewise.
16685
a9708fed
JM
16686 [BZ #14996]
16687 * math/s_casinh.c: Include <float.h>.
16688 (__casinh): Do not do computation with squaring and square root
16689 for large arguments.
16690 * math/s_casinhf.c: Include <float.h>.
16691 (__casinhf): Do not do computation with squaring and square root
16692 for large arguments.
16693 * math/s_casinhl.c: Include <float.h>.
16694 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
16695 (__casinhl): Do not do computation with squaring and square root
16696 for large arguments.
16697 * math/libm-test.inc (casin_test): Add more tests.
16698 (casinh_test): Likewise.
16699 * sysdeps/i386/fpu/libm-test-ulps: Update.
16700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16701
afec409a
L
167022013-01-04 H.J. Lu <hongjiu.lu@intel.com>
16703
16704 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
16705 (__x86_64_raw_data_cache_size): Likewise.
16706 (__x86_64_data_cache_size_half): Likewise.
16707 (__x86_64_raw_data_cache_size_half): Likewise.
16708 (__x86_64_shared_cache_size): Likewise.
16709 (__x86_64_raw_shared_cache_size): Likewise.
16710 (__x86_64_shared_cache_size_half): Likewise.
16711 (__x86_64_raw_shared_cache_size_half): Likewise.
16712 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
16713 to ...
16714 (__x86_data_cache_size): This.
16715 (__x86_64_raw_data_cache_size): Renamed to ...
16716 (__x86_raw_data_cache_size): This.
16717 (__x86_64_data_cache_size_half): Renamed to ...
16718 (__x86_data_cache_size_half): This.
16719 (__x86_64_raw_data_cache_size_half): Renamed to ...
16720 (__x86_raw_data_cache_size_half): This.
16721 (__x86_64_shared_cache_size): Renamed to ...
16722 (__x86_shared_cache_size): This.
16723 (__x86_64_raw_shared_cache_size): Renamed to ...
16724 (__x86_raw_shared_cache_size): This.
16725 (__x86_64_shared_cache_size_half): Renamed to ...
16726 (__x86_shared_cache_size_half): This.
16727 (__x86_64_raw_shared_cache_size_half): Renamed to ...
16728 (__x86_raw_shared_cache_size_half): This.
16729 * sysdeps/x86_64/memcpy.S: Updated.
16730 * sysdeps/x86_64/memset.S: Likewise.
16731 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16732 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16733 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16734
0b3986d0
DM
167352013-01-04 David S. Miller <davem@davemloft.net>
16736
16737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16738
e47686e9
AS
167392013-01-04 Andreas Schwab <schwab@linux-m68k.org>
16740
d643bac1
AS
16741 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
16742 1 to avoid redefinition warning.
16743 (__USE_GNU): Don't define.
16744 (init_signaling_nan): Protoize.
16745
e47686e9
AS
16746 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16747
b18decba
SP
167482013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16749
fffb407f
SP
16750 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
16751 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
16752 (__cpymn): Likewise.
16753 (norm): Remove commented code.
16754 (denorm): Likewise.
16755 (__mp_dbl): Likewise.
16756 (__inv): Likewise.
16757 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
16758 (__cpymn): Likewise.
16759 (norm): Remove commented code.
16760 (denorm): Likewise.
16761 (__mp_dbl): Likewise.
16762 (__inv): Likewise.
16763
b18decba
SP
16764 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
16765 mp_no value for 1.0 and 2.0.
16766 (norm): Use RADIXI instead of radixi.d.
16767 (denorm): Likewise.
16768 (__mul): Use 0.0 instead of zero.d.
16769 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
16770 mp_no value for 1.0 and 2.0.
16771 (norm): Use RADIXI instead of radixi.d.
16772 (denorm): Likewise.
16773 (__mul): Use 0.0 instead of zero.d.
16774
cdc1c96f
JM
167752013-01-04 Joseph Myers <joseph@codesourcery.com>
16776
16777 [BZ #14994]
16778 * math/s_casinh.c (__casinh): Reduce finite argument to first
16779 quadrant then set signs of results at the end.
16780 * math/s_casinhf.c (__casinhf): Likewise.
16781 * math/s_casinhl.c (__casinhl): Likewise.
16782 * math/libm-test.inc (casin_test): Add more tests.
16783 (casinh_test): Likewise.
16784 * sysdeps/i386/fpu/libm-test-ulps: Update.
16785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16786
302913e1
SP
167872013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16788
6420d207
SP
16789 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
16790
a9e48ab4
SP
16791 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
16792
b7837264
SP
16793 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
16794 declarations.
16795 (denorm): Likewise.
16796 (__mp_dbl): Likewise.
16797 (__inv): Likewise.
16798
f8af25d2
SP
16799 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
16800 and adjust the header comment.
16801
302913e1
SP
16802 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
16803 variable name from declaration.
16804
5d7dd1ca
L
168052013-01-03 H.J. Lu <hongjiu.lu@intel.com>
16806
16807 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16808 Initialize COMMON_CPUID_INDEX_7 element.
16809 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
16810 (CPUID_RTM): Likewise.
16811 (HAS_RTM): Likewise.
16812 (COMMON_CPUID_INDEX_7): New enum.
16813
2f5f40f4
AS
168142013-01-03 Andreas Schwab <schwab@linux-m68k.org>
16815
16816 [BZ #14981]
16817 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
16818 size is zero, record memory as freed.
16819
4056f4a0
AJ
168202013-01-03 Andreas Jaeger <aj@suse.de>
16821
16822 * po/ia.po: Add new Interlingua translation.
16823
ab15736f 168242012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
16825
16826 * locale/programs/localedef.c: Fix description of '--posix' flag.
16827
568035b7
JM
168282013-01-02 Joseph Myers <joseph@codesourcery.com>
16829
e6898b8d
JM
16830 * NEWS: Update dates in second copyright notice.
16831 * README: Update copyright dates in example.
16832 * manual/libc.texinfo: Update copyright dates.
16833 * scripts/test-installation.pl: Update copyright date in --version
16834 output.
16835
0e2f9562
JM
16836 * hurd/ctty-input.c: Fix copyright notice formatting.
16837 * hurd/ctty-output.c: Likewise.
16838 * hurd/dtable.c: Likewise.
16839 * hurd/hurd-raise.c: Likewise.
16840 * hurd/hurdprio.c: Likewise.
16841 * hurd/msgportdemux.c: Likewise.
16842 * misc/sys/file.h: Likewise.
16843 * misc/sys/ioctl.h: Likewise.
16844 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16845 * sysdeps/mach/hurd/chdir.c: Likewise.
16846 * sysdeps/mach/hurd/fchdir.c: Likewise.
16847 * sysdeps/mach/hurd/rename.c: Likewise.
16848 * sysdeps/mach/hurd/rmdir.c: Likewise.
16849 * sysdeps/mach/hurd/seekdir.c: Likewise.
16850 * sysdeps/mach/hurd/setsid.c: Likewise.
16851 * sysdeps/posix/wait3.c: Likewise.
16852
568035b7
JM
16853 * All files with FSF copyright notices: Update copyright dates
16854 using scripts/update-copyrights.
16855 * intl/plural.c: Regenerated.
16856 * locale/programs/charmap-kw.h: Likewise.
16857 * locale/programs/locfile-kw.h: Likewise.
16858
da08f647
SP
168592013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16860
0f5477af
SP
16861 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
16862 four values.
16863
44e0d4c2
SP
16864 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
16865 calculation loop and add branch prediction.
16866
4d55b4e5
SP
16867 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
16868 check access beyond bounds of m1np.
16869
da08f647
SP
16870 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16871 MPTWO.
16872 (__inv): Remove local variable MPTWO to use the global
16873 constant.
16874 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
16875 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16876 variable MPTWO.
16877 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
16878 MP3HALFS static const.
16879
8e051029
DM
168802013-01-01 David S. Miller <davem@davemloft.net>
16881
16882 * po/ca.po: Update from translation team.
16883
f4cf5f2d
JM
168842013-01-01 Joseph Myers <joseph@codesourcery.com>
16885
16886 * scripts/update-copyrights: New file.
16887 * Makeconfig: Reformat copyright notice.
16888 * ctype/ctype.h: Likewise.
16889 * debug/swprintf_chk.c: Likewise.
16890 * elf/dl-cache.c: Likewise.
16891 * elf/dl-debug.c: Likewise.
16892 * elf/dl-object.c: Likewise.
16893 * grp/initgroups.c: Likewise.
16894 * hurd/Makefile: Likewise.
16895 * hurd/hurd/signal.h: Likewise.
16896 * hurd/hurdfault.c: Likewise.
16897 * hurd/hurdioctl.c: Likewise.
16898 * hurd/hurdlookup.c: Likewise.
16899 * hurd/intr-msg.c: Likewise.
16900 * iconv/gconv_open.c: Likewise.
16901 * libio/swprintf.c: Likewise.
16902 * locale/lc-ctype.c: Likewise.
16903 * locale/nl_langinfo.c: Likewise.
16904 * mach/Machrules: Likewise.
16905 * mach/Makefile: Likewise.
16906 * malloc/obstack.h: Likewise.
16907 * manual/Makefile: Likewise.
16908 * manual/tsort.awk: Likewise.
16909 * misc/bits/stab.def: Likewise.
16910 * nis/nis_print_group_entry.c: Likewise.
16911 * nis/nis_table.c: Likewise.
16912 * nis/nss_compat/compat-pwd.c: Likewise.
16913 * nis/nss_compat/compat-spwd.c: Likewise.
16914 * po/Makefile: Likewise.
16915 * posix/fnmatch.c: Likewise.
16916 * posix/regex.h: Likewise.
16917 * resolv/Makefile: Likewise.
16918 * resolv/nss_dns/dns-network.c: Likewise.
16919 * resolv/res_hconf.c: Likewise.
16920 * scripts/gen-sorted.awk: Likewise.
16921 * soft-fp/soft-fp.h: Likewise.
16922 * stdio-common/printf.h: Likewise.
16923 * stdlib/monetary.h: Likewise.
16924 * stdlib/random.c: Likewise.
16925 * stdlib/random_r.c: Likewise.
16926 * sysdeps/generic/Makefile: Likewise.
16927 * sysdeps/gnu/Makefile: Likewise.
16928 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16929 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16930 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16931 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16932 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16933 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16934 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16935 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16936 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16937 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16938 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16939 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16940 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16941 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16942 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16943 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16944 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16945 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16946 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16947 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16948 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16949 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16950 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16951 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16952 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
16953 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16954 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16955 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
16956 * sysdeps/mach/hurd/errnos.awk: Likewise.
16957 * sysdeps/mach/hurd/fork.c: Likewise.
16958 * sysdeps/mach/hurd/getcwd.c: Likewise.
16959 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
16960 * sysdeps/mach/hurd/mmap.c: Likewise.
16961 * sysdeps/mach/hurd/utimes.c: Likewise.
16962 * sysdeps/mach/hurd/xmknod.c: Likewise.
16963 * sysdeps/posix/profil.c: Likewise.
16964 * sysdeps/posix/readdir_r.c: Likewise.
16965 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16966 * sysdeps/powerpc/bits/setjmp.h: Likewise.
16967 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
16968 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16969 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16970 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16971 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16972 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16973 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16974 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16975 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16976 * sysdeps/pthread/lio_listio.c: Likewise.
16977 * sysdeps/sparc/dl-procinfo.h: Likewise.
16978 * sysdeps/unix/i386/sysdep.S: Likewise.
16979 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
16980 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
16981 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
16982 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
16983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16984 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16985 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16986 * sysdeps/unix/sysv/linux/speed.c: Likewise.
16987 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16988 * sysdeps/wordsize-32/divdi3.c: Likewise.
16989 * time/sys/time.h: Likewise.
16990 * wcsmbs/Makefile: Likewise.
16991
0549fbba
DM
169922013-01-01 David S. Miller <davem@davemloft.net>
16993
a141f1a7
DM
16994 * po/fr.po: Update from translation team.
16995
0549fbba
DM
16996 * catgets/gencat.c: Update copyright year.
16997 * csu/version.c: Likewise.
16998 * debug/catchsegv.sh: Likewise.
16999 * debug/pcprofiledump.c: Likewise.
17000 * debug/xtrace.sh: Likewise.
17001 * elf/ldconfig.c: Likewise.
17002 * elf/ldd.bash.in: Likewise.
17003 * elf/pldd.c: Likewise.
17004 * elf/sotruss.ksh: Likewise.
17005 * elf/sprof.c: Likewise.
17006 * iconv/iconv_prog.c: Likewise.
17007 * iconv/iconvconfig.c: Likewise.
17008 * locale/programs/locale.c: Likewise.
17009 * locale/programs/localedef.c: Likewise.
17010 * login/programs/pt_chown.c: Likewise.
17011 * malloc/memusage.sh: Likewise.
17012 * malloc/memusagestat.c: Likewise.
17013 * malloc/mtrace.pl: Likewise.
17014 * nscd/nscd.c: Likewise.
17015 * nss/getent.c: Likewise.
17016 * nss/makedb.c: Likewise.
17017 * posix/getconf.c: Likewise.
17018
18ea052c
SP
170192012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17020
17021 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
17022 numbers.
17023
9c89fca6
MF
170242012-12-30 Mike Frysinger <vapier@gentoo.org>
17025
17026 * math/bits/mathcalls.h (modf): Use __nonnull.
17027
085ec079
SP
170282012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17029
17030 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
17031 (split): Use macro CN instead of the bare value.
17032 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
17033 could be used.
17034 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
17035 instead of the bare value.
17036 (power1): Likewise.
17037
6d9f97e1
SP
170382012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17039
d63f73be
SP
17040 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
17041 __ATAN_TWOM.
17042 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17043
6d9f97e1
SP
17044 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
17045 their values.
17046 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
17047 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17048 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
17049 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
17050
4c4febf5
AJ
170512012-12-28 Andreas Jaeger <aj@suse.de>
17052
af5843ef
AJ
17053 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
17054 values are from Linux 3.7.
17055
4c4febf5
AJ
17056 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
17057 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
17058
99136f82
SP
170592012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17060
2f216c3c 17061 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
17062 TRUE case.
17063
99136f82
SP
17064 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
17065 (norm): Likewise.
17066 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
17067 variables with preprocessor constants.
17068 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17069 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17070 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17071
7fffbdff
BH
170722012-12-27 Bruno Haible <bruno@clisp.org>
17073
17074 [BZ #14317]
17075 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
17076 only if needed.
17077
b76eb5f0
SP
170782012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17079
31a7fe5c
SP
17080 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
17081 and use variable directly.
17082 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
17083
b76eb5f0
SP
17084 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
17085 MPONE.
17086 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
17087 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
17088 variable MPONE.
17089 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17090 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17091 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
17092 include directive. Remove local variable MPONE.
17093 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
17094 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
17095 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17096
2c8bfe7d
DM
170972012-12-25 David S. Miller <davem@davemloft.net>
17098
17099 * version.h (RELEASE): Set to "development".
17100 (VERSION): Set to "2.17.90".
17101 * NEWS: Add 2.18 section.
17102
147d03b0
DM
171032012-12-21 David S. Miller <davem@davemloft.net>
17104
17105 * po/hr.po: Update from translation team.
17106
a8ebb2b9
AK
171072012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17108
17109 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
17110
95b4f1b6
SE
171112012-12-19 Steve Ellcey <sellcey@mips.com>
17112
b2d94007 17113 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 17114
cedb2a90
MS
171152012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17116
17117 * manual/contrib.texi (Contributors): Spelling correction.
17118
bbf527d6
DM
171192012-12-15 David S. Miller <davem@davemloft.net>
17120
17121 * po/ru.po: Update from translation team.
17122
bc38c906
DM
171232012-12-13 David S. Miller <davem@davemloft.net>
17124
85429b1a
DM
17125 * NEWS: Mention IFUNC testsuite enhancements.
17126
d283e353
DM
17127 * po/pl.po: Update from translation team.
17128 * po/bg.po: Likewise.
17129
bc38c906
DM
17130 * manual/contrib.texi (Contributors): Update entries for Hongjiu
17131 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
17132
a181b0d7
DM
171332012-12-11 David S. Miller <davem@davemloft.net>
17134
4641d57e
DM
17135 * po/sv.po: Update from translation team.
17136
f7bc6495
DM
17137 * po/vi.po: Update from translation team.
17138
6fc9048f
DM
17139 * po/cs.po: Update from translation team.
17140
a181b0d7
DM
17141 * po/de.po: Update from translation team.
17142 * po/eo.po: Likewise.
17143 * po/nl.po: Likewise.
17144
f70bfe80
SP
171452012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17146
3c8b4190
SP
17147 [BZ #14246]
17148 * manual/argp.texi (Argp Helper Functions): Move node to follow
17149 Argp Parsing State.
17150
f70bfe80
SP
17151 [BZ #14872]
17152 * manual/conf.texi (Limits on File System Capacity): Mention if
17153 terminating null is included in the max size.
17154
188f0adf
AJ
171552012-12-10 Andreas Jaeger <aj@suse.de>
17156
17157 * po/cs.po: Update from translation team.
17158
56e7d3ad
SP
171592012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17160
17161 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
17162 void pointer and cast to uintptr_t.
17163 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
17164 path.
17165 * sysdeps/s390/s390-64/memcpy.S: Likewise.
17166 * sysdeps/s390/s390-64/memset.S: Likewise.
17167
76f2d2ea 171682012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
17169
17170 [BZ #14833]
17171 * menual/message.texi (Message Translation): Fix typos.
17172 (Helper programs for gettext): Likewise.
17173
67cbf9a2
AS
171742012-12-07 Andreas Schwab <schwab@linux-m68k.org>
17175
17176 [BZ #14898]
17177 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
17178 Change to -1.
17179
682d0e9a
DM
171802012-12-07 David S. Miller <davem@davemloft.net>
17181
17182 * po/libc.pot: Update.
17183
573cd484
RH
171842012-12-07 Richard Henderson <rth@redhat.com>
17185
7e9da188 17186 [BZ #10114]
573cd484
RH
17187 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
17188 normal/normal case to before the switch.
17189 (_FP_DIV): Likewise.
17190
e933a943
MF
171912012-12-06 Carlos O'Donell <carlos@systemhalted.org>
17192 Mike Frysinger <vapier@gentoo.org>
17193
17194 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
17195 check for __NR_fadvise64_64.
17196
82123268
CM
171972012-12-06 Chris Metcalf <cmetcalf@tilera.com>
17198
17199 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
17200 0, not just to plain "0" as a statement.
17201 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
17202 with cw.
17203
d9814526
JM
172042012-12-06 Joseph Myers <joseph@codesourcery.com>
17205
17206 * NEWS: Use sourceware.org in Bugzilla URL.
17207
7728c574
SP
172082012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17209
f16946dd
SP
17210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17211 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
17212
5704bbcb
SP
17213 * stdio-common/tst-put-error.c (do_test): Add newline to the
17214 padded test to ensure flush.
17215
17aa0516
JL
172162012-12-05 Jeff Law <law@redhat.com>
17217
17218 * sunrpc/etc.rpc (fedfs_admin): Add entry.
17219
363313b5
JM
172202012-12-05 Joseph Myers <joseph@codesourcery.com>
17221
effbd42a
JM
17222 * README: Don't refer to ports add-on as distributed separately.
17223 Mention AArch64 in list of systems supported in the ports add-on.
17224
87600365
JM
17225 * LICENSES: Add more non-FSF copyright and license notices.
17226
a0d7066a
JM
17227 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
17228 ((unused)).
17229
66ca5a5b
JM
17230 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
17231
363313b5
JM
17232 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
17233 10000 as width of padded output.
17234
b37984ad
JM
172352012-12-04 Joseph Myers <joseph@codesourcery.com>
17236
9003570a
JM
17237 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
17238
b37984ad
JM
17239 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
17240 variable LX with __attribute__ ((unused)).
17241 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17242 Likewise.
17243 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17244 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17245 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
17246 with __attribute__ ((unused)).
17247
c8df52ec
DM
172482012-12-04 David S. Miller <davem@abraco.davemloft.net>
17249
17250 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
17251
b3b099af
JM
172522012-12-04 Joseph Myers <joseph@codesourcery.com>
17253
c33aa6e3
JM
17254 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
17255 (CFLAGS-nldbl-acos.c): New variable.
17256 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
17257 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
17258 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
17259 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
17260 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
17261 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
17262 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
17263 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
17264 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
17265 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
17266 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
17267 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
17268 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
17269 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
17270 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
17271 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
17272 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
17273 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
17274 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
17275 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
17276 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
17277 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
17278 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
17279 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
17280 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
17281 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
17282 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
17283 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
17284 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
17285 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
17286 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
17287 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
17288 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
17289 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
17290 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
17291 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
17292 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
17293 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
17294 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
17295 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
17296 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
17297 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
17298 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
17299 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
17300 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
17301 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
17302 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
17303 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
17304 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
17305 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
17306 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
17307 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
17308 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
17309 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
17310 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
17311 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
17312 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
17313 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
17314 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
17315 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
17316 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
17317 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
17318 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
17319 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
17320 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
17321 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
17322 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
17323 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
17324 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
17325 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
17326 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
17327 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
17328 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
17329 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
17330 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
17331 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
17332 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
17333 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
17334 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
17335 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
17336 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
17337 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
17338 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
17339 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
17340 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
17341 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
17342 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
17343 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
17344 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
17345 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
17346 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
17347 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
17348 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
17349 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
17350 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
17351 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
17352 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
17353
20f0018d
JM
17354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17355 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
17356
b3b099af
JM
17357 [BZ #14914]
17358 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
17359 whole low double instead of just low 47 bits when splitting values
17360 into two parts.
17361
029264d1
AM
173622012-12-03 Allan McRae <allan@archlinux.org>
17363
17364 * manual/stdio.texi (Predefined Printf Handlers): Remove
17365 @hsep and @vsep usage.
17366
c9d6789e
MF
173672012-12-03 Mike Frysinger <vapier@gentoo.org>
17368
17369 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
17370 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
17371
4b7634a5
JL
173722012-12-03 Jeff Law <law@redhat.com>
17373
17374 * time/sys/time.h (settimeofday): Do not mark TV argument
17375 as __nonnull.
17376
eb6cbd24
MF
173772012-12-01 Mike Frysinger <vapier@gentoo.org>
17378
17379 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
17380 when currently writing and seek to current position when not.
17381 * libio/Makefile (tests): Remove bug-fclose1.
17382 * libio/bug-fclose1.c: Delete.
17383
f638872a
JM
173842012-12-01 Joseph Myers <joseph@codesourcery.com>
17385
17386 * manual/arith.texi (feenableexcept): Fix typo.
17387 (fedisableexcept): Likewise.
17388
48085d14
RM
173892012-11-30 Roland McGrath <roland@hack.frob.com>
17390
17391 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
17392 second, differently-typed declaration, rather than a cast.
17393
1a538b9f
SP
173942012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17395
17396 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
17397 * include/rpc/svc.h: ... here.
17398
d07f2ff1 173992012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
17400
17401 [BZ #13013]
17402 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
17403 depending n and resplen2 to catch cases where answer
17404 equals answerp2.
17405
c93ec1f0
CD
174062012-11-29 Carlos O'Donell <carlos@systemhalted.org>
17407
17408 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
17409 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
17410
37db69de
MF
174112012-11-29 Mike Frysinger <vapier@gentoo.org>
17412
17413 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
17414
e10c4e4f
RM
174152012-11-29 Roland McGrath <roland@hack.frob.com>
17416
17417 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
17418
2af1b328
JL
174192012-11-28 Jeff Law <law@redhat.com>
17420
17421 [BZ #13761]
17422 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
17423 dataset_temporary. Track alloca usage into alloca_used.
17424 If dataset is large allocate and release it via malloc/free.
17425
111db5b1
FW
174262012-06-04 Florian Weimer <fweimer@redhat.com>
17427
f06cc227 17428 [BZ #14197]
111db5b1
FW
17429 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
17430
dd694abd
DM
174312012-11-28 David S. Miller <davem@davemloft.net>
17432
17433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17434
9984dd01
JM
174352012-11-28 Joseph Myers <joseph@codesourcery.com>
17436
17437 [BZ #14803]
17438 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
17439 of pi/2 rounded to nearest to 64 bits.
17440 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
17441 nearest to 64 bits.
17442 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
17443 bits.
17444
14bc93a9
JL
174452012-11-28 Jeff Law <law@redhat.com>
17446 Martin Osvald <mosvald@redhat.com>
17447
17448 [BZ #14889]
17449 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
17450 * sunrpc/svc.c: Include time.h.
17451 (__svc_accept_failed): New function.
17452 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
17453 any reason other than EINTR, call __svc_accept_failed.
17454 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
17455 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
17456
e3c6aa3a
AS
174572012-11-28 Andreas Schwab <schwab@suse.de>
17458
17459 * scripts/abilist.awk: Also handle indirect functions in .opd
17460 section.
17461
1bead169
JM
174622012-11-28 Joseph Myers <joseph@codesourcery.com>
17463
17464 [BZ #13881]
17465 * sysdeps/x86/fpu/powl_helper.c: New file.
17466 * sysdeps/x86/fpu/Makefile: Likewise.
17467 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
17468 (p3): New object.
17469 (__ieee754_powl): Use __powl_helper for finite arguments except
17470 integer exponents below 8.
17471 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
17472 (p3): New object.
17473 (__ieee754_powl): Use __powl_helper for finite arguments except
17474 integer exponents below 8.
17475 * math/libm-test.inc (pow_test): Add more tests and enable some
17476 previously disabled tests.
17477 * sysdeps/i386/fpu/libm-test-ulps: Update.
17478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17479
0817d63d
SP
174802012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17481 Carlos O'Donell <carlos_odonell@mentor.com>
17482
17483 * nss/makedb.c (is_prime): Assert that input is odd and greater
17484 than 4. Note that fact in a comment too.
17485 (next_prime): Add 4 to input.
17486
de2fd463
SP
174872012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17488
17489 [BZ #11741]
17490 * libio/Makefile (tests): Add test case tst-fwrite-error.
17491 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
17492 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
17493 * libio/tst-fwrite-error.c: New test case.
17494
c515fb51
L
174952012-11-26 H.J. Lu <hongjiu.lu@intel.com>
17496
17497 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
17498 before casting to void *.
17499 * include/libc-internal.h (__pointer_type): New macro.
17500 (__integer_if_pointer_type_sub): Likewise.
17501 (__integer_if_pointer_type): Likewise.
17502 (cast_to_integer): Likewise.
17503 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
17504 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
17505 before casting to atomic64_t.
17506 (atomic_exchange_acq): Likewise.
17507 (__arch_exchange_and_add_body): Likewise.
17508 (__arch_add_body): Likewise.
17509 (atomic_add_negative): Likewise.
17510 (atomic_add_zero): Likewise.
17511
4cf77aa9
JM
175122012-11-26 Joseph Myers <joseph@codesourcery.com>
17513
17514 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
17515 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
17516 (add_fdes): Likewise.
17517 (linear_search_fdes): Likewise.
17518 (binary_search_unencoded_fdes): Likewise.
17519
d260b3b4
AS
175202012-11-26 Andreas Schwab <schwab@linux-m68k.org>
17521
17522 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
17523
67060746
AC
175242012-11-24 Adam Conrad <adconrad@0c3.net>
17525
17526 * configure.in: Autodetect C++ header directories.
17527 * configure: Regenerated.
17528
800938a1
MF
175292012-11-23 Mike Frysinger <vapier@gentoo.org>
17530
17531 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
17532
4e6e34e6
AS
175332012-11-23 Andreas Schwab <schwab@linux-m68k.org>
17534
17535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17536
7c7feb47
JM
175372012-11-22 Joseph Myers <joseph@codesourcery.com>
17538
7184dcdf
JM
17539 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
17540 LDBL_MANT_DIG == 106]: Disable some tests.
17541 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17542 Likewise.
17543 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17544 Likewise.
17545
0a42601f
JM
17546 [BZ #14871]
17547 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
17548 input for small inputs. Return +/- pi/2 for large inputs.
17549 * math/libm-test.inc (atan_test): Add more tests.
17550
79c9b9fe
JM
17551 * sysdeps/generic/unwind-dw2-fde-glibc.c
17552 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
17553 __attribute__ ((unused)).
17554
c60d3bf2
JM
17555 [BZ #14645]
17556 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
17557 x * y if x and y are nonzero and z is zero.
17558
ef1e0867
JM
17559 [BZ #14811]
17560 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
17561 nonzero exponents with absolute value below 0x1p-117 to +/-
17562 0x1p-117.
17563
1468ded3
JM
17564 [BZ #14869]
17565 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
17566 up arguments below 2**-450, not just those below 2**-500.
17567 * math/libm-test.inc (hypot_test): Add another test.
17568
8e27e3cc
JM
17569 [BZ #14868]
17570 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
17571 Return a+b for ratio over 2**120, not 2**60.
17572 * math/libm-test.inc (hypot_test): Add another test.
17573
c9c0279b
JM
17574 * math/libm-test.inc (clog_test): Use
17575 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
17576 (clog10_test): Likewise.
17577
7c7feb47
JM
17578 [BZ #6778]
17579 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
17580
fff1530e
AS
175812012-11-22 Andreas Schwab <schwab@suse.de>
17582
17583 * sysdeps/i386/fpu/libm-test-ulps: Update.
17584
94558d30
PT
175852012-11-22 Pino Toscano <toscano.pino@tiscali.it>
17586
17587 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
17588 printf output with newline.
17589
7e1be741
L
175902012-11-21 H.J. Lu <hongjiu.lu@intel.com>
17591
6bfea974
L
17592 [BZ #14865]
17593 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
17594 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
17595 -z nodlopen, -z initfirst and -z execstack support.
17596 * configure: Regenerated.
17597
7e1be741
L
17598 * elf/elf.h (DF_1_NODIRECT): New macro.
17599 (DF_1_IGNMULDEF): Likewise.
17600 (DF_1_NOKSYMS): Likewise.
17601 (DF_1_NOHDR): Likewise.
17602 (DF_1_EDITED): Likewise.
17603 (DF_1_NORELOC): Likewise.
17604 (DF_1_SYMINTPOSE): Likewise.
17605 (DF_1_GLOBAUDIT): Likewise.
17606 (DF_1_SINGLETON): Likewise.
17607 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
17608 DT_1_SUPPORTED_MASK bits.
17609 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
17610
105ce2ce
CD
176112012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
17612
17613 * sysdeps/unix/make-syscalls.sh: Document prefixes.
17614
123be9de
TS
176152012-11-20 Thomas Schwinge <thomas@codesourcery.com>
17616
d072f3f7
TS
17617 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
17618 macro.
17619
123be9de
TS
17620 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
17621 (sendmmsg): Move declarations...
17622 * socket/sys/socket.h: ... here.
17623 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
17624 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
17625 include it from...
17626 * socket/recvmmsg.c: ... this new file.
17627 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
17628 (sendmmsg): Rename to __sendmmsg, create weak alias and make
17629 definition of __sendmmsg hidden.
17630 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17631 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
17632 Move ENOSYS stub into and include it from...
17633 * socket/sendmmsg.c: ... this new file.
17634 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
17635 (sysdep_routines): Move recvmmsg and sendmmsg...
17636 * socket/Makefile (routines): ... here.
17637 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
17638 (GLIBC_PRIVATE): Add __sendmmsg.
17639 * include/sys/socket.h (__sendmmsg): Add declarations.
17640 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
17641 sendmmsg.
17642
cf9a5d18
JM
176432012-11-20 Joseph Myers <joseph@codesourcery.com>
17644
17645 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
17646 variable I1 with __attribute__ ((unused)).
17647 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17648
ecd4caf9
JM
176492012-11-19 Joseph Myers <joseph@codesourcery.com>
17650
be14d48f
JM
17651 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
17652 DUMMY variables with __attribute__ ((unused)).
17653
ecd4caf9
JM
17654 * bits/byteswap.h: Include <bits/types.h>.
17655 (__bswap_64): Use __uint64_t instead of unsigned long long int.
17656
986cab95
PT
176572012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17658
17659 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
17660 string_t. Do not manually set errno.
17661 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
17662 length with __strnlen. Make sure to both set errno and return it on
17663 failure.
17664
6d33cc9d
DM
176652012-11-19 David S. Miller <davem@davemloft.net>
17666
17667 With help from Joseph Myers.
17668 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
17669 very large arguments properly.
17670 * math/libm-test.inc (atan_test): New tests.
17671 (atan2_test): New tests.
17672 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17673 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17674
ee663277
JM
176752012-11-19 Joseph Myers <joseph@codesourcery.com>
17676
877f2d8e
JM
17677 [BZ #14856]
17678 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
17679 Define to 3.
17680
116fc08a
JM
17681 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
17682 [POSIX] (EADDRNOTAVAIL): Likewise.
17683 [POSIX] (EAFNOSUPPORT): Likewise.
17684 [POSIX] (EALREADY): Likewise.
17685 [POSIX] (ECONNABORTED): Likewise.
17686 [POSIX] (ECONNREFUSED): Likewise.
17687 [POSIX] (ECONNRESET): Likewise.
17688 [POSIX] (EDESTADDRREQ): Likewise.
17689 [POSIX] (EDQUOT): Likewise.
17690 [POSIX] (EHOSTUNREACH): Likewise.
17691 [POSIX] (EIDRM): Likewise.
17692 [POSIX] (EISCONN): Likewise.
17693 [POSIX] (ELOOP): Likewise.
17694 [POSIX] (EMULTIHOP): Likewise.
17695 [POSIX] (ENETDOWN): Likewise.
17696 [POSIX] (ENETUNREACH): Likewise.
17697 [POSIX] (ENOBUFS): Likewise.
17698 [POSIX] (ENODATA): Likewise.
17699 [POSIX] (ENOLINK): Likewise.
17700 [POSIX] (ENOMSG): Likewise.
17701 [POSIX] (ENOPROTOOPT): Likewise.
17702 [POSIX] (ENOSR): Likewise.
17703 [POSIX] (ENOSTR): Likewise.
17704 [POSIX] (ENOTCONN): Likewise.
17705 [POSIX] (ENOTSOCK): Likewise.
17706 [POSIX] (EOPNOTSUPP): Likewise.
17707 [POSIX] (EOVERFLOW): Likewise.
17708 [POSIX] (EPROTO): Likewise.
17709 [POSIX] (EPROTONOSUPPORT): Likewise.
17710 [POSIX] (EPROTOTYPE): Likewise.
17711 [POSIX] (ESTALE): Likewise.
17712 [POSIX] (ETIME): Likewise.
17713 [POSIX] (ETXTBSY): Likewise.
17714 [POSIX] (EWOULDBLOCK): Likewise.
17715 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
17716 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
17717 [POSIX] (SEEK_CUR): Likewise.
17718 [POSIX] (SEEK_END): Likewise.
17719 [POSIX || UNIX98] (mode_t): Do not require.
17720 [POSIX] (off_t): Likewise.
17721 [POSIX] (pid_t): Likewise.
17722 [POSIX] (sys/stat.h): Do not allow header.
17723 [POSIX] (unistd.h): Likewise.
17724 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
17725 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
17726 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
17727 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
17728 require.
17729 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
17730 sigevent): Specify elements.
17731 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
17732 entry.
17733 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
17734 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
17735
a483863f
JM
17736 * conform/data/cpio.h-data [POSIX]: Disable whole file.
17737 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
17738 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
17739 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
17740 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
17741 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
17742 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
17743 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
17744 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
17745 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
17746 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
17747 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
17748 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
17749 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
17750 Likewise.
17751 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
17752 Likewise.
17753 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
17754 Likewise.
17755 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
17756 Likewise.
17757 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
17758 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
17759 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
17760 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
17761 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
17762 Specify lower bound on value.
17763 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
17764 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
17765 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
17766 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
17767 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
17768 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
17769 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
17770 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
17771 value.
17772 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
17773 as optional.
17774 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
17775 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
17776 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
17777 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
17778 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
17779 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
17780 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
17781 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
17782 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
17783 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
17784 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
17785 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
17786 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
17787 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
17788 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
17789 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
17790 entry.
17791 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
17792 optional.
17793 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
17794 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
17795 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
17796 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
17797 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
17798 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
17799 Likewise.
17800 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
17801 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
17802 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
17803 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
17804 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
17805 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
17806 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
17807 as optional.
17808 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
17809 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
17810 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
17811 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
17812 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
17813 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
17814 specify as optional.
17815 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
17816 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
17817 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
17818 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
17819 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
17820 [XPG3] (NL_LANGMAX): Likewise.
17821 [POSIX || XPG3] (NL_MSGMAX): Likewise.
17822 [POSIX || XPG3] (NL_NMAX): Likewise.
17823 [POSIX || XPG3] (NL_SETMAX): Likewise.
17824 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
17825 [XPG3] (NZERO): Likewise.
17826 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
17827 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
17828 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
17829 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
17830 (REG_ERANGE): Expect.
17831 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
17832 optional-constant.
17833 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
17834 Use (void) in prototype.
17835 [POSIX] (*_t): Allow.
17836 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
17837 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
17838 (WRDE_BADVAL): Expect.
17839
5ba924e3
JM
17840 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
17841 expect.
17842 [XPG3 || XPG4] (O_RSYNC): Likewise.
17843 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
17844 Likewise.
17845 [XPG3 || XPG4] (pthread_sigmask): Likewise.
17846 [XPG3 || XPG4] (sigqueue): Likewise.
17847 [XPG3 || XPG4] (sigtimedwait): Likewise.
17848 [XPG3 || XPG4] (sigwaitinfo): Likewise.
17849 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
17850 [XPG3 || XPG4] (vsnprintf): Likewise.
17851 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
17852 Likewise.
17853 [XPG3 || XPG4] (blksize_t): Likewise.
17854 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
17855 Likewise.
17856 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
17857 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17858 [XPG3 || XPG4] (struct itimerspec): Likewise.
17859 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
17860 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
17861 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
17862 [XPG3 || XPG4] (clockid_t): Likewise.
17863 [XPG3 || XPG4] (timer_t): Likewise.
17864 [XPG3 || XPG4] (clock_getres): Likewise.
17865 [XPG3 || XPG4] (clock_gettime): Likewise.
17866 [XPG3 || XPG4] (clock_settime): Likewise.
17867 [XPG3 || XPG4] (nanosleep): Likewise.
17868 [XPG3 || XPG4] (timer_create): Likewise.
17869 [XPG3 || XPG4] (timer_delete): Likewise.
17870 [XPG3 || XPG4] (timer_gettime): Likewise.
17871 [XPG3 || XPG4] (timer_getoverrun): Likewise.
17872 [XPG3 || XPG4] (timer_settime): Likewise.
17873 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
17874 [XPG3 || XPG4] (getlogin_r): Likewise.
17875 [XPG3 || XPG4] (pread): Likewise.
17876 [XPG3 || XPG4] (pthread_atfork): Likewise.
17877 [XPG3 || XPG4] (pwrite): Likewise.
17878
ee663277
JM
17879 [BZ #14835]
17880 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
17881 <bits/siginfo.h>.
17882
942caa16
PT
178832012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17884
e19af380
PT
17885 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
17886 finalizing MALLSTREAM.
17887
942caa16
PT
17888 * sysdeps/mach/hurd/syncfs.c: New file.
17889
cfde9b46
SP
178902012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17891
17892 [BZ #14719]
17893 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
17894 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
17895 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
17896 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
17897 (_nss_dns_gethostbyname4_r): Likewise.
17898 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
17899 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
17900
f6da27e5
PH
179012012-11-19 Peng Haitao <penght@cn.fujitsu.com>
17902
17903 [BZ #13763]
17904 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
17905
6665d4a2
SM
179062012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
17907
1f51ee92
SM
17908 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
17909 * elf/cache.c (print_entry): Print ",AArch64" for
17910 FLAG_AARCH64_LIB64
17911
6665d4a2
SM
17912 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
17913 * elf/cache.c (print_entry): Print ",hard-float" for
17914 FLAG_ARM_LIBHF.
17915
05b227bd
DM
179162012-11-18 David S. Miller <davem@davemloft.net>
17917
17918 With help from Joseph Myers.
17919 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
17920 cutoff to 2**-13.
17921 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
17922 cutoff to 2**-25.
17923 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
17924 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
17925 small.
17926 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
17927 * math/libm-test.inc (y0_test): New tests.
17928 (y1_test): New tests.
17929 * sysdeps/i386/fpu/libm-test-ulps: Update.
17930 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17931 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17932
786b0b67
AS
179332012-11-18 Andreas Schwab <schwab@linux-m68k.org>
17934
17935 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
17936 64-bit targets.
17937 * configure: Regenerated.
17938
8e18b86d
DM
179392012-11-17 David S. Miller <davem@davemloft.net>
17940
17941 [BZ #14811]
17942 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
17943 nonzero exponents with absolute value below 0x1p-128 to +/-
17944 0x1p-128.
17945
531f1ae0
JM
179462012-11-17 Joseph Myers <joseph@codesourcery.com>
17947
12df29e2
JM
17948 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
17949
150dc1a0
JM
17950 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
17951
531f1ae0
JM
17952 * posix/getconf-speclist.c: New file.
17953 * posix/posix-envs.def: Likewise.
17954 * posix/confstr.c (START_ENV_GROUP): New macro.
17955 (END_ENV_GROUP): Likewise.
17956 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17957 (KNOWN_PRESENT_ENV_STRING): Likewise.
17958 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17959 (UNKNOWN_ENVIRONMENT): Likewise.
17960 (confstr): Include posix-envs.def instead of handling
17961 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
17962 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
17963 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
17964 (END_ENV_GROUP): Likewise.
17965 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17966 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17967 (UNKNOWN_ENVIRONMENT): Likewise.
17968 (__sysconf): Include posix-envs.def instead of handling associated
17969 cases directly here.
17970 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
17971 preprocessing getconf-speclist.c rather than running getconf or
17972 generating empty file.
17973
a93f9cbc
PT
179742012-11-16 Pino Toscano <toscano.pino@tiscali.it>
17975
17976 * scripts/check-local-headers.sh: Ignore 'mach' headers.
17977
d64d9f87
AL
179782012-11-16 Andrej Lajovic <natrij@gmail.com>
17979
17980 [BZ #14672]
17981 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
17982
447885eb
DM
179832012-11-16 David S. Miller <davem@davemloft.net>
17984
17985 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
17986 smaller than LDBL_EPSILON/2.0L, just return xm1.
17987
bcbf9830
L
179882012-11-16 H.J. Lu <hongjiu.lu@intel.com>
17989
17990 * elf/tst-array1.c (init): Set constructor priority to 1000.
17991 (fini): Set destructor priority to 1000.
17992 * elf/tst-array2dep.c: Likewise.
17993
2b766585
SP
179942012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17995
17996 [BZ #11741]
17997 * libio/fileops.c (_IO_new_file_write): Correctly return error.
17998 (_IO_new_file_xsputn): Also return EOF if none of the input
17999 data was written when overflow failed.
18000 * libio/iopadn.c (_IO_padn): Likewise.
18001 * libio/iowpadn.c (_IO_wpadn): Likewise.
18002 * stdio-common/tst-put-error.c: Add copyright notice.
18003 (do_test): Add case for printing padded string.
18004 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
18005 _IO_padn returned error.
18006 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
18007 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
18008 return EOF.
18009
b1848fde
SP
180102012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18011
18012 * libio/libioP.h: Add comment note that the references to C++
18013 bits are now obsolete.
18014
2fd89785
MS
180152012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18016
18017 * math/libm-test.inc (check_complex): Use asprintf.
18018
e3ea5409
JM
180192012-11-14 Joseph Myers <joseph@codesourcery.com>
18020
18021 * debug/pcprofiledump.c (print_version): Update copyright year.
18022 * malloc/memusagestat.c (print_version): Likewise.
18023
2e64d265
L
180242012-11-14 H.J. Lu <hongjiu.lu@intel.com>
18025
18026 [BZ #14831]
18027 * elf/Makefile (tests): Add tst-audit8.
18028 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
18029 ($(objpfx)tst-audit8.out): New target.
18030 (tst-audit8-ENV): New variable.
18031 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
18032 audit if l_reloc_result is NULL.
18033 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
18034 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
18035 * elf/tst-audit8.c: New file.
18036
c485e4d2
MS
180372012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18038
18039 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
18040 * misc/Makefile (CFLAGS-select.c): Define.
18041 * posix/Makefile (CFLAGS-pause.c): Define.
18042
3a0d900a
DM
180432012-11-13 David S. Miller <davem@davemloft.net>
18044
18045 * crypt/Makefile: Move test targets after toplevel Rules
18046 inclusion. Grab any necessary sysdep routines when linking.
18047 * crypt/md5.c (md5_process_block): Remove define, we will always
18048 name it __md5_process_block.
18049 (md5_finish_ctx): Update md5_process_block call.
18050 (md5_stream): Likewise.
18051 (md5_process_bytes): Likewise.
18052 (md5_process_block): Rename to __md5_process_block and move to ...
18053 * crypt/md5-block.c: ... here.
18054 * crypt/sha256.c (sha256_process_block): Move to ...
18055 * crypt/sha256-block.c: ... here.
18056 * crypt/sha512.c (sha512_process_block): Move to ...
18057 * crypt/sha512-block.c: ... here.
18058 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
18059 path.
18060 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
18061 * sysdeps/sparc/sparc64/multiarch/Makefile
18062 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
18063 crypt subdir.
18064 (localedef-aux): Add md5 crypto assembler when in locale subdir.
18065 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
18066 multiarch changes.
18067 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
18068 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
18069 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
18070 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
18071 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
18072 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
18073 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
18074 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
18075 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
18076 file.
18077 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
18078 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
18079 file.
18080 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
18081
8ca89318
JM
180822012-11-13 Joseph Myers <joseph@codesourcery.com>
18083
e27d476a
JM
18084 * timezone/tzselect.ksh: Update from tzcode git revision
18085 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
18086 * timezone/zdump.c: Likewise.
18087 * timezone/zic.c: Likewise.
18088 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
18089 in TZVERSION setting, not $(PKGVERSION).
18090 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
18091 REPORT_BUGS_TO settings.
18092
8ca89318
JM
18093 [BZ #14838]
18094 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
18095 macro.
18096
47594329
MS
180972012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18098
18099 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
18100 detection to immediately after _FP_ROUND().
18101 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
18102 bits are 0.
18103
640ac3f1
DM
181042012-11-11 David S. Miller <davem@davemloft.net>
18105
18106 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
18107 inttypes.h
18108 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
18109 __close rather than their public counterparts.
18110
3d2577bb
JM
181112012-11-10 Joseph Myers <joseph@codesourcery.com>
18112
18113 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
18114 file.
18115 [UNIX98] (sem_timedwait): Do not expect.
18116 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
18117 [XPG4 || UNIX98] (sockatmark): Do not expect.
18118 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
18119 (clock_getcpuclockid): Do not expect.
18120 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
18121 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
18122 Do not expect.
18123 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
18124 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
18125 [UNIX98] (vwscanf): Likewise.
18126 [UNIX98] (vswscanf): Likewise.
18127
fb1ae1ee
JM
181282012-11-09 Joseph Myers <joseph@codesourcery.com>
18129
9ec6f8bd
JM
18130 * timezone/version.h: Remove file.
18131 * timezone/README: Do not refer to version.h.
18132 * timezone/Makefile ($(objpfx)zic.o): New dependency on
18133 $(objpfx)version.h.
18134 ($(objpfx)zdump.o): Likewise.
c3f81911 18135 ($(objpfx)version.h): New target.
9ec6f8bd 18136
0aa8f8a1
JM
18137 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
18138 2012i.
18139 * timezone/README: Don't mention modification to tzselect.ksh.
18140 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
18141 work on unmodified tzselect.ksh. Substitute version numbers in
18142 tzselect.ksh.
18143
4e87147f
JM
18144 * Makefile (format-me): Remove.
18145 (INSTALL): Adjust indentation. Use commands directly instead of
18146 using $(format-me).
18147
8b748aed
JM
18148 * aclocal.m4 (ACX_PKGVERSION): New macro.
18149 (ACX_BUGURL): Likewise.
18150 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
18151 (PKGVERSION): New AC_DEFINE_UNQUOTED.
18152 (REPORT_BUGS_TO): Likewise.
18153 * configure: Regenerated.
18154 * config.h.in (PKGVERSION): New macro.
18155 (REPORT_BUGS_TO): Likewise.
18156 * config.make.in (PKGVERSION): New variable.
18157 (PKGVERSION_TEXI): Likewise.
18158 (REPORT_BUGS_TO): Likewise.
18159 (REPORT_BUGS_TEXI): Likewise.
18160 * Makefile (format-me): Use -I$(common-objpfx)manual.
18161 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
18162 ($(common-objpfx)manual/%): New target.
18163 (manual/%): Remove target.
18164 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
18165 (print_version): Use PKGVERSION.
18166 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
18167 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
18168 and REPORT_BUGS_TO.
18169 ($(objpfx)xtrace): Likewise.
18170 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
18171 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
18172 (print_version): Use PKGVERSION.
18173 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
18174 (do_version): Use PKGVERSION.
18175 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
18176 REPORT_BUGS_TO.
18177 (common-ldd-rewrite): Likewise.
18178 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
18179 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
18180 (print_version): Use PKGVERSION.
18181 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
18182 * elf/pldd.c (argp_program_bug_address): Remove variable.
18183 (more_help): New function.
18184 (argp): Use more_help.
18185 (print_version): Use PKGVERSION.
18186 * elf/sln.c (main): Use PKGVERSION.
18187 (usage): Use REPORT_BUGS_TO.
18188 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
18189 (top level): Use PKGVERSION.
18190 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
18191 (print_version): Use PKGVERSION.
18192 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
18193 (print_version): Use PKGVERSION.
18194 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
18195 (print_version): Use PKGVERSION.
18196 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
18197 (print_version): Use PKGVERSION.
18198 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
18199 (print_version): Use PKGVERSION.
18200 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
18201 (print_version): Use PKGVERSION.
18202 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
18203 and BUGURL.
18204 ($(objpfx)memusage): Likewise.
18205 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
18206 (do_version): Use PKGVERSION.
18207 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
18208 (print_version): Use PKGVERSION.
18209 * malloc/mtrace.pl ($PACKAGE): Remove variable.
18210 ($PKGVERSION): New variable.
18211 ($REPORT_BUGS_TO): Likewise.
18212 (usage): Use $REPORT_BUGS_TO.
18213 (top level): Use $PKGVERSION.
18214 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
18215 ($(objpfx)pkgvers.texi): New rule.
18216 ($(objpfx)stamp-pkgvers): Likewise.
18217 * manual/install.texi: Include pkgvers.texi.
18218 (--with-pkgversion): Document new configure option.
18219 (--with-bugurl): Likewise.
18220 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
18221 than necessarily for this particular distribution. Use
18222 REPORT_BUGS_TO for where to report bugs.
18223 * INSTALL: Regenerated.
18224 * manual/libc.texinfo: Include pkgvers.texi.
18225 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
18226 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
18227 (print_version): Use PKGVERSION.
18228 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
18229 (print_version): Use PKGVERSION.
18230 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
18231 (print_version): Use PKGVERSION.
18232 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
18233 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
18234 macro.
18235 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
18236 (print_version): Use PKGVERSION.
18237 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
18238 (print_version): Use PKGVERSION.
18239 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
18240 and PKGVERSION.
18241
92e4b6a9
JM
18242 * timezone/checktab.awk: Update from tzcode 2012i.
18243 * timezone/ialloc.c: Likewise.
18244 * timezone/private.h: Likewise.
18245 * timezone/scheck.c: Likewise.
18246 * timezone/tzfile.h: Likewise.
18247 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
18248 (TZVERSION): Hardcode tzcode version number.
18249 * timezone/zdump.c: Update from tzcode 2012i.
18250 * timezone/zic.c: Likewise.
18251 * timezone/version.h: New file.
18252 * timezone/README: Describe version.h. Update upstream location.
18253
9bde902c
JM
18254 [BZ #14824]
18255 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
18256 (mktemp): Enable declaration.
18257 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
18258 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
18259 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
18260 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
18261 Likewise.
18262 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
18263 Likewise.
18264 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
18265 Likewise.
18266 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
18267 Likewise.
18268 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
18269 Likewise.
18270 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
18271 Likewise.
18272
fb1ae1ee
JM
18273 [BZ #14821]
18274 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
18275 offset in buffer as u_int32_t not u_long. Consistently use memcpy
18276 for copies of such integer values.
18277 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18278 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18279
2c1adbcb
AJ
182802012-11-09 Andreas Jaeger <aj@suse.de>
18281
18282 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
18283 definitions and declarations that are provided by
18284 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18285
d0f8457e
AK
182862012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18287
3a235abb 18288 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
18289 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
18290 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
18291 definition.
18292
57241e26
MS
182932012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18294
18295 * elf/elf.h: Update comment before AArch64 relocations.
18296
60e8270d
DM
182972012-11-07 David S. Miller <davem@davemloft.net>
18298
18299 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
18300 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18301 (__start_context): Declare.
18302 (__makecontext_ret): Delete.
18303 (__makecontext): Hook up __start_context instead of
18304 __makecontext_ret.
18305 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
18306 (sysdep_routines): Add __start_context when in stdlib.
18307
0fbb0fbc
JM
183082012-11-07 Joseph Myers <joseph@codesourcery.com>
18309
18310 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
18311 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
18312 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
18313 hardcoded "nm".
18314 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
18315 (READELF): New variable. Use it instead of hardcoded "readelf".
18316
eb48db7e
L
183172012-11-07 H.J. Lu <hongjiu.lu@intel.com>
18318
18319 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
18320 * sysdeps/x86/Makefile: Here.
18321 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
18322 * sysdeps/x86/tst-xmmymm.sh: This.
18323
05bcf62a
JM
183242012-11-07 Joseph Myers <joseph@codesourcery.com>
18325
c4b6cf53
JM
18326 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
18327 expectations.
18328 [UNIX98] (pthread_barrier_t): Do not expect.
18329 [UNIX98] (pthread_barrierattr_t): Likewise.
18330 [UNIX98] (pthread_spinlock_t): Likewise.
18331 [UNIX98] (pthread_barrier_destroy): Likewise.
18332 [UNIX98] (pthread_barrier_init): Likewise.
18333 [UNIX98] (pthread_barrier_wait): Likewise.
18334 [UNIX98] (pthread_barrierattr_destroy): Likewise.
18335 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
18336 [UNIX98] (pthread_barrierattr_init): Likewise.
18337 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
18338 [UNIX98] (pthread_getcpuclockid): Likewise.
18339 [UNIX98] (pthread_mutex_timedlock): Likewise.
18340 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
18341 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
18342 [UNIX98] (pthread_sigmask): Likewise.
18343 [UNIX98] (pthread_spin_destroy): Likewise.
18344 [UNIX98] (pthread_spin_init): Likewise.
18345 [UNIX98] (pthread_spin_lock): Likewise.
18346 [UNIX98] (pthread_spin_trylock): Likewise.
18347 [UNIX98] (pthread_spin_unlock): Likewise.
18348 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
18349 Do not expect.
18350 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
18351 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
18352 [XPG3 || XPG4] (pthread_cond_t): Likewise.
18353 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
18354 [XPG3 || XPG4] (pthread_key_t): Likewise.
18355 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
18356 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
18357 [XPG3 || XPG4] (pthread_once_t): Likewise.
18358 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
18359 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
18360 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
18361 [XPG3 || XPG4] (pthread_t): Likewise.
18362
cbe6e120
JM
18363 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
18364 not expect.
18365 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
18366
1b126443
JM
18367 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
18368 Change function return type to int.
18369
b961a573
JM
18370 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
18371 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
18372 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
18373 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
18374 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
18375 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
18376 [!POSIX] (posix_madvise): Likewise.
18377 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
18378 && !UNIX98].
18379 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
18380 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
18381 (mode_t): Likewise.
18382 (posix_mem_offset): Likewise.
18383 (posix_typed_mem_get_info): Likewise.
18384 (posix_typed_mem_open): Likewise.
18385
9e188909
JM
18386 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
18387 Change condition to [XOPEN2K8].
18388
05bcf62a
JM
18389 * conform/conformtest.pl: Preprocess allow-header data with -x c
18390 instead of from stdin.
18391 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
18392 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
18393 [C99-based standards] (cerfc): Likewise.
18394 [C99-based standards] (cexp2): Likewise.
18395 [C99-based standards] (cexpm1): Likewise.
18396 [C99-based standards] (clog10): Likewise.
18397 [C99-based standards] (clog1p): Likewise.
18398 [C99-based standards] (clog2): Likewise.
18399 [C99-based standards] (clgamma): Likewise.
18400 [C99-based standards] (ctgamma): Likewise.
18401 [C99-based standards] (cerff): Likewise.
18402 [C99-based standards] (cerfcf): Likewise.
18403 [C99-based standards] (cexp2f): Likewise.
18404 [C99-based standards] (cexpm1f): Likewise.
18405 [C99-based standards] (clog10f): Likewise.
18406 [C99-based standards] (clog1pf): Likewise.
18407 [C99-based standards] (clog2f): Likewise.
18408 [C99-based standards] (clgammaf): Likewise.
18409 [C99-based standards] (ctgammaf): Likewise.
18410 [C99-based standards] (cerfl): Likewise.
18411 [C99-based standards] (cerfcl): Likewise.
18412 [C99-based standards] (cexp2l): Likewise.
18413 [C99-based standards] (cexpm1l): Likewise.
18414 [C99-based standards] (clog10l): Likewise.
18415 [C99-based standards] (clog1pl): Likewise.
18416 [C99-based standards] (clog2l): Likewise.
18417 [C99-based standards] (clgammal): Likewise.
18418 [C99-based standards] (ctgammal): Likewise.
18419 * conform/data/inttypes.h-data [C99-based standards]: Include
18420 stdint.h-data. Remove all expectations for stdint.h contents.
18421 [C99-based standards] (PRI*): Do not allow.
18422 [C99-based standards] (SCN*): Likewise.
18423 [C99-based standards] (*_t): Likewise.
18424 [C99-based-standards] (PRId8): Expect macro.
18425 [C99-based-standards] (PRIi8): Likewise.
18426 [C99-based-standards] (PRIo8): Likewise.
18427 [C99-based-standards] (PRIu8): Likewise.
18428 [C99-based-standards] (PRIx8): Likewise.
18429 [C99-based-standards] (PRIX8): Likewise.
18430 [C99-based-standards] (SCNd8): Likewise.
18431 [C99-based-standards] (SCNi8): Likewise.
18432 [C99-based-standards] (SCNo8): Likewise.
18433 [C99-based-standards] (SCNu8): Likewise.
18434 [C99-based-standards] (SCNx8): Likewise.
18435 [C99-based-standards] (PRIdLEAST8): Likewise.
18436 [C99-based-standards] (PRIiLEAST8): Likewise.
18437 [C99-based-standards] (PRIoLEAST8): Likewise.
18438 [C99-based-standards] (PRIuLEAST8): Likewise.
18439 [C99-based-standards] (PRIxLEAST8): Likewise.
18440 [C99-based-standards] (PRIXLEAST8): Likewise.
18441 [C99-based-standards] (SCNdLEAST8): Likewise.
18442 [C99-based-standards] (SCNiLEAST8): Likewise.
18443 [C99-based-standards] (SCNoLEAST8): Likewise.
18444 [C99-based-standards] (SCNuLEAST8): Likewise.
18445 [C99-based-standards] (SCNxLEAST8): Likewise.
18446 [C99-based-standards] (PRIdFAST8): Likewise.
18447 [C99-based-standards] (PRIiFAST8): Likewise.
18448 [C99-based-standards] (PRIoFAST8): Likewise.
18449 [C99-based-standards] (PRIuFAST8): Likewise.
18450 [C99-based-standards] (PRIxFAST8): Likewise.
18451 [C99-based-standards] (PRIXFAST8): Likewise.
18452 [C99-based-standards] (SCNdFAST8): Likewise.
18453 [C99-based-standards] (SCNiFAST8): Likewise.
18454 [C99-based-standards] (SCNoFAST8): Likewise.
18455 [C99-based-standards] (SCNuFAST8): Likewise.
18456 [C99-based-standards] (SCNxFAST8): Likewise.
18457 [C99-based-standards] (PRId16): Likewise.
18458 [C99-based-standards] (PRIi16): Likewise.
18459 [C99-based-standards] (PRIo16): Likewise.
18460 [C99-based-standards] (PRIu16): Likewise.
18461 [C99-based-standards] (PRIx16): Likewise.
18462 [C99-based-standards] (PRIX16): Likewise.
18463 [C99-based-standards] (SCNd16): Likewise.
18464 [C99-based-standards] (SCNi16): Likewise.
18465 [C99-based-standards] (SCNo16): Likewise.
18466 [C99-based-standards] (SCNu16): Likewise.
18467 [C99-based-standards] (SCNx16): Likewise.
18468 [C99-based-standards] (PRIdLEAST16): Likewise.
18469 [C99-based-standards] (PRIiLEAST16): Likewise.
18470 [C99-based-standards] (PRIoLEAST16): Likewise.
18471 [C99-based-standards] (PRIuLEAST16): Likewise.
18472 [C99-based-standards] (PRIxLEAST16): Likewise.
18473 [C99-based-standards] (PRIXLEAST16): Likewise.
18474 [C99-based-standards] (SCNdLEAST16): Likewise.
18475 [C99-based-standards] (SCNiLEAST16): Likewise.
18476 [C99-based-standards] (SCNoLEAST16): Likewise.
18477 [C99-based-standards] (SCNuLEAST16): Likewise.
18478 [C99-based-standards] (SCNxLEAST16): Likewise.
18479 [C99-based-standards] (PRIdFAST16): Likewise.
18480 [C99-based-standards] (PRIiFAST16): Likewise.
18481 [C99-based-standards] (PRIoFAST16): Likewise.
18482 [C99-based-standards] (PRIuFAST16): Likewise.
18483 [C99-based-standards] (PRIxFAST16): Likewise.
18484 [C99-based-standards] (PRIXFAST16): Likewise.
18485 [C99-based-standards] (SCNdFAST16): Likewise.
18486 [C99-based-standards] (SCNiFAST16): Likewise.
18487 [C99-based-standards] (SCNoFAST16): Likewise.
18488 [C99-based-standards] (SCNuFAST16): Likewise.
18489 [C99-based-standards] (SCNxFAST16): Likewise.
18490 [C99-based-standards] (PRId32): Likewise.
18491 [C99-based-standards] (PRIi32): Likewise.
18492 [C99-based-standards] (PRIo32): Likewise.
18493 [C99-based-standards] (PRIu32): Likewise.
18494 [C99-based-standards] (PRIx32): Likewise.
18495 [C99-based-standards] (PRIX32): Likewise.
18496 [C99-based-standards] (SCNd32): Likewise.
18497 [C99-based-standards] (SCNi32): Likewise.
18498 [C99-based-standards] (SCNo32): Likewise.
18499 [C99-based-standards] (SCNu32): Likewise.
18500 [C99-based-standards] (SCNx32): Likewise.
18501 [C99-based-standards] (PRIdLEAST32): Likewise.
18502 [C99-based-standards] (PRIiLEAST32): Likewise.
18503 [C99-based-standards] (PRIoLEAST32): Likewise.
18504 [C99-based-standards] (PRIuLEAST32): Likewise.
18505 [C99-based-standards] (PRIxLEAST32): Likewise.
18506 [C99-based-standards] (PRIXLEAST32): Likewise.
18507 [C99-based-standards] (SCNdLEAST32): Likewise.
18508 [C99-based-standards] (SCNiLEAST32): Likewise.
18509 [C99-based-standards] (SCNoLEAST32): Likewise.
18510 [C99-based-standards] (SCNuLEAST32): Likewise.
18511 [C99-based-standards] (SCNxLEAST32): Likewise.
18512 [C99-based-standards] (PRIdFAST32): Likewise.
18513 [C99-based-standards] (PRIiFAST32): Likewise.
18514 [C99-based-standards] (PRIoFAST32): Likewise.
18515 [C99-based-standards] (PRIuFAST32): Likewise.
18516 [C99-based-standards] (PRIxFAST32): Likewise.
18517 [C99-based-standards] (PRIXFAST32): Likewise.
18518 [C99-based-standards] (SCNdFAST32): Likewise.
18519 [C99-based-standards] (SCNiFAST32): Likewise.
18520 [C99-based-standards] (SCNoFAST32): Likewise.
18521 [C99-based-standards] (SCNuFAST32): Likewise.
18522 [C99-based-standards] (SCNxFAST32): Likewise.
18523 [C99-based-standards] (PRId64): Likewise.
18524 [C99-based-standards] (PRIi64): Likewise.
18525 [C99-based-standards] (PRIo64): Likewise.
18526 [C99-based-standards] (PRIu64): Likewise.
18527 [C99-based-standards] (PRIx64): Likewise.
18528 [C99-based-standards] (PRIX64): Likewise.
18529 [C99-based-standards] (SCNd64): Likewise.
18530 [C99-based-standards] (SCNi64): Likewise.
18531 [C99-based-standards] (SCNo64): Likewise.
18532 [C99-based-standards] (SCNu64): Likewise.
18533 [C99-based-standards] (SCNx64): Likewise.
18534 [C99-based-standards] (PRIdLEAST64): Likewise.
18535 [C99-based-standards] (PRIiLEAST64): Likewise.
18536 [C99-based-standards] (PRIoLEAST64): Likewise.
18537 [C99-based-standards] (PRIuLEAST64): Likewise.
18538 [C99-based-standards] (PRIxLEAST64): Likewise.
18539 [C99-based-standards] (PRIXLEAST64): Likewise.
18540 [C99-based-standards] (SCNdLEAST64): Likewise.
18541 [C99-based-standards] (SCNiLEAST64): Likewise.
18542 [C99-based-standards] (SCNoLEAST64): Likewise.
18543 [C99-based-standards] (SCNuLEAST64): Likewise.
18544 [C99-based-standards] (SCNxLEAST64): Likewise.
18545 [C99-based-standards] (PRIdFAST64): Likewise.
18546 [C99-based-standards] (PRIiFAST64): Likewise.
18547 [C99-based-standards] (PRIoFAST64): Likewise.
18548 [C99-based-standards] (PRIuFAST64): Likewise.
18549 [C99-based-standards] (PRIxFAST64): Likewise.
18550 [C99-based-standards] (PRIXFAST64): Likewise.
18551 [C99-based-standards] (SCNdFAST64): Likewise.
18552 [C99-based-standards] (SCNiFAST64): Likewise.
18553 [C99-based-standards] (SCNoFAST64): Likewise.
18554 [C99-based-standards] (SCNuFAST64): Likewise.
18555 [C99-based-standards] (SCNxFAST64): Likewise.
18556 [C99-based-standards] (PRIdMAX): Likewise.
18557 [C99-based-standards] (PRIiMAX): Likewise.
18558 [C99-based-standards] (PRIoMAX): Likewise.
18559 [C99-based-standards] (PRIuMAX): Likewise.
18560 [C99-based-standards] (PRIxMAX): Likewise.
18561 [C99-based-standards] (PRIXMAX): Likewise.
18562 [C99-based-standards] (SCNdMAX): Likewise.
18563 [C99-based-standards] (SCNiMAX): Likewise.
18564 [C99-based-standards] (SCNoMAX): Likewise.
18565 [C99-based-standards] (SCNuMAX): Likewise.
18566 [C99-based-standards] (SCNxMAX): Likewise.
18567 [C99-based-standards] (PRIdPTR): Likewise.
18568 [C99-based-standards] (PRIiPTR): Likewise.
18569 [C99-based-standards] (PRIoPTR): Likewise.
18570 [C99-based-standards] (PRIuPTR): Likewise.
18571 [C99-based-standards] (PRIxPTR): Likewise.
18572 [C99-based-standards] (PRIXPTR): Likewise.
18573 [C99-based-standards] (SCNdPTR): Likewise.
18574 [C99-based-standards] (SCNiPTR): Likewise.
18575 [C99-based-standards] (SCNoPTR): Likewise.
18576 [C99-based-standards] (SCNuPTR): Likewise.
18577 [C99-based-standards] (SCNxPTR): Likewise.
18578 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
18579 allow.
18580 * conform/data/stdint.h-data: Update comments to clarify
18581 requirements.
18582 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
18583 type.
18584 [C99-based standards] (INT8_MAX): Likewise.
18585 [C99-based standards] (INT16_MIN): Likewise.
18586 [C99-based standards] (INT16_MAX): Likewise.
18587 [C99-based standards] (INT32_MIN): Likewise.
18588 [C99-based standards] (INT32_MAX): Likewise.
18589 [C99-based standards] (INT64_MIN): Likewise.
18590 [C99-based standards] (INT64_MAX): Likewise.
18591 [C99-based standards] (UINT8_MAX): Likewise.
18592 [C99-based standards] (UINT16_MAX): Likewise.
18593 [C99-based standards] (UINT32_MAX): Likewise.
18594 [C99-based standards] (UINT64_MAX): Likewise.
18595 [C99-based standards] (INT_LEAST8_MIN): Likewise.
18596 [C99-based standards] (INT_LEAST8_MAX): Likewise.
18597 [C99-based standards] (INT_LEAST16_MIN): Likewise.
18598 [C99-based standards] (INT_LEAST16_MAX): Likewise.
18599 [C99-based standards] (INT_LEAST32_MIN): Likewise.
18600 [C99-based standards] (INT_LEAST32_MAX): Likewise.
18601 [C99-based standards] (INT_LEAST64_MIN): Likewise.
18602 [C99-based standards] (INT_LEAST64_MAX): Likewise.
18603 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
18604 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
18605 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
18606 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
18607 [C99-based standards] (INT_FAST8_MIN): Likewise.
18608 [C99-based standards] (INT_FAST8_MAX): Likewise.
18609 [C99-based standards] (INT_FAST16_MIN): Likewise.
18610 [C99-based standards] (INT_FAST16_MAX): Likewise.
18611 [C99-based standards] (INT_FAST32_MIN): Likewise.
18612 [C99-based standards] (INT_FAST32_MAX): Likewise.
18613 [C99-based standards] (INT_FAST64_MIN): Likewise.
18614 [C99-based standards] (INT_FAST64_MAX): Likewise.
18615 [C99-based standards] (UINT_FAST8_MAX): Likewise.
18616 [C99-based standards] (UINT_FAST16_MAX): Likewise.
18617 [C99-based standards] (UINT_FAST32_MAX): Likewise.
18618 [C99-based standards] (UINT_FAST64_MAX): Likewise.
18619 [C99-based standards] (INTPTR_MIN): Likewise.
18620 [C99-based standards] (INTPTR_MAX): Likewise.
18621 [C99-based standards] (UINTPTR_MAX): Likewise.
18622 [C99-based standards] (INTMAX_MIN): Likewise.
18623 [C99-based standards] (INTMAX_MAX): Likewise.
18624 [C99-based standards] (UINTMAX_MAX): Likewise.
18625 [C99-based standards] (PTRDIFF_MIN): Likewise.
18626 [C99-based standards] (PTRDIFF_MAX): Likewise.
18627 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
18628 [C99-based standards] (SIZE_MAX): Likewise.
18629 [C99-based standards] (WCHAR_MAX): Likewise.
18630 [C99-based standards] (WINT_MAX): Likewise.
18631 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
18632 constraint on value.
18633 [C99-based standards] (WCHAR_MIN): Likewise.
18634 [C99-based standards] (WINT_MIN): Likewise.
18635 [C99-based standards] (*_t): Allow.
18636 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
18637 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
18638 Include math.h-data and complex.h-data. Remove all expectations
18639 of math.h and complex.h contents.
18640 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
18641 at end of line.
18642 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
18643 (struct tm): Expect tag.
18644 [C99-based-standards] (wcstof): Expect function.
18645 [C99-based-standards] (wcstold): Likewise.
18646 [C99-based-standards] (wcstoll): Likewise.
18647 [C99-based-standards] (wcstoull): Likewise.
18648 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
18649 macro-int-constant. Specify type.
18650 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
18651 constraint on value.
18652 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18653 Specify type.
18654 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
18655 Specify value.
18656 [ISO C standards]: Do not allow headers.
18657 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
18658 wcs[abcdefghijklmnopqrstuvwxyz]*.
18659 [ISO C standards] (*_t): Do not allow.
18660 * conform/data/wctype.h-data [C99-based standards] (iswblank):
18661 Expect function.
18662 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
18663 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18664 Specify type.
18665 [ISO C standards]: Do not allow headers.
18666 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
18667 is[abcdefghijklmnopqrstuvwxyz]*.
18668 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
18669 to[abcdefghijklmnopqrstuvwxyz]*.
18670 [ISO C standards] (*_t): Do not allow.
18671 * conform/data/stdalign.h-data: New file.
18672 * conform/data/stdbool.h-data: Likewise.
18673 * conform/data/stdnoreturn.h-data: Likewise.
18674
7514feb8
RM
186752012-11-07 Roland McGrath <roland@hack.frob.com>
18676
18677 [BZ #14815]
18678 * manual/filesys.texi (Directory Entries): Typo fix.
18679 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
18680
19b2ecfc
MS
186812012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18682
18683 * elf/elf.h (EM_AARCH64): New macro.
18684 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
18685 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
18686 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
18687 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
18688 (R_AARCH64_TLSDESC): Likewise.
18689 (NT_ARM_TLS): Likewise.
18690 (NT_ARM_HW_BREAK): Likewise.
18691 (NT_ARM_HW_WATCH): Likewise.
18692
60e235ee
JM
186932012-11-07 Joseph Myers <joseph@codesourcery.com>
18694
18695 [BZ #14811]
18696 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
18697 (__ieee754_powl): Saturate nonzero exponents with absolute value
18698 below 0x1p-79 to +/- 0x1p-79.
18699 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
18700 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
18701 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
18702 nonzero exponents with absolute value below 0x1p-32 to +/-
18703 0x1p-32.
18704 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
18705 (__ieee754_powl): Saturate nonzero exponents with absolute value
18706 below 0x1p-79 to +/- 0x1p-79.
18707 * math/libm-test.inc (pow_test): Add more tests.
18708
0ab234b7
AK
187092012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18710
18711 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
18712 _dl_s390_cap_flags with kernel. Increase string length.
18713 (_dl_s390_platforms): Add z196 and zEC12.
18714
45832f74
JM
187152012-11-07 Joseph Myers <joseph@codesourcery.com>
18716
18717 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
18718 Change XOPEN21K to XOPEN2K.
18719
19218757
MK
187202012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
18721
18722 * string/memmove.c: Use memcpy when possible.
18723
c5f45721
AJ
187242012-11-06 Andreas Jaeger <aj@suse.de>
18725
18726 * po/eo.po: Update from translation team.
18727
82477c28
JM
187282012-11-06 Joseph Myers <joseph@codesourcery.com>
18729
18730 [BZ #14793]
18731 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
18732 exponent and small x and y exponents, scale x or y up. Increase
18733 by 2 the exponent used in scaling up.
18734 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18735 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18736 * math/libm-test.inc (fma_test): Add more tests.
18737 (fma_test_towardzero): Likewise.
18738 (fma_test_downward): Likewise.
18739 (fma_test_upward): Likewise.
18740
99252c8c
JM
187412012-11-05 Joseph Myers <joseph@codesourcery.com>
18742
acfa885f
JM
18743 [BZ #14805]
18744 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
18745 fenv_t *.
18746
99252c8c
JM
18747 [BZ #14801]
18748 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
18749 namespace for names of struct fields.
18750 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
18751 fenv_t fields.
18752 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
18753 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
18754
d6d98dea
ST
187552012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18756
18757 [BZ #3665]
18758 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
18759
e10bb107
TS
187602012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18761
18762 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
18763 PTR_DEMANGLE.
18764
18765 [BZ #5246]
18766 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
18767 PTR_DEMANGLE.
18768
a0c2940d
JM
187692012-11-04 Joseph Myers <joseph@codesourcery.com>
18770
18771 [BZ #14797]
18772 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
18773 definitely overflow as x * y not x * y + z.
18774 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18775 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18776 * math/libm-test.inc (fma_test): Add more tests.
18777 (fma_test_towardzero): Likewise.
18778 (fma_test_downward): Likewise.
18779 (fma_test_upward): Likewise.
18780
b830319d
TS
187812012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18782
18783 [BZ #157]
18784
18785 * include/stub-tag.h: Remove file.
18786 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
18787 '#include' of it.
18788 * manual/maint.texi (Porting): Don't reference it.
18789 * Makerules ($(objpfx)stubs): Likewise.
18790 * dirent/closedir.c: Don't include <stub-tag.h>.
18791 * dirent/dirfd.c: Likewise.
18792 * dirent/fdopendir.c: Likewise.
18793 * dirent/getdents.c: Likewise.
18794 * dirent/getdents64.c: Likewise.
18795 * dirent/opendir.c: Likewise.
18796 * dirent/readdir.c: Likewise.
18797 * dirent/readdir64.c: Likewise.
18798 * dirent/readdir64_r.c: Likewise.
18799 * dirent/readdir_r.c: Likewise.
18800 * dirent/rewinddir.c: Likewise.
18801 * dirent/seekdir.c: Likewise.
18802 * dirent/telldir.c: Likewise.
18803 * gmon/profil.c: Likewise.
18804 * grp/setgroups.c: Likewise.
18805 * inet/if_index.c: Likewise.
18806 * io/access.c: Likewise.
18807 * io/chdir.c: Likewise.
18808 * io/chmod.c: Likewise.
18809 * io/chown.c: Likewise.
18810 * io/close.c: Likewise.
18811 * io/dup.c: Likewise.
18812 * io/dup2.c: Likewise.
18813 * io/dup3.c: Likewise.
18814 * io/euidaccess.c: Likewise.
18815 * io/faccessat.c: Likewise.
18816 * io/fchdir.c: Likewise.
18817 * io/fchmod.c: Likewise.
18818 * io/fchmodat.c: Likewise.
18819 * io/fchown.c: Likewise.
18820 * io/fchownat.c: Likewise.
18821 * io/fcntl.c: Likewise.
18822 * io/flock.c: Likewise.
18823 * io/fstatfs.c: Likewise.
18824 * io/fstatfs64.c: Likewise.
18825 * io/fstatvfs.c: Likewise.
18826 * io/fstatvfs64.c: Likewise.
18827 * io/futimens.c: Likewise.
18828 * io/fxstat.c: Likewise.
18829 * io/fxstat64.c: Likewise.
18830 * io/fxstatat.c: Likewise.
18831 * io/fxstatat64.c: Likewise.
18832 * io/getcwd.c: Likewise.
18833 * io/isatty.c: Likewise.
18834 * io/lchmod.c: Likewise.
18835 * io/lchown.c: Likewise.
18836 * io/link.c: Likewise.
18837 * io/linkat.c: Likewise.
18838 * io/lseek.c: Likewise.
18839 * io/lseek64.c: Likewise.
18840 * io/lxstat64.c: Likewise.
18841 * io/mkdir.c: Likewise.
18842 * io/mkdirat.c: Likewise.
18843 * io/mkfifo.c: Likewise.
18844 * io/mkfifoat.c: Likewise.
18845 * io/open.c: Likewise.
18846 * io/open64.c: Likewise.
18847 * io/openat.c: Likewise.
18848 * io/openat64.c: Likewise.
18849 * io/pipe.c: Likewise.
18850 * io/pipe2.c: Likewise.
18851 * io/poll.c: Likewise.
18852 * io/posix_fadvise.c: Likewise.
18853 * io/posix_fadvise64.c: Likewise.
18854 * io/posix_fallocate.c: Likewise.
18855 * io/posix_fallocate64.c: Likewise.
18856 * io/read.c: Likewise.
18857 * io/readlink.c: Likewise.
18858 * io/readlinkat.c: Likewise.
18859 * io/rmdir.c: Likewise.
18860 * io/sendfile.c: Likewise.
18861 * io/sendfile64.c: Likewise.
18862 * io/statfs.c: Likewise.
18863 * io/statfs64.c: Likewise.
18864 * io/statvfs.c: Likewise.
18865 * io/statvfs64.c: Likewise.
18866 * io/symlink.c: Likewise.
18867 * io/symlinkat.c: Likewise.
18868 * io/ttyname.c: Likewise.
18869 * io/ttyname_r.c: Likewise.
18870 * io/umask.c: Likewise.
18871 * io/unlink.c: Likewise.
18872 * io/unlinkat.c: Likewise.
18873 * io/utime.c: Likewise.
18874 * io/utimensat.c: Likewise.
18875 * io/write.c: Likewise.
18876 * io/xmknod.c: Likewise.
18877 * io/xmknodat.c: Likewise.
18878 * io/xstat.c: Likewise.
18879 * io/xstat64.c: Likewise.
18880 * login/getpt.c: Likewise.
18881 * login/grantpt.c: Likewise.
18882 * login/unlockpt.c: Likewise.
18883 * math/e_acoshl.c: Likewise.
18884 * math/e_acosl.c: Likewise.
18885 * math/e_asinl.c: Likewise.
18886 * math/e_atan2l.c: Likewise.
18887 * math/e_atanhl.c: Likewise.
18888 * math/e_coshl.c: Likewise.
18889 * math/e_expl.c: Likewise.
18890 * math/e_fmodl.c: Likewise.
18891 * math/e_gammal_r.c: Likewise.
18892 * math/e_hypotl.c: Likewise.
18893 * math/e_j0l.c: Likewise.
18894 * math/e_j1l.c: Likewise.
18895 * math/e_jnl.c: Likewise.
18896 * math/e_lgammal_r.c: Likewise.
18897 * math/e_log10l.c: Likewise.
18898 * math/e_log2l.c: Likewise.
18899 * math/e_logl.c: Likewise.
18900 * math/e_powl.c: Likewise.
18901 * math/e_rem_pio2l.c: Likewise.
18902 * math/e_sinhl.c: Likewise.
18903 * math/e_sqrtl.c: Likewise.
18904 * math/fclrexcpt.c: Likewise.
18905 * math/fedisblxcpt.c: Likewise.
18906 * math/feenablxcpt.c: Likewise.
18907 * math/fegetenv.c: Likewise.
18908 * math/fegetexcept.c: Likewise.
18909 * math/fegetround.c: Likewise.
18910 * math/feholdexcpt.c: Likewise.
18911 * math/fesetenv.c: Likewise.
18912 * math/fesetround.c: Likewise.
18913 * math/feupdateenv.c: Likewise.
18914 * math/fgetexcptflg.c: Likewise.
18915 * math/fraiseexcpt.c: Likewise.
18916 * math/fsetexcptflg.c: Likewise.
18917 * math/ftestexcept.c: Likewise.
18918 * math/k_cosl.c: Likewise.
18919 * math/k_rem_pio2l.c: Likewise.
18920 * math/k_sinl.c: Likewise.
18921 * math/k_tanl.c: Likewise.
18922 * math/s_asinhl.c: Likewise.
18923 * math/s_atanl.c: Likewise.
18924 * math/s_cbrtl.c: Likewise.
18925 * math/s_erfl.c: Likewise.
18926 * math/s_expm1l.c: Likewise.
18927 * math/s_log1pl.c: Likewise.
18928 * math/s_tanhl.c: Likewise.
18929 * misc/acct.c: Likewise.
18930 * misc/brk.c: Likewise.
18931 * misc/chflags.c: Likewise.
18932 * misc/chroot.c: Likewise.
18933 * misc/fchflags.c: Likewise.
18934 * misc/fgetxattr.c: Likewise.
18935 * misc/flistxattr.c: Likewise.
18936 * misc/fremovexattr.c: Likewise.
18937 * misc/fsetxattr.c: Likewise.
18938 * misc/fsync.c: Likewise.
18939 * misc/ftruncate.c: Likewise.
18940 * misc/futimes.c: Likewise.
18941 * misc/futimesat.c: Likewise.
18942 * misc/getdomain.c: Likewise.
18943 * misc/getdtsz.c: Likewise.
18944 * misc/gethostid.c: Likewise.
18945 * misc/gethostname.c: Likewise.
18946 * misc/getloadavg.c: Likewise.
18947 * misc/getpagesize.c: Likewise.
18948 * misc/getsysstats.c: Likewise.
18949 * misc/getxattr.c: Likewise.
18950 * misc/gtty.c: Likewise.
18951 * misc/ioctl.c: Likewise.
18952 * misc/lgetxattr.c: Likewise.
18953 * misc/listxattr.c: Likewise.
18954 * misc/llistxattr.c: Likewise.
18955 * misc/lremovexattr.c: Likewise.
18956 * misc/lsetxattr.c: Likewise.
18957 * misc/lutimes.c: Likewise.
18958 * misc/madvise.c: Likewise.
18959 * misc/mincore.c: Likewise.
18960 * misc/mlock.c: Likewise.
18961 * misc/mlockall.c: Likewise.
18962 * misc/mmap.c: Likewise.
18963 * misc/mprotect.c: Likewise.
18964 * misc/msync.c: Likewise.
18965 * misc/munlock.c: Likewise.
18966 * misc/munlockall.c: Likewise.
18967 * misc/munmap.c: Likewise.
18968 * misc/preadv.c: Likewise.
18969 * misc/preadv64.c: Likewise.
18970 * misc/ptrace.c: Likewise.
18971 * misc/pwritev.c: Likewise.
18972 * misc/pwritev64.c: Likewise.
18973 * misc/readv.c: Likewise.
18974 * misc/reboot.c: Likewise.
18975 * misc/remap_file_pages.c: Likewise.
18976 * misc/removexattr.c: Likewise.
18977 * misc/revoke.c: Likewise.
18978 * misc/select.c: Likewise.
18979 * misc/setdomain.c: Likewise.
18980 * misc/setegid.c: Likewise.
18981 * misc/seteuid.c: Likewise.
18982 * misc/sethostid.c: Likewise.
18983 * misc/sethostname.c: Likewise.
18984 * misc/setregid.c: Likewise.
18985 * misc/setreuid.c: Likewise.
18986 * misc/setxattr.c: Likewise.
18987 * misc/sstk.c: Likewise.
18988 * misc/stty.c: Likewise.
18989 * misc/swapoff.c: Likewise.
18990 * misc/swapon.c: Likewise.
18991 * misc/sync.c: Likewise.
18992 * misc/syncfs.c: Likewise.
18993 * misc/syscall.c: Likewise.
18994 * misc/truncate.c: Likewise.
18995 * misc/ualarm.c: Likewise.
18996 * misc/usleep.c: Likewise.
18997 * misc/ustat.c: Likewise.
18998 * misc/utimes.c: Likewise.
18999 * misc/vhangup.c: Likewise.
19000 * misc/writev.c: Likewise.
19001 * posix/_exit.c: Likewise.
19002 * posix/alarm.c: Likewise.
19003 * posix/execve.c: Likewise.
19004 * posix/fexecve.c: Likewise.
19005 * posix/fork.c: Likewise.
19006 * posix/fpathconf.c: Likewise.
19007 * posix/getaddrinfo.c: Likewise.
19008 * posix/getegid.c: Likewise.
19009 * posix/geteuid.c: Likewise.
19010 * posix/getgid.c: Likewise.
19011 * posix/getgroups.c: Likewise.
19012 * posix/getlogin.c: Likewise.
19013 * posix/getlogin_r.c: Likewise.
19014 * posix/getpgid.c: Likewise.
19015 * posix/getpid.c: Likewise.
19016 * posix/getppid.c: Likewise.
19017 * posix/getresgid.c: Likewise.
19018 * posix/getresuid.c: Likewise.
19019 * posix/getsid.c: Likewise.
19020 * posix/getuid.c: Likewise.
19021 * posix/glob64.c: Likewise.
19022 * posix/nanosleep.c: Likewise.
19023 * posix/pathconf.c: Likewise.
19024 * posix/pause.c: Likewise.
19025 * posix/posix_madvise.c: Likewise.
19026 * posix/pread.c: Likewise.
19027 * posix/pread64.c: Likewise.
19028 * posix/pwrite.c: Likewise.
19029 * posix/pwrite64.c: Likewise.
19030 * posix/sched_getaffinity.c: Likewise.
19031 * posix/sched_getp.c: Likewise.
19032 * posix/sched_gets.c: Likewise.
19033 * posix/sched_primax.c: Likewise.
19034 * posix/sched_primin.c: Likewise.
19035 * posix/sched_rr_gi.c: Likewise.
19036 * posix/sched_setaffinity.c: Likewise.
19037 * posix/sched_setp.c: Likewise.
19038 * posix/sched_sets.c: Likewise.
19039 * posix/sched_yield.c: Likewise.
19040 * posix/setgid.c: Likewise.
19041 * posix/setlogin.c: Likewise.
19042 * posix/setpgid.c: Likewise.
19043 * posix/setresgid.c: Likewise.
19044 * posix/setresuid.c: Likewise.
19045 * posix/setsid.c: Likewise.
19046 * posix/setuid.c: Likewise.
19047 * posix/sleep.c: Likewise.
19048 * posix/spawni.c: Likewise.
19049 * posix/sysconf.c: Likewise.
19050 * posix/times.c: Likewise.
19051 * posix/wait.c: Likewise.
19052 * posix/wait3.c: Likewise.
19053 * posix/wait4.c: Likewise.
19054 * posix/waitpid.c: Likewise.
19055 * resolv/gai_sigqueue.c: Likewise.
19056 * resource/getpriority.c: Likewise.
19057 * resource/getrlimit.c: Likewise.
19058 * resource/getrusage.c: Likewise.
19059 * resource/nice.c: Likewise.
19060 * resource/setpriority.c: Likewise.
19061 * resource/setrlimit.c: Likewise.
19062 * resource/ulimit.c: Likewise.
19063 * rt/aio_cancel.c: Likewise.
19064 * rt/aio_fsync.c: Likewise.
19065 * rt/aio_read.c: Likewise.
19066 * rt/aio_sigqueue.c: Likewise.
19067 * rt/aio_suspend.c: Likewise.
19068 * rt/aio_write.c: Likewise.
19069 * rt/clock_getres.c: Likewise.
19070 * rt/clock_gettime.c: Likewise.
19071 * rt/clock_nanosleep.c: Likewise.
19072 * rt/clock_settime.c: Likewise.
19073 * rt/lio_listio.c: Likewise.
19074 * rt/mq_close.c: Likewise.
19075 * rt/mq_getattr.c: Likewise.
19076 * rt/mq_notify.c: Likewise.
19077 * rt/mq_open.c: Likewise.
19078 * rt/mq_receive.c: Likewise.
19079 * rt/mq_send.c: Likewise.
19080 * rt/mq_setattr.c: Likewise.
19081 * rt/mq_timedreceive.c: Likewise.
19082 * rt/mq_timedsend.c: Likewise.
19083 * rt/mq_unlink.c: Likewise.
19084 * rt/shm_open.c: Likewise.
19085 * rt/shm_unlink.c: Likewise.
19086 * rt/timer_create.c: Likewise.
19087 * rt/timer_delete.c: Likewise.
19088 * rt/timer_getoverr.c: Likewise.
19089 * rt/timer_gettime.c: Likewise.
19090 * rt/timer_settime.c: Likewise.
19091 * setjmp/__longjmp.c: Likewise.
19092 * setjmp/setjmp.c: Likewise.
19093 * signal/kill.c: Likewise.
19094 * signal/killpg.c: Likewise.
19095 * signal/raise.c: Likewise.
19096 * signal/sigaction.c: Likewise.
19097 * signal/sigaltstack.c: Likewise.
19098 * signal/sigblock.c: Likewise.
19099 * signal/sigignore.c: Likewise.
19100 * signal/sigintr.c: Likewise.
19101 * signal/signal.c: Likewise.
19102 * signal/sigpause.c: Likewise.
19103 * signal/sigpending.c: Likewise.
19104 * signal/sigqueue.c: Likewise.
19105 * signal/sigreturn.c: Likewise.
19106 * signal/sigset.c: Likewise.
19107 * signal/sigsetmask.c: Likewise.
19108 * signal/sigstack.c: Likewise.
19109 * signal/sigsuspend.c: Likewise.
19110 * signal/sigtimedwait.c: Likewise.
19111 * signal/sigvec.c: Likewise.
19112 * signal/sigwait.c: Likewise.
19113 * signal/sigwaitinfo.c: Likewise.
19114 * signal/sysv_signal.c: Likewise.
19115 * socket/accept.c: Likewise.
19116 * socket/accept4.c: Likewise.
19117 * socket/bind.c: Likewise.
19118 * socket/connect.c: Likewise.
19119 * socket/getpeername.c: Likewise.
19120 * socket/getsockname.c: Likewise.
19121 * socket/getsockopt.c: Likewise.
19122 * socket/isfdtype.c: Likewise.
19123 * socket/listen.c: Likewise.
19124 * socket/recv.c: Likewise.
19125 * socket/recvfrom.c: Likewise.
19126 * socket/recvmsg.c: Likewise.
19127 * socket/send.c: Likewise.
19128 * socket/sendmsg.c: Likewise.
19129 * socket/sendto.c: Likewise.
19130 * socket/setsockopt.c: Likewise.
19131 * socket/shutdown.c: Likewise.
19132 * socket/sockatmark.c: Likewise.
19133 * socket/socket.c: Likewise.
19134 * socket/socketpair.c: Likewise.
19135 * stdio-common/ctermid.c: Likewise.
19136 * stdio-common/cuserid.c: Likewise.
19137 * stdio-common/remove.c: Likewise.
19138 * stdio-common/rename.c: Likewise.
19139 * stdio-common/renameat.c: Likewise.
19140 * stdio-common/tempname.c: Likewise.
19141 * stdlib/getcontext.c: Likewise.
19142 * stdlib/makecontext.c: Likewise.
19143 * stdlib/setcontext.c: Likewise.
19144 * stdlib/swapcontext.c: Likewise.
19145 * stdlib/system.c: Likewise.
19146 * streams/fattach.c: Likewise.
19147 * streams/fdetach.c: Likewise.
19148 * streams/getmsg.c: Likewise.
19149 * streams/getpmsg.c: Likewise.
19150 * streams/putmsg.c: Likewise.
19151 * streams/putpmsg.c: Likewise.
19152 * sysdeps/unix/bsd/getpt.c: Likewise.
19153 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
19154 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
19155 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
19157 Likewise.
19158 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
19159 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
19160 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
19161 * sysvipc/msgctl.c: Likewise.
19162 * sysvipc/msgget.c: Likewise.
19163 * sysvipc/msgrcv.c: Likewise.
19164 * sysvipc/msgsnd.c: Likewise.
19165 * sysvipc/semctl.c: Likewise.
19166 * sysvipc/semget.c: Likewise.
19167 * sysvipc/semop.c: Likewise.
19168 * sysvipc/semtimedop.c: Likewise.
19169 * sysvipc/shmat.c: Likewise.
19170 * sysvipc/shmctl.c: Likewise.
19171 * sysvipc/shmdt.c: Likewise.
19172 * sysvipc/shmget.c: Likewise.
19173 * termios/tcdrain.c: Likewise.
19174 * termios/tcflow.c: Likewise.
19175 * termios/tcflush.c: Likewise.
19176 * termios/tcgetattr.c: Likewise.
19177 * termios/tcgetpgrp.c: Likewise.
19178 * termios/tcsendbrk.c: Likewise.
19179 * termios/tcsetattr.c: Likewise.
19180 * termios/tcsetpgrp.c: Likewise.
19181 * time/adjtime.c: Likewise.
19182 * time/clock.c: Likewise.
19183 * time/getitimer.c: Likewise.
19184 * time/gettimeofday.c: Likewise.
19185 * time/setitimer.c: Likewise.
19186 * time/settimeofday.c: Likewise.
19187 * time/stime.c: Likewise.
19188 * time/time.c: Likewise.
19189
191902012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 19191
a20492cf
PT
19192 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
19193 /usr/old/bin.
19194
72e182e3
PT
19195 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
19196 instead of spaces.
19197 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
19198
fbeafede
JM
191992012-11-03 Joseph Myers <joseph@codesourcery.com>
19200
5b5b04d6
JM
19201 [BZ #14796]
19202 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
19203 FE_TONEAREST before applying Dekker multiplication and Knuth
19204 addition. Clear inexact exceptions and check for exact zero
19205 results afterwards.
19206 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19207 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19208 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19209 * math/libm-test.inc (fma_test): Add more tests.
19210 (fma_test_towardzero): Likewise.
19211 (fma_test_downward): Likewise.
19212 (fma_test_upward): Likewise.
19213 * sysdeps/generic/math_private.h (default_libc_fesetround): New
19214 function.
19215 (libc_fesetround): New macro.
19216 (libc_fesetroundf): Likewise.
19217 (libc_fesetroundl): Likewise.
19218 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
19219 function.
19220 (libc_fesetround_387): Likewise.
19221 (libc_fesetroundf): New macro.
19222 (libc_fesetround): Likewise.
19223 (libc_fesetroundl): Likewise.
19224 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
19225 function.
19226 (libc_fesetroundf): New macro.
19227 (libc_fesetround): Likewise.
19228 (libc_fesetroundl): Likewise.
19229 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
19230 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
19231 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
19232 libm_hidden_ver.
19233 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
19234 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
19235 libm_hidden_def.
19236 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
19237 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
19238 libm_hidden_ver.
19239 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
19240 libm_hidden_def.
19241
fbeafede
JM
19242 [BZ #3439]
19243 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
19244 integer constant usable in #if and use that to give value to enum
19245 constant.
19246 (FE_DIVBYZERO): Likewise.
19247 (FE_UNDERFLOW): Likewise.
19248 (FE_OVERFLOW): Likewise.
19249 (FE_INVALID): Likewise.
19250 (FE_INVALID_SNAN): Likewise.
19251 (FE_INVALID_ISI): Likewise.
19252 (FE_INVALID_IDI): Likewise.
19253 (FE_INVALID_ZDZ): Likewise.
19254 (FE_INVALID_IMZ): Likewise.
19255 (FE_INVALID_COMPARE): Likewise.
19256 (FE_INVALID_SOFTWARE): Likewise.
19257 (FE_INVALID_SQRT): Likewise.
19258 (FE_INVALID_INTEGER_CONVERSION): Likewise.
19259 (FE_TONEAREST): Likewise.
19260 (FE_TOWARDZERO): Likewise.
19261 (FE_UPWARD): Likewise.
19262 (FE_DOWNWARD): Likewise.
19263 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
19264 (FE_DIVBYZERO): Likewise.
19265 (FE_OVERFLOW): Likewise.
19266 (FE_UNDERFLOW): Likewise.
19267 (FE_INEXACT): Likewise.
19268 (FE_TONEAREST): Likewise.
19269 (FE_DOWNWARD): Likewise.
19270 (FE_UPWARD): Likewise.
19271 (FE_TOWARDZERO): Likewise.
19272 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
19273 (FE_UNDERFLOW): Likewise.
19274 (FE_OVERFLOW): Likewise.
19275 (FE_DIVBYZERO): Likewise.
19276 (FE_INVALID): Likewise.
19277 (FE_TONEAREST): Likewise.
19278 (FE_TOWARDZERO): Likewise.
19279 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
19280 (FE_OVERFLOW): Likewise.
19281 (FE_UNDERFLOW): Likewise.
19282 (FE_DIVBYZERO): Likewise.
19283 (FE_INEXACT): Likewise.
19284 (FE_TONEAREST): Likewise.
19285 (FE_TOWARDZERO): Likewise.
19286 (FE_UPWARD): Likewise.
19287 (FE_DOWNWARD): Likewise.
19288 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
19289 (FE_DIVBYZERO): Likewise.
19290 (FE_OVERFLOW): Likewise.
19291 (FE_UNDERFLOW): Likewise.
19292 (FE_INEXACT): Likewise.
19293 (FE_TONEAREST): Likewise.
19294 (FE_DOWNWARD): Likewise.
19295 (FE_UPWARD): Likewise.
19296 (FE_TOWARDZERO): Likewise.
19297
105ca950
CM
192982012-11-02 Chris Metcalf <cmetcalf@tilera.com>
19299
19300 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
19301
a542b389
AS
193022012-11-03 Andreas Schwab <schwab@linux-m68k.org>
19303
19304 * scripts/cross-test-ssh.sh (command): Use newlines to separate
19305 commands. Quote $PWD.
19306 (blacklist_exports): Don't use remove_newlines. Replace "declare
19307 -x" by "export".
19308 (remove_newlines): Remove.
19309
f62c8abc
L
193102012-11-02 H.J. Lu <hongjiu.lu@intel.com>
19311
19312 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
19313 * stdlib/stdlib.h (atof): Moved to ...
19314 * include/bits/stdlib-float.h: Here. New file.
19315 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
19316 * stdlib/bits/stdlib-float.h: New file.
19317 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
19318 -mno-sse -mno-mmx.
19319 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
19320 <xmmintrin.h>.
19321
0155d5b2
JM
193222012-11-02 Joseph Myers <joseph@codesourcery.com>
19323
a68d0680
JM
19324 * conform/conformtest.pl (@headers): Add fenv.h.
19325 * conform/data/fenv.h-data: New file.
19326 * include/fenv.h [_ISOMAC]: Disable all contents of file except
19327 include of <math/fenv.h>.
19328
caf7f573
JM
19329 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
19330 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
19331 && !UNIX98]. Enables tests for XOPEN2K8.
19332 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
19333 POSIX2008]: Likewise.
19334
6c073ad6
JM
19335 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
19336 (struct rusage): Do not expect type or its members.
19337
0155d5b2
JM
19338 [BZ #3439]
19339 * math/math.h (FP_NAN): Define macro to integer constant usable in
19340 #if and use that to give value to enum constant.
19341 (FP_INFINITE): Likewise.
19342 (FP_ZERO): Likewise.
19343 (FP_SUBNORMAL): Likewise.
19344 (FP_NORMAL): Likewise.
19345
b5dcacb4
AS
193462012-11-02 Andreas Schwab <schwab@linux-m68k.org>
19347
19348 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
19349 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
19350 arguments.
19351
f7934be8
RM
193522012-11-02 Roland McGrath <roland@hack.frob.com>
19353
19354 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
19355 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
19356 autoconf-time if not.
19357 * configure.in: Remove AC_PREREQ.
19358
d7d08bde
TMQMF
193592012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19360
19361 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
19362 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
19363 of the internal implementation.
19364
dcdae19a
JM
193652012-11-02 Joseph Myers <joseph@codesourcery.com>
19366
19367 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
19368 except include of <misc/sys/syslog.h>.
19369
d6cffd3e
AS
193702012-11-01 Andreas Schwab <schwab@linux-m68k.org>
19371
19372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
19373 function returns with a NULL context exit with zero.
19374
b3563932
TMQMF
193752012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19376
19377 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
19378
b288a93d
L
193792012-11-01 H.J. Lu <hongjiu.lu@intel.com>
19380
19381 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
19382 (run_program_cmd): This.
19383 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
19384 (tst_langinfo): New variable. Use it.
19385
a2421a68
SAS
193862012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
19387
19388 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
19389 floating point opcodes.
19390
6f796e1b
TS
193912012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19392
7402596b
TS
19393 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
19394 variable.
19395
d0d4f868
TS
19396 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
19397
6f796e1b
TS
19398 * sysdeps/mach/hurd/powerpc: Remove directory.
19399 * sysdeps/mach/powerpc: Likewise.
19400
4da224a2
AS
194012012-11-01 Andreas Schwab <schwab@linux-m68k.org>
19402
19403 * scripts/check-local-headers.sh: Ignore c++ headers.
19404
341dd673
TS
194052012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19406
19407 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
19408 __libc_cleanup_region_start argument.
19409
473611b2
JM
194102012-11-01 Joseph Myers <joseph@codesourcery.com>
19411
19412 [BZ #14784]
19413 [BZ #14785]
19414 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
19415 x * y using scaling, not as x * y + z.
19416 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19417 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19418 * math/libm-test.inc (fma_test): Add more tests.
19419 (fma_test_towardzero): Likewise.
19420 (fma_test_downward): Likewise.
19421 (fma_test_upward): Likewise.
19422
4078da3d
TS
194232012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19424
19425 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
19426
903252aa
JM
194272012-10-31 Joseph Myers <joseph@codesourcery.com>
19428
19429 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
19430 New variable.
19431
cbc818d0
TS
194322012-10-31 Thomas Schwinge <thomas@codesourcery.com>
19433
19434 * rt/tst-shm.c (worker): Correct checking for mmap failure.
19435
5a03cb1e
AS
194362012-10-31 Andreas Schwab <schwab@linux-m68k.org>
19437
19438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19439 Fix sort order.
19440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19441 Likewise.
19442
90aff2ff
TMQMF
194432012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19444
19445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19446 Fix the order of the list for glibc 2.17.
19447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19448 Likewise.
19449
1818fcb7
AS
194502012-10-31 Andreas Schwab <schwab@linux-m68k.org>
19451
19452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19453
ef82f4da
JM
194542012-10-31 Joseph Myers <joseph@codesourcery.com>
19455
16a0e2ec
JM
19456 [BZ #14610]
19457 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
19458 for low part of x being zero before using __atanl (y).
19459 * math/libm-test.inc (atan2_test): Add another test.
19460
0eb69512
JM
19461 * manual/install.texi (Configuring and compiling): Document
19462 general use of test-wrapper and test-wrapper-env.
19463 * INSTALL: Regenerated.
19464
ef82f4da
JM
19465 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
19466 (__fma): Do not extract and scale down low bits on after-rounding
19467 systems when result rounded to normal precision would have normal
19468 exponent.
19469 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
19470 (__fmal): Do not extract and scale down low bits on after-rounding
19471 systems when result rounded to normal precision would have normal
19472 exponent.
19473 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
19474 (__fmal): Do not extract and scale down low bits on after-rounding
19475 systems when result rounded to normal precision would have normal
19476 exponent.
19477 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
19478 macro.
19479 (fma_test): Add more tests.
19480 (fma_test_towardzero): Likewise.
19481 (fma_test_downward): Likewise.
19482 (fma_test_upward): Likewise.
19483
954ef0d9
L
194842012-10-30 H.J. Lu <hongjiu.lu@intel.com>
19485
19486 * sysdeps/i386/tininess.h: Renamed to ...
19487 * sysdeps/x86/tininess.h: This.
19488 * sysdeps/x86_64/tininess.h: Removed.
19489
df61ffb2
JM
194902012-10-30 Joseph Myers <joseph@codesourcery.com>
19491
19492 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
19493 input. Use $(build-program-cmd).
19494 ($(objpfx)tst-array1-static.out): Likewise.
19495 ($(objpfx)tst-array2.out): Likewise.
19496 ($(objpfx)tst-array3.out): Likewise.
19497 ($(objpfx)tst-array4.out): Likewise.
19498 ($(objpfx)tst-array5.out): Likewise.
19499 ($(objpfx)tst-array5-static.out): Likewise.
19500
01767843
CM
195012012-10-30 Chris Metcalf <cmetcalf@tilera.com>
19502
47cc1490
CM
19503 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
19504 if defined.
19505
01767843
CM
19506 * nss/nsswitch.h (nss_interface_function): Provide new
19507 macro for use with NSS functions.
19508 * grp/initgroups.c: Use new macro.
19509 * nss/getXXbyYY.c: Likewise.
19510 * nss/getXXbyYY_r.c: Likewise.
19511 * nss/getXXent.c: Likewise.
19512 * nss/getXXent_r.c: Likewise.
19513 * sysdeps/posix/getaddrinfo.c: Likewise.
19514
8321aa97
AJ
195152012-10-30 Andreas Jaeger <aj@suse.de>
19516
19517 * po/ru.po: Update Russion translation from translation project.
19518
2a27fd6d
JM
195192012-10-30 Joseph Myers <joseph@codesourcery.com>
19520
8627a232
JM
19521 [BZ #14152]
19522 [BZ #14783]
19523 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
19524 result and shift together with sticky bit instead of replicating
19525 round-to-nearest rounding.
19526 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19527 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19528 * math/libm-test.inc (fma_test): Add more tests. Do not permit
19529 missing underflow exceptions.
19530 (fma_test_towardzero): Add more tests.
19531 (fma_test_downward): Likewise.
19532 (fma_test_upward): Likewise.
19533
2a27fd6d
JM
19534 [BZ #14047]
19535 * sysdeps/generic/tininess.h: New file.
19536 * sysdeps/i386/tininess.h: Likewise.
19537 * sysdeps/sh/tininess.h: Likewise.
19538 * sysdeps/x86_64/tininess.h: Likewise.
19539 * stdlib/tst-strtod-underflow.c: Likewise.
19540 * stdlib/tst-tininess.c: Likewise.
19541 * stdlib/strtod_l.c: Include <tininess.h>.
19542 (round_and_return): Do not set errno for exact underflow cases.
19543 Force an underflow exception when setting errno for underflow.
19544 Determine underflow based on rounding to normal precision if
19545 TININESS_AFTER_ROUNDING.
19546 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
19547 ERANGE for exact underflow cases.
19548 * stdlib/Makefile (tests): Add tst-tininess and
19549 tst-strtod-underflow.
19550 ($(objpfx)tst-tininess): Use $(link-libm).
19551 ($(objpfx)tst-strtod-underflow): Likewise.
19552
e7170363
AJ
195532012-10-30 Andreas Jaeger <aj@suse.de>
19554
e5088dc6
AJ
19555 [BZ#14767]
19556 * elf/Makefile (tests): Remove conditional for have-initfini-array
19557 since this is now always required and the variable does not exist
19558 anymore.
19559 (tests-static): Likewise.
19560 (modules-names): Likewise.
19561
e7170363 19562 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
19563
19564 * elf/tst-array1.c (fini_array): Make writeable so that it can be
19565 merged with constructor/destructor.
19566 (init_array): Likewise.
19567 * elf/tst-array2dep.c (fini_array): Likewise.
19568 (init_array): Likewise.
19569
60457d8a
MF
195702012-10-29 Mike Frysinger <vapier@gentoo.org>
19571
19572 * manual/message.texi: Delete @cartouche tags.
19573
8bece752
PT
195742012-10-29 Pino Toscano <toscano.pino@tiscali.it>
19575
94ce799f
PT
19576 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
19577 EOPNOTSUPP.
19578 * sysdeps/mach/hurd/fsync.c: Likewise.
19579
8bece752
PT
19580 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
19581 [_POSIX_REALTIME_SIGNALS]: Change condition to
19582 [_POSIX_REALTIME_SIGNALS > 0].
19583
86ebe6b1
AJ
195842012-10-27 Andreas Jaeger <aj@suse.de>
19585
19586 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
19587 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
19588 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
19589 [__WORDSIZE != 64]: Likewise.
19590
54399c08
L
195912012-10-26 H.J. Lu <hongjiu.lu@intel.com>
19592
19593 * iconvdata/tst-table.sh: Remove ${SHELL}.
19594 * iconvdata/tst-tables.sh: Likewise.
19595
e2211bed
DM
195962012-10-25 David S. Miller <davem@davemloft.net>
19597
19598 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19599 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
19600 of strtoull.
19601
f303f97c
DM
19602 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
19603 ifunc-impl-list.c
19604 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19605 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
19606 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
19607 file.
19608
1e9d84cd
RM
196092012-10-25 Roland McGrath <roland@hack.frob.com>
19610
19611 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19612 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
19613 __getdirentries.
19614
df381762
JM
196152012-10-25 Joseph Myers <joseph@codesourcery.com>
19616 Jim Blandy <jimb@codesourcery.com>
19617
19618 * scripts/cross-test-ssh.sh: New file.
19619 * manual/install.texi (Configuring and compiling): Document use of
19620 cross-test-ssh.sh.
19621 * INSTALL: Regenerated.
19622
bff64913
PT
196232012-10-25 Pino Toscano <toscano.pino@tiscali.it>
19624
19625 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
19626 EOPNOTSUPP.
19627
25fe8932
JM
196282012-10-25 Joseph Myers <joseph@codesourcery.com>
19629
19630 * Makeconfig (run-program-prefix): Fix comment.
19631
cc1290d0
JM
196322012-10-24 Joseph Myers <joseph@codesourcery.com>
19633 Jim Blandy <jimb@codesourcery.com>
19634
19635 * Makeconfig (test-wrapper): New variable,
19636 (test-wrapper-env): Likewise.
19637 [$(cross-compiling) = yes && $(test-wrapper) != ""]
19638 (run-built-tests): Define to yes.
19639 (run-program-prefix): Use $(test-wrapper).
19640 (built-program-cmd): Likewise.
19641 * Rules (make-test-out): Use $(test-wrapper-env) and
19642 $(host-built-program-cmd).
19643 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
19644 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
19645 tst-pathopt.sh.
19646 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
19647 $(test-wrapper-env) to tst-rtld-load-self.sh.
19648 ($(objpfx)order2.out): Use $(test-wrapper).
19649 ($(objpfx)tst-initorder.out): Likewise.
19650 ($(objpfx)tst-initorder2.out): Likewise.
19651 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
19652 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
19653 (test_wrapper_env): New variable. Use it to run ld.so.
19654 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
19655 Use it to run ld.so.
19656 (test_wrapper_env): Likewise.
19657 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
19658 $(test-wrapper) to run-iconv-test.sh.
19659 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
19660 (ICONV): Use $test_wrapper.
19661 * posix/Makefile ($(objpfx)globtest.out): Pass
19662 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
19663 globtest.sh, not $(run-program-prefix).
19664 * posix/globtest.sh (run_via_rtld_prefix): New variable.
19665 (test_wrapper): Likewise.
19666 (test_wrapper_env): Likewise. Use it to run globtest with HOME
19667 set together with run_via_rtld_prefix.
19668 (run_program_prefix): Define in terms of test_wrapper and
19669 run_via_rtld_prefix.
19670
6e6249d0
RM
196712012-10-24 Roland McGrath <roland@hack.frob.com>
19672
19673 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
19674 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
19675 Targets removed.
19676
19677 [BZ #14743]
19678 * include/time.h: Remove librt_hidden_proto (clock_gettime).
19679 Declare __clock_getres, __clock_gettime, __clock_settime,
19680 __clock_nanosleep, and __clock_getcpuclockid.
19681 * rt/clock_gettime.c: Define __clock_gettime as an alias.
19682 Remove librt_hidden_def (clock_gettime).
19683 * sysdeps/unix/clock_gettime.c: Likewise.
19684 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
19685 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
19686 * rt/clock_getres.c: Define __clock_getres as an alias.
19687 * sysdeps/posix/clock_getres.c: Likewise.
19688 * rt/clock_settime.c: Define __clock_settime as an alias.
19689 * sysdeps/unix/clock_settime.c: Likewise.
19690 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
19691 * sysdeps/unix/clock_nanosleep.c: Likewise.
19692 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
19693 * rt/clock-compat.c: New file.
19694 * rt/Makefile (librt-routines): Add clock-compat and move
19695 $(clock-routines) to ...
19696 (routines): ... here, new variable.
19697 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
19698 Don't add get_clockfreq here.
19699 * rt/Versions (libc: GLIBC_2.17): New version set.
19700 Add clock_* symbols here.
19701 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
19702 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
19703 (GLIBC_2.17): Add clock_* symbols.
19704 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19705 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19706 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19708 Likewise.
19709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19710 Likewise.
19711 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19712 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
19713 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19714 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19715 * NEWS: Mention the move.
19716
19717 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19718 Use __open, __read, __close rather than their public counterparts.
19719 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19720 (__get_clockfreq_via_cpuinfo): Likewise.
19721 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
19722 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
19723
19724 * config.h.in (HAVE_IFUNC): New #undef.
19725 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
19726 was successful.
19727 * configure: Regenerated.
19728
0cae3f4b
MF
197292012-10-24 Mike Frysinger <vapier@gentoo.org>
19730
19731 * configure.in: Move READELF check to start of file.
19732 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
19733 libc_cv_asm_gnu_indirect_function in the process.
19734 * configure: Regenerated.
19735
8175a253
MF
197362012-10-24 Mike Frysinger <vapier@gentoo.org>
19737
19738 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
19739 send the output to /dev/null.
19740 (libc_cv_cc_with_libunwind): Likewise.
19741 (libc_cv_as_noexecstack): Likewise.
19742 * configure: Regenerate.
19743
0708a7d1
JM
197442012-10-24 Joseph Myers <joseph@codesourcery.com>
19745
10b40d85
JM
19746 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
19747
0708a7d1
JM
19748 * posix/globtest.sh (TMPDIR): Do not set.
19749 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
19750 (testout): Likewise.
19751
9fddec1a
AJ
197522012-10-24 Andreas Jaeger <aj@suse.de>
19753
3a8db22f
AJ
19754 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
19755 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
19756 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
19757 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
19758 posix_fadvise64, posix_fallocate64.
19759
9fddec1a
AJ
19760 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
19761 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
19762 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
19763 Likewise.
19764 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
19765 Likewise.
19766 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
19767
19768 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
19769 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
19770 <bits/fcntl-linux.h>.
19771 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
19772
19773 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
19774 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
19775 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
19776 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
19777 [__WORDSIZE != 64]: Likewise.
19778
ebfd1bbd
JM
197792012-10-23 Joseph Myers <joseph@codesourcery.com>
19780
03ac099f
JM
19781 * Makeconfig (run-built-tests): New variable.
19782 * Rules [$(cross-compiling) = yes]: Change condition to
19783 [$(run-built-tests) = no].
19784 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
19785 to [$(run-built-tests) = yes].
19786 * elf/Makefile [$(cross-compiling) = no]: Likewise
19787 * grp/Makefile [$(cross-compiling) = no]: Likewise.
19788 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
19789 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
19790 * intl/Makefile [$(cross-compiling) = no]: Likewise.
19791 * io/Makefile [$(cross-compiling) = no]: Likewise.
19792 * libio/Makefile [$(cross-compiling) = no]: Likewise.
19793 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
19794 * misc/Makefile [$(cross-compiling) = no]: Likewise.
19795 * posix/Makefile [$(cross-compiling) = no]: Likewise.
19796 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
19797 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
19798 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
19799 * string/Makefile [$(cross-compiling) = no]: Likewise.
19800
ebfd1bbd
JM
19801 * posix/Makefile ($(objpfx)globtest.out): Pass
19802 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
19803 $(rtld-installed-name).
19804 * posix/globtest.sh (elf_objpfx): Remove variable.
19805 (rtld_installed_name): Likewise.
19806 (library_path): Likewise.
19807 (run_program_prefix): New variable. Use for running globtest
19808 binary.
19809
166bca24
JB
198102012-10-23 Jim Blandy <jimb@codesourcery.com>
19811 Joseph Myers <joseph@codesourcery.com>
19812
19813 * Makeconfig (host-built-program-cmd): New variable.
19814 * elf/Makefile (tst-stackguard1-ARGS): Use
19815 $(host-built-program-cmd).
19816 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
19817 (tst-spawn-ARGS): Likewise.
19818 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
19819
88866099
JM
198202012-10-23 Joseph Myers <joseph@codesourcery.com>
19821 Jim Blandy <jimb@codesourcery.com>
19822
19823 * Makeconfig (run-via-rtld-prefix): New variable.
19824 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
19825 (built-program-cmd): Likewise.
19826
b4b4c296
AJ
198272012-10-22 Andreas Jaeger <aj@suse.de>
19828
19829 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
19830 __O_RSYNC if it exists, otherwise to O_SYNC.
19831
6fb54a22
JB
198322012-10-22 Jim Blandy <jimb@codesourcery.com>
19833 Joseph Myers <joseph@codesourcery.com>
19834
19835 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
19836 /dev/null.
19837 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
19838 from /dev/null
19839 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
19840 /dev/null.
19841
481b90b9
AJ
198422012-10-22 Andreas Jaeger <aj@suse.de>
19843
2a0e2669
AJ
19844 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
19845 Define always.
19846 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
19847
76e38f9a
AJ
19848 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19849 bits/fcntl-linux.h.
19850
7cd37b43
AJ
19851 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
19852 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
19853
481b90b9
AJ
19854 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
19855 to __O_LARGEFILE.
19856 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
19857 to __O_LARGEFILE.
19858
aba75984
JB
198592012-10-21 Jim Blandy <jimb@codesourcery.com>
19860 Joseph Myers <joseph@codesourcery.com>
19861
19862 * config.make.in (NM): New variable.
19863
88d4247f
AJ
198642012-10-21 Andreas Jaeger <aj@suse.de>
19865
19866 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
19867 definitions and declarations that are provided by
19868 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
19869
f2eed205
L
198702012-10-20 H.J. Lu <hongjiu.lu@intel.com>
19871
19872 [BZ #14683]
19873 * elf/Makefile (tests-static): Add tst-leaks1-static.
19874 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
19875 ($(objpfx)tst-leaks1-static): New rule.
19876 ($(objpfx)tst-leaks1-static-mem): Likewise.
19877 (tst-leaks1-static-ENV): New macro.
19878 * elf/dl-open.c (dl_open_worker): Check the main application
19879 only if SHARED is defined.
19880 * elf/tst-leaks1-static.c: New file.
19881
335e6931
AJ
198822012-10-20 Andreas Jaeger <aj@suse.de>
19883
19884 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
19885 generic values for Linux.
19886 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
19887 and declarations that are provided by <bits/fcntl-linux.h> and
19888 include <bits/fcntl-linux.h>.
19889 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19890 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19891
ac5c94d3
RM
198922012-10-20 Roland McGrath <roland@hack.frob.com>
19893
19894 * io/fcntl.h: Move include of <bits/types.h> to the top and
19895 include it unconditionally.
19896
de54b33a
L
198972012-10-20 H.J. Lu <hongjiu.lu@intel.com>
19898
228cfb01
L
19899 * wcsmbs/Makefile (tests-ifunc): New variable.
19900 (tests): Add $(tests-ifunc).
19901 * wcsmbs/test-wcschr-ifunc.c: New file.
19902 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
19903 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
19904 * wcsmbs/test-wcslen-ifunc.c: Likewise.
19905 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
19906 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
19907
69f07e5f
L
19908 * string/Makefile (tests-ifunc): New variable.
19909 (tests): Add $(tests-ifunc).
19910 * string/test-memccpy.c (TEST_NAME): New macro.
19911 * string/test-memchr.c (TEST_NAME): Likewise.
19912 * string/test-memcmp.c (TEST_NAME): Likewise.
19913 * string/test-memcpy.c (TEST_NAME): Likewise.
19914 * string/test-memmem.c (TEST_NAME): Likewise.
19915 * string/test-memmove.c (TEST_NAME): Likewise.
19916 * string/test-memset.c (TEST_NAME): Likewise.
19917 * string/test-rawmemchr.c (TEST_NAME): Likewise.
19918 * string/test-stpcpy.c (TEST_NAME): Likewise.
19919 * string/test-stpncpy.c (TEST_NAME): Likewise.
19920 * string/test-strcasecmp.c (TEST_NAME): Likewise.
19921 * string/test-strcasestr.c (TEST_NAME): Likewise.
19922 * string/test-strcat.c (TEST_NAME): Likewise.
19923 * string/test-strchr.c (TEST_NAME): Likewise.
19924 * string/test-strcmp.c(TEST_NAME): Likewise.
19925 * string/test-strcpy.c (TEST_NAME): Likewise.
19926 * string/test-strcspn.c (TEST_NAME): Likewise.
19927 * string/test-strlen.c (TEST_NAME): Likewise.
19928 * string/test-strncasecmp.c (TEST_NAME): Likewise.
19929 * string/test-strncmp.c (TEST_NAME): Likewise.
19930 * string/test-strncpy.c (TEST_NAME): Likewise.
19931 * string/test-strnlen.c (TEST_NAME): Likewise.
19932 * string/test-strpbrk.c (TEST_NAME): Likewise.
19933 * string/test-strrchr.c (TEST_NAME): Likewise.
19934 * string/test-strspn.c (TEST_NAME): Likewise.
19935 * string/test-strstr.c (TEST_NAME): Likewise.
19936 * string/test-bcopy-ifunc.c: New file.
19937 * string/test-bzero-ifunc.c: Likewise.
19938 * string/test-memccpy-ifunc.c: Likewise.
19939 * string/test-memchr-ifunc.c: Likewise.
19940 * string/test-memcmp-ifunc.c: Likewise.
19941 * string/test-memcpy-ifunc.c: Likewise.
19942 * string/test-memmem-ifunc.c: Likewise.
19943 * string/test-memmove-ifunc.c: Likewise.
19944 * string/test-mempcpy-ifunc.c: Likewise.
19945 * string/test-memset-ifunc.c: Likewise.
19946 * string/test-rawmemchr-ifunc.c: Likewise.
19947 * string/test-stpcpy-ifunc.c: Likewise.
19948 * string/test-stpncpy-ifunc.c: Likewise.
19949 * string/test-strcasecmp-ifunc.c: Likewise.
19950 * string/test-strcasestr-ifunc.c: Likewise.
19951 * string/test-strcat-ifunc.c: Likewise.
19952 * string/test-strchr-ifunc.c: Likewise.
19953 * string/test-strchrnul-ifunc.c: Likewise.
19954 * string/test-strcmp-ifunc.c: Likewise.
19955 * string/test-strcpy-ifunc.c: Likewise.
19956 * string/test-strcspn-ifunc.c: Likewise.
19957 * string/test-strlen-ifunc.c: Likewise.
19958 * string/test-strncasecmp-ifunc.c: Likewise.
19959 * string/test-strncat-ifunc.c: Likewise.
19960 * string/test-strncmp-ifunc.c: Likewise.
19961 * string/test-strncpy-ifunc.c: Likewise.
19962 * string/test-strnlen-ifunc.c: Likewise.
19963 * string/test-strpbrk-ifunc.c: Likewise.
19964 * string/test-strrchr-ifunc.c: Likewise.
19965 * string/test-strspn-ifunc.c: Likewise.
19966 * string/test-strstr-ifunc.c: Likewise.
19967
de54b33a
L
19968 * debug/Makefile (tests-ifunc): New variable.
19969 (tests): Add $(tests-ifunc).
19970 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
19971 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
19972 * debug/test-stpcpy_chk-ifunc.c: New file.
19973 * debug/test-strcpy_chk-ifunc.c: Likewise.
19974
88481c16
SP
199752012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19976
19977 [BZ #13601]
19978 * elf/dl-load.c (open_verify): Retry read if the entire ELF
19979 header is not read in.
19980
135948bd
JM
199812012-10-19 Joseph Myers <joseph@codesourcery.com>
19982
89f1c388
JM
19983 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
19984 script to $(SHELL) as $<. Pass $(common-objpfx) to script
19985 directly. Pass built executable to script as
19986 $(built-program-cmd).
19987 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
19988 $testprogram without using LD_LIBRARY_PATH and $ldso.
19989
e40a0d21
JM
19990 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
19991 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
19992 $(rtld-installed-name).
19993 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
19994 (rtld_installed_name): Likewise.
19995 (library_path): Likewise.
19996 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
19997 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
19998 $(run-program-prefix) to tst-tables.sh.
19999 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
20000 it to run tst-table-from and tst-table-to.
20001 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
20002 Pass it to tst-table.sh.
20003 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
20004 $(run-program-prefix) to tst-gettext.sh.
20005 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
20006 tst-translit.sh.
20007 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
20008 tst-gettext2.sh.
20009 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
20010 to run tst-gettext.
20011 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
20012 to run tst-gettext2.
20013 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
20014 to run tst-translit.
20015 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
20016 $(run-program-prefix) to tst-mtrace.sh.
20017 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
20018 to run tst-mtrace.
20019 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
20020 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
20021 $(rtld-installed-name).
20022 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
20023 (rtld_installed_name): Likewise.
20024 (run_program_prefix): New variable. Use it to run wordexp-test.
20025
728e272a
JM
20026 * Makeconfig (ARCH): Remove all definitions.
20027 (machine): Likewise.
20028 [ARCH]: Remove conditional code.
20029 [!objdir]: Give error.
20030 [!objdir] (objpfx): Remove.
20031 [!objdir] (common-objpfx): Likewise.
20032 [!objdir] (common-objdir): Likewise.
20033 * configure.in (config_makefile): Remove. Hardcode Makefile in
20034 AC_CONFIG_FILES call.
20035 * configure: Regenerated.
20036
d528cdcf
JM
20037 [BZ #13888]
20038 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
20039 or TMPDIR.
20040 (testout): Likewise.
20041
135948bd
JM
20042 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
20043 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
20044 $(rtld-installed-name).
20045 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
20046 (rtld_installed_name): Likwise.
20047 (runit): Remove function.
20048 (run_getconf): New variable, Use it for running getconf binary.
20049
38c78296
L
200502012-10-18 H.J. Lu <hongjiu.lu@intel.com>
20051
20052 [BZ #14716]
20053 * string/test-memmem.c (check_result): New function.
20054 (do_one_test): Use it.
20055 (check1): New function.
20056 (test_main): Use it.
20057
d077f65f
MT
200582012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
20059
20060 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
20061
ced52c71
JM
200622012-10-18 Joseph Myers <joseph@codesourcery.com>
20063
20064 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
20065 (_G_LSEEK64): Likewise.
20066 (_G_MMAP64): Likewise.
20067 (_G_FSTAT64): Likewise.
20068 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
20069 (_G_LSEEK64): Likewise.
20070 (_G_MMAP64): Likewise.
20071 (_G_FSTAT64): Likewise.
20072 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
20073 unconditional. Call __mmap64 directly.
20074 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
20075 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
20076 __lseek64 directly.
20077 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
20078 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
20079 __mmap64 directly.
20080 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
20081 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
20082 __lseek64 directly.
20083 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
20084 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
20085 __lseek64 directly.
20086 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
20087 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
20088 __lseek64 directly.
20089 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
20090 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
20091 __fxstat64 directly.
20092 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
20093 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
20094 unconditional.
20095 (freopen64) [!_G_OPEN64]: Remove conditional code.
20096 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
20097 unconditional.
20098 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
20099 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
20100 unconditional.
20101 (ftello64) [!_G_LSEEK64]: Remove conditional code.
20102 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
20103 unconditional.
20104 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
20105 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
20106 unconditional.
20107 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
20108 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
20109 unconditional.
20110 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
20111 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
20112 unconditional.
20113 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
20114 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
20115 unconditional.
20116 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
20117
b741de23
SP
201182012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20119
20120 [BZ #12140]
20121 * manual/memory.texi (Malloc Tunable Parameters): Add note
20122 about free list pointers overwriting some perturb bytes.
20123 Wording suggested by Roland McGrath.
20124
f9b9d9c9
JM
201252012-10-17 Joseph Myers <joseph@codesourcery.com>
20126
20127 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
20128 (lgamma_test): Likewise.
20129 (tgamma_test): Likewise.
20130
172a631a
FW
201312012-10-16 Florian Weimer <fweimer@redhat.com>
20132
20133 [BZ #14700]
20134 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
20135 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
20136
e9f37252
MK
201372012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
20138
20139 * NEWS: Mention BZ #14716.
20140 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
20141 when removing AVAILABLE1_USES_J macro.
20142
d394eb74
L
201432012-10-12 H.J. Lu <hongjiu.lu@intel.com>
20144
20145 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
20146 (__bswap_64): __uint64_t for unsigned 64-bit int.
20147
ca38dc17
AS
201482012-10-12 Andreas Schwab <schwab@linux-m68k.org>
20149
20150 * include/string.h (memmem): Declare libc hidden alias.
20151 * string/memmem.c (memmem): Define libc hidden alias.
20152 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
20153 __read, __close instead of open, read, close.
20154
9a387d1f
L
201552012-10-11 H.J. Lu <hongjiu.lu@intel.com>
20156
ac49ecaf
L
20157 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
20158 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
20159 global and hidden.
20160 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
20161 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
20162 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
20163 Likewise.
20164 (__rawmemchr_sse2): Likewise.
20165 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
20166 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
20167 (__strchr_sse2): Likewise.
20168 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
20169 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
20170 (__strcasecmp_sse2): Likewise.
20171 (__strncasecmp_sse2): Likewise.
20172 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
20173 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
20174 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
20175 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
20176 (__strrchr_sse2): Likewise.
20177 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
20178 ifunc-impl-list.c.
20179 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
20180 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20181 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20182 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20183 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20184 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20185 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20186 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20187 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
20188 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
20189 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
20190 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
20191 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
20192 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
20193 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
20194 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20195 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
20196 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
20197 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
20198 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
20199 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
20200 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
20201 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
20202 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20203 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
20204 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20205 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20206 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20207 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20208 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20209
b090e8ea
L
20210 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
20211 global and hidden.
20212 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
20213 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
20214 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
20215 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
20216 Likewise.
20217 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
20218 Likewise.
20219 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
20220 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
20221 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
20222 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
20223 ifunc-impl-list.c.
20224 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20225 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20226 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20227 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20228 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20229 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20230 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20231 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20232 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20233 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20234 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20235 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20236 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20237 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
20238 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
20239 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20240 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
20241 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
20242 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20243 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20244 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20245 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20246 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20247 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20248 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20249 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
20250 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
20251 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
20252 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
20253 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20254 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
20255 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20256 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20257 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
20258 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20259 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20260 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20261 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20262 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20263 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20264 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
20265
11dd4af6
L
20266 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
20267 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
20268 * include/ifunc-impl-list.h: New file.
20269 * misc/ifunc-impl-list.c: Likewise.
20270 * misc/Makefile (routines): Add ifunc-impl-list.
20271 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
20272 * string/test-string.h: Include <ifunc-impl-list.h>.
20273 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
20274 impl_array): New variables.
20275 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
20276 are defined.
20277 (test_init): Call __libc_ifunc_impl_list to initialize
20278 func_list if TEST_IFUNC and TEST_NAME are defined.
20279
9a387d1f
L
20280 * string/Makefile (strop-tests): Add bcopy and bzero.
20281 * string/test-bcopy.c: New file.
20282 * string/test-bzero.c: Likewise.
20283 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
20284 defined.
20285 * string/test-memset.c: Support bzero test if TEST_BZERO is
20286 defined.
20287 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
20288 __libc_memmove.
20289 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
20290 __libc_memset.
20291 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
20292 of memset.
20293
472371b9
JM
202942012-10-10 Joseph Myers <joseph@codesourcery.com>
20295
1e4a9536
JM
20296 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
20297 * configure: Regenerated.
20298
d173d12e
JM
20299 * Makeconfig (+link-static-before-libc): Don't include
20300 $(link-static-libc).
20301
472371b9
JM
20302 * libio/libio.h (_IO_pos_t): Remove.
20303
89a3ad0b
AO
203042012-10-10 Alexandre Oliva <aoliva@redhat.com>
20305
20306 * NEWS: Add note about FIPS mode. Wording suggested by Roland
20307 McGrath.
20308
e7451425
AO
203092012-10-10 Alexandre Oliva <aoliva@redhat.com>
20310
20311 * crypt/crypt-entry.c: Include fips-private.h.
20312 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
20313 * crypt/md5c-test.c (main): Tolerate disabled MD5.
20314 * sysdeps/unix/sysv/linux/fips-private.h: New file.
20315 * sysdeps/generic/fips-private.h: New file, dummy fallback.
20316
4ba74a35
AO
203172012-10-10 Alexandre Oliva <aoliva@redhat.com>
20318
20319 * crypt/crypt-private.h: Include stdbool.h.
20320 (_ufc_setup_salt_r): Return bool.
20321 * crypt/crypt-entry.c: Include errno.h.
20322 (__crypt_r): Return NULL with EINVAL for bad salt.
20323 * crypt/crypt_util.c (bad_for_salt): New.
20324 (_ufc_setup_salt_r): Check that salt is long enough and within
20325 the specified alphabet.
20326 * crypt/badsalttest.c: New file.
20327 * crypt/Makefile (tests): Add it.
20328 ($(objpfx)badsalttest): New.
20329
f96f1242
MK
203302012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
20331
20332 * NEWS: Add entry for BZ #14602.
20333
0e8e0c1c
JM
203342012-10-09 Joseph Myers <joseph@codesourcery.com>
20335
20336 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
20337 type-generic.
20338 * math/libm-test.inc: Update comment listing what functions and
20339 macros are tested.
20340 (isgreater_test): New function.
20341 (isgreaterequal_test): Likewise.
20342 (isless_test): Likewise.
20343 (islessequal_test): Likewise.
20344 (islessgreater_test): Likewise.
20345 (isunordered_test): Likewise.
20346 (main): Call the new functions.
20347
273edc5e
RM
203482012-10-09 Roland McGrath <roland@hack.frob.com>
20349
b8493de0
RM
20350 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
20351 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
20352 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
20353 * sysdeps/i386/configure: Regenerated.
20354 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
20355 * sysdeps/mach/configure: Regenerated.
20356 * sysdeps/mach/hurd/configure: Regenerated.
20357 * sysdeps/powerpc/configure: Regenerated.
20358 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20359 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20360 * sysdeps/s390/s390-32/configure: Regenerated.
20361 * sysdeps/s390/s390-64/configure: Regenerated.
20362 * sysdeps/sh/configure: Regenerated.
20363 * sysdeps/sparc/configure: Regenerated.
20364 * sysdeps/unix/sysv/linux/configure: Regenerated.
20365 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
20366 * sysdeps/x86_64/configure: Regenerated.
20367
273edc5e
RM
20368 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
20369 defined. Don't check if MAP is NULL.
20370
c8450f70
JM
203712012-10-09 Joseph Myers <joseph@codesourcery.com>
20372
20373 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
20374 (_G_stat64): Likewise.
20375 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
20376 (_G_stat64): Likewise.
20377 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
20378 instead of struct _G_stat64.
20379 * libio/fileops.c (mmap_remap_check): Likewise.
20380 (decide_maybe_mmap): Likewise.
20381 (_IO_new_file_seekoff): Likewise.
20382 (_IO_file_stat): Likewise.
20383 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
20384 _G_off64_t.
20385 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
20386 instead of struct _G_stat64.
20387 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20388
57e605ba
MK
203892012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
20390
20391 [BZ #14602]
20392 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20393 Replace with ...
20394 (CHECK_EOL): New macro.
20395 (two_way_short_needle): Check beginning of haystack for EOL. Use
20396 CHECK_EOL.
20397 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20398 Replace with CHECK_EOL.
20399 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20400 Replace with CHECK_EOL.
20401
ef1bb361
JM
204022012-10-08 Joseph Myers <joseph@codesourcery.com>
20403
20404 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
20405 type-generic.
20406 * math/libm-test.inc: Update comment listing what functions and
20407 macros are tested.
20408 (finite_test): New function.
20409 (isinf_test): Likewise.
20410 (isnan_test): Likewise.
20411 (fpclassify_test): Test subnormal input.
20412 (isfinite_test): Likewise.
20413 (isnormal_test): Likewise.
20414 (main): Call the new functions.
20415
55f11534
JN
204162012-10-08 Jonathan Nieder <jrnieder@gmail.com>
20417
20418 [BZ #14660]
20419 * Makerules (%.dynsym): Force C locale when running
20420 $(OBJDUMP) --dynamic-syms.
20421
1ab29350
AS
204222012-10-08 Andreas Schwab <schwab@linux-m68k.org>
20423
20424 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
20425 <stdint.h>.
20426
f1ecb7ef
DM
204272012-10-06 David S. Miller <davem@davemloft.net>
20428
20429 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
20430 upper 32-bits of the length value in %o2 since we use branch-on-register
20431 tests which consider the entire 64-bit register.
20432
5d41d91a
L
204332012-10-06 H.J. Lu <hongjiu.lu@intel.com>
20434
20435 * string/test-strstr.c (check2): Add a test for page boundary.
20436
3baddb72
DM
204372012-10-05 David S. Miller <davem@davemloft.net>
20438
20439 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
20440 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
20441 file.
20442 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20443 sysdep_routines.
20444 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20445 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
20446 and bzero when HWCAP_SPARC_CRYPTO is present.
20447
9cee5585
L
204482012-10-05 H.J. Lu <hongjiu.lu@intel.com>
20449
d7e0dab9
L
20450 [BZ #14602]
20451 * string/test-strstr.c (check2): New function.
20452 (test_main): Call check2.
20453
03759f47
L
20454 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
20455 and bug-strchr1.
20456 * string/bug-strcasestr1.c (do_test): Moved to ...
20457 * string/test-strcasestr.c (check1): Here. New function.
20458 (do_one_test): Break out result checking code into ...
20459 (check_result): This. New function.
20460 (do_one_test): Call check_result.
20461 (test_main): Call check1.
20462 * string/bug-strchr1.c (do_test): Moved to ...
20463 * string/test-strchr.c (check1): Here. New function.
20464 (do_one_test): Break out result checking code into ...
20465 (check_result): This. New function.
20466 (do_one_test): Call check_result.
20467 (test_main): Call check1.
20468 * string/bug-strstr1.c (main): Moved to ...
046f153e 20469 * string/test-strstr.c (check1): Here. New function.
03759f47
L
20470 (do_one_test): Break out result checking code into ...
20471 (check_result): This. New function.
20472 (do_one_test): Call check_result.
20473 (test_main): Call check1.
20474 * string/bug-strcasestr1.c: Removed.
20475 * string/bug-strchr1.c: Likewise.
20476 * string/bug-strstr1.c: Likewise.
20477
53cea63e
L
20478 * elf/Makefile (dl-routines): Add hwcaps.
20479 * elf/dl-support.c (_dl_important_hwcaps): Removed.
20480 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
20481 (_dl_important_hwcaps): Moved to ...
20482 * elf/dl-hwcaps.c: Here. New file.
20483 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
20484
9cee5585 20485 [BZ #14557]
bb859b06
L
20486 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
20487 if IS_IN_rtld isn't defined.
20488
9cee5585
L
20489 * elf/dl-support.c (_dl_sysinfo_map): New.
20490 Include "get-dynamic-info.h" and "setup-vdso.h".
20491 (_dl_non_dynamic_init): Call setup_vdso.
20492 * elf/dynamic-link.h: Don't include <assert.h>.
20493 (elf_get_dynamic_info): Moved to ...
20494 * elf/get-dynamic-info.h: Here. New file.
20495 * elf/dynamic-link.h: Include "get-dynamic-info.h".
20496 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
20497 * elf/setup-vdso.h: Here. New file.
20498 * elf/rtld.c: Include "setup-vdso.h".
20499 (dl_main): Call setup_vdso.
20500
23c31b76
JM
205012012-10-05 Joseph Myers <joseph@codesourcery.com>
20502
28234b07
JM
20503 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
20504 creal in comment listing functions tested. List finite, isinf,
20505 isnan, isless, islessequal, isgreater, isgreaterequal,
20506 islessgreater, isunordered, lgamma_r and pow10 as functions and
20507 macros not tested. Mention which functions not tested are aliases
20508 for other functions. Fix typo. Note that signs of NaNs are not
20509 tested.
20510
23c31b76
JM
20511 * scripts/config.guess: Update from config.git.
20512 * scripts/config.sub: Likewise.
20513
9043e228
RM
205142012-10-04 Roland McGrath <roland@hack.frob.com>
20515
20516 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
20517 * misc/madvise.c (madvise): Renamed to __madvise.
20518 Make madvise a weak alias.
20519 * include/sys/mman.h: Declare __madvise.
20520 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
20521 * sysdeps/unix/syscalls.list
20522 (madvise): Make __madvise the strong name, and madvise a weak alias.
20523 * sysdeps/unix/sysv/linux/syscalls.list
20524 (madvise, mmap): Remove redundant entries.
20525 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
20526 * malloc/malloc.c (mtrim): Likewise.
20527 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
20528
f57f8055
RM
205292012-10-03 Roland McGrath <roland@hack.frob.com>
20530
20531 * sysdeps/mach/hurd/dl-cache.c: File removed.
20532 * config.h.in (USE_LDCONFIG): New #undef.
20533 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
20534 * configure: Regenerated.
20535 * elf/Makefile (dl-routines): Add dl-cache only under
20536 [$(use-ldconfig) = yes].
20537 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
20538 cache on [USE_LDCONFIG].
20539 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
20540 [USE_LDCONFIG].
20541 * elf/rtld.c (dl_main): Likewise.
20542
5bb0c10a
PT
205432012-10-03 Pino Toscano <toscano.pino@tiscali.it>
20544
20545 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
20546 _SC_LEVEL4_CACHE_LINESIZE.
20547
010188c6
RM
205482012-10-03 Roland McGrath <roland@hack.frob.com>
20549
20550 * sysdeps/unix/bsd/confstr.h: File removed.
20551
b6c5ec07
AO
205522012-10-02 Alexandre Oliva <aoliva@redhat.com>
20553
20554 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
20555 sys/sdt-config.h.
20556
408223d4
RM
205572012-10-02 Roland McGrath <roland@hack.frob.com>
20558
20559 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
20560 Make 'mapoff' field ElfW(Off) rather than off_t.
20561
bb9510dc
DL
205622012-10-02 Dmitry V. Levin <ldv@altlinux.org>
20563
fc997c6e
DL
20564 * nscd/Makefile: Remove nscd-cflags and all its users.
20565 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
20566 (CFLAGS-nonlib): Add compiler flags for nscd modules.
20567
bb9510dc
DL
20568 [BZ #10631]
20569 * malloc.c (malloc_printerr): Clarify error message.
20570
05699367
L
205712012-10-02 H.J. Lu <hongjiu.lu@intel.com>
20572
20573 [BZ #14648]
20574 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20575 Set bit_FMA_Usable if FMA is supported.
20576 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
20577 macro.
20578 (bit_FMA4_Usable): Updated.
20579 (index_FMA_Usable): New macro.
20580 (CPUID_FMA): Likewise
20581 (HAS_FMA): Defined with bit_FMA_Usable.
20582
51367701
RM
205832012-10-01 Roland McGrath <roland@hack.frob.com>
20584
20585 * bits/types.h (__swblk_t): Type removed.
20586 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
20587 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
20588 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20589 (__SWBLK_T_TYPE): Likewise.
20590 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20591 (__SWBLK_T_TYPE): Likewise.
20592 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20593 (__SWBLK_T_TYPE): Likewise.
20594 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20595 (__SWBLK_T_TYPE): Likewise.
20596
4d57bf63 205972012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 20598 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
20599
20600 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
20601 (xdr_mapname): Use YPMAXMAP as maxsize.
20602 (xdr_peername): Use YPMAXPEER as maxsize.
20603 (xdr_keydat): Use YPAXRECORD as maxsize.
20604 (xdr_valdat): Use YPMAXRECORD as maxsize.
20605
93c65d43
RM
206062012-10-01 Roland McGrath <roland@hack.frob.com>
20607
497a03d6
RM
20608 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
20609
93c65d43
RM
20610 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
20611 * csu/init-first.c: ... here.
20612 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
20613 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
20614 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
20615 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20616 * sysdeps/i386/init-first.c: File removed.
20617 * sysdeps/sh/init-first.c: File removed.
20618
bec749fd
JM
206192012-10-01 Joseph Myers <joseph@codesourcery.com>
20620
20621 [BZ #14645]
20622 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
20623 if x * y might underflow to zero and z is zero.
20624 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20625 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20626 * math/libm-test.inc (min_subnorm_value): New variable.
20627 (fma_test): Add more tests.
20628 (fma_test_towardzero): Likewise.
20629 (fma_test_downward): Likewise
20630 (fma_test_upward): Likewise.
20631 (initialize): Set min_subnorm_value.
20632
8ec5b013
JM
206332012-09-29 Joseph Myers <joseph@codesourcery.com>
20634
20635 [BZ #14638]
20636 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
20637 0 + 0.
20638 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
20639 mode for addition resulting in exact zero.
20640 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
20641 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
20642 exact 0 + 0.
20643 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20644 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20645 * math/libm-test.inc (fma_test): Add more tests.
20646 (fma_test_towardzero): New function.
20647 (fma_test_downward): Likewise.
20648 (fma_test_upward): Likewise.
20649 (main): Call the new functions.
20650
b1fa802e
DM
206512012-09-28 David S. Miller <davem@davemloft.net>
20652
20653 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
20654
d3b9fd9e
RM
206552012-09-28 Roland McGrath <roland@hack.frob.com>
20656
ea4d37b3
RM
20657 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
20658 instead of SIGALRM.
20659
ac51c949
RM
20660 * sysdeps/gnu/_G_config.h: Moved to ...
20661 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
20662 * sysdeps/mach/hurd/_G_config.h: Moved to ...
20663 * sysdeps/generic/_G_config.h: ... here.
20664
28c195f7
RM
20665 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
20666
848917f9
RM
20667 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
20668
6bacf05b
RM
20669 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
20670 Conditionalize target on [libnss_test1.so-version].
20671
91363dbb
RM
20672 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
20673
cc87f7d8
RM
20674 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
20675 (elfobjdir): Move out of conditionals.
20676
b1c608fe
RM
20677 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
20678 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
20679 (__nss_lookup_function): Conditionalize label remove_from_tree on
20680 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 20681
1d9a6d96
DM
206822012-09-28 David S. Miller <davem@davemloft.net>
20683
20684 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
20685 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
20686 file.
20687 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20688 sysdep_routines.
20689 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20690 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
20691 when HWCAP_SPARC_CRYPTO is present.
20692
72581615
PT
206932012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20694
20695 * io/tst-mknodat.c: Create a FIFO instead of a socket.
20696
715a900c
JL
206972012-09-28 Andreas Schwab <schwab@linux-m68k.org>
20698
20699 [BZ #6530]
20700 * stdio-common/vfprintf.c (process_string_arg): Revert
20701 2000-07-22 change.
20702
207032011-09-28 Jonathan Nieder <jrnieder@gmail.com>
20704
20705 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
20706 for testcase.
20707 * stdio-common/tst-sprintf.c: Include <locale.h>
20708 (main): Test sprintf's handling of incomplete multibyte
20709 characters.
20710
9bac1d86
L
207112012-09-28 H.J. Lu <hongjiu.lu@intel.com>
20712
20713 * elf/dl-runtime.c (VERSYMIDX): Removed.
20714 * elf/dl-version.c (VERSYMIDX): Likewise.
20715 * elf/do-rel.h (VERSYMIDX): Likewise.
20716 (VALIDX): Likewise.
20717 * elf/dynamic-link.h (VERSYMIDX): Likewise.
20718 * elf/rtld.c (VALIDX): Likewise.
20719 (ADDRIDX): Likewise.
9bac1d86
L
20720 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
20721 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
20722 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
20723 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
20724 (VALIDX): Likewise.
20725 (ADDRIDX): Likewise.
9bac1d86 20726
b31606c0
PT
207272012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20728
20729 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
20730
11541177
JL
207312012-09-28 Dmitry V. Levin <ldv@altlinux.org>
20732
20733 [BZ #11438]
20734 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
20735 to global scope.
20736 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
20737 addresses are in the same scope as 192.0.2/24.
20738 * posix/gai.conf: Document new scope table defaults.
20739
adb26fae
SP
207402012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20741
20742 [BZ #5298]
20743 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
20744 for ftell. Compute offsets from write pointers instead.
20745 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20746
4573c6b0
SP
207472012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20748
20749 [BZ #14543]
20750 * libio/Makefile (tests): New test case tst-fseek.
20751 * libio/tst-fseek.c: New test case to verify that fseek/ftell
20752 combination works in wide mode.
20753 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
20754 state when the external buffer state changes.
20755
aa9bbfe6
DM
207562012-09-27 David S. Miller <davem@davemloft.net>
20757
20758 [BZ #14376]
20759 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
20760 pass reloc->r_addend in as the 'high' argument to
20761 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
20762
784421e7
DM
20763 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20764
c39bc8b8
PT
207652012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20766
20767 * rt/tst-aio2.c: Include <pthread.h>.
20768 * rt/tst-aio3.c: Likewise.
20769
1ccc2399
SE
207702012-09-27 Steve Ellcey <sellcey@mips.com>
20771
20772 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
20773
31ed4153
L
207742012-09-27 H.J. Lu <hongjiu.lu@intel.com>
20775
25f5f885
L
20776 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
20777 contents on [SHARED].
31ed4153 20778
b7bfe116
MP
207792012-09-26 Marek Polacek <polacek@redhat.com>
20780
20781 [BZ #14530]
20782 [BZ #13741]
20783 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
20784 for C++ and GCC <4.3 as well as for non GCC compilers.
20785
43c4edba
MT
207862012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20787
20788 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20789
6a1bf82f
RM
207902012-09-25 Roland McGrath <roland@hack.frob.com>
20791
20792 * Makefile.in (all, install): Declare with .PHONY.
20793 Reported by Michael Hope <michael.hope@linaro.org>.
20794
8ad11b9a
TMQMF
207952012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20796
20797 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
20798 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
20799 system header.
20800 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
20801 Likewise.
20802 (sydep_routines): Add the new and the internal functions.
20803 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
20804 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
20805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
20806 (GLIBC_2.17): Add the new function.
20807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20808 (GLIBC_2.17): Likewise.
20809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
20810 (GLIBC_2.17): Likewise.
20811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
20812 (GLIBC_2.17): Likewise.
20813 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
20814
7e2fca8d
AM
208152012-09-25 Alan Modra <amodra@gmail.com>
20816
20817 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
20818 Add release barrier before setting once_control to say
20819 initialisation is done. Add hints on lwarx. Use macro in
20820 place of isync.
20821 (clear_once_control): Add release barrier.
20822
b87c4b24
JM
208232012-09-25 Joseph Myers <joseph@codesourcery.com>
20824
d032e0d2
JM
20825 [BZ #13629]
20826 * math/s_clog.c (__clog): Handle more values close to |z| = 1
20827 specially.
20828 * math/s_clog10.c (__clog10): Likewise.
20829 * math/s_clog10f.c (__clog10f): Likewise.
20830 * math/s_clog10l.c (__clog10l): Likewise.
20831 * math/s_clogf.c (__clogf): Likewise.
20832 * math/s_clogl.c (__clogl): Likewise.
20833 * math/Makefile (libm-calls): Add x2y2m1.
20834 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
20835 (__x2y2m1): Likewise.
20836 (__x2y2m1l): Likewise.
20837 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
20838 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
20839 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
20840 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20841 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
20842 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
20843 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
20844 * sysdeps/i386/fpu/libm-test-ulps: Update.
20845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20846
b87c4b24
JM
20847 [BZ #14621]
20848 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
20849 int as type of variable DEPTH.
20850 (glob): Use size_t instead of int as type of variables NEWCOUNT
20851 and OLD_PATHC.
20852
6d3bf199
LD
208532012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20854
22bf5c17
LD
20855 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20856 Add s_sincosf-sse2.
20857 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
20858 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
20859 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
20860 macros for using routine as __sincosf_ia32.
20861 Use macro for function declaration and weak_alias.
20862 * sysdeps/i386/fpu/libm-test-ulps: Update.
20863
20864 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
20865 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20866
20867 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
20868 subnormal argument.
20869 * math/s_cexpf.c (__cexpf): Likewise.
20870 * math/s_csinf.c (__csinf): Likewise.
20871 * math/s_csinhf.c (__csinhf): Likewise.
20872 * math/s_ctanf.c (__ctanf): Likewise.
20873 * math/s_ctanhf.c (__ctanhf): Likewise.
20874 * math/s_ccosh.c (__ccoshf): Likewise.
20875 * math/s_cexp.c (__cexpl): Likewise.
20876 * math/s_csin.c (__csin): Likewise.
20877 * math/s_csinh.c (__csinh): Likewise.
20878 * math/s_ctan.c (__ctan): Likewise.
20879 * math/s_ctanh.c (ctanh): Likewise.
20880 * math/s_ccoshl.c (__ccoshl): Likewise.
20881 * math/s_cexpl.c (__cexpl): Likewise.
20882 * math/s_csinl.c (__csinl): Likewise.
20883 * math/s_csinhl.c (__csinhl): Likewise.
20884 * math/s_ctanl.c (__ctanl): Likewise.
20885 * math/s_ctanhl.c (__ctanhl): Likewise.
20886
203e5603
JM
208872012-09-25 Joseph Myers <joseph@codesourcery.com>
20888
20889 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
20890 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
20891 (_IO_off_t): Define to __off_t, not _G_off_t.
20892 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
20893 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
20894 (_IO_wint_t): Define to wint_t, not _G_wint_t.
20895 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
20896 type of __dummy and __dummy2 fields.
20897 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
20898 (_G_ssize_t): Likewise.
20899 (_G_off_t): Likewise.
20900 (_G_pid_t): Likewise.
20901 (_G_uid_t): Likewise.
20902 (_G_wchar_t): Likewise.
20903 (_G_wint_t): Likewise.
20904 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
20905 (_G_ssize_t): Likewise.
20906 (_G_off_t): Likewise.
20907 (_G_pid_t): Likewise.
20908 (_G_uid_t): Likewise.
20909 (_G_wchar_t): Likewise.
20910 (_G_wint_t): Likewise.
20911 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
20912 (_G_ssize_t): Likewise.
20913 (_G_off_t): Likewise.
20914 (_G_pid_t): Likewise.
20915 (_G_uid_t): Likewise.
20916 (_G_wchar_t): Likewise.
20917 (_G_wint_t): Likewise.
20918
9fab36eb
SP
209192012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20920
20921 * malloc/arena.c: Include malloc-sysdep.h.
20922 (shrink_heap): Use check_may_shrink_heap to decide if madvise
20923 is sufficient to shrink the heap or an unmap is needed.
20924 * sysdeps/generic/malloc-sysdep.h: New file. Define
20925 new function check_may_shrink_heap.
20926 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
20927 new function check_may_shrink_heap.
20928
2b4f00d1
SP
209292012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20930
20931 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
20932 comments.
20933
9a9028b1
DL
209342012-09-24 Dmitry V. Levin <ldv@altlinux.org>
20935
57c69bef
DL
20936 * catgets/test-gencat.sh: Add "set -e".
20937 * elf/tst-pathopt.sh: Likewise.
20938 * grp/tst_fgetgrent.sh: Likewise.
20939 * iconvdata/run-iconv-test.sh: Likewise.
20940 * intl/tst-gettext.sh: Likewise.
20941 * intl/tst-gettext2.sh: Likewise.
20942 * intl/tst-gettext4.sh: Likewise.
20943 * intl/tst-gettext6.sh: Likewise.
20944 * intl/tst-translit.sh: Likewise.
20945 * io/ftwtest-sh: Likewise.
20946 * libio/test-freopen.sh: Likewise.
20947 * malloc/tst-mtrace.sh: Likewise.
20948 * posix/globtest.sh: Likewise.
20949 * posix/tst-getconf.sh: Likewise.
20950 * posix/wordexp-tst.sh: Likewise.
20951 * stdio-common/tst-printf.sh: Likewise.
20952 * stdio-common/tst-unbputc.sh: Likewise.
20953 * stdlib/tst-fmtmsg.sh: Likewise.
20954 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20955 * catgets/Makefile: Do not specify -e option when running
20956 testsuite shell scripts.
20957 * elf/Makefile: Likewise.
20958 * grp/Makefile: Likewise.
20959 * iconvdata/Makefile: Likewise.
20960 * intl/Makefile: Likewise.
20961 * io/Makefile: Likewise.
20962 * libio/Makefile: Likewise.
20963 * malloc/Makefile: Likewise.
20964 * posix/Makefile: Likewise.
20965 * stdio-common/Makefile: Likewise.
20966 * stdlib/Makefile: Likewise.
20967 * sysdeps/x86_64/Makefile: Likewise.
20968
9a9028b1
DL
20969 * io/ftwtest-sh: Add copyright header.
20970 * posix/globtest.sh: Likewise.
20971 * posix/tst-getconf.sh: Likewise.
20972 * posix/wordexp-tst.sh: Likewise.
20973 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20974
ced6f16e
L
209752012-09-24 H.J. Lu <hongjiu.lu@intel.com>
20976
94b32c39
L
20977 [BZ #13679]
20978 * Makeconfig (+link): Defined as $(+link-static) if
20979 $(build-shared) isn't yes.
20980 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
20981 isn't yes.
20982 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
20983
189e935b
L
20984 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
20985
ced6f16e
L
20986 [BZ #14562]
20987 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
20988 new chunk size with MALLOC_ALIGN_MASK.
20989
a9f8e53a
JM
209902012-09-24 Joseph Myers <joseph@codesourcery.com>
20991
20992 [BZ #5044]
20993 * stdio-common/printf_fphex.c: Include <stdbool.h> and
20994 <rounding-mode.h>.
20995 (__printf_fphex): Determine rounding using get_rounding_mode and
20996 round_away.
20997 * stdio-common/tst-printf-round.c (struct hex_test): New
20998 structure.
20999 (hex_tests): New variable.
21000 (test_hex_in_one_mode): New function.
21001 (do_test): Also run tests for hex float output.
21002
43153109
JM
210032012-09-21 Joseph Myers <joseph@codesourcery.com>
21004
21005 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
21006 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
21007 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
21008 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
21009 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
21010 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
21011 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
21012 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
21013
8a26625d
JM
210142012-09-20 Joseph Myers <joseph@codesourcery.com>
21015
21016 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
21017 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
21018 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
21019 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
21020
f3fd569c
DL
210212012-09-19 Dmitry V. Levin <ldv@altlinux.org>
21022
21023 [BZ #14579]
21024 * elf/rtld.c (dl_main): Limit the check for self loading to normal
21025 mode only.
21026 * elf/tst-rtld-load-self.sh: New test.
21027 * elf/Makefile: Run it.
21028
63bbedd4
JM
210292012-09-18 Joseph Myers <joseph@codesourcery.com>
21030
21031 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
21032 (tst-writev-ENV): Remove.
21033 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
21034
626f8b6a
CM
210352012-09-17 Chris Metcalf <cmetcalf@tilera.com>
21036
21037 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
21038
b7aaa4d6
JM
210392012-09-17 Joseph Myers <joseph@codesourcery.com>
21040
21041 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
21042 unconditional.
21043 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
21044 Likewise.
21045 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
21046 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
21047 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
21048 Likewise.
21049
65513990
L
210502012-09-14 H.J. Lu <hongjiu.lu@intel.com>
21051
21052 [BZ #14587]
21053 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
21054 * config.make.in (have-cpp-asm-debuginfo): Removed.
21055 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
21056 * configure: Regenerated.
21057
784761be
JM
210582012-09-14 Joseph Myers <joseph@codesourcery.com>
21059
21060 [BZ #5044]
21061 * stdio-common/printf_fp.c: Include <stdbool.h> and
21062 <rounding-mode.h>.
21063 (___printf_fp): Determine rounding using get_rounding_mode and
21064 round_away.
21065 * stdio-common/tst-printf-round.c: New file.
21066 * stdio-common/Makefile (tests): Add tst-printf-round.
21067 (link-libm): New variable.
21068 ($(objpfx)tst-printf-round): Depend in $(link-libm).
21069
9503345f
L
210702012-09-13 H.J. Lu <hongjiu.lu@intel.com>
21071
21072 [BZ #14576]
21073 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
21074 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
21075 Likewise.
21076 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
21077 Likewise.
21078
ad35fc00
JM
210792012-09-13 Joseph Myers <joseph@codesourcery.com>
21080
21081 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
21082 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
21083 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
21084 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
21085
6c9b0f68
JM
210862012-09-12 Joseph Myers <joseph@codesourcery.com>
21087
21088 [BZ #14518]
21089 * include/rounding-mode.h: New file.
21090 * sysdeps/generic/get-rounding-mode.h: Likewise.
21091 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
21092 * stdlib/strtod_l.c: Include <rounding-mode.h>.
21093 (MAX_VALUE): New macro.
21094 (MIN_VALUE): Likewise.
21095 (overflow_value): New function.
21096 (underflow_value): Likewise.
21097 (round_and_return): Use overflow_value and underflow_value to
21098 determine return values in overflow and underflow cases. Use
21099 round_away to determine rounding depending on rounding mode.
21100 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
21101 determine return values in overflow and underflow cases.
21102 * stdlib/tst-strtod-round.c: Include <fenv.h>.
21103 (struct test_results): New structure.
21104 (struct test): Use struct test_results to store expected results
21105 for all rounding modes.
21106 (TEST): Include expected results for all rounding modes.
21107 (test_in_one_mode): New function.
21108 (do_test): Use test_in_one_mode to compute and check results.
21109 Check results for all rounding modes.
21110 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
21111 $(link-libm).
21112
19fcedd5
AM
211132012-12-09 Allan McRae <allan@archlinux.org>
21114
1e9d84cd 21115 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 21116
8bbfd2f1
JM
211172012-09-11 Joseph Myers <joseph@codesourcery.com>
21118
21119 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
21120 (_G_int32_t): Likewise.
21121 (_G_uint16_t): Likewise.
21122 (_G_uint32_t): Likewise.
21123 (_G_HAVE_BOOL): Likewise.
21124 (_G_HAVE_ATEXIT): Likewise.
21125 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
21126 (_G_HAVE_IO_FILE_OPEN): Likewise.
21127 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
21128 (_G_int32_t): Likewise.
21129 (_G_uint16_t): Likewise.
21130 (_G_uint32_t): Likewise.
21131 (_G_HAVE_BOOL): Likewise.
21132 (_G_HAVE_ATEXIT): Likewise.
21133 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
21134 (_G_HAVE_IO_FILE_OPEN): Likewise.
21135 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
21136 (_G_int32_t): Likewise.
21137 (_G_uint16_t): Likewise.
21138 (_G_uint32_t): Likewise.
21139 (_G_HAVE_BOOL): Likewise.
21140 (_G_HAVE_ATEXIT): Likewise.
21141 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
21142 (_G_HAVE_IO_FILE_OPEN): Likewise.
21143
b1dc5912
L
211442012-09-11 H.J. Lu <hongjiu.lu@intel.com>
21145
21146 * csu/libc-tls.c: Update copyright years.
21147
0e886ef9
JM
211482012-09-10 Joseph Myers <joseph@codesourcery.com>
21149
28361c5e
JM
21150 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
21151 [!_G_USING_THUNKS]: Remove conditional code.
21152 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
21153 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
21154
0e886ef9
JM
21155 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
21156 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
21157 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21158 (_G_VTABLE_LABEL_PREFIX): Likewise.
21159 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21160 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21161 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21162 (_G_VTABLE_LABEL_PREFIX): Likewise.
21163 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
21164 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21165 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21166 (_G_VTABLE_LABEL_PREFIX): Likewise.
21167 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
21168
bcba7aa2
L
211692012-09-10 H.J. Lu <hongjiu.lu@intel.com>
21170
21171 * libio/Makefile: Include ../Makeconfig before tests.
21172 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
21173 only if $(build-shared) is yes.
21174
06585ee8
L
21175 * iconv/gconv_db.c: Update copyright years.
21176
80ccd52c
LD
211772012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21178
21179 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
21180 unwind info if defined PIC. Fix special cases description.
21181 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
21182
21183 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
21184 DP_HI_MASK entry.
21185 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
21186
691bc9c1
L
211872012-09-07 H.J. Lu <hongjiu.lu@intel.com>
21188
3d9b46b3
L
21189 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
21190
de2139a9
L
21191 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
21192 is NULL.
21193
5ca78dd0
L
21194 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
21195 (LDLIBS-tst-chk4): This.
21196 (LDFLAGS-tst-chk5): Renamed to ...
21197 (LDLIBS-tst-chk5): This.
21198 (LDFLAGS-tst-chk6): Renamed to ...
21199 (LDLIBS-tst-chk6): This.
21200 (LDFLAGS-tst-lfschk4): Renamed to ...
21201 (LDLIBS-tst-lfschk4): This.
21202 (LDFLAGS-tst-lfschk5): Renamed to ...
21203 (LDLIBS-tst-lfschk5): This.
21204 (LDFLAGS-tst-lfschk6): Renamed to ...
21205 (LDLIBS-tst-lfschk6): This.
21206
691bc9c1
L
21207 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
21208 on $(common-objpfx)soversions.mk.
21209
65cafb1c
JM
212102012-09-07 Joseph Myers <joseph@codesourcery.com>
21211
21212 [BZ #10014]
21213 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
21214 example host name.
21215
c78ab094
SP
212162012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21217
21218 * malloc/arena.c (arena_get_retry): New function that gets
21219 another arena for the caller to try its request on.
21220 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
21221 current arena cannot fulfill the request.
21222 (__libc_memalign): Likewise.
21223 (__libc_memalign): Likewise.
21224 (__libc_pvalloc): Likewise.
21225 (__libc_calloc): Likewise.
21226
01f49f59
JT
212272012-09-05 John Tobey <john.tobey@gmail.com>
21228
21229 [BZ #13542]
21230 * manual/arith.texi (Operations on Complex): Fix description
21231 of carg branch cut.
21232
4c23fed5
JM
212332012-09-06 Joseph Myers <joseph@codesourcery.com>
21234
1d3c8572
JM
21235 [BZ #10014]
21236 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
21237 host name.
21238
4c23fed5
JM
21239 [BZ #10038]
21240 * manual/memory.texi (Memory): Make order of menu items match
21241 order of sections.
21242
04570aaa
L
212432012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21244
21245 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
21246 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
21247 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
21248
b80af2f4
L
212492012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21250
21251 * csu/libc-tls.c (static_dtv): Renamed to ...
21252 (_dl_static_dtv): This. Make it global.
21253 (_dl_initial_dtv): Removed.
21254 (__libc_setup_tls): Updated.
21255 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
21256 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
21257 DL_INITIAL_DTV.
21258
2abe9f15
PM
212592012-09-06 Petr Machata <pmachata@redhat.com>
21260
21261 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
21262 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
21263 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
21264 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
21265
0948c3af
L
212662012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21267
21268 [BZ #14545]
21269 * csu/libc-tls.c (_dl_initial_dtv): New variable.
21270 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
21271 freeing dtv[-1].
21272
a5055ad1
L
212732012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21274
21275 [BZ #14544]
21276 * Makeconfig (link-static-before-libc): Replace $(+prector)
21277 with $(+prectorT).
21278 (link-static-after-libc): Replace $(+postctor) with
21279 $(+postctorT).
21280 (link-bounded): Replace $(+prector)/$(+postctor) with
21281 $(+prectorT)/$(+postctorT).
21282 (+prectorT): New macro.
21283 (+postctorT): Likewise.
21284
ed8c2ecd
JM
212852012-09-06 Joseph Myers <joseph@codesourcery.com>
21286
21287 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
21288 (round_str): Handle values above the maximum for IBM long double
21289 as inexact.
21290 * stdlib/tst-strtod-round.c (tests): Regenerated.
21291
14c996c8
AK
212922012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21293
21294 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
21295 assembler flag.
21296 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
21297 zarch_nohighgprs around the zarch optimized routines.
21298 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
21299 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
21300 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
21301 for zarch.
21302
430d6ce6
DM
213032012-09-05 David S. Miller <davem@davemloft.net>
21304
21305 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21306
ff04dda4
DM
21307 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
21308 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
21309 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
21310 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21311 entries.
21312
24d4e01b
AO
213132012-09-05 Alexandre Oliva <aoliva@redhat.com>
21314
21315 * malloc/arena.c: Fold copyright years.
21316 * malloc/mcheck.c, malloc/memusage.c: Likewise.
21317
61d58174
AO
213182012-09-05 Alexandre Oliva <aoliva@redhat.com>
21319
21320 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
21321
20196a5e
AO
213222012-09-05 Alexandre Oliva <aoliva@redhat.com>
21323
21324 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
21325
5c447383
AO
213262012-09-05 Alexandre Oliva <aoliva@redhat.com>
21327
21328 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
21329 change internal state upon failure.
21330
fad64255
AO
213312012-09-05 Alexandre Oliva <aoliva@redhat.com>
21332
21333 * malloc/mcheck.c (mcheck_check_all): Fix typo.
21334 * malloc/memusage.c (mmap): Likewise.
21335 (mmap64, mremap): Likewise. Adjust name in comment.
21336
1ffb8c90
SP
213372012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21338
21339 * libio/fileops.c: Fix typos in comments.
21340 * libio/oldfileops.c: Likewise.
21341 * libio/wfileops.c: Likewise.
21342
6ef9cc37
SP
213432012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21344
21345 [BZ #1349]
21346 * malloc/Makefile (tests): Add tst-malloc-usable test case.
21347 (tst-malloc-usable-ENV): Set environment for test case.
21348 * malloc/hooks.c (malloc_check_get_size): New function to get
21349 requested size.
21350 * malloc/malloc.c (musable): Use malloc_check_get_size.
21351 * malloc/tst-malloc-usable.c: New test case.
21352
4d038ae3
AS
213532012-09-05 Andreas Schwab <schwab@linux-m68k.org>
21354
21355 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
21356
c4e85184
AM
213572012-09-05 Allan McRae <allan@archlinux.org>
21358
b9dafc56 21359 [BZ #13966]
c4e85184
AM
21360 * configure.in (CXX_SYSINCLUDES): Use compiler output to
21361 determine header location.
21362 * configure: Regenerated.
21363
e1343020
AS
213642012-09-05 Andreas Schwab <schwab@linux-m68k.org>
21365
21366 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
21367 float format.
21368 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
21369 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
21370 format.
e1343020
AS
21371 (test): Regenerate.
21372
0a9f1987
DM
213732012-09-04 David S. Miller <davem@davemloft.net>
21374
21375 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
21376 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
21377 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
21378
29237804
FW
213792012-09-04 Florian Weimer <fweimer@redhat.com>
21380
21381 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
21382 failures.
21383
edb3cb88
FW
21384 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
21385
60160d83
JM
213862012-09-04 Joseph Myers <joseph@codesourcery.com>
21387
21388 [BZ #9914]
21389 * libio/iogetdelim.c: Include <limits.h>.
21390 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
21391 + len + 1 would overflow.
21392
bcd6c8dc
AJ
213932012-09-03 Andreas Jaeger <aj@suse.de>
21394
21395 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21396 * sysdeps/i386/fpu/libm-test-ulps: Update.
21397
4ffffbd2
LD
213982012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21399
21400 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
21401 Add s_sinf-sse2, s_conf-sse2.
21402
21403 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
21404 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
21405 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
21406 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
21407
21408 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
21409 for using routine as __sinf_ia32.
21410 Use macro for function declaration and weak_alias.
21411 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
21412 for using routine as __cosf_ia32.
21413 Use macro for function declaration and weak_alias.
21414
21415 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
21416 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
21417
21418 * sysdeps/x86_64/fpu/s_sinf.S: New file.
21419 * sysdeps/x86_64/fpu/s_cosf.S: New file.
21420 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21421
21422 * math/libm-test.inc (cos_test): Add more test cases.
21423 (sin_test): Likewise.
21424 (sincos_test): Likewise.
21425
511fa286
AK
214262012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21427
21428 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
21429 (IFUNC_RESOLVE): Make pointers to the specialized implementations
21430 hidden.
21431 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21432
5f30cfec
L
214332012-09-02 H.J. Lu <hongjiu.lu@intel.com>
21434
21435 [BZ #14538]
21436 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
21437 first element of the GOT.
21438 (elf_machine_load_address): Return the difference between
21439 the runtime address of _DYNAMIC and elf_machine_dynamic ().
21440
0786794f
AM
214412012-09-01 Allan McRae <allan@archlinux.org>
21442
5f30cfec
L
21443 [BZ #13412]
21444 * configure.in (AWK): Require gawk version 3.0 or later.
21445 * configure: Regenerated.
0786794f 21446
26889eac
JM
214472012-09-01 Joseph Myers <joseph@codesourcery.com>
21448
21449 * sysdeps/unix/sysv/linux/kernel-features.h
21450 (__ASSUME_POSIX_CPU_TIMERS): Remove.
21451 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21452 [__NR_clock_getres]: Make code unconditional.
21453 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
21454 (clock_getcpuclockid): Remove code left unreachable by removal of
21455 conditionals.
21456 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
21457 code unconditional.
21458 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21459 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21460 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
21461 Make code unconditional.
21462 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21463 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21464 * sysdeps/unix/sysv/linux/clock_settime.c
21465 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
21466 conditional code.
21467 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
21468 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21469
d22e28b0
L
214702012-08-29 H.J. Lu <hongjiu.lu@intel.com>
21471
21472 [BZ #14476]
21473 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
21474 scripts/test-installation.pl.
21475
21476 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
21477 and $ld_so_version if it is set.
21478
050af9c4
SP
214792012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21480
21481 [BZ #14516]
21482 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
21483 failure if reading from procfs failed.
21484 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
21485
ad845c0b
JM
214862012-08-27 Joseph Myers <joseph@codesourcery.com>
21487
21488 * sysdeps/unix/sysv/linux/kernel-features.h
21489 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
21490 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21491 Remove conditional code.
21492 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21493 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
21494 Remove conditional code.
21495 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21496 * sysdeps/unix/sysv/linux/i386/fxstat.c
21497 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21498 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21499 * sysdeps/unix/sysv/linux/i386/fxstatat.c
21500 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21501 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21502 * sysdeps/unix/sysv/linux/i386/lxstat.c
21503 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21504 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21505 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
21506 Remove conditional code.
21507 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21508 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21509 Remove conditional code.
21510 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21511 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
21512 <kernel-features.h>.
21513 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
21514 Remove.
21515 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
21516 Remove conditional code.
21517 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21518 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
21519 Remove conditional.
21520
5dbf56af
MF
215212012-08-27 Mike Frysinger <vapier@gentoo.org>
21522
21523 [BZ #5400]
21524 * NEWS: Add fixed bug number.
21525
d6e70f43
JM
215262012-08-27 Joseph Myers <joseph@codesourcery.com>
21527
7efb4737
JM
21528 [BZ #14519]
21529 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
21530 underflowing exponent in case of negative sign.
21531 * stdlib/tst-strtod-round-data: Add more tests.
21532 * stdlib/tst-strtod-round.c (tests): Regenerated.
21533
af92131a
JM
21534 [BZ #3479]
21535 * stdlib/strtod_l.c (NDIG): Remove.
21536 (HEXNDIG): Likewise.
21537 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
21538 smallest representable value.
21539 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
21540 lie within an exact representation of 1/2 ulp of the result.
21541 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
21542 unconditionally.
21543 (TENS_P9_IDX): Define unconditionally.
21544 (TENS_P9_SIZE): Likewise.
21545 (TENS_P10_IDX): Likewise.
21546 (TENS_P10_SIZE): Likewise.
21547 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
21548 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
21549 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
21550 entries for 10^2^13 and 10^2^14.
21551 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
21552 (TENS_P13_IDX): Define.
21553 (TENS_P13_SIZE): Likewise.
21554 (TENS_P14_IDX): Likewise.
21555 (TENS_P14_SIZE): Likewise.
21556 (_fpioconst_pow10): Change array size to
21557 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
21558 unconditional.
21559 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
21560 1024]: Add entries for 10^2^13 and 10^2^14.
21561 [LAST_POW10 > _LAST_POW10]: Remove #error.
21562 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
21563 (_fpioconst_pow10): Change array size to
21564 FPIOCONST_POW10_ARRAY_SIZE.
21565 * stdlib/gen-fpioconst.c: New file.
21566 * stdlib/gen-tst-strtod-round.c: Likewise.
21567 * stdlib/tst-strtod-round-data: Likewise.
21568 * stdlib/tst-strtod-round.c: Likewise.
21569 * stdlib/Makefile (tests): Add tst-strtod-round.
21570
d6e70f43
JM
21571 [BZ #14459]
21572 * stdlib/strtod_l.c: Include <stdint.h>.
21573 (NDEBUG): Do not define.
21574 (round_and_return): Change EXPONENT parameter to type intmax_t.
21575 Rearrange calculations to avoid internal overflow possibilities.
21576 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
21577 Rearrange calculations to avoid internal overflow possibilities.
21578 Assert that number fits inside MPNSIZE limbs.
21579 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
21580 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
21581 calculations and add assertions to avoid internal overflow
21582 possibilities. Add casts to avoid signed/unsigned operations.
21583 * stdlib/tst-strtod-overflow.c: New file.
21584 * stdlib/Makefile (tests): Add tst-strtod-overflow.
21585
1f529f7d
MP
215862012-08-25 Marek Polacek <polacek@redhat.com>
21587
21588 * time/time.h: Fix some typos in comments.
21589
59a629f1
RM
215902012-08-23 Roland McGrath <roland@hack.frob.com>
21591
21592 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
21593 * posix/tst-rfc3484-2.c: Likewise.
21594 * posix/tst-rfc3484-3.c: Likewise.
21595
d3bafbc9
SM
215962012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
21597
21598 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
21599 (EF_ARM_ABI_FLOAT_HARD): Likewise.
21600
4efcc022
JM
216012012-08-23 Joseph Myers <joseph@codesourcery.com>
21602
21603 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
21604 #include of fxstatat64.c.
21605
3cc3ef96
RM
216062012-08-22 Roland McGrath <roland@hack.frob.com>
21607
f04e2132
RM
21608 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
21609 * shadow/getspent_r.c: Likewise.
21610 * shadow/getspnam.c: Likewise.
21611 * shadow/getspnam_r.c: Likewise.
21612 * gshadow/getsgent.c: Likewise.
21613 * gshadow/getsgent_r.c: Likewise.
21614 * gshadow/getsgnam.c: Likewise.
21615 * gshadow/getsgnam_r.c: Likewise.
21616 * inet/getnetbyad.c: Likewise.
21617 * inet/getnetbyad_r.c: Likewise.
21618 * inet/getnetbynm.c: Likewise.
21619 * inet/getnetbynm_r.c: Likewise.
21620 * inet/getnetent.c: Likewise.
21621 * inet/getnetent_r.c: Likewise.
21622 * inet/getproto.c: Likewise.
21623 * inet/getproto_r.c: Likewise.
21624 * inet/getprtent.c: Likewise.
21625 * inet/getprtent_r.c: Likewise.
21626 * inet/getprtname.c: Likewise.
21627 * inet/getprtname_r.c: Likewise.
21628 * inet/getrpcbyname.c: Likewise.
21629 * inet/getrpcbyname_r.c: Likewise.
21630 * inet/getrpcbynumber.c: Likewise.
21631 * inet/getrpcbynumber_r.c: Likewise.
21632 * inet/getrpcent.c: Likewise.
21633 * inet/getrpcent_r.c: Likewise.
21634 * inet/getaliasent.c: Likewise.
21635 * inet/getaliasent_r.c: Likewise.
21636 * inet/getaliasname.c: Likewise.
21637 * inet/getaliasname_r.c: Likewise.
21638 * nscd/getgrgid_r.c: Likewise.
21639 * nscd/getgrnam_r.c: Likewise.
21640 * nscd/gethstbyad_r.c: Likewise.
21641 * nscd/gethstbynm3_r.c: Likewise.
21642 * nscd/getpwnam_r.c: Likewise.
21643 * nscd/getpwuid_r.c: Likewise.
21644 * nscd/getsrvbynm_r.c: Likewise.
21645 * nscd/getsrvbypt_r.c: Likewise.
21646 * nscd/gai.c: Likewise.
21647
c53d909c
RM
21648 * configure.in (build_nscd): New substituted variable, set
21649 by --disable-build-nscd and defaults to $use_nscd.
21650 * configure: Regenerated.
21651 * config.make.in (build-nscd): New substituted variable.
21652 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
21653 Change conditional to require [$(build-nscd) = yes] as well.
21654 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
21655
3cc3ef96
RM
21656 [BZ# 13696]
21657 * configure.in (use_nscd): New substituted variable, set by
21658 --disable-nscd. If enabled, define USE_NSCD.
21659 * configure: Regenerated.
21660 * config.h.in: Add USE_NSCD.
21661 * config.make.in (use-nscd): New substituted variable.
21662 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21663 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
21664 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
21665 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
21666 (CFLAGS-getgrnam_r.c): Likewise.
21667 (CFLAGS-initgroups.c): Likewise.
21668 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
21669 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
21670 Variables removed.
21671 * inet/getnetgrent_r.c
21672 (nscd_setnetgrent): New function, broken out of ...
21673 (setnetgrent): ... here. Call it.
21674 (innetgr): Conditionalize nscd bits on [USE_NSCD].
21675 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
21676 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
21677 * nscd/Makefile (routines, aux): Move definitions after include of
21678 Makeconfig. Conditionalize on [$(use-nscd) != no].
21679 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
21680 Conditionalize on [USE_NSCD].
21681 (is_nscd, nscd_init_cb): Likewise.
21682 (nss_load_library): Conditionalize init callback on [USE_NSCD].
21683 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
21684 * nss/nss_db/db-init.c: Likewise.
21685 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
21686 [USE_NSCD].
21687 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
21688 (make_request): Use it.
21689 (cache_valid_p): New function.
21690 (__check_pf): Use it.
21691 * NEWS: Add item for --disable-nscd.
21692
07e51550
DL
216932012-08-22 Dmitry V. Levin <ldv@altlinux.org>
21694
21695 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
21696 to support sed >= 4.2.1-20-ga9bf076.
21697 * configure: Regenerated.
21698
35a5b08b
RM
216992012-08-22 Roland McGrath <roland@hack.frob.com>
21700
21701 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
21702 Conditionalize whole body on [IREL].
21703
8479f23a
JL
217042012-08-22 Jeff Law <law@redhat.com>
21705
21706 [BZ #14505]
21707 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
21708 if the family is PF_UNSPEC.
21709
48da0b21
MF
217102012-08-22 Mike Frysinger <vapier@gentoo.org>
21711
21712 * Makerules (lib-version): Rename from V.
21713 (install-lib-nosubdir): Change V to lib-version.
21714
15d0da8c
WS
217152012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
21716
21717 [BZ #14252]
21718 * powerpc32/power6/wcschr.c: New file.
21719 * powerpc32/power6/wcscpy.c: New file.
21720 * powerpc32/power6/wcsrchr.c: New file.
21721 * powerpc64/power6/wcschr.c: New file.
21722 * powerpc64/power6/wcscpy.c: New file.
21723 * powerpc64/power6/wcsrchr.c: New file.
21724
bcca0895
MK
217252012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21726
21727 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
21728 (two_way_short_needle): Use it.
5a4aaa33
RM
21729 * string/strstr.c (AVAILABLE1_USES_J): Define.
21730 * string/strcasestr.c: Likewise.
99677e57
MK
21731
21732 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
21733 array references.
21734 * string/strcasestr.c (TOLOWER): Make side-effect safe.
21735
400726de
MK
21736 [BZ #11607]
21737 * NEWS: Add an entry.
21738 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
21739 define their defaults.
21740 (two_way_short_needle): Detect end-of-string on-the-fly.
21741 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
21742 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
21743 * string/bug-strcasestr1.c: New test.
21744 * string/Makefile: Run it.
21745
20a71f2c
MK
217462012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21747
21748 [BZ #11607]
21749 * string/str-two-way.h (two_way_short_needle): Optimize matching of
21750 the first character.
21751
21ad0558
RM
217522012-08-21 Roland McGrath <roland@hack.frob.com>
21753
21754 * csu/elf-init.c (__libc_csu_irel): Function removed.
21755 * csu/libc-start.c (apply_irel): New function.
21756 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
21757
0e1d9911
JM
217582012-08-21 Joseph Myers <joseph@codesourcery.com>
21759
21760 * sysdeps/unix/sysv/linux/kernel-features.h
21761 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
21762 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21763 <kernel-features.h>.
21764 [__NR_fadvise64_64]: Make code unconditional.
21765 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
21766 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21767 !__NR_fadvise64_64)]: Likewise.
21768 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21769 !__NR_fadvise64_64))]: Likewise.
21770 [__NR_fadvise64]: Make code unconditional.
21771 [!__NR_fadvise64]: Remove conditional code.
21772 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
21773 <kernel-features.h>.
21774 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21775 unconditional.
21776 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21777 conditional code.
21778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
21779 not include <kernel-features.h>.
21780 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21781 unconditional.
21782 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21783 conditional code.
21784 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
21785 include <kernel-features.h>.
21786 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21787 unconditional.
21788 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21789 conditional code.
21790
14a50c9d
WS
217912012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21792
21793 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
21794 slight instruction rearrangements per scrollpipe analysis.
21795 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21796
c0f4faf0
RM
217972012-08-20 Roland McGrath <roland@hack.frob.com>
21798
696da859
RM
21799 * manual/syslog.texi (syslog; vsyslog, closelog):
21800 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
21801 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
21802
c0f4faf0
RM
21803 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
21804 DSOCAPS to match condition on defining it.
21805
348363b2
JM
218062012-08-20 Joseph Myers <joseph@codesourcery.com>
21807
a35cbf28
JM
21808 * sysdeps/unix/sysv/linux/kernel-features.h
21809 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
21810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
21811 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21812 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
21814 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21815 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
21817 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21818 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21819
445f7ecd
JM
21820 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
21821 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
21822
348363b2
JM
21823 * sysdeps/unix/sysv/linux/kernel-features.h
21824 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
21825 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
21826 unconditional.
21827 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21828 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
21829 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21830 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21831 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
21832 Make code unconditional.
21833 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21834 (__mmap64) [!__NR_mmap2]: Likewise.
21835 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
21836 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21837 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21838 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
21839 [__NR_mmap2]: Make code unconditional.
21840 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21841 (__mmap64) [!__NR_mmap2]: Likewise.
21842
bc5bc0e5
AK
218432012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21844
21845 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
21846
88d506de
AJ
218472012-08-18 Andreas Jaeger <aj@suse.de>
21848
21849 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
21850
493387d2
MF
218512012-08-18 Mike Frysinger <vapier@gentoo.org>
21852
21853 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
21854 * include/unistd.h (__have_sock_cloexec): Likewise.
21855 (__have_pipe2): Likewise.
21856 (__have_dup3): Likewise.
21857
a277af22
MF
218582012-08-18 Mike Frysinger <vapier@gentoo.org>
21859
21860 [BZ #9685]
21861 * include/unistd.h (__have_pipe2): Change define into an extern int.
21862 (__have_dup3): Likewise.
21863 * socket/have_sock_cloexec.c: Include fcntl.h.
21864 (__have_pipe2): New variable.
21865 (__have_dup3): Likewise.
21866
fdab8fd3
MF
218672012-08-17 Mike Frysinger <vapier@gentoo.org>
21868
21869 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
21870
31035e80
MP
218712012-08-17 Marek Polacek <polacek@redhat.com>
21872
21873 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
21874 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
21875
3bd9e993
RM
218762012-08-17 Roland McGrath <roland@hack.frob.com>
21877
c91c505f
RM
21878 * configure.in: Add AC_SUBST for sysheaders.
21879 * configure: Regenerated.
21880 * config.make.in (sysheaders): New substituted variable.
21881
7c6f9d53
RM
21882 * sysdeps/unix/mkfifo.c: Moved ...
21883 * sysdeps/posix/mkfifo.c: ... here.
21884 * sysdeps/unix/mkfifoat.c: Moved ...
21885 * sysdeps/posix/mkfifoat.c: ... here.
21886
21887 * sysdeps/unix/utime.c: Moved ...
21888 * sysdeps/posix/utime.c: ... here.
21889
21890 * sysdeps/unix/time.c: Moved ...
21891 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
21892 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
21893 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
21894
21895 * sysdeps/unix/nice.c: Moved ...
21896 * sysdeps/posix/nice.c: ... here.
21897
21898 * sysdeps/unix/alarm.c: Moved ...
21899 * sysdeps/posix/alarm.c: ... here.
21900
3bd9e993
RM
21901 * intl/Makefile ($(codeset_mo)): Depend on the input file.
21902
d1f09384
JL
219032012-08-17 Jeff Law <law@redhat.com>
21904
21905 * intl/Makefile (codeset_mo): New variable.
21906 ($(codeset_mo)): New target.
21907 (tst-codeset.out): Depend on that. Remove explicit rule.
21908 (tst-gettext3.out, tst-gettext5.out): Likewise.
21909 (LOCPATH-ENV, tst-codeset-ENV): New variables.
21910 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
21911 * intl/tst-codeset.sh: Remove.
21912 * intl/tst-gettext3.sh: Likewise.
21913 * intl/tst-gettext5.sh: Likewise.
21914
2ae1ae5c
RM
219152012-08-17 Roland McGrath <roland@hack.frob.com>
21916
c31fdb83
RM
21917 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
21918 * sysdeps/unix/syscalls.list: ... here.
21919
a0844057
RM
21920 * sysdeps/posix/getaddrinfo.c
21921 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
21922 (gaiconf_init, gaiconf_reload): Use them.
21923 [!_STATBUF_ST_NSEC]
21924 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
21925 Define using time_t rather than struct timespec.
21926
750c1f2a
RM
21927 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
21928 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
21929 Macros removed.
21930 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
21931 [!NO_THREADS].
21932 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
21933 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
21934 Likewise.
21935
2ae1ae5c
RM
21936 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
21937 __libc_cleanup_push argument.
21938
e66a42f5
RM
21939 * bits/param.h: New file.
21940 * misc/sys/param.h: New file.
21941 * include/sys/param.h: New file.
21942 * misc/Makefile (headers): Add bits/param.h.
21943 * sysdeps/generic/sys/param.h: File removed.
21944 * sysdeps/unix/sysv/linux/bits/param.h: New file.
21945 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
21946 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 21947 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 21948
b7c08a66
RM
21949 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
21950 last change.
21951
b2e1c562
RM
21952 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
21953 [_IO_MTSAFE_IO].
21954 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
21955 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
21956 New macros.
21957
c75ccd4c
RM
21958 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
21959 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
21960 rather than -D_IO_MTSAFE_IO conditionally.
21961 * stdio-common/Makefile (CPPFLAGS): Likewise.
21962 * wcsmbs/Makefile (CPPFLAGS): Likewise.
21963 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
21964 Use $(libio-mtsafe).
21965 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
21966 of -D_IO_MTSAFE_IO.
21967 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
21968 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
21969 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
21970 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
21971 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
21972 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
21973 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
21974 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
21975 (CFLAGS-fread_u_chk.c): Likewise.
21976 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
21977 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
21978 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
21979 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
21980 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
21981 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
21982 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
21983 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
21984 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
21985
21986 * libio/Makefile: Test [$(libc-reentrant) = yes]
21987 instead of [$(filter %REENTRANT, $(defines)) nonempty].
21988
21989 * Makeconfig
21990 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
21991 * sysdeps/pthread/configure: File removed.
21992 * sysdeps/pthread/Makeconfig: New file.
21993 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
21994 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
21995
d9195db8
GB
219962012-08-16 Gary Benson <gbenson@redhat.com>
21997
21998 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
21999 unmapping the first object in a namespace.
22000
86466cd9
RM
220012012-08-16 Roland McGrath <roland@hack.frob.com>
22002
22003 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
22004 (__internal_setnetgrent): ... this. Add internal_function to
22005 definition. Add libc_hidden_def.
22006 (setnetgrent): Update caller.
22007 (internal_endnetgrent): Renamed to ...
22008 (__internal_endnetgrent): ... this. Add internal_function to
22009 definition. Add libc_hidden_def.
22010 (endnetgrent): Update caller.
22011 (internal_getnetgrent_r): Renamed to ...
22012 (__internal_getnetgrent_r): ... this. Add internal_function to
22013 definition. Add libc_hidden_def.
22014 (__getnetgrent_r): Update caller.
22015 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
22016
c3c8283c
JM
220172012-08-16 Joseph Myers <joseph@codesourcery.com>
22018
22019 * stdlib/longlong.h: Update from GCC.
22020
db1ee0a8
RM
220212012-08-16 Roland McGrath <roland@hack.frob.com>
22022
22023 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
22024 on _QL, which is set by umul_ppmm but never used.
22025 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
22026 variables, which are set by GMP macros but never used.
22027 * stdio-common/_itowa.c (_itowa): Likewise.
22028 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
22029 * stdlib/mod_1.c (mpn_mod_1): Likewise.
22030
30f69637
CD
220312012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
22032
22033 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
22034 struct La_sh_regs is not constant.
22035 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
22036 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
22037 and struct La_sparc64_regs are not constant.
22038
93a78ac4
JM
220392012-08-16 Joseph Myers <joseph@codesourcery.com>
22040
22041 * sysdeps/unix/sysv/linux/kernel-features.h
22042 (__ASSUME_POSIX_TIMERS): Remove.
22043 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22044 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22045 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
22046 Make code unconditional.
22047 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22048 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
22049 Make code unconditional.
22050 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22051 * sysdeps/unix/sysv/linux/clock_nanosleep.c
22052 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
22053 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22054 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
22055 Make code unconditional.
22056 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22057 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
22058 (__libc_missing_posix_timers): Remove.
22059
dd924cd7
RM
220602012-08-15 Roland McGrath <roland@hack.frob.com>
22061
4b4f2771
RM
22062 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
22063 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
22064
601c888b
RM
22065 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
22066
176790a7
RM
22067 * elf/dl-sym.c: Include <stdlib.h>.
22068
329bc018
RM
22069 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
22070 constants, which avoids warnings in 32-bit builds.
22071
e04e272d
RM
22072 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
22073 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
22074
952bf94a
RM
22075 * misc/lseek.c: File moved to ...
22076 * io/lseek.c: ... here.
22077
7c99b50a
RM
22078 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
22079
dd924cd7
RM
22080 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
22081 shifting LEN more than 31 bits at once.
22082
b3f479a8
LD
220832012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22084
22085 [BZ #14195]
8c4ae0d4
RM
22086 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
22087 segmentation fault for a case of two empty input strings.
b3f479a8
LD
22088 * string/test-strncasecmp.c (check1): Renamed to...
22089 (bz12205): ...this.
22090 (bz14195): Add new testcase for two empty input strings and N > 0.
22091 (test_main): Call new testcase, adapt for renamed function.
22092
9c55864e
AJ
220932012-08-15 Andreas Jaeger <aj@suse.de>
22094
22095 [BZ #14090]
22096 * crypt/md5test2.c: New test, based on test supplied by Serge
22097 Belyshev <belyshev@depni.sinp.msu.ru>.
22098 * crypt/Makefile (xtests): Add md5test-giant..
22099 * crypt/Makefile ($(objpfx)md5test-giant): Add.
22100
02dcb6c5
PE
221012012-08-15 Paul Eggert <eggert@cs.ucla.edu>
22102
22103 [BZ #14090]
22104 * crypt/md5.c (md5_process_block): Don't assume the buffer
22105 length is less than 2**32.
22106 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
22107 length is less than 2**64.
22108
a3f95dcc
RM
221092012-08-15 Roland McGrath <roland@hack.frob.com>
22110
be75d758
RM
22111 * string/str-two-way.h: Include <sys/param.h>.
22112 (MAX): Macro removed.
22113
7312ca90
RM
22114 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
22115 Move #define and #undef of memmove to just before and after
22116 including <string.h>.
22117
9a0a5486
RM
22118 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
22119 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
22120 and after including <string.h>. Move declarations of
22121 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
22122 to before #include "string/memmove.c".
22123
67cc348d
RM
22124 * include/dirent.h: Declare __getdirentries.
22125
a3f95dcc
RM
22126 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
22127 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
22128
ca98e171
MF
221292012-08-14 Mike Frysinger <vapier@gentoo.org>
22130
22131 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
22132 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
22133 * sysdeps/i386/configure: Regenerated.
22134 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
22135 STABS_CURRENT_FILE, and STABS_FUN.
22136 (END): Remove call to STABS_FUN_END.
22137 (STABS_CURRENT_FILE1): Delete.
22138 (STABS_CURRENT_FILE): Likewise.
22139 (STABS_FUN): Likewise.
22140 (STABS_FUN_END): Likewise.
22141 (STABS_FUN2): Likewise.
22142 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
22143 * sysdeps/x86_64/configure: Regenerated.
22144
5908bf46
RM
221452012-08-14 Roland McGrath <roland@hack.frob.com>
22146
22147 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 22148 * elf/dl-lookup.c: Likewise.
5908bf46 22149
f2c05b9e
JM
221502012-08-14 Joseph Myers <joseph@codesourcery.com>
22151
22152 * sysdeps/unix/sysv/linux/kernel-features.h
22153 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
22154 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
22155 unconditionally.
22156 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
22157 unconditionally.
22158 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
22159 condition on __ASSUME_CLONE_THREAD_FLAGS.
22160
e11f5155
AJ
221612012-08-14 Andreas Jaeger <aj@suse.de>
22162
22163 * sysdeps/i386/fpu/libm-test-ulps: Update.
22164
51a9ba86
MK
221652012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
22166
2fdd4f78
AJ
22167 * include/atomic.h (atomic_exchange_and_add): Split into ...
22168 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
22169 New atomic macros.
51a9ba86 22170
ba6cba9e
MT
221712012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
22172
22173 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22174
42443a47
JL
221752012-08-13 Jeff Law <law@redhat.com>
22176
22177 * manual/stdio.texi (snprintf): Clarify handling of the trailing
22178 null byte in the output string.
22179
121dce05
JM
221802012-08-10 Joseph Myers <joseph@codesourcery.com>
22181
22182 * sysdeps/unix/sysv/linux/kernel-features.h
22183 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
22184 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
22185 (__ASSUME_ARG_MAX_STACK_BASED): Define.
22186 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
22187 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
22188 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
22189 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
22190
bf51f568
JL
221912012-08-09 Jeff Law <law@redhat.com>
22192
22193 [BZ #13939]
22194 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
22195 When avoid_arena is set, don't retry in the that arena. Pick the
22196 next one, whatever it might be.
22197 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
22198 (arena_lock): Pass in new parameter to arena_get2.
22199 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
22200 arena_get2.
22201 (__libc_malloc): Unify retrying after main arena failure with
22202 __libc_memalign version.
22203 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
22204
f85fa270
L
222052012-08-09 H.J. Lu <hongjiu.lu@intel.com>
22206
22207 [BZ #14166]
22208 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
22209 to __redirect_strstr.
22210 (__strstr_sse42): Use typeof __redirect_strstr.
22211 (__strstr_ia32): Likewise.
22212 (__libc_strstr): New prototype.
22213 (strstr): Renamed to ...
22214 (__libc_strstr): This.
22215 (strstr): New strong alias of __libc_strstr.
22216 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22217 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
22218 __redirect_time.
22219 Include <time.h>.
22220 (__libc_time): New prototype.
22221 (time_ifunc): Replace time with __libc_time.
22222 (time): New strong alias and hidden definition of __libc_time.
22223 (__GI_time): Remove strong alias.
22224 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
22225 Include <stddef.h>.
22226 (memmove): Redefined to __redirect_memmove.
22227 (__memmove_sse2): Use typeof __redirect_memmove.
22228 (__memmove_ssse3): Likewise.
22229 (__memmove_ssse3_back): Likewise.
22230 (__libc_memmove): New prototype.
22231 (memmove): Renamed to ...
22232 (__libc_memmove): This.
22233 (memmove): New strong alias of __libc_memmove.
22234
33b4a91e
MS
222352012-08-08 Mark Salter <msalter@redhat.com>
22236
22237 * elf/elf.h
22238 (R_MN10300_TLS_GD): Define.
22239 (R_MN10300_TLS_LD): Likewise.
22240 (R_MN10300_TLS_LDO): Likewise.
22241 (R_MN10300_TLS_GOTIE): Likewise.
22242 (R_MN10300_TLS_IE): Likewise.
22243 (R_MN10300_TLS_LE): Likewise.
22244 (R_MN10300_TLS_DTPMOD): Likewise.
22245 (R_MN10300_TLS_DTPOFF): Likewise.
22246 (R_MN10300_TLS_TPOFF): Likewise.
22247 (R_MN10300_SYM_DIFF): Likewise.
22248 (R_MN10300_ALIGN): Likewise.
22249 (R_MN10300_NUM): Update.
22250
b36137f1
JM
222512012-08-08 Joseph Myers <joseph@codesourcery.com>
22252
22253 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
22254 Remove.
22255
cdd915fd
RM
222562012-08-08 Roland McGrath <roland@hack.frob.com>
22257
a2433aac
RM
22258 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
22259
cdd915fd
RM
22260 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
22261 sysdeps/unix -> sysdeps/posix move.
22262 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22263
bf9b740a
AM
222642012-08-07 Allan McRae <allan@archlinux.org>
22265
22266 [BZ #14303]
22267 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
22268 (SUNOS_CPP): Likewise.
22269 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
22270 not found.
22271 (open_input): Call CPP using execvp.
22272
93df14ee
JM
222732012-08-07 Joseph Myers <joseph@codesourcery.com>
22274
22275 * sysdeps/unix/sysv/linux/kernel-features.h
22276 (__ASSUME_PROT_GROWSUPDOWN): Remove.
22277 (__ASSUME_NO_CLONE_DETACHED): Likewise.
22278 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
22279 (__ASSUME_WAITID_SYSCALL): Likewise.
22280 * sysdeps/unix/sysv/linux/dl-execstack.c
22281 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
22282 code unconditional.
22283 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
22284 conditional code.
22285 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
22286 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
22287 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
22288 code.
22289 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
22290 unconditional.
22291 [__ASSUME_WAITID_SYSCALL]: Likewise.
22292 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
22293
d34689de
RM
222942012-08-07 Roland McGrath <roland@hack.frob.com>
22295
a281decc
RM
22296 * sysdeps/unix/closedir.c: Renamed to ...
22297 * sysdeps/posix/closedir.c: ... here.
22298 * sysdeps/unix/dirfd.c: Renamed to ...
22299 * sysdeps/posix/dirfd.c: ... here.
22300 * sysdeps/unix/dirstream.h: Renamed to ...
22301 * sysdeps/posix/dirstream.h: ... here.
22302 * sysdeps/unix/fdopendir.c: Renamed to ...
22303 * sysdeps/posix/fdopendir.c: ... here.
22304 * sysdeps/unix/opendir.c: Renamed to ...
22305 * sysdeps/posix/opendir.c: ... here.
22306 * sysdeps/unix/readdir.c: Renamed to ...
22307 * sysdeps/posix/readdir.c: ... here.
22308 * sysdeps/unix/readdir_r.c: Renamed to ...
22309 * sysdeps/posix/readdir_r.c: ... here.
22310 * sysdeps/unix/rewinddir.c: Renamed to ...
22311 * sysdeps/posix/rewinddir.c: ... here.
22312 * sysdeps/unix/seekdir.c: Renamed to ...
22313 * sysdeps/posix/seekdir.c: ... here.
22314 * sysdeps/unix/telldir.c: Renamed to ...
22315 * sysdeps/posix/telldir.c: ... here.
22316 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
22317 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
22318 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
22319 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
22320
22895b47
RM
22321 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
22322 * bits/fcntl.h: ... here.
22323
707a53b6
RM
22324 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
22325 not 0.
22326 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
22327 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
22328 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
22329 (struct flock): Move l_start, l_len to the beginning.
22330 Use __pid_t for l_pid.
22331 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
22332 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
22333 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
22334 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
22335 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
22336 [__USE_LARGEFILE64] (struct flock64): New type.
22337 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
22338
f0bd3e25
RM
22339 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
22340 * bits/dirent.h: ... here.
22341
d34689de
RM
22342 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
22343 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
22344
6dad2c06
JM
223452012-08-07 Joseph Myers <joseph@codesourcery.com>
22346
22347 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22348 Change from 2.6.0 to 2.6.16.
22349 * sysdeps/unix/sysv/linux/configure: Regenerated.
22350 * sysdeps/unix/sysv/linux/kernel-features.h
22351 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
22352 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
22353 version.
22354 (__ASSUME_UTIMES): Likewise.
22355 (__ASSUME_CLONE_STOPPED): Remove.
22356 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
22357 architectures, not kernel version.
22358 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
22359 (__ASSUME_NO_CLONE_DETACHED): Likewise.
22360 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
22361 (__ASSUME_WAITID_SYSCALL): Likewise.
22362 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
22363 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
22364 * README: State 2.6.16 as minimum Linux kernel version. Do not
22365 refer to older versions.
22366
03af9520
RM
223672012-08-06 Roland McGrath <roland@hack.frob.com>
22368
8e49df1d
RM
22369 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
22370 Define alphasort64 as an alias.
22371 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
22372 Define versionsort64 as an alias.
22373 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
22374 Define scandir64 as an alias.
22375 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
22376 Define scandirat64 as an alias.
22377 * dirent/alphasort64.c (alphasort64):
22378 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
22379 * dirent/versionsort64.c: Likewise.
22380 * dirent/scandir64.c: Likewise.
22381 * dirent/scandirat64.c: Likewise.
22382 * sysdeps/wordsize-64/alphasort.c: File removed.
22383 * sysdeps/wordsize-64/alphasort64.c: File removed.
22384 * sysdeps/wordsize-64/scandir.c: File removed.
22385 * sysdeps/wordsize-64/scandir64.c: File removed.
22386 * sysdeps/wordsize-64/scandirat.c: File removed.
22387 * sysdeps/wordsize-64/scandirat64.c: File removed.
22388 * sysdeps/wordsize-64/versionsort.c: File removed.
22389 * sysdeps/wordsize-64/versionsort64.c: File removed.
22390 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
22391 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
22392 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
22393 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
22394 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
22395 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
22396 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
22397 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
22398
22399 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
22400 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22401 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
22402 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22403 [defined __arch64__ || defined __sparcv9]
22404 (__INO_T_MATCHES_INO64_T): New macro.
22405 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22406 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
22407 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
22408 * sysdeps/unix/sysv/linux/bits/dirent.h
22409 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
22410 (_DIRENT_MATCHES_DIRENT64): New macro.
22411
03af9520
RM
22412 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
22413 Define lockf64 as an alias.
22414 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
22415 Define fseeko64 as an alias.
22416 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
22417 Define ftello64 as an alias.
22418 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
22419 Define _IO_fgetpos64 and fgetpos64 as aliases.
22420 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
22421 Define _IO_fsetpos64 and fsetpos64 as aliases.
22422 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
22423 Conditionalize body on this.
22424 * libio/fseeko64.c: Likewise.
22425 * libio/ftello64.c: Likewise.
22426 * libio/iofgetpos64.c: Likewise.
22427 * libio/iofsetpos64.c: Likewise.
22428 * sysdeps/wordsize-64/lockf.c: File removed.
22429 * sysdeps/wordsize-64/lockf64.c: File removed.
22430 * sysdeps/wordsize-64/fseeko.c: File removed.
22431 * sysdeps/wordsize-64/fseeko64.c: File removed.
22432 * sysdeps/wordsize-64/ftello.c: File removed.
22433 * sysdeps/wordsize-64/ftello64.c: File removed.
22434 * sysdeps/wordsize-64/iofgetpos.c: File removed.
22435 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
22436 * sysdeps/wordsize-64/iofsetpos.c: File removed.
22437 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
22438 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
22439 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
22440 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
22441 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
22442 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
22443 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
22444 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
22445 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
22446 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
22447 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
22448
22449 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22450 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22451 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
22452 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22453 [defined __arch64__ || defined __sparcv9]
22454 (__OFF_T_MATCHES_OFF64_T): New macro.
22455 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22456 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22457 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22458 (__OFF_T_MATCHES_OFF64_T): New macro.
22459
c5757acd
L
224602012-08-06 H.J. Lu <hongjiu.lu@intel.com>
22461
22462 * stdlib/secure-getenv.c (__secure_getenv): Replace
22463 GLIBC_2_16 with GLIBC_2_17.
22464
3a31811e
L
224652012-08-06 H.J. Lu <hongjiu.lu@intel.com>
22466
22467 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
22468 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22469
faa2bccb
DM
224702012-08-03 David S. Miller <davem@davemloft.net>
22471
22472 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22473
85fe1997
JM
224742012-08-03 Joseph Myers <joseph@codesourcery.com>
22475
22476 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
22477 Remove.
22478 (__ASSUME_CORRECT_SI_PID): Likewise.
22479 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
22480 (__ASSUME_TMPFS_NAME): Likewise.
22481 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
22482 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
22483 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
22484 (HAVE_AUX_SECURE): Make definition unconditional.
22485 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
22486 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
22487
4f75b7a0
RM
224882012-08-03 Roland McGrath <roland@hack.frob.com>
22489
22490 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
22491 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
22492 * sysdeps/mach/hurd/eloop-threshold.h: New file.
22493 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22494 __eloop_threshold instead of SYMLOOP_MAX.
22495
22496 * sysdeps/generic/eloop-threshold.h: New file.
22497 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
22498 of MAXSYMLINKS.
22499 * elf/chroot_canon.c (chroot_canon): Likewise.
22500
7aab07e4
JM
225012012-08-03 Joseph Myers <joseph@codesourcery.com>
22502
22503 [BZ #13717]
22504 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22505 Change to 2.6.0 everywhere.
22506 * sysdeps/unix/sysv/linux/configure: Regenerated.
22507 * sysdeps/unix/sysv/linux/kernel-features.h
22508 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
22509 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
22510 kernel versions.
22511 (__ASSUME_POSIX_TIMERS): Define unconditionally.
22512 (__ASSUME_FUTEX_REQUEUE): Remove.
22513 (__ASSUME_STATFS64): Define unconditionally.
22514 (__ASSUME_AT_SECURE): Likewise.
22515 (__ASSUME_CORRECT_SI_PID): Likewise.
22516 (__ASSUME_TGKILL): Define without depending on kernel version for
22517 i386.
22518 (__ASSUME_UTIMES): Likewise.
22519 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
22520 kernel version.
22521 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
22522 (__ASSUME_TMPFS_NAME): Likewise.
22523 * README: Update reference to Linux kernel versions.
22524
b67e9372
MP
225252012-08-02 Marek Polacek <polacek@redhat.com>
22526
1f529f7d 22527 [BZ# 14150]
b67e9372
MP
22528 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
22529 libc_cv_asm_type_prefix with %.
22530 * configure: Regenerated.
d2441631
RM
22531 * include/libc-symbols.h: Remove comment about
22532 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
22533 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
22534 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
22535 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
22536 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
22537 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
22538 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
22539 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
22540 * elf/tst-unique2mod1.c: Likewise.
22541 * elf/tst-unique1mod2.c: Likewise.
22542 * elf/tst-unique1mod1.c: Likewise.
22543 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
22544 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
22545 Replace ASM_TYPE_DIRECTIVE with .type.
22546 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22547 * sysdeps/i386/sysdep.h: Likewise.
22548 * sysdeps/x86_64/sysdep.h: Likewise.
22549 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
22550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22551 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 22552 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
22553 * sysdeps/powerpc/powerpc32/sysdep.h:
22554 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
22555 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22556 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22557 * sysdeps/i386/fpu/e_powf.S: Likewise.
22558 * sysdeps/i386/fpu/e_expl.S: Likewise.
22559 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22560 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22561 * sysdeps/i386/fpu/e_pow.S: Likewise.
22562 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22563 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22564 * sysdeps/i386/fpu/s_expm1.S: Likewise.
22565 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22566 * sysdeps/i386/fpu/e_log2.S: Likewise.
22567 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22568 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22569 * sysdeps/i386/fpu/e_powl.S: Likewise.
22570 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22571 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22572 * sysdeps/i386/fpu/e_logl.S: Likewise.
22573 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22574 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22575 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22576 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22577 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22578 * sysdeps/i386/fpu/e_log.S: Likewise.
22579 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22580 * sysdeps/i386/fpu/e_logf.S: Likewise.
22581 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22582 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22583 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22584 * sysdeps/i386/fpu/e_log10.S: Likewise.
22585 * sysdeps/i386/fpu/s_frexp.S: Likewise.
22586 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22587 * sysdeps/i386/fpu/s_asinh.S: Likewise.
22588 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22589 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22590 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
22591 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22592 * sysdeps/i386/i686/strtok.S: Likewise.
22593 * sysdeps/i386/i386-mcount.S: Likewise.
22594 * sysdeps/i386/strtok.S: Likewise.
22595 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
22596 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22597 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22598 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22599 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22600 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22601 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22602 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22603 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22604 * sysdeps/x86_64/_mcount.S: Likewise.
22605 * sysdeps/x86_64/strtok.S: Likewise.
22606 * sysdeps/sh/_mcount.S: Likewise.
22607
2747bf9a
RM
226082012-08-01 Roland McGrath <roland@hack.frob.com>
22609
22610 * libio/iofopen.c: Include <fcntl.h>.
22611 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
22612 (_IO_fopen64, fopen64): Define as aliases.
22613 * libio/iofopen64.c: Include <fcntl.h>.
22614 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
22615 Conditionalize body on this.
22616 * sysdeps/wordsize-64/iofopen.c: File removed.
22617 * sysdeps/wordsize-64/iofopen64.c: File removed.
22618
3fb791b8
MP
226192012-08-01 Marek Polacek <polacek@redhat.com>
22620
22621 * libc/Makeconfig: Use elf in place of binfmt-subdir.
22622 Use dlfcn directly instead of a variable.
22623 (binfmt-subdir): Do not define.
22624 (dlfcn): Likewise.
22625
a9f1039f
JM
226262012-08-01 Joseph Myers <joseph@codesourcery.com>
22627
23bddc06
JM
22628 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
22629 Remove all definitions.
22630 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
22631 <kernel-features.h>.
22632 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22633 (miss_F_GETOWN_EX): Remove all definitions.
22634 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
22635 macro definition.
22636 [!__ASSUME_FCNTL64]: Remove conditional code.
22637 [__ASSUME_FCNTL64]: Make code unconditional.
22638 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
22639 <kernel-features.h>.
22640 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22641 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
22642 (lockf64) [__NR_fcntl64]: Make code unconditional.
22643 (lockf64) [__ASSUME_FCNTL64]: Likewise.
22644
a9f1039f
JM
22645 * sysdeps/unix/sysv/linux/kernel-features.h
22646 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
22647 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
22648 Make code unconditional.
22649 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22650 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
22652 [__NR_vfork]: Make code unconditional.
22653 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22654 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
22656 [__NR_vfork]: Make code unconditional.
22657 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22658 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22659
09c0ee5f
RM
226602012-08-01 Roland McGrath <roland@hack.frob.com>
22661
48aec5b9
RM
22662 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
22663 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
22664
cd97c966
RM
22665 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22666 Define mkstemp64 as an alias.
3f55550c
RM
22667 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22668 Define mkstemps64 as an alias.
cd97c966
RM
22669 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22670 Define mkostemp64 as an alias.
b8625cfc
RM
22671 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22672 Define mkostemps64 as an alias.
cd97c966
RM
22673 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
22674 Conditionalize body on this.
22675 * misc/mkostemp64.c: Likewise.
b8625cfc 22676 * misc/mkostemps64.c: Likewise.
3f55550c 22677 * misc/mkstemps64.c: Likewise.
cd97c966
RM
22678 * sysdeps/wordsize-64/mkstemp64.c: File removed.
22679 * sysdeps/wordsize-64/mkostemp64.c: File removed.
22680 * sysdeps/wordsize-64/mkostemp.c: File removed.
22681 * sysdeps/wordsize-64/mkstemp.c: File removed.
22682 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
22683 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
22684 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
22685 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
22686
09c0ee5f
RM
22687 [BZ #14138]
22688 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
22689 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
22690 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
22691 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
22692
22693 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
22694 compat_symbol macros from <shlib-compat.h> rather than the underlying
22695 default_symbol_version and symbol_version macros, so that DEFAULT
22696 lines in shlib-versions are respected.
22697 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
22698
7e66ee51
FW
226992012-08-01 Florian Weimer <fweimer@redhat.com>
22700
22701 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
22702 Declare with warn_unused_result.
22703 (setgid, setregid, setegid, setresgid): Likewise.
22704 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
22705 Likewise.
22706 * WUR-REPORT: Remove set*id functions.
22707
d2a54255
PT
227082012-07-31 Pino Toscano <toscano.pino@tiscali.it>
22709
22710 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
22711
7ecdb005
RM
227122012-07-31 Roland McGrath <roland@hack.frob.com>
22713
b4180a5e 22714 [BZ #10191]
789bd351
RM
22715 * include/sys/socket.h (__libc_accept, __libc_accept4):
22716 Add attribute_hidden.
22717 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
22718
40ce302d
RM
22719 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
22720 use of PTR_MANGLE.
22721 * inet/getnetgrent_r.c (setup): Likewise.
22722
7ecdb005
RM
22723 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
22724
e2eabb2c
DM
227252012-07-31 David S. Miller <davem@davemloft.net>
22726
22727 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22728
d0419dbf
JM
227292012-07-31 Joseph Myers <joseph@codesourcery.com>
22730
22731 [BZ #13629]
22732 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
22733 value between 1.0 and 2.0 and smaller part has absolute value less
22734 than 1.0.
22735 * math/s_clog10.c (__clog10): Likewise.
22736 * math/s_clog10f.c (__clog10f): Likewise.
22737 * math/s_clog10l.c (__clog10l): Likewise.
22738 * math/s_clogf.c (__clogf): Likewise.
22739 * math/s_clogl.c (__clogl): Likewise.
22740 * math/libm-test.inc (clog_test): Add more tests.
22741 (clog10_test): Likewise.
22742 * sysdeps/i386/fpu/libm-test-ulps: Update.
22743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22744
2bc13872
FW
227452012-07-31 Florian Weimer <fweimer@redhat.com>
22746
22747 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
22748 Exit with zero in case no suitable GID is found, and write a
22749 message to standard error.
22750
bea9b193
RM
227512012-07-30 Roland McGrath <roland@hack.frob.com>
22752
22753 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
22754 rather than to 1.
22755 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
22756 (MAXPATHLEN): Removed.
22757 (NOGROUP, NODEV): New macros.
22758 (setbit, clrbit, isset, isclr): New macros.
22759 (howmany, roundup, powerof2): New macros.
22760 (DEV_BSIZE): New macro.
22761
22762 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
22763 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
22764
22765 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
22766 definition on [!__NO_LONG_DOUBLE_MATH].
22767
22768 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
22769 PTR_MANGLE and PTR_DEMANGLE.
22770
22771 * socket/accept4.c (accept4): Rename to __libc_accept4.
22772 Define accept4 as a weak alias.
22773
22774 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
22775 on [_DIRENT_HAVE_D_TYPE].
22776 * io/ftw.c (ftw_dir): Likewise.
22777
22778 * io/xmknod.c (__xmknod): Don't check PATH for being null.
22779
22780 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
22781
22782 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
22783 Use the BSD numbers rather than the arbitrary ones we had.
22784 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
22785 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
22786 (SIGXCPU, SIGXFSZ): New macros.
22787 (_NSIG): Now 32.
22788
22789 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
22790 initializer on [_LIBC_REENTRANT].
22791
22792 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
22793 definitions inside [_POSIX_MAPPED_FILES].
22794
22795 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
22796
22797 * dirent/opendir.c: Include <fcntl.h>.
22798
22799 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
22800 (__libc_getspecific): Likewise.
22801 (__libc_key_create): Likewise.
22802
22803 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
22804 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
22805 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
22806 (tmpfile64): Define as alias.
22807 * sysdeps/wordsize-64/tmpfile.c: File removed.
22808 * sysdeps/wordsize-64/tmpfile64.c: File removed.
22809 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
22810 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
22811
22812 * stdio-common/vfscanf.c: Include <stdbool.h>.
22813 * nss/makedb.c: Likewise.
22814 * stdio-common/_i18n_number.h: Likewise.
22815 * argp/argp-help.c: Likewise.
22816 * posix/wordexp.c: Likewise.
22817 * sysdeps/posix/spawni.c: Likewise.
22818 * nss/nss_files/files-initgroups.c: Likewise.
22819 * stdio-common/reg-modifier.c: Include <stdlib.h>.
22820 * nss/nss_files/files-initgroups.c: Likewise.
22821 * nss/nss_db/db-netgrp.c: Likewise.
22822 * nss/nss_db/db-initgroups.c: Likewise.
22823 * io/fchmodat.c: Include <sys/stat.h>.
22824
22825 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
22826 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
22827
22828 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
22829 [HAVE_MMAP].
22830
22831 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
22832 Add multiple inclusion protection.
22833
e5abc686
DM
228342012-07-27 David S. Miller <davem@davemloft.net>
22835
22836 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22837
815e6fa3
GB
228382012-07-27 Gary Benson <gbenson@redhat.com>
22839
22840 [BZ #14298]
22841 * elf/rtld.c: Include <stap-probe.h>.
22842 (dl_main): Added static probes "init_start" and "init_complete".
22843 * elf/dl-load.c: Include <stap-probe.h>.
22844 (lose): Take new parameter "nsid".
22845 Added static probe "map_failed".
22846 (_dl_map_object_from_fd): Pass namespace id to lose.
22847 Added static probe "map_start".
22848 (open_verify): Pass namespace id to lose.
22849 * elf/dl-open.c: Include <stap-probe.h>.
22850 (dl_open_worker) Added static probes "map_complete", "reloc_start"
22851 and "reloc_complete".
22852 * elf/dl-close.c: Include <stap-probe.h>.
22853 (_dl_close_worker): Added static probes "unmap_start" and
22854 "unmap_complete".
22855 * elf/rtld-debugger-interface.txt: New file documenting the above.
22856
9f98c16c
RM
228572012-07-26 Roland McGrath <roland@hack.frob.com>
22858
22859 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
22860 rather than a string variable.
22861 * sunrpc/rpc_main.c (h_output): Likewise.
22862 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
22863
f3c22df3
PT
228642012-07-26 Pino Toscano <toscano.pino@tiscali.it>
22865
22866 * inet/check_native.c: New file.
22867
3129cfc6
JM
228682012-07-26 Joseph Myers <joseph@codesourcery.com>
22869
da865e95
JM
22870 [BZ #13629]
22871 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
22872 if larger part has absolute value 1.0.
22873 * math/s_clog10.c (__clog10): Likewise.
22874 * math/s_clog10f.c (__clog10f): Likewise.
22875 * math/s_clog10l.c (__clog10l): Likewise.
22876 * math/s_clogf.c (__clogf): Likewise.
22877 * math/s_clogl.c (__clogl): Likewise.
22878 * math/libm-test.inc (clog_test): Add more tests.
22879 (clog10_test): Likewise.
22880 * sysdeps/i386/fpu/libm-test-ulps: Update.
22881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22882
3129cfc6
JM
22883 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
22884 (pltexit): Likewise.
22885 (La_regs): Likewise.
22886 (La_retval): Likewise.
22887 (int_retval): Likewise.
22888 Update #error for removed macros to refer only to definitions in
22889 tst-audit.h.
22890 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
22891 macro.
22892 (pltexit): Likewise.
22893 (La_regs): Likewise.
22894 (La_retval): Likewise.
22895 (int_retval): Likewise.
22896 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
22897 macro.
22898 (pltexit): Likewise.
22899 (La_regs): Likewise.
22900 (La_retval): Likewise.
22901 (int_retval): Likewise.
22902 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
22903 macro.
22904 (pltexit): Likewise.
22905 (La_regs): Likewise.
22906 (La_retval): Likewise.
22907 (int_retval): Likewise.
22908 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
22909 macro.
22910 (pltexit): Likewise.
22911 (La_regs): Likewise.
22912 (La_retval): Likewise.
22913 (int_retval): Likewise.
22914 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
22915 macro.
22916 (pltexit): Likewise.
22917 (La_regs): Likewise.
22918 (La_retval): Likewise.
22919 (int_retval): Likewise.
22920 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
22921 macro.
22922 (pltexit): Likewise.
22923 (La_regs): Likewise.
22924 (La_retval): Likewise.
22925 (int_retval): Likewise.
22926 * sysdeps/generic/tst-audit.h: Update comment to refer only to
22927 macro definitions in tst-audit.h.
22928 * sysdeps/i386/tst-audit.h: New file.
22929 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
22930 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
22931 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
22932 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
22933 * sysdeps/sh/tst-audit.h: Likewise.
22934 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
22935 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
22936 * sysdeps/x86_64/tst-audit.h: Likewise.
22937
bfc07087
AJ
229382012-07-26 Andreas Jaeger <aj@suse.de>
22939
b1b2aaf8
AJ
22940 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
22941 ptrace.
22942
22943 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
22944 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
22945 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
22946 PTRACE_O_MASK.
22947 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
22948 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
22949 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
22950
bfc07087
AJ
22951 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
22952 value.
22953
22954 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
22955 _sigsys.
22956 (si_call_addr, si_syscall, si_arch): Define new macro.
22957 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
22958 _sigsys.
22959 (si_call_addr, si_syscall, si_arch): Define new marcro.
22960 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
22961 _sigsys.
22962 (si_call_addr, si_syscall, si_arch): Define new macro.
22963 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
22964 _sigsys.
22965 (si_call_addr, si_syscall, si_arch): Define new macro.
22966
89b4b02f
JM
229672012-07-25 Joseph Myers <joseph@codesourcery.com>
22968
22969 [BZ #13717]
22970 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22971 Change to 2.4.21 where previously 2.4.1.
22972 * sysdeps/unix/sysv/linux/configure: Regenerated.
22973 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
22974 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
22975 Linux kernel version.
22976 (__ASSUME_STD_AUXV): Remove.
22977 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
22978 kernel version.
22979 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
22980 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
22981 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
22982 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
22983 (__ASSUME_NETLINK_SUPPORT): Likewise.
22984 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
22985 (__no_netlink_support): Remove conditional definition.
22986 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
22987 Remove.
22988 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22989 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
22990 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
22991 (if_nameindex_ioctl): Remove.
22992 (if_nameindex_netlink): Do not handle __no_netlink_support.
22993 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22994 code.
22995 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
22996 Remove conditional code.
22997 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22998 code.
22999 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
23000 unconditional.
23001 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
23002 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
23003 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
23004 Remove.
23005 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
23006 [!__ASSUME_STD_AUXV]: Remove conditional code.
23007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
23008 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
23009 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
23010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
23011 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
23012 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
23013 code.
23014 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
23015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23016 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
23017 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
23018 conditional code.
23019 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
23020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23021 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
23022 code.
23023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23024 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
23025 conditional code.
23026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
23027 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
23028 code unconditional.
23029 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23030 conditional code.
23031 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23032 unconditional.
23033 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23034 conditional code.
23035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23036 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23037 unconditional.
23038 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23039 conditional code.
23040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
23041 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
23042 code unconditional.
23043 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23044 conditional code.
23045 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23046 unconditional.
23047 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23048 conditional code.
23049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
23050 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
23051 code unconditional.
23052 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23053 conditional code.
23054 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23055 unconditional.
23056 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23057 conditional code.
23058
842a39cd
AS
230592012-07-25 Andreas Schwab <schwab@linux-m68k.org>
23060
23061 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
23062 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
23063 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
23064 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
23065 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
23066 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
23067 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
23068 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
23069 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
23070 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
23071 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
23072 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
23073 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
23074 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
23075 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
23076 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
23077 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
23078 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
23079 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
23080 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
23081 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
23082 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
23083 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23084
84b3fd84
FW
230852012-07-25 Florian Weimer <fweimer@redhat.com>
23086
23087 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
23088 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
23089 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
23090 Introduce __libc_secure_getenv.
0c7936d5
FW
23091 * stdlib/Versions (2.17): Add secure_getenv
23092 (GLIBC_PRIVATE): Add __libc_secure_getenv.
23093 * stdlib/secure-getenv.c: Rename __secure_getenv to
23094 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
23095 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
23096 * stdlib/tst-secure-getenv.c: New.
23097 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
23098 * manual/startup.texi (Environment Access): Document
23099 secure_getenv.
84b3fd84
FW
23100 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
23101 __libc_secure_getenv.
23102 * inet/ruserpass.c (ruserpass): Likewise.
23103 * malloc/mtrace.c (mtrace): Likewise.
23104 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 23105 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
23106 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
23107 * sysdeps/posix/tempname.c: Likewise. Evaluate
23108 HAVE_SECURE_GETENV.
23109 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 23110 __secure_getenv to __libc_secure_getenv.
84b3fd84 23111 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
23112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23113 Likewise.
23114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23115 Likewise.
23116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
23117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
23118 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23119 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
23120 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
23121 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23122 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 23123
56e49b71
JM
231242012-07-25 Joseph Myers <joseph@codesourcery.com>
23125
23126 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
23127 (struct La_i86_retval): Likewise.
23128 (struct La_x86_64_regs): Likewise.
23129 (struct La_x86_64_retval): Likewise.
23130 (struct La_x32_regs): Likewise.
23131 (struct La_x32_retval): Likewise.
23132 (struct La_ppc32_regs): Likewise.
23133 (struct La_ppc32_retval): Likewise.
23134 (struct La_ppc64_regs): Likewise.
23135 (struct La_ppc64_retval): Likewise.
23136 (struct La_sh_regs): Likewise.
23137 (struct La_sh_retval): Likewise.
23138 (struct La_s390_32_regs): Likewise.
23139 (struct La_s390_32_retval): Likewise.
23140 (struct La_s390_64_regs): Likewise.
23141 (struct La_s390_64_retval): Likewise.
23142 (struct La_sparc32_regs): Likewise.
23143 (struct La_sparc32_retval): Likewise.
23144 (struct La_sparc64_regs): Likewise.
23145 (struct La_sparc64_retval): Likewise.
23146 (struct audit_ifaces): Remove architecture-specific pltenter and
23147 pltexit members.
23148 * sysdeps/i386/ldsodefs.h: New file.
23149 * sysdeps/powerpc/ldsodefs.h: Likewise.
23150 * sysdeps/s390/ldsodefs.h: Likewise.
23151 * sysdeps/sh/ldsodefs.h: Likewise.
23152 * sysdeps/sparc/ldsodefs.h: Likewise.
23153 * sysdeps/x86_64/ldsodefs.h: Likewise.
23154
354691b7
MP
231552012-07-25 Marek Polacek <polacek@redhat.com>
23156
23157 [BZ #6808]
23158 * math/libm-test.inc (yn_test): Add another test.
23159 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
23160 to ERANGE when the result is +-Inf.
23161 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
23162 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
23163 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
23164 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
23165
bf9e2071
JM
231662012-07-24 Joseph Myers <joseph@codesourcery.com>
23167
23168 * conform/data/time.h-data (NULL): Use macro-constant. Require
23169 equal to 0.
23170 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
23171 clock_t.
23172 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
23173
57633811
TS
231742012-07-23 Thomas Schwinge <thomas@codesourcery.com>
23175
23176 * configure.in <sysdeps resolving>: Correct printing
23177 Implies_before.
23178 * configure: Regenerate.
23179
c23c33b0
TS
231802012-07-22 Thomas Schwinge <thomas@codesourcery.com>
23181
23182 * math/w_ilogb.c: Include <limits.h>.
23183 * math/w_ilogbl.c: Likewise.
23184
b5982523
JM
231852012-07-20 Joseph Myers <joseph@codesourcery.com>
23186
23187 * manual/lang.texi (__va_copy): Document primarily as ISO C99
23188 va_copy. Document allowing for unavailable va_copy only as
23189 pre-C99 compatibility.
23190 * manual/string.texi (Copying and Concatenation): Use va_copy
23191 instead of __va_copy in concat example.
23192
ac4ea442
PT
231932012-07-20 Pino Toscano <toscano.pino@tiscali.it>
23194
23195 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
23196 (__sendto): Use create_address_port. Initialize APORT and deallocate
23197 it if not null.
23198
f98eafbd
PT
23199 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
23200 with O_NOLINK passed to __file_name_lookup.
23201
898c7aab
PT
23202 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
23203 with O_NOLINK passed to __file_name_lookup.
23204
0ced335a
PT
23205 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
23206 negative N or less than NGIDS.
23207
b3404dbd
PT
23208 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
23209 type to string_t. Set ERANGE as errno and return it if NAME is not big
23210 enough. Use memcpy instead of strncpy.
23211
0f48659e
JM
232122012-07-20 Joseph Myers <joseph@codesourcery.com>
23213
23214 * elf/Makefile (check-data): Remove.
23215 (localplt.data): New vpath directive.
23216 ($(objpfx)check-localplt.out): Use localplt.data from vpath
23217 instead of $(check-data).
23218 * scripts/data/localplt-generic.data: Move to ...
23219 * sysdeps/generic/localplt.data: ... here.
23220 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
23221 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
23222 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
23223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
23224 ... here.
23225 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
23226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
23227 ... here.
23228 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
23229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
23230 ... here.
23231 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
23232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
23233 ... here.
23234 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
23235 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
23236 ... here.
23237 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
23238 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
23239 ... here.
23240
d37cbdaa
AZ
232412012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23242
23243 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
23244 PPC32 and PPC64 files.
23245 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
23246 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
23247
46f85fc2
AK
232482012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23249
23250 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
23251 __makecontext_ret to ...
23252 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
23253 ... here and call exit if uc_link is NULL. New file.
23254 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
23255 __makecontext_ret.S.
23256 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
23257 __makecontext_ret to ...
23258 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
23259 ... here and call exit if uc_link is NULL. New file.
23260 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
23261 __makecontext_ret.S.
23262
08f43f9b
AK
232632012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23264
23265 * elf/elf.h (R_390_IRELATIVE): New definition.
23266 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
23267 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
23268 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
23269 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23270 (elf_machine_lazy_rel): Likewise.
23271 * sysdeps/s390/dl-irel.h: New file.
23272 * sysdeps/s390/s390-64/memcpy.S: New asm code.
23273 * sysdeps/s390/s390-64/memset.S: New asm code.
23274 * sysdeps/s390/s390-64/memcmp.S: New asm code.
23275 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
23276 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
23277 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
23278 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
23279 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
23280 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
23281 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
23282 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
23283 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
23284 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
23285 * sysdeps/s390/s390-32/memcpy.S: New asm code.
23286 * sysdeps/s390/s390-32/memset.S: New asm code.
23287 * sysdeps/s390/s390-32/memcmp.S: New asm code.
23288
3b05db33
MP
232892012-07-17 Marek Polacek <polacek@redhat.com>
23290
23291 [BZ #14349]
23292 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
23293 * sysdeps/s390/s390-64/configure.in: Likewise.
23294 * sysdeps/sparc/configure.in: Likewise.
23295 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
23296 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
23297 * sysdeps/i386/configure.in: Likewise.
23298 * sysdeps/x86_64/configure.in: Likewise.
23299 * sysdeps/sh/configure.in: Likewise.
23300 * sysdeps/s390/s390-32/configure: Regenerated.
23301 * sysdeps/s390/s390-64/configure: Likewise.
23302 * sysdeps/x86_64/configure: Likewise.
23303 * sysdeps/sh/configure: Likewise.
23304 * sysdeps/powerpc/powerpc64/configure: Likewise.
23305 * sysdeps/powerpc/powerpc32/configure: Likewise.
23306 * sysdeps/sparc/configure: Likwise.
23307 * sysdeps/i386/configure: Likewise.
23308
a66877c6
MP
23309 * elf/dl-open.c: Comment fixes.
23310
cfc82fd8
JM
233112012-07-17 Joseph Myers <joseph@codesourcery.com>
23312
bd29910a
JM
23313 * Makefile [CXX] (check-data): Remove.
23314 [CXX] (c++-types.data): New vpath directive.
23315 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
23316 vpath. Do not allow for C++ type data being missing.
23317 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
23318 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
23319 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
23320 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
23321 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
23322 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
23323 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
23324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
23325 ... here.
23326 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
23327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
23328 ... here.
23329 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
23330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
23331 ... here.
23332 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
23333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
23334 ... here.
23335 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
23336 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
23337 ... here.
23338 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
23339 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
23340 ... here.
23341 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
23342 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
23343 ... here.
23344 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
23345 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
23346
cfc82fd8
JM
23347 * elf/tls-macros.h (TLS_LE): Move architecture-specific
23348 definitions to architecture-specific files.
23349 (TLS_IE): Likewise.
23350 (TLS_LD): Likewise.
23351 (TLS_GD): Likewise.
23352 * sysdeps/i386/tls-macros.h: New file.
23353 * sysdeps/powerpc/tls-macros.h: Likewise.
23354 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
23355 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
23356 * sysdeps/sh/tls-macros.h: Likewise.
23357 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
23358 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
23359 * sysdeps/x86_64/tls-macros.h: Likewise.
23360
f7db3170
TS
233612012-07-17 Thomas Schwinge <thomas@codesourcery.com>
23362
07cbfc23
TS
23363 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
23364 zero value for regular exit case.
23365
f7db3170
TS
23366 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
23367 (__start_context): Preserve zero value for regular exit case.
23368
dc97c227
TS
233692012-07-17 Thomas Schwinge <thomas@codesourcery.com>
23370 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23371
23372 * manual/setjmp.texi (setcontext): Clarify normal process
23373 termination when uc_link is the null pointer.
23374 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
23375 exit call.
23376
d0cd7d02
AS
233772012-07-16 Andreas Schwab <schwab@linux-m68k.org>
23378
23379 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
23380 preprocessor. Test for each exception mask separately.
23381
dd318934
AJ
233822012-07-16 Andreas Jaeger <aj@suse.de>
23383
23384 * po/ru.po: Update from translation team.
23385
8048311a
JM
233862012-07-15 Joseph Myers <joseph@codesourcery.com>
23387
23388 * conform/data/string.h-data (NULL): Use macro-constant. Require
23389 equal to 0.
23390 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23391 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23392 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
23393 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
23394 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23395
b637d46e
AJ
233962012-07-13 Andreas Jaeger <aj@suse.de>
23397
23398 * po/fr.po: Update from translation team.
23399
541428fe
MP
234002012-07-12 Marek Polacek <polacek@redhat.com>
23401
23402 [BZ #14173]
23403 * math/libm-test.inc (yn_test): Add test for BZ #14173.
23404 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
23405 loop condition.
23406
ec332e94
JM
234072012-07-12 Joseph Myers <joseph@codesourcery.com>
23408
23409 [BZ #13717]
23410 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23411 Change to 2.4.1 where previously 2.4.0.
23412 * sysdeps/unix/sysv/linux/configure: Regenerated.
23413 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
23414 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
23415 version.
23416 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
23417 (__ASSUME_AT_CLKTCK): Remove.
23418 (__ASSUME_AT_PAGESIZE): Likewise.
23419 (__ASSUME_AT_XID): Likewise.
23420 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
23421 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
23422 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
23423 unconditionally.
23424 (HAVE_AUX_PAGESIZE): Likewise.
23425 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
23426 [__ASSUME_AT_CLKTCK]: Make code unconditional.
23427 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
23428
7b6e99be
JB
234292012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
23430
23431 [BZ #14307]
23432 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
23433 the temporary buffer used to invoke __gethostbyname2_r,
23434 __gethostbyaddr_r and gethostbyname4_r to make room for struct
23435 host_data / struct gaih_addrtuple.
23436 * resolv/nss_dns/dns-host.c (global scope): Move definition of
23437 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
23438 header file nss/nsswitch.h.
23439 * nss/nsswitch.h (global scope): Add definition of implementation
23440 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
23441 resolv/nss_dns/dns-host.c).
23442
608404eb
AJ
234432012-07-11 Andreas Jaeger <aj@suse.de>
23444
23445 * po/fr.po: Update from translation team.
23446
71220aca
AJ
23447 * po/sv.po: Update from translation team
23448 * po/fr.po: Another update from translation team.
23449
28cfe843
AZ
234502012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23451
23452 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
23453 for subnormals or multiply small sinh result by itself.
23454 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23455 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23456
6b90f981
DM
234572012-07-11 David S. Miller <davem@davemloft.net>
23458
23459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23460
c6825772
AS
234612012-07-10 Andreas Schwab <schwab@linux-m68k.org>
23462
23463 [BZ #14347]
23464 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
23465 (INTERNAL_MARK): Shift it here.
23466
7b8e0d49
MP
234672012-07-10 Marek Polacek <polacek@redhat.com>
23468
23469 [BZ #14151]
23470 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
23471 libc_cv_asm_global_directive with .globl.
23472 * configure: Regenerated.
23473 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
23474 with .globl.
23475 * sysdeps/i386/configure: Regenerated.
23476 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
23477 with .globl.
23478 * sysdeps/x86_64/configure: Regenerated.
23479 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
23480 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
23481 * elf/tst-unique2mod2.c: Likewise.
23482 * elf/tst-unique2mod1.c: Likewise.
23483 * elf/tst-unique1mod2.c: Likewise.
23484 * elf/tst-unique1mod1.c: Likewise.
23485 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23486 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
23487 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23488 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23489 * sysdeps/mach/sysdep.h: Likewise.
23490 * sysdeps/i386/sysdep.h: Likewise.
23491 * sysdeps/i386/i386-mcount.S: Likewise.
23492 * sysdeps/x86_64/_mcount.S: Likewise.
23493 * sysdeps/x86_64/sysdep.h: Likewise.
23494 * sysdeps/sh/_mcount.S: Likewise.
23495 * sysdeps/sh/sysdep.h: Likewise.
23496 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
23497 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
23498 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
23499 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23500 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
23501 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
23502 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
23503 * locale/localeinfo.h: Likewise.
23504 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
23505 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
23506
6c55cda3
RM
235072012-07-09 Roland McGrath <roland@hack.frob.com>
23508
23509 [BZ #14336]
23510 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
23511 system".
23512 * manual/message.texi (The Uniforum approach): Likewise.
23513 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
23514 (glibc iconv Implementation): Likewise.
23515
638a572e
JM
235162012-07-09 Joseph Myers <joseph@codesourcery.com>
23517
23518 [BZ #14337]
23519 * math/s_clog.c (__clog): Avoid scaling a value down where that
23520 could result in underflow.
23521 * math/s_clog10.c (__clog10): Likewise.
23522 * math/s_clog10f.c (__clog10f): Likewise.
23523 * math/s_clog10l.c (__clog10l): Likewise.
23524 * math/s_clogf.c (__clogf): Likewise.
23525 * math/s_clogl.c (__clogl): Likewise.
23526 * math/libm-test.inc (clog_test): Add more tests.
23527 (clog10_test): Likewise.
23528 * sysdeps/i386/fpu/libm-test-ulps: Update.
23529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23530
261f4859
AS
235312012-07-06 Andreas Schwab <schwab@linux-m68k.org>
23532
0abaf3e4
AS
23533 [BZ #14283]
23534 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
23535 by 7 not 8 to examine high bit of fractional part.
23536
261f4859
AS
23537 [BZ #14042]
23538 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
23539 for call to __mcount_internal.
23540 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
23541 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
23542 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
23543
f17ac40d
JM
235442012-07-06 Joseph Myers <joseph@codesourcery.com>
23545
9ad63c23
JM
23546 [BZ #14154]
23547 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
23548 approximation for values within 0x1p-13f of an odd multiple of
23549 pi/4.
23550 * math/libm-test.inc (tan_test): Do not allow spurious underflow
23551 exception. Add more tests.
23552 * sysdeps/i386/fpu/libm-test-ulps: Update.
23553
f17ac40d
JM
23554 [BZ #6778]
23555 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
23556 inputs and return -1 for them. Do not check for +Inf in case not
23557 reachable for +Inf.
23558 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
23559 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
23560 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23561 and return -1 for them. Do not check for +Inf in case not
23562 reachable for +Inf.
23563 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
23564 define.
23565 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23566 and return -1 for them. Do not check for +Inf in case not
23567 reachable for +Inf.
23568 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
23569 spurious underflow.
23570 * sysdeps/i386/fpu/libm-test-ulps: Update.
23571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23572
fb21f89b
MF
235732012-07-06 Mike Frysinger <vapier@gentoo.org>
23574
23575 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
23576
cdfe2c5e
JM
235772012-07-05 Joseph Myers <joseph@codesourcery.com>
23578
23579 [BZ #14157]
23580 [BZ #14331]
23581 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
23582 could result in spurious underflow. Scale down values above
23583 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
23584 * math/s_csqrtf.c (__csqrtf): Likewise.
23585 * math/s_csqrtl.c (__csqrtl): Likewise.
23586 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
23587 spurious underflow.
23588 * sysdeps/i386/fpu/libm-test-ulps: Update.
23589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23590
70d35b67
AS
235912012-07-04 Andreas Schwab <schwab@linux-m68k.org>
23592
704bc459
AS
23593 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
23594 xopen-msg.sed.
23595 * catgets/xopen-msg.awk: New file.
23596 * catgets/xopen-msg.sed: Removed.
23597
70d35b67
AS
23598 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
23599 po2text.sed.
23600 * intl/po2test.awk: New file.
23601 * intl/po2test.sed: Removed.
23602
ca61cf32
JM
236032012-07-04 Joseph Myers <joseph@codesourcery.com>
23604
23605 [BZ #14328]
23606 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
23607 or multiply small sinh result by itself.
23608 * math/s_ctanf.c (__ctanf): Likewise.
23609 * math/s_ctanh.c (__ctanh): Likewise.
23610 * math/s_ctanhf.c (__ctanhf): Likewise.
23611 * math/s_ctanhl.c (__ctanhl): Likewise.
23612 * math/s_ctanl.c (__ctanl): Likewise.
23613 * math/libm-test.inc (ctan_test_tonearest): New function.
23614 (ctan_test_towardzero): Likewise.
23615 (ctan_test_downward): Likewise.
23616 (ctan_test_upward): Likewise.
23617 (ctanh_test_tonearest): Likewise.
23618 (ctanh_test_towardzero): Likewise.
23619 (ctanh_test_downward): Likewise.
23620 (ctanh_test_upward): Likewise.
23621 (main): Call these new functions.
23622 * sysdeps/i386/fpu/libm-test-ulps: Update.
23623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23624
ca48a46a
MF
236252012-07-03 Mike Frysinger <vapier@gentoo.org>
23626
23627 * .gitignore: Delete /ports entry.
23628
9d63d37d
AJ
236292012-07-03 Andreas Jaeger <aj@suse.de>
23630
23631 * po/bg.po: Update from translation team.
23632 * po/cs.po: Likewise.
23633 * po/de.po: Likewise.
23634 * po/hr.po: Likewise.
23635 * po/nl.pl: Likewise.
23636 * po/pl.po: Likewise.
23637 * po/vi.po: Likewise.
23638
370ca3d2
JM
236392012-07-03 Joseph Myers <joseph@codesourcery.com>
23640
95f5a9a8
JM
23641 * Makeconfig [!+link] (+link-before-libc): New variable.
23642 [!+link] (+link-after-libc): Likewise.
23643 [!+link] (+link-tests): Likewise.
23644 [!+link] (+link): Define in terms of $(+link-before-libc) and
23645 $(+link-after-libc).
23646 [!+link-static] (+link-static-before-libc): New variable.
23647 [!+link-static] (+link-static-after-libc): Likewise.
23648 [!+link-static] (+link-static-tests): Likewise.
23649 [!+link-static] (+link-static): Define in terms of
23650 $(+link-static-before-libc) and $(+link-static-after-libc).
23651 [build-shared] (link-libc-before-gnulib): New variable.
23652 [build-shared] (link-libc-tests): Likewise.
23653 [build-shared] (link-libc): Define in terms of
23654 $(link-libc-before-gnulib).
23655 [!build-shared] (link-libc-tests): New variable.
23656 (link-libc-static-tests): New variable.
23657 [!gnulib] (gnulib-arch): New variable.
23658 [!gnulib] (gnulib-tests): Likewise.
23659 [!gnulib] (static-gnulib-arch): Likewise.
23660 [!gnulib] (static-gnulib-tests): Likewise.
23661 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
23662 Define with "=" instead of ":=".
23663 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
23664 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
23665 * Rules (binaries-all-notests): New variable.
23666 (binaries-all-tests): Likewise.
23667 (binaries-static-notests): Likewise.
23668 (binaries-static-tests): Likewise.
23669 (binaries-all): Define using $(binaries-all-notests) and
23670 $(binaries-all-tests).
23671 (binaries-static): Define using $(binaries-static-notests) and
23672 $(binaries-static-tests).
23673 (binaries-shared-tests): New variable.
23674 (binaries-shared-notests): Likewise.
23675 (binaries-shared): Remove variable.
23676 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
23677 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
23678 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
23679 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
23680 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
23681 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
23682 * elf/Makefile (sln-modules): New variable.
23683 (extra-objs): Add $(sln-modules:=.o).
23684 (ldconfig-modules): Add static-stubs.
23685 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
23686 * elf/static-stubs.c: New file.
23687
7a845b2c
JM
23688 [BZ #14283]
23689 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
23690 by 7 not 8 to examine high bit of fractional part. Use volatile
23691 variables when splitting into final array of floats if
23692 __FLT_EVAL_METHOD__ != 0.
23693 * math/libm-test.inc (cos_test): Add another test.
23694 (sin_test): Likewise.
23695 * sysdeps/i386/fpu/libm-test-ulps: Update.
23696
e2283f38
JM
23697 [BZ #14273]
23698 * math/libm-test.inc (cosh_test): Add more tests.
23699
370ca3d2
JM
23700 * version.h (RELEASE): Set to "development".
23701 (VERSION): Set to "2.16.90".
23702
ee9247c3
CD
237032012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
23704
23705 * NEWS: Update copyright. Remove last-updated date.
23706 Mention math library bug fixes and timezone data changes.
23707 * README: Mention GNU/Hurd, x32, and HPPA support status.
23708
4648c381
TS
237092012-06-28 Thomas Schwinge <thomas@codesourcery.com>
23710
23711 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
23712
aac78a43
AJ
237132012-06-27 Andreas Jaeger <aj@suse.de>
23714
23715 * manual/contrib.texi (Contributors): Add Samuel Thibault.
23716
ed3dbfad
AJ
237172012-06-25 Andreas Jaeger <aj@suse.de>
23718
23719 * sysdeps/s390/fpu/libm-test-ulps: Update.
23720
4d0ee855
AS
237212012-06-23 Andreas Schwab <schwab@linux-m68k.org>
23722 Thomas Schwinge <thomas@codesourcery.com>
23723
23724 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
23725 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
23726 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
23727 fanotify_mark.
23728
af1bce34
TS
237292012-06-23 Thomas Schwinge <thomas@codesourcery.com>
23730
a9fa33ba
TS
23731 * sysdeps/mach/start.c: Remove file.
23732 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
23733 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
23734 * sysdeps/sh/init-first.c: Likewise.
23735
58f902b8
TS
23736 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
23737 registers for frame unwinding purposes, add CFI directives.
23738 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23739 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
23740 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
23741 Likewise.
23742
1518f58b
TS
23743 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
23744 __fortify_fail returning.
23745 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23746
db9b5059
TS
23747 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
23748 sysdeps/sh/____longjmp_chk.S.
23749 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
23750 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
23751 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
23752 (gen-as-const-headers): Append sigaltstack-offsets.sym.
23753
967705fe
TS
23754 * sysdeps/sh/abort-instr.h: New file.
23755 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
23756 process in case exit returns.
23757
a9def8c4
TS
23758 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
23759 initialize the GOT register before use.
23760
2a649725
TS
23761 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
23762 calculation of ARGC > 4.
23763
af1bce34
TS
23764 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
23765 meaningful names to some local labels.
23766
d230f50a
KK
237672012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23768 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23769
23770 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
23771 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
23772 (__arch_compare_and_exchange_val_16_acq): Likewise.
23773 (__arch_compare_and_exchange_val_32_acq): Likewise.
23774 (atomic_exchange_and_add): Fix gUSA sequence.
23775 (atomic_add): Likewise.
23776 (atomic_add_negative): Likewise.
23777 (atomic_add_zero): Likewise.
23778 (atomic_bit_test_set): Likewise.
23779
0479b305
AS
237802012-06-22 Andreas Schwab <schwab@redhat.com>
23781
23782 [BZ #13579]
23783 * include/link.h (struct link_map): Add l_free_initfini.
23784 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
23785 l_initfini.
23786 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
23787 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
23788 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
23789 set.
23790
0e3933b9
CD
237912012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
23792
23793 * configure.in: Use AC_LANG_SOURCE.
23794 * configure: Regenerate.
23795
4248b1b1
RM
237962012-06-22 Roland McGrath <roland@hack.frob.com>
23797
23798 * configure.in (libc_cv_localstatedir): New substituted variable.
23799 * configure: Regenerated.
23800 * config.make.in (localstatedir): New variable, substituted from
23801 libc_cv_localstatedir.
23802 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
23803 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
23804 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
23805 * sysdeps/gnu/configure: Regenerated.
23806
006dd861
JL
238072012-06-21 Jeff Law <law@redhat.com>
23808
23809 [BZ #14277]
23810 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
23811 free. Simplify list management for _LIBC case.
23812
79662d42
JM
238132012-06-21 Joseph Myers <joseph@codesourcery.com>
23814
b7abb4bf
JM
23815 [BZ #14273]
23816 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
23817 Clear sign bit of 64-bit integer value before comparing against
23818 overflow value.
23819
79662d42
JM
23820 * sysdeps/mach/configure: Regenerated.
23821
1f150908
L
238222012-06-21 H.J. Lu <hongjiu.lu@intel.com>
23823
23824 [BZ #14278]
23825 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
23826
28363bbf
JL
238272012-06-21 Jeff Law <law@redhat.com>
23828
23829 [BZ #13882]
23830 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
23831 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 23832 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
23833 * elf/dl-open.c (dl_open_worker): Likewise.
23834
09615db4
CD
238352012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
23836
23837 * scripts/list-sources.sh: Scan PORTS for translations.
23838 * po/libc.pot: Regenerated.
23839
2174c6dd
AJ
238402012-06-21 Andreas Jaeger <aj@suse.de>
23841
23842 [BZ #12194]
23843 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
23844 warning.
23845 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
23846 * bits/byteswap-16.h (__bswap_16): Likewise.
23847 * bits/byteswap.h (__bswap_constant_16): Likewise.
23848
3ee947b1
L
238492012-06-18 H.J. Lu <hongjiu.lu@intel.com>
23850
23851 [BZ #14117]
a2f34833
L
23852 * sysdeps/i386/fpu_control.h: Removed.
23853 * sysdeps/x86_64/fpu_control.h: Moved to ...
23854 * sysdeps/x86/fpu_control.h: Here.
23855
3ee947b1
L
23856 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
23857 (_FPU_SETCW): Likewise.
23858
ed1825f8
L
238592012-06-15 H.J. Lu <hongjiu.lu@intel.com>
23860
25f1282a
L
23861 [BZ #14117]
23862 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
23863 * sysdeps/x86/fpu/bits/mathinline.h: This.
23864 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
23865
ed1825f8
L
23866 [BZ #14050]
23867 [BZ #14117]
23868 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
23869 functions if __x86_64__ is defined.
23870
36d54b74
CLT
238712012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
23872
23873 * string/endian.h: Add !__ASSEMBLER__ condition for including
23874 conversion interfaces.
23875
10285c21
JM
238762012-06-15 Joseph Myers <joseph@codesourcery.com>
23877
23878 [BZ #14241]
23879 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
23880 of ABS(x) in calculating zero to negative powers other than odd
23881 integers.
23882 * math/libm-test.inc (pow_test): Add more tests.
23883
06c5abbd
AJ
238842012-06-15 Andreas Jaeger <aj@suse.de>
23885
23886 * manual/contrib.texi (Contributors): Update entry of Liubov
23887 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
23888 Machado Filho.
23889
a3aeac40
CH
238902012-06-15 Cyril Hrubis <metan@ucw.cz>
23891
23892 * string/string.h: Add __wur to GNU version of strerror_r.
23893
49bdf4c1
L
238942012-06-14 H.J. Lu <hongjiu.lu@intel.com>
23895
23896 [BZ #14229]
23897 * string/Makefile (tests): Add tst-strtok_r.
23898 * string/tst-strtok_r.c: New file.
23899 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
23900 RAX_LP/RDX_LP on SAVE_PTR.
23901
834f9b8d
RM
239022012-06-14 Roland McGrath <roland@hack.frob.com>
23903
23904 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
23905
75fa1921
JM
239062012-06-14 Joseph Myers <joseph@codesourcery.com>
23907
23908 * libm_test.inc (csqrt_test): Allow more spurious underflow
23909 exceptions.
23910 (j0_test): Likewise.
23911 (j1_test): Likewise.
23912 (y0_test): Likewise.
23913 (y1_test): Likewise.
23914
771766df
CD
239152012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
23916
23917 * po/Makefile (libc.pot): Use UTF-8 charset.
23918
ceb9e56b
PP
239192012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
23920
23921 [BZ #14210]
23922 Suppress sign-conversion warning from FD_SET.
23923 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
23924 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
23925 not unsigned long int.
23926 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
23927
ddb28975
L
239282012-06-12 H.J. Lu <hongjiu.lu@intel.com>
23929
23930 [BZ #14050]
23931 [BZ #14117]
23932 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
23933 __extern_always_inline instead of __extern_inline.
23934 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
23935 (__signbit): Likewise.
23936 (__signbitl): Support C++ namespace.
23937 (lrintf): New inline function.
23938 (lrint): Likewise.
23939 (llrintf): Likewise.
23940 (llrint): Likewise.
23941 (fmaxf): Likewise.
23942 (fmax): Likewise.
23943 (fminf): Likewise.
23944 (fmin): Likewise.
23945 (rint): Likewise.
23946 (rintf): Likewise.
23947 (ceil): Likewise.
23948 (ceilf): Likewise.
23949 (floor): Likewise.
23950 (floorf): Likewise.
23951 (nearbyint): Likewise.
23952 (nearbyintf): Likewise.
23953
d7b4fb26
TS
239542012-06-12 Thomas Schwinge <thomas@codesourcery.com>
23955
23956 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
23957 non-default versions.
23958
eb55f5c2
RM
239592012-06-11 Roland McGrath <roland@hack.frob.com>
23960
23961 [BZ #14218]
23962 * manual/argp.texi (Argp): Reword argp_parse description slightly.
23963
366af02c
TS
239642012-06-09 Thomas Schwinge <thomas@codesourcery.com>
23965
99ff6e5c
TS
23966 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
23967 (FE_UPWARD, FE_DOWNWARD): Don't define.
23968 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
23969 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23970
366af02c
TS
23971 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
23972 reading it.
23973 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23974 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23975
793ea851
KK
239762012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23977
23978 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23979 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
23980 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
23981 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
23982
a728a38f
L
239832012-06-06 H.J. Lu <hongjiu.lu@intel.com>
23984
23985 [BZ #14117]
c08010c7
L
23986 * sysdeps/i386/fpu/bits/fenv.h: Removed.
23987 * sysdeps/i386/fpu/Implies: New file.
23988 * sysdeps/x86_64/fpu/Implies: Likewise.
23989 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
23990 * sysdeps/x86/fpu/bits/fenv.h: This.
23991
a728a38f
L
23992 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
23993 __SSE_MATH__.
23994
6e230d11
SP
239952012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23996
23997 [BZ #14134]
23998 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
23999 character 0xffff that matches the last element of the
24000 conversion table.
24001
1b671feb
AZ
240022012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24003
24004 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
24005 fmodl commit.
24006
6043738b
AZ
240072012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24008
24009 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
24010 values higher than 25.6283.
24011
34ae0b32
AZ
240122012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24013
24014 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
24015 subnormal exponent extraction and add some __builtin_expect.
24016 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
24017 Fix for subnormal mantissa calculation.
24018
1214ec8f
MF
240192012-06-04 Mike Frysinger <vapier@gentoo.org>
24020
24021 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
24022 cpu2 is -1 and errno is not ENOSYS.
24023
f3d1f93c
L
240242012-06-04 H.J. Lu <hongjiu.lu@intel.com>
24025
24026 [BZ #14117]
0e4a3cd7
L
24027 * sysdeps/i386/i486/bits/string.h: Renamed to ...
24028 * sysdeps/x86/bits/string.h: This.
24029 * sysdeps/x86_64/bits/string.h: Removed.
24030
6704c645
L
24031 * sysdeps/i386/i486/bits/string.h: Define inline functions only
24032 if not compiling for x86-64, but compiling for >= i486.
24033
48495318
L
24034 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
24035 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
24036
14adcbfc
L
24037 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
24038 New macro from Linux kernel 3.4.0.
24039 (FP_XSTATE_MAGIC2): Likewise.
24040 (FP_XSTATE_MAGIC2_SIZE): Likewise.
24041 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
24042 (struct _fpx_sw_bytes): New struct.
24043 (struct _xsave_hdr): Likewise.
24044 (struct _ymmh_state): Likewise.
24045 (struct _xstate): Likewise.
24046
68e408ab
L
24047 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
24048 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
24049 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
24050 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
24051 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
24052 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
24053
f3d1f93c
L
24054 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
24055 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
24056 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
24057 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
24058 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
24059 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
24060
d9dc34cd
TMQMF
240612012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24062
24063 [BZ #13743]
24064 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
24065 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
24066 (sysdep_headers): Include sys/platform/ppc.h.
24067 * sysdeps/powerpc/test-gettimebase.c: Test for
24068 __ppc_get_timebase() to catch future ISA opcode/insn changes.
24069 * manual/Makefile (appendices): Include platform.texi.
24070 * manual/contrib.texi (Contributors): Update @node pointers.
24071 * manual/maint.texi (Maintenance): Likewise.
24072 (Platform): New node.
24073 * manual/platform.texi: New file. Document the new features.
24074
4af3879c
SP
240752012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24076 Jakub Jelinek <jakub@redhat.com>
24077
24078 [BZ #14188]
24079 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
24080 where __builtin_expect is unavailable.
24081
2fd6ff13
DM
240822012-06-03 David S. Miller <davem@davemloft.net>
24083
24084 * stdlib/longlong.h: Updated from GCC.
24085
173f7220
AS
240862012-06-02 Andreas Schwab <schwab@linux-m68k.org>
24087
24088 [BZ #14042]
24089 * sysdeps/powerpc/powerpc32/mcount.c: New file.
24090 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
24091 __mcount_internal.
24092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24093 (GLIBC_2.16): Likewise.
24094
f34a1c6f
L
240952012-06-01 H.J. Lu <hongjiu.lu@intel.com>
24096
24097 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
24098
88a4576f
JM
240992012-06-01 Joseph Myers <joseph@codesourcery.com>
24100
ea32bcdd
JM
24101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
24102 (default-abi): New variable.
24103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
24104 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
24105 variable.
24106 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
24107 Likewise.
24108 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
24109 Likewise.
24110 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
24111 Likewise.
24112
88a4576f
JM
24113 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
24114 definition. Document in comment.
24115
402fe938
DM
241162012-06-01 David S. Miller <davem@davemloft.net>
24117
24118 * stdlib/longlong.h: Updated from GCC.
24119
3553723f
L
241202012-06-01 H.J. Lu <hongjiu.lu@intel.com>
24121
24122 [BZ #14117]
3bd872c4
L
24123 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
24124 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
24125 sys/debugreg.h sys/io.h here.
24126 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
24127 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
24128 sys/io.h.
24129 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
24130 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
24131 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
24132 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
24133 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
24134 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
24135
3553723f
L
24136 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
24137 Define only if __x86_64__ is defined.
24138
4842e4fe
JM
241392012-06-01 Joseph Myers <joseph@codesourcery.com>
24140
c5bfe3d5
JM
24141 [BZ #14048]
24142 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
24143 Use int64_t for variable i.
24144 * math/libm-test.inc (fmod_test): Add more tests.
24145
4842e4fe
JM
24146 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
24147 z computation is not scheduled after fetestexcept.
24148 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
24149 Use math_force_eval instead of asm to ensure calculation scheduled
24150 before exception test.
24151 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
24152 Ensure a1 + u.d computation is not scheduled after fetestexcept.
24153
efb73488
AJ
241542012-06-01 Aurelien Jarno <aurelien@aurel32.net>
24155
24156 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
24157 computation is not scheduled after fetestexcept.
24158
29bcce7c
L
241592012-06-01 H.J. Lu <hongjiu.lu@intel.com>
24160
24161 [BZ #14117]
24162 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
24163 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
24164
73a68f94
AZ
241652012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24166
24167 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
24168 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24169
67b6df78
L
241702012-05-31 H.J. Lu <hongjiu.lu@intel.com>
24171
edf2933a 24172 [BZ #14117]
ebc64a18
L
24173 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
24174 <bits/wordsize.h>.
24175 (__WCHAR_MIN): Support __WORDSIZE == 64.
24176 (__WCHAR_MAX): Likewise.
24177
edf2933a
L
24178 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
24179 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
24180
57c6cf40
L
24181 [BZ #14183]
24182 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
24183 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
24184
67b6df78 24185 [BZ #14117]
8eb6281e
L
24186 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
24187 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
24188
aac639f4
L
24189 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
24190 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
24191
67b6df78
L
24192 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
24193 Defined to 1 if __x86_64__ isn't defined.
24194 (_STAT_VER_LINUX_OLD): New.
24195 (st_atime): Remove duplicate.
24196 (st_mtime): Likewise.
24197 (st_ctime): Likewise.
24198
1c2cfe81
DM
241992012-05-31 David S. Miller <davem@davemloft.net>
24200
24201 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
24202 entries.
24203
5be8418c
AS
242042012-06-01 Andreas Schwab <schwab@linux-m68k.org>
24205
e7725326
AS
24206 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
24207 gen-libm-test.pl.
24208
5be8418c
AS
24209 [BZ #14132]
24210 * elf/dl-reloc.c: Include <_itoa.h>.
24211 (_dl_reloc_bad_type): Remove use of INTUSE.
24212 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
24213 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
24214 * stdio-common/psiginfo.c (psiginfo): Likewise.
24215 * stdio-common/psignal.c (psignal): Likewise.
24216 * string/strsignal.c (strsignal): Likewise.
24217 * include/signal.h (_sys_siglist): Declare hidden proto.
24218 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
24219 INTVARDEF with libc_hidden_data_def.
24220 * stdio-common/itoa-udigits.c: Likewise.
24221 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
24222 (_itoa_lower_digits_internal): Remove declaration.
24223 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
24224 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
24225 (_sys_sigabbrev_internal): Remove aliases.
24226 (_sys_siglist): Define hidden alias.
24227
507352f1
MT
242282012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
24229
24230 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24231 bits/sysctl.h.
24232
42bbb1c3
L
242332012-05-31 H.J. Lu <hongjiu.lu@intel.com>
24234
24235 [BZ #14117]
6bd784b6
L
24236 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
24237 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
24238
8bca20f0
L
24239 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
24240 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
24241 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
24242 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
24243 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
24244 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
24245
f9e890a9
L
24246 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
24247 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
24248 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
24249
471101a1
L
24250 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
24251 with __addr.
24252 (insw): Likewise.
24253 (insl): Likewise.
24254 (outsb): Likewise.
24255 (outsw): Likewise.
24256 (outsl): Likewise.
24257
6451c862
L
24258 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
24259 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
24260 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
24261
a254b8c9
L
24262 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
24263 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
24264 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
24265 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
24266 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
24267 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
24268
b8dfdd92
L
24269 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
24270 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
24271
578cd270
L
24272 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
24273 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
24274
de662f5f
L
24275 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
24276 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
24277 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
24278
25653439
L
24279 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
24280 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
24281 to ...
24282 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
24283
6bad24a0
L
24284 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
24285 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
24286 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
24287
42bbb1c3
L
24288 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
24289 for x86-64.
24290 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
24291
2d10d547
JM
242922012-05-31 Joseph Myers <joseph@codesourcery.com>
24293
24294 * math/math.h (M_El): Use two more decimal places.
24295 (M_LOG2El): Likewise.
24296 (M_LOG10El): Likewise.
24297 (M_LN2l): Likewise.
24298 (M_LN10l): Likewise.
24299 (M_PIl): Likewise.
24300 (M_PI_2l): Likewise.
24301 (M_PI_4l): Likewise.
24302 (M_1_PIl): Likewise.
24303 (M_2_PIl): Likewise.
24304 (M_2_SQRTPIl): Likewise.
24305 (M_SQRT2l): Likewise.
24306 (M_SQRT1_2l): Likewise.
24307
f230c29b
DM
243082012-05-31 David S. Miller <davem@davemloft.net>
24309
24310 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
24311 values between float registers.
24312 * sysdeps/sparc/sparc64/memset.S: Likewise.
24313 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24314
fed806c3
MF
243152012-05-31 Mike Frysinger <vapier@gentoo.org>
24316
24317 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
24318 -D_FORTIFY_SOURCE=1.
24319 (CPPFLAGS-tst-longjmp_chk.c): Define.
24320 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
24321 (CPPFLAGS-tst-longjmp_chk2.c): Define.
24322 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
24323 CFLAGS-tst-wchar-h.c.
24324
30917259
MP
243252012-05-31 Marek Polacek <polacek@redhat.com>
24326
24327 [BZ #14132]
24328 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
24329 __endmntent_internal): Remove declaration.
24330 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
24331 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
24332 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
24333
1c58d5dc
DM
243342012-05-30 David S. Miller <davem@davemloft.net>
24335
24336 * sysdeps/sparc/sparc32/soft-fp/q_util.c
24337 (___Q_simulate_exceptions): Use real FP ops rather than writing
24338 into the %fsr.
24339 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
24340 Likewise.
24341
7dc00e0d
L
243422012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24343
24344 [BZ #14117]
0bd53985
L
24345 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
24346 * sysdeps/x86/bits/xtitypes.h: This.
24347
3a257e66
L
24348 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
24349 * sysdeps/x86/bits/wordsize.h: This.
24350
62f62904
L
24351 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
24352 * sysdeps/x86/bits/huge_vall.h: This.
24353
404fe9d9
L
24354 * sysdeps/i386/bits/select.h: Removed.
24355 * sysdeps/x86_64/bits/select.h: Renamed to ...
24356 * sysdeps/x86/bits/select.h: This.
24357
d48d0446
L
24358 * sysdeps/i386/bits/setjmp.h: Removed.
24359 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
24360 * sysdeps/x86/bits/setjmp.h: This.
24361
7dc00e0d
L
24362 * sysdeps/i386/bits/mathdef.h: Removed.
24363 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
24364 * sysdeps/x86/bits/mathdef.h: This.
24365
03277f8f
AS
243662012-05-30 Andreas Schwab <schwab@linux-m68k.org>
24367
24368 [BZ #14132]
24369 * include/sys/socket.h (__connect_internal)
24370 (__libc_sa_len_internal): Remove declaration.
24371 (__connect, __libc_sa_len): Declare hidden_proto.
24372 (SA_LEN): Remove use of INTUSE.
24373 * socket/connect.c: Add libc_hidden_def.
24374 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
24375 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
24376 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
24377 alias.
24378 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
24379 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
24380 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
24381 of adding _internal alias.
24382
13764867
L
243832012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24384
24385 [BZ #14117]
6bd97696
L
24386 * sysdeps/i386/bits/link.h: Removed.
24387 * sysdeps/i386/bits/linkmap.h: Likewise.
24388 * sysdeps/x86_64/bits/link.h: Renamed to ...
24389 * sysdeps/x86/bits/link.h: This.
24390 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
24391 * sysdeps/x86/bits/linkmap.h: This.
24392
f726f0bb
L
24393 * sysdeps/i386/bits/endian.h: Removed.
24394 * sysdeps/x86_64/bits/endian.h: Renamed to ...
24395 * sysdeps/x86/bits/endian.h: This.
24396
13764867
L
24397 * sysdeps/i386/bits/byteswap.h: Removed.
24398 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24399 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
24400 * sysdeps/x86/bits/byteswap.h: This.
24401 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
24402 * sysdeps/x86/bits/byteswap-16.h: This.
24403 * sysdeps/i386/Implies: Add x86.
24404 * sysdeps/x86_64/Implies: Likewise.
24405
ae251b0b
DM
244062012-05-30 David S. Miller <davem@davemloft.net>
24407
24408 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
24409 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
24410 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24411 (FP_TRAPPING_EXCEPTIONS): Define.
24412 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24413 (FP_TRAPPING_EXCEPTIONS): Define.
24414 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
24415 subnormals only when inexact has been signalled or underflow
24416 exceptions are enabled.
24417 (_FP_PACK_CANONICAL): Likewise.
24418
d5c90867
L
244192012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24420
24421 [BZ #14183]
24422 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
24423 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
24424
63f1549e
RH
244252012-05-30 Richard Henderson <rth@twiddle.net>
24426
8d8f2279
RH
24427 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
24428 with #ifndef NOT_IN_libc.
24429
63f1549e
RH
24430 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
24431 marked to avoid plt entry.
24432
0ab0291b
L
244332012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24434
24435 [BZ #14112]
24436 * Makeconfig (default-abi): New macro.
24437 (abi-includes): Likewise.
24438 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
24439 $(abi-$(default-abi)-lib-soname) for soname if defined.
24440 ($(common-objpfx)gnu/lib-names.stmp): Generate from
24441 abi-variants.
24442 * Makefile (installed-stubs): Likewise.
24443 * include/stubs-biarch.h: Removed.
24444 * scripts/lib-names.awk: Only handle one library at a time.
24445 * scripts/soversions.awk: Remove WORDSIZE support.
24446 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
24447 entries.
24448 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
24449 Removed.
24450 (syscall-list-default-condition): Likewise.
24451 (syscall-list-default-condition): Likewise.
24452 (syscall-list-includes): Likewise.
24453 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
24454 syscall-list-* with abi-*. Handle undefined abi-variants.
24455 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
24456 * sysdeps/unix/sysv/linux/i386/Implies: New file.
24457 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
24458 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
24459 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
24460 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
24461 Removed.
24462 (syscall-list-32-options): Likewise.
24463 (syscall-list-32-condition): Likewise.
24464 (syscall-list-64-options): Likewise.
24465 (syscall-list-64-condition): Likewise.
24466 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
24467 macro.
24468 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
24469 Renamed to ...
24470 (abi-*): This.
24471 (abi-64-ld-soname): New macro.
24472 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
24473 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
24474 Renamed to ...
24475 (abi-*): This.
24476 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
24477 * sysdeps/x86_64/x32/shlib-versions: Likewise.
24478
4da0431d
JM
244792012-05-30 Joseph Myers <joseph@codesourcery.com>
24480
3a85279c
JM
24481 * sysdeps/unix/sysv/linux/kernel-features.h
24482 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
24483 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
24484 include <kernel-features.h>.
24485 [!__NR_ftruncate64]: Remove conditional code.
24486 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24487 [__NR_ftruncate64]: Make code unconditional.
24488 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24489 * sysdeps/unix/sysv/linux/truncate64.c: Do not
24490 include <kernel-features.h>.
24491 [!__NR_ftruncate64]: Remove conditional code.
24492 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24493 [__NR_ftruncate64]: Make code unconditional.
24494 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
24496 include <kernel-features.h>.
24497 [!__NR_ftruncate64]: Remove conditional code.
24498 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24499 [__NR_ftruncate64]: Make code unconditional.
24500 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24502 include <kernel-features.h>.
24503 [!__NR_ftruncate64]: Remove conditional code.
24504 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24505 [__NR_ftruncate64]: Make code unconditional.
24506 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24507
4da0431d
JM
24508 * configure.in (libc_cv_fpie): Weaken to a compile test using
24509 LIBC_TRY_CC_OPTION.
24510 * configure: Regenerated.
24511
11ef492c
AK
245122012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24513
24514 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
24515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
24516 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
24517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24518 Refreshed.
24519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
24520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
24521 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
24522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
24523 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
24524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24525 Refreshed.
24526
d66ef399
DM
245272012-05-27 David S. Miller <davem@davemloft.net>
24528
24529 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
24530 (___Q_zero): New.
24531 (__Q_simulate_exceptions): Return void. Change to simulate
24532 exceptions by writing into the %fsr.
24533 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
24534 (__Qp_handle_exceptions): Likewise.
24535 (numbers): Delete.
24536 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
24537 __Qp_handle_exceptions.
24538 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
24539 __Qp_handle_exceptions.
24540 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24541 as unused and give dummy FP_RND_NEAREST initializer.
24542 (FP_INHIBIT_RESULTS): Define.
24543 (___Q_simulate_exceptions): Update declaration.
24544 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
24545 formatting.
24546 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24547 as unused and give dummy FP_RND_NEAREST initializer.
24548 (__Qp_handle_exceptions): Update declaration.
24549 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
24550 formatting.
24551
04fb54b5
TS
245522012-05-27 Thomas Schwinge <thomas@codesourcery.com>
24553
24554 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
24555 the temporary FPU control word.
24556 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
24557 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
24558 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
24559 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
24560 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24561 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
24562 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24563 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24564 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24565 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
24566 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24567
3f99608f
KK
245682012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24569
24570 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
24571 fields.
24572
65a4de4e
CLT
245732012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
24574
24575 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
24576 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
24577 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
24578 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
24579 Likewise.
24580 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
24581 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
24582 Likewise.
24583
15749d40
UD
245842012-05-27 Ulrich Drepper <drepper@gmail.com>
24585
24586 * po/h.po: Update from translation team.
24587
25dbcb27
AS
245882012-05-26 Andreas Schwab <schwab@linux-m68k.org>
24589
3d3f8e55
AS
24590 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
24591
25dbcb27
AS
24592 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
24593 handling of denormals.
24594 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24595 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24596 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24597 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24598 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24599 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
24600 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
24601 Likewise.
24602
7ad47a80 246032012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
24604
24605 [BZ #14152]
24606 * math/libm-test.inc (fma_test): Don't always expect underflow
24607 exception.
24608
9c6ea9fa
SP
246092012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24610
24611 [BZ #12416]
24612 * elf/tst-execstack.c: Include stackinfo.h.
24613 (do_test): Adjust test case to ensure that pthread_getattr_np
24614 behaviour remains the same after marking stack executable.
24615
a8239222
JM
246162012-05-25 Joseph Myers <joseph@codesourcery.com>
24617
24618 * sysdeps/unix/sysv/linux/kernel-features.h
24619 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
24620 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
24621 kernel-features.h.
24622 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24623 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24624 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
24625 kernel-features.h.
24626 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24627 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24628
918b5606
L
246292012-05-25 H.J. Lu <hongjiu.lu@intel.com>
24630
24631 * configure.in: Define the default includes to being none.
24632 * configure: Regenerated.
24633
3a097cc7
RM
246342012-05-25 Roland McGrath <roland@hack.frob.com>
24635
8422c9a5
RM
24636 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
24637 * sysdeps/x86_64/setjmp.S: Likewise.
24638 * sysdeps/i386/bsd-setjmp.S: Likewise.
24639 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24640 * sysdeps/i386/setjmp.S: Likewise.
24641 * sysdeps/i386/__longjmp.S: Likewise.
24642 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24643 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
24644
3a097cc7
RM
24645 * include/stap-probe.h: New file.
24646 * configure.in: Handle --enable-systemtap.
24647 * configure: Regenerated.
24648 * config.h.in (USE_STAP_PROBE): New #undef.
24649 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
24650 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
24651 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24652
21708942
JM
246532012-05-25 Joseph Myers <joseph@codesourcery.com>
24654
24655 [BZ #13717]
24656 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24657 to 2.4.0 where earlier.
24658 * sysdeps/unix/sysv/linux/configure: Regenerated.
24659 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24660 <kernel-features.h>.
24661 [__ASSUME_32BITUIDS]: Make code unconditional.
24662 [!__ASSUME_32BITUIDS]: Remove conditional code.
24663 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
24664 <kernel-features.h>.
24665 [__ASSUME_32BITUIDS]: Make code unconditional.
24666 [!__ASSUME_32BITUIDS]: Remove conditional code.
24667 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
24668 [__ASSUME_32BITUIDS]: Make code unconditional.
24669 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
24670 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
24671 <kernel-features.h>.
24672 [__ASSUME_32BITUIDS]: Make code unconditional.
24673 [!__ASSUME_32BITUIDS]: Remove conditional code.
24674 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
24675 <kernel-features.h>.
24676 [__ASSUME_32BITUIDS]: Make code unconditional.
24677 [!__ASSUME_32BITUIDS]: Remove conditional code.
24678 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
24679 <kernel-features.h>.
24680 [__ASSUME_32BITUIDS]: Make code unconditional.
24681 [!__ASSUME_32BITUIDS]: Remove conditional code.
24682 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
24683 <kernel-features.h>.
24684 [__ASSUME_32BITUIDS]: Make code unconditional.
24685 [!__ASSUME_32BITUIDS]: Remove conditional code.
24686 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24687 <kernel-features.h>.
24688 [__ASSUME_32BITUIDS]: Make code unconditional.
24689 [!__ASSUME_32BITUIDS]: Remove conditional code.
24690 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24691 <kernel-features.h>.
24692 [__ASSUME_32BITUIDS]: Make code unconditional.
24693 [!__ASSUME_32BITUIDS]: Remove conditional code.
24694 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
24695 <kernel-features.h>.
24696 [__ASSUME_32BITUIDS]: Make code unconditional.
24697 [!__ASSUME_32BITUIDS]: Remove conditional code.
24698 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24699 <kernel-features.h>.
24700 [__ASSUME_32BITUIDS]: Make code unconditional.
24701 [!__ASSUME_32BITUIDS]: Remove conditional code.
24702 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24703 <kernel-features.h>.
24704 [__ASSUME_32BITUIDS]: Make code unconditional.
24705 [!__ASSUME_32BITUIDS]: Remove conditional code.
24706 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
24707 <kernel-features.h>.
24708 [__ASSUME_32BITUIDS]: Make code unconditional.
24709 [!__ASSUME_32BITUIDS]: Remove conditional code.
24710 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
24711 <kernel-features.h>.
24712 [__NR_setresgid] (__setresgid): Do not declare.
24713 [__ASSUME_32BITUIDS]: Make code unconditional.
24714 [!__ASSUME_32BITUIDS]: Remove conditional code.
24715 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
24716 <kernel-features.h>.
24717 [__NR_setresuid] (__setresuid): Do not declare.
24718 [__ASSUME_32BITUIDS]: Make code unconditional.
24719 [!__ASSUME_32BITUIDS]: Remove conditional code.
24720 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
24721 <kernel-features.h>.
24722 [__ASSUME_32BITUIDS]: Make code unconditional.
24723 [!__ASSUME_32BITUIDS]: Remove conditional code.
24724 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
24725 <kernel-features.h>.
24726 [__ASSUME_32BITUIDS]: Make code unconditional.
24727 [!__ASSUME_32BITUIDS]: Remove conditional code.
24728 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
24729 <kernel-features.h>.
24730 [__ASSUME_32BITUIDS]: Make code unconditional.
24731 [!__ASSUME_32BITUIDS]: Remove conditional code.
24732 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
24733 <kernel-features.h>.
24734 [__ASSUME_32BITUIDS]: Make code unconditional.
24735 [!__ASSUME_32BITUIDS]: Remove conditional code.
24736 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
24737 <kernel-features.h>.
24738 [__ASSUME_32BITUIDS]: Make code unconditional.
24739 [!__ASSUME_32BITUIDS]: Remove conditional code.
24740 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
24741 <kernel-features.h>.
24742 [__ASSUME_32BITUIDS]: Make code unconditional.
24743 [!__ASSUME_32BITUIDS]: Remove conditional code.
24744 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
24745 <kernel-features.h>.
24746 [__ASSUME_32BITUIDS]: Make code unconditional.
24747 [!__ASSUME_32BITUIDS]: Remove conditional code.
24748 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
24749 <kernel-features.h>.
24750 [__ASSUME_32BITUIDS]: Make code unconditional.
24751 [!__ASSUME_32BITUIDS]: Remove conditional code.
24752 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
24753 <kernel-features.h>.
24754 [__ASSUME_32BITUIDS]: Make code unconditional.
24755 [!__ASSUME_32BITUIDS]: Remove conditional code.
24756 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24757 <kernel-features.h>.
24758 [__ASSUME_32BITUIDS]: Make code unconditional.
24759 [!__ASSUME_32BITUIDS]: Remove conditional code.
24760 * sysdeps/unix/sysv/linux/kernel-features.h
24761 (__ASSUME_SETRESUID_SYSCALL): Remove.
24762 (__ASSUME_SETRESGID_SYSCALL): Likewise.
24763 (__ASSUME_32BITUIDS): Likewise.
24764 (__ASSUME_LDT_WORKS): Likewise.
24765 (__ASSUME_O_DIRECTORY): Likewise.
24766 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
24767 architecture but not kernel version.
24768 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
24769 (__ASSUME_MMAP2_SYSCALL): Likewise.
24770 (__ASSUME_STAT64_SYSCALL): Likewise.
24771 (__ASSUME_IPC64): Likewise.
24772 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
24773 <kernel-features.h>.
24774 [__ASSUME_32BITUIDS]: Make code unconditional.
24775 [!__ASSUME_32BITUIDS]: Remove conditional code.
24776 * sysdeps/unix/sysv/linux/opendir.c: Do not include
24777 <kernel-features.h>.
24778 [__ASSUME_O_DIRECTORY]: Make code unconditional.
24779 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
24780 132096]: Remove conditional code.
24781 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
24782 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24783 <kernel-features.h>.
24784 [__ASSUME_32BITUIDS]: Make code unconditional.
24785 [!__ASSUME_32BITUIDS]: Remove conditional code.
24786 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24787 <kernel-features.h>.
24788 [__ASSUME_32BITUIDS]: Make code unconditional.
24789 [!__ASSUME_32BITUIDS]: Remove conditional code.
24790 * sysdeps/unix/sysv/linux/setegid.c: Do not include
24791 <kernel-features.h>.
24792 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
24793 unconditional.
24794 (__setresgid): Do not declare.
24795 [__ASSUME_32BITUIDS]: Make code unconditional.
24796 [!__ASSUME_32BITUIDS]: Remove conditional code.
24797 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
24798 <kernel-features.h>.
24799 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
24800 unconditional.
24801 (__setresuid): Do not declare.
24802 [__ASSUME_32BITUIDS]: Make code unconditional.
24803 [!__ASSUME_32BITUIDS]: Remove conditional code.
24804 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24805 <kernel-features.h>.
24806 [__ASSUME_32BITUIDS]: Make code unconditional.
24807 [!__ASSUME_32BITUIDS]: Remove conditional code.
24808 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
24809 <kernel-features.h>.
24810 [__ASSUME_32BITUIDS]: Make code unconditional.
24811 [!__ASSUME_32BITUIDS]: Remove conditional code.
24812
a386f1cc
RH
248132012-05-25 Richard Henderson <rth@twiddle.net>
24814
24815 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
24816 dl_hwcap to ifunc resolver.
24817 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
24818 elf_ifunc_invoke.
24819 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
24820 dl_hwcap to ifunc resolver.
24821 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
24822
b6550497
JM
248232012-05-24 Joseph Myers <joseph@codesourcery.com>
24824
24825 [BZ #14153]
24826 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
24827 for |x| <= 2**-26, not 2**-57.
24828 * math/libm-test.inc (acos_test): Do not allow spurious underflow
24829 exception.
24830
b0bc23a1
JL
248312012-05-24 Jeff Law <law@redhat.com>
24832
24833 * stdio-common/Makefile (tests): Add bug25.
24834 * stdio-common/bug25.c: New test.
24835
347c92e9
L
248362012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24837
24838 [BZ #13576]
24839 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
24840 multiple of MALLOC_ALIGNMENT in size.
24841 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
24842
6bcc8b3f
JM
248432012-05-24 Joseph Myers <joseph@codesourcery.com>
24844
24845 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
24846 Require >= 256.
24847 (FILENAME_MAX): Use macro-int-constant.
24848 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
24849 (_IOFBF): Use macro-int-constant.
24850 (_IOLBF): Likewise.
24851 (_IONBF): Likewise.
24852 (SEEK_CUR): Likewise.
24853 (SEEK_END): Likewise.
24854 (SEEK_SET): Likewise.
24855 (TMP_MAX): Likewise.
24856 (EOF): Use macro-int-constant. Require < 0.
24857 (NULL): Use macro-constant. Require == 0.
24858 (stdin): Require type to be FILE *.
24859 (stdout): Likewise.
24860 (stderr): Likewise.
24861 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
24862 macro-int-constant.
24863 (EXIT_SUCCESS): Likewise.
24864 (NULL): Use macro-constant. Require == 0.
24865 (RAND_MAX): Use macro-int-constant.
24866 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
24867 [C99-based standards] (strtof): Require function.
24868 [C99-based standards] (strtold): Likewise.
24869 [C99-based standards] (strtoll): Likewise.
24870 [C99-based standards] (strtoull): Likewise.
24871 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
24872 [ISO || ISO99 || ISO11] (limits.h): Likewise.
24873 [ISO || ISO99 || ISO11] (math.h): Likewise.
24874 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
24875 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
24876 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24877
d18ea0c5
AS
248782012-05-24 Andreas Schwab <schwab@linux-m68k.org>
24879
24880 [BZ #14132]
56d25bb8
AS
24881 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
24882 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
24883 * intl/dgettext.c (DCGETTEXT): Likewise.
24884 * intl/gettext.c (DCGETTEXT): Likewise.
24885 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
24886 * posix/regex_internal.h (gettext): Likewise.
24887 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
24888 Remove declaration.
24889 * include/argz.h (__argz_count_internal)
24890 (__argz_stringify_internal): Remove declaration.
24891 (__argz_count, __argz_stringify): Declare hidden proto.
24892 * intl/dcgettext.c: Remove use of INTDEF.
24893 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
24894 * string/argz-stringify.c: Likewise.
24895 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24896 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24897 Declare hidden proto.
d18ea0c5
AS
24898 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24899 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24900 Declare hidden proto.
24901 * include/stdio.h (__asprintf_internal): Don't declare.
24902 (__asprintf): Don't define as macro. Declare hidden proto.
24903 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
24904 (__fsetlocking): Declare hidden proto.
24905 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
24906 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
24907 hidden proto.
24908 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
24909 (_IO_setlinebuf): Remove use of INTUSE.
24910 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
24911 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
24912 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
24913 Remove declaration.
24914 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
24915 (_IO_do_flush): Remove use of INTUSE.
24916 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
24917 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
24918 (_IO_adjust_column, _IO_least_wmarker)
24919 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
24920 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
24921 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
24922 (_IO_default_doallocate, _IO_wdefault_doallocate)
24923 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
24924 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
24925 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
24926 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
24927 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
24928 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
24929 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
24930 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
24931 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
24932 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
24933 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
24934 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
24935 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
24936 proto.
24937 (_IO_flush_all_internal, _IO_adjust_column_internal)
24938 (_IO_default_uflow_internal, _IO_default_finish_internal)
24939 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
24940 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
24941 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
24942 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
24943 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
24944 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
24945 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
24946 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
24947 (_IO_file_close_internal, _IO_file_close_it_internal)
24948 (_IO_file_underflow_internal, _IO_file_overflow_internal)
24949 (_IO_file_init_internal, _IO_file_attach_internal)
24950 (_IO_file_fopen_internal, _IO_file_read_internal)
24951 (_IO_file_sync_internal, _IO_file_seek_internal)
24952 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
24953 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
24954 (_IO_str_underflow_internal, _IO_str_overflow_internal)
24955 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
24956 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
24957 (_IO_list_all_internal, _IO_link_in_internal)
24958 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
24959 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
24960 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
24961 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
24962 (_IO_do_write_internal, _IO_padn_internal)
24963 (_IO_getline_info_internal, _IO_getline_internal)
24964 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
24965 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
24966 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
24967 (_IO_vfscanf_internal, _IO_vfprintf_internal)
24968 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
24969 (_IO_init_internal, _IO_un_link_internal): Don't declare.
24970 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
24971 with libc_hidden_ver, remove use of INTUSE.
24972 * libio/genops.c: Likewise.
24973 * libio/freopen.c: Likewise.
24974 * libio/freopen64.c: Likewise.
24975 * libio/iofclose.c: Likewise.
24976 * libio/iofdopen.c: Likewise.
24977 * libio/iofflush.c: Likewise.
24978 * libio/iofflush_u.c: Likewise.
24979 * libio/iofgets.c: Likewise.
24980 * libio/iofgets_u.c: Likewise.
24981 * libio/iofopen.c: Likewise.
24982 * libio/iofopncook.c: Likewise.
24983 * libio/iofread.c: Likewise.
24984 * libio/iofread_u.c: Likewise.
24985 * libio/ioftell.c: Likewise.
24986 * libio/iofwrite.c: Likewise.
24987 * libio/iogetline.c: Likewise.
24988 * libio/iogets.c: Likewise.
24989 * libio/iogetwline.c: Likewise.
24990 * libio/iopadn.c: Likewise.
24991 * libio/iopopen.c: Likewise.
24992 * libio/ioseekoff.c: Likewise.
24993 * libio/ioseekpos.c: Likewise.
24994 * libio/iosetbuffer.c: Likewise.
24995 * libio/iosetvbuf.c: Likewise.
24996 * libio/ioungetc.c: Likewise.
24997 * libio/ioungetwc.c: Likewise.
24998 * libio/iovdprintf.c: Likewise.
24999 * libio/iovsprintf.c: Likewise.
25000 * libio/iovsscanf.c: Likewise.
25001 * libio/memstream.c: Likewise.
25002 * libio/obprintf.c: Likewise.
25003 * libio/oldfileops.c: Likewise.
25004 * libio/oldiofclose.c: Likewise.
25005 * libio/oldiofdopen.c: Likewise.
25006 * libio/oldiofopen.c: Likewise.
25007 * libio/oldiopopen.c: Likewise.
25008 * libio/oldstdfiles.c: Likewise.
25009 * libio/putc.c: Likewise.
25010 * libio/setbuf.c: Likewise.
25011 * libio/setlinebuf.c: Likewise.
25012 * libio/stdfiles.c: Likewise.
25013 * libio/strops.c: Likewise.
25014 * libio/vasprintf.c: Likewise.
25015 * libio/vscanf.c: Likewise.
25016 * libio/vsnprintf.c: Likewise.
25017 * libio/vswprintf.c: Likewise.
25018 * libio/wfiledoalloc.c: Likewise.
25019 * libio/wfileops.c: Likewise.
25020 * libio/wgenops.c: Likewise.
25021 * libio/wmemstream.c: Likewise.
25022 * libio/wstrops.c: Likewise.
25023 * libio/__fpurge.c: Likewise.
25024 * libio/__fsetlocking.c: Likewise.
25025 * assert/assert.c: Likewise.
25026 * debug/fgets_chk.c: Likewise.
25027 * debug/fgets_u_chk.c: Likewise.
25028 * debug/fread_chk.c: Likewise.
25029 * debug/fread_u_chk.c: Likewise.
25030 * debug/gets_chk.c: Likewise.
25031 * debug/obprintf_chk.c: Likewise.
25032 * debug/vasprintf_chk.c: Likewise.
25033 * debug/vdprintf_chk.c: Likewise.
25034 * debug/vsnprintf_chk.c: Likewise.
25035 * debug/vsprintf_chk.c: Likewise.
25036 * malloc/mtrace.c: Likewise.
25037 * misc/error.c: Likewise.
25038 * misc/syslog.c: Likewise.
25039 * stdio-common/asprintf.c: Likewise.
25040 * stdio-common/fxprintf.c: Likewise.
25041 * stdio-common/getw.c: Likewise.
25042 * stdio-common/isoc99_fscanf.c: Likewise.
25043 * stdio-common/isoc99_scanf.c: Likewise.
25044 * stdio-common/isoc99_vfscanf.c: Likewise.
25045 * stdio-common/isoc99_vscanf.c: Likewise.
25046 * stdio-common/isoc99_vsscanf.c: Likewise.
25047 * stdio-common/printf-prs.c: Likewise.
25048 * stdio-common/printf_fp.c: Likewise.
25049 * stdio-common/printf_fphex.c: Likewise.
25050 * stdio-common/printf_size.c: Likewise.
25051 * stdio-common/putw.c: Likewise.
25052 * stdio-common/scanf.c: Likewise.
25053 * stdio-common/sprintf.c: Likewise.
25054 * stdio-common/tmpfile.c: Likewise.
25055 * stdio-common/vfprintf.c: Likewise.
25056 * stdio-common/vfscanf.c: Likewise.
25057 * stdlib/strfmon_l.c: Likewise.
25058 * sunrpc/openchild.c: Likewise.
25059 * sunrpc/xdr_stdio.c: Likewise.
25060 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
25061 * sysdeps/mach/hurd/tmpfile.c: Likewise.
25062
d6c33fda
RM
250632012-05-24 Roland McGrath <roland@hack.frob.com>
25064
c1487492
RM
25065 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
25066
25067 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
25068 in the third column, to generate for the shared library an IFUNC
25069 that uses _dl_vdso_vsym.
25070 * Makerules (COMPILE.c, compile-stdin.c): New variables.
25071 * Makeconfig (object-suffixes-noshared): New variable.
25072
25073 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
25074 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
25075 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
25076 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
25077
d6c33fda
RM
25078 [BZ #14132]
25079 * include/sys/time.h (__gettimeofday): Remove macro.
25080 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
25081 * time/gettimeofday.c (__gettimeofday): Remove #undef.
25082 Remove INTDEF.
25083 (__gettimeofday): Add libc_hidden_def.
25084 (gettimeofday): Add libc_hidden_weak.
25085 * sysdeps/mach/gettimeofday.c: Likewise.
25086 * sysdeps/posix/gettimeofday.c: Likewise.
25087 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
25088 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
25089 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
25090 (__gettimeofday_internal): Remove strong_alias.
25091 (__gettimeofday): Add libc_hidden_def.
25092 (gettimeofday): Add libc_hidden_weak.
25093 * sysdeps/unix/syscalls.list (gettimeofday):
25094 Remove __gettimeofday_internal alias.
25095
b5a2bbe6
L
250962012-05-24 Daniel Jacobowitz <drow@false.org>
25097 H.J. Lu <hongjiu.lu@intel.com>
25098
25099 [BZ #12495]
25100 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
25101 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
25102 (largebin_index_32_big): New.
25103 (largebin_index): Use it for 16-byte alignment.
25104 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
25105 correction with front_misalign.
25106
cfba4fda
L
251072012-05-24 H.J. Lu <hongjiu.lu@intel.com>
25108
7f907421
L
25109 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
25110 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
25111 Likewise.
25112 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
25113 Likewise.
25114 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
25115 Likewise.
25116 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
25117 Likewise.
25118 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
25119 Likewise.
25120 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
25121 Likewise.
25122 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
25123 Likewise.
25124 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25125 Likewise.
25126 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
25127 Likewise.
25128 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
25129 Likewise.
25130 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
25131 Likewise.
25132 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
25133 Likewise.
25134
cfba4fda
L
25135 * scripts/data/c++-types-x32-linux-gnu.data: New file.
25136 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
25137
80bad0cc
JM
251382012-05-24 Joseph Myers <joseph@codesourcery.com>
25139
7a25eb06
JM
25140 [BZ #10846]
25141 [BZ #14036]
25142 * math/libm-test.inc (exp_test): Add test from bug 14036.
25143 (pow_test): Add test from bug 10846.
25144
795405f9
JM
25145 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
25146 and other flags.
25147 (special_function): Do not include flags in test name.
25148 (parse_args): Likewise.
25149 * sysdeps/i386/fpu/libm-test-ulps: Update.
25150 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25151 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25152 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25154
80bad0cc
JM
25155 * math/gen-libm-test.pl (%beautify): Add entries for underflow
25156 exceptions.
25157 * math/libm-test.inc ("Philosophy"): Update comment about
25158 exception testing.
25159 (UNDERFLOW_EXCEPTION): New macro.
25160 (UNDERFLOW_EXCEPTION_OK): Likewise.
25161 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
25162 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
25163 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
25164 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
25165 (INVALID_EXCEPTION_OK): Update value.
25166 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25167 (OVERFLOW_EXCEPTION_OK): Likewise.
25168 (IGNORE_ZERO_INF_SIGN): Likewise.
25169 (test_exceptions): Handle underflow exceptions.
25170 (acos_test): Update for underflow exception expectations.
25171 (cexp_test): Likewise.
25172 (clog_test): Likewise.
25173 (clog10_test): Likewise.
25174 (csqrt_test): Likewise.
25175 (ctan_test): Likewise.
25176 (ctanh_test): Likewise.
25177 (exp_test): Likewise.
25178 (exp10_test): Likewise.
25179 (exp2_test): Likewise.
25180 (expm1_test): Likewise.
25181 (fma_test): Likewise.
25182 (j0_test): Likewise.
25183 (jn_test): Likewise.
25184 (nexttoward_test): Likewise.
25185 (pow_test): Likewise.
25186 (scalbn_test): Likewise.
25187 (scalbln_test): Likewise.
25188 (tan_test): Likewise.
25189 (y1_test): Likewise.
25190 * sysdeps/i386/fpu/libm-test-ulps: Update.
25191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25192
9e0e3d0b
DM
251932012-05-23 David S. Miller <davem@davemloft.net>
25194
25195 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
25196 (__libc_sigaction): Remove unused local variables.
25197
ccd0a08f
L
251982012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25199
25200 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
25201
62bdf9a6
PE
252022012-05-23 Paul Eggert <eggert@cs.ucla.edu>
25203
f8591f80
PE
25204 mktime: avoid signed integer overflow
25205 * time/mktime.c (__mktime_internal): Do not mishandle the case
25206 where diff == INT_MIN.
25207
94c7d826
PE
25208 mktime: simplify computation of average
25209 * time/mktime.c (ranged_convert): Use new time_t_avg function
25210 instead of rolling our own (probably-slower) code.
25211
ce73d683
PE
25212 mktime: do not assume signed right shift propagates sign bit
25213 * time/mktime.c (isdst_differ): New static function.
25214 (__mktime_internal): No need to normalize tm_isdst now.
25215 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
25216 tm_isdst values.
25217
72a22e59
PE
25218 mktime: merge another wrapv change from gnulib
25219 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
25220 from some compilers.
25221
68605433
PE
25222 mktime: remove incorrect attempt at unusual arithmetics
25223 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
25224 The code didn't really work on such machines anyway.
25225 (TYPE_MINIMUM): Assume two's complement.
25226 (twos_complement_arithmetic): Verify that long_int and time_t
25227 are two's complement (or unsigned, in the latter case).
25228
03cf7fe3
PE
25229 mktime: check signed shifts on long_int and time_t, too
25230 * time/mktime.c (SHR): Check that shifts work as desired
25231 on the types long_int and time_t too, as SHR is used on
25232 such types.
25233
f04dfbc2
PE
25234 mktime: do not assume 'long' is wide enough
25235 * time/mktime.c (verify): Move decl up.
25236 (long_int): New type.
25237 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
25238 to remove assumption in the code that 'long' is wide enough to
25239 store year values. This assumption is not true on x32 and on
25240 some non-glibc platforms.
25241
62bdf9a6
PE
25242 mktime: merge wrapv change from gnulib
25243 * time/mktime.c (WRAPV): New macro.
25244 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
25245 (guess_time_tm, __mktime_internal): Do not assume that signed
25246 integer overflow wraps around; modern compilers generate code
25247 where this assumption is no longer valid.
25248
5e292e4f
L
252492012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25250
25251 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
25252 Replace "jmp L(pseudo_end)" with "ret".
25253 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
25254 Likewise.
25255
8caf8c87
AJ
252562012-05-23 Andreas Jaeger <aj@suse.de>
25257
25258 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
25259 * sysdeps/unix/sysv/linux/poll.c: Remove file.
25260
1a09dc56
AJ
252612012-05-23 Andreas Jaeger <aj@suse.de>
25262 Maximilian Attems <max@stro.at>
25263
25264 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
25265 New macros.
25266
1c87aba0
L
252672012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25268
25269 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
25270 code so that pseudo_end is just ret and the stack pointer is
25271 correct also for static library in error case.
25272
40e45bd5
JM
252732012-05-23 Joseph Myers <joseph@codesourcery.com>
25274
c2670533
JM
25275 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
25276 move to syscalls.list.
25277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
25278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25281
40e45bd5
JM
25282 * manual/install.texi (Running make install): Do not mention Linux
25283 kernel version for which pt_chown is not needed.
25284 (Linux): Do not mention problems with nscd with 2.0 kernels.
25285 * INSTALL: Regenerated.
25286
be08eda5
AJ
252872012-05-23 Andreas Jaeger <aj@suse.de>
25288
25289 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
25290 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
25291 macro.
25292 * sysdeps/unix/sysv/linux/s390/bits/mman.h
25293 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25294 * sysdeps/unix/sysv/linux/sh/bits/mman.h
25295 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25296 * sysdeps/unix/sysv/linux/i386/bits/mman.h
25297 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25298 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
25299 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25300 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
25301 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25302 * sysdeps/unix/sysv/linux/bits/in.h
25303 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
25304
a6a056bb
RM
253052012-05-22 Roland McGrath <roland@hack.frob.com>
25306
25307 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
25308 (PREPARE_VERSION): Just use assert instead, it will be elided
25309 under [NDEBUG] anyway.
25310
c9009328
L
253112012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25312
25313 * sysdeps/unix/sysv/linux/Makefile: Include
25314 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 25315 (sysdep_routines): Remove sysctl.
c9009328
L
25316 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
25317 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
25318 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
25319 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
25320 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
25321
73338355
AJ
253222012-05-22 Andreas Jaeger <aj@suse.de>
25323
25324 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
25325 that pseudo_end is just ret and the stack pointer is correct also
25326 for static library in error case.
25327
d44638b0
PP
253282012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
25329
25330 [BZ #14122]
25331 * nss/nsswitch.c (defconfig_entries): New variable.
25332 (__nss_database_lookup): Don't leak defconfig entries.
25333 (nss_parse_service_list): Don't leak on error paths.
25334 (free_database_entries): New function.
25335 (free_defconfig): New function.
25336 (free_mem): Move common code to free_database_entries.
25337
31a39bd8
L
253382012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25339
da0331a8
L
25340 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
25341 Add arch_prctl.
25342 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
25343
31a39bd8
L
25344 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25345 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
25346 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
25347 New macro.
25348 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
25349 (INTERNAL_SYSCALL_TYPES): Likewise.
25350 (LOAD_ARGS_TYPES_[1-6]): Likewise.
25351 (LOAD_REGS_TYPES_[1-6]): Likewise.
25352 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
25353 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
25354
45470df3
AZ
253552012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25356
25357 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
25358 copysignl for GLIBC_2_0.
25359 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
25360 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
25361 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
25362 logbl for GLIBC_2_0.
25363 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
25364 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
25365
98a61bcb
L
253662012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25367
a4f6e481
L
25368 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
25369 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25370
f63d5db6
L
25371 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
25372 Use "neg %eax".
25373
98a61bcb
L
25374 * time/mktime.c: Update copyright years.
25375
95770f14
PE
253762012-05-22 Paul Eggert <eggert@cs.ucla.edu>
25377
6226efbd
PE
25378 mktime: merge comment-quoting-style change from gnulib
25379 * time/mktime.c: Quote 'like this' in comments.
25380 The GNU coding standards suggest that we no longer quote `like this',
25381 as "`" and "'" are typically rendered asymmetrically nowadays.
25382 The typical gnulib style is to quote 'like this' when quoting
25383 code, and "like this" when quoting English.
25384
b99e4f78
PE
25385 * time/mktime.c (compile-command): Add "-I.".
25386
643e01e6
PE
25387 mktime: merge mktime-internal.h change from gnulib
25388 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
25389
2554247d
PE
25390 mktime: merge time_r change from gnulib
25391 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
25392
826dd0ab
PE
25393 mktime: merge DEBUG change from gnulib
25394 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
25395 case system <time.h> has a #define.
25396
bd83aabe
PE
25397 mktime: merge <sys/types.h> change from gnulib
25398 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
25399 since <time.t> is now guaranteed to define time_t.
25400
95770f14
PE
25401 mktime: merge HAVE_CONFIG_H change from gnulib
25402 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
25403
5e1a27a9
L
254042012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25405
0e44a77e
L
25406 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25407 Use "neg %eax".
25408
5e1a27a9
L
25409 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
25410 __rlim_t cast.
25411 (struct rusage): Use anonymous union to pad each field to
25412 __syscall_slong_t.
25413
46259bec
DM
254142012-05-21 David S. Miller <davem@davemloft.net>
25415
25416 * Makefules (o-iterator): Remove .s cases.
25417 (compile-command.s): Delete.
25418 (COMPILE.s): Delete.
25419 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
25420
59f0c22e
JM
254212012-05-21 Joseph Myers <joseph@codesourcery.com>
25422
25423 * configure.in (libc_cv_predef_stack_protector): Only consider
25424 "foobar" and "__stack_chk_fail" lines in libc_undefs.
25425 * configure: Regenerated.
25426
20c07380
L
254272012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25428
bbb3154b
L
25429 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25430 New macro. Use R*LP on int and pointer.
25431 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
25432 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
25433 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
25434 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
25435
20c07380
L
25436 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
25437 [__WORDSIZE_TIME64_COMPAT32] instead of
25438 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
25439 (struct utmp): Likewise.
25440 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
25441 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
25442 Renamed to ...
25443 (__WORDSIZE_TIME64_COMPAT32): This.
25444 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
25445 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
25446 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
25447 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
25448 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
25449 (__WORDSIZE_TIME64_COMPAT32): New macro.
25450
d8d1017e
AJ
254512012-05-21 Andreas Jaeger <aj@suse.de>
25452
25453 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
25454 only if [SHARED]. Add prototype for __wcschr_ia32.
25455
6c7fb145
RM
254562012-05-21 Roland McGrath <roland@hack.frob.com>
25457
25458 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
25459 of %rbp unmolested in the jmp_buf while mangling the low bits.
25460 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
25461 unmolested high bits of %rbp while demangling the low bits.
25462 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
25463
66274218
AJ
254642012-05-21 Andreas Jaeger <aj@suse.de>
25465
07c58f8f
AJ
25466 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
25467 * sunrpc/svc_simple.c: Use it for registerrpc.
25468 * sunrpc/xcrypt.c: Use it for passwd2des.
25469
66274218
AJ
25470 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
25471
61f65140
L
254722012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25473
25474 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
25475 Don't define if [__SYSCALL_WORDSIZE != 32].
25476 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
25477 New macro.
25478
5fefb436
AJ
254792012-05-21 Bruno Haible <bruno@clisp.org>
25480 Andreas Jaeger <aj@suse.de>
25481
25482 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
25483 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
25484 inptr and inend for must_buffer_ch.
25485 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
25486 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
25487 * stdio-common/Makefile (tests): Remove bug15.
25488 (bug15-ENV): Remove macro.
25489 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
25490 anymore.
25491
d8e272ab
AJ
254922012-05-19 Andreas Jaeger <aj@suse.de>
25493 Roland McGrath <roland@hack.frob.com>
25494
25495 * manual/contrib.texi: Completely rewritten. It contains now an
25496 alphabetical list of contributors and their contributions.
25497
4a56a162
RH
254982012-05-21 Richard Henderson <rth@twiddle.net>
25499
25500 * misc/getauxval.c (__getauxval): Use unsigned long int.
25501 * misc/sys/auxv.h: Include <sys/cdefs.h>.
25502 (getauxval): Use unsigned long int.
25503
d024d23c
L
255042012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25505
25506 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
25507
cbc00a03
RM
255082012-05-21 Roland McGrath <roland@hack.frob.com>
25509
25510 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
25511 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
25512 __alignof__ (long double).
25513
478143fa
AZ
255142012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25515
25516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25517
c7683a6d
RH
255182012-05-20 Richard Henderson <rth@twiddle.net>
25519
25520 * misc/getauxval.c: New file.
25521 * misc/sys/auxv.h: New file.
25522 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
25523 (routines): Add getauxval.
25524 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
25525 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
25526 * elf/dl-sysdep.c (_dl_auxv): Remove.
25527 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
25528 * elf/dl-support.c (_dl_auxv): New variable.
25529 (_dl_aux_init): Initialize it.
25530 * manual/startup.texi (Auxiliary Vector): New node.
25531 * sysdeps/generic/bits/hwcap.h: New file.
25532 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
25533 * sysdeps/powerpc/sysdep.h: ... here. Include it.
25534 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
25535 * sysdeps/sparc/sysdep.h: ... here. Include it.
25536 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
25537 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
25538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25539 Update.
c7683a6d
RH
25540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
25541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
25542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
25543 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
25544 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25545 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25546 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
25547 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
25548
a6f1845d
AZ
255492012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25550
25551 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25552
cbcbe830
DM
255532012-05-19 David S. Miller <davem@davemloft.net>
25554
25555 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25556
e0b16cc2
JM
255572012-05-19 Joseph Myers <joseph@codesourcery.com>
25558
25559 [BZ #14123]
25560 * math/s_ccosh.c: Include <float.h>
25561 (__ccosh): Avoid internal overflow calculating sinh and cosh
25562 values before multiplying by sin and cos values.
25563 * math/s_ccoshf.c: Likewise.
25564 * math/s_ccoshl.c: Likewise.
25565 * math/s_csin.c: Likewise.
25566 * math/s_csinf.c: Likewise.
25567 * math/s_csinl.c: Likewise.
25568 * math/s_csinh.c: Likewise.
25569 * math/s_csinhf.c: Likewise.
25570 * math/s_csinhl.c: Likewise.
25571 * math/libm-test.inc (ccos_test): Add more tests.
25572 (ccosh_test): Likewise.
25573 (csin_test): Likewise.
25574 (csinh_test): Likewise.
25575 * sysdeps/i386/fpu/libm-test-ulps: Update.
25576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25577
6ad13e08
L
255782012-05-19 H.J. Lu <hongjiu.lu@intel.com>
25579
f66f0ce8
L
25580 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
25581 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
25582
6ad13e08
L
25583 * sysdeps/x86_64/x32/_itoa.h: Add comment.
25584
b1d072a7
JM
255852012-05-19 Joseph Myers <joseph@codesourcery.com>
25586
25587 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
25588 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
25589 * sysdeps/powerpc/soft-fp/Versions: Likewise.
25590 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
25591 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
25592 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
25593 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
25594 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
25595 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
25596 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
25597 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
25598 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
25599 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
25600 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
25601 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
25602 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
25603 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
25604 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
25605 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
25606 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
25607 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
25608 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
25609 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
25610 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
25611 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
25612 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
25613 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
25614 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
25615 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
25616 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
25617 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
25618
9eae47cb
AJ
256192012-05-18 Andreas Jaeger <aj@suse.de>
25620
25621 * csu/.gitignore: Delete.
25622
bb07f69f
L
256232012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25624
25625 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
25626 (timex): Use __syscall_slong_t.
25627
e6bdb741
AJ
256282012-05-18 Andreas Jaeger <aj@suse.de>
25629 Carlos O'Donell <carlos_odonell@mentor.com>
25630
25631 * manual/install.texi (Configuring and compiling): Update
25632 description about files modified in the source directory.
d6c33fda 25633 * INSTALL: Regenerated.
e6bdb741 25634
1b74487e
L
256352012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25636
25637 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
25638 value. Use "or" to set return value to -1.
25639 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
25640 negate return value.
25641
a88b64b9
TMQMF
256422012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25643
25644 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
25645 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
25646 failure if the compiler has Graphite support disabled.
25647 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
25648 Likewise.
25649 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
25650 CFLAGS-memmove.c): Likewise.
25651 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
25652 Likewise.
25653
3707636e
L
256542012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25655
610b8622
L
25656 * sysdeps/x86_64/x32/_itoa.h: New file.
25657
7cd195df
L
25658 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
25659 getdents system call only if kernel and user dirents have the
25660 same d_ino and d_off.
25661
94b07d20
L
25662 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25663 LLONG_MAX != LONG_MAX.
25664 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25665 (_fitoa_word): Likewise.
25666
18298070
L
25667 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
25668 years.
25669 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
25670 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
25671 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
25672
553c7ea4
L
25673 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
25674 include <bits/wordsize.h>. Check __x86_64__ instead of
25675 __WORDSIZE.
25676 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
25677 if __x86_64__ is defined. Use anonymous union on fpstate.
25678
3707636e
L
25679 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
25680 anonymous union.
25681
b53ef01a
AS
256822012-05-18 Andreas Schwab <schwab@linux-m68k.org>
25683
37fb1dc0
AS
25684 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
25685 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
25686 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
25687 Refer to _rtld_local_ro instead of _rtld_global_ro.
25688 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
25689 Likewise.
25690 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
25691 Likewise.
25692 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
25693 Likewise.
25694 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
25695 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
25696 of _rtld_global, and rtld_progname instead of _dl_argv[0].
25697
b53ef01a
AS
25698 * sysdeps/powerpc/powerpc32/dl-machine.c
25699 (__elf_machine_runtime_setup) [PROF]: Don't reference
25700 _dl_prof_resolve.
25701
7a185db2
AJ
257022012-05-18 Andreas Jaeger <aj@suse.de>
25703
25704 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
25705 function only available for GCCs before 3.4 since GCC 3.4
25706 introduced a builtin.
25707 (lrint): Likewise.
25708 (llrintf): Likewise.
25709 (llrint): Likewise.
25710 (fmaxf): Likewise.
25711 (fmax): Likewise.
25712 (fminf): Likewise.
25713 (fmin): Likewise.
25714 (rint): Likewise.
25715 (rintf): Likewise.
25716 (nearbyint): Likewise.
25717 (nearbyintf): Likewise.
25718 (ceil): Likewise.
25719 (ceilf): Likewise.
25720 (floor): Likewise.
25721 (floorf): Likewise.
25722
3e5aef87
L
257232012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25724
428bd707
L
25725 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
25726 on both fields and cast pointer to __syscall_ulong_t.
25727
3e5aef87
L
25728 * bits/types.h (__fsword_t): New type.
25729 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
25730 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
25731 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25732 (__FSWORD_T_TYPE): Likewise.
25733 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25734 (__FSWORD_T_TYPE): Likewise.
25735 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25736 (__FSWORD_T_TYPE): Likewise.
25737 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
25738 (__FSWORD_T_TYPE): Likewise.
25739 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
25740 __SWORD_TYPE with __fsword_t.
25741 (statfs64): Likewise.
25742
1ba7c3dc
DM
257432012-05-17 David S. Miller <davem@davemloft.net>
25744
25745 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
25746
59910343
AJ
257472012-05-17 Andreas Jaeger <aj@suse.de>
25748
25749 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
25750 warning.
25751
2e4c1e9e
L
257522012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25753
25754 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
25755
de7f5ce7
AJ
257562012-05-17 Andreas Jaeger <aj@suse.de>
25757
25758 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
25759 when it is used.
25760
286abc3d
CM
257612012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25762
25763 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
25764
477cc68e
L
257652012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25766
25767 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
25768 * sysdeps/x86_64/tst-mallocalign1.c: New file.
25769
1a0994f5
CD
257702012-05-17 Andreas Jaeger <aj@suse.de>
25771 Carlos O'Donell <carlos_odonell@mentor.com>
25772
25773 [BZ #14059]
25774 * sysdeps/x86_64/multiarch/init-arch.h
25775 (bit_YMM_Usable): Rename to...
25776 (bit_AVX_Usable): ... this.
25777 (bit_FMA4_Usable): New macro.
25778 (bit_XMM_state): New macro.
25779 (bit_YMM_state): New macro.
25780 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
25781 [__ASSEMBLER__] (index_AVX_Usable): ... this.
25782 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
25783 (CPUID_OSXSAVE): New macro.
25784 (CPUID_AVX): New macro.
25785 (CPUID_FMA4): New macro.
25786 (index_YMM_Usable): Rename to...
25787 (index_AVX_Usable): ... this.
25788 (HAS_AVX): Use HAS_ARCH_FEATURE.
25789 (HAS_FMA4): Likewise.
25790 (HAS_YMM_USABLE): Remove.
25791 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25792 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
25793 are present.
25794 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
25795 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
25796 * sysdeps/x86_64/multiarch/Makefile: Likewise.
25797 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
25798 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
25799
0af797de
CM
258002012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25801
25802 * math/libm-test.c: Support platforms without multiple rounding modes.
25803 * math/bug-nextafter.c: Support platforms without FP exceptions.
25804 * math/bug-nexttoward.c: Likewise.
25805 * math/test-fenv.c: Likewise.
25806 * math/test-misc.c: Likewise.
25807 * stdlib/bug-getcontext.c: Likewise.
25808
e39745ff
AJ
258092012-05-17 Andreas Jaeger <aj@suse.de>
25810
25811 * manual/examples/search.c (critter_cmp): Change signature to
25812 avoid warnings.
25813 * manual/string.texi (Collation Functions): Likewise.
25814
48970aba
L
258152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25816
25817 * bits/types.h: Fold copyright years.
25818 * bits/typesizes.h: Likewise.
25819 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
25820 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25821 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
25822 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
25823 * time/time.h: Likewise.
25824
bedee953
PP
258252012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
25826
25827 [BZ #208]
25828 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
25829 in instead of returning them. Return void.
25830 (__libc_mallinfo): Accumulate over all arenas.
25831 (__malloc_stats): Adjust for change in int_mallinfo interface.
25832
61653dfb
RM
258332012-05-16 Roland McGrath <roland@hack.frob.com>
25834
30b99d79
RM
25835 [BZ #10375]
25836 * configure.in (NM): Add AC_CHECK_TOOL for it.
25837 (libc_extra_cflags): New substituted variable.
25838 Check for -fstack-protector being used implicitly.
25839 * configure: Regenerated.
25840 * config.make.in (config-extra-cflags): New variable,
25841 gets @libc_extra_cflags@.
25842 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
25843
61653dfb
RM
25844 [BZ #10375]
25845 * configure.in: Check for _FORTIFY_SOURCE being predefined.
25846 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
25847 * configure: Regenerated.
25848 * config.make.in (CPPUNDEFS): New substituted variable.
25849 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
25850 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
25851 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
25852
661768bb
L
258532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25854
25855 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
25856 (mq_attr): Use __syscall_slong_t.
25857
d4261567
L
258582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25859
25860 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
25861 Check __x86_64__ instead of __WORDSIZE.
25862 (_STAT_VER_LINUX): Likewise.
25863 (stat): Check __x86_64__ instead of __WORDSIZE. Use
25864 __syscall_ulong_t and __syscall_slong_t.
25865 (stat64): Likewise.
25866
cf3ff365
L
258672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25868
25869 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
25870
76cf3e4d
L
258712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25872
25873 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
25874
a637753a
L
258752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25876
25877 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
25878 __syscall_ulong_t.
25879
d5e05119
L
25880 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
25881 include <bits/wordsize.h>. Check __x86_64__ instead of
25882 __WORDSIZE.
25883 (greg_t): Use "__extension__ long long int" if __x86_64__ is
25884 defined.
25885 (mcontext_t): Replace "unsigned long" with "unsigned long long".
25886
f62ee380
L
25887 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
25888 include <bits/wordsize.h>. Check __x86_64__ instead of
25889 __WORDSIZE.
25890 (user_regs_struct): Use "__extension__ unsigned long long"
25891 instead of "unsigned long" if __x86_64__ is defined.
25892 (user): Likewise. Pad after pointer field if __ILP32__ is
25893 defined.
25894
4e124ced
JM
258952012-05-16 Joseph Myers <joseph@codesourcery.com>
25896
6a3951a0
JM
25897 * configure.in (makeinfo): Require version 4.5 or later. Allow
25898 versions 5 to 9.
25899 * configure: Regenerated.
25900 * manual/install.texi (texinfo): Increase version requirement to
25901 4.5 or later.
25902 * INSTALL: Regenerated.
25903
4e124ced
JM
25904 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
25905
953ca31a
L
259062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25907
25908 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
25909
617aca05
L
25910 * sysdeps/x86_64/x32/ffs.c: New file.
25911
5762f7ae
L
25912 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
25913 __syscall_ulong_t.
25914 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
25915 defined. Use __syscall_ulong_t.
25916 (shminfo): Use __syscall_ulong_t.
25917 (shm_info): Likewise.
25918
a26b6856
L
25919 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
25920 __syscall_ulong_t.
25921
cb2b9ef7
L
25922 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
25923 <bits/wordsize.h>.
25924 (msgqnum_t): Use __syscall_ulong_t.
25925 (msglen_t): Likewise.
25926 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
25927 __syscall_ulong_t.
25928
34683bb0
L
25929 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
25930 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25931
84a68786
L
25932 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
25933
48baa5f1
L
25934 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
25935 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
25936
180be88b
L
25937 * sysvipc/sys/msg.h (msgbuf): Replace long int with
25938 __syscall_slong_t.
25939
5e90c8ad
L
25940 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
25941 include <bits/wordsize.h>. Check __x86_64__ instead of
25942 __WORDSIZE.
25943
23dfb58b
L
25944 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
25945 "unsigned long long int" if __x86_64__ is defined.
25946 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
25947
ce5d54b0
L
25948 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
25949 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25950 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
25951
13dc9eac
L
25952 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
25953 <stdint.h>.
25954 (GET_PC): Cast to uintptr_t first.
25955 (GET_FRAME): Likewise.
25956 (GET_STACK): Likewise.
25957
a7895d15
L
25958 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
25959 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
25960 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
25961 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
25962 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
25963 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
25964 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
25965 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
25966 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
25967 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
25968 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
25969 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
25970 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25971 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
25972 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
25973 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
25974 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
25975 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
25976 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
25977 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
25978 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
25979 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
25980 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
25981 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
25982 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
25983 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
25984 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
25985 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
25986 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
25987
656416c9
AS
259882012-05-16 Andreas Schwab <schwab@linux-m68k.org>
25989
5bd66283
AS
25990 * Makerules (+depfiles): Also collect depfiles from .oS in
25991 $(extra-objs).
25992 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
25993 .oS, $(libnldbl-routines)).
25994
656416c9
AS
25995 * Makerules (native-compile-mkdep-flags): Define.
25996 * sunrpc/Makefile (extra-objs): Add $(addprefix
25997 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
25998 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
25999 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
26000 calling $(make-target-directory).
26001
a46f2169
L
260022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26003
26004 * bits/types.h (__snseconds_t): Removed.
26005 * time/time.h (struct timespec): Replace __snseconds_t with
26006 __syscall_slong_t.
26007 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
26008 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
26009 Likewise.
26010 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26011 (__SNSECONDS_T_TYPE): Likewise.
26012 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26013 (__SNSECONDS_T_TYPE): Likewise.
26014 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26015 (__SNSECONDS_T_TYPE): Likewise.
26016
6af6528b
L
260172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26018
26019 * sysdeps/mach/hurd/bits/typesizes.h
26020 (__SYSCALL_SLONG_TYPE): New macro.
26021 (__SYSCALL_ULONG_TYPE): Likewise.
26022
de986b56
L
260232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26024
26025 * bits/types.h (__syscall_slong_t): New type.
26026 (__syscall_ulong_t): Likewise.
26027
26028 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
26029 (__SYSCALL_ULONG_TYPE): Likewise.
26030 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26031 (__SYSCALL_SLONG_TYPE): Likewise.
26032 (__SYSCALL_ULONG_TYPE): Likewise.
26033 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26034 (__SYSCALL_SLONG_TYPE): Likewise.
26035 (__SYSCALL_ULONG_TYPE): Likewise.
26036 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26037 (__SYSCALL_SLONG_TYPE): Likewise.
26038 (__SYSCALL_ULONG_TYPE): Likewise.
26039
85736dc7
L
260402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26041
26042 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
26043 Add sigaltstack-offsets.sym.
26044 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
26045 <sigaltstack-offsets.h>.
26046 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
26047 longjmp_msg pointer.
26048 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
26049 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
26050 signal stack.
26051 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
26052
cc03b296
JM
260532012-05-15 Joseph Myers <joseph@codesourcery.com>
26054
a9538892
JM
26055 * elf/stackguard-macros.h: Remove file.
26056 * sysdeps/generic/stackguard-macros.h: New file.
26057 * sysdeps/i386/stackguard-macros.h: Likewise.
26058 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
26059 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
26060 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26061 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26062 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
26063 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
26064 * sysdeps/x86_64/stackguard-macros.h: Likewise.
26065 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
26066 <elf/stackguard-macros.h>.
26067
cc03b296
JM
26068 [BZ #14109]
26069 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
26070 __aligned__ in attribute.
26071 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
26072 (gregset_t): Likewise.
26073
93171016
L
260742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26075
26076 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
26077 * sysdeps/x86_64/64/Implies-after: Here. New file.
26078 * sysdeps/x86_64/x32/Implies-after: New file.
26079
d86813a0
L
260802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26081
26082 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
26083 and access return value for _dl_profile_fixup. Use R10_LP to
26084 load frame size.
26085
2953ec75
L
260862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26087
26088 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
26089
3b550e9e
L
260902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26091
26092 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
26093 * sysdeps/x86_64/x32/sysdep.h: New file.
26094
eda41706
L
260952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26096
26097 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
26098 * sysdeps/x86_64/setjmp.S: Likewise.
26099
9ea01d93
AZ
261002012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26101
26102 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
26103 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
26104 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
26105 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
26106 remove unused global constant.
26107
02a91938
CM
261082012-05-15 Chris Metcalf <cmetcalf@tilera.com>
26109
26110 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
26111 include of <not-cancel.h>.
26112
6540185f
RM
261132012-05-15 Roland McGrath <roland@hack.frob.com>
26114
26115 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
26116
509072a0
AJ
261172012-05-15 Jeff Law <law@redhat.com>
26118 Andreas Jaeger <aj@suse.de>
26119
26120 [BZ #13594]
26121 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
26122 out from...
26123 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
26124 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
26125 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
26126 code changing __hst_map_handle.map.
26127
ba75122d
RM
261282012-05-15 Roland McGrath <roland@hack.frob.com>
26129
26130 * configure.in (sysnames): Look for Implies-before and Implies-after
26131 files.
26132 * configure: Regenerated.
26133
890d8bd8
L
261342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26135
26136 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
26137 8-byte data alignment with LP_SIZE alignment.
26138
f6ee6623
L
261392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26140
26141 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
26142 into R10_LP.
26143
ea2626f6
L
261442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26145
26146 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
26147
085f715e
L
261482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26149
26150 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
26151 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
26152 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
26153 Likewise.
26154 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26155
be8498fc
L
261562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26157
26158 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
26159 (stackinfo_sub_sp): Likewise.
26160
70bc83b9
L
261612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26162
26163 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
26164 RAX_LP.
26165
9bc0b730
L
261662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26167
26168 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
26169 into R*_LP.
26170
6d2850e7
L
261712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26172
26173 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
26174 sizes into R*_LP.
26175
3cb84561
L
261762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26177
26178 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
26179
54e2ed81
L
261802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26181
26182 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
26183 into R11_LP and load __x86_64_shared_cache_size_half into
26184 R8_LP.
26185
8a17f349
L
261862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26187
26188 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
26189 R8_LP.
26190
777b1eea
AZ
261912012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26192
26193 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
26194 logb for POWER7.
26195 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
26196 logbf for POWER7.
26197 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
26198 logbl for POWER7.
26199 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
26200 powerpc32/power7/fpu/s_logb.c via #include.
26201 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
26202 powerpc32/power7/fpu/s_logbf.c via #include.
26203 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
26204 powerpc32/power7/fpu/s_logbl.c via #include.
26205
d20d4ac2
JM
262062012-05-15 Joseph Myers <joseph@codesourcery.com>
26207
26208 * README.libm: Remove file.
26209
6cdef1ab
L
262102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26211
26212 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
26213 count for x32. Use R*_LP and omit operand-size suffix.
26214
0b254d8f
L
262152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26216
26217 * shlib-versions: Move x86_64-.*-linux.* entries to ...
26218 * sysdeps/x86_64/64/shlib-versions: Here. New file.
26219 * sysdeps/x86_64/x32/shlib-versions: New file.
26220
ceb809dc
RM
262212012-05-14 Roland McGrath <roland@hack.frob.com>
26222
26223 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
26224 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
26225 Use _dl_fatal_printf instead.
26226
37f1abd4
JM
262272012-05-14 Joseph Myers <joseph@codesourcery.com>
26228
26229 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
26230 set if not set by the user. Do not allow for being unset.
26231 * sysdeps/unix/sysv/linux/configure: Regenerated.
26232
11de3a33
L
262332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26234
26235 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
26236 the `q' suffix from lea and replace .quad with ASM_ADDR.
26237
e02f153a
L
262382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26239
26240 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
26241 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
26242 instead of $17.
26243 (PTR_DEMANGLE): Likewise.
26244
520ae0fd
L
262452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26246
26247 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
26248 (LP_OP): Likewise.
26249 (ASM_ADDR): Likewise.
26250 (RAX_LP): Likewise.
26251 (RBP_LP): Likewise.
26252 (RBX_LP): Likewise.
26253 (RCX_LP): Likewise.
26254 (RDI_LP): Likewise.
26255 (RSI_LP): Likewise.
26256 (RSP_LP): Likewise.
26257 (R8_LP): Likewise.
26258 (R9_LP): Likewise.
26259 (R10_LP): Likewise.
26260 (R10_LP): Likewise.
26261 (R11_LP): Likewise.
26262 (R12_LP): Likewise.
26263 (R13_LP): Likewise.
26264 (R14_LP): Likewise.
26265 (R15_LP): Likewise.
26266
b985be81
L
262672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26268
26269 * sysdeps/x86_64/x32/dl-machine.h: New file.
26270
6a4888ff
AJ
262712012-05-14 Andreas Jaeger <aj@suse.de>
26272
26273 * manual/Makefile (subdir): Remove export of subdir.
26274 (all): Remove target.
26275 (.PHONY): Remove all from list.
26276 (mkinstalldirs): Remove.
26277 (.PHONY): Remove installdirs from list.
26278 ($(inst_infodir)/libc.info): Use make-target-directory.
26279 (installdirs): Remove.
26280 (subdir_%): Remove.
26281 (glibc-targets): Remove.
26282 (lib): Remove.
26283 (stubs): Remove.
26284 ($(objpfx)stubs ../po/manual.pot): Remove.
26285 ($(objpfx)stamp%): Remove.
26286 (make-target-directory): Remove.
26287 (subdir_install): Remove.
26288 (routines): Remove.
26289 (aux): Remove.
26290 (sources): Remove.
26291 (objects): Remove.
26292 (headers): Remove.
26293
26294 [BZ #13750]
26295 * manual/.gitignore: Remove, it's not needed anymore.
26296 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
26297 all files in it.
26298 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
26299 directory.
26300 (texis): Renamed to $(objpfx)texis.
26301 (texis-path): New, contains path to generated files.
26302 (chapters.%): Use texis-path for complete path, add extra argument
26303 libc-texinfo.sh.
26304 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
26305 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
26306 (summary,texi, stamp-summary): Use complete path of
26307 files. Generate files in build dir.
26308 (dir-add.texi): Build in build dir.
26309 (libm-err.texi,stamp-libm-err): Likewise.
26310 (version.texi, stamp-version): Likewise.
26311 (.%c.texi): Likewise.
26312 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
26313 (mostlyclean): Remove target.
26314 (realclean): Remove target.
26315 (generated): Add new variable with contents from mostlyclean and
26316 realclean, remove entries duplicated in common-mostlyclean, add
26317 stamp-libm-err and stamp-version.
26318 (generated-dirs): Add libc directory.
26319 ($(inst_infodir)/libc.info): Install files from build dir.
26320
26321 * manual/install.texi (Configuring and compiling): Adjust since
26322 the info files are not part of the tar ball anymore.
26323
7ac77294
AJ
263242012-05-14 Andreas Jaeger <aj@suse.de>
26325
26326 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
26327 variable.
26328
ffb7875d
JM
263292012-05-14 Joseph Myers <joseph@codesourcery.com>
26330
26331 [BZ #13717]
26332 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26333 to 2.2.0 where earlier.
26334 * sysdeps/unix/sysv/linux/configure: Regenerated.
26335 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
26336 Remove conditional code.
26337 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
26338 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
26339 Remove conditional code.
26340 [!__NR_lchown]: Likewise.
26341 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26342 [__NR_lchown]: Likewise.
26343 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
26344 comment referencing __ASSUME_LCHOWN_SYSCALL.
26345 * sysdeps/unix/sysv/linux/i386/sigaction.c
26346 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26347 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26348 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
26349 Remove conditional code.
26350 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
26351 (__protocol_available): Remove #if 0 code.
26352 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
26353 conditional code.
26354 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
26355 * sysdeps/unix/sysv/linux/kernel-features.h
26356 (__ASSUME_GETCWD_SYSCALL): Don't define.
26357 (__ASSUME_REALTIME_SIGNALS): Likewise.
26358 (__ASSUME_PREAD_SYSCALL): Likewise.
26359 (__ASSUME_PWRITE_SYSCALL): Likewise.
26360 (__ASSUME_POLL_SYSCALL): Likewise.
26361 (__ASSUME_LCHOWN_SYSCALL): Likewise.
26362 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
26363 non-SPARC.
26364 (__ASSUME_SIOCGIFNAME): Don't define.
26365 (__ASSUME_MSG_NOSIGNAL): Likewise.
26366 (__ASSUME_SENDFILE): Define unconditionally.
26367 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
26368 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
26369 conditional code.
26370 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
26371 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
26372 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
26373 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26374 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
26375 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
26376 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
26378 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26379 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
26381 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26382 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
26384 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26385 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
26387 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26388 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
26390 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26391 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
26393 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26394 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
26396 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26397 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
26399 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26400 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26401 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
26402 Remove conditional code.
26403 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26404 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26405 Remove conditional code.
26406 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26407 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
26408 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
26409 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26410 Remove conditional code.
26411 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26412 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
26413 Remove conditional code.
26414 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26415 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
26416 Remove conditional code.
26417 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26418 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26419 Remove conditional code.
26420 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26421 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26422 Remove conditional code.
26423 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26424 * sysdeps/unix/sysv/linux/sh/pwrite64.c
26425 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26426 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26427 * sysdeps/unix/sysv/linux/sigaction.c
26428 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26429 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26430 * sysdeps/unix/sysv/linux/sigpending.c
26431 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26432 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26433 * sysdeps/unix/sysv/linux/sigprocmask.c
26434 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26435 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26436 * sysdeps/unix/sysv/linux/sigsuspend.c
26437 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26438 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26439 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
26440 (__libc_missing_rt_sigs): Remove.
26441 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
26442 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
26443 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
26444 Remove conditional code.
26445 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
26446 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
26447 return 1.
26448 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
26449 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
26450 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
26451 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
26452
1bfb7291
AJ
264532012-05-14 Andreas Jaeger <aj@suse.de>
26454
caae5a81
AJ
26455 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
26456 it's not used in glibc.
26457 (__coshm1): Likewise.
26458 (__acosh1p): Likewise.
26459 (__sgn): Likewise.
26460
1bfb7291
AJ
26461 * manual/string.texi (Copying and Concatenation): Add missing
26462 variable in concat example.
26463 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
26464
c044d724
L
264652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26466
144c5467 26467 [BZ #14103]
c044d724
L
26468 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
26469 __builtin_clzl with __builtin_clzll.
26470
2523c62b
L
264712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26472
26473 [BZ #14104]
26474 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
26475 libc_freeres_ptr.
26476
d7bb4c42
LD
264772012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26478
26479 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
26480 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
26481 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
26482 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
26483
9dc4e1fb
MF
264842012-05-14 Mike Frysinger <vapier@gentoo.org>
26485
26486 * NEWS: Update ia64 info.
26487
c7df0112
AS
264882012-05-12 Andreas Schwab <schwab@linux-m68k.org>
26489
26490 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
26491 used as bcopy.
26492
dc70356c
TS
264932012-05-12 Thomas Schwinge <thomas@codesourcery.com>
26494
26495 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
26496 * sysdeps/unix/syscalls.list (dup3): Likewise.
26497 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
26498 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
26499
9fb1a21f
L
265002012-05-11 H.J. Lu <hongjiu.lu@intel.com>
26501
26502 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
26503 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
26504
4822a2a5
L
265052012-05-11 H.J. Lu <hongjiu.lu@intel.com>
26506
26507 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
26508 thread pointer.
26509 (TLS_IE): Use mov/add instead of movq/addq to load thread
26510 pointer.
26511 (TLS_GD_PREFIX): New.
26512 (TLS_GD): Use it.
26513
842b81d6
DM
265142012-05-11 David S. Miller <davem@davemloft.net>
26515
26516 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
26517 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
26518 (_FPU_SETCW): Likewise.
26519
1cf463cd
L
265202012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26521
26522 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
26523 is 32-byte aligned.
26524
60cc4a18
AS
265252012-05-11 Andreas Schwab <schwab@linux-m68k.org>
26526
26527 [BZ #11837]
26528 * iconvdata/gb18030.c: Update tables.
26529 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
26530 characters specially.
26531 (BODY for TO_LOOP): Add encoding of missing ranges.
26532
febb44a4
TS
265332012-05-11 Thomas Schwinge <thomas@codesourcery.com>
26534
26535 [BZ #13673]
26536 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
26537 * sysdeps/mach/hurd/dup3.c: Likewise.
26538 * sysdeps/mach/hurd/readlinkat.c: Likewise.
26539 * sysdeps/powerpc/memmove.c:: Likewise.
26540
0a10fb9e
L
265412012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26542
26543 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
26544 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
26545
df8a552f
L
265462012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26547
26548 * elf/elf.h (R_X86_64_RELATIVE64): New.
26549 (R_X86_64_NUM): Updated.
26550 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26551 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
26552 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
26553 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
26554 tst-quad1pie tst-quad2pie
26555 (modules-names): Add tst-quadmod1 tst-quadmod2.
26556 ($(objpfx)tst-quad1): New dependency.
26557 ($(objpfx)tst-quad2): Likewise.
26558 ($(objpfx)tst-quad1pie): Likewise.
26559 ($(objpfx)tst-quad2pie): Likewise.
26560 * sysdeps/x86_64/tst-quad1.c: New file.
26561 * sysdeps/x86_64/tst-quad1pie.c: New file.
26562 * sysdeps/x86_64/tst-quad2.c: Likewise.
26563 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
26564 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
26565 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
26566 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
26567 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
26568
f34d6f84
ST
265692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26570
f42d41d1
ST
26571 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
26572 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
26573 * streams/stropts.h (t_scalar_t): Define type.
26574
3c3571fc
ST
26575 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
26576 (_PATH_PRESERVE): Set to "/var/lib".
26577 (_PATH_RWHODIR): Set to "/var/spool/rwho".
26578
61f06bd3
ST
26579 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
26580 instead of int.
26581
918d4d71
ST
26582 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
26583 if __dir_mkfile succeeded.
26584
f34d6f84
ST
26585 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
26586 checking for _hurd_dtablesize. Unlock it right after having
26587 finished _hurd_dtable allocation.
26588
10589b4a
TS
265892012-05-10 Thomas Schwinge <thomas@schwinge.name>
26590
674cdbc7
TS
26591 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
26592 * sysdeps/mach/hurd/configure: Regenerated.
26593 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
26594 special-casing to...
26595 * sysdeps/gnu/configure.in: ... this new file.
26596 * sysdeps/unix/sysv/linux/configure: Regenerated.
26597 * sysdeps/gnu/configure: New generated file.
26598
8e41b99f
TS
26599 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
26600 for Linux: use nsec instead of usec, as well as:
26601 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
26602 members of type struct timespec.
26603 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
26604 New macros.
26605 (struct stat64): Likewise.
26606 (_STATBUF_ST_NSEC): New macro.
26607 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
26608
10589b4a
TS
26609 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26610 __strtoul_internal rather than strtoul.
26611
63643c85
PT
266122012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26613
26614 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
26615 and reject them.
26616
3faebe6a
ST
266172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26618
26619 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
26620 which preserves existing values.
26621 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
26622
c6474b07
PT
266232012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26624
26625 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
26626 TIMEOUT values. Return EINVAL for NFDS values either negative or
26627 greater than FD_SETSIZE.
26628
1043890b
ST
266292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26630
26631 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
26632 allocated, call __vm_protect to finish enabling the existing space, and
26633 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
26634 allocate the remainder.
26635
37ed8b9b
PT
266362012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26637
26638 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
26639 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
26640
db653660
ST
266412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26642
37ed8b9b
PT
26643 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
26644 sysdeps/mach/hurd/readlink.c.
b29d4053 26645
db653660
ST
26646 * posix/tst-sysconf.c (posix_options): Only use
26647 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
26648 _POSIX_SYNCHRONIZED_IO when they are defined
26649 * sysdeps/mach/hurd/bits/posix_opt.h:
26650 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
26651 (_XOPEN_REALTIME): Undefine macro.
26652 (_XOPEN_REALTIME_THREADS): Undefine macro.
26653 (_XOPEN_SHM): Undefine macro.
26654 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
26655 macro to -1.
26656 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
26657 macro to -1.
26658 (_POSIX_ASYNC_IO): Undefine macro.
26659 (_POSIX_PRIORITIZED_IO): Undefine macro.
26660 (_POSIX_SPIN_LOCKS): Define macro to -1.
26661
ee16e894
ST
26662 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
26663 SA_NODEFER, SA_RESETHAND.
26664 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
26665 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
26666 F_DUPFD_CLOEXEC.
26667
6103ae3b
TS
266682012-05-10 Thomas Schwinge <thomas@schwinge.name>
26669
26670 * elf/Makefile (pldd-modules): Define unconditionally.
26671
80b4e5f3
TS
266722012-05-10 Thomas Schwinge <thomas@schwinge.name>
26673
26674 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
26675
edadcbd6
ST
266762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26677
26678 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
26679 Return ENOENT when name is empty.
26680 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
26681
80694780
TS
266822012-05-10 Thomas Schwinge <thomas@schwinge.name>
26683
1792c087
TS
26684 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
26685
80694780
TS
26686 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
26687
6b645f0d
ST
266882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26689
80694780
TS
26690 Fix mlock in all cases except non-readable pages.
26691 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
26692 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 26693
6b645f0d
ST
26694 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
26695 (__mkdir): When path is `/', just fail with EEXIST.
26696 * sysdeps/mach/hurd/mkdirat.c: Likewise.
26697
e468f8a3
TS
266982012-05-10 Thomas Schwinge <thomas@schwinge.name>
26699
26700 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
26701 <sys/uio.h> (for writev).
26702 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
26703 and <sys/param.h> (for MIN).
26704
a4186cff
PT
267052012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26706
26707 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
26708 REQUESTED_TIME. Properly set the remaining time and return EINTR
26709 if interrupted.
26710
510bbf14
TS
267112012-05-10 Thomas Schwinge <thomas@schwinge.name>
26712
26713 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
26714 Depend on against $(link-rpcuserlibs).
26715
5d5722e8
ST
267162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26717
a4186cff
PT
26718 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
26719 (__libc_stack_end): Do not use attribute_relro.
26720 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
26721 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 26722 to libthread-provided value.
a4186cff
PT
26723 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
26724 attribute_relro.
5d5722e8 26725
37233df9
TS
267262012-05-10 Thomas Schwinge <thomas@schwinge.name>
26727
be971a2b
TS
26728 [BZ #3748]
26729 * bits/libc-lock.h (__libc_once_get): New macro.
26730 * sysdeps/mach/bits/libc-lock.h: Likewise.
26731 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
26732 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
26733 instead of using implementation details.
26734
37233df9
TS
26735 * libio/fileops.c: Unconditionally include <kernel-features.h>.
26736 * libio/freopen.c: Likewise.
26737 * libio/freopen64.c: Likewise.
26738 * misc/syslog.c: Likewise.
26739 * nscd/connections.c: Likewise.
26740 * nscd/netgroupcache.c: Likewise.
26741 * sysdeps/posix/getcwd.c: Likewise.
26742
38de94a5
RM
267432012-05-10 Roland McGrath <roland@hack.frob.com>
26744
26745 * math/w_ilogbf.c: Add #include <limits.h>.
26746
67530489
ST
267472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26748
a4186cff 26749 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
26750 path instead of returning without unlocking.
26751
67530489
ST
26752 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
26753 immediate-write ioctls.
26754 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
26755
5aa3a74a
TS
267562012-05-10 Thomas Schwinge <thomas@schwinge.name>
26757
18bad2ae
TS
26758 * sysdeps/mach/hurd/i386/init-first.c (init): Use
26759 __builtin_frame_address instead of making assumptions about the
26760 location of the return address relative to DATA. Force early load of
26761 the return address.
26762 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
26763 __builtin_frame_address.
26764
5aa3a74a
TS
26765 dup3 for GNU Hurd.
26766 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
26767 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
26768 implement dup3 and do some further code clean-ups.
26769 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
26770 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
26771
ecd0de9a
ST
267722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26773
cd9fa985
ST
26774 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
26775
a4186cff
PT
26776 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
26777 HURD_CRITICAL_END around holding _hurd_dtable_lock.
26778 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
26779 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
26780 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
26781 d->port.lock.
802ca5a5 26782
a4186cff
PT
26783 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
26784 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
26785 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 26786
bcf55240
TS
267872012-05-10 Thomas Schwinge <thomas@schwinge.name>
26788
6960eb42
TS
26789 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
26790 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
26791 definitions.
26792
eb43375f
TS
26793 accept4 for GNU Hurd.
26794 * include/sys/socket.h (__libc_accept4): New prototype.
26795 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
26796 to implement __libc_accept4.
26797 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
26798 __libc_accept4.
26799 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
26800
bcf55240
TS
26801 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
26802 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
26803 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
26804 signal-defines.sym.
26805
6178c55b
ST
268062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26807
a4186cff 26808 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 26809
6f080c2f
TS
268102012-05-10 Thomas Schwinge <thomas@schwinge.name>
26811
26812 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
26813 assertion on O_CLOEXEC flag.
26814 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
26815 * hurd/intern-fd.c: Likewise.
26816 * hurd/port2fd.c: Likewise.
26817
bcfe3a54
ST
268182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26819
26820 [BZ #3906]
26821 * bits/in.h (IPV6_PKTINFO): Define new macro.
26822 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
26823
89c9aa49
AZ
268242012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26825
26826 [BZ #13954]
26827 [BZ #13955]
26828 [BZ #13956]
26829 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
26830 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26831 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
26832 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26833 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26834 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26835 * math/libm-test.inc (logb_test) : Additional logb tests.
26836
021db4be
AJ
268372012-05-09 Andreas Schwab <schwab@linux-m68k.org>
26838 Andreas Jaeger <aj@suse.de>
26839
26840 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
26841 * configure: Regenerated.
26842 * config.h.in (LINK_OBSOLETE_RPC): New macro.
26843 * config.make.in (link-obsolete-rpc): New substituted variable.
26844 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
26845 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
26846 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26847 (shared-only-routines): Don't set it under [link-obsolete-rpc],
26848 so that libc.a contains the symbols.
26849 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26850 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
26851 * sunrpc/auth_none.c: Likewise.
26852 * sunrpc/auth_unix.c: Likewise.
26853 * sunrpc/authdes_prot.c: Likewise.
26854 * sunrpc/authuxprot.c: Likewise.
26855 * sunrpc/clnt_gen.c: Likewise.
26856 * sunrpc/clnt_perr.c: Likewise.
26857 * sunrpc/clnt_raw.c: Likewise.
26858 * sunrpc/clnt_simp.c: Likewise.
26859 * sunrpc/clnt_tcp.c: Likewise.
26860 * sunrpc/clnt_udp.c: Likewise.
26861 * sunrpc/clnt_unix.c: Likewise.
26862 * sunrpc/des_crypt.c: Likewise.
26863 * sunrpc/des_soft.c: Likewise.
26864 * sunrpc/get_myaddr.c: Likewise.
26865 * sunrpc/key_call.c: Likewise.
26866 * sunrpc/key_prot.c: Likewise.
26867 * sunrpc/netname.c: Likewise.
26868 * sunrpc/pm_getmaps.c: Likewise.
26869 * sunrpc/pm_getport.c: Likewise.
26870 * sunrpc/pmap_clnt.c: Likewise.
26871 * sunrpc/pmap_prot.c: Likewise.
26872 * sunrpc/pmap_prot2.c: Likewise.
26873 * sunrpc/pmap_rmt.c: Likewise.
26874 * sunrpc/publickey.c: Likewise.
26875 * sunrpc/rpc_cmsg.c: Likewise.
26876 * sunrpc/rpc_common.c: Likewise.
26877 * sunrpc/rpc_dtable.c: Likewise.
26878 * sunrpc/rpc_prot.c: Likewise.
26879 * sunrpc/rpc_thread.c: Likewise.
26880 * sunrpc/rtime.c: Likewise.
26881 * sunrpc/svc.c: Likewise.
26882 * sunrpc/svc_auth.c: Likewise.
26883 * sunrpc/svc_raw.c: Likewise.
26884 * sunrpc/svc_run.c: Likewise.
26885 * sunrpc/svc_tcp.c: Likewise.
26886 * sunrpc/svc_udp.c: Likewise.
26887 * sunrpc/svc_unix.c: Likewise.
26888 * sunrpc/svcauth_des.c: Likewise.
26889 * sunrpc/xcrypt.c: Likewise.
26890 * sunrpc/xdr.c: Likewise.
26891 * sunrpc/xdr_array.c: Likewise.
26892 * sunrpc/xdr_float.c: Likewise.
26893 * sunrpc/xdr_intXX_t.c: Likewise.
26894 * sunrpc/xdr_mem.c: Likewise.
26895 * sunrpc/xdr_rec.c: Likewise.
26896 * sunrpc/xdr_ref.c: Likewise.
26897 * sunrpc/xdr_sizeof.c: Likewise.
26898 * sunrpc/xdr_stdio.c: Likewise.
26899
b5c086a2
RM
269002012-05-10 Roland McGrath <roland@hack.frob.com>
26901
26902 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
26903 change. Update copyright years.
26904
6d74dd09
JM
269052012-05-10 Joseph Myers <joseph@codesourcery.com>
26906
26907 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
26908
28e72501
MK
269092012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
26910 Joseph Myers <joseph@codesourcery.com>
26911 Paul Pluzhnikov <ppluzhnikov@google.com>
26912
26913 [BZ #14012]
26914 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
26915 requiring rpcgen.
26916 [cross-compiling] (extra-libs): Likewise.
26917 [cross-compiling] (extra-libs-others): Likewise.
26918 [cross-compiling] (librpcsvc-routines): Likewise.
26919 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
26920 [cross-compiling] (omit-deps): Likewise.
26921 (sunrpc-CPPFLAGS): New variable.
26922 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
26923 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
26924 (cross-rpcgen-objs): New variable.
26925 (extra-objs): Append $(cross-rpcgen-objs).
26926 ($(cross-rpcgen-objs)): New rule.
26927 ($(objpfx)cross-rpcgen): Likewise.
26928 (rpcgen-cmd): Define to use $(built-program-file). Expand
26929 comment.
26930 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
26931 ($(objpfx)x%.stmp): Likewise.
26932 * sunrpc/proto.h [IS_IN_build] (_): Define.
26933 [IS_IN_build] (_libc_intl_domainname): Likewise.
26934
c8c59454
L
269352012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26936
26937 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
26938 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
26939 and R_X86_64_TPOFF64.
26940
6f27cd16
JM
269412012-05-10 Joseph Myers <joseph@codesourcery.com>
26942
26943 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
26944 sysdeps/unix/sysv/syscalls.list.
26945 (stime): Likewise.
26946 (utime): Likewise.
26947 * sysdeps/unix/sysv/syscalls.list: Remove file.
26948
02467e1c
PE
269492012-05-10 Paul Eggert <eggert@cs.ucla.edu>
26950
26951 [BZ #3440]
26952 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
26953 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
26954 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
26955 (__LC_IDENTIFICATION): Make these macros useful in #if
26956 expressions, as required by C99.
26957
da392631
AS
269582012-05-10 Andreas Schwab <schwab@linux-m68k.org>
26959
26960 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
26961 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
26962 after this.
26963
8115f29b
L
269642012-05-09 H.J. Lu <hongjiu.lu@intel.com>
26965
26966 * stdlib/longlong.h: Updated from GCC.
26967
bdd74070
AJ
269682012-05-09 Andreas Jaeger <aj@suse.de>
26969
edfe0dbe
AJ
26970 * nscd/nscd.c (run_modes): Make named enum, reorder so that
26971 default is first entry.
26972 (run_mode): Set type.
26973 (main): Remove informal message about syslog.
26974 (options): Fix typo.
26975
bcfe3a54
ST
26976 [BZ #14053]
26977 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 26978 to asm.
bcfe3a54
ST
26979 (lrint): Likewise.
26980 (llrintf): Likewise.
26981 (llrint): Likewise.
26982 (rint): Likewise.
26983 (rintf): Likewise.
26984 (nearbyint): Likewise.
26985 (nearbyintf): Likewise.
bdd74070 26986
91d8d69e
AJ
269872012-05-09 Andreas Jaeger <aj@suse.de>
26988 Pedro Alves <palves@redhat.com>
26989
26990 * nscd/nscd.c (run_mode): Use enum.
26991 (main): Cleanup coding style issue.
26992
bb90b80b
AJ
269932012-05-09 Alexandre Oliva <aoliva@redhat.com>
26994 Andreas Jaeger <aj@suse.de>
26995
bcfe3a54
ST
26996 * nscd/nscd.c (go_background): Replaced with...
26997 (run_mode): ... this.
bb90b80b 26998 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
26999 (options): Add -F --foreground.
27000 (main): Implement it.
27001 (parse_opt): Parse it.
bb90b80b 27002
1a4b75a1
AJ
270032012-05-09 Andreas Jaeger <aj@suse.de>
27004
27005 [BZ #14083]
27006 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
27007 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
27008 -Wconversion warning.
27009 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
27010 Likewise.
27011
b1cc2472
JM
270122012-05-09 Joseph Myers <joseph@codesourcery.com>
27013
27014 * conform/data/locale.h-data (NULL): Use macro-constant. Require
27015 == 0.
27016 (LC_ALL): Use macro-int-constant.
27017 (LC_COLLATE): Likewise.
27018 (LC_CTYPE): Likewise.
27019 (LC_MESSAGES): Likewise.
27020 (LC_MONETARY): Likewise.
27021 (LC_NUMERIC): Likewise.
27022 (LC_TIME): Likewise.
27023 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
27024 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
27025 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27026 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
27027 Specify type.
27028 [C99-based standards] (float_t): Expect type.
27029 [C99-based standards] (double_t): Expect type.
27030 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
27031 type.
27032 [C99-based standards] (HUGE_VALL): Likewise.
27033 [C99-based standards] (INFINITY): Likewise.
27034 [C99-based standards] (NAN): Likewise.
27035 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
27036 [C99-based standards] (FP_NAN): Likewise.
27037 [C99-based standards] (FP_NORMAL): Likewise.
27038 [C99-based standards] (FP_SUBNORMAL): Likewise.
27039 [C99-based standards] (FP_ZERO): Likewise.
27040 [C99-based standards] (FP_FAST_FMA): Use
27041 optional-macro-int-constant. Specify type. Require == 1.
27042 [C99-based standards] (FP_FAST_FMAF): Likewise.
27043 [C99-based standards] (FP_FAST_FMAL): Likewise.
27044 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
27045 [C99-based standards] (FP_ILOGBNAN): Likewise.
27046 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
27047 Specify type.
27048 [C99-based standards] (MATH_ERREXCEPT): Likewise.
27049 [C99-based standards] (math_errhandling): Specify type.
27050 [ISO99 || ISO11] (signgam): Do not allow.
27051 [non-C99-based standards] (copysignf): Do not allow.
27052 [non-C99-based standards] (exp2f): Likewise.
27053 [non-C99-based standards] (log2f): Likewise.
27054 [non-C99-based standards] (modff): Allow.
27055 [non-C99-based standards] (erff): Do not allow.
27056 [non-C99-based standards] (erfcf): Likewise.
27057 [non-C99-based standards] (gammaf): Likewise.
27058 [non-C99-based standards] (hypotf): Likewise.
27059 [non-C99-based standards] (j0f): Likewise.
27060 [non-C99-based standards] (j1f): Likewise.
27061 [non-C99-based standards] (jnf): Likewise.
27062 [non-C99-based standards] (lgammaf): Likewise.
27063 [non-C99-based standards] (tgammaf): Likewise.
27064 [non-C99-based standards] (y0f): Likewise.
27065 [non-C99-based standards] (y1f): Likewise.
27066 [non-C99-based standards] (ynf): Likewise.
27067 [non-C99-based standards] (isnanf): Likewise.
27068 [non-C99-based standards] (acoshf): Likewise.
27069 [non-C99-based standards] (asinhf): Likewise.
27070 [non-C99-based standards] (atanhf): Likewise.
27071 [non-C99-based standards] (cbrtf): Likewise.
27072 [non-C99-based standards] (expm1f): Likewise.
27073 [non-C99-based standards] (ilogbf): Likewise.
27074 [non-C99-based standards] (log1pf): Likewise.
27075 [non-C99-based standards] (logbf): Likewise.
27076 [non-C99-based standards] (nextafterf): Likewise.
27077 [non-C99-based standards] (remainderf): Likewise.
27078 [non-C99-based standards] (rintf): Likewise.
27079 [non-C99-based standards] (scalbf): Likewise.
27080 [non-C99-based standards] (copysignl): Likewise.
27081 [non-C99-based standards] (exp2l): Likewise.
27082 [non-C99-based standards] (log2l): Likewise.
27083 [non-C99-based standards] (modfl): Allow.
27084 [non-C99-based standards] (erfl): Do not allow.
27085 [non-C99-based standards] (erfcl): Likewise.
27086 [non-C99-based standards] (gammal): Likewise.
27087 [non-C99-based standards] (hypotl): Likewise.
27088 [non-C99-based standards] (j0l): Likewise.
27089 [non-C99-based standards] (j1l): Likewise.
27090 [non-C99-based standards] (jnl): Likewise.
27091 [non-C99-based standards] (lgammal): Likewise.
27092 [non-C99-based standards] (tgammal): Likewise.
27093 [non-C99-based standards] (y0l): Likewise.
27094 [non-C99-based standards] (y1l): Likewise.
27095 [non-C99-based standards] (ynl): Likewise.
27096 [non-C99-based standards] (isnanl): Likewise.
27097 [non-C99-based standards] (acoshl): Likewise.
27098 [non-C99-based standards] (asinhl): Likewise.
27099 [non-C99-based standards] (atanhl): Likewise.
27100 [non-C99-based standards] (cbrtl): Likewise.
27101 [non-C99-based standards] (expm1l): Likewise.
27102 [non-C99-based standards] (ilogbl): Likewise.
27103 [non-C99-based standards] (log1pl): Likewise.
27104 [non-C99-based standards] (logbl): Likewise.
27105 [non-C99-based standards] (nextafterl): Likewise.
27106 [non-C99-based standards] (remainderl): Likewise.
27107 [non-C99-based standards] (rintl): Likewise.
27108 [non-C99-based standards] (scalbl): Likewise.
27109 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27110 [non-C99-based standards] (FP_*): Do not allow.
27111 [C99-based standards] (FP_*): Change to
27112 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
27113 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27114 allow.
27115 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
27116 (SIG_ERR): Likewise.
27117 [X/Open-based standards] (SIG_HOLD): Likewise.
27118 (SIG_IGN): Likewise.
27119 (SIGABRT): Use macro-int-constant. Specify type. Require
27120 positive value.
27121 (SIGFPE): Likewise.
27122 (SIGILL): Likewise.
27123 (SIGINT): Likewise.
27124 (SIGSEGV): Likewise.
27125 (SIGTER): Likewise.
27126 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
27127 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
27128 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
27129 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
27130 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
27131 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
27132 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
27133 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
27134 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
27135 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
27136 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
27137 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
27138 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
27139 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
27140 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
27141 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
27142 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
27143 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
27144 [X/Open-based standards] (SIGTRAP): Likewise.
27145 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
27146 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
27147 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
27148 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
27149 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27150 allow.
27151
b9f1922d
IW
271522012-05-08 Ian Wienand <ianw@vmware.com>
27153
27154 [BZ #14080]
27155 * time/tzset.c (__tzset_parse_tz): Update default rules for
27156 daylight time changes in the Energy Policy Act of 2005.
27157
1db86e88
AJ
271582012-05-09 Andreas Jaeger <aj@suse.de>
27159
27160 [BZ #13983]
27161 * elf/ldconfig.c (parse_conf): Change string to make clear that
27162 ldconfig only issued a warning if ld.so.conf does not exist.
27163
dee4a4e3
DM
271642012-05-08 David S. Miller <davem@davemloft.net>
27165
ee0db190
DM
27166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
27167 movxtod instead of popping the value on the stack.
27168
dee4a4e3
DM
27169 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27170
6a43ec98
CD
271712012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
27172
27173 * config.h.in: Add HAVE_ARM_PCS_VFP.
27174
05c2c961
RMG
271752012-05-08 Roland Mc Grath <roland@hack.frob.com>
27176
bcfe3a54
ST
27177 [BZ #13979]
27178 * include/features.h: Warn if user requests __FORTIFY_SOURCE
27179 checking but the checks are disabled for any reason.
05c2c961 27180
4b30f61a
L
271812012-05-08 H.J. Lu <hongjiu.lu@intel.com>
27182
27183 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
27184 and ELF64_R_TYPE with ELFW(R_TYPE).
27185
eee2bc67
JM
271862012-05-08 Joseph Myers <joseph@codesourcery.com>
27187
7ea5391a
JM
27188 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
27189 (ulimit): Likewise.
27190
eee2bc67
JM
27191 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
27192 (settimeofday): Likewise.
27193
abb66a67
MF
271942012-05-08 Mike Frysinger <vapier@gentoo.org>
27195
27196 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
27197 a struct th_u2 inside the union, and move tu_block/tu_code into
27198 a new th_u3 union of tu_block/tu_code inside of that. Move
27199 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
27200 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
27201 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
27202 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
27203 (th_stuff): Change to th_u1.tu_stuff.
27204 (th_data): Define.
27205 (th_msg): Change to th_u1.th_u2.tu_data.
27206
7f18b530
DM
272072012-05-07 David S. Miller <davem@davemloft.net>
27208
05760585
DM
27209 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27210
7f18b530
DM
27211 [BZ #14074]
27212 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
27213 (SETUP_PIC_REG): Use it.
27214 (SETUP_PIC_REG_LEAF): Use it.
27215
495fd99f
JM
272162012-05-07 Joseph Myers <joseph@codesourcery.com>
27217
27218 [BZ #13885]
27219 [BZ #13923]
27220 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27221 USE_AS_EXPM1L.
27222 (EXPL_FINITE): Likewise.
27223 (FLDLOG): Likewise.
27224 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
27225 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
27226 e_expl.S.
27227 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27228 USE_AS_EXPM1L.
27229 (EXPL_FINITE): Likewise.
27230 (FLDLOG): Likewise.
27231 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
27232 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
27233 e_expl.S.
27234 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
27235 test of -max_value argument for long double.
27236 * sysdeps/i386/fpu/libm-test-ulps: Update.
27237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27238
6693d694
DM
272392012-05-06 David S. Miller <davem@davemloft.net>
27240
27241 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
27242 quad soft-float symbols whose references which are compiler
27243 generated.
27244 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27245
6c23e11c
JM
272462012-05-06 Joseph Myers <joseph@codesourcery.com>
27247
d8b82cad
JM
27248 [BZ #13884]
27249 [BZ #13914]
27250 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27251 USE_AS_EXP10L.
27252 (EXPL_FINITE): Likewise.
27253 (FLDLOG): Likewise.
27254 (c0): Likewise.
27255 (c1): Likewise.
27256 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
27257 Adjust comments for base varying.
27258 (__expl_finite): Change alias to EXPL_FINITE.
27259 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
27260 e_expl.S.
27261 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
27262 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
27263 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
27264 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
27265 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27266 USE_AS_EXP10L.
27267 (EXPL_FINITE): Likewise.
27268 (FLDLOG): Likewise.
27269 (c0): Likewise.
27270 (c1): Likewise.
27271 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
27272 Adjust comments for base varying.
27273 (__expl_finite): Change alias to EXPL_FINITE.
27274 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
27275 tests for bugs.
27276 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27277
6c23e11c
JM
27278 [BZ #14064]
27279 * math/libm-test.inc (check_float_internal): Correct ulp
27280 calculation for subnormal expected results.
27281
29ba805c
AJ
272822012-05-06 Andreas Jaeger <aj@suse.de>
27283
27284 * Makeconfig (+math-flags): New, set to -frounding-math.
27285 (+cflags): Add +math-flags so that all of glibc gets compiled with
27286 it.
27287
27288 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
27289
7b17aeda
JM
272902012-05-05 Joseph Myers <joseph@codesourcery.com>
27291
5779f134
JM
27292 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
27293 Disable one test.
27294
41498f4d
JM
27295 [BZ #13787]
27296 [BZ #13922]
27297 [BZ #14036]
27298 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
27299 (__ieee754_expl): Allow for and saturate large arguments.
27300 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
27301 (u_threshold): Likewise.
27302 (__exp): Call __ieee754_exp before checking for overflow and
27303 underflow.
27304 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
27305 (u_threshold): Likewise.
27306 (__expf): Call __ieee754_expf before checking for overflow and
27307 underflow.
27308 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
27309 (u_threshold): Likewise.
27310 (__expl): Call __ieee754_expl before checking for overflow and
27311 underflow.
27312 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
27313 (__ieee754_expl): Allow for and saturate large arguments.
27314 * math/libm-test.inc (exp_test): Add another test. Do not allow
27315 missing overflow exception on overflow.
27316 (expm1_test): Do not allow missing overflow exception on overflow.
27317
6698b8bf
JM
27318 * sysdeps/i386/fpu/e_expl.c: Move to ...
27319 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
27320 rather than using inline asm.
27321 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
27322 * sysdeps/x86_64/fpu/e_expl.S: Copy from
27323 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
27324
7b17aeda
JM
27325 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
27326 (nice): Likewise.
27327 (poll): Likewise.
27328 (signal): Likewise.
27329 (time): Likewise.
27330 (times): Likewise.
27331
f7c85819
JM
273322012-05-04 Joseph Myers <joseph@codesourcery.com>
27333
27334 * sysdeps/unix/syscalls.list (adjtime): Add entry from
27335 sysdeps/unix/common/syscalls.list.
27336 (fchmod): Likewise.
27337 (fchown): Likewise.
27338 (ftruncate): Likewise.
27339 (getrusage): Likewise.
27340 (gettimeofday): Likewise.
27341 (setpgid): Likewise.
27342 (setregid): Likewise.
27343 (setreuid): Likewise.
27344 (sigaction): Likewise.
27345 (truncate): Likewise.
27346 (vhangup): Likewise.
27347 * sysdeps/unix/common/syscalls.list: Remove file.
27348 * sysdeps/unix/bsd/Implies: Don't include unix/common.
27349 * sysdeps/unix/sysv/linux/Implies: Likewise.
27350
336270d0
L
273512012-05-04 H.J. Lu <hongjiu.lu@intel.com>
27352
27353 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
27354 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
27355 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
27356 Moved to ...
27357 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
27358 Here.
27359 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
27360 to ...
27361 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
27362 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
27363 to ...
27364 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
27365 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
27366 to ...
27367 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
27368 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
27369 to ...
27370 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
27371 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
27372 to ...
27373 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
27374 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
27375 to ...
27376 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
27377 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
27378 to ...
27379 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
27380 Here.
27381 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
27382 to ...
27383 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
27384 Here.
27385 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
27386 to ...
27387 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
27388 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
27389 Moved to ...
27390 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
27391 Here.
27392 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
27393 to ...
27394 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
27395
d128e450
JM
273962012-05-04 Joseph Myers <joseph@codesourcery.com>
27397
fa8ee516
JM
27398 * sysdeps/unix/common/bits/dirent.h: Remove file.
27399 * sysdeps/unix/common/bits/fcntl.h: Likewise.
27400
d128e450
JM
27401 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
27402 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
27403 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
27404 * sysdeps/unix/bsd/isatty.c: Likewise.
27405 * sysdeps/unix/bsd/tcdrain.c: Likewise.
27406 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
27407 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
27408
ff8faaf0 274092012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 27410
62881be4 27411 [BZ #13563]
31dc8730
AZ
27412 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
27413 long double comparison inaccuracies.
27414 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
27415 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27416
6fef930c
AS
274172012-05-04 Andreas Schwab <schwab@linux-m68k.org>
27418
27419 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
27420 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
27421
8f203e6c
JM
274222012-05-04 Joseph Myers <joseph@codesourcery.com>
27423
27424 [BZ #14049]
27425 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
27426 nonzero digits before rounding a hex value.
27427 * stdlib/tst-strtod.c (tests): Add another test.
27428
5197d9c2
AK
274292012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27430
27431 * sysdeps/s390/fpu/libm-test-ulps: Update.
27432
f0c1dedf
AJ
274332012-05-03 Andreas Jaeger <aj@suse.de>
27434
27435 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
27436 does not get optimized out.
27437 (malloc_opt_barrier): New.
27438
a65ef2ae 274392012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 27440 Roland McGrath <roland@hack.frob.com>
a65ef2ae 27441
2b942cb7 27442 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 27443 intermediate file deletion.
2b942cb7 27444 (generated): Add .symlist files.
a65ef2ae 27445
54b71e02
JM
274462012-05-03 Joseph Myers <joseph@codesourcery.com>
27447
27448 [BZ #13775]
27449 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
27450 Redirect under this condition.
27451 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27452 [__USE_GNU] (__dprintf_chk): Not under this condition.
27453 [__USE_GNU] (__vdprintf_chk): Likewise.
27454 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
27455 under this condition.
27456 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27457 [__USE_XOPEN2K8] (dprintf): Define under this condition.
27458 [__USE_XOPEN2K8] (vdprintf): Likewise.
27459 [__USE_GNU] (__dprintf_chk): Not under this condition.
27460 [__USE_GNU] (__vdprintf_chk): Likewise.
27461 [__USE_GNU] (dprintf): Likewise.
27462 [__USE_GNU] (vdprintf): Likewise.
27463
d3dfcc41
RM
274642012-05-03 Roland McGrath <roland@hack.frob.com>
27465
27466 * elf/Makefile (common-generated): Set this instead of generated for
27467 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
27468 $(all-built-dso)-derived lists.
27469
7ac30cc5
AJ
274702012-05-03 Andreas Jaeger <aj@suse.de>
27471
0c51e550
AJ
27472 * sysdeps/i386/fpu/libm-test-ulps: Update.
27473
7ac30cc5
AJ
27474 * FAQ: Removed.
27475 * FAQ.in: Likewise.
27476 * scripts/gen-FAQ.pl: Likewise.
27477 * manual/install.texi (Installation): Point to online location of
27478 FAQ.
27479 * Makefile (files-for-dist): Remove FAQ.
27480 (FAQ): Remove.
27481
d4c2917f
AM
274822012-05-02 Allan McRae <allan@archlinux.org>
27483
27484 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
27485 (LDFLAGS-reldepmod5.so): Likewise.
27486 (LDFLAGS-reldep6mod1.so): Likewise.
27487 (LDFLAGS-reldep6mod4.so): Likewise.
27488 (LDFLAGS-reldep8mod3.so): Likewise.
27489 (LDFLAGS-unload4mod1.so): Likewise.
27490 (LDFLAGS-unload4mod2.so): Likewise.
27491 (LDFLAGS-tst-initorder): Likewise.
27492 (LDFLAGS-tst-initordera2.so): Likewise.
27493 (LDFLAGS-tst-initordera3.so): Likewise.
27494 (LDFLAGS-tst-initordera4.so): Likewise.
27495 (LDFLAGS-tst-initorderb2.so): Likewise.
27496 (LDFLAGS-noload): Likewise.
27497 (LDFLAGS-next): Likewise.
27498 (LDFLAGS-order2mod1.so): Likewise.
27499 (LDFLAGS-order2mod2.so): Likewise.
27500 (LDFLAGS-tst-initorder2): Likewise.
27501 (LDFLAGS-tst-initorder2a.so): Likewise.
27502 (LDFLAGS-tst-initorder2b.so): Likewise.
27503 (LDFLAGS-tst-initorder2c.so): Likewise.
27504 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
27505
d77f993f
DM
275062012-05-02 David S. Miller <davem@davemloft.net>
27507
27508 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27509
171a70b4
PP
275102012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
27511
27512 [BZ #14055]
27513 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
27514
0be196ad
AJ
275152012-05-02 Andreas Jaeger <aj@suse.de>
27516
27517 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
27518 since we manipulate rounding mode.
27519 (CPPFLAGS-test-idouble.c): Likewise.
27520 (CPPFLAGS-test-ifloat.c): Likewise.
27521 (CFLAGS-test-ldouble.c): Likewise.
27522 (CFLAGS-test-double.c): Likewise.
27523 (CFLAGS-test-float.c): Likewise.
27524 (CFLAGS-test-misc.c): Likewise.
27525 (CFLAGS-test-test-fenv.c): Likewise.
27526
4f9d04aa
AZ
275272012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27528
2b942cb7
RM
27529 [BZ #2550]
27530 [BZ #2570]
27531 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
27532 comparisons to determine direction to adjust input.
4f9d04aa 27533
82a79e7d
RM
275342012-05-01 Roland McGrath <roland@hack.frob.com>
27535
f5a01ca9
RM
27536 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
27537 output to the target.
27538
90fe4186
RM
27539 * scripts/localplt.awk: New file.
27540 * elf/Makefile ($(objpfx)check-localplt): Target removed.
27541 (check-localplt-CFLAGS): Variable removed.
27542 ($(all-built-dso:=.jmprel)): New static pattern rule.
27543 (generated): Add those targets.
27544 (localplt-built-dso): New variable.
27545 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
27546
27547 * elf/check-localplt.c: File removed.
27548
82397ed6
RM
27549 * scripts/check-execstack.awk: New file.
27550 * elf/Makefile ($(objpfx)check-execstack): Target removed.
27551 (check-execstack-CFLAGS): Variable removed.
27552 ($(objpfx)check-execstack.h): Target removed.
27553 ($(objpfx)execstack-default): New target.
27554 (generated): Add that instead of check-execstack.h.
27555 ($(all-built-dso:=.phdr)): New static pattern rule.
27556 (generated): Add those targets.
27557 * elf/check-execstack.c: File removed.
27558
82a79e7d
RM
27559 * scripts/check-textrel.awk: New file.
27560 * elf/Makefile ($(objpfx)check-textrel): Target removed.
27561 (check-textrel-CFLAGS): Variable removed.
27562 (all-built-dso): Use := to define.o
27563 ($(all-built-dso:=.dyn)): New static pattern rule.
27564 (generated): Add those targets.
27565 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
27566 * config.make.in (READELF): New substituted variable.
27567 * elf/check-textrel.c: File removed.
27568
62fde54f 275692012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 27570
615605c9
JM
27571 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27572 allow.
27573 * conform/data/ctype.h-data [C99-based standards] (isblank):
27574 Expect function.
27575 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
27576 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
27577 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27578 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
27579 Specify type. Require positive value.
27580 (EILSEQ): Likewise.
27581 (ERANGE): Likewise.
27582 [ISO || POSIX] (EILSEQ): Do not expect.
27583 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
27584 Specify type. Require positive value.
27585 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
27586 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
27587 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
27588 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
27589 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
27590 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
27591 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
27592 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
27593 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
27594 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
27595 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
27596 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
27597 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
27598 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
27599 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
27600 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
27601 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
27602 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
27603 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
27604 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
27605 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
27606 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
27607 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
27608 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
27609 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
27610 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
27611 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
27612 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
27613 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
27614 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
27615 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
27616 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
27617 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
27618 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
27619 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
27620 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
27621 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
27622 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
27623 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
27624 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
27625 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
27626 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
27627 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
27628 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
27629 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
27630 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
27631 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
27632 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
27633 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
27634 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
27635 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
27636 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
27637 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
27638 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
27639 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
27640 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
27641 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
27642 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
27643 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
27644 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
27645 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
27646 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
27647 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
27648 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
27649 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
27650 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
27651 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
27652 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
27653 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
27654 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
27655 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
27656 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
27657 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
27658 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
27659 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
27660 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
27661 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
27662 Require >= 2.
27663 (FLT_ROUNDS): Expect as macro, not constant.
27664 (FLT_MANT_DIG): Use macro-int-constant.
27665 (DBL_MANT_DIG): Likewise.
27666 (LDBL_MANT_DIG): Likewise.
27667 (FLT_DIG): Likewise.
27668 (DBL_DIG): Likewise.
27669 (LDBL_DIG): Likewise.
27670 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
27671 (DBL_MIN_EXP): Likewise.
27672 (LDBL_MIN_EXP): Likewise.
27673 (FLT_MAX_EXP): Use macro-int-constant.
27674 (DBL_MAX_EXP): Likewise.
27675 (LDBL_MAX_EXP): Likewise.
27676 (FLT_MAX_10_EXP): Likewise.
27677 (DBL_MAX_10_EXP): Likewise.
27678 (LDBL_MAX_10_EXP): Likewise.
27679 (FLT_MAX): Use macro-constant.
27680 (DBL_MAX): Likewise.
27681 (LDBL_MAX): Likewise.
27682 (FLT_EPSILON): Use macro-constant. Give upper bound.
27683 (DBL_EPSILON): Likewise.
27684 (LDBL_EPSILON): Likewise.
27685 (FLT_MIN): Likewise.
27686 (DBL_MIN): Likewise.
27687 (LDBL_MIN): Likewise.
27688 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
27689 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
27690 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
27691 [ISO11] (FLT_HAS_SUBNORM): Likewise.
27692 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
27693 [ISO11] (DBL_DECIMAL_DIG): Likewise.
27694 [ISO11] (FLT_DECIMAL_DIG): Likewise.
27695 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
27696 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
27697 [ISO11] (FLT_TRUE_MIN): Likewise.
27698 [ISO11] (LDBL_TRUE_MIN): Likewise.
27699 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27700 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
27701 (SCHAR_MIN): Use macro-int-constant. Specify type.
27702 (SCHAR_MAX): Likewise.
27703 (UCHAR_MAX): Likewise.
27704 (CHAR_MIN): Likewise.
27705 (CHAR_MAX): Likewise.
27706 (MB_LEN_MAX): Use macro-int-constant.
27707 (SHRT_MIN): Use macro-int-constant. Specify type.
27708 (SHRT_MAX): Likewise.
27709 (USHRT_MAX): Likewise.
27710 (INT_MAX): Likewise.
27711 (INT_MIN): Use macro-int-constant. Specify type. Make upper
27712 bound negative.
27713 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
27714 bound with "U".
27715 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27716 bound with "L".
27717 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
27718 bound negative. Suffix upper bound with "L".
27719 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27720 bound with "UL".
27721 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
27722 Specify type.
27723 [C99-based standards] (LLONG_MAX): Likewise.
27724 [C99-based standards] (ULLONG_MAX): Likewise.
27725 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
27726 == 0.
27727 [ISO11] (max_align_t): Require type.
27728 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27729
c9140a62
JM
27730 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
27731 from $CFLAGS, without defining away __attribute__ calls.
27732 (checknamespace): Use $CFLAGS_namespace.
27733
9af0bf29
JM
27734 * conform/conformtest.pl (@keywords): Only include C99 keywords
27735 for standards based on C99 or C11.
27736
343222a2
JM
27737 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
27738 Disable tests.
27739 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
27740 UNIX98]: Likewise.
27741
661f8cf0
JM
27742 * conform/conformtest.pl: Handle "macro-int-constant" and test for
27743 usability of symbols in #if.
27744
ee74b9cb
JM
27745 * conform/conformtest.pl: If macro or constant types start
27746 "promoted:", expect the symbol to be of the following type
27747 promoted by the integer promotions.
62fde54f 27748
aafc49b3
JM
27749 * conform/conformtest.pl: Parse all "constant" and "macro" lines
27750 in one place. Also handle "macro-constant".
27751
fefdf574
JM
27752 * conform/conformtest.pl: Only accept expected macro values with
27753 "==". Parse all "macro" lines in one place.
27754 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
27755
f2d922fe
JM
27756 * conform/conformtest.pl: Handle braced types on "constant" lines
27757 instead of handling "typed-constant".
27758 * conform/data/signal.h-data: Use "constant" instead of
27759 "typed-constant".
27760
d22956c9
JM
27761 * conform/conformtest.pl: Handle "optional-" at start of lines in
27762 one place rather than duplicating several cases. Handle each
27763 format of "macro" line with initial "optional-".
27764
028e2e38
JM
27765 * conform/conformtest.pl: Only accept expected constant or
27766 optional-constant values with "==". Parse all "constant" lines in
27767 one place. Parse all "optional-constant" lines in one place.
27768 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
27769 * conform/data/fmtmsg.h-data: Likewise.
27770 * conform/data/netinet/in.h-data: Likewise.
27771 * conform/data/tar.h-data: Likewise.
27772 * conform/data/limits.h-data: Use "==" form on "constant" and
27773 "optional-constant" lines.
27774
1b8f2850
JM
27775 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
27776 Use -std=c99 for XOPEN2K.
27777 (@knownproblems): Remove.
27778 (newtoken): Don't check %isknown.
27779
a05a144b
JM
27780 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
27781 Do not expect macro.
27782 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
27783 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
27784 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
27785 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
27786 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
27787 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
27788 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
27789 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
27790 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
27791 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
27792 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
27793 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
27794 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
27795 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
27796 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
27797 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
27798 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
27799 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
27800 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
27801 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
27802 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
27803 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
27804 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
27805 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
27806 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
27807 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
27808 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
27809 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
27810 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
27811 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
27812 [XPG3] (acosh): Likewise.
27813 [XPG3] (asinh): Likewise.
27814 [XPG3] (atanh): Likewise.
27815 [XPG3] (cbrt): Likewise.
27816 [XPG3] (expm1): Likewise.
27817 [XPG3] (ilogb): Likewise.
27818 [XPG3] (log1p): Likewise.
27819 [XPG3] (logb): Likewise.
27820 [XPG3] (nextafter): Likewise.
27821 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
27822 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
27823 [XPG3] (remainder): Likewise.
27824 [XPG3] (rint): Likewise.
27825 [XPG3 || XPG4 || UNIX98] (round): Likewise.
27826 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
27827 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
27828 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
27829 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
27830 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
27831 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
27832 [UNIX98 || XOPEN2K] (scalb): Expect.
27833 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
27834 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
27835 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
27836 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
27837 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
27838 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
27839 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
27840 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
27841 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
27842 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
27843 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
27844 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
27845 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
27846 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
27847 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
27848 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
27849 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
27850 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
27851 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
27852 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
27853 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
27854 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
27855 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
27856 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
27857 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
27858 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
27859 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
27860 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
27861 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
27862 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
27863 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
27864 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
27865 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
27866 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
27867 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
27868 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
27869 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
27870 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
27871 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
27872 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
27873 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
27874 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
27875 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
27876 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
27877 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
27878 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
27879 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
27880 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
27881 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
27882 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
27883 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
27884 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
27885 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
27886 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
27887 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
27888 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
27889 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
27890 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
27891 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
27892 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
27893 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
27894 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
27895 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
27896 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
27897 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
27898 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
27899 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
27900 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
27901 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
27902 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
27903 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
27904 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
27905 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
27906 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
27907 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
27908 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
27909 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
27910 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
27911 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
27912 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
27913 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
27914 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
27915 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
27916 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
27917 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
27918 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
27919 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
27920 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
27921 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
27922 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
27923 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
27924 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
27925 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
27926 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
27927 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
27928 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
27929 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
27930 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
27931 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
27932 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
27933 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
27934 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
27935 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
27936 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
27937 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
27938 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
27939 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
27940 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
27941 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
27942 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
27943 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
27944 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
27945 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
27946 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
27947 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
27948 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
27949 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
27950 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
27951 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
27952 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
27953 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
27954 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
27955 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
27956 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
27957 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
27958 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
27959 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
27960 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
27961 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
27962 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
27963 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
27964 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
27965 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
27966 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
27967 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
27968 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
27969 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
27970
73c5ebe3
JM
27971 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
27972 _XOPEN_SOURCE_EXTENDED for XPG4.
27973
39c33b6c
JM
27974 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
27975
62fde54f
JM
27976 * Makeconfig (localtime): Remove variable.
27977 (inst_localtime-file): Likewise.
27978
0741d64c
AS
279792012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27980
27981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27982 Update.
27983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27984 Update.
27985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27986 Update.
27987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27988 Update.
27989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
27990 Update.
27991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
27992 Update.
27993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27994 Update.
27995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
27996 Update.
27997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27998 Update.
27999
7cb029ee
JM
280002012-05-01 Joseph Myers <joseph@codesourcery.com>
28001
28002 [BZ #2550]
28003 [BZ #2570]
28004 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
28005 comparisons to determine direction to adjust input.
28006 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
28007 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
28008 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
28009 Likewise.
28010 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
28011 Likewise.
28012 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28013 Likewise.
28014 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
28015 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
28016 Likewise.
28017 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
28018 Likewise.
28019 * math/libm-test.inc (nexttoward_test): Add more tests.
28020
412bd966
AS
280212012-05-01 Andreas Schwab <schwab@linux-m68k.org>
28022
28023 [BZ #14040]
28024 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
28025 in version GLIBC_2.1, not GLIBC_2.0.
28026 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
28027 Likewise.
28028
9568c0c2
JM
280292012-04-30 Joseph Myers <joseph@codesourcery.com>
28030
adfbc8ac
JM
28031 [BZ #13942]
28032 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
28033 (1 - x) * (1 + x).
28034 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
28035 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
28036 * math/libm-test.inc (acos_test): Add more tests.
28037 (asin_test): Likewise.
28038 * sysdeps/i386/fpu/libm-test-ulps: Update.
28039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28040
5ba3cc69
JM
28041 [BZ #14034]
28042 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
28043 of square root.
28044 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
28045 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
28046 * math/libm-test.inc (acos_test_tonearest): New function.
28047 (acos_test_towardzero): Likewise.
28048 (acos_test_downward): Likewise.
28049 (acos_test_upward): Likewise.
28050 (asin_test_tonearest): Likewise.
28051 (asin_test_towardzero): Likewise.
28052 (asin_test_downward): Likewise.
28053 (asin_test_upward): Likewise.
28054 (main): Call the new functions.
28055 * sysdeps/i386/fpu/libm-test-ulps: Update.
28056 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28057
9568c0c2
JM
28058 [BZ #13884]
28059 [BZ #13924]
28060 * math/e_exp10.c: Include <float.h>.
28061 (__ieee754_exp10): Handle underflow here rather than multiplying
28062 large negative argument by M_LN10.
28063 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
28064 of __ieee754_expf.
28065 * math/e_exp10l.c: Include <float.h>.
28066 (__ieee754_exp10l): Handle underflow here rather than multiplying
28067 large negative argument by M_LN10l.
28068 * math/libm-test.inc (exp10_test): Add another test. Do not allow
28069 spurious overflow exception on underflow.
28070
5ac3ea17
MP
280712012-04-29 Marek Polacek <polacek@redhat.com>
28072
28073 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
28074 (__fortify_function): New macro.
28075 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
28076 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
28077 __extern_always_inline.
28078 * libio/bits/stdio2.h: Likewise.
28079 * libio/bits/stdio.h: Likewise.
28080 * string/string.h: Likewise.
28081 * string/bits/string3.h: Likewise.
28082 * include/stdio.h: Likewise.
28083 * stdlib/bits/stdlib.h: Likewise.
28084 * stdlib/stdlib.h: Likewise.
28085 * rt/bits/mqueue2.h: Likewise.
28086 * rt/mqueue.h: Likewise.
28087 * posix/bits/unistd.h: Likewise.
28088 * posix/unistd.h: Likewise.
28089 * io/bits/poll2.h: Likewise.
28090 * io/bits/fcntl2.h: Likewise.
28091 * io/fcntl.h: Likewise.
28092 * io/sys/poll.h: Likewise.
28093 * misc/bits/syslog.h: Likewise.
28094 * misc/bits/syslog-ldbl.h: Likewise.
28095 * misc/sys/syslog.h: Likewise.
28096 * socket/bits/socket2.h: Likewise.
28097 * socket/sys/socket.h: Likewise.
28098 * debug/tst-chk1.c: Likewise.
28099 * wcsmbs/bits/wchar2.h: Likewise.
28100 * wcsmbs/bits/wchar-ldbl.h: Likewise.
28101 * wcsmbs/wchar.h: Likewise.
28102
ecf0ebfb
AJ
281032012-04-29 Andreas Jaeger <aj@suse.de>
28104
28105 * Makerules (tests): Remove enable-check-abi protection.
28106 (check-abi-warn): Remove.
28107 (check-abi-%): Remove check-abi-warn usage.
28108
28109 * configure.in: Remove check-abi configure option.
28110 * configure: Regenerated.
28111 * config.make.in (enable-check-abi): Remove.
28112
6d5c57fa
AS
281132012-04-28 Andreas Schwab <schwab@linux-m68k.org>
28114
24c5d07e 28115 [BZ #14033]
ded5180a
AS
28116 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
28117 double functions to double *_finite functions.
28118
7e0d315d
AS
28119 [BZ #13941]
28120 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
28121 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
28122 LDBL_MIN_EXP.
28123 * stdio-common/Makefile (tests): Add tst-sprintf3.
28124 * stdio-common/tst-sprintf3.c: New file.
28125
6d5c57fa
AS
28126 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
28127 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
28128
0749ff8b
JM
281292012-04-28 Joseph Myers <joseph@codesourcery.com>
28130
28131 * conform/conformtest.pl: Remove duplicate typed-constant
28132 handling.
28133
8dbd5d7b
DM
281342012-04-28 David S. Miller <davem@davemloft.net>
28135
28136 * Makerules (%.abilist): Add vpath on sysdep_dirs.
28137 (check-abi-%): Remove AWK script prerequisite and explicit
28138 abilist directory.
28139 (check-abi): Rewrite to just diff the symlist with the abilist.
28140 (config-tls, config-abi-config): Delete, no longer used.
28141 (update-abi-%): Remove AWK script and explicit abilist directory.
28142 (update-abi): Rewrite to simply compare and conditionally copy the
28143 symlist and the sysdep abilist file. Remove update-abi-config
28144 checks.
28145 * abilist/ld.abilist: Remove.
28146 * abilist/libBrokenLocale.abilist: Remove.
28147 * abilist/libanl.abilist: Remove.
28148 * abilist/libcrypt.abilist: Remove.
28149 * abilist/libdl.abilist: Remove.
28150 * abilist/librt.abilist: Remove.
28151 * abilist/libthread_db.abilist: Remove.
28152 * abilist/libutil.abilist: Remove.
28153 * scripts/extract-abilist.awk: Remove.
28154 * scripts/merge-abilist.awk: Remove.
28155 * sysdeps/generic/libcidn.abilist: New file.
28156 * sysdeps/generic/libnss_compat.abilist: New file.
28157 * sysdeps/generic/libnss_db.abilist: New file.
28158 * sysdeps/generic/libnss_dns.abilist: New file.
28159 * sysdeps/generic/libnss_files.abilist: New file.
28160 * sysdeps/generic/libnss_hesiod.abilist: New file.
28161 * sysdeps/generic/libnss_nis.abilist: New file.
28162 * sysdeps/generic/libnss_nisplus.abilist: New file.
28163 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
28164 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
28165 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
28166 file.
28167 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
28168 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
28169 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
28170 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
28171 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
28172 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
28173 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
28174 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
28175 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
28176 file.
28177 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
28178 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
28179 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
28180 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
28181 file.
28182 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
28183 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
28184 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
28185 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
28186 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
28187 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
28188 file.
28189 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
28190 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
28191 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
28192 file.
28193 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
28194 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
28195 New file.
28196 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
28197 New file.
28198 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
28199 New file.
28200 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
28201 New file.
28202 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
28203 New file.
28204 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
28205 New file.
28206 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
28207 New file.
28208 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
28209 New file.
28210 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
28211 New file.
28212 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
28213 New file.
28214 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
28215 New file.
28216 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
28217 New file.
28218 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
28219 New file.
28220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
28221 file.
28222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
28223 New file.
28224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
28225 New file.
28226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
28227 file.
28228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
28229 New file.
28230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
28231 New file.
28232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
28233 file.
28234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
28235 New file.
28236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28237 New file.
28238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
28239 New file.
28240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
28241 New file.
28242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
28243 New file.
28244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
28245 New file.
28246 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
28247 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
28248 file.
28249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
28250 New file.
28251 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
28252 file.
28253 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
28254 file.
28255 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
28256 file.
28257 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
28258 file.
28259 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
28260 file.
28261 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28262 New file.
28263 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
28264 file.
28265 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
28266 file.
28267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
28268 New file.
28269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
28270 file.
28271 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
28272 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
28273 file.
28274 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
28275 New file.
28276 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
28277 file.
28278 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
28279 file.
28280 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
28281 file.
28282 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
28283 file.
28284 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
28285 file.
28286 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28287 New file.
28288 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
28289 file.
28290 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
28291 file.
28292 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
28293 New file.
28294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
28295 file.
28296 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28297 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
28298 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
28299 file.
28300 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
28301 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
28302 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
28303 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
28304 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
28305 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
28306 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
28307 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
28308 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
28309 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
28310 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
28311 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
28312 file.
28313 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
28314 New file.
28315 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
28316 file.
28317 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
28318 file.
28319 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
28320 file.
28321 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
28322 file.
28323 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
28324 file.
28325 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28326 New file.
28327 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
28328 New file.
28329 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
28330 file.
28331 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
28332 New file.
28333 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
28334 file.
28335 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
28336 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
28337 file.
28338 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
28339 New file.
28340 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
28341 file.
28342 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
28343 file.
28344 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
28345 file.
28346 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
28347 file.
28348 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
28349 file.
28350 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28351 New file.
28352 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
28353 New file.
28354 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
28355 file.
28356 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
28357 New file.
28358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
28359 file.
28360
41d73a1b
JM
283612012-04-28 Joseph Myers <joseph@codesourcery.com>
28362
28363 * conform/conformtest.pl: Fix typo in handling typed-constant from
28364 allow-header.
28365
28aeeda4
JM
283662012-04-27 Joseph Myers <joseph@codesourcery.com>
28367
adae8f5e
JM
28368 * README: Cut down references to pre-2.6 Linux kernels and
28369 Linuxthreads. Update lists of configurations in libc and ports
28370 and sort alphabetically. Say "or newer" with Linux kernel version
28371 requirements.
28372
28aeeda4
JM
28373 * config.h.in [IS_IN_build]: Allow compiling without optimization.
28374
a462cb63
RA
283752012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28376
28377 [BZ #887]
28378 * math/libm-test.inc (logb_test_downward): New test to expose
28379 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
28380 rounding mode.
28381
6ad3493e
JM
283822012-04-27 Joseph Myers <joseph@codesourcery.com>
28383
28384 [BZ #14027]
28385 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
28386 to be done.
28387 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
28388 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
28389
2ce4f015
JM
283902012-04-26 Joseph Myers <joseph@codesourcery.com>
28391
5aeb141a
JM
28392 * sysdeps/unix/i386/brk.S: Remove file.
28393 * sysdeps/unix/i386/dl-brk.S: Likewise.
28394 * sysdeps/unix/i386/pipe.S: Likewise.
28395 * sysdeps/unix/i386/sigreturn.S: Likewise.
28396 * sysdeps/unix/i386/syscall.S: Likewise.
28397 * sysdeps/unix/i386/vfork.S: Likewise.
28398 * sysdeps/unix/i386/wait.S: Likewise.
28399
7143acae
JM
28400 * sysdeps/unix/common/tcsendbrk.c: Move to ...
28401 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
28402
2ce4f015
JM
28403 * configure.in (arm*-none*): Do not allow without
28404 --enable-hacker-mode.
28405 (netbsd*): Remove case setting base_os.
28406 (386bsd*): Likewise.
28407 (freebsd*): Likewise.
28408 (bsdi*): Likewise.
28409 (osf*): Likewise.
28410 (sunos*): Likewise.
28411 (ultrix*): Likewise.
28412 (newsos*): Likewise.
28413 (dynix*): Likewise.
28414 (*bsd*): Likewise.
28415 (sysv*): Likewise.
28416 (isc*): Likewise.
28417 (esix*): Likewise.
28418 (sco*): Likewise.
28419 (minix*): Likewise.
28420 (irix4*): Likewise.
28421 (irix6*): Likewise.
28422 (solaris[2-9]*): Likewise.
28423 (none): Likewise.
28424 * configure: Regenerated.
28425
0ac229c8
AZ
284262012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28427
28428 [BZ #11521]
28429 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
28430 overflow or cancellation in calculating denominator.
28431 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
28432 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
28433 down expression to avoid unexpected rounding in newer GCCs.
28434 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
28435
33f244f4
DM
284362012-04-26 David S. Miller <davem@davemloft.net>
28437
28438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
28439 long-double compat symbols.
28440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
28444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
28446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
28447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
28448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
28449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
28450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
28451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
28452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28453
cfa1f3e8
DM
284542012-04-25 David S. Miller <davem@davemloft.net>
28455
28456 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
28457 HWCAP_* values only after the memory barriers have been defined.
28458 (atomic_full_barrier): Define.
28459 (atomic_read_barrier): Define.
28460 (atomic_write_barrier): Define.
28461
6e236b92
SP
284622012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28463
28464 * shlib-versions: Add libgcc_s version information.
28465 * sysdeps/generic/libgcc_s.h: Remove.
28466 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
28467 libgcc_s.h.
28468 * sysdeps/gnu/unwind-resume.c: Likewise.
28469 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
28470
aab39a09
DM
284712012-04-25 David S. Miller <davem@davemloft.net>
28472
28473 * sysdeps/unix/sparc/brk.S: Delete.
28474 * sysdeps/unix/sparc/dl-brk.S: Delete.
28475 * sysdeps/unix/sparc/pipe.S: Delete.
28476 * sysdeps/unix/sparc/sysdep.S: Delete.
28477 * sysdeps/unix/sparc/sysdep.h: Delete.
28478 * sysdeps/unix/sparc/vfork.S: Delete.
28479 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
28480 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
28481 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
28482 ret_ERRVAL, r0, r1, MOVE): Define.
28483 (JUMPTARGET): Remove.
28484 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
28485 sysdeps/unix/sparc/sysdep.h
28486 (ENTRY, END): Remove.
28487 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28488
a3cc4f48
JM
284892012-04-25 Joseph Myers <joseph@codesourcery.com>
28490
2ed8cda2
JM
28491 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
28492 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
28493 -DIS_IN_build.
28494
35d76d59
JM
28495 * timezone/README: Update upstream location and email address for
28496 tzcode and tzdata.
28497 * timezone/zdump.c: Update from tzcode 2012b.
28498 * timezone/zic.c: Likewise.
28499
a3cc4f48
JM
28500 * configure.in (libc_cv_as_needed): Remove test.
28501 * configure: Regenerated.
28502 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
28503 conditional definition.
28504 [$(have-as-needed) != yes] (no-as-needed): Likewise.
28505 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
28506 * config.make.in (have-as-needed): Remove variable.
28507
ceab42c3
SP
285082012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28509 Paul Pluzhnikov <ppluzhnikov@google.com>
28510
28511 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
28512 strings correctly.
28513
3ce2865f
CLT
285142012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
28515
28516 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
28517 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
28518 * sysdeps/sh/strlen.S: Likewise.
28519
f37e0d68
JM
285202012-04-24 Joseph Myers <joseph@codesourcery.com>
28521
ae186e9a
JM
28522 * sysdeps/unix/fork.S: Remove file.
28523 * sysdeps/unix/i386/fork.S: Likewise.
28524 * sysdeps/unix/sparc/fork.S: Likewise.
28525
b96914af
JM
28526 * sysdeps/unix/system.c: Remove file.
28527 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
28528
f37e0d68
JM
28529 * sysdeps/unix/getegid.S: Remove file.
28530 * sysdeps/unix/geteuid.S: Likewise.
28531
87ef29ca
RM
285322012-04-24 Roland McGrath <roland@hack.frob.com>
28533
83bcd236
RM
28534 * scripts/check-localplt.awk: New file.
28535 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
28536 of diff.
28537 * scripts/data/localplt-generic.data: Add a comment.
28538
87ef29ca
RM
28539 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
28540 NODE when __dir_mkfile failed.
28541 * sysdeps/mach/hurd/symlinkat.c: Likewise.
28542 Reported by Ludovic Courtès <ludo@gnu.org>.
28543
e5a6e567
AJ
285442012-04-24 Andreas Jaeger <aj@suse.de>
28545
28546 * Makerules (common-clean): Also remove gen-as-const-headers
28547 files.
28548
c1820385
JM
285492012-04-24 Joseph Myers <joseph@codesourcery.com>
28550
28551 * Makerules (native-compile): Do not change working directory for
28552 build. Use $(OUTPUT_OPTION) in command.
28553 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
28554
94e02fc4
AZ
285552012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28556
28557 [BZ #13886]
28558 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
28559 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
28560 * math/libm-test.inc (floor_test): Add more tests.
28561 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
28562
3a533ca3
JM
285632012-04-24 Joseph Myers <joseph@codesourcery.com>
28564
940ab4b3
JM
28565 * sysdeps/unix/getdents.c: Remove file.
28566 * sysdeps/unix/sysv/getdents.c: Likewise.
28567 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
28568
90e037bd
JM
28569 * sysdeps/unix/syscalls.list (madvise): Add syscall from
28570 sysdeps/unix/mman/syscalls.list.
28571 (mmap): Likewise.
28572 (mprotect): Likewise.
28573 (msync): Likewise.
28574 (munmap): Likewise.
28575 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
28576 * sysdeps/unix/mman/syscalls.list: Remove.
28577 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
28578
3a533ca3
JM
28579 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
28580 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
28581 * configure: Regenerated.
28582 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
28583 $(libgcc_s_suffix).
28584 * config.make.in (libgcc_s_suffix): Remove variable.
28585
1ad743de
JM
285862012-04-23 Joseph Myers <joseph@codesourcery.com>
28587
4ad451e2
JM
28588 * sysdeps/unix/sysv/gethostname.c: Move to ...
28589 * sysdeps/posix/gethostname.c: ... here.
28590
5e37ce39
JM
28591 * sysdeps/unix/execve.S: Remove file.
28592
1ad743de
JM
28593 * sysdeps/unix/_exit.S: Remove file.
28594
4e681b5b
AJ
285952012-04-23 Andreas Jaeger <aj@suse.de>
28596
28597 [BZ #13739]
28598 * manual/Makefile: Remove make dist support, there's no
28599 need for a stand-alone documentation tar ball.
28600 (TEXI2DVI): Define always, it's not in Makeconfig.
28601 (dist): Removed.
28602 (tar-it): Removed.
28603 (edition): Removed.
28604 (glibc-doc-$(edition).tar): Removed
28605 (%.Z): Removed.
28606 (%.gz): Removed.
28607 (%.uu): Removed.
28608 (ETAGS): Remove, it's in Makeconfig.
28609 (move-if-change): Remove, it's in Makeconfig.
28610
38686a03 286112012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
28612
28613 [BZ #13970]
28614 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
28615 (strtod, strtof, strtold, strtol, strtoul, strtoq)
28616 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
28617 (strtod_l, strtof_l, strtold_l): Remove __wur.
28618 It is not necessarily an error to ignore strtol's return value.
28619 One can reliably look at the stored endptr to decide whether
28620 the number had valid syntax.
28621
7c0616fa
AJ
286222012-04-21 Andreas Jaeger <aj@suse.de>
28623
803cb6b7 28624 [BZ #13739]
7c0616fa
AJ
28625 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
28626
b0fe253f
JM
286272012-04-21 Joseph Myers <joseph@codesourcery.com>
28628
28629 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
28630 * sysdeps/unix/sysv/Versions: Remove file.
28631
8280f22d
MT
286322012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
28633
28634 [BZ #13927]
28635 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28636
75ce411f 286372012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
28638
28639 [BZ #7064]
28640 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
28641 version from __vm86.
28642
097d59fa
JM
286432012-04-20 Joseph Myers <joseph@codesourcery.com>
28644
a90f3bcb
JM
28645 * sysdeps/unix/common/lxstat.c: Remove file.
28646 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
28647
edc7ea78
JM
28648 * sysdeps/unix/sysv/Makefile: Remove file.
28649
cb78c221
JM
28650 * sysdeps/unix/sysv/direct.h: Remove file.
28651
efa6a45f
JM
28652 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
28653 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
28654 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
28655 * sysdeps/unix/sysv/bits/signum.h: Likewise.
28656 * sysdeps/unix/sysv/bits/stat.h: Likewise.
28657 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
28658 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
28659
9c9f2d0c
JM
28660 * sysdeps/unix/sysv/setrlimit.c: Remove file.
28661
4541c83b
JM
28662 * sysdeps/unix/xmknod.c: Remove file.
28663 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
28664
f5d153a0
JM
28665 * sysdeps/unix/sysv/settimeofday.c: Remove file.
28666
aa746595
JM
28667 * sysdeps/unix/sysv/i386/time.S: Remove file.
28668
cce5905e
JM
28669 * sysdeps/unix/fxstat.c: Remove file.
28670 * sysdeps/unix/xstat.c: Likewise.
28671 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
28672
37fa3841
JM
28673 * sysdeps/unix/sysv/sigaction.c: Remove file.
28674
ff1962a3
JM
28675 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
28676 (sysdep_headers): Remove variable.
28677 [termio.h not in sysdep_headers] (generated): Likewise.
28678 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
28679 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
28680 * sysdeps/unix/sysv/tcdrain.c: Likewise.
28681 * sysdeps/unix/sysv/tcflow.c: Likewise.
28682 * sysdeps/unix/sysv/tcflush.c: Likewise.
28683 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
28684 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
28685 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
28686 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
28687 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
28688
e7740d31
JM
28689 * sysdeps/unix/siglist.c: Remove file.
28690
ee06f18b
JM
28691 * sysdeps/unix/getppid.S: Remove file.
28692
097d59fa
JM
28693 * sysdeps/unix/mkdir.c: Remove file.
28694 * sysdeps/unix/rmdir.c: Likewise.
28695
ff3d51ec
AS
286962012-04-19 Andreas Schwab <schwab@linux-m68k.org>
28697
28698 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
28699 ERR_MAX value.
28700 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
28701 errlist-compat value.
28702
50f81fd7
DM
287032012-04-18 David S. Miller <davem@davemloft.net>
28704
28705 * sysdeps/generic/memcopy.h (reg_char): Delete.
28706 * debug/strcat_chk.c: Use char, not reg_char.
28707 * debug/strcpy_chk.c: Likewise.
28708 * debug/strncat_chk.c: Likewise.
28709 * debug/strncpy_chk.c: Likewise.
28710 * string/memchr.c: Likewise.
28711 * string/memrchr.c: Likewise.
28712 * string/rawmemchr.c: Likewise.
28713 * string/strcat.c: Likewise.
28714 * string/strchr.c: Likewise.
28715 * string/strchrnul.c: Likewise.
28716 * string/strcmp.c: Likewise.
28717 * string/strcpy.c: Likewise.
28718 * string/strncat.c: Likewise.
28719 * string/strncmp.c: Likewise.
28720 * string/strncpy.c: Likewise.
28721
8ff41c46
WS
287222012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28723
28724 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
28725 __builtin_memcopy is called when src and dest ranges are known to not
28726 overlap.
28727
6b652f46
WS
287282012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28729
28730 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
28731 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
28732 fwd_align_merge macro call.
28733 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
28734 bwd_align_merge macro call.
28735 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28736
b282631e
WS
287372012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28738
28739 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
28740 bwd_align_merge macros.
28741 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
28742 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
28743 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28744
95aa737c
DM
287452012-04-18 David S. Miller <davem@davemloft.net>
28746
28747 * sysdeps/sparc/sparc64/memcopy.h: Delete.
28748
7a99a614
AJ
287492012-04-18 Andreas Jaeger <aj@suse.de>
28750
28751 [BZ# 6794]
28752 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
28753 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
28754 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28755
28756 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
28757 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
28758 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28759
28760 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
28761 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
28762 Adjust for changed ldbl-128 files.
28763
28764 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
28765 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
28766 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28767
e5270c23
DM
287682012-04-17 David S. Miller <davem@davemloft.net>
28769
28770 * sysdeps/sparc/sparc32/memcopy.h: Delete.
28771
fb5e92c9
AS
287722012-04-17 Andreas Schwab <schwab@linux-m68k.org>
28773
28774 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
28775 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
28776 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
28777 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
28778 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28779 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
28780
76da7265
AZ
287812012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28782
28783 [BZ #6794]
28784 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
28785 * math/libm-test.inc: Add ilogb errno and exception tests.
28786 * math/w_ilogb.c: New file: ilogb wrapper.
28787 * math/w_ilogbf.c: New file: ilogbf wrapper.
28788 * math/w_ilogbl.c: New file: ilogbl wrapper.
28789 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
28790 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
28791 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
28792 exception being thrown with 0.0 as argument.
28793 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
28794 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
28795 exception being thrown with 0.0 as argument.
28796 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
28797 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28798 exception being thrown with 0.0 as argument.
28799 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
28800 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28801 exception being thrown with 0.0 as argument.
28802 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
28803 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 28804 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
28805 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
28806 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
28807 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
28808 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
28809 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
28810 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
28811
0396e69d
PB
288122012-04-17 Petr Baudis <pasky@ucw.cz>
28813
28814 * include/sys/uio.h: Change __vector to __iovec to avoid clash
28815 with altivec.
28816
750b5926
MP
288172012-04-16 Marek Polacek <polacek@redhat.com>
28818
28819 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
28820
751728a1
MP
288212012-04-16 Marek Polacek <polacek@redhat.com>
28822
28823 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
28824 operands of fdivp instruction.
28825
34a27407
L
288262012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28827
28828 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
28829 * elf/tst-auditmod3b.c: Likewise.
28830 * elf/tst-auditmod4b.c: Likewise.
28831 * elf/tst-auditmod5b.c: Likewise.
28832 * elf/tst-auditmod6b.c: Likewise.
28833 * elf/tst-auditmod6c.c: Likewise.
28834 * elf/tst-auditmod7b.c: Likewise.
28835 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
28836 * sysdeps/x86_64/preconfigure.in: Likewise.
28837 * sysdeps/x86_64/preconfigure: Regenerated.
28838
7e73e17d
L
288392012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28840
28841 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
28842 __ILP32__.
28843
c7a6ab72
AB
288442012-04-13 Antoine Balestrat <merkil33@gmail.com>
28845
28846 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28847 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
28848
a9e8e0e0
CL
288492012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
28850
28851 [BZ #13973]
28852 * locale/iso-639.def: Fix gl language name. Spotted by
28853 Yaron Shahrabani.
28854
ec98af7d
RM
288552012-04-12 Roland McGrath <roland@hack.frob.com>
28856
28857 [BZ #2074]
28858 * libio/libio.h (__io_write_fn): Update comment.
28859
247c3ede
PB
288602012-04-12 Petr Baudis <pasky@ucw.cz>
28861
28862 [BZ #2074]
28863 * stdio.texi (Hook Functions): The user provided writer function
28864 is not allowed to return -1.
28865
55939d6d
DM
288662012-04-11 David S. Miller <davem@davemloft.net>
28867
28868 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28869
90020f5a
MF
288702012-04-11 Mike Frysinger <vapier@gentoo.org>
28871
28872 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
28873 Add a leading slash to rtkaio.
28874
288f9098
JM
288752012-04-11 Jim Meyering <meyering@redhat.com>
28876
90020f5a
MF
28877 [BZ #11959]
28878 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
28879 It is not necessarily an error to ignore fwrite's return
28880 value. One can reliably use ferror to test for errors after
28881 the fact.
288f9098 28882
4be2b570
L
288832012-04-10 H.J. Lu <hongjiu.lu@intel.com>
28884
28885 * bits/types.h (__snseconds_t): New type.
28886 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
28887
28888 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
28889 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28890 (__SNSECONDS_T_TYPE): Likewise.
28891 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28892 (__SNSECONDS_T_TYPE): Likewise.
28893 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28894 (__SNSECONDS_T_TYPE): Likewise.
28895
288f9098 288962012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
28897
28898 [BZ #2636]
28899 * manual/time.texi (Processor Time): Return type of times is
28900 elapsed real time since an arbitrary point in the past.
28901 (CPU Time): Move CLK_TCK from here...
28902 (Processor Time): ...to here. Correct description.
28903 * manual/conf.texi (Constants for Sysconf): Correct description of
28904 _SC_CLK_TCK.
28905
d7dd4413
DM
289062012-04-10 David S. Miller <davem@davemloft.net>
28907
28908 [BZ #13967]
28909 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
28910 where the is a gap between DT_REL(A) and DT_JMPREL.
28911
b46068fc
L
289122012-04-10 H.J. Lu <hongjiu.lu@intel.com>
28913
28914 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
28915 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28916 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28917
73d65cc3
SP
289182012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28919
28920 * elf/dl-support.c (_dl_inhibit_cache): New variable.
28921 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
28922 (dl_main): Handle --inhibit-cache.
28923 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
28924 _dl_inhibit_cache.
28925 * elf/dl-load.c (_dl_map_object): Use it.
28926 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
28927
bcc8d661
JM
289282012-04-09 Joseph Myers <joseph@codesourcery.com>
28929
8f9a2fae
JM
28930 [BZ #13872]
28931 * sysdeps/i386/fpu/e_powl.S (p78): New object.
28932 (__ieee754_powl): Saturate large exponents rather than testing for
28933 overflow of y*log2(x).
28934 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28935 * math/libm-test.inc (pow_test): Do not permit spurious overflow
28936 exceptions.
28937
bcc8d661
JM
28938 [BZ #11521]
28939 * math/s_ctan.c: Include <float.h>.
28940 (__ctan): Avoid internal overflow or cancellation in calculating
28941 denominator.
28942 * math/s_ctanf.c: Likewise.
28943 * math/s_ctanl.c: Likewise.
28944 * math/s_ctanh.c: Likewise.
28945 * math/s_ctanhf.c: Likewise.
28946 * math/s_ctanhl.c: Likewise.
28947 * math/libm-test.inc (ctan_test): Add more tests.
28948 (ctanh_test): Likewise.
28949 * sysdeps/i386/fpu/libm-test-ulps: Update.
28950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28951
823fbbb4
AJ
289522012-04-09 Andreas Jaeger <aj@suse.de>
28953
03879793
AJ
28954 [BZ #6894]
28955 * manual/filesys.texi (Directory Entries): Mention that d_namlen
28956 is an optional BSD extension.
28957
823fbbb4
AJ
28958 [BZ #10254]
28959 * manual/stdio.texi (Opening Streams): Document additional fopen
28960 parameters.
28961
8de131cb
RM
289622012-04-09 Roland McGrath <roland@hack.frob.com>
28963
28964 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
28965 %eax without telling the compiler.
28966
c0ed9d7d
CD
289672012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
28968
28969 [BZ # 13963]
28970 * manual/install.texi: Use sourceware.org.
28971
c483f6b4
JM
289722012-04-09 Joseph Myers <joseph@codesourcery.com>
28973
d7dd9453
JM
28974 [BZ #13873]
28975 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
28976 (__ieee754_pow): Generate overflow and underflow using huge*huge
28977 and tiny*tiny rather than just returning constant infinity or zero
28978 for large exponents.
28979 * math/libm-test.inc (pow_test): Require overflow exceptions for
28980 applicable cases of large exponents.
28981
c483f6b4
JM
28982 [BZ #706]
28983 * sysdeps/i386/fpu/e_pow.S (p10): New object.
28984 (__ieee754_pow): Use iterative multiplication algorithm only for
28985 integer exponents with absolute value below 1024. Check for odd
28986 integer exponents when using algorithm for real exponents.
28987 * math/libm-test.inc (pow_test): Add more tests.
28988 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28989
d2de7579
JM
289902012-04-08 Joseph Myers <joseph@codesourcery.com>
28991
28992 [BZ #13705]
28993 * math/libm-test.inc (exp_test): Do not allow overflow exception
28994 on underflow test.
28995
f77f1232
AJ
289962012-04-08 Aurelien Jarno <aurelien@aurel32.net>
28997
28998 [BZ #13705]
28999 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
29000 instead of __kernel_standard_f.
29001
3884932b
MF
290022012-04-08 Mike Frysinger <vapier@gentoo.org>
29003
29004 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
29005 * sysdeps/x86_64/memset_chk.S: Likewise.
29006
54472e9c
AJ
290072012-04-08 Andreas Jaeger <aj@suse.de>
29008
6ab0fbfc
AJ
29009 [BZ #10153]
29010 * manual/startup.texi (Environment Access): Describe return value
29011 for putenv and setenv.
29012
61efba8c
AJ
29013 [BZ #6895]
29014 * manual/filesys.texi (Directory Entries): Add description for
29015 DT_LNK.
29016
95c3f29a
AJ
29017 [BZ #6890]
29018 * manual/filesys.texi (Directory Entries): Clarify that it's file
29019 system not operating system in the description of DT_UNKNOWN.
29020
54472e9c
AJ
29021 [BZ #6578]
29022 * manual/syslog.texi (closelog): Fix reference, it's openlog.
29023
624254b1
SC
290242012-04-08 Stephen Compall <s11@member.fsf.org>
29025
29026 [BZ #6649]
29027 * manual/llio.texi (Opening and Closing Files): Add cross
29028 reference to explain mode argument.
29029
1e4920e0
MF
290302012-04-07 Mike Frysinger <vapier@gentoo.org>
29031
29032 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
29033 * sysdeps/x86_64/memset_chk.S: Likewise.
29034
5ed848f3
DM
290352012-04-07 David S. Miller <davem@davemloft.net>
29036
29037 * elf/elf.h (R_SPARC_WDISP10): Define.
29038 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
29039 R_SPARC_SIZE32.
29040 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
29041 R_SPARC_SIZE64 and R_SPARC_H34.
29042
96154cd8
CD
290432012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
29044
29045 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
29046 conditions and remove no longer applicable assertion.
29047
9904dc47
L
290482012-04-06 H.J. Lu <hongjiu.lu@intel.com>
29049
29050 * bits/byteswap.h: Include <features.h>.
29051 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
29052 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
29053
f8887d0a
L
290542012-04-06 H.J. Lu <hongjiu.lu@intel.com>
29055
29056 * bits/byteswap.h (__bswap_16): Removed.
29057 Include <bits/byteswap-16.h> to get __bswap_16.
29058 * sysdeps/i386/bits/byteswap.h: Likewise.
29059 * sysdeps/s390/bits/byteswap.h: Likewise.
29060 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29061 * bits/byteswap-16.h: New file.
29062 * sysdeps/i386/bits/byteswap-16.h: Likewise.
29063 * sysdeps/s390/bits/byteswap-16.h: Likewise.
29064 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
29065 * string/Makefile (headers): Add bits/byteswap-16.h.
29066
62470f60
PP
290672012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29068
29069 [BZ #13895]
29070 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
29071 extra indirection.
29072 * nss/Makefile (tests-static, tests): Add tst-nss-static.
29073 * nss/tst-nss-static.c: New.
29074
4dad7bab
RM
290752012-04-06 Robert Millan <rmh@gnu.org>
29076
29077 [BZ #6486]
29078 * manual/llio.texi (File Position Primitive): lseek
29079 refers to WHENCE when it really means OFFSET.
29080
e9142a17
AJ
290812012-04-06 Andreas Jaeger <aj@suse.de>
29082
2c040eff
AJ
29083 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
29084 strncmp declarations.
29085
e9142a17
AJ
29086 * abilist/libc.abilist: Add __poll and __ppoll.
29087
ff9f1c5f
DM
290882012-04-05 David S. Miller <davem@davemloft.net>
29089
dcd2ae90
DM
29090 * scripts/check-local-headers.sh: Accept a host triplet in the
29091 path matched by the exclude regexp.
29092
993eb054
DM
29093 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
29094 definition.
29095 * sysdeps/powerpc/powerpc32/dl-machine.h
29096 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
29097 * sysdeps/s390/s390-32/dl-machine.h
29098 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
29099 * sysdeps/sparc/sparc32/dl-machine.h
29100 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
29101 * sysdeps/sparc/sparc64/dl-machine.h
29102 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
29103
ff9f1c5f
DM
29104 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
29105 lazy binding.
48e2e132 29106 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
29107 undefined symbol errors.
29108
48e2e132 29109 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
29110 DT_NEEDED entries.
29111
e80d6f94
MM
291122012-04-05 Michael Matz <matz@suse.de>
29113
29114 [BZ #13592]
29115 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
29116
349fa79f
AJ
291172012-04-05 Andreas Jaeger <aj@suse.de>
29118
29119 [BZ #13908]
29120 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
29121 comment.
29122
f402708f
KK
291232012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29124
29125 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
29126 which ROUND is no valid rounding mode.
29127
2ecccfc9
KK
291282012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29129
29130 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
29131 read again.
29132 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
29133
8a53f50f
KK
291342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29135
29136 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
29137 an exception using FPU order intentionally.
29138
291392012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29140
29141 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
29142 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
29143 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
29144 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
29145
d653abb7
SJ
291462012-04-05 Simon Josefsson <simon@josefsson.org>
29147
29148 [BZ #12340]
29149 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
29150 EINVAL when BUFLEN is too smal.
29151
c3b1bf7d
TS
291522012-04-05 Thomas Schwinge <thomas@codesourcery.com>
29153
29154 [BZ #13553]
29155 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
29156 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
29157
b1aa60f3
AJ
291582012-04-03 Andreas Jaeger <aj@suse.de>
29159
c3b1bf7d 29160 [BZ #13938]
67f60a26
AJ
29161 * manual/setjmp.texi (System V contexts): Fix sentence.
29162
b1aa60f3
AJ
29163 [BZ #13926]
29164 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
29165 New macro for this case.
29166 [!__GNUC__] (__bswap_64): New inline function for this case.
29167 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29168 * bits/byteswap.h: Likewise.
29169 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
29170 ull, guard with __GLIBC_HAVE_LONG_LONG.
29171
29172 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
29173 __GLIBC_HAVE_LONG_LONG.
29174
29175 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
29176 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
29177
39c59c35
TMQMF
291782012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29179
29180 [BZ #13691]
29181 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
29182 inptr and inend, rather than using last_ch.
29183
135ffda8
DM
291842012-04-02 David S. Miller <davem@davemloft.net>
29185
29186 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
29187 * stdio-common/printf-parse.h (read_int): Change return type to
29188 'int', return -1 on INT_MAX overflow.
29189 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
29190 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
29191 overflows INT_MAX. Check for overflow of in-format-string precision
29192 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
29193 SIZE_MAX not INT_MAX for integer overflow test.
29194 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
29195 skip the construct in the format string but do not record anything.
29196 * stdio-common/bug22.c: Adjust to test both width/prevision
29197 INT_MAX overflow as well as total length INT_MAX overflow. Check
29198 explicitly for proper errno values.
29199
228c019e
TS
292002012-04-02 Thomas Schwinge <thomas@codesourcery.com>
29201
302cadd3
TS
29202 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
29203 CHAR_MAX.
29204 * string/test-strcmp.c [! WIDE]: Likewise.
29205 * time/tst-mktime2.c: Likewise for INT_MAX.
29206 * string/test-string.h: #include <sys/param.h> for MIN.
29207
228c019e
TS
29208 * csu/init-first.c (__libc_init_first): Call __ctype_init.
29209 * sysdeps/i386/init-first.c (init): Likewise.
29210 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
29211 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
29212 * sysdeps/sh/init-first.c (init): Likewise.
29213
cfa633f5
UD
292142012-04-01 Ulrich Drepper <drepper@gmail.com>
29215
29216 * po/ru.po: Update from translation team.
d1635ef8 29217 * po/vi.po: Likewise.
cfa633f5 29218
6cd0a5ea
SP
292192012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
29220
29221 * resolv/nss_dns/dns-host.c: Merge copyright years.
29222
4b43400f
LD
292232012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29224
29225 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29226 Optimize memcpy with prefetch if
29227 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
29228 src, dst pointers have unequal 16 byte alignments.
29229
48c41d04
SP
292302012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29231
29232 [BZ #13928]
29233 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
29234 from a CNAME entry and return the minimum ttl for the query.
29235 (gaih_getanswer_slice): Likewise.
29236
b8dc394d
JL
292372012-03-30 Jeff Law <law@redhat.com>
29238
29239 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
29240 due to long keys.
29241 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
29242 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
29243
2f5a5ed0
JL
29244 * resolv/nss_dns/dns-host.c: Update copyright year.
29245
1d39e359
UD
292462012-03-30 Ulrich Drepper <drepper@gmail.com>
29247
c030f70c 29248 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 29249 requests to save a system call. Fix check that all bytes are sent.
c030f70c 29250
1d39e359
UD
29251 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
29252 comments for sendmmsg.
29253
292542012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
29255
29256 [BZ #13691]
29257 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
29258 with only 1 character between 0x0041 and 0x01b0.
29259 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
29260 * wcsmbs/tst-mbsnrtowcs.c: New file.
29261
20fde227
DM
292622012-03-29 David S. Miller <davem@davemloft.net>
29263
29264 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
29265 small copies by hand.
29266
984a4237
JL
292672012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29268
29269 [BZ #13761]
29270 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
29271 _nss_compat_initgroups_dyn): Fall back to malloc/free
29272 for large group memberships.
29273
18c9d62b
DM
292742012-03-28 David S. Miller <davem@davemloft.net>
29275
88d85d4f
DM
29276 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
29277 that branches into memcpy.
29278 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
29279 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
29280 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29281 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
29282 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
29283 bits.
29284 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
29285 implementation too.
29286 * sysdeps/sparc/mempcpy.S: New file.
29287
e5aa83e1
DM
29288 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
29289 the IFUNC routine in the libc case.
29290 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29291
88570753
DM
29292 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
29293 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
29294 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
29295 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
29296 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
29297 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
29298 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
29299 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
29300
249d7567
DM
29301 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
29302 loop to 256 bytes instead of 64 bytes and fix test signedness.
29303
18c9d62b
DM
29304 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
29305 * sysdeps/sparc/sparc32/Makefile: rather than here...
29306 * sysdeps/sparc/sparc64/Makefile: and here.
29307
05f3d1f6
UD
293082012-03-28 Ulrich Drepper <drepper@gmail.com>
29309
29310 * malloc/mallocbug.c: Avoid warnings about unused variables.
29311
86ae07a8
JL
293122012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29313
29314 [BZ #13760]
29315 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
29316 in the right place. Discard and retry query if response is
29317 larger than input buffer size.
29318
41bf21a1
JM
293192012-03-28 Joseph Myers <joseph@codesourcery.com>
29320
d6270972
JM
29321 [BZ #369]
29322 [BZ #2678]
29323 [BZ #3866]
29324 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
29325 x for large integer exponent.
29326 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29327 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
29328 sign of result as needed afterwards.
29329 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
29330 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
29331 result for underflowing pow the same as for overflow.
29332 (__kernel_standard_l): Handle powl overflow and underflow here
29333 rather than calling __kernel_standard.
29334 * math/libm-test.inc (pow_test): Add more tests.
29335
414fca03 29336 [BZ #3868]
41bf21a1
JM
29337 [BZ #13879]
29338 [BZ #13910]
29339 [BZ #13911]
29340 [BZ #13912]
29341 [BZ #13913]
29342 [BZ #13915]
29343 [BZ #13916]
29344 [BZ #13917]
29345 [BZ #13918]
29346 [BZ #13919]
29347 [BZ #13920]
29348 [BZ #13921]
29349 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
29350 * sysdeps/ieee754/k_standard.c: Include <float.h>.
29351 (__kernel_standard_l): New function.
29352 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
29353 __kernel_standard.
29354 * math/w_acosl.c (__acosl): Likewise.
29355 * math/w_asinl.c (__asinl): Likewise.
29356 * math/w_atan2l.c (__atan2l): Likewise.
29357 * math/w_atanhl.c (__atanhl): Likewise.
29358 * math/w_coshl.c (__coshl): Likewise.
29359 * math/w_exp10l.c (__exp10l): Likewise.
29360 * math/w_exp2l.c (__exp2l): Likewise.
29361 * math/w_fmodl.c (__fmodl): Likewise.
29362 * math/w_hypotl.c (__hypotl): Likewise.
29363 * math/w_j0l.c (__j0l, __y0l): Likewise.
29364 * math/w_j1l.c (__j1l, __y1l): Likewise.
29365 * math/w_jnl.c (__jnl, __ynl): Likewise.
29366 * math/w_lgammal.c (__lgammal): Likewise.
29367 * math/w_log10l.c (__log10l): Likewise.
29368 * math/w_log2l.c (__log2l): Likewise.
29369 * math/w_logl.c (__logl): Likewise.
29370 * math/w_powl.c (__powl): Likewise.
29371 * math/w_remainderl.c (__remainderl): Likewise.
29372 * math/w_scalbl.c (sysv_scalbl): Likewise.
29373 * math/w_sinhl.c (__sinhl): Likewise.
29374 * math/w_sqrtl.c (__sqrtl): Likewise.
29375 * math/w_tgammal.c (__tgammal): Likewise.
29376 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
29377 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
29378 * math/libm-test.inc (acos_test): Add more tests.
29379 (acosh_test): Likewise.
29380 (asin_test): Likewise.
29381 (atanh_test): Likewise.
29382 (exp_test): Likewise.
29383 (exp10_test): Likewise.
29384 (exp2_test): Likewise.
29385 (expm1_test): Likewise.
29386 (lgamma_test): Likewise.
29387 (log_test): Likewise.
29388 (log10_test): Likewise.
29389 (log1p_test): Likewise.
29390 (log2_test): Likewise.
29391 (pow_test): Do not allow some spurious overflow exceptions.
29392 (sqrt_test): Add more tests.
29393 (tgamma_test): Likewise.
29394 (y0_test): Likewise.
29395 (y1_test): Likewise.
29396 (yn_test): Likewise.
29397
dd62fda6
AB
293982012-03-27 Anton Blanchard <anton@samba.org>
29399
29400 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
29401 MAP_HUGETLB.
29402 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29403 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29404 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29405
1e3cdfda
AJ
294062012-03-27 David S. Miller <davem@davemloft.net>
29407
b855ab85
DM
29408 * conform/Makefile: Run run-conformtest.sh using $(BASH).
29409
1e3cdfda
AJ
29410 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
29411 have-as-vis3 check.
29412
294132012-03-27 Andreas Jaeger <aj@suse.de>
29414
29415 * sysdeps/x86_64/elf/configure.in: Moved to ...
29416 * sysdeps/x86_64/configure.in: ... here.
29417 * sysdeps/x86_64/elf/start.S: Moved to ...
29418 * sysdeps/x86_64/start.S: ... here.
29419 * sysdeps/x86_64/elf/configure: Delete.
29420
29421 * sysdeps/x86_64/configure.in: Merge contents from
29422 sysdeps/i386/configure.in (without i686 check).
29423
29424 * sysdeps/i386/elf/Versions: Merge into ...
29425 * sysdeps/i386/Versions: ... this.
29426 * sysdeps/i386/elf/Versions: Delete file.
29427 * sysdeps/i386/elf/start.S: Moved to ...
29428 * sysdeps/i386/start.S: ...here.
29429 * sysdeps/i386/elf/configure.in: Merge into...
29430 * sysdeps/i386/configure.in: ...here.
29431 * sysdeps/i386/elf/configure.in: Delete file.
29432 * sysdeps/i386/elf/configure: Delete file.
29433
29434 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
29435 * debug/backtracesyms.c: ... here.
29436 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
29437 * debug/backtracesymsfd.c: ... here.
29438 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
29439 * sysdeps/generic/ifunc-sel.h: ... here.
29440
29441 * sysdeps/unix/i386/start.c: Delete file.
29442 * sysdeps/unix/sparc/start.c: Delete file.
29443 * sysdeps/unix/start.c: Delete file.
29444
29445 * sysdeps/sh/elf/configure.in: Moved to ...
29446 * sysdeps/sh/configure.in: ... here.
29447 * sysdeps/sh/elf/start.S: Moved to ...
29448 * sysdeps/sh/start.S: ... here.
29449 * sysdeps/sh/elf/configure: Delete file.
29450
29451 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
29452 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
29453 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
29454 * sysdeps/powerpc/powerpc64/entry.h: ... here.
29455 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
29456 * sysdeps/powerpc/powerpc64/start.S: here.
29457 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
29458 * sysdeps/powerpc/powerpc64/Makefile: ... this.
29459 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
29460 * sysdeps/powerpc/powerpc64/configure.in: ... this.
29461 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
29462
29463 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
29464 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
29465 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
29466 * sysdeps/powerpc/powerpc32/start.S: ... here.
29467 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
29468 * sysdeps/powerpc/powerpc32/configure.in: ... this.
29469 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
29470
29471 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
29472 * sysdeps/powerpc/ifunc-sel.h: ... here.
29473 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
29474 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
29475
29476 * sysdeps/sparc/elf/configure.in: Moved to ...
29477 * sysdeps/sparc/configure.in: ... here.
29478 * sysdeps/sparc/elf/configure: Delete file.
29479 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
29480 * sysdeps/sparc/sparc32/start.S: ... here.
29481 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
29482 * sysdeps/sparc/sparc64/start.S: ... here.
29483 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
29484 * sysdeps/sparc/sparc32/Makefile: ... this.
29485 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
29486 * sysdeps/sparc/sparc64/Makefile: ... this.
29487
29488 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
29489 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
29490 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
29491 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
29492 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
29493 * sysdeps/s390/s390-32/setjmp.S: ... here.
29494 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
29495 * sysdeps/s390/s390-32/configure.in: ... here.
29496 * sysdeps/s390/s390-32/elf/configure: Delete file.
29497 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
29498 * sysdeps/s390/s390-32/start.S: ... here.
29499
29500 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
29501 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
29502 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
29503 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
29504 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
29505 * sysdeps/s390/s390-64/setjmp.S: ... here.
29506 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
29507 * sysdeps/s390/s390-64/configure.in: ... here
29508 * sysdeps/s390/s390-64/elf/configure: Delete file.
29509 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
29510 * sysdeps/s390/s390-64/start.S: ... here.
29511 * sysdeps/s390/s390-64/elf/configure: Delete.
29512
29513 * configure.in: Remove support for elf directories in sysdeps.
29514
29515 * configure: Regenerated.
29516 * sysdeps/i386/configure: Regenerated.
29517 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29518 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29519 * sysdeps/s390/s390-32/configure: Regenerated.
29520 * sysdeps/s390/s390-64/configure: Regenerated.
29521 * sysdeps/sh/configure: Regenerated.
29522 * sysdeps/sparc/configure: Regenerated.
29523 * sysdeps/x86_64/configure: Regenerated.
29524
a3f61311
AS
295252012-03-26 Andreas Schwab <schwab@linux-m68k.org>
29526
c876e002
AS
29527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29528
a3f61311
AS
29529 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
29530 denormal result into account.
29531
ac4c54f0
RM
295322012-03-25 Roland McGrath <roland@hack.frob.com>
29533
29534 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
29535 Reported by Allan McRae <allan@archlinux.org>.
29536
6a9b9c02
JL
295372012-03-23 Jeff Law <law@redhat.com>
29538
29539 * nss/getnssent.c (__nss_getent): Fix typo.
29540
4c42a0c1
DM
295412012-03-23 David S. Miller <davem@davemloft.net>
29542
29543 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29544
1532c7ac
L
295452012-03-23 H.J. Lu <hongjiu.lu@intel.com>
29546
29547 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
29548 to pad to uint64_t for each field.
29549 (dl_tls_index): Replace unsigned long with uint64_t.
29550
3ff42526
PP
295512012-03-23 Daniel Jacobowitz <dmj@google.com>
29552 Paul Pluzhnikov <ppluzhnikov@google.com>
29553
29554 [BZ #6528]
29555 * grp/Makefile (otherlibs): Don't set it.
29556 * inet/Makefile (otherlibs): Likewise.
29557 * login/Makefile (otherlibs): Likewise.
29558 * nscd/Makefile (otherlibs): Likewise.
29559 * posix/Makefile (otherlibs): Likewise.
29560 * pwd/Makefile (otherlibs): Likewise.
29561 * rt/Makefile (otherlibs): Likewise.
29562 * sunrpc/Makefile (otherlibs): Likewise.
29563 * nss/Makefile (otherlibs): Likewise.
29564 Add libnss_files to routines and static-only-routines.
29565 ($(objpfx)getent): Remove rule.
29566 * resolv/Makefile: Add libnss_dns and libresolv to routines and
29567 static-only-routines.
29568
7c69cd14
JM
295692012-03-22 Joseph Myers <joseph@codesourcery.com>
29570
29571 [BZ #13892]
29572 * math/s_cexp.c: Include <float.h>.
29573 (__cexp): Handle exp result overflowing not necessarily
29574 overflowing both real and imaginary parts of result.
29575 * math/s_cexpf.c: Likewise.
29576 * math/s_cexpl.c: Likewise.
29577 * math/libm-test.inc (cexp_test): Add more tests.
29578 * sysdeps/i386/fpu/libm-test-ulps: Update.
29579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29580
81b035fe
L
295812012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29582
29583 * include/link.h (ELFW): New macro.
29584 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
29585 Replace ELF64_R_TYPE with ELFW(R_TYPE).
29586
1da7940c
L
295872012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29588
29589 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
29590 with uint64_t.
29591
b749dbb9
L
295922012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29593
29594 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
29595 declaration.
29596 (struct La_x32_retval): Likewise.
29597
2ff87f3f
L
295982012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29599
29600 * sysdeps/x86_64/preconfigure.in: New file.
29601 * sysdeps/x86_64/preconfigure: New generated file.
29602
c0df8e69
JM
296032012-03-22 Joseph Myers <joseph@codesourcery.com>
29604
48e44791
JM
29605 [BZ #13824]
29606 * math/e_exp2l.c: Include <float.h>.
29607 (__ieee754_exp2l): Handle overflow and underflow cases
29608 separately. Only pass fractional part of argument to
29609 __ieee754_expl.
29610 * math/libm-test.inc (exp2_test): Add more tests.
29611
c0df8e69
JM
29612 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
29613 negating x to take absolute value.
29614 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
29615 Likewise.
29616 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29617 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
29618 Likewise.
29619 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
29620 computing low part if x was negated.
29621 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29622
c8e43ba7
L
296232012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29624
29625 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
29626 la_x32_gnu_pltexit.
29627 (pltexit): Cast int_retval to ptrdiff_t.
29628 * elf/tst-auditmod3b.c: Likewise.
29629 * elf/tst-auditmod4b.c: Likewise.
29630 * elf/tst-auditmod5b.c: Likewise.
29631 * elf/tst-auditmod6b.c: Likewise.
29632 * elf/tst-auditmod6c.c: Likewise.
29633 * elf/tst-auditmod7b.c: Likewise.
29634
29635 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
29636 and x32_gnu_pltexit.
29637
29638 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
29639 __ELF_NATIVE_CLASS.
29640 (La_x32_regs): New macro.
29641 (La_x32_retval): Likewise.
29642 (la_x32_gnu_pltenter): New function prototype.
29643 (la_x32_gnu_pltexit): Likewise.
29644
7998fa78
AS
296452012-03-21 Andreas Schwab <schwab@linux-m68k.org>
29646
dcb33988
AS
29647 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
29648 exponent.
29649
233fc563
AS
29650 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29651
7998fa78
AS
29652 * configure.in (libc_cv_cc_nofma): Check for option to disable
29653 generation of FMA instructions.
29654 * configure: Regenerate.
29655 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
29656 * sysdeps/ieee754/dbl-64/Makefile: New file.
29657 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29658 Remove brandred-fma4.
29659 (CFLAGS-brandred-fma4.c): Remove.
29660 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
29661 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
29662 define.
29663 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
29664 define.
29665
8e95c99a
L
296662012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29667
29668 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29669 LLONG_MAX != LONG_MAX.
29670 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29671 (_fitoa_word): Likewise.
29672 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
29673 LLONG_MAX != LONG_MAX.
29674 * stdio-common/_itowa.h: Include <_itoa.h>.
29675 (_itowa_word): Use _ITOA_WORD_TYPE on value.
29676 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
29677 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
29678 only if not defined.
29679 (_ITOA_WORD_TYPE): Likewise.
29680 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29681 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
29682
6f4db457
DM
296832012-03-21 David S. Miller <davem@davemloft.net>
29684
29685 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29686
7785fe5a
L
296872012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29688
29689 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
29690 of x86_64 when setting libc_cv_slibdir, libdir and
29691 libc_cv_localedir.
29692 * sysdeps/unix/sysv/linux/configure: Regenerated.
29693
4535cd55
JM
296942012-03-21 Joseph Myers <joseph@codesourcery.com>
29695
29696 * manual/lang.texi (Old Varargs): Remove section.
29697 (How Variadic): Update menu.
29698 (va_start): Do not mention varargs.h.
29699
17228132
TS
297002012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29701 Joseph Myers <joseph@codesourcery.com>
29702
29703 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
29704 link test.
29705 * configure: Regenerated.
29706
8149f976
TS
297072012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29708
05f3d1f6
UD
29709 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
29710 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
29711 conformtest.pl
8149f976 29712
1a4ac776
JM
297132012-03-21 Joseph Myers <joseph@codesourcery.com>
29714
be22ce65
JM
29715 * NOTES: Remove.
29716 * Makefile (files-for-dist): Remove NOTES.
29717 (NOTES): Remove rule.
29718 * README: Don't refer to NOTES.
29719 * manual/creature.texi: Don't include macros.texi.
29720 * manual/intro.texi (creature.texi): Remove comment referring to
29721 NOTES.
29722
40b601fb
JM
29723 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
29724 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
29725 * configure: Regenerated.
29726 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
29727 LIBC_TRY_CC_OPTION.
29728 (libc_cv_as_i686): Likewise.
29729 (libc_cv_cc_avx): Likewise.
29730 (libc_cv_cc_sse2avx): Likewise.
29731 (libc_cv_cc_fma4): Likewise.
29732 (libc_cv_cc_novzeroupper): Likewise.
29733 * sysdeps/i386/configure: Regenerated.
29734
1a4ac776
JM
29735 [BZ #13883]
29736 * sysdeps/i386/fpu/s_cexp.S: Remove.
29737 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29738 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29739 * math/libm-test.inc (cexp_test): Add more tests.
29740 * sysdeps/i386/fpu/libm-test-ulps: Update.
29741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29742
a458e7fe
AM
297432012-03-21 Allan McRae <allan@archlinux.org>
29744
29745 * timezone/Makefile: Do not install iso3166.tab and zone.tab
29746
0cb7efc5
JM
297472012-03-21 Joseph Myers <joseph@codesourcery.com>
29748
29749 [BZ #13871]
29750 * math/w_exp2.c: Do not include <float.h>.
29751 (o_threshold, u_threshold): Remove.
29752 (__exp2): Calculate result before checking finiteness and calling
29753 __kernel_standard.
29754 * math/w_exp2f.c: Likewise.
29755 * math/w_exp2l.c: Likewise.
29756 * math/libm-test.inc (exp2_test): Require overflow exception for
29757 1e6 input.
2460d3aa
JM
29758
29759 [BZ #3866]
29760 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
29761 range of signed 64-bit integers before using fistpll. Remove
29762 checks for whether integers fit in mantissa bits.
29763 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
29764 the range of signed 32-bit integers before using fistpl. Remove
29765 checks for whether integers fit in mantissa bits.
29766 * sysdeps/i386/fpu/e_powl.S (p64): New object.
29767 (__ieee754_powl): Test for y outside the range of signed 64-bit
29768 integers before using fistpll. Reduce 64-bit values to 63-bit
29769 ones as needed.
29770 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
29771 divide-by-zero is raised for zero to large negative powers.
29772 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
29773 (__ieee754_powl): Test for y outside the range of signed 64-bit
29774 integers before using fistpll. Reduce 64-bit values to 63-bit
29775 ones as needed.
29776 * math/libm-test.inc (pow_test): Add more tests.
29777
eb96ffb0
L
297782012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29779
29780 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
29781 <stdio-common/_itoa.h>.
29782 * debug/segfault.c: Likewise.
29783 * elf/dl-cache.c: Likewise.
29784 * elf/dl-minimal.c: Likewise.
29785 * elf/dl-misc.c: Likewise.
29786 * elf/dl-sysdep.c: Likewise.
29787 * elf/dl-version.c: Likewise.
29788 * elf/rtld.c: Likewise.
29789 * hurd/hurdsock.c: Likewise.
29790 * hurd/lookup-retry.c: Likewise.
29791 * malloc/malloc.c: Likewise.
29792 * malloc/mtrace.c: Likewise.
29793 * nscd/nscd_getgr_r.c: Likewise.
29794 * nscd/nscd_getpw_r.c: Likewise.
29795 * nscd/nscd_getserv_r.c: Likewise.
29796 * posix/getopt_init.c: Likewise.
29797 * posix/wordexp.c: Likewise.
29798 * stdio-common/_itoa.c: Likewise.
29799 * stdio-common/printf_fphex.c: Likewise.
29800 * stdio-common/vfprintf.c: Likewise.
29801 * string/_strerror.c: Likewise.
29802 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
29803 * sysdeps/i386/i686/hp-timing.h: Likewise.
29804 * sysdeps/mach/_strerror.c: Likewise.
29805 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
29806 * sysdeps/mach/hurd/sethostid.c: Likewise.
29807 * sysdeps/mach/hurd/xmknodat.c: Likewise.
29808 * sysdeps/mach/xpg-strerror.c: Likewise.
29809 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29810 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29811 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
29812 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
29813 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29814 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
29815 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
29816 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
29817 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
29818 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
29819 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
29820 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29821 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
29822 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
29823 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
29824 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
29825 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
29826 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
29827 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
29828 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
29829 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
29830
29831 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
29832
29833 * stdio-common/_itoa.h: Moved to ...
29834 * sysdeps/generic/_itoa.h: Here.
29835
29836 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
29837
29838 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
29839 instead of "_itoa.h" and "_itowa.h".
29840 * stdio-common/vfprintf.: Likewise.
29841
d1af992d
L
298422012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29843
29844 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
29845 <bits/wordsize.h>.
29846 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
29847 (__signbit): Likwise.
29848 (llrintf): Likwise.
29849 (llrint): Likwise.
29850
114883e0
L
298512012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29852
29853 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
29854 __WORDSIZE != 64.
29855
c135cc1b
JM
298562012-03-20 Joseph Myers <joseph@codesourcery.com>
29857
29858 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
29859 OVERFLOW_EXCEPTION_OK.
29860 * math/libm-test.inc ("Philosophy"): Update comment about
29861 exception testing.
29862 (OVERFLOW_EXCEPTION): Define.
29863 (OVERFLOW_EXCEPTION_OK): Likewise.
29864 (INVALID_EXCEPTION_OK): Renumber.
29865 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29866 (IGNORE_ZERO_INF_SIGN): Likewise.
29867 (test_exceptions): Handle FE_OVERFLOW.
29868 (exp10_test): Expect overflow exceptions.
29869 (exp2_test): Likewise.
29870 (expm1_test): Likewise.
29871 (nextafter_test): Likewise.
29872 (pow_test): Likewise.
29873 (scalbn_test): Likewise.
29874 (scalbln_test): Likewise.
29875
95443d88
L
298762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29877
29878 * sysdeps/x86_64/bits/atomic.h
29879 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
29880 64bit integer.
29881 (atomic_exchange_acq): Likewise.
29882 (__arch_exchange_and_add_body): Likewise.
29883 (__arch_add_body): Likewise.
29884 (atomic_add_negative): Likewise.
29885 (atomic_add_zero): Likewise.
29886
490df6c4
L
298872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29888
c2722551 29889 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
29890 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
29891
5e52b189
L
298922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29893
29894 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
29895 Check __x86_64__ instead of __WORDSIZE.
29896
a9879d4c
L
298972012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29898
29899 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
29900
5df98260
DM
299012012-03-19 David S. Miller <davem@davemloft.net>
29902
e1497744
DM
29903 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29904
5df98260
DM
29905 * sysdeps/sparc/fpu/fenv_private.h: New file.
29906 * sysdeps/sparc/fpu/math_private.h: Use it.
29907 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
29908 Remove.
29909 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
29910 (libc_feholdexcept_setroundl): Remove.
29911 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
29912 Remove.
29913 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
29914 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
29915
b4c35121
L
299162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29917
29918 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
29919 int64_t instead of long int.
29920 (INSERT_WORDS64): Likwise.
29921
56965fd7
L
299222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29923
29924 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
29925 _Unwind_GetCFA return to _Unwind_Ptr first.
29926
83d1aec8
JM
299272012-03-19 Joseph Myers <joseph@codesourcery.com>
29928
1897ad44
JM
29929 [BZ #13629]
29930 * math/s_clog.c: Include <float.h>.
29931 (__clog): Scale large or subnormal inputs.
29932 * math/s_clogf.c: Likewise.
29933 * math/s_clogl.c: Likewise.
29934 * math/s_clog10.c: Include <float.h>.
29935 (M_LOG10_2): Define.
29936 (__clog10): Scale large or subnormal inputs.
29937 * math/s_clog10f.c: Likewise.
29938 * math/s_clog10l.c: Likewise.
29939 * math/libm-test.inc (clog_test): Add more tests.
29940 (clog10_test): Likewise.
29941 * sysdeps/i386/fpu/libm-test-ulps: Update.
29942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29943
7726d6a9
JM
29944 [BZ #11451]
29945 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
29946 x and y.
29947 * math/libm-test.inc (atan2_test): Add another test.
29948
83d1aec8
JM
29949 * Makerules (common-objdir-compile): Remove.
29950 * sysdeps/unix/Makefile (config-generated): Do not add
29951 $(unix-generated) to variable.
29952 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
29953 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
29954 Remove rule.
29955 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
29956 Likewise.
29957 [generic bits/local_lim.h] (before-compile): Do not append to
29958 variable.
29959 [generic bits/local_lim.h] (common-generated): Likewise.
29960 [generic sys/param.h] (before-compile): Do not append to variable.
29961 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
29962 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
29963 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
29964 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
29965 include.
29966 [generic sys/param.h] (sys/param.h-includes): Remove variable.
29967 [generic sys/param.h] (sys/param.h-includes): Remove rule.
29968 [generic sys/param.h] ($(addprefix
29969 $(common-objpfx),$(sys/param.h-includes))): Likewise.
29970 [generic sys/param.h] (common-generated): Do not append to
29971 variable.
29972 [generic sys/param.h] (sysdep_headers): Likewise.
29973 [generic bits/errno.h] (before-compile): Do not append to
29974 variable.
29975 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
29976 rule.
29977 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
29978 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
29979 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
29980 [generic bits/errno.h] (common-generated): Do not append to
29981 variable.
29982 [generic bits/ioctls.h] (before-compile): Do not append to
29983 variable.
29984 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
29985 rule.
29986 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
29987 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
29988 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
29989 rule.
29990 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
29991 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
29992 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
29993 [generic bits/ioctls.h] (common-generated): Do not append to
29994 variable.
29995 [generic sys/syscall.h] (syscall.h): Remove variable.
29996 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
29997 rule.
29998 [generic sys/syscall.h] (before-compile): Do not append to
29999 variable.
30000 [generic sys/syscall.h] (common-generated): Likewise.
30001 * sysdeps/unix/errnos-tmpl.c: Remove file.
30002 * sysdeps/unix/errnos.awk: Likewise.
30003 * sysdeps/unix/ioctls-tmpl.c: Likewise.
30004 * sysdeps/unix/ioctls.awk: Likewise.
30005 * sysdeps/unix/mk-local_lim.c: Likewise.
30006 * sysdeps/unix/snarf-ioctls: Likewise.
30007
4851a949
RH
300082012-03-19 Richard Henderson <rth@twiddle.net>
30009
bd37f2ee
RH
30010 * sysdeps/i386/fpu/fenv_private.h: New file.
30011 * sysdeps/i386/fpu/math_private.h: Use it.
30012 (math_opt_barrier, math_force_eval): Remove.
30013 (libc_feholdexcept_setround_53bit): Remove.
30014 (libc_feupdateenv_53bit): Remove.
30015 * sysdeps/x86_64/fpu/math_private.h: Likewise.
30016 (math_opt_barrier, math_force_eval): Remove.
30017 (libc_feholdexcept): Remove.
30018 (libc_feholdexcept_setround): Remove.
30019 (libc_fetestexcept, libc_fesetenv): Remove.
30020 (libc_feupdateenv_test): Remove.
30021 (libc_feupdateenv, libc_feholdsetround): Remove.
30022 (libc_feresetround): Remove.
30023
d0adc922
RH
30024 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
30025 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30026
0fe0f1f8
RH
30027 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
30028 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
30029 (libc_feupdateenv_testl): New.
30030 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
30031 (libc_feupdateenv_testf): New.
30032 (libc_feupdateenv): Use libc_feupdateenv_test.
30033 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
30034 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
30035
eb92c487
RH
30036 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
30037 (libc_feholdsetroundf, libc_feholdsetroundl): New.
30038 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
30039 (libc_feresetround_noex): New.
30040 (libc_feresetround_noexf): New.
30041 (libc_feresetround_noexl): New.
30042 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
30043 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
30044 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
30045 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
30046 SET_RESTORE_ROUND.
30047 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30048 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
30049 (__cos): Likewise.
30050 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
30051 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
30052 SET_RESTORE_ROUND_NOEX.
30053 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
30054 SET_RESTORE_ROUND_NOEXF.
30055 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
30056 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
30057 (libc_feholdsetroundf): New.
30058 (libc_feresetround, libc_feresetroundf): New.
30059
7d2e8012
RH
30060 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
30061 (libc_feholdexcept_setround_53bit): Convert from macro to function.
30062 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
30063
b4dabbb4
RH
30064 * sysdeps/generic/math_private.h: Include <fenv.h>.
30065 (default_libc_feholdexcept): New.
30066 (default_libc_feholdexcept_setround): New.
30067 (default_libc_fesetenv, default_libc_feupdateenv): New.
30068 (libc_feholdexcept): Only define if undefined.
30069 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
30070 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
30071 (libc_feholdexcept_setroundl): Likewise.
30072 (libc_feholdexcept_setround_53bit): Likewise.
30073 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
30074 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
30075 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
30076 (libc_feupdateenv_53bit): Likewise.
30077 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
30078 (libc_feholdexcept): Convert from macro to inline function.
30079 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
30080 (libc_fesetenv, libc_feupdateenv): Likewise.
30081
4851a949
RH
30082 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
30083 not previously defined.
30084 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
30085 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
30086 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
30087 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
30088 * sysdeps/ieee754/flt-32/math_private.h: New file.
30089 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
30090 math_private.h below SET_FLOAT_WORD.
30091 (__isnan, __isinf_ns, __finite): Remove.
30092 (__isnanf, __isinf_nsf, __finitef): Remove.
30093
e79d442e
AS
300942012-03-18 Andreas Schwab <schwab@linux-m68k.org>
30095
30096 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30097
90b80344
DM
300982012-03-17 David S. Miller <davem@davemloft.net>
30099
30100 [BZ #6471]
30101 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
30102 for 2.16.
30103
edc21804
DM
301042012-03-16 David S. Miller <davem@davemloft.net>
30105
77e927af
DM
30106 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
30107 warnings.
30108
374976dd
DM
30109 [BZ #6471]
30110 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
30111 properly.
30112 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
30113 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
30114 sysdep_routines when subdir is sysvipc.
30115 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
30116 __getshmlba helper.
30117
edc21804
DM
30118 * sysdeps/sparc/fpu/libm-test/ulps: Update.
30119
473c3ef3
L
301202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30121
30122 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
30123 [__LP64__].
30124
eb0f39b6
L
301252012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30126
30127 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
30128 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
30129 (__lround): Renamed to ...
30130 (__llround): This. Replace long int with long long int.
30131 Define lround functions as aliases of llround functions.
30132 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
30133
6b6cd74b
L
301342012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30135
30136 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
30137 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
30138 adresses to uintptr_t. Replace "long int" and "unsigned long
30139 int" with "greg_t" on va_arg.
30140
f1a77b01
L
301412012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30142
30143 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
30144 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
30145
30146 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
30147 Move e_machine check before EI_CLASS check. Handle x32
30148 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
30149 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
30150 SKIP_EM_IA_64 and include
30151 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
30152
30153 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
30154 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
30155 (add_system_dir): New macro.
30156
30157 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
30158 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
30159
11b90b9f
JM
301602012-03-16 Joseph Myers <joseph@codesourcery.com>
30161
c36e1d23
JM
30162 [BZ #2551]
30163 [BZ #2552]
30164 [BZ #2553]
30165 [BZ #2554]
30166 [BZ #2562]
30167 [BZ #2563]
30168 [BZ #2565]
30169 [BZ #2566]
30170 [BZ #2576]
30171 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
30172 (y0): Likewise.
30173 * math/w_j0f.c (j0f): Likewise.
30174 (y0f): Likewise.
30175 * math/w_j0l.c (__j0l): Likewise.
30176 (__y0l): Likewise.
30177 * math/w_j1.c (j1): Likewise.
30178 (y1): Likewise.
30179 * math/w_j1f.c (j1f): Likewise.
30180 (y1f): Likewise.
30181 * math/w_j1l.c (__j1l): Likewise.
30182 (__y1l): Likewise.
30183 * math/w_jn.c (jn): Likewise.
30184 (yn): Likewise.
30185 * math/w_jnf.c (jnf): Likewise.
30186 (ynf): Likewise.
30187 * math/w_jnl.c (__jnl): Likewise.
30188 (__ynl): Likewise.
30189 * math/libm-test.inc (j0_test): Add more tests.
30190 (j1_test): Likewise.
30191 (jn_test): Likewise. Add trailing semicolon to existing test.
30192 (y0_test): Likewise.
30193 (y1_test): Likewise.
30194 * sysdeps/i386/fpu/libm-test-ulps: Update.
30195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30196
11b90b9f
JM
30197 [BZ #13851]
30198 [BZ #13854]
30199 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
30200 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
30201 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
30202 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
30203 (__tanl): Set errno for infinite argument.
30204 * sysdeps/i386/fpu/mptan.c: Remove.
30205 * sysdeps/i386/fpu/s_tan.S: Likewise.
30206 * sysdeps/i386/fpu/s_tanl.S: Likewise.
30207 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
30208 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
30209 * math/libm-test.inc (tan_test): Add more tests and enable more
30210 tests for double and long double.
30211 * sysdeps/i386/fpu/libm-test-ulps: Update.
30212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30213
6a1bd2a1
JK
302142012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
30215
30216 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
30217 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
30218
10a803e0
RM
302192012-03-16 Roland McGrath <roland@hack.frob.com>
30220
30221 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
30222 * configure.in: Use it for both main tree and add-ons.
30223 * configure: Regenerated.
30224
f196c7f7
L
302252012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30226
30227 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
30228
8848d99d
JM
302292012-03-16 Joseph Myers <joseph@codesourcery.com>
30230
96cbe7f4
JM
30231 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
30232 in comment.
30233
8848d99d
JM
30234 [BZ #13851]
30235 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
30236 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
30237 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
30238 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
30239 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
30240 infinite argument.
30241 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
30242 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
30243 != 0 for prec == 2.
30244 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
30245 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
30246 * sysdeps/i386/fpu/s_cosl.S: Likewise.
30247 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
30248 * sysdeps/i386/fpu/s_sinl.S: Likewise.
30249 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
30250 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
30251 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
30252 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
30253 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
30254 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
30255 * math/libm-test.inc (cos_test): Add more tests and enable more
30256 tests for long double.
30257 (sin_test): Likewise.
30258 (sincos_test): Likewise.
30259 * sysdeps/i386/fpu/libm-test-ulps: Update.
30260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30261
dd7f4703
DM
302622012-03-16 David S. Miller <davem@davemloft.net>
30263
30264 * sysdeps/sparc/fpu/math_private.h: New file.
30265
006f1daa
DM
302662012-03-15 David S. Miller <davem@davemloft.net>
30267
c0c83bc8
DM
30268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
30269 file.
e6a62e18 30270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
30271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
30272 file.
e6a62e18
DM
30273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
30274 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
30275 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
30276 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
30277 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
30278 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
30279 sysdep routines.
30280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
30281
88cb87d9
DM
30282 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
30283 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
30284
006f1daa 30285 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
30286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
30287 sparc-ifunc.h
006f1daa 30288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
30289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
30290 Likewise.
30291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
30292 Likewise.
006f1daa
DM
30293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
30294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
30295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
30296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30297 Likewise.
006f1daa
DM
30298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
30300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
30302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
30303 Likewise.
30304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
30305 Likewise.
006f1daa
DM
30306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
30308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
30309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
30310 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30311 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30312 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
30313 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
30314 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30315 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30316 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
30317 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
30318 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
30319 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
30320 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
30321 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
30322 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
30323 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
30324 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
30325 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
30326 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
30327 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
30328 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
30329 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
30330
11e0098e
AS
303312012-03-15 Andreas Schwab <schwab@linux-m68k.org>
30332
30333 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
30334 scaling.
30335 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30336
e85b09d0
AJ
303372012-03-15 Andreas Jaeger <aj@suse.de>
30338
30339 [BZ #13852]
30340 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
30341 ieee754/flt-32 implementation for sin, cos and sincos.
30342 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
30343 * sysdeps/i386/fpu/s_cosf.S: Likewise.
30344 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
30345 * sysdeps/i386/fpu/s_sinf.S: Likewise.
30346 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
30347 ieee754/flt-32 implementation for tan.
30348
30349 * math/libm-test.inc (cos_test): Enable some large input tests for
30350 float as well
30351 (sin_test): Likewise.
30352 (sincos_test): Likewise.
30353 (tan_test): Add tests for large input.
30354
30355 * sysdeps/i386/fpu/libm-test-ulps: Update.
30356
81c64153
AJ
303572012-03-15 Andreas Jaeger <aj@suse.de>
30358
30359 [BZ #13658]
30360 * math/libm-test.inc (cos_test): Add more test cases.
30361 (sin_test): Likewise.
30362 (sincos_test): Likewise.
30363
7bbfa5c6
AJ
303642012-03-15 Andreas Jaeger <aj@suse.de>
30365
30366 [BZ #13837]
30367 * math/libm-test.inc (cos_test): Add a test case for large input
30368 value.
30369 (sin_test): Likewise.
30370 (sincos_test): Likewise.
30371
303722012-03-15 Andreas Jaeger <aj@suse.de>,
30373 Joseph Myers <joseph@codesourcery.com>
30374
30375 [BZ #13658]
0671f479 30376 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
30377 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
30378 * sysdeps/i386/fpu/branred.c: Likewise.
30379 * sysdeps/i386/fpu/dosincos.c: Likewise.
30380 * sysdeps/i386/fpu/mpa.c: Likewise.
30381 * sysdeps/i386/fpu/s_cos.S: Likewise.
30382 * sysdeps/i386/fpu/s_sin.S: Likewise.
30383 * sysdeps/i386/fpu/s_sincos.S: Likewise.
30384 * sysdeps/i386/fpu/sincos32.c: Likewise.
30385
30386 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
30387 Define.
30388 (libc_feupdateenv_53bit): Define.
30389 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
30390 Define.
30391 (libc_feupdateenv_53bit): Define.
30392
30393 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
30394 53 bit (without extend i386 double precision).
30395
30396 * math/libm-test.inc (sincos_test): Add tests for large input.
30397 (sin): Likewise.
30398 (cos): Likewise.
30399
30400 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30401
9cad04ea
AS
304022012-03-15 Andreas Schwab <schwab@linux-m68k.org>
30403
30404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30405
f7062b9a
DM
304062012-03-15 David S. Miller <davem@davemloft.net>
30407
30408 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
30409 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
30410 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
30411 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
30412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
30413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
30414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
30415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
30416 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
30417 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
30418 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
30419 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
30420 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
30421 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
30422 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
30423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
30424 file.
f7062b9a 30425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
30426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
30427 file.
f7062b9a 30428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
30429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
30430 file.
f7062b9a 30431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
30432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
30433 file.
f7062b9a
DM
30434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
30435 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
30436 fmin/fmax sysdep routines.
30437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
30438
7bd951ff
DM
304392012-03-14 David S. Miller <davem@davemloft.net>
30440
559398ab
DM
30441 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
30442 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
30443 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
30444 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
30445 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
30446 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
30447 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
30448 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
30449 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
30450 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
30451 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
30452 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
30453 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
30454 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
30455 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
30456 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
30457 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
30458 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
30459 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
30460 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
30461 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
30462 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
30463 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
30464 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
30465 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
30466 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
30467 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
30468 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
30469 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
30470 routines.
30471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
30472 file.
559398ab 30473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
30474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
30475 file.
559398ab 30476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
30477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
30478 file.
559398ab 30479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
30480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
30481 file.
559398ab 30482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
30483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
30484 file.
559398ab 30485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
30486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
30487 file.
30488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
30489 file.
30490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
30491 file.
30492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
30493 file.
30494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
30495 New file.
30496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
30497 file.
30498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
30499 file.
559398ab 30500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
30501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
30502 file.
559398ab 30503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
30504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
30505 file.
559398ab 30506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
30507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
30508 file.
559398ab 30509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
30510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
30511 VIS3 routines.
559398ab
DM
30512
30513 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30514 New file.
30515
5a1c1e32
DM
30516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30517
eae47a36
DM
30518 * sysdeps/sparc/configure.in: New file.
30519 * sysdeps/sparc/configure: Generate.
30520 * configure.in (libc_cv_sparc_as_vis3): Substitute.
30521 * configure: Regenerate.
30522 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
30523 * config.make.in (have-as-vis3): New.
30524 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
30525 available use -Av9d instead of -Av9a.
30526 * sysdeps/sparc/sparc64/Makefile: Likewise.
30527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
30528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
30529 New file.
30530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
30531 file.
30532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
30533 New file.
30534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
30535 file.
eae47a36
DM
30536 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
30537 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
30538 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
30539 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
30540 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
30541
c0c83bc8
DM
30542 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
30543 fzeros/fnegs to load 0x80000000 into a float register instead of
30544 using the stack.
7bd951ff
DM
30545 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
30546
bd951ccb
JM
305472012-03-14 Joseph Myers <joseph@codesourcery.com>
30548
30549 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30550 bits/syscall.h.
30551 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
30552 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
30553 ($(inst_includedir)/bits/syscall.h): Remove rule.
30554 ($(objpfx)bits/syscall.d): Include instead of
30555 $(objpfx)syscall-list.d.
30556 (generated): Change syscall-list.h and syscall-list.d to
30557 bits/syscall.h and bits/syscall.d.
30558
bb4e6db2
RM
305592012-03-14 Roland McGrath <roland@hack.frob.com>
30560
30561 [BZ #13846]
30562 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
30563
aa4a2ae1
JM
305642012-03-14 Joseph Myers <joseph@codesourcery.com>
30565
e456826d
JM
30566 [BZ #13841]
30567 * math/s_csqrt.c: Include <float.h>.
30568 (__csqrt): Scale large or subnormal inputs.
30569 * math/s_csqrtf.c: Likewise.
30570 * math/s_csqrtl.c: Likewise.
30571 * math/libm-test.inc (csqrt_test): Add more tests.
30572 * sysdeps/i386/fpu/libm-test-ulps: Update.
30573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30574
aa4a2ae1
JM
30575 [BZ #13840]
30576 * math/libm-test.inc (hypot_test): Add more tests.
30577
7c10fd35
DM
305782012-03-13 David S. Miller <davem@davemloft.net>
30579
30580 [BZ #13840]
30581 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
30582 double-precision for the calculation instead of scaling.
30583
f453b98b
JM
305842012-03-13 Joseph Myers <joseph@codesourcery.com>
30585
30586 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
30587 manipulate bits before adding and subtracting TWO52[sx].
30588 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
30589 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
30590 Likewise.
30591 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
30592
09a3453f
DM
305932012-03-13 David S. Miller <davem@davemloft.net>
30594
8e59da90
DM
30595 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
30596 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
30597 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
30598 rtld-global-offsets.h
30599 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30600
2a8ab7f2
DM
30601 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
30602 large parameters.
30603
10f62770
DM
30604 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
30605
5f0bdb18
DM
30606 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
30607 'err' in the ifdef scope in which it is actually used.
30608
09a3453f
DM
30609 * nss/nss_db/db-init.c: Include string.h
30610
b4b2eb5e
DM
306112012-03-12 David S. Miller <davem@davemloft.net>
30612
98bb2f1c
DM
30613 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30614 masking out of the most significant byte of random value used.
30615 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30616 Fix coding style in previous change.
30617
b4b2eb5e
DM
30618 * sysdeps/unix/sysv/linux/kernel-features.h
30619 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
30620 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
30621 expression.
30622 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
30623 later.
30624
6e226b09
DM
306252012-03-11 David S. Miller <davem@davemloft.net>
30626
a1bcbd40
DM
30627 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30628 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
30629 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
30630 for 'resultvar' otherwise things get truncated on 64-bit.
30631
cb9d6174
DM
30632 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30633 Fix masking out of the most significant byte of random value used.
30634
6e226b09
DM
30635 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30636
058c132d
AS
306372012-03-10 Andreas Schwab <schwab@linux-m68k.org>
30638
30639 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30640
2d2cd515
DM
306412012-03-09 David S. Miller <davem@davemloft.net>
30642
30643 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
30644 variables with appropriate CPP guards.
30645 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
30646 frame pointer, not the stack pointer. Correct layout comments. Fix test
30647 on resulting framesize and the management of the outregs buffer for pltexit.
30648 Preserve floating point return values across _dl_call_pltexit call.
30649 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
30650 framesize and the management of the outregs buffer for pltexit.
30651 Preserve floating point return values across _dl_call_pltexit
30652 call.
30653 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
30654 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
30655 (print_exit): Fix format string for return register value.
30656
9a07f9d0
JM
306572012-03-10 Joseph Myers <joseph@codesourcery.com>
30658
30659 * sunrpc/Makefile (others): Add rpcgen.
30660 ($(objpfx)rpcgen): Remove special build rule and dependency on
30661 libc.
30662 * sunrpc/rpcgen.c: New file.
30663
547b5e30
PE
306642012-03-09 Paul Eggert <eggert@cs.ucla.edu>
30665
c524201a
PE
30666 [BZ #13673]
30667 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
30668 * stdio-common/bug-vfprintf-nargs.c: Likewise.
30669 * sysdeps/i386/crti.S: Likewise.
30670 * sysdeps/i386/crtn.S: Likewise.
30671 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
30672 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
30673 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
30674 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
30675 * sysdeps/sh/crti.S: Likewise.
30676 * sysdeps/sh/crtn.S: Likewise.
30677 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30678
7b6235f2
PE
30679 [BZ #13673]
30680 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
30681 with URL.
30682 * locale/programs/locfile-kw.gperf: Likewise.
30683 * locale/programs/charmap-kw.h: Regenerated.
30684 * locale/programs/locfile-kw.h: Likewise.
30685
547b5e30
PE
30686 [BZ #13673]
30687 * intl/plural.y: Replace FSF snail mail address with URL.
30688 * intl/plural.c: Regenerated.
30689
5f0a5dae
RH
306902012-03-09 Richard Henderson <rth@twiddle.net>
30691
30692 * include/math_private.h: Remove file.
30693 * math/math_private.h: Move file ...
30694 * sysdeps/generic/math_private.h: ... here.
30695
b8c03620
RH
30696 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
30697 * sysdeps/powerpc/fpu/math_private.h: Likewise.
30698 * sysdeps/x86_64/fpu/math_private.h: Likewise.
30699
4e234f5d 30700 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
30701 and <math_private.h>.
30702 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30703 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30704 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30705 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30706 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30707 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
30708 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30709 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30710 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30711 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30712 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30713 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30714 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30715 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30716 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30717 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30718 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30719 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30720 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30721 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30722 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30723 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30724 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30725 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30726 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30727 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30728 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30729 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30730 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30731 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30732 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30733 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30734 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30735 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30736 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30737 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30738 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30739 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30740 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30741 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30742 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
30743 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30744 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30745 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
30746 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
30747 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30748 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
30749 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
30750 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30751 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30752 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
30753 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
30754 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
30755 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30756 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
30757 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30758 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30759 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30760 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
30761 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
30762 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30763 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
30764 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30765 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30766 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
30767 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30768 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30769 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30770 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
30771 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
30772 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
30773 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30774 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
30775 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30776 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
30777 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
30778 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
30779 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30780 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
30781 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
30782 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
30783 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
30784 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
30785 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30786 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30787 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
30788 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
30789 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
30790 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30791 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30792 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30793 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30794 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30795 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30796 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30797 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30798 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30799 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30800 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30801 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30802 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30803 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30804 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30805 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30806 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30807 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30808 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30809 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30810 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30811 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30812 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30813 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30814 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30815 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30816 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
30817 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30818 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30819 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30820 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30821 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30822 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30823 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30824 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30825 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
30826 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30827 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30828 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30829 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
30830 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30831 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
30832 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
30833 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30834 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30835 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
30836 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
30837 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30838 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30839 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30840 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
30841 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30842 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30843 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30844 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30845 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
30846 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
30847 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30848 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30849 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30850 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
30851 * sysdeps/ieee754/k_standard.c: Likewise.
30852 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30853 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30854 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30855 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30856 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30857 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30858 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30859 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30860 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30861 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30862 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30863 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30864 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30865 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30866 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30867 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30868 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30869 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30870 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30871 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
30872 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
30873 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
30874 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30875 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30876 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30877 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
30878 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30879 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30880 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30881 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30882 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30883 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30884 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30885 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30886 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30887 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30888 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30889 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
30890 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
30891 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30892 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30893 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30894 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30895 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30896 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30897 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30898 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30899 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30900 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30901 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30902 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30903 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30904 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30905 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
30906 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30907 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30908 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
30909 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
30910 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30911 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30912 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30913 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30914 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30915 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30916 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30917 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30918 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30919 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30920 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30921 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30922 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30923 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30924 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30925 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30926 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30927 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30928 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
30929 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30930 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30931 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30932 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30933 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30934 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30935 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30936 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
30937 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30938 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30939 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30940 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30941 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30942 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
30943 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30944 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30945 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30946 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30947 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30948 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
30949 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30950 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30951 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
30952 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30953 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30954 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30955 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30956 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
30957 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30958 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30959 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30960 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
30961 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30962 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30963 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30964 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30965 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30966 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30967 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30968 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30969 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30970 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30971 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30972 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30973 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30974 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30975 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30976 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30977 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
30978 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30979 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30980 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30981 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30982 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30983 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30984 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30985 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30986 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30987 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30988 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
30989 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30990 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30991 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
30992 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
30993 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30994 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
30995 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
30996 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30997 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30998 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30999 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31000 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31001 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
31002 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31003 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31004 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31005 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31006 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
31007 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
31008 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31009 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31010 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31011 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
31012 * sysdeps/ieee754/s_lib_version.c: Likewise.
31013 * sysdeps/ieee754/s_matherr.c: Likewise.
31014 * sysdeps/ieee754/s_signgam.c: Likewise.
31015 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31016 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31017 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
31018 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
31019 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
31020 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31021 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
31022 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
31023 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
31024 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
31025 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
31026 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
31027 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31028 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31029 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
31030 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
31031 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31032 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
31033 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31034 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31035 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 31036
1991fa03
JM
310372012-03-09 Joseph Myers <joseph@codesourcery.com>
31038
31039 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
31040 * sunrpc/rpc_main.c: Likewise.
31041 * sunrpc/rpc_svcout.c: Likewise.
31042
60d6f5a6
DM
310432012-03-09 David S. Miller <davem@davemloft.net>
31044
31045 * include/math_private.h: New file.
31046
4962050e
JM
310472012-03-09 Joseph Myers <joseph@codesourcery.com>
31048
02a6f887
JM
31049 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
31050 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
31051 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
31052 from <bits/socket_type.h>.
31053 (enum __socket_type): Don't define here.
31054 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
31055 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31056 bits/socket_type.h.
31057
c6e013c1
JM
31058 [BZ #13566]
31059 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
31060 checking __USE_GNU.
31061
4962050e
JM
31062 * Makerules ($(inst_includedir)/%.h): New rule.
31063 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
31064 (install-others): Remove variable setting.
31065 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
31066
38842f45
RH
310672012-03-08 Richard Henderson <rth@twiddle.net>
31068
67bb6da6
RH
31069 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
31070 from macro to inline function; merge with the
31071 !__LIBC_INTERNAL_MATH_INLINES version.
31072 (__ieee754_sqrtf): Likewise.
31073
15194b4b
RH
31074 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
31075 to inline function.
31076 (__rintf, __floor, __floorf): Likewise.
31077
64e21ede
RH
31078 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
31079 macro to inline function.
31080 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
31081
38842f45
RH
31082 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
31083 not <math/math_private.h>.
31084
c64bf5fe
DM
310852012-03-08 David S. Miller <davem@davemloft.net>
31086
31087 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
31088 copyright year.
31089 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
31090
82d86f28
TS
310912012-03-08 Thomas Schwinge <thomas@codesourcery.com>
31092
31093 * resolv/gai_misc.c (handle_requests): Fix struct timespec
31094 normalization.
31095 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
31096 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
31097
aea5d727
UD
310982012-03-08 Ulrich Drepper <drepper@gmail.com>
31099
31100 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
31101 be defined individually, they must be defined as a block. Define
31102 S for printing a string instead of hidint the different by using a
31103 macro for adding the 'l'.
31104 * stdio-common/tst-fphex-wide.c: Adjust.
31105
70bca0a3
MP
311062012-03-07 Marek Polacek <polacek@redhat.com>
31107
31108 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
31109
65b81130
MP
311102012-03-08 Marek Polacek <polacek@redhat.com>
31111
31112 [BZ #13806]
31113 * stdio-common/Makefile (tests): Add tst-fphex-wide.
31114 * stdio-common/tst-fphex.c: Define a few macros to make the
31115 test reusable. Use them.
31116 * stdio-common/tst-fphex-wide.c: New file.
31117
07037eeb
JM
311182012-03-08 Joseph Myers <joseph@codesourcery.com>
31119
a7a93d50
JM
31120 [BZ #6911]
31121 * manual/macros.texi (gnusystems): New macro.
31122 (nongnusystems): Likewise.
31123 (gnulinuxhurdsystems): Likewise.
31124 (gnuhurdsystems): Likewise..
31125 (gnulinuxsystems): Likewise.
31126 * manual/charset.texi: Use new macros or @theglibc{} to refer to
31127 variants of the GNU system, not "GNU system".
31128 * manual/conf.texi: Likewise.
31129 * manual/errno.texi: Likewise. Update example of errno macro
31130 expansion.
31131 * manual/filesys.texi: Likewise.
31132 (getumask): Document as specific to GNU/Hurd.
31133 * manual/install.texi: Likewise. Reword some references to
31134 GNU/Linux.
31135 * manual/intro.texi: Likewise.
31136 * manual/io.texi: Likewise.
31137 (File Name Portability): Detail which constraints are inapplicable
31138 to all GNU systems and which are only inapplicable to GNU/Hurd.
31139 * manual/job.texi: Likewise.
31140 * manual/llio.texi: Likewise.
31141 (O_NOCTTY): Document as present on GNU/Linux.
31142 * manual/maint.texi: Likewise.
31143 * manual/memory.texi: Likewise.
31144 * manual/pattern.texi: Likewise.
31145 * manual/pipe.texi: Likewise.
31146 * manual/process.texi: Likewise.
31147 * manual/resource.texi: Likewise.
31148 (RUSAGE_CHILDREN): Remove statement about specifying a particular
31149 child on GNU/Hurd.
31150 * manual/setjmp.texi: Likewise.
31151 * manual/signal.texi: Likewise.
31152 * manual/startup.texi: Likewise.
31153 * manual/stdio.texi: Likewise.
31154 * manual/terminal.texi: Likewise.
31155 (ONLCR): Document as POSIX.
31156 (OXTABS): Document availability on GNU/Linux as XTABS.
31157 (ONOEOT): Document availability separately from other bits.
31158 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
31159 * manual/time.texi: Likewise.
31160 * manual/users.texi: Likewise.
31161 * INSTALL: Regenerated.
31162 * sysdeps/gnu/errlist.c: Regenerated.
31163
07037eeb
JM
31164 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
31165 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
31166 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
31167 puts.
31168 * configure: Regenerated.
31169
d1d3431a
JM
311702012-03-07 Joseph Myers <joseph@codesourcery.com>
31171
af6a1e37
JM
31172 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
31173 default includes instead of AC_HEADER_CHECK.
31174 * sysdeps/i386/configure: Regenerated.
31175
d1d3431a
JM
31176 [BZ #10716]
31177 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
31178 * math/s_cacoshf.c (__cacoshf): Likewise.
31179 * math/s_cacoshl.c (__cacoshl): Likewise.
31180 * math/s_casinh.c (__casinh): Set signs of result from argument.
31181 * math/s_casinhf.c (__casinhf): Likewise.
31182 * math/s_casinhl.c (__casinhl): Likewise.
31183 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
31184 (casinh_test): Add more tests.
31185 * sysdeps/i386/fpu/libm-test-ulps: Update.
31186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31187
482ff4da
UD
311882012-03-07 Ulrich Drepper <drepper@gmail.com>
31189
872fda05
UD
31190 * po/zh_TW.po: Update from translation team.
31191
a4300c7a
UD
31192 * login/Makefile (distribute): Remove variable.
31193 * catgets/Makefile: Likewise.
31194 * mach/Makefile: Likewise.
31195 * malloc/Makefile: Likewise.
31196 * misc/Makefile: Likewise.
31197 * iconv/Makefile: Likewise.
31198 * nscd/Makefile: Likewise.
31199 * hurd/Makefile: Likewise.
31200 * manual/Makefile: Likewise.
31201 * locale/Makefile: Likewise.
31202 * intl/Makefile: Likewise.
31203 * conform/Makefile: Likewise.
31204 * nss/Makefile: Likewise.
31205 * time/Makefile: Likewise.
31206 * soft-fp/Makefile: Likewise.
31207 * dirent/Makefile: Likewise.
31208 * gmon/Makefile: Likewise.
31209 * po/Makefile: Likewise.
31210 * rt/Makefile: Likewise.
31211 * socket/Makefile: Likewise.
31212 * math/Makefile: Likewise.
31213 * signal/Makefile: Likewise.
31214 * debug/Makefile: Likewise.
31215 * elf/Makefile: Likewise.
31216 * timezone/Makefile: Likewise.
31217 * stdlib/Makefile: Likewise.
31218 * iconvdata/Makefile: Likewise.
31219 * sunrpc/Makefile: Likewise.
31220 * io/Makefile: Likewise.
31221 * argp/Makefile: Likewise.
31222 * inet/Makefile: Likewise.
31223 * hesiod/Makefile: Likewise.
31224 * grp/Makefile: Likewise.
31225 * csu/Makefile: Likewise.
31226 * wctype/Makefile: Likewise.
31227 * crypt/Makefile: Likewise.
31228 * libio/Makefile: Likewise.
31229 * string/Makefile: Likewise.
31230 * nis/Makefile: Likewise.
31231 * resolv/Makefile: Likewise.
31232 * stdio-common/Makefile: Likewise.
31233 * wcsmbs/Makefile: Likewise.
31234 * dlfcn/Makefile: Likewise.
31235 * posix/Makefile: Likewise.
31236
3b7c4e74 31237 [BZ #6959]
482ff4da
UD
31238 * timezone/Makefile: Don't install timezone files, just the programs
31239 and scripts.
31240
f72ed77d
UD
312412012-03-06 Ulrich Drepper <drepper@gmail.com>
31242
a000466f
UD
31243 * nss/databases.def: Add missing gshadow entry.
31244
f72ed77d
UD
31245 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
31246
a53b7a4e
MP
312472012-03-06 Marek Polacek <polacek@redhat.com>
31248
31249 [BZ #13726]
31250 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
31251 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
31252 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
31253 * stdio-common/tst-long-dbl-fphex.c: New file.
31254
e9258400
DM
312552012-03-06 David S. Miller <davem@davemloft.net>
31256
31257 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31258 (set_obp_int): New function.
31259 (get_obp_int): New function.
31260 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
31261 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
31262 Avoid unused variable warnings on 'val' and use builtin_expect.
31263 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
31264 __builtin_expect.
e9258400
DM
31265 (INLINE_CLONE_SYSCALL): Likewise.
31266
3bd2c723
DM
312672012-03-05 David S. Miller <davem@davemloft.net>
31268
31269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31270
bbb78d03
AS
312712012-03-05 Andreas Schwab <schwab@linux-m68k.org>
31272
884c5db4
AS
31273 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31274
bbb78d03
AS
31275 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
31276 only for |x| >= 40.
31277 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31278
1c9f702a 312792012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
31280
31281 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
31282 Replace gettimeofday with __vdso_gettimeofday.
31283
7be16f82
RM
31284 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31285 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
31286 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
31287
31288 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
31289 time with __vdso_time.
31290
ed58a00f
JM
312912012-03-05 Joseph Myers <joseph@codesourcery.com>
31292
31293 * manual/lang.texi (size_t): Note types to which size_t may be
31294 equivalent with the GNU C Library, but do not describe when
31295 differences between them are significant.
31296
30ee4ced
AJ
312972012-03-05 Andreas Jaeger <aj@suse.de>
31298
31299 * sysdeps/i386/fpu/libm-test-ulps: Update.
31300
b7cd39e8
JM
313012012-03-05 Joseph Myers <joseph@codesourcery.com>
31302
31303 [BZ #3976]
31304 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
31305 (__ieee754_pow): Save and restore rounding mode and use
31306 round-to-nearest for main computations.
31307 * math/libm-test.inc (pow_test_tonearest): New function.
31308 (pow_test_towardzero): Likewise.
31309 (pow_test_downward): Likewise.
31310 (pow_test_upward): Likewise.
31311 (main): Call the new functions.
31312 * sysdeps/i386/fpu/libm-test-ulps: Update.
31313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
31314
31315 [BZ #3976]
31316 * math/libm-test.inc (cosh_test_tonearest): New function.
31317 (cosh_test_towardzero): Likewise.
31318 (cosh_test_downward): Likewise.
31319 (cosh_test_upward): Likewise.
31320 (sinh_test_tonearest): Likewise.
31321 (sinh_test_towardzero): Likewise.
31322 (sinh_test_downward): Likewise.
31323 (sinh_test_upward): Likewise.
31324 (main): Call the new functions.
31325 * sysdeps/i386/fpu/libm-test-ulps: Update.
31326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31327
6c6a98c9
TV
313282012-03-05 Tom de Vries <tom@codesourcery.com>
31329
31330 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
31331 default stack guard is set in last bytes.
31332 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
31333
21bb2d2e 313342012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 31335
21bb2d2e 31336 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 31337
21bb2d2e
AJ
31338 [BZ #13656]
31339 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
31340 possibly allocate from heap instead of stack.
31341 * stdio-common/bug-vfprintf-nargs.c: New file.
31342 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 31343
c6922934
AS
313442012-03-03 Andreas Schwab <schwab@linux-m68k.org>
31345
31346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31347
bc957d53
MP
313482012-03-03 Marek Polacek <polacek@redhat.com>
31349
31350 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
31351 * math/math_private.h: Likewise.
31352 * stdlib/tst-strtod.c: Likewise.
31353 * sysdeps/i386/i486/bits/atomic.h: Likewise.
31354 * sysdeps/x86_64/bits/atomic.h: Likewise.
31355
6358490d
DM
313562012-03-02 David S. Miller <davem@davemloft.net>
31357
31358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
31359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
31360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
31361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
31362 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
31363 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
31364 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
31365 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
31366
01ae168d
RM
313672012-03-02 Roland McGrath <roland@hack.frob.com>
31368
d9a17c07
RM
31369 [BZ #13792]
31370 * manual/examples/README: New file, says the example source files
31371 can be used under GPL>=2.
31372 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
31373 line containing just "*/".
31374 * manual/examples/add.c: Add copyright header (GPL>=2).
31375 * manual/examples/argp-ex1.c: Likewise.
31376 * manual/examples/argp-ex2.c: Likewise.
31377 * manual/examples/argp-ex3.c: Likewise.
31378 * manual/examples/argp-ex4.c: Likewise.
31379 * manual/examples/atexit.c: Likewise.
31380 * manual/examples/db.c: Likewise.
31381 * manual/examples/dir.c: Likewise.
31382 * manual/examples/dir2.c: Likewise.
31383 * manual/examples/execinfo.c: Likewise.
31384 * manual/examples/filecli.c: Likewise.
31385 * manual/examples/filesrv.c: Likewise.
31386 * manual/examples/fmtmsgexpl.c: Likewise.
31387 * manual/examples/genpass.c: Likewise.
31388 * manual/examples/inetcli.c: Likewise.
31389 * manual/examples/inetsrv.c: Likewise.
31390 * manual/examples/isockad.c: Likewise.
31391 * manual/examples/longopt.c: Likewise.
31392 * manual/examples/memopen.c: Likewise.
31393 * manual/examples/memstrm.c: Likewise.
31394 * manual/examples/mkfsock.c: Likewise.
31395 * manual/examples/mkisock.c: Likewise.
31396 * manual/examples/mygetpass.c: Likewise.
31397 * manual/examples/pipe.c: Likewise.
31398 * manual/examples/popen.c: Likewise.
31399 * manual/examples/rprintf.c: Likewise.
31400 * manual/examples/search.c: Likewise.
31401 * manual/examples/select.c: Likewise.
31402 * manual/examples/setjmp.c: Likewise.
31403 * manual/examples/sigh1.c: Likewise.
31404 * manual/examples/sigusr.c: Likewise.
31405 * manual/examples/stpcpy.c: Likewise.
31406 * manual/examples/strdupa.c: Likewise.
31407 * manual/examples/strftim.c: Likewise.
31408 * manual/examples/strncat.c: Likewise.
31409 * manual/examples/subopt.c: Likewise.
31410 * manual/examples/swapcontext.c: Likewise.
31411 * manual/examples/termios.c: Likewise.
31412 * manual/examples/testopt.c: Likewise.
31413 * manual/examples/testpass.c: Likewise.
31414 * manual/examples/timeval_subtract.c: Likewise.
31415
01ae168d
RM
31416 [BZ #13792]
31417 * manual/time.texi (Elapsed Time): Move timeval_subtract example
31418 function to ...
31419 * manual/timeval_subtract.c.texi: ... here, new file.
31420
49efa33d
DM
314212012-03-02 David S. Miller <davem@davemloft.net>
31422
31423 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
31424
28afd92d
JM
314252012-03-02 Joseph Myers <joseph@codesourcery.com>
31426
804360ed
JM
31427 [BZ #3976]
31428 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
31429 (__sin): Save and restore rounding mode and use round-to-nearest
31430 for all computations.
31431 (__cos): Save and restore rounding mode and use round-to-nearest
31432 for all computations.
31433 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
31434 <fenv.h>.
31435 (tan): Save and restore rounding mode and use round-to-nearest for
31436 all computations.
31437 * math/libm-test.inc (cos_test_tonearest): New function.
31438 (cos_test_towardzero): Likewise.
31439 (cos_test_downward): Likewise.
31440 (cos_test_upward): Likewise.
31441 (sin_test_tonearest): Likewise.
31442 (sin_test_towardzero): Likewise.
31443 (sin_test_downward): Likewise.
31444 (sin_test_upward): Likewise.
31445 (tan_test_tonearest): Likewise.
31446 (tan_test_towardzero): Likewise.
31447 (tan_test_downward): Likewise.
31448 (tan_test_upward): Likewise.
31449 (main): Call the new functions.
31450 * sysdeps/i386/fpu/libm-test-ulps: Update.
31451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31452
a6d06d7b
JM
31453 [BZ #10135]
31454 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
31455 small n, then large n, before computing and testing k+n.
31456 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
31457 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
31458 Likewise.
31459 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
31460 Likewise.
31461 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
31462 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
31463 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
31464 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
31465 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
31466 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
31467 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
31468 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
31469 * math/libm-test.inc (scalbn_test): Add more tests.
31470 (scalbln_test): Likewise.
31471
07e12bb3
JM
31472 * manual/filesys.texi (mode_t): Describe constraints on size and
31473 signedness, not exact equivalence to a particular type.
31474 (ino_t): Likewise.
31475 (ino64_t): Likewise.
31476 (dev_t): Likewise.
31477 (nlink_t): Likewise.
31478 (blkcnt_t): Likewise.
31479 (blkcnt64_t): Likewise.
31480 * manual/llio.texi (off_t): Likewise.
31481
28afd92d
JM
31482 [BZ #3976]
31483 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
31484 (__ieee754_exp): Save and restore rounding mode and use
31485 round-to-nearest for all computations.
31486 * math/libm-test.inc (exp_test_tonearest): New function.
31487 (exp_test_towardzero): Likewise.
31488 (exp_test_downward): Likewise.
31489 (exp_test_upward): Likewise.
31490 (main): Call the new functions.
31491 * sysdeps/i386/fpu/libm-test-ulps: Update.
31492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31493
b1eeb65d
CD
314942012-03-01 Chris Demetriou <cgd@google.com>
31495
31496 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
31497 have predictable order.
31498
53362a4b
DM
314992012-03-01 David S. Miller <davem@davemloft.net>
31500
3c969083
DM
31501 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
31502
759707de
DM
31503 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
31504 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
31505 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
31506 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
31507
dfdb8ff2
DM
31508 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
31509 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
31510 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
31511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
31512 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
31513 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
31514 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
31515 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
31516 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
31517
ead89f96
DM
31518 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31519
7f66bd07
DM
31520 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
31521 * sysdeps/sparc/fpu/libm-test-ulps: to here.
31522 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
31523
53362a4b
DM
31524 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
31525 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31526 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31527 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
31528 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
31529 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
31530 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
31531 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31532 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31533 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
31534 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
31535 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31536 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31537 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31538 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31539 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31540 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
31541 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
31542 * sysdeps/sparc/elf/configure: Regenerated.
31543
7b1902cb
JM
315442012-03-01 Joseph Myers <joseph@codesourcery.com>
31545
bec039bc
JM
31546 * configure.in (AS, LD): Require binutils 2.20 or later.
31547 * configure: Regenerated.
31548 * manual/install.texi (Tools for Compilation): Give binutils 2.20
31549 as required minimum version.
31550 * INSTALL: Regenerated.
31551
7b1902cb
JM
31552 [BZ #2541]
31553 [BZ #4108]
31554 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
31555 before squaring exponent.
31556 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
31557 bottom long double and 27 bits of top long double before squaring
31558 exponent.
31559 * math/libm-test.inc (erfc_test): Add more tests.
31560 * sysdeps/i386/fpu/libm-test-ulps: Update.
31561 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31563
f775c276
KT
315642012-03-01 Kai Tietz <ktietz@redhat.com>
31565
31566 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
31567 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
31568 containing bit-fields.
31569 * soft-fp/extended.h (_FP_UNION_E): Likewise.
31570 * soft-fp/single.h (_FP_UNION_S): Likewise.
31571 * soft-fp/double.h (_FP_UNION_D): Likewise.
31572
5b8a4d4a
JM
315732012-02-29 Joseph Myers <joseph@codesourcery.com>
31574
0bab47b6
JM
31575 [BZ #13786]
31576 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
31577 not include ../strcmp.S.
31578 [USE_AS_STRNCASECMP_L]: Likewise.
31579 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
31580 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
31581 * sysdeps/i386/i686/multiarch/strncase_l-c.c
31582 (__strncasecmp_l_ia32): Define as alias to
31583 __strncasecmp_l_nonascii.
31584
0fcad3e2
JM
31585 [BZ #5794]
31586 * math/libm-test.inc (expm1_test): Add test for bug 5794.
31587 * sysdeps/i386/fpu/libm-test-ulps: Update.
31588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31589
5b8a4d4a
JM
31590 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
31591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31592
8fdceb2e
JL
315932012-02-29 Jeff Law <law@redhat.com>
31594
31595 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
31596 out of bounds read.
31597
1f393a11
MP
315982012-02-29 Marek Polacek <polacek@redhat.com>
31599
31600 [BZ #13706]
31601 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
31602 * elf/Makefile: Add rules to run tst-unused-dep.out.
31603
8847f037
DM
316042012-02-28 David S. Miller <davem@davemloft.net>
31605
31606 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
31607 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
31608 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
31609 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
31610 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
31611 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
31612
169d7f11
JM
316132012-02-29 Joseph Myers <joseph@codesourcery.com>
31614
31615 * math/libm-test.inc (llround_test): Move one test from
31616 lround_test. Use TEST_f_L in moved test.
31617 (lround_test): Move misplaced test to llround_test. Add testcase
31618 from bug 2561.
31619
39adf059
UD
316202012-02-28 Ulrich Drepper <drepper@gmail.com>
31621
31622 * sysdeps/x86_64/fpu/e_expf.S: New file.
31623 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
31624
71b5d1c5
SB
316252012-02-28 Stanislav Brabec <sbrabec@suse.cz>
31626
31627 [BZ #13637]
31628 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
31629 of remain_len that may cause incomplete multi-byte character and
31630 false match.
31631 * posix/bug-regex33.c: New file.
31632 * posix/Makefile (tests): Add bug-regex33.
31633
1f77f049
JM
316342012-02-28 Joseph Myers <joseph@codesourcery.com>
31635
31636 * manual/macros.texi: New file.
31637 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
31638 * manual/libc.texinfo: Include macros.texi.
31639 * manual/creatute.texi: Likewise.
31640 * manual/install.texi: Likewise.
31641 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
31642 @glibcadj{} in references to the GNU C Library.
31643 * manual/charset.texi: Likewise.
31644 * manual/conf.texi: Likewise.
31645 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
31646 when not using those macros.
31647 * manual/creature.texi: Likewise.
31648 * manual/crypt.texi: Likewise.
31649 * manual/errno.texi: Likewise.
31650 * manual/filesys.texi: Likewise.
31651 * manual/header.texi: Likewise.
31652 * manual/install.texi: Likewise.
31653 * manual/intro.texi: Likewise.
31654 * manual/io.texi: Likewise.
31655 * manual/job.texi: Likewise.
31656 * manual/lang.texi: Likewise.
31657 * manual/libc.texiinfo: Likewise.
31658 * manual/llio.texi: Likewise.
31659 * manual/locale.texi: Likewise.
31660 * manual/maint.texi: Likewise.
31661 * manual/math.texi: Likewise.
31662 * manual/memory.texi: Likewise.
31663 * manual/message.texi: Likewise.
31664 * manual/nss.texi: Likewise.
31665 * manual/pattern.texi: Likewise.
31666 * manual/process.texi: Likewise.
31667 * manual/resource.texi: Likewise.
31668 * manual/search.texi: Likewise.
31669 * manual/setjmp.texi: Likewise.
31670 * manual/signal.texi: Likewise.
31671 * manual/socket.texi: Likewise.
31672 * manual/startup.texi: Likewise.
31673 * manual/stdio.texi: Likewise.
31674 * manual/string.texi: Likewise.
31675 * manual/sysinfo.texi: Likewise.
31676 * manual/syslog.texi: Likewise.
31677 * manual/terminal.texi: Likewise.
31678 * manual/time.texi: Likewise.
31679 * manual/users.texi: Likewise.
31680 * INSTALL: Regenerated.
31681 * NOTES: Regenerated.
d40c5d54 31682 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 31683
450bf206
AS
316842012-02-28 Andreas Schwab <schwab@linux-m68k.org>
31685
31686 * include/dirent.h: Include <dirstream.h> before
31687 <dirent/dirent.h>.
31688
741a235b
DM
316892012-02-28 David S. Miller <davem@davemloft.net>
31690
31691 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
31692 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
31693 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
31694 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
31695
d6b5aa58
DM
316962012-02-27 David S. Miller <davem@davemloft.net>
31697
1aff59a3
DM
31698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
31699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
31700 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
31701 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
31702
d6b5aa58
DM
31703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
31704 frame pointer instead of stack pointer relative arg slot.
31705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31706 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31707 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31708
433f48bf
CD
317092012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
31710
31711 [BZ #3992]
31712 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
31713
d674b76d
DM
317142012-02-27 David S. Miller <davem@davemloft.net>
31715
31716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
31717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
31720 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31721 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31722 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
31723 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
31724
0e7727f7
JM
317252012-02-27 Joseph Myers <joseph@codesourcery.com>
31726
31727 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
31728 later. Allow versions 5-9.
43be4ca2 31729 * configure: Regenerated.
0e7727f7
JM
31730 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
31731 required minimum version and 4.6 as recommended version. Do not
31732 mention bugs in GCC 2.7 and 2.8.
43be4ca2 31733 * INSTALL: Regenerated.
0e7727f7 31734
a78bc654
DM
317352012-02-27 David S. Miller <davem@davemloft.net>
31736
428d5830
DM
31737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
31738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
31739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
31740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
31741 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
31742 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
31743 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
31744 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
31745
a78bc654
DM
31746 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
31747 manipulate bits before adding and subtracting TWO112[sx].
31748 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31749
4579f81c
RM
317502012-02-27 Roland McGrath <roland@hack.frob.com>
31751
36c8acb4
RM
31752 [BZ #13775]
31753 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
31754 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
31755 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
31756 being in POSIX, because they are in 1003.1-2008.
31757
84ad622b
RM
31758 * rt/tst-aio.c: Include <fcntl.h>.
31759 * rt/tst-aio7.c: Likewise.
31760 * rt/tst-aio64.c: Likewise.
31761
4579f81c
RM
31762 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
31763
abd923db
JM
317642012-02-27 Joseph Myers <joseph@codesourcery.com>
31765
31766 * manual/install.texi (--with-headers): Describe headers as
31767 interface headers, not private headers.
31768 (Specific advice for GNU/Linux systems): Describe use of headers
31769 from "make headers_install", not private headers from older
31770 kernels.
43be4ca2 31771 * INSTALL: Regenerated.
abd923db
JM
31772 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
31773 Change to 2.6.19.
31774 * sysdeps/unix/sysv/linux/configure: Regenerated.
31775
6664049b
JM
31776 * manual/llio.texi (fclean): Remove documentation.
31777
bb8b6697
JM
31778 * manual/Makefile (libc-texi-generated): New variable. Include
31779 version.texi.
31780 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
31781 $(libc-texi-generated), not duplicated list of files.
31782 (version.texi, stamp-version): New rules.
31783 (realclean): Remove $(libc-texi-generated), not individual files
31784 from that list. Do not remove dir-add.texinfo.
31785 * manual/libc.texinfo: Comment out uses of edition numbers and
31786 references to printed manual. Remove last-updated dates.
31787 (EDITION): Comment out.
31788 (ISBN): Likewise.
31789 (VERSION, UPDATED): Remove.
31790 (version.texi): Include.
31791
12e5c3b9
AS
317922012-02-27 Andreas Schwab <schwab@linux-m68k.org>
31793
31794 * sysdeps/posix/spawni.c: Include <signal.h>.
31795 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
31796 * sysdeps/pthread/aio_fsync.c: Likewise.
31797
4efeffc1 317982012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 31799
ba63ba08
UD
31800 * conform/Makefile (tests): Run only when not cross-compiling and
31801 when fast-check is not defined.
31802
d94a4670
UD
31803 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
31804 * conform/data/limits.h-data: Fixes for POSIX2008.
31805 * conform/run-conformtest.sh: Run all tests.
31806 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
31807 headers.
31808 * include/bits/dlfcn.h: Likewise.
31809 * include/langinfo.h: Likewise.
31810 * include/monetary.h: Likewise.
31811 * include/sys/poll.h: Likewise.
31812
31813 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
31814 for __USE_GNU.
31815 * posix/spawn.h: Define __need_sigset_t.
31816 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
31817 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
31818 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
31819 to get sigevent_t only.
31820 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
31821 only for __USE_GNU.
31822 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31823 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31824 process_vm_writev only for __USE_GNU.
31825 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
31826
31827 * conform/Makefile: For now ignore errors from run-conformtest.
31828 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
31829 POSIX to avoid namespace pollution. Don't prepend headers.
31830 * conform/data/aio.h-data: Fixes for POSIX testing.
31831 * conform/data/fcntl.h-data: Likewise.
31832 * conform/data/glob.h-data: Likewise.
31833 * conform/data/grp.h-data: Likewise.
31834 * conform/data/pthread.h-data: Likewise.
31835 * conform/data/pwd.h-data: Likewise.
31836 * conform/data/signal.h-data: Likewise.
31837 * conform/data/spawn.h-data: Likewise.
31838 * conform/data/stdio.h-data: Likewise.
31839 * conform/data/stdlib.h-data: Likewise.
31840 * conform/data/stropts.h-data: Likewise.
31841 * conform/data/sys/mman.h-data: Likewise.
31842 * conform/data/sys/stat.h-data: Likewise.
31843 * conform/data/sys/types.h-data: Likewise.
31844 * conform/data/sys/wait.h-data: Likewise.
31845 * conform/data/time.h-data: Likewise.
31846 * conform/data/unistd.h-data: Likewise.
31847 * conform/data/utime.h-data: Likewise.
31848
31849 * io/sys/stat.h: fchmod was always in POSIX.
31850 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
31851 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
31852 * rt/aio.h: Define __need_timespec before including <time.h>.
31853 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
31854 struct. Add forward declaration of pthread_attr_t and use it in
31855 sigevent.
31856 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31857 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31858 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
31859 always remove CLK_TCK definition.
31860
c20105c3
AS
318612012-02-26 Andreas Schwab <schwab@linux-m68k.org>
31862
31863 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
31864
7a270350
UD
318652012-02-25 Ulrich Drepper <drepper@gmail.com>
31866
31341567
UD
31867 * conform/run-conformtest.sh: New file.
31868 * conform/Makefile: Run run-conformtest for tests.
31869 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
31870 support.
31871
31872 * conform/data/uchar.h-data: New file.
31873 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
31874 * conform/data/arpa/inet.h-data: Likewise.
31875 * conform/data/assert.h-data: Likewise.
31876 * conform/data/complex.h-data: Likewise.
31877 * conform/data/cpio.h-data: Likewise.
31878 * conform/data/ctype.h-data: Likewise.
31879 * conform/data/dirent.h-data: Likewise.
31880 * conform/data/dlfcn.h-data: Likewise.
31881 * conform/data/errno.h-data: Likewise.
31882 * conform/data/fcntl.h-data: Likewise.
31883 * conform/data/float.h-data: Likewise.
31884 * conform/data/fmtmsg.h-data: Likewise.
31885 * conform/data/fnmatch.h-data: Likewise.
31886 * conform/data/ftw.h-data: Likewise.
31887 * conform/data/glob.h-data: Likewise.
31888 * conform/data/grp.h-data: Likewise.
31889 * conform/data/iconv.h-data: Likewise.
31890 * conform/data/inttypes.h-data: Likewise.
31891 * conform/data/langinfo.h-data: Likewise.
31892 * conform/data/libgen.h-data: Likewise.
31893 * conform/data/limits.h-data: Likewise.
31894 * conform/data/locale.h-data: Likewise.
31895 * conform/data/math.h-data: Likewise.
31896 * conform/data/monetary.h-data: Likewise.
31897 * conform/data/mqueue.h-data: Likewise.
31898 * conform/data/ndbm.h-data: Likewise.
31899 * conform/data/net/if.h-data: Likewise.
31900 * conform/data/netdb.h-data: Likewise.
31901 * conform/data/netinet/in.h-data: Likewise.
31902 * conform/data/nl_types.h-data: Likewise.
31903 * conform/data/poll.h-data: Likewise.
31904 * conform/data/pthread.h-data: Likewise.
31905 * conform/data/pwd.h-data: Likewise.
31906 * conform/data/regex.h-data: Likewise.
31907 * conform/data/sched.h-data: Likewise.
31908 * conform/data/search.h-data: Likewise.
31909 * conform/data/semaphore.h-data: Likewise.
31910 * conform/data/setjmp.h-data: Likewise.
31911 * conform/data/signal.h-data: Likewise.
31912 * conform/data/spawn.h-data: Likewise.
31913 * conform/data/stdarg.h-data: Likewise.
31914 * conform/data/stdio.h-data: Likewise.
31915 * conform/data/stdlib.h-data: Likewise.
31916 * conform/data/string.h-data: Likewise.
31917 * conform/data/strings.h-data: Likewise.
31918 * conform/data/stropts.h-data: Likewise.
31919 * conform/data/sys/ipc.h-data: Likewise.
31920 * conform/data/sys/mman.h-data: Likewise.
31921 * conform/data/sys/msg.h-data: Likewise.
31922 * conform/data/sys/resource.h-data: Likewise.
31923 * conform/data/sys/select.h-data: Likewise.
31924 * conform/data/sys/sem.h-data: Likewise.
31925 * conform/data/sys/shm.h-data: Likewise.
31926 * conform/data/sys/socket.h-data: Likewise.
31927 * conform/data/sys/stat.h-data: Likewise.
31928 * conform/data/sys/statvfs.h-data: Likewise.
31929 * conform/data/sys/time.h-data: Likewise.
31930 * conform/data/sys/timeb.h-data: Likewise.
31931 * conform/data/sys/times.h-data: Likewise.
31932 * conform/data/sys/types.h-data: Likewise.
31933 * conform/data/sys/uio.h-data: Likewise.
31934 * conform/data/sys/un.h-data: Likewise.
31935 * conform/data/sys/utsname.h-data: Likewise.
31936 * conform/data/sys/wait.h-data: Likewise.
31937 * conform/data/syslog.h-data: Likewise.
31938 * conform/data/tar.h-data: Likewise.
31939 * conform/data/termios.h-data: Likewise.
31940 * conform/data/utime.h-data: Likewise.
31941 * conform/data/utmpx.h-data: Likewise.
31942 * conform/data/varargs.h-data: Likewise.
31943 * conform/data/wchar.h-data: Likewise.
31944 * conform/data/wctype.h-data: Likewise.
31945 * conform/data/wordexp.h-data: Likewise.
31946
31947 * include/stropts.h: New file.
31948 * include/uchar.h: New file.
31949 * include/aio.h: Changes to allow conformtest.pl to use the headers.
31950 * include/assert.h: Likewise.
31951 * include/ctype.h: Likewise.
31952 * include/dirent.h: Likewise.
31953 * include/dlfcn.h: Likewise.
31954 * include/fcntl.h: Likewise.
31955 * include/fnmatch.h: Likewise.
31956 * include/glob.h: Likewise.
31957 * include/grp.h: Likewise.
31958 * include/libio.h: Likewise.
31959 * include/locale.h: Likewise.
31960 * include/math.h: Likewise.
31961 * include/net/if.h: Likewise.
31962 * include/netdb.h: Likewise.
31963 * include/netinet/in.h: Likewise.
31964 * include/pthread.h: Likewise.
31965 * include/pwd.h: Likewise.
31966 * include/regex.h: Likewise.
31967 * include/sched.h: Likewise.
31968 * include/search.h: Likewise.
31969 * include/setjmp.h: Likewise.
31970 * include/signal.h: Likewise.
31971 * include/stdio.h: Likewise.
31972 * include/stdlib.h: Likewise.
31973 * include/string.h: Likewise.
31974 * include/sys/cdefs.h: Likewise.
31975 * include/sys/mman.h: Likewise.
31976 * include/sys/msg.h: Likewise.
31977 * include/sys/resource.h: Likewise.
31978 * include/sys/select.h: Likewise.
31979 * include/sys/socket.h: Likewise.
31980 * include/sys/stat.h: Likewise.
31981 * include/sys/statvfs.h: Likewise.
31982 * include/sys/time.h: Likewise.
31983 * include/sys/times.h: Likewise.
31984 * include/sys/uio.h: Likewise.
31985 * include/sys/utsname.h: Likewise.
31986 * include/sys/wait.h: Likewise.
31987 * include/termios.h: Likewise.
31988 * include/time.h: Likewise.
31989 * include/ulimit.h: Likewise.
31990 * include/unistd.h: Likewise.
31991 * include/utime.h: Likewise.
31992 * include/wchar.h: Likewise.
31993 * include/wctype.h: Likewise.
31994 * include/wordexp.h: Likewise.
31995
31996 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
31997
7a270350
UD
31998 * time/time.h: TIME_UTC must be a macro.
31999 Make timespec_get available for ISO C11 only as well.
32000
7724defc
UD
320012012-02-24 Ulrich Drepper <drepper@gmail.com>
32002
32003 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
32004 Reported by Peng Haitao <penght@cn.fujitsu.com>.
32005
6b1d1d46
JM
320062012-02-24 Joseph Myers <joseph@codesourcery.com>
32007
32008 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 32009
0f8bbd69
JM
320102012-02-24 Joseph Myers <joseph@codesourcery.com>
32011
32012 * manual/texinfo.tex: Update to version 2012-01-19.16.
32013
66ab80bc
JM
320142012-02-24 Joseph Myers <joseph@codesourcery.com>
32015
32016 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
32017
74981cc5
RM
320182012-02-24 Roland McGrath <roland@hack.frob.com>
32019
ee968201
RM
32020 [BZ #13738]
32021 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
32022 * manual/fdl-1.3.texi: New file.
32023 * manual/fdl-1.1.texi: File removed.
32024
74981cc5
RM
32025 [BZ #13738]
32026 * manual/libc.texinfo (FDL_VERSION): New @set.
32027 Use it for mention of FDL in cover text.
32028 (Documentation License): Use it in @include file name.
32029
7bb764bc
JM
320302012-02-22 Joseph Myers <joseph@codesourcery.com>
32031 Roland McGrath <roland@hack.frob.com>
32032
32033 [BZ #5461]
32034 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
32035 not LONG_LONG_MAX and LONG_LONG_MIN.
32036 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
32037 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
32038 name.
32039 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
32040
6cbeae47
JM
320412012-02-22 Joseph Myers <joseph@codesourcery.com>
32042
32043 [BZ #2547]
32044 [BZ #11365]
32045 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
32046 manipulate bits before adding and subtracting TWO23[sx].
32047 * math/libm-test.inc (nearbyint_test): Add more tests.
32048
fe45ce09
JM
320492012-02-22 Joseph Myers <joseph@codesourcery.com>
32050
32051 [BZ #2548]
32052 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
32053 bits before adding and subtracting TWO23[sx].
32054 * math/libm-test.inc (rint_test): Add more tests.
32055 (rint_test_tonearest): Likewise.
32056 (rint_test_towardzero): Likewise.
32057 (rint_test_downward): Likewise.
32058 (rint_test_upward: Likewise.
32059
ff3b3d82
JM
320602012-02-22 Joseph Myers <joseph@codesourcery.com>
32061
32062 [BZ #10110]
32063 * include/stdc-predef.h: New file. Extracted from features.h.
32064 * include/features.h: Include stdc-predef.h.
32065 * Makefile (headers): Add stdc-predef.h.
32066 * CONFORMANCE (Compiler limitations): Update.
32067
ef0aab35
JM
320682012-02-22 Joseph Myers <joseph@codesourcery.com>
32069
32070 * manual/libc.texinfo (VERSION, UPDATED): Revert.
32071
58639409
DM
320722012-02-21 David S. Miller <davem@davemloft.net>
32073
32074 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
32075 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
32076
c0e70b25
DM
320772012-02-20 David S. Miller <davem@davemloft.net>
32078
32079 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
32080 using a normal save/restore sequence, rather than allocating a
32081 dummy stack frame just to store a frame pointer and restore.
32082 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
32083
fb06851d
JM
320842012-02-21 Joseph Myers <joseph@codesourcery.com>
32085
32086 * manual/install.texi: Fix stray word in line-wrapped comment.
32087
7a8b71c3
DM
320882012-02-20 David S. Miller <davem@davemloft.net>
32089
d510c123
DM
32090 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
32091 both binutils and gcc support GOTDATA.
32092
0722d7c2
DM
32093 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
32094 "rd %pc" in the PIC register setup sequences.
32095
3d2b3019
DM
32096 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
32097 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
32098 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
32099 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
32100 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
32101 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32102 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32103 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
32104 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
32105 (SYSCALL_ERROR_HANDLER): Likewise.
32106 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
32107 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32108 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
32109 (SYSCALL_ERROR_HANDLER): Likewise.
32110
c80098a9
DM
32111 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
32112 (HAVE_GCC_GOTDATA): New.
32113 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
32114 relocation support in both binutils and gcc.
32115 * sysdeps/sparc/elf/configure: Regenerate.
32116
3a2545a0
DM
32117 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
32118 * sysdeps/sparc/sparc32/elf/configure: Delete.
32119 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
32120 * sysdeps/sparc/sparc64/elf/configure: Delete.
32121 * sysdeps/sparc/elf/configure.in: New file.
32122 * sysdeps/sparc/elf/configure: Generate.
32123
7a8b71c3
DM
32124 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
32125 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
32126 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
32127 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
32128 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
32129
f1e86fca
JM
321302012-02-21 Joseph Myers <joseph@codesourcery.com>
32131
32132 * manual/install.texi: Do not mention specific glibc version
32133 numbers.
32134 * manual/libc.texinfo (VERSION, UPDATED): Update.
32135 (@copying): Use @copyright{} and range of years.
32136
0e7dfaef
JM
321372012-02-21 Joseph Myers <joseph@codesourcery.com>
32138
32139 [BZ #13695]
32140 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
32141 [crti.S not in sysdirs] (generated): Do not append.
32142 [crti.S not in sysdirs] (omit-deps): Likewise.
32143 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
32144 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
32145 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
32146 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
32147 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
32148 Likewise.
32149 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
32150 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
32151 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
32152 * csu/defs.awk: Remove file.
32153 * sysdeps/generic/initfini.c: Likewise.
32154 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
32155 variable.
32156 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
32157 Likewise.
32158
599af3ca
JM
321592012-02-20 Joseph Myers <joseph@codesourcery.com>
32160
32161 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
32162 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
32163 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
32164 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
32165 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32166 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
32167 <bits/epoll.h>.
32168 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
32169 (__EPOLL_PACKED): Define to empty if not defined by
32170 <bits/epoll.h>.
32171 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
32172 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32173 bits/epoll.h.
32174
0e499750
JM
321752012-02-20 Joseph Myers <joseph@codesourcery.com>
32176
32177 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
32178 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
32179 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
32180 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
32181 <bits/timerfd.h>.
32182 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
32183 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32184 bits/timerfd.h.
32185
5ad91f6e
JM
321862012-02-20 Joseph Myers <joseph@codesourcery.com>
32187
32188 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
32189 in C locale.
32190 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32191 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32192 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
32193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32194
06b99b02
AJ
321952012-02-20 Aurelien Jarno <aurelien@aurel32.net>
32196
32197 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32198 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
32199
7638c0fd
AS
322002012-02-19 Andreas Schwab <schwab@linux-m68k.org>
32201
32202 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
32203 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
32204 defined.
32205 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
32206 Likewise.
32207 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
32208 entry for 2.16.
32209
92221550
AJ
322102012-02-19 Aurelien Jarno <aurelien@aurel32.net>
32211
32212 * math/w_acos.c: Use non-signaling floating-point comparisons.
32213 * math/w_acosf.c: Likewise.
32214 * math/w_acosh.c: Likewise.
32215 * math/w_acoshf.c: Likewise.
32216 * math/w_acoshl.c: Likewise.
32217 * math/w_acosl.c: Likewise.
32218 * math/w_asin.c: Likewise.
32219 * math/w_asinf.c: Likewise.
32220 * math/w_asinl.c: Likewise.
32221 * math/w_atanh.c: Likewise.
32222 * math/w_atanhf.c: Likewise.
32223 * math/w_atanhl.c: Likewise.
32224 * math/w_exp2.c: Likewise.
32225 * math/w_exp2f.c: Likewise.
32226 * math/w_exp2l.c: Likewise.
32227 * math/w_j0.c: Likewise.
32228 * math/w_j0f.c: Likewise.
32229 * math/w_j0l.c: Likewise.
32230 * math/w_j1.c: Likewise.
32231 * math/w_j1f.c: Likewise.
32232 * math/w_j1l.c: Likewise.
32233 * math/w_jn.c: Likewise.
32234 * math/w_jnf.c: Likewise.
32235 * math/w_log.c: Likewise.
32236 * math/w_log10.c: Likewise.
32237 * math/w_log10f.c: Likewise.
32238 * math/w_log10l.c: Likewise.
32239 * math/w_log2.c: Likewise.
32240 * math/w_log2f.c: Likewise.
32241 * math/w_log2l.c: Likewise.
32242 * math/w_logf.c: Likewise.
32243 * math/w_logl.c: Likewise.
32244 * math/w_sqrt.c: Likewise.
32245 * math/w_sqrtf.c: Likewise.
32246 * math/w_sqrtl.c: Likewise.
32247 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32248 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
32249 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32250 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32251 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32252
ebaf36eb
JM
322532012-02-19 Joseph Myers <joseph@codesourcery.com>
32254
32255 [BZ #9739]
32256 * manual/string.texi (strnlen): Use correct parameter name in
32257 equivalent expression.
32258
71c254a6
JM
322592012-02-19 Joseph Myers <joseph@codesourcery.com>
32260
32261 [BZ #11174]
32262 * manual/users.texi (seteuid): Consistently use neweuid for
32263 argument name.
32264
16d2c631
JM
322652012-02-19 Joseph Myers <joseph@codesourcery.com>
32266
32267 [BZ #13704]
32268 * manual/nss.texi (Services in the NSS configuration): Correct
32269 list of services in example configuration file.
32270
cd837b09
NB
322712012-02-19 Nick Bowler <nbowler@draconx.ca>
32272
32273 [BZ #11322]
32274 * manual/arith.texi: Remove statements about negative zero
32275 behaving identically to zero.
32276
02c4bbad
JM
322772012-02-18 Joseph Myers <joseph@codesourcery.com>
32278
32279 [BZ #5993]
32280 * manual/install.texi: Do not document upgrading from libc5.
32281
366842e7
JM
322822012-02-18 Joseph Myers <joseph@codesourcery.com>
32283
32284 [BZ #4596]
32285 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
32286
dd54084d
DM
322872012-02-18 David S. Miller <davem@davemloft.net>
32288
32289 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
32290 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
32291 %o7 across the call.
32292 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
32293 instead.
32294 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
32295 SETUP_PIC_REG_LEAF.
32296 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32297 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
32298 * sysdeps/sparc/crtn.S: Likewise.
32299
2bcc53a3
UD
323002012-02-17 Ulrich Drepper <drepper@gmail.com>
32301
32302 * aout/Makefile: Remove.
32303
09c093b5
RK
323042012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
32305
32306 [BZ #13058]
32307 * manual/examples/argp-ex1.c (main): Format definition in GNU
32308 style.
32309 * manual/examples/argp-ex2.c (main): Likewise.
32310 * manual/examples/argp-ex3.c (main): Likewise.
32311 * manual/examples/argp-ex4.c (main): Likewise.
32312 * manual/examples/longopt.c (main): Use new-style prototype
32313 definition.
32314 * manual/examples/strncat.c (main): Specify return type and use
32315 (void) for arguments.
32316 * manual/examples/subopt.c (main): Use char **argv argument.
32317
2ee633a2
JM
323182012-02-17 Joseph Myers <joseph@codesourcery.com>
32319
32320 [BZ #5077]
32321 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
32322 rounding modes.
32323
0520adde
FB
323242012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
32325
32326 [BZ #6907]
32327 * manual/string.texi (strchr): Change when strchrnul is
32328 recommended.
32329
3f4081cd
DGM
323302012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
32331
32332 [BZ #174]
32333 * manual/locale.texi (setlocale): Document LOCPATH.
32334
d1b10e78
JM
323352012-02-17 Joseph Myers <joseph@codesourcery.com>
32336
32337 [BZ #10210]
32338 * manual/process.texi (execle): Move @dots{} before last argument.
32339
79c6869c
PB
323402012-02-17 Paul Bolle <pebolle@tiscali.nl>
32341
32342 [BZ #12047]
32343 * manual/charset.texi (Generic Charset Conversion): Fix typo
32344 (LC_TYPE -> LC_CTYPE).
32345
cc6e48bc
NB
323462012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
32347
32348 [BZ #5805]
32349 * manual/arith.texi (scalbn): Use @var{} on parameter names.
32350 (scalbnf): Likewise.
32351 (scalbnl): Likewise.
32352 (scalbln): Likewise.
32353 (scalblnf): Likewise.
32354 (scalblnl): Likewise.
32355 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
32356 (vwarnx): Likewise.
32357 (verr): Likewise.
32358 (verrx): Likewise.
32359 * manual/filesys.texi (telldir): Use braces around return type.
32360 * manual/llio.texi (mmap): Add space after comma.
32361 (mmap64): Likewise.
32362 * manual/math.texi (jn): Use @var{} on parameter names.
32363 (jnf): Likewise.
32364 (jnl): Likewise.
32365 (yn): Likewise.
32366 (ynf): Likewise.
32367 (ynl): Likewise.
32368 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
32369 line.
32370 * manual/resource.texi (ulimit): Use @dots{} instead of literal
32371 "...".
32372 (sched_get_priority_min): Remove semicolon on @deftypefun line.
32373 (sched_get_priority_max): Likewise.
32374 * manual/signal.texi (sigvec): Add space after comma.
32375 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
32376 names.
32377 (if_indextoname): Likewise.
32378 (if_freenameindex): Likewise.
32379 (sendto): Use ',' instead of '.' in prototype.
32380 * manual/startup.texi (syscall): Use @dots{} instead of literal
32381 "...".
32382 * manual/stdio.texi (__fpending): Separate initial words of
32383 paragraph from @deftypefun line.
32384 * manual/syslog.texi (syslog): Use @dots{} instead of literal
32385 "...".
32386 (vsyslog): Use @var{} on parameter names.
32387 * manual/terminal.texi (stty): Use @var{} on parameter names.
32388 * manual/users.texi (getutmp): Use @var{} on parameter names.
32389 (getutmpx): Likewise.
32390
5b23062f
JM
323912012-02-17 Joseph Myers <joseph@codesourcery.com>
32392
32393 [BZ #6884]
32394 * manual/stdio.texi (fopen): Fix typos in description of
32395 ",ccs=STRING".
32396
8dee4833
AJ
323972012-02-17 Aurelien Jarno <aurelien@aurel32.net>
32398
32399 [BZ #4026]
32400 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
32401 get clock_id definition.
32402
9078ce93
TS
324032012-02-17 Thomas Schwinge <thomas@schwinge.name>
32404
32405 [BZ #4822]
32406 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
32407 (madvise): Cast every argument to void on its own.
32408
3835c55f
JM
324092012-02-17 Joseph Myers <joseph@codesourcery.com>
32410
32411 [BZ #9902]
32412 * manual/startup.texi (Exit Status): Fix typo.
32413
35c47e37
JM
324142012-02-17 Joseph Myers <joseph@codesourcery.com>
32415
32416 [BZ #10140]
32417 * manual/examples/argp-ex1.c: Include <stdlib.h>.
32418 * manual/examples/argp-ex2.c: Likewise.
32419 * manual/examples/argp-ex3.c: Likewise.
32420
e3b69ca7
RH
324212012-02-16 Richard Henderson <rth@redhat.com>
32422
32423 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
32424 * sysdeps/s390/s390-32/initfini.c: Remove.
32425 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
32426 * sysdeps/s390/s390-64/initfini.c: Remove.
32427
df83af67
KK
324282012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32429
32430 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
32431 compiler output for sysdeps/generic/initfini.c.
32432 * sysdeps/sh/elf/initfini.c: Remove file.
32433
f63f3380
DM
324342012-02-16 David S. Miller <davem@davemloft.net>
32435
fb59b3a4
DM
32436 [BZ #11494]
32437 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
32438
f63f3380
DM
32439 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
32440 * sysdeps/sparc/crti.S: New file.
32441 * sysdeps/sparc/crtn.S: New file.
32442 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
32443 * sysdeps/sparc/sparc64/Makefile: Likewise.
32444
df6a4a4a
MF
324452012-02-15 Mike Frysinger <vapier@gentoo.org>
32446
6dd8f3dc 32447 [BZ #3335]
df6a4a4a
MF
32448 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
32449
1cac7236
RM
324502012-02-15 Roland McGrath <roland@hack.frob.com>
32451
d2c736f8
RM
32452 [BZ #4822]
32453 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
32454
1cac7236
RM
32455 * mach/devstream.c (cookie_io_functions_t): Macro removed.
32456 (write, read, close): Likewise.
32457 Patch by Aurelien Jarno <aurelien@aurel32.net>.
32458
8e475601
JM
324592012-02-15 Joseph Myers <joseph@codesourcery.com>
32460
32461 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
32462 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
32463 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
32464 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
32465 <bits/signalfd.h>.
32466 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
32467 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32468 bits/signalfd.h.
32469
ed656b40
MP
324702012-02-14 Marek Polacek <polacek@redhat.com>
32471
32472 * sysdeps/x86_64/crti.S: New file.
32473 * sysdeps/x86_64/crtn.S: New file.
32474 * sysdeps/x86_64/elf/initfini.c: Remove file.
32475
2a979d3a
JM
324762012-02-13 Joseph Myers <joseph@codesourcery.com>
32477
32478 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
32479 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
32480 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
32481 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
32482 <bits/inotify.h>.
32483 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
32484 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32485 bits/inotify.h.
32486
2a418ac3
JM
324872012-02-13 Joseph Myers <joseph@codesourcery.com>
32488
32489 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
32490 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
32491 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
32492 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
32493 <bits/eventfd.h>.
32494 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
32495 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32496 bits/eventfd.h.
32497
fb779be7
TS
324982012-02-10 Thomas Schwinge <thomas@codesourcery.com>
32499
e19e83c5
RM
32500 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
32501 __feraiseexcept instead of feraiseexcept.
7c35ffed 32502
fb779be7
TS
32503 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
32504 nanosleep invocations.
32505 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
32506 strings, and add error checking for a nanosleep invocations.
32507
59ba27a6
PE
325082012-02-09 Paul Eggert <eggert@cs.ucla.edu>
32509
32510 Replace FSF snail mail address with URLs, as per GNU coding standards.
32511 Most of the snail mail addresses were wrong anyway, and omitting
32512 them makes the source code easier to maintain. Almost all of the
32513 changes are to license notices and to locale LC_IDENTIFICATION
32514 addresses, except for this one:
32515 * manual/libc.texinfo: In "Published by", give the FSF's URL,
32516 not its snail mail address.
32517
57b957eb
RH
325182012-02-09 Richard Henderson <rth@twiddle.net>
32519
af850b1c
RH
32520 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
32521 of kernel-features.h.
32522
57b957eb
RH
32523 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
32524
6b73181a
MP
325252012-02-08 Marek Polacek <polacek@redhat.com>
32526
32527 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
32528 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
32529 * sysdeps/gnu/_G_config.h: Likewise.
32530 * sysdeps/generic/_G_config.h: Likewise.
32531
26ecc33a
AS
325322012-02-08 Andreas Schwab <schwab@linux-m68k.org>
32533
6c6dbc63
AS
32534 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
32535 tests.
32536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32537
e216c012
AS
32538 * sysdeps/powerpc/powerpc32/crti.S: New file.
32539 * sysdeps/powerpc/powerpc32/crtn.S: New file.
32540 * sysdeps/powerpc/powerpc64/crti.S: New file.
32541 * sysdeps/powerpc/powerpc64/crtn.S: New file.
32542
26ecc33a
AS
32543 * Makeconfig (have-initfini): Don't set.
32544 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
32545 * configure.in (nopic_initfini): Don't substitute.
32546 * config.h.in (HAVE_INITFINI): Don't #undef.
32547 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
32548 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
32549
3add8e13
JM
325502012-02-08 Joseph Myers <joseph@codesourcery.com>
32551
32552 Support crti.S and crtn.S provided directly by architectures.
32553 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
32554 [crti.S in sysdirs] (omit-deps): Likewise.
32555 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
32556 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
32557 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
32558 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
32559 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
32560 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
32561 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
32562 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
32563 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
32564 compiler output for sysdeps/generic/initfini.c.
32565 * sysdeps/i386/elf/Makefile: Remove file.
32566 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
32567
a22f12b4
MP
325682012-02-07 Marek Polacek <polacek@redhat.com>
32569
32570 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
32571 * sysdeps/gnu/_G_config.h: Likewise.
32572 * sysdeps/mach/hurd/_G_config.h: Likewise.
32573
148cf100
MP
325742012-02-07 Marek Polacek <polacek@redhat.com>
32575
32576 * math/Makefile (tests): Add tst-CMPLX2.
32577 * math/tst-CMPLX2.c: New file.
32578
cfdc0dd7
AS
325792012-02-07 Andreas Schwab <schwab@linux-m68k.org>
32580
84ba42c4
AS
32581 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32582
cfdc0dd7
AS
32583 * math/libm-test.inc (jn_test): Add missing L suffix.
32584
622c86f4
MP
325852012-02-06 Marek Polacek <polacek@redhat.com>
32586
32587 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
32588 * sysdeps/i386/fpu/e_powf.S: Likewise.
32589 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32590 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32591 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32592 * sysdeps/i386/fpu/e_pow.S: Likewise.
32593 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32594 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32595 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32596 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32597 * sysdeps/i386/fpu/e_log2.S: Likewise.
32598 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32599 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32600 * sysdeps/i386/fpu/e_powl.S: Likewise.
32601 * sysdeps/i386/fpu/s_log1p.S: Likewise.
32602 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32603 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32604 * sysdeps/i386/fpu/e_logl.S: Likewise.
32605 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32606 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
32607 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32608 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32609 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32610 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32611 * sysdeps/i386/fpu/e_log.S: Likewise.
32612 * sysdeps/i386/fpu/s_cexp.S: Likewise.
32613 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32614 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
32615 * sysdeps/i386/fpu/e_logf.S: Likewise.
32616 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32617 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32618 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
32619 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32620 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32621 * sysdeps/i386/fpu/e_log10.S: Likewise.
32622 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32623 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32624 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32625 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32626 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32627 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32628 * sysdeps/i386/asm-syntax.h: Likewise.
32629 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32630 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32631 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32632 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
32633 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
32634 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32635 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32636 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32637 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32638 * sysdeps/powerpc/sysdep.h: Likewise.
32639 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
32640 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32641
d4a54ac6
JM
326422012-02-06 Joseph Myers <joseph@codesourcery.com>
32643
32644 [BZ #411]
32645 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
32646
314054ea
JM
326472012-02-06 Joseph Myers <joseph@codesourcery.com>
32648
32649 * sysdeps/i386/sysdep.h: Include <features.h>.
32650 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
32651 version.
32652
d8e0ca50
JM
326532012-02-05 Joseph Myers <joseph@codesourcery.com>
32654
32655 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
32656 Define.
32657 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
32658 LOAD_PIC_REG_STR.
32659
b1da7dd9
JM
326602012-02-03 Joseph Myers <joseph@codesourcery.com>
32661
32662 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
32663 (SETUP_PIC_REG): Use GET_PC_THUNK.
32664 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
32665 macro.
32666
9a1d9254
JM
326672012-02-03 Joseph Myers <joseph@codesourcery.com>
32668
32669 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
32670 for non-PIC compilation.
32671 (SETUP_PIC_REG): Add .p2align directive.
32672 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
32673 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32674 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32675 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32676 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32677 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32678 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32679 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32680 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32681 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32682 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32683 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32684 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32685 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32686 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32687 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32688 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32689 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32690 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32691 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32692 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32693 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32694 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32695 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32696 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32697 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32698 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32699 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32700 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32701 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32702 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32703 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32704 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32705 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32706 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32707 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32708 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32709 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32710 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32711 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32712 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32713
65dc3b75
JM
327142012-02-03 Joseph Myers <joseph@codesourcery.com>
32715
32716 * math/tst-CMPLX.c: Include <stdio.h>.
32717
d55bf177
JM
327182012-01-31 Joseph Myers <joseph@codesourcery.com>
32719
32720 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
32721 float.
32722 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32723 * sysdeps/sparc/bits/mathdef.h: Likewise.
32724
69db4f8f
MP
327252012-01-31 Marek Polacek <polacek@redhat.com>
32726
32727 * libio/libio.h: Don't define _PARAMS.
32728 * locale/programs/config.h: Don't define PARAMS.
32729 * stdlib/strtol_l.c: Likewise.
32730 (__strtol_l): Remove PARAMS from the prototype.
32731
41b81892
UD
327322012-01-31 Ulrich Drepper <drepper@gmail.com>
32733
3b49edc0
UD
32734 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
32735 names. Just use the correct names. Remove unnecessary wrapper
32736 functions.
32737 * malloc/arena.c: Likewise.
32738 * malloc/hooks.c: Likewise.
32739
41b81892
UD
32740 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
32741 ARENA_TEST says not to. Simplify test for creation of a new arena.
32742 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
32743
27a25b6e
UD
327442012-01-30 Ulrich Drepper <drepper@gmail.com>
32745
32746 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
32747 into tail calls.
32748 (update_get_addr): New function.
32749 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
32750 GET_ADDR_MODULE parameter.
32751
c8a89e7d
JM
327522012-01-30 Joseph Myers <joseph@codesourcery.com>
32753
32754 * crypt/cert.c: Remove __STDC__ conditionals.
32755 * crypt/crypt-entry.c: Likewise.
32756 * crypt/crypt_util.c: Likewise.
32757 * libio/filedoalloc.c: Likewise.
32758 * libio/fileops.c: Likewise.
32759 * libio/genops.c: Likewise.
32760 * libio/iofclose.c: Likewise.
32761 * libio/iofdopen.c: Likewise.
32762 * libio/iofopen.c: Likewise.
32763 * libio/iofopen64.c: Likewise.
32764 * libio/iogetdelim.c: Likewise.
32765 * libio/iopopen.c: Likewise.
32766 * libio/obprintf.c: Likewise.
32767 * libio/oldfileops.c: Likewise.
32768 * libio/oldiofclose.c: Likewise.
32769 * libio/oldiofdopen.c: Likewise.
32770 * libio/oldiofopen.c: Likewise.
32771 * libio/oldiopopen.c: Likewise.
32772 * libio/wfiledoalloc.c: Likewise.
32773 * libio/wgenops.c: Likewise.
32774 * locale/programs/xmalloc.c: Likewise.
32775 * misc/syslog.c: Likewise.
32776 * stdio-common/xbug.c: Likewise.
32777 * string/memchr.c: Likewise.
32778 * string/memcmp.c: Likewise.
32779 * string/memrchr.c: Likewise.
32780 * string/rawmemchr.c: Likewise.
32781 * sysdeps/posix/getcwd.c: Likewise.
32782 * time/strftime_l.c: Likewise.
32783
3b100462
JM
327842012-01-30 Joseph Myers <joseph@codesourcery.com>
32785
32786 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
32787 * config.make.in (config-cflags-sse2avx): Define.
32788 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
32789 Fix typo.
32790
607998af
CM
327912012-01-29 Chris Metcalf <cmetcalf@tilera.com>
32792
32793 * scripts/config.guess: Update from upstream config git repository.
32794 * scripts/config.sub: Likewise.
32795
3601428f
CM
327962012-01-28 Chris Metcalf <cmetcalf@tilera.com>
32797
3ac8b282
CM
32798 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
32799 (EM_NUM): Update.
32800 (R_TILEPRO_*, R_TILEGX_*): New macros.
32801
e034841e
CM
32802 * scripts/firstversions.awk: Fix bug in version range handling.
32803
540d7568
CM
32804 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
32805
3601428f
CM
32806 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
32807
463de862
CM
32808 * include/sys/epoll.h: New file.
32809 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
32810 libc_hidden_def.
32811
73139a76
UD
328122012-01-28 Ulrich Drepper <drepper@gmail.com>
32813
96bc5b45
UD
32814 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
32815 Avoid unnecessary __WORDSIZE == 64 test.
32816 (fmaxf): Use VEX format if possible.
32817 (fmax): Likewise.
32818 (fminf): Likewise.
32819 (fmin): Likewise.
32820
56f6f6a2
UD
32821 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
32822 * math/math_private.h: Remove libc_fegetround* and
32823 libc_fesetround*.
32824 * sysdeps/i386/configure.in: Check for -msse2avx.
32825 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
32826 also if SSE2AVX is defined.
32827 Remove libc_fegetround* and libc_fesetround*.
32828 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
32829 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
32830 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
32831 of HAS_YMM_USABLE.
32832 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32833 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32834 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32835 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32836 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32837
73139a76
UD
32838 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
32839
d73f93a4
AZ
328402012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32841
32842 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
32843 size is not set.
32844 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32845
6ee65ed6
UD
328462012-01-27 Ulrich Drepper <drepper@gmail.com>
32847
32848 [BZ #13618]
32849 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
32850 relocation.
32851 * Makeconfig (libm): Define.
32852 * elf/Makefile: Add rules to build and run tst-relsort1.
32853 * elf/tst-relsort1.c: New file.
32854 * elf/tst-relsort1mod1.c: New file.
32855 * elf/tst-relsort1mod2.c: New file.
32856
8db21882
JM
328572012-01-27 Joseph Myers <joseph@codesourcery.com>
32858
32859 * math/s_ldexp.c: Remove __STDC__ conditionals.
32860 * math/s_ldexpf.c: Likewise.
32861 * math/s_ldexpl.c: Likewise.
32862 * math/s_nextafter.c: Likewise.
32863 * math/s_nexttowardf.c: Likewise.
32864 * math/s_significand.c: Likewise.
32865 * math/s_significandf.c: Likewise.
32866 * math/s_significandl.c: Likewise.
32867 * math/w_jnl.c: Likewise.
32868 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32869 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32870 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32871 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32872 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32873 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32874 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
32875 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32876 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32877 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32878 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32879 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32880 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32881 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32882 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32883 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32884 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32885 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32886 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32887 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32888 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32889 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32890 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32891 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32892 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32893 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32894 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32895 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32896 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32897 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32898 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32899 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32900 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32901 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32902 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32903 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32904 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32905 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32906 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32907 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32908 * sysdeps/ieee754/k_standard.c: Likewise.
32909 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32910 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32911 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32912 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32913 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32914 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32915 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32916 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32917 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32918 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32919 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32920 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32921 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32922 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32923 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32924 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32925 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32926 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32927 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32928 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32929 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32930 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32931 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32932 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32933 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32934 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32935 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32936 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32937 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32938 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32939 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32940 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
32941 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32942 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32943 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32944 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32945 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
32946 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32947 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32948 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
32949 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
32950 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32951 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
32952 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
32953 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32954 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32955 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32956 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32957 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32958 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
32959 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
32960 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32961 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32962 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32963 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32964 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32965 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
32966 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32967 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32968 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32969 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32970 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32971 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32972 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32973 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32974 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32975 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32976 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32977 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32978 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32979 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32980 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32981 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32982 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32983 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32984 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32985 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32986 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32987 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32988 * sysdeps/ieee754/s_matherr.c: Likewise.
32989 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32990 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32991 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32992 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32993
965a54a4
JM
329942012-01-26 Joseph Myers <joseph@codesourcery.com>
32995
32996 * crypt/md5.h: Remove __STDC__ conditionals.
32997 * libio/libioP.h: Likewise.
32998 * locale/programs/config.h: Likewise.
32999 * sysdeps/generic/sysdep.h: Likewise.
33000 * sysdeps/i386/asm-syntax.h: Likewise.
33001 * sysdeps/s390/asm-syntax.h: Likewise.
33002 * sysdeps/unix/sysdep.h: Likewise.
33003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
33004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33005
7071ad79
JM
330062012-01-26 Joseph Myers <joseph@codesourcery.com>
33007
33008 * libio/libio.h: Remove __STDC__ conditionals.
33009 * malloc/obstack.h: Likewise.
33010 * math/complex.h: Likewise.
33011 * math/math.h: Likewise.
33012 * sysdeps/generic/_G_config.h: Likewise.
33013 * sysdeps/gnu/_G_config.h: Likewise.
33014 * sysdeps/mach/hurd/_G_config.h: Likewise.
33015 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33016 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
33017 * sysdeps/sparc/bits/mathdef.h: Likewise.
33018
afc5ed09
UD
330192012-01-26 Ulrich Drepper <drepper@gmail.com>
33020
33021 [BZ #13583]
33022 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 33023 Clean up HAS_* macros.
afc5ed09 33024 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
33025 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
33026 possible.
33027 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
33028 HAS_AVX.
33029 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33030 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33031 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33032 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33033 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 33034
bdb6de1d
JM
330352012-01-25 Joseph Myers <joseph@codesourcery.com>
33036
33037 * elf/tst-unique3.cc (gets): Remove declaration.
33038 * elf/tst-unique3lib.cc (gets): Likewise.
33039 * elf/tst-unique3lib2.cc (gets): Likewise.
33040 * elf/tst-unique4.cc (gets): Likewise.
33041
b15549e6
UD
330422012-01-24 Ulrich Drepper <drepper@gmail.com>
33043
33044 * include/stdio.h: Add C++ protection. Add gets declarations and
33045 definitions.
33046 * debug/tst-chk1.c: Don't declare gets here.
33047 * stdio-common/tst-gets.c: Likewise.
33048
a037381f
JM
330492012-01-24 Joseph Myers <joseph@codesourcery.com>
33050
33051 * posix/glob: Remove directory.
33052
f1d4aa75
JM
330532012-01-24 Joseph Myers <joseph@codesourcery.com>
33054
33055 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
33056
81c0c964
PT
330572012-01-22 Pino Toscano <toscano.pino@tiscali.it>
33058
33059 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
33060 of the non-standard EPFNOSUPPORT.
33061
0ea698ae
ST
330622011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
33063
33064 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
33065 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
33066 ANYWHERE set to 1 only on KERN_NO_SPACE error.
33067
d220b117
UD
330682012-01-21 Ulrich Drepper <drepper@gmail.com>
33069
33070 * wcsmbs/uchar.h: Test __STDC_VERSION__.
33071
3e1aa84e
UD
330722012-01-20 Ulrich Drepper <drepper@gmail.com>
33073
33074 * nscd/aicache.c (addhstaiX): Do not cache negative results of
33075 transient errors.
33076 * nscd/grpcache.c (cache_addgr): Likewise.
33077 * nscd/hstcache.c (cache_addhst): Likewise.
33078 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33079 * nscd/pwdcache.c (cache_addpw): Likewise.
33080 * nscd/servicescache.c (cache_addserv): Likewise.
33081
400aa020
UD
330822012-01-16 Ulrich Drepper <drepper@gmail.com>
33083
d77e7869
UD
33084 * malloc/malloc.c: Various cleanups.
33085 * malloc/hooks.c: Likewise.
33086
400aa020
UD
33087 * stdlib/Makefile (tests): Add bug-fmtmsg1.
33088 * stdlib/bug-fmtmsg1.c: New file.
33089
33090 * stdlib/fmtmsg.c (init): Add missing unlock.
33091 Patch by Peng Haitao <penght@cn.fujitsu.com>.
33092
e0a309cf
MP
330932012-01-12 Marek Polacek <polacek@redhat.com>
33094
33095 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
33096 and _GNU_SOURCE.
33097
929d11c7
WS
330982012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
33099
33100 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
33101 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
33102 macro to ensure uniqueness of label name.
33103 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
33104 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
33105
41d0e869
UD
331062012-01-11 Ulrich Drepper <drepper@gmail.com>
33107
0cc5ed3b
UD
33108 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
33109
41d0e869
UD
33110 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
33111 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33112 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33113 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
33114
a47a831a
UD
331152012-01-10 Ulrich Drepper <drepper@gmail.com>
33116
daa891c0
UD
33117 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
33118
33119 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
33120 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33121 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33122
e58ef0f2
UD
33123 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
33124
a47a831a 33125 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
33126 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33127 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 33128 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
33129
33130 * math/bits/math-finite.h: Add ldexp support.
33131
a0bfc9c7
MP
331322012-01-10 Marek Polacek <polacek@redhat.com>
33133
33134 * locale/programs/localedef.h (show_archive_content): Add noreturn
33135 attribute.
33136
d6e97a1d
UD
331372012-01-09 Ulrich Drepper <drepper@gmail.com>
33138
33139 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
33140
d5835c26
UD
331412012-01-08 Ulrich Drepper <drepper@gmail.com>
33142
e5f484c6
UD
33143 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
33144
d5835c26
UD
33145 * io/Makefile (headers): Add bits/poll2.h.
33146
d1f741e9
WS
331472011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
33148
33149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
33150 typo #include statement.
33151
ec09c1c4
UD
331522012-01-08 Ulrich Drepper <drepper@gmail.com>
33153
33154 * include/sys/cdefs.h: Define __attribute_alloc_size.
33155 * catgets/gencat.c: Add alloc_size attribute and apply consistently
33156 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
33157 * elf/pldd.c: Likewise.
33158 * iconv/iconv_charmap.c: Likewise.
33159 * iconv/iconvconfig.c: Likewise.
33160 * iconv/strtab.c: Likewise.
33161 * locale/programs/locale.c: Likewise.
33162 * locale/programs/localedef.h: Likewise.
33163 * locale/programs/simple-hash.c: Likewise.
33164 * nscd/nscd.h: Likewise.
33165 * nss/makedb.c: Likewise.
33166 * sysdeps/generic/ldconfig.h: Likewise.
33167 * locale/programs/localedef.c: Remove xmalloc prototype.
33168 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
33169
20b38e03
PP
331702012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33171
33172 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
33173 appropriate.
33174
a0da5fe1
UD
331752012-01-08 Ulrich Drepper <drepper@gmail.com>
33176
1d5a644a 33177 * math/Makefile (tests): Add tst-CMPLX.
669704fd 33178 * math/tst-CMPLX.c: New file.
1d5a644a 33179
8784a6db
UD
33180 * math/complex.h (CMPLXL): Fix typo.
33181
d9a216c0
UD
33182 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
33183 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
33184 GLIBC_2.16.
33185 * debug/tst-chk1.c: Add poll and ppoll tests.
33186 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
33187 * include/sys/poll.h: Add hidden proto for ppoll.
33188 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
33189 * sysdeps/mach/hurd/ppoll.c: Likewise.
33190 * io/ppoll.c: Likewise.
33191 * debug/poll_chk.c: New file.
33192 * debug/ppoll_chk.c: New file.
33193 * include/bits/poll2.h: New file.
33194 * io/bits/poll2.h: New file.
33195
ac097f5c
UD
33196 [BZ #1350]
33197 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
33198
2119dcfa
UD
33199 * configure.in: static is always set to yes. Remove.
33200 * config.make.in: Don't set build-static.
33201 * Makeconfig: Remove use of build-static.
33202 * dlfcn/Makefile: Likewise.
33203 * elf/Makefile: Likewise.
33204 * math/Makefile: Likewise.
33205 * misc/Makefile: Likewise.
33206 * nptl/Makefile: Likewise.
33207 * sysdeps/mach/hurd/Makefile: Likewise.
33208
121766a9
UD
33209 * configure.in: PWD_P is not used anymore.
33210 * config.make.in: Remove PWD_P entry.
33211
51a1d39c 33212 * configure.in: Remove last remnants of RANLIB.
8720d066 33213 No need to check for signed size_t anymore.
215f4bdc
UD
33214 Don't set libc_commonpagesize and libc_relro_required here for Alpha
33215 and IA-64.
3857022a 33216 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
33217 * aclocal.m4: Likewise.
33218
d3ed7225
UD
33219 * wcsmbs/mbrtoc16.c: Implement using towc function.
33220 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
33221 * wcsmbs/wcsmbsload.c: Likewise.
33222 * iconv/gconv_simple.c: Likewise.
33223 * iconv/gconv_int.h: Likewise.
33224 * iconv/gconv_builtin.h: Likewise.
33225 * iconv/iconv_prog.c: Remove CHAR16 handling.
33226
33227 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
33228
33229 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
33230
a0da5fe1
UD
33231 * configure.in: Remove --with-elf and --enable-bounded options.
33232 Dont set base_machine for ia64. More non-ELF conditions removed.
33233 Remove testing and setting of leading underscore information.
33234 * config.make.in (build-bounded): Set to no.
33235 * config.h.in: Remove NO_UNDERSCORES entry.
33236 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
33237 them.
33238 * csu/start.c: Remove !NO_UNDERSCORE code.
33239 * locale/localeinfo.h: Likewise.
33240 * sysdeps/generic/machine-gmon.h: Likewise.
33241 * sysdeps/generic/sysdep.h: Likewise.
33242 * sysdeps/i386/sysdep.h: Likewise.
33243 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
33244 * sysdeps/mach/sysdep.h: Likewise.
33245 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33246 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33247 * sysdeps/sh/sysdep.h: Likewise.
33248 * sysdeps/sparc/sparc32/alloca.S: Likewise.
33249 * sysdeps/unix/i386/sysdep.S: Likewise.
33250 * sysdeps/unix/sparc/start.c: Likewise.
33251 * sysdeps/unix/sparc/sysdep.S: Likewise.
33252 * sysdeps/unix/sparc/sysdep.h: Likewise.
33253 * sysdeps/unix/start.c: Likewise.
33254 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33255 * sysdeps/x86_64/sysdep.h: Likewise.
33256
df78418a
UD
332572012-01-07 Ulrich Drepper <drepper@gmail.com>
33258
a784e502
UD
33259 [BZ #13553]
33260 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
33261 for non-gcc.
33262 * argp/argp-fmtstream.h: Use const instead __const.
33263 * argp/argp.h: Likewise.
33264 * assert/assert.h: Likewise.
33265 * bits/fenv.h: Likewise.
33266 * bits/sched.h: Likewise.
33267 * bits/sigset.h: Likewise.
33268 * bits/sigthread.h: Likewise.
33269 * catgets/nl_types.h: Likewise.
33270 * conform/data/pthread.h-data: Likewise.
33271 * crypt/crypt-private.h: Likewise.
33272 * crypt/crypt.h: Likewise.
33273 * crypt/crypt_util.c: Likewise.
33274 * ctype/ctype.h: Likewise.
33275 * debug/execinfo.h: Likewise.
33276 * debug/mbsnrtowcs_chk.c: Likewise.
33277 * debug/mbsrtowcs_chk.c: Likewise.
33278 * debug/wcsnrtombs_chk.c: Likewise.
33279 * debug/wcsrtombs_chk.c: Likewise.
33280 * debug/wcstombs_chk.c: Likewise.
33281 * dirent/dirent.h: Likewise.
33282 * dlfcn/dlfcn.h: Likewise.
33283 * elf/neededtest4.c: Likewise.
33284 * grp/grp.h: Likewise.
33285 * gshadow/gshadow.h: Likewise.
33286 * iconv/gconv.h: Likewise.
33287 * iconv/gconv_int.h: Likewise.
33288 * iconv/gconv_simple.c: Likewise.
33289 * iconv/iconv.h: Likewise.
33290 * iconv/loop.c: Likewise.
33291 * iconv/skeleton.c: Likewise.
33292 * include/aio.h: Likewise.
33293 * include/aliases.h: Likewise.
33294 * include/argz.h: Likewise.
33295 * include/arpa/inet.h: Likewise.
33296 * include/assert.h: Likewise.
33297 * include/dirent.h: Likewise.
33298 * include/dlfcn.h: Likewise.
33299 * include/execinfo.h: Likewise.
33300 * include/fcntl.h: Likewise.
33301 * include/fenv.h: Likewise.
33302 * include/glob.h: Likewise.
33303 * include/grp.h: Likewise.
33304 * include/libintl.h: Likewise.
33305 * include/mntent.h: Likewise.
33306 * include/netdb.h: Likewise.
33307 * include/pwd.h: Likewise.
33308 * include/rpc/netdb.h: Likewise.
33309 * include/sched.h: Likewise.
33310 * include/search.h: Likewise.
33311 * include/shadow.h: Likewise.
33312 * include/signal.h: Likewise.
33313 * include/stdio.h: Likewise.
33314 * include/stdlib.h: Likewise.
33315 * include/string.h: Likewise.
33316 * include/sys/socket.h: Likewise.
33317 * include/sys/stat.h: Likewise.
33318 * include/sys/statfs.h: Likewise.
33319 * include/sys/statvfs.h: Likewise.
33320 * include/sys/syslog.h: Likewise.
33321 * include/sys/time.h: Likewise.
33322 * include/sys/uio.h: Likewise.
33323 * include/time.h: Likewise.
33324 * include/unistd.h: Likewise.
33325 * include/utmp.h: Likewise.
33326 * include/wchar.h: Likewise.
33327 * include/wctype.h: Likewise.
33328 * inet/aliases.h: Likewise.
33329 * inet/arpa/inet.h: Likewise.
33330 * inet/netinet/ether.h: Likewise.
33331 * inet/netinet/in.h: Likewise.
33332 * intl/libintl.h: Likewise.
33333 * io/bits/fcntl2.h: Likewise.
33334 * io/fcntl.h: Likewise.
33335 * io/ftw.h: Likewise.
33336 * io/sys/poll.h: Likewise.
33337 * io/sys/stat.h: Likewise.
33338 * io/sys/statfs.h: Likewise.
33339 * io/sys/statvfs.h: Likewise.
33340 * io/utime.h: Likewise.
33341 * libio/bits/stdio.h: Likewise.
33342 * libio/bits/stdio2.h: Likewise.
33343 * libio/libio.h: Likewise.
33344 * libio/libioP.h: Likewise.
33345 * libio/stdio.h: Likewise.
33346 * locale/lc-ctype.c: Likewise.
33347 * locale/locale.h: Likewise.
33348 * login/utmp.h: Likewise.
33349 * malloc/arena.c: Likewise.
33350 * malloc/malloc.c: Likewise.
33351 * malloc/malloc.h: Likewise.
33352 * malloc/mcheck.c: Likewise.
33353 * malloc/mtrace.c: Likewise.
33354 * math/bits/mathcalls.h: Likewise.
33355 * math/fenv.h: Likewise.
33356 * math/math_private.h: Likewise.
33357 * misc/bits/error.h: Likewise.
33358 * misc/bits/syslog.h: Likewise.
33359 * misc/err.h: Likewise.
33360 * misc/error.h: Likewise.
33361 * misc/fstab.h: Likewise.
33362 * misc/mntent.h: Likewise.
33363 * misc/regexp.h: Likewise.
33364 * misc/search.h: Likewise.
33365 * misc/sgtty.h: Likewise.
33366 * misc/sys/mman.h: Likewise.
33367 * misc/sys/syslog.h: Likewise.
33368 * misc/sys/uio.h: Likewise.
33369 * misc/sys/xattr.h: Likewise.
33370 * misc/ttyent.h: Likewise.
33371 * nis/rpcsvc/ypclnt.h: Likewise.
33372 * nss/nss.h: Likewise.
33373 * posix/bits/unistd.h: Likewise.
33374 * posix/fnmatch.h: Likewise.
33375 * posix/glob.h: Likewise.
33376 * posix/sched.h: Likewise.
33377 * posix/spawn.h: Likewise.
33378 * posix/sys/wait.h: Likewise.
33379 * posix/unistd.h: Likewise.
33380 * posix/wordexp.h: Likewise.
33381 * pwd/pwd.h: Likewise.
33382 * resolv/netdb.h: Likewise.
33383 * resource/sys/resource.h: Likewise.
33384 * rt/aio.h: Likewise.
33385 * rt/bits/mqueue2.h: Likewise.
33386 * rt/mqueue.h: Likewise.
33387 * shadow/shadow.h: Likewise.
33388 * signal/signal.h: Likewise.
33389 * socket/send.c: Likewise.
33390 * socket/sendto.c: Likewise.
33391 * socket/sys/socket.h: Likewise.
33392 * stdio-common/printf.h: Likewise.
33393 * stdlib/bits/stdlib.h: Likewise.
33394 * stdlib/fmtmsg.h: Likewise.
33395 * stdlib/monetary.h: Likewise.
33396 * stdlib/stdlib.h: Likewise.
33397 * stdlib/ucontext.h: Likewise.
33398 * streams/stropts.h: Likewise.
33399 * string/argz.h: Likewise.
33400 * string/bits/string2.h: Likewise.
33401 * string/string.h: Likewise.
33402 * string/strings.h: Likewise.
33403 * sunrpc/rpc/auth.h: Likewise.
33404 * sunrpc/rpc/auth_des.h: Likewise.
33405 * sunrpc/rpc/clnt.h: Likewise.
33406 * sunrpc/rpc/netdb.h: Likewise.
33407 * sunrpc/rpc/pmap_clnt.h: Likewise.
33408 * sunrpc/rpc/xdr.h: Likewise.
33409 * sysdeps/generic/inttypes.h: Likewise.
33410 * sysdeps/generic/net/if.h: Likewise.
33411 * sysdeps/generic/sys/swap.h: Likewise.
33412 * sysdeps/gnu/net/if.h: Likewise.
33413 * sysdeps/gnu/utmpx.h: Likewise.
33414 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
33415 * sysdeps/i386/i486/bits/string.h: Likewise.
33416 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
33417 * sysdeps/s390/bits/string.h: Likewise.
33418 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
33419 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
33420 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
33421 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
33422 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
33423 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
33424 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
33425 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
33426 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
33427 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
33428 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
33429 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33430 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
33431 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33432 * sysdeps/unix/sysv/linux/readv.c: Likewise.
33433 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
33434 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
33435 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33436 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
33437 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
33438 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33439 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
33440 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
33441 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
33442 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
33443 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
33444 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
33445 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33446 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
33447 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
33448 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
33449 * sysvipc/sys/ipc.h: Likewise.
33450 * sysvipc/sys/msg.h: Likewise.
33451 * sysvipc/sys/sem.h: Likewise.
33452 * sysvipc/sys/shm.h: Likewise.
33453 * termios/termios.h: Likewise.
33454 * time/sys/time.h: Likewise.
33455 * time/time.h: Likewise.
33456 * wcsmbs/bits/wchar2.h: Likewise.
33457 * wcsmbs/uchar.h: Likewise.
33458 * wcsmbs/wchar.h: Likewise.
33459 * wctype/wctype.h: Likewise.
33460
0269750c
UD
33461 [BZ #13551]
33462 * Makeconfig: Remove all but ELF support including AIX support.
33463 * Makerules: Likewise.
33464 * config.h.in: Likewise.
33465 * config.make.in: Likewise.
33466 * configure: Likewise.
33467 * configure.in: Likewise.
33468 * csu/Makefile: Likewise.
33469 * csu/version.c: Likewise.
33470 * debug/Makefile: Likewise.
33471 * dlfcn/Makefile: Likewise.
33472 * elf/Makefile: Likewise.
33473 * extra-lib.mk: Likewise.
33474 * iconv/Makefile: Likewise.
33475 * include/libc-symbols.h: Likewise.
33476 * include/shlib-compat.h: Likewise.
33477 * resolv/Makefile: Likewise.
33478 * resolv/res_libc.c: Likewise.
33479 * rt/Makefile: Likewise.
33480 * sysdeps/i386/asm-syntax.h: Likewise.
33481 * sysdeps/i386/sysdep.h: Likewise.
33482 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
33483 * sysdeps/mach/sysdep.h: Likewise.
33484 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
33485 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
33486 * sysdeps/s390/asm-syntax.h: Likewise.
33487 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33488 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33489 * sysdeps/sh/sysdep.h: Likewise.
33490 * sysdeps/unix/sparc/sysdep.h: Likewise.
33491 * sysdeps/wordsize-32/divdi3.c: Likewise.
33492 * sysdeps/x86_64/sysdep.h: Likewise.
33493
00bbd29b
UD
33494 * argp/Versions: Remove _argp_unlock_xxx.
33495
33496 [BZ #13559]
33497 * abilist/ld.abilist: Update. Adjust for removal of tls option.
33498 * abilist/libBrokenLocale.abilist: Likewise.
33499 * abilist/libanl.abilist: Likewise.
33500 * abilist/libc.abilist: Likewise.
33501 * abilist/libcrypt.abilist: Likewise.
33502 * abilist/libdl.abilist: Likewise.
33503 * abilist/libm.abilist: Likewise.
33504 * abilist/libnsl.abilist: Likewise.
33505 * abilist/libpthread.abilist: Likewise.
33506 * abilist/libresolv.abilist: Likewise.
33507 * abilist/librt.abilist: Likewise.
33508 * abilist/libthread_db.abilist: Likewise.
33509 * abilist/libutil.abilist: Likewise.
33510 * abilist/libnss_db.abilist: New file.
33511
33512 * scripts/abilist.awk: Add support for indirect functions.
33513
a2693a0e
UD
33514 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
33515
3f05895f
UD
33516 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
33517
ecb6fb48
UD
33518 * shlib-versions: Remove entries for ports architectures.
33519
664f8cb9
UD
33520 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
33521 files in ports.
33522 * elf/stackguard-macros.h: Remove support for IA-64.
33523 * elf/tst-auditmod1.c: Likewise.
33524 * sysdeps/generic/ldsodefs.h: Likewise.
33525
7ae81d88
UD
33526 * sysdeps/unix/sysv/linux/configure.in: Ports should define
33527 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
33528 configure files.
33529
bdeba135
UD
33530 [BZ #13552]
33531 * configure.in: Remove --enable-omitfp support.
33532 * FAQ.in: Adjust.
33533 * config.make.in: Likewise.
33534 * Makeconfig: Likewise.
33535 * manual/install.texi: Likewise.
33536
d75a0a62
UD
33537 In case anyone cares, the IA-64 architecture could move to ports.
33538 * sysdeps/ia64/*: Removed.
33539 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 33540 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 33541
dcc9756b
UD
33542 [BZ #13555]
33543 * configure.in: Remove entries for unsupported architectures.
33544
d3761ebc 33545 [BZ #13533]
9954432e
UD
33546 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
33547 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
33548 routines.
33549 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
33550 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
33551 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
33552 fall back to using wcrtomb.
33553 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
33554 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
33555 renaming.
33556 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
33557 * wcsmbs/tst-c16c32-1.c: New file.
33558
33559 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
33560 local variable.
33561
c3a87236
UD
33562 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
33563
28926a1b
UD
33564 * elf/tst-unique3.cc: Add explicit declaration of gets.
33565 * elf/tst-unique3lib.cc: Likewise.
33566 * elf/tst-unique3lib2.cc: Likewise.
33567 * elf/tst-unique4.cc: Likewise.
33568
df78418a
UD
33569 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
33570
8ecd6b2a
JM
335712012-01-06 Joseph Myers <joseph@codesourcery.com>
33572
33573 [BZ #13566]
33574 * assert/assert.h (static_assert): Don't define for C++.
33575 * libio/stdio.h (gets): Do declare for C++ <= C++11.
33576 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
33577
9f115170
UD
335782012-01-03 Ulrich Drepper <drepper@gmail.com>
33579
5e0d0300
UD
33580 * iconv/loop.c (single loop): Fix assertion in storing of
33581 remaining bytes.
33582
9f115170
UD
33583 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
33584
81fb02b0
UD
335852012-01-01 Ulrich Drepper <drepper@gmail.com>
33586
33587 * posix/getconf.c: Update copyright year.
33588 * nss/getent.c: Likewise.
a316c1f6 33589 * nss/makedb.c: Likewise.
81fb02b0
UD
33590 * iconv/iconvconfig.c: Likewise.
33591 * iconv/iconv_prog.c: Likewise.
33592 * elf/ldconfig.c: Likewise.
a316c1f6
UD
33593 * elf/pldd.c: Likewise.
33594 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
33595 * catgets/gencat.c: Likewise.
33596 * csu/version.c: Likewise.
33597 * elf/ldd.bash.in: Likewise.
33598 * elf/sprof.c (print_version): Likewise.
33599 * locale/programs/locale.c: Likewise.
33600 * locale/programs/localedef.c: Likewise.
a316c1f6 33601 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
33602 * nscd/nscd.c (print_version): Likewise.
33603 * debug/xtrace.sh: Likewise.
33604 * malloc/memusage.sh: Likewise.
33605 * malloc/mtrace.pl: Likewise.
33606 * debug/catchsegv.sh: Likewise.
33607
2ba92745
JJ
336082011-12-30 Jakub Jelinek <jakub@redhat.com>
33609
33610 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
33611 pure attribute.
33612
dadebdae
UD
336132011-12-24 Ulrich Drepper <drepper@gmail.com>
33614
d3761ebc 33615 [BZ #13533]
db6af3eb
UD
33616 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
33617 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
33618 transformations.
33619 * iconv/gconv_int.h: Likewise.
33620 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
33621 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
33622 from libc for GLIBC_2.16.
33623 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
33624 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
33625 * wcsmbs/uchar.h: Really define mbstate_t.
33626 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
33627 * wcsmbs/c16rtomb.c: New file.
33628 * wcsmbs/mbrtoc16.c: New file.
33629 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
33630 for C/POSIX locale.
33631 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
33632 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
33633
dadebdae
UD
33634 * wcsmbs/wchar.h: Add missing __restrict.
33635
67371b56
UD
336362011-12-23 Ulrich Drepper <drepper@gmail.com>
33637
74033a25
UD
33638 [BZ #13532]
33639 * time/Makefile (routines): Add timespec_get.
33640 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
33641 * time/time.h: Define TIME_UTC and declare timespec_get. Define
33642 timespec for ISO C11.
33643 * time/timespec_get.c: New file.
33644 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
33645 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
33646
380d7e87
UD
33647 [BZ #13531]
33648 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
33649 * stdlib/stdlib.h: Declare aligned_alloc.
33650 * Versions.def: Add GLIBC_2.16 for libc.
33651 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
33652
4e9e7a35
UD
33653 [BZ 13527]
33654 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
33655 ISO C11.
33656
380d7e87 33657 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
33658 code.
33659
03a71829
UD
33660 [BZ #13528]
33661 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
33662
839e283e
UD
33663 [BZ #13529]
33664 * assert/assert.h (static_assert): Define.
33665
ce5294e2 33666 * version.h: Update for 2.16 development version.
90fa7312 33667
8d44e150 33668 [BZ #13526]
d7809905
UD
33669 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
33670 _ISOC11_SOURCE.
33671
c0da14cd
UD
33672 * version.h (RELEASE): Bump for 2.15 release.
33673 * include/features.h (__GLIBC_MINOR__): Bump to 15.
33674
530a3249
MP
33675 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
33676 Patch by Marek Polacek <mpolacek@redhat.com>.
33677
67371b56
UD
33678 * bits/byteswap.h: Protect long long constants with __extension__.
33679 * sysdeps/i386/bits/byteswap.h: Likewise.
33680 * sysdeps/ia64/bits/byteswap.h: Likewise.
33681 * sysdeps/s390/bits/byteswap.h: Likewise.
33682 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33683
15db4de1
LD
336842011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33685
33686 [BZ #13540]
bbe315ea
LD
33687 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
33688 destination buffer.
15db4de1
LD
33689 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
33690
2b2596b1
MP
336912011-12-23 Marek Polacek <polacek@redhat.com>
33692
33693 * elf/dl-addr.c (determine_info): Add inline keyword.
33694 * elf/tst-auditmod4b.c (check_avx): Likewise.
33695 * elf/tst-auditmod6b.c (check_avx): Likewise.
33696 * elf/tst-auditmod6c.c (check_avx): Likewise.
33697 * elf/tst-auditmod7b.c (check_avx): Likewise.
33698
70c6c246
UD
336992011-12-23 Ulrich Drepper <drepper@gmail.com>
33700
33701 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
33702 !__SSE_MATH__.
33703
c044cf14
LD
337042011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33705
15db4de1 33706 [BZ #13540]
c044cf14
LD
33707 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
33708 processing for last bytes.
33709
6b13d9d9
BH
337102011-08-06 Bruno Haible <bruno@clisp.org>
33711
d455f537
BH
33712 [BZ #13061]
33713 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
33714 U+0385, not to U+1FEE.
33715
6b13d9d9
BH
33716 [BZ #13062]
33717 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
33718 entry for U+00A5 U+0301.
33719
db910efd
UD
337202011-12-22 Ulrich Drepper <drepper@gmail.com>
33721
27deeafc
UD
33722 [BZ #13166]
33723 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
33724 buffer for the output is too small.
33725
aed9d171
UD
33726 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
33727 optimization.
33728
db910efd
UD
33729 [BZ #13185]
33730 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
33731 SSE flags if possible.
33732
2bd779ae
LD
337332011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33734
e7f9dac3 33735 [BZ #13540]
2bd779ae
LD
33736 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
33737 processing for last bytes.
33738
154bfc16
JM
337392011-12-22 Joseph Myers <joseph@codesourcery.com>
33740
33741 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
33742 (syscall-list-default-options, syscall-list-default-condition)
33743 (syscall-list-includes): Define.
33744 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
33745 list of ABIs and options and #if conditions for each ABI. Do not
33746 handle common syscalls between ABIs specially.
33747 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
33748 Remove.
33749 (syscall-list-variants, syscall-list-32bit-options)
33750 (syscall-list-32bit-condition, syscall-list-64bit-options)
33751 (syscall-list-64bit-condition): Define.
33752 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
33753 (syscall-list-variants, syscall-list-32bit-options)
33754 (syscall-list-32bit-condition, syscall-list-64bit-options)
33755 (syscall-list-64bit-condition): Define.
33756 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
33757 Remove.
33758 (syscall-list-variants, syscall-list-32bit-options)
33759 (syscall-list-32bit-condition, syscall-list-64bit-options)
33760 (syscall-list-64bit-condition): Define.
33761 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
33762 Remove.
33763 (syscall-list-variants, syscall-list-32bit-options)
33764 (syscall-list-32bit-condition, syscall-list-64bit-options)
33765 (syscall-list-64bit-condition): Define.
33766
21eaf3a5
UD
337672011-12-22 Ulrich Drepper <drepper@gmail.com>
33768
16c6f992
UD
33769 * locale/iso-639.def: Add brx entry.
33770
41043168
UD
33771 [BZ #13328]
33772 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
33773 Proposed by Mariusz_Cukr <marcukr@op.pl>.
33774
21eaf3a5
UD
33775 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
33776 __feraiseexcept_renamed.
33777
e3a851a2
UD
337782011-12-21 Ulrich Drepper <drepper@gmail.com>
33779
4920765e
UD
33780 [BZ #13538]
33781 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
33782 EPOLLET with unsigned values.
33783 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33784 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33785
e3a851a2
UD
33786 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
33787 to large cancellation.
33788 * math/s_cacoshf.c: Likewise.
33789 * math/s_cacoshl.c: Likewise.
33790
b27e24b8
RK
337912011-11-18 Richard B. Kreckel <kreckel@ginac.de>
33792
33793 [BZ #13305]
aebefeee 33794 [BZ #12786]
b27e24b8
RK
33795 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
33796 * math/s_cacoshf.c: Likewise.
33797 * math/s_cacoshl.c: Likewise.
33798
ee190f67
UD
337992011-12-21 Ulrich Drepper <drepper@gmail.com>
33800
33801 [BZ #13439]
33802 * iconv/gconv.h: Define __GCONV_SWAP.
33803 * iconvdata/unicode.c: The swap bit must be stored in __flags.
33804 * iconvdata/utf-16.c: Likewise.
33805 * iconvdata/utf-32.c: Likewise.
33806
707f25df
AS
338072011-12-21 Andreas Schwab <schwab@linux-m68k.org>
33808
33809 [BZ #13524]
33810 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
33811 numerator after shifting it by one limb.
33812
d2daaa1e
RÁE
338132011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
33814
33815 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
33816 under [__USE_EXTERN_INLINES].
33817
a4647e72
UD
338182011-12-17 Ulrich Drepper <drepper@gmail.com>
33819
33820 [BZ #13446]
33821 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
33822
f0b264f1
AZ
338232011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33824
33825 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
33826 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
33827 optimized code.
33828 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
33829 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
33830 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
33831 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
33832 for strncasecmp/strncasecmp_l compilation.
33833 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
33834 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
33835
8ef4f244
MP
338362011-12-08 Marek Polacek <mpolacek@redhat.com>
33837
33838 [BZ #13484]
33839 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
33840 of __asm__.
33841
97ac2654
UD
338422011-12-17 Ulrich Drepper <drepper@gmail.com>
33843
33844 [BZ #13506]
33845 * time/tzfile.c (__tzfile_read): Check values from file header.
33846
91d2a845
WS
338472011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33848
33849 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
33850 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
33851 * powerpc/powerpc32/dl-start.S: Likewise.
33852 * powerpc/powerpc32/elf/start.S: Likewise.
33853 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33854 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
33855 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
33856 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
33857 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33858 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
33859 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
33860 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
33861 * powerpc/powerpc32/fpu/s_round.S: Likewise.
33862 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33863 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33864 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33865 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
33866 * powerpc/powerpc32/memset.S: Likewise.
33867 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33868 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33869 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33870 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33871 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33872 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33873 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33874 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33875 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
33876 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
33877 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
33878 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
33879 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
33880
a1267ba1
AZ
338812011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33882
33883 * math/libm-test.inc: Added more nearbyint tests.
33884 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
33885 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
33886 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
33887 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
33888
ad8ac1bd
RL
338892011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
33890
33891 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
33892 FD_CLOEXEC.
33893
1d3e4b61
UD
338942011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33895
33896 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
33897 Add wcscpy-ssse3 wcscpy-c.
33898 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
33899 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
33900 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
33901 * sysdeps/x86_64/wcschr.S: New file.
33902 * sysdeps/x86_64/wcsrchr.S: New file.
33903 * string/test-strcmp.c: Remove checking of wcscmp function for
33904 wrong alignments.
33905 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
33906 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
33907 wcsrchr-sse2 wcsrchr-c.
33908 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
33909 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
33910 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
33911 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
33912 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
33913 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
33914 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
33915 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
33916 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
33917 * wcsmbc/wcschr.c (WCSCHR): New macro.
33918
5b330a2d
UD
339192011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33920
33921 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
33922 * wcsmbs/test-wcsrchr.c: New file.
33923 * string/test-strrchr.c: Add wcsrchr support.
33924 (WIDE): New macro.
33925 * wcsmbs/test-wcscpy.c: New file.
33926 * string/test-strcpy.c: Add wcscpy support.
33927 (WIDE): New macro.
26428b7c 33928
f039c043
UD
339292011-12-10 Ulrich Drepper <drepper@gmail.com>
33930
33931 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
33932 the inner loop.
33933
850fb039
AS
339342011-12-06 Andreas Schwab <schwab@linux-m68k.org>
33935
33936 [BZ #13472]
33937 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
33938
4efbd5cb
UD
339392011-12-04 Ulrich Drepper <drepper@gmail.com>
33940
52ff5dd0 33941 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 33942 Minor optimizations.
52ff5dd0 33943
4efbd5cb
UD
33944 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
33945 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
33946 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33947
8a426e12
UD
339482011-12-03 Ulrich Drepper <drepper@gmail.com>
33949
aff2453d
UD
33950 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
33951 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
33952 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
33953 for gcc to avoid warnings.
33954 * inet/Makefile (tests): Add tst-checks.
33955 * inet/tst-checks.c: New file.
33956
33957 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
33958 warning.
33959
33960 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
33961 __wmemcmp_sse2.
33962
33963 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
33964 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
33965
8a426e12
UD
33966 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
33967
9bea3473
UD
339682011-12-02 Ulrich Drepper <drepper@gmail.com>
33969
3a965496
UD
33970 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
33971 problem.
33972
9bea3473
UD
33973 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
33974
f101631b
UD
339752011-11-29 Joseph Myers <joseph@codesourcery.com>
33976
33977 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
33978 conditional on GCC version.
33979 (__arch_compare_and_exchange_val_8_acq)
33980 (__arch_compare_and_exchange_val_16_acq)
33981 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
33982 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
33983 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
33984
a98275aa
UD
339852011-12-02 Joseph Myers <joseph@codesourcery.com>
33986
33987 * sysdeps/sh/backtrace.c: New file.
33988
d4cc29a2
AS
339892011-12-02 Andreas Schwab <schwab@redhat.com>
33990
33991 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
33992 parenthesis.
33993
6257af2d
AS
339942011-12-01 Andreas Schwab <schwab@redhat.com>
33995
33996 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
33997 falling back to utime.
33998
b5f44c1a
AS
339992011-11-30 Andreas Schwab <schwab@redhat.com>
34000
34001 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
34002 expectations for float.
34003
f3a6cc0a
AS
340042011-11-29 Andreas Schwab <schwab@redhat.com>
34005
34006 * locale/weight.h (findidx): Add parameter len.
34007 * locale/weightwc.h (findidx): Likewise.
34008 * posix/fnmatch_loop.c (FCT): Adjust caller.
34009 * posix/regcomp.c (build_equiv_class): Likewise.
34010 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
34011 * posix/regexec.c (check_node_accept_bytes): Likewise.
34012 * string/strcoll_l.c (STRCOLL): Likewise.
34013 * string/strxfrm_l.c (STRXFRM): Likewise.
34014
9d65ea3a
UD
340152011-11-17 Ulrich Drepper <drepper@gmail.com>
34016
34017 * Makefile.in: Remove CVSOPT handling.
34018 * configure.in: Remove use of AC_REVISION.
34019 * iconvdata/Makefile (distribute): No need to filter out CVS.
34020 * scripts/list-sources.sh: Remove CVS, subversion and monotone
34021 handling.
34022
5583a086
AS
340232011-11-16 Andreas Schwab <schwab@redhat.com>
34024
34025 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
34026 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
34027 [USE_AS_STRNCASECMP_L]: Likewise.
34028 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
34029 NO_TLS_DIRECT_SEG_REFS.
34030 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
34031 Fix argument offsets for non-PIC.
34032 [USE_AS_STRNCASECMP_L]: Likewise.
34033 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
34034 NO_TLS_DIRECT_SEG_REFS.
34035
d62a8200
UD
340362011-11-15 Ulrich Drepper <drepper@gmail.com>
34037
9d65ea3a 34038 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
34039 O_CLOEXEC.
34040 * locale/loadlocale.c (_nl_load_locale): Likewise.
34041
09f93bd3
AS
340422011-11-15 Andreas Schwab <schwab@redhat.com>
34043
446514f9
AS
34044 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
34045 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
34046 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
34047 (SYSCALL_GETTIME): Set errno on error.
34048
09f93bd3
AS
34049 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
34050 count references to noai6ai_cached.
34051
312be3f9
UD
340522011-11-15 Ulrich Drepper <drepper@gmail.com>
34053
34054 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
34055
34056 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
34057 FD_CLOEXEC for /proc/self/maps.
34058
34059 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
34060 FD_CLOEXEC for /proc/meminfo.
34061
34062 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
34063 gai.conf.
34064
34065 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
34066 FD_CLOEXEC for given file.
34067
34068 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
34069
34070 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
34071 FD_CLOEXEC for /etc/hosts.
34072 (_gethtent): Likewise.
34073
34074 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
34075
34076 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
34077 cancellation and set FD_CLOEXEC for /etc/netgroup.
34078
34079 * nss/nss_files/files-key.c (search): Don't allow cancellation when
34080 reading /etc/publickey.
34081
34082 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
34083 allow cancellation when reading /etc/group.
34084
34085 * nss/nss_files/files-alias.c (internal_setent): Don't allow
34086 cancellation.
34087 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
34088
34089 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
34090 when using data file.
34091
34092 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
34093
34094 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
34095 (write_nis_obj): Use "c" and "e" in fopen.
34096
34097 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
34098
34099 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
34100
34101 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
34102
34103 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
34104
34105 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
34106 locale.alias.
34107
34108 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
34109
34110 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
34111
34112 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
34113
34114 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
34115 file parsing and set FD_CLOEXEC.
34116
82af0fa8
UD
341172011-11-14 Ulrich Drepper <drepper@gmail.com>
34118
34119 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
34120
a5fb313c
AS
341212011-11-14 Andreas Schwab <schwab@redhat.com>
34122
34123 * malloc/arena.c (arena_get2): Don't call reused_arena when
34124 _int_new_arena failed.
34125
6abf3465
UD
341262011-11-14 Ulrich Drepper <drepper@gmail.com>
34127
34128 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
34129 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
34130 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
34131 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34132 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34133 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
34134 to compile strcasecmp and strncasecmp.
34135 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
34136 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
34137
34138 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
34139
76e3966e
UD
341402011-11-13 Ulrich Drepper <drepper@gmail.com>
34141
34142 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
34143 locale-defines.sym to gen-as-const-headers.
34144 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
34145 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
34146 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
34147 to compile strcasecmp and strncasecmp.
34148 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
34149 strcasecmp_l and strncasecmp_l.
34150 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
34151 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
34152 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
34153 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
34154 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
34155 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
34156 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
34157 * sysdeps/i386/i686/multiarch/strncase.S: New file.
34158 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
34159 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
34160 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
34161
ab26144e
UD
341622011-11-12 Ulrich Drepper <drepper@gmail.com>
34163
7edb22ef
UD
34164 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
34165 result of SYSDEP_GETTIME_CPU to retval.
34166 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
34167 parameter list to macro. Remove trailing semicolon. Adjust users.
34168
9694fc44
UD
34169 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
34170 variable.
34171
8ad89ef8
UD
34172 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
34173 mantissa words.
34174 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
34175
0c822ef9
UD
34176 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
34177 from unused variable.
34178
874e0564
UD
34179 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
34180 DWARF definitions.
34181 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
34182 for assembling.
34183
3a2edc79
UD
34184 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
34185 over namespaces.
34186
f3c2577f
UD
34187 * sunrpc/rpc_prot.c (rejected): Fix case value.
34188
294ce126
UD
34189 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
34190 unsigned long long int to avoid warnings in shift.
34191
5e2b63c6
UD
34192 * posix/regex_internal.c (re_string_reconstruct): Actually use result
34193 of use of trans.
34194 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
34195 variable tmp.
34196
e7f4b08e
UD
34197 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
34198 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
34199 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
34200
ab26144e
UD
34201 * nis/nis_table.c (nis_list): Use variable of correct type for
34202 result of __follow_path call.
34203
8a6d5255
AZ
342042011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34205
34206 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
34207 of math functions ceil, trunc, floor, round, and sqrt, when
34208 avaliable on the platform.
34209 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
34210 name clash.
34211 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34212 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
34213 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
34214
aaddc98c
MP
342152011-10-30 Marek Polacek <mpolacek@redhat.com>
34216
34217 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
34218 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
34219
95b7042b
RM
342202011-11-11 Roland McGrath <roland@hack.frob.com>
34221
34222 * include/unistd.h: Fix __readlink return type.
34223 Reported by Chris Metcalf <cmetcalf@tilera.com>.
34224
57769839
UD
342252011-11-11 Ulrich Drepper <drepper@gmail.com>
34226
34227 * stdlib/ucontext.h: Undo last change for makecontext.
34228
edc5984d
AS
342292011-11-11 Andreas Schwab <schwab@redhat.com>
34230
98591e58
AS
34231 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
34232
edc5984d
AS
34233 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
34234 * setjmp/setjmp.h: Mark functions as non-leaf.
34235 * setjmp/bits/setjmp2.h: Likewise.
34236 * stdlib/ucontext.h: Likewise.
34237
77cdc054
AS
342382011-11-10 Andreas Schwab <schwab@redhat.com>
34239
34240 * malloc/arena.c (_int_new_arena): Don't increment narenas.
34241 (reused_arena): Don't check arena limit.
34242 (arena_get2): Atomically check arena limit.
34243
fe72eebd
UD
342442011-11-08 Ulrich Drepper <drepper@gmail.com>
34245
5f078c32
UD
34246 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
34247 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
34248
fe72eebd
UD
34249 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
34250 instructions.
34251
ae1bc2fa
AS
342522011-11-07 Andreas Schwab <schwab@redhat.com>
34253
7583a88d
AS
34254 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
34255 handler when locking.
34256
ae1bc2fa
AS
34257 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34258 Fix size of allocated buffer.
34259
10fb0bfa
AS
342602011-11-04 Andreas Schwab <schwab@redhat.com>
34261
998832a4
AS
34262 [BZ #10103]
34263 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
34264 declarations for long double functions.
34265 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
34266
10fb0bfa
AS
34267 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
34268
3d7ba52b
AS
342692011-11-03 Andreas Schwab <schwab@redhat.com>
34270
a9ae54a1
AS
34271 * nscd/nscd.c (main): Don't start AVC thread until credentials are
34272 installed.
34273
3d7ba52b
AS
34274 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
34275 is disabled.
34276
bc8db248
ST
342772011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
34278
34279 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
34280
45b96dd6
AS
342812011-11-01 Andreas Schwab <schwab@linux-m68k.org>
34282
647776f6
AS
34283 * include/alloca.h (stackinfo_alloca_round): Define.
34284 (extend_alloca): Use it.
34285 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
34286 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
34287 here.
34288
d91a8b93
AS
34289 * scripts/check-local-headers.sh: Ignore libaudit.h.
34290
45b96dd6
AS
34291 * nscd/Makefile (extra-objs): Make recursively expanded.
34292
432d41ce
UD
342932011-11-01 Ulrich Drepper <drepper@gmail.com>
34294
34372fc6
UD
34295 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
34296 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
34297
fadb59f8
UD
34298 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
34299 * posix/tst-rfc3484-2.c: Likewise.
34300 * posix/tst-rfc3484-3.c: Likewise.
34301
78239589
UD
34302 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34303 process_vm_writev.
34304 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
34305 process_vm_writev.
34306 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
34307 process_vm_writev from libc using GLIBC_2.15 version.
34308
432d41ce
UD
34309 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
34310
02f9c6cf
PP
343112011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
34312
34313 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
34314 stack usage.
34315
3a2c0242
UD
343162011-10-31 Ulrich Drepper <drepper@gmail.com>
34317
f4ec4833
UD
34318 [BZ #13367]
34319 * nss/getent.c (initgroups_keys): Show error message in case no group
34320 names are given.
34321
3a2c0242
UD
34322 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
34323 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
34324 __bump_nl_timestamp.
34325 * nscd/connections (nscd_init): When host database is served open
34326 netlink socket and request notification about configuration changes.
34327 (main_loop_poll): Track netlink file descriptor and bump timestamp
34328 in case data becomes available.
34329 (main_loop_epoll): Likewise.
34330 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
34331 (database_pers_head): Add extra_data fileds.
34332 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
34333 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
34334 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
34335 Adjust caller.
34336 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
34337 in6ai data, call __free_in6ai.
34338 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
34339 Add -DHAVE_NETLINK.
34340 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
34341 interface information. Reuse previous data if netlink timestamp
34342 is not changed.
34343 (__bump_nl_timestamp): New function.
34344 (__free_in6ai): New function.
34345
636064eb
UD
343462011-10-30 Ulrich Drepper <drepper@gmail.com>
34347
34348 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
34349 close_not_cancel_no_status here.
34350 (__check_pf): Reorganize code a bit to not call close twice if OOM.
34351
9beb2334
UD
343522011-10-29 Ulrich Drepper <drepper@gmail.com>
34353
6ef76f3b
UD
34354 [BZ #13276]
34355 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
34356 return value.
34357
0ffc4f3e 34358 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
34359 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
34360 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
34361
cb95113e
UD
343622011-07-03 Andreas Jaeger <aj@suse.de>
34363
34364 [BZ #10709]
34365 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
34366 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
34367 * math/libm-test.inc (sin_test): Add test case.
34368
a1b560ff
UD
343692011-10-29 Ulrich Drepper <drepper@gmail.com>
34370
c9aaface
UD
34371 [BZ #13337]
34372 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
34373 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
34374
d272e7f1
UD
34375 * elf/chroot_canon.c (chroot_canon): Cleanups.
34376
1bc33071
UD
34377 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
34378
1760874d
TJ
34379 [BZ #13335]
34380 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
34381 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
34382
51d91b18
UD
34383 * string/test-strchr.c: Make usable for strchrnul testing.
34384 * string/test-strchrnul.c: New file.
34385 * string/Makefile (strop-tests): Add strchrnul.
34386
a1b560ff 34387 * po/it.po: Update from translation team.
b611fb81 34388 * po/es.po: Likewise.
a1b560ff 34389
a5b81e1f
UD
343902011-10-28 Ulrich Drepper <drepper@gmail.com>
34391
fd52bc6d
UD
34392 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
34393 the three constants needed as parameters. Drop the others.
34394 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
34395 __m128i_strloadu_tolower.
52e4b9eb
UD
34396 Create and initialize variable zero and use it in all the places
34397 where _mm_setzero_si128 was used.
fd52bc6d 34398
a5b81e1f
UD
34399 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
34400 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
34401 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
34402 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
34403 anymore.
34404 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
34405 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
34406 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
34407 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
34408 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
34409 __mpranred, __mptan.
34410 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
34411 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
34412 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
34413 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
34414 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
34415 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
34416 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
34417 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
34418 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
34419
b4343346
AS
344202011-10-28 Andreas Schwab <schwab@redhat.com>
34421
0c92d8a8
AS
34422 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
34423 redefine if SHARED.
34424 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
34425
b4343346
AS
34426 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
34427 wide char related routines to wcsmbs subdir.
34428
3871f58f
AS
344292011-10-27 Andreas Schwab <schwab@redhat.com>
34430
34431 [BZ #13344]
34432 * misc/sys/cdefs.h (__THROWNL): Define.
34433 * posix/unistd.h: Use __THREADNL instead of __THREAD
34434 for memory synchronization functions.
34435
94d44d9f
RM
344362011-10-26 Roland McGrath <roland@hack.frob.com>
34437
21b64b15 34438 [BZ #13349]
94d44d9f
RM
34439 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
34440 doesn't exist.
34441 * manual/stdio.texi (Obstack Streams): Node removed.
34442
f6ce9294
AS
344432011-10-26 Andreas Schwab <schwab@redhat.com>
34444
80479147
AS
34445 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
34446 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34447 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34448
f6ce9294
AS
34449 * math/math_private.h (math_force_eval): Allow non-addressable
34450 arguments.
34451 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
34452
618280a1
UD
344532011-10-25 Ulrich Drepper <drepper@gmail.com>
34454
e0016b11
UD
34455 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
34456 file is not needed.
34457
34458 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
34459 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34460 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34461 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34462 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34463 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34464 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34465 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
34466 Add AVX variants.
34467 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
34468 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
34469 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
34470 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
34471 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
34472 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
34473 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
34474 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
34475 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
34476 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
34477 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
34478 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
34479 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
34480 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
34481 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
34482 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
34483 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
34484 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
34485 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
34486
34487 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
34488 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
34489
618280a1
UD
34490 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
34491 place. Use VEX encoding when compiling for AVX.
34492
37822576
AS
344932011-10-25 Andreas Schwab <schwab@redhat.com>
34494
1f1e1947
AS
34495 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
34496 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
34497
37822576
AS
34498 * string/test-strchr.c (do_test): Don't generate NUL bytes.
34499
31ea014d
UD
345002011-10-25 Ulrich Drepper <drepper@gmail.com>
34501
d7826aa1 34502 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 34503 useless if() expression.
d7826aa1
UD
34504 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34505 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34506 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34507 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34508 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34509 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34510 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34511 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34512 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34513 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34514 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34515 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34516 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34517 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34518 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34519 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34520 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34521 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34522 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34523
31ea014d
UD
34524 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
34525
16437fec
AS
345262011-10-25 Andreas Schwab <schwab@redhat.com>
34527
34528 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
34529 condition.
34530 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34531
31d3cc00
UD
345322011-10-25 Ulrich Drepper <drepper@gmail.com>
34533
34534 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
34535 .text section. Avoid duplicate constants.
34536 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34537 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34538 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34539 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34540 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34541 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34542 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34543 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34544 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34545 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
34546 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34547 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34548 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34549 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34550 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34551 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34552 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34553 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34554 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34555 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34556 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34557 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34558 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34559 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
34560 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
34561 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
34562 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
34563 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
34564 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
34565 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
34566 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
34567 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
34568 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34569 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
34570 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
34571 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
34572 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
34573 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
34574 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
34575 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
34576 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
34577 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
34578 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
34579 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
34580 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
34581
58985aa9
UD
345822011-10-24 Ulrich Drepper <drepper@gmail.com>
34583
202c9deb
UD
34584 * sysdeps/x86_64/dla.h: Move to ...
34585 * sysdeps/x86_64/fpu/dla.h: ...here.
34586 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
34587 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 34588
af968f62
UD
34589 * config.make.in: Add have-mfma4 entry.
34590 * configure.in: Substitute libc_cv_cc_fma4.
34591 * math/Makefile (dbl-only-routines): Add sincostab.
34592 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
34593 Use __sincostab not sincos.
34594 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
34595 name is a macro.
34596 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34597 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34598 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34599 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
34600 using __copysign.
34601 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
34602 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
34603 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
34604 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
34605 and __inv.
34606 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
34607 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
34608 __copysign.
34609 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
34610 define aliases when function name is a macro.
34611 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
34612 sysdeps/ieee754/dbl-64/sincos.tbl.
34613 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
34614 fma4-enabled routines.
34615 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
34616 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
34617 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
34618 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
34619 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
34620 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
34621 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
34622 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
34623 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
34624 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
34625 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
34626 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
34627 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
34628 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
34629 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
34630 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
34631 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
34632 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
34633 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
34634 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
34635 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
34636 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
34637 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
34638 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
34639 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
34640 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
34641 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
34642 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
34643 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
34644 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
34645
58985aa9
UD
34646 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
34647 rename.
34648 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34649 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34650 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34651 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34652 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34653 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34654 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34655 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34656
a201fbcf
AS
346572011-10-24 Andreas Schwab <schwab@redhat.com>
34658
34659 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
34660
fc2ee42a
LD
346612011-10-23 Ulrich Drepper <drepper@gmail.com>
34662
bb3129bd
UD
34663 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
34664
0275fff8
UD
34665 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
34666 prediction.
34667 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
34668
2fa2ae85
UD
34669 * string/strnlen.c: Don't define STRNLEN, reverse logic.
34670 Remove unused variable magic_bits.
34671 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
34672
fc2ee42a
LD
34673 * string/strnlen.c: Define and use STRNLEN macro.
34674 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
34675 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
34676 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
34677 * wcsmbs/wcslen.c: Define and use WCSLEN.
34678 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
34679 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
34680 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
34681 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
34682 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
34683 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
34684 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34685
ce7dd29f
LD
346862011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34687
34688 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34689 strnlen-sse2-no-bsf.
34690 Rename strlen-no-bsf to strlen-sse2-no-bsf.
34691 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
34692 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
34693 Add strnlen support.
34694 (USE_AS_STRNLEN): New macro.
34695 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
34696 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
34697 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
34698 * sysdeps/x86_64/wcslen.S: New file.
34699
979c70a3
MZ
347002011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
34701
34702 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34703 XMM-moves are used for copying on small sizes.
34704
2d09f82f
LD
347052011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34706
34707 * wcsmbs/Makefile (strop-tests): Add wcschr.
34708 * wcsmbs/test-wcschr.c: New file.
34709 * string/test-strchr.c: Update.
34710 Add wcschr support.
34711 (WIDE): New macro.
34712
619fccca
LD
347132011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34714
2d09f82f 34715 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
34716 * wcsmbs/test-wcslen.c: New file.
34717 * string/test-strlen.c: Update.
34718 Add wcslen support.
34719 (WIDE): New macro.
34720
09f699ea
UD
347212011-10-23 Ulrich Drepper <drepper@gmail.com>
34722
34723 * po/it.po: Update from translation team.
34724
95584d3b
LD
347252011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34726
34727 * sysdeps/x86_64/wcscmp.S: Update.
34728 Fix wrong comparison semantics.
34729 wcscmp shall use signed comparison not unsigned.
34730 Don't use substraction to avoid overflow bug.
34731 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
34732 * wcsmbc/wcscmp.c: Likewise.
34733 * string/test-strcmp.c: Likewise.
34734 Add new tests to check cases with negative values.
34735
c8b3296b
UD
347362011-10-23 Ulrich Drepper <drepper@gmail.com>
34737
34738 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
34739 * sysdeps/x86_64/dla.h: ...here. New file.
34740 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
34741 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34742 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34743 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34744 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34745 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34746 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34747 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34748 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34749
246ad57a
AS
347502011-10-23 Andreas Schwab <schwab@linux-m68k.org>
34751
34752 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
34753 __ynl_finite aliases.
34754
a1a87169
UD
347552011-10-22 Ulrich Drepper <drepper@gmail.com>
34756
0d355eb7
UD
34757 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34758
a1a87169
UD
34759 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
34760 define DLA_FMA.
34761 [DLA_FMA] (EMULV): Use DLA_FMA.
34762 [DLA_FMA] (MUL12): Use EMULV.
34763 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
34764 that are not needed.
34765 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34766 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34767 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34768 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34769 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34770 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34771 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34772
ee2aafe0
AS
347732011-10-22 Andreas Schwab <schwab@linux-m68k.org>
34774
34775 * math/s_nan.c: Undef __nan.
34776 * math/s_nanf.c: Undef __nanf.
34777 * math/s_nanl.c: Undef __nanl.
34778 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
34779 "math_private.h".
34780
bc62c2fb
UD
347812011-10-22 Ulrich Drepper <drepper@gmail.com>
34782
77425c63
UD
34783 * math/s_catan.c: Add branch predictions.
34784 * math/s_catanf.c: Likewise.
34785 * math/s_catanh.c: Likewise.
34786 * math/s_catanhf.c: Likewise.
34787 * math/s_catanhl.c: Likewise.
34788 * math/s_catanl.c: Likewise.
34789 * math/s_cexp.c: Likewise.
34790 * math/s_cexpf.c: Likewise.
34791 * math/s_cexpl.c: Likewise.
34792 * math/s_clog.c: Likewise.
34793 * math/s_clog10.c: Likewise.
34794 * math/s_clog10f.c: Likewise.
34795 * math/s_clog10l.c: Likewise.
34796 * math/s_clogf.c: Likewise.
34797 * math/s_clogl.c: Likewise.
34798 * math/s_csqrt.c: Likewise.
34799 * math/s_csqrtf.c: Likewise.
34800 * math/s_csqrtl.c: Likewise.
34801 * math/s_ctanf.c: Likewise.
34802 * math/s_ctanh.c: Likewise.
34803 * math/s_ctanhf.c: Likewise.
34804 * math/s_ctanhl.c: Likewise.
34805 * math/s_ctanl.c: Likewise.
34806
bc62c2fb
UD
34807 * math/math_private.h: Define __nan, __nanf, __nanl.
34808 * math/s_cacosh.c: Include <math_private.h>.
34809 * math/s_cacoshl.c: Likewise.
34810 * math/s_casinh.c: Likewise.
34811 * math/s_casinhf.c: Likewise.
34812 * math/s_casinhl.c: Likewise.
34813 * math/s_ccos.c: Rely entire on ccosh.
34814 * math/s_ccosf.c: Rely entire on ccoshf.
34815 * math/s_ccosl.c: Rely entirely on ccoshl.
34816 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
34817 Remove tests for FE_INVALID.
34818 * math/s_ccoshf.c: Likewise.
34819 * math/s_ccoshl.c: Likewise.
34820 * math/s_csin.c: Likewise.
34821 * math/s_csinf.c: Likewise.
34822 * math/s_csinh.c Likewise.
34823 * math/s_csinhf.c: Likewise.
34824 * math/s_csinhl.c: Likewise.
34825 * math/s_csinl.c: Likewise.
34826 * math/s_ctan.c: Likewise.
34827 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
34828 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
34829 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
34830
8ec250a4
UD
348312011-10-21 Ulrich Drepper <drepper@gmail.com>
34832
c196fed8
UD
34833 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
34834 compilation problems.
34835
8ec250a4
UD
34836 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
34837 __builtin_expect.
34838
8d4f46c6
UD
348392011-10-20 Ulrich Drepper <drepper@gmail.com>
34840
ed72b654
UD
34841 * sysdeps/i386/configure.in: Test for -mfma4 option.
34842 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
34843 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
34844 COMMON_CPUID_INDEX_80000001.
34845 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
34846 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
34847 use it if FMA3 is not supported.
34848 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
34849
8d4f46c6
UD
34850 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
34851 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34852
d45c60c2
AS
348532011-10-20 Andreas Schwab <schwab@redhat.com>
34854
34855 [BZ #12892]
34856 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
34857 it would create a cycle with a link time dependency.
34858
d9a4d2ab
UD
348592011-10-19 Ulrich Drepper <drepper@gmail.com>
34860
855d1560
UD
34861 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
34862 instruction.
34863 * string/Makefile (strop-tests): Add rawmemchr.
34864 * string/test-rawmemchr.c: New file.
34865
d9a4d2ab
UD
34866 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
34867 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
34868 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
34869 when compiling str{,n}casecmp and when AVX is available. Hook up
34870 new optimized code in initializers.
34871
8f3b1ffe
AS
348722011-10-19 Andreas Schwab <schwab@redhat.com>
34873
34874 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
34875 __feraiseexcept instead of feraiseexcept.
34876
d38f1dba
UD
348772011-10-18 Ulrich Drepper <drepper@gmail.com>
34878
d9a8d0ab
UD
34879 * math/math_private.h: Define defaults for libc_fetestexcept and
34880 libc_feupdateenv.
34881 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
34882 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
34883 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34884 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34885 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34886 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34887 libc_fetestexcept and libc_feupdateenv.
34888
4855e3dd
UD
34889 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
34890 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
34891 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
34892 * sysdeps/x86_64/fpu/math_private.h: Define special version of
34893 libc_feholdexcept_setround.
34894
581d30e3
UD
34895 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
34896 Add s_nearbyint-c and s_nearbyintf-c.
34897 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
34898 nearbyintf inlines.
34899 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
34900 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
34901 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
34902 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
34903
d38f1dba
UD
34904 * math/math_private.h: Define defaults for libc_fegetround,
34905 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
34906 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
34907 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
34908 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
34909 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
34910 standard functions.
34911 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34912 Remove comments and hacks for old compiler versions.
34913 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34914 libc_fegetround, libc_fesetround, libc_feholdexcept, and
34915 libc_feholdexceptl.
34916
caa6c9d8
AS
349172011-10-18 Andreas Schwab <schwab@redhat.com>
34918
34919 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
34920 (__feraiseexcept_renamed): Add __NTH.
34921 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
34922 namespace violations.
34923
97c066e6
UD
349242011-10-17 Ulrich Drepper <drepper@gmail.com>
34925
99ce7b04
UD
34926 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
34927
1004d182
UD
34928 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
34929
228a984d
UD
34930 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
34931 recently added interfaces.
34932 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
34933
c8553a6a
UD
34934 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
34935 about macro parameter expansion.
34936
ed22dcf6
UD
34937 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
34938 __NO_MATH_INLINES is defined. Cleanups.
34939
34940 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
34941 and __floorf is target has SSE4.1.
34942 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
34943 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
34944 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
34945 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
34946
b171c137
UD
34947 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
34948 name.
34949 (floorf): Likewise.
34950
97c066e6
UD
34951 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
34952
629f62ef
AS
349532011-10-17 Andreas Schwab <schwab@redhat.com>
34954
49a43d80
AS
34955 * misc/sys/cdefs.h: Fix last change.
34956
629f62ef
AS
34957 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
34958 database lookup.
34959
e453f6cd
UD
349602011-10-16 Ulrich Drepper <drepper@gmail.com>
34961
aa78043a
UD
34962 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
34963
ad0f5cad
UD
34964 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
34965 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34966 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34967 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34968 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34969 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34970 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34971 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34972 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34973 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
34974 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
34975 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
34976 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
34977 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
34978 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
34979 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
34980 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
34981 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
34982 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
34983 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
34984 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
34985 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
34986
34987 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
34988 ceil, ceilf, floor, floorf.
34989
34990 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
34991 Perform IRELATIVE relocations last.
34992
e453f6cd
UD
34993 * elf/do-rel.h: Add another parameter nrelative, replacing the
34994 local variable with the same name. Change name of the function
34995 to end in Rel or Rela (uppercase).
34996 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
34997 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
34998 elf_dynamic_do_##reloc function.
34999
fd5bdc09
UD
350002011-10-15 Ulrich Drepper <drepper@gmail.com>
35001
79b195b5
UD
35002 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
35003 is sufficient, at least on modern CPUs.
35004
d4a28569
UD
35005 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
35006
b61099b5
UD
35007 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
35008 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
35009
bcf01e6d
UD
35010 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
35011 __expl_finite.
35012 * math/bits/math-finite.h: Add entries for exp.
35013 * math/e_expl.c: Add __*_finite alias.
35014 * sysdeps/i386/fpu/e_exp.S: Likewise.
35015 * sysdeps/i386/fpu/e_expf.S: Likewise.
35016 * sysdeps/i386/fpu/e_expl.c: Likewise.
35017 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35018 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
35019 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
35020 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35021 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
35022 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35023 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35024
ba1a0d59
UD
35025 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
35026 is sufficient, at least on modern CPUs.
35027
fd5bdc09
UD
35028 * ctype/ctype-info.c (__ctype_init): Define.
35029 * include/ctype.h (__ctype_init): Declare.
35030 (__ctype_b_loc): The variable is always initialized.
35031 (__ctype_toupper_loc): Likewise.
35032 (__ctype_tolower_loc): Likewise.
35033 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
35034 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
35035
7872cfb0
AS
350362011-10-15 Andreas Schwab <schwab@linux-m68k.org>
35037
b468825a
AS
35038 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
35039
7872cfb0
AS
35040 * configure.in: Also look in $cxxmachine/include for C++ system
35041 headers.
35042
be13f7bf
LD
350432011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35044
35045 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
35046 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
35047 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
35048 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
35049 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
35050 (USE_AS_WMEMCMP): New macro.
35051 Fixing indents.
35052 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
35053 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
35054 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
35055 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
35056 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35057 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
35058 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
35059 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
35060 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
35061 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
35062 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
35063 (USE_AS_WMEMCMP): New macro.
35064 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
35065 * sysdeps/string/test-memcmp.c: Update.
35066 Fix simple_wmemcmp.
35067 Add new tests.
35068 * wcsmbs/wmemcmp.c: Update.
35069 (WMEMCMP): New macro.
35070 Fix overflow bug.
35071
556a2007
AJ
350722011-10-12 Andreas Jaeger <aj@suse.de>
35073
35074 [BZ #13268]
35075 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
35076
538faaa7
UD
350772011-10-15 Ulrich Drepper <drepper@gmail.com>
35078
ab6737ff
UD
35079 * libio/iofwide.c (do_length): Avoid warning.
35080
538faaa7
UD
35081 * ctype/ctype.h (__isctype_f): Add missing __THROW.
35082
396a21b1
UD
350832011-10-14 Ulrich Drepper <drepper@gmail.com>
35084
cdf2901f
UD
35085 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
35086
38ad40ce
UD
35087 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
35088 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
35089 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
35090 * sysdeps/i386/i686/fpu/e_log.S: New file.
35091 * sysdeps/i386/i686/fpu/e_logf.S: New file.
35092 * sysdeps/i386/i686/fpu/e_logl.S: New file.
35093
396a21b1
UD
35094 * ctype/ctype.h: Add support for inlined isXXX functions when
35095 compiling C++ code.
35096
6b1f68c9
AS
350972011-10-14 Andreas Schwab <schwab@redhat.com>
35098
349290c0
AS
35099 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35100
6b1f68c9
AS
35101 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
35102
f2282d42
RM
351032011-10-13 Roland McGrath <roland@hack.frob.com>
35104
35105 [BZ #13291]
35106 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
35107
5298ffa8
AS
351082011-10-13 Andreas Schwab <schwab@redhat.com>
35109
714fad23
AS
35110 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
35111 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
35112 feraiseexcept.
35113
81dcc7fb
AS
35114 * sysdeps/x86_64/memrchr.S: Check for zero size.
35115
5298ffa8
AS
35116 * string/stratcliff.c: Add memrchr tests.
35117
951fbcec
LD
351182011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35119
35120 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35121 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
35122 rawmemchr-sse2 rawmemchr-sse2-bsf.
35123 * sysdeps/i386/i686/multiarch/memchr.S: New file.
35124 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
35125 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
35126 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
35127 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
35128 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
35129 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
35130 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
35131 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
35132 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
35133 * string/memrchr.c (MEMRCHR): New macro.
35134
0ac5ae23
UD
351352011-10-12 Ulrich Drepper <drepper@gmail.com>
35136
35137 Add integration with gcc's -ffinite-math-only and optimize wrapper
35138 functions in libm.
35139 * Versions.def: Define GLIBC_2.15 version for libm.
35140 * math/Makefile (headers): Add bits/math-finite.h.
35141 * math/bits/math-finite.h: New file.
35142 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
35143 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
35144 * math/e_acoshl.c: Add __*_finite alias.
35145 * math/e_acosl.c: Likewise.
35146 * math/e_asinl.c: Likewise.
35147 * math/e_atan2l.c: Likewise.
35148 * math/e_atanhl.c: Likewise.
35149 * math/e_coshl.c: Likewise.
35150 * math/e_exp10.c: Likewise.
35151 * math/e_exp10f.c: Likewise.
35152 * math/e_exp10l.c: Likewise.
35153 * math/e_exp2l.c: Likewise.
35154 * math/e_fmodl.c: Likewise.
35155 * math/e_gammal_r.c: Likewise.
35156 * math/e_hypotl.c: Likewise.
35157 * math/e_j0l.c: Likewise.
35158 * math/e_j1l.c: Likewise.
35159 * math/e_jnl.c: Likewise.
35160 * math/e_lgammal_r.c: Likewise.
35161 * math/e_log10l.c: Likewise.
35162 * math/e_log2l.c: Likewise.
35163 * math/e_logl.c: Likewise.
35164 * math/e_powl.c: Likewise.
35165 * math/e_sinhl.c: Likewise.
35166 * math/e_sqrtl.c: Likewise.
35167 * math/e_scalb.c: Completely rewritten and optimized.
35168 * math/e_scalbf.c: Likewise.
35169 * math/e_scalbl.c: Likewise.
35170 * math/w_acos.c: Likewise.
35171 * math/w_acosf.c: Likewise.
35172 * math/w_acosl.c: Likewise.
35173 * math/w_acosh.c: Likewise.
35174 * math/w_acoshf.c: Likewise.
35175 * math/w_acoshl.c: Likewise.
35176 * math/w_asin.c: Likewise.
35177 * math/w_asinf.c: Likewise.
35178 * math/w_asinl.c: Likewise.
35179 * math/w_atan2.c: Likewise.
35180 * math/w_atan2f.c: Likewise.
35181 * math/w_atan2l.c: Likewise.
35182 * math/w_atanh.c: Likewise.
35183 * math/w_atanhf.c: Likewise.
35184 * math/w_atanhl.c: Likewise.
35185 * math/w_exp10.c: Likewise.
35186 * math/w_exp10f.c: Likewise.
35187 * math/w_exp10l.c: Likewise.
35188 * math/w_fmod.c: Likewise.
35189 * math/w_fmodf.c: Likewise.
35190 * math/w_fmodl.c: Likewise.
35191 * math/w_j0.c: Likewise.
35192 * math/w_j0f.c: Likewise.
35193 * math/w_j0l.c: Likewise.
35194 * math/w_j1.c: Likewise.
35195 * math/w_j1f.c: Likewise.
35196 * math/w_j1l.c: Likewise.
35197 * math/w_jn.c: Likewise.
35198 * math/w_jnf.c: Likewise.
35199 * math/w_log.c: Likewise.
35200 * math/w_logf.c: Likewise.
35201 * math/w_logl.c: Likewise.
35202 * math/w_log10.c: Likewise.
35203 * math/w_log10f.c: Likewise.
35204 * math/w_log10l.c: Likewise.
35205 * math/w_log2.c: Likewise.
35206 * math/w_log2f.c: Likewise.
35207 * math/w_log2l.c: Likewise.
35208 * math/w_pow.c: Likewise.
35209 * math/w_powf.c: Likewise.
35210 * math/w_powl.c: Likewise.
35211 * math/w_remainder.c: Likewise.
35212 * math/w_remainderf.c: Likewise.
35213 * math/w_remainderl.c: Likewise.
35214 * math/w_scalb.c: Likewise.
35215 * math/w_scalbf.c: Likewise.
35216 * math/w_scalbl.c: Likewise.
35217 * math/w_sqrt.c: Likewise.
35218 * math/w_sqrtf.c: Likewise.
35219 * math/w_sqrtl.c: Likewise.
35220 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
35221 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
35222 used.
35223 * math/math_private.h: Declare __kernel_standard_f.
35224 * math/w_cosh.c: Remove cruft and optimize a bit.
35225 * math/w_coshf.c: Likewise.
35226 * math/w_coshl.c: Likewise.
35227 * math/w_exp2.c: Likewise.
35228 * math/w_exp2f.c: Likewise.
35229 * math/w_exp2l.c: Likewise.
35230 * math/w_hypot.c: Likewise.
35231 * math/w_hypotf.c: Likewise.
35232 * math/w_hypotl.c: Likewise.
35233 * math/w_lgamma.c: Likewise.
35234 * math/w_lgamma_r.c: Likewise.
35235 * math/w_lgammaf.c: Likewise.
35236 * math/w_lgammaf_r.c: Likewise.
35237 * math/w_lgammal.c: Likewise.
35238 * math/w_lgammal_r.c: Likewise.
35239 * math/w_sinh.c: Likewise.
35240 * math/w_sinhf.c: Likewise.
35241 * math/w_sinhl.c: Likewise.
35242 * math/w_tgamma.c: Likewise.
35243 * math/w_tgammaf.c: Likewise.
35244 * math/w_tgammal.c: Likewise.
35245 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35246 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35247 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
35248 Minor optimizations. Pretty printing. Remove cruft.
35249 * sysdeps/i386/fpu/e_acosf.S: Likewise.
35250 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35251 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35252 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35253 * sysdeps/i386/fpu/e_acosl.c: Likewise.
35254 * sysdeps/i386/fpu/e_asin.S: Likewise.
35255 * sysdeps/i386/fpu/e_asinf.S: Likewise.
35256 * sysdeps/i386/fpu/e_atan2.S: Likewise.
35257 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
35258 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
35259 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35260 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35261 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35262 * sysdeps/i386/fpu/e_exp10.S: Likewise.
35263 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
35264 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
35265 * sysdeps/i386/fpu/e_exp2.S: Likewise.
35266 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
35267 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
35268 * sysdeps/i386/fpu/e_fmod.S: Likewise.
35269 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
35270 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
35271 * sysdeps/i386/fpu/e_hypot.S: Likewise.
35272 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
35273 * sysdeps/i386/fpu/e_log.S: Likewise.
35274 * sysdeps/i386/fpu/e_log10.S: Likewise.
35275 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35276 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35277 * sysdeps/i386/fpu/e_log2.S: Likewise.
35278 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35279 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35280 * sysdeps/i386/fpu/e_logf.S: Likewise.
35281 * sysdeps/i386/fpu/e_logl.S: Likewise.
35282 * sysdeps/i386/fpu/e_pow.S: Likewise.
35283 * sysdeps/i386/fpu/e_powf.S: Likewise.
35284 * sysdeps/i386/fpu/e_powl.S: Likewise.
35285 * sysdeps/i386/fpu/e_remainder.S: Likewise.
35286 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
35287 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
35288 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35289 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35290 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35291 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
35292 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
35293 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
35294 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35295 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35296 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35297 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35298 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35299 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35300 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
35301 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35302 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35303 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35304 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35305 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35306 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35307 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35308 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35309 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35310 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35311 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35312 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35313 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35314 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35315 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35316 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35317 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35318 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35319 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35320 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
35321 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35322 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
35323 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35324 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35325 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35326 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35327 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35328 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35329 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35330 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35331 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35332 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35333 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35334 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35335 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35336 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35337 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35338 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35339 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35340 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35341 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35342 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35343 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
35344 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35345 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35346 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35347 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35348 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35349 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35350 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35351 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35352 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35353 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35354 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35355 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35356 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35357 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35358 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35359 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35360 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35361 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35362 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
35363 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35364 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35365 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35366 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35367 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35368 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35369 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35370 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
35371 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35372 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35373 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35374 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35375 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35376 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
35377 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35378 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35379 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35380 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35381 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35382 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35383 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35384 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35385 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35386 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35387 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
35388 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35389 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
35390 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
35391 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
35392 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
35393 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
35394 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
35395 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
35396 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
35397 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
35398 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35399 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35400 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35401 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35402 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
35403 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35404 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
35405 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
35406 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
35407 (__isnanf): Likewise.
35408 (__isinf_ns): Likewise.
35409 (__isinf_nsf): Likewise.
35410 (__finite): Likewise.
35411 (__finitef): Likewise.
35412 (__ieee754_sqrt): Define as macro.
35413 (__ieee754_sqrtf): Define as macro.
35414 (__ieee754_sqrtl): Define as macro.
35415 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
35416 inlined copy.
35417 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
35418 __FINITE_MATH_ONLY__ consistent.
35419 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
35420
12cc2fcd
AS
354212011-10-10 Andreas Schwab <schwab@linux-m68k.org>
35422
a843a204
AS
35423 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
35424 of rawmemchr.
35425
12cc2fcd
AS
35426 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
35427
c853acd5
UD
354282011-10-09 Ulrich Drepper <drepper@gmail.com>
35429
35430 * po/ja.po: Update from translation team.
35431
c658d255
RM
354322011-10-08 Roland McGrath <roland@hack.frob.com>
35433
110946e4
RM
35434 * locale/programs/locarchive.c (prepare_address_space): New function.
35435 (create_archive, enlarge_archive, open_archive): Use it.
35436
50604220
RM
35437 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
35438 inside [SHARED], where it is used.
35439
c658d255
RM
35440 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
35441
35442 * nss/getent.c (netgroup_keys): Remove unused variable.
35443 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35444
6a621eb7
UD
354452011-10-08 Ulrich Drepper <drepper@gmail.com>
35446
7edb55ce
UD
35447 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
35448 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
35449 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
35450 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
35451 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
35452 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
35453 * math/Makefile (libm-calls): Add s_isinf_ns.
35454 * math/divtc3.c: Use __isinf_nsl instead of isinf.
35455 * math/multc3.c: Likewise.
35456 * math/s_casin.c: Likewise.
35457 * math/s_casinf.c: Likewise.
35458 * math/s_casinl.c: Likewise.
35459 * math/s_ccos.c: Likewise.
35460 * math/s_ccosf.c: Likewise.
35461 * math/s_ccosl.c: Likewise.
35462 * math/s_ctan.c: Likewise.
35463 * math/s_ctanf.c: Likewise.
35464 * math/s_ctanh.c: Likewise.
35465 * math/s_ctanhf.c: Likewise.
35466 * math/s_ctanhl.c: Likewise.
35467 * math/s_ctanl.c: Likewise.
35468 * math/w_fmod.c: Likewise.
35469 * math/w_fmodf.c: Likewise.
35470 * math/w_fmodl.c: Likewise.
35471 * math/w_remainder.c: Likewise.
35472 * math/w_remainderf.c: Likewise.
35473 * math/w_remainderl.c: Likewise.
35474 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
35475 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
35476 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
35477 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
35478 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
35479 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
35480 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
35481 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
35482
187da0ae
UD
35483 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
35484 of the number.
35485 * stdio-common/printf_fphex.c: Likewise.
35486 * stdio-common/printf_size.c: Likewise.
35487
9277c064
UD
35488 * math/e_exp10.c: Include math_private.h using <...> not "...".
35489 * math/e_exp10f.c: Likewise.
35490 * math/e_exp10l.c: Likewise.
35491 * math/e_exp2l.c: Likewise.
35492 * math/e_j0l.c: Likewise.
35493 * math/e_j1l.c: Likewise.
35494 * math/e_jnl.c: Likewise.
35495 * math/e_lgammal_r.c: Likewise.
35496 * math/e_rem_pio2l.c: Likewise.
35497 * math/e_scalb.c: Likewise.
35498 * math/e_scalbf.c: Likewise.
35499 * math/e_scalbl.c: Likewise.
35500 * math/k_cosl.c: Likewise.
35501 * math/k_sinl.c: Likewise.
35502 * math/k_tanl.c: Likewise.
35503 * math/s_cacoshf.c: Likewise.
35504 * math/s_catan.c: Likewise.
35505 * math/s_catanf.c: Likewise.
35506 * math/s_catanh.c: Likewise.
35507 * math/s_catanhf.c: Likewise.
35508 * math/s_catanhl.c: Likewise.
35509 * math/s_catanl.c: Likewise.
35510 * math/s_ccosh.c: Likewise.
35511 * math/s_ccoshf.c: Likewise.
35512 * math/s_ccoshl.c: Likewise.
35513 * math/s_cexp.c: Likewise.
35514 * math/s_cexpf.c: Likewise.
35515 * math/s_cexpl.c: Likewise.
35516 * math/s_clog.c: Likewise.
35517 * math/s_clog10.c: Likewise.
35518 * math/s_clog10f.c: Likewise.
35519 * math/s_clog10l.c: Likewise.
35520 * math/s_clogf.c: Likewise.
35521 * math/s_clogl.c: Likewise.
35522 * math/s_csin.c: Likewise.
35523 * math/s_csinf.c: Likewise.
35524 * math/s_csinh.c: Likewise.
35525 * math/s_csinhf.c: Likewise.
35526 * math/s_csinhl.c: Likewise.
35527 * math/s_csinl.c: Likewise.
35528 * math/s_csqrt.c: Likewise.
35529 * math/s_csqrtf.c: Likewise.
35530 * math/s_csqrtl.c: Likewise.
35531 * math/s_ctan.c: Likewise.
35532 * math/s_ctanf.c: Likewise.
35533 * math/s_ctanh.c: Likewise.
35534 * math/s_ctanhf.c: Likewise.
35535 * math/s_ctanhl.c: Likewise.
35536 * math/s_ctanl.c: Likewise.
35537 * math/s_ldexp.c: Likewise.
35538 * math/s_ldexpf.c: Likewise.
35539 * math/s_ldexpl.c: Likewise.
35540 * math/s_significand.c: Likewise.
35541 * math/s_significandf.c: Likewise.
35542 * math/s_significandl.c: Likewise.
35543 * math/w_acos.c: Likewise.
35544 * math/w_acosf.c: Likewise.
35545 * math/w_acosh.c: Likewise.
35546 * math/w_acoshf.c: Likewise.
35547 * math/w_acoshl.c: Likewise.
35548 * math/w_acosl.c: Likewise.
35549 * math/w_asin.c: Likewise.
35550 * math/w_asinf.c: Likewise.
35551 * math/w_asinl.c: Likewise.
35552 * math/w_atan2.c: Likewise.
35553 * math/w_atan2f.c: Likewise.
35554 * math/w_atan2l.c: Likewise.
35555 * math/w_atanh.c: Likewise.
35556 * math/w_atanhf.c: Likewise.
35557 * math/w_atanhl.c: Likewise.
35558 * math/w_cosh.c: Likewise.
35559 * math/w_coshf.c: Likewise.
35560 * math/w_coshl.c: Likewise.
35561 * math/w_dremf.c: Likewise.
35562 * math/w_exp10.c: Likewise.
35563 * math/w_exp10f.c: Likewise.
35564 * math/w_exp10l.c: Likewise.
35565 * math/w_exp2.c: Likewise.
35566 * math/w_exp2f.c: Likewise.
35567 * math/w_fmod.c: Likewise.
35568 * math/w_fmodf.c: Likewise.
35569 * math/w_fmodl.c: Likewise.
35570 * math/w_hypot.c: Likewise.
35571 * math/w_hypotf.c: Likewise.
35572 * math/w_hypotl.c: Likewise.
35573 * math/w_j0.c: Likewise.
35574 * math/w_j0f.c: Likewise.
35575 * math/w_j0l.c: Likewise.
35576 * math/w_j1.c: Likewise.
35577 * math/w_j1f.c: Likewise.
35578 * math/w_j1l.c: Likewise.
35579 * math/w_jn.c: Likewise.
35580 * math/w_jnf.c: Likewise.
35581 * math/w_jnl.c: Likewise.
35582 * math/w_lgamma.c: Likewise.
35583 * math/w_lgamma_r.c: Likewise.
35584 * math/w_lgammaf.c: Likewise.
35585 * math/w_lgammaf_r.c: Likewise.
35586 * math/w_lgammal.c: Likewise.
35587 * math/w_lgammal_r.c: Likewise.
35588 * math/w_log.c: Likewise.
35589 * math/w_log10.c: Likewise.
35590 * math/w_log10f.c: Likewise.
35591 * math/w_log10l.c: Likewise.
35592 * math/w_log2.c: Likewise.
35593 * math/w_log2f.c: Likewise.
35594 * math/w_log2l.c: Likewise.
35595 * math/w_logf.c: Likewise.
35596 * math/w_logl.c: Likewise.
35597 * math/w_pow.c: Likewise.
35598 * math/w_powf.c: Likewise.
35599 * math/w_powl.c: Likewise.
35600 * math/w_remainder.c: Likewise.
35601 * math/w_remainderf.c: Likewise.
35602 * math/w_remainderl.c: Likewise.
35603 * math/w_scalb.c: Likewise.
35604 * math/w_scalbf.c: Likewise.
35605 * math/w_scalbl.c: Likewise.
35606 * math/w_sinh.c: Likewise.
35607 * math/w_sinhf.c: Likewise.
35608 * math/w_sinhl.c: Likewise.
35609 * math/w_sqrt.c: Likewise.
35610 * math/w_sqrtf.c: Likewise.
35611 * math/w_sqrtl.c: Likewise.
35612 * math/w_tgamma.c: Likewise.
35613 * math/w_tgammaf.c: Likewise.
35614 * math/w_tgammal.c: Likewise.
35615
6a621eb7
UD
35616 * po/ja.po: Update from translation team.
35617
bf582445
AJ
356182011-09-29 Andreas Jaeger <aj@suse.de>
35619
f9efbf3a
AJ
35620 [BZ #13179]
35621 * sunrpc/netname.c (netname2host): Fix logic.
35622
bf582445
AJ
35623 [BZ #6779]
35624 [BZ #6783]
35625 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
35626 correctly.
35627 * math/w_remainder.c (__remainder): Likewise.
35628 * math/w_remainderf.c (__remainderf): Likewise.
35629 * math/libm-test.inc (remainder_test): Add test cases.
35630
48693bea
AK
356312011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35632
35633 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
35634 sdiv_qrnnd.
35635
42622229
LD
356362011-10-07 Ulrich Drepper <drepper@gmail.com>
35637
35638 * string/test-memcmp.c: Avoid unncessary #defines.
35639 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
35640
093ecf92
LD
356412011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35642
35643 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
35644 Use new sse2 version for core i3 - i7 as it's faster
35645 than sse42 version.
35646 (bit_Prefer_PMINUB_for_stringop): New.
35647 * sysdeps/x86_64/rawmemchr.S: Update.
35648 Replace with faster SSE2 version.
35649 * sysdeps/x86_64/memrchr.S: New file.
35650 * sysdeps/x86_64/memchr.S: Update.
35651 Replace with faster SSE2 version.
35652
fde56e5c
MP
356532011-09-12 Marek Polacek <mpolacek@redhat.com>
35654
35655 * elf/dl-load.c (lose): Add cast to avoid warning.
35656
21fd49a9
UD
356572011-10-07 Ulrich Drepper <drepper@gmail.com>
35658
5a06e643
UD
35659 * po/ca.po: Update from translation team.
35660
684ae515
UD
35661 * inet/getnetgrent_r.c: Hook up nscd.
35662 * nscd/Makefile (routines): Add nscd_netgroup.
35663 (nscd-modules): Add netgroupcache.
35664 (CFLAGS-netgroupcache.c): Define.
35665 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
35666 (cache_search): Add const to second parameter.
35667 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
35668 INNETGR.
35669 (dbs): Add netgrdb entry.
35670 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
35671 (verify_persistent_db): Handle netgrdb.
35672 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
35673 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
35674 GETFDNETGR.
35675 (netgroup_response_header): Define.
35676 (innetgroup_response_header): Define.
35677 (datahead): Add netgroup_response_header and innetgroup_response_header
35678 elements.
35679 * nscd/nscd.conf: Add entries for netgroup cache.
35680 * nscd/nscd.h (dbtype): Add netgrdb.
35681 (_PATH_NSCD_NETGROUP_DB): Define.
35682 (netgroup_iov_disabled): Declare.
35683 (xmalloc, xcalloc, xrealloc): Move declarations here.
35684 (cache_search): Adjust prototype.
35685 Add netgroup-related prototypes.
35686 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
35687 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
35688 (__nscd_innetgr): Declare.
35689 * nscd/selinux.c (perms): Use access_vector_t as element type and
35690 add netgroup-related initializers.
35691 * nscd/netgroupcache.c: New file.
35692 * nscd/nscd_netgroup.c: New file.
35693 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
35694 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
35695 For four parameters use innetgr.
35696 * nss/nss_files/files-init.c: Add definition and callback for netgr.
35697 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
35698 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
35699 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
35700
21fd49a9
UD
35701 * nscd/connections.c (register_traced_file): Don't register file
35702 for disabled databases.
35703
054c0457
UD
357042011-10-06 Ulrich Drepper <drepper@gmail.com>
35705
32b63198
UD
35706 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
35707
054c0457
UD
35708 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
35709 from tree and freeing node.
35710
64031225
JO
357112011-09-25 Jiri Olsa <jolsa@redhat.com>
35712
35713 * nss/nsswitch.c (__nss_database_lookup): Handle
35714 nss_parse_service_list out of memory case.
35715
0490345c
JO
357162011-09-15 Jiri Olsa <jolsa@redhat.com>
35717
35718 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
35719 out of memory case.
35720
3a62d00d
AS
357212011-10-04 Andreas Schwab <schwab@redhat.com>
35722
35723 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
35724 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
35725 pass it down.
35726 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
35727 elf_machine_rela, elf_machine_lazy_rel.
35728 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
35729 (ELF_DYNAMIC_DO_REL): Likewise.
35730 (ELF_DYNAMIC_DO_RELA): Likewise.
35731 (ELF_DYNAMIC_RELOCATE): Likewise.
35732 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
35733 to ELF_DYNAMIC_DO_REL.
35734 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
35735 (dl_main): In trace mode always set __RTLD_NOIFUNC.
35736 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
35737 elf_machine_rela.
35738 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
35739 skip_ifunc, don't call ifunc function if non-zero.
35740 (elf_machine_rela): Likewise.
35741 (elf_machine_lazy_rel): Likewise.
35742 (elf_machine_lazy_rela): Likewise.
35743 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
35744 (elf_machine_lazy_rel): Likewise.
35745 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
35746 Likewise.
35747 (elf_machine_lazy_rel): Likewise.
35748 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35749 Likewise.
35750 (elf_machine_lazy_rel): Likewise.
35751 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
35752 (elf_machine_lazy_rel): Likewise.
35753 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
35754 (elf_machine_lazy_rel): Likewise.
35755 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35756 (elf_machine_lazy_rel): Likewise.
35757 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
35758 (elf_machine_lazy_rel): Likewise.
35759 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
35760 (elf_machine_lazy_rel): Likewise.
35761 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
35762 (elf_machine_lazy_rel): Likewise.
35763
68577918
UD
357642011-09-28 Ulrich Drepper <drepper@gmail.com>
35765
35766 * nss/nss_files/files-init.c (_nss_files_init): Use static
35767 initialization for all the *_traced_file variables.
35768
68822d74
AS
357692011-09-28 Andreas Schwab <schwab@redhat.com>
35770
35771 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35772
2056100b
RM
357732011-09-27 Roland McGrath <roland@hack.frob.com>
35774
35775 [BZ #13226]
35776 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
35777
32c76b63
AS
357782011-09-27 Andreas Schwab <schwab@redhat.com>
35779
35780 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
35781 Reread the line before reparsing it.
35782
bf972c9d
AS
357832011-09-26 Andreas Schwab <schwab@redhat.com>
35784
35785 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
35786
e057a1b5
JM
357872011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
35788 Maxim Kuvyrkov <maxim@codesourcery.com>
35789 Joseph Myers <joseph@codesourcery.com>
35790
35791 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
35792 if needed for __stack_chk_guard.
35793
bc7e1c36
RM
357942011-09-19 Roland McGrath <roland@hack.frob.com>
35795
ecb1482f
RM
35796 * sysdeps/posix/spawni.c (script_execute): Always define it.
35797 It will be optimized away if unused.
35798 (maybe_script_execute): New function.
35799 (__spawni): Call it.
35800
bc7e1c36
RM
35801 * Makerules: Don't include tls.make.
35802 (config-tls): Always set to thread.
35803 * tls.make.c: File removed.
35804
1c3b002b
MF
358052011-09-19 Mike Frysinger <vapier@gentoo.org>
35806
35807 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
35808 * config.make.in (CPPFLAGS-config): New substituted variable.
35809
2840865d
UD
358102011-09-15 Ulrich Drepper <drepper@gmail.com>
35811
88738eb6
UD
35812 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
35813
cbf645a6 35814 [BZ #13192]
2840865d
UD
35815 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
35816 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
35817
b402e91a
RM
358182011-09-15 Roland McGrath <roland@hack.frob.com>
35819
35820 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
35821 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
35822 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35823 (CALL_FAIL): Likewise.
35824 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
35825 (CALL_FAIL): Macro removed.
35826 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
35827
4c1a1f71
UD
358282011-09-15 Ulrich Drepper <drepper@gmail.com>
35829
35830 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
35831 for __FINITE_MATH_ONLY__ == 1.
35832
edc121be
AS
358332011-09-15 Andreas Schwab <schwab@redhat.com>
35834
35835 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
35836 __ieee754_sqrt instead of sqrt.
35837 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
35838 __ieee754_sqrtf instead of sqrtf.
35839 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
35840 __floorf instead of floorf.
35841 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
35842 __floorf, __truncf instead of floorf, truncf.
35843
cd205654
UD
358442011-09-14 Ulrich Drepper <drepper@gmail.com>
35845
ee4d0315
UD
35846 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
35847
cd205654
UD
35848 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
35849 __extern_always_inline.
35850 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
35851 32-bit.
35852
48b67d71
AS
358532011-09-14 Andreas Schwab <schwab@redhat.com>
35854
35855 * elf/rtld.c (dl_main): Also relocate in dependency order when
35856 doing symbol dependency testing.
35857
1ae12c75
AS
358582011-09-13 Andreas Schwab <schwab@linux-m68k.org>
35859
35860 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35861 Always define `refsym'.
35862
995a80df
AS
358632011-09-13 Andreas Schwab <schwab@redhat.com>
35864
e529793b
AS
35865 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
35866 (__FD_ELT): Renamed from __FDELT.
35867 * misc/bits/select2.h (__FD_ELT): Likewise.
35868 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
35869 __FD_MASK instead of __FDELT, __FDMASK.
35870 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35871 Likewise.
35872 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35873 Likewise.
35874
52d4fef8
AS
35875 * elf/Makefile (gen-ldd): Fix pattern.
35876
995a80df
AS
35877 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
35878 (init_tls): Likewise.
35879
8682f8b0
UD
358802011-09-12 Ulrich Drepper <drepper@gmail.com>
35881
35882 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
35883
de82006d
AS
358842011-09-12 Andreas Schwab <schwab@redhat.com>
35885
a7c8e6a1
AS
35886 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
35887 `struct cmsghdr *' instead of `void *'.
35888 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
35889 Likewise.
35890
0f31fe77
AS
358912011-09-11 Andreas Schwab <schwab@linux-m68k.org>
35892
35893 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
35894 if non-absolute.
35895 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
35896 ldd_rewrite_script.
0f31fe77 35897
32b4c839
UD
358982011-09-11 Ulrich Drepper <drepper@gmail.com>
35899
83cd1420
UD
35900 * configure.in: Remove --with-tls option.
35901 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
35902 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
35903 out in case it is missing.
35904 * sysdeps/ia64/elf/configure.in: Likewise.
35905 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
35906 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
35907 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
35908 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
35909 * sysdeps/sh/elf/configure.in: Likewise.
35910 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
35911 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35912 * sysdeps/x86_64/elf/configure.in: Likewise.
35913 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
35914 * sysdeps/mach/hurd/tls.h: Likewise.
35915
633f745d
UD
35916 [BZ #13067]
35917 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
35918
f318beb8
UD
35919 [BZ #13090]
35920 * configure.in: Fix use of AC_INIT.
35921
32b4c839
UD
35922 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
35923
3ce1f295
UD
359242011-09-10 Ulrich Drepper <drepper@gmail.com>
35925
bb016596
UD
35926 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
35927 __set_errno.
8e58439c
UD
35928 * malloc/hooks.c: Likewise.
35929
aebae053 35930 [BZ #11929]
02d46fc4
UD
35931 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
35932 variables statically.
35933 (narenas): Initialize.
35934 (list_lock): Initialize.
bb016596
UD
35935 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
35936 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
35937 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
35938 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
35939 Add initializers to main_arena and mp_.
35940 (malloc_state): Remove pagesize member. Change all users to use
35941 GLRO(dl_pagesize).
35942
35943 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
35944 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
35945 is always initialized.
35946
22a89187
UD
35947 * malloc/malloc.c: Removed unused configurations and dead code.
35948 * malloc/arena.c: Likewise.
35949 * malloc/hooks.c: Likewise.
02d46fc4 35950 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 35951
d063d164
UD
35952 * include/tls.h: Removed. USE___THREAD must always be defined.
35953 * bits/libc-tsd.h: Don't handle !USE___THREAD.
35954 * elf/dl-libc.c: Likewise.
35955 * elf/dl-tsd.c: Likewise.
35956 * include/errno.h: Likewise.
35957 * include/netdb.h: Likewise.
35958 * include/resolv.h: Likewise.
35959 * inet/herrno-loc.c: Likewise.
35960 * inet/herrno.c: Likewise.
35961 * malloc/arena.c: Likewise.
35962 * malloc/hooks.c: Likewise.
35963 * malloc/malloc.c: Likewise.
35964 * resolv/res-state.c: Likewise.
35965 * resolv/res_libc.c: Likewise.
35966 * sysdeps/i386/dl-machine.h: Likewise.
35967 * sysdeps/ia64/dl-machine.h: Likewise.
35968 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35969 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35970 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35971 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35972 * sysdeps/sh/dl-machine.h: Likewise.
35973 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35974 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35975 * sysdeps/unix/i386/sysdep.S: Likewise.
35976 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35977 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
35978 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
35979 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35980 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
35981 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35982 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35983 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35984 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35985 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35986 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35987 * sysdeps/x86_64/dl-machine.h: Likewise.
35988 * tls.make.c: Likewise.
35989
3ce1f295
UD
35990 * configure.in: Remove --with-__thread option. Make tests for
35991 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
35992 tls_model attribute fail if no support is available. Remove
35993 USE_IN_LIBIO.
35994 * Makeconfig: Adjust for dropped configure option. All features are
35995 now mandatory.
35996 * Makerules: Likewise.
35997 * Versions.def: Likewise.
35998 * argp/argp-fmtstream.c: Likewise.
35999 * argp/argp-fmtstream.h: Likewise.
36000 * argp/argp-help.c: Likewise.
36001 * assert/assert.c: Likewise.
36002 * config.h.in: Likewise.
36003 * config.make.in: Likewise.
36004 * configure: Likewise.
36005 * configure.in: Likewise.
36006 * csu/Versions: Likewise.
36007 * csu/init.c: Likewise.
36008 * elf/tst-audit2.c: Likewise.
36009 * elf/tst-tls10.c: Likewise.
36010 * elf/tst-tls10.h: Likewise.
36011 * elf/tst-tls11.c: Likewise.
36012 * elf/tst-tls12.c: Likewise.
36013 * elf/tst-tls14.c: Likewise.
36014 * elf/tst-tlsmod11.c: Likewise.
36015 * elf/tst-tlsmod12.c: Likewise.
36016 * elf/tst-tlsmod13.c: Likewise.
36017 * elf/tst-tlsmod13a.c: Likewise.
36018 * elf/tst-tlsmod14a.c: Likewise.
36019 * elf/tst-tlsmod15b.c: Likewise.
36020 * elf/tst-tlsmod16a.c: Likewise.
36021 * elf/tst-tlsmod16b.c: Likewise.
36022 * elf/tst-tlsmod7.c: Likewise.
36023 * elf/tst-tlsmod8.c: Likewise.
36024 * elf/tst-tlsmod9.c: Likewise.
36025 * gmon/gmon.c: Likewise.
36026 * grp/fgetgrent_r.c: Likewise.
36027 * grp/putgrent.c: Likewise.
36028 * hurd/fopenport.c: Likewise.
36029 * include/libc-symbols.h: Likewise.
36030 * include/tls.h: Likewise.
36031 * intl/gettextP.h: Likewise.
36032 * intl/loadinfo.h: Likewise.
36033 * locale/global-locale.c: Likewise.
36034 * locale/localeinfo.h: Likewise.
36035 * mach/devstream.c: Likewise.
36036 * malloc/arena.c: Likewise.
36037 * malloc/set-freeres.c: Likewise.
36038 * misc/err.c: Likewise.
36039 * misc/getttyent.c: Likewise.
36040 * misc/mntent_r.c: Likewise.
36041 * posix/getopt.c: Likewise.
36042 * posix/wordexp.c: Likewise.
36043 * pwd/fgetpwent_r.c: Likewise.
36044 * resolv/Versions: Likewise.
36045 * resolv/res_hconf.c: Likewise.
36046 * shadow/fgetspent_r.c: Likewise.
36047 * shadow/putspent.c: Likewise.
36048 * stdio-common/printf_fphex.c: Likewise.
36049 * stdio-common/tmpfile.c: Likewise.
36050 * stdlib/abort.c: Likewise.
36051 * stdlib/fmtmsg.c: Likewise.
36052 * sunrpc/auth_unix.c: Likewise.
36053 * sunrpc/clnt_perr.c: Likewise.
36054 * sunrpc/clnt_tcp.c: Likewise.
36055 * sunrpc/clnt_udp.c: Likewise.
36056 * sunrpc/clnt_unix.c: Likewise.
36057 * sunrpc/openchild.c: Likewise.
36058 * sunrpc/svc_simple.c: Likewise.
36059 * sunrpc/svc_tcp.c: Likewise.
36060 * sunrpc/svc_udp.c: Likewise.
36061 * sunrpc/svc_unix.c: Likewise.
36062 * sunrpc/xdr.c: Likewise.
36063 * sunrpc/xdr_array.c: Likewise.
36064 * sunrpc/xdr_rec.c: Likewise.
36065 * sunrpc/xdr_ref.c: Likewise.
36066 * sunrpc/xdr_stdio.c: Likewise.
36067
1248c1c4
PB
360682011-09-09 Ulrich Drepper <drepper@gmail.com>
36069
36070 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36071
360722011-07-03 Andreas Jaeger <aj@suse.de>
36073
36074 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
36075 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
36076 regenerate with gen-libm-tests.pl.
36077
360782010-05-12 Petr Baudis <pasky@suse.cz>
36079
36080 [BZ #11589]
36081 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
36082 around j0() zero points by switching to j1().
36083 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36084 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36085 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36086 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36087
f22e1074
UD
360882011-09-09 Ulrich Drepper <drepper@gmail.com>
36089
f19009c1
UD
36090 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
36091 instead of 0.
36092 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 36093 instead of 0.
f19009c1
UD
36094 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36095 Patch in part by Pavel Roskin <proski@gnu.org>.
36096
3f8cc204
UD
36097 [BZ #13138]
36098 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
36099 realloc.
36100 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
36101 Free memory block if necessary.
36102
f22e1074
UD
36103 [BZ #12847]
36104 * libio/genops.c (INTDEF): For string streams the _lock pointer can
36105 be NULL. Don't lock in this case.
36106
0a2349f9
RM
361072011-09-09 Roland McGrath <roland@hack.frob.com>
36108
36109 * elf/elf.h (ELFOSABI_GNU): New macro.
36110 (ELFOSABI_LINUX): Define to that.
36111
f3cdd467
DZ
361122011-07-29 Denis Zaitceff <zaitceff@gmail.com>
36113
36114 * string/strncat.c (strncat): Undef the symbol in case it has been
36115 defined in bits/string.h.
36116
74718d13
UD
361172011-09-09 Ulrich Drepper <drepper@gmail.com>
36118
633e9e0f
UD
36119 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
36120
0a2349f9 36121 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
36122 link map.
36123
f9924780
AJ
361242011-08-17 Andreas Jaeger <aj@suse.de>
36125
36126 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
36127
7f5517aa
PP
361282011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
36129 Ian Lance Taylor <iant@google.com>
36130
36131 * math/libm-test.inc (lround_test): New testcase.
36132 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
36133
762011fe
UD
361342011-09-08 Ulrich Drepper <drepper@gmail.com>
36135
92963737
UD
36136 * Makefile: Remove support for automatic cvs check-ins.
36137 * Makerules: Likewise.
36138 * config.make.in: Likewise.
36139 * configure.in: Likewise.
36140 * intl/Makefile: Likewise.
36141 * locale/Makefile: Likewise.
36142 * po/Makefile: Likewise.
36143 * posix/Makefile: Likewise.
36144 * sysdeps/gnu/Makefile: Likewise.
36145 * sysdeps/mach/hurd/Makefile: Likewise.
36146 * sysdeps/sparc/sparc32/Makefile: Likewise.
36147
b0727fd8
JS
36148 [BZ #13118]
36149 * posix/Makefile (bug-regex32-ENV): Define.
36150 Patch by John Stanley <jpsinthemix@verizon.net>.
36151
a0f33f99
UD
36152 * misc/Makefile (headers): Add bits/select2.h.
36153 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
36154 * misc/bits/select2.h: New file.
36155 * include/bits/select2.h: New file.
36156 * debug/Makefile (routines): Add fdelt_chk.
36157 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
36158 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
36159 FD_ISSET.
36160 * debug/fdelt_chk.c: New file.
36161
762011fe
UD
36162 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
36163 * wcsmbs/test-wmemcmp.c: Likewise.
36164 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 36165 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
36166
361672011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36168
36169 * string/Makefile (strop-tests): Add memcmp.
36170 * string/test-wmemcmp.c: New file.
36171 * string/test-memcmp.c: Add wmemcmp support.
36172
7f513ec8
RM
361732011-09-08 Roland McGrath <roland@hack.frob.com>
36174
0442afb4
RM
36175 [BZ #13153]
36176 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
36177 2011-07-19 change.
36178
7f513ec8
RM
36179 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
36180 garbage value in a __mach_port_mod_refs call in the cases of the
36181 task-self and thread-self ports.
36182
a12b2239
ST
361832011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
36184
36185 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
36186
610f9ab4
AS
361872011-09-08 Andreas Schwab <schwab@redhat.com>
36188
7f513ec8 36189 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 36190
48882a1a
LD
361912011-09-07 Ulrich Drepper <drepper@gmail.com>
36192
b49865be
UD
36193 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
36194
fdc86bc9
UD
36195 * elf/dl-libc.c (dlerror_run): Pass back error code from
36196 dl_catch_error.
36197
c966526a
UD
36198 [BZ #13123]
36199 * elf/dl-load.c (lose): Free l_origin if it is valid.
36200
48882a1a
LD
36201 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
36202 names.
36203 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
36204 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36205 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36206 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36207 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
36208 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
36209
77a2a8b4
AZ
362102011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36211
36212 * sysdeps/powerpc/fpu/e_hypot.c: New file.
36213 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
36214 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
36215 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
36216 * sysdeps/powerpc/fpu/k_cosf.c: New file.
36217 * sysdeps/powerpc/fpu/k_sinf.c: New file.
36218 * sysdeps/powerpc/fpu/s_cosf.c: New file.
36219 * sysdeps/powerpc/fpu/s_sinf.c: New file.
36220 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
36221 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
36222
24f579d8
AM
362232011-08-15 Alan Modra <amodra@gmail.com>
36224
36225 [BZ #13092]
36226 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
36227 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
36228 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
36229 ppc_mcount to static-only-routines.
36230 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
36231 __mcount_internal.
36232 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
36233 __mcount_internal with usual JUMPTARGET. Remove useless nop.
36234
3d4837df
UD
362352011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
36236
36237 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
36238 for finite and infinity parameters.
36239
22700377
WS
362402011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36241
36242 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
36243 and add nop instructions for throughput optimization.
36244 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36245
5025581e
WS
362462011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
36247
36248 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
36249 aligned copy for power7 with vector-scalar instructions.
36250 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
36251
08a300c9
L
362522011-07-24 H.J. Lu <hongjiu.lu@intel.com>
36253
36254 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
36255 AVX check.
36256
59178ef9
AS
362572011-09-07 Andreas Schwab <schwab@redhat.com>
36258
36259 [BZ #13144]
36260 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
36261 last change.
36262
e38ba7ab
UD
362632011-09-07 Ulrich Drepper <drepper@gmail.com>
36264
36265 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36266 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
36267 syscall wrapper around clock_gettime in __vdso_clock_gettime.
36268 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
36269 clock_gettime.
36270
d53a73ac
UD
362712011-09-06 Ulrich Drepper <drepper@gmail.com>
36272
fc8bffcc
UD
36273 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
36274 Forgot to demangle the pointer.
36275
ceaa0c5d
UD
36276 * sysdeps/i386/sysdep.h: Define atom_text_section.
36277 * sysdeps/x86_64/sysdep.h: Likewise.
36278 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
36279 section with atom_text_section.
36280 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36281 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36282 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
36283 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36284 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
36285
a77d3c17
UD
36286 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
36287 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
36288 already be defined. Change to take two parameters and don't assign
36289 result to variable. Adjust all users.
36290 Define INTERNAL_GETTIME if not already defined.
36291 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
36292 call.
36293 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
36294 HAVE_CLOCK_GETTIME_VSYSCALL.
36295 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
36296
d53a73ac
UD
36297 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
36298 gettimeofday vsyscall, just use time.
36299
a8f84144
AS
363002011-09-06 Andreas Schwab <schwab@redhat.com>
36301
36302 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
36303 <errno.h>.
36304
ef606249
UD
363052011-09-06 Ulrich Drepper <drepper@gmail.com>
36306
36307 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
36308 syscall on x86-64.
36309 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
36310 syscall.
36311 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
36312 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
36313 syscall if possible.
36314
6585cb60
UD
363152011-09-05 Ulrich Drepper <drepper@gmail.com>
36316
36317 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
36318 e_ident. Don't pass to find_mapsXX.
36319 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
36320
a5f524e4
LD
363212011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36322
36323 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36324 strchr-sse2-no-bsf strrchr-sse2-no-bsf
36325 * sysdeps/x86_64/multiarch/strchr.S: Update.
36326 Check bit_slow_BSF bit.
36327 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36328 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
36329 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
36330
554881ef
UD
363312011-09-05 Ulrich Drepper <drepper@gmail.com>
36332
d96de963
UD
36333 [BZ #13134]
36334 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
36335 before glibc 2.15.
36336 (tryshell): Define.
36337 (__spawni): Change last parameter to be flag. Test
36338 SPAWN_XFLAGS_USE_PATH flag to use path or not.
36339 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
36340 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
36341 * posix/spawni.c: Likewise.
36342 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
36343 * posix/spawnp.c: Likewise. Change normal version to use
36344 SPAWN_XFLAGS_USE_PATH.
36345 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
36346 SPAWN_XFLAGS_TRY_SHELL.
36347
d48e5868
UD
36348 [BZ #13150]
36349 * posix/glob.h: Remove gcc 1.x support.
36350
554881ef
UD
36351 [BZ #13068]
36352 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
36353
693fb948
LD
363542011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36355
36356 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36357 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
36358 strrchr-sse2-bsf
36359 * sysdeps/i386/i686/multiarch/strchr.S: New file.
36360 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
36361 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
36362 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
36363 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
36364 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
36365
1b48c537
UD
363662011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36367
49d42c37
UD
36368 * sysdeps/x86_64/wcscmp.S: New file.
36369
1b48c537
UD
36370 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
36371 wcscmp-c wcscmp-sse2
36372 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
36373 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
36374 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
36375 * wcsmbs/wcscmp.c: Allow renaming.
36376
15c95c5d
DM
363772011-09-05 David S. Miller <davem@davemloft.net>
36378
36379 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
36380 stack slot, rather than the struct return pointer slot.
36381 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
36382 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
36383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
36384 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
36385
2f0ad8f3
UD
363862011-09-05 Ulrich Drepper <drepper@gmail.com>
36387
d88ae418
UD
36388 * po/ja.po: Update from translation team.
36389
2f0ad8f3
UD
36390 [BZ #13144]
36391 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
36392 kernel in 64-bit binaries.
36393
5f4318d1
DM
363942011-09-01 David S. Miller <davem@davemloft.net>
36395
36396 * elf/elf.h (HWCAP_SPARC_*): Move to..
36397 * sysdeps/sparc/sysdep.h: this new file and add new values.
36398 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
36399 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
36400 _DL_HWCAP_COUNT to 24.
36401 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36402 entries.
36403 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
36404 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
36405 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
36406 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
36407 instead of magic constants.
36408 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36409
3ba57516
DM
364102011-08-31 David S. Miller <davem@davemloft.net>
36411
36412 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
36413 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
36414 Reimplement to do errno handling inline.
36415 (SYSCALL_ERROR_HANDLER): New macro.
36416 (__SYSCALL_STRING): Do not do errno handling in asm.
36417 (__CLONE_SYSCALL_STRING): Delete.
36418 (__INTERNAL_SYSCALL_STRING): Delete.
36419 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
36420 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
36421 (PSEUDO): Reimplement to do errno handling inline.
36422 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
36423 (SYSCALL_ERROR_HANDLER): New macro.
36424 (__SYSCALL_STRING): Do not do errno handling in asm.
36425 (__CLONE_SYSCALL_STRING): Delete.
36426 (__INTERNAL_SYSCALL_STRING): Delete.
36427 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
36428 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
36429 i386.
36430 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
36431 (inline_syscall*): Add 'err' argument.
36432 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
36433 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
36434 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
36435 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
36436
36437 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
36438 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36439
2bc17433
AS
364402011-08-30 Andreas Schwab <schwab@redhat.com>
36441
36442 * elf/rtld.c (dl_main): Relocate objects in dependency order.
36443
fbeb5f4d
JO
364442011-08-29 Jiri Olsa <jolsa@redhat.com>
36445
36446 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
36447 directive.
36448
ad69cc26
DM
364492011-08-24 David S. Miller <davem@davemloft.net>
36450
36451 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
36452
39dd69df
AS
364532011-08-24 Andreas Schwab <schwab@redhat.com>
36454
36455 * elf/Makefile: Add rules to build and run unload8 test.
36456 * elf/unload8.c: New file.
36457 * elf/unload8mod1.c: New file.
36458 * elf/unload8mod1x.c: New file.
36459 * elf/unload8mod2.c: New file.
36460 * elf/unload8mod3.c: New file.
36461
36462 * elf/dl-close.c (_dl_close_worker): Reset private search list if
36463 it wasn't used.
36464
2c0b250a
DM
364652011-08-23 David S. Miller <davem@davemloft.net>
36466
36467 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
36468 subtract stack bias.
36469 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
36470 %sp not %fp in calculations.
36471 (_JMPBUF_UNWINDS_ADJ): Likewise.
36472
22044b48
DM
36473 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
36474 (aio_suspend): Call it to force an exception region around the
36475 AIO_MISC_WAIT() invocation.
36476
2cae4995
AS
364772011-08-23 Andreas Schwab <schwab@redhat.com>
36478
36479 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
36480 backslash.
36481
873a772e
AJ
364822011-07-04 Aurelien Jarno <aurelien@aurel32.net>
36483
36484 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
36485 protection macro.
36486 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
36487 and <dl-machine.h>.
36488 (Elf64_FuncDesc): Remove.
36489
25ad0df1
DM
364902011-08-22 David S. Miller <davem@davemloft.net>
36491
36492 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
36493 sigaltstack check, add missing cfi directives.
36494 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
36495 missing cfi directives, and sigaltstack handling.
36496
e888bcbe
AS
364972011-08-16 Andreas Schwab <schwab@redhat.com>
36498
36499 [BZ #11724]
36500 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
36501 object is seen twice.
36502 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36503
36504 * elf/Makefile (distribute): Add tst-initorder2.c.
36505 (tests): Add tst-initorder2.
36506 (modules-names): Add tst-initorder2a tst-initorder2b
36507 tst-initorder2c tst-initorder2d. Add rules to build them.
36508 ($(objpfx)tst-initorder2.out): New rule.
36509 * elf/tst-initorder2.c: New file.
36510 * elf/tst-initorder2.exp: New file.
36511
87162f46
AS
365122011-08-22 Andreas Schwab <schwab@redhat.com>
36513
70538b7f
AS
36514 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
36515
f55ffe58
AS
36516 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
36517 dependencies back to end of function.
36518
87162f46
AS
36519 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36520 $(elfobjdir)/ld.so.
36521
91b392a4
UD
365222011-08-21 Ulrich Drepper <drepper@gmail.com>
36523
36524 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
36525 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
36526 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
36527 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
36528 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
36529 of __vdso_gettimeofday.
36530 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
36531 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
36532 attribute_hidden.
36533 (_libc_vdso_platform_setup): Remove initialization of
36534 __vdso_gettimeofday and __vdso_time.
36535
5c43483f
UD
365362011-08-20 Ulrich Drepper <drepper@gmail.com>
36537
775a77e7
UD
36538 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
36539 and fgetc_unlocked.
36540 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
36541 getc_unlocked.
89f447ed 36542
49c74ba9
UD
36543 * elf/dl-open.c (add_to_global): Report additions to the global scope
36544 for LD_DEBUG=scopes.
36545 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 36546 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 36547
5c43483f
UD
36548 [BZ #13114]
36549 * stdio-common/Makefile (tests): Add bug24.
36550 * stdio-common/bug24.c: New file.
36551
a101b025
AJ
365522011-08-19 Andreas Jaeger <aj@suse.de>
36553
36554 [BZ #13114]
36555 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
36556 non-existant file when using close-on-exec mode.
36557
c88f1766
UD
365582011-08-20 Ulrich Drepper <drepper@gmail.com>
36559
0276a718
UD
36560 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
36561 the very first instruction.
36562
c88f1766
UD
36563 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
36564 the CFI state in the end.
36565 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
36566 inclusion of dl-trampoline.h.
36567 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
36568
51ccffa0
AS
365692011-08-19 Andreas Schwab <schwab@redhat.com>
36570
94d7165f
AS
36571 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
36572 expectations for long double.
36573
51ccffa0
AS
36574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
36575 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
36576
fd708658 365772011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
36578
36579 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
36580 artificual limit depends upon the system page size.
36581
44f0a71e
UD
365822011-08-17 Ulrich Drepper <drepper@gmail.com>
36583
36584 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
36585 * resolv/Makefile: Define CFLAGS-libresolv.
36586
8de79a24
AS
365872011-08-17 Andreas Schwab <schwab@redhat.com>
36588
36589 * nss/makedb.c (compute_tables): Make variables used in nested
36590 function static.
36591
27724598
UD
365922011-08-17 Ulrich Drepper <drepper@gmail.com>
36593
c5305d88
UD
36594 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
36595 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
36596 if buffer was too small.
36597
27724598
UD
36598 * elf/pldd.c (main): Attach to all threads in the process.
36599 Rewrite /proc handling to use *at functions.
36600
076fe015
UD
366012011-08-16 Ulrich Drepper <drepper@gmail.com>
36602
174baab3
UD
36603 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
36604 specifies first scope to show.
36605 (dl_open_worker): Update callers. Move printing scope of new
36606 object to before the relocation.
44f0a71e 36607 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
36608 * sysdeps/generic/ldsodefs.h: Update declaration.
36609
076fe015
UD
36610 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
36611 string for the scope number.
36612
a60df2c3
UD
366132011-08-14 Ulrich Drepper <drepper@gmail.com>
36614
36615 * nscd/servicescache.c (cache_addserv): Make sure written is always
36616 initialized.
36617
5e4287d1
RM
366182011-08-14 Roland McGrath <roland@hack.frob.com>
36619
85ae0589
RM
36620 * sysdeps/i386/i486/bits/atomic.h
36621 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
36622 statement expression, so as to suppress "set but not used" warning.
36623 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
36624
69f63097
RM
36625 * string/strncat.c (STRNCAT): Use prototype definition.
36626
675456ef
RM
36627 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
36628 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
36629 -Iprograms here.
36630 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
36631 (localedef-modules): Add localedef.
36632 (locale-modules): Add locale.
36633
5e4287d1
RM
36634 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
36635 * elf/rtld.c (dl_main): Invert order of assignment in last change,
36636 to avoid a warning.
36637
9c96ff23
DM
366382011-08-14 David S. Miller <davem@davemloft.net>
36639
36640 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
36641 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
36642
f9ddf089
UD
366432011-08-13 Ulrich Drepper <drepper@gmail.com>
36644
44f0a71e 36645 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
36646 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
36647 * elf/rtld.c (dl_main): Set l_name of vDSO.
36648 Call _dl_show_scope when DL_DEBUG_SCOPES.
36649 (process_dl_debug): Recognize scopes flag and also set it for all.
36650 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
36651 Declare _dl_show_scope.
36652
1dc27704
UD
36653 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
36654 (do_dlopen): Pass caller_dlopen to dl_open.
36655 (__libc_dlopen_mode): Initialize caller_dlopen.
36656
f9ddf089
UD
36657 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
36658 of libc. Make tolower call locale-independent. Optimize a bit by
36659 using isdigit instead of isalnum.
36660 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
36661
9ac533d3
UD
366622011-08-12 Ulrich Drepper <drepper@gmail.com>
36663
36664 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
36665 was a dependency or dynamically loaded.
36666
89edf2e9
UD
366672011-08-11 Ulrich Drepper <drepper@gmail.com>
36668
8e999d29
UD
36669 * intl/l10nflist.c: Allow architecture-specific pop function.
36670 * sysdeps/x86_64/l10nflist.c: New file.
36671
89edf2e9
UD
36672 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
36673 classification.
36674
14d96785
AS
366752011-08-10 Andreas Schwab <schwab@redhat.com>
36676
36677 * include/dirent.h: Add libc_hidden_proto for scandirat and
36678 scandirat64. Don't declare __scandirat64.
36679 * dirent/scandirat.c: Add libc_hidden_def.
36680 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
36681 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
36682
6761ac04
DM
366832011-08-10 David S. Miller <davem@davemloft.net>
36684
36685 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
36686 enum.
36687 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36688 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36689 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36690
c55fbd1e
UD
366912011-08-09 Ulrich Drepper <drepper@gmail.com>
36692
36693 * Versions.def [libc]: Add GLIBC_2.15.
36694 * dirent/Makefile (routines): Add scandirat and scandirat64.
36695 * dirent/Versions [libc]: Export scandirat and scandirat64 for
36696 GLIBC_2.15.
36697 * dirent/dirent.h: Declare scandirat and scandirat64.
36698 * dirent/scandirat.c: New file.
36699 * dirent/scandirat64.c: New file.
36700 * sysdeps/wordsize-64/scandirat.c: New file.
36701 * sysdeps/wordsize-64/scandirat64.c: New file.
36702 * dirent/opendir.c: Define opendirat.
36703 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
36704 using scandirat.
36705 * dirent/scandir64.c: Adjust for scandir.c change.
36706 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
36707 __scandirat64, and __scandir_cancel_handler.
36708 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
36709 additional parameter and use openat instead of open (outside of ld.so).
36710 Add new __opendir as wrapper around __opendirat.
36711 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
36712 here without requiring old scandirat implementation.
36713
879165f2
UD
367142011-08-08 Ulrich Drepper <drepper@gmail.com>
36715
36716 * dirent/scandir.c (cancel_handler): Renamed to
36717 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
36718 defined. Adjust users.
36719 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
36720 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
36721
cb7e923b
UD
367222011-08-04 Ulrich Drepper <drepper@gmail.com>
36723
16292edd
UD
36724 * string/test-string.h (IMPL): Use __STRING to expand name and then
36725 stringify it.
36726
cb7e923b
UD
36727 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
36728 of cleanups.
36729
cff82933
LD
367302011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36731
36732 * string/Makefile: Update.
36733 (strop-tests): Append strncat.
36734 * string/test-wcscmp.c: New file.
36735 New comprehensive test for wcscmp.
36736 * string/test-strcmp.c: Update.
36737 (WIDE): New define.
36738
9be9bfcc
AS
367392011-07-22 Andreas Schwab <schwab@redhat.com>
36740
36741 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
36742 line.
36743
2e96f1c7
AS
367442011-07-26 Andreas Schwab <schwab@redhat.com>
36745
36746 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36747 encoding to ACE if AI_IDN.
36748
85188888
JJ
367492011-08-01 Jakub Jelinek <jakub@redhat.com>
36750
36751 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
36752 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
36753
5fa16e9b
LD
367542011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36755
36756 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
36757 Fix overflow bug in strncat.
36758 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
36759
36760 * string/test-strncat.c: Update.
36761 Add new tests for checking overflow bugs.
36762
367632011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36764
36765 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36766 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
36767 * sysdeps/i386/i686/multiarch/strcat.S: New file.
36768 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
36769 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
36770 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
36771 * sysdeps/i386/i686/multiarch/strncat.S: New file.
36772 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
36773 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
36774
36775 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
36776 (USE_AS_STRCAT): Define.
36777 Add strcat and strncat support.
36778 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36779
8c1a459f
AS
367802011-07-25 Andreas Schwab <schwab@redhat.com>
36781
36782 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
36783 __n bigger than INT_MAX+1.
36784 (__strncmp_g): Likewise.
36785
bba33c28
UD
367862011-07-23 Ulrich Drepper <drepper@gmail.com>
36787
798be72d
UD
36788 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
36789 * libio/stido.h: Likewise.
36790
8accd4dc
UD
36791 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
36792 (AF_NFC): Define.
36793 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
36794 (AF_NFC): Define.
36795
cbff0d96
UD
36796 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
36797 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36798 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36799 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
36800 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36801
9191c04a
UD
36802 [BZ #13021]
36803 * scripts/test-installation.pl: Don't expect libnss_test1 to be
36804 installed.
36805
bba33c28
UD
36806 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
36807 typo.
36808 (_dl_x86_64_save_sse): Likewise.
36809
90f139dd
UD
368102011-07-22 Ulrich Drepper <drepper@gmail.com>
36811
1aae088a
UD
36812 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
36813 OSXSAVE.
36814 (_dl_x86_64_save_sse): Likewise.
36815
8e2045f5
UD
36816 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
36817
90f139dd
UD
36818 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
36819
1d002f25
AS
368202011-07-21 Andreas Schwab <schwab@redhat.com>
36821
36822 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
36823 change.
36824 (_dl_x86_64_save_sse): Use correct AVX check.
36825
21137f89
UD
368262011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36827
36828 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
36829 bug in strncpy/strncat.
36830 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
36831
a65c0b7a
UD
368322011-07-21 Ulrich Drepper <drepper@gmail.com>
36833
36834 * string/tester.c (test_strcat): Add tests for different alignments
36835 of source and destination.
36836 (test_strncat): Likewise.
36837
6986b98a
UD
368382011-07-20 Ulrich Drepper <drepper@gmail.com>
36839
90bb2039
UD
36840 [BZ #12852]
36841 * posix/glob.c (glob): Check passed in values before using them in
36842 expressions to avoid some overflows.
36843 (glob_in_dir): Likewise.
36844
5644ef54
UD
36845 [BZ #13007]
36846 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
36847 check for AVX enablement so that we don't crash with old kernels and
36848 new hardware.
36849 * elf/tst-audit4.c: Add same checks here.
36850 * elf/tst-audit6.c: Likewise.
36851
36852 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 36853
bfc9dc9b
AS
368542011-07-09 Andreas Schwab <schwab@linux-m68k.org>
36855
36856 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
36857
702e64bb
UD
368582011-07-20 Ulrich Drepper <drepper@gmail.com>
36859
36860 * po/cs.po: Update from translation team.
36861 * po/bg.po: Likewise.
36862
295e904f
MP
368632011-07-12 Marek Polacek <mpolacek@redhat.com>
36864
36865 * misc/sys/cdefs.h: Add support for const attribute.
36866 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
36867 to gnu_dev_{major,minor,makedev} functions.
36868
3ff94596
MP
368692011-07-20 Marek Polacek <mpolacek@redhat.com>
36870
36871 * intl/dcigettext.c (get_output_charset): Add missing bracket.
36872
28b59fca
AS
368732011-07-20 Andreas Schwab <schwab@redhat.com>
36874
36875 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
36876 strlen results.
36877
19df733e
AK
368782011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36879
36880 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
36881 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
36882 register in order to avoid conflicts with the soft frame pointer
36883 being held in r11 when necessary.
36884 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
36885 (INTERNAL_VSYSCALL_NCS): Likewise.
36886
c8835729
MP
368872011-07-14 Marek Polacek <mpolacek@redhat.com>
36888
36889 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
36890 * elf/dl-fini.c (_dl_fini): Adjust caller.
36891 * elf/dl-close.c (_dl_close_worker): Likewise.
36892 * sysdeps/generic/ldsodefs.h: Adjust declaration.
36893
b902330c
MP
368942011-07-15 Marek Polacek <mpolacek@redhat.com>
36895
8991e135
MP
36896 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
36897 "aux_cache->nlibs < 0".
36898
b902330c
MP
36899 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
36900 in the reload-count case.
36901
99710781
LD
369022011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36903
36904 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36905 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
36906 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
36907 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
36908 * sysdeps/x86_64/multiarch/strcat.S: New file.
36909 * sysdeps/x86_64/multiarch/strncat.S: New file.
36910 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
36911 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
36912 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
36913 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
36914 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
36915 (USE_AS_STRCAT): Define.
36916 Add strcat and strncat support.
36917 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36918 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36919 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
36920 * string/strncat.c: Update.
36921 (USE_AS_STRNCAT): Define.
36922 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36923 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
36924 and i7.
36925 * sysdeps/x86_64/multiarch/init-arch.h
36926 (bit_Prefer_PMINUB_for_stringop): New.
36927 (index_Prefer_PMINUB_for_stringop): Likewise.
36928 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
36929 bit_Prefer_PMINUB_for_stringop.
36930
7dc6bd90
UD
369312011-07-19 Ulrich Drepper <drepper@gmail.com>
36932
36933 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
36934 buffer64.
36935 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
36936 of casting of buffer.
36937 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
36938 buffer32 and buffer64.
36939 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
36940 writes instead of casting of buffer.
36941 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
36942 buffer32.
36943 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
36944 casting of buffer.
36945
e0e72284
AS
369462011-07-19 Andreas Schwab <schwab@redhat.com>
36947
36948 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
36949
feb1eb0b
UD
369502011-07-19 Ulrich Drepper <drepper@gmail.com>
36951
36952 * nscd/nscd.c (termination_handler): Don't do anything for a database
36953 if it has not yet been initialized.
36954
298711ff
UD
369552011-07-18 Ulrich Drepper <drepper@gmail.com>
36956
36957 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36958
369592011-07-15 Marek Polacek <mpolacek@redhat.com>
36960
36961 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36962
f9d68389
UD
369632011-07-18 Ulrich Drepper <drepper@gmail.com>
36964
36965 * po/nl.po: Update from translation team.
36966 * po/sv.po: Likewise.
36967
db290cf5
RM
369682011-07-16 Roland McGrath <roland@hack.frob.com>
36969
36970 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
36971 now disallowed by GCC.
5c550700 36972
fd5e21c7
RM
36973 * configure.in (use-default-link): Default to yes if a test -shared
36974 link meets our qualifications.
36975 * configure: Regenerated.
36976
5c550700
RM
36977 * config.make.in (output-format): New variable.
36978 * configure.in: Check for ld --print-output-format support.
36979 * configure: Regenerated.
36980 * Makerules ($(common-objpfx)format.lds)
36981 [$(output-format) != unknown]: Just use $(output-format),
36982 instead of the linker-script munging.
36983
9fa2c032
RM
369842011-07-14 Roland McGrath <roland@hack.frob.com>
36985
a6928d51
RM
36986 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
36987 of $(common-objpfx)shlib.lds.
36988 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
36989
661607b3
RM
36990 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
36991 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
36992
9fa2c032
RM
36993 * configure.in (-z relro check): Adjust test code to add a large
36994 writable data section after it.
36995 * configure: Regenerated.
36996
defe9061
RM
369972011-07-11 Roland McGrath <roland@hack.frob.com>
36998
36999 * configure.in (-z relro check): Fix test code to make the variable
37000 truly const.
37001 * configure: Regenerated.
37002
319b9ad4
UD
370032011-07-11 Ulrich Drepper <drepper@gmail.com>
37004
37005 * nscd/nscd.h (struct traced_file): Define.
37006 (struct database_dyn): Remove inotify_descr, reset_res, and filename
37007 elements. Add traced_files.
37008 (inotify_fd): Declare.
37009 (register_traced_file): Declare.
37010 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
37011 (inotify_fd): Export.
37012 (resolv_conf_descr): Remove.
37013 (nscd_init): Move inotify descriptor creation to main.
37014 Don't register files for notification here.
37015 (register_traced_file): New function.
37016 (invalidate_cache): Don't use reset_res to determine whether to call
37017 res_init, go through the list of registered files.
37018 (main_loop_poll): The inotify descriptors are now stored in the
37019 structures for the traced files.
37020 (main_loop_epoll): Likewise
37021 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
37022 to __nss_disable_nscd.
37023 * nscd/cache.c (prune_cache): There is no single inotify descriptor
37024 for a database anymore. Check the records for all the registered
37025 files instead.
37026 * nss/Makefile (libnss_files-routines): Add files-init.
37027 (libnss_db-routines): Add db-init.
37028 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
37029 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
37030 * nss/nss_db/db-init.c: New file.
37031 * nss/nss_files/files-init.c: New file.
37032 * nss/nsswitch.c (nss_load_library): New function. Broken out of
37033 __nss_lookup_function.
37034 (__nss_lookup_function): Call nss_load_library.
37035 (nss_load_all_libraries): New function.
37036 (__nss_disable_nscd): Take parameter with callback function for files
37037 to register. Set is_nscd. Load all the DSOs for the NSS modules
37038 used for the cached services.
37039 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
37040 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
37041 options for features to all the files in nscd.
37042
37043 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
37044
23bee3e8
RM
370452011-07-10 Roland McGrath <roland@hack.frob.com>
37046
37047 * csu/elf-init.c (__libc_csu_init): Comment typo.
37048
46a5b7f0
UD
370492011-07-09 Ulrich Drepper <drepper@gmail.com>
37050
37051 * po/pl.po: Update from translation team.
37052 * po/ja.po: Likewise.
37053 * po/ru.po: Likewise.
37054 * po/ko.po: Likewise.
37055 * po/fr.po: Likewise.
37056
d30cf5bb
RM
370572011-07-09 Roland McGrath <roland@hack.frob.com>
37058
113ddea4
RM
37059 * configure.in (.ctors/.dtors header and trailer check):
37060 Use an empirical test on a built program.
37061 * configure: Regenerated.
37062
574920b4
RM
37063 * configure.in (-z relro check): Use an empirical test on a built DSO.
37064 Detect, but do not require, on ia64.
37065 * configure: Regenerated.
37066
d30cf5bb
RM
37067 * configure.in (READELF): Find it with AC_CHECK_TOOL.
37068 Update tests that use readelf to use $READELF instead.
37069 * configure: Regenerated.
37070
8538fdb3
UD
370712011-07-08 Ulrich Drepper <drepper@gmail.com>
37072
37073 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
37074 if the result is not used.
37075
04d08991
AJ
370762011-07-05 Andreas Jaeger <aj@suse.de>
37077
37078 [BZ#9696]
37079 * stdlib/tst-strtod.c: Add testcase.
37080
de283087
AD
370812011-07-07 Ulrich Drepper <drepper@gmail.com>
37082
4e5f31c8 37083 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 37084 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
37085 The latter has a higher limit. Take additional parameter to pass to
37086 the new function.
37087 (__pathconf): Pass file to __statfs_link_max.
37088 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
37089 __statfs_link_max.
37090 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
37091 __statfs_link_max.
37092
de283087
AD
37093 [BZ #12868]
37094 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
37095 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37096 Handle Lustre.
37097 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
37098 (__statfs_filesize_max): Likewise.
37099 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
37100
c75fa153
AJ
371012011-07-05 Andreas Jaeger <aj@suse.de>
37102
37103 * resolv/res_comp.c (dn_skipname): Remove unused variable.
37104
1a544854
UD
371052011-07-06 Marek Polacek <mpolacek@redhat.com>
37106
37107 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
37108 `status' variable.
37109 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
37110 Likewise.
37111
6f0eec67
UD
371122011-07-04 H.J. Lu <hongjiu.lu@intel.com>
37113
37114 * Makefile (strop-tests): Add strncat.
37115 * string/test-strncat.c: New file.
37116
aae30307
UD
371172011-06-30 Marek Polacek <mpolacek@redhat.com>
37118
37119 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
37120
c0cfb5eb
UD
371212011-06-21 Andreas Jaeger <aj@suse.de>
37122
37123 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
37124 Copy rule from iconvdata/Makefile.
37125
01636b21
UD
371262011-07-06 Ulrich Drepper <drepper@gmail.com>
37127
37128 [BZ #12922]
37129 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
37130 but no long options are defined, just return 'W'.
37131
9895c8bc
UD
371322011-06-22 Marek Polacek <mpolacek@redhat.com>
37133
37134 [BZ #9696]
37135 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
37136
5d4cf042
UD
371372011-07-06 Ulrich Drepper <drepper@gmail.com>
37138
37139 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
37140 netgroups to read.
960e5535 37141 (innetgr): Likewise.
5d4cf042 37142
751eb97e
RM
371432011-07-05 Roland McGrath <roland@hack.frob.com>
37144
37145 * config.make.in (install_root): Default to $(DESTDIR).
37146
f15f1e45
UD
371472011-07-05 Ulrich Drepper <drepper@gmail.com>
37148
37149 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
37150
4e34ac6a
RM
371512011-07-02 Roland McGrath <roland@hack.frob.com>
37152
5e9b6af4
RM
37153 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
37154
84f9ea0f
RM
37155 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
37156 containing directory rather than embedding absolute directory names.
37157
ea5ee9f7
RM
37158 * scripts/check-local-headers.sh: Rewritten using awk.
37159 Match by word, not by line. Print error messages for matches.
37160 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
37161
1b74661a
RM
37162 * Makerules [shlib-lds-flags empty]:
37163 ($(common-objpfx)libc_pic.opts): New target.
37164 ($(common-objpfx)libc_pic.os.clean): New target.
37165 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
37166
37167 * config.make.in (OBJCOPY): New variable.
37168 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
37169 * configure: Regenerated.
37170
f781ef40
RM
37171 * config.make.in (use-default-link): New variable.
37172 * configure.in (use_default_link): Grok --with-default-link to set it.
37173 * configure: Regenerated.
37174 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
37175 (shlib-lds, shlib-lds-flags): Define to empty.
37176
2d4fa81e
RM
37177 * Makerules (shlib-lds): New variable.
37178 (shlib-lds-flags): New variable.
37179 (build-shlib, build-moduile, build-module-asneeded): Use it.
37180 ($(common-objpfx)libc.so): Use $(shlib-lds).
37181 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
37182 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
37183
31fffa6b
RM
37184 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
37185 DT_FLAGS/DT_FLAGS_1 with zero flags.
37186
4e34ac6a
RM
37187 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
37188 linker script munging.
37189
fcfc776b
UD
371902011-07-02 Ulrich Drepper <drepper@gmail.com>
37191
37192 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
37193 as 128-bit value.
37194 * crypt/sha512.c (sha512_process_block): Perform total addition using
37195 128-bit if possible.
37196 (__sha512_finish_ctx): Likewise.
37197 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
37198 as 64-bit value.
37199 * crypt/sha256.c (SWAP64): Define.
37200 (sha256_process_block): Perform total addition using 64-bit if
37201 possible.
37202 (__sha256_finish_ctx): Likewise.
37203
99231d9a
UD
372042011-07-01 Ulrich Drepper <drepper@gmail.com>
37205
37206 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
37207 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37208 * nscd/hstcache.c (cache_addhst): Likewise.
37209 * nscd/grpcache.c (cache_addgr): Likewise.
37210 * nscd/aicache.c (addhstaiX): Likewise
37211 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
37212
445b4a53
TK
372132011-07-01 Thorsten Kukuk <kukuk@suse.de>
37214
37215 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
37216 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37217 * nscd/hstcache.c (cache_addhst): Likewise.
37218 * nscd/grpcache.c (cache_addgr): Likewise.
37219 * nscd/aicache.c (addhstaiX): Likewise
37220
6d4d8e8e
AS
372212011-07-01 Andreas Schwab <schwab@redhat.com>
37222
37223 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
37224 domain only when needed.
37225
89f654c5
AS
372262011-06-30 Andreas Schwab <schwab@redhat.com>
37227
37228 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
37229 is always restored.
37230
cf3b23ff
UD
372312011-06-29 Ulrich Drepper <drepper@gmail.com>
37232
37233 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
37234 are re-adding the entry.
37235 * nscd/servicescache.c (cache_addserv): Likewise.
37236
751626f9
AJ
372372011-06-30 Aurelien Jarno <aurelien@aurel32.net>
37238
37239 * sysdeps/generic/dl-irel.h: fix protection against multiple
37240 inclusions.
37241 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
37242
9113ea1f
UD
372432011-06-28 Ulrich Drepper <drepper@gmail.com>
37244
5c0b8d90
UD
37245 [BZ #12935]
37246 * malloc/memusage.sh: Fix quoting in message.
37247 * debug/xtrace.sh: Likewise.
37248
9113ea1f
UD
37249 * configure.in: Remove support for --experimental-malloc option, make
37250 it the default.
37251 * config.make.in: Likewise.
37252 * malloc/Makefile: Likewise.
37253
a4172181
AS
372542011-06-27 Andreas Schwab <schwab@redhat.com>
37255
37256 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
37257 two-byte characters.
37258
78a7eee7
RM
372592011-06-27 Roland McGrath <roland@hack.frob.com>
37260
62bede13
RM
37261 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
37262 AC_CACHE_CHECK invocation.
37263 * configure: Regenerated.
37264
78a7eee7
RM
37265 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
37266
5ce33a62
UD
372672011-06-27 Ulrich Drepper <drepper@gmail.com>
37268
034807a9
UD
37269 [BZ #12350]
37270 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
37271 bit from old_res_options.
37272
4902da17
UD
37273 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
37274
5ce33a62
UD
37275 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
37276 value type for setfct.
37277
c2344f56
L
372782011-06-23 H.J. Lu <hongjiu.lu@intel.com>
37279
37280 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
37281 __gettimeofday instead of gettimeofday.
37282
68468076
UD
372832011-06-26 Ulrich Drepper <drepper@gmail.com>
37284
37285 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
37286
acb0d739
L
372872011-06-24 H.J. Lu <hongjiu.lu@intel.com>
37288
37289 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
37290
37291 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
37292 info.
37293
8912479f
L
372942011-06-22 H.J. Lu <hongjiu.lu@intel.com>
37295
37296 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37297 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
37298 strcpy-sse2-unaligned strncpy-sse2-unaligned
37299 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
37300 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
37301 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
37302 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
37303 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
37304 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
37305 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
37306 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
37307 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
37308 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
37309 (STRCPY): Support SSE2 and SSSE3 versions.
37310
d5495a11
UD
373112011-06-24 Ulrich Drepper <drepper@gmail.com>
37312
37313 [BZ #12874]
37314 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
37315 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
37316 kernels which artificially limit size of requests.
37317
0b1cbaae
L
373182011-06-22 H.J. Lu <hongjiu.lu@intel.com>
37319
37320 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37321 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
37322 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
37323 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
37324 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
37325 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
37326 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
37327 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
37328 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
37329 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
37330 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
37331 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
37332 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
37333 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
37334 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
37335 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37336 Enable unaligned load optimization for Intel Core i3, i5 and i7
37337 processors.
37338 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
37339 Define.
37340 (index_Fast_Unaligned_Load): Define.
37341 (HAS_FAST_UNALIGNED_LOAD): Define.
37342
07f494a0
MP
373432011-06-23 Marek Polacek <mpolacek@redhat.com>
37344
37345 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
37346
fa3fc0fe
UD
373472011-06-22 Ulrich Drepper <drepper@gmail.com>
37348
37349 [BZ #12907]
37350 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
37351 until it is clear that the information is realy needed.
37352 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
37353
e12df166
AS
373542011-06-22 Andreas Schwab <schwab@redhat.com>
37355
37356 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
37357
852eb34d
UD
373582011-06-22 Ulrich Drepper <drepper@gmail.com>
37359
84e2a551
UD
37360 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
37361 /sys/devices/system/cpu/online if it is usable.
37362
852eb34d
UD
37363 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
37364 reading the information from the /proc filesystem to once a second.
37365
6e502e19
UD
373662011-06-21 Andreas Jaeger <aj@suse.de>
37367
37368 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
37369 NULL after inclusion of kernel headers.
37370
75d39ff2
UD
373712011-06-21 Ulrich Drepper <drepper@gmail.com>
37372
51f9aa6a
UD
37373 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
37374 calls to internal_setent.
37375
c0244a9d
UD
37376 [BZ #12885]
37377 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
37378 addresses using gethostbyname4_r ignore IPv4 addresses.
37379
c5e3c2ae
UD
37380 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
37381 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
37382
75d39ff2
UD
37383 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
37384
42675c6f
DM
373852011-06-20 David S. Miller <davem@davemloft.net>
37386
37387 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
37388 inclusions.
37389 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
37390
37391 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
37392 (elf_irel): Use it.
37393 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
37394 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
37395 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
37396 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
37397 * sysdeps/x86_64/dl-irel.h: Likewise.
37398
37399 * elf/dl-runtime.c: Use elf_ifunc_invoke.
37400 * elf/dl-sym.c: Likewise.
37401
57912a71
UD
374022011-06-15 Ulrich Drepper <drepper@gmail.com>
37403
37404 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
37405 need to dereference resplen2.
37406
ee22793d
AS
374072011-06-14 Andreas Schwab <schwab@redhat.com>
37408
37409 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
37410
a9e836b0
UD
374112011-06-15 Ulrich Drepper <drepper@gmail.com>
37412
77fb9117
UD
37413 * Makeconfig: Define vardbdir and inst_vardbdir.
37414 * nss/Makefile: Add rules to install db-Makefile.
37415
40c1b22c
UD
37416 * nss/nss_db/db-XXX.c: Cleanup.
37417
9f2da732
UD
37418 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
37419 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
37420 GLIBC_PRIVATE.
37421 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
37422 * nss/makedb.c: Implement -g option to specify that value strings
37423 are generated and should not be added to table iterated over for
37424 get*ent calls.
37425 * nss/nss_db/db-initgroups.c: New file.
37426
82e9a1f7
UD
37427 * nss/getent.c: Add support for initgroups lookups through getgrouplist
37428 interface.
37429
c41af17e
UD
37430 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
37431 (internal_getgrouplist): Adjust to name change.
37432 Update use_initgroups_entry if this is not the first call.
37433 * nss/databases.def: Add initgroups entry.
37434
a9e836b0
UD
37435 * nss/makedb.c (compute_tables): Check result of multiple hash table
37436 sizes to minimize maximum chain length.
37437
2666d441
UD
374382011-06-14 Ulrich Drepper <drepper@gmail.com>
37439
37440 * Versions.def: Add entry for libnss_db.
37441 * shlib-versions: Likewise.
37442 * nss/Makefile: Add rules to build libnss_db.
37443 * nss/Versions: Add libnss_db information. Organize libnss_files
37444 entries better.
37445 * nss/db-Makefile: Add gshadow support. Change rules for the new
37446 makedb progra. Some minor improvements to generate smaller files.
37447 * nss/nss_db/nss_db.h: Move NSS database header data structures to
37448 here from...
37449 * nss/makedb.c: ...here.
37450 Improve database format to be smaller and require less memory at
37451 runtime.
37452 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
37453 db anymore.
37454 * nss/nss_db/db-netgrp.c: Likewise.
37455 * nss/nss_db/db-open.c: Likewise.
37456 * nss/nss_files/flies-XXX.x: Adjust comments.
37457 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
37458 * nss/nss_files/files-grp.c: Likewise.
37459 * nss/nss_files/files-hosts.c: Likewise.
37460 * nss/nss_files/files-network.c: Likewise.
37461 * nss/nss_files/files-proto.c: Likewise.
37462 * nss/nss_files/files-pwd.c: Likewise.
37463 * nss/nss_files/files-rpc.c: Likewise.
37464 * nss/nss_files/files-service.c: Likewise.
37465 * nss/nss_files/files-sgrp.c: Likewise.
37466 * nss/nss_files/files-spwd.c: Likewise.
37467 * nss/nss_db/db-alias.c: Removed.
37468 * nss/nss_db/dummy-db.h: Removed.
37469
9ee76b5a
UD
374702011-06-02 Ulrich Drepper <drepper@gmail.com>
37471
37472 * nss/makedb.c: Rewritten to not use database library.
37473 * nss/Makefile: Update to build new makedb program.
37474
c71ca1f8
AJ
374752011-06-14 Andreas Jaeger <aj@suse.de>
37476
37477 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
37478 memset declaration.
37479
3154bfb8
UD
374802011-06-10 Andreas Schwab <schwab@redhat.com>
37481
37482 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
37483 tmpbuf.
37484
b350afab
RM
374852011-06-10 Roland McGrath <roland@hack.frob.com>
37486
decd4e50
RM
37487 * Makerules (shlib.lds): Fail if the linker script comes out empty.
37488 * elf/Makefile ($(objpfx)ld.so): Likewise.
37489
5615eaf2
RM
37490 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
37491 Don't list ld.so twice in dependencies.
37492
37493 * posix/bug-regex31.c: Include <stdlib.h>.
37494
37495 * nscd/hstcache.c (cache_addhst): Remove unused variable.
37496
37497 * nis/nss_compat/compat-spwd.c
37498 (getspent_next_nss_netgr): Remove unused variable.
37499 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
37500
37501 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
37502 nonmembers" output to use the right array.
37503
37504 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
37505
37506 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
37507
37508 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
37509 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
37510 * catgets/gencat.c (read_input_file): Likewise.
37511 * locale/programs/locarchive.c (enlarge_archive): Likewise.
37512
37513 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
37514 variable definition inside #if's controlling its use.
37515
37516 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
37517
37518 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
37519
37520 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
37521
37522 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
37523 unreachable code.
37524
37525 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
37526
b68e08db
RM
37527 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
37528 * configure: Regenerated.
37529
b350afab
RM
37530 * Makerules: Revert last change.
37531 * elf/Makefile: Likewise.
37532
28368601
RM
375332011-06-09 Roland McGrath <roland@hack.frob.com>
37534
37535 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
37536 * elf/Makefile ($(objpfx)librtld.os): Likewise.
37537 (reloc-link): Likewise.
37538
11988f8f
UD
375392011-06-09 Ulrich Drepper <drepper@gmail.com>
37540
37541 * elf/Makefile: Add rules to build pldd.
37542 * elf/pldd.c: New file.
37543 * elf/pldd-xx.c: New file.
37544
e80fab37
UD
375452011-06-07 Ulrich Drepper <drepper@gmail.com>
37546
37547 * version.h: Update for 2.15 development version.
37548
9b849836
DM
375492011-06-07 David S. Miller <davem@davemloft.net>
37550
37551 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
37552 ifuncs.
37553 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
37554 elf_machine_lazy_rel): Likewise.
37555 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
37556 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
37557 elf_machine_lazy_rel): Likewise.
37558 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
37559 dl_hwcap via passed in argument.
37560 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
37561 Likewise.
37562
5a31b283
AK
375632011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37564
37565 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
37566
069e52f8
RM
375672011-06-06 Roland McGrath <roland@hack.frob.com>
37568
37569 [BZ #12849]
37570 * manual/fdl-1.1.texi: New file, verbatim from:
37571 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
37572 * manual/lgpl-2.1.texi: New file, verbatim from:
37573 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
37574 * manual/Makefile (licenses): New variable, list those new file names.
37575 (texis): Use it.
37576 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
37577
37578 * manual/fdl.texi: File removed.
37579 * manual/lesser.texi: File removed.
37580 * manual/libc.texinfo (Copying, Documentation License):
37581 Use new @include file names, put @appendix directive before @include.
37582
f16846a5
JJ
375832011-06-04 Jakub Jelinek <jakub@redhat.com>
37584
37585 [BZ #12841]
37586 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
37587 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
37588 (mq_open): Add __NTH.
37589
3d29045b
L
375902011-06-02 H.J. Lu <hongjiu.lu@intel.com>
37591
37592 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37593 Assume Intel Core i3/i5/i7 processor if AVX is available.
37594
8c297311
UD
375952011-05-31 Ulrich Drepper <drepper@gmail.com>
37596
37597 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37598 typo.
37599
c8fc0c91
UD
376002011-05-31 Andreas Schwab <schwab@redhat.com>
37601
37602 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
37603 memory. Use alloca_account. Fix memory leak when retrying.
37604
5b27a807
UD
376052011-05-31 Ulrich Drepper <drepper@gmail.com>
37606
356f8bc6
UD
37607 * version.h (RELEASE): Bump for 2.14 release.
37608 * include/features.h (__GLIBC_MINOR__): Bump to 14.
37609
5b27a807
UD
37610 * config.make.in (RANLIB): Remove entry.
37611
01f16ab0
UD
376122011-05-30 Ulrich Drepper <drepper@gmail.com>
37613
41fce8bd
UD
37614 * po/Makefile (po-sed-cmd): Add ksh to extensions.
37615 (libc.pot): Work around missing support for .ksh extension in xgettext.
37616
4769ae77
UD
37617 [BZ #12684]
37618 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
37619 if both request failed.
37620 (send_dg): In case of server errors clear resplen or *resplen2.
37621
6b1e7d19
UD
37622 [BZ #12454]
37623 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
37624 when there are multiple maps.
37625 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
37626 (_dl_fini): Remove test here.
37627
01f16ab0
UD
37628 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
37629
b1ebd700
UD
376302011-05-29 Ulrich Drepper <drepper@gmail.com>
37631
7ae22829
UD
37632 [BZ #12350]
37633 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
37634 bit from old_res_options.
37635 (gaih_inet): Likewise.
37636
553149f6 37637 [BZ #11099]
18a84741 37638 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
37639 as signed.
37640
652ffab1
UD
37641 * resolv/res_init.c (res_setoptions): Make the code more compact.
37642
16985fd0
UD
37643 [BZ #11558]
37644 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
37645 set RES_USEVC.
37646
0464f746
UD
37647 [BZ #11634]
37648 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
37649
7d17596c
UD
37650 * malloc/malloc.h: Mark malloc hook variables as deprecated.
37651
cf6bbbd7
UD
37652 [BZ #11781]
37653 * malloc/malloc.h: Declare malloc hook variables as volatile.
37654
13f1ab36
UD
37655 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
37656 in last patch.
37657
b1ebd700
UD
37658 [BZ #11799]
37659 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 37660 raise in the comment.
80e2212d
UD
37661 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37662 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37663 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 37664
ce67228d
UD
376652011-05-28 Ulrich Drepper <drepper@gmail.com>
37666
8887a920
UD
37667 [BZ #12811]
37668 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
37669 grow the buffers more if it already has to be sufficient.
37670 (build_wcs_upper_buffer): Likewise.
37671 * posix/regexec.c (check_matching): Likewise.
37672 (clean_state_log_if_needed): Likewise.
37673 (extend_buffers): Don't enlarge buffers beyond size of the input
37674 buffer.
37675 Patches mostly by Emil Wojak <emil@wojak.eu>.
37676 * posix/bug-regex32.c: New file.
37677 * posix/Makefile (tests): Add bug-regex32.
37678
4f031072
UD
37679 * locale/findlocale.c (_nl_find_locale): Return right away if
37680 _nl_explode_name failed.
37681 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
37682
d0478f0c
UD
37683 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
37684
de81b246
UD
37685 * debug/xtrace.sh: Unify messages.
37686 * malloc/memusage.sh: Likewise.
37687
c738465a
UD
37688 [BZ #12813]
37689 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
37690 time symbol from vDSO. Substitute with vsyscall if not available.
37691 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
37692 __vdso_time.
37693
f1f929d7
UD
37694 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
37695 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
37696 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
37697 Add sendmmsg and internal_sendmmsg.
37698 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
37699 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
37700 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
37701
ce67228d
UD
37702 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
37703 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
37704 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
37705
e57420c6
UD
377062011-05-27 Ulrich Drepper <drepper@gmail.com>
37707
a8509ca5
UD
37708 [BZ #12813]
37709 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
37710 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
37711 available.
37712 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
37713 __vdso_getcpu.
37714
e57420c6
UD
37715 [BZ #12814]
37716 * iconvdata/Makefile (tests): Add bug-iconv9.
37717 * iconvdata/bug-iconv9.c: New file.
37718
4d07db15
AS
377192011-05-27 Andreas Schwab <schwab@redhat.com>
37720
37721 [BZ #12814]
37722 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
37723
ea486f69
JJ
377242011-05-25 Jakub Jelinek <jakub@redhat.com>
37725
37726 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37727 (struct user_regs_struct): Change intcs field back to cs.
37728
6f038433
UD
377292011-05-25 Ulrich Drepper <drepper@gmail.com>
37730
37731 * po/ja.po: Update from translation team.
37732
67f86a25
UD
377332011-05-23 Ulrich Drepper <drepper@gmail.com>
37734
37735 [BZ #12795]
37736 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
37737 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
37738
def7fbd6
AS
377392011-05-20 Andreas Schwab <schwab@redhat.com>
37740
37741 * stdlib/longlong.h: Update from GCC.
37742
f50ef8f1
AS
377432011-05-23 Andreas Schwab <schwab@redhat.com>
37744
37745 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
37746 parameter name.
37747 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
37748 Add parameter name.
37749 (__sysconf): Pass it down.
37750
de7ce8f1
UD
377512011-05-22 Ulrich Drepper <drepper@gmail.com>
37752
f2962a71
UD
37753 [BZ #12671]
37754 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
37755 some situations.
37756 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
37757 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
37758 add in in __libc_use_alloca calls. Adjust callers.
37759 (glob): Use malloc in some situations.
37760
de7ce8f1
UD
37761 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
37762 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
37763 pltexit.
37764
aec84f53
UD
377652011-05-21 Ulrich Drepper <drepper@gmail.com>
37766
05bb4a68
UD
37767 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
37768 and CLOCK_BOOTTIME_ALARM.
37769
7ea72f99
UD
37770 [BZ #12782]
37771 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
37772 is returned.
37773
7e4afad5
UD
37774 * string/_strerror.c (__strerror_r): Print negative errors as signed
37775 numbers.
37776
8e211fec
UD
37777 [BZ #12777]
37778 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
37779 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
37780 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
37781
f7d82dc9
UD
37782 * configure.in: Fix typo in redirection and correct removal of test
37783 files in two cases.
37784
cc9e536d
UD
37785 [BZ #12788]
37786 * locale/setlocale.c (new_composite_name): Fix test to check for
37787 identical name of all categories.
37788
aec84f53
UD
37789 [BZ #12792]
37790 * libio/filedoalloc.c (local_isatty): New function.
37791 (_IO_file_doallocate): Use local_isatty.
37792 * stdio-common/perror.c (perror): In case a new stream is used
37793 forward the stream error.
37794 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
37795 error flag.
37796
78e64fdc
RT
377972011-05-20 Ulrich Drepper <drepper@gmail.com>
37798
34a9094f
UD
37799 [BZ #11869]
37800 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
37801 alloca.
37802 * include/alloca.h (extend_alloca_account): Define.
37803
78e64fdc
RT
37804 [BZ #11857]
37805 * posix/regex.h: Fix comments with documentation of user-accessible
37806 fields after compilation and describe correct free'ing of pattern
37807 after re_compile_pattern.
37808 Patch by Reuben Thomas <rrt@sc3d.org>.
37809
457bddfc
RA
378102011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
37811
37812 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
37813 and -mno-altivec to prevent the compiler from using Altivec and/or
37814 VSX instructions when the corresponding registers are not available.
37815
a4527b51
AS
378162011-05-19 Andreas Schwab <schwab@redhat.com>
37817
37818 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
37819
ed690b2f
UD
378202011-05-19 Ulrich Drepper <drepper@gmail.com>
37821
37822 * libio/freopen.c (freopen): Use __dup2, not dup2.
37823 * libio/freopen64.c (freopen64): Likewise.
37824
8db73634
L
378252011-05-17 H.J. Lu <hongjiu.lu@intel.com>
37826
37827 [BZ #12775]
37828 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
37829 * math/Makefile (tests): Add test-powl.
37830 (CFLAGS-test-powl.c): Define.
37831 * math/test-powl.c: New file.
37832
0a197a9d
L
378332011-05-16 H.J. Lu <hongjiu.lu@intel.com>
37834
37835 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
37836
ee30c380
UD
378372011-05-17 Ulrich Drepper <drepper@gmail.com>
37838
37839 [BZ #11837]
37840 * iconvdata/gb18030.c: Update to GB18020-2005.
37841
6ce75379
UD
378422011-05-16 Ulrich Drepper <drepper@gmail.com>
37843
a4b89fd8
AR
37844 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
37845 RE_SYNTAX_POSIX_AWK): Update to match recent development.
37846 Patch by Aharon Robbins <arnold@skeeve.com>.
37847
ea389b12
UD
37848 [BZ #11892]
37849 * stdlib/putenv.c (putenv): Don't always create copy of the variable
37850 on the stack.
37851
68a3f91f
UD
37852 [BZ #11895]
37853 * misc/pselect.c (__pselect): Handle timeout value errors hidden
37854 through underflows.
37855
15cc7dd1
UD
37856 [BZ #12766]
37857 * misc/error.c (error_at_line): Ensure file_name and old_file_name
37858 point to strings before performing equality test for error_one_per_line
37859 mode.
37860
f3799213
UD
37861 [BZ #11697]
37862 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
37863
d79a9c94
UD
37864 [BZ #11820]
37865 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37866 (struct user_fpregs_struct): Avoid __uint*_t types.
37867
56e5eb46
UD
37868 [BZ #6420]
37869 * malloc/mtrace.c (tr_where): Add additional parameter to point to
37870 symbol info. Use it instead of calling _dl_addr locally.
37871 (lock_and_info): New function.
37872 (tr_freehook): Call lock_and_info and pass symbol info as additional
37873 parameter to tr_where.
37874 (tr_mallochook): Likewise.
37875 (tr_reallochook): Likewise.
37876 (tr_memalignhook): Likewise.
37877
6ce75379
UD
37878 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
37879 used and couldn't be at all thread-safe.
37880
f8a3b5bf
UD
378812011-05-15 Ulrich Drepper <drepper@gmail.com>
37882
94b7cc37
UD
37883 * libio/freopen.c (freopen): Don't close old file descriptor
37884 before the new one is opened. Instead dup the new file descriptor
37885 to the old one after the new stream is created.
37886 * libio/freopen64.c (freopen64): Likewise.
37887 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
37888 * libio/fileops.c (_IO_new_file_close_it): Handle new
37889 _IO_FLAGS2_NOCLOSE flag.
37890 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
37891 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
37892 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
37893 _IO_FLAGS2_NOCLOSE flag.
37894 * include/unistd.h: Add hidden_proto for dup3.
37895 Define __have_dup3.
37896 * io/dup3.c: Define hidden symbol.
37897 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
37898
bd25564e
UD
37899 [BZ #7101]
37900 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
37901 when an incomplete long option is used.
37902 * posix/tst-getopt_long1.c: New file.
37903 * posix/Makefile (tests): Add tst-getopt_long1.
37904
c84cfef4
UD
37905 [BZ #10138]
37906 * scripts/config.guess: Update from autoconf-2.68.
37907 * scripts/config.sub: Likewise.
37908
3b85df27
UD
37909 [BZ #10157]
37910 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
37911 tests into ...
37912 (has_cpuclock): ...this. New function.
37913 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
37914 macro here based on has_cpuclock code.
37915
15a856b1
UD
37916 [BZ #10149]
37917 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37918 First byte (not low byte) is now always NUL.
37919 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
37920
05f399e6
UD
37921 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37922 Use non-cancelable interfaces.
37923
10a52685 37924 [BZ #9809]
94ecc67d
UD
37925 * locale/iso-639.def: Add entry for Sorani.
37926
f8a3b5bf
UD
37927 [BZ #11901]
37928 * include/stdlib.h: Move include protection to the right place.
37929 Define abort_msg_s. Declare __abort_msg with it.
37930 * stdlib/abort.c (__abort_msg): Adjust type.
37931 * assert/assert.c (__assert_fail_base): New function. Majority
37932 of code from __assert_fail. Allocate memory for __abort_msg with
37933 mmap.
37934 (__assert_fail): Now call __assert_fail_base.
37935 * assert/assert-perr.c: Remove bulk of implementation. Use
37936 __assert_fail_base.
37937 * include/assert.hL Declare __assert_fail_base.
37938 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
37939 mmap.
37940 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
37941
1af4e298
UD
379422011-05-14 Ulrich Drepper <drepper@gmail.com>
37943
f8a3b5bf 37944 [BZ #11952]
d26dfc60
MG
37945 [BZ #12453]
37946 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
37947 until all modules are registered in the DTV.
37948 * elf/Makefile: Add rules to build and run tst-tls19.
37949 * elf/tst-tls19.c: New file.
37950 * elf/tst-tls19mod1.c: New file.
37951 * elf/tst-tls19mod2.c: New file.
37952 * elf/tst-tls19mod3.c: New file.
37953 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
37954
2fc54d6f
UD
37955 [BZ #12083]
37956 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
37957 correctly.
37958
98d76b46
UD
37959 [BZ #12601]
37960 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
37961 two-byte sequence errors.
37962 * iconvdata/Makefile (tests): Add bug-iconv8.
37963 * iconvdata/bug-iconv8.c: New file.
37964
da3c19ef
UD
37965 [BZ #12626]
37966 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
37967 buf2 definition.
37968
ca408c15
UD
37969 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
37970
d6f67f7d
UD
37971 [BZ #12432]
37972 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
37973 (dummy_getcfa): New function.
37974 (init): Get _Unwind_GetCFA address, use dummy if not found.
37975 (backtrace_helper): In recursion check, also check whether CFA changes.
37976 (__backtrace): Completely initialize arg.
37977
1af4e298 37978 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
37979 storing incomplete byte sequence in state object. Avoid testing for
37980 guaranteed too small input if we know there is enough data available.
1af4e298 37981
da62f81b
AS
379822011-05-11 Andreas Schwab <schwab@redhat.com>
37983
37984 * Makeconfig (+link-pie): Indent.
37985 * Rules (binaries-pie): Define if $(have-fpie) and
37986 $(build-shared).
37987 (binaries-shared): Also filter out $(binaries-pie).
37988 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
37989 * nscd/Makefile (others-pie): Add nscd.
37990 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
37991 ($(objpfx)nscd): Remove command override.
37992 * login/Makefile (others-pie): Add pt_chown.
37993 ($(objpfx)pt_chown): Remove command override.
37994 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
37995 remove command overrides.
37996
fcabc0f8
UD
379972011-05-13 Ulrich Drepper <drepper@gmail.com>
37998
20030ae6
UD
37999 * libio/tst_putwc.c: Fix error messages.
38000
fcabc0f8
UD
38001 [BZ #12724]
38002 * libio/fileops.c (_IO_new_file_close_it): Always flush when
38003 currently writing and seek to current position when not.
38004 * libio/Makefile (tests): Add bug-fclose1.
38005 * libio/bug-fclose1.c: New file.
38006
320a5dc0
PB
380072011-05-12 Ulrich Drepper <drepper@gmail.com>
38008
38009 [BZ #12511]
38010 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
38011 don't set DF_1_NODELETE here.
38012 (do_lookup_x): When entering new entry test for copy relocation
38013 and if necessary set DF_1_NODELETE flag.
38014 * elf/tst-unique4.cc: New file.
38015 * elf/tst-unique4.h: New file.
38016 * elf/tst-unique4lib.cc: New file.
38017 * elf/Makefile: Add rules to build and run tst-unique4.
38018 Patch by Piotr Bury <pbury@goahead.com>.
38019
22836f52
UD
380202011-05-11 Ulrich Drepper <drepper@gmail.com>
38021
f574184a
UD
38022 [BZ #12052]
38023 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
38024
e1fb097f
UD
38025 [BZ #12625]
38026 * misc/mntent_r.c (addmntent): Flush the stream after the output
38027
22836f52
UD
38028 [BZ #12393]
38029 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
38030 (is_trusted_path_normalize): Skip initial colon. Append slash
38031 to empty buffer. Duplicate is_trusted_path code but allow
38032 constructed patch to be prefix.
38033 (is_dst): Allow $ORIGIN followed by /.
38034 (_dl_dst_substitute): Correct clearing of check_for_trusted.
38035 Correct testing of result of is_trusted_path_normalize
38036 (decompose_rpath): Fix warning.
38037
7b3b0b2a
UD
380382011-05-10 Ulrich Drepper <drepper@gmail.com>
38039
38040 [BZ #11257]
38041 * grp/initgroups.c (internal_getgrouplist): When we found the service
38042 list through the initgroups entry in nsswitch.conf do not always
38043 continue on a successful lookup. Don't always use the
eac80ce2 38044 __nss_group_database value if it is set.
7b3b0b2a
UD
38045 * nss/nsswitch.conf (initgroups): Change action for successful db
38046 lookup to continue for compatibility.
38047
2a81eaa5
UD
380482011-05-09 Ulrich Drepper <drepper@gmail.com>
38049
be97a69e
UD
38050 [BZ #11532]
38051 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
38052 and CP774 modules.
38053 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
38054 and CP774 modules.
38055 * iconvdata/tst-tables.sh: Likewise.
38056 * iconvdata/cp770.c: New file.
38057 * iconvdata/cp771.c: New file.
38058 * iconvdata/cp772.c: New file.
38059 * iconvdata/cp773.c: New file.
38060 * iconvdata/cp774.c: New file.
38061 * iconvdata/testdata/CP770: New file.
38062 * iconvdata/testdata/CP770..UTF8: New file.
38063 * iconvdata/testdata/CP771: New file.
38064 * iconvdata/testdata/CP771..UTF8: New file.
38065 * iconvdata/testdata/CP772: New file.
38066 * iconvdata/testdata/CP772..UTF8: New file.
38067 * iconvdata/testdata/CP773: New file.
38068 * iconvdata/testdata/CP773..UTF8: New file.
38069 * iconvdata/testdata/CP774: New file.
38070 * iconvdata/testdata/CP774..UTF8: New file.
38071
38072 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
38073 END CHARMAP line.
38074 * iconvdata/gen-8bit-gap.sh: Likewise.
38075 * iconvdata/gen-8bit.sh: Likewise.
38076
c1e9e399
UD
38077 * locale/iso-639.def: Add ary entry.
38078
24c55fb3 38079 [BZ #11258]
96b4b1b0
UD
38080 * locale/C-translit.h.in: Add U20A1 transliteration.
38081
bdc2f971
KB
38082 [BZ #12178]
38083 * locale/iso-639.def: Add wae entry.
38084 Patch by Kevin Bortis <bortis@translate-wae.ch>.
38085
2952b117
UD
38086 [BZ #12545]
38087 * locale/programs/localedef.c (construct_output_path): Use ssize_t
38088 for n.
38089
2a81eaa5
UD
38090 [BZ #12711]
38091 * locale/C-translit.h.in: Add entry for U20B9.
38092 Patch by pravin.d.s@gmail.com.
38093
28377d1b
UD
380942011-05-08 Ulrich Drepper <drepper@gmail.com>
38095
7fb90fb8
UD
38096 [BZ #12713]
38097 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
38098 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
38099 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
38100 in rtld. Use *stat64.
7fb90fb8 38101 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 38102 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 38103 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
38104 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
38105 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
38106 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
38107 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
38108 __fstatat64 macros.
7fb90fb8
UD
38109 * include/dirent.h: Add libc_hidden_proto for rewinddir.
38110 * dirent/rewinddir.c: Add libc_hidden_def.
38111 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 38112 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 38113
28377d1b
UD
38114 * include/dirent.h (__alloc_dir): Add flags parameter.
38115 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
38116 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
38117 __alloc_dir.
38118 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
38119 from fdopendir if O_CLOEXEC is already set.
38120
66bdbaa4
AM
381212011-03-15 Alan Modra <amodra@gmail.com>
38122
38123 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
38124 l_tls_firstbyte_offset non-zero. Save padding offset in
38125 l_tls_firstbyte_offset for later use.
38126 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
38127 freeing static tls block.
38128
95721191
JN
381292011-03-05 Jonathan Nieder <jrnieder@gmail.com>
38130
38131 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
38132 where #ifdef was intended. The intent is to prevent ARG_MAX from
38133 being defined by the kernel headers.
38134
f87dfb1f
UD
381352011-05-07 Ulrich Drepper <drepper@gmail.com>
38136
38137 [BZ #12734]
38138 * resolv/resolv.h: Define RES_NOTLDQUERY.
38139 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
38140 no-tld-query and set RES_NOTLDQUERY.
38141 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
38142 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
38143 modern BIND to search name as TLD unless forbidden.
38144
47c3cd7a
UD
381452011-05-07 Petr Baudis <pasky@suse.cz>
38146 Ulrich Drepper <drepper@gmail.com>
38147
38148 [BZ #12393]
38149 * elf/dl-load.c (fillin_rpath): Move trusted path check...
38150 (is_trusted_path): ...to here.
c1e9ea35 38151 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 38152 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 38153 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 38154
8a35c912
PP
381552011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38156
38157 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
38158 __BEGIN/__END_DECLS.
38159
acd41f47
UD
381602011-05-06 Ulrich Drepper <drepper@gmail.com>
38161
38162 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
38163 NSS_STATUS_NOTFOUND if no record was found.
38164
597df647
AS
381652011-05-05 Andreas Schwab <schwab@redhat.com>
38166
38167 * sunrpc/Makefile (headers): Add rpc/netdb.h.
38168 (headers-not-in-tirpc): Remove rpc/netdb.h
38169 * resolv/netdb.h: Revert last change.
38170
b9af1301
PP
381712011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38172
38173 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
38174 circular dependency between libgcc.a and libc.a.
38175
4e34d5f5
AS
381762011-05-05 Andreas Schwab <schwab@redhat.com>
38177
38178 * resolv/netdb.h: Don't include <rpc/netdb.h>.
38179 * nis/Makefile: Don't install rpcsvc/*.
38180 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
38181 instead of <rpc/types.h>.
38182 (MAXHOSTNAMELEN): Define.
38183
00ee369c
AS
381842011-05-03 Andreas Schwab <schwab@redhat.com>
38185
38186 * elf/ldconfig.c (add_dir): Don't crash on empty path.
38187
0b592a30
MB
381882011-04-28 Maciej Babinski <mbabinski@google.com>
38189
38190 [BZ #12714]
38191 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
38192 gethostbyname4_r when IPv6 results are possible.
38193
6e04cbbe
UD
381942011-05-02 Ulrich Drepper <drepper@gmail.com>
38195
38196 [BZ #12723]
38197 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
38198 _PC_PIPE_BUF handling.
38199
e4ecafe0
BH
382002011-04-30 Bruno Haible <bruno@clisp.org>
38201
38202 [BZ #12717]
38203 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
38204 * resolv/netdb.h (getnameinfo): Change type of flags parameter
38205 to 'int'.
38206 * inet/getnameinfo.c (getnameinfo): Likewise.
38207
125ee683
UD
382082011-04-29 Ulrich Drepper <drepper@gmail.com>
38209
38210 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
38211 to groups setting in database lookup.
38212 * nss/nsswitch.conf: Add initgroups entry.
38213
b722481a
EB
382142011-04-22 Ulrich Drepper <drepper@gmail.com>
38215
38216 [BZ #12685]
38217 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
38218 mode string.
38219 Patch by Eric Blake <eblake@redhat.com>.
38220
4df46dbd
L
382212011-04-20 H.J. Lu <hongjiu.lu@intel.com>
38222
38223 * sunrpc/Makefile (need-export-routines): Add svc_run.
38224 (routines): Remove svc_run.
38225 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
38226 * sunrpc/clnt_perr.c (clnt_perrno): Export.
38227 * sunrpc/svc_run.c (svc_run): Likewise.
38228 * sunrpc/svc_udp.c (svcudp_create): Likewise.
38229
e84142d2
UD
382302011-04-21 Ulrich Drepper <drepper@gmail.com>
38231
38232 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
38233 problem in reallocation in last patch.
38234
877175d8
UD
382352011-04-20 Ulrich Drepper <drepper@gmail.com>
38236
38237 * sunrpc/Makefile: Move inclusion of Rules.
38238
ab8eed78
UD
382392011-04-19 Ulrich Drepper <drepper@gmail.com>
38240
38241 * nss/nss_files/files-initgroups.c: New file.
38242 * nss/Makefile (libnss_files-routines): Add files-initgroups.
38243 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
38244 _nss_files_initgroups_dyn.
38245
e3d8f584
RS
382462011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
38247
38248 * elf/elf.h (R_ARM_IRELATIVE): Define.
38249
af190f45
UD
382502011-04-19 Ulrich Drepper <drepper@gmail.com>
38251
38252 * po/ru.po: Update from translation team.
38253
53cf59ef
UD
382542011-04-17 Ulrich Drepper <drepper@gmail.com>
38255
38256 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
38257 dependencies.
38258
4c559bcd
MF
382592011-02-06 Mike Frysinger <vapier@gentoo.org>
38260
38261 [BZ #12653]
38262 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
38263 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
38264 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38265 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38266 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38267
4420675c
AS
382682011-03-28 Andreas Schwab <schwab@linux-m68k.org>
38269
38270 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
38271 differing bytes.
38272 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38273 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38274 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38275
75ea32ab
UD
382762011-04-17 Ulrich Drepper <drepper@gmail.com>
38277
38278 [BZ #12420]
38279 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
38280 storing it.
38281 * stdlib/bug-getcontext.c: New file.
38282 * stdlib/Makefile: Add rules to build and run bug-getcontext.
38283
27390476
AK
382842011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38285
38286 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
38287 instructions into .machine "z9-109".
38288 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
38289 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
38290
10442705
AK
382912011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38292
38293 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
38294 between environment variables and auxiliary vector.
38295
7b57bfe5
UD
382962011-04-16 Ulrich Drepper <drepper@gmail.com>
38297
38298 * Makefile: Add rules to build linkobj/libc.so.
38299 * include/libc-symbols.h: Define libc_hidden_nolink.
38300 * include/rpc/auth.h: Mark functions which are to be hidden.
38301 * include/rpc/auth_des.h: Likewise.
38302 * include/rpc/auth_unix.h: Likewise.
38303 * include/rpc/clnt.h: Likewise.
38304 * include/rpc/des_crypt.h: Likewise.
38305 * include/rpc/key_prot.h: Likewise.
38306 * include/rpc/pmap_clnt.h: Likewise.
38307 * include/rpc/pmap_prot.h: Likewise.
38308 * include/rpc/pmap_rmt.h: Likewise.
38309 * include/rpc/rpc_msg.h: Likewise.
38310 * include/rpc/svc.h: Likewise.
38311 * include/rpc/svc_auth.h: Likewise.
38312 * include/rpc/xdr.h: Likewise.
38313 * nis/Makefile: Link all DSOs against linkobj/libc.so.
38314 * nss/Makefile: Likewise.
38315 * sunrpc/Makefile: Don't install headers. Build library with normal
38316 entry points. Don't build rpcinfo. Link RPC tests appropriately.
38317 * sunrpc/auth_des.c: Hide exported symbols by default, export some
38318 for the compat linking library. Remove use of INTDEF/INTUSE.
38319 * sunrpc/auth_none.c: Likewise.
38320 * sunrpc/auth_unix.c: Likewise.
38321 * sunrpc/authdes_prot.c: Likewise.
38322 * sunrpc/authuxprot.c: Likewise.
38323 * sunrpc/clnt_gen.c: Likewise.
38324 * sunrpc/clnt_perr.c: Likewise.
38325 * sunrpc/clnt_raw.c: Likewise.
38326 * sunrpc/clnt_simp.c: Likewise.
38327 * sunrpc/clnt_tcp.c: Likewise.
38328 * sunrpc/clnt_udp.c: Likewise.
38329 * sunrpc/clnt_unix.c: Likewise.
38330 * sunrpc/des_crypt.c: Likewise.
38331 * sunrpc/des_soft.c: Likewise.
38332 * sunrpc/get_myaddr.c: Likewise.
38333 * sunrpc/key_call.c: Likewise.
38334 * sunrpc/key_prot.c: Likewise.
38335 * sunrpc/netname.c: Likewise.
38336 * sunrpc/pm_getmaps.c: Likewise.
38337 * sunrpc/pm_getport.c: Likewise.
38338 * sunrpc/pmap_clnt.c: Likewise.
38339 * sunrpc/pmap_prot.c: Likewise.
38340 * sunrpc/pmap_prot2.c: Likewise.
38341 * sunrpc/pmap_rmt.c: Likewise.
38342 * sunrpc/publickey.c: Likewise.
38343 * sunrpc/rpc_cmsg.c: Likewise.
38344 * sunrpc/rpc_common.c: Likewise.
38345 * sunrpc/rpc_dtable.c: Likewise.
38346 * sunrpc/rpc_prot.c: Likewise.
38347 * sunrpc/rpc_thread.c: Likewise.
38348 * sunrpc/rtime.c: Likewise.
38349 * sunrpc/svc.c: Likewise.
38350 * sunrpc/svc_auth.c: Likewise.
38351 * sunrpc/svc_authux.c: Likewise.
38352 * sunrpc/svc_raw.c: Likewise.
38353 * sunrpc/svc_run.c: Likewise.
38354 * sunrpc/svc_simple.c: Likewise.
38355 * sunrpc/svc_tcp.c: Likewise.
38356 * sunrpc/svc_udp.c: Likewise.
38357 * sunrpc/svc_unix.c: Likewise.
38358 * sunrpc/svcauth_des.c: Likewise.
38359 * sunrpc/xcrypt.c: Likewise.
38360 * sunrpc/xdr.c: Likewise.
38361 * sunrpc/xdr_array.c: Likewise.
38362 * sunrpc/xdr_float.c: Likewise.
38363 * sunrpc/xdr_intXX_t.c: Likewise.
38364 * sunrpc/xdr_mem.c: Likewise.
38365 * sunrpc/xdr_rec.c: Likewise.
38366 * sunrpc/xdr_ref.c: Likewise.
38367 * sunrpc/xdr_sizeof.c: Likewise.
38368 * sunrpc/xdr_stdio.c: Likewise.
38369
e6c61494
UD
383702011-04-10 Ulrich Drepper <drepper@gmail.com>
38371
38372 [BZ #12650]
38373 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
38374 * sysdeps/ia64/dl-tls.h: Likewise.
38375 * sysdeps/powerpc/dl-tls.h: Likewise.
38376 * sysdeps/s390/dl-tls.h: Likewise.
38377 * sysdeps/sh/dl-tls.h: Likewise.
38378 * sysdeps/sparc/dl-tls.h: Likewise.
38379 * sysdeps/x86_64/dl-tls.h: Likewise.
38380 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
38381
34fe483e
AS
383822011-03-14 Andreas Schwab <schwab@redhat.com>
38383
38384 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
38385 rpath element also skip the following colon.
38386 (expand_dynamic_string_token): Add is_path parameter and pass
38387 down to DL_DST_REQUIRED and _dl_dst_substitute.
38388 (decompose_rpath): Call expand_dynamic_string_token with
38389 non-zero is_path. Ignore empty rpaths.
38390 (_dl_map_object_from_fd): Call expand_dynamic_string_token
38391 with zero is_path.
38392
f12a32e6
AS
383932011-04-08 Andreas Schwab <schwab@linux-m68k.org>
38394
38395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
38396 Make cancelable.
38397
38a7d692
UD
383982011-04-09 Ulrich Drepper <drepper@gmail.com>
38399
38400 [BZ #12655]
38401 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
38402 Patch by Filipe David Manana <fdmanana@apache.org>.
38403
e451d22b
AS
384042011-04-07 Andreas Schwab <schwab@redhat.com>
38405
38406 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
38407 Maintain aligned stack.
38408 (CHECK_RSP): Remove unused macro.
38409
dedc7c7b
UD
384102011-04-03 Ulrich Drepper <drepper@gmail.com>
38411
38412 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
38413 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
38414
94521213
UD
384152011-04-02 Ulrich Drepper <drepper@gmail.com>
38416
38417 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
38418
8cb700c0 38419 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 38420
0354e355
L
384212011-03-26 H.J. Lu <hongjiu.lu@intel.com>
38422
38423 [BZ #12518]
38424 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
38425 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
38426 * sysdeps/x86_64/memmove.c: New file.
38427 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
38428 (memcpy): Renamed to ...
38429 (__new_memcpy): This.
38430 (memcpy): Provide GLIBC_2_14 memcpy.
38431 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
38432 (memcpy): Provide GLIBC_2_2_5 memcpy.
38433
8593482f
UD
384342011-04-01 Ulrich Drepper <drepper@gmail.com>
38435
38436 [BZ #12631]
38437 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
38438
81a5726b
AS
384392011-03-30 Andreas Schwab <schwab@redhat.com>
38440
38441 * misc/syncfs.c: New file.
38442 * misc/Makefile (routines): Add syncfs.
38443 * posix/unistd.h: Declare syncfs.
38444 * sysdeps/unix/syscalls.list: Add syncfs.
38445
00e5419f
AS
384462011-04-01 Andreas Schwab <schwab@redhat.com>
38447
38448 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
38449 open_by_handle_at.
38450 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38451 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38452 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38453 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38454 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38455 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
38456 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38457
748876bf
UD
384582011-04-01 Ulrich Drepper <drepper@gmail.com>
38459
658e451d
UD
38460 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
38461 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38462 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
38463 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38464 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38465 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38466 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38467
748876bf
UD
38468 * io/Makefile: Compile fallocate.c, fallocate64.c, and
38469 sync_file_range.c with -fexceptions.
38470 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
38471 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
38472 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
38473 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
38474 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
38475 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
38476 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
38477 sync_file_range as cancellation point
38478 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
38479 now a wrapper around __call_sync_file_range with cancellation handling.
38480 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
38481 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
38482 function name to __call_sync_file_range.
38483 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
38484 Add call_sync_file_range.
748876bf 38485
6e63d5e1
AS
384862011-04-01 Andreas Schwab <schwab@redhat.com>
38487
38488 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 38489 bits/timex.h.
6e63d5e1 38490
46998f74
UD
384912011-04-01 Ulrich Drepper <drepper@gmail.com>
38492
4c1423ed
UD
38493 * iconv/iconv.h: Fix typo in comment.
38494 * io/fcntl.h: Likewise.
38495 * libio/stdio.h: Likewise.
38496 * posix/spawn.h: Likewise.
38497 * posix/unistd.h: Likewise.
38498 * stdlib/stdlib.h: Likewise.
38499 * time/time.h: Likewise.
38500 * wcsmbs/wchar.h: Likewise.
38501
158648c0
UD
38502 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
38503 open_by_handle): Add.
38504 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
38505 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
38506 Augment a few comments.
38507 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38508 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38509 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38510 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38511 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38512 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
38513 open_by_handle.
38514
46998f74
UD
38515 * io/fcntl.h (AT_EMPTY_PATH): Define.
38516
83fe108b
UD
385172011-03-30 Ulrich Drepper <drepper@gmail.com>
38518
38519 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
38520 * sysdeps/unix/sysv/linux/bits/time.h: New file.
38521 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
38522 to...
38523 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
38524 * Versions.def: Add GLIBC_2.14.
38525 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
38526 Export.
83fe108b 38527
bb242059
UD
385282011-03-22 Ulrich Drepper <drepper@gmail.com>
38529
38530 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
38531 round counter.
38532 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38533
c97a1282
L
385342011-03-20 H.J. Lu <hongjiu.lu@intel.com>
38535
38536 [BZ #12597]
38537 * string/test-strncmp.c (do_page_test): New function.
38538 (check2): Likewise.
38539 (test_main): Call check2.
38540 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
38541
2a115601
UD
385422011-03-20 Ulrich Drepper <drepper@gmail.com>
38543
38544 [BZ #12587]
38545 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
38546 Handle cache information in CPU leaf 4.
38547 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38548
8126d904
UD
385492011-03-18 Ulrich Drepper <drepper@gmail.com>
38550
042c49c6 38551 [BZ #12583]
8126d904
UD
38552 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
38553 character representation.
38554 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
38555
ccfe366e
RA
385562011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
38557
38558 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
38559 END(__isnan) to END(__isnanf) to match function entry point/label
38560 EALIGN(__isnanf,...).
38561
c6e13027
JJ
385622011-03-10 Jakub Jelinek <jakub@redhat.com>
38563
38564 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
38565
33f85a3f
UD
385662011-03-10 Ulrich Drepper <drepper@gmail.com>
38567
028478fa
UD
38568 [BZ #12510]
38569 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
38570 copy from the symbol referenced in the relocation to initialize the
38571 used variable.
38572 Patch by Piotr Bury <pbury@goahead.com>.
38573 * elf/Makefile: Add rules to build and tst-unique3.
38574 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
38575 * elf/tst-unique3.cc: New file.
38576 * elf/tst-unique3.h: New file.
38577 * elf/tst-unique3lib.cc: New file.
38578 * elf/tst-unique3lib2.cc: New file.
38579
33f85a3f
UD
38580 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
38581
03592fc7
MF
385822011-03-10 Mike Frysinger <vapier@gentoo.org>
38583
38584 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
38585 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
38586 to _start.
03592fc7 38587
6a5ee102
UD
385882011-03-06 Ulrich Drepper <drepper@gmail.com>
38589
38590 * elf/dl-load.c (_dl_map_object): If we are looking for the first
38591 to-be-loaded object along a path to loader is ld.so.
38592
7e4ba49c
HJ
385932011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38594 Ulrich Drepper <drepper@gmail.com>
38595
38596 * sysdeps/x86_64/memset.S: After aligning destination, code
38597 branches to different locations depending on the value of
38598 misalignment, when multiarch is enabled. Fix this.
38599
386002011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38601
38602 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
38603 Set _x86_64_preferred_memory_instruction for AMD processsors.
38604 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38605 Set bit_Prefer_SSE_for_memop for AMD processors.
38606
13a804de
UD
386072011-03-04 Ulrich Drepper <drepper@gmail.com>
38608
38609 * libio/fmemopen.c (fmemopen): Optimize a bit.
38610
9d25c392
AS
386112011-03-03 Andreas Schwab <schwab@redhat.com>
38612
38613 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
38614
a5543c6a
RM
386152011-03-03 Roland McGrath <roland@redhat.com>
38616
38617 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
38618
012d35f7
DM
386192011-02-28 Aurelien Jarno <aurelien@aurel32.net>
38620
7e4ba49c 38621 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
38622 __bzero_ultra1 instead of __memset_ultra1.
38623
4bff6e01
AS
386242011-02-23 Andreas Schwab <schwab@redhat.com>
38625 Ulrich Drepper <drepper@gmail.com>
38626
38627 [BZ #12509]
38628 * include/link.h (struct link_map): Add l_orig_initfini.
38629 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
38630 returning unsuccessfully.
38631 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
38632 close of a file loaded at startup, restore the original l_initfini
38633 list.
38634 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
38635 list, store the pointer.
38636 * elf/Makefile ($(objpfx)noload-mem): New rule.
38637 (noload-ENV): Define.
38638 (tests): Add $(objpfx)noload-mem.
38639 * elf/noload.c: Include <memcheck.h>.
38640 (main): Call mtrace. Close all opened handles.
38641
f2092faf
AS
386422011-02-17 Andreas Schwab <schwab@redhat.com>
38643
38644 [BZ #12454]
38645 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
38646 dependencies are missing.
38647
6c8a2e88
ST
386482011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
38649
f2092faf 38650 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
38651 Hurd needs munmap.
38652 * sysdeps/mach/hurd/ifreq.h: New file.
38653
84a42118
PB
386542011-01-27 Petr Baudis <pasky@suse.cz>
38655 Ulrich Drepper <drepper@gmail.com>
38656
071f805e 38657 [BZ 12445]#
84a42118
PB
38658 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
38659 to extend_alloca().
38660 * stdio-common/bug23.c: New file.
38661 * stdio-common/Makefile (tests): Add bug23.
38662
e23fe25b
AS
386632010-09-28 Andreas Schwab <schwab@redhat.com>
38664 Ulrich Drepper <drepper@gmail.com>
38665
38666 [BZ #12489]
38667 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
38668 before performing relro protection. At old place add assertion
38669 to make sure nothing changed.
38670
d3f02e10
NS
386712011-02-17 Nathan Sidwell <nathan@codesourcery.com>
38672 Glauber de Oliveira Costa <glommer@gmail.com>
38673
38674 * elf/elf.h: Add new ARM TLS relocs.
38675
d55fd7a5
RA
386762011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
38677
38678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38679 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
38680 cast from r3.
38681 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
38682 'tests' variable.
38683 * sysdeps/wordsize-64/tst-writev.c: New file.
38684
2206397e
RA
386852011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
38686
38687 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
38688 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
38689 insns in _dl_start to prevent a TOC reference before relocs are
38690 resolved.
38691
e9433893
UD
386922011-02-15 Ulrich Drepper <drepper@gmail.com>
38693
38694 [BZ #12469]
38695 * Makeconfig: Remove RANLIB definition.
38696 * Makerules: Don't use RANLIB.
38697 * aclocal.m4: Remove ranlib test.
38698 * configure.in: No need to check for ranlib.
38699 * elf/rtld-Rules: Don't use RANLIB.
38700
f75286c6
ST
387012011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
38702
8e31c82d
ST
38703 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
38704 protection macro.
38705 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
38706 inclusion protection macro.
38707
f75286c6
ST
38708 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
38709 SIGRTMIN and SIGRTMAX and print information in that case only when
38710 SIGRTMIN is defined.
38711
c1d0e639
JJ
387122011-02-11 Jakub Jelinek <jakub@redhat.com>
38713
38714 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
38715 arginfo fn returning -1.
38716
38717 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
38718 and thousands string is zero terminated.
38719
edf9294e
AS
387202011-02-03 Andreas Schwab <schwab@redhat.com>
38721
38722 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
38723 sysdeps/unix/sysv/linux/bits/socket.h.
38724
2b7e92df
ST
387252011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
38726
edf9294e
AS
38727 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
38728 (__CPU_COUNT): Remove old macros.
38729 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
38730 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
38731 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
38732 (__sched_cpualloc, __sched_cpufree): Add declarations.
38733
a4c7ea7b
UD
387342011-02-05 Ulrich Drepper <drepper@gmail.com>
38735
38736 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
38737 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
38738 * nscd/aicache.c (addhstaiX): Return timeout of added value.
38739 (readdhstai): Return value of addhstaiX call.
38740 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
38741 (addgrbyX): Return value returned by cache_addgr.
38742 (readdgrbyname): Return value returned by addgrbyX.
38743 (readdgrbygid): Likewise.
38744 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
38745 (addpwbyX): Return value returned by cache_addpw.
38746 (readdpwbyname): Return value returned by addhstbyX.
38747 (readdpwbyuid): Likewise.
38748 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
38749 (addservbyX): Return value returned by cache_addserv.
38750 (readdservbyname): Return value returned by addservbyX:
38751 (readdservbyport): Likewise.
38752 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
38753 (addhstbyX): Return value returned by cache_addhst.
38754 (readdhstbyname): Return value returned by addhstbyX.
38755 (readdhstbyaddr): Likewise.
38756 (readdhstbynamev6): Likewise.
38757 (readdhstbyaddrv6): Likewise.
38758 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
38759 (readdinitgroups): Return value returned by addinitgroupsX.
38760 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
38761 (prune_cache): Keep track of timeout value of re-added entries.
38762 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
38763 * nscd/nscd.h: Adjust prototypes of readd* functions.
38764
a0bf67cc
RM
387652011-02-04 Roland McGrath <roland@redhat.com>
38766
38767 * nis/nis_server.c (nis_servstate): Use the right name for 0.
38768 (nis_stats): Likewise.
38769 * nis/nis_modify.c (nis_modify): Likewise.
38770 * nis/nis_remove.c (nis_remove): Likewise.
38771 * nis/nis_add.c (nis_add): Likewise.
38772
38773 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
38774
38775 * posix/fnmatch_loop.c: Add some consts.
38776
38777 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
38778
435b95eb
L
387792011-02-02 H.J. Lu <hongjiu.lu@intel.com>
38780
38781 [BZ #12460]
38782 * config.make.in (config-cflags-novzeroupper): Define.
38783 * configure.in: Substitute libc_cv_cc_novzeroupper.
38784 * elf/Makefile (AVX-CFLAGS): Define.
38785 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
38786 (CFLAGS-tst-auditmod4a.c): Likewise.
38787 (CFLAGS-tst-auditmod4b.c): Likewise.
38788 (CFLAGS-tst-auditmod6b.c): Likewise.
38789 (CFLAGS-tst-auditmod6c.c): Likewise.
38790 (CFLAGS-tst-auditmod7b.c): Likewise.
38791 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
38792
8517b15e
UD
387932011-02-02 Ulrich Drepper <drepper@gmail.com>
38794
38795 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
38796 function to the callback.
38797 Patch partly by Jiri Olsa <jolsa@redhat.com>.
38798
10a656fe
AS
387992011-02-02 Andreas Schwab <schwab@redhat.com>
38800
38801 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
38802 of errno.
38803
968dad0a
UD
388042011-01-19 Ulrich Drepper <drepper@gmail.com>
38805
9f94d2ea 38806 [BZ #11724]
968dad0a
UD
38807 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
38808 of constructors.
38809 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
38810 of destructors.
38811 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
38812
38813 [BZ #11724]
38814 * elf/Makefile: Add rules to build and run new test.
38815 * elf/tst-initorder.c: New file.
38816 * elf/tst-initorder.exp: New file.
38817 * elf/tst-initordera1.c: New file.
38818 * elf/tst-initordera2.c: New file.
38819 * elf/tst-initordera3.c: New file.
38820 * elf/tst-initordera4.c: New file.
38821 * elf/tst-initorderb1.c: New file.
38822 * elf/tst-initorderb2.c: New file.
38823 * elf/tst-order-a1.c: New file.
38824 * elf/tst-order-a2.c: New file.
38825 * elf/tst-order-a3.c: New file.
38826 * elf/tst-order-a4.c: New file.
38827 * elf/tst-order-b1.c: New file.
38828 * elf/tst-order-b2.c: New file.
38829 * elf/tst-order-main.c: New file.
38830 New test case by George Gensure <werkt0@gmail.com>.
38831
86e92359
UD
388322010-10-01 Andreas Schwab <schwab@redhat.com>
38833
38834 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38835 decoding ACE if AI_CANONIDN.
38836
5d5732b0
UD
388372011-01-18 Ulrich Drepper <drepper@gmail.com>
38838
38839 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
38840
a77e8cbc
UD
388412011-01-17 Ulrich Drepper <drepper@gmail.com>
38842
6392473f
UD
38843 * version.h (RELEASE): Bump for 2.13 release.
38844 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
38845
620a0529
UD
38846 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
38847
18ba70a5
UD
38848 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
38849 MADV_NOHUGEPAGE.
32465c3e
UD
38850 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
38851 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38852 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38853 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38854 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38855 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38856
c0dafcf1
UD
38857 * posix/getconf.c: Update copyright year.
38858 * catgets/gencat.c: Likewise.
38859 * csu/version.c: Likewise.
38860 * debug/catchsegv.sh: Likewise.
38861 * debug/xtrace.sh: Likewise.
38862 * elf/ldconfig.c: Likewise.
38863 * elf/ldd.bash.in: Likewise.
38864 * elf/sprof.c (print_version): Likewise.
38865 * iconv/iconv_prog.c: Likewise.
38866 * iconv/iconvconfig.c: Likewise.
38867 * locale/programs/locale.c: Likewise.
38868 * locale/programs/localedef.c: Likewise.
38869 * malloc/memusage.sh: Likewise.
38870 * malloc/mtrace.pl: Likewise.
38871 * nscd/nscd.c (print_version): Likewise.
38872 * nss/getent.c: Likewise.
38873
a77e8cbc
UD
38874 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
38875 PF_CAIF, and PF_ALG.
38876 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38877
77e8bddf
AS
388782011-01-16 Andreas Schwab <schwab@linux-m68k.org>
38879
1f20b93a
AS
38880 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
38881 (modules-names): Use them.
38882 (ifunc-test-modules, ifunc-pie-tests): Define.
38883 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
38884 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
38885 (test-extras): Likewise.
38886 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
38887 $(compile-command.c).
38888 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
38889 (all-built-dso): Define.
38890 (check-textrel.out, check-execstack.out): Depend on it.
38891
77e8bddf
AS
38892 * configure.in: Don't override --enable-multi-arch.
38893
bc425b33
UD
388942011-01-15 Ulrich Drepper <drepper@gmail.com>
38895
38896 [BZ #6812]
38897 * nscd/hstcache.c (tryagain): Define.
38898 (cache_addhst): Return tryagain not notfound for temporary errors.
38899 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
38900 failed.
38901
794c3ad3
UD
389022011-01-14 Ulrich Drepper <drepper@gmail.com>
38903
70181fdd
UD
38904 [BZ #10563]
38905 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
38906 to make the syscall.
38907 * sysdeps/unix/sysv/linux/setgroups.c: New file.
38908
794c3ad3
UD
38909 [BZ #12378]
38910 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
38911 and fall back to matching as normal character if the string ends before
38912 the matching ']' is found. This is what POSIX requires.
38913 * posix/testfnm.c: Adjust test result.
38914 * posix/globtest.sh: Adjust test result. Add new test.
38915 * posix/tst-fnmatch.input: Likewise.
38916 * posix/tst-fnmatch2.c: Add new test.
38917
68dc9497
AS
389182010-12-28 Andreas Schwab <schwab@linux-m68k.org>
38919
38920 * elf/Makefile (check-execstack): Revert last change. Depend on
38921 check-execstack.h.
38922 (check-execstack.h): New target.
38923 (generated): Add check-execstack.h.
38924 * elf/check-execstack.c: Include "check-execstack.h".
38925 (main): Revert last change.
38926 (handle_file): Return zero if GNU_STACK is absent and
38927 DEFAULT_STACK_PERMS doesn't include PF_X.
38928
451f001b
UD
389292011-01-13 Ulrich Drepper <drepper@gmail.com>
38930
cfa28e56
UD
38931 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
38932 in child fails because the descriptor is already closed.
8cf8ce17
UD
38933 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
38934 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
38935 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 38936
1086d70d
UD
38937 [BZ #12397]
38938 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
38939 syscall.
38940
451f001b
UD
38941 [BZ #10484]
38942 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
38943 temporary buffer used to handle multi lookups locally.
a85b5cb4 38944 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 38945
08769175
UD
389462011-01-12 Ulrich Drepper <drepper@gmail.com>
38947
38948 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
38949 loader is ld.so.
38950
5e49c52e
UD
389512011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
38952
38953 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
38954 alignment for SSE2.
38955
60522a5f
UD
389562011-01-12 Ulrich Drepper <drepper@gmail.com>
38957
38958 [BZ #12394]
38959 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
38960 characters. When rounding increased number of integer digits recompute
38961 number of groups.
38962 * stdio-common/tst-grouping.c: New file.
38963 * stdio-common/Makefile: Add rules to build and run tst-grouping.
38964
f257bbd7
UD
389652011-01-09 Ulrich Drepper <drepper@gmail.com>
38966
38967 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
38968 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
38969
38970 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
38971 void.
38972 * bits/select.h: Likewise.
38973
fa9c15cb
UD
389742011-01-08 Ulrich Drepper <drepper@gmail.com>
38975
38976 * po/ja.po: Update from translation team.
38977
16c2895f
DM
389782011-01-04 David S. Miller <davem@sunset.davemloft.net>
38979
38980 [BZ #11155]
38981 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
38982 implementation just like for lxstat, fxstatat, et al.
38983
2543fef2
JM
389842010-12-27 Jim Meyering <meyering@redhat.com>
38985
38986 [BZ #12348]
38987 * posix/regexec.c (build_trtable): Return failure indication upon
38988 calloc failure. Otherwise, re_search_internal could infloop on OOM.
38989
98727dbe
UD
389902010-12-25 Ulrich Drepper <drepper@gmail.com>
38991
5bd6dc5c
UD
38992 [BZ #12201]
38993 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
38994 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
38995 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
38996 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
38997
97983464
UD
38998 [BZ #12207]
38999 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
39000
98727dbe
UD
39001 [BZ #12204]
39002 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
39003 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
39004
4a531bb0
L
390052010-12-15 H.J. Lu <hongjiu.lu@intel.com>
39006
39007 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
39008 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
39009 script has SORT_BY_INIT_PRIORITY.
39010 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
39011 NO_CTORS_DTORS_SECTIONS is defined.
39012 * elf/soinit.c: Likewise.
39013 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
39014 NO_CTORS_DTORS_SECTIONS is defined.
39015 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
39016 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
39017 * sysdeps/sh/init-first.c: Likewise.
39018 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
39019
07eb4b71
UD
390202010-12-24 Ulrich Drepper <drepper@gmail.com>
39021
39022 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
39023 always use the slow path.
39024
30950a5f
RA
390252010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
39026
39027 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
39028 similar rule which adds the sysdep directories to the header search in
39029 order to pick up the correct platform stackinfo.h.
39030 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
39031 perform test if it is, otherwise return successfully without testing.
39032 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
39033 DEFAULT_STACK_PERMS define in stackinfo.h.
39034 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
39035 defined in stackinfo.h.
39036 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
39037 DEFAULT_STACK_PERMS defined in stackinfo.h.
39038 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
39039 * sysdeps/ia64/stackinfo.h: Likewise.
39040 * sysdeps/s390/stackinfo.h: Likewise.
39041 * sysdeps/sh/stackinfo.h: Likewise.
39042 * sysdeps/sparc/stackinfo.h: Likewise.
39043 * sysdeps/x86_64/stackinfo.h: Likewise.
39044 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
39045 PF_X for powerpc64. Retain PF_X for powerpc32.
39046
db753e2c
UD
390472010-12-19 Ulrich Drepper <drepper@gmail.com>
39048
14b697f7
UD
39049 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
39050 accurately.
db753e2c
UD
39051 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
39052 GETDENTS_64BIT_ALIGNED.
39053
28300719
UD
390542010-12-14 Ulrich Drepper <dreper@gmail.com>
39055
14b697f7 39056 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 39057
4f197237
AS
390582010-12-10 Andreas Schwab <schwab@redhat.com>
39059
dbb0472f
AS
39060 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
39061 _GNU_SOURCE.
39062
4f197237
AS
39063 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
39064 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
39065 Remove __restrict.
39066 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
39067 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
39068
fb88ac72
UD
390692010-12-09 Ulrich Drepper <drepper@gmail.com>
39070
39071 [BZ #11655]
39072 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
39073 are initialized.
39074
42acbb92
JJ
390752010-12-09 Jakub Jelinek <jakub@redhat.com>
39076
39077 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
39078
c038d98d
UD
390792010-12-03 Ulrich Drepper <drepper@gmail.com>
39080
39081 * po/it.po: Update from translation team.
39082
3a4a2499
L
390832010-12-01 H.J. Lu <hongjiu.lu@intel.com>
39084
39085 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
39086 unused codes.
39087
1e24cf6e
UD
390882010-11-30 Ulrich Drepper <drepper@gmail.com>
39089
39090 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
39091
a7690819
AS
390922010-11-24 Andreas Schwab <schwab@redhat.com>
39093
39094 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
39095 specially.
39096 (gaih_getanswer_slice): Likewise.
39097
3bf8d1b1
JJ
390982010-10-20 Jakub Jelinek <jakub@redhat.com>
39099
39100 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
39101
6db52fbb
PB
391022010-05-31 Petr Baudis <pasky@suse.cz>
39103
39104 [BZ #11149]
39105 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
39106 silently even in the chroot mode.
39107
eaca7569
UD
391082010-11-22 Ulrich Drepper <drepper@gmail.com>
39109
39110 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
39111 last patch a bit. Pretty printing
39112
3056dcdb
UD
391132010-05-31 Petr Baudis <pasky@suse.cz>
39114
39115 [BZ #10085]
39116 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
39117 initialization of skip_initgroups_dyn.
39118
cf7c9078
UD
391192010-11-19 Ulrich Drepper <drepper@gmail.com>
39120
39121 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
39122 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
39123
a1fb5e3e
UD
391242010-11-16 Ulrich Drepper <drepper@gmail.com>
39125
39126 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
39127
3540d66b
AS
391282010-11-11 Andreas Schwab <schwab@redhat.com>
39129
39130 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
39131 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
39132 (tst-fnmatch-ENV): Set MALLOC_TRACE.
39133 ($(objpfx)tst-fnmatch-mem): New rule.
39134 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
39135 * posix/tst-fnmatch.c (main): Call mtrace.
39136
13b69574
L
391372010-11-11 H.J. Lu <hongjiu.lu@intel.com>
39138
39139 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39140 Support Intel processor model 6 and model 0x2c.
39141
da93d214
LM
391422010-11-10 Luis Machado <luisgpm@br.ibm.com>
39143
39144 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
39145 signed comparison.
39146
8ca52c6e
L
391472010-11-09 H.J. Lu <hongjiu.lu@intel.com>
39148
39149 [BZ #12205]
39150 * string/test-strncasecmp.c (check_result): New function.
39151 (do_one_test): Use it.
39152 (check1): New function.
39153 (test_main): Use it.
39154 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
39155 Support strcasecmp and strncasecmp.
39156
69da074d
UD
391572010-11-08 Ulrich Drepper <drepper@gmail.com>
39158
39159 [BZ #12194]
39160 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
39161 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39162
ff02d528
L
391632010-11-07 H.J. Lu <hongjiu.lu@intel.com>
39164
39165 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
39166 IFUNC support.
39167 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39168 memset-x86-64.
39169 * sysdeps/x86_64/multiarch/bzero.S: New file.
39170 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
39171 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
39172 * sysdeps/x86_64/multiarch/memset.S: New file.
39173 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
39174 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39175 Set bit_Prefer_SSE_for_memop for Intel processors.
39176 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
39177 Define.
39178 (index_Prefer_SSE_for_memop): Define.
39179 (HAS_PREFER_SSE_FOR_MEMOP): Define.
39180
344d0b54
LM
391812010-11-04 Luis Machado <luisgpm@br.ibm.com>
39182
39183 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
39184 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
39185
c0dde15b
UD
391862010-11-03 H.J. Lu <hongjiu.lu@intel.com>
39187
39188 [BZ #12191]
39189 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
39190 (__x86_64_raw_data_cache_size_half): Likewise.
39191 (__x86_64_raw_shared_cache_size): Likewise.
39192 (__x86_64_raw_shared_cache_size_half): Likewise.
39193
39194 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
39195 (__x86_64_raw_data_cache_size_half): Likewise.
39196 (__x86_64_raw_shared_cache_size): Likewise.
39197 (__x86_64_raw_shared_cache_size_half): Likewise.
39198 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
39199 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
39200 and __x86_64_raw_shared_cache_size_half. Round
39201 __x86_64_data_cache_size_half, __x86_64_data_cache_size
39202 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
39203 to multiple of 256 bytes.
39204
0e516e0e
MS
392052010-11-03 Ulrich Drepper <drepper@gmail.com>
39206
39207 [BZ #12167]
39208 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
39209 of inacessible symlinks. Verify result of symlink before returning it.
39210 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
39211 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
39212
0e012e87
ER
392132010-10-28 Erich Ritz <erichritz@gmail.com>
39214
39215 * math/math.h (isinf): Fix typo in comment.
39216
de0ff7bc
UD
392172010-11-01 Ulrich Drepper <drepper@gmail.com>
39218
39219 * po/da.po: Update from translation team.
39220
fa41c84d
UD
392212010-10-26 Ulrich Drepper <drepper@gmail.com>
39222
39223 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
39224 is added to the list.
39225
f0967738
AK
392262010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39227 Ulrich Drepper <drepper@gmail.com>
39228
39229 * elf/dl-object.c (_dl_new_object): Don't append the new object to
39230 the global list here. Move code to...
39231 (_dl_add_to_namespace_list): ...here. New function.
39232 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
39233 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
39234 * elf/dl-load.c (lose): Don't remove the element from the list.
39235 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
39236 (_dl_map_object): Likewise.
39237
392382010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
39239
39240 [BZ #12159]
39241 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
39242 into all bytes of SSE register.
39243 Patch by Richard Li <richardpku@gmail.com>.
39244
f0967738 392452010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
39246
39247 [BZ #12140]
39248 * malloc/malloc.c (_int_free): Fill correct number of bytes when
39249 perturbing.
39250
d0b9e94f
MB
392512010-10-20 Michael B. Brutman <brutman@us.ibm.com>
39252
39253 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
39254 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
39255 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
39256 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
39258 submachine.
39259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
39260
8e9f92e9
AS
392612010-10-22 Andreas Schwab <schwab@redhat.com>
39262
39263 * include/dlfcn.h (__RTLD_SECURE): Define.
39264 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
39265 mode & __RTLD_SECURE instead.
39266 (open_path): Rename preloaded parameter to secure.
39267 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
39268 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
39269 * elf/dl-deps.c (openaux): Likewise.
39270 * elf/rtld.c (struct map_args): Remove is_preloaded.
39271 (map_doit): Don't use it.
39272 (dl_main): Likewise.
39273 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
39274 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
39275
bc96fbda
AS
392762010-09-09 Andreas Schwab <schwab@redhat.com>
39277
39278 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
39279 (sysd-rules-targets): Remove duplicates.
39280 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
39281 rtld-%.$o dependency.
39282
22cd1c9b
AS
392832010-10-18 Andreas Schwab <schwab@redhat.com>
39284
39285 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
39286 _dl_map_object do it.
39287
18edac48
UD
392882010-10-19 Ulrich Drepper <drepper@gmail.com>
39289
39290 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
39291 fast fma builtins, define the macros in the C99 standard.
39292 (FP_FAST_FMAF): Likewise.
39293 (FP_FAST_FMAL): Likewise.
39294 * sysdeps/x86_64/bits/mathdef.h: Likewise.
39295
39296 * bits/mathdef.h: Update copyright year.
39297 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39298
d2050124
MM
392992010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
39300
39301 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
39302 builtins, define the macros in the C99 standard.
39303 (FP_FAST_FMAF): Likewise.
39304 (FP_FAST_FMAL): Likewise.
39305 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
39306 multiply/add.
39307 (FP_FAST_FMAF): Likewise.
39308
475facd1
JJ
393092010-10-15 Jakub Jelinek <jakub@redhat.com>
39310
39311 [BZ #3268]
39312 * math/libm-test.inc (fma_test): Some new testcases.
39313 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
39314 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
39315 y and infinite z. Do multiplication by C already in long double.
39316 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
39317 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
39318 y and infinite z. Do bitwise or of inexact bit into u.d.
39319 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
39320 * sysdeps/i386/fpu/s_fmaf.S: Removed.
39321 * sysdeps/i386/fpu/s_fma.S: Removed.
39322 * sysdeps/i386/fpu/s_fmal.S: Removed.
39323
7c08a05c
JJ
393242010-10-16 Jakub Jelinek <jakub@redhat.com>
39325
39326 [BZ #3268]
39327 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
39328 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
39329 computation is not scheduled after fetestexcept. Fix value
39330 of minimum denormal long double.
39331
f3f7372d
JJ
393322010-10-14 Jakub Jelinek <jakub@redhat.com>
39333
39334 [BZ #3268]
39335 * math/libm-test.inc (fma_test): Add some more tests.
39336 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
39337 correctly.
39338
14d43591
AS
393392010-10-15 Andreas Schwab <schwab@redhat.com>
39340
39341 * scripts/data/localplt-s390-linux-gnu.data: New file.
39342 * scripts/data/localplt-s390x-linux-gnu.data: New file.
39343
5e908464
JJ
393442010-10-13 Jakub Jelinek <jakub@redhat.com>
39345
39346 [BZ #3268]
39347 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
39348 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
39349 instead of dbl-64.
39350 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
39351 inlines.
39352 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
39353 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
39354 if one of x and y is very large and the other is subnormal.
39355 * sysdeps/s390/fpu/s_fmaf.c: New file.
39356 * sysdeps/s390/fpu/s_fma.c: New file.
39357 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
39358 * sysdeps/powerpc/fpu/s_fma.S: New file.
39359 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
39360 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
39361 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
39362
393632010-10-12 Jakub Jelinek <jakub@redhat.com>
39364
39365 [BZ #3268]
39366 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
39367 fma tests.
39368 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
39369 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
39370 * sysdeps/i386/i686/multiarch/s_fma.c: Include
39371 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
39372 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
39373 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
39374 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
39375
b833d51f
UD
393762010-10-12 Ulrich Drepper <drepper@redhat.com>
39377
39378 [BZ #12078]
39379 * posix/regcomp.c (parse_branch): One more memory leak plugged.
39380 * posix/bug-regex31.input: Add test case.
39381
1751705d
UD
393822010-10-11 Ulrich Drepper <drepper@gmail.com>
39383
e9b9cbf5
UD
39384 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
39385 * posix/bug-regex31.input: New file.
39386
39387 [BZ #12078]
39388 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
39389 (parse_sub_exp): Fix last change, use postorder.
39390
ef06edbe
UD
39391 * posix/bug-regex31.c: New file.
39392 * posix/Makefile: Add rules to build and run bug-regex31.
39393
a129c80d
UD
39394 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
39395
39396 [BZ #12078]
39397 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
39398
b76b818e
UD
39399 [BZ #12108]
39400 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
39401 to have entries in sys_siglist.
39402
1751705d
UD
39403 [BZ #12093]
39404 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
39405 be NULL.
39406
9ff8d36f
JJ
394072010-10-07 Jakub Jelinek <jakub@redhat.com>
39408
39409 [BZ #3268]
39410 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
39411 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
39412 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
39413 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
39414 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39415 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
39416 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
39417 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
39418 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
39419 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
39420 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
39421 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
39422 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
39423 * math/ftestexcept.c (fetestexcept): Likewise.
39424 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
39425 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
39426 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
39427 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
39428 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
39429 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
39430 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39431
af325969
UD
394322010-10-11 Ulrich Drepper <drepper@gmail.com>
39433
c579b202 39434 [BZ #12107]
af325969
UD
39435 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
39436 newline.
39437
67a67b95
UD
394382010-10-06 Ulrich Drepper <drepper@gmail.com>
39439
39440 * string/bug-strstr1.c: New file.
39441 * string/Makefile: Add rules to build and run bug-strstr1.
39442
5fb308bc
EB
394432010-10-05 Eric Blake <eblake@redhat.com>
39444
39445 [BZ #12092]
39446 * string/str-two-way.h (two_way_long_needle): Always clear memory
39447 when skipping input due to the shift table.
39448
45db99c7
UD
394492010-10-03 Ulrich Drepper <drepper@gmail.com>
39450
3b111893
UD
39451 [BZ #12005]
39452 * malloc/mcheck.c: Handle large requests.
39453
45db99c7
UD
39454 [BZ #12077]
39455 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
39456 for strncmp and strncasecmp.
39457 * string/stratcliff.c: Add tests for strcmp and strncmp.
39458 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
39459
cf7a1eb8
NI
394602010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39461
39462 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
39463 __set_fpscr.
39464
6484ba5e
AJ
394652010-09-30 Andreas Jaeger <aj@suse.de>
39466
39467 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
39468 (CGROUP_SUPER_MAGIC): Define.
39469 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39470 Handle btrfs and cgroup file systems.
39471 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
39472 Likewise.
39473
91c42559
LM
394742010-09-27 Luis Machado <luisgpm@br.ibm.com>
39475
39476 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
39477 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
39478
87a97932
AK
394792010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39480
39481 [BZ #12067]
39482 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
39483 trying to locate the ELF header.
39484
c21cc9bc
AS
394852010-09-27 Andreas Schwab <schwab@redhat.com>
39486
39487 [BZ #11611]
39488 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
39489 Mask out sign-bit copies when constructing f_fsid.
39490
315970f6
PB
394912010-09-24 Petr Baudis <pasky@suse.cz>
39492
39493 * debug/stack_chk_fail_local.c: Add missing licence exception.
39494 * debug/warning-nop.c: Likewise.
39495
1ac7a2c7
JM
394962010-09-15 Joseph Myers <joseph@codesourcery.com>
39497
39498 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
39499 implementing getdents64 using getdents syscall, set d_type if
39500 __ASSUME_GETDENTS32_D_TYPE.
39501
56801c50
AS
395022010-09-16 Andreas Schwab <schwab@redhat.com>
39503
39504 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
39505 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
39506
dda51327
UD
395072010-09-21 Ulrich Drepper <drepper@redhat.com>
39508
39509 [BZ #12037]
39510 * posix/unistd.h: Undo change of feature selection for ftruncate from
39511 2010-01-11.
39512
8ffcee4a
UD
395132010-09-20 Ulrich Drepper <drepper@redhat.com>
39514
a545ecd9 39515 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
39516 detection.
39517
e24f0a8b
AS
395182010-09-20 Andreas Schwab <schwab@redhat.com>
39519
39520 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
39521 fanotify_mark.
39522 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39523
7291c56f
AS
395242010-09-14 Andreas Schwab <schwab@redhat.com>
39525
39526 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
39527 variables after CHECK_SP call.
39528 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
39529
bc5fb037
AS
395302010-09-13 Andreas Schwab <schwab@redhat.com>
39531 Ulrich Drepper <drepper@redhat.com>
39532
39533 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
39534 re-relocationg ld.so.
39535 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
39536 _dl_init_paths call.
39537 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
39538 here anymore.
39539
e66e7419
UD
395402010-09-14 Ulrich Drepper <drepper@redhat.com>
39541
39542 * resolv/res_init.c (__res_vinit): Count the default server we added.
39543
c044aa75
CLT
395442010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
39545 Ulrich Drepper <drepper@redhat.com>
39546
39547 [BZ #11968]
39548 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39549 (____longjmp_chk): Use %ebx for saving value across system call.
39550 Add unwind info.
39551
32cf4069
AS
395522010-09-06 Andreas Schwab <schwab@redhat.com>
39553
39554 * manual/Makefile: Don't mix pattern rules with normal rules.
39555
817328ee
AS
395562010-09-05 Andreas Schwab <schwab@linux-m68k.org>
39557
39558 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
39559 operation.
39560 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
39561 * libio/iofopncook.c (_IO_cookie_init): Likewise.
39562 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
39563 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
39564 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39565 Likewise.
39566
29fddf61
UD
395672010-09-04 Ulrich Drepper <drepper@redhat.com>
39568
39569 [BZ #11979]
39570 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
39571 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
39572
0959ffc9
UD
395732010-09-02 Ulrich Drepper <drepper@redhat.com>
39574
39575 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
39576 * sysdeps/x86_64/addmul_1.S: Likewise.
39577 * sysdeps/x86_64/lshift.S: Likewise.
39578 * sysdeps/x86_64/mul_1.S: Likewise.
39579 * sysdeps/x86_64/rshift.S: Likewise.
39580 * sysdeps/x86_64/sub_n.S: Likewise.
39581 * sysdeps/x86_64/submul_1.S: Likewise.
39582
ece29840
ST
395832010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
39584
0959ffc9
UD
39585 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
39586 Define __sched_param instead of SCHED_* and sched_param when
ece29840 39587 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 39588 * bits/sched.h [__need_schedparam]
ece29840 39589 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
39590 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
39591 (__defined_schedparam): Define to 1.
ece29840
ST
39592 (__sched_param): New structure, identical to sched_param.
39593 (__need_schedparam): Undefine.
39594
e53a31fe
MF
395952010-08-31 Mike Frysinger <vapier@gentoo.org>
39596
fdc0c10d
MF
39597 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
39598 (epoll_create1): Declare.
39599
e53a31fe
MF
39600 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
39601
a726d796
AS
396022010-08-31 Andreas Schwab <schwab@redhat.com>
39603
39604 [BZ #7066]
39605 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
39606 shifting retval into place.
39607
2f3e3dc7
UD
396082010-09-01 Ulrich Drepper <drepper@redhat.com>
39609
f2933da9
UD
39610 * nis/rpcsvc/nis.h: Update copyright notice.
39611 * nis/rpcsvc/nis.x: Likewise.
39612 * nis/rpcsvc/nis_callback.h: Likewise.
39613 * nis/rpcsvc/nis_callback.x: Likewise.
39614 * nis/rpcsvc/nis_object.x: Likewise.
39615 * nis/rpcsvc/nis_tags.h: Likewise.
39616 * nis/rpcsvc/yp.h: Likewise.
39617 * nis/rpcsvc/yp.x: Likewise.
39618 * nis/rpcsvc/ypupd.h: Likewise.
39619 * nis/yp_xdr.c: Likewise.
39620 * nis/ypupdate_xdr.c: Likewise.
39621
2f3e3dc7
UD
39622 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
39623 mainly the body of pmap_getport. Add parameters to specify timeouts.
39624 (pmap_getport): Use __libc_rpc_getport.
39625 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
39626 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
39627 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
39628
f3dcc2f9
AS
396292010-08-31 Andreas Schwab <schwab@linux-m68k.org>
39630
39631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
39632 fanotify_mark.
39633
6d34eb5b
RM
396342010-08-27 Roland McGrath <roland@redhat.com>
39635
39636 * sysdeps/i386/i686/multiarch/Makefile
39637 (CFLAGS-varshift.c): New variable.
39638
9ea3de11
UD
396392010-08-27 Ulrich Drepper <drepper@redhat.com>
39640
c96d23fc
UD
39641 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
39642 * sysdeps/i386/i686/multiarch/varshift.c: New file.
39643
9ea3de11
UD
39644 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
39645
39646 * sysdeps/x86_64/strlen.S: Minimal code improvement.
39647
623aac7f
L
396482010-08-26 H.J. Lu <hongjiu.lu@intel.com>
39649
39650 * sysdeps/x86_64/strlen.S: Unroll the loop.
39651 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39652 strlen-sse2 strlen-sse2-bsf.
39653 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
39654 __strlen_no_bsf if bit_Slow_BSF is set.
39655 (__strlen_sse42): Removed.
39656 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
39657 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
39658
8b2b7715
RM
396592010-08-25 Roland McGrath <roland@redhat.com>
39660
39661 * sysdeps/x86_64/multiarch/varshift.S: File removed.
39662 * sysdeps/x86_64/multiarch/varshift.c: New file.
39663 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
39664 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
39665 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
39666 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
39667
e73015f2
L
396682010-08-25 H.J. Lu <hongjiu.lu@intel.com>
39669
39670 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39671 strlen-sse2 strlen-sse2-bsf.
39672 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
39673 __strlen_sse2_bsf if bit_Slow_BSF is unset.
39674 (__strlen_sse2): Removed.
39675 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
39676 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
39677 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
39678 bit_Slow_BSF for Atom.
39679 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
39680 (index_Slow_BSF): Define.
39681 (HAS_SLOW_BSF): Define.
39682
df24a73e
UD
396832010-08-25 Ulrich Drepper <drepper@redhat.com>
39684
39685 [BZ #10851]
39686 * resolv/res_init.c (__res_vinit): When no server address at all
39687 is given default to loopback.
39688
f2ac4868
RM
396892010-08-24 Roland McGrath <roland@redhat.com>
39690
09055553
RM
39691 * configure.in: Remove config-name.h generation.
39692 * configure: Regenerated.
39693 * config-name.in: File removed.
39694 * scripts/config-uname.sh: New file.
39695 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
39696 ($(objdir)config-name.h): New target.
39697
f2ac4868
RM
39698 * sunrpc/rpc_parse.h: Avoid nested comment.
39699
73f27d5e
RH
397002010-08-24 Richard Henderson <rth@redhat.com>
39701 Ulrich Drepper <drepper@redhat.com>
39702 H.J. Lu <hongjiu.lu@intel.com>
39703
39704 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
39705 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
39706 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
39707 Replace _mm_srli_si128 with __m128i_shift_right. Replace
39708 _mm_alignr_epi8 with _mm_loadu_si128.
39709 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
39710 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
39711 (__m128i_shift_right): Removed.
39712 * sysdeps/i386/i686/multiarch/varshift.h: New file.
39713 * sysdeps/i386/i686/multiarch/varshift.S: New file.
39714 * sysdeps/x86_64/multiarch/varshift.h: New file.
39715 * sysdeps/x86_64/multiarch/varshift.S: New file.
39716
84b9230c
MF
397172010-08-21 Mike Frysinger <vapier@gentoo.org>
39718
39719 * configure.in: Move assembler checks to before sysdep dir checking.
39720
9bbd0ddc
PB
397212010-08-20 Petr Baudis <pasky@suse.cz>
39722
39723 * LICENSES: Sync the sunrpc license.
39724
9da4bb31
UD
397252010-08-19 Ulrich Drepper <drepper@redhat.com>
39726
a7ab6ec8
UD
39727 * sunrpc/auth_des.c: Update copyright notice once again.
39728 * sunrpc/auth_none.c: Likewise.
39729 * sunrpc/auth_unix.c: Likewise.
39730 * sunrpc/authdes_prot.c: Likewise.
39731 * sunrpc/authuxprot.c: Likewise.
39732 * sunrpc/bindrsvprt.c: Likewise.
39733 * sunrpc/clnt_gen.c: Likewise.
39734 * sunrpc/clnt_perr.c: Likewise.
39735 * sunrpc/clnt_raw.c: Likewise.
39736 * sunrpc/clnt_simp.c: Likewise.
39737 * sunrpc/clnt_tcp.c: Likewise.
39738 * sunrpc/clnt_udp.c: Likewise.
39739 * sunrpc/clnt_unix.c: Likewise.
39740 * sunrpc/des_crypt.c: Likewise.
39741 * sunrpc/des_soft.c: Likewise.
39742 * sunrpc/get_myaddr.c: Likewise.
39743 * sunrpc/getrpcport.c: Likewise.
39744 * sunrpc/key_call.c: Likewise.
39745 * sunrpc/key_prot.c: Likewise.
39746 * sunrpc/openchild.c: Likewise.
39747 * sunrpc/pm_getmaps.c: Likewise.
39748 * sunrpc/pm_getport.c: Likewise.
39749 * sunrpc/pmap_clnt.c: Likewise.
39750 * sunrpc/pmap_prot.c: Likewise.
39751 * sunrpc/pmap_prot2.c: Likewise.
39752 * sunrpc/pmap_rmt.c: Likewise.
39753 * sunrpc/rpc/auth.h: Likewise.
39754 * sunrpc/rpc/auth_unix.h: Likewise.
39755 * sunrpc/rpc/clnt.h: Likewise.
39756 * sunrpc/rpc/des_crypt.h: Likewise.
39757 * sunrpc/rpc/key_prot.h: Likewise.
39758 * sunrpc/rpc/netdb.h: Likewise.
39759 * sunrpc/rpc/pmap_clnt.h: Likewise.
39760 * sunrpc/rpc/pmap_prot.h: Likewise.
39761 * sunrpc/rpc/pmap_rmt.h: Likewise.
39762 * sunrpc/rpc/rpc.h: Likewise.
39763 * sunrpc/rpc/rpc_des.h: Likewise.
39764 * sunrpc/rpc/rpc_msg.h: Likewise.
39765 * sunrpc/rpc/svc.h: Likewise.
39766 * sunrpc/rpc/svc_auth.h: Likewise.
39767 * sunrpc/rpc/types.h: Likewise.
39768 * sunrpc/rpc/xdr.h: Likewise.
39769 * sunrpc/rpc_clntout.c: Likewise.
39770 * sunrpc/rpc_cmsg.c: Likewise.
39771 * sunrpc/rpc_common.c: Likewise.
39772 * sunrpc/rpc_cout.c: Likewise.
39773 * sunrpc/rpc_dtable.c: Likewise.
39774 * sunrpc/rpc_hout.c: Likewise.
39775 * sunrpc/rpc_main.c: Likewise.
39776 * sunrpc/rpc_parse.c: Likewise.
39777 * sunrpc/rpc_parse.h: Likewise.
39778 * sunrpc/rpc_prot.c: Likewise.
39779 * sunrpc/rpc_sample.c: Likewise.
39780 * sunrpc/rpc_scan.c: Likewise.
39781 * sunrpc/rpc_scan.h: Likewise.
39782 * sunrpc/rpc_svcout.c: Likewise.
39783 * sunrpc/rpc_tblout.c: Likewise.
39784 * sunrpc/rpc_util.c: Likewise.
39785 * sunrpc/rpc_util.h: Likewise.
39786 * sunrpc/rpcinfo.c: Likewise.
39787 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
39788 * sunrpc/rpcsvc/key_prot.x: Likewise.
39789 * sunrpc/rpcsvc/klm_prot.x: Likewise.
39790 * sunrpc/rpcsvc/mount.x: Likewise.
39791 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
39792 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
39793 * sunrpc/rpcsvc/rex.x: Likewise.
39794 * sunrpc/rpcsvc/rstat.x: Likewise.
39795 * sunrpc/rpcsvc/rusers.x: Likewise.
39796 * sunrpc/rpcsvc/sm_inter.x: Likewise.
39797 * sunrpc/rpcsvc/spray.x: Likewise.
39798 * sunrpc/rpcsvc/yppasswd.x: Likewise.
39799 * sunrpc/rtime.c: Likewise.
39800 * sunrpc/svc.c: Likewise.
39801 * sunrpc/svc_auth.c: Likewise.
39802 * sunrpc/svc_authux.c: Likewise.
39803 * sunrpc/svc_raw.c: Likewise.
39804 * sunrpc/svc_run.c: Likewise.
39805 * sunrpc/svc_simple.c: Likewise.
39806 * sunrpc/svc_tcp.c: Likewise.
39807 * sunrpc/svc_udp.c: Likewise.
39808 * sunrpc/svc_unix.c: Likewise.
39809 * sunrpc/svcauth_des.c: Likewise.
39810 * sunrpc/xcrypt.c: Likewise.
39811 * sunrpc/xdr.c: Likewise.
39812 * sunrpc/xdr_array.c: Likewise.
39813 * sunrpc/xdr_float.c: Likewise.
39814 * sunrpc/xdr_mem.c: Likewise.
39815 * sunrpc/xdr_rec.c: Likewise.
39816 * sunrpc/xdr_ref.c: Likewise.
39817 * sunrpc/xdr_sizeof.c: Likewise.
39818 * sunrpc/xdr_stdio.c: Likewise.
39819
9da4bb31
UD
39820 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
39821 handling.
39822
bdaa77bc
AS
398232010-08-19 Andreas Schwab <schwab@redhat.com>
39824
39825 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
39826
fe2f79db
LM
398272010-08-19 Luis Machado <luisgpm@br.ibm.com>
39828
39829 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
39830 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
39831 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
39832 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
39833 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
39834 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
39835 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
39836 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
39837 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
39838 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
39839 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
39840 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
39841 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
39842 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
39843
b9b42ee0
AB
398442010-07-26 Anton Blanchard <anton@samba.org>
39845
39846 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
39847 * malloc/arena.c (heap_trim): Likewise.
39848
1c06ba31
UD
398492010-08-16 Ulrich Drepper <drepper@redhat.com>
39850
39851 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
39852 here. Not...
39853 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
39854 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
39855
f8392f40
L
398562010-08-12 H.J. Lu <hongjiu.lu@intel.com>
39857
39858 * sysdeps/i386/elf/Makefile: New file.
39859
3162f12e
AS
398602010-08-14 Andreas Schwab <schwab@linux-m68k.org>
39861
39862 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
39863 from fanotify_init.
39864 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
39865 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39866
28c90b2c
UD
398672010-08-15 Ulrich Drepper <drepper@redhat.com>
39868
39869 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
39870 of strncasecmp_l.
1feccb6c 39871 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 39872
ca6bb004
UD
398732010-08-14 Ulrich Drepper <drepper@redhat.com>
39874
e9f82e0d
UD
39875 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39876 strncase_l-nonascii.
39877 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39878 Add strncase_l-ssse3.
39879 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
39880 * sysdeps/x86_64/strcmp.S: Likewise.
39881 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
39882 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
39883 * sysdeps/x86_64/strncase.S: New file.
39884 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
39885 * sysdeps/x86_64/strncase_l.S: New file.
39886 * string/Makefile (strop-tests): Add strncasecmp.
39887 * string/test-strncasecmp.c: New file.
39888
39889 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
39890 warning.
39891
ca6bb004
UD
39892 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
39893 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
39894
052fa7b3
AS
398952010-08-14 Andreas Schwab <schwab@linux-m68k.org>
39896
39897 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
39898
962dba78
UD
398992010-08-12 Ulrich Drepper <drepper@redhat.com>
39900
39901 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
39902 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
39903 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
39904
bebff237
AM
399052010-05-01 Alan Modra <amodra@gmail.com>
39906
39907 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
39908 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
39909 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
39910 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
39911 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
39912 tidying. Don't tail-call __sigjmp_save for static lib.
39913 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
39914 save location.
39915 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
39916 (CALL_MCOUNT): Add eh info, and nop after bl.
39917 (TAIL_CALL_SYSCALL_ERROR): New macro.
39918 (PSEUDO_RET): Use it.
39919 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
39920 Correct save location of integer regs and cr.
39921 (_dl_profile_resolve): Correct cr save location. Delete nops
39922 after bl when SHARED. Reduce cfi size a little by better
39923 placement of cfi directives.
39924 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
39925 make a stack frame. Instead use parm save area as a temp.
39926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
39927 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
39928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
39929 Don't make a stack frame for parent, use parm save area.
39930 Increase child stack frame to 112 bytes. Don't save unused reg,
39931 and adjust reg usage. Set up cfi on error recovery and
39932 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
39933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39934 (__makecontext): Add dummy nop after jump to exit.
39935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
39936 Use correct parm save area and cr save, reduce stack frame.
39937 Correct cfi for possible PSEUDO_RET frame setup.
39938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
39939 Branch to local label emitted by PSEUDO_RET rather than
39940 __syscall_error.
39941
02637374
AS
399422010-08-12 Andreas Schwab <schwab@redhat.com>
39943
39944 [BZ #11904]
39945 * locale/programs/locale.c (print_assignment): New function.
39946 (show_locale_vars): Use it.
39947
c3e2f19b
UD
399482010-08-11 Ulrich Drepper <drepper@redhat.com>
39949
3cdaa6ad
UD
39950 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
39951 field.
39952 (struct statfs64): Likewise.
39953 (_STATFS_F_FLAGS): Define.
39954 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
39955 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39956 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
39957 (ST_VALID): Define locally.
39958 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
39959 __statvfs_getflags, use the provided value.
39960 * sysdeps/unix/sysv/linux/kernel-features.h: Define
39961 __ASSUME_STATFS_F_FLAGS.
39962
754f7da3
UD
39963 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
39964
10b3bedc
UD
39965 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
39966 Add sys/fanotify.h.
39967 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
39968 fanotify_mask for GLIBC_2.13.
39969 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
39970 fanotify_init and fanotify_mark.
39971 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39972 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
39973
c08fb0d7
UD
39974 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
39975 Add prlimit.
39976 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
39977 prlimit64 for GLIBC_2.13.
39978 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
39979 prlimit64.
39980 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
39981 syscall.
39982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
39983 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39984 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
39985 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
39986 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
39987 add prlimit alias.
39988 * sysdeps/unix/sysv/linux/prlimit.c: New file.
39989
15bac72b
UD
39990 [BZ #11903]
39991 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
39992 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
39993
c3e2f19b
UD
39994 * nss/Makefile: Add rules to build and run tst-nss-test1.
39995 * shlib-versions: Add entry for libnss_test1.
39996 * nss/nss_test1.c: New file.
39997 * nss/tst-nss-test1.c: New file.
39998
39999 * nss/nsswitch.c (__nss_database_custom): Define new variable.
40000 (__nss_configure_lookup): Set appropriate entry in
40001 __nss_configure_lookup to true.
40002 * nss/nsswitch.h: Define enum with indeces of databases in
40003 databases and __nss_database_custom arrays. Declare
40004 __nss_database_custom.
40005 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
40006 to avoid using nscd when custom rules are installed.
40007 * nss/getXXbyYY_r.c: Likewise.
40008 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
40009
40010 * nss/nss_files/files-parse.c: Whitespace fixes.
40011
f15ce4d8
UD
400122010-08-09 Ulrich Drepper <drepper@redhat.com>
40013
40014 [BZ #11883]
40015 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
40016 * posix/fnmatch_loop.c: Likewise.
40017
d22e4cc9
AK
400182010-07-17 Andi Kleen <ak@linux.intel.com>
40019
40020 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
40021 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
40022 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
40023 * Versions.def [GLIBC_2.13]: Add.
40024
805bc17d
UD
400252010-08-06 Ulrich Drepper <drepper@redhat.com>
40026
40027 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
40028 Also fail if tpwd after pwuid call is NULL.
40029
5a42321d
ST
400302010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
40031
40032 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
40033 when converting to ms.
40034
fd3ebeda
ST
400352010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
40036
40037 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
40038 EOPNOTSUPP errors with ENOTTY.
40039 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
40040 EOPNOTSUPP errors with ENOTTY.
40041
73507d3a
UD
400422010-07-31 Ulrich Drepper <drepper@redhat.com>
40043
40044 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
40045 Add strcasecmp_l-ssse3.
40046 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
40047 strcasecmp.
40048 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
40049 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
40050 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
40051
fe36dd02
UD
400522010-07-30 Ulrich Drepper <drepper@redhat.com>
40053
66f6765a
UD
40054 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
40055
42e08a54
UD
40056 * string/Makefile (strop-tests): Add strcasecmp.
40057 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
40058 strcasecmp_l-nonascii.
40059 (gen-as-const-headers): Add locale-defines.sym.
40060 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
40061 * sysdeps/x86_64/strcasecmp.S: New file.
40062 * sysdeps/x86_64/strcasecmp_l.S: New file.
40063 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
40064 * sysdeps/x86_64/locale-defines.sym: New file.
40065 * string/test-strcasecmp.c: New file.
40066
fe36dd02
UD
40067 * string/test-strcasestr.c: Test both ends of the range of characters.
40068 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
40069
48cbc0d6
RM
400702010-07-29 Roland McGrath <roland@redhat.com>
40071
76e6d6bc 40072 [BZ #11856]
48cbc0d6
RM
40073 * manual/locale.texi (Yes-or-No Questions): Fix example code.
40074
880113d9
UD
400752010-07-27 Ulrich Drepper <drepper@redhat.com>
40076
40077 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
40078 for ld.so.
40079
deb9cabb
AS
400802010-07-27 Andreas Schwab <schwab@redhat.com>
40081
40082 * manual/memory.texi (Malloc Tunable Parameters): Document
40083 M_PERTURB.
40084
1c7570ff
RM
400852010-07-26 Roland McGrath <roland@redhat.com>
40086
40087 [BZ #11840]
40088 * configure.in (-fgnu89-inline check): Set and substitute
40089 gnu89_inline, not libc_cv_gnu89_inline.
40090 * configure: Regenerated.
40091 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
40092
24fb0f88
UD
400932010-07-26 Ulrich Drepper <drepper@redhat.com>
40094
40095 * string/test-strnlen.c: New file.
40096 * string/Makefile (strop-tests): Add strnlen.
40097 * string/tester.c (test_strnlen): Add a few more test cases.
40098 * string/tst-strlen.c: Better error reporting.
40099
40100 * sysdeps/x86_64/strnlen.S: New file.
40101
8e96b93a
UD
401022010-07-24 Ulrich Drepper <drepper@redhat.com>
40103
40104 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
40105 lower-latency instructions.
40106
dbc676d4
UD
401072010-07-23 Ulrich Drepper <drepper@redhat.com>
40108
40109 * string/test-strcasestr.c: New file.
40110 * string/test-strstr.c: New file.
40111 * string/Makefile (strop-tests): Add strstr and strcasestr.
40112 * string/str-two-way.h: Don't undefine MAX.
40113 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
40114
f6a31e0e
AS
401152010-07-21 Andreas Schwab <schwab@redhat.com>
40116
40117 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40118 strcasestr-nonascii.
40119 (CFLAGS-strcasestr-nonascii.c): Define.
40120 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
40121 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
40122 Remove unused attribute.
40123
5dbc3b6c
RM
401242010-07-20 Roland McGrath <roland@redhat.com>
40125
40126 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
40127 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
40128 ld.so.cache was broken. With it, there is no way to disable dsocaps
40129 like LD_HWCAP_MASK can disable hwcaps.
40130
23d101d8
EPM
401312010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
40132
40133 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
40134
cc9f2e47
UD
401352010-07-16 Ulrich Drepper <drepper@redhat.com>
40136
40137 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
40138 call in strcasestr.
40139 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
40140 __strcasestr_sse42_nonascii.
40141 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
40142 strcasestr-nonascii.c.
40143 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
40144
77c1b069
LM
401452010-06-15 Luis Machado <luisgpm@br.ibm.com>
40146
40147 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
40148 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
40149 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
40150 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
40151
440566c3
UD
401522010-07-09 Ulrich Drepper <drepper@redhat.com>
40153
40154 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
40155 fcntl.
40156
5be9d05d
AS
401572010-07-06 Andreas Schwab <schwab@redhat.com>
40158
c30b7ee2 40159 [BZ #11577]
5be9d05d
AS
40160 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
40161 dl_signal_cerror.
40162
8a492a67
UD
401632010-07-06 Ulrich Drepper <drepper@redhat.com>
40164
40165 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
40166 _PC_PIPE_BUF using F_GETPIPE_SZ.
40167
713df3d5
RM
401682010-07-05 Roland McGrath <roland@redhat.com>
40169
40170 * manual/arith.texi (Rounding Functions): Fix rint description
40171 implicit in round description.
40172
702e8f14
UD
401732010-07-02 Ulrich Drepper <drepper@redhat.com>
40174
40175 * elf/Makefile: Fix linking for a few tests to make recent linker
40176 happy.
40177
52ed8be9
AS
401782010-06-30 Andreas Schwab <schwab@redhat.com>
40179
40180 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40181 $(common-objpfx)libc_nonshared.a.
40182
f47c9a11
LM
401832010-06-21 Luis Machado <luisgpm@br.ibm.com>
40184
40185 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
40186 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
40187 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
40188 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
40189 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
40190 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
40191 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
40192 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
40193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
40194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
40195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
40196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
40197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
40198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
40199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
40200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
40201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
40202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
40203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
40204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
40205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
40206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
40207 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
40208 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
40209 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
40210 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
40211 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
40212 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
40213 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
40214 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
40215 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
40216 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
40217 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
40218 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
40219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
40220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
40221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
40222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
40223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
40224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
40225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
40226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
40227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
40228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
40229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
40230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
40231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
40232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
40233
6fb8cbcb
L
402342010-06-25 H.J. Lu <hongjiu.lu@intel.com>
40235
40236 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
40237 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
40238 * string/memmove.c (memmove): Renamed to ...
40239 (MEMMOVE): ...this. Default to memmove.
40240 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
40241 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
40242 (END_CHK): Define.
40243 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40244 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
40245 mempcpy-ssse3-back memmove-ssse3-back.
40246 * sysdeps/x86_64/multiarch/bcopy.S: New file .
40247 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
40248 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
40249 * sysdeps/x86_64/multiarch/memcpy.S: New file.
40250 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
40251 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
40252 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
40253 * sysdeps/x86_64/multiarch/memmove.c: New file.
40254 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
40255 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
40256 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
40257 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
40258 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
40259 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
40260 Define.
40261 (index_Fast_Copy_Backward): Define.
40262 (HAS_ARCH_FEATURE): Define.
40263 (HAS_FAST_REP_STRING): Define.
40264 (HAS_FAST_COPY_BACKWARD): Define.
40265
4e733bac 402662010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
40267
40268 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
40269 Restore proper fallback handling.
40270
63c4ed22
UD
402712010-06-19 Ulrich Drepper <drepper@redhat.com>
40272
ac2b484c
UD
40273 [BZ #11701]
40274 * posix/group_member.c (__group_member): Correct checking loop.
40275
63c4ed22
UD
40276 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
40277 OOM in getpwuid_r correctly. Return error number when the caller
40278 should return, otherwise -1.
40279 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
40280 call returning > 0 value.
40281 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
40282
765ade4b
AS
402832010-06-07 Andreas Schwab <schwab@redhat.com>
40284
40285 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
40286 libc_nonshared.a from targets in modules-names.
40287
80da2e09
KS
402882010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
40289
40290 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
40291 requires it.
40292
158db122
LM
402932010-06-10 Luis Machado <luisgpm@br.ibm.com>
40294
40295 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
40296 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
40297 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
40298 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
40299
caa78cf8
AS
403002010-06-02 Andreas Schwab <schwab@redhat.com>
40301
40302 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
40303
b2ef2c01
UD
403042010-06-14 Ulrich Drepper <drepper@redhat.com>
40305
40306 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
40307 and F_GETPIPE_SZ.
40308 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40309 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40310 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40311 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40312 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40313 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
40314
fbd643b6
RM
403152010-06-14 Roland McGrath <roland@redhat.com>
40316
40317 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
40318
f32f2869
JJ
403192010-06-07 Jakub Jelinek <jakub@redhat.com>
40320
40321 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
40322 __REDIRECT followed by __THROW.
40323 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
40324 * posix/getopt.h (getopt): Likewise.
40325
2a50c078
EPM
403262010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
40327
40328 * hurd/lookup-at.c (__file_name_lookup_at): Accept
40329 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
40330 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
40331 in AT_FLAGS.
40332 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
40333 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
40334
eb5ad2eb
LM
403352010-05-28 Luis Machado <luisgpm@br.ibm.com>
40336
40337 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
40338
3c88fe1e
L
403392010-05-26 H.J. Lu <hongjiu.lu@intel.com>
40340
40341 [BZ #11640]
40342 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40343 Properly check family and model.
40344
d2f73151
TY
403452010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
40346
40347 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
40348
ebd2e13d
LM
403492010-05-24 Luis Machado <luisgpm@br.ibm.com>
40350
40351 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
40352
b32b8b45
UD
403532010-05-21 Ulrich Drepper <drepper@redhat.com>
40354
40355 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
40356 symbol reference.
40357
9acbe24d
AS
403582010-05-19 Andreas Schwab <schwab@redhat.com>
40359
40360 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
40361 symbol reference.
40362
f0ccf6ea
AS
403632010-05-21 Andreas Schwab <schwab@redhat.com>
40364
3d04ff3a
AS
40365 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
40366 and internal_recvmmsg.
40367 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
40368 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
40369 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
40370 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
40371
f0ccf6ea
AS
40372 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
40373 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40374 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40375
5b08ac57
AS
403762010-05-20 Andreas Schwab <schwab@redhat.com>
40377
40378 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
40379
4828935d
LM
403802010-05-17 Luis Machado <luisgpm@br.ibm.com>
40381
40382 POWER7 optimizations.
40383 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
40384 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
40385
373d545e
UD
403862010-05-19 Ulrich Drepper <drepper@redhat.com>
40387
40388 * version.h: Update for 2.13 development version.
40389
21a2b1ae
AS
403902010-05-12 Andrew Stubbs <ams@codesourcery.com>
40391
40392 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
40393 exceptions. Return 0.
40394
3f7dcb2b
RM
403952010-05-07 Roland McGrath <roland@redhat.com>
40396
40397 * elf/ldconfig.c (main): Add a const.
40398
5f24d53a 403992010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 40400
a160f8d8
UD
40401 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
40402 (args_options): Add no-idn option.
40403 (ahosts_keys_int): Add idn_flags to ai_flags.
40404 (parse_option): Handle 'i' option to clear idn_flags.
40405
5f24d53a
UD
40406 * malloc/malloc.c (_int_free): Possible race in the most recently
40407 added check. Only act on the data if no current modification
40408 happened.
265bb1ce
UD
40409
40410See ChangeLog.17 for earlier changes.