]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Fix missing ChangeLog
[thirdparty/glibc.git] / ChangeLog
1 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
4 implementation.
5 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
6 POWER8 llround ifunc implementation.
7 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
8 POWER8 implementation.
9 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
10 POWER8 llround implementation.
11
12 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13
14 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
15 implementation.
16 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
17 POWER8 llrint ifunc implementation.
18 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
19 POWER8 implementation.
20 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
21 POWER8 llrint implementation.
22
23 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24
25 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
26 implementation.
27 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
28 POWER8 finite ifunc implementation.
29 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
30 POWER8 implementation.
31 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
32 Likewise.
33 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
34 POWER8 finite implementation.
35 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
36
37 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38
39 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
40 implementation.
41 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
42 POWER8 isinf ifunc implementation.
43 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
44 POWER8 implementation.
45 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
46 Likewise.
47 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
48 POWER8 isinf implementation.
49 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
50
51 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52
53 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
54 Add hwcap2 initialization.
55 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
56 implementation.
57 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
58 POWER8 isnan ifunc implementation.
59 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
60 POWER8 implementation.
61 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
62 Likewise.
63 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
64 POWER8 isnan implementation.
65 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
66
67 2014-02-27 Joey Ye <joey.ye@arm.com>
68
69 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
70 (_FP_NANFRAC_Q): Set to zero.
71
72 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
73
74 [BZ #16623]
75 * math/auto-libm-test-in: New test inputs.
76 * math/auto-libm-test-out: Regenerate.
77 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
78 and DA.
79 (__cos): Likewise.
80 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
81
82 2014-02-27 Joseph Myers <joseph@codesourcery.com>
83
84 * scripts/evaluate-test.sh: Take new argument indicating whether
85 failure is expected.
86 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
87 indicating whether failure is expected.
88 * conform/Makefile (test-xfail-run-conformtest): New variable.
89 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
90 level.
91 * posix/Makefile (test-xfail-annexc): New variable.
92 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
93
94 2014-02-26 Joseph Myers <joseph@codesourcery.com>
95
96 * argp/Makefile: Include Makeconfig immediately after defining
97 subdir.
98 * assert/Makefile: Likewise.
99 * benchtests/Makefile: Likewise.
100 * catgets/Makefile: Likewise.
101 * conform/Makefile: Likewise.
102 * crypt/Makefile: Likewise.
103 * csu/Makefile: Likewise.
104 (all): Remove target.
105 * ctype/Makefile: Include Makeconfig immediately after defining
106 subdir.
107 * debug/Makefile: Likewise.
108 * dirent/Makefile: Likewise.
109 * dlfcn/Makefile: Likewise.
110 * gmon/Makefile: Likewise.
111 * gnulib/Makefile: Likewise.
112 * grp/Makefile: Likewise.
113 * gshadow/Makefile: Likewise.
114 * hesiod/Makefile: Likewise.
115 * hurd/Makefile: Likewise.
116 (all): Remove target.
117 * iconvdata/Makefile: Include Makeconfig immediately after
118 defining subdir.
119 * inet/Makefile: Likewise.
120 * intl/Makefile: Likewise.
121 * io/Makefile: Likewise.
122 * libio/Makefile: Likewise.
123 (all): Remove target.
124 * locale/Makefile: Include Makeconfig immediately after defining
125 subdir.
126 * login/Makefile: Likewise.
127 * mach/Makefile: Likewise.
128 (all): Remove target.
129 * malloc/Makefile: Include Makeconfig immediately after defining
130 subdir.
131 (all): Remove target.
132 * manual/Makefile: Include Makeconfig immediately after defining
133 subdir.
134 * math/Makefile: Likewise.
135 * misc/Makefile: Likewise.
136 * nis/Makefile: Likewise.
137 * nss/Makefile: Likewise.
138 * po/Makefile: Likewise.
139 (all): Remove target.
140 * posix/Makefile: Include Makeconfig immediately after defining
141 subdir.
142 * pwd/Makefile: Likewise.
143 * resolv/Makefile: Likewise.
144 * resource/Makefile: Likewise.
145 * rt/Makefile: Likewise.
146 * setjmp/Makefile: Likewise.
147 * shadow/Makefile: Likewise.
148 * signal/Makefile: Likewise.
149 * socket/Makefile: Likewise.
150 * soft-fp/Makefile: Likewise.
151 * stdio-common/Makefile: Likewise.
152 * stdlib/Makefile: Likewise.
153 * streams/Makefile: Likewise.
154 * string/Makefile: Likewise.
155 * sunrpc/Makefile: Likewise.
156 (all): Remove target.
157 * sysvipc/Makefile: Include Makeconfig immediately after defining
158 subdir.
159 * termios/Makefile: Likewise.
160 * time/Makefile: Likewise.
161 * timezone/Makefile: Likewise.
162 (all): Remove target.
163 * wcsmbs/Makefile: Include Makeconfig immediately after defining
164 subdir.
165 * wctype/Makefile: Likewise.
166
167 2014-02-26 Steve Ellcey <sellcey@mips.com>
168
169 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
170 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
171 (libc_feholdexcept_setround_mips): Ditto.
172 (libc_feholdsetround): New.
173 (libc_feholdsetroundf): New.
174 (libc_feholdsetroundl): New.
175 (libc_feupdateenv_test_mips): New.
176 (libc_feupdateenv_test): New.
177 (libc_feupdateenv_testf): New.
178 (libc_feupdateenv_testl): New.
179 (libc_feresetround): New.
180 (libc_feresetroundf): New.
181 (libc_feresetroundl): New.
182 (libc_fetestexcept_mips): New.
183 (libc_fetestexcept): New.
184 (libc_fetestexceptf): New.
185 (libc_fetestexceptl): New.
186 (HAVE_RM_CTX): New.
187 (libc_feholdexcept_setround_mips_ctx): New.
188 (libc_feholdexcept_setround_ctx): New.
189 (libc_feholdexcept_setroundf_ctx): New.
190 (libc_feholdexcept_setroundl_ctx): New.
191 (libc_fesetenv_mips_ctx): New.
192 (libc_fesetenv_ctx): New.
193 (libc_fesetenv_ctxf): New.
194 (libc_fesetenv_ctxl): New.
195 (libc_feupdateenv_mips_ctx): New.
196 (libc_feupdateenv_ctx): New.
197 (libc_feupdateenvf_ctx): New.
198 (libc_feupdateenvl_ctx): New.
199 (libc_feholdsetround_mips_ctx): New.
200 (libc_feholdsetround_ctx): New.
201 (libc_feholdsetroundf_ctx): New.
202 (libc_feholdsetroundl_ctx): New.
203 (libc_feresetround_mips_ctx): New.
204 (libc_feresetround_ctx): New.
205 (libc_feresetroundf_ctx): New.
206 (libc_feresetroundl_ctx): New.
207
208 2014-02-26 Carlos O'Donell <carlos@redhat.com>
209
210 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
211
212 * manual/ipc.texi: New file.
213 * manual/Makefile (chapters): Add ipc.
214 * manual/job.texi: Add "Inter-Process Communication" to next.
215 * manual/process.texi: Add "Inter-Process Communication" to prev.
216
217 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
218
219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
220
221 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
222
223 * malloc/malloc.c (__libc_calloc): Simplify implementation.
224
225 * manual/arith.texi: Fix spaces after sentences.
226 * manual/charset.texi: Likewise.
227 * manual/errno.texi: Likewise.
228 * manual/install.texi: Likewise.
229 * manual/llio.texi: Likewise.
230 * manual/locale.texi: Likewise.
231 * manual/maint.texi: Likewise.
232 * manual/math.texi: Likewise.
233 * manual/memory.texi: Likewise.
234 * manual/message.texi: Likewise.
235 * manual/probes.texi: Likewise.
236 * manual/resource.texi: Likewise.
237 * manual/signal.texi: Likewise.
238 * manual/socket.texi: Likewise.
239 * manual/stdio.texi: Likewise.
240 * manual/string.texi: Likewise.
241 * manual/time.texi: Likewise.
242 * manual/users.texi: Likewise.
243
244 2014-02-25 Carlos O'Donell <carlos@redhat.com>
245
246 [BZ #16632]
247 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
248 _DEFAULT_SOURCE is defined.
249
250 2014-02-25 Ulrich Drepper <drepper@gmail.com>
251 Carlos O'Donell <carlos@redhat.com>
252
253 [BZ #16613]
254 * elf/dl-tls.c (_dl_count_modids): New function.
255 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
256 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
257 audit library and increment generation counter.
258 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
259 * elf/tst-audit9.c: New file.
260 * elf/tst-auditmod9a.c: New file.
261 * elf/tst-auditmod9b.c: New file.
262 * elf/Makefile: Add rules to build and run tst-audit9.
263
264 2014-02-25 Florian Weimer <fweimer@redhat.com>
265
266 [BZ #15347]
267 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
268
269 2014-02-25 Will Newton <will.newton@linaro.org>
270
271 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
272 (__longjmp): Restore sp and lr before restoring callee
273 saved registers. Add longjmp and longjmp_target
274 SystemTap probe point.
275 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
276 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
277 Define to zero to match jmpbuf layout.
278 * sysdeps/arm/setjmp.S: Include stap-probe.h.
279 (__sigsetjmp): Save sp and lr before saving callee
280 saved registers. Add setjmp SystemTap probe point.
281
282 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
283
284 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
285
286 2014-02-24 Andreas Schwab <schwab@suse.de>
287
288 [BZ #15804]
289 * elf/pldd.c (wait_for_ptrace_stop): New function.
290 (main): Call it after attaching.
291
292 2014-02-22 Roland McGrath <roland@hack.frob.com>
293
294 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
295 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
296 Versions files is now verboten.
297 * hurd/Versions (libc: GLIBC_2.0):
298 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
299 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
300 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
301 * mach/Versions: Likewise.
302
303 * csu/Versions: Remove unused %include.
304 * resolv/Versions: Likewise.
305
306 2014-02-21 Joseph Myers <joseph@codesourcery.com>
307
308 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
309 ($(objpfx)check-local-headers.out): Likewise.
310 ($(objpfx)begin-end-check.out): Likewise.
311 * Makerules (check-abi-%.out): Likewise.
312 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
313 ($(objpfx)test2.cat): Likewise.
314 ($(objpfx)de/libc.cat): Likewise.
315 ($(objpfx)test-gencat.out): Likewise.
316 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
317 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
318 ($(objpfx)noload-mem): Likewise.
319 ($(objpfx)tst-pathopt.out): Likewise.
320 ($(objpfx)tst-rtld-load-self.out): Likewise.
321 ($(objpfx)tst-array1-cmp.out): Likewise.
322 ($(objpfx)tst-array1-static-cmp.out): Likewise.
323 ($(objpfx)tst-array2-cmp.out): Likewise.
324 ($(objpfx)tst-array3-cmp.out): Likewise.
325 ($(objpfx)tst-array4-cmp.out): Likewise.
326 ($(objpfx)tst-array5-cmp.out): Likewise.
327 ($(objpfx)tst-array5-static-cmp.out): Likewise.
328 ($(objpfx)check-textrel.out): Likewise.
329 ($(objpfx)check-execstack.out): Likewise.
330 ($(objpfx)check-localplt.out): Likewise.
331 ($(objpfx)order2-cmp.out): Likewise.
332 ($(objpfx)tst-leaks1-mem): Likewise.
333 ($(objpfx)tst-leaks1-static-mem): Likewise.
334 ($(objpfx)tst-initorder-cmp.out): Likewise.
335 ($(objpfx)tst-initorder2-cmp.out): Likewise.
336 ($(objpfx)tst-unused-dep.out): Likewise.
337 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
338 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
339 * iconv/Makefile (test-iconvconfig): Likewise.
340 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
341 ($(objpfx)iconv-test.out): Likewise.
342 ($(objpfx)tst-tables.out): Likewise.
343 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
344 ($(objpfx)tst-gettext.out): Likewise.
345 ($(objpfx)tst-translit.out): Likewise.
346 ($(objpfx)tst-gettext2.out): Likewise.
347 ($(objpfx)tst-gettext4.out): Likewise.
348 ($(objpfx)tst-gettext6.out): Likewise.
349 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
350 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
351 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
352 ($(objpfx)tst-fopenloc-mem.out): Likewise.
353 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
354 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
355 * posix/Makefile ($(objpfx)globtest.out): Likewise.
356 ($(objpfx)wordexp-tst.out): Likewise.
357 ($(objpfx)annexc.out): Likewise.
358 ($(objpfx)tst-fnmatch-mem): Likewise.
359 ($(objpfx)bug-regex2-mem): Likewise.
360 ($(objpfx)bug-regex14-mem): Likewise.
361 ($(objpfx)bug-regex21-mem): Likewise.
362 ($(objpfx)bug-regex31-mem): Likewise.
363 ($(objpfx)tst-vfork3-mem): Likewise.
364 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
365 ($(objpfx)tst-pcre-mem): Likewise.
366 ($(objpfx)tst-boost-mem): Likewise.
367 ($(objpfx)tst-getconf.out): Likewise.
368 ($(objpfx)bug-ga2-mem): Likewise.
369 ($(objpfx)bug-glob2-mem): Likewise.
370 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
371 ($(objpfx)mtrace-tst-leaks2): Likewise.
372 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
373 ($(objpfx)tst-printf.out): Likewise.
374 ($(objpfx)tst-setvbuf1.out): Likewise.
375 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
376 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
377 ($(objpfx)tst-fmtmsg.out): Likewise.
378 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
379 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
380
381 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
382 * bits/sigaction.h [__USE_MISC]: Likewise.
383 * bits/waitstatus.h: Update #endif comments.
384 * ctype/ctype.h: Likewise.
385 * dirent/dirent.h: Likewise.
386 [__USE_MISC]: Remove redundant conditionals.
387 * grp/grp.h: Update #endif comments.
388 [__USE_GNU]: Remove redundant conditionals.
389 [__USE_MISC]: Likewise.
390 * inet/netinet/in.h [__USE_GNU]: Likewise.
391 * io/sys/stat.h [__USE_MISC]: Likewise.
392 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
393 * libio/bits/stdio.h: Update #endif comments.
394 [__USE_MISC]: Remove redundant conditionals.
395 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
396 * libio/stdio.h: Update #endif comments.
397 [__USE_MISC]: Remove redundant conditionals.
398 * math/bits/math-finite.h [__USE_MISC]: Likewise.
399 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
400 * math/math.h: Update #else and #endif comments.
401 [__USE_MISC]: Remove redundant conditionals.
402 * misc/sys/uio.h: Update #endif comments.
403 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
404 * posix/glob.h [__USE_MISC]: Likewise.
405 * posix/sys/types.h: Update #endif comments.
406 [__USE_MISC]: Remove redundant conditionals.
407 * posix/sys/wait.h: Update #endif comments.
408 [__USE_MISC]: Remove redundant conditionals.
409 * posix/unistd.h: Update #endif comments.
410 [__USE_MISC]: Remove redundant conditionals.
411 * pwd/pwd.h [__USE_GNU]: Likewise.
412 [__USE_MISC]: Likewise.
413 * resolv/netdb.h [__USE_GNU]: Likewise.
414 * signal/signal.h: Update #endif comments.
415 [__USE_MISC]: Remove redundant conditionals.
416 * stdlib/stdlib.h: Update #else and #endif comments.
417 [__USE_MISC]: Remove redundant conditionals.
418 [__USE_GNU]: Likewise.
419 * string/bits/string2.h [__USE_MISC]: Likewise.
420 * string/string.h: Update #endif comments.
421 [__USE_MISC]: Remove redundant conditionals.
422 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
423 Likewise.
424 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
425 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
426 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
427 Likewise.
428 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
429 Likewise.
430 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
431 comments.
432 [__USE_MISC]: Remove redundant conditionals.
433 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
434 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
435 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
436 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
437 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
438 Likewise.
439 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
440 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
441 Likewise.
442 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
443 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
444 Likewise.
445 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
446 Likewise.
447 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
448 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
449 Likewise.
450 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
451 Likewise.
452 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
453 * sysdeps/x86/bits/string.h: Update #endif comments.
454 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
455 conditionals.
456 * time/sys/time.h: Update #endif comments.
457 * time/time.h: Likewise.
458 [__USE_MISC]: Remove redundant conditionals.
459
460 2014-02-21 Yury Gribov <y.gribov@samsung.com>
461
462 [BZ #16600]
463 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
464
465 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
466
467 * Versions.def (librt): Add GLIBC_2.17.
468
469 2014-02-21 Adam Conrad <adconrad@0c3.net>
470
471 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
472 synonym for _SYS_AUXV_H to allow direct inclusion.
473 * sysdeps/sparc/bits/hwcap.h: Likewise.
474 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
475 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
476 * sysdeps/sparc/sysdep.h: Likewise.
477
478 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
479
480 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
481
482 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
483
484 * benchtests/bench-strrchr.c: Print length instead of position.
485
486 2014-02-20 Joseph Myers <joseph@codesourcery.com>
487
488 [BZ #16611]
489 * sysdeps/unix/sysv/linux/kernel-features.h
490 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
491 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
492 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
493 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
494 Likewise.
495 [__i386__ || __powerpc__ || __sh__ || __sparc__]
496 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
497 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
498 (__ASSUME_SENDMMSG): Define instead of using previous
499 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
500 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
501 (__ASSUME_SENDMMSG_SYSCALL): Define.
502 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
503 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
504 Likewise.
505 * sysdeps/unix/sysv/linux/arm/kernel-features.h
506 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
507 Likewise.
508 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
509 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
510 Likewise.
511 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
512 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
513 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
514 [__ASSUME_SENDMMSG]: Change conditionals to
515 [__ASSUME_SENDMMSG_SOCKETCALL].
516 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
517 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
518 Define.
519 * sysdeps/unix/sysv/linux/mips/kernel-features.h
520 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
521 Likewise.
522 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
523 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
524 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
525 [!__ASSUME_SENDMMSG]: Change conditional to
526 [!__ASSUME_SENDMMSG_SOCKETCALL].
527 * sysdeps/unix/sysv/linux/tile/kernel-features.h
528 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
529 Define.
530
531 [BZ #16610]
532 * sysdeps/unix/sysv/linux/kernel-features.h
533 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
534 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
535 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
536 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
537 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
538 [__i386__ || __sparc__]
539 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
540 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
541 (__ASSUME_RECVMMSG): Define instead of using previous
542 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
543 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
544 (__ASSUME_RECVMMSG_SYSCALL): Define.
545 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
546 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
547 Likewise.
548 * sysdeps/unix/sysv/linux/arm/kernel-features.h
549 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
550 Likewise.
551 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
552 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
553 Likewise.
554 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
555 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
556 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
557 [__ASSUME_RECVMMSG]: Change condition to
558 [__ASSUME_RECVMMSG_SOCKETCALL].
559 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
560 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
561 Define.
562 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
563 * sysdeps/unix/sysv/linux/mips/kernel-features.h
564 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
565 Likewise.
566 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
567 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
568 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
569 [!__ASSUME_RECVMMSG]: Change condition to
570 [!__ASSUME_RECVMMSG_SOCKETCALL].
571 * sysdeps/unix/sysv/linux/tile/kernel-features.h
572 (__ASSUME_RECVMMSG_SYSCALL): Define.
573
574 [BZ #16609]
575 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
576 __powerpc__ || __s390__ || __sh__ || __sparc__]
577 (__ASSUME_SOCKETCALL): Define.
578 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
579 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
580 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
581 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
582 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
583 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
584 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
585 (__ASSUME_ACCEPT4): Define instead of using previous
586 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
587 __powerpc__ || __sparc__ || __s390__)] condition.
588 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
589 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
590 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
591 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
592 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
593 [!__ASSUME_ACCEPT4]: Change condition to
594 [!__ASSUME_ACCEPT4_SOCKETCALL].
595 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
596 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
597 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
598 * sysdeps/unix/sysv/linux/arm/kernel-features.h
599 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
600 __ASSUME_ACCEPT4_SYSCALL.
601 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
602 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
603 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
604 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
605 __ASSUME_ACCEPT4_SYSCALL.
606 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
607 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
608 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
609 [__ASSUME_ACCEPT4]: Change condition to
610 [__ASSUME_ACCEPT4_SOCKETCALL].
611 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
612 (__ASSUME_SOCKETCALL): Define.
613 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
614 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
615 (__ASSUME_SOCKETCALL): Define.
616 (__ASSUME_ACCEPT4): Remove.
617 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
618 Define.
619 * sysdeps/unix/sysv/linux/mips/kernel-features.h
620 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
621 Likewise.
622 * sysdeps/unix/sysv/linux/tile/kernel-features.h
623 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
624
625 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
626 macro.
627 (HWCAP_ARM_LPAE): Likewise.
628 (HWCAP_ARM_EVTSTRM): Likewise.
629 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
630 Add vpfd32, lpae and evtstrm.
631 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
632 Increase to 22.
633
634 2014-02-19 Joseph Myers <joseph@codesourcery.com>
635
636 * math/auto-libm-test-in: Add tests of clog10.
637 * math/auto-libm-test-out: Regenerated.
638 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
639 * sysdeps/i386/fpu/libm-test-ulps: Update.
640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
641
642 2014-02-18 Andreas Schwab <schwab@suse.de>
643
644 [BZ #16574]
645 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
646 Store non-zero if the second buffer was newly allocated.
647 (send_dg): Likewise.
648 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
649 to send_vc and send_dg.
650 (res_nsend): Pass NULL for ansp2_malloced.
651 * resolv/res_query.c (__libc_res_nquery): Add parameter
652 answerp2_malloced and pass it down to __libc_res_nsend.
653 (res_nquery): Pass additional NULL to __libc_res_nquery.
654 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
655 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
656 second answer buffer if answerp2_malloced was set.
657 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
658 (__libc_res_nquerydomain): Add parameter
659 answerp2_malloced and pass it down to __libc_res_nquery.
660 (res_nquerydomain): Pass additional NULL to
661 __libc_res_nquerydomain.
662 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
663 additional NULL to __libc_res_nsend and __libc_res_nquery.
664 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
665 additional NULL to __libc_res_nsearch.
666 (_nss_dns_gethostbyname4_r): Revert last change. Use new
667 parameter of __libc_res_nsearch to check for separately allocated
668 second buffer.
669 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
670 __libc_res_nquery.
671 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
672 additional NULL to __libc_res_nquery.
673 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
674 __libc_res_nsearch.
675 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
676 * include/resolv.h: Update prototypes of __libc_res_nquery,
677 __libc_res_nsearch, __libc_res_nsend.
678
679 2014-02-18 Joseph Myers <joseph@codesourcery.com>
680
681 * math/auto-libm-test-in: Add tests of fma.
682 * math/auto-libm-test-out: Regenerated.
683 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
684 (fma_towardzero_test_data): Likewise.
685 (fma_downward_test_data): Likewise.
686 (fma_upward_test_data): Likewise.
687 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
688 mpc_mode.
689 (rounding_modes): Add values for new field.
690 (func_calc_method): Add value mpfr_fff_f.
691 (func_calc_desc): Add mpfr_fff_f union field.
692 (test_function): Add field exact_args.
693 (FUNC): Add macro argument EXACT_ARGS.
694 (FUNC_mpfr_f_f): Update call to FUNC.
695 (FUNC_mpfr_f_f): Likewise.
696 (FUNC_mpfr_ff_f): Likewise.
697 (FUNC_mpfr_if_f): Likewise.
698 (FUNC_mpc_c_f): Likewise.
699 (FUNC_mpc_c_c): Likewise.
700 (test_functions): Add fma. Update calls to FUNC.
701 (handle_input_arg): Add argument exact_args.
702 (add_test): Update call to handle_input_arg.
703 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
704 (output_for_one_input_case): Update call to calc_generic_results.
705 Recalculate exact zero results in each rounding mode.
706
707 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
708 non-negative before setting low bit.
709 * math/auto-libm-test-in: Mark one asin test possibly having
710 spurious underflow.
711 * math/auto-libm-test-out: Regenerated.
712 * sysdeps/i386/fpu/libm-test-ulps: Update.
713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
714
715 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
716
717 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
718 * sysdeps/unix/sysv/linux/microblaze: Move directory from
719 ports/sysdeps/unix/sysv/linux/microblaze.
720 * README: Add missing listing for microblaze*-*-linux-gnu.
721
722 2014-02-16 Mike Frysinger <vapier@gentoo.org>
723
724 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
725 * sysdeps/unix/sysv/linux/ia64: Move directory from
726 ports/sysdeps/unix/sysv/linux/ia64.
727 * README: Update listing for ia64-*-linux-gnu.
728
729 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
730 Joseph Myers <joseph@codesourcery.com>
731
732 * Makeconfig (test-name): New variable.
733 (evaluate-test): Likewise.
734 * Makerules (do-test-clean): Remove .test-result files.
735 (common-mostlyclean): Likewise.
736 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
737 * scripts/evaluate-test.sh: New file.
738
739 2014-02-14 Joseph Myers <joseph@codesourcery.com>
740
741 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
742 separate $(objpfx)tst-fopenloc-cmp.out and
743 $(objpfx)tst-fopenloc-mem.out targets.
744 (tests): Update dependencies.
745 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
746 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
747 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
748 (tst-rxspencer-no-utf8-ARGS): New variable.
749 (tst-rxspencer-no-utf8-ENV): Likewise.
750 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
751 instead of $(objpfx)tst-rxspencer-mem.
752 ($(objpfx)tst-rxspencer-mem): Change target to
753 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
754 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
755 * posix/tst-rxspencer-no-utf8.c: New file.
756
757 * elf/Makefile ($(objpfx)order.out): Remove rule.
758 [$(run-built-tests) = yes] (tests): Depend on
759 $(objpfx)order-cmp.out.
760 ($(objpfx)order-cmp.out): New rule.
761 [$(run-built-tests) = yes] (tests): Depend on
762 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
763 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
764 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
765 $(objpfx)tst-array5-static-cmp.out.
766 ($(objpfx)tst-array1.out): Remove rule.
767 ($(objpfx)tst-array1-cmp.out): New rule.
768 ($(objpfx)tst-array1-static.out): Remove rule.
769 ($(objpfx)tst-array1-static-cmp.out): New rule.
770 ($(objpfx)tst-array2.out): Remove rule.
771 ($(objpfx)tst-array2-cmp.out): New rule.
772 ($(objpfx)tst-array3.out): Remove rule.
773 ($(objpfx)tst-array3-cmp.out): New rule.
774 ($(objpfx)tst-array4.out): Remove rule.
775 ($(objpfx)tst-array4-cmp.out): New rule.
776 ($(objpfx)tst-array5.out): Remove rule.
777 ($(objpfx)tst-array5-cmp.out): New rule.
778 ($(objpfx)tst-array5-static.out): Remove rule.
779 ($(objpfx)tst-array5-static-cmp.out): New rule.
780 [$(run-built-tests) = yes] (tests): Depend on
781 $(objpfx)order2-cmp.out.
782 ($(objpfx)order2.out): Remove rule.
783 ($(objpfx)order2-cmp.out): New rule.
784 ($(objpfx)tst-initorder.out): Remove rule.
785 [$(run-built-tests) = yes] (tests): Depend on
786 $(objpfx)tst-initorder-cmp.out.
787 ($(objpfx)tst-initorder-cmp.out): New rule.
788 ($(objpfx)tst-initorder2.out): Remove rule.
789 [$(run-built-tests) = yes] (tests): Depend on
790 $(objpfx)tst-initorder2-cmp.out.
791 ($(objpfx)tst-initorder2-cmp.out): New rule.
792 [$(run-built-tests) = yes] (tests): Depend on
793 $(objpfx)tst-unused-dep-cmp.out.
794 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
795 ($(objpfx)tst-unused-dep-cmp.out): New rule.
796 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
797 on $(objpfx)tst-setvbuf1-cmp.out.
798 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
799 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
800 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
801 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
802 ($(objpfx)tst-svc.out): Remove rule.
803 ($(objpfx)tst-svc-cmp.out): New rule.
804
805 2014-02-13 Joseph Myers <joseph@codesourcery.com>
806
807 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
808 * ctype/ctype.h [__USE_MISC]: Likewise.
809 * dirent/dirent.h [__USE_MISC]: Likewise.
810 * grp/grp.h [__USE_MISC]: Likewise.
811 * io/fcntl.h [__USE_MISC]: Likewise.
812 * io/sys/stat.h [__USE_MISC]: Likewise.
813 * libio/stdio.h [__USE_MISC]: Likewise.
814 * posix/unistd.h [__USE_MISC]: Likewise.
815 * pwd/pwd.h [__USE_MISC]: Likewise.
816 * stdlib.h [__USE_MISC]: Likewise.
817 * string/bits/string2.h [__USE_MISC]: Likewise.
818 * string/string.h [__USE_MISC]: Likewise.
819 * time/time.h [__USE_MISC]: Likewise.
820
821 2014-02-13 Andreas Schwab <schwab@suse.de>
822
823 [BZ #16574]
824 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
825 second answer buffer if it was separately allocated.
826
827 2014-02-12 Joseph Myers <joseph@codesourcery.com>
828
829 * sysdeps/mips/math-tests.h: Include <features.h>.
830 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
831 (ROUNDING_TESTS_long_double): Do not define.
832 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
833 (EXCEPTION_TESTS_long_double): Likewise.
834 * sysdeps/mips/mips64/libm-test-ulps: Update.
835
836 * include/features.h (__USE_BSD): Remove macro definitions.
837 (__USE_SVID): Likewise.
838 (_BSD_SOURCE): Likewise.
839 (_SVID_SOURCE): Likewise.
840 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
841 from definition of _DEFAULT_SOURCE.
842 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
843 [_DEFAULT_SOURCE].
844 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
845 * bits/mman.h [__USE_BSD]: Likewise.
846 * bits/termios.h [__USE_BSD]: Likewise.
847 * bits/waitstatus.h [__USE_BSD]: Likewise.
848 * ctype/ctype.h [__USE_SVID]: Likewise.
849 * dirent/dirent.h [__USE_BSD]: Likewise.
850 * grp/grp.h [__USE_SVID]: Likewise.
851 [__USE_BSD]: Likewise.
852 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
853 * io/fcntl.h [__USE_BSD]: Likewise.
854 * io/ftw.h [__USE_BSD]: Likewise.
855 * io/sys/stat.h [__USE_BSD]: Likewise.
856 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
857 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
858 * libio/stdio.h [__USE_SVID]: Likewise.
859 [__USE_BSD]: Likewise.
860 * math/math.h [__USE_SVID]: Likewise.
861 [__USE_BSD]: Likewise.
862 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
863 * misc/bits/syslog.h [__USE_BSD]: Likewise.
864 * misc/search.h [__USE_SVID]: Likewise.
865 * misc/sys/mman.h [__USE_BSD]: Likewise.
866 * misc/sys/syslog.h [__USE_BSD]: Likewise.
867 * misc/sys/uio.h [__USE_BSD]: Likewise.
868 * posix/bits/unistd.h [__USE_BSD]: Likewise.
869 * posix/glob.h [__USE_BSD]: Likewise.
870 * posix/regex.h [__USE_BSD]: Likewise.
871 * posix/sys/types.h [__USE_BSD]: Likewise.
872 [__USE_SVID]: Likewise.
873 * posix/sys/utsname.h [__USE_SVID]: Likewise.
874 * posix/sys/wait.h [__USE_BSD]: Likewise.
875 [__USE_SVID]: Likewise.
876 * posix/unistd.h [__USE_BSD]: Likewise.
877 [__USE_SVID]: Likewise.
878 * pwd/pwd.h [__USE_SVID]: Likewise.
879 * resolv/netdb.h [__USE_BSD]: Likewise.
880 * setjmp/setjmp.h [__USE_BSD]: Likewise.
881 * signal/signal.h [__USE_BSD]: Likewise.
882 [__USE_SVID]: Likewise.
883 * socket/sys/socket.h [__USE_BSD]: Likewise.
884 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
885 * stdlib/stdlib.h [__USE_BSD]: Likewise.
886 [__USE_SVID]: Likewise.
887 * string/bits/string2.h [__USE_BSD]: Likewise.
888 [__USE_SVID]: Likewise.
889 * string/bits/string3.h [__USE_BSD]: Likewise.
890 * string/endian.h [__USE_BSD]: Likewise.
891 * string/string.h [__USE_SVID]: Likewise.
892 [__USE_BSD]: Likewise.
893 * string/strings.h [__USE_BSD]: Likewise.
894 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
895 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
896 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
897 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
898 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
899 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
900 Likewise.
901 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
902 Likewise.
903 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
904 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
905 Likewise.
906 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
907 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
908 Likewise.
909 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
910 Likewise.
911 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
912 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
913 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
914 Likewise.
915 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
916 Likewise.
917 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
918 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
919 * termios/termios.h [__USE_BSD]: Likewise.
920 * time/sys/time.h [__USE_BSD]: Likewise.
921 * time/time.h [__USE_BSD]: Likewise.
922 [__USE_SVID]: Likewise.
923
924 * Makefile (subdir_targets): Remove subdir_lint.out.
925
926 * stdio-common/Makefile (do-tst-unbputc): Remove target.
927 (do-tst-printf): Likewise.
928 (tests): Depend directly on $(objpfx)tst-unbputc.out and
929 $(objpfx)tst-printf.out.
930
931 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
932
933 * Makerules (check-abi-%): Change target to
934 $(objpfx)check-abi-%.out.
935 (check-abi target): Update dependencies.
936 (check-abi-pattern variable): Redirect output of diff to $@.
937 (check-abi variable): Likewise.
938 * elf/Makefile (check-abi): Update dependencies.
939
940 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
941 unused.
942 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
943 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
944 subnormal range.
945 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
946 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
947 value has largest subnormal exponent.
948 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
949 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
950 * sysdeps/aarch64/soft-fp/sfp-machine.h
951 (_FP_TININESS_AFTER_ROUNDING): New macro.
952 * sysdeps/alpha/soft-fp/sfp-machine.h
953 (_FP_TININESS_AFTER_ROUNDING): Likewise.
954 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
955 Likewise.
956 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
957 (_FP_TININESS_AFTER_ROUNDING): Likewise.
958 * sysdeps/mips/soft-fp/sfp-machine.h
959 (_FP_TININESS_AFTER_ROUNDING): Likewise.
960 * sysdeps/powerpc/soft-fp/sfp-machine.h
961 (_FP_TININESS_AFTER_ROUNDING): Likewise.
962 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
963 Likewise.
964 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
965 (_FP_TININESS_AFTER_ROUNDING): Likewise.
966 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
967 (_FP_TININESS_AFTER_ROUNDING): Likewise.
968 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
969 Likewise.
970
971 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
972
973 [BZ #16545]
974 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
975 model 1.
976
977 2014-02-12 Richard Henderson <rth@redhat.com>
978
979 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
980 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
981 * sysdeps/unix/sysv/linux/alpha: Move directory from
982 ports/sysdeps/unix/sysv/linux/alpha.
983 * README: Update listing for alpha-*-linux-gnu.
984
985 2014-02-11 Joseph Myers <joseph@codesourcery.com>
986
987 * include/features.h: Update comment documenting feature test
988 macros.
989 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
990 _DEFAULT_SOURCE.
991 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
992 (_SVID_SOURCE): Likewise.
993 (_DEFAULT_SOURCE): Update description of default features.
994 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
995 with _GNU_SOURCE.
996 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
997 (S_ISVTX): Likewise.
998 * manual/math.texi (Mathematical Constants): Likewise.
999 * manual/signal.texi (Interrupted Primitives): Likewise.
1000 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
1001 * math/test-matherr.c (_SVID_SOURCE): Do not define.
1002 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
1003 Don't refer to _SVID_SOURCE in warning text.
1004
1005 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1006
1007 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
1008 already defined.
1009 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
1010 * sysdeps/mips/dl-lookup.c: Remove.
1011 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
1012
1013 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1014
1015 [BZ #16447]
1016 * math/auto-libm-test-in: Add testcase for expl.
1017 * math/auto-libm-test-out: Regenerate.
1018 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
1019 calculation of unsafe.
1020 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
1021
1022 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
1023
1024 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
1025 * sysdeps/unix/sysv/linux/aarch64: Move directory from
1026 ports/sysdeps/unix/sysv/linux/aarch64.
1027 * README: Update listing for aarch64*-*-linux-gnu.
1028
1029 2014-02-11 Will Newton <will.newton@linaro.org>
1030
1031 * manual/probes.texi (Mathematical Function Probes): Use
1032 "triggered" instead of "hit".
1033
1034 2014-02-11 Will Newton <will.newton@linaro.org>
1035
1036 * manual/probes.texi (Internal Probes): Add documentation
1037 of setjmp, longjmp and longjmp_target probes.
1038
1039 2014-02-11 Will Newton <will.newton@linaro.org>
1040
1041 * include/stap-probe.h: Add comment about probe argument
1042 format.
1043
1044 2014-02-11 Will Newton <will.newton@linaro.org>
1045
1046 * malloc/mtrace.c (attribute_hidden): Remove unused macro
1047 definition. (tr_where, tr_freehook, tr_mallochook,
1048 tr_reallochook, tr_memalignhook): Use ANSI protoype.
1049
1050 2014-02-11 David S. Miller <davem@davemloft.net>
1051
1052 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
1053 processing int_tests.
1054
1055 2014-02-10 Joseph Myers <joseph@codesourcery.com>
1056
1057 * sysdeps/mips: Move directory from ports/sysdeps/mips.
1058 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
1059 * sysdeps/unix/sysv/linux/mips: Move directory from
1060 ports/sysdeps/unix/sysv/linux/mips.
1061 * README: Update listing for mips-*-linux-gnu and
1062 mips64-*-linux-gnu.
1063
1064 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
1065
1066 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
1067 * sysdeps/unix/sysv/linux/m68k: Move directory from
1068 ports/sysdeps/unix/sysv/linux/m68k.
1069 * README: Update listing for m68k-*-linux-gnu.
1070
1071 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
1072
1073 * sysdeps/tile: Move directory from ports/sysdeps/tile.
1074 * sysdeps/unix/sysv/linux/generic: Move directory from
1075 ports/sysdeps/unix/sysv/linux/generic.
1076 * sysdeps/unix/sysv/linux/tile: Move directory from
1077 ports/sysdeps/unix/sysv/linux/tile.
1078 * README: Update listing for tile*-*-linux-gnu.
1079
1080 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
1081
1082 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
1083 * benchtests/bench-memmem.c (simple_memmem): Likewise.
1084 * catgets/open_catalog.c (__open_catalog): Likewise.
1085 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
1086 * debug/confstr_chk.c: Likewise.
1087 * debug/fread_chk.c (__fread_chk): Likewise.
1088 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
1089 * debug/getgroups_chk.c: Likewise.
1090 * debug/mbsnrtowcs_chk.c: Likewise.
1091 * debug/mbsrtowcs_chk.c: Likewise.
1092 * debug/mbstowcs_chk.c: Likewise.
1093 * debug/memcpy_chk.c: Likewise.
1094 * debug/memmove_chk.c: Likewise.
1095 * debug/mempcpy_chk.c: Likewise.
1096 * debug/memset_chk.c: Likewise.
1097 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1098 * debug/strcat_chk.c (__strcat_chk): Likewise.
1099 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
1100 * debug/strncat_chk.c (__strncat_chk): Likewise.
1101 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
1102 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
1103 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
1104 * debug/wcpncpy_chk.c: Likewise.
1105 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1106 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
1107 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
1108 * debug/wcsncpy_chk.c: Likewise.
1109 * debug/wcsnrtombs_chk.c: Likewise.
1110 * debug/wcsrtombs_chk.c: Likewise.
1111 * debug/wcstombs_chk.c: Likewise.
1112 * debug/wmemcpy_chk.c: Likewise.
1113 * debug/wmemmove_chk.c: Likewise.
1114 * debug/wmempcpy_chk.c: Likewise.
1115 * debug/wmemset_chk.c: Likewise.
1116 * dirent/scandirat.c (SCANDIRAT): Likewise.
1117 * dlfcn/dladdr1.c (dladdr1): Likewise.
1118 * dlfcn/dladdr.c (dladdr): Likewise.
1119 * dlfcn/dlclose.c (dlclose_doit): Likewise.
1120 * dlfcn/dlerror.c (__dlerror): Likewise.
1121 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
1122 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
1123 * dlfcn/dlopen.c (dlopen_doit): Likewise.
1124 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
1125 * dlfcn/dlsym.c (dlsym_doit): Likewise.
1126 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
1127 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
1128 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
1129 Likewise.
1130 * elf/dl-conflict.c: Likewise.
1131 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
1132 * elf/dl-dst.h: Likewise.
1133 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
1134 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
1135 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
1136 * elf/dl-init.c (call_init, _dl_init): Likewise.
1137 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
1138 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
1139 _dl_map_object_from_fd, open_verify, open_path,
1140 _dl_map_object): Likewise.
1141 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
1142 Likewise.
1143 * elf/dl-minimal.c (__libc_memalign): Likewise.
1144 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
1145 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1146 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
1147 * elf/dl-sym.c (do_sym): Likewise.
1148 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
1149 _dl_tls_get_addr_soft): Likewise.
1150 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
1151 * elf/dl-writev.h (_dl_writev): Likewise.
1152 * elf/ldconfig.c (search_dir): Likewise.
1153 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
1154 dl_main): Likewise.
1155 * elf/setup-vdso.h (setup_vdso): Likewise.
1156 * grp/compat-initgroups.c (compat_call): Likewise.
1157 * grp/fgetgrent.c (fgetgrent): Likewise.
1158 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
1159 * grp/putgrent.c (putgrent): Likewise.
1160 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1161 Likewise.
1162 * hurd/hurdinit.c: Likewise.
1163 * iconvdata/8bit-gap.c (struct): Likewise.
1164 * iconvdata/ansi_x3.110.c : Likewise.
1165 * iconvdata/big5.c : Likewise.
1166 * iconvdata/big5hkscs.c : Likewise.
1167 * iconvdata/cp1255.c: Likewise.
1168 * iconvdata/cp1258.c : Likewise.
1169 * iconvdata/cp932.c : Likewise.
1170 * iconvdata/euc-cn.c: Likewise.
1171 * iconvdata/euc-jisx0213.c : Likewise.
1172 * iconvdata/euc-jp.c: Likewise.
1173 * iconvdata/euc-jp-ms.c : Likewise.
1174 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
1175 * iconvdata/gb18030.c : Likewise.
1176 * iconvdata/gbbig5.c (const): Likewise.
1177 * iconvdata/gbgbk.c: Likewise.
1178 * iconvdata/gbk.c : Likewise.
1179 * iconvdata/ibm1364.c : Likewise.
1180 * iconvdata/ibm930.c : Likewise.
1181 * iconvdata/ibm932.c: Likewise.
1182 * iconvdata/ibm933.c : Likewise.
1183 * iconvdata/ibm935.c : Likewise.
1184 * iconvdata/ibm937.c : Likewise.
1185 * iconvdata/ibm939.c : Likewise.
1186 * iconvdata/ibm943.c: Likewise.
1187 * iconvdata/iso_11548-1.c: Likewise.
1188 * iconvdata/iso-2022-cn.c : Likewise.
1189 * iconvdata/iso-2022-cn-ext.c : Likewise.
1190 * iconvdata/iso-2022-jp-3.c: Likewise.
1191 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
1192 * iconvdata/iso-2022-kr.c : Likewise.
1193 * iconvdata/iso646.c (gconv_end): Likewise.
1194 * iconvdata/iso_6937-2.c : Likewise.
1195 * iconvdata/iso_6937.c : Likewise.
1196 * iconvdata/iso8859-1.c: Likewise.
1197 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
1198 * iconvdata/shift_jisx0213.c : Likewise.
1199 * iconvdata/sjis.c : Likewise.
1200 * iconvdata/t.61.c : Likewise.
1201 * iconvdata/tcvn5712-1.c : Likewise.
1202 * iconvdata/tscii.c: Likewise.
1203 * iconvdata/uhc.c : Likewise.
1204 * iconvdata/unicode.c (gconv_end): Likewise.
1205 * iconvdata/utf-16.c (gconv_end): Likewise.
1206 * iconvdata/utf-32.c (gconv_end): Likewise.
1207 * iconvdata/utf-7.c (base64): Likewise.
1208 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
1209 * iconv/gconv_close.c (__gconv_close): Likewise.
1210 * iconv/gconv_open.c (__gconv_open): Likewise.
1211 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
1212 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
1213 internal_ucs4le_loop_single, ucs4le_internal_loop,
1214 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
1215 * iconv/iconv.c (iconv): Likewise.
1216 * iconv/iconv_close.c: Likewise.
1217 * iconv/loop.c (SINGLE): Likewise.
1218 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
1219 * include/atomic.h: Likewise.
1220 * inet/inet6_option.c (option_alloc): Likewise.
1221 * intl/bindtextdom.c (set_binding_values): Likewise.
1222 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
1223 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
1224 * intl/localealias.c (read_alias_file): Likewise.
1225 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
1226 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
1227 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
1228 * libio/fmemopen.c (fmemopen): Likewise.
1229 * libio/iofgets.c (_IO_fgets): Likewise.
1230 * libio/iofgets_u.c (fgets_unlocked): Likewise.
1231 * libio/iofgetws.c (fgetws): Likewise.
1232 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
1233 * libio/iogetdelim.c (_IO_getdelim): Likewise.
1234 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
1235 adjust_wide_data, _IO_wfile_seekoff): Likewise.
1236 * locale/findlocale.c (_nl_find_locale): Likewise.
1237 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
1238 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
1239 Likewise.
1240 * locale/setlocale.c (setlocale): Likewise.
1241 * login/programs/pt_chown.c (main): Likewise.
1242 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
1243 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
1244 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
1245 mmap, mmap64, mremap, munmap): Likewise.
1246 * math/e_exp2l.c: Likewise.
1247 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
1248 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
1249 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
1250 * math/s_catan.c (__catan): Likewise.
1251 * math/s_catanf.c (__catanf): Likewise.
1252 * math/s_catanh.c (__catanh): Likewise.
1253 * math/s_catanhf.c (__catanhf): Likewise.
1254 * math/s_catanhl.c (__catanhl): Likewise.
1255 * math/s_catanl.c (__catanl): Likewise.
1256 * math/s_ccosh.c (__ccosh): Likewise.
1257 * math/s_ccoshf.c (__ccoshf): Likewise.
1258 * math/s_ccoshl.c (__ccoshl): Likewise.
1259 * math/s_cexp.c (__cexp): Likewise.
1260 * math/s_cexpf.c (__cexpf): Likewise.
1261 * math/s_cexpl.c (__cexpl): Likewise.
1262 * math/s_clog10.c (__clog10): Likewise.
1263 * math/s_clog10f.c (__clog10f): Likewise.
1264 * math/s_clog10l.c (__clog10l): Likewise.
1265 * math/s_clog.c (__clog): Likewise.
1266 * math/s_clogf.c (__clogf): Likewise.
1267 * math/s_clogl.c (__clogl): Likewise.
1268 * math/s_csin.c (__csin): Likewise.
1269 * math/s_csinf.c (__csinf): Likewise.
1270 * math/s_csinh.c (__csinh): Likewise.
1271 * math/s_csinhf.c (__csinhf): Likewise.
1272 * math/s_csinhl.c (__csinhl): Likewise.
1273 * math/s_csinl.c (__csinl): Likewise.
1274 * math/s_csqrt.c (__csqrt): Likewise.
1275 * math/s_csqrtf.c (__csqrtf): Likewise.
1276 * math/s_csqrtl.c (__csqrtl): Likewise.
1277 * math/s_ctan.c (__ctan): Likewise.
1278 * math/s_ctanf.c (__ctanf): Likewise.
1279 * math/s_ctanh.c (__ctanh): Likewise.
1280 * math/s_ctanhf.c (__ctanhf): Likewise.
1281 * math/s_ctanhl.c (__ctanhl): Likewise.
1282 * math/s_ctanl.c (__ctanl): Likewise.
1283 * math/w_pow.c: Likewise.
1284 * math/w_powf.c: Likewise.
1285 * math/w_powl.c: Likewise.
1286 * math/w_scalb.c (sysv_scalb): Likewise.
1287 * math/w_scalbf.c (sysv_scalbf): Likewise.
1288 * math/w_scalbl.c (sysv_scalbl): Likewise.
1289 * misc/error.c (error_tail): Likewise.
1290 * misc/pselect.c (__pselect): Likewise.
1291 * nis/nis_callback.c (__nis_create_callback): Likewise.
1292 * nis/nis_call.c (__nisfind_server): Likewise.
1293 * nis/nis_creategroup.c (nis_creategroup): Likewise.
1294 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
1295 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1296 * nis/nis_getservlist.c (nis_getservlist): Likewise.
1297 * nis/nis_lookup.c (nis_lookup): Likewise.
1298 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
1299 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
1300 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
1301 * nis/nis_xdr.c (xdr_endpoint): Likewise.
1302 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
1303 internal_getgrgid_r): Likewise.
1304 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
1305 Likewise.
1306 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
1307 internal_getpwuid_r): Likewise.
1308 * nis/nss_compat/compat-spwd.c (getspent_next_file,
1309 internal_getspnam_r): Likewise.
1310 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
1311 _nss_nis_getaliasbyname_r): Likewise.
1312 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
1313 _nss_nis_getntohost_r): Likewise.
1314 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
1315 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
1316 Likewise.
1317 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
1318 internal_nis_gethostent_r, internal_gethostbyname2_r,
1319 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
1320 _nss_nis_gethostbyname4_r): Likewise.
1321 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
1322 initgroups_netid): Likewise.
1323 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
1324 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
1325 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
1326 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
1327 _nss_nis_getprotobynumber_r): Likewise.
1328 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
1329 _nss_nis_getsecretkey): Likewise.
1330 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
1331 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
1332 Likewise.
1333 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
1334 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
1335 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
1336 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
1337 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
1338 _nss_nis_getspnam_r): Likewise.
1339 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
1340 Likewise.
1341 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
1342 _nss_nisplus_getntohost_r): Likewise.
1343 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
1344 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
1345 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
1346 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
1347 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
1348 Likewise.
1349 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
1350 _nss_nisplus_getnetbyaddr_r): Likewise.
1351 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
1352 _nss_nisplus_getprotobynumber_r): Likewise.
1353 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
1354 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
1355 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
1356 Likewise.
1357 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
1358 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
1359 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
1360 _nss_nisplus_getspnam_r): Likewise.
1361 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
1362 * nscd/aicache.c (addhstaiX): Likewise.
1363 * nscd/cache.c (cache_search, prune_cache): Likewise.
1364 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
1365 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
1366 * nscd/grpcache.c (addgrbyX): Likewise.
1367 * nscd/hstcache.c (addhstbyX): Likewise.
1368 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1369 * nscd/mem.c (gc, mempool_alloc): Likewise.
1370 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
1371 Likewise.
1372 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
1373 Likewise.
1374 * nscd/nscd_getai.c (__nscd_getai): Likewise.
1375 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1376 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
1377 Likewise.
1378 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
1379 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
1380 * nscd/nscd_helper.c (__readvall, open_socket,
1381 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
1382 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
1383 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
1384 * nscd/pwdcache.c (addpwbyX): Likewise.
1385 * nscd/selinux.c (preserve_capabilities): Likewise.
1386 * nscd/servicescache.c (addservbyX): Likewise.
1387 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
1388 * posix/fnmatch.c (fnmatch): Likewise.
1389 * posix/getopt.c (_getopt_internal_r): Likewise.
1390 * posix/glob.c (glob, glob_in_dir): Likewise.
1391 * posix/wordexp.c (exec_comm_child): Likewise.
1392 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
1393 gaih_getanswer_slice): Likewise.
1394 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
1395 * resolv/res_init.c: Likewise.
1396 * resolv/res_mkquery.c (res_nmkquery): Likewise.
1397 * resolv/res_query.c (__libc_res_nquery): Likewise.
1398 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
1399 Likewise.
1400 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
1401 * stdio-common/perror.c (perror): Likewise.
1402 * stdio-common/printf_fp.c (___printf_fp): Likewise.
1403 * stdio-common/tmpnam.c (tmpnam): Likewise.
1404 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1405 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
1406 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
1407 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
1408 * stdlib/putenv.c (putenv): Likewise.
1409 * stdlib/setenv.c (__add_to_environ): Likewise.
1410 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1411 * stdlib/strtol_l.c (INTERNAL): Likewise.
1412 * string/memmem.c (memmem): Likewise.
1413 * string/strerror.c (strerror): Likewise.
1414 * string/strnlen.c (__strnlen): Likewise.
1415 * string/test-memmem.c (simple_memmem): Likewise.
1416 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
1417 * sunrpc/pm_getport.c (__get_socket): Likewise.
1418 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
1419 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
1420 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
1421 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
1422 Likewise.
1423 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
1424 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1425 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
1426 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
1427 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
1428 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
1429 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
1430 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
1431 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
1432 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1433 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
1434 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
1435 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
1436 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1437 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
1438 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
1439 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
1440 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
1441 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
1442 Likewise.
1443 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
1444 Likewise.
1445 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
1446 Likewise.
1447 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
1448 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1449 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
1450 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
1451 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
1452 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
1453 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1454 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
1455 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
1456 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
1457 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
1458 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1459 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1460 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
1461 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1462 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
1463 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
1464 Likewise.
1465 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
1466 Likewise.
1467 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
1468 Likewise.
1469 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1470 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1471 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
1472 Likewise.
1473 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
1474 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
1475 * sysdeps/posix/opendir.c (__opendirat): Likewise.
1476 * sysdeps/posix/sleep.c: Likewise.
1477 * sysdeps/posix/tempname.c: Likewise.
1478 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
1479 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1480 Likewise.
1481 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
1482 elf_machine_rela): Likewise.
1483 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1484 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1485 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
1486 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
1487 Likewise.
1488 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
1489 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
1490 elf_machine_rela, elf_machine_lazy_rel): Likewise.
1491 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
1492 elf_machine_rela, elf_machine_lazy_rel): Likewise.
1493 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
1494 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
1495 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
1496 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1497 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
1498 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
1499 elf_machine_lazy_rel): Likewise.
1500 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
1501 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
1502 elf_machine_lazy_rel): Likewise.
1503 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
1504 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
1505 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
1506 * sysdeps/unix/grantpt.c (grantpt): Likewise.
1507 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
1508 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
1509 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
1510 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1511 Likewise.
1512 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
1513 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
1514 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
1515 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
1516 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1517 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1518 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
1519 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
1520 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
1521 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1522 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1523 Likewise.
1524 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
1525 (__posix_fallocate64_l64): Likewise.
1526 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
1527 (posix_fallocate): Likewise.
1528 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
1529 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1530 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
1531 getifaddrs_internal): Likewise.
1532 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
1533 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
1534 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
1535 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1536 * sysdeps/unix/sysv/linux/posix_fallocate64.c
1537 (__posix_fallocate64_l64): Likewise.
1538 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1539 Likewise.
1540 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
1541 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1542 Likewise.
1543 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
1544 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1545 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
1546 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1547 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1548 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
1549 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
1550 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
1551 Likewise.
1552 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
1553 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
1554 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
1555 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
1556 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1557 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
1558 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
1559 Likewise.
1560 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1561 (posix_fallocate): Likewise.
1562 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1563 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
1564 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
1565 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
1566 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
1567 Likewise.
1568 * time/asctime.c (asctime_internal): Likewise.
1569 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
1570 * time/tzset.c (__tzset_parse_tz): Likewise.
1571 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1572 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1573 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
1574 * wcsmbs/wcsmbsload.h: Likewise.
1575
1576 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
1577
1578 [BZ #15894]
1579 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
1580
1581 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
1582
1583 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
1584 arena_get2): Remove THREAD_STATS conditionals.
1585 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
1586 __malloc_stats, int): Likewise.
1587
1588 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1589
1590 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
1591 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
1592
1593 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1594
1595 * manual/setjmp.texi: Fix typos/grammar errors.
1596
1597 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1598
1599 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
1600 Only return early when n is <= 0. Delete unused return statement.
1601
1602 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1603
1604 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
1605 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
1606 * debug/tst-longjmp_chk3.c: New file.
1607
1608 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1609
1610 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
1611 (test_main): Replace code with set_fortify_handler call.
1612 * debug/test-strcpy_chk.c: Likewise.
1613 * debug/tst-chk1.c: Likewise.
1614 * debug/tst-longjmp_chk.c: Likewise.
1615 * test-skeleton.c: Include fcntl.h & paths.h
1616 (set_fortify_handler): Define.
1617
1618 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1619
1620 * debug/tst-longjmp_chk.c: Add header comment and include
1621 ../test-skeleton.c.
1622 (do_test): Mark static.
1623 (TEST_FUNCTION): Define.
1624
1625 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1626
1627 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
1628 (IP_PMTUDISC_INTERFACE): Likewise.
1629 (IP_MULTICAST_IF): Likewise.
1630 (IP_MULTICAST_TTL): Likewise.
1631 (IP_MULTICAST_LOOP): Likewise.
1632 (IP_ADD_MEMBERSHIP): Likewise.
1633 (IP_DROP_MEMBERSHIP): Likewise.
1634 (IP_UNBLOCK_SOURCE): Likewise.
1635 (IP_BLOCK_SOURCE): Likewise.
1636 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
1637 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
1638 (IP_MSFILTER): Likewise.
1639 (MCAST_JOIN_GROUP): Likewise.
1640 (MCAST_BLOCK_SOURCE): Likewise.
1641 (MCAST_UNBLOCK_SOURCE): Likewise.
1642 (MCAST_LEAVE_GROUP): Likewise.
1643 (MCAST_JOIN_SOURCE_GROUP): Likewise.
1644 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1645 (MCAST_MSFILTER): Likewise.
1646 (IP_MULTICAST_ALL): Likewise.
1647 (IP_UNICAST_IF): Likewise.
1648
1649 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1650
1651 * timezone/Makefile: Delete $(have-ksh) check.
1652 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
1653 * timezone/tzselect.ksh: Add +x mode bits.
1654
1655 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1656
1657 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
1658 (ANON_INODE_FS_MAGIC): Likewise.
1659 (BDEVFS_MAGIC): Likewise.
1660 (BINFMTFS_MAGIC): Likewise.
1661 (BTRFS_TEST_MAGIC): Likewise.
1662 (CRAMFS_MAGIC_WEND): Likewise.
1663 (DEBUGFS_MAGIC): Likewise.
1664 (ECRYPTFS_SUPER_MAGIC): Likewise.
1665 (EXT3_SUPER_MAGIC): Likewise.
1666 (EXT4_SUPER_MAGIC): Likewise.
1667 (FUTEXFS_SUPER_MAGIC): Likewise.
1668 (HOSTFS_SUPER_MAGIC): Likewise.
1669 (HUGETLBFS_MAGIC): Likewise.
1670 (MINIX3_SUPER_MAGIC): Likewise.
1671 (MTD_INODE_FS_MAGIC): Likewise.
1672 (NILFS_SUPER_MAGIC): Likewise.
1673 (OPENPROM_SUPER_MAGIC): Likewise.
1674 (PIPEFS_MAGIC): Likewise.
1675 (PSTOREFS_MAGIC): Likewise.
1676 (QNX6_SUPER_MAGIC): Likewise.
1677 (RAMFS_MAGIC): Likewise.
1678 (REISERFS_SUPER_MAGIC_STRING): Likewise.
1679 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
1680 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
1681 (SECURITYFS_MAGIC): Likewise.
1682 (SELINUX_MAGIC): Likewise.
1683 (SMACK_MAGIC): Likewise.
1684 (SOCKFS_MAGIC): Likewise.
1685 (SQUASHFS_MAGIC): Likewise.
1686 (STACK_END_MAGIC): Likewise.
1687 (TMPFS_MAGIC): Likewise.
1688 (USBDEVICE_SUPER_MAGIC): Likewise.
1689 (V9FS_MAGIC): Likewise.
1690 (XENFS_SUPER_MAGIC): Likewise.
1691 (CRAMFS_MAGIC): Fix typo in comment.
1692 (EXT2_SUPER_MAGIC): Update comment.
1693 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
1694
1695 2014-02-08 Joseph Myers <joseph@codesourcery.com>
1696
1697 * sysdeps/arm: Move directory from ports/sysdeps/arm.
1698 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
1699 * sysdeps/unix/sysv/linux/arm: Move directory from
1700 ports/sysdeps/unix/sysv/linux/arm.
1701 * README: Update listing for arm-*-linux-gnueabi.
1702
1703 * README: Remove mention of am33.
1704
1705 2014-02-07 Roland McGrath <roland@hack.frob.com>
1706
1707 * bits/sigset.h (__sigemptyset): Use a statement expression rather
1708 than the comma operator, to avoid "rhs of comma has no effect"
1709 compiler warnings.
1710 (__sigfillset, __sigandset, __sigorset): Likewise.
1711 * include/signal.h (__sigemptyset): Likewise.
1712 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
1713
1714 2014-02-07 Allan McRae <allan@archlinux.org>
1715
1716 * version.h (RELEASE): Set to "development".
1717 (VERSION): Set to "2.19.90"
1718 * NEWS: Add 2.20 section.
1719
1720 2014-02-06 Carlos O'Donell <carlos@redhat.com>
1721
1722 [BZ #16529]
1723 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
1724
1725 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1726
1727 * manual/contrib.texi: Update entry for Carlos O'Donell,
1728 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
1729
1730 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
1731
1732 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
1733
1734 * sysdeps/unix/sysv/linux/kernel-features.h
1735 [__LINUX_KERNEL_VERSION >= 0x020621]
1736 (__ASSUME_PROC_PID_TASK_COMM): Define.
1737
1738 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1739
1740 [BZ #16398]
1741 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
1742 conversion when destination buffer does not have enough space.
1743 * libio/tst-ftell-partial-wide.c: New test case.
1744 * libio/Makefile (tests): Add tst-ftell-partial-wide.
1745
1746 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
1747 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
1748 Leonard and Allan McRae.
1749
1750 2014-02-04 David S. Miller <davem@davemloft.net>
1751
1752 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
1753 32-bit.
1754
1755 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1756
1757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
1758 file
1759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1760 New file
1761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
1762 file.
1763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
1764 file.
1765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1766 New file.
1767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
1768 file.
1769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
1770 file.
1771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1772 New file.
1773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1774 New file.
1775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1776 New file.
1777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1778 New file.
1779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1780 New file.
1781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1782 New file.
1783
1784 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1785
1786 * nptl/shlib-versions: Change powerpc*le start to 2.17.
1787 * shlib-versions: Likewise.
1788
1789 2014-02-04 Roland McGrath <roland@hack.frob.com>
1790 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1791
1792 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
1793 (abilist-pattern): New variable, set to %-le.abilist.
1794
1795 * Makerules (abilist-pattern): New variable.
1796 (vpath): Use $(abilist-pattern) in place of %.abilist.
1797 (check-abi-% pattern rule): Likewise.
1798 (check-abi, update-abi): Likewise.
1799
1800 2014-02-04 Eric Wong <normalperson@yhbt.net>
1801
1802 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1803
1804 2014-02-04 Eric Wong <normalperson@yhbt.net>
1805
1806 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1807
1808 2014-02-03 Carlos O'Donell <carlos@redhat.com>
1809
1810 * manual/startup.texi: Add next, previous, and top entries for
1811 the `Program Arguments' and `Environment Variables' nodes.
1812
1813 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
1814
1815 * manual/macros.texi: Add comments before MTASC-safety macros.
1816
1817 * manual/users.texi: Document MTASC-safety properties.
1818
1819 * manual/threads.texi (pthread_key_create, pthread_key_delete,
1820 pthread_getspecific, pthread_setspecific): Format with
1821 @deftypefun, and add @safety note.
1822 * manual/signal.texi: Move comments that analyze the above
1823 functions to their home place.
1824
1825 2014-02-03 Allan McRae <allan@archlinux.org>
1826
1827 * po/sl.po: Update Slovenian translation from translation project.
1828
1829 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
1830
1831 * manual/time.texi (timegm): Add missing blank after @c.
1832 Reported by Joseph Myers <joseph@codesourcery.com>.
1833
1834 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
1835
1836 * manual/check-safety.sh: New.
1837 * manual/Makefile ($(objpfx)stamp-summary): Run it.
1838
1839 * manual/terminal.texi: Document MTASC-safety properties.
1840
1841 * manual/filesys.texi: Document MTASC-safety properties.
1842
1843 * manual/errno.texi: Document MTASC-safety properties.
1844
1845 * manual/intro.texi: Document safety identifiers and
1846 conditionals.
1847
1848 * manual/string.texi (wcstok): Fix prototype.
1849 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
1850
1851 * manual/time.texi: Document MTASC-safety properties.
1852
1853 * manual/string.texi: Document MTASC-safety properties.
1854
1855 * manual/threads.texi: Document MTASC-safety properties.
1856
1857 * manual/stdio.texi: Document MTASC-safety properties.
1858
1859 * manual/syslog.texi: Document MTASC-safety properties.
1860
1861 * manual/sysinfo.texi: Document MTASC-safety properties.
1862
1863 * manual/startup.texi: Document MTASC-safety properties.
1864
1865 * manual/socket.texi: Document MTASC-safety properties.
1866
1867 * manual/signal.texi: Document MTASC-safety properties.
1868
1869 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
1870
1871 * manual/setjmp.texi: Document MTASC-safety properties.
1872
1873 * manual/search.texi: Document MTASC-safety properties.
1874
1875 * manual/resource.texi: Document MTASC-safety properties.
1876
1877 * manual/process.texi: Document MTASC-safety properties.
1878
1879 * manual/platform.texi: Document MTASC-safety properties.
1880
1881 * manual/pipe.texi: Document MTASC-safety properties.
1882
1883 * manual/pattern.texi: Document MTASC-safety properties.
1884
1885 * manual/message.texi: Document MTASC-safety properties.
1886
1887 [BZ #12751]
1888 * manual/memory.texi: Document MTASC-safety properties.
1889
1890 * manual/math.texi: Document MTASC-safety properties.
1891
1892 * manual/locale.texi: Document MTASC-safety properties.
1893
1894 * manual/llio.texi: Document MTASC-safety properties.
1895
1896 * manual/libdl.texi: New.
1897
1898 * manual/lang.texi: Document MTASC-safety properties.
1899
1900 * manual/job.texi: Document MTASC-safety properties.
1901
1902 * manual/getopt.texi: Document MTASC-safety properties.
1903
1904 * manual/ctype.texi: Document MTASC-safety properties.
1905
1906 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
1907
1908 [BZ #16046]
1909 * csu/libc-tls.c (static_map): Remove variable.
1910 (__libc_setup_tls): Use main executable's link map for TLS data.
1911 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
1912 casing for LM_ID_BASE and GL(dl_nns).
1913 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
1914 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
1915 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
1916 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
1917 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
1918 member.
1919 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
1920 l_phnum members.
1921
1922 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
1923
1924 * manual/debug.texi: Document MTASC-safety properties.
1925
1926 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
1927
1928 [BZ #16510]
1929 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
1930 of __x86_64__ when disabling x87 inline functions.
1931
1932 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
1933
1934 * manual/charset.texi: Document MTASC-safety properties.
1935
1936 * manual/crypt.texi: Document MTASC-safety properties.
1937
1938 * manual/conf.texi: Document MTASC-safety properties.
1939
1940 * manual/arith.texi: Document MTASC-safety properties.
1941
1942 * manual/argp.texi: Document MTASC-safety properties.
1943
1944 * manual/macros.texi: Introduce macros to document multi
1945 thread, asynchronous signal and asynchronous cancellation
1946 safety properties.
1947 * manual/intro.texi: Introduce the properties themselves.
1948
1949 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1950
1951 * sysdeps/sh/sh4/Makefile: New file.
1952
1953 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
1954
1955 * math/gen-libm-test.pl ($srcdir): New variable.
1956 ($auto_input): Use it.
1957
1958 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1959
1960 [BZ #16506]
1961 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
1962 access beyond array bounds when parsing netgroups file.
1963
1964 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
1965 the old buffer before realloc.
1966
1967 2014-01-27 Allan McRae <allan@archlinux.org>
1968
1969 * po/fr.po: Update French translation from translation project.
1970
1971 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1972
1973 * sysdeps/sh/libm-test-ulps: Regenerate.
1974
1975 2014-01-24 David S. Miller <davem@davemloft.net>
1976
1977 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
1978
1979 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1980
1981 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
1982 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
1983
1984 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1985
1986 [BZ #16474]
1987 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
1988 string pointers after reallocation.
1989
1990 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1991
1992 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
1993 __SH4A__ instead of __SH_FPU_ANY__.
1994
1995 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1996
1997 * sysdeps/sh/fpu_control.h: New file.
1998 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
1999 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
2000 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
2001 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
2002 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
2003 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
2004 * sysdeps/sh/sys/ucontext.h: Remove.
2005 * sysdeps/sh/sys: Remove directory.
2006
2007 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2008
2009 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
2010 s390/sys/ucontext.h.
2011 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
2012 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
2013
2014 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
2015
2016 [BZ #15605]
2017 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
2018
2019 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2020
2021 [BZ#16431]
2022 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2023 Adjust the vDSO correctly for internal calls.
2024 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
2025
2026 2014-01-20 Allan McRae <allan@archlinux.org>
2027
2028 * po/ca.po: Update Catalan translation from translation project.
2029
2030 2014-01-16 Mike Frysinger <vapier@gentoo.org>
2031
2032 * sysdeps/s390/sotruss-lib.c: New file.
2033
2034 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2035
2036 [BZ#16430]
2037 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
2038 (__GI___gettimeofday): Alias for a different internal symbol to avoid
2039 local calls issues by not having a PLT stub required for IFUNC calls.
2040 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
2041
2042 2014-01-16 Joseph Myers <joseph@codesourcery.com>
2043
2044 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
2045 * math/test-fpucw-static.c: Likewise.
2046
2047 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2048
2049 [BZ #16453]
2050 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
2051
2052 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2053
2054 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
2055 implementation for powerpc.
2056
2057 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
2058
2059 [BZ #14782]
2060 * sysdeps/posix/system.c (__libc_system): Do not enable
2061 asynchronous cancellation.
2062
2063 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2064
2065 [BZ #16427]
2066 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
2067 handling only for numbers special also in the IEEE case.
2068
2069 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2070
2071 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2072
2073 2014-01-11 Allan McRae <allan@archlinux.org>
2074
2075 * po/bg.po: Update Bulgarian translation from translation project.
2076
2077 * po/de.po: Update German translation from translation project.
2078
2079 2014-01-10 Roland McGrath <roland@hack.frob.com>
2080
2081 * sysdeps/generic/gcc-compat.h: New file.
2082
2083 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2084
2085 * benchtests/asin-inputs: Correct slow inputs.
2086 * benchtests/acos-inputs: Likewise.
2087
2088 2014-01-10 Allan McRae <allan@archlinux.org>
2089
2090 * po:sv.po: Update Swedish translation from translation project.
2091
2092 * po/vi.po: Update Vietnamese translation from translation project.
2093
2094 * po/eo.po: Update Esperanto translation from translation project.
2095
2096 * po/cs.po: Update Czech translation from translation project.
2097
2098 * po/nl.po: Update Dutch translation from translation project.
2099
2100 * po/pl.po: Update Polish translation from translation project.
2101
2102 * po/ru.po: Update Russian translation from translation project.
2103
2104 * po/uk.po: Update Ukrainian translation from translation project.
2105
2106 2014-01-08 Brooks Moses <bmoses@google.com>
2107
2108 * elf/dl-load.c: Fix comment typo.
2109
2110 2014-01-08 Carlos O'Donell <carlos@redhat.com>
2111
2112 * po/header.pot: Rename to...
2113 * po/pot.header: ... this.
2114 * po/Makefile: Use pot.header.
2115
2116 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
2117 Maxim Kuvyrkov <maxim@kugelworks.com>
2118
2119 [BZ #16394]
2120 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
2121 SRC and DEST against LEN.
2122
2123 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2124
2125 [BZ #16414]
2126 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
2127 implementation.
2128 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
2129
2130 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2131
2132 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2133
2134 2014-01-08 Joseph Myers <joseph@codesourcery.com>
2135
2136 [BZ #16408]
2137 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
2138 for large positive arguments.
2139
2140 2014-01-07 Joseph Myers <joseph@codesourcery.com>
2141
2142 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2143
2144 * math/auto-libm-test-in: Mark various tests with
2145 xfail-rounding:ldbl-128ibm.
2146 * math/auto-libm-test-out: Regenerated.
2147
2148 [BZ #16407]
2149 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2150 Increase overflow threshold.
2151
2152 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
2153
2154 [BZ #14286]
2155 * stdio-common/vfprintf.c: Check for integer overflow.
2156
2157 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2158
2159 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
2160 the first argument and return value of __tls_get_addr_internal.
2161
2162 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2163
2164 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
2165 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
2166
2167 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2168
2169 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
2170 * sysdeps/s390/rtld-global-offsets.sym: New file.
2171 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
2172 GLIBC_2.19 symbol.
2173 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
2174 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
2175 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2176 ... this.
2177 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
2178 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2179 ... this.
2180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2181 Regenerate.
2182 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2183 Regenerate.
2184 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
2185 halfs of GPRs for high_gprs contexts.
2186 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
2187 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
2188 field.
2189 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
2190 uc_flags field.
2191 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
2192 64 bit versions:
2193 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
2194 for high GPRs (uc_high_gprs) and for future extensions
2195 (__reserved).
2196 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
2197 for future extensions (__reserved).
2198 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
2199 64 bit versions:
2200 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
2201 SC_HIGHGPRS offset definition.
2202 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
2203 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
2204
2205 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2206
2207 * Versions.def: Add GLIBC_2.19 for libpthread.
2208 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
2209 siglongjmp for libpthread with GLIBC_2.19 symver.
2210 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
2211 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
2212 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
2213 * sysdeps/s390/__longjmp.c: New file.
2214 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
2215 * sysdeps/s390/longjmp.c: New file.
2216 * sysdeps/s390/setjmp.S: New file.
2217 * sysdeps/s390/sigjmp.S: New file.
2218 * sysdeps/s390/v1-longjmp.c: New file.
2219 * sysdeps/s390/v1-setjmp.h: New file.
2220 * sysdeps/s390/v1-sigjmp.c: New file.
2221 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
2222 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
2223 GLIBC_2.19 version.
2224 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
2225 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
2226 versioned symbols for ____longjmp_chk.
2227 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
2228 Likewise.
2229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2230 Regenerate.
2231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2232 Regenerate.
2233 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2234 Regenerate.
2235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2236 Regenerate.
2237 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
2238 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
2239 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
2240 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
2241 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
2242 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
2243 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
2244 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
2245 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
2246 * sysdeps/s390/rtld-__longjmp.c: New file.
2247 * sysdeps/s390/rtld-setjmp.S: New file.
2248
2249 2014-01-06 Joseph Myers <joseph@codesourcery.com>
2250
2251 [BZ #16400]
2252 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2253 Return -__logl (x) for small positive arguments without evaluating
2254 a polynomial.
2255
2256 2014-01-06 Mike Frysinger <vapier@gentoo.org>
2257
2258 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
2259 Rename to ...
2260 (__ptrace_peeksiginfo_args): ... this.
2261 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2262 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2263 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2264
2265 2014-01-06 Allan McRae <allan@archlinux.org>
2266
2267 * inet/netinet/in.h: Fix typo in comment.
2268
2269 2014-01-05 Andreas Jaeger <aj@suse.de>
2270
2271 * sysdeps/i386/fpu/libm-test-ulps: Update.
2272
2273 2014-01-05 Allan McRae <allan@archlinux.org>
2274
2275 * po/libc.pot: Regenerated.
2276
2277 * malloc/memusagestat.c: Fix gettext call formatting.
2278
2279 2014-01-04 Sami Kerola <kerolasa@iki.fi>
2280
2281 * nscd/nscd.c: Improve usage() output.
2282
2283 2014-01-04 Mike Frysinger <vapier@gentoo.org>
2284
2285 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
2286 * sysdeps/unix/sysv/linux/configure: Regenerated.
2287 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
2288 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
2289
2290 2014-01-03 Joseph Myers <joseph@codesourcery.com>
2291
2292 [BZ #16390]
2293 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2294 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
2295
2296 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2297
2298 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
2299 extra tokens at end of #undef directive.
2300 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
2301 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
2302 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2303
2304 2014-01-03 Joseph Myers <joseph@codesourcery.com>
2305
2306 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2307
2308 * math/auto-libm-test-in: Mark various tests with
2309 xfail-rounding:ldbl-128ibm.
2310 * math/auto-libm-test-out: Regenerated.
2311
2312 2014-01-02 Joseph Myers <joseph@codesourcery.com>
2313
2314 [BZ #16386]
2315 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
2316 numbers with subnormal high part when calculating exponent.
2317
2318 [BZ #16385]
2319 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
2320 fabs.
2321
2322 [BZ #16384]
2323 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
2324 M_LN2l.
2325 (__ieee754_acoshl): Use __log1pl not __log1p.
2326
2327 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
2328
2329 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
2330 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
2331 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
2332 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
2333 Convert to GNU style.
2334 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
2335 mem2mem_check, mem2chunk_check, top_check, realloc_check,
2336 memalign_check, __malloc_set_state): Likewise.
2337 * malloc/mallocbug.c (main): Likewise.
2338 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
2339 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
2340 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
2341 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
2342 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
2343 * malloc/malloc.h: Likewise.
2344 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
2345 memalignhook, reallochook, mabort): Likewise.
2346 * malloc/mcheck.h: Likewise.
2347 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
2348 mmap64, mremap, munmap, dest): Likewise.
2349 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
2350 * malloc/morecore.c (__default_morecore): Likewise.
2351 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
2352 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
2353 _obstack_allocated_p, obstack_free, _obstack_memory_used,
2354 print_and_abort): Likewise.
2355 * malloc/obstack.h: Likewise.
2356 * malloc/set-freeres.c (__libc_freeres): Likewise.
2357 * malloc/tst-mallocstate.c (main): Likewise.
2358 * malloc/tst-mtrace.c (main): Likewise.
2359 * malloc/tst-realloc.c (do_test): Likewise.
2360
2361 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2362
2363 [BZ #16366]
2364 * nscd/netgroupcache.c (do_notfound): New function.
2365 (addgetnetgrentX): Use it.
2366
2367 [BZ # 16365]
2368 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
2369 NSS_STATUS_NOTFOUND.
2370
2371 2014-01-01 Joseph Myers <joseph@codesourcery.com>
2372
2373 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2375
2376 2014-01-01 Allan McRae <allan@archlinux.org>
2377
2378 * scripts/update-copyrights: Update configure input file suffix.
2379
2380 * NEWS: Update copyright year.
2381 * catgets/gencat.c: Likewise.
2382 * csu/version.c: Likewise.
2383 * debug/catchsegv.sh: Likewise.
2384 * debug/pcprofiledump.c: Likewise.
2385 * debug/xtrace.sh: Likewise.
2386 * elf/ldconfig.c: Likewise.
2387 * elf/ldd.bash.in: Likewise.
2388 * elf/pldd.c: Likewise.
2389 * elf/sotruss.ksh: Likewise.
2390 * elf/sprof.c: Likewise.
2391 * iconv/iconv_prog.c: Likewise.
2392 * iconv/iconvconfig.c: Likewise.
2393 * locale/programs/locale.c: Likewise.
2394 * locale/programs/localedef.c: Likewise.
2395 * login/programs/pt_chown.c: Likewise.
2396 * malloc/memusage.sh: Likewise.
2397 * malloc/memusagestat.c: Likewise.
2398 * malloc/mtrace.pl: Likewise.
2399 * manual/libc.texinfo: Likewise.
2400 * nscd/nscd.c: Likewise.
2401 * nss/getent.c: Likewise.
2402 * nss/makedb.c: Likewise.
2403 * posix/getconf.c: Likewise.
2404 * scripts/test-installation.pl: Likewise.
2405
2406 * All files with FSF copyright notices: Update copyright dates
2407 using scripts/update-copyrights.
2408 * intl/plural.c: Regenerated.
2409 * locale/programs/charmap-kw.h: Likewise.
2410 * locale/programs/locfile-kw.h: Likewise.
2411
2412 2013-12-31 Mike Frysinger <vapier@gentoo.org>
2413
2414 * sysdeps/unix/sysv/linux/configure: Regenerated.
2415 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
2416 the linux/fanotify.h header.
2417 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
2418 HAVE_LINUX_FANOTIFY_H is defined.
2419
2420 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2421
2422 * benchtests/cos-inputs: New inputs.
2423 * benchtests/sin-inputs: Likewise.
2424
2425 * benchtests/atan-inputs: New inputs. Fix name of multiple
2426 precision fallback inputs.
2427
2428 * benchtests/atanh-inputs: New inputs.
2429 * benchtests/tanh-inputs: Likewise.
2430
2431 * benchtests/acosh-inputs: New inputs.
2432 * benchtests/asinh-inputs: Likewise.
2433
2434 * benchtests/cosh-inputs: New inputs.
2435 * benchtests/sinh-inputs: Likewise.
2436
2437 * benchtests/acos-inputs: Add more inputs.
2438 * benchtests/asin-inputs: Likewise.
2439
2440 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
2441
2442 [BZ #16375]
2443 * manual/arith.texi: Fix spelling.
2444 * manual/charset.texi: Likewise.
2445 * manual/errno.texi: Likewise.
2446 * manual/filesys.texi: Likewise.
2447 * manual/lang.texi: Likewise.
2448 * manual/llio.texi: Likewise.
2449 * manual/locale.texi: Likewise.
2450 * manual/message.texi: Likewise.
2451 * manual/resource.texi: Likewise.
2452 * manual/search.texi: Likewise.
2453 * manual/setjmp.texi: Likewise.
2454 * manual/stdio.texi: Likewise.
2455 * manual/string.texi: Likewise.
2456 * manual/sysinfo.texi: Likewise.
2457 * manual/time.texi: Likewise.
2458
2459 2013-12-27 Carlos O'Donell <carlos@redhat.com>
2460
2461 * po/sl.po: New file.
2462
2463 2013-12-27 Mike Frysinger <vapier@gentoo.org>
2464
2465 * .gitignore: Add core/.gdbinit/.gdb_history.
2466
2467 2013-12-27 Allan McRae <allan@archlinux.org>
2468
2469 [BZ #16369]
2470 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
2471 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
2472
2473 2013-12-24 Brooks Moses <bmoses@google.com>
2474
2475 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
2476 all compilers that claim C++98 compliance, not just GCC.
2477 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
2478 Likewise.
2479
2480 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
2481
2482 * NEWS: Restore accidentally deleted bug-fix entries.
2483
2484 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
2485 Ondřej Bílka <neleai@seznam.cz>
2486
2487 [BZ #15073]
2488 * malloc/malloc.c (_int_free): Perform sanity check only if we
2489 have_lock.
2490
2491 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
2492
2493 [BZ #12986]
2494 * manual/stdio.texi (String Input Conversions): Clarify that character
2495 classes are not supported.
2496
2497 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2498
2499 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2500
2501 2013-12-22 Joseph Myers <joseph@codesourcery.com>
2502
2503 [BZ #16337]
2504 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2505 Calculate results for small negative arguments directly rather
2506 than using reflection formula with special underflow handling.
2507
2508 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
2509 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
2510 sysdeps/unix/bsd/bsd4.4/syscalls.list.
2511 (fchflags): Likewise.
2512 (revoke): Likewise.
2513 (setlogin): Likewise.
2514 (sigaltstack): Likewise.
2515 (wait4): Likewise.
2516 (sigblock): Remove.
2517 (sigsetmask): Likewise.
2518 (wait3): Likewise.
2519 (waitpid): Likewise.
2520 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
2521 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
2522 file.
2523 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
2524 * sysdeps/unix/bsd/Makefile: ... here.
2525 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
2526 * sysdeps/unix/bsd/Versions: ... here.
2527 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
2528 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
2529 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
2530 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
2531 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
2532 * sysdeps/unix/bsd/sigblock.c: ... here.
2533 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
2534 * sysdeps/unix/bsd/sigsetmask.c: ... here.
2535 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
2536 * sysdeps/unix/bsd/sigvec.c: ... here.
2537 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
2538 * sysdeps/unix/bsd/tcdrain.c: ... here.
2539 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
2540 * sysdeps/unix/bsd/tcgetattr.c: ... here.
2541 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
2542 * sysdeps/unix/bsd/tcsetattr.c: ... here.
2543 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
2544 * sysdeps/unix/bsd/wait.c: ... here.
2545 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
2546 * sysdeps/unix/bsd/wait3.c: ... here.
2547 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
2548 * sysdeps/unix/bsd/waitpid.c: ... here.
2549
2550 2013-12-21 Joseph Myers <joseph@codesourcery.com>
2551
2552 [BZ #16356]
2553 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
2554 round-to-nearest for [!USE_AS_EXPM1L].
2555 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
2556 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
2557 more tests of exp and exp10. Expect some exp10 tests to miss
2558 exceptions or fail in directed rounding modes.
2559 * math/auto-libm-test-out: Regenerated.
2560 * math/libm-test.inc (exp10_tonearest_test_data): New array.
2561 (exp10_test_tonearest): New function.
2562 (exp10_towardzero_test_data): New array.
2563 (exp10_test_towardzero): New function.
2564 (exp10_downward_test_data): New array.
2565 (exp10_test_downward): New function.
2566 (exp10_upward_test_data): New array.
2567 (exp10_test_upward): New function.
2568 (main): Call the new functions.
2569 * sysdeps/i386/fpu/libm-test-ulps: Update.
2570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2571
2572 2013-12-20 Joseph Myers <joseph@codesourcery.com>
2573
2574 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2575 asinh, atan, atan2, atanh, cbrt, cos and cosh.
2576 * math/auto-libm-test-out: Regenerated.
2577 * math/libm-test.inc (acosh_test_data): Add more tests.
2578 (atanh_test_data): Likewise.
2579 (ceil_test_data): Likewise.
2580 (copysign_test_data): Likewise.
2581 * sysdeps/i386/fpu/libm-test-ulps: Update.
2582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2583
2584 * timezone/checktab.awk: Update from tzcode 2013i.
2585 * timezone/private.h: Likewise.
2586 * timezone/scheck.c: Likewise.
2587 * timezone/tzfile.h: Likewise.
2588 * timezone/tzselect.ksh: Likewise.
2589 * timezone/zdump.c: Likewise.
2590 * timezone/zic.c: Likewise.
2591
2592 * math/auto-libm-test-in: Add tests of cpow.
2593 * math/auto-libm-test-out: Regenerated.
2594 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
2595 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
2596 mpc_cc_c.
2597 (func_calc_desc): Add mpc_cc_c union field.
2598 (test_functions): Add cpow.
2599 (special_fill_2pi): New function.
2600 (special_real_inputs): Add 2pi.
2601 (calc_generic_results): Handle mpc_cc_c.
2602 * sysdeps/i386/fpu/libm-test-ulps: Update.
2603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2604
2605 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
2606 csqrt, ctan and ctanh.
2607 * math/auto-libm-test-out: Regenerated.
2608 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2609 (TEST_COND_x86): Likewise.
2610 (ccos_test_data): Use AUTO_TESTS_c_c.
2611 (ccosh_test_data): Likewise.
2612 (cexp_test_data): Likewise.
2613 (clog_test_data): Likewise.
2614 (csqrt_test_data): Likewise.
2615 (ctan_test_data): Likewise.
2616 (ctan_tonearest_test_data): Likewise.
2617 (ctan_towardzero_test_data): Likewise.
2618 (ctan_downward_test_data): Likewise.
2619 (ctan_upward_test_data): Likewise.
2620 (ctanh_test_data): Likewise.
2621 (ctanh_tonearest_test_data): Likewise.
2622 (ctanh_towardzero_test_data): Likewise.
2623 (ctanh_downward_test_data): Likewise.
2624 (ctanh_upward_test_data): Likewise.
2625 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2626 mpc_c_c.
2627 (func_calc_desc): Add mpc_c_c union field.
2628 (FUNC_mpc_c_c): New macro.
2629 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
2630 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
2631 ctanh.
2632 (special_fill_min_subnorm_p120): New function.
2633 (special_real_inputs): Add min_subnorm_p120.
2634 (calc_generic_results): Handle mpc_c_c.
2635 * sysdeps/i386/fpu/libm-test-ulps: Update.
2636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2637
2638 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2639
2640 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
2641 do_sin_slow): New functions.
2642 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
2643 cslow2, csloww1, csloww2): Use the new functions.
2644
2645 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
2646 Use M to change sign of result instead of X. Assume X is
2647 positive.
2648 (csloww1): Likewise.
2649 (__sin): Adjust.
2650 (__cos): Adjust.
2651
2652 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
2653 arguments A and DA.
2654 (__sin): Adjust.
2655 (__cos): Likewise.
2656
2657 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
2658 (__cos): Likewise.
2659 (sloww1): Don't adjust sign of DX.
2660 (csloww1): Likewise.
2661 (sloww2): Use X directly and don't adjust sign of DX.
2662 (csloww2): Likewise.
2663
2664 2013-12-19 Joseph Myers <joseph@codesourcery.com>
2665
2666 * math/auto-libm-test-in: Add tests of cabs and carg.
2667 * math/auto-libm-test-out: Regenerated.
2668 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
2669 (carg_test_data): Likewise.
2670 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2671 mpc_c_f.
2672 (func_calc_desc): Add mpc_c_f union field.
2673 (test_functions): Add cabs and carg.
2674 (calc_generic_results): Handle mpc_c_f.
2675
2676 * sysdeps/powerpc/powerpc32/libgcc-compat.S
2677 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
2678 as a macro and a compat symbol.
2679 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2680 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2681 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2682 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2683 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
2684 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
2685 not use .hidden.
2686 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
2687 Likewise.
2688 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
2689 Likewise.
2690 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
2691 Likewise.
2692 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
2693 Likewise.
2694 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
2695 Likewise.
2696 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
2697 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
2698 from GLIBC_2.3.2.
2699
2700 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2701
2702 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2703
2704 2013-12-19 Joseph Myers <joseph@codesourcery.com>
2705
2706 * manual/texinfo.tex: Update to version 2013-11-26.10 with
2707 trailing whitespace removed.
2708 * scripts/config.guess: Update to version 2013-11-29.
2709 * scripts/config.sub: Update to version 2013-10-01.
2710
2711 * math/auto-libm-test-in: Add tests of sincos.
2712 * math/auto-libm-test-out: Regenerated.
2713 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
2714 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2715 mpfr_f_11.
2716 (func_calc_desc): Add mpfr_f_11 union field.
2717 (test_functions): Add sincos.
2718 (calc_generic_results): Handle mpfr_f_11.
2719 * sysdeps/i386/fpu/libm-test-ulps: Update.
2720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2721
2722 2013-12-19 Andreas Schwab <schwab@suse.de>
2723
2724 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
2725 CALL_MCOUNT.
2726 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2727 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
2728 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
2729
2730 2013-12-19 Joseph Myers <joseph@codesourcery.com>
2731
2732 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
2733 * sysdeps/i386/fpu/libm-test-ulps: Update.
2734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2735
2736 [BZ #16293]
2737 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
2738 round-to-nearest mode when using frndint.
2739 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
2740 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2741 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2742 Likewise.
2743 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
2744 sinh test to fail.
2745 * math/auto-libm-test-out: Regenerated.
2746 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
2747 (TEST_COND_x86): Likewise.
2748 (expm1_tonearest_test_data): New array.
2749 (expm1_test_tonearest): New function.
2750 (expm1_towardzero_test_data): New array.
2751 (expm1_test_towardzero): New function.
2752 (expm1_downward_test_data): New array.
2753 (expm1_test_downward): New function.
2754 (expm1_upward_test_data): New array.
2755 (expm1_test_upward): New function.
2756 (main): Run the new test functions.
2757 * sysdeps/i386/fpu/libm-test-ulps: Update.
2758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2759
2760 * include/features.h: Update comment documenting feature test
2761 macros. Mention _DEFAULT_SOURCE in comment.
2762 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
2763 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
2764 _BSD_SOURCE and _SVID_SOURCE.
2765 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
2766 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
2767 !_SVID_SOURCE]: Likewise.
2768 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2769 (__USE_POSIX_IMPLICITLY): Define.
2770 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2771 (_POSIX_SOURCE): Undefine and redefine.
2772 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2773 (_POSIX_C_SOURCE): Likewise.
2774 * manual/creature.texi (_DEFAULT_SOURCE): Document.
2775 (Feature Test Macros): Update documentation of default features.
2776
2777 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2778
2779 * benchtests/Makefile: Add bench-strtok.
2780 * benchtests/bench-strtok.c: New file: strtok benchtest.
2781
2782 2013-12-19 Allan McRae <allan@archlinux.org>
2783
2784 * manual/install.texi: Suppress menu for plain text output.
2785 * INSTALL: Regenerated.
2786
2787 2013-12-18 Brooks Moses <bmoses@google.com>
2788
2789 [BZ #15846]
2790 * misc/getauxval.c: Include errno.h.
2791 (__getauxval): Set errno to ENOENT if the requested type is not
2792 found.
2793 * misc/sys/auxv.h (getauxval): Document that it may set errno;
2794 don't declare with __attribute_const__.
2795 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
2796 * manual/startup.texi: Document that getauxval sets errno.
2797
2798 2013-12-18 Joseph Myers <joseph@codesourcery.com>
2799
2800 * math/auto-libm-test-in: Add tests of jn and yn.
2801 * math/auto-libm-test-out: Regenerated.
2802 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
2803 (yn_test_data): Likewise.
2804 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2805 mpfr_if_f.
2806 (func_calc_desc): Add mpfr_if_f union field.
2807 (FUNC_mpfr_if_f): New macro.
2808 (test_functions): Add jn and yn.
2809 (calc_generic_results): Assert type of second input for
2810 mpfr_ff_f. Handle mpfr_if_f.
2811 (output_for_one_input_case): Disable all checking for arguments
2812 fitting floating-point types in case of an integer argument.
2813 * sysdeps/i386/fpu/libm-test-ulps: Update.
2814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2815
2816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2817 Don't expect fegetround reference in libm.so.
2818
2819 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2820
2821 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
2822 $(config-cflags-nofma).
2823
2824 2013-12-18 Joseph Myers <joseph@codesourcery.com>
2825
2826 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
2827 * math/auto-libm-test-out: Regenerated.
2828
2829 [BZ #16338]
2830 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
2831 to determine exponent and adjust argument to have exponent of -1.
2832 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
2833 log2.
2834 * math/auto-libm-test-out: Regenerated.
2835 * sysdeps/i386/fpu/libm-test-ulps: Update.
2836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2837
2838 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
2839
2840 * manual/probes.texi: Remove cases when per-thread arenas are
2841 disabled.
2842
2843 2013-12-18 Andreas Schwab <schwab@suse.de>
2844
2845 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
2846 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
2847 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
2848 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
2849 * sysdeps/i386/i686/multiarch/Makefile: Update.
2850 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
2851
2852 2013-12-17 Joseph Myers <joseph@codesourcery.com>
2853
2854 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
2855 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
2856
2857 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
2858
2859 [BZ #15968]
2860 Support TZ transition times < 00:00:00.
2861 This is needed for version-3 tz-format files; it supports time
2862 stamps past 2037 for America/Godthab (the only entry in the tz
2863 database for which this change is relevant).
2864 * manual/time.texi (TZ Variable): Document transition times
2865 from -167:59:59 through -00:00:01.
2866 * time/tzset.c (tz_rule): Time of day is now signed.
2867 (__tzset_parse_tz): Parse negative time of day.
2868
2869 Document TZ transition times >= 25:00:00.
2870 * manual/time.texi (TZ Variable): Document transition times from
2871 25:00:00 through 167:59:59. These are already supported, and this
2872 support will help with version-3 tz-format files.
2873
2874 * manual/time.texi (TZ Variable): Modernize North America example
2875 to reflect current (i.e., 2007-and-later) daylight saving rules.
2876
2877 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
2878
2879 2013-12-17 Joseph Myers <joseph@codesourcery.com>
2880
2881 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
2882 * sysdeps/unix/bsd/bits/stat.h: Likewise.
2883 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
2884 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2885 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
2886 * sysdeps/unix/bsd/bsdstat.h: Likewise.
2887 * sysdeps/unix/bsd/clock.c: Likewise.
2888 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
2889 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
2890 * sysdeps/unix/bsd/init-posix.c: Likewise.
2891 * sysdeps/unix/bsd/poll.c: Likewise.
2892 * sysdeps/unix/bsd/ptsname.c: Likewise.
2893 * sysdeps/unix/bsd/seekdir.c: Likewise.
2894 * sysdeps/unix/bsd/setegid.c: Likewise.
2895 * sysdeps/unix/bsd/seteuid.c: Likewise.
2896 * sysdeps/unix/bsd/setgid.c: Likewise.
2897 * sysdeps/unix/bsd/setrgid.c: Likewise.
2898 * sysdeps/unix/bsd/setruid.c: Likewise.
2899 * sysdeps/unix/bsd/setsid.c: Likewise.
2900 * sysdeps/unix/bsd/setuid.c: Likewise.
2901 * sysdeps/unix/bsd/sigaction.c: Likewise.
2902 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
2903 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
2904 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
2905 * sysdeps/unix/bsd/telldir.c: Likewise.
2906 * sysdeps/unix/bsd/times.c: Likewise.
2907 * sysdeps/unix/bsd/usleep.c: Likewise.
2908
2909 * misc/Makefile (install-lib): Remove libbsd-compat.a.
2910 ($(objpfx)libbsd-compat.a): Remove rule.
2911
2912 * include/features.h (__FAVOR_BSD): Do not define.
2913 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
2914 features conflicting with POSIX.
2915 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
2916 (_BSD_SOURCE): Remove description of not being a subset of other
2917 feature test macros.
2918 * manual/job.texi (getpgrp): Do not document BSD version.
2919 (getpgid): Do not document by reference to BSD getpgrp.
2920 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
2921 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
2922 * signal/signal.h [__FAVOR_BSD]: Likewise.
2923 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
2924 instead of making contents conditional on [__FAVOR_BSD].
2925 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
2926
2927 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2928
2929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2930
2931 2013-12-17 Joseph Myers <joseph@codesourcery.com>
2932
2933 [BZ #16314]
2934 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
2935 values below 2**-450, not 2**-500.
2936 * math/auto-libm-test-in: Don't allow spurious underflow from
2937 hypot.
2938 * math/auto-libm-test-out: Regenerated.
2939
2940 [BZ #16316]
2941 [BZ #16330]
2942 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
2943 values of ha and hb and sort them after adjusting subnormal
2944 arguments.
2945 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2946 Likewise.
2947 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
2948 values of ea and eb and sort them after adjusting subnormal
2949 arguments.
2950 * math/auto-libm-test-in: Do not expect some hypot tests of
2951 subnormals to fail. Add more hypot tests.
2952 * math/auto-libm-test-out: Regenerated.
2953
2954 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2955
2956 [BZ #13304]
2957 * sysdeps/sh/s_fma.c: New file.
2958 * sysdeps/sh/s_fmaf.c: New file.
2959 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
2960 version.
2961 * sysdeps/sh/Implies: Add sh/soft-fp.
2962
2963 2013-12-16 Roland McGrath <roland@hack.frob.com>
2964
2965 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
2966 level of indirection to members `objname', `errstring', `malloced'.
2967 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
2968 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
2969 it as the __longjmp argument (just pass 1 instead).
2970 (_dl_catch_error): Initialize C with argument pointers and address of
2971 volatile local ERRCODE rather than copying values out of C at return.
2972
2973 2013-12-16 Joseph Myers <joseph@codesourcery.com>
2974
2975 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
2976 * math/auto-libm-test-out: Regenerated.
2977 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
2978 (hypot_test_data): Likewise.
2979 (pow_test_data): Likewise.
2980 (pow_tonearest_test_data): Likewise.
2981 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2982 mpfr_ff_f.
2983 (func_calc_desc): Add mpfr_ff_f union field.
2984 (FUNC_mpfr_ff_f): New macro.
2985 (test_functions): Add atan2, hypot and pow.
2986 (special_fill_min): New function.
2987 (special_fill_minus_min): Likewise.
2988 (special_fill_min_subnorm): Likewise.
2989 (special_fill_minus_min_subnorm): Likewise.
2990 (special_real_inputs): Add min, -min, min_subnorm and
2991 -min_subnorm.
2992 (calc_generic_results): Handle mpfr_ff_f.
2993 * sysdeps/i386/fpu/libm-test-ulps: Update.
2994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2995
2996 2013-12-16 Will Newton <will.newton@linaro.org>
2997
2998 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
2999 (Aligned Memory Blocks): Add documentation for aligned_alloc
3000 and suggest it as an alternative to posix_memalign.
3001 (Hooks for Malloc): Document __memalign_hook is also called
3002 for aligned_alloc. (Summary of Malloc): Add summary for
3003 aligned alloc. Document __memalign_hook is also called
3004 for aligned_alloc.
3005
3006 2013-12-16 Will Newton <will.newton@linaro.org>
3007
3008 * manual/memory.texi (Malloc Examples): Clarify default
3009 alignment documentation. Suggest posix_memalign rather
3010 than memalign or valloc.
3011 (Aligned Memory Blocks): Remove suggestion to use memalign
3012 or valloc. Remove obsolete comment about BSD.
3013 Document memalign errno values and mark the function obsolete.
3014 Document posix_memalign returned error codes. Mark valloc
3015 as obsolete. (Hooks for Malloc): __memalign_hook is also
3016 called for posix_memalign and valloc.
3017 (Summary of Malloc): Add posix_memalign to function summary.
3018 __memalign_hook is also called for posix_memalign and valloc.
3019
3020 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3021
3022 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
3023 TAYLOR_SIN.
3024 (__sin): Adjust.
3025 (__cos): Likewise.
3026 (sloww): Use mynumber union. Expand ternary operator into
3027 if-else statements.
3028 (cslow): use mynumber union.
3029
3030 2013-12-16 Allan McRae <allan@archlinux.org>
3031
3032 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
3033 * configure: Regenerated.
3034
3035 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
3036
3037 [BZ #14120]
3038 * configure.ac: Added --enable-maintainer-mode. Check for
3039 autoconf when enabled.
3040 * configure: Regenerated.
3041
3042 * nscd/nscd.service: New file.
3043 * nscd/nscd.tmpfiles: New file.
3044
3045 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
3046
3047 [BZ #12100]
3048 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
3049 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
3050 * sysdeps/x86_64/multiarch/strstr.c: ... here.
3051 (strstr): Add __strstr_sse2_unaligned ifunc.
3052 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
3053 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
3054 (strcasestr): Remove __strcasestr_sse42 ifunc.
3055 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
3056 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
3057 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
3058
3059 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3060
3061 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
3062 * sysdeps/sh/bits/fenv.h: ... here.
3063 * sysdeps/sh/sh4/fpu/bits: Remove directory.
3064
3065 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3066
3067 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
3068
3069 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3070
3071 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
3072 hypotf multiarch implementations.
3073 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
3074 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
3075 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
3076 multiarch hypot for PPC64.
3077 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
3078 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
3079 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
3080 multiarch hypotf for PPC64.
3081
3082 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3083
3084 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
3085 modff multiarch implementations.
3086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
3087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
3088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
3089 multiarch modf for PPC64.
3090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
3091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
3092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
3093 multiarch modff for PPC64.
3094
3095 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3096
3097 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
3098 and logl multiarch implementations.
3099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
3100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
3101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
3102 multiarch logb for PPC64.
3103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
3104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
3105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
3106 multiarch logb for PPC64.
3107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
3108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
3109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
3110 multiarch logb for PPC64.
3111
3112 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3113
3114 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
3115 isinff multiarch implementation.
3116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
3117 file.
3118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
3119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
3120 multiarch isinf for PPC64.
3121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
3122 file.
3123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
3124 multiarch isinff for PPC64.
3125
3126 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3127
3128 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
3129 finitef multiarch implementation.
3130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
3131 file.
3132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
3133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
3134 multiarch finite for PPC64.
3135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
3136 file.
3137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
3138 multiarch finitef for PPC64.
3139
3140 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3141
3142 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
3143 lrint multiarch implementation.
3144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
3145 file.
3146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
3147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
3148 multiarch llrint for PPC64.
3149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
3150 multiarch lrint for PPC64.
3151
3152 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3153
3154 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
3155 copysignf multiarch implementation.
3156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
3157 file.
3158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
3159 file.
3160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
3161 multiarch copysign for PPC64.
3162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
3163 multiarch copysignf for PPC64.
3164
3165 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3166
3167 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
3168 multiarch implementation.
3169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
3170 file.
3171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
3172 file.
3173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
3174 file.
3175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
3176 file.
3177 multiarch llround for PPC64.
3178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
3179 multiarch trunc for PPC64.
3180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
3181 multiarch truncf for PPC64.
3182
3183 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3184
3185 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
3186 multiarch implementation.
3187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
3188 file.
3189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
3190 file.
3191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
3192 file.
3193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
3194 file.
3195 multiarch llround for PPC64.
3196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
3197 multiarch round for PPC64.
3198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
3199 multiarch roundf for PPC64.
3200
3201 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3202
3203 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
3204 multiarch implementation.
3205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
3206 file.
3207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
3208 file.
3209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
3210 file.
3211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
3212 file.
3213 multiarch llround for PPC64.
3214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
3215 multiarch floor for PPC64.
3216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
3217 multiarch floorf for PPC64.
3218
3219 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3220
3221 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
3222 multiarch implementation.
3223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
3224 file.
3225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
3226 file.
3227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
3228 file.
3229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
3230 file.
3231 multiarch llround for PPC64.
3232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
3233 multiarch ceil for PPC64.
3234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
3235 multiarch ceilf for PPC64.
3236
3237 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3238
3239 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3240 multiarch implementation.
3241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
3242 file.
3243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
3244 file.
3245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
3246 file.
3247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
3248 multiarch llround for PPC64.
3249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
3250 multiarch lround for PPC64.
3251
3252 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3253
3254 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3255 multiarch implementation.
3256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
3257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
3258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
3259 file.
3260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
3261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
3262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
3263 multiarch isnan for PPC64.
3264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
3265 multiarch isnanf for PPC64.
3266
3267 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3268
3269 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
3270 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
3271 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
3272 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
3273 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
3274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
3275
3276 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3277
3278 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
3279 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3280 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3281 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3282
3283 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3284
3285 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
3286 multiarch implementations.
3287 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3288 (__libc_ifunc_impl_list): Likewise.
3289 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
3290 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
3291 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
3292 multiarch stpcpy for PPC64.
3293
3294 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3295
3296 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
3297 multiarch implementations.
3298 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3299 (__libc_ifunc_impl_list): Likewise.
3300 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
3301 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
3302 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
3303 multiarch strcpy for PPC64.
3304
3305 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3306
3307 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
3308 redefine function name.
3309 (_wordcopy_fwd_dest_aligned): Likewise.
3310 (_wordcopy_bwd_aligned): Likewise.
3311 (_wordcopy_bwd_dest_aligned): Likewise.
3312 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
3313 multiarch implementations.
3314 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3315 (__libc_ifunc_impl_list): Likewise.
3316 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
3317 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
3318 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
3319 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
3320 multiarch wcscpy for PPC64.
3321
3322 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3323
3324 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
3325 multiarch implementations.
3326 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3327 (__libc_ifunc_impl_list): Likewise.
3328 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
3329 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
3330 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
3331 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
3332 multiarch wcscpy for PPC64.
3333
3334 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3335
3336 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
3337 multiarch implementations.
3338 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3339 (__libc_ifunc_impl_list): Likewise.
3340 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
3341 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
3342 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
3343 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
3344 multiarch wcsrchr for PPC64.
3345
3346 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3347
3348 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
3349 multiarch implementations.
3350 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3351 (__libc_ifunc_impl_list): Likewise.
3352 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
3353 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
3354 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
3355 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
3356 multiarch wcschr for PPC64.
3357
3358 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3359
3360 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
3361 multiarch implementations.
3362 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3363 (__libc_ifunc_impl_list): Likewise.
3364 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
3365 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
3366 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
3367 multiarch strchrnul for PPC64.
3368
3369 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3370
3371 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
3372 implementations.
3373 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3374 (__libc_ifunc_impl_list): Likewise.
3375 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
3376 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
3377 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
3378 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
3379 strchr for PPC64.
3380
3381 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3382
3383 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
3384 implementations.
3385 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3386 (__libc_ifunc_impl_list): Likewise.
3387 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
3388 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
3389 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
3390 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
3391 strncmp for PPC64.
3392
3393 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3394
3395 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
3396 multiarch implementations.
3397 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3398 (__libc_ifunc_impl_list): Likewise.
3399 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
3400 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
3401 strncasecmp for PPC64.
3402 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
3403 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
3404 multiarch strncasecmp_l for PPC64.
3405
3406 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3407
3408 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
3409 multiarch implementations.
3410 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3411 (__libc_ifunc_impl_list): Likewise.
3412 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
3413 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
3414 multiarch strcasecmp for PPC64.
3415 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
3416 file.
3417 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
3418 multiarch strcasecmp_l for PPC64.
3419
3420 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3421
3422 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
3423 implementations.
3424 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3425 (__libc_ifunc_impl_list): Likewise.
3426 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
3427 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
3428 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
3429 strnlen for PPC64.
3430
3431 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3432
3433 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
3434 implementations.
3435 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3436 (__libc_ifunc_impl_list): Likewise.
3437 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
3438 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
3439 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
3440 strlen for PPC64.
3441
3442 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3443
3444 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
3445 implementations.
3446 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3447 (__libc_ifunc_impl_list): Likewise.
3448 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
3449 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
3450 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
3451 rawmemrchr for PPC64.
3452
3453 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3454
3455 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
3456 implementation.
3457 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3458 (__libc_ifunc_impl_list): Likewise.
3459 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
3460 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
3461 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
3462 memrchr for PPC64.
3463
3464 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3465
3466 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
3467 implementation.
3468 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3469 (__libc_ifunc_impl_list): Likewise.
3470 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
3471 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
3472 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
3473 memchr for PPC64.
3474
3475 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3476
3477 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
3478 implementation.
3479 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3480 (__libc_ifunc_impl_list): Likewise.
3481 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
3482 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
3483 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
3484 mempcpy for PPC64.
3485
3486 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3487
3488 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
3489 avoid cretion of __bzero symbol.
3490 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
3491 Likewise.
3492 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
3493 Likewise.
3494 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
3495 Likewise.
3496 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
3497 multiarch implementations.
3498 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3499 (__libc_ifunc_impl_list): Likewise.
3500 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
3501 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
3502 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
3503 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
3504 bzero for PPC32.
3505 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
3506 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
3507 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
3508 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
3509 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
3510 memset for PPC64.
3511 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
3512
3513 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3514
3515 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
3516 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
3517 implementations.
3518 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3519 (__libc_ifunc_impl_list): Likewise.
3520 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
3521 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
3522 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
3523 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
3524 memcmp for PPC64.
3525
3526 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3527
3528 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
3529 multiarch for POWER/PPC64.
3530 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3531 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
3532 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
3533 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
3534 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
3535 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
3536 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
3537 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
3538 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
3539 memcpy for PPC64.
3540
3541 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3542
3543 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
3544 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
3545 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
3546 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
3547 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
3548 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
3549 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
3550 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
3551 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
3552 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
3553 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
3554 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
3555 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
3556 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
3557 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
3558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
3559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
3560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
3561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
3562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
3563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
3564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
3565
3566 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3567
3568 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
3569
3570 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3571
3572 * benchtests/Makefile (bench): Add exp2 and log2.
3573 (LDLIBS-bench-exp2): Add -lm.
3574 (LDLIBS-bench-log2): Likewise.
3575 * benchtests/exp2-inputs: New inputs file.
3576 * benchtests/log2-inputs: New inputs file.
3577 * benchtests/log-inputs: Add new inputs.
3578 * benchtests/tan-inputs: Likewise.
3579
3580 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3581
3582 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
3583 definition...
3584 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
3585 csloww1, csloww2): ... from here.
3586
3587 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
3588 instead of structures.
3589 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
3590 (POLYNOMIAL): Likewise.
3591 (TAYLOR_SLOW): Likewise.
3592 (__sin): Likewise.
3593 (__cos): Likewise.
3594 (slow1): Likewise.
3595 (slow2): Likewise.
3596 (sloww): Likewise.
3597 (sloww1); Likewise.
3598 (sloww2): Likewise.
3599 (bsloww1): Likewise.
3600 (bsloww2): Likewise.
3601 (cslow2): Likewise.
3602 (csloww): Likewise.
3603 (csloww1): Likewise.
3604 (csloww2): Likewise.
3605
3606 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
3607
3608 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
3609 (__malloc_assert, __libc_realloc, __libc_calloc,
3610 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
3611 memcpy and memset.
3612 * malloc/hooks.c (realloc_check): Likewise.
3613
3614 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
3615
3616 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
3617 * malloc/arena.c: Remove PER_THREAD conditional.
3618 [!PER_THREAD]: Remove code.
3619 (ptmalloc_unlock_all2): Likewise.
3620 (ptmalloc_init): Likewise.
3621 (_int_new_arena): Likewise.
3622 (arena_get2): Likewise.
3623 * malloc/hooks.c (__malloc_get_state): Likewise.
3624 (__malloc_set_state): Likewise.
3625 * malloc/malloc.c: Likewise.
3626 (struct malloc_state): Likewise.
3627 (struct malloc_par): Likewise.
3628 (__libc_realloc): Likewise.
3629 (__libc_mallopt): Likewise.
3630
3631 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3632
3633 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
3634
3635 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
3636
3637 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
3638 macro to a function. Check for zero perturb_byte.
3639 (_int_malloc, _int_free): Remove zero perturb_byte checks.
3640
3641 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
3642
3643 * malloc/malloc.c: (force_reg): Remove.
3644 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
3645 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
3646 force_reg by atomic_forced_read.
3647 * malloc/arena.c (ptmalloc_init): Likewise.
3648 * malloc/hooks.c (top_check): Likewise.
3649
3650 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3651
3652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3653
3654 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
3655
3656 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3657
3658 2013-12-08 Joseph Myers <joseph@codesourcery.com>
3659
3660 * math/auto-libm-test-in: Add tests of lgamma.
3661 * math/auto-libm-test-out: Regenerated.
3662 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
3663 (M_LOG_2_SQRT_PIl): Likewise.
3664 (lgamma_test_data): Use AUTO_TESTS_f_f1.
3665 * math/gen-auto-libm-tests.c (func_calc_method): Add value
3666 mpfr_f_f1.
3667 (func_calc_desc): Add mpfr_f_f1 union field.
3668 (ARGS1): New macro.
3669 (ARGS2): Likewise.
3670 (ARGS3): Likewise.
3671 (ARGS4): Likewise.
3672 (RET1): Likewise.
3673 (RET2): Likewise.
3674 (CALC): Likewise.
3675 (FUNC): Likewise.
3676 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
3677 (test_functions): Add lgamma.
3678 (calc_generic_results): Handle mpfr_f_f1.
3679 * sysdeps/i386/fpu/libm-test-ulps: Update.
3680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3681
3682 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3683
3684 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
3685 __mpn_add_n for PowerPC64/POWER7.
3686 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
3687 __mpn_sub_n for PowerPC64/POWER7.
3688
3689 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3690
3691 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
3692 __mpn_addmul_1 for PowerPC64.
3693 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
3694 __mpn_submul_1 for PowerPC64.
3695 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
3696 for PowerPC64.
3697 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
3698 for PowerPC64.
3699
3700 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
3701
3702 [BZ #15089]
3703 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
3704
3705 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3706
3707 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
3708
3709 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3710
3711 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
3712 add multiarch folders.
3713 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
3714 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
3715 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
3716 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
3717 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
3718 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
3719 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
3720 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
3721 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
3722 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
3723 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
3724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
3725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
3726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
3727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
3728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
3729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
3730
3731 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3732
3733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3734 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
3735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
3736 New file.
3737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
3738 New file.
3739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
3740 multiarch __ieee754_hypot for PowerPC32.
3741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
3742 New file.
3743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
3744 New file.
3745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
3746 multiarch __ieee754_hypotf for PowerPC32.
3747
3748 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3749
3750 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
3751 long_double_symbol only if __logbl is defined.
3752 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
3753 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
3754 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
3755 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
3756 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
3757 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
3758 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
3759 path for implementation.
3760 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
3761 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
3762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
3763 logb, and logbl multiarch implementations for PowerPC32.
3764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
3765 file.
3766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
3767 file.
3768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
3769 multiarch logb for PowerPC32.
3770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
3771 file.
3772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
3773 file.
3774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
3775 multiarch logbf for PowerPC32.
3776 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
3777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
3778 file.
3779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
3780 multiarch logbl implementation for PowerPC32.
3781
3782 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3783
3784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
3785 and modff multiarch implementations.
3786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
3787 New file.
3788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
3789 New file.
3790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
3791 multiarch modf for PowerPC32.
3792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
3793 New file.
3794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
3795 New file.
3796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
3797 multiarch modff for PowerPC32.
3798
3799 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3800
3801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
3802 and lrintf multiarch implementations.
3803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
3804 New file.
3805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3806 New file.
3807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
3808 multiarch lrint for PowerPC32.
3809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
3810 file: multiarch lrintf for PowerPC32.
3811
3812 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3813
3814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
3815 and lroundf multiarch implementations.
3816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
3817 New file.
3818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
3819 New file.
3820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
3821 New file.
3822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
3823 multiarch lround for PowerPC32.
3824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
3825 file: multiarch lroundf for PowerPC32.
3826
3827 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3828
3829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3830 copysign and copysignf multiarch implementations.
3831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3832 New file.
3833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3834 New file.
3835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
3836 file: multiarch copysign for PowerPC32.
3837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
3838 file: multiarch copysignf for PowerPC32.
3839
3840 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3841
3842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
3843 and truncf multiarch implementations.
3844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
3845 New file.
3846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
3847 file.
3848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
3849 multiarch trunc for PowerPC32.
3850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
3851 New file.
3852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
3853 New file.
3854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
3855 multiarch truncf for PowerPC32.
3856
3857 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3858
3859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
3860 and roundf multiarch implementations.
3861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
3862 New file.
3863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
3864 file.
3865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
3866 multiarch round for PowerPC32.
3867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
3868 New file.
3869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
3870 New file.
3871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
3872 multiarch roundf for PowerPC32.
3873
3874 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3875
3876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
3877 and floorf multiarch implementations.
3878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
3879 New file.
3880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
3881 file.
3882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
3883 multiarch floor for PowerPC32.
3884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
3885 New file.
3886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
3887 New file.
3888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
3889 multiarch floorf for PowerPC32.
3890
3891 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3892
3893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
3894 and ceilf multiarch implementations.
3895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
3896 New file.
3897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
3898 file.
3899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
3900 multiarch ceil for PowerPC32.
3901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
3902 New file.
3903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
3904 file.
3905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
3906 multiarch ceilf for PowerPC32.
3907
3908 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3909
3910 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
3911 is defined.
3912 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
3913 FINITEF is defined.
3914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
3915 and finitef multiarch implementations.
3916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3917 New file.
3918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
3919 file.
3920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
3921 multiarch finite for PowerPC32.
3922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3923 New file.
3924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
3925 file: multiarch finitef for PowerPC32.
3926
3927 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3928
3929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
3930 and isinff multiarch implementations.
3931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
3932 file.
3933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
3934 file.
3935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
3936 multiarch isinf for PowerPC32.
3937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3938 New file.
3939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
3940 multiarch isinff for PowerPC32.
3941
3942 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3943
3944 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
3945 alias when __isnan is defined.
3946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
3947 and isnanf multiarch implementations.
3948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
3949 file.
3950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
3951 file.
3952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
3953 file.
3954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
3955 file.
3956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
3957 multiarch isnan for PowerPC32.
3958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3959 New file.
3960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
3961 New file.
3962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
3963 multiarch isnanf for PowerPC32.
3964
3965 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3966
3967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
3968 and sqrtf multiarch implementations.
3969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
3970 file.
3971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
3972 file.
3973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
3974 multiarch sqrt for PowerPC32.
3975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
3976 file.
3977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
3978 file.
3979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
3980 multiarch sqrtf for PowerPC32.
3981
3982 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3983
3984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
3985 and llroundf multiarch implementations.
3986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
3987 New file.
3988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
3989 New file.
3990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
3991 New file.
3992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
3993 file: multiarch llround for PowerPC32.
3994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
3995 file: multiarch llroundf for PowerPC32.
3996
3997 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3998
3999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
4000 multiarch PowerPC32 fpu implementations.
4001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
4002 New file.
4003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
4004 New file.
4005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
4006 multiarch llrint for PowerPC32.
4007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
4008 New file.
4009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
4010 New file.
4011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
4012 file.
4013
4014 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4015
4016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
4017
4018 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4019
4020 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
4021 file.
4022 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
4023 file.
4024 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
4025 file.
4026 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
4027 multiarch wordcopy for PPC32.
4028 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
4029 wordcopy objects.
4030 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4031 (__libc_ifunc_impl_list): Likewise.
4032 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
4033 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
4034 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
4035 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
4036 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
4037 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
4038
4039 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4040
4041 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
4042 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
4043 file.
4044 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
4045 file.
4046 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
4047 file.
4048 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
4049 multiarch wcscpy for PPC32.
4050 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
4051 multiarch objects.
4052 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4053 (__libc_ifunc_impl_list): Likewise.
4054 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
4055 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
4056 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
4057 sysdeps/powerpc/power6/wcscpy.c.
4058
4059 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4060
4061 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
4062 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
4063 file.
4064 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
4065 file.
4066 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
4067 file.
4068 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
4069 multiarch wcsrchr for PPC32.
4070 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
4071 multiarch objects.
4072 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4073 (__libc_ifunc_impl_list): Likewise.
4074 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
4075 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
4076 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
4077 sysdeps/powerpc/power6/wcsrchr.c.
4078
4079 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4080
4081 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
4082 file.
4083 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
4084 file.
4085 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
4086 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
4087 multiarch wcschr for PPc32.
4088 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
4089 multiarch objects.
4090 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4091 (__libc_ifunc_impl_list): Likewise.
4092 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
4093 * sysdeps/powerpc/power6/wcschr.c: ... to here.
4094 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
4095 sysdeps/powerpc/power6/wcschr.c.
4096
4097 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4098
4099 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
4100 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
4101 file.
4102 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
4103 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
4104 file: multiarch strchr for PPC32.
4105 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
4106 multiarch objects.
4107 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4108 (__libc_ifunc_impl_list): Likewise.
4109
4110 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4111
4112 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
4113 name.
4114 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
4115 file.
4116 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
4117 file.
4118 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
4119 multiarch strchrnul for PPC32.
4120 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
4121 multiarch objects.
4122 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4123 (__libc_ifunc_impl_list): Likewise.
4124
4125 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4126
4127 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
4128 file.
4129 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
4130 multiarch strncasecmp for PPC32.
4131 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
4132 file.
4133 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
4134 multiarch strncasecmp_l for PPC32.
4135 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
4136 strncasecmp multiarch objects.
4137 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4138 (__libc_ifunc_impl_list): Likewise.
4139
4140 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4141
4142 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
4143 file.
4144 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
4145 multiarch strncasecmp for PPC32.
4146 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
4147 New file.
4148 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
4149 multiarch strcasecmp_l for PPC32.
4150 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
4151 multiarch objects.
4152 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4153 (__libc_ifunc_impl_list): Likewise.
4154
4155 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4156
4157 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
4158 file.
4159 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
4160 file.
4161 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
4162 multiarch strncmp for PPC32.
4163 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
4164 multiarch objects.
4165 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4166 (__libc_ifunc_impl_list): Likewise.
4167
4168 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4169
4170 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
4171 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
4172 file.
4173 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
4174 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
4175 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
4176 multiarch objects.
4177 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4178 (__libc_ifunc_impl_list): Likewise.
4179
4180 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4181
4182 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
4183 file.
4184 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
4185 file.
4186 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
4187 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
4188 multiarch objects.
4189 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4190 (__libc_ifunc_impl_list): Likewise.
4191
4192 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4193
4194 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
4195 file.
4196 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
4197 file.
4198 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
4199 multiarch rawmemchr for PPC32.
4200 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
4201 multiarch objects.
4202 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4203 (__libc_ifunc_impl_list): Likewise.
4204
4205 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4206
4207 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
4208 file.
4209 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
4210 file.
4211 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
4212 file: memrchr multiarch for PPC32.
4213 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
4214 multiarch objects.
4215 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4216 (__libc_ifunc_impl_list): Likewise.
4217
4218 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4219
4220 * string/memchr.c (__memchr): Using macro to redefine symbol name.
4221 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
4222 file.
4223 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
4224 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
4225 multiarch memchr for PPC32.
4226 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
4227 multiarch objects.
4228 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4229 (__libc_ifunc_impl_list): Likewise.
4230
4231 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4232
4233 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
4234 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
4235 file.
4236 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
4237 file.
4238 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
4239 file: multiarch mempcpy for PPC32.
4240 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
4241 multiarch objects.
4242 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4243 (__libc_ifunc_impl_list): Likewise.
4244
4245 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4246
4247 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
4248 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
4249 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
4250 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
4251 multiarch bzero for PPC32.
4252 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
4253 file.
4254 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
4255 file.
4256 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
4257 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
4258 file: multiarch memset for PPC32.
4259 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
4260 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
4261 memset multiarch objects.
4262 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4263 (__libc_ifunc_impl_list): Likewise.
4264
4265 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4266
4267 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
4268 file.
4269 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
4270 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
4271 memcmp for PPC32.
4272 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
4273 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
4274 multiarch objects.
4275 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4276 (__libc_ifunc_impl_list): Likewise.
4277
4278 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4279
4280 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
4281 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
4282 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
4283 file.
4284 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
4285 file.
4286 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
4287 file.
4288 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
4289 multiarch memcpy for PPC32.
4290 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
4291 multiarch objects.
4292 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4293 (__libc_ifunc_impl_list): Likewise.
4294
4295 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4296
4297 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
4298 support multiarch for POWER/PPC32.
4299 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4300 Likewise.
4301 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
4303 Implies file to make multiarch folder appers before the fpu and
4304 default folder for power4 configuration.
4305
4306 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4307
4308 * scripts/bench.pl: Append volatile keyword to type.
4309
4310 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4311
4312 * sysdeps/sh/sotruss-lib.c: New file.
4313 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
4314
4315 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4316
4317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4318
4319 2013-12-05 Joseph Myers <joseph@codesourcery.com>
4320
4321 [BZ #6810]
4322 * math/w_tgamma.c: Include <errno.h>.
4323 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
4324 * math/w_tgammaf.c: Include <errno.h>.
4325 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
4326 * math/w_tgammal.c: Include <errno.h>.
4327 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
4328 * math/auto-libm-test-in: Do not allow missing errno on tgamma
4329 underflow. Add more tgamma tests.
4330 * math/auto-libm-test-out: Regenerated.
4331 * sysdeps/i386/fpu/libm-test-ulps: Update.
4332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4333
4334 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
4335 sin, sinh, tan, tanh, tgamma, y0 and y1.
4336 * math/auto-libm-test-out: Regenerated.
4337 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4338 (TEST_COND_x86): Likewise.
4339 (M_E2l): Remove macro.
4340 (M_E3l): Likewise.
4341 (M_2_SQRT_PIl): Likewise.
4342 (M_SQRT_PIl): Likewise.
4343 (M_1_DIV_El): Likewise.
4344 (log_test_data): Use AUTO_TESTS_f_f.
4345 (log10_test_data): Likewise.
4346 (log1p_test_data): Likewise.
4347 (log2_test_data): Likewise.
4348 (sin_test_data): Likewise.
4349 (sin_tonearest_test_data): Likewise.
4350 (sin_towardzero_test_data): Likewise.
4351 (sin_downward_test_data): Likewise.
4352 (sin_upward_test_data): Likewise.
4353 (sinh_test_data): Likewise.
4354 (sinh_tonearest_test_data): Likewise.
4355 (sinh_towardzero_test_data): Likewise.
4356 (sinh_downward_test_data): Likewise.
4357 (sinh_upward_test_data): Likewise.
4358 (tan_test_data): Likewise.
4359 (tan_tonearest_test_data): Likewise.
4360 (tan_towardzero_test_data): Likewise.
4361 (tan_downward_test_data): Likewise.
4362 (tan_upward_test_data): Likewise.
4363 (tanh_test_data): Likewise.
4364 (tgamma_test_data): Likewise.
4365 (y0_test_data): Likewise.
4366 (y1_test_data): Likewise.
4367 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
4368 (special_real_inputs): Add pi/4.
4369 * sysdeps/i386/fpu/libm-test-ulps: Update.
4370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4371
4372 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4373
4374 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
4375 "longjmp_target" static probes.
4376 (__longjmp): Rename to __longjmp_symbol.
4377 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4378 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
4379 on which longjmp to generate.
4380 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4381 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
4382 probe.
4383 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4384 (__sigjmp_save): Rename to __sigjmp_save_symbol.
4385 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4386 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
4387 and __sigjmp_save_symbol based on which sigsetjmp to generated.
4388 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
4389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
4390 __longjmp_symbol based on which __longjmp to generate.
4391 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
4392 probe.
4393 (setjmp): Rename to setjmp_symbol.
4394 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4395 (_setjmp): Rename to _setjmp_symbol.
4396 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4397 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
4398 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
4399 which setjmp to generate.
4400 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
4401 "longjmp_target" static probes.
4402
4403 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4404
4405 * benchtests/README: Add note about output arguments.
4406 * benchtests/bench-sincos.c: Remove file.
4407 * benchtests/sincos-inputs: New file.
4408 * scripts/bench.pl: Identify output arguments and define
4409 static variables for them.
4410
4411 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
4412
4413 [BZ #15941]
4414 * Makefile (INSTALL): Add install-plain.texi as the primary
4415 dependency.
4416 * manual/install-plain.texi: New file.
4417 * manual/install.texi: Include node directive only for
4418 non-plaintext output.
4419
4420 2013-12-04 Joseph Myers <joseph@codesourcery.com>
4421
4422 * stdlib/longlong.h: Update from GCC.
4423
4424 [BZ #6807]
4425 [BZ #15901]
4426 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
4427 * math/w_j0f.c (y0f): Likewise.
4428 * math/w_j0l.c (__y0l): Likewise.
4429 * math/w_j1.c (y1): Likewise.
4430 * math/w_j1f.c (y1f): Likewise.
4431 * math/w_j1l.c (__y1l): Likewise
4432 * math/w_jn.c (yn): Likewise.
4433 * math/w_jnf.c (ynf): Likewise.
4434 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
4435 Bessel function pole errors in _POSIX_ mode. Use NAN as return
4436 value for Bessel function domain errors outside _SVID_ mode.
4437 Adjust sign of return value for yn (negative integer, 0).
4438 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
4439 by zero in return for negative x and set sign appropriately for
4440 negative n.
4441 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
4442 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
4443 * math/libm-test.inc (y0_test_data): Add more tests and adjust
4444 expectations in error cases.
4445 (y1_test_data): Likewise.
4446 (yn_test_data): Likewise.
4447 * sysdeps/i386/fpu/libm-test-ulps: Update.
4448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4449
4450 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4451
4452 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
4453 "64" to "64-v1". Add "64-v2".
4454 (abi-64-options): Rename to ...
4455 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
4456 (abi-64-condition): Rename to ...
4457 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
4458 (abi-64-ld-soname): Rename to ...
4459 (abi-64-v1-ld-soname): ... this.
4460 (abi-64-v2-options): Define.
4461 (abi-64-v2-condition): Likewise.
4462 (abi-64-v2-ld-soname): Likewise.
4463 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
4464 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
4465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
4466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
4467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
4468
4469 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4470 Alan Modra <amodra@gmail.com>
4471
4472 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
4473 New versions for use with the ELFv2 ABI.
4474 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
4475 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
4476 declaration.
4477 (struct La_ppc64v2_retval): Likewise.
4478 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
4479 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
4480 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
4481 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
4482 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
4483 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
4484 Do not save or restore CR.
4485 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
4486 (_dl_profile_resolve): Do no save or restore CR. Support extended
4487 return values for ELFv2 ABI. Fix location of FPR return registers.
4488 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
4489 updated values for _CALL_ELF == 2.
4490 (La_regs, La_retval, int_retval): Likewise.
4491
4492 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4493
4494 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
4495 (FRAME_MIN_SIZE_PARM): Likewise.
4496 (FRAME_BACKCHAIN): Likewise.
4497 (FRAME_CR_SAVE): Likewise.
4498 (FRAME_LR_SAVE): Likewise.
4499 (FRAME_TOC_SAVE): Likewise.
4500 (FRAME_PARM_SAVE): Likewise.
4501 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4502 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4503 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4504 (call_mcount_parm_offset): New macro.
4505 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
4506 (PROF): Use symbolic stack frame offsets.
4507 (TAIL_CALL_SYSCALL_ERROR): Likewise.
4508 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
4509 Redefine in terms of FRAME_MIN_SIZE.
4510 (_dl_runtime_resolve): Use symbolic stack frame offsets.
4511 (_dl_profile_resolve): Likewise. Update comment.
4512 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
4513 symbols stack frame offsets.
4514 (__sigsetjmp): Likewise.
4515 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
4516 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
4517 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
4518 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
4519
4520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
4521 (FRAME_BACKCHAIN): Remove.
4522 (FRAME_CR_SAVE): Likewise.
4523 (FRAME_LR_SAVE): Likewise.
4524 (FRAME_COMPILER_DW): Likewise.
4525 (FRAME_LINKER_DW): Likewise.
4526 (FRAME_TOC_SAVE): Likewise.
4527 (FRAME_PARM_SAVE): Likewise.
4528 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4529 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4530 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
4532 (CHECK_SP): Use symbolic stack frame offsets.
4533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
4534 zone" instead of caller's parameter save area for temp storage.
4535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4536 Likewise. Also, use symbolic stack frame offsets.
4537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
4538 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
4539 our own stack frame instead of the caller's.
4540 (__socket): Use symbolic stack frame offsets.
4541
4542 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4543 Alan Modra <amodra@gmail.com>
4544
4545 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
4546 Define.
4547 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
4548 PPC64_LOCAL_ENTRY_OFFSET): Define.
4549 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
4550 New function.
4551 (elf_machine_fixup_plt): Call it.
4552 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
4553 reloc arguments.
4554 (elf_machine_rela): Update call to elf_machine_plt_conflict.
4555 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4556 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
4557 r2 before calling target.
4558
4559 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4560 Alan Modra <amodra@gmail.com>
4561
4562 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
4563 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
4564 versions of macros to support ELFv2 ABI.
4565 (LOCALENTRY): New macro.
4566 (ENTRY, EALIGN): Use it.
4567 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
4568 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
4569 fall through into ENTRY entry point.
4570 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
4571 Only define if _CALL_ELF != 2.
4572
4573 (elf_machine_matches_host): Verify ABI version matches.
4574 (RTLD_START): Use LOCALENTRY.
4575 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
4576 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
4577 (PLT_ENTRY_WORDS): New macro.
4578 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
4579 (elf_machine_runtime_setup): Support ELFv2 ABI.
4580 (elf_machine_fixup_plt): Likewise.
4581 (elf_machine_plt_conflict): Likewise.
4582 (resolve_ifunc): Likewise.
4583 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4584 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4585 Likewise.
4586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
4587 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
4588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4589 (makecontext): Support ELFv2 ABI.
4590 * elf/elf.h (EF_PPC64_ABI): Define.
4591
4592 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4593
4594 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
4595 New assembler macro.
4596 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
4597 [ASSEMBLER] (ENTRY): ... but instead here ...
4598 [ASSEMBLER] (EALIGN): ... and here.
4599 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
4600 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
4601 [!ASSEMBLER] (ENTRY_2): Use it.
4602 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
4603 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
4604 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4605 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
4606 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
4607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
4608 Use PPC64_LOAD_FUNCPTR.
4609
4610 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4611
4612 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
4613
4614 2013-12-04 Alan Modra <amodra@gmail.com>
4615
4616 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
4617 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
4618 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
4619 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
4620
4621 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
4622 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
4623 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
4624 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
4625 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
4626 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
4627
4628 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4629
4630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4631 (__makecontext): Fix incorrect CFI when backtracing out of
4632 context created via makecontext.
4633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
4634 (__setcontext): Fix incorrect CFI during switch to new context.
4635 (__novec_setcontext): Likewise.
4636
4637 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
4638
4639 [BZ #4772]
4640 * time/strptime_l.c (__strptime_internal): Allow modifiers
4641 in strptime.
4642 * time/tst-strptime.c (day_tests): Add testcase.
4643
4644
4645 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4646
4647 * scripts/bench.pl: Skip over blank lines.
4648
4649 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
4650
4651 [BZ #926]
4652 * manual/time.texi (Calendar Time): Clarify what timezone functions
4653 use.
4654
4655 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4656
4657 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4658
4659 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
4660
4661 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
4662 implementation.
4663 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
4664 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
4665 * debug/memset_chk.c (__memset_chk): Likewise.
4666 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
4667 * debug/strncpy_chk.c: Likewise.
4668
4669 2013-12-03 Joseph Myers <joseph@codesourcery.com>
4670
4671 [BZ #15268]
4672 [BZ #15425]
4673 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
4674 (__ieee754_exp): For possibly underflowing results, check size of
4675 result and force underflow exception if required.
4676 * math/auto-libm-test-in: Add more tests of exp.
4677 * math/auto-libm-test-out: Regenerated.
4678 * sysdeps/i386/fpu/libm-test-ulps: Update.
4679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4680
4681 [BZ #16283]
4682 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
4683 * math/w_exp2f.c (__exp2f): Likewise.
4684 * math/w_exp2l.c (__exp2l): Likewise.
4685 * math/auto-libm-test-in: Do not allow missing errno on exp2
4686 underflow.
4687 * math/auto-libm-test-out: Regenerated.
4688
4689 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
4690
4691 [BZ #16274]
4692 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
4693 handle filename validation.
4694 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
4695 (do_open): Delete.
4696
4697 2013-12-03 Joseph Myers <joseph@codesourcery.com>
4698
4699 [BZ #6786]
4700 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
4701 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
4702 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
4703 <float.h>.
4704 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
4705 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
4706 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4707 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
4708 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4709 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
4710 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4711 * math/auto-libm-test-in: Don't allow missing errno from erfc.
4712 Add more erfc tests.
4713 * math/auto-libm-test-out: Regenerated.
4714 * sysdeps/i386/fpu/libm-test-ulps: Update.
4715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4716
4717 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
4718 exp2, expm1, j0 and j1.
4719 * math/auto-libm-test-out: Regenerated.
4720 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
4721 (erfc_test_data): Likewise.
4722 (exp_test_data): Likewise.
4723 (exp_tonearest_test_data): Likewise.
4724 (exp_towardzero_test_data): Likewise.
4725 (exp_downward_test_data): Likewise.
4726 (exp_upward_test_data): Likewise.
4727 (exp10_test_data): Likewise.
4728 (exp2_test_data): Likewise.
4729 (expm1_test_data): Likewise.
4730 (j0_test_data): Likewise.
4731 (j1_test_data): Likewise.
4732 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
4733 (input_flag_type): Add flag_xfail_rounding.
4734 (input_flags): Add xfail-rounding.
4735 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
4736 (output_for_one_input_case): Handle flag_xfail_rounding.
4737 * sysdeps/i386/fpu/libm-test-ulps: Update.
4738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4739
4740 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
4741
4742 [BZ #16289]
4743 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
4744 division by 0.
4745
4746 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4747
4748 [BZ #16195]
4749 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
4750 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
4751 (STAP_PROBE0): New macro.
4752 (STAP_PROBE1): Likewise.
4753 (STAP_PROBE2): Likewise.
4754 (STAP_PROBE3): Likewise.
4755 (STAP_PROBE4): Likewise.
4756
4757 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
4758
4759 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
4760
4761 2013-12-02 Steve Ellcey <sellcey@mips.com>
4762
4763 * benchtests/Makefile (bench): Add sqrt.
4764 (LDLIBS-bench-sqrt): New.
4765 * benchtests/sqrt-input: New.
4766
4767 2013-12-02 Pavel Simerda <psimerda@redhat.com>
4768
4769 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
4770 (GAIH_EAI): Likewise.
4771 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
4772 (gaih_inet): Likewise.
4773 (getaddrinfo): Don't use GAIH_EAI.
4774
4775 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
4776 (struct gaih): Remove definition.
4777
4778 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4779
4780 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
4781 Use HERRNOP directly.
4782
4783 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4784
4785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4786
4787 2013-11-30 Joseph Myers <joseph@codesourcery.com>
4788
4789 * math/gen-auto-libm-tests.c (test_functions): Add more
4790 single-argument functions.
4791 (special_fill_pi_2): New function.
4792 (special_fill_minus_pi_2): Likewise.
4793 (special_fill_pi_6): Likewise.
4794 (special_fill_minus_pi_6): Likewise.
4795 (special_fill_pi_3): Likewise.
4796 (special_fill_2pi_3): Likewise.
4797 (special_fill_e): Likewise.
4798 (special_fill_1_e): Likewise.
4799 (special_fill_e_minus_1): Likewise.
4800 (special_real_inputs): Add more special inputs.
4801 (output_for_one_input_case): Do not require ERANGE on underflow to
4802 zero if round-to-nearest result does not underflow to zero, unless
4803 exact results required.
4804 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
4805 atan, atanh, cbrt, cos and cosh.
4806 * math/auto-libm-test-out: Regenerated.
4807 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
4808 (acos_tonearest_test_data): Likewise.
4809 (acos_towardzero_test_data): Likewise.
4810 (acos_downward_test_data): Likewise.
4811 (acos_upward_test_data): Likewise.
4812 (acosh_test_data): Likewise.
4813 (asin_test_data): Likewise.
4814 (asin_tonearest_test_data): Likewise.
4815 (asin_towardzero_test_data): Likewise.
4816 (asin_upward_test_data): Likewise.
4817 (asinh_test_data): Likewise.
4818 (atan_test_data): Likewise.
4819 (atanh_test_data): Likewise.
4820 (cbrt_test_data): Likewise.
4821 (cos_test_data): Likewise.
4822 (cos_tonearest_test_data): Likewise.
4823 (cos_towardzero_test_data): Likewise.
4824 (cos_downward_test_data): Likewise.
4825 (cos_upward_test_data): Likewise.
4826 (cosh_test_data): Likewise.
4827 (cosh_tonearest_test_data): Likewise.
4828 (cosh_towardzero_test_data): Likewise.
4829 (cosh_downward_test_data): Likewise.
4830 (cosh_upward_test_data): Likewise.
4831 * sysdeps/i386/fpu/libm-test-ulps: Update.
4832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4833
4834 2013-11-29 Joseph Myers <joseph@codesourcery.com>
4835
4836 [BZ #6787]
4837 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
4838 * math/w_exp10f.c (__exp10f): Likewise.
4839 * math/w_exp10l.c (__exp10l): Likewise.
4840 * math/libm-test.inc (exp10_test_data): Add more tests and expect
4841 errno settings in existing tests.
4842
4843 [BZ #14032]
4844 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
4845 precision control set to double precision.
4846 * sysdeps/i386/fpu/w_sqrt.c: New file.
4847 * math/auto-libm-test-in: Add more tests.
4848 * math/auto-libm-test-out: Update.
4849
4850 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
4851 (sqrt_test_tonearest): New function.
4852 (sqrt_towardzero_test_data): New variable.
4853 (sqrt_test_towardzero): New function.
4854 (sqrt_downward_test_data): New variable.
4855 (sqrt_test_downward): New function.
4856 (sqrt_upward_test_data): New variable.
4857 (sqrt_test_upward): New function.
4858 (main): Call the new functions.
4859
4860 * math/gen-auto-libm-tests.c: New file.
4861 * math/auto-libm-test-in: Likewise.
4862 * math/auto-libm-test-out: New generated file.
4863 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
4864 variables.
4865 (%beautify): Add generated representations of zero.
4866 (top level): Set $auto_input and call parse_auto_input.
4867 (beautify): Remove trailing "f" from hex float constants.
4868 (parse_args): Handle XFAIL_TEST.
4869 (convert_condition): New function.
4870 (or_value): Likewise.
4871 (or_cond_value): Likewise.
4872 (generate_testfile): Handle AUTO_TESTS_* lines.
4873 (parse_auto_input): New function.
4874 * math/libm-test.inc (XFAIL_TEST): New macro.
4875 (ERRNO_UNCHANGED): Update value.
4876 (ERRNO_EDOM): Likewise.
4877 (ERRNO_ERANGE): Likewise.
4878 (IGNORE_RESULT): Likewise.
4879 (TEST_COND_flt_32): New macro.
4880 (TEST_COND_dbl_64): Likewise.
4881 (TEST_COND_ldbl_96_intel): Likewise.
4882 (TEST_COND_ldbl_96_m68k): Likewise.
4883 (TEST_COND_ldbl_128): Likewise.
4884 (TEST_COND_ldbl_128ibm): Likewise.
4885 (TEST_COND_long32): Likewise.
4886 (TEST_COND_long64): Likewise.
4887 (TEST_COND_before_rounding): Likewise.
4888 (TEST_COND_after_rounding): Likewise.
4889 (enable_test): Handle XFAIL_TEST flag.
4890 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
4891 with finite results.
4892 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
4893 auto-libm-test-out.
4894
4895 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4896 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4897
4898 [BZ #16214]
4899 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
4900 __tls_get_addr_internal instead of __tls_get_offset in order to
4901 avoid GOT pointer dependency. Make rtld export
4902 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
4903 __tls_get_addr since we are a __tls_get_offset platform.
4904 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
4905 GOT pointer being set up before.
4906 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
4907
4908 2013-11-28 Joseph Myers <joseph@codesourcery.com>
4909
4910 * manual/math.texi (Errors in Math Functions): Document accuracy
4911 goals.
4912
4913 [BZ #15004]
4914 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
4915 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
4916 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4917 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4918 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4919 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4920 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4921 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4922 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4923 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4924 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4925 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4926 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4927 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4928 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4929 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4930
4931 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
4932 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
4933 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
4934 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
4935 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
4936 Likewise.
4937 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
4938 Likewise.
4939 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
4940 Likewise.
4941 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
4942 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
4943 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
4944 atomic-feupdateenv and flt-rounds.
4945 * sysdeps/powerpc/nofpu/Versions (libc): Add
4946 __atomic_feholdexcept, __atomic_feclearexcept,
4947 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
4948 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
4949 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
4950 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
4951 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
4952 here.
4953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4954 Update.
4955
4956 * manual/arith.texi (FP Exceptions): Document that exceptions may
4957 not be raised when matherr is used.
4958 (Math Error Reporting): Document overflow in directed rounding
4959 modes. Document that errno may not be set when finite values are
4960 returned on overflow. Document intent to set errno on underflow
4961 only for underflow to zero.
4962
4963 [BZ #16271]
4964 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
4965 round-to-nearest then adjust result for other rounding modes.
4966 * include/fenv.h (fegetround): Use libm_hidden_proto.
4967 * math/fegetround.c (fegetround): Use libm_hidden_def.
4968 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
4969 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
4970 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4971 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
4972 Likewise.
4973 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
4974 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4975 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
4976 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
4977
4978 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4979
4980 [BZ #16077]
4981 * nss/Versions (libnss_files): Add
4982 _nss_files_gethostbyname3_r.
4983 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
4984 New function.
4985 (HOST_DB_LOOKUP): Remove macro.
4986 (_nss_files_gethostbyname_r): Implement function without the
4987 HOST_DB_LOOKUP macro.
4988 (_nss_files_gethostbyname2_r): Likewise.
4989
4990 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
4991
4992 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
4993
4994 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
4995
4996 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
4997 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
4998 warning.
4999
5000 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5001
5002 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
5003 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
5004 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5005 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5006 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
5007 __fe_nomask_env_priv and attribute_hidden.
5008 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
5009 (libc_feupdateenv_test_ppc): Likewise.
5010 (libc_feresetround_ppc): Likewise.
5011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5012 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
5013 compat_symbol macro.
5014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5015 (__fe_nomask_env): Likewise.
5016 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
5017
5018 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
5019
5020 * string/Makefile: Remove ifunc tests.
5021 * string/test-string.h: Define TEST_IFUNC.
5022 * string/test-bcopy-ifunc.c: Remove.
5023 * string/test-bzero-ifunc.c: Likewise.
5024 * string/test-memccpy-ifunc.c: Likewise.
5025 * string/test-memchr-ifunc.c: Likewise.
5026 * string/test-memcmp-ifunc.c: Likewise.
5027 * string/test-memcpy-ifunc.c: Likewise.
5028 * string/test-memmem-ifunc.c: Likewise.
5029 * string/test-memmove-ifunc.c: Likewise.
5030 * string/test-mempcpy-ifunc.c: Likewise.
5031 * string/test-memrchr-ifunc.c: Likewise.
5032 * string/test-memset-ifunc.c: Likewise.
5033 * string/test-rawmemchr-ifunc.c: Likewise.
5034 * string/test-stpcpy-ifunc.c: Likewise.
5035 * string/test-stpncpy-ifunc.c: Likewise.
5036 * string/test-strcasecmp-ifunc.c: Likewise.
5037 * string/test-strcasestr-ifunc.c: Likewise.
5038 * string/test-strcat-ifunc.c: Likewise.
5039 * string/test-strchr-ifunc.c: Likewise.
5040 * string/test-strchrnul-ifunc.c: Likewise.
5041 * string/test-strcmp-ifunc.c: Likewise.
5042 * string/test-strcpy-ifunc.c: Likewise.
5043 * string/test-strcspn-ifunc.c: Likewise.
5044 * string/test-strlen-ifunc.c: Likewise.
5045 * string/test-strncasecmp-ifunc.c: Likewise.
5046 * string/test-strncat-ifunc.c: Likewise.
5047 * string/test-strncmp-ifunc.c: Likewise.
5048 * string/test-strncpy-ifunc.c: Likewise.
5049 * string/test-strnlen-ifunc.c: Likewise.
5050 * string/test-strpbrk-ifunc.c: Likewise.
5051 * string/test-strrchr-ifunc.c: Likewise.
5052 * string/test-strspn-ifunc.c: Likewise.
5053 * string/test-strstr-ifunc.c: Likewise.
5054
5055 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
5056
5057 * benchtests/Makefile: Remove ifunc tests.
5058 * benchtests/bench-string.h: Define TEST_IFUNC.
5059 * benchtests/bench-bcopy-ifunc.c: Remove.
5060 * benchtests/bench-bzero-ifunc.c: Likewise.
5061 * benchtests/bench-memccpy-ifunc.c: Likewise.
5062 * benchtests/bench-memchr-ifunc.c: Likewise.
5063 * benchtests/bench-memcmp-ifunc.c: Likewise.
5064 * benchtests/bench-memcpy-ifunc.c: Likewise.
5065 * benchtests/bench-memmem-ifunc.c: Likewise.
5066 * benchtests/bench-memmove-ifunc.c: Likewise.
5067 * benchtests/bench-mempcpy-ifunc.c: Likewise.
5068 * benchtests/bench-memrchr-ifunc.c: Likewise.
5069 * benchtests/bench-memset-ifunc.c: Likewise.
5070 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
5071 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
5072 * benchtests/bench-stpcpy-ifunc.c: Likewise.
5073 * benchtests/bench-stpncpy-ifunc.c: Likewise.
5074 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
5075 * benchtests/bench-strcasestr-ifunc.c: Likewise.
5076 * benchtests/bench-strcat-ifunc.c: Likewise.
5077 * benchtests/bench-strchr-ifunc.c: Likewise.
5078 * benchtests/bench-strchrnul-ifunc.c: Likewise.
5079 * benchtests/bench-strcmp-ifunc.c: Likewise.
5080 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
5081 * benchtests/bench-strcpy-ifunc.c: Likewise.
5082 * benchtests/bench-strcspn-ifunc.c: Likewise.
5083 * benchtests/bench-strlen-ifunc.c: Likewise.
5084 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
5085 * benchtests/bench-strncat-ifunc.c: Likewise.
5086 * benchtests/bench-strncmp-ifunc.c: Likewise.
5087 * benchtests/bench-strncpy-ifunc.c: Likewise.
5088 * benchtests/bench-strnlen-ifunc.c: Likewise.
5089 * benchtests/bench-strpbrk-ifunc.c: Likewise.
5090 * benchtests/bench-strrchr-ifunc.c: Likewise.
5091 * benchtests/bench-strsep-ifunc.c: Likewise.
5092 * benchtests/bench-strspn-ifunc.c: Likewise.
5093 * benchtests/bench-strstr-ifunc.c: Likewise.
5094
5095 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
5096
5097 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
5098
5099 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
5100
5101 * resolv/netdb.h: Use __glibc_reserved instead __unused.
5102 * rt/aio.h: Likewise.
5103 * sysdeps/gnu/bits/utmp.h: Likewise.
5104 * sysdeps/gnu/bits/utmpx.h: Likewise.
5105 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5106 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
5107 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
5108 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
5109 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
5110 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
5111 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
5112 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
5113 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
5114 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
5115 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
5116 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
5117 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
5118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
5119 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5120 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
5121 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
5122 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
5123 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
5124 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
5125 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
5126 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
5127 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
5128 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5129 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
5130 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5131 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
5132 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
5133 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
5134 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
5135 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
5136 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
5137 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
5138 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
5139 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
5140 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
5141 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
5142 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
5143 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
5144 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
5145 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
5146 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5147
5148 2013-11-25 Carlos O'Donell <carlos@redhat.com>
5149
5150 [BZ #16245]
5151 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
5152 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
5153
5154 2013-11-25 Joseph Myers <joseph@codesourcery.com>
5155
5156 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
5157 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
5158 Likewise.
5159
5160 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5161
5162 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
5163 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
5164 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
5165 (__fesetround): Remove define.
5166 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
5167 rounding and exceptions handling.
5168 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
5169 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
5170 (__fe_nomask_env): Likewise.
5171 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
5172 __fegetround instead of fegetround.
5173 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5174 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
5175
5176 2013-11-21 Roland McGrath <roland@hack.frob.com>
5177
5178 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
5179 it's there.
5180
5181 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
5182
5183 2013-11-21 Meador Inge <meadori@codesourcery.com>
5184
5185 [BZ #11157]
5186 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
5187 (encrypt_r): Likewise.
5188 * malloc/obstack.h (obstack_free): Likewise.
5189 * posix/unistd.h (encrypt): Likewise.
5190
5191 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
5192
5193 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
5194 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
5195 DL_CALL_DT_FINI() that call the functions directly.
5196 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
5197 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
5198 * elf/dl-fini.c: Likewise.
5199
5200 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
5201
5202 * malloc/hooks.c (memalign_check): Add alignment rounding.
5203 * malloc/malloc.c (_mid_memalign): New function.
5204 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
5205 Implement by calling _mid_memalign.
5206 * manual/probes.texi (Memory Allocation Probes): Remove
5207 memory_valloc_retry and memory_pvalloc_retry.
5208
5209 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5210
5211 * locale/programs/locarchive.c (open_archive): Add const
5212 qualifier to ARCHIVEFNAME and copy default fname to
5213 DEFAULT_FNAME.
5214
5215 [BZ #15601]
5216 * libio/tst-widetext.input: Rename Oriya to Odia.
5217 * locale/iso-639.def: Likewise.
5218
5219 * manual/probes.texi (Mathematical Function Probes): Add
5220 documentation for sin, cos, asin and acos probes.
5221 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
5222 (__sin32): Add slowasin probe.
5223 (__cos32): Add slowacos probe.
5224 (__mpsin): Add slowsin probe.
5225 (__mpcos): Add slowcos probe.
5226
5227 2013-11-19 Joseph Myers <joseph@codesourcery.com>
5228
5229 [BZ #15483]
5230 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
5231 thread-local __sim_exceptions_thread and global
5232 __sim_exceptions_global.
5233 (__sim_disabled_exceptions): Change to thread-local
5234 __sim_disabled_exceptions_thread and global
5235 __sim_disabled_exceptions_global.
5236 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
5237 and global __sim_round_mode_global.
5238 (__simulate_exceptions): Use thread-local floating-point state and
5239 set global state from it as needed.
5240 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
5241 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
5242 __sim_round_mode_thread.
5243 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
5244 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
5245 and global __sim_exceptions_global.
5246 (__sim_disabled_exceptions): Change to thread-local
5247 __sim_disabled_exceptions_thread and global
5248 __sim_disabled_exceptions_global.
5249 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
5250 and global __sim_round_mode_global.
5251 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
5252 (SIM_SET_GLOBAL): Likewise.
5253 * sysdeps/powerpc/soft-fp/sfp-machine.h
5254 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
5255 __sim_round_mode_thread.
5256 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
5257 __sim_disabled_exceptions_thread.
5258 (__sim_exceptions): Change to __sim_exceptions_thread.
5259 (__sim_disabled_exceptions): Change to
5260 __sim_disabled_exceptions_thread.
5261 (__sim_round_mode): Change to __sim_round_mode_thread.
5262 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
5263 thread-local floating-point state and set global state from it as
5264 needed.
5265 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
5266 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
5267 (__sim_disabled_exceptions): Remove extern declaration.
5268 (feenableexcept): Use thread-local floating-point state and set
5269 global state from it as needed.
5270 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
5271 extern declaration.
5272 (__sim_disabled_exceptions): Likewise.
5273 (__sim_round_mode): Likewise.
5274 (__fegetenv): Use thread-local floating-point state.
5275 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
5276 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
5277 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
5278 floating-point state and set global state from it as needed.
5279 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
5280 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5281 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
5282 Likewise.
5283 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
5284 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
5285 Likewise.
5286 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
5287 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
5288 Use __sim_round_mode_thread.
5289 * math/test-fenv-tls.c: New file.
5290 * math/Makefile (tests): Add test-fenv-tls.
5291 ($(objpfx)test-fenv-tls): Depend on
5292 $(common-objpfx)nptl/libpthread.so.
5293
5294 2013-11-19 Andreas Schwab <schwab@suse.de>
5295
5296 * locale/programs/locale.c (show_info): Decode wordarray elements.
5297 * locale/categories.def (LC_MONETARY): Add element for
5298 _NL_MONETARY_CRNCYSTR.
5299 * locale/C-monetary.c (conversion_rate): New variable.
5300 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
5301 element.
5302
5303 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
5304
5305 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
5306 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
5307
5308 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5309
5310 * elf/Makefile (tst-auxv): New test.
5311 * elf/tst-auxv.c: New
5312 * elf/rtld.c (dl_main): Adjust AT_EXECFN
5313
5314 2013-11-18 Joseph Myers <joseph@codesourcery.com>
5315
5316 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
5317 (hidden_proto): Caller changed.
5318 (hidden_tls_proto): New macro.
5319 (libc_hidden_tls_proto): Likewise.
5320 (rtld_hidden_tls_proto): Likewise.
5321 (libm_hidden_tls_proto): Likewise.
5322 (libresolv_hidden_tls_proto): Likewise.
5323 (librt_hidden_tls_proto): Likewise.
5324 (libdl_hidden_tls_proto): Likewise.
5325 (libnss_files_hidden_tls_proto): Likewise.
5326 (libnsl_hidden_tls_proto): Likewise.
5327 (libnss_nisplus_hidden_tls_proto): Likewise.
5328 (libutil_hidden_tls_proto): Likewise.
5329
5330 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
5331
5332 [BZ #10253]
5333 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
5334 (decompose_rpath): Defer expansion to fillin_rpath.
5335 (_dl_init_paths): Pass linkmap to fillin_rpath.
5336
5337 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5338
5339 * benchtests/Makefile: Add strsep.
5340 * benchtests/bench-strsep.c: New file: strsep benchtest.
5341 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
5342
5343 2013-11-18 Andreas Schwab <schwab@suse.de>
5344
5345 * locale/programs/locale.c (show_info) [case byte]: Check for
5346 '\377' instead of '\177'.
5347 * locale/C-monetary.c (not_available): Always use "\377".
5348 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
5349 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
5350 detect unavailable sign_posn locale elements.
5351 * locale/localeconv.c (__localeconv): For grouping and
5352 mon_grouping handle "\177" and "\377" like no grouping.
5353 (INT_ELEM): New macro. Use it to set all numeric members.
5354 * locale/programs/ld-monetary.c (monetary_read)
5355 <tok_mon_grouping>: Normalize single -1 to the empty string.
5356 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
5357 Likewise.
5358
5359 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
5360
5361 [BZ #16055]
5362 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
5363 when we match (nil).
5364 * stdio-common/tst-sscanf.c (struct test): Add testcase.
5365
5366 2013-11-16 Joseph Myers <joseph@codesourcery.com>
5367
5368 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
5369 (NO_TEST_INLINE): Update value.
5370 (ERRNO_UNCHANGED): Likewise.
5371 (ERRNO_EDOM): Likewise.
5372 (ERRNO_ERANGE): Likewise.
5373 (IGNORE_RESULT): Likewise.
5374 (check_float_internal): Check signs of NaN results if
5375 TEST_NAN_SIGN used.
5376 (check_complex): Pass TEST_NAN_SIGN flag through to second
5377 check_float_internal call.
5378 (copysign_test_data): Add tests with quiet NaNs as second
5379 argument. Use TEST_NAN_SIGN.
5380 (fabs_test_data): Add test of negative quiet NaN argument. Use
5381 TEST_NAN_SIGN.
5382 (signbit_test_data): Add tests of quiet NaN argument.
5383 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
5384
5385 * math/gen-libm-test.pl (show_exceptions): Take extra argument
5386 $ignore_result.
5387 (parse_args): Handle function results specified as IGNORE.
5388 * math/libm-test.inc (IGNORE_RESULT): New macro.
5389 (check_float_internal): Do not check numerical result if flag
5390 IGNORE_RESULT set.
5391 (check_complex): Pass through IGNORE_RESULT to second
5392 check_float_internal call.
5393 (check_int): Do not check numerical result if flag IGNORE_RESULT
5394 set.
5395 (check_long): Likewise.
5396 (check_bool): Likewise.
5397 (check_longlong): Likewise.
5398 (lrint_test_data): Add tests of infinite and NaN arguments.
5399 (lrint_tonearest_test_data): Likewise.
5400 (lrint_towardzero_test_data): Likewise.
5401 (lrint_downward_test_data): Likewise.
5402 (lrint_upward_test_data): Likewise.
5403 (llrint_test_data): Likewise.
5404 (llrint_tonearest_test_data): Likewise.
5405 (llrint_towardzero_test_data): Likewise.
5406 (llrint_downward_test_data): Likewise.
5407 (llrint_upward_test_data): Likewise.
5408 (lround_test_data): Likewise.
5409 (llround_test_data): Likewise.
5410
5411 * math/libm-test.inc (NO_TEST_INLINE): New macro.
5412 (ERRNO_UNCHANGED): Update value.
5413 (ERRNO_EDOM): Likewise.
5414 (ERRNO_ERANGE): Likewise.
5415 (NO_TEST_INLINE_FLOAT): New macro.
5416 (NO_TEST_INLINE_DOUBLE): Likewise.
5417 (enable_test): New function.
5418 (RUN_TEST_f_f): Check enable_test before running test.
5419 (RUN_TEST_2_f): Likewise.
5420 (RUN_TEST_fff_f): Likewise.
5421 (RUN_TEST_c_f): Likewise.
5422 (RUN_TEST_f_f1): Likewise.
5423 (RUN_TEST_fF_f1): Likewise.
5424 (RUN_TEST_fI_f1): Likewise.
5425 (RUN_TEST_ffI_f1): Likewise.
5426 (RUN_TEST_c_c): Likewise.
5427 (RUN_TEST_cc_c): Likewise.
5428 (RUN_TEST_f_i): Likewise.
5429 (RUN_TEST_f_i_tg): Likewise.
5430 (RUN_TEST_ff_i_tg): Likewise.
5431 (RUN_TEST_f_b): Likewise.
5432 (RUN_TEST_f_b_tg): Likewise.
5433 (RUN_TEST_f_l): Likewise.
5434 (RUN_TEST_f_L): Likewise.
5435 (RUN_TEST_fFF_11): Likewise.
5436 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
5437 conditionals.
5438 (cosh_test_data): Likewise.
5439 (exp_test_data): Likewise.
5440 (expm1_test_data): Likewise.
5441 (hypot_test_data): Likewise.
5442 (pow_test_data): Likewise.
5443 (sinh_test_data): Likewise.
5444 (tanh_test_data): Likewise.
5445 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
5446 flags argument.
5447
5448 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
5449 tests with quiet NaN input and output.
5450 (acosh_test_data): Likewise.
5451 (asin_test_data): Likewise.
5452 (asinh_test_data): Likewise.
5453 (atan_test_data): Likewise.
5454 (atanh_test_data): Likewise.
5455 (atan2_test_data): Likewise.
5456 (cbrt_test_data): Likewise.
5457 (cos_test_data): Likewise.
5458 (cosh_test_data): Likewise.
5459 (erf_test_data): Likewise.
5460 (erfc_test_data): Likewise.
5461 (exp_test_data): Likewise.
5462 (exp10_test_data): Likewise.
5463 (exp2_test_data): Likewise.
5464 (expm1_test_data): Likewise.
5465 (hypot_test_data): Likewise.
5466 (j0_test_data): Likewise.
5467 (j1_test_data): Likewise.
5468 (jn_test_data): Likewise.
5469 (lgamma_test_data): Likewise.
5470 (log_test_data): Likewise.
5471 (log10_test_data): Likewise.
5472 (log1p_test_data): Likewise.
5473 (log2_test_data): Likewise.
5474 (pow_test_data): Likewise.
5475 (scalb_test_data): Likewise.
5476 (sin_test_data): Likewise.
5477 (sincos_test_data): Likewise.
5478 (sinh_test_data): Likewise.
5479 (tan_test_data): Likewise.
5480 (tanh_test_data): Likewise.
5481 (tgamma_test_data): Likewise.
5482 (y0_test_data): Likewise.
5483 (y1_test_data): Likewise.
5484 (yn_test_data): Likewise.
5485
5486 [BZ #16167]
5487 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
5488 argument being NaN and avoid computations with second argument in
5489 that case.
5490 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5491 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5492 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5493
5494 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
5495
5496 * locale/iso-639.def: Add Chitwani Tharu (the).
5497
5498 2013-11-14 Andreas Schwab <schwab@suse.de>
5499
5500 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
5501 word instead of empty string.
5502
5503 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5504
5505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5506 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
5507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5508 (__fe_nomask_env): Likewise.
5509
5510 2013-11-13 Steve Ellcey <sellcey@mips.com>
5511
5512 * benchtests/bench-timing.h: Include time.h.
5513
5514 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
5515
5516 [BZ #15997]
5517 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
5518 to 3.4.0 for x32.
5519 * sysdeps/unix/sysv/linux/configure: Regenerated.
5520
5521 2013-11-13 Joseph Myers <joseph@codesourcery.com>
5522
5523 [BZ #16151]
5524 * stdlib/strtod_l.c (round_and_return): Do not consider
5525 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
5526 exponent one less than half the least subnormal exponent.
5527 * stdlib/test-strtod-round-data: Add more tests.
5528 * stdlib/tst-strtod-round.c (tests): Regenerated.
5529
5530 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5531
5532 [BZ #14143]
5533 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
5534 (__fe_mask_env): Likewise.
5535 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
5536 libm_hidden_proto and add function prototype.
5537 (__fe_mask_env): Add function prototype.
5538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5539 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
5540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5541 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
5542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5543 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
5544
5545 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5546
5547 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
5548 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
5549
5550 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5551
5552 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
5553 of htab_find_slot().
5554
5555 2013-11-11 David S. Miller <davem@davemloft.net>
5556
5557 [BZ #16150]
5558 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
5559 symbol in the non-vis3 case in static builds.
5560 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
5561 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
5562 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
5563 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
5564
5565 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5566
5567 [BZ #387]
5568 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
5569 it is empty.
5570
5571 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5572
5573 * benchtests/Makefile: Add bench-strtod.
5574 * benchtests/bench-strtod.c: New file: strtod benchtest
5575
5576 2013-11-11 Andreas Schwab <schwab@suse.de>
5577
5578 [BZ #16153]
5579 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
5580 terminating NUL in key length.
5581
5582 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5583
5584 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
5585 Add artificial ODP entry for vDSO symbol for PPC64.
5586 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
5587 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5588
5589 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
5590
5591 [BZ #15374]
5592 * nss/getent.c (services_keys): Recognize services starting with digit.
5593
5594 2013-11-06 David S. Miller <davem@davemloft.net>
5595
5596 [BZ #15985]
5597 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
5598 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
5599
5600 2013-11-06 Will Newton <will.newton@linaro.org>
5601
5602 * manual/memory.texi (Malloc Examples): Remove register
5603 keyword from examples.
5604
5605 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
5606
5607 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
5608
5609 2013-11-04 Joseph Myers <joseph@codesourcery.com>
5610
5611 [BZ #6981]
5612 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
5613 depending on [__GCC_IEC_559 > 0].
5614 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
5615 depending on [__GCC_IEC_559_COMPLEX > 0].
5616
5617 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
5618
5619 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
5620 to iso-639.def.
5621
5622 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
5623
5624 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
5625
5626 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
5627
5628 [BZ #16112]
5629 * malloc/malloc (malloc_info): Do not handle first bin as
5630 special case.
5631
5632 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
5633
5634 * locale/iso-639.def: Add Central Nahuatl (nhn).
5635
5636 2013-11-01 Bruno Haible <bruno@clisp.org>
5637
5638 [BZ #7003]
5639 * manual/math.texi (BSD Random): Specify range upper bound as
5640 in POSIX.
5641
5642 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
5643
5644 * locale/iso-639.def: Add Meadow Mari (mhr).
5645
5646 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
5647
5648 [BZ #14752], [BZ #15763]
5649 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
5650 Validate name.
5651 * rt/tst_shm.c: Add test for escaping directory.
5652
5653 2013-10-31 Andreas Schwab <schwab@suse.de>
5654
5655 [BZ #15917]
5656 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
5657 followed by 'x' as part of digit sequence.
5658 * stdio-common/tst-sscanf.c (double_tests2): New tests.
5659
5660 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
5661
5662 [BZ #16037]
5663 * configure.ac: allow GNU Make 4.0 and greater.
5664 * configure: Regenerated.
5665
5666 2013-10-30 Will Newton <will.newton@linaro.org>
5667
5668 [BZ #16038]
5669 * malloc/hooks.c (memalign_check): Limit alignment to the
5670 maximum representable power of two.
5671 * malloc/malloc.c (__libc_memalign): Likewise.
5672 * malloc/tst-memalign.c (do_test): Add test for very
5673 large alignment values.
5674 * malloc/tst-posix_memalign.c (do_test): Likewise.
5675
5676 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
5677
5678 [BZ #11087]
5679 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
5680 (munmap_chunk): Likewise.
5681 (mremap_chunk): Likewise.
5682
5683 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
5684
5685 [BZ #15799]
5686 * stdlib/div.c (div): Remove obsolete code.
5687 * stdlib/ldiv.c (ldiv): Likewise.
5688 * stdlib/lldiv.c (lldiv): Likewise.
5689
5690 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5691
5692 [BZ #16071]
5693 * nss/nss_files/files-XXX.c (get_contents_ret): New
5694 enumerator.
5695 (get_contents): New function.
5696 (internal_getent): Use it. Expand size of LINEBUFLEN.
5697
5698 2013-10-30 Mike Frysinger <vapier@gentoo.org>
5699
5700 * configure.in: Moved to ...
5701 * configure.ac: ... here. Change reference to configure.in
5702 to configure.ac.
5703 * sysdeps/arm/preconfigure.ac: ... here.
5704 configure.in to configure.ac.
5705 * sysdeps/gnu/configure.in: Moved to ...
5706 * sysdeps/gnu/configure.ac: ... here.
5707 * sysdeps/i386/configure.in: Moved to ...
5708 * sysdeps/i386/configure.ac: ... here.
5709 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
5710 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
5711 * sysdeps/mach/configure.in: Moved to ...
5712 * sysdeps/mach/configure.ac: ... here.
5713 * sysdeps/mach/hurd/configure.in: Moved to ...
5714 * sysdeps/mach/hurd/configure.ac: ... here.
5715 * sysdeps/powerpc/configure.in: Moved to ...
5716 * sysdeps/powerpc/configure.ac: ... here.
5717 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
5718 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
5719 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
5720 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
5721 * sysdeps/s390/s390-32/configure.in: Moved to ...
5722 * sysdeps/s390/s390-32/configure.ac: ... here.
5723 * sysdeps/s390/s390-64/configure.in: Moved to ...
5724 * sysdeps/s390/s390-64/configure.ac: ... here.
5725 * sysdeps/sh/configure.in: Moved to ...
5726 * sysdeps/sh/configure.ac: ... here.
5727 * sysdeps/sparc/configure.in: Moved to ...
5728 * sysdeps/sparc/configure.ac: ... here.
5729 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
5730 * sysdeps/unix/sysv/linux/configure.ac: ... here.
5731 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
5732 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
5733 * sysdeps/x86_64/configure.in: Moved to ...
5734 * sysdeps/x86_64/configure.ac: ... here.
5735 * sysdeps/x86_64/preconfigure.in: Moved to ...
5736 * sysdeps/x86_64/preconfigure.ac: ... here.
5737 * aclocal.m4: Change reference to configure.in to configure.ac.
5738 * config.h.in: Likewise.
5739 * manual/install.texi: Likewise.
5740 * manual/maint.texi: Likewise.
5741 * Makefile: Likewise.
5742 * malloc/Makefile: Likewise.
5743 * nscd/Makefile: Likewise.
5744 * Makeconfig: Change reference to configure.in and
5745 preconfigure.in to configure.ac and preconfigure.ac
5746 respectively.
5747 * INSTALL: Regenerated.
5748 * configure: Likewise.
5749 * sysdeps/gnu/configure: Likewise.
5750 * sysdeps/i386/configure: Likewise.
5751 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
5752 * sysdeps/mach/configure: Likewise.
5753 * sysdeps/mach/hurd/configure: Likewise.
5754 * sysdeps/powerpc/configure: Likewise.
5755 * sysdeps/powerpc/powerpc32/configure: Likewise.
5756 * sysdeps/powerpc/powerpc64/configure: Likewise.
5757 * sysdeps/s390/s390-32/configure: Likewise.
5758 * sysdeps/s390/s390-64/configure: Likewise.
5759 * sysdeps/sh/configure: Likewise.
5760 * sysdeps/sparc/configure: Likewise.
5761 * sysdeps/unix/sysv/linux/configure: Likewise.
5762 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
5763 * sysdeps/x86_64/configure: Likewise.
5764 * sysdeps/x86_64/preconfigure: Likewise.
5765
5766 2013-10-29 Andreas Schwab <schwab@suse.de>
5767
5768 * stdio-common/Makefile (tst-swscanf-ENV): Define.
5769
5770 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5771
5772 * benchtests/pow-inputs: Add new inputs.
5773
5774 * benchtests/exp-inputs: Add new inputs.
5775
5776 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
5777 conditional check for return value.
5778 (__cos32): Likewise.
5779
5780 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5781
5782 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
5783 to provide a boost for large inputs with word alignment.
5784 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
5785 implementation based on optimized PPC64 strcpy.
5786 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
5787 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
5788 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
5789 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
5790
5791 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
5792
5793 [BZ #2801]
5794 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
5795
5796 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
5797
5798 [BZ #14876]
5799 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
5800 * time/tst-strptime.c (day_tests): Add testcase.
5801
5802 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
5803
5804 [BZ #14029]
5805 * manual/pattern.texi: Acknowledge that fnmatch can fail.
5806
5807 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
5808
5809 [BZ #16074]
5810 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
5811 MAP_FAILED on error.
5812
5813 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5814
5815 [BZ #16072]
5816 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
5817 heap for large requests.
5818
5819 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
5820
5821 [BZ #9954]
5822 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
5823 result if the result has no associated interface.
5824 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
5825 interface for all 127.X.Y.Z addresses.
5826
5827 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
5828
5829 * locale/iso-639.def: Add Ligurian (lij)
5830
5831 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
5832
5833 [BZ #15825]
5834 * sunrpc/rpc_main.c: Document rpcgen -5.
5835
5836 2013-10-19 Michael Stahl <mstahl@redhat.com>
5837
5838 * elf/rtld.c (do_preload): Print the reason why preloading failed.
5839
5840 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
5841
5842 [BZ #10278]
5843 * posix/glob.c: Match only directories when trailing slash is present.
5844 * posix/tst-gnuglob.c (my_opendir): Do not open files.
5845 (main): Add testcase.
5846
5847 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
5848
5849 [BZ #15670]
5850 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
5851
5852 2013-10-18 Carlos O'Donell <carlos@redhat.com>
5853
5854 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
5855 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
5856 AUTH_DES and cindex for FIPS 140-2.
5857 (DES Encryption): Add cindex FIPS 46-3.
5858
5859 * locale/locarchive.h (struct locarhandle): Add fname.
5860 * locale/programs/localedef.c (main): Pass ARGV[remaining]
5861 if an optional argument was specified to --list-archive,
5862 otherwise NULL.
5863 * locale/programs/locarchive.c (show_archive_content): Take new
5864 argument fname and pass it via ah.fname to open_archive.
5865 * locale/programs/localedef.h: Update decl.
5866 (open_archive): If AH->fname is non-null, open that file
5867 rather than the default file name, and don't ignore ENOENT.
5868 (create_archive): Set AH.fname to NULL.
5869 (delete_locales_from_archive): Likewise.
5870 (add_locales_to_archive): Likewise.
5871 * locale/programs/locfile.c (write_all_categories): Likewise.
5872
5873 2013-10-18 Joseph Myers <joseph@codesourcery.com>
5874 Aldy Hernandez <aldyh@redhat.com>
5875
5876 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
5877 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
5878 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
5879 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
5880 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
5881 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
5882 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
5883 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
5884 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
5885 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
5886 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
5887 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
5888 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
5889 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
5890 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
5891 Likewise.
5892 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
5893 Likewise.
5894 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
5895 Likewise.
5896 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
5897 Likewise.
5898 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
5899 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
5900 Likewise.
5901 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
5902 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
5903 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
5904 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
5905 Likewise.
5906 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
5907 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
5908 * sysdeps/powerpc/preconfigure: Likewise.
5909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
5910 Likewise.
5911 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
5912 Replace contents of file by #include of <fenv_libc.h>.
5913 * sysdeps/powerpc/soft-fp/sfp-machine.h
5914 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
5915 and <sys/prctl.h>.
5916 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
5917 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
5918 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
5919 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
5920 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
5921 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
5922 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
5923 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
5924 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
5925 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
5926 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
5927 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
5928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5929 Allow copysignl PLT reference to be missing.
5930
5931 2013-10-18 Richard Sandiford <richard@codesourcery.com>
5932 Joseph Myers <joseph@codesourcery.com
5933
5934 [BZ #15948]
5935 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
5936 single character.
5937 (add_to_tablewc): Assert sequence of wide characters is nonempty.
5938
5939 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5940
5941 * elf/tst-tls-dlinfo.c: Don't include tls.h.
5942 * elf/tst-tls1.c: Likewise.
5943 * elf/tst-tls10.h: Likewise.
5944 * elf/tst-tls14.c: Likewise.
5945 * elf/tst-tls2.c: Likewise.
5946 * elf/tst-tls3.c: Likewise.
5947 * elf/tst-tls4.c: Likewise.
5948 * elf/tst-tls5.c: Likewise.
5949 * elf/tst-tls6.c: Likewise.
5950 * elf/tst-tls7.c: Likewise.
5951 * elf/tst-tls8.c: Likewise.
5952 * elf/tst-tls9.c: Likewise.
5953 * elf/tst-tlsmod1.c: Likewise.
5954 * elf/tst-tlsmod13.c: Likewise.
5955 * elf/tst-tlsmod13a.c: Likewise.
5956 * elf/tst-tlsmod14a.c: Likewise.
5957 * elf/tst-tlsmod16a.c: Likewise.
5958 * elf/tst-tlsmod16b.c: Likewise.
5959 * elf/tst-tlsmod2.c: Likewise.
5960 * elf/tst-tlsmod3.c: Likewise.
5961 * elf/tst-tlsmod4.c: Likewise.
5962 * elf/tst-tlsmod5.c: Likewise.
5963 * elf/tst-tlsmod6.c: Likewise.
5964
5965 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
5966
5967 [BZ #12486]
5968 * malloc/malloc.c: remove checks for statistics.
5969
5970 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
5971
5972 [BZ #15277]
5973 * inet/inet_net.c (inet_network): Detect additional invalid strings.
5974 * inet/tst-network.c: Add testcase.
5975
5976 2013-10-17 Andreas Schwab <schwab@suse.de>
5977
5978 [BZ #15218]
5979 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
5980 to determine canonical name.
5981
5982 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
5983
5984 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
5985 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
5986 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5987 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5988 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5989 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5990 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5991 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5992 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5993 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5994 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5995 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5996 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5997 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5998 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5999 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6000 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6001 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6002 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6003 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6004 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6005 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6006 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6007 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
6008 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
6009 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6010 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6011 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
6012 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6013 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
6014 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6015 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6016 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6017 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6018 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6019 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6020 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6021 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6022 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6023 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6024 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6025 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6026 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6027 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6028 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6029 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6030 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6031 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6032 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6033 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6034 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6035 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6036 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6037 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6038 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6039 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6040 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6041 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6042
6043 2013-10-17 Joseph Myers <joseph@codesourcery.com>
6044
6045 [BZ #16041]
6046 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
6047 make result into a quiet NaN.
6048
6049 2013-10-16 Joseph Myers <joseph@codesourcery.com>
6050
6051 * soft-fp/adddf3.c: Fix horizontal whitespace.
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/floatunditf.c: Likewise.
6096 * soft-fp/floatunsidf.c: Likewise.
6097 * soft-fp/floatunsisf.c: Likewise.
6098 * soft-fp/floatunsitf.c: Likewise.
6099 * soft-fp/floatuntidf.c: Likewise.
6100 * soft-fp/floatuntisf.c: Likewise.
6101 * soft-fp/floatuntitf.c: Likewise.
6102 * soft-fp/fmadf4.c: Likewise.
6103 * soft-fp/fmasf4.c: Likewise.
6104 * soft-fp/fmatf4.c: Likewise.
6105 * soft-fp/gedf2.c: Likewise.
6106 * soft-fp/gesf2.c: Likewise.
6107 * soft-fp/getf2.c: Likewise.
6108 * soft-fp/ledf2.c: Likewise.
6109 * soft-fp/lesf2.c: Likewise.
6110 * soft-fp/letf2.c: Likewise.
6111 * soft-fp/muldf3.c: Likewise.
6112 * soft-fp/mulsf3.c: Likewise.
6113 * soft-fp/multf3.c: Likewise.
6114 * soft-fp/negdf2.c: Likewise.
6115 * soft-fp/negsf2.c: Likewise.
6116 * soft-fp/negtf2.c: Likewise.
6117 * soft-fp/op-1.h: Likewise.
6118 * soft-fp/op-2.h: Likewise.
6119 * soft-fp/op-4.h: Likewise.
6120 * soft-fp/op-8.h: Likewise.
6121 * soft-fp/op-common.h: Likewise.
6122 * soft-fp/quad.h: Likewise.
6123 * soft-fp/single.h: Likewise.
6124 * soft-fp/soft-fp.h: Likewise.
6125 * soft-fp/sqrtdf2.c: Likewise.
6126 * soft-fp/sqrtsf2.c: Likewise.
6127 * soft-fp/sqrttf2.c: Likewise.
6128 * soft-fp/subdf3.c: Likewise.
6129 * soft-fp/subsf3.c: Likewise.
6130 * soft-fp/subtf3.c: Likewise.
6131 * soft-fp/truncdfsf2.c: Likewise.
6132 * soft-fp/trunctfdf2.c: Likewise.
6133 * soft-fp/trunctfsf2.c: Likewise.
6134 * soft-fp/trunctfxf2.c: Likewise.
6135 * soft-fp/unorddf2.c: Likewise.
6136 * soft-fp/unordsf2.c: Likewise.
6137 * soft-fp/unordtf2.c: Likewise.
6138
6139 2013-10-15 Joseph Myers <joseph@codesourcery.com>
6140
6141 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
6142 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
6143
6144 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
6145
6146 * elf/dl-libc.c: Clear initfini list after freeing.
6147
6148 2013-10-14 Joseph Myers <joseph@codesourcery.com>
6149
6150 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
6151 * soft-fp/addsf3.c: Likewise.
6152 * soft-fp/addtf3.c: Likewise.
6153 * soft-fp/divdf3.c: Likewise.
6154 * soft-fp/divsf3.c: Likewise.
6155 * soft-fp/divtf3.c: Likewise.
6156 * soft-fp/double.h: Likewise.
6157 * soft-fp/eqdf2.c: Likewise.
6158 * soft-fp/eqsf2.c: Likewise.
6159 * soft-fp/eqtf2.c: Likewise.
6160 * soft-fp/extenddftf2.c: Likewise.
6161 * soft-fp/extended.h: Likewise.
6162 * soft-fp/extendsfdf2.c: Likewise.
6163 * soft-fp/extendsftf2.c: Likewise.
6164 * soft-fp/extendxftf2.c: Likewise.
6165 * soft-fp/fixdfdi.c: Likewise.
6166 * soft-fp/fixdfsi.c: Likewise.
6167 * soft-fp/fixdfti.c: Likewise.
6168 * soft-fp/fixsfdi.c: Likewise.
6169 * soft-fp/fixsfsi.c: Likewise.
6170 * soft-fp/fixsfti.c: Likewise.
6171 * soft-fp/fixtfdi.c: Likewise.
6172 * soft-fp/fixtfsi.c: Likewise.
6173 * soft-fp/fixtfti.c: Likewise.
6174 * soft-fp/fixunsdfdi.c: Likewise.
6175 * soft-fp/fixunsdfsi.c: Likewise.
6176 * soft-fp/fixunsdfti.c: Likewise.
6177 * soft-fp/fixunssfdi.c: Likewise.
6178 * soft-fp/fixunssfsi.c: Likewise.
6179 * soft-fp/fixunssfti.c: Likewise.
6180 * soft-fp/fixunstfdi.c: Likewise.
6181 * soft-fp/fixunstfsi.c: Likewise.
6182 * soft-fp/fixunstfti.c: Likewise.
6183 * soft-fp/floatdidf.c: Likewise.
6184 * soft-fp/floatdisf.c: Likewise.
6185 * soft-fp/floatditf.c: Likewise.
6186 * soft-fp/floatsidf.c: Likewise.
6187 * soft-fp/floatsisf.c: Likewise.
6188 * soft-fp/floatsitf.c: Likewise.
6189 * soft-fp/floattidf.c: Likewise.
6190 * soft-fp/floattisf.c: Likewise.
6191 * soft-fp/floattitf.c: Likewise.
6192 * soft-fp/floatundidf.c: Likewise.
6193 * soft-fp/floatundisf.c: Likewise.
6194 * soft-fp/floatunsidf.c: Likewise.
6195 * soft-fp/floatunsisf.c: Likewise.
6196 * soft-fp/floatuntidf.c: Likewise.
6197 * soft-fp/floatuntisf.c: Likewise.
6198 * soft-fp/floatuntitf.c: Likewise.
6199 * soft-fp/fmadf4.c: Likewise.
6200 * soft-fp/fmasf4.c: Likewise.
6201 * soft-fp/fmatf4.c: Likewise.
6202 * soft-fp/gedf2.c: Likewise.
6203 * soft-fp/gesf2.c: Likewise.
6204 * soft-fp/getf2.c: Likewise.
6205 * soft-fp/ledf2.c: Likewise.
6206 * soft-fp/lesf2.c: Likewise.
6207 * soft-fp/letf2.c: Likewise.
6208 * soft-fp/muldf3.c: Likewise.
6209 * soft-fp/mulsf3.c: Likewise.
6210 * soft-fp/multf3.c: Likewise.
6211 * soft-fp/negdf2.c: Likewise.
6212 * soft-fp/negsf2.c: Likewise.
6213 * soft-fp/negtf2.c: Likewise.
6214 * soft-fp/op-1.h: Likewise.
6215 * soft-fp/op-2.h: Likewise.
6216 * soft-fp/op-4.h: Likewise.
6217 * soft-fp/op-8.h: Likewise.
6218 * soft-fp/op-common.h: Likewise.
6219 * soft-fp/quad.h: Likewise.
6220 * soft-fp/single.h: Likewise.
6221 * soft-fp/soft-fp.h: Likewise.
6222 * soft-fp/sqrtdf2.c: Likewise.
6223 * soft-fp/sqrtsf2.c: Likewise.
6224 * soft-fp/sqrttf2.c: Likewise.
6225 * soft-fp/subdf3.c: Likewise.
6226 * soft-fp/subsf3.c: Likewise.
6227 * soft-fp/subtf3.c: Likewise.
6228 * soft-fp/truncdfsf2.c: Likewise.
6229 * soft-fp/trunctfdf2.c: Likewise.
6230 * soft-fp/trunctfsf2.c: Likewise.
6231 * soft-fp/trunctfxf2.c: Likewise.
6232 * soft-fp/unorddf2.c: Likewise.
6233 * soft-fp/unordsf2.c: Likewise.
6234 * soft-fp/unordtf2.c: Likewise.
6235
6236 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
6237
6238 [BZ #15672]
6239 * misc/error.c (error_tail): Fix possible buffer overflow.
6240
6241 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
6242
6243 [BZ #13028]
6244 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
6245 address.
6246
6247 2013-10-14 P. J. McDermott <pj@pehjota.net>
6248
6249 [BZ #832]
6250 * elf/ldd.bash.in (try_trace): New function. Delete previous code
6251 testing pipefail option.
6252
6253 2013-10-12 Joseph Myers <joseph@codesourcery.com>
6254
6255 * soft-fp/double.h: Indent preprocessor directives inside #if.
6256 * soft-fp/extended.h: Likewise.
6257 * soft-fp/op-2.h: Likewise.
6258 * soft-fp/op-4.h: Likewise.
6259 * soft-fp/op-common.h: Likewise.
6260 * soft-fp/quad.h: Likewise.
6261 * soft-fp/single.h: Likewise.
6262 * soft-fp/soft-fp.h: Likewise.
6263
6264 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
6265
6266 * iconv/iconv_prog.c: Fix typos.
6267 * stdio-common/psiginfo-data.h: Likewise.
6268
6269 2013-10-12 Reuben Thomas <rrt@sc3d.org>
6270
6271 [BZ #15764]
6272 * locale/setlocale.c: Fix typo.
6273
6274 2013-10-12 Joseph Myers <joseph@codesourcery.com>
6275
6276 [BZ #16036]
6277 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
6278 signaling NaN arguments.
6279 * soft-fp/unordsf2.c (__unordsf2): Likewise.
6280 * soft-fp/unordtf2.c (__unordtf2): Likewise.
6281
6282 [BZ #14910]
6283 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
6284 unordered operands.
6285 * soft-fp/gesf2.c (__gesf2): Likewise.
6286 * soft-fp/getf2.c (__getf2): Likewise.
6287 * soft-fp/ledf2.c (__ledf2): Likewise.
6288 * soft-fp/lesf2.c (__lesf2): Likewise.
6289 * soft-fp/letf2.c (__letf2): Likewise.
6290
6291 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
6292 * soft-fp/eqsf2.c (__eqsf2): Likewise.
6293 * soft-fp/eqtf2.c (__eqtf2): Likewise.
6294 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
6295 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
6296 * soft-fp/fixdfti.c (__fixdfti): Likewise.
6297 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
6298 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
6299 * soft-fp/fixsfti.c (__fixsfti): Likewise.
6300 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
6301 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
6302 * soft-fp/fixtfti.c (__fixtfti): Likewise.
6303 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
6304 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
6305 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
6306 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
6307 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
6308 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
6309 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
6310 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
6311 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
6312 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
6313 * soft-fp/floatdisf.c (__floatdisf): Likewise.
6314 * soft-fp/floatsisf.c (__floatsisf): Likewise.
6315 * soft-fp/floattidf.c (__floattidf): Likewise.
6316 * soft-fp/floattisf.c (__floattisf): Likewise.
6317 * soft-fp/floattitf.c (__floattitf): Likewise.
6318 * soft-fp/floatundidf.c (__floatundidf): Likewise.
6319 * soft-fp/floatundisf.c (__floatundisf): Likewise.
6320 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
6321 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
6322 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
6323 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
6324 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
6325 * soft-fp/gesf2.c (__gesf2): Likewise.
6326 * soft-fp/getf2.c (__getf2): Likewise.
6327 * soft-fp/ledf2.c (__ledf2): Likewise.
6328 * soft-fp/lesf2.c (__lesf2): Likewise.
6329 * soft-fp/letf2.c (__letf2): Likewise.
6330
6331 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
6332 Undefine and redefine.
6333 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
6334 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
6335 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
6336 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
6337 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6338 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
6339 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6340 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
6341 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6342 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
6343 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6344 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
6345 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6346 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
6347 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6348
6349 [BZ #16032]
6350 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
6351 without decrementing exponent if mantissa >= that for the
6352 denominator, not >.
6353 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
6354 denominator, not >. Decrement exponent in < case instead of
6355 incrementing in >= case.
6356 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
6357 without decrementing exponent if mantissa >= that for the
6358 denominator, not >.
6359
6360 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
6361 computing saturated result for unsigned overflow.
6362
6363 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6364 Jeff Law <law@redhat.com>
6365
6366 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
6367 (atan2Mp): Add systemtap probe marker.
6368 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
6369 (__ieee754_log): Add systemtap probe marker.
6370 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
6371 (atanMp): Add systemtap probe marker.
6372 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
6373 (tanMp): Add systemtap probe marker.
6374 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
6375 (__slowexp): Add systemtap probe marker.
6376 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
6377 (__slowpow): Add systemtap probe marker.
6378 * manual/probes.texi: Document probes.
6379
6380 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
6381
6382 [BZ #15362]
6383 * libio/fileops.c (_IO_new_file_write): Return count of bytes
6384 written.
6385 (_IO_new_file_xsputn): Don't return EOF if nothing has been
6386 written.
6387 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
6388 written to buffer but not flushed.
6389 * libio/iofwrite_u.c: Likewise.
6390 * libio/iopadn.c: Return bytes returned even if EOF was
6391 encountered.
6392 * libio/iowpadn.c: Likewise.
6393 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
6394 if _IO_padn does not write the whole buffer.
6395 [!COMPILE_WPRINTF] (PAD): Likewise.
6396
6397 2013-10-10 David S. Miller <davem@davemloft.net>
6398
6399 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
6400 directory block.
6401
6402 2013-10-10 Joseph Myers <joseph@codesourcery.com>
6403
6404 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
6405 instead of FSF address.
6406 * soft-fp/fixdfti.c: Likewise.
6407 * soft-fp/fixsfti.c: Likewise.
6408 * soft-fp/fixtfti.c: Likewise.
6409 * soft-fp/fixunsdfti.c: Likewise.
6410 * soft-fp/fixunssfti.c: Likewise.
6411 * soft-fp/fixunstfti.c: Likewise.
6412 * soft-fp/floattidf.c: Likewise.
6413 * soft-fp/floattisf.c: Likewise.
6414 * soft-fp/floattitf.c: Likewise.
6415 * soft-fp/floatuntidf.c: Likewise.
6416 * soft-fp/floatuntisf.c: Likewise.
6417 * soft-fp/floatuntitf.c: Likewise.
6418 * soft-fp/trunctfxf2.c: Likewise.
6419
6420 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
6421 * soft-fp/fixdfti.c: Likewise.
6422 * soft-fp/fixsfti.c: Likewise.
6423 * soft-fp/fixtfti.c: Likewise.
6424 * soft-fp/fixunsdfti.c: Likewise.
6425 * soft-fp/fixunssfti.c: Likewise.
6426 * soft-fp/fixunstfti.c: Likewise.
6427 * soft-fp/floattidf.c: Likewise.
6428 * soft-fp/floattisf.c: Likewise.
6429 * soft-fp/floattitf.c: Likewise.
6430 * soft-fp/floatuntidf.c: Likewise.
6431 * soft-fp/floatuntisf.c: Likewise.
6432 * soft-fp/floatuntitf.c: Likewise.
6433 * soft-fp/trunctfxf2.c: Likewise.
6434
6435 2013-10-10 David S. Miller <davem@davemloft.net>
6436
6437 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6438
6439 2013-10-10 Joseph Myers <joseph@codsourcery.com>
6440
6441 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6442 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
6443 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
6444 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
6445 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
6446 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
6447 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
6448
6449 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
6450 for NaNs before doing comparisons on argument.
6451 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
6452 Likewise.
6453
6454 2013-10-10 Will Newton <will.newton@linaro.org>
6455
6456 * malloc/hooks.c (memalign_check): Ensure the value of bytes
6457 passed to _int_memalign does not overflow.
6458
6459 2013-10-10 Torvald Riegel <triegel@redhat.com>
6460
6461 * scripts/bench.pl: Add include-sources directive.
6462 * benchtests/README: Update documentation.
6463
6464 2013-10-10 Joseph Myers <joseph@codesourcery.com>
6465
6466 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
6467 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
6468 instead of FP_INIT_ROUNDMODE.
6469 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
6470 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
6471
6472 [BZ #16034]
6473 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
6474 copy class of input value.
6475 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
6476 not handle exceptions.
6477 * soft-fp/negsf2.c (__negsf2): Likewise.
6478 * soft-fp/negtf2.c (__negtf2): Likewise.
6479 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
6480
6481 2013-10-09 Joseph Myers <joseph@codesourcery.com>
6482
6483 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
6484 semicolon. From Linux kernel.
6485
6486 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
6487
6488 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
6489
6490 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
6491
6492 [BZ #156]
6493 * manual/socket.texi: Added statement about buffer
6494 for gethostbyname2_r.
6495
6496 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
6497
6498 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
6499 Use .p2align directive instead, throughout.
6500 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6501 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6502 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
6503 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6504 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6505 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
6506 * sysdeps/x86_64/strchr.S: Likewise.
6507 * sysdeps/x86_64/strrchr.S: Likewise.
6508
6509 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6510
6511 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
6512
6513 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
6514
6515 * sysdeps/generic/math_private.h (__mpsin1): Remove
6516 declaration.
6517 (__mpcos1): Likewise.
6518 (__mpsin): New argument __range_reduce.
6519 (__mpcos): Likewise.
6520 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6521 (slow): Use __mpsin and __mpcos.
6522 (slow1): Likewise.
6523 (slow2): Likewise.
6524 (sloww): Likewise.
6525 (sloww1): Likewise.
6526 (sloww2): Likewise.
6527 (bsloww): Likewise.
6528 (bsloww1): Likewise.
6529 (bsloww2): Likewise.
6530 (cslow2): Likewise.
6531 (csloww): Likewise.
6532 (csloww1): Likewise.
6533 (csloww2): Likewise.
6534 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
6535 range_reduce. Merge in __mpsin1.
6536 (__mpcos): Likewise.
6537 (__mpsin1): Remove.
6538 (__mpcos1): Likewise.
6539
6540 2013-10-07 Joseph Myers <joseph@codesourcery.com>
6541
6542 * locale/loadlocale.c (_nl_intern_locale_data): Use
6543 LOCFILE_ALIGNED_P.
6544 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
6545 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
6546 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
6547 obstack data is appropriately aligned.
6548 (obstack_int32_grow_fast): Likewise.
6549 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
6550 * locale/programs/locfile.c (add_locale_uint32): Likewise.
6551 (add_locale_uint32_array): Likewise.
6552
6553 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6554
6555 * benchtests/Makefile: Remove ARGLIST and RET variables.
6556 ($(objpfx)bench-%.c): Pass only function name to the script.
6557 * benchtests/README: Update documentation.
6558 * benchtests/acos-inputs: Add new directives.
6559 * benchtests/acosh-inputs: Likewise.
6560 * benchtests/asin-inputs: Likewise.
6561 * benchtests/asinh-inputs: Likewise.
6562 * benchtests/atan-inputs: Likewise.
6563 * benchtests/atanh-inputs: Likewise.
6564 * benchtests/cos-inputs: Likewise.
6565 * benchtests/cosh-inputs: Likewise.
6566 * benchtests/exp-inputs: Likewise.
6567 * benchtests/log-inputs: Likewise.
6568 * benchtests/pow-inputs: Likewise.
6569 * benchtests/rint-inputs: Likewise.
6570 * benchtests/sin-inputs: Likewise.
6571 * benchtests/sinh-inputs: Likewise.
6572 * benchtests/tan-inputs: Likewise.
6573 * benchtests/tanh-inputs: Likewise.
6574 * scripts/bench.pl: Add support for new directives.
6575
6576 2013-10-07 Alan Modra <amodra@gmail.com>
6577
6578 * README: Fix careless merge.
6579
6580 2013-10-05 Alan Modra <amodra@gmail.com>
6581
6582 * NEWS: Mention powerpc64le support and bugs fixed.
6583 * README: Both big-endian and little-endian powerpc64 supported.
6584
6585 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6586
6587 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
6588 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
6589 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
6590 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
6591
6592 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
6593
6594 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
6595 match prototype.
6596
6597 2013-10-04 Joseph Myers <joseph@codesourcery.com>
6598
6599 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
6600 Move -mhard-float appending from
6601 ports/sysdeps/powerpc/powerpc32/Makefile.
6602 [$(with-fp) = yes] (ASFLAGS): Likewise.
6603 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
6604 * sysdeps/powerpc/nofpu: Move directory from
6605 ports/sysdeps/powerpc/nofpu.
6606 * sysdeps/powerpc/soft-fp: Move directory from
6607 ports/sysdeps/powerpc/soft-fp.
6608 * sysdeps/powerpc/powerpc32/405: Move directory from
6609 ports/sysdeps/powerpc/powerpc32/405.
6610 * sysdeps/powerpc/powerpc32/440: Move directory from
6611 ports/sysdeps/powerpc/powerpc32/440.
6612 * sysdeps/powerpc/powerpc32/464: Move directory from
6613 ports/sysdeps/powerpc/powerpc32/464.
6614 * sysdeps/powerpc/powerpc32/476: Move directory from
6615 ports/sysdeps/powerpc/powerpc32/476.
6616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
6617 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
6618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
6619 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
6620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
6621 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
6622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
6623 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
6624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
6625 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
6626 * README: Update for powerpc-*-linux-gnu software floating point
6627 support in libc.
6628
6629 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
6630 case to powerpc/powerpc32*.
6631 * sysdeps/unix/sysv/linux/configure: Regenerated.
6632
6633 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
6634 (_FPU_MASK_OM): Define as 0x04.
6635 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
6636 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
6637 0x00c10080.
6638 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
6639 0x0000003c.
6640 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
6641
6642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
6643 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6644 getcontext_e500.
6645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
6646 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6647 setcontext_e500.
6648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
6649 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
6650 and setcontext_e500.
6651
6652 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
6653
6654 * locale/iso-3166.def: Update iso-1366.def and related occurrences
6655
6656 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6657
6658 * manual/threads.texi (Default Thread Attributes): Fix typo.
6659
6660 2013-10-04 Will Newton <will.newton@linaro.org>
6661
6662 * malloc/Makefile: Add tst-memalign.
6663 * malloc/tst-memalign.c: New file.
6664
6665 * malloc/tst-posix_memalign.c: Add comments.
6666 (do_test): Add comments and call free on all potentially
6667 allocated pointers. Add space after cast.
6668
6669 * malloc/tst-pvalloc.c: Add comments.
6670 (do_test): Add comments and call free on all potentially
6671 allocated pointers. Remove duplicate check for NULL pointer.
6672 Add space after cast.
6673
6674 * malloc/tst-valloc.c: Add comments.
6675 (do_test): Add comments and call free on all potentially
6676 allocated pointers. Remove duplicate check for NULL pointer.
6677 Add space after cast.
6678
6679 2013-10-04 Alan Modra <amodra@gmail.com>
6680
6681 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6682 Use stdint types in rather than __attribute__((mode())).
6683 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6684
6685 2013-10-04 Alan Modra <amodra@gmail.com>
6686
6687 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6688 Correct handling of unaligned relocs for little-endian.
6689 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6690
6691 2013-10-04 Alan Modra <amodra@gmail.com>
6692
6693 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
6694 * configure: Regenerate.
6695 * nptl/shlib-versions: Powerpc*le starts at 2.18.
6696 * shlib-versions: Likewise.
6697
6698 2013-10-04 Alan Modra <amodra@gmail.com>
6699
6700 * string/tester.c (test_memrchr): Increment reported test cycle.
6701
6702 2013-10-04 Alan Modra <amodra@gmail.com>
6703
6704 * string/test-memcpy.c (do_one_test): When reporting errors, print
6705 string address and don't overrun end of string.
6706
6707 2013-10-04 Alan Modra <amodra@gmail.com>
6708
6709 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
6710 insrdi. Make better use of reg selection to speed exit slightly.
6711 Schedule entry path a little better. Remove useless "are we done"
6712 checks on entry to main loop. Handle wrapping around zero address.
6713 Correct main loop count. Handle single left-over word from main
6714 loop inline rather than by using loop_small. Remove extra word
6715 case in loop_small caused by wrong loop count. Add little-endian
6716 support.
6717 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6718 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
6719 cache hint.
6720 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6721 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
6722 support. Avoid rlwimi.
6723 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
6724
6725 2013-10-04 Alan Modra <amodra@gmail.com>
6726
6727 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
6728 insrdi. Formatting.
6729 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6730 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6731 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6732 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6733 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6734 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
6735
6736 2013-10-04 Alan Modra <amodra@gmail.com>
6737
6738 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
6739 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6740 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6741 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
6742 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6743 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6744 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6745 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6746 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
6747 use of regs. Use power7 mtocrf. Tidy function tails.
6748
6749 2013-10-04 Alan Modra <amodra@gmail.com>
6750
6751 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
6752 Formatting. Consistently use rXXX register defines or rN defines.
6753 Use early exit labels that avoid restoring unused non-volatile regs.
6754 Make cr field use more consistent with rWORDn compares. Rename
6755 regs used as shift registers for unaligned loop, using rN defines
6756 for short lifetime/multiple use regs.
6757 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6758 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
6759 addi 1,1,64 to pop stack frame. Simplify return value code.
6760 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6761
6762 2013-10-04 Alan Modra <amodra@gmail.com>
6763
6764 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
6765 support. Correct typos, formatting. Optimize tail. Use insrdi
6766 rather than rlwimi.
6767 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
6768 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
6769 little-endian support. Correct typos.
6770 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
6771 rather than rlwimi.
6772 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
6773 in loop and entry code to keep "and." results.
6774 (strchr): Add little-endian support. Comment. Move cntlzd
6775 earlier in tail.
6776 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
6777
6778 2013-10-04 Alan Modra <amodra@gmail.com>
6779
6780 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
6781 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
6782 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
6783 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
6784
6785 2013-10-04 Alan Modra <amodra@gmail.com>
6786
6787 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
6788 (rTMP): Define as r11.
6789 (strcmp): Add little-endian support. Optimise tail.
6790 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
6791 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6792 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6793 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6794 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6795 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6796 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6797
6798 2013-10-04 Alan Modra <amodra@gmail.com>
6799
6800 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
6801 little-endian support. Remove unnecessary "are we done" tests.
6802 Handle "s" wrapping around zero and extremely large "size".
6803 Correct main loop count. Handle single left-over word from main
6804 loop inline rather than by using small_loop. Correct comments.
6805 Delete "zero" tail, use "end_max" instead.
6806 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
6807
6808 2013-10-04 Alan Modra <amodra@gmail.com>
6809
6810 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
6811 support. Don't branch over align.
6812 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
6813 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
6814 support. Rearrange tmp reg use to suit. Comment.
6815 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
6816
6817 2013-10-04 Alan Modra <amodra@gmail.com>
6818
6819 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
6820
6821 2013-10-04 Alan Modra <amodra@gmail.com>
6822
6823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
6824 conditional form of branch and link when obtaining pc.
6825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6826
6827 2013-10-04 Alan Modra <amodra@gmail.com>
6828
6829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
6830 HIWORD/LOWORD.
6831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
6832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
6833
6834 2013-10-04 Alan Modra <amodra@gmail.com>
6835
6836 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
6837 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
6838 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
6839 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
6840 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6841 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6842 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
6843 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6844 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
6845 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
6846
6847 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6848 Alistair Popple <alistair@ozlabs.au.ibm.com>
6849 Alan Modra <amodra@gmail.com>
6850
6851 [BZ #15723]
6852 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
6853 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
6854 _dl_hwcap access for little-endian.
6855 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
6856 destroy vmx regs when saving unaligned.
6857 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
6858 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
6859 destroy vmx regs when saving unaligned.
6860
6861 2013-10-04 Alan Modra <amodra@gmail.com>
6862
6863 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
6864 Don't use a union to pack hi/low value.
6865
6866 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6867
6868 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
6869 for little-endian.
6870 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6871 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
6872 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6873 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6874 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6875
6876 2013-10-04 Alan Modra <amodra@gmail.com>
6877
6878 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
6879 constants to usual value for .cst8 section, and remove redundant
6880 high address load.
6881 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
6882 constant for 0x1p52. Load little-endian words of double from
6883 correct stack offsets.
6884
6885 2013-10-04 Alan Modra <amodra@gmail.com>
6886
6887 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
6888 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
6889 words of double from correct stack offsets.
6890 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
6891 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
6892 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6893 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6894 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6895 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6896 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6897 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
6898 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
6899 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6900 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6901 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6902 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6903 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6904 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6905 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
6906 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
6907
6908 2013-10-04 Alan Modra <amodra@gmail.com>
6909
6910 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
6911 64-bit int/double union.
6912 (_FPU_SETCW): Likewise.
6913 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
6914 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
6915
6916 2013-10-04 Alan Modra <amodra@gmail.com>
6917
6918 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
6919 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
6920
6921 2013-10-04 Alan Modra <amodra@gmail.com>
6922
6923 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
6924 use vector int constants.
6925 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
6926
6927 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6928
6929 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
6930 array with long long.
6931 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
6932 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
6933 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
6934 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
6935 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
6936 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
6937 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
6938 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
6939 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
6940 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
6941 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
6942 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
6943 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
6944
6945 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6946
6947 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
6948 (__signbit): Likewise. Correct for little-endian.
6949 (__signbitl): Call __signbit.
6950 (lrint): Correct for little-endian.
6951 (lrintf): Call lrint.
6952
6953 2013-10-04 Alan Modra <amodra@gmail.com>
6954
6955 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
6956 union 32-bit int array member with 64-bit int array.
6957 (t515, tm256): Double rather than long double.
6958 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
6959
6960 2013-10-04 Alan Modra <amodra@gmail.com>
6961
6962 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
6963 Delete.
6964 (IEEE854_LONG_DOUBLE_BIAS): Delete.
6965 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
6966 version of math_ldbl.h.
6967
6968 2013-10-04 Alan Modra <amodra@gmail.com>
6969
6970 [BZ #15734], [BZ #15735]
6971 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
6972 all uses of ieee875 long double macros and unions. Simplify test
6973 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
6974 ldbl_extract_mantissa value for ix,iy exponents. Properly
6975 normalize after ldbl_extract_mantissa, and don't add hidden bit
6976 already handled. Don't treat low word of ieee854 mantissa like
6977 low word of IBM long double and mask off bit when testing for
6978 zero.
6979 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
6980 all uses of ieee875 long double macros and unions. Simplify tests
6981 for 0.0L and inf. Correct double adjustment of k. Delete dead code
6982 adjusting ha,hb. Simplify code setting kld. Delete two600 and
6983 two1022, instead use their values. Recognise that tests for large
6984 "a" and small "b" are mutually exclusive. Rename vars. Comment.
6985 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
6986 Rewrite all uses of ieee875 long double macros and unions. Simplify
6987 test for 0.0L and nan. Correct negation.
6988 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
6989 ieee875 long double macros and unions. Correct output for large
6990 magnitude x. Correct absolute value calculation.
6991 (__erfcl): Likewise.
6992 * math/libm-test.inc: Add tests for errors discovered in IBM long
6993 double versions of fmodl, remainderl, erfl and erfcl.
6994
6995 2013-10-04 Alan Modra <amodra@gmail.com>
6996
6997 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
6998 all uses of ieee854 long double macros and unions. Simplify tests
6999 for long doubles that are fully specified by the high double.
7000 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7001 Likewise.
7002 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
7003 Remove dead code too.
7004 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7005 (__ieee754_ynl): Likewise.
7006 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
7007 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
7008 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7009 Remove dead code too.
7010 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
7011 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
7012 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
7013 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
7014 Simplify.
7015 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
7016 Simplify.
7017 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
7018 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
7019 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
7020 Comment on variable precision.
7021 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
7022 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7023 Likewise.
7024 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7025 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7026 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7027 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
7028 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
7029
7030 2013-10-04 Alan Modra <amodra@gmail.com>
7031
7032 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
7033 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
7034 all uses of ieee854 long double macros and unions.
7035 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
7036 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7037 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
7038 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
7039 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
7040 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
7041 Likewise.
7042 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
7043 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7044 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
7045 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7046 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
7047 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
7048 Simplify sign and nan test too.
7049 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
7050 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
7051 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
7052 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
7053 Likewise.
7054 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
7055 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
7056 Likewise.
7057 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7058 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
7059 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
7060 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
7061 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
7062 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
7063
7064 2013-10-04 Alan Modra <amodra@gmail.com>
7065
7066 * stdio-common/printf_size.c (__printf_size): Don't use
7067 union ieee854_long_double in fpnum union.
7068 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
7069 signbit macro to retrieve sign from long double.
7070 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
7071 retrieve sign from long double.
7072 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
7073 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
7074 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
7075 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7076 * math/test-misc.c (main): Don't use union ieee854_long_double.
7077
7078 2013-10-04 Alan Modra <amodra@gmail.com>
7079
7080 [BZ #15680]
7081 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
7082 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
7083 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
7084 calculation. Remove unnecessary test for denormal exponent.
7085 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
7086 Correct handling of denormals. Avoid undefined shift behaviour.
7087 Correct normalisation of low mantissa when low double is denormal.
7088 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
7089 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
7090 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
7091 Correct normalisation of low mantissa. Test for overflow of high
7092 mantissa and normalise.
7093 (ldbl_nearbyint): Use more readable constant for two52.
7094 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
7095 (__mpn_construct_long_double): Fix test for overflow of high
7096 mantissa and correct normalisation. Avoid undefined shift.
7097
7098 2013-10-04 Alan Modra <amodra@gmail.com>
7099
7100 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7101 (union ibm_extended_long_double): Define as an array of ieee754_double.
7102 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
7103 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
7104 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
7105 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7106 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7107 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
7108 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7109 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
7110 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7111 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
7112 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7113
7114 2013-10-03 Joseph Myers <joseph@codesourcery.com>
7115
7116 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
7117 page size instead of calling getpagesize.
7118
7119 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
7120 (LOCFILE_ALIGN_MASK): Likewise.
7121 (LOCFILE_ALIGN_UP): Likewise.
7122 (LOCFILE_ALIGNED_P): Likewise.
7123 * locale/programs/ld-collate.c (collate_output): Use the new
7124 macros instead of __alignof__ (int32_t).
7125 * locale/weight.h (findidx): Likewise.
7126
7127 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
7128
7129 [BZ #431]
7130 * manual/string.texi: Fix strncat and wcsncat.
7131
7132 2013-10-03 Brooks Moses <bmoses@google.com>
7133
7134 [BZ #15915]
7135 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
7136 * Makerules: ...here, and adjust associated comments.
7137
7138 2013-10-02 Will Newton <will.newton@linaro.org>
7139
7140 * malloc/Makefile: Add tst-pvalloc.
7141 * malloc/tst-pvalloc.c: New file.
7142
7143 2013-10-02 Will Newton <will.newton@linaro.org>
7144
7145 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
7146 improve test coverage.
7147
7148 2013-10-02 Will Newton <will.newton@linaro.org>
7149
7150 * malloc/Makefile: Add tst-posix_memalign.
7151 * malloc/tst-posix_memalign.c: New file.
7152
7153 2013-10-01 Eric Blake <eblake@redhat.com>
7154
7155 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
7156 Use __THROWNL rather than __THROW on static functions.
7157
7158 2013-09-30 Petr Machata <pmachata@redhat.com>
7159
7160 * elf/elf.h (R_AARCH64_ABS16): New macro.
7161 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
7162 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
7163 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
7164 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
7165 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
7166 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
7167 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
7168 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
7169 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
7170 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
7171 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
7172 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
7173 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
7174 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
7175 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
7176 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
7177 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
7178 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
7179 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
7180 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
7181 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
7182 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
7183 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
7184 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
7185 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
7186 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
7187 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
7188 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
7189 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
7190 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
7191 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
7192 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
7193 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
7194 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
7195 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
7196 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
7197 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
7198 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
7199 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
7200 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
7201 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
7202 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
7203 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
7204 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
7205 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
7206 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
7207 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
7208 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
7209 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
7210 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
7211 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
7212 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
7213 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
7214 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
7215 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
7216 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
7217 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
7218 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
7219 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
7220 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
7221 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
7222 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
7223 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
7224 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
7225 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
7226 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
7227 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
7228 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
7229 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
7230 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
7231 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
7232 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
7233 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
7234 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
7235 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
7236 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
7237 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
7238 (R_AARCH64_TLSDESC_LDR): Likewise.
7239 (R_AARCH64_TLSDESC_ADD): Likewise.
7240 (R_AARCH64_TLSDESC_CALL): Likewise.
7241
7242 2013-09-30 Andreas Schwab <schwab@suse.de>
7243
7244 [BZ #15048]
7245 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
7246 the nss database lookup.
7247 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7248 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7249
7250 2013-09-28 Mike Frysinger <vapier@gentoo.org>
7251
7252 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
7253
7254 2013-09-28 P. J. McDermott <pj@pehjota.net>
7255
7256 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
7257 ${Bash-specific parameter/pattern/string} parameter expansion.
7258 * sysdeps/unix/make-syscalls.sh: Likewise.
7259
7260 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7261
7262 * sysdeps/sh/stackguard-macros.h: New file.
7263
7264 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
7265
7266 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7267 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
7268 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
7269 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
7270 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7271 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
7272
7273 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7274
7275 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
7276 Fix thread ID register.
7277
7278 2013-09-25 Joseph Myers <joseph@codesourcery.com>
7279
7280 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
7281 [POSIX || UNIX98]: Require rather than permitting all symbols from
7282 <time.h>.
7283 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
7284 element of struct sched_param.
7285 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
7286 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
7287 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
7288 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
7289 constant.
7290
7291 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
7292
7293 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
7294 argument calculation.
7295
7296 2013-09-24 Joseph Myers <joseph@codesourcery.com>
7297
7298 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
7299 Expect macro.
7300 [POSIX] (pthread_attr_t): Do not require type.
7301 [POSIX] (pthread_cond_t): Likewise.
7302 [POSIX] (pthread_condattr_t): Likewise.
7303 [POSIX] (pthread_key_t): Likewise.
7304 [POSIX] (pthread_mutex_t): Likewise.
7305 [POSIX] (pthread_mutexattr_t): Likewise.
7306 [POSIX] (pthread_once_t): Likewise.
7307 [POSIX] (pthread_t): Likewise.
7308 [POSIX-based standards] (pthread_atfork): Expect function.
7309
7310 2013-09-24 Joseph Myers <joseph@codesourcery.com>
7311 Richard Sandiford <richard@codesourcery.com>
7312
7313 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
7314 (swap_endianness_p): New extern variable.
7315 (set_big_endian): New inline function.
7316 (maybe_swap_uint32): Likewise.
7317 (maybe_swap_uint32_array): Likewise.
7318 (maybe_swap_uint32_obstack): Likewise.
7319 * locale/programs/locfile.c: Include <stdbool.h>.
7320 (swap_endianness_p): New variable.
7321 (add_locale_uint32): Call maybe_swap_uint32.
7322 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
7323 (write_locale_data): Call maybe_swap_uint32_array.
7324 * locale/programs/ld-collate.c (obstack_int32_grow): Call
7325 maybe_swap_uint32.
7326 (obstack_int32_grow_fast): Likewise.
7327 (output_weightwc): Call maybe_swap_uint32_obstack.
7328 (collate_output): Likewise.
7329 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
7330 (OPT_LITTLE_ENDIAN): Likewise.
7331 (options): Add --little-endian and --big-endian options.
7332 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
7333 * locale/programs/locarchive.c: Include "locfile.h".
7334 (GET): New macro.
7335 (SET): Likewise.
7336 (INC): Likewise.
7337 (create_archive): Use the new macros to access fields of
7338 structures directly mapped from or written to locale archives.
7339 (oldlocrecentcmp): Likewise.
7340 (enlarge_archive): Likewise.
7341 (insert_name): Likewise.
7342 (add_alias): Likewise.
7343 (add_locale): Likewise.
7344 (delete_locales_from_archive): Likewise.
7345 (show_archive_content): Likewise.
7346 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
7347 locale data.
7348
7349 2013-09-24 Roland McGrath <roland@hack.frob.com>
7350
7351 * manual/freemanuals.texi: Updated from (newly) canonical copy at
7352 http://www.gnu.org/doc/freemanuals.texi.
7353 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
7354
7355 2013-09-24 Will Newton <will.newton@linaro.org>
7356
7357 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
7358 macro.
7359
7360 2013-09-23 Joseph Myers <joseph@codesourcery.com>
7361
7362 * locale/hashval.h (compute_hashval): Interpret bytes of key as
7363 unsigned char.
7364
7365 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
7366
7367 * manual/threads.texi (POSIX Threads): Fix a typo.
7368
7369 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7370
7371 [BZ #14547]
7372 * string/tst-strcoll-overflow.c: New test case.
7373 * string/Makefile (xtests): Add tst-strcoll-overflow.
7374 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
7375 cache if string sizes may cause integer overflow.
7376
7377 [BZ #14547]
7378 * string/strcoll_l.c (coll_seq): New members rule, idx,
7379 save_idx and back_us.
7380 (get_next_seq_nocache): New function.
7381 (do_compare_nocache): New function.
7382 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
7383 when malloc fails.
7384
7385 2013-09-23 Carlos O'Donell <carlos@redhat.com>
7386
7387 [BZ #15754]
7388 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
7389 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
7390 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
7391
7392 [BZ #15754]
7393 * elf/Makefile (tests): Add tst-ptrguard1.
7394 (tests-static): Add tst-ptrguard1-static.
7395 (tst-ptrguard1-ARGS): Define.
7396 (tst-ptrguard1-static-ARGS): Define.
7397 * elf/tst-ptrguard1.c: New file.
7398 * elf/tst-ptrguard1-static.c: New file.
7399 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
7400 * sysdeps/i386/stackguard-macros.h: Likewise.
7401 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
7402 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
7403 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7404 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7405 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
7406 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
7407
7408 2013-09-23 Hector Marco <hecmargi@upv.es>
7409 Ismael Ripoll <iripoll@disca.upv.es>
7410 Carlos O'Donell <carlos@redhat.com>
7411
7412 [BZ #15754]
7413 * sysdeps/generic/stackguard-macros.h: Define
7414 __pointer_chk_guard_local and POINTER_CHK_GUARD.
7415 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
7416 Define __pointer_chk_guard_local.
7417 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
7418 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
7419
7420 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
7421
7422 [BZ #15859]
7423 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
7424
7425 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
7426
7427 * include/string.h (__ffs): Declare as hidden.
7428 * string/ffs.c (__ffs): Define as hidden.
7429 * sysdeps/i386/ffs.c (__ffs): Likewise.
7430 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
7431 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
7432 * sysdeps/s390/ffs.c (__ffs): Likewise.
7433 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
7434
7435 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
7436
7437 * NEWS: Mention malloc probes.
7438
7439 * malloc/arena.c (new_heap): New memory_heap_new probe.
7440 (grow_heap): New memory_heap_more probe.
7441 (shrink_heap): New memory_heap_less probe.
7442 (heap_trim): New memory_heap_free probe.
7443 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
7444 (systrim): New memory_sbrk_less probe.
7445 * manual/probes.texi: Document them.
7446
7447 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
7448 * manual/probes.texi: Document it.
7449
7450 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
7451 (__libc_realloc): Add memory_realloc_retry probe.
7452 (__libc_memalign): Add memory_memalign_retry probe.
7453 (__libc_valloc): Add memory_valloc_retry probe.
7454 (__libc_pvalloc): Add memory_pvalloc_retry probe.
7455 (__libc_calloc): Add memory_calloc_retry probe.
7456 * manual/probes.texi: Document them.
7457
7458 * malloc/arena.c (get_free_list): Add probe
7459 memory_arena_reuse_free_list.
7460 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
7461 and memory_arena_reuse.
7462 (arena_get2) [!PER_THREAD]: Likewise.
7463 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
7464 memory_arena_reuse_realloc.
7465 * manual/probes.texi: Document them.
7466
7467 * malloc/malloc.c (__libc_free): Add
7468 memory_mallopt_free_dyn_thresholds probe.
7469 (__libc_mallopt): Add multiple memory_mallopt probes.
7470 * manual/probes.texi: Document them.
7471
7472 * malloc/malloc.c: Include stap-probe.h.
7473 (__libc_mallopt): Add memory_mallopt probe.
7474 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
7475 * manual/probes.texi: New.
7476 * manual/Makefile (chapters): Add probes.
7477 * manual/threads.texi: Set next node.
7478
7479 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
7480
7481 [BZ #15963, #13985]
7482 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
7483 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
7484 Add `Chinese' to `nan' entry name.
7485
7486 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7487
7488 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
7489 (POLYNOMIAL): Likewise.
7490 (TAYLOR_SINCOS): Likewise.
7491 (TAYLOR_SLOW): Likewise.
7492 (__sin): Use TAYLOR_SINCOS.
7493 (__cos): Likewise.
7494 (slow): Use TAYLOR_SLOW.
7495 (sloww): Likewise.
7496 (bsloww): Likewise.
7497 (csloww): Likewise.
7498
7499 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7500
7501 * stdlib/strtod_l.c: Fix buffer overrun.
7502
7503 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7504
7505 * benchtests/Makefile (bench): Add sincos.
7506 * benchtests/bench-sincos.c: New file.
7507
7508 * math/libm-test.inc (cos_test_data): New test inputs.
7509 (sin_test_data): Likewise.
7510
7511 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
7512 macro.
7513 (__sin): Use it.
7514 (__cos): Likewise.
7515 (slow1): Likewise.
7516 (slow2): Likewise.
7517 (sloww1): Likewise.
7518 (sloww2): Likewise.
7519 (bsloww1): Likewise.
7520 (bsloww2): Likewise.
7521 (cslow2): Likewise.
7522 (csloww1): Likewise.
7523 (csloww2): Likewise.
7524
7525 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
7526 function.
7527 (__sin): Use it.
7528 (__cos): Likewise.
7529
7530 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
7531 gotos.
7532 (__cos): Likewise.
7533
7534 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
7535
7536 * config.h.in (HAVE_MIPS_NAN2008): New macro.
7537 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
7538 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
7539 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
7540 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
7541 * elf/cache.c (print_entry): Handle the new cache flags.
7542
7543 2013-09-18 Joseph Myers <joseph@codesourcery.com>
7544 Aldy Hernandez <aldyh@redhat.com>
7545
7546 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
7547 Change condition to [_SOFT_FLOAT].
7548 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
7549 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
7550 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
7551 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
7552 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
7553 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
7554 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
7555 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
7556 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
7557 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
7558 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
7559 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
7560 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
7561 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
7562 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
7563 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
7564 declaration.
7565
7566 2013-09-18 Joseph Myers <joseph@codesourcery.com>
7567
7568 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
7569 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7570 (__longjmp): Use LOAD_GP to load saved GPRs.
7571 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
7572 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7573 (__sigsetjmp): Use SAVE_GP to save GPRs.
7574
7575 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
7576 Do not append -msoft-float.
7577 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
7578
7579 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7580
7581 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
7582
7583 2013-09-17 Joseph Myers <joseph@codesourcery.com>
7584
7585 [BZ #15966]
7586 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
7587 (_FPU_GETCW): Use initial "__" on variable and field names but not
7588 on macro parameter name.
7589 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
7590 parentheses around reference to macro parameter.
7591
7592 2013-09-13 Richard Sandiford <richard@codesourcery.com>
7593
7594 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
7595 prototype.
7596 (ctype_startup): Use uint32_t in cast and sizeof for
7597 ctype->charnames.
7598
7599 2013-09-11 Jia Liu <proljc@gmail.com>
7600
7601 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
7602 __daddr_t_defined.
7603 [__FreeBSD__]: Likewise.
7604
7605 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
7606
7607 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7608 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
7609 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
7610 (strchr): Remove __strchr_sse42 ifunc selection.
7611 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
7612 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
7613
7614 2013-09-11 Will Newton <will.newton@linaro.org>
7615
7616 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
7617 parameter to RES. Remove hardcoded 1000 value.
7618 * benchtests/bench-skeleton.c (main): Pass RES parameter
7619 to TIMING_INIT and multiply result by 1000.
7620
7621 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7622
7623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7624
7625 2013-09-11 Andreas Schwab <schwab@suse.de>
7626
7627 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7628 if not defined.
7629 (O_TMPFILE) [__USE_GNU]: Define.
7630 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
7631 Define.
7632
7633 2013-09-11 Will Newton <will.newton@linaro.org>
7634
7635 [BZ #15857]
7636 * malloc/malloc.c (__libc_memalign): Check the value of bytes
7637 does not overflow.
7638
7639 2013-09-11 Will Newton <will.newton@linaro.org>
7640
7641 [BZ #15856]
7642 * malloc/malloc.c (__libc_valloc): Check the value of bytes
7643 does not overflow.
7644
7645 2013-09-11 Will Newton <will.newton@linaro.org>
7646
7647 [BZ #15855]
7648 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
7649 does not overflow.
7650
7651 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
7652
7653 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
7654 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7655 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7656 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7657 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7658
7659 2013-09-10 Allan McRae <allan@archlinux.org>
7660
7661 [BZ #15748]
7662 * manual/arith.texi (Parsing of Floats): Clarify
7663 cross-reference.
7664
7665 [BZ #15849]
7666 * manual/install.texi (Running make install): Mention
7667 --enable-pt-chown.
7668 * INSTALL: Regenerated.
7669
7670 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7671
7672 * csu/init-first.c (_init): Remove the !SHARED condition around
7673 FPU control word initialization.
7674 * elf/dl-support.c (_dl_fpu_control): New variable.
7675 (_dl_aux_init) <AT_FPUCW>: Initialize it.
7676 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
7677 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
7678 * math/test-fpucw-static.c: New file.
7679 * math/test-fpucw-ieee.c: New file.
7680 * math/test-fpucw-ieee-static.c: New file.
7681 * math/Makefile (tests): Add `test-fpucw-ieee' and
7682 `$(tests-static)'.
7683 (tests-static): New variable.
7684 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
7685 dependency to...
7686 [($(build-shared),yes)]
7687 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7688 ... this.
7689 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
7690 New dependency.
7691
7692 2013-09-09 Allan McRae <allan@archlinux.org>
7693
7694 [BZ #15939]
7695 * manual/string.texi (Collation Functions): Fix typo in
7696 strcoll example.
7697 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
7698
7699 [BZ #15893]
7700 * stdlib/isomac.c (get_null_defines): Fix memory leak.
7701
7702 [BZ #15892]
7703 * libio/memstream.c (open_memstream): Fix memory leak.
7704 * libio/wmemstream.c (open_wmemstream): Likewise.
7705
7706 [BZ #15895]
7707 * nscd/netgroupcache.c: Fix nesting of ifdefs.
7708
7709 2013-09-09 Will Newton <will.newton@linaro.org>
7710
7711 * malloc/Makefile: Add tst-realloc to tests.
7712 * malloc/tst-realloc.c: New file.
7713
7714 2013-09-09 Allan McRae <allan@archlinux.org>
7715
7716 [BZ #15844]
7717 * COPYING: Update from GNU website to fix FSF address.
7718 * COPYING.LIB: Likewise.
7719
7720 2013-09-06 David S. Miller <davem@davemloft.net>
7721
7722 * po/zh_TW.po: Update Chinese (traditional) translation from
7723 translation project.
7724
7725 2013-09-06 Richard Sandiford <richard@codesourcery.com>
7726 Joseph Myers <joseph@codesourcery.com>
7727
7728 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
7729 "localeinfo.h".
7730 (obstack_chunk_alloc): New macro.
7731 (obstack_chunk_free): Likewise.
7732 (record_offset): New function.
7733 (init_locale_data): Likewise.
7734 (align_locale_data): Likewise.
7735 (add_locale_empty): Likewise.
7736 (add_locale_raw_data): Likewise.
7737 (add_locale_raw_obstack): Likewise.
7738 (add_locale_string): Likewise.
7739 (add_locale_wstring): Likewise.
7740 (add_locale_uint32): Likewise.
7741 (add_locale_uint32_array): Likewise.
7742 (add_locale_char): Likewise.
7743 (start_locale_structure): Likewise.
7744 (end_locale_structure): Likewise.
7745 (start_locale_prelude): Likewise.
7746 (end_locale_prelude): Likewise.
7747 (write_locale_data): Take locale_file structure rather than an
7748 iovec.
7749 * locale/programs/locfile.h: Include "obstack.h".
7750 (struct locale_file): Change to store locale file contents instead
7751 of header.
7752 (init_locale_data): New prototype.
7753 (align_locale_data): Likewise.
7754 (add_locale_empty): Likewise.
7755 (add_locale_raw_data): Likewise.
7756 (add_locale_raw_obstack): Likewise.
7757 (add_locale_string): Likewise.
7758 (add_locale_wstring): Likewise.
7759 (add_locale_uint32): Likewise.
7760 (add_locale_uint32_array): Likewise.
7761 (add_locale_char): Likewise.
7762 (start_locale_structure): Likewise.
7763 (end_locale_structure): Likewise.
7764 (start_locale_prelude): Likewise.
7765 (end_locale_prelude): Likewise.
7766 (write_locale_data): Update prototype.
7767 * locale/programs/3level.h (struct TABLE): Remove result field.
7768 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
7769 Use new locale_file interface.
7770 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
7771 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
7772 * locale/programs/ld-address.c (address_output): Use new
7773 locale_file interface.
7774 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
7775 NO_ADD_LOCALE.
7776 (collate_finish): Don't call collseq_table_finalize.
7777 (collate_output): Use new locale_file interface.
7778 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
7779 in file.
7780 (NO_FINALIZE): Change to NO_ADD_LOCALE.
7781 (TABLE): Move defines earlier in file.
7782 (ELEMENT): Likewise.
7783 (DEFAULT): Likewise.
7784 (wctrans_table_add): Move macro and inline function earlier in
7785 file.
7786 (struct wctype_table): Move type earlier in file.
7787 (add_locale_wctype_table): New static prototype.
7788 (struct locale_ctype_t): Use logical types instead of struct iovec
7789 pointers for members.
7790 (ctype_output): Use new locale_file interface.
7791 (wctype_table_finalize): Change to add_locale_wctype_table. Use
7792 new locale_file interface.
7793 (allocate_arrays): Update for use of new locale_file interface.
7794 * locale/programs/ld-identification.c (identification_output): Use
7795 new locale_file interface.
7796 * locale/programs/ld-measurement.c (measurement_output): Likewise.
7797 * locale/programs/ld-messages.c (messages_output): Likewise.
7798 * locale/programs/ld-monetary.c (monetary_output): Likewise.
7799 * locale/programs/ld-name.c (name_output): Likewise.
7800 * locale/programs/ld-numeric.c (numeric_output): Likewise.
7801 * locale/programs/ld-paper.c (paper_output): Likewise.
7802 * locale/programs/ld-telephone.c (telephone_output): Likewise.
7803 * locale/programs/ld-time.c (time_output): Likewise.
7804
7805 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7806
7807 * benchtests/Makefile: Add memrchr benchmark.
7808 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
7809 benchmark as memrchr.
7810 * benchtests/bench-memrchr-ifunc.c: New file.
7811 * benchtests/bench-memrchr.c: New file.
7812
7813 2013-09-06 Will Newton <will.newton@linaro.org>
7814
7815 * benchtests/Makefile (string-bench): Add memcpy.
7816
7817 2013-09-05 Carlos O'Donell <carlos@redhat.com>
7818 Cong Wang <amwang@redhat.com>
7819
7820 [BZ #15850]
7821 * sysdeps/unix/sysv/linux/bits/in.h
7822 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
7823 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
7824 before __USE_KERNEL_IPV6_DEFS uses.
7825 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
7826 IPPROTO_BEETPH.
7827 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
7828 sockaddr_in6, or ipv6_mreq.
7829
7830 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7831
7832 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
7833 memory access for final bytes in some large inputs.
7834 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
7835
7836 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7837
7838 * string/test-memrchr.c: New file.
7839 * string/test-memrchr-ifunc.c: New file.
7840 * string/Makefile: Add new memrchr testcase.
7841
7842 2013-09-05 Mike Frysinger <vapier@gentoo.org>
7843
7844 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
7845 fanotify_init returns EPERM.
7846
7847 2013-09-04 Joseph Myers <joseph@codesourcery.com>
7848
7849 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
7850 errors.
7851 (top level): Treat second token from macro or constant entries for
7852 allowed headers as allowed.
7853 * include/complex.h: Condition internal declarations on
7854 [!_ISOMAC].
7855 * include/fenv.h: Condition include of <stdbool.h> and internal
7856 declarations on [!_ISOMAC].
7857
7858 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
7859
7860 [BZ #15923]
7861 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
7862
7863 2013-09-04 Joseph Myers <joseph@codesourcery.com>
7864
7865 * configure.in (--enable-versioning): Remove configure option.
7866 (libc_cv_asm_symver_directive): Remove configure test.
7867 (libc_cv_ld_version_script_option): Likewise.
7868 (VERSIONING): Remove variable and AC_SUBST.
7869 (DO_VERSIONING): Remove AC_DEFINE.
7870 * configure: Regenerated.
7871 * config.h.in (DO_VERSIONING): Remove macro.
7872 * Makerules [$(versioning) = yes]: Change conditionals to
7873 [$(build-shared) = yes].
7874 * config.make.in (versioning): Remove variable.
7875 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
7876 [$(build-shared) = yes].
7877 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
7878 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
7879 * elf/Makefile [$(versioning) = yes]: Change conditionals to
7880 [$(build-shared) = yes].
7881 * extra-lib.mk [$(versioning) = yes]: Likewise.
7882 * hurd/Makefile [$(versioning) = yes]: Likewise.
7883 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
7884 [SHARED].
7885 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
7886 [SHARED].
7887 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7888 [SHARED && !NO_HIDDEN].
7889 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
7890 [SHARED].
7891 [SHARED && DO_VERSIONING]: Likewise..
7892 * libio/Makefile [$(versioning) = yes]: Change conditionals to
7893 [$(build-shared) = yes].
7894 * manual/install.texi (--disable-versioning): Remove
7895 documentation.
7896 * INSTALL: Regenerated.
7897 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
7898 to [SHARED].
7899 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
7900 [$(build-shared) = yes].
7901 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
7902 * sysdeps/i386/i686/multiarch/strstr-c.c
7903 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7904 [SHARED && !NO_HIDDEN].
7905 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
7906 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
7907 * sysdeps/powerpc/powerpc32/dl-machine.c
7908 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
7909 * sysdeps/powerpc/powerpc32/sysdep.h
7910 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
7911 to [SHARED && PIC && !NO_HIDDEN].
7912 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
7913 conditional to [SHARED].
7914
7915 2013-09-04 Will Newton <will.newton@linaro.org>
7916
7917 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
7918 * benchtests/bench-string.h: Include bench-timing.h instead
7919 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
7920 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
7921 call to HP_TIMING_DIFF_INIT.
7922 * benchtests/bench-memccpy.c: Use bench-timing.h macros
7923 instead of hp-timing.h macros.
7924 * benchtests/bench-memchr.c: Likewise.
7925 * benchtests/bench-memcmp.c: Likewise.
7926 * benchtests/bench-memcpy.c: Likewise.
7927 * benchtests/bench-memmem.c: Likewise.
7928 * benchtests/bench-memmove.c: Likewise.
7929 * benchtests/bench-memset.c: Likewise.
7930 * benchtests/bench-rawmemchr.c: Likewise.
7931 * benchtests/bench-strcasecmp.c: Likewise.
7932 * benchtests/bench-strcasestr.c: Likewise.
7933 * benchtests/bench-strcat.c: Likewise.
7934 * benchtests/bench-strchr.c: Likewise.
7935 * benchtests/bench-strcmp.c: Likewise.
7936 * benchtests/bench-strcpy.c: Likewise.
7937 * benchtests/bench-strcpy_chk.c: Likewise.
7938 * benchtests/bench-strlen.c: Likewise.
7939 * benchtests/bench-strncasecmp.c: Likewise.
7940 * benchtests/bench-strncat.c: Likewise.
7941 * benchtests/bench-strncmp.c: Likewise.
7942 * benchtests/bench-strncpy.c: Likewise.
7943 * benchtests/bench-strnlen.c: Likewise.
7944 * benchtests/bench-strpbrk.c: Likewise.
7945 * benchtests/bench-strrchr.c: Likewise.
7946 * benchtests/bench-strspn.c: Likewise.
7947 * benchtests/bench-strstr.c: Likewise.
7948
7949 2013-09-04 Will Newton <will.newton@linaro.org>
7950
7951 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
7952
7953 2013-09-03 Joseph Myers <joseph@codesourcery.com>
7954
7955 [BZ #15427]
7956 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
7957 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
7958 * math/libm-test.inc (lgamma_test_data): Add more tests.
7959 * sysdeps/i386/fpu/libm-test-ulps: Update.
7960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7961
7962 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
7963
7964 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
7965 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7966 Add ifunc.
7967 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7968 Add strcmp-sse2-unaligned
7969 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
7970
7971 2013-09-02 Mike Frysinger <vapier@gentoo.org>
7972
7973 * Versions.def (libc): Add GLIBC_2.19.
7974
7975 2013-09-02 Mike Frysinger <vapier@gentoo.org>
7976
7977 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
7978 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
7979
7980 2013-09-02 Joseph Myers <joseph@codesourcery.com>
7981
7982 [BZ #14155]
7983 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
7984 intermediate calculations in recurrence.
7985 (__ieee754_ynf): Likewise.
7986 * math/libm-test.inc (jn_test_data): Do not allow spurious
7987 underflow exception. Add more tests.
7988 (yn_test_data): Add more tests.
7989 * sysdeps/i386/fpu/libm-test-ulps: Update.
7990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7991
7992 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
7993
7994 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
7995
7996 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
7997
7998 * csu/init-first.c: Fix then/than typos.
7999 * locale/programs/ld-collate.c: Likewise.
8000 * locale/programs/linereader.h: Likewise.
8001 * manual/charset.texi: Likewise.
8002 * manual/filesys.texi: Likewise.
8003 * manual/stdio.texi: Likewise.
8004 * manual/string.texi: Likewise.
8005 * stdlib/fmtmsg.c: Likewise.
8006 * sysdeps/i386/stpncpy.S: Likewise.
8007 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8008 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8009 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8010 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8011
8012 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
8013
8014 * elf/dl-open.c: Fix typos.
8015 * iconvdata/gbbig5.c: Likewise.
8016 * iconvdata/iso-2022-jp.c: Likewise.
8017 * iconv/gconv_int.h: Likewise.
8018 * iconv/loop.c: Likewise.
8019 * nis/rpcsvc/nis.h: Likewise.
8020 * resolv/ns_name.c: Likewise.
8021 * stdio-common/vfscanf.c: Likewise.
8022 * streams/stropts.h: Likewise.
8023 * sunrpc/rpc_thread.c: Likewise.
8024 * sysdeps/i386/strpbrk.S: Likewise.
8025 * sysdeps/ieee754/k_standard.c: Likewise.
8026 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8027 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8028 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
8029 * sysdeps/mach/hurd/profil.c: Likewise.
8030 * sysdeps/s390/dl-procinfo.h: Likewise.
8031 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
8032 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
8033 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
8034 * sysdeps/x86_64/dl-trampoline.S: Likewise.
8035 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8036
8037 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
8038
8039 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
8040 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
8041
8042 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
8043
8044 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
8045 aix specific files.
8046 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
8047 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
8048 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
8049 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
8050 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
8051 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
8052 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
8053 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
8054
8055 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
8056 Roland McGrath <roland@hack.frob.com>
8057
8058 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
8059 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
8060
8061 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
8062
8063 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
8064 __executable_start symbol instead of _start.
8065
8066 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
8067
8068 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
8069 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
8070 Move macros to...
8071 * sysdeps/gnu/ldsodefs.h: ... this new file.
8072
8073 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
8074 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
8075 instead of ELFOSABI_LINUX.
8076
8077 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
8078 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
8079 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
8080 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
8081 Likewise.
8082 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
8083 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
8084 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
8085 Likewise.
8086 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
8087 (ibm_extended_long_double): Add ieee_nan member.
8088 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
8089 (do_test): New function.
8090
8091 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
8092 TEST_TRUNC.
8093 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
8094 functions, renamed from truncdfsf_test, trunctfsf_test,
8095 trunctfdf_test.
8096 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
8097 functions.
8098 (do_test): Run all these.
8099
8100 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
8101
8102 * argp/argp-help.c: Fix typos.
8103 * argp/argp-parse.c: Likewise.
8104 * debug/backtracesyms.c: Likewise.
8105 * elf/elf.h: Likewise.
8106 * malloc/malloc.c: Likewise.
8107 * nis/nis_print.c: Likewise.
8108 * resolv/res_comp.c: Likewise.
8109 * stdlib/stdlib.h: Likewise.
8110 * sunrpc/clnt_tcp.c: Likewise.
8111 * sunrpc/clnt_udp.c: Likewise.
8112 * sunrpc/clnt_unix.c: Likewise.
8113 * sysdeps/unix/bsd/ptsname.c: Likewise.
8114 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8115 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
8116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
8117 Likewise.
8118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
8119 Likewise.
8120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
8121 Likewise.
8122 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8123
8124 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8125
8126 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
8127 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8128
8129 2013-08-27 Mike Frysinger <vapier@gentoo.org>
8130
8131 [BZ #15897]
8132 * dlfcn/Makefile (tests): Add bug-dl-leaf.
8133 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
8134 ($(objpfx)bug-dl-leaf): New rule.
8135 ($(objpfx)bug-dl-leaf.so): Likewise.
8136 ($(objpfx)bug-dl-leaf.out): Likewise.
8137 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
8138 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
8139 * dlfcn/bug-dl-leaf.c: New test.
8140 * dlfcn/bug-dl-leaf-lib.c: Likewise.
8141 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
8142 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
8143 (dlclose): Likewise.
8144 (dlmopen): Likewise.
8145
8146 2013-08-27 Roland McGrath <roland@hack.frob.com>
8147
8148 * include/netdb.h [!_ISOMAC]:
8149 Don't include <tls.h>.
8150 (h_errno, __libc_h_errno): Move declaration and macros out of
8151 [_LIBC_REENTRANT].
8152
8153 * include/resolv.h [_RESOLV_H_]:
8154 Don't include <tls.h>.
8155 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
8156 * resolv/res_libc.c: Don't include <tls.h>.
8157 (_res): Use __attribute__ ((nocommon)) in place of
8158 __attribute__ ((section (".bss"))).
8159
8160 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
8161 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
8162
8163 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
8164
8165 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
8166 only under [SIOCGIFCONF && SIOCGIFNETMASK].
8167
8168 * resolv/res_mkquery.c: Include <sys/time.h>.
8169
8170 * inet/ifreq.c: Moved to ...
8171 * sysdeps/unix/ifreq.c: ... here.
8172 * inet/ifreq.c: New file, true stub version.
8173
8174 * socket/sa_len.c: New file.
8175 * socket/Makefile (aux): Add it.
8176 * sysdeps/unix/sysv/linux/Makefile
8177 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
8178 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
8179 and #include <socket/sa_len.c>.
8180 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
8181 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
8182
8183 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
8184 * bits/socket.h: ... here.
8185
8186 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
8187 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
8188 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
8189
8190 2013-08-27 Andreas Schwab <schwab@suse.de>
8191
8192 [BZ #15736]
8193 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
8194 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
8195 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
8196 * string/test-strcasecmp.c (test_main): Run tests in several
8197 locales.
8198 * string/test-strncasecmp.c (test_main): Likewise.
8199
8200 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
8201 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
8202 to __strcasecmp_nonascii and __strncasecmp_nonascii.
8203 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
8204 (__strncasecmp_ssse3) [PIC]: Likewise.
8205
8206 2013-08-26 Roland McGrath <roland@hack.frob.com>
8207
8208 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
8209
8210 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
8211 instead of explicitly declaring xdecrypt.
8212 * nis/nss_nis/nis-publickey.c: Likewise.
8213
8214 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8215
8216 [BZ #15890]
8217 * nscd/aicache.c: Include res_hconf.h.
8218 (addhstaiX): Initialize res_hconf.
8219
8220 2013-08-26 Andreas Schwab <schwab@suse.de>
8221
8222 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
8223 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
8224
8225 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8226
8227 * nscd/aicache.c (addhstaiX): Fix indentation.
8228
8229 2013-08-25 Mike Frysinger <vapier@gentoo.org>
8230
8231 * configure.ac: Quote $build_pt_chown test.
8232 * configure: Regenerated.
8233
8234 2013-08-23 Joseph Myers <joseph@codesourcery.com>
8235
8236 [BZ #15532]
8237 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
8238 * math/s_cexpf.c (__cexpf): Likewise.
8239 * math/s_cexpl.c (__cexpl): Likewise.
8240 * math/libm-test.inc (cexp_test_data): Correct expected return
8241 value for NaN + i0. Add another test.
8242
8243 2013-08-22 David S. Miller <davem@davemloft.net>
8244
8245 * po/ca.po: Update Catalan translation from translation project.
8246 * po/uk.po: Add Ukrainian translations from translation project.
8247
8248 2013-08-21 Joseph Myers <joseph@codesourcery.com>
8249
8250 [BZ #15797]
8251 * math/s_fdim.c (__fdim): Check for infinite arguments if result
8252 is infinite, not alongside NaN test.
8253 * math/s_fdimf.c (__fdimf): Likewise.
8254 * math/s_fdiml.c (__fdiml): Likewise.
8255 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
8256 errno is unchanged.
8257
8258 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
8259
8260 * argp/argp-help.c: Fix typos.
8261 * crypt/speeds.c: Likewise.
8262 * csu/check_fds.c: Likewise.
8263 * elf/dl-load.c: Likewise.
8264 * elf/dl-open.c: Likewise.
8265 * elf/reldep3.c: Likewise.
8266 * elf/reldep.c: Likewise.
8267 * elf/sprof.c: Likewise.
8268 * iconv/iconv_charmap.c: Likewise.
8269 * iconv/skeleton.c: Likewise.
8270 * iconv/strtab.c: Likewise.
8271 * io/lockf64.c: Likewise.
8272 * libio/libioP.h: Likewise.
8273 * resolv/gai_notify.c: Likewise.
8274 * resolv/ns_name.c: Likewise.
8275 * resolv/ns_samedomain.c: Likewise.
8276 * resolv/res_send.c: Likewise.
8277 * stdlib/random.c: Likewise.
8278 * sunrpc/rpc/xdr.h: Likewise.
8279 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
8280 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8281 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8282 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8283 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8284 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8285 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8286 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8287 * sysdeps/mach/hurd/check_fds.c: Likewise.
8288 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8289 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8290 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8291 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8292 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8293 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8294 * sysdeps/pthread/aio_notify.c: Likewise.
8295 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
8296 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
8297 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
8298 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8299 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8300
8301 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8302
8303 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
8304 version if bit_Slow_SSE4_2 is set.
8305 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8306 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8307
8308 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8309
8310 [BZ #15867]
8311 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
8312 trampoline stack frame information.
8313 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
8314 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
8315 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
8316 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
8317 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
8318 * sysdeps/unix/sysv/linux/powerpc/init-first.c
8319 (_libc_vdso_platform_setup): Initialize the signal trampolines.
8320 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
8321 sa_flags value.
8322 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
8323 interrupting a syscall and set with option SA_SIGINFO.
8324
8325 2013-08-20 Joseph Myers <joseph@codesourcery.com>
8326
8327 [BZ #15531]
8328 * math/s_cproj.c (__cproj): Only return an infinity if one part of
8329 argument is infinite.
8330 * math/s_cprojf.c (__cprojf): Likewise.
8331 * math/s_cprojl.c (__cprojl): Likewise.
8332 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
8333 * math/libm-test.inc (cproj_test_data): Add more tests.
8334
8335 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
8336
8337 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
8338 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
8339 size. Use __ffs to determine corresponding shift.
8340
8341 2013-08-20 Joseph Myers <joseph@codesourcery.com>
8342 Roland McGrath <roland@hack.frob.com>
8343
8344 * Makefile (INSTALL): Remove trailing blank lines from output of
8345 makeinfo.
8346
8347 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8348
8349 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
8350 Align 32 bit compat elf_greg to 8 bytes.
8351
8352 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
8353
8354 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
8355
8356 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8357
8358 * string/strcoll_l.c (coll_seq): New structure.
8359 (get_next_seq_cached): New function.
8360 (get_next_seq): New function.
8361 (do_compare): New function.
8362 (STRCOLL): Use GNU style definition. Simplify implementation
8363 by using get_next_seq, get_next_seq_cached and do_compare.
8364
8365 2013-08-16 Florian Weimer <fweimer@redhat.com>
8366
8367 [BZ #14699]
8368 CVE-2013-4237
8369 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
8370 member.
8371 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
8372 member.
8373 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
8374 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
8375 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
8376 conditional.
8377 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
8378 GETDENTS_64BIT_ALIGNED.
8379 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8380 * manual/filesys.texi (Reading/Closing Directory): Document
8381 ENAMETOOLONG return value of readdir_r. Recommend readdir more
8382 strongly.
8383 * manual/conf.texi (Limits for Files): Add portability note to
8384 NAME_MAX, PATH_MAX.
8385 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
8386
8387 2013-08-13 Andreas Schwab <schwab@suse.de>
8388
8389 [BZ #15749]
8390 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
8391 of fabs.
8392 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
8393 LDBL_MAX_EXP >= 16384]: Add tests for it.
8394
8395 2013-08-12 David S. Miller <davem@davemloft.net>
8396
8397 * version.h (RELEASE): Set to "development".
8398 (VERSION): Set to "2.18.90".
8399 * NEWS: Add 2.19 section.
8400
8401 2013-08-03 David S. Miller <davem@davemloft.net>
8402
8403 * po/ko.po: Update Korean translation from translation project.
8404
8405 2013-08-01 David S. Miller <davem@davemloft.net>
8406
8407 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
8408 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
8409 Bilka.
8410
8411 2013-07-30 David S. Miller <davem@davemloft.net>
8412
8413 * po/fr.po: Update French translation from translation project.
8414
8415 2013-07-28 David S. Miller <davem@davemloft.net>
8416
8417 * po/cs.po: Update Czech translation from translation project.
8418
8419 * po/sv.po: Update Swedish translation from translation project.
8420
8421 2013-07-27 David S. Miller <davem@davemloft.net>
8422
8423 * po/eo.po: Update Esperanto translation from translation project.
8424
8425 * po/vi.po: Update Vietnamese translation from translation project.
8426
8427 * po/de.po: Update German translation from translation project.
8428
8429 2013-07-26 David S. Miller <davem@davemloft.net>
8430
8431 * po/bg.po: Update Bulgarian translation from translation project.
8432
8433 * po/nl.po: Update Dutch translation from translation project.
8434 * po/pl.po: Update Polish translation from translation project.
8435 * po/ru.po: Update Russian translation from translation project.
8436
8437 2013-07-24 David S. Miller <davem@davemloft.net>
8438
8439 * po/libc.pot: Update.
8440
8441 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8442
8443 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
8444 variable page size.
8445 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
8446 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
8447 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
8448
8449 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8450
8451 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
8452
8453 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8454 Andreas Schwab <schwab@suse.de>
8455 Roland McGrath <roland@hack.frob.com>
8456 Joseph Myers <joseph@codesourcery.com>
8457 Carlos O'Donell <carlos@redhat.com>
8458
8459 [BZ #15755]
8460 * config.h.in: Define HAVE_PT_CHOWN.
8461 * config.make.in (build-pt-chown): New variable.
8462 * configure.in (--enable-pt_chown): New configure option.
8463 * configure: Regenerate.
8464 * login/Makefile: Include Makeconfig. Build pt_chown only if
8465 build-pt-chown is enabled.
8466 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
8467 pt_chown to fix pty ownership.
8468 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
8469 CLOSE_ALL_FDS.
8470 * manual/install.texi (Configuring and compiling): Mention
8471 --enable-pt_chown. Add @findex for grantpt.
8472 * INSTALL: Regenerate.
8473
8474 2013-07-20 David S. Miller <davem@davemloft.net>
8475
8476 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
8477 difference between 32-bit and 64-bit.
8478
8479 2013-07-15 Carlos O'Donell <carlos@redhat.com>
8480
8481 [BZ #15711]
8482 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
8483 Avoid system header dependency with -ffreestanding.
8484 ($(objpfx)bits/syscall%d): Likewise.
8485
8486 2013-07-13 David S. Miller <davem@davemloft.net>
8487
8488 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
8489 underflows from atanl/atan2l due to bug 15319.
8490 (casinh_test_data): Likewise.
8491
8492 2013-07-07 David S. Miller <davem@davemloft.net>
8493
8494 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
8495
8496 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
8497
8498 * sysdeps/i386/fpu/libm-test-ulps: Update.
8499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8500
8501 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8502
8503 * configure.in (--enable-lock-elision): Fix message text.
8504 * INSTALL: Regenerate.
8505 * configure: Regenerate.
8506
8507 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8508
8509 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8510
8511 2013-07-03 Andreas Jaeger <aj@suse.de>
8512
8513 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
8514 define.
8515 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
8516 (ptrace_peeksiginfo_args): Add.
8517 (__ptrace_peeksiginfo_flags): Add.
8518 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8519 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8520 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8521
8522 2013-07-03 Allan McRae <allan@archlinux.org>
8523
8524 * sysdeps/i386/fpu/libm-test-ulps: Update.
8525
8526 2013-07-02 David S. Miller <davem@davemloft.net>
8527
8528 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8529
8530 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
8531
8532 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8533
8534 2013-07-02 Joseph Myers <joseph@codesourcery.com>
8535
8536 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8538
8539 2013-07-02 Andi Kleen <ak@linux.intel.com>
8540
8541 * config.h.in (ENABLE_LOCK_ELISION): Add.
8542 * configure.in (--enable-lock-elision): Add option.
8543 * manual/install.texi: Document --enable lock elision.
8544 * configure: Regenerate
8545 * INSTALL: Regenerate.
8546
8547 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
8548
8549 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
8550 SSE4.2 strcasecmp for libc.a.
8551 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
8552
8553 2013-07-02 Joseph Myers <joseph@codesourcery.com>
8554
8555 [BZ #13304]
8556 * soft-fp/op-common.h (_FP_FMA): New macro.
8557 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
8558 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
8559 (_FP_MUL_MEAT_1_imm): ... here.
8560 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
8561 (_FP_MUL_MEAT_1_wide): ... here.
8562 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
8563 (_FP_MUL_MEAT_1_hard): ... here.
8564 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
8565 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
8566 (_FP_MUL_MEAT_2_wide): ... here.
8567 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
8568 (_FP_MUL_MEAT_2_wide_3mul): ... here.
8569 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
8570 (_FP_MUL_MEAT_2_gmp): ... here.
8571 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
8572 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
8573 (_FP_MUL_MEAT_4_wide): ... here.
8574 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
8575 (_FP_MUL_MEAT_4_gmp): ... here.
8576 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
8577 (_FP_WFRACBITS_DW_S): Likewise.
8578 (_FP_WFRACXBITS_DW_S): Likewise.
8579 (_FP_HIGHBIT_DW_S): Likewise.
8580 (FP_FMA_S): Likewise.
8581 (_FP_FRAC_HIGH_DW_S): Likewise.
8582 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
8583 (_FP_WFRACBITS_DW_D): Likewise.
8584 (_FP_WFRACXBITS_DW_D): Likewise.
8585 (_FP_HIGHBIT_DW_D): Likewise.
8586 (FP_FMA_D): Likewise.
8587 (_FP_FRAC_HIGH_DW_D): Likewise.
8588 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
8589 (_FP_WFRACBITS_DW_E): Likewise.
8590 (_FP_WFRACXBITS_DW_E): Likewise.
8591 (_FP_HIGHBIT_DW_E): Likewise.
8592 (FP_FMA_E): Likewise.
8593 (_FP_FRAC_HIGH_DW_E): Likewise.
8594 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
8595 (_FP_WFRACBITS_DW_Q): Likewise.
8596 (_FP_WFRACXBITS_DW_Q): Likewise.
8597 (_FP_HIGHBIT_DW_Q): Likewise.
8598 (FP_FMA_Q): Likewise.
8599 (_FP_FRAC_HIGH_DW_Q): Likewise.
8600 * soft-fp/fmasf4.c: New file.
8601 * soft-fp/fmadf4.c: Likewise.
8602 * soft-fp/fmatf4.c: Likewise.
8603
8604 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8605
8606 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
8607 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
8608 Silvermont.
8609 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
8610 macro.
8611 (index_Slow_SSE4_2): Likewise.
8612 (index_Prefer_PMINUB_for_stringop): Likewise.
8613 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
8614 bit_Slow_SSE4_2 is set.
8615 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8616 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8617
8618 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8619
8620 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
8621 rtld_global._dl_hwcap2.
8622 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
8623 POWER8.
8624 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
8625 POWER8 feature descriptions defined in _dl_hwcap2.
8626 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
8627 string handling for POWER8 feature bits.
8628 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
8629 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
8630 _dl_powerpc_cap_flags.
8631 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
8632 * sysdeps/powerpc/rtld-global-offsets.sym
8633 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
8634 _dl_hwcap2 in the rtld_global_ro structure.
8635
8636 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8637
8638 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
8639 hardware capabilities in support of AT_HWCAP2.
8640 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
8641 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
8642 GLRO(dl_hwcap2).
8643 (_dl_show_auxv): Add support for calling _dl_procinfo to display
8644 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
8645 explicitly the unknown a_type display mechanism is used.
8646 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
8647 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
8648 struct member.
8649 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
8650 to macro prototype for AT_HWCAP2 support.
8651 * sysdeps/i386/dl-procinfo.h: Likewise.
8652 * sysdeps/s390/dl-procinfo.h: Likewise.
8653 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
8654 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
8655 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
8656 return -1 for unknown a_type display fallback.
8657 * sysdeps/sparc/dl-procinfo.h: Likewise.
8658 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
8659 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
8660
8661 2013-06-28 Joseph Myers <joseph@codesourcery.com>
8662
8663 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
8664 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
8665
8666 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
8667
8668 [BZ #12492]
8669 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
8670 mprotect making __stack_prot writable.
8671
8672 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
8673 Joseph Myers <joseph@codesourcery.com>
8674
8675 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
8676 as being properly aligned.
8677
8678 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
8679
8680 * dlfcn/modstatic5.c: New file.
8681 * dlfcn/tststatic5.c: New file.
8682 * dlfcn/Makefile (tests): Add tststatic5.
8683 (tests-static): Likewise.
8684 (modules-names): Add modstatic5.
8685 (tststatic5-ENV): New variable.
8686 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
8687
8688 [BZ #15022]
8689 * elf/dl-support.c (_dl_main_map): New variable.
8690 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
8691 (_dl_nns, _dl_load_adds): Set to 1.
8692 (_dl_initial_searchlist): Refer to _dl_main_map.
8693 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
8694 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
8695 call to _dl_get_origin.
8696 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
8697 around call_map.
8698 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
8699 * dlfcn/modstatic3.c: New file.
8700 * dlfcn/tststatic3.c: New file.
8701 * dlfcn/tststatic4.c: New file.
8702 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
8703 (tests-static): Likewise.
8704 (modules-names): Add modstatic3.
8705 (tststatic3-ENV, tststatic4-ENV): New variables.
8706 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
8707 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
8708
8709 2013-06-26 Joseph Myers <joseph@codesourcery.com>
8710
8711 * configure.in (CC): Require GCC version 4.4 or later.
8712 * configure: Regenerated.
8713 * manual/install.texi (Tools for Compilation): Update GCC version
8714 requirement.
8715 * INSTALL: Regenerated.
8716
8717 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8718
8719 [BZ #15674]
8720 * string/test-memcmp.c (check2): New.
8721 (main): Call check2.
8722
8723 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
8724
8725 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
8726
8727 [BZ #15022]
8728 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
8729 over to...
8730 (dl_open_worker) [!SHARED]: ... here.
8731
8732 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8733
8734 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
8735
8736 2013-06-25 Richard Henderson <rth@redhat.com>
8737
8738 * locale/programs/locarchive.c: Include <libc-internal.h>
8739
8740 2013-06-25 Joseph Myers <joseph@codesourcery.com>
8741
8742 * manual/texinfo.tex: Update to version 2013-06-21.17, with
8743 trailing whitespace removed.
8744
8745 2013-06-24 Mike Frysinger <vapier@gentoo.org>
8746
8747 [BZ #10283]
8748 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
8749 * locale/programs/locarchive.c: Include libc-mmap.h.
8750 (prepare_address_space): Take two new outputs (the mmap base and len).
8751 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
8752 values.
8753 (create_archive): Declare new mmap base and len values for
8754 prepare_address_space, and store the result in ah.
8755 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
8756 (enlarge_archive): If ah->mmap_base is not NULL, use that and
8757 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8758 Declare new mmap base and len values for
8759 prepare_address_space, and store the result in new_ah.
8760 (open_archive): Declare new mmap base and len values for
8761 prepare_address_space, and store the result in ah.
8762 (close_archive): If ah->mmap_base is not NULL, use that and
8763 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8764 * sysdeps/generic/libc-mmap.h: New file.
8765
8766 2013-06-24 Mike Frysinger <vapier@gentoo.org>
8767
8768 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
8769 (ALIGN_UP): Likewise.
8770 (PTR_ALIGN_DOWN): Likewise.
8771 (PTR_ALIGN_UP): Likewise.
8772
8773 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8774
8775 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
8776 entry mapped to PPC_PLATFORM_POWER8.
8777 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
8778 POWER8.
8779 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
8780 (_dl_string_platform): Add case for exporting platform position for
8781 POWER8.
8782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
8783 search path to sysdeps/powerpc/powerpc32/power8 directory.
8784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
8785 search path to sysdeps/powerpc/powerpc64/power8 directory.
8786 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
8787 power7 directories.
8788 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
8789 power7 directories.
8790
8791 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8792
8793 * INSTALL: Regenerate.
8794
8795 * nscd/connections.c (nscd_init): Fix comment.
8796
8797 2013-06-22 Joseph Myers <joseph@codesourcery.com>
8798
8799 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
8800
8801 [BZ #15667]
8802 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
8803 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
8804
8805 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8806
8807 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
8808 DL_DST_REQ_STATIC.
8809 (DL_DST_REQ_STATIC): Remove macro.
8810
8811 2013-06-21 Joseph Myers <joseph@codesourcery.com>
8812
8813 [BZ #7006]
8814 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
8815 with a shift of 0 bits.
8816
8817 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8818
8819 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
8820 $(tststatic-ENV).
8821
8822 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8823
8824 [BZ #15655]
8825 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
8826
8827 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8828
8829 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
8830 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
8831 accepts -fno-tree-loop-distribute-patterns.
8832 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
8833 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
8834 recursive call.
8835 * string/memset.c (memset): Likewise.
8836 * string/test-memmove.c (simple_memmove): Disable loop transformation
8837 to library calls.
8838 * string/test-memset.c (simple_memset): Likewise.
8839 * benchtests/bench-memmove.c (simple_memmove): Likewise.
8840 * benchtests/bench-memset.c (simple_memset): Likewise.
8841 * configure: Regenerated.
8842
8843 2013-06-20 Joseph Myers <joseph@codesourcery.com>
8844
8845 * math/test-misc.c (main): Ignore fesetround failure when failures
8846 of subsequent rounding tests would be ignored.
8847
8848 [BZ #15654]
8849 * math/fedisblxcpt.c (fedisableexcept): Return 0.
8850 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
8851 * math/fegetenv.c (__fegetenv): Return 0.
8852 * math/fegetexcept.c (fegetexcept): Return 0.
8853 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
8854 FE_TONEAREST.
8855 * math/feholdexcpt.c (feholdexcept): Return 0.
8856 * math/fesetenv.c (__fesetenv): Return 0.
8857 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
8858 argument FE_TONEAREST.
8859 * math/feupdateenv.c (__feupdateenv): Return 0.
8860 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
8861
8862 2013-06-18 Roland McGrath <roland@hack.frob.com>
8863
8864 * elf/rtld-Rules (rtld-compile-command.S): New variable.
8865 (rtld-compile-command.s, rtld-compile-command.c): New variables.
8866 ($(objpfx)rtld-%.os rules): Use them.
8867
8868 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8869
8870 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
8871 fields.
8872
8873 2013-06-17 Roland McGrath <roland@hack.frob.com>
8874
8875 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
8876 length of target pattern, then descending length of dependency pattern.
8877 * configure.in (AWK): Require gawk 3.1.2 or newer.
8878 * manual/install.texi (Tools for Compilation): Say that we do.
8879 * configure: Regenerated.
8880
8881 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
8882 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
8883 * scripts/sysd-rules.awk: ... this new script.
8884 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
8885 than a glob-style pattern.
8886
8887 2013-06-17 Joseph Myers <joseph@codesourcery.com>
8888
8889 * math/test-misc.c (main): Do not treat incorrectly rounded
8890 conversions as failure unless ROUNDING_TESTS passes.
8891
8892 2013-06-15 Joseph Myers <joseph@codesourcery.com>
8893
8894 [BZ #15631]
8895 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
8896 restore exception state around main square root computation, then
8897 check for inexactness explicitly.
8898
8899 * math/libm-test.inc (fma_test_data): Add another test.
8900
8901 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8902
8903 * manual/threads.texi (Non-POSIX Extensions): New document
8904 node. Document pthread_getattr_default_np and
8905 pthread_setattr_default_np.
8906
8907 * Versions.def (libpthread): Add GLIBC_2.18.
8908 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
8909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8910 Likewise.
8911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8912 Likewise.
8913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8914 Likewise.
8915 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8916 Likewise.
8917 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
8918 Likewise.
8919 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8920 Likewise.
8921 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8922 Likewise.
8923 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
8924 Likewise.
8925 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8926 Likewise.
8927
8928 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8929
8930 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8931 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
8932
8933 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8934 H.J. Lu <hjl.tools@gmail.com>
8935
8936 [BZ #15627]
8937 * sysdeps/x86_64/rtld-memset.c: Remove file.
8938 * sysdeps/x86_64/rtld-memset.S: New file.
8939
8940 2013-06-14 Joseph Myers <joseph@codesourcery.com>
8941
8942 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
8943 (test_in_one_mode): Take arguments for whether the rounding mode
8944 is supported for each floating-point type.
8945 (do_test): Pass new arguments to test_in_one_mode using
8946 ROUNDING_TESTS.
8947
8948 2013-06-13 Roland McGrath <roland@hack.frob.com>
8949
8950 * posix/tst-waitid.c (do_test): Distinguish different instances of
8951 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
8952 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
8953 before entering the kernel for waitpid.
8954
8955 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8956
8957 * NEWS: Fix note on clock function precision. Text by Roland
8958 McGrath.
8959
8960 2013-06-13 Roland McGrath <roland@hack.frob.com>
8961
8962 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
8963 it into place only when and if the sanity check passes.
8964
8965 2013-06-13 Joseph Myers <joseph@codesourcery.com>
8966
8967 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
8968 output for whether conversion result is exact. Take argument
8969 indicating whether type is IBM long double.
8970 (round_for_all): Change need_exact field to ibm_ld.
8971 * stdlib/tst-strtod-round.c (struct exactness): New type.
8972 (struct test): Change bool ld_ok field to struct exactness exact.
8973 (TEST): Update all definitions for change to field.
8974 (tests): Regenerate array contents.
8975 (test_in_one_mode): Take pointer to new field instead of old ld_ok
8976 field value. Check for IBM long double here.
8977 (do_test): Update calls to test_in_one_mode.
8978
8979 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8980
8981 [BZ #12515]
8982 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
8983 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
8984
8985 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8986
8987 [BZ #15605]
8988 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
8989 generated by the compiler on loop optimizations.
8990 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
8991 general definitions.
8992
8993 2013-06-12 Joseph Myers <joseph@codesourcery.com>
8994
8995 * math/bug-nextafter.c: Include <math-tests.h>.
8996 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8997 the relevant type.
8998 * math/bug-nexttoward.c: Include <math-tests.h>.
8999 (main): Only test for exceptions if EXCEPTION_TESTS is true for
9000 the relevant type.
9001 * math/test-misc.c: Include <math-tests.h>.
9002 (main): Only test for exceptions if EXCEPTION_TESTS is true for
9003 the relevant type.
9004
9005 2013-06-12 Andreas Jaeger <aj@suse.de>
9006
9007 * po/ia.po: Update Interlingua translation from translation
9008 project.
9009
9010 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9011
9012 * include/fenv.h: Include stdbool.h.
9013 (struct rm_ctx): New structure.
9014 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
9015 Define macro.
9016 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
9017 (SET_RESTORE_ROUNDF): Likewise.
9018 (SET_RESTORE_ROUNDL): Likewise.
9019 (SET_RESTORE_ROUND_NOEX): Likewise.
9020 (SET_RESTORE_ROUND_NOEXF): Likewise.
9021 (SET_RESTORE_ROUND_NOEXL): Likewise.
9022 (SET_RESTORE_ROUND_53BIT): Likewise.
9023 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
9024 (libc_feresetround_noexf_ctx): Likewise.
9025 (libc_feresetround_noexl_ctx): Likewise.
9026 (libc_feholdsetround_53bit_ctx): Likewise.
9027 (libc_feresetround_53bit_ctx): Likewise.
9028 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
9029 (libc_feholdexcept_setround_sse_ctx): New function.
9030 (libc_fesetenv_sse_ctx): Likewise.
9031 (libc_feupdateenv_sse_ctx): Likewise.
9032 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
9033 (libc_feholdexcept_setround_387_ctx): Likewise.
9034 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
9035 (libc_feholdsetround_387_prec_ctx): Likewise.
9036 (libc_feholdsetround_387_ctx): Likewise.
9037 (libc_feholdsetround_387_53bit_ctx): Likewise.
9038 (libc_feholdsetround_sse_ctx): Likewise.
9039 (libc_feresetround_sse_ctx): Likewise.
9040 (libc_feresetround_387_ctx): Likewise.
9041 (libc_feupdateenv_387_ctx): Likewise.
9042 (libc_feholdexcept_setroundf_ctx): Define macro.
9043 (libc_fesetenvf_ctx): Likewise.
9044 (libc_feupdateenvf_ctx): Likewise.
9045 (libc_feholdsetroundf_ctx): Likewise.
9046 (libc_feresetroundf_ctx): Likewise.
9047 (libc_feholdexcept_setround_ctx): Likewise.
9048 (libc_fesetenv_ctx): Likewise.
9049 (libc_feupdateenv_ctx): Likewise.
9050 (libc_feholdsetround_ctx): Likewise.
9051 (libc_feresetround_ctx): Likewise.
9052 (libc_feholdexcept_setroundl_ctx): Likewise.
9053 (libc_feupdateenvl_ctx): Likewise.
9054 (libc_feholdsetroundl_ctx): Likewise.
9055 (libc_feresetroundl_ctx): Likewise.
9056 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
9057 (libc_feresetround_53bit_ctx): Likewise.
9058
9059 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9060
9061 * locale/iso-639.def: Convert to UTF-8.
9062
9063 2013-06-11 Joseph Myers <joseph@codesourcery.com>
9064
9065 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
9066 (EXCEPTION_TESTS_double): Likewise.
9067 (EXCEPTION_TESTS_long_double): Likewise.
9068 (EXCEPTION_TESTS): Likewise.
9069 * math/libm-test.inc (test_exceptions): Only test exceptions if
9070 EXCEPTION_TESTS (FLOAT).
9071
9072 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9073
9074 * benchtests/Makefile (string-bench): Add strcpy_chk and
9075 stpcpy_chk.
9076 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
9077 * benchtests/bench-stpcpy_chk.c: New file.
9078 * benchtests/bench-strcpy_chk-ifunc.c: New file.
9079 * benchtests/bench-strcpy_chk.c: New file.
9080 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
9081 code.
9082 (do_test): Likewise.
9083
9084 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9085
9086 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
9087 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
9088 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
9089 with tabs where appropriate.
9090 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
9091 dl-procinfo.h.
9092 [PPC_PLATFORM_PPC440]: Likewise.
9093 [PPC_PLATFORM_PPC464]: Likewise.
9094 [PPC_PLATFORM_PPC476]: Likewise.
9095 (_dl_string_platform): Add support for detecting ppc405, ppc440,
9096 ppc464, and ppc476 platform strings merging from ports/
9097 dl-procinfo.h.
9098
9099 2013-06-11 Andreas Schwab <schwab@suse.de>
9100
9101 [BZ #14991]
9102 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
9103 (from_ucs4_idx): Regenerate.
9104 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
9105 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
9106 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
9107 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
9108 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
9109 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
9110 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
9111 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
9112 from FROM_LOOP and TO_LOOP specific macros.
9113 (BODY): Handle combining characters.
9114 * iconvdata/BIG5HKSCS.irreversible: Update.
9115 * iconvdata/BIG5HKSCS.precomposed: New file.
9116 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
9117 characters.
9118 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
9119
9120 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9121
9122 * include/sys/time.h: Fix indentation and add copyright header.
9123
9124 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
9125 (do_test): Likewise.
9126 * string/test-memchr.c (do_one_test): Likewise.
9127 (do_test): Likewise.
9128 * string/test-memcmp.c (do_one_test): Likewise.
9129 (do_test): Likewise.
9130 * string/test-memcpy.c (do_one_test): Likewise.
9131 (do_test): Likewise.
9132 * string/test-memmem.c (do_one_test): Likewise.
9133 (do_test): Likewise.
9134 (do_random_tests): Likewise.
9135 * string/test-memmove.c (do_one_test): Likewise.
9136 (do_test): Likewise.
9137 * string/test-memset.c (do_one_test): Likewise.
9138 (do_test): Likewise.
9139 * string/test-rawmemchr.c (do_one_test): Likewise.
9140 (do_test): Likewise.
9141 * string/test-strcasecmp.c (do_one_test): Likewise.
9142 (do_test): Likewise.
9143 * string/test-strcasestr.c (do_one_test): Likewise.
9144 (do_test): Likewise.
9145 * string/test-strcat.c (do_one_test): Likewise.
9146 (do_test): Likewise.
9147 * string/test-strchr.c (do_one_test): Likewise.
9148 (do_test): Likewise.
9149 * string/test-strcmp.c (do_one_test): Likewise.
9150 (do_test): Likewise.
9151 * string/test-strcpy.c (do_one_test): Likewise.
9152 (do_test): Likewise.
9153 * string/test-string.h: Likewise.
9154 (test_init): Likewise.
9155 * string/test-strlen.c (do_one_test): Likewise.
9156 (do_test): Likewise.
9157 * string/test-strncasecmp.c (do_one_test): Likewise.
9158 (do_test): Likewise.
9159 * string/test-strncat.c (do_one_test): Likewise.
9160 (do_test): Likewise.
9161 * string/test-strncmp.c (do_one_test): Likewise.
9162 (do_test_limit): Likewise.
9163 (do_test): Likewise.
9164 * string/test-strncpy.c (do_one_test): Likewise.
9165 (do_test): Likewise.
9166 * string/test-strnlen.c (do_one_test): Likewise.
9167 (do_test): Likewise.
9168 * string/test-strpbrk.c (do_one_test): Likewise.
9169 (do_test): Likewise.
9170 * string/test-strrchr.c (do_one_test): Likewise.
9171 (do_test): Likewise.
9172 * string/test-strspn.c (do_one_test): Likewise.
9173 (do_test): Likewise.
9174 * string/test-strstr.c (do_one_test): Likewise.
9175 (do_test): Likewise.
9176
9177 * benchtests/Makefile (string-bench): Add string benchmarks.
9178 * benchtests/bench-bcopy-ifunc.c: New file.
9179 * benchtests/bench-bcopy.c: New file.
9180 * benchtests/bench-bzero-ifunc.c: New file.
9181 * benchtests/bench-bzero.c: New file.
9182 * benchtests/bench-memccpy-ifunc.c: New file.
9183 * benchtests/bench-memccpy.c: New file.
9184 * benchtests/bench-memchr-ifunc.c: New file.
9185 * benchtests/bench-memchr.c: New file.
9186 * benchtests/bench-memcmp-ifunc.c: New file.
9187 * benchtests/bench-memcmp.c: New file.
9188 * benchtests/bench-memmem-ifunc.c: New file.
9189 * benchtests/bench-memmem.c: New file.
9190 * benchtests/bench-memmove-ifunc.c: New file.
9191 * benchtests/bench-memmove.c: New file.
9192 * benchtests/bench-mempcpy-ifunc.c: New file.
9193 * benchtests/bench-mempcpy.c: New file.
9194 * benchtests/bench-memset-ifunc.c: New file.
9195 * benchtests/bench-memset.c: New file.
9196 * benchtests/bench-rawmemchr-ifunc.c: New file.
9197 * benchtests/bench-rawmemchr.c: New file.
9198 * benchtests/bench-stpcpy-ifunc.c: New file.
9199 * benchtests/bench-stpcpy.c: New file.
9200 * benchtests/bench-stpncpy-ifunc.c: New file.
9201 * benchtests/bench-stpncpy.c: New file.
9202 * benchtests/bench-strcasecmp-ifunc.c: New file.
9203 * benchtests/bench-strcasecmp.c: New file.
9204 * benchtests/bench-strcasestr-ifunc.c: New file.
9205 * benchtests/bench-strcasestr.c: New file.
9206 * benchtests/bench-strcat-ifunc.c: New file.
9207 * benchtests/bench-strcat.c: New file.
9208 * benchtests/bench-strchr-ifunc.c: New file.
9209 * benchtests/bench-strchr.c: New file.
9210 * benchtests/bench-strchrnul-ifunc.c: New file.
9211 * benchtests/bench-strchrnul.c: New file.
9212 * benchtests/bench-strcmp-ifunc.c: New file.
9213 * benchtests/bench-strcmp.c: New file.
9214 * benchtests/bench-strcpy-ifunc.c: New file.
9215 * benchtests/bench-strcpy.c: New file.
9216 * benchtests/bench-strcspn-ifunc.c: New file.
9217 * benchtests/bench-strcspn.c: New file.
9218 * benchtests/bench-strlen-ifunc.c: New file.
9219 * benchtests/bench-strlen.c: New file.
9220 * benchtests/bench-strncasecmp-ifunc.c: New file.
9221 * benchtests/bench-strncasecmp.c: New file.
9222 * benchtests/bench-strncat-ifunc.c: New file.
9223 * benchtests/bench-strncat.c: New file.
9224 * benchtests/bench-strncmp-ifunc.c: New file.
9225 * benchtests/bench-strncmp.c: New file.
9226 * benchtests/bench-strncpy-ifunc.c: New file.
9227 * benchtests/bench-strncpy.c: New file.
9228 * benchtests/bench-strnlen-ifunc.c: New file.
9229 * benchtests/bench-strnlen.c: New file.
9230 * benchtests/bench-strpbrk-ifunc.c: New file.
9231 * benchtests/bench-strpbrk.c: New file.
9232 * benchtests/bench-strrchr-ifunc.c: New file.
9233 * benchtests/bench-strrchr.c: New file.
9234 * benchtests/bench-strspn-ifunc.c: New file.
9235 * benchtests/bench-strspn.c: New file.
9236 * benchtests/bench-strstr-ifunc.c: New file.
9237 * benchtests/bench-strstr.c: New file.
9238
9239 * benchtests/Makefile: Disable parallel execution of targets.
9240 (string-bench): Add memcpy.
9241 (benchset): New variable to store a list of benchmark sets.
9242 (bench-func): Renamed from bench.
9243 (bench-set): New target.
9244 (bench): Depend on bench-func and bench-set.
9245 * benchtests/README: Add section on benchmark sets.
9246 * benchtests/bench-memcpy-ifunc.c: New file.
9247 * benchtests/bench-memcpy.c: New file.
9248 * benchtests/bench-string.h: New file.
9249
9250 2013-06-11 Andreas Schwab <schwab@suse.de>
9251
9252 [BZ #15577]
9253 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
9254 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
9255 values in the triple.
9256 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
9257 terminator in the group key.
9258
9259 2013-06-11 Andreas Jaeger <aj@suse.de>
9260
9261 * po/zh_TW.po: Update Chinese (traditional) translation from
9262 translation project.
9263
9264 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9265
9266 * include/time.h (__clock_gettime): Add libc_hidden_proto.
9267 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
9268 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
9269 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9270 (clock_getcpuclockid): Likewise.
9271 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
9272 Add weak_alias and libc_hidden_def.
9273 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
9274 * rt/clock_gettime.c (clock_gettime): Rename to
9275 __clock_gettime. Add weak_alias and libc_hidden_def.
9276 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
9277 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
9278 __clock_nanosleep. Add weak_alias and libc_hidden_def.
9279 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
9280 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
9281 Likewise.
9282 * rt/clock_settime.c (clock_settime): Rename to
9283 __clock_settime. Add weak_alias and libc_hidden_def.
9284 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
9285
9286 2013-06-10 Joseph Myers <joseph@codesourcery.com>
9287
9288 * mach/err_boot.sub: Remove trailing whitespace.
9289 * mach/err_ipc.sub: Likewise.
9290 * mach/err_mach.sub: Likewise.
9291
9292 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
9293 (ROUNDING_TESTS_double): Likewise.
9294 (ROUNDING_TESTS_long_double): Likewise.
9295 (ROUNDING_TESTS): Likewise.
9296 * math/libm-test.inc: Include <math-tests.h>.
9297 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
9298 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9299 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9300 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9301
9302 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9303
9304 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
9305 of assigning.
9306
9307 2013-06-08 Joseph Myers <joseph@codesourcery.com>
9308
9309 * sysdeps/gnu/errlist.awk: Do not generate space at end of
9310 otherwise empty TRANS lines.
9311 * sysdeps/gnu/errlist.c: Regenerated.
9312
9313 * catgets/gencat.c (error_print): Use (void) in function
9314 definition.
9315 * crypt/crypt_util.c (__init_des): Likewise.
9316 * crypt/speeds.c (Stop): Likewise.
9317 (main): Likewise.
9318 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
9319 * inet/ruserpass.c (token): Likewise.
9320 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
9321 * intl/localealias.c (extend_alias_table): Likewise.
9322 * intl/plural-exp.c (init_germanic_plural): Likewise.
9323 * libio/fcloseall.c (__fcloseall): Likewise.
9324 * libio/genops.c (_IO_flush_all): Likewise.
9325 (_IO_flush_all_linebuffered): Likewise.
9326 (_IO_cleanup): Likewise.
9327 (_IO_iter_begin): Likewise.
9328 (_IO_iter_end): Likewise.
9329 (_IO_list_lock): Likewise.
9330 (_IO_list_unlock): Likewise.
9331 (_IO_list_resetlock): Likewise.
9332 * libio/getchar.c (getchar): Likewise.
9333 * libio/getchar_u.c (getchar_unlocked): Likewise.
9334 * libio/getwchar.c (getwchar): Likewise.
9335 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
9336 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
9337 * login/getpt.c (__getpt): Likewise.
9338 * login/tst-utmp.c (main): Likewise.
9339 * malloc/hooks.c (__malloc_check_init): Likewise.
9340 * malloc/malloc.c (__malloc_stats): Likewise.
9341 * malloc/mtrace.c (tr_break): Likewise.
9342 (mtrace): Likewise.
9343 (muntrace): Likewise.
9344 * misc/fstab.c (endfsent): Likewise.
9345 * misc/getclktck.c (__getclktck): Likewise.
9346 * misc/getdtsz.c (__getdtablesize): Likewise.
9347 * misc/gethostid.c (gethostid): Likewise.
9348 * misc/getpagesize.c (__getpagesize): Likewise.
9349 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
9350 (__get_nprocs): Likewise.
9351 (__get_phys_pages): Likewise.
9352 (__get_avphys_pages): Likewise.
9353 * misc/getttyent.c (getttyent): Likewise.
9354 (setttyent): Likewise.
9355 (endttyent): Likewise.
9356 * misc/getusershell.c (getusershell): Likewise.
9357 (endusershell): Likewise.
9358 (setusershell): Likewise.
9359 (initshells): Likewise.
9360 * misc/hsearch.c (__hdestroy): Likewise.
9361 * misc/sync.c (sync): Likewise.
9362 * misc/syslog.c (closelog_internal): Likewise.
9363 (closelog): Likewise.
9364 * misc/ttyslot.c (ttyslot): Likewise.
9365 * misc/vhangup.c (vhangup): Likewise.
9366 * posix/fork.c (__fork): Likewise.
9367 * posix/getegid.c (__getegid): Likewise.
9368 * posix/geteuid.c (__geteuid): Likewise.
9369 * posix/getgid.c (__getgid): Likewise.
9370 * posix/getpid.c (__getpid): Likewise.
9371 * posix/getppid.c (__getppid): Likewise.
9372 * posix/getuid.c (__getuid): Likewise.
9373 * posix/pause.c (pause): Likewise.
9374 * posix/setpgrp.c (setpgrp): Likewise.
9375 * posix/setsid.c (__setsid): Likewise.
9376 * posix/test-vfork.c (noop): Likewise.
9377 * resolv/gethnamaddr.c (_endhtent): Likewise.
9378 (_gethtent): Likewise.
9379 (ht_endhostent): Likewise.
9380 (gethostent): Likewise.
9381 (dns_service): Likewise.
9382 * stdlib/drand48.c (drand48): Likewise.
9383 * stdlib/lrand48.c (lrand48): Likewise.
9384 * stdlib/mrand48.c (mrand48): Likewise.
9385 * stdlib/rand.c (rand): Likewise.
9386 * stdlib/random.c (__random): Likewise.
9387 * stdlib/setenv.c (clearenv): Likewise.
9388 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
9389 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
9390 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
9391 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
9392 (__get_nprocs): Likewise.
9393 (__get_phys_pages): Likewise.
9394 (__get_avphys_pages): Likewise.
9395 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
9396 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
9397 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
9398 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
9399 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
9400 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
9401 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
9402 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
9403 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
9404 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
9405 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
9406 * sysdeps/mach/hurd/sync.c (sync): Likewise.
9407 * sysdeps/posix/clock.c (clock): Likewise.
9408 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
9409 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
9410 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
9411 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
9412 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
9413 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
9414 (__get_nprocs_conf): Likewise.
9415 (__get_phys_pages): Likewise.
9416 (__get_avphys_pages): Likewise.
9417 * time/clock.c (clock): Likewise.
9418 * time/tzset.c (__tzname_max): Likewise.
9419
9420 2013-06-07 Joseph Myers <joseph@codesourcery.com>
9421
9422 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
9423 (__bswap_32): Do not use "register".
9424 * crypt/crypt.c (_ufc_doit_r): Likewise.
9425 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9426 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9427 * gmon/gmon.c (__monstartup): Likewise.
9428 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
9429 * hurd/hurdmalloc.c (more_memory): Likewise.
9430 (malloc): Likewise.
9431 (free): Likewise.
9432 (realloc): Likewise.
9433 (malloc_fork_prepare): Likewise.
9434 (malloc_fork_parent): Likewise.
9435 (malloc_fork_child): Likewise.
9436 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
9437 (_svcauth_des): Likewise.
9438 * inet/inet_lnaof.c (inet_lnaof): Likewise.
9439 * inet/inet_net.c (inet_network): Likewise.
9440 * inet/inet_netof.c (inet_netof): Likewise.
9441 * inet/rcmd.c (__validuser2_sa): Likewise.
9442 * io/fts.c (fts_open): Likewise.
9443 (fts_load): Likewise.
9444 (fts_close): Likewise.
9445 (fts_read): Likewise.
9446 (fts_children): Likewise.
9447 (fts_build): Likewise.
9448 (fts_stat): Likewise.
9449 (fts_sort): Likewise.
9450 (fts_alloc): Likewise.
9451 (fts_lfree): Likewise.
9452 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
9453 (_IO_file_xsgetn): Likewise.
9454 (_IO_file_xsgetn_mmap): Likewise.
9455 * libio/iofopncook.c (_IO_cookie_read): Likewise.
9456 (_IO_cookie_write): Likewise.
9457 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
9458 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
9459 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
9460 * malloc/obstack.c (_obstack_begin): Likewise.
9461 (_obstack_begin_1): Likewise.
9462 (_obstack_newchunk): Likewise.
9463 (_obstack_allocated_p): Likewise.
9464 (obstack_free): Likewise.
9465 (_obstack_memory_used): Likewise.
9466 * misc/getttyent.c (getttynam): Likewise.
9467 (getttyent): Likewise.
9468 (skip): Likewise.
9469 (value): Likewise.
9470 * misc/getusershell.c (initshells): Likewise.
9471 * misc/syslog.c (__vsyslog_chk): Likewise.
9472 * misc/ttyslot.c (ttyslot): Likewise.
9473 * nis/nis_hash.c (__nis_hash): Likewise.
9474 * posix/fnmatch_loop.c (FCT): Likewise.
9475 * posix/getconf.c (print_all): Likewise.
9476 (main): Likewise.
9477 * posix/getopt.c (exchange): Likewise.
9478 * posix/glob.c (globfree): Likewise.
9479 (prefix_array): Likewise.
9480 (__glob_pattern_type): Likewise.
9481 * resolv/arpa/nameser.h (NS_GET16): Likewise.
9482 (NS_GET32): Likewise.
9483 (NS_PUT16): Likewise.
9484 (NS_PUT32): Likewise.
9485 * resolv/gethnamaddr.c (getanswer): Likewise.
9486 (gethostbyname2): Likewise.
9487 (gethostbyaddr): Likewise.
9488 (_gethtent): Likewise.
9489 (_gethtbyname2): Likewise.
9490 (_gethtbyaddr): Likewise.
9491 * resolv/ns_print.c (dst_s_get_int16): Likewise.
9492 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
9493 * resolv/res_init.c (__res_vinit): Likewise.
9494 (net_mask): Likewise.
9495 * resolv/res_mkquery.c (outchar): Likewise.
9496 (PRINT): Likewise.
9497 * stdio-common/printf_fp.c (outchar): Likewise.
9498 (PRINT): Likewise.
9499 * stdio-common/printf_fphex.c (outchar): Likewise.
9500 (PRINT): Likewise.
9501 * stdio-common/printf_size.c (outchar): Likewise.
9502 (PRINT): Likewise.
9503 * stdio-common/test_rdwr.c (main): Likewise.
9504 * stdio-common/tfformat.c (matches): Likewise.
9505 * stdio-common/vfprintf.c (outchar): Likewise.
9506 (printf_unknown): Likewise.
9507 (buffered_vfprintf): Likewise.
9508 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9509 * stdio-common/xbug.c (AppendToBuffer): Likewise.
9510 (ReadFile): Likewise.
9511 * stdlib/qsort.c (SWAP): Likewise.
9512 (_quicksort): Likewise.
9513 * stdlib/setenv.c (__add_to_environ): Likewise.
9514 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9515 * stdlib/strtol_l.c (__strtol_l): Likewise.
9516 * stdlib/tst-strtod.c (main): Likewise.
9517 * stdlib/tst-strtol.c (main): Likewise.
9518 * stdlib/tst-strtoll.c (main): Likewise.
9519 * string/bits/string2.h (__strcmp_cc): Likewise.
9520 (__strcmp_cg): Likewise.
9521 (__strcspn_c1): Likewise.
9522 (__strcspn_c2): Likewise.
9523 (__strcspn_c3): Likewise.
9524 (__strspn_c1): Likewise.
9525 (__strspn_c2): Likewise.
9526 (__strspn_c3): Likewise.
9527 (__strsep_1c): Likewise.
9528 (__strsep_2c): Likewise.
9529 (__strsep_3c): Likewise.
9530 * string/memccpy.c (__memccpy): Likewise.
9531 * string/stpcpy.c (__stpcpy): Likewise.
9532 * string/strcmp.c (strcmp): Likewise.
9533 * string/strrchr.c (strrchr): Likewise.
9534 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
9535 Likewise.
9536 * sysdeps/mach/hurd/getcwd.c
9537 (_hurd_canonicalize_directory_name_internal): Likewise.
9538 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
9539 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
9540 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
9541 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
9542 Likewise, in both definitions.
9543 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
9544 definitions.
9545 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
9546 64] (__bswap_64): Likewise.
9547 * time/test_time.c (main): Likewise.
9548 * time/tzfile.c (__tzfile_read): Likewise.
9549 (__tzfile_compute): Likewise.
9550 * time/tzset.c (__tzset_parse_tz): Likewise.
9551 (tzset_internal): Likewise.
9552 (compute_change): Likewise.
9553 * wcsmbs/wcscat.c (__wcscat): Likewise.
9554 * wcsmbs/wcschr.c (wcschr): Likewise.
9555 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
9556 * wcsmbs/wcscspn.c (wcscspn): Likewise.
9557 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
9558 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
9559 * wcsmbs/wcsspn.c (wcsspn): Likewise.
9560 * wcsmbs/wcsstr.c (wcsstr): Likewise.
9561 * wcsmbs/wmemchr.c (wmemchr): Likewise.
9562 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9563 * wcsmbs/wmemset.c (wmemset): Likewise.
9564
9565 2013-06-06 Joseph Myers <joseph@codesourcery.com>
9566
9567 * scripts/config.guess: Update to version 2013-05-16.
9568 * scripts/config.sub: Update to version 2013-04-24.
9569 * scripts/install-sh: Update to version 2011-11-20.07.
9570 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
9571 * scripts/move-if-change: Update to version 2012-01-06 07:23.
9572
9573 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
9574
9575 * debug/fgetws_u_chk.c: Fix leading whitespaces.
9576 * elf/sln.c: Likewise.
9577 * hurd/hurd/ioctl.h: Likewise.
9578 * hurd/hurdmalloc.c: Likewise.
9579 * hurd/xattr.c: Likewise.
9580 * include/shlib-compat.h: Likewise.
9581 * inet/ruserpass.c: Likewise.
9582 * libio/iofgets_u.c: Likewise.
9583 * libio/iofgetws_u.c: Likewise.
9584 * locale/programs/ld-identification.c: Likewise.
9585 * locale/programs/ld-time.c: Likewise.
9586 * mach/msg-destroy.c: Likewise.
9587 * nss/nss_files/files-netgrp.c: Likewise.
9588 * resolv/res_data.c: Likewise.
9589 * soft-fp/op-1.h: Likewise.
9590 * soft-fp/op-2.h: Likewise.
9591 * soft-fp/op-4.h: Likewise.
9592 * soft-fp/op-common.h: Likewise.
9593 * stdio-common/printf_fphex.c: Likewise.
9594 * stdlib/strtod_l.c: Likewise.
9595 * sunrpc/rpc/clnt.h: Likewise.
9596 * sysdeps/generic/framestate.c: Likewise.
9597 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9598 * sysdeps/i386/bsd-setjmp.S: Likewise.
9599 * sysdeps/i386/__longjmp.S: Likewise.
9600 * sysdeps/i386/setjmp.S: Likewise.
9601 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9602 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9603 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9604 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9605 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9606 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9607 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9608 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9609 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9610 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9611 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9612 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9613 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9614 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9615 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9616 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9617 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9618 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
9619 * sysdeps/ieee754/support.c: Likewise.
9620 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9621 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
9622 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
9623 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
9624 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
9625 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
9626 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
9627 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
9628 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
9629 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
9630 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
9631 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
9632 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
9633 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
9634 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
9635 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
9636 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9638
9639 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
9640
9641 * posix/transbug.c: Remove executable mode.
9642
9643 2013-06-05 Joseph Myers <joseph@codesourcery.com>
9644
9645 * crypt/speeds.c: Remove trailing whitespace.
9646 * dlfcn/default.c: Likewise.
9647 * elf/ifuncdep2.c: Likewise.
9648 * elf/ifuncmain1.c: Likewise.
9649 * elf/ifuncmain1vis.c: Likewise.
9650 * elf/testobj.h: Likewise.
9651 * elf/tst-stackguard1.c: Likewise.
9652 * gmon/sys/gmon.h: Likewise.
9653 * hurd/hurdmsg.c: Likewise.
9654 * hurd/new-fd.c: Likewise.
9655 * hurd/ports-get.c: Likewise.
9656 * iconvdata/ibm1008_420.c: Likewise.
9657 * inet/tst-getni1.c: Likewise.
9658 * inet/tst-getni2.c: Likewise.
9659 * libio/ioungetc.c: Likewise.
9660 * libio/wfiledoalloc.c: Likewise.
9661 * manual/libm-err-tab.pl: Likewise.
9662 * math/w_dremf.c: Likewise.
9663 * misc/ftruncate.c: Likewise.
9664 * posix/bug-glob2.c: Likewise.
9665 * posix/tst-pcre.c: Likewise.
9666 * posix/wait4.c: Likewise.
9667 * resolv/README: Likewise.
9668 * resolv/res_debug.h: Likewise.
9669 * resolv/tst-inet_ntop.c: Likewise.
9670 * setjmp/bug269-setjmp.c: Likewise.
9671 * soft-fp/extended.h: Likewise.
9672 * soft-fp/op-1.h: Likewise.
9673 * soft-fp/op-2.h: Likewise.
9674 * soft-fp/op-4.h: Likewise.
9675 * soft-fp/op-8.h: Likewise.
9676 * soft-fp/testit.c: Likewise.
9677 * stdio-common/bug16.c: Likewise.
9678 * stdlib/random.c: Likewise.
9679 * sunrpc/rpcsvc/rquota.x: Likewise.
9680 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
9681 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9682 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9683 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9684 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9685 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9686 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9687 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9688 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9689 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9690 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9691 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9692 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9693 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9694 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9695 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9696 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9697 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9698 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9699 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9700 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9701 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9702 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9703 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9704 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9705 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9706 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9707 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9708 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9709 * sysdeps/ieee754/s_lib_version.c: Likewise.
9710 * sysdeps/mach/hurd/check_fds.c: Likewise.
9711 * sysdeps/mach/hurd/getsockname.c: Likewise.
9712 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
9713 * sysdeps/mach/hurd/recvfrom.c: Likewise.
9714 * sysdeps/powerpc/bits/link.h: Likewise.
9715 * sysdeps/powerpc/dl-procinfo.c: Likewise.
9716 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
9717 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
9718 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
9719 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9720 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9721 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
9722 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9723 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
9724 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9725 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9726 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9727 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
9728 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9729 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9730 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9731 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9732 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9733 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9734 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9735 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9736 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
9737 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9738 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9739 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
9740 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9741 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9742 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9743 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9744 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9745 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9746 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9747 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9748 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9749 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
9750 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9751 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
9752 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9753 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9754 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
9755 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
9756 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
9757 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
9758 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
9759 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9760 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
9761 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
9762 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9763 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
9764 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
9765 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9766 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9767 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9768 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9769 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
9770 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9771 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9772 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9773 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
9774 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9775 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
9776 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
9777 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
9778 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9779 * sysdeps/powerpc/sysdep.h: Likewise.
9780 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9781 * sysdeps/s390/s390-64/sub_n.S: Likewise.
9782 * sysdeps/sh/dl-trampoline.S: Likewise.
9783 * sysdeps/sh/memset.S: Likewise.
9784 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
9785 * sysdeps/sh/strlen.S: Likewise.
9786 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
9787 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
9788 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
9789 * sysdeps/sparc/sparc32/rem.S: Likewise.
9790 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
9791 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
9792 * sysdeps/sparc/sparc32/strchr.S: Likewise.
9793 * sysdeps/sparc/sparc32/udiv.S: Likewise.
9794 * sysdeps/sparc/sparc32/urem.S: Likewise.
9795 * sysdeps/sparc/sparc64/add_n.S: Likewise.
9796 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9797 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
9798 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
9799 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
9800 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
9801 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
9802 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
9803 * sysdeps/unix/bsd/times.c: Likewise.
9804 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
9805 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
9806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9809 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9810 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9811 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
9812 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
9813 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
9814 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
9815 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9816 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
9817 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9818 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9819 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
9820 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9821 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
9822 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
9823 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
9824 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
9825 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
9826 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9827 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
9828 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
9829 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9830 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
9831 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9832 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
9833 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
9834 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
9835 * sysdeps/x86_64/strcspn.S: Likewise.
9836
9837 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9838
9839 * locale/C-translit.h: Revert #include <stdint.h> because this is a
9840 generated file. Regenerate properly from gen-translit.pl.
9841 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
9842 locale/C-translit.h.
9843
9844 2013-06-05 Andreas Schwab <schwab@suse.de>
9845
9846 [BZ #15100]
9847 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
9848 week as 6 instead of -1.
9849 * time/tst-strptime.c (day_tests): Add test case.
9850
9851 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9852
9853 * sysdeps/generic/math_private.h
9854 (libc_feholdexcept_setround_53bit): Replace with
9855 libc_feholdsetround_53bit.
9856 (libc_feupdateenv_53bit): Replace with
9857 libc_feresetround_53bit.
9858 (SET_RESTORE_ROUND_53BIT): Adjust.
9859
9860 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9861
9862 * string/test-strchrnul.c: Add copyright header.
9863
9864 * posix/tst-getaddrinfo4.c: Increase test timeout.
9865
9866 2013-06-03 Carlos O'Donell <carlos@redhat.com>
9867
9868 [BZ #15536]
9869 * math/libm-test.inc (MAX_EXP): Remove
9870 (MIN_EXP): Define.
9871 (ulp): Use MIN_EXP - MANT_DIG.
9872 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
9873
9874 2013-05-31 Carlos O'Donell <carlos@redhat.com>
9875
9876 * po/be.po: Revert last change.
9877 * po/zh_CN.po: Likewise.
9878 * po/header.pot: Likewise.
9879
9880 2013-05-31 Joseph Myers <joseph@codesourcery.com>
9881
9882 * Makefile ($(common-objpfx)linkobj/libc.so): Define
9883 link-libc-deps to empty as target-specific variable.
9884 * Makerules (link-libc-args): New variable.
9885 (libc-for-link): Likewise.
9886 (link-libc-deps): Likewise.
9887 (lib%.so): Depend on $(link-libc-deps). Link with
9888 $(link-libc-args).
9889 (build-module): Link with $(link-libc-args).
9890 (build-module-asneeded): Likewise.
9891 (build-module-helper-objlist): Filter out $(link-libc-deps) from
9892 list of objects.
9893 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
9894 target-specific variable.
9895 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
9896 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
9897 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
9898 libc.
9899 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
9900 libc and ld.so.
9901 ($(objpfx)libpcprofile.so): Likewise.
9902 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
9903 libc_nonshared.a.
9904 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
9905 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
9906 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
9907 $(link-libc-deps).
9908 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
9909 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
9910 * login/Makefile ($(objpfx)libutil.so): Likewise.
9911 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
9912 * math/Makefile ($(objpfx)libm.so): Likewise.
9913 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
9914 $(objpfx)libnsl.so): Define libc-for-link as target-specific
9915 variable instead of depending directly on libc.
9916 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
9917 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
9918 $(link-libc-deps).
9919 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
9920 libc.
9921 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
9922 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
9923 ($(objpfx)libanl.so): Likewise.
9924 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
9925 ld.so.
9926 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
9927 $(link-libc-deps).
9928 * sysdeps/i386/fpu/Makefile: Remove file.
9929 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
9930 ($(objpfx)libm.so): Remove dependency on ld.so.
9931
9932 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
9933
9934 [BZ # 15553]
9935 * nis/yp_xdr.c (XDRMAXNAME): Define.
9936 (XDRMAXRECORD): Define.
9937 (xdr_domainname): Use XDRMAXNAME.
9938 (xdr_mapname): Likewise.
9939 (xdr_peername): Likewise.
9940 (xdr_keydat): Use XDRMAXRECORD.
9941 (xdr_valdat): Likewise.
9942
9943 2013-05-30 Jeff Law <law@redhat.com>
9944
9945 [BZ #14256]
9946 * manual/errno.texi (ESTALE): Update to account for more than
9947 just NFS file systems.
9948 * sysdeps/gnu/errlist.c: Regenerated.
9949
9950 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9951
9952 [BZ #15465]
9953 * elf/Makefile (tests): Add tst-null-argv.
9954 (modules-names): Add tst-null-argv-lib.
9955 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
9956 (tst-null-argv-ENV): Set environment for tst-null-argv.
9957 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
9958 (RTLD_PROGNAME): New macro.
9959 * elf/tst-null-argv.c: New test case.
9960 * elf/tst-null-argv-lib.c: Library for test case.
9961 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
9962 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
9963 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
9964 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
9965 * elf/dl-init.c (call_init): Likewise.
9966 (_dl_init): Likewise.
9967 * elf/dl-load.c (print_search_path): Likewise.
9968 (_dl_map_object): Likewise.
9969 * elf/dl-lookup.c (do_lookup_x): Likewise.
9970 (add_dependency): Likewise.
9971 (_dl_lookup_symbol_x): Likewise.
9972 (_dl_debug_bindings): Likewise.
9973 * elf/dl-open.c (_dl_show_scope): Likewise.
9974 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9975 * elf/dl-version.c (match_symbol): Likewise.
9976 (_dl_check_map_versions): Likewise.
9977 * elf/rtld.c (dl_main): Likewise.
9978 (print_unresolved): Use RTLD_PROGNAME.
9979 (print_missing_version): Likewise.
9980 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
9981 (elf_machine_rela): Likewise.
9982 * sysdeps/powerpc/powerpc32/dl-machine.c
9983 (__process_machine_rela): Likewise.
9984 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9985 Likewise.
9986 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9987 Likewise.
9988 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9989 Likewise.
9990 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9991 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
9992 Likewise.
9993 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
9994 Likewise.
9995 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9996
9997 2013-05-28 Carlos O'Donell <carlos@redhat.com>
9998
9999 * po/be.po: Add descriptive title.
10000 * po/zh_CN.po: Likewise.
10001 * po/header.pot: Likewise.
10002
10003 2013-05-28 Mike Frysinger <vapier@gentoo.org>
10004
10005 * locale/programs/locarchive.c (create_archive): Inlucde fname in
10006 error message.
10007 (enlarge_archive): Likewise.
10008
10009 2013-05-28 Ben North <ben@redfrontdoor.org>
10010
10011 * manual/arith.texi (frexp): It is the magnitude of the return
10012 value which lies in [0.5, 1), not the return value itself.
10013
10014 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10015
10016 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10017
10018 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
10019
10020 * stdio-common/bug26.c (main): Correct fscanf template.
10021
10022 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
10023 declare _dl_skip_args.
10024
10025 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
10026 Don't declare.
10027
10028 * manual/platform.texi: Add missing @end deftypefun.
10029
10030 2013-05-24 Joseph Myers <joseph@codesourcery.com>
10031
10032 [BZ #15529]
10033 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
10034 bit of mantissa of 2^16382.
10035 * math/libm-test.inc (hypot_test_data): Add more tests.
10036
10037 * math/libm-test.inc: Add drem and pow10 to list of tested
10038 functions.
10039 (pow10_test): New function.
10040 (drem_test): Likewise.
10041 (drem_test_tonearest): Likewise.
10042 (drem_test_towardzero): Likewise.
10043 (drem_test_downward): Likewise.
10044 (drem_test_upward): Likewise.
10045 (main): Call the new functions.
10046
10047 * math/libm-test.inc (finite_test_data): Remove.
10048 (finite_test): Run tests from isfinite_test_data.
10049 (gamma_test_data): Remove.
10050 (gamma_test): Run tests from lgamma_test_data.
10051 * sysdeps/i386/fpu/libm-test-ulps: Update.
10052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10053
10054 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10055
10056 * manual/platform.texi: Add PowerPC PPR function set documentation.
10057 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
10058 implementation.
10059
10060 2013-05-24 Carlos O'Donell <carlos@redhat.com>
10061
10062 * math/libm-test.inc (MAX_EXP): Define.
10063 (ULPDIFF): Define.
10064 (ulp): New function.
10065 (check_float_internal): Use ULPDIFF.
10066 (cpow_test): Disable failing test.
10067 (check_ulp): Test ulp() implemetnation.
10068 (main): Call check_ulp before starting tests.
10069
10070 2013-05-24 Joseph Myers <joseph@codesourcery.com>
10071
10072 * math/gen-libm-test.pl (generate_testfile): Do not handle
10073 START_DATA and END_DATA.
10074 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
10075 END_DATA.
10076 (acos_tonearest_test_data): Likewise.
10077 (acos_towardzero_test_data): Likewise.
10078 (acos_downward_test_data): Likewise.
10079 (acos_upward_test_data): Likewise.
10080 (acosh_test_data): Likewise.
10081 (asin_test_data): Likewise.
10082 (asin_tonearest_test_data): Likewise.
10083 (asin_towardzero_test_data): Likewise.
10084 (asin_downward_test_data): Likewise.
10085 (asin_upward_test_data): Likewise.
10086 (asinh_test_data): Likewise.
10087 (atan_test_data): Likewise.
10088 (atanh_test_data): Likewise.
10089 (atan2_test_data): Likewise.
10090 (cabs_test_data): Likewise.
10091 (cacos_test_data): Likewise.
10092 (cacosh_test_data): Likewise.
10093 (carg_test_data): Likewise.
10094 (casin_test_data): Likewise.
10095 (casinh_test_data): Likewise.
10096 (catan_test_data): Likewise.
10097 (catanh_test_data): Likewise.
10098 (cbrt_test_data): Likewise.
10099 (ccos_test_data): Likewise.
10100 (ccosh_test_data): Likewise.
10101 (ceil_test_data): Likewise.
10102 (cexp_test_data): Likewise.
10103 (cimag_test_data): Likewise.
10104 (clog_test_data): Likewise.
10105 (clog10_test_data): Likewise.
10106 (conj_test_data): Likewise.
10107 (copysign_test_data): Likewise.
10108 (cos_test_data): Likewise.
10109 (cos_tonearest_test_data): Likewise.
10110 (cos_towardzero_test_data): Likewise.
10111 (cos_downward_test_data): Likewise.
10112 (cos_upward_test_data): Likewise.
10113 (cosh_test_data): Likewise.
10114 (cosh_tonearest_test_data): Likewise.
10115 (cosh_towardzero_test_data): Likewise.
10116 (cosh_downward_test_data): Likewise.
10117 (cosh_upward_test_data): Likewise.
10118 (cpow_test_data): Likewise.
10119 (cproj_test_data): Likewise.
10120 (creal_test_data): Likewise.
10121 (csin_test_data): Likewise.
10122 (csinh_test_data): Likewise.
10123 (csqrt_test_data): Likewise.
10124 (ctan_test_data): Likewise.
10125 (ctan_tonearest_test_data): Likewise.
10126 (ctan_towardzero_test_data): Likewise.
10127 (ctan_downward_test_data): Likewise.
10128 (ctan_upward_test_data): Likewise.
10129 (ctanh_test_data): Likewise.
10130 (ctanh_tonearest_test_data): Likewise.
10131 (ctanh_towardzero_test_data): Likewise.
10132 (ctanh_downward_test_data): Likewise.
10133 (ctanh_upward_test_data): Likewise.
10134 (erf_test_data): Likewise.
10135 (erfc_test_data): Likewise.
10136 (exp_test_data): Likewise.
10137 (exp_tonearest_test_data): Likewise.
10138 (exp_towardzero_test_data): Likewise.
10139 (exp_downward_test_data): Likewise.
10140 (exp_upward_test_data): Likewise.
10141 (exp10_test_data): Likewise.
10142 (exp2_test_data): Likewise.
10143 (expm1_test_data): Likewise.
10144 (fabs_test_data): Likewise.
10145 (fdim_test_data): Likewise.
10146 (finite_test_data): Likewise.
10147 (floor_test_data): Likewise.
10148 (fma_test_data): Likewise.
10149 (fma_towardzero_test_data): Likewise.
10150 (fma_downward_test_data): Likewise.
10151 (fma_upward_test_data): Likewise.
10152 (fmax_test_data): Likewise.
10153 (fmin_test_data): Likewise.
10154 (fmod_test_data): Likewise.
10155 (fpclassify_test_data): Likewise.
10156 (frexp_test_data): Likewise.
10157 (gamma_test_data): Likewise.
10158 (hypot_test_data): Likewise.
10159 (ilogb_test_data): Likewise.
10160 (isfinite_test_data): Likewise.
10161 (isgreater_test_data): Likewise.
10162 (isgreaterequal_test_data): Likewise.
10163 (isinf_test_data): Likewise.
10164 (isless_test_data): Likewise.
10165 (islessequal_test_data): Likewise.
10166 (islessgreater_test_data): Likewise.
10167 (isnan_test_data): Likewise.
10168 (isnormal_test_data): Likewise.
10169 (issignaling_test_data): Likewise.
10170 (isunordered_test_data): Likewise.
10171 (j0_test_data): Likewise.
10172 (j1_test_data): Likewise.
10173 (jn_test_data): Likewise.
10174 (ldexp_test_data): Likewise.
10175 (lgamma_test_data): Likewise.
10176 (lrint_test_data): Likewise.
10177 (lrint_tonearest_test_data): Likewise.
10178 (lrint_towardzero_test_data): Likewise.
10179 (lrint_downward_test_data): Likewise.
10180 (lrint_upward_test_data): Likewise.
10181 (llrint_test_data): Likewise.
10182 (llrint_tonearest_test_data): Likewise.
10183 (llrint_towardzero_test_data): Likewise.
10184 (llrint_downward_test_data): Likewise.
10185 (llrint_upward_test_data): Likewise.
10186 (log_test_data): Likewise.
10187 (log10_test_data): Likewise.
10188 (log1p_test_data): Likewise.
10189 (log2_test_data): Likewise.
10190 (logb_test_data): Likewise.
10191 (logb_downward_test_data): Likewise.
10192 (lround_test_data): Likewise.
10193 (llround_test_data): Likewise.
10194 (modf_test_data): Likewise.
10195 (nearbyint_test_data): Likewise.
10196 (nextafter_test_data): Likewise.
10197 (nexttoward_test_data): Likewise.
10198 (pow_test_data): Likewise.
10199 (pow_tonearest_test_data): Likewise.
10200 (pow_towardzero_test_data): Likewise.
10201 (pow_downward_test_data): Likewise.
10202 (pow_upward_test_data): Likewise.
10203 (remainder_test_data): Likewise.
10204 (remainder_tonearest_test_data): Likewise.
10205 (remainder_towardzero_test_data): Likewise.
10206 (remainder_downward_test_data): Likewise.
10207 (remainder_upward_test_data): Likewise.
10208 (remquo_test_data): Likewise.
10209 (rint_test_data): Likewise.
10210 (rint_tonearest_test_data): Likewise.
10211 (rint_towardzero_test_data): Likewise.
10212 (rint_downward_test_data): Likewise.
10213 (rint_upward_test_data): Likewise.
10214 (round_test_data): Likewise.
10215 (scalb_test_data): Likewise.
10216 (scalbn_test_data): Likewise.
10217 (scalbln_test_data): Likewise.
10218 (signbit_test_data): Likewise.
10219 (sin_test_data): Likewise.
10220 (sin_tonearest_test_data): Likewise.
10221 (sin_towardzero_test_data): Likewise.
10222 (sin_downward_test_data): Likewise.
10223 (sin_upward_test_data): Likewise.
10224 (sincos_test_data): Likewise.
10225 (sinh_test_data): Likewise.
10226 (sinh_tonearest_test_data): Likewise.
10227 (sinh_towardzero_test_data): Likewise.
10228 (sinh_downward_test_data): Likewise.
10229 (sinh_upward_test_data): Likewise.
10230 (sqrt_test_data): Likewise.
10231 (tan_test_data): Likewise.
10232 (tan_tonearest_test_data): Likewise.
10233 (tan_towardzero_test_data): Likewise.
10234 (tan_downward_test_data): Likewise.
10235 (tan_upward_test_data): Likewise.
10236 (tanh_test_data): Likewise.
10237 (tgamma_test_data): Likewise.
10238 (trunc_test_data): Likewise.
10239 (y0_test_data): Likewise.
10240 (y1_test_data): Likewise.
10241 (yn_test_data): Likewise.
10242 (significand_test_data): Likewise.
10243
10244 * math/gen-libm-test.pl (@functions): Remove variable.
10245 (generate_testfile): Don't handle START and END lines.
10246 * math/libm-test.inc (START): New macro.
10247 (END): Likewise.
10248 (END_COMPLEX): Likewise.
10249 (acos_test): Use END macro without arguments.
10250 (acos_test_tonearest): Likewise.
10251 (acos_test_towardzero): Likewise.
10252 (acos_test_downward): Likewise.
10253 (acos_test_upward): Likewise.
10254 (acosh_test): Likewise.
10255 (asin_test): Likewise.
10256 (asin_test_tonearest): Likewise.
10257 (asin_test_towardzero): Likewise.
10258 (asin_test_downward): Likewise.
10259 (asin_test_upward): Likewise.
10260 (asinh_test): Likewise.
10261 (atan_test): Likewise.
10262 (atanh_test): Likewise.
10263 (atan2_test): Likewise.
10264 (cabs_test): Likewise.
10265 (cacos_test): Use END_COMPLEX macro without arguments.
10266 (cacosh_test): Likewise.
10267 (carg_test): Use END macro without arguments.
10268 (casin_test): Use END_COMPLEX macro without arguments.
10269 (casinh_test): Likewise.
10270 (catan_test): Likewise.
10271 (catanh_test): Likewise.
10272 (cbrt_test): Use END macro without arguments.
10273 (ccos_test): Use END_COMPLEX macro without arguments.
10274 (ccosh_test): Likewise.
10275 (ceil_test): Use END macro without arguments.
10276 (cexp_test): Use END_COMPLEX macro without arguments.
10277 (cimag_test): Use END macro without arguments.
10278 (clog_test): Use END_COMPLEX macro without arguments.
10279 (clog10_test): Likewise.
10280 (conj_test): Likewise.
10281 (copysign_test): Use END macro without arguments.
10282 (cos_test): Likewise.
10283 (cos_test_tonearest): Likewise.
10284 (cos_test_towardzero): Likewise.
10285 (cos_test_downward): Likewise.
10286 (cos_test_upward): Likewise.
10287 (cosh_test): Likewise.
10288 (cosh_test_tonearest): Likewise.
10289 (cosh_test_towardzero): Likewise.
10290 (cosh_test_downward): Likewise.
10291 (cosh_test_upward): Likewise.
10292 (cpow_test): Use END_COMPLEX macro without arguments.
10293 (cproj_test): Likewise.
10294 (creal_test): Use END macro without arguments.
10295 (csin_test): Use END_COMPLEX macro without arguments.
10296 (csinh_test): Likewise.
10297 (csqrt_test): Likewise.
10298 (ctan_test): Likewise.
10299 (ctan_test_tonearest): Likewise.
10300 (ctan_test_towardzero): Likewise.
10301 (ctan_test_downward): Likewise.
10302 (ctan_test_upward): Likewise.
10303 (ctanh_test): Likewise.
10304 (ctanh_test_tonearest): Likewise.
10305 (ctanh_test_towardzero): Likewise.
10306 (ctanh_test_downward): Likewise.
10307 (ctanh_test_upward): Likewise.
10308 (erf_test): Use END macro without arguments.
10309 (erfc_test): Likewise.
10310 (exp_test): Likewise.
10311 (exp_test_tonearest): Likewise.
10312 (exp_test_towardzero): Likewise.
10313 (exp_test_downward): Likewise.
10314 (exp_test_upward): Likewise.
10315 (exp10_test): Likewise.
10316 (exp2_test): Likewise.
10317 (expm1_test): Likewise.
10318 (fabs_test): Likewise.
10319 (fdim_test): Likewise.
10320 (finite_test): Likewise.
10321 (floor_test): Likewise.
10322 (fma_test): Likewise.
10323 (fma_test_towardzero): Likewise.
10324 (fma_test_downward): Likewise.
10325 (fma_test_upward): Likewise.
10326 (fmax_test): Likewise.
10327 (fmin_test): Likewise.
10328 (fmod_test): Likewise.
10329 (fpclassify_test): Likewise.
10330 (frexp_test): Likewise.
10331 (gamma_test): Likewise.
10332 (hypot_test): Likewise.
10333 (ilogb_test): Likewise.
10334 (isfinite_test): Likewise.
10335 (isgreater_test): Likewise.
10336 (isgreaterequal_test): Likewise.
10337 (isinf_test): Likewise.
10338 (isless_test): Likewise.
10339 (islessequal_test): Likewise.
10340 (islessgreater_test): Likewise.
10341 (isnan_test): Likewise.
10342 (isnormal_test): Likewise.
10343 (issignaling_test): Likewise.
10344 (isunordered_test): Likewise.
10345 (j0_test): Likewise.
10346 (j1_test): Likewise.
10347 (jn_test): Likewise.
10348 (ldexp_test): Likewise.
10349 (lgamma_test): Likewise.
10350 (lrint_test): Likewise.
10351 (lrint_test_tonearest): Likewise.
10352 (lrint_test_towardzero): Likewise.
10353 (lrint_test_downward): Likewise.
10354 (lrint_test_upward): Likewise.
10355 (llrint_test): Likewise.
10356 (llrint_test_tonearest): Likewise.
10357 (llrint_test_towardzero): Likewise.
10358 (llrint_test_downward): Likewise.
10359 (llrint_test_upward): Likewise.
10360 (log_test): Likewise.
10361 (log10_test): Likewise.
10362 (log1p_test): Likewise.
10363 (log2_test): Likewise.
10364 (logb_test): Likewise.
10365 (logb_test_downward): Likewise.
10366 (lround_test): Likewise.
10367 (llround_test): Likewise.
10368 (modf_test): Likewise.
10369 (nearbyint_test): Likewise.
10370 (nextafter_test): Likewise.
10371 (nexttoward_test): Likewise.
10372 (pow_test): Likewise.
10373 (pow_test_tonearest): Likewise.
10374 (pow_test_towardzero): Likewise.
10375 (pow_test_downward): Likewise.
10376 (pow_test_upward): Likewise.
10377 (remainder_test): Likewise.
10378 (remainder_test_tonearest): Likewise.
10379 (remainder_test_towardzero): Likewise.
10380 (remainder_test_downward): Likewise.
10381 (remainder_test_upward): Likewise.
10382 (remquo_test): Likewise.
10383 (rint_test): Likewise.
10384 (rint_test_tonearest): Likewise.
10385 (rint_test_towardzero): Likewise.
10386 (rint_test_downward): Likewise.
10387 (rint_test_upward): Likewise.
10388 (round_test): Likewise.
10389 (scalb_test): Likewise.
10390 (scalbn_test): Likewise.
10391 (scalbln_test): Likewise.
10392 (signbit_test): Likewise.
10393 (sin_test): Likewise.
10394 (sin_test_tonearest): Likewise.
10395 (sin_test_towardzero): Likewise.
10396 (sin_test_downward): Likewise.
10397 (sin_test_upward): Likewise.
10398 (sincos_test): Likewise.
10399 (sinh_test): Likewise.
10400 (sinh_test_tonearest): Likewise.
10401 (sinh_test_towardzero): Likewise.
10402 (sinh_test_downward): Likewise.
10403 (sinh_test_upward): Likewise.
10404 (sqrt_test): Likewise.
10405 (tan_test): Likewise.
10406 (tan_test_tonearest): Likewise.
10407 (tan_test_towardzero): Likewise.
10408 (tan_test_downward): Likewise.
10409 (tan_test_upward): Likewise.
10410 (tanh_test): Likewise.
10411 (tgamma_test): Likewise.
10412 (trunc_test): Likewise.
10413 (y0_test): Likewise.
10414 (y1_test): Likewise.
10415 (yn_test): Likewise.
10416 (significand_test): Likewise.
10417
10418 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
10419
10420 [BZ #15381]
10421 * libio/genops.c (_IO_no_init): Initialize wide struct info.
10422
10423 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
10424
10425 [BZ #14894]
10426 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
10427 __ppc_mdoio and __ppc_mdoom.
10428 * manual/platform.texi: Document new functions __ppc_yield,
10429 __ppc_mdoio and __ppc_mdoom.
10430
10431 2013-05-22 Carlos O'Donell <carlos@redhat.com>
10432
10433 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
10434 (main): Mention "tls" pseudo-hwcap is legacy.
10435 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
10436
10437 2013-05-22 Joseph Myers <joseph@codesourcery.com>
10438
10439 * math/gen-libm-test.pl (parse_args): Output only string of
10440 arguments as text for test name, not full call or descriptions of
10441 tests for extra outputs.
10442 (generate_testfile): Do not pass function name to parse_args.
10443 Generate this_func variable from START.
10444 * math/libm-test.inc (struct test_f_f_data): Rename test_name
10445 field to arg_str.
10446 (struct test_ff_f_data): Likewise.
10447 (test_ff_f_data_nexttoward): Likewise.
10448 (struct test_fi_f_data): Likewise.
10449 (struct test_fl_f_data): Likewise.
10450 (struct test_if_f_data): Likewise.
10451 (struct test_fff_f_data): Likewise.
10452 (struct test_c_f_data): Likewise.
10453 (struct test_f_f1_data): Likewise. Remove field extra_name.
10454 (struct test_fF_f1_data): Likewise.
10455 (struct test_ffI_f1_data): Likewise.
10456 (struct test_c_c_data): Rename test_name field to arg_str.
10457 (struct test_cc_c_data): Likewise.
10458 (struct test_f_i_data): Likewise.
10459 (struct test_ff_i_data): Likewise.
10460 (struct test_f_l_data): Likewise.
10461 (struct test_f_L_data): Likewise.
10462 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
10463 and extra2_name.
10464 (COMMON_TEST_SETUP): New macro.
10465 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
10466 (COMMON_TEST_CLEANUP): Likewise.
10467 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
10468 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
10469 macros.
10470 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
10471 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
10472 macros.
10473 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
10474 (RUN_TEST_fff_f): Take argument string. Call new setup and
10475 cleanup macros.
10476 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
10477 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
10478 macros.
10479 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
10480 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
10481 macros.
10482 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10483 (RUN_TEST_fF_f1): Take argument string. Call new setup and
10484 cleanup macros.
10485 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10486 (RUN_TEST_fI_f1): Take argument string. Call new setup and
10487 cleanup macros.
10488 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10489 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
10490 cleanup macros.
10491 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10492 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
10493 macros.
10494 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
10495 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
10496 macros.
10497 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
10498 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
10499 macros.
10500 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
10501 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
10502 cleanup macros.
10503 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
10504 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
10505 cleanup macros.
10506 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
10507 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
10508 macros.
10509 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
10510 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
10511 cleanup macros.
10512 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
10513 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
10514 macros.
10515 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
10516 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
10517 macros.
10518 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
10519 (RUN_TEST_fFF_11): Take argument string. Call new setup and
10520 cleanup macros.
10521 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
10522
10523 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10524
10525 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
10526 to _sifields.sigfault.
10527 (si_addr_lsb): Define new macro.
10528 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10529 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10530 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
10531
10532 2013-05-03 Carlos O'Donell <carlos at redhat.com>
10533
10534 [BZ #15441]
10535 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
10536 returns -1.
10537 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
10538 null return -1.
10539 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
10540 loading the domain.
10541
10542 2013-05-22 Joseph Myers <joseph@codesourcery.com>
10543
10544 * math/gen-libm-test.pl (parse_args): Do not include expected
10545 result in test name.
10546 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
10547 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10548 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10549 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10550 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10552
10553 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10554
10555 * benchtests/Makefile: Sort function entries.
10556
10557 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
10558 tanh, asinh, acosh, atanh.
10559 * benchtests/acos-inputs: New file.
10560 * benchtests/acosh-inputs: New file.
10561 * benchtests/asin-inputs: New file.
10562 * benchtests/asinh-inputs: New file.
10563 * benchtests/atanh-inputs: New file.
10564 * benchtests/cosh-inputs: New file.
10565 * benchtests/log-inputs: New file.
10566 * benchtests/sinh-inputs: New file.
10567 * benchtests/tanh-inputs: New file.
10568
10569 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
10570
10571 [BZ #15339]
10572 * posix/tst-getaddrinfo4.c: New test.
10573 * posix/Makefile (tests): Add it.
10574
10575 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10576
10577 [BZ #15339]
10578 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
10579 when no services were used.
10580 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
10581 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
10582
10583 2013-05-21 Andreas Schwab <schwab@suse.de>
10584
10585 [BZ #15014]
10586 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
10587 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
10588 successful.
10589 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
10590 redundant variable declarations and reallocation of buffer when
10591 parsing as IPv6 address. Always set NSS status when called from
10592 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
10593 buffer too small. Correct computation of needed size.
10594 * nss/Makefile (tests): Add test-digits-dots.
10595 * nss/test-digits-dots.c: New test.
10596
10597 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10598
10599 * benchtests/Makefile: Remove instructions for adding
10600 benchmark tests.
10601 * benchtests/README: New file to explain how to execute and
10602 enhance the benchmark tests.
10603
10604 2013-05-21 Andreas Schwab <schwab@suse.de>
10605
10606 [BZ #15493]
10607 * setjmp/Makefile (tests): Add tst-sigsetjmp.
10608 * setjmp/tst-sigsetjmp.c: New test.
10609
10610 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
10611
10612 * sysdeps/x86_64/memset.S (memset): New implementation.
10613 (__bzero): Likewise.
10614 (__memset_tail): New function.
10615
10616 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
10617
10618 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
10619 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
10620 __memcpy_sse2_unaligned ifunc selection.
10621 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10622 Add memcpy-sse2-unaligned.S.
10623 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10624 Add: __memcpy_sse2_unaligned.
10625
10626 2013-05-19 Joseph Myers <joseph@codesourcery.com>
10627
10628 [BZ #15490]
10629 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10630 math_force_eval before restoring floating-point envrionment.
10631 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
10632 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
10633 Likewise.
10634 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
10635 <math_private.h>.
10636 (__nearbyintl): Use math_force_eval before restoring
10637 floating-point environment.
10638 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
10639
10640 * math/gen-libm-test.pl (special_functions): Remove.
10641 (parse_args): Don't handle TEST_extra. Handle functions with no
10642 return value.
10643 * math/libm-test.inc (struct test_sincos_data): Replace with
10644 struct test_fFF_11_data.
10645 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
10646 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
10647 (sincos_test_data): Change element type to struct
10648 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
10649 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
10650 RUN_TEST_LOOP_sincos.
10651 * math/README.libm-test: Don't mention special handling of
10652 individual functions.
10653 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
10654 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10655 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10656 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10657 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10659
10660 * math/gen-libm-test.pl (get_variable): Remove function.
10661 (parse_args): Don't show pointer parameters to call in test
10662 names. Use "extra output N" in test names for extra outputs
10663 rather than naming variables.
10664
10665 2013-05-18 Joseph Myers <joseph@codesourcery.com>
10666
10667 [BZ #15488]
10668 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
10669 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
10670 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
10671 double tests.
10672 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
10673 disable.
10674 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
10675 check_long_double.
10676
10677 * math/gen-libm-test.pl (@tests): Remove variable.
10678 ($count): Likewise.
10679 (new_test): Remove function.
10680 (show_exceptions): New function.
10681 (special_functions): Use show_exceptions instead of new_test.
10682 (parse_args): Likewise.
10683 (generate_testfile): Pass only function name in generated call to
10684 print_max_error or print_complex_max_error.
10685 (get_ulps): Do not handle complex tests specially.
10686 (output_test): Rename to ...
10687 (get_all_ulps_for_test): ... this. Return a string rather than
10688 printing to a file. Require ulps to be present.
10689 (output_ulps): Generate arrays rather than #defines.
10690 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
10691 (struct ulp_data): New type.
10692 (BUILD_COMPLEX_ULP): Remove macro.
10693 (compare_ulp_data): New function.
10694 (find_ulps): Likewise.
10695 (find_test_ulps): Likewise.
10696 (find_function_ulps): Likewise.
10697 (find_complex_function_ulps): Likewise.
10698 (print_max_error): Determine allowed ulps using
10699 find_function_ulps.
10700 (print_complex_max_error): Determine allowed ulps using
10701 find_complex_function_ulps.
10702 (check_float_internal): Determine max ulps using find_test_ulps.
10703 (check_float): Do not take max_ulp parameter. Update call to
10704 check_float_internal.
10705 (check_complex): Likewise.
10706 (check_int): Do not take max_ulp parameter.
10707 (check_long): Likewise.
10708 (check_bool): Likewise.
10709 (check_longlong): Likewise.
10710 (struct test_f_f_data): Remove max_ulp field.
10711 (struct test_ff_f_data): Likewise.
10712 (struct test_ff_f_data_nexttoward): Likewise.
10713 (struct test_fi_f_data): Likewise.
10714 (struct test_fl_f_data): Likewise.
10715 (struct test_if_f_data): Likewise.
10716 (struct test_fff_f_data): Likewise.
10717 (struct test_c_f_data): Likewise.
10718 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
10719 (struct test_fF_f1_data): Likewise.
10720 (struct test_ffI_f1_data): Likewise.
10721 (struct test_c_c_data): Remove max_ulp field.
10722 (struct test_cc_c_data): Likewise.
10723 (struct test_f_i_data): Likewise.
10724 (struct test_ff_i_data): Likewise.
10725 (struct test_f_l_data): Likewise.
10726 (struct test_f_L_data): Likewise.
10727 (struct test_sincos_data): Likewise.
10728 (RUN_TEST_f_f): Do not handle ulps.
10729 (RUN_TEST_LOOP_f_f): Likewise.
10730 (RUN_TEST_2_f): Likewise.
10731 (RUN_TEST_LOOP_2_f): Likewise.
10732 (RUN_TEST_fff_f): Likewise.
10733 (RUN_TEST_LOOP_fff_f): Likewise.
10734 (RUN_TEST_c_f): Likewise.
10735 (RUN_TEST_LOOP_c_f): Likewise.
10736 (RUN_TEST_f_f1): Likewise.
10737 (RUN_TEST_LOOP_f_f1): Likewise.
10738 (RUN_TEST_fF_f1): Likewise.
10739 (RUN_TEST_LOOP_fF_f1): Likewise.
10740 (RUN_TEST_fI_f1): Likewise.
10741 (RUN_TEST_LOOP_fI_f1): Likewise.
10742 (RUN_TEST_ffI_f1): Likewise.
10743 (RUN_TEST_LOOP_ffI_f1): Likewise.
10744 (RUN_TEST_c_c): Likewise.
10745 (RUN_TEST_LOOP_c_c): Likewise.
10746 (RUN_TEST_cc_c): Likewise.
10747 (RUN_TEST_LOOP_cc_c): Likewise.
10748 (RUN_TEST_f_i): Likewise.
10749 (RUN_TEST_LOOP_f_i): Likewise.
10750 (RUN_TEST_f_i_tg): Likewise.
10751 (RUN_TEST_LOOP_f_i_tg): Likewise.
10752 (RUN_TEST_ff_i_tg): Likewise.
10753 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10754 (RUN_TEST_f_b): Likewise.
10755 (RUN_TEST_LOOP_f_b): Likewise.
10756 (RUN_TEST_f_b_tg): Likewise.
10757 (RUN_TEST_LOOP_f_b_tg): Likewise.
10758 (RUN_TEST_f_l): Likewise.
10759 (RUN_TEST_LOOP_f_l): Likewise.
10760 (RUN_TEST_f_L): Likewise.
10761 (RUN_TEST_LOOP_f_L): Likewise.
10762 (RUN_TEST_sincos): Likewise.
10763 (RUN_TEST_LOOP_sincos): Likewise.
10764
10765 2013-05-17 Joseph Myers <joseph@codesourcery.com>
10766
10767 [BZ #15480]
10768 [BZ #15485]
10769 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
10770 main case of finite arguments, set rounding mode to FE_TONEAREST
10771 and discard exceptions.
10772 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
10773 exceptions.
10774 (remainder_tonearest_test_data): New variable.
10775 (remainder_test_tonearest): New function.
10776 (remainder_towardzero_test_data): New variable.
10777 (remainder_test_towardzero): New function.
10778 (remainder_downward_test_data): New variable.
10779 (remainder_test_downward): New function.
10780 (remainder_upward_test_data): New variable.
10781 (remainder_test_upward): New function.
10782 (main): Call the new test functions.
10783
10784 * math/libm-test.inc (struct test_f_f1_data): Remove field
10785 extra_init.
10786 (struct test_fF_f1_data): Likewise.
10787 (struct test_ffI_f1_data): Likewise.
10788 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
10789 based on value of EXTRA_EXPECTED.
10790 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10791 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
10792 EXTRA_VAR based on value of EXTRA_EXPECTED.
10793 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10794 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
10795 EXTRA_VAR based on value of EXTRA_EXPECTED.
10796 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10797 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
10798 EXTRA_VAR based on value of EXTRA_EXPECTED.
10799 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10800 * math/gen-libm-test.pl (parse_args): Don't output initializers
10801 for extra output values.
10802
10803 * math/libm-test.inc (check_int): Expect result to be exactly
10804 equal to expected value and do not handle ulps.
10805 (check_long): Likewise.
10806 (check_longlong): Likewise.
10807
10808 * math/libm-test.inc (ceil_test_data): Test for "inexact"
10809 exceptions.
10810 (cimag_test_data): Likewise.
10811 (conj_test_data): Likewise.
10812 (copysign_test_data): Likewise.
10813 (cproj_test_data): Likewise.
10814 (creal_test_data): Likewise.
10815 (fabs_test_data): Likewise.
10816 (fdim_test_data): Likewise.
10817 (finite_test_data): Likewise.
10818 (floor_test_data): Likewise.
10819 (fmax_test_data): Likewise.
10820 (fmin_test_data): Likewise.
10821 (fmod_test_data): Likewise.
10822 (fpclassify_test_data): Likewise.
10823 (frexp_test_data): Likewise.
10824 (ilogb_test_data): Likewise.
10825 (isfinite_test_data): Likewise.
10826 (isgreater_test_data): Likewise.
10827 (isgreaterequal_test_data): Likewise.
10828 (isinf_test_data): Likewise.
10829 (isless_test_data): Likewise.
10830 (islessequal_test_data): Likewise.
10831 (islessgreater_test_data): Likewise.
10832 (isnan_test_data): Likewise.
10833 (isnormal_test_data): Likewise.
10834 (issignaling_test_data): Likewise.
10835 (isunordered_test_data): Likewise.
10836 (ldexp_test_data): Likewise.
10837 (lrint_test_data): Likewise.
10838 (lrint_test_data) [TEST_FLOAT]: Disable one test.
10839 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
10840 (lrint_tonearest_test_data): Test for "inexact" exceptions.
10841 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10842 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
10843 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10844 test input.
10845 (lrint_towardzero_test_data): Test for "inexact" exceptions.
10846 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10847 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
10848 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
10849 that test input.
10850 (lrint_downward_test_data): Test for "inexact" exceptions.
10851 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10852 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
10853 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10854 test input.
10855 (lrint_upward_test_data): Test for "inexact" exceptions.
10856 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
10857 test input.
10858 (llrint_test_data): Test for "inexact" exceptions.
10859 (llrint_test_data) [TEST_FLOAT]: Disable one test.
10860 (llrint_tonearest_test_data): Test for "inexact" exceptions.
10861 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10862 (llrint_towardzero_test_data): Test for "inexact" exceptions.
10863 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10864 (llrint_downward_test_data): Test for "inexact" exceptions.
10865 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10866 (llrint_upward_test_data): Test for "inexact" exceptions.
10867 (logb_test_data): Likewise.
10868 (logb_downward_test_data): Likewise.
10869 (nextafter_test_data): Likewise.
10870 (nexttoward_test_data): Likewise.
10871 (remainder_test_data): Likewise.
10872 (remquo_test_data): Likewise.
10873 (scalbn_test_data): Likewise.
10874 (scalbln_test_data): Likewise.
10875 (signbit_test_data): Likewise.
10876 (sqrt_test_data): Likewise.
10877 (significand_test_data): Likewise.
10878
10879 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10880
10881 [BZ #15424]
10882 * benchtests/bench-modf.c (struct args): Mark arg0 as
10883 volatile.
10884 * scripts/bench.pl: Mark members of struct args as volatile.
10885
10886 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10887
10888 [BZ # 15497]
10889 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
10890 negative infinity on POWER6 or lower.
10891 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
10892
10893 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
10894
10895 [BZ #15442]
10896 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
10897 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
10898 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
10899 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
10900 (_FP_SETQNAN): New macro.
10901 (_FP_SETQNAN_SEMIRAW): Likewise.
10902 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
10903 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
10904 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
10905 (FP_EXTEND): Use _FP_FRAC_SNANP.
10906 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
10907 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
10908 into account.
10909 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10910 New macro.
10911 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10912 Likewise.
10913
10914 2013-05-16 Joseph Myers <joseph@codesourcery.com>
10915
10916 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
10917 with DIVIDE_BY_ZERO_EXCEPTION.
10918 (gamma_test_data): Likewise.
10919 (lgamma_test_data): Likewise.
10920 (log_test_data): Likewise.
10921 (log10_test_data): Likewise.
10922 (log2_test_data): Likewise.
10923 (tgamma_test_data): Likewise.
10924
10925 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
10926 (acos_test_tonearest): Likewise.
10927 (acos_test_towardzero): Likewise.
10928 (acos_test_downward): Likewise.
10929 (acos_test_upward): Likewise.
10930 (acosh_test): Likewise.
10931 (asin_test): Likewise.
10932 (asin_test_tonearest): Likewise.
10933 (asin_test_towardzero): Likewise.
10934 (asin_test_downward): Likewise.
10935 (asin_test_upward): Likewise.
10936 (asinh_test): Likewise.
10937 (atan_test): Likewise.
10938 (atanh_test): Likewise.
10939 (atan2_test): Likewise.
10940 (cabs_test): Likewise.
10941 (cacos_test): Likewise.
10942 (cacosh_test): Likewise.
10943 (casin_test): Likewise.
10944 (casinh_test): Likewise.
10945 (catan_test): Likewise.
10946 (catanh_test): Likewise.
10947 (cbrt_test): Likewise.
10948 (ccos_test): Likewise.
10949 (ccosh_test): Likewise.
10950 (cexp_test): Likewise.
10951 (clog_test): Likewise.
10952 (clog10_test): Likewise.
10953 (cos_test): Likewise.
10954 (cos_test_tonearest): Likewise.
10955 (cos_test_towardzero): Likewise.
10956 (cos_test_downward): Likewise.
10957 (cos_test_upward): Likewise.
10958 (cosh_test): Likewise.
10959 (cosh_test_tonearest): Likewise.
10960 (cosh_test_towardzero): Likewise.
10961 (cosh_test_downward): Likewise.
10962 (cosh_test_upward): Likewise.
10963 (cpow_test): Likewise.
10964 (csin_test): Likewise.
10965 (csinh_test): Likewise.
10966 (csqrt_test): Likewise.
10967 (ctan_test): Likewise.
10968 (ctan_test_tonearest): Likewise.
10969 (ctan_test_towardzero): Likewise.
10970 (ctan_test_downward): Likewise.
10971 (ctan_test_upward): Likewise.
10972 (ctanh_test): Likewise.
10973 (ctanh_test_tonearest): Likewise.
10974 (ctanh_test_towardzero): Likewise.
10975 (ctanh_test_downward): Likewise.
10976 (ctanh_test_upward): Likewise.
10977 (erf_test): Likewise.
10978 (erfc_test): Likewise.
10979 (exp_test): Likewise.
10980 (exp_test_tonearest): Likewise.
10981 (exp_test_towardzero): Likewise.
10982 (exp_test_downward): Likewise.
10983 (exp_test_upward): Likewise.
10984 (exp10_test): Likewise.
10985 (exp2_test): Likewise.
10986 (expm1_test): Likewise.
10987 (fmod_test): Likewise.
10988 (gamma_test): Likewise.
10989 (hypot_test): Likewise.
10990 (j0_test): Likewise.
10991 (j1_test): Likewise.
10992 (jn_test): Likewise.
10993 (lgamma_test): Likewise.
10994 (log_test): Likewise.
10995 (log10_test): Likewise.
10996 (log1p_test): Likewise.
10997 (log2_test): Likewise.
10998 (logb_test_downward): Likewise.
10999 (pow_test): Likewise.
11000 (pow_test_tonearest): Likewise.
11001 (pow_test_towardzero): Likewise.
11002 (pow_test_downward): Likewise.
11003 (pow_test_upward): Likewise.
11004 (remainder_test): Likewise.
11005 (remquo_test): Likewise.
11006 (sin_test): Likewise.
11007 (sin_test_tonearest): Likewise.
11008 (sin_test_towardzero): Likewise.
11009 (sin_test_downward): Likewise.
11010 (sin_test_upward): Likewise.
11011 (sincos_test): Likewise.
11012 (sinh_test): Likewise.
11013 (sinh_test_tonearest): Likewise.
11014 (sinh_test_towardzero): Likewise.
11015 (sinh_test_downward): Likewise.
11016 (sinh_test_upward): Likewise.
11017 (sqrt_test): Likewise.
11018 (tan_test): Likewise.
11019 (tan_test_tonearest): Likewise.
11020 (tan_test_towardzero): Likewise.
11021 (tan_test_downward): Likewise.
11022 (tan_test_upward): Likewise.
11023 (tanh_test): Likewise.
11024 (tgamma_test): Likewise.
11025 (y0_test): Likewise.
11026 (y1_test): Likewise.
11027 (yn_test): Likewise.
11028
11029 * math/gen-libm-test.pl (adjust_arg): Remove function.
11030 (special_function): Remove argument $in_func. Only handle
11031 generating output for tables of tests, not inside functions.
11032 (parse_args): Likewise.
11033 (generate_testfile): Remove variable $in_func. Update call to
11034 parse_args.
11035 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
11036 (MINUS_ZERO_INIT): Rename macro to minus_zero.
11037 (PLUS_INFTY_INIT): Rename macro to plus_infty.
11038 (MINUS_INFTY_INIT): Rename macro to minus_infty.
11039 (QNAN_VALUE_INIT): Rename macro to qnan_value.
11040 (MAX_VALUE_INIT): Rename macro to max_value.
11041 (MIN_VALUE_INIT): Rename macro to min_value.
11042 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
11043 (plus_zero): Remove variable.
11044 (minus_zero): Likewise.
11045 (plus_infty): Likewise.
11046 (minus_infty): Likewise.
11047 (qnan_value): Likewise.
11048 (max_value): Likewise.
11049 (min_value): Likewise.
11050 (min_subnorm_value): Likewise.
11051
11052 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11053
11054 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
11055 uint64_t or uint32_t usage.
11056 * crypt/sha256-block.c: Likewise.
11057 * crypt/sha256-crypt.c: Likewise.
11058 * crypt/sha256.c: Likewise.
11059 * crypt/sha512-block.c: Likewise.
11060 * crypt/sha512-crypt.c: Likewise.
11061 * crypt/sha512.c: Likewise.
11062 * debug/backtrace-tst.c: Likewise.
11063 * debug/pcprofiledump.c: Likewise.
11064 * elf/cache.c: Likewise.
11065 * elf/dl-cache.c: Likewise.
11066 * elf/dl-misc.c: Likewise.
11067 * elf/dl-profile.c: Likewise.
11068 * elf/dl-support.c: Likewise.
11069 * elf/ldconfig.c: Likewise.
11070 * elf/sprof.c: Likewise.
11071 * iconv/dummy-repertoire.c: Likewise.
11072 * iconv/iconv_charmap.c: Likewise.
11073 * iconv/skeleton.c: Likewise.
11074 * iconvdata/8bit-generic.c: Likewise.
11075 * iconvdata/cp737.h: Likewise.
11076 * iconvdata/cp775.h: Likewise.
11077 * iconvdata/ibm1008.h: Likewise.
11078 * iconvdata/ibm1025.h: Likewise.
11079 * iconvdata/ibm1046.h: Likewise.
11080 * iconvdata/ibm1097.h: Likewise.
11081 * iconvdata/ibm1112.h: Likewise.
11082 * iconvdata/ibm1122.h: Likewise.
11083 * iconvdata/ibm1123.h: Likewise.
11084 * iconvdata/ibm1124.h: Likewise.
11085 * iconvdata/ibm1129.h: Likewise.
11086 * iconvdata/ibm1130.h: Likewise.
11087 * iconvdata/ibm1132.h: Likewise.
11088 * iconvdata/ibm1133.h: Likewise.
11089 * iconvdata/ibm1137.h: Likewise.
11090 * iconvdata/ibm1140.h: Likewise.
11091 * iconvdata/ibm1141.h: Likewise.
11092 * iconvdata/ibm1142.h: Likewise.
11093 * iconvdata/ibm1143.h: Likewise.
11094 * iconvdata/ibm1144.h: Likewise.
11095 * iconvdata/ibm1145.h: Likewise.
11096 * iconvdata/ibm1146.h: Likewise.
11097 * iconvdata/ibm1147.h: Likewise.
11098 * iconvdata/ibm1148.h: Likewise.
11099 * iconvdata/ibm1149.h: Likewise.
11100 * iconvdata/ibm1153.h: Likewise.
11101 * iconvdata/ibm1154.h: Likewise.
11102 * iconvdata/ibm1155.h: Likewise.
11103 * iconvdata/ibm1156.h: Likewise.
11104 * iconvdata/ibm1157.h: Likewise.
11105 * iconvdata/ibm1158.h: Likewise.
11106 * iconvdata/ibm1160.h: Likewise.
11107 * iconvdata/ibm1161.h: Likewise.
11108 * iconvdata/ibm1162.h: Likewise.
11109 * iconvdata/ibm1163.h: Likewise.
11110 * iconvdata/ibm1164.h: Likewise.
11111 * iconvdata/ibm1166.h: Likewise.
11112 * iconvdata/ibm1167.h: Likewise.
11113 * iconvdata/ibm12712.h: Likewise.
11114 * iconvdata/ibm1390.h: Likewise.
11115 * iconvdata/ibm1399.h: Likewise.
11116 * iconvdata/ibm16804.h: Likewise.
11117 * iconvdata/ibm4517.h: Likewise.
11118 * iconvdata/ibm4899.h: Likewise.
11119 * iconvdata/ibm4909.h: Likewise.
11120 * iconvdata/ibm4971.h: Likewise.
11121 * iconvdata/ibm5347.h: Likewise.
11122 * iconvdata/ibm803.h: Likewise.
11123 * iconvdata/ibm856.h: Likewise.
11124 * iconvdata/ibm901.h: Likewise.
11125 * iconvdata/ibm902.h: Likewise.
11126 * iconvdata/ibm9030.h: Likewise.
11127 * iconvdata/ibm9066.h: Likewise.
11128 * iconvdata/ibm921.h: Likewise.
11129 * iconvdata/ibm922.h: Likewise.
11130 * iconvdata/ibm9448.h: Likewise.
11131 * iconvdata/isiri-3342.h: Likewise.
11132 * iconvdata/jis0201.h: Likewise.
11133 * include/link.h: Likewise.
11134 * include/netdb.h: Likewise.
11135 * inet/check_native.c: Likewise.
11136 * inet/check_pf.c: Likewise.
11137 * inet/getipv4sourcefilter.c: Likewise.
11138 * inet/getnameinfo.c: Likewise.
11139 * inet/getsourcefilter.c: Likewise.
11140 * inet/htonl.c: Likewise.
11141 * inet/setipv4sourcefilter.c: Likewise.
11142 * inet/setsourcefilter.c: Likewise.
11143 * inet/test-inet6_opt.c: Likewise.
11144 * inet/tst-network.c: Likewise.
11145 * locale/C-collate.c: Likewise.
11146 * locale/C-ctype.c: Likewise.
11147 * locale/C-time.c: Likewise.
11148 * locale/C-translit.h: Likewise.
11149 * locale/loadarchive.c: Likewise.
11150 * locale/programs/3level.h: Likewise.
11151 * locale/programs/charmap.c: Likewise.
11152 * locale/programs/charmap.h: Likewise.
11153 * locale/programs/ld-address.c: Likewise.
11154 * locale/programs/ld-collate.c: Likewise.
11155 * locale/programs/ld-ctype.c: Likewise.
11156 * locale/programs/ld-identification.c: Likewise.
11157 * locale/programs/ld-measurement.c: Likewise.
11158 * locale/programs/ld-messages.c: Likewise.
11159 * locale/programs/ld-monetary.c: Likewise.
11160 * locale/programs/ld-name.c: Likewise.
11161 * locale/programs/ld-numeric.c: Likewise.
11162 * locale/programs/ld-paper.c: Likewise.
11163 * locale/programs/ld-telephone.c: Likewise.
11164 * locale/programs/ld-time.c: Likewise.
11165 * locale/programs/linereader.c: Likewise.
11166 * locale/programs/locale.c: Likewise.
11167 * locale/programs/locarchive.c: Likewise.
11168 * locale/programs/locfile.h: Likewise.
11169 * locale/programs/repertoire.c: Likewise.
11170 * locale/programs/simple-hash.c: Likewise.
11171 * locale/programs/simple-hash.h: Likewise.
11172 * malloc/memusage.c: Likewise.
11173 * malloc/memusagestat.c: Likewise.
11174 * nis/nis_defaults.c: Likewise.
11175 * nis/nis_hash.c: Likewise.
11176 * nis/nis_print.c: Likewise.
11177 * nis/nis_xdr.c: Likewise.
11178 * nscd/connections.c: Likewise.
11179 * nscd/hstcache.c: Likewise.
11180 * nscd/nscd_gethst_r.c: Likewise.
11181 * nscd/nscd_getserv_r.c: Likewise.
11182 * nscd/nscd_helper.c: Likewise.
11183 * nscd/servicescache.c: Likewise.
11184 * nss/makedb.c: Likewise.
11185 * nss/nss_db/db-XXX.c: Likewise.
11186 * nss/nss_db/db-initgroups.c: Likewise.
11187 * nss/nss_db/db-netgrp.c: Likewise.
11188 * nss/nss_files/files-network.c: Likewise.
11189 * nss/nss_files/files-parse.c: Likewise.
11190 * posix/bug-regex5.c: Likewise.
11191 * posix/fnmatch_loop.c: Likewise.
11192 * posix/regcomp.c: Likewise.
11193 * posix/regexec.c: Likewise.
11194 * posix/tst-rfc3484-2.c: Likewise.
11195 * posix/tst-rfc3484-3.c: Likewise.
11196 * posix/tst-rfc3484.c: Likewise.
11197 * resolv/nss_dns/dns-canon.c: Likewise.
11198 * resolv/nss_dns/dns-network.c: Likewise.
11199 * resolv/res_init.c: Likewise.
11200 * resolv/res_mkquery.c: Likewise.
11201 * resolv/tst-aton.c: Likewise.
11202 * stdlib/cxa_atexit.c: Likewise.
11203 * stdlib/cxa_finalize.c: Likewise.
11204 * stdlib/gen-fpioconst.c: Likewise.
11205 * stdlib/strtol_l.c: Likewise.
11206 * string/tst-endian.c: Likewise.
11207 * sunrpc/auth_des.c: Likewise.
11208 * sunrpc/clnt_udp.c: Likewise.
11209 * sunrpc/rtime.c: Likewise.
11210 * sunrpc/svcauth_des.c: Likewise.
11211 * sunrpc/xdr.c: Likewise.
11212 * sunrpc/xdr_intXX_t.c: Likewise.
11213 * sunrpc/xdr_rec.c: Likewise.
11214 * sysdeps/generic/ldconfig.h: Likewise.
11215 * sysdeps/generic/ldsodefs.h: Likewise.
11216 * sysdeps/generic/memusage.h: Likewise.
11217 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
11218 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
11219 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
11220 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11221 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11222 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11223 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
11224 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
11225 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11226 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11227 * sysdeps/posix/getaddrinfo.c: Likewise.
11228 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11229 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11230 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11231 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11232 * sysdeps/powerpc/test-gettimebase.c: Likewise.
11233 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11234 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
11235 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
11236 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
11237 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
11238 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11239 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11240 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
11241 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
11242 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
11243 * sysdeps/x86_64/dl-tls.h: Likewise.
11244 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
11245 * time/alt_digit.c: Likewise.
11246 * time/era.c: Likewise.
11247 * wcsmbs/tst-c16c32-1.c: Likewise.
11248
11249 2013-05-16 Joseph Myers <joseph@codesourcery.com>
11250
11251 * math/libm-test.inc (struct test_sincos_data): New type.
11252 (RUN_TEST_LOOP_sincos): New macro.
11253 (sincos_test_data): New variable.
11254 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
11255
11256 2013-05-16 Richard Henderson <rth@redhat.com>
11257
11258 * math/atest-exp2.c (LIMB64): New macro.
11259 (CONSTSZ): New macro.
11260 (mp_exp1, mp_exp_m1, mp_log2): New variables.
11261 (hexdig): Move ...
11262 (print_mpn_fp): ... to function scope.
11263 (read_mpn_hex): Remove.
11264 (get_log2): Remove.
11265 (exp2_mpn): Use mp_log2.
11266 (main): Use mp_exp1.
11267
11268 2013-05-16 Joseph Myers <joseph@codesourcery.com>
11269
11270 * math/libm-test.inc: Remove comment about not testing "inexact"
11271 exceptions.
11272 (INEXACT_EXCEPTION): New macro.
11273 (NO_INEXACT_EXCEPTION): Likewise.
11274 (INVALID_EXCEPTION_OK): Update value.
11275 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11276 (OVERFLOW_EXCEPTION_OK): Likewise.
11277 (UNDERFLOW_EXCEPTION_OK): Likewise.
11278 (IGNORE_ZERO_INF_SIGN): Likewise.
11279 (ERRNO_UNCHANGED): Likewise.
11280 (ERRNO_EDOM): Likewise.
11281 (ERRNO_ERANGE): Likewise.
11282 (test_exceptions): Handle testing "inexact" exceptions.
11283 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
11284 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
11285 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
11286 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
11287 INEXACT_EXCEPTION.
11288 (rint_towardzero_test_data): Likewise.
11289 (rint_downward_test_data): Likewise.
11290 (rint_upward_test_data): Likewise.
11291
11292 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
11293 with OVERFLOW_EXCEPTION.
11294 (exp10_test_data): Likewise.
11295 (exp2_test_data): Likewise.
11296 (expm1_test_data): Likewise.
11297 (lgamma_test_data): Likewise.
11298 (pow_test_data): Likewise.
11299 (tgamma_test_data): Likewise.
11300 (yn_test_data): Remove duplicate test of overflow.
11301
11302 * math/libm-test.inc (struct test_cc_c_data): New type.
11303 (RUN_TEST_LOOP_cc_c): New macro.
11304 (cpow_test_data): New variable.
11305 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
11306
11307 * math/libm-test.inc (struct test_f_L_data): New type.
11308 (RUN_TEST_LOOP_f_L): New macro.
11309 (llrint_test_data): New variable.
11310 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
11311 (llrint_tonearest_test_data): New variable.
11312 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
11313 (llrint_towardzero_test_data): New variable.
11314 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
11315 (llrint_downward_test_data): New variable.
11316 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
11317 (llrint_upward_test_data): New variable.
11318 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
11319 (llround_test_data): New variable.
11320 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
11321
11322 2013-05-13 Peter Collingbourne <pcc@google.com>
11323
11324 * math/atest-exp2.c (get_log2): Remove const attribute.
11325
11326 2013-05-15 Joseph Myers <joseph@codesourcery.com>
11327
11328 * math/libm-test.inc (struct test_f_l_data): New type.
11329 (RUN_TEST_LOOP_f_l): New macro.
11330 (lrint_test_data): New variable.
11331 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
11332 (lrint_tonearest_test_data): New variable.
11333 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
11334 (lrint_towardzero_test_data): New variable.
11335 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
11336 (lrint_downward_test_data): New variable.
11337 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
11338 (lrint_upward_test_data): New variable.
11339 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
11340 (lround_test_data): New variable.
11341 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
11342
11343 2013-05-15 Peter Collingbourne <pcc@google.com>
11344
11345 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
11346 (EXTRACT_WORDS64) Use where appropriate.
11347 (INSERT_WORDS64) Likewise.
11348
11349 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
11350 constraints with x constraints.
11351 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
11352
11353 * malloc/obstack.c (_obstack_compat): Add initializer.
11354
11355 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
11356
11357 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
11358 si_trapno and add si_addr_lsb to _sifields.sigfault.
11359 (si_trapno): Remove macro.
11360 (si_addr_lsb): Define new macro.
11361 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
11362
11363 2013-05-15 Joseph Myers <joseph@codesourcery.com>
11364
11365 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
11366 instead of TEST_f_l.
11367 (llrint_test_tonearest): Likewise.
11368 (llrint_test_towardzero): Likewise.
11369 (llrint_test_downward): Likewise.
11370 (llrint_test_upward): Likewise.
11371 (llround_test): Likewise.
11372
11373 * math/libm-test.inc (struct test_f_i_data): Add comment.
11374 (RUN_TEST_LOOP_f_b): New macro.
11375 (RUN_TEST_LOOP_f_b_tg): Likewise.
11376 (finite_test_data): New variable.
11377 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
11378 (isfinite_test_data): New variable.
11379 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11380 (isinf_test_data): New variable.
11381 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11382 (isnan_test_data): New variable.
11383 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11384 (isnormal_test_data): New variable.
11385 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11386 (issignaling_test_data): New variable.
11387 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11388 (signbit_test_data): New variable.
11389 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11390
11391 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
11392 with INVALID_EXCEPTION.
11393 (acosh_test_data): Likewise.
11394 (asin_test_data): Likewise.
11395 (atanh_test_data): Likewise.
11396 (fmod_test_data): Likewise.
11397 (log_test_data): Likewise.
11398 (log10_test_data): Likewise.
11399 (log2_test_data): Likewise.
11400 (pow_test_data): Likewise.
11401 (sqrt_test_data): Likewise.
11402 (y0_test_data): Likewise.
11403 (y1_test_data): Likewise.
11404 (yn_test_data): Likewise.
11405
11406 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
11407 function contents.
11408
11409 * math/libm-test.inc (struct test_ff_i_data): New type.
11410 (RUN_TEST_LOOP_ff_i_tg): New macro.
11411 (isgreater_test_data): New variable.
11412 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11413 (isgreaterequal_test_data): New variable.
11414 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11415 (isless_test_data): New variable.
11416 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11417 (islessequal_test_data): New variable.
11418 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11419 (islessgreater_test_data): New variable.
11420 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11421 (isunordered_test_data): New variable.
11422 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11423
11424 2013-05-14 David S. Miller <davem@davemloft.net>
11425
11426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11427
11428 2013-05-14 Joseph Myers <joseph@codesourcery.com>
11429
11430 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
11431
11432 * math/libm-test.inc (struct test_fF_f1_data): Change type of
11433 extra_test to int.
11434 (struct test_f_i_data): Change type of max_ulp to int.
11435
11436 * math/libm-test.inc (test_ffI_f1_data): New type.
11437 (RUN_TEST_LOOP_ffI_f1): New macro.
11438 (remquo_test_data): New variable.
11439 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
11440
11441 * setjmp/tst-setjmp-fp.c: New file.
11442 * setjmp/Makefile (tests): Add tst-setjmp-fp.
11443 (link-libm): New variable.
11444 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
11445
11446 * math/libm-test.inc (struct test_f_i_data): New type.
11447 (RUN_TEST_LOOP_f_i): New macro.
11448 (RUN_TEST_LOOP_f_i_tg): Likewise.
11449 (fpclassify_test_data): New variable.
11450 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
11451 (ilogb_test_data): New variable.
11452 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
11453
11454 * math/libm-test.inc (scalbln_test): Correct function name in END
11455 call.
11456
11457 * math/libm-test.inc (struct test_f_f1_data): Add comment.
11458 (RUN_TEST_LOOP_fI_f1): New macro.
11459 (frexp_test_data): New variable.
11460 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
11461
11462 * math/libm-test.inc (struct test_fF_f1_data): New type.
11463 (RUN_TEST_LOOP_fF_f1): New macro.
11464 (modf_test_data): New variable.
11465 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
11466
11467 * math/libm-test.inc (struct test_f_f1_data): New type.
11468 (RUN_TEST_LOOP_f_f1): New macro.
11469 (gamma_test_data): New variable.
11470 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
11471 (lgamma_test_data): New variable.
11472 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
11473
11474 2013-05-13 Carlos O'Donell <carlos@redhat.com>
11475
11476 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
11477 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
11478 (main): Comment "tls" pseudo-hwcap.
11479
11480 2013-05-13 Joseph Myers <joseph@codesourcery.com>
11481
11482 * math/libm-test.inc (struct test_fl_f_data): New type.
11483 (RUN_TEST_LOOP_fl_f): New variable.
11484 (scalbln_test_data): New variable.
11485 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
11486
11487 * math/libm-test.inc (struct test_fi_f_data): New type.
11488 (RUN_TEST_LOOP_fi_f): New macro.
11489 (ldexp_test_data): New variable.
11490 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
11491 (scalbn_test_data): New variable.
11492 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
11493
11494 * math/libm-test.inc (struct test_c_f_data): New type.
11495 (RUN_TEST_LOOP_c_f): New macro.
11496 (cabs_test_data): New variable.
11497 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
11498 (carg_test_data): New variable.
11499 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
11500 (cimag_test_data): New variable.
11501 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
11502 (creal_test_data): New variable.
11503 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
11504
11505 * math/libm-test.inc (struct test_if_f_data): New type.
11506 (RUN_TEST_LOOP_if_f): New macro.
11507 (jn_test_data): New variable.
11508 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
11509 (yn_test_data): New variable.
11510 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
11511
11512 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
11513
11514 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11515
11516 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
11517 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
11518
11519 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11520
11521 * benchtests/Makefile (CPPFLAGS-nonlib): Add
11522 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
11523 (bench-deps): Add bench-timing.h.
11524 * benchtests-bench-skeleton.c: Include bench-timing.h.
11525 (main): Use TIMING_* macros instead of clock_gettime.
11526 * benchtests/bench-timing.h: New file.
11527
11528 [BZ #14582]
11529 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
11530 Renamed from _LIB_VERSION.
11531 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
11532
11533 2013-05-12 Joseph Myers <joseph@codesourcery.com>
11534
11535 * math/libm-test.inc (struct test_fff_f_data): New type.
11536 (RUN_TEST_LOOP_fff_f): New macro.
11537 (fma_test_data): New variable.
11538 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
11539 (fma_towardzero_test_data): New variable.
11540 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
11541 (fma_downward_test_data): New variable.
11542 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
11543 (fma_upward_test_data): New variable.
11544 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
11545
11546 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
11547 (struct test_c_c_data): New type.
11548 (RUN_TEST_LOOP_c_c): New macro.
11549 (cacos_test_data): New variable.
11550 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
11551 (cacosh_test_data): New variable.
11552 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
11553 (casin_test_data): New variable.
11554 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
11555 (casinh_test_data): New variable.
11556 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
11557 (catan_test_data): New variable.
11558 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
11559 (catanh_test_data): New variable.
11560 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
11561 (ccos_test_data): New variable.
11562 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
11563 (ccosh_test_data): New variable.
11564 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
11565 (cexp_test_data): New variable.
11566 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
11567 (clog_test_data): New variable.
11568 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
11569 (clog10_test_data): New variable.
11570 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
11571 (conj_test_data): New variable.
11572 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
11573 (cproj_test_data): New variable.
11574 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
11575 (csin_test_data): New variable.
11576 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
11577 (csinh_test_data): New variable.
11578 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
11579 (csqrt_test_data): New variable.
11580 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
11581 (ctan_test_data): New variable.
11582 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
11583 (ctan_tonearest_test_data): New variable.
11584 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11585 (ctan_towardzero_test_data): New variable.
11586 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11587 (ctan_downward_test_data): New variable.
11588 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11589 (ctan_upward_test_data): New variable.
11590 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11591 (ctanh_test_data): New variable.
11592 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
11593 (ctanh_tonearest_test_data): New variable.
11594 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11595 (ctanh_towardzero_test_data): New variable.
11596 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11597 (ctanh_downward_test_data): New variable.
11598 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11599 (ctanh_upward_test_data): New variable.
11600 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11601 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
11602 of BUILD_COMPLEX.
11603
11604 * math/libm-test.inc (struct test_ff_f_data): New type.
11605 (struct test_ff_f_data_nexttoward): Likewise.
11606 (RUN_TEST_LOOP_2_f): New macro.
11607 (RUN_TEST_LOOP_ff_f): Likewise.
11608 (atan2_test_data): New variable.
11609 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
11610 (copysign_test_data): New variable.
11611 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
11612 (fdim_test_data): New variable.
11613 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
11614 (fmax_test_data): New variable.
11615 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
11616 (fmin_test_data): New variable.
11617 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
11618 (fmod_test_data): New variable.
11619 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
11620 (hypot_test_data): New variable.
11621 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
11622 (nextafter_test_data): New variable.
11623 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
11624 (nexttoward_test_data): New variable.
11625 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
11626 (pow_test_data): New variable.
11627 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
11628 (pow_tonearest_test_data): New variable.
11629 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
11630 (pow_towardzero_test_data): New variable.
11631 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
11632 (pow_downward_test_data): New variable.
11633 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
11634 (pow_upward_test_data): New variable.
11635 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
11636 (remainder_test_data): New variable.
11637 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
11638 (scalb_test_data): New variable.
11639 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
11640 * sysdeps/i386/fpu/libm-test-ulps: Update.
11641
11642 2013-05-11 Joseph Myers <joseph@codesourcery.com>
11643
11644 * math/libm-test.inc (fma_test): Use max_value instead of local
11645 variable fltmax.
11646 (nextafter_test): Likewise.
11647
11648 * math/libm-test.inc (acos_towardzero_test_data): New variable.
11649 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11650 (acos_downward_test_data): New variable.
11651 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11652 (acos_upward_test_data): New variable.
11653 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11654 (acosh_test_data): New variable.
11655 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
11656 (asin_test_data): New variable.
11657 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
11658 (asin_tonearest_test_data): New variable.
11659 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11660 (asin_towardzero_test_data): New variable.
11661 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11662 (asin_downward_test_data): New variable.
11663 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11664 (asin_upward_test_data): New variable.
11665 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11666 (asinh_test_data): New variable.
11667 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
11668 (atan_test_data): New variable.
11669 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
11670 (atanh_test_data): New variable.
11671 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
11672 (cbrt_test_data): New variable.
11673 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
11674 (ceil_test_data): New variable.
11675 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
11676 (cos_test_data): New variable.
11677 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
11678 (cos_tonearest_test_data): New variable.
11679 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11680 (cos_towardzero_test_data): New variable.
11681 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11682 (cos_downward_test_data): New variable.
11683 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11684 (cos_upward_test_data): New variable.
11685 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11686 (cosh_test_data): New variable.
11687 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
11688 (cosh_tonearest_test_data): New variable.
11689 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11690 (cosh_towardzero_test_data): New variable.
11691 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11692 (cosh_downward_test_data): New variable.
11693 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11694 (cosh_upward_test_data): New variable.
11695 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11696 (erf_test_data): New variable.
11697 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
11698 (erfc_test_data): New variable.
11699 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
11700 (exp_test_data): New variable.
11701 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
11702 (exp_tonearest_test_data): New variable.
11703 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11704 (exp_towardzero_test_data): New variable.
11705 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11706 (exp_downward_test_data): New variable.
11707 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11708 (exp_upward_test_data): New variable.
11709 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11710 (exp10_test_data): New variable.
11711 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
11712 (exp2_test_data): New variable.
11713 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
11714 (expm1_test_data): New variable.
11715 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
11716 (fabs_test_data): New variable.
11717 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
11718 (floor_test_data): New variable.
11719 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
11720 (j0_test_data): New variable.
11721 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
11722 (j1_test_data): New variable.
11723 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
11724 (log_test_data): New variable.
11725 (log_test): Run tests with RUN_TEST_LOOP_f_f.
11726 (log10_test_data): New variable.
11727 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
11728 (log1p_test_data): New variable.
11729 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
11730 (log2_test_data): New variable.
11731 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
11732 (logb_test_data): New variable.
11733 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
11734 (logb_downward_test_data): New variable.
11735 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11736 (nearbyint_test_data): New variable.
11737 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
11738 (rint_test_data): New variable.
11739 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
11740 (rint_tonearest_test_data): New variable.
11741 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11742 (rint_towardzero_test_data): New variable.
11743 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11744 (rint_downward_test_data): New variable.
11745 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11746 (rint_upward_test_data): New variable.
11747 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11748 (round_test_data): New variable.
11749 (round_test): Run tests with RUN_TEST_LOOP_f_f.
11750 (sin_test_data): New variable.
11751 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
11752 (sin_tonearest_test_data): New variable.
11753 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11754 (sin_towardzero_test_data): New variable.
11755 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11756 (sin_downward_test_data): New variable.
11757 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11758 (sin_upward_test_data): New variable.
11759 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11760 (sinh_test_data): New variable.
11761 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
11762 (sinh_tonearest_test_data): New variable.
11763 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11764 (sinh_towardzero_test_data): New variable.
11765 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11766 (sinh_downward_test_data): New variable.
11767 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11768 (sinh_upward_test_data): New variable.
11769 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11770 (sqrt_test_data): New variable.
11771 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
11772 (tan_test_data): New variable.
11773 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
11774 (tan_tonearest_test_data): New variable.
11775 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11776 (tan_towardzero_test_data): New variable.
11777 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11778 (tan_downward_test_data): New variable.
11779 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11780 (tan_upward_test_data): New variable.
11781 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11782 (tanh_test_data): New variable.
11783 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
11784 (tgamma_test_data): New variable.
11785 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
11786 (trunc_test_data): New variable.
11787 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
11788 (y0_test_data): New variable.
11789 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
11790 (y1_test_data): New variable.
11791 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
11792 (significand_test_data): New variable.
11793 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
11794
11795 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
11796
11797 [BZ #12387]
11798 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
11799
11800 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
11801
11802 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
11803
11804 2013-05-10 Andreas Jaeger <aj@suse.de>
11805
11806 [BZ #15448]
11807 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
11808 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
11809
11810 2013-05-10 Joseph Myers <joseph@codesourcery.com>
11811
11812 * math/gen-libm-test.pl (adjust_arg): New function.
11813 (special_functions): Handle generating output in both functions
11814 and arrays.
11815 (parse_args): Likewise.
11816 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
11817 $in_func argument to parse_args.
11818 * math/libm-test.inc (struct test_f_f_data): New type.
11819 (IF_ROUND_INIT_): New macro.
11820 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
11821 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11822 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11823 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11824 (ROUND_RESTORE_): Likewise.
11825 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
11826 (ROUND_RESTORE_FE_TONEAREST): Likewise.
11827 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
11828 (ROUND_RESTORE_FE_UPWARD): Likewise.
11829 (RUN_TEST_LOOP_f_f): New macro.
11830 (acos_test_data): New variable.
11831 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
11832 (acos_tonearest_test_data): New variable.
11833 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11834
11835 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11836
11837 * benchtests/bench-skeleton.c (startup): Fix coding style.
11838
11839 2013-05-10 Joseph Myers <joseph@codesourcery.com>
11840
11841 [BZ #6809]
11842 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
11843 negative infinity argument.
11844 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
11845 negative infinity argument.
11846 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
11847 negative infinity argument.
11848 * math/libm-test.inc (tgamma_test): Expect errno to be set for
11849 domain errors.
11850
11851 2013-05-10 Florian Weimer <fweimer@redhat.com>
11852
11853 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
11854 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
11855 * iconv/iconv_prog.c (main): Likewise.
11856 * locale/programs/charmap-dir.c (charmap_readdir)
11857 (fopen_uncompressed): Likewise.
11858 * locale/programs/locfile.c (siblings_uncached)
11859 (write_locale_data): Use lstat64 instead of lstat.
11860 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
11861 stat.
11862
11863 2013-05-10 Andreas Jaeger <aj@suse.de>
11864
11865 [BZ #15395]
11866 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
11867 localization.
11868 Include <locale.h>.
11869
11870 2013-05-09 Carlos O'Donell <carlos@redhat.com>
11871
11872 * elf/dl-close.c (_dl_close_worker): Add comments.
11873
11874 2013-05-09 Joseph Myers <joseph@codesourcery.com>
11875
11876 [BZ #15359]
11877 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
11878 high part of pi/2.
11879 (__ieee754_rem_pio2l): Update comments.
11880
11881 [BZ #15429]
11882 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
11883 high part of pi/2.
11884 (__ieee754_rem_pio2l): Update comments.
11885
11886 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
11887 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
11888
11889 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
11890 M_PI_4l.
11891
11892 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
11893 (M_PI_34_LOG10El): Likewise.
11894 (M_PI2_LOG10El): Likewise.
11895 (M_PI4_LOG10El): Likewise.
11896 (M_PI_LOG10El): Likewise.
11897
11898 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11899
11900 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11901
11902 2013-05-08 Joseph Myers <joseph@codesourcery.com>
11903
11904 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
11905 (MINUS_ZERO_INIT): Likewise.
11906 (PLUS_INFTY_INIT): Likewise.
11907 (MINUS_INFTY_INIT): Likewise.
11908 (QNAN_VALUE_INIT): Likewise.
11909 (MAX_VALUE_INIT): Likewise.
11910 (MIN_VALUE_INIT): Likewise.
11911 (MIN_SUBNORM_VALUE_INIT): Likewise.
11912 (plus_zero): Initialize with PLUS_ZERO_INIT.
11913 (minus_zero): Initialize with MINUS_ZERO_INIT.
11914 (plus_infty): Initialize with PLUS_INFTY_INIT.
11915 (minus_infty): Initialize with MINUS_INFTY_INIT.
11916 (qnan_value): Initialize with QNAN_VALUE_INIT.
11917 (max_value): Initialize with MAX_VALUE_INIT.
11918 (min_value): Initialize with MIN_VALUE_INIT.
11919 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
11920
11921 * math/libm-test.inc (RUN_TEST_if_f): New macro.
11922 (jn_test): Use TEST_if_f instead of TEST_ff_f.
11923 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
11924 (yn_test): Use TEST_if_f instead of TEST_ff_f.
11925
11926 * math/libm-test.inc (RUN_TEST_f_f): New macro.
11927 (RUN_TEST_2_f): Likewise.
11928 (RUN_TEST_ff_f): Likewise.
11929 (RUN_TEST_fi_f): Likewise.
11930 (RUN_TEST_fl_f): Likewise.
11931 (RUN_TEST_fff_f): Likewise.
11932 (RUN_TEST_c_f): Likewise.
11933 (RUN_TEST_f_f1): Likewise.
11934 (RUN_TEST_fF_f1): Likewise.
11935 (RUN_TEST_fI_f1): Likewise.
11936 (RUN_TEST_ffI_f1): Likewise.
11937 (RUN_TEST_c_c): Likewise.
11938 (RUN_TEST_cc_c): Likewise.
11939 (RUN_TEST_f_i): Likewise.
11940 (RUN_TEST_f_i_tg): Likewise.
11941 (RUN_TEST_ff_i_tg): Likewise.
11942 (RUN_TEST_f_b): Likewise.
11943 (RUN_TEST_f_b_tg): Likewise.
11944 (RUN_TEST_f_l): Likewise.
11945 (RUN_TEST_f_L): Likewise.
11946 (RUN_TEST_sincos): Likewise.
11947 * math/gen-libm-test.pl (new_test): Take new argument to indicate
11948 whether to show exceptions. Do not include ");\n" in return
11949 value.
11950 (special_functions): Output call to RUN_TEST_sincos instead of
11951 check_float calls. Update calls to new_test.
11952 (parse_args): Output call to single RUN_TEST_* macro instead of
11953 check_* calls and other assignments. Update calls to new_test.
11954
11955 [BZ #2546]
11956 [BZ #2560]
11957 [BZ #5159]
11958 [BZ #15426]
11959 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
11960 input to result for tgamma overflow.
11961 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
11962 (gamma_coeff): New variable.
11963 (NCOEFF): New macro.
11964 (gamma_positive): New function.
11965 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
11966 underflow here. Use gamma_positive instead of exp (lgamma) for
11967 other arguments.
11968 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
11969 (gamma_coeff): New variable.
11970 (NCOEFF): New macro.
11971 (gammaf_positive): New function.
11972 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
11973 underflow here. Use gamma_positive instead of exp (lgamma) for
11974 other arguments.
11975 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
11976 (gamma_coeff): New variable.
11977 (NCOEFF): New macro.
11978 (gammal_positive): New function.
11979 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
11980 underflow here. Use gamma_positive instead of exp (lgamma) for
11981 other arguments.
11982 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
11983 (gamma_coeff): New variable.
11984 (NCOEFF): New macro.
11985 (gammal_positive): New function.
11986 (__ieee754_gammal_r): Handle positive infinity, overflow and
11987 underflow here. Handle NaN the same as positive infinity. Remove
11988 check x < 0xffffffff for negative integers. Use gamma_positive
11989 instead of exp (lgamma) for other arguments.
11990 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
11991 (gamma_coeff): New variable.
11992 (NCOEFF): New macro.
11993 (gammal_positive): New function.
11994 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
11995 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11996 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11997 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
11998 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11999 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
12000 * sysdeps/generic/math_private.h (__gamma_productf): New
12001 prototype.
12002 (__gamma_product): Likewise.
12003 (__gamma_productl): Likewise.
12004 * math/Makefile (libm-calls): Add gamma_product.
12005 * math/libm-test.inc (tgamma_test): Add more tests.
12006 * sysdeps/i386/fpu/libm-test-ulps: Update.
12007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12008
12009 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
12010
12011 * benchtests/bench-skeleton.c (main): Preheat CPU.
12012
12013 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
12014
12015 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
12016
12017 2013-05-07 Roland McGrath <roland@hack.frob.com>
12018
12019 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
12020 and _dl_skip_args_internal.
12021
12022 2013-05-07 Carlos O'Donell <carlos@redhat.com>
12023
12024 * manual/message.texi (Message Translation): Talk about users.
12025 Message to key mapping impacts design.
12026
12027 2013-05-06 Roland McGrath <roland@hack.frob.com>
12028
12029 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
12030
12031 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
12032
12033 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
12034 * sysdeps/wordsize-64/glob64.c: ... here.
12035
12036 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
12037 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
12038 New macros.
12039
12040 * debug/getlogin_r_chk.c: Moved to ...
12041 * login/getlogin_r_chk.c: ... here.
12042 * debug/Makefile (routines): Move getlogin_r_chk to ...
12043 * login/Makefile (routines): ... here.
12044 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
12045 * login/Versions (libc: GLIBC_2.4): ... here.
12046
12047 * io/poll.c (__poll): Renamed from poll.
12048 Add libc_hidden_def.
12049 (poll): Define as weak alias.
12050
12051 * debug/ptsname_r_chk.c: Moved to ...
12052 * login/ptsname_r_chk.c: ... here.
12053 * debug/Makefile (routines): Move ptsname_r_chk to ...
12054 * login/Makefile (routines): ... here.
12055 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
12056 * login/Versions (libc: GLIBC_2.4): ... here.
12057
12058 * posix/getlogin.c: Moved to ...
12059 * login/getlogin.c: ... here.
12060 * posix/getlogin_r.c: Moved to ...
12061 * login/getlogin_r.c: ... here.
12062 * posix/getlogin_r.c: Moved to ...
12063 * login/getlogin_r.c: ... here.
12064 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
12065 * login/Makefile (routines): ... here.
12066 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
12067 * login/Versions (libc: GLIBC_2.0): ... here.
12068
12069 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
12070 (setrlimit): Define as weak alias.
12071
12072 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
12073 Call __ names for open, ftruncate, and close.
12074 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
12075 (truncate): Define as weak alias.
12076
12077 2013-05-06 Joseph Myers <joseph@codesourcery.com>
12078
12079 * math/gen-libm-test.pl (parse_args): Initialize x before each
12080 test of frexp, modf and remquo.
12081
12082 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
12083 test signgam value.
12084
12085 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12086
12087 [BZ #15418]
12088 [BZ #15419]
12089 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
12090 internal tests.
12091 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12092
12093 2013-05-06 Roland McGrath <roland@hack.frob.com>
12094
12095 * elf/dl-writev.h: New file.
12096 * elf/dl-misc.c: Include it.
12097 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
12098 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
12099
12100 2013-05-04 Joseph Myers <joseph@codesourcery.com>
12101
12102 * math/libm-test.inc (noXFails): Remove variable.
12103 (noXPasses): Likewise.
12104 (BUILD_COMPLEX_INT): Remove macro.
12105 (print_screen): Remove xfail argument.
12106 (print_screen_max_error): Likewise.
12107 (update_stats): Likewise.
12108 (print_max_error): Likewise. Update calls to other affected
12109 functions.
12110 (print_complex_max_error): Likewise.
12111 (test_single_exception): Update calls to print_screen.
12112 (test_single_errno): Likewise.
12113 (check_float_internal): Remove xfail argument. Update calls to
12114 other affected functions.
12115 (check_float): Likewise.
12116 (check_complex): Likewise.
12117 (check_int): Likewise.
12118 (check_long): Likewise.
12119 (check_bool): Likewise.
12120 (check_longlong): Likewise.
12121 (main): Don't print noXFails and noXPasses.
12122 * math/gen-libm-test.pl (top level): Don't mention expected
12123 failure handling in comment.
12124 (new_test): Don't handle expected failures.
12125 (parse_args): Don't mention expected failure handling in comment.
12126 (generate_testfile): Don't handle expected failures.
12127 (parse_ulps): Likewise.
12128 (print_ulps_file): Likewise.
12129 (get_failure): Remove function.
12130 (output_test): Don't handle expected failures.
12131 * make/README.libm-test: Don't mention expected failure handling.
12132
12133 * math/libm-test.inc (plus_zero): Make const. Add initializer.
12134 (minus_zero): Likewise.
12135 (plus_infty): Likewise.
12136 (minus_infty): Likewise.
12137 (qnan_value): Likewise.
12138 (max_value): Likewise.
12139 (min_value): Likewise.
12140 (min_subnorm_value): Likewise.
12141 (initialize): Do not initialize those variables dynamically.
12142
12143 2013-05-03 Roland McGrath <roland@hack.frob.com>
12144
12145 * io/open.c (__open_2): Moved to ...
12146 * io/open_2.c: ... this new file.
12147 * io/open64.c (__open64_2): Moved to ...
12148 * io/open64_2.c: ... this new file.
12149 * io/openat.c (__openat_2): Moved to ...
12150 * io/openat_2.c: ... this new file.
12151 * io/openat64.c (__openat64_2): Moved to ...
12152 * io/openat64_2.c: ... this new file.
12153 * io/Makefile (routines): Add them.
12154 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
12155 * sysdeps/unix/sysv/linux/open_2.c: File removed.
12156 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
12157 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
12158 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
12159 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
12160 (__openat64): Add hidden_ver.
12161 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
12162 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
12163
12164 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
12165 Separately conditionalize setting of GLRO(dl_sysinfo) so
12166 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
12167 as well, but the actual setting is only under [NEED_DL_SYSINFO].
12168
12169 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12170
12171 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
12172 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
12173 definition.
12174 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
12175 * sysdeps/unix/sysv/linux/powerpc/init-first.c
12176 (_libc_vdso_platform_setup): Add __vdso_time initialization.
12177 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
12178 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
12179
12180 2013-05-03 Joseph Myers <joseph@codesourcery.com>
12181
12182 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
12183 test signgam value.
12184
12185 * math/libm-test.inc (hypot_test): Do not use
12186 IGNORE_ZERO_INF_SIGN.
12187
12188 2013-05-03 Andreas Jaeger <aj@suse.de>
12189
12190 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
12191 Linux 3.9.
12192 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
12193 (PF_MAX): Adjust for VSOCK change.
12194
12195 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12196
12197 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12198
12199 2013-05-02 Carlos O'Donell <carlos@redhat.com>
12200
12201 [BZ #15264]
12202 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
12203 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
12204 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
12205
12206 2013-05-02 David S. Miller <davem@davemloft.net>
12207
12208 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12209
12210 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
12211
12212 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
12213
12214 2013-05-01 Roland McGrath <roland@hack.frob.com>
12215
12216 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
12217
12218 2013-05-01 Richard Smith <richard@metafoo.co.uk>
12219
12220 [BZ #14952]
12221 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
12222 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
12223 Use __attribute__ ((__gnu_inline__)).
12224 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
12225 Don't use __attribute__ ((__gnu_inline__)).
12226
12227 2013-05-01 Joseph Myers <joseph@codesourcery.com>
12228
12229 [BZ #15423]
12230 * math/s_catan.c (__catan): Handle small real or imaginary part of
12231 input specially to avoid spurious underflow.
12232 * math/s_catanf.c (__catanf): Likewise.
12233 * math/s_catanh.c (__catanh): Likewise.
12234 * math/s_catanhf.c (__catanhf): Likewise.
12235 * math/s_catanhl.c (__catanhl): Likewise.
12236 * math/s_catanl.c (__catanl): Likewise.
12237 * math/libm-test.inc (catan_test): Add more tests.
12238 (catanh_test): Likewise.
12239 * sysdeps/i386/fpu/libm-test-ulps: Update.
12240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12241
12242 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12243
12244 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12245
12246 2013-04-30 Joseph Myers <joseph@codesourcery.com>
12247
12248 [BZ #15416]
12249 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
12250 accurately for denominator in atan2.
12251 * math/s_catanf.c (__catanf): Likewise.
12252 * math/s_catanh.c (__catanh): Likewise.
12253 * math/s_catanhf.c (__catanhf): Likewise.
12254 * math/s_catanhl.c (__catanhl): Likewise.
12255 * math/s_catanl.c (__catanl): Likewise.
12256 * math/libm-test.inc (catan_test): Add more tests.
12257 (catanh_test): Likewise.
12258 * sysdeps/i386/fpu/libm-test-ulps: Update.
12259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12260
12261 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12262
12263 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
12264
12265 * benchtests/Makefile (bench): Remove slow benchmarks.
12266 * benchtests/atan-inputs: Add slow benchmark inputs.
12267 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
12268 (BENCH_FUNC): Accept variant offset.
12269 (VARIANT): Define.
12270 * benchtests/bench-skeleton.c (main): Run benchmark for each
12271 variant.
12272 * benchtests/cos-inputs: Add slow benchmark inputs.
12273 * benchtests/exp-inputs: Likewise.
12274 * benchtests/pow-inputs: Likewise.
12275 * benchtests/sin-inputs: Likewise.
12276 * benchtests/slowatan-inputs: Remove.
12277 * benchtests/slowatan.c: Remove.
12278 * benchtests/slowcos-inputs: Remove.
12279 * benchtests/slowcos.c: Remove.
12280 * benchtests/slowexp-inputs: Remove.
12281 * benchtests/slowexp.c: Remove.
12282 * benchtests/slowpow-inputs: Remove.
12283 * benchtests/slowpow.c: Remove.
12284 * benchtests/slowsin-inputs: Remove.
12285 * benchtests/slowsin.c: Remove.
12286 * benchtests/slowtan-inputs: Remove.
12287 * benchtests/slowtan.c: Remove.
12288 * benchtests/tan-inputs: Add slow benchmark inputs.
12289 * scripts/bench.pl: Parse comments and directives.
12290
12291 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
12292 in CPPFLAGS.
12293 ($(objpfx)bench-%.c): Remove *-ITER.
12294 * benchtests/bench-modf.c: Remove definition of ITER.
12295 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
12296 (main): Loop for DURATION seconds instead of fixed number of
12297 iterations.
12298 * scripts/bench.pl: Don't expect iterations in parameters.
12299
12300 2013-04-29 Roland McGrath <roland@hack.frob.com>
12301
12302 * io/fchdir.c (__fchdir): Renamed from fchdir.
12303 (fchdir): Define as weak alias.
12304
12305 2013-04-29 Joseph Myers <joseph@codesourcery.com>
12306
12307 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
12308 (ERRNO_EDOM): Likewise.
12309 (ERRNO_ERANGE): Likewise.
12310 (noErrnoTests): New variable.
12311 (init_max_error): Set errno to 0.
12312 (test_single_errno): New function.
12313 (test_errno): Likewise.
12314 (check_float_internal): Call test_errno. Set errno to 0.
12315 (check_complex): Refer to errno tests in comment.
12316 (check_int): Call test_errno. Set errno to 0.
12317 (check_long): Likewise.
12318 (check_bool): Likewise.
12319 (check_longlong): Likewise.
12320 (cos_test): Use ERRNO_* flags for errno tests instead of
12321 check_int.
12322 (expm1_test): Likewise.
12323 (fmod_test): Likewise.
12324 (ilogb_test): Likewise.
12325 (lgamma_test): Likewise.
12326 (pow_test): Likewise.
12327 (remainder_test): Likewise.
12328 (sin_test): Likewise.
12329 (tan_test): Likewise.
12330 (yn_test): Likewise.
12331 (initialize): Set errno to 0.
12332 (main): Print number of errno tests.
12333 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
12334
12335 2013-04-29 Andreas Jaeger <aj@suse.de>
12336
12337 [BZ #15084]
12338 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
12339 and RES_USEVC.
12340
12341 [BZ #15085]
12342 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
12343 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
12344 unimplemented.
12345
12346 [BZ #15380]
12347 * stdlib/random.c (__initstate): Return NULL if
12348 __initstate fails.
12349
12350 [BZ #15086]
12351 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
12352 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
12353 RES_SNGLKUPREOP.
12354
12355 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12356
12357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12358
12359 2013-04-29 Joseph Myers <joseph@codesourcery.com>
12360
12361 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
12362 of individual tests.
12363 (casin_test): Likewise.
12364 (casinh_test): Likewise.
12365
12366 2013-04-27 Joseph Myers <joseph@codesourcery.com>
12367
12368 [BZ #15409]
12369 * math/s_catan.c (__catan): Handle arguments with large real or
12370 imaginary part separately without squaring.
12371 * math/s_catanf.c (__catanf): Likewise.
12372 * math/s_catanh.c (__catanh): Likewise.
12373 * math/s_catanhf.c (__catanhf): Likewise.
12374 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12375 and redefine.
12376 (__catanhl): Handle arguments with large real or imaginary part
12377 separately without squaring.
12378 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12379 and redefine.
12380 (__catanl): Handle arguments with large real or imaginary part
12381 separately without squaring.
12382 * math/libm-test.inc (catan_test): Add more tests.
12383 (catanh_test): Likewise.
12384 * sysdeps/i386/fpu/libm-test-ulps: Update.
12385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12386
12387 2013-04-27 Andreas Jaeger <aj@suse.de>
12388
12389 [BZ #15007]
12390 * stdlib/stdlib.h: Update guards for qecvt.
12391 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
12392 <stdlib.h>.
12393
12394 2013-04-27 Allan McRae <allan@archlinux.org>
12395
12396 * sysdeps/i386/fpu/libm-test-ulps: Update.
12397
12398 2013-04-26 Joseph Myers <joseph@codesourcery.com>
12399
12400 [BZ #15406]
12401 * math/s_catan.c: Include <float.h>.
12402 (__catan): Ensure underflow exception occurs for underflowed
12403 result.
12404 * math/s_catanf.c: Include <float.h>.
12405 (__catanf): Ensure underflow exception occurs for underflowed
12406 result.
12407 * math/s_catanh.c: Include <float.h>.
12408 (__catanh): Ensure underflow exception occurs for underflowed
12409 result.
12410 * math/s_catanhf.c: Include <float.h>.
12411 (__catanhf): Ensure underflow exception occurs for underflowed
12412 result.
12413 * math/s_catanhl.c: Include <float.h>.
12414 (__catanhl): Ensure underflow exception occurs for underflowed
12415 result.
12416 * math/s_catanl.c: Include <float.h>.
12417 (__catanl): Ensure underflow exception occurs for underflowed
12418 result.
12419 * math/libm-test.inc (catan_test): Add more tests.
12420 (catanh_test): Likewise.
12421
12422 [BZ #15405]
12423 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
12424 underflowed result.
12425 * math/s_ccoshf.c (__ccoshf): Likewise.
12426 * math/s_ccoshl.c (__ccoshl): Likewise.
12427 * math/s_csin.c (__csin): Likewise.
12428 * math/s_csinf.c (__csinf): Likewise.
12429 * math/s_csinh.c (__csinh): Likewise.
12430 * math/s_csinhf.c (__csinhf): Likewise.
12431 * math/s_csinhl.c (__csinhl): Likewise.
12432 * math/s_csinl.c (__csinl): Likewise.
12433 * math/libm-test.inc (ccos_test): Add more tests.
12434 (ccosh_test): Likewise.
12435 (csin_test): Likewise.
12436 (csinh_test): Likewise.
12437
12438 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12439
12440 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
12441 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
12442 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
12443 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
12444 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
12445 powerpc/power5+/fpu folders.
12446 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
12447
12448
12449 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12450
12451 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12452
12453 2013-04-25 Joseph Myers <joseph@codesourcery.com>
12454
12455 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
12456 additions to variable.
12457 [$(config-machine) = x86_64] (modules-names): Likewise.
12458 ($(objpfx)tst-audit3): Remove dependency.
12459 ($(objpfx)tst-audit3.out): Likewise.
12460 ($(objpfx)tst-audit4): Likewise.
12461 ($(objpfx)tst-audit4.out): Likewise.
12462 ($(objpfx)tst-audit5): Likewise.
12463 ($(objpfx)tst-audit5.out): Likewise.
12464 ($(objpfx)tst-audit6): Likewise.
12465 ($(objpfx)tst-audit6.out): Likewise.
12466 ($(objpfx)tst-audit7): Likewise.
12467 ($(objpfx)tst-audit7.out): Likewise.
12468 (tst-audit3-ENV): Remove variable.
12469 (tst-audit4-ENV): Likewise.
12470 (tst-audit5-ENV): Likewise.
12471 (tst-audit6-ENV): Likewise.
12472 (tst-audit7-ENV): Likewise.
12473 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
12474 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
12475 addition to variable.
12476 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
12477 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
12478 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
12479 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
12480 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
12481 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
12482 tst-audit3, tst-audit4 and tst-audit5.
12483 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
12484 tst-audit6 and tst-audit7.
12485 [$(subdir) = elf] (modules-names): Add audit modules for those
12486 tests.
12487 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
12488 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
12489 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
12490 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
12491 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
12492 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
12493 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
12494 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
12495 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
12496 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
12497 [$(subdir) = elf] (tst-audit3-ENV): New variable.
12498 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
12499 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
12500 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
12501 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
12502 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
12503 Likewise.
12504 [$(subdir) = elf && $(config-cflags-avx) = yes]
12505 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
12506 [$(subdir) = elf && $(config-cflags-avx) = yes]
12507 (CFLAGS-tst-auditmod4a.c): Likewise.
12508 [$(subdir) = elf && $(config-cflags-avx) = yes]
12509 (CFLAGS-tst-auditmod4b.c): Likewise.
12510 [$(subdir) = elf && $(config-cflags-avx) = yes]
12511 (CFLAGS-tst-auditmod6b.c): Likewise.
12512 [$(subdir) = elf && $(config-cflags-avx) = yes]
12513 (CFLAGS-tst-auditmod6c.c): Likewise.
12514 [$(subdir) = elf && $(config-cflags-avx) = yes]
12515 (CFLAGS-tst-auditmod7b.c): Likewise.
12516 * elf/tst-audit3.c: Move to ...
12517 * sysdeps/x86_64/tst-audit3.c: ... here.
12518 * elf/tst-audit4.c: Move to ...
12519 * sysdeps/x86_64/tst-audit4.c: ... here.
12520 * elf/tst-audit5.c: Move to ...
12521 * sysdeps/x86_64/tst-audit5.c: ... here.
12522 * elf/tst-audit6.c: Move to ...
12523 * sysdeps/x86_64/tst-audit6.c: ... here.
12524 * elf/tst-audit7.c: Move to ...
12525 * sysdeps/x86_64/tst-audit7.c: ... here.
12526 * elf/tst-auditmod3a.c: Move to ...
12527 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
12528 * elf/tst-auditmod3b.c: Move to ...
12529 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
12530 * elf/tst-auditmod4a.c: Move to ...
12531 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
12532 * elf/tst-auditmod4b.c: Move to ...
12533 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
12534 * elf/tst-auditmod5a.c: Move to ...
12535 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
12536 * elf/tst-auditmod5b.c: Move to ...
12537 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
12538 * elf/tst-auditmod6a.c: Move to ...
12539 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
12540 * elf/tst-auditmod6b.c: Move to ...
12541 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
12542 * elf/tst-auditmod6c.c: Move to ...
12543 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
12544 * elf/tst-auditmod7a.c: Move to ...
12545 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
12546 * elf/tst-auditmod7b.c: Move to ...
12547 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
12548
12549 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
12550
12551 [BZ #15366]
12552 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
12553 define unconditionally.
12554 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
12555 define unconditionally.
12556 (INT8_C, INT16_C, etc.): Likewise.
12557
12558 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
12559
12560 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
12561 __ehdr_start with hidden visibility.
12562
12563 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
12564
12565 2013-04-24 Carlos O'Donell <carlos@redhat.com>
12566
12567 * math/libm-test.inc (cos_test): Use accurate hex constants.
12568 (sincost_test): Likewise.
12569
12570 2013-04-24 Joseph Myers <joseph@codesourcery.com>
12571
12572 * math/libm-test.inc (catan_test): Add more tests.
12573 (catanh_test): Likewise.
12574
12575 * math/s_catanf.c (__catanf): Use suffixed floating-point
12576 constants.
12577 * math/s_catanhf.c (__catanhf): Likewise.
12578 * math/s_catanhl.c (__catanhl): Likewise.
12579 * math/s_catanl.c (__catanl): Likewise.
12580
12581 [BZ #15394]
12582 * math/s_catan.c (__catan): Calculate imaginary part of result
12583 with log1p not log unless computing log of number close to 0.
12584 * math/s_catanf.c (__catanf): Likewise.
12585 * math/s_catanl.c (__catanl): Likewise.
12586 * math/s_catanh.c (__catanh): Calculate real part of result with
12587 log1p not log unless computing log of number close to 0.
12588 * math/s_catanhf.c (__catanhf): Likewise.
12589 * math/s_catanhl.c (__catanhl): Likewise.
12590 * math/libm-test.inc (catan_test): Add more tests.
12591 (catanh_test): Likewise.
12592 * sysdeps/i386/fpu/libm-test-ulps: Update.
12593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12594
12595 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12596
12597 * benchtests/Makefile: Mention files in which fast and slow
12598 paths of math functions are implemented.
12599
12600 2013-04-23 Roland McGrath <roland@hack.frob.com>
12601
12602 * sysdeps/posix/timespec_get.c: New file.
12603
12604 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12605
12606 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
12607 POWER.
12608 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
12609 for POWER.
12610 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
12611 powerpc/power5/fpu folders.
12612 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
12613 * benchtests/Makefile: Add modf testcase.
12614 * benchtests/bench-modf.c: New file: Benchmark test for mo
12615
12616 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12617
12618 [BZ #14888]
12619 * time/Makefile (tests): Add tst-strptime-whitespace.
12620 * time/strptime_l.c (get_number): Use ISSPACE.
12621 (__strptime_internal): Likewise.
12622 * time/tst-strptime-whitespace.c: New test case.
12623
12624 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
12625
12626 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
12627 member.
12628 (_nss_files_init): Set it here.
12629
12630 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
12631
12632 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
12633 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
12634 unsigned.
12635
12636 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
12637
12638 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
12639
12640 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12641
12642 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
12643 size just once.
12644
12645 2013-04-21 David S. Miller <davem@davemloft.net>
12646
12647 * po/ru.po: Update Russion translation from translation project.
12648
12649 2013-04-17 Adam Conrad <adconrad@0c3.net>
12650
12651 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
12652 and setfsgid.
12653
12654 2013-04-17 Carlos O'Donell <carlos@redhat.com>
12655
12656 * configure.in: Remove i386 configure warning. Remove i386 case.
12657 * configure: Regenerate.
12658 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
12659 Add example to error message.
12660 * sysdeps/i386/configure: Regenerate.
12661
12662 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12663
12664 * benchtests/Makefile (bench): Add cos, tan, slowcos and
12665 slowtan.
12666 * benchtests/cos-inputs: New file.
12667 * benchtests/slowcos-inputs: New file.
12668 * benchtests/slowcos.c: New file.
12669 * benchtests/slowtan-inputs: New file.
12670 * benchtests/slowtan.c: New file.
12671 * benchtests/tan-inputs: New file.
12672
12673 2013-04-16 Roland McGrath <roland@hack.frob.com>
12674
12675 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
12676 considered kosher.
12677
12678 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12679
12680 * benchtests/Makefile: Include cppflags-iterator.mk to add
12681 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
12682
12683 * Makefile.in (bench-clean): New target.
12684 * benchtests/Makefile (bench-clean): Likewise.
12685
12686 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
12687
12688 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
12689
12690 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
12691
12692 * stdio-common/tstdiomisc.c: Fix coding-style violation.
12693
12694 2013-04-15 Andreas Schwab <schwab@suse.de>
12695
12696 * nscd/grpcache.c (cache_addgr): Properly check for short write.
12697 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12698 * nscd/pwdcache.c (cache_addpw): Likewise.
12699 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
12700 more than recsize.
12701
12702 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12703
12704 * benchtests/Makefile (bench): Write all output to
12705 bench-out.tmp together.
12706
12707 2013-04-15 Andreas Schwab <schwab@suse.de>
12708
12709 * nscd/nscd.c (main): Don't fork again after closing files.
12710
12711 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12712
12713 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
12714
12715 * benchtests/Rules (bench-deps): Collect dependencies into a
12716 single variable. Add Makefile to dependencies.
12717 ($(objpfx)bench-%.c): Depend on bench-deps.
12718
12719 2013-04-12 Roland McGrath <roland@hack.frob.com>
12720 Xavier Roche <roche+kml2@exalead.com>
12721
12722 [BZ #15361]
12723 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
12724 just that it's a file descriptor.
12725 * manual/llio.texi (Synchronizing AIO Operations): Update description
12726 for EBADF error from aio_fsync.
12727
12728 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12729
12730 * Rules (bench): Move target definition...
12731 * benchtests/Makefile: ... here.
12732
12733 2013-04-11 Carlos O'Donell <carlos@redhat.com>
12734
12735 * math/libm-test.inc (cos_test): Fix PI/2 test.
12736 (sincos_test): Likewise.
12737 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12738 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
12739
12740 2013-04-11 Andreas Schwab <schwab@suse.de>
12741
12742 [BZ #13988]
12743 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
12744 accept exponent character only when digits were seen.
12745 * stdio-common/Makefile (tests): Add bug26.
12746 * stdio-common/bug26.c: New file.
12747
12748 [BZ #14293]
12749 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
12750 non-freeable.
12751
12752 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12753
12754 * Makeconfig (rtld-prefix): Define built linker prefix.
12755 * Rules (run-bench): Use it.
12756 * math/Makefile (run-regen-ulps): Likewise.
12757
12758 * Rules (bench): Remove eval.
12759
12760 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12761 Roland McGrath <roland@hack.frob.com>
12762 Ondrej Bilka <neleai@seznam.cz>
12763
12764 [BZ #15346]
12765 * time/getdate.c: Include ctype.h and alloca.h.
12766 (__getdate_r): Trim leading and trailing spaces of input.
12767 * time/tst-getdate.c (tests): Add tests with leading and
12768 trailing spaces.
12769
12770 2013-04-08 Roland McGrath <roland@hack.frob.com>
12771
12772 [BZ #14280]
12773 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
12774 when computing value.
12775
12776 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12777
12778 * math/README.libm-test (How can I generate "libm-test-ulps"?):
12779 Use testrun.sh to run libm tests.
12780
12781 [BZ #15309]
12782 * elf/dl-open.c (dl_open_worker): memset all of seen array.
12783
12784 2013-04-06 Marko Myllynen <myllynen@redhat.com>
12785
12786 [BZ #15264]
12787 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
12788
12789 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12790
12791 * Makefile.in (regen-ulps): New target.
12792 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
12793 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
12794 [ifneq (no,$(PERL)] (regen-ulps): New target.
12795 [ifeq (no,$(PERL)] (regen-ulps): New target.
12796 * math/libm-test.inc (ulps_file_name): Define.
12797 (output_dir): New variable.
12798 (options): Add "output-dir" option.
12799 (parse_opt): Handle 'o' case.
12800 (main): If output_dir is non-NULL use it as a prefix
12801 otherwise use "".
12802 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
12803
12804 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12805
12806 [BZ #10060, #10062]
12807 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
12808 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
12809 fail configure if __sync_val_compare_and_swap is not inlined.
12810 * sysdeps/i386/configure: Regenerate.
12811 * configure.in: Build for i686 when configured for i386.
12812 * configure: Regenerate.
12813 * README: Remove i386 reference.
12814
12815 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12816
12817 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
12818 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12819
12820 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
12821
12822 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
12823 (lmsnanval): New variables.
12824 (F): Add conversion tests.
12825 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
12826 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
12827
12828 * stdio-common/tstdiomisc.c (F): Properly collect individual
12829 tests' results.
12830
12831 [BZ #14686, #15336]
12832 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
12833 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
12834 Instead, use input NaN values or generate a qNaN by arithmetic
12835 operation. Also fix bugs to comply with the standard.
12836 * math/libm-test.inc (remainder_test): Add more tests.
12837
12838 [BZ #15335, #15342]
12839 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
12840 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
12841 input NaN values or generate a qNaN by arithmetic operation.
12842
12843 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
12844 unreachable code.
12845
12846 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
12847 definitions.
12848
12849 2013-04-03 Joseph Myers <joseph@codesourcery.com>
12850
12851 [BZ #14478]
12852 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
12853 underflowed result.
12854 * math/s_cexpf.c (__cexpf): Likewise.
12855 * math/s_cexpl.c (__cexpl): Likewise.
12856 * math/libm-test.inc (cexp_test): Add more tests.
12857
12858 2013-04-03 Andreas Schwab <schwab@suse.de>
12859
12860 [BZ #15330]
12861 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
12862 order arrays from heap if bigger than alloca cutoff.
12863
12864 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
12865
12866 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
12867 (SNAN_TESTS_double): Refer to GCC PR56831.
12868 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
12869 GCC PR56828.
12870
12871 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12872
12873 * Rules (bench): Move bench.out after the run is complete.
12874
12875 * Rules (bench): Echo currently running benchmark.
12876
12877 * benchtests/Makefile (bench): Add atan and slowatan.
12878 * benchtests/atan-inputs: New file.
12879 * benchtests/slowatan-inputs: New file.
12880 * benchtests/slowatan.c: New file.
12881
12882 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
12883 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
12884 its value.
12885
12886 [BZ #15305]
12887 * sysdeps/unix/sysv/linux/kernel-features.h
12888 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
12889 __ASSUME_XFS_RESTRICTED_CHOWN.
12890 * sysdeps/unix/sysv/linux/pathconf.c
12891 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12892 Save and restore errno.
12893
12894 2013-04-02 Joseph Myers <joseph@codesourcery.com>
12895
12896 [BZ #15327]
12897 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
12898 arguments using __kernel_casinh.
12899 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
12900 arguments using __kernel_casinhf.
12901 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
12902 arguments using __kernel_casinhl.
12903 * math/libm-test.inc (cacosh_test): Add more tests.
12904 * sysdeps/i386/fpu/libm-test-ulps: Update.
12905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12906
12907 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12908
12909 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
12910 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
12911
12912 * bench/Makefile (bench): Add sin and slowsin.
12913 * benchtests/sin-inputs: New file.
12914 * benchtests/slowsin-inputs: New file.
12915 * benchtests/slowsin.c: New file.
12916
12917 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
12918 (bench): Add slowexp and slowpow.
12919 (exp-ITER): Increase iterations.
12920 (pow-ITER): Likewise.
12921 * benchtests/exp-inputs: Change input.
12922 * benchtests/pow-inputs: Likewise.
12923 * benchtests/slowexp-inputs: New file.
12924 * benchtests/slowexp.c: New file.
12925 * benchtests/slowpow-inputs: New file.
12926 * benchtests/slowpow.c: New file.
12927
12928 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12929
12930 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
12931 instructions.
12932 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12933 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
12934 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12935 * benchtests/Makefile: Add rint benchtest.
12936 * benchtests/rint-inputs: Input for rint benchtest.
12937
12938 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
12939
12940 * Versions.def (libm): Add GLIBC_2.18.
12941 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
12942 hidden libm prototypes.
12943 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
12944 * math/Makefile (libm-calls): Add s_issignaling.
12945 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
12946 __issignalingf, __issignalingl. Adjust all libm.abilist files.
12947 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
12948 declaration.
12949 * math/math.h [__USE_GNU] (issignaling): New macro.
12950 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
12951 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
12952 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
12953 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
12954 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
12955 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
12956 * manual/arith.texi (issignaling): New section.
12957 * manual/libm-err-tab.pl (@all_functions): Update comment.
12958 * math/gen-libm-test.pl (parse_args): Apply special handling for
12959 issignaling.
12960 * math/libm-test.inc (print_float, issignaling_test): New
12961 functions.
12962 (check_float_internal): Add issignaling checks.
12963 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
12964 default definition.
12965 * sysdeps/powerpc/math-tests.h: New file.
12966 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
12967 tests.
12968 * math/test-snan.c (TEST_FUNC): Likewise.
12969
12970 2013-03-30 David S. Miller <davem@davemloft.net>
12971
12972 * po/de.po: Update from translation team.
12973
12974 2013-03-30 Joseph Myers <joseph@codesourcery.com>
12975
12976 [BZ #10357]
12977 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12978 imaginary part less than 1.0 and real part less than 0.5
12979 specially.
12980 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12981 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12982 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
12983 (cacos_test): Add more tests.
12984 (casin_test): Likewise.
12985 (casinh_test): Likewise.
12986 * sysdeps/i386/fpu/libm-test-ulps: Update.
12987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12988
12989 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12990
12991 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
12992 ONE with its value.
12993
12994 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
12995 (__pow_mp): Replace ONE and MONE with their values.
12996 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12997 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
12998 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12999 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
13000 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
13001 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13002
13003 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
13004
13005 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
13006 (__pow_mp): Replace ZERO and MZERO with their values.
13007 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
13008 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13009 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13010 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13011 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
13012 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
13013 (__sqr): Likewise.
13014
13015 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
13016
13017 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
13018
13019 2013-03-28 Roland McGrath <roland@hack.frob.com>
13020
13021 * include/stdlib.h [!SHARED] (__call_tls_dtors):
13022 Declare with __attribute__ ((weak)).
13023 * stdlib/exit.c (__libc_atexit) [!SHARED]:
13024 Call __call_tls_dtors only if it's not NULL.
13025
13026 2013-03-28 Roland McGrath <roland@hack.frob.com>
13027
13028 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
13029 didn't do it already, then set _dl_phdr and _dl_phnum based on the
13030 magic __ehdr_start linker symbol if it's defined.
13031 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
13032 them up here if it was already done.
13033
13034 * elf/dl-support.c (_dl_phdr): Make pointer to const.
13035 (_dl_aux_init): Use const in cast when setting it.
13036 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
13037 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
13038 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
13039
13040 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
13041 Declare them here.
13042 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
13043 * csu/libc-tls.c: Nor here.
13044 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
13045
13046 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
13047 (__libc_message): Never call vsyslog.
13048
13049 2013-03-28 Alan Modra <amodra@gmail.com>
13050
13051 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
13052 Define as empty.
13053 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
13054 Likewise.
13055
13056 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13057
13058 [BZ #15214]
13059 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
13060 underflow.
13061 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13062
13063 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13064
13065 [BZ #15304]
13066 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
13067 Don't add gid passed as argument.
13068
13069 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
13070
13071 2013-03-27 Joseph Myers <joseph@codesourcery.com>
13072
13073 [BZ #15307]
13074 * math/k_casinh.c (__kernel_casinh): Handle arguments with
13075 imaginary part between 1.0 and 1.5 and real part less than 0.5
13076 specially.
13077 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13078 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13079 * math/libm-test.inc (cacos_test): Add more tests.
13080 (casin_test): Likewise.
13081 (casinh_test): Likewise.
13082 * sysdeps/i386/fpu/libm-test-ulps: Update.
13083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13084
13085 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13086
13087 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
13088 constants.
13089 (norm): Likewise.
13090 (denorm): Likewise.
13091 (__dbl_mp): Likewise.
13092 (add_magnitudes): Likewise.
13093 (sub_magnitudes): Likewise.
13094 (__add): Likewise.
13095 (__sub): Likewise.
13096 (__mul): Likewise.
13097 (__sqr): Likewise.
13098 (__inv): Likewise.
13099 (__dvd): Likewise.
13100
13101 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
13102 commented code.
13103 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
13104 (__dubcos): Likewise.
13105 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
13106 (__ieee754_acos): Likewise.
13107 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
13108 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
13109 (__exp1): Likewise.
13110 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13111 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13112 (log1): Likewise.
13113 (my_log2): Likewise.
13114 (checkint): Likewise.
13115 * sysdeps/ieee754/dbl-64/e_remainder.c
13116 (__ieee754_remainder): Likewise.
13117 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
13118 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
13119 (bsloww): Likewise.
13120 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13121
13122 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
13123 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
13124 MANTISSA_STORE_T to store computations on mantissa. Use
13125 macros for rounding and division.
13126 (denorm): Likewise.
13127 (__dbl_mp): Likewise.
13128 (add_magnitudes): Likewise.
13129 (sub_magnitudes): Likewise.
13130 (__mul): Likewise.
13131 (__sqr): Likewise.
13132 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
13133 powers of two in terms of TWOPOW macro.
13134 (mp_no): Make type of mantissa as MANTISSA_T.
13135 [!RADIXI]: Define RADIXI.
13136 [!TWO52]: Define TWO52.
13137 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
13138
13139 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13140
13141 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
13142 llroundl symbol when building for PPC32.
13143
13144 2013-03-24 Mark H Weaver <mhw@netris.org>
13145
13146 * manual/arith.texi (Normalization Functions): Fix prototypes for
13147 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
13148
13149 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13150
13151 [BZ #13889]
13152 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
13153 high value to check if expl overflow.
13154 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
13155 to check for underflow and overflow.
13156 * math/libm-test.inc: Add exp test.
13157
13158 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
13159
13160 [BZ #11120]
13161 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
13162 with NOT_IN_libc.
13163
13164 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13165
13166 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
13167 symbol.
13168
13169 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
13170
13171 * math/gen-libm-test.pl (parse_args, special_functions): Properly
13172 wrap blocks consisting of several statements.
13173
13174 * sysdeps/generic/math-tests.h: New file.
13175 * sysdeps/i386/fpu/math-tests.h: Likewise.
13176 * math/test-snan.c: Include it.
13177 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
13178
13179 2013-03-21 Joseph Myers <joseph@codesourcery.com>
13180
13181 [BZ #15285]
13182 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
13183 (__ieee754_j0l): Do not improve calculations using cos of twice
13184 input for inputs above LDBL_MAX / 2.0L.
13185 (__ieee754_y0l): Likewise.
13186 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
13187 (__ieee754_j1l): Do not improve calculations using cos of twice
13188 input for inputs above LDBL_MAX / 2.0L.
13189 (__ieee754_y1l): Likewise.
13190 * math/libm-test.inc (j0_test): Add another test.
13191 (j1_test): Likewise.
13192 (y0_test): Likewise.
13193 (y1_test): Likewise.
13194 * sysdeps/i386/fpu/libm-test-ulps: Update.
13195
13196 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13197
13198 * Rules ($(objpfx)bench-%.c): Include code from a C source
13199 file.
13200
13201 2013-03-21 Joseph Myers <joseph@codesourcery.com>
13202
13203 [BZ #15287]
13204 * math/k_casinh.c (__kernel_casinh): Handle arguments with
13205 imaginary part 1.0 and real part less than 0.5 specially.
13206 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13207 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13208 * math/libm-test.inc (cacos_test): Add more tests.
13209 (casin_test): Likewise.
13210 (casinh_test): Likewise.
13211 * sysdeps/i386/fpu/libm-test-ulps: Update.
13212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13213
13214 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13215
13216 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
13217 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
13218
13219 2013-03-20 Joseph Myers <joseph@codesourcery.com>
13220
13221 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
13222 * config.make.in (config-cflags-sse4): Remove variable.
13223 (config-cflags-avx): Likewise.
13224 (config-cflags-sse2avx): Likewise.
13225 (config-cflags-novzeroupper): Likewise.
13226 (config-asflags-i686): Likewise.
13227 (have-mfma4): Likewise.
13228 (have-as-vis3): Likewise.
13229 (MIG): Likewise.
13230 * configure.in (MIG): Do not AC_SUBST.
13231 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
13232 (libc_cv_cc_sse4): Do not AC_SUBST.
13233 (libc_cv_cc_avx): Likewise.
13234 (libc_cv_cc_sse2avx): Likewise.
13235 (libc_cv_cc_novzeroupper): Likewise.
13236 (libc_cv_cc_fma4): Likewise.
13237 (libc_cv_as_i686): Likewise.
13238 (libc_cv_sparc_as_vis3): Likewise.
13239 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
13240 LIBC_CONFIG_VAR.
13241 (config-asflags-i686): Likewise.
13242 (config-cflags-avx): Likewise.
13243 (config-cflags-sse2avx): Likewise.
13244 (have-mfma4): Likewise.
13245 (config-cflags-novzeroupper): Likewise.
13246 * sysdeps/mach/configure.in (MIG): Likewise.
13247 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
13248 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
13249 LIBC_CONFIG_VAR.
13250 (config-cflags-avx): Likewise.
13251 (config-cflags-sse2avx): Likewise.
13252 (have-mfma4): Likewise.
13253 (config-cflags-novzeroupper): Likewise.
13254 * configure: Regenerated.
13255 * sysdeps/i386/configure: Likewise.
13256 * sysdeps/mach/configure: Likewise.
13257 * sysdeps/sparc/configure: Likewise.
13258 * sysdeps/x86_64/configure: Likewise.
13259
13260 2013-03-20 Roland McGrath <roland@hack.frob.com>
13261
13262 [BZ #14812]
13263 * locale/programs/localedef.c (options): Put N_ translation marker
13264 on argument names, not just descriptions.
13265
13266 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13267
13268 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
13269
13270 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
13271
13272 [BZ #14176]
13273 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
13274
13275 2013-03-19 Roland McGrath <roland@hack.frob.com>
13276
13277 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
13278 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
13279 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
13280 [!BEFORE_ABORT] (before_abort): New function.
13281 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
13282 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
13283 (writev_for_fatal): New function.
13284 (WRITEV_FOR_FATAL): New macro; call that.
13285 (backtrace_and_maps): New function.
13286 (BEFORE_ABORT): New macro; call that.
13287 (struct str_list): Type removed.
13288 (__libc_message, __libc_fatal): Functions removed.
13289 Include <sysdeps/posix/libc_fatal.c> instead.
13290
13291 2013-03-19 Joseph Myers <joseph@codesourcery.com>
13292
13293 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
13294 constants.
13295 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
13296 double constants.
13297
13298 2013-03-19 Andreas Schwab <schwab@suse.de>
13299
13300 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
13301 * sysdeps/gnu/configure: Regenerate.
13302
13303 * configure.in: Substitute libc_cv_rtlddir.
13304 * configure: Regenerate.
13305 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
13306 * Makeconfig (rtlddir, inst_rtlddir): New variables.
13307 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
13308 * elf/Makefile (install-others, CFLAGS-interp.c)
13309 (ldso_install, common-ldd-rewrite): Likewise.
13310 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
13311 $(inst_slibdir)/$(rtld-installed-name).
13312 * scripts/rellns-sh: Add -p option.
13313 * Makerules (make-shlib-link): Use rellns-sh to get relative name
13314 for source.
13315
13316 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13317
13318 * manual/nptl.texi: Renamed to ...
13319 * manual/threads.texi: ... this.
13320 * manual/Makefile (chapters): Update.
13321
13322 2013-03-18 Roland McGrath <roland@hack.frob.com>
13323
13324 [BZ #14812]
13325 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
13326 on argument names, not just descriptions.
13327 * malloc/memusagestat.c (options): Likewise.
13328 * nss/getent.c (options): Likewise.
13329
13330 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
13331
13332 [BZ #14812]
13333 * iconv/iconv_prog.c (options): Put N_ translation marker
13334 on argument names, not just descriptions.
13335 * iconv/iconvconfig.c (options): Likewise.
13336
13337 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
13338
13339 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
13340 implementation which is faster on all x86_64 architectures.
13341 Tested on AMD, Intel Nehalem, SNB, IVB.
13342 * sysdeps/x86_64/strnlen.S: Likewise.
13343
13344 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13345 Remove all multiarch strlen and strnlen versions.
13346 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13347 Remove strlen and strnlen related parts.
13348
13349 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
13350 Inline strlen part.
13351 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
13352
13353 * sysdeps/x86_64/multiarch/strlen.S: Remove.
13354 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
13355 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
13356 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
13357 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13358 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
13359
13360 2013-03-17 Carlos O'Donell <carlos@redhat.com>
13361
13362 * manual/memory.texi (Malloc Tunable Parameters):
13363 Sort parameters alphabetically. Add comments for missing entries.
13364
13365 2013-03-17 David S. Miller <davem@davemloft.net>
13366
13367 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13368
13369 2013-03-16 Joseph Myers <joseph@codesourcery.com>
13370
13371 [BZ #15283]
13372 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
13373 for arguments at most half maximum finite value.
13374 * math/libm-test.inc (j0_test): Add more tests.
13375 (j1_test): Likewise.
13376 (y0_test): Likewise.
13377 (y1_test): Likewise.
13378 * sysdeps/i386/fpu/libm-test-ulps: Update.
13379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13380
13381 [BZ #14155]
13382 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
13383 1 / x and functions P and Q for arguments above 0x1p256L.
13384 (__ieee754_y0l): Likewise.
13385 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13386 (__ieee754_y1l): Likewise.
13387 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
13388 (j1_test): Likewise.
13389 (y0_test): Likewise.
13390 (y1_test): Likewise.
13391
13392 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
13393
13394 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
13395 variable.
13396
13397 2013-03-15 Roland McGrath <roland@hack.frob.com>
13398
13399 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
13400 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
13401 zero since it's initialized to EXEC_PAGESIZE.
13402
13403 * sysdeps/unix/sysv/linux/ldsodefs.h
13404 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
13405 * sysdeps/generic/ldsodefs.h: ... here.
13406
13407 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
13408
13409 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
13410
13411 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
13412 math/test-snan.c.
13413 * math/test-snan.c: Renamed from
13414 sysdeps/powerpc/fpu/test-powerpc-snan.c.
13415 * math/Makefile (tests): Add test-snan.
13416 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
13417 test-powerpc-snan.
13418
13419 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
13420 SUFFIX. Initialize qNaN_var with __builtin_nan family of
13421 functions.
13422 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
13423 __builtin_nan family of functions.
13424 * math/libm-test.inc (initialize): Initialize qnan_value with
13425 __builtin_nan family of functions.
13426 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
13427 Remove variables.
13428 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
13429 Remove functions.
13430 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
13431 storage class. Initialize qNaN_var and sNaN_var with
13432 __builtin_nan and __builtin_nans families of functions,
13433 respectively.
13434
13435 * math/libm-test.inc (acosh_test): Also test with qNaN input.
13436 (sqrt_test): Remove duplicate test with qNaN input.
13437 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
13438 (round_test, signbit_test, significand_test): Note missing +/-Inf
13439 as well as qNaN tests.
13440
13441 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
13442 qNaN_var. Fix a few strings, too.
13443 * math/libm-test.inc (nan_value): Rename to qnan_value.
13444 * math/gen-libm-test.pl (%beautify): Adjust to that.
13445 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
13446 * math/test-misc.c (main): Likewise.
13447 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
13448 to __qnan_bytes, and __qnan_union, respectively.
13449 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
13450 Likewise.
13451 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
13452 and lqnanval, respectively.
13453 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
13454 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
13455 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
13456 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
13457
13458 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
13459 * math/test-misc.c (main) [__x86_64__]: Enable test for long
13460 doubles.
13461
13462 * math/test-misc.c (main): Fix copy'n'pastos.
13463 * misc/tst-efgcvt.c (special): Likewise.
13464
13465 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
13466 Remove declarations.
13467
13468 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13469
13470 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
13471 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
13472 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
13473 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
13474
13475 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13476
13477 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
13478 macro to return vdso values correctly in IFUNC implementations.
13479 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13480 Optimization by using IFUNC.
13481
13482 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13483 Richard Henderson <rth@redhat.com>
13484 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13485
13486 * Makefile.in (bench): New target.
13487 * NEWS: Mention the benchmark framework.
13488 * Rules (bench): Likewise.
13489 (binaries-bench): Generate binaries for functions to
13490 benchmark.
13491 * benchtests/Makefile: New makefile for benchmark tests.
13492 * benchtests/bench-skeleton.c: New skeleton file for benchmark
13493 programs.
13494 * benchtests/exp-inputs: New input file for EXP function.
13495 * benchtests/pow-inputs: New input file for POW function.
13496 * scripts/bench.pl: New script to generate source files for
13497 benchmark programs.
13498
13499 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13500
13501 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
13502 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
13503 computations on mantissa. Use macros for rounding and
13504 division.
13505 (denorm): Likewise.
13506 (__dbl_mp): Likewise.
13507 (add_magnitudes): Likewise.
13508 (sub_magnitudes): Likewise.
13509 (__mul): Likewise.
13510 (__sqr): Likewise.
13511 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
13512 powers of two in terms of TWOPOW macro.
13513 (mp_no): Make type of mantissa as MANTISSA_T.
13514 [!RADIXI]: Define RADIXI.
13515 [!TWO52]: Define TWO52.
13516 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
13517
13518 * manual/nptl.texi (cindex): Modify threads to pthreads.
13519
13520 2013-03-15 Joseph Myers <joseph@codesourcery.com>
13521
13522 * sysdeps/x86_64/preconfigure: Regenerated.
13523
13524 2013-03-14 Joseph Myers <joseph@codesourcery.com>
13525
13526 [BZ #14155]
13527 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
13528 0x1p28 and above.
13529 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
13530 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
13531 0x1p28 and above.
13532 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
13533 * math/libm-test.inc (j0_test): Do not allow one spurious
13534 underflow exception.
13535 (y1_test): Likewise.
13536
13537 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13538
13539 * manual/Makefile (chapters): Add nptl.
13540 * manual/debug.texi (Debugging Support): Add link to Threads
13541 chapter.
13542 * manual/nptl.texi: New file.
13543
13544 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
13545
13546 2013-03-14 Petr Baudis <pasky@ucw.cz>
13547
13548 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
13549 for non-NULL pointer before the memory validity test. Pointed
13550 out by Holger Brunck <holger.brunck@keymile.com>.
13551
13552 2013-03-13 Andreas Schwab <schwab@suse.de>
13553
13554 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
13555 instead of .os.
13556
13557 2013-03-13 Joseph Myers <joseph@codesourcery.com>
13558
13559 * timezone/zic.c: Update from tzcode 2013b.
13560
13561 2013-03-12 Carlos O'Donell <carlos@redhat.com>
13562
13563 * manual/install.texi (Configuring and compiling):
13564 Mention i686 and i586.
13565 * INSTALL: Regenerate.
13566
13567 2013-03-12 Roland McGrath <roland@hack.frob.com>
13568
13569 * sysdeps/init_array/elf-init.c: New file.
13570 * csu/elf-init.c
13571 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
13572 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
13573
13574 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
13575 __gmon_start__ as global, but as static with a .preinit_array pointer.
13576 * sysdeps/init_array/gmon-start.c: New file. Use that.
13577 * sysdeps/init_array/crti.S: New file, empty except for comments.
13578 * sysdeps/init_array/crtn.S: Likewise.
13579
13580 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
13581
13582 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
13583 definining bcopy.
13584 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13585 Remove Prefer_SSE_for_memop.
13586 * sysdeps/x86_64/multiarch/init-arch.h: Remove
13587 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
13588 HAS_PREFER_SSE_FOR_MEMOP.
13589 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13590 memset-x86-64.
13591 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13592 Remove bzero, memset ifunc support.
13593 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
13594 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
13595 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13596 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13597
13598 2013-03-11 Andreas Schwab <schwab@suse.de>
13599
13600 [BZ #15234]
13601 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
13602 by SHLIB_COMPAT.
13603 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
13604 (GLIBC_2.16): Remove pthread_atfork.
13605
13606 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
13607
13608 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
13609 (ptestcases.h): Likewise.
13610
13611 2013-03-08 Roland McGrath <roland@hack.frob.com>
13612
13613 * Makeconfig ($(common-objpfx)config.status): Depend on
13614 sysdeps/*/preconfigure{,.in} too.
13615
13616 2013-03-08 Joseph Myers <joseph@codesourcery.com>
13617
13618 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
13619 (__free_hook): Use void * instead of __malloc_ptr_t.
13620 (__malloc_hook): Likewise.
13621 (__realloc_hook): Likewise.
13622 (__memalign_hook): Likewise.
13623 (__after_morecore_hook): Likewise.
13624 * malloc/arena.c (save_malloc_hook): Likewise.
13625 (save_free_hook): Likewise.
13626 * malloc/hooks.c (malloc_hook_ini): Likewise.
13627 (realloc_hook_ini): Likewise.
13628 (memalign_hook_ini): Likewise.
13629 * malloc/malloc.c (malloc_hook_ini): Likewise.
13630 (realloc_hook_ini): Likewise.
13631 (memalign_hook_ini): Likewise.
13632 (__free_hook): Likewise.
13633 (__malloc_hook): Likewise.
13634 (__realloc_hook): Likewise.
13635 (__memalign_hook): Likewise.
13636 (__libc_malloc): Likewise.
13637 (__libc_free): Likewise.
13638 (__libc_realloc): Likewise.
13639 (__libc_memalign): Likewise.
13640 (__libc_valloc): Likewise.
13641 (__libc_pvalloc): Likewise.
13642 (__libc_calloc): Likewise.
13643 (__posix_memalign): Likewise.
13644 * malloc/morecore.c (__sbrk): Likewise.
13645 (__default_morecore): Likewise.
13646
13647 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
13648
13649 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
13650 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
13651 __malloc_ptrdiff_t.
13652
13653 * malloc/malloc.h (__malloc_size_t): Remove macro.
13654 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
13655 __malloc_size_t.
13656 (old_memalign_hook): Likewise.
13657 (old_realloc_hook): Likewise.
13658 (struct hdr): Likewise.
13659 (flood): Likewise.
13660 (mallochook): Likewise.
13661 (memalignhook): Likewise.
13662 (reallochook): Likewise.
13663 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
13664 (tr_old_realloc_hook): Likewise.
13665 (tr_old_memalign_hook): Likewise.
13666 (tr_mallochook): Likewise.
13667 (tr_reallochook): Likewise.
13668 (tr_memalignhook): Likewise.
13669
13670 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13671
13672 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
13673 default_ldbl_pack and using as default implementation.
13674 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
13675 implementation.
13676 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
13677 redundant definition.
13678 (ldbl_insert_mantissa): Likewise.
13679 (ldbl_canonicalize): Likewise.
13680 (ldbl_nearbyint): Likewise.
13681 (ldbl_pack): Rename to ldbl_pack_ppc.
13682 (ldbl_unpack): Rename to ldbl_unpack_ppc.
13683 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
13684 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
13685
13686 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13687
13688 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
13689 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
13690 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
13691 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
13692 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
13693 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
13694 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
13695 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
13696
13697 2013-03-07 Andreas Jaeger <aj@suse.de>
13698
13699 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13700 bits/mman-linux.h.
13701
13702 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13703
13704 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
13705 Include mpa.h and declare __MPEXP.
13706 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
13707 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13708 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13709 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
13710 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13711 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13712 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
13713
13714 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
13715 (__slowpow): Use long double EXPL and LOGL functions to
13716 compute POW.
13717 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13718 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13719 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
13720 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13721 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13722 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
13723
13724 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
13725 intermediate variable to calculate exponent.
13726 (__sqr): Likewise.
13727 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13728 Likewise.
13729 (__sqr): Likewise.
13730
13731 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
13732 [!NO__SQR]: Define __sqr.
13733 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
13734 and NO__SQR. Remove all code except __mul and __sqr. Include
13735 sysdeps/ieee754/dbl-64/mpa.c.
13736 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13737
13738 [BZ #12723]
13739 * posix/Makefile (tests): Add tst-pathconf.
13740 * posix/tst-pathconf.c: New test case.
13741 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
13742 _PC_PIPE_BUF.
13743 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
13744
13745 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
13746
13747 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
13748
13749 2013-03-06 Andreas Jaeger <aj@suse.de>
13750
13751 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
13752 definition via __MAP_ANONYMOUS.
13753
13754 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
13755 it's not part of Linux headers.
13756
13757 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
13758 (MAP_HUGE_MASK): Define.
13759
13760 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13761 Define.
13762 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13763 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13764 Define.
13765 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13766 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13767 Define.
13768 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13769 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
13770 Define.
13771 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13772
13773 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
13774 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
13775 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
13776 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
13777 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
13778 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
13779
13780 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13781 Handle f2fs.
13782
13783 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13784 Handle f2fs and efivarfs.
13785
13786 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
13787 f2fs.
13788
13789 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
13790 (EFIVARFS_MAGIC): Add.
13791 (F2FS_LINK_MAX): Add.
13792
13793 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13794
13795 * stdio-common/vfprintf.c: Replace __builtin_expect with
13796 __glibc_unlikely.
13797
13798 2013-03-06 Joseph Myers <joseph@codesourcery.com>
13799
13800 [BZ #13550]
13801 * sysdeps/generic/bp-sym.h: Remove file.
13802 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
13803 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
13804 <bp-sym.h> and <bp-asm.h>.
13805 (__longjmp): Don't use BP_SYM.
13806 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
13807 and <bp-asm.h>.
13808 (memcpy): Don't use BP_SYM.
13809 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
13810 <bp-sym.h> and <bp-asm.h>.
13811 (memcpy): Don't use BP_SYM.
13812 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
13813 <bp-asm.h>.
13814 (memcpy): Don't use BP_SYM.
13815 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
13816 <bp-asm.h>.
13817 (memset): Don't use BP_SYM.
13818 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13819 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13820 (__bzero): Don't use BP_SYM.
13821 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13822 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13823 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
13824 <bp-sym.h> and <bp-asm.h>.
13825 (memcmp): Don't use BP_SYM. Remove comment about bounded
13826 pointers.
13827 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
13828 <bp-sym.h> and <bp-asm.h>.
13829 (memcpy): Don't use BP_SYM.
13830 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
13831 <bp-sym.h> and <bp-asm.h>.
13832 (memset): Don't use BP_SYM.
13833 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13834 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13835 (__bzero): Don't use BP_SYM.
13836 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13837 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13838 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
13839 <bp-sym.h> and <bp-asm.h>.
13840 (strncmp): Don't use BP_SYM. Remove comment about bounded
13841 pointers.
13842 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
13843 <bp-sym.h> and <bp-asm.h>.
13844 (memcpy): Don't use BP_SYM.
13845 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
13846 <bp-sym.h> and <bp-asm.h>.
13847 (memset): Don't use BP_SYM.
13848 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13849 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13850 (__bzero): Don't use BP_SYM.
13851 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13852 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13853 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
13854 <bp-sym.h> and <bp-asm.h>.
13855 (__memchr): Don't use BP_SYM.
13856 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
13857 <bp-sym.h> and <bp-asm.h>.
13858 (memcmp): Don't use BP_SYM. Remove comment about bounded
13859 pointers.
13860 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
13861 <bp-sym.h> and <bp-asm.h>.
13862 (memcpy): Don't use BP_SYM.
13863 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
13864 <bp-sym.h> and <bp-asm.h>.
13865 (__mempcpy): Don't use BP_SYM.
13866 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
13867 <bp-sym.h> and <bp-asm.h>.
13868 (__memrchr): Don't use BP_SYM.
13869 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
13870 <bp-sym.h> and <bp-asm.h>.
13871 (memset): Don't use BP_SYM.
13872 (__bzero): Likewise.
13873 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
13874 <bp-sym.h> and <bp-asm.h>.
13875 (__rawmemchr): Don't use BP_SYM.
13876 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
13877 <bp-sym.h> and <bp-asm.h>.
13878 (__STRCMP): Don't use BP_SYM.
13879 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
13880 <bp-sym.h> and <bp-asm.h>.
13881 (strchr): Don't use BP_SYM.
13882 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
13883 <bp-sym.h> and <bp-asm.h>.
13884 (__strchrnul): Don't use BP_SYM.
13885 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
13886 <bp-sym.h> and <bp-asm.h>.
13887 (strlen): Don't use BP_SYM.
13888 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
13889 <bp-sym.h> and <bp-asm.h>.
13890 (strncmp): Don't use BP_SYM. Remove comment about bounded
13891 pointers.
13892 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
13893 <bp-sym.h> and <bp-asm.h>.
13894 (__strnlen): Don't use BP_SYM.
13895 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
13896 <bp-sym.h> and <bp-asm.h>.
13897 (__GI__setjmp): Don't use BP_SYM.
13898 (_setjmp): Likewise.
13899 (__sigsetjmp): Likewise.
13900 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
13901 (L(start_addresses)): Don't use BP_SYM.
13902 (_start): Likewise.
13903 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
13904 <bp-asm.h>.
13905 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
13906 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
13907 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13908 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13909 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
13910 <bp-asm.h>.
13911 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
13912 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
13913 about bounded pointers.
13914 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13915 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13916 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
13917 <bp-asm.h>.
13918 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13919 about bounded pointers. Remove GKM FIXME comments.
13920 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13921 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
13922 <bp-asm.h>.
13923 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
13924 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
13925 Remove GKM FIXME comments.
13926 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13927 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13928 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
13929 <bp-asm.h>.
13930 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13931 about bounded pointers. Remove GKM FIXME comment.
13932 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
13933 and <bp-asm.h>.
13934 (strncmp): Don't use BP_SYM. Remove comment about bounded
13935 pointers.
13936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
13937 <bp-sym.h> and <bp-asm.h>.
13938 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
13940 <bp-sym.h> and <bp-asm.h>.
13941 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13942 comment.
13943
13944 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13945
13946 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
13947 call free(NULL).
13948
13949 2013-03-05 David S. Miller <davem@davemloft.net>
13950
13951 * po/es.po: Update from translation team.
13952
13953 2013-03-05 Andreas Jaeger <aj@suse.de>
13954
13955 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
13956 <bits/mman-linux.h>.
13957 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13958 is fine.
13959 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
13960 <bits/mman-linux.h> to end of file.
13961 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13962 is fine.
13963 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
13964 <bits/mman-linux.h> to end of file.
13965 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13966 is fine.
13967 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
13968 <bits/mman-linux.h> to end of file.
13969
13970 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
13971 (MCL_CURRENT, MCL_FUTURE): Define here.
13972
13973 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13974
13975 [BZ #15232]
13976 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
13977 attribute_hidden.
13978 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13979
13980 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13981
13982 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
13983 fourth parameter needed for rt_sigprocmask syscall.
13984 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13985 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13986 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
13987 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13988 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13989 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
13990
13991 2013-03-04 Joseph Myers <joseph@codesourcery.com>
13992
13993 [BZ #13550]
13994 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
13995 comment about bounded pointers.
13996 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
13997 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
13998
13999 2013-03-04 Andreas Jaeger <aj@suse.de>
14000
14001 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
14002 common definitions.
14003
14004 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
14005 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
14006 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
14007 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14008 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14009 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14010
14011 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14012
14013 [BZ #15055]
14014 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
14015 __ieee754_sqrl instead of __sqrl.
14016
14017 2013-03-01 Joseph Myers <joseph@codesourcery.com>
14018
14019 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
14020 * sysdeps/powerpc/fpu_control.h: ... here.
14021 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
14022 * sysdeps/powerpc/bits/fenvinline.h: ... here.
14023 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
14024 * sysdeps/powerpc/bits/mathinline.h: ... here.
14025
14026 2013-03-01 Roland McGrath <roland@hack.frob.com>
14027
14028 * elf/dl-hwcaps.c (_dl_important_hwcaps):
14029 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
14030 to just [NEED_DL_SYSINFO_DSO].
14031 * elf/dl-support.c: Likewise.
14032 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
14033 * elf/rtld.c (dl_main): Likewise.
14034 * elf/setup-vdso.h (setup_vdso): Likewise.
14035 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
14036 * sysdeps/unix/sysv/linux/dl-sysdep.c
14037 (_dl_discover_osversion): Likewise.
14038
14039 2013-03-01 Carlos O'Donell <carlos@redhat.com>
14040
14041 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
14042 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
14043
14044 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
14045
14046 * NEWS: Mention libm performance improvements and non-x86 PI
14047 futex support.
14048
14049 * csu/libc-start.c (__pthread_initialize_minimal): Change
14050 function arguments.
14051 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
14052
14053 2013-02-28 Joseph Myers <joseph@codesourcery.com>
14054
14055 [BZ #13550]
14056 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
14057 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
14058 <bp-sym.h> and <bp-asm.h>.
14059 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
14060 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
14061 and <bp-asm.h>.
14062 (memcpy): Don't use BP_SYM.
14063 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
14064 <bp-asm.h>.
14065 (__mpn_add_n): Don't use BP_SYM.
14066 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
14067 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
14068 and <bp-asm.h>.
14069 (__mpn_addmul_1): Don't use BP_SYM.
14070 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14071 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
14072 <bp-sym.h>.
14073 (_setjmp): Don't use BP_SYM.
14074 (__novmx_setjmp): Likewise.
14075 (__GI__setjmp): Likewise.
14076 (__vmx_setjmp): Likewise.
14077 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
14078 <bp-sym.h>.
14079 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
14080 (__bzero): Don't use BP_SYM.
14081 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
14082 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
14083 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
14084 <bp-sym.h> and <bp-asm.h>.
14085 (memcpy): Don't use BP_SYM.
14086 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
14087 <bp-sym.h> and <bp-asm.h>.
14088 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
14089 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
14090 <bp-sym.h> and <bp-asm.h>.
14091 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
14092 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
14093 <bp-asm.h>.
14094 (__mpn_lshift): Don't use BP_SYM.
14095 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14096 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
14097 <bp-asm.h>.
14098 (memset): Don't use BP_SYM.
14099 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
14100 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
14101 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
14102 <bp-asm.h>.
14103 (__mpn_mul_1): Don't use BP_SYM.
14104 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14105 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
14106 <bp-sym.h> and <bp-asm.h>.
14107 (memcmp): Don't use BP_SYM.
14108 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
14109 <bp-sym.h> and <bp-asm.h>.
14110 (memcpy): Don't use BP_SYM.
14111 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
14112 <bp-sym.h> and <bp-asm.h>.
14113 (memset): Don't use BP_SYM.
14114 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
14115 <bp-sym.h> and <bp-asm.h>.
14116 (strncmp): Don't use BP_SYM.
14117 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
14118 <bp-sym.h> and <bp-asm.h>.
14119 (memcpy): Don't use BP_SYM.
14120 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
14121 <bp-sym.h> and <bp-asm.h>.
14122 (memset): Don't use BP_SYM.
14123 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
14124 <bp-sym.h> and <bp-asm.h>.
14125 (__memchr): Don't use BP_SYM.
14126 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
14127 <bp-sym.h> and <bp-asm.h>.
14128 (memcmp): Don't use BP_SYM.
14129 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
14130 <bp-sym.h> and <bp-asm.h>.
14131 (memcpy): Don't use BP_SYM.
14132 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
14133 <bp-sym.h> and <bp-asm.h>.
14134 (__mempcpy): Don't use BP_SYM.
14135 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
14136 <bp-sym.h> and <bp-asm.h>.
14137 (__memrchr): Don't use BP_SYM.
14138 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
14139 <bp-sym.h> and <bp-asm.h>.
14140 (memset): Don't use BP_SYM.
14141 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
14142 <bp-sym.h> and <bp-asm.h>.
14143 (__rawmemchr): Don't use BP_SYM.
14144 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
14145 <bp-sym.h> and <bp-asm.h>.
14146 (__STRCMP): Don't use BP_SYM.
14147 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
14148 <bp-sym.h> and <bp-asm.h>.
14149 (strchr): Don't use BP_SYM.
14150 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
14151 <bp-sym.h> and <bp-asm.h>.
14152 (__strchrnul): Don't use BP_SYM.
14153 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
14154 <bp-sym.h> and <bp-asm.h>.
14155 (strlen): Don't use BP_SYM.
14156 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
14157 <bp-sym.h> and <bp-asm.h>.
14158 (strncmp): Don't use BP_SYM.
14159 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
14160 <bp-sym.h> and <bp-asm.h>.
14161 (__strnlen): Don't use BP_SYM.
14162 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
14163 <bp-asm.h>.
14164 (__mpn_rshift): Don't use BP_SYM.
14165 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14166 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
14167 <bp-sym.h> and <bp-asm.h>.
14168 (__sigsetjmp): Don't use BP_SYM.
14169 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
14170 (L(start_addresses)): Don't use BP_SYM.
14171 (_start): Likewise.
14172 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
14173 <bp-asm.h>.
14174 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
14175 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14176 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
14177 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
14178 <bp-asm.h>.
14179 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
14180 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14181 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14182 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
14183 <bp-asm.h>.
14184 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
14185 comments.
14186 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14187 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
14188 <bp-asm.h>.
14189 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
14190 FIXME comments.
14191 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14192 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
14193 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
14194 <bp-asm.h>.
14195 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
14196 comment.
14197 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
14198 and <bp-asm.h>.
14199 (strncmp): Don't use BP_SYM,
14200 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
14201 <bp-asm.h>.
14202 (__mpn_sub_n): Don't use BP_SYM.
14203 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14204 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
14205 and <bp-asm.h>.
14206 (__mpn_submul_1): Don't use BP_SYM.
14207 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
14209 <bp-sym.h> and <bp-asm.h>.
14210 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
14211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
14212 <bp-sym.h> and <bp-asm.h>.
14213 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
14214 comment.
14215
14216 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14217
14218 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
14219 Use ZK to minimize writes to Z.
14220 (sub_magnitudes): Simplify code a bit.
14221 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
14222 Use ZK to minimize writes to Z.
14223 (sub_magnitudes): Simplify code a bit.
14224
14225 2013-02-27 Roland McGrath <roland@hack.frob.com>
14226
14227 * csu/gmon-start.c: Add special exception to license text.
14228
14229 2013-02-27 Richard Henderson <rth@redhat.com>
14230
14231 * scripts/config.guess: Update from config.git.
14232 * scripts/config.sub: Likewise.
14233
14234 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14235
14236 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
14237
14238 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
14239
14240 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
14241
14242 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
14243
14244 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
14245
14246 2013-02-26 Roland McGrath <roland@hack.frob.com>
14247
14248 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
14249 [$(build-shared = yes].
14250
14251 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14252
14253 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
14254 (__mul): Reduce iterations for calculating mantissa.
14255
14256 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
14257 MPTWO.
14258 (__mpranred): Likewise.
14259
14260 [BZ #15160]
14261 * malloc/memusagestat.c (main): Draw graphs for heap and stack
14262 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
14263
14264 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
14265
14266 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
14267 Define __attribute__.
14268
14269 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14270
14271 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
14272 unused.
14273 * posix/regex_internal.h (__attribute): Remove.
14274 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
14275 (re_string_context_at): Likewise.
14276 (bitset_not): Use __attribute__ and mark function as possibly
14277 unused.
14278 (bitset_merge): Likewise.
14279 (bitset_mask): Likewise.
14280 (re_string_char_size_at): Likewise.
14281 (re_string_wchar_at): Likewise.
14282 (re_string_elem_size_at): Likewise.
14283
14284 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14285
14286 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
14287 code.
14288 (cc32): Likewise.
14289
14290 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
14291 (__acr): Likewise.
14292 (__cpy): Likewise.
14293 (norm): Likewise.
14294 (denorm): Likewise.
14295 (__dbl_mp): Likewise.
14296 (add_magnitudes): Likewise.
14297 (sub_magnitudes): Likewise.
14298 (__mul): Likewise.
14299 (__inv): Likewise.
14300
14301 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
14302 style.
14303
14304 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
14305 style.
14306
14307 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
14308 code.
14309
14310 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
14311 up changes with default code.
14312 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
14313 Likewise.
14314
14315 2013-02-24 Allan McRae <allan@archlinux.org>
14316
14317 * manual/socket.texi (The Internet Namespace): Order menu items
14318 to match that in the file.
14319
14320 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
14321 node listing of the info page menu.
14322
14323 2013-02-21 Joseph Myers <joseph@codesourcery.com>
14324
14325 [BZ #13550]
14326 * sysdeps/i386/bp-asm.h: Remove file.
14327 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14328 (PARMS): Do not use macros from bp-asm.h.
14329 (S1): Likewise.
14330 (S2): Likewise.
14331 (SIZE): Likewise.
14332 (__mpn_add_n): Do not use BP_SYM
14333 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
14334 "bp-asm.h".
14335 (PARMS): Do not use macros from bp-asm.h.
14336 (S1): Likewise.
14337 (SIZE): Likewise.
14338 (__mpn_addmul_1): Do not use BP_SYM
14339 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
14340 "bp-asm.h".
14341 (PARMS): Do not use macros from bp-asm.h.
14342 (SIGMSK): Likewise.
14343 (_setjmp): Likewise. Do not use BP_SYM.
14344 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
14345 "bp-asm.h".
14346 (PARMS): Do not use macros from bp-asm.h.
14347 (SIGMSK): Likewise.
14348 (setjmp): Likewise. Do not use BP_SYM.
14349 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
14350 "bp-asm.h".
14351 (PARMS): Do not use macros from bp-asm.h.
14352 (__frexp): Do not use BP_SYM.
14353 (frexp): Likewise.
14354 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
14355 "bp-asm.h".
14356 (PARMS): Do not use macros from bp-asm.h.
14357 (__frexpf): Do not use BP_SYM.
14358 (frexpf): Likewise.
14359 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
14360 "bp-asm.h".
14361 (PARMS): Do not use macros from bp-asm.h.
14362 (__frexpl): Do not use BP_SYM.
14363 (frexpl): Likewise.
14364 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
14365 "bp-asm.h".
14366 (PARMS): Do not use macros from bp-asm.h.
14367 (__remquo): Do not use BP_SYM.
14368 (remquo): Likewise.
14369 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
14370 "bp-asm.h".
14371 (PARMS): Do not use macros from bp-asm.h.
14372 (__remquof): Do not use BP_SYM.
14373 (remquof): Likewise.
14374 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
14375 "bp-asm.h".
14376 (PARMS): Do not use macros from bp-asm.h.
14377 (__remquol): Do not use BP_SYM.
14378 (remquol): Likewise.
14379 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
14380 "bp-asm.h".
14381 (PARMS): Do not use macros from bp-asm.h.
14382 (DEST): Likewise.
14383 (SRC): Likewise.
14384 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
14385 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
14386 "bp-asm.h".
14387 (PARMS): Do not use macros from bp-asm.h.
14388 (strlen): Do not use BP_SYM.
14389 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
14390 "bp-asm.h".
14391 (PARMS): Do not use macros from bp-asm.h.
14392 (S1): Likewise.
14393 (S2): Likewise.
14394 (SIZE): Likewise.
14395 (__mpn_add_n): Do not use BP_SYM.
14396 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
14397 "bp-asm.h".
14398 (PARMS): Do not use macros from bp-asm.h.
14399 (S1): Likewise.
14400 (SIZE): Likewise.
14401 (__mpn_addmul_1): Do not use BP_SYM.
14402 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
14403 weak_alias.
14404 (bzero): Likewise.
14405 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
14406 "bp-asm.h".
14407 (PARMS): Do not use macros from bp-asm.h.
14408 (S): Likewise.
14409 (SIZE): Likewise.
14410 (__mpn_lshift): Do not use BP_SYM.
14411 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
14412 "bp-asm.h".
14413 (PARMS): Do not use macros from bp-asm.h.
14414 (DEST): Likewise.
14415 (SRC): Likewise.
14416 (LEN): Likewise.
14417 (memcpy): Likewise. Do not use BP_SYM.
14418 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
14419 libc_hidden_def and weak_alias.
14420 (mempcpy): Do not use BP_SYM in weak_alias.
14421 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
14422 "bp-asm.h".
14423 (PARMS): Do not use macros from bp-asm.h.
14424 (DEST): Likewise.
14425 (LEN): Likewise.
14426 [!BZERO_P] (CHR): Likewise.
14427 (memset): Likewise. Do not use BP_SYM.
14428 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
14429 "bp-asm.h".
14430 (PARMS): Do not use macros from bp-asm.h.
14431 (S1): Likewise.
14432 (SIZE): Likewise.
14433 (__mpn_mul_1): Do not use BP_SYM.
14434 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
14435 "bp-asm.h".
14436 (PARMS): Do not use macros from bp-asm.h.
14437 (S): Likewise.
14438 (SIZE): Likewise.
14439 (__mpn_rshift): Do not use BP_SYM.
14440 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
14441 "bp-asm.h".
14442 (PARMS): Do not use macros from bp-asm.h.
14443 (STR): Likewise.
14444 (CHR): Likewise.
14445 (strchr): Likewise. Do not use BP_SYM.
14446 (index): Do not use BP_SYM in weak_alias.
14447 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
14448 "bp-asm.h".
14449 (PARMS): Do not use macros from bp-asm.h.
14450 (DEST): Likewise.
14451 (SRC): Likewise.
14452 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
14453 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
14454 "bp-asm.h".
14455 (PARMS): Do not use macros from bp-asm.h.
14456 (strlen): Do not use BP_SYM.
14457 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
14458 "bp-asm.h".
14459 (PARMS): Do not use macros from bp-asm.h.
14460 (S1): Likewise.
14461 (S2): Likewise.
14462 (SIZE): Likewise.
14463 (__mpn_sub_n): Do not use BP_SYM.
14464 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
14465 "bp-asm.h".
14466 (PARMS): Do not use macros from bp-asm.h.
14467 (S1): Likewise.
14468 (SIZE): Likewise.
14469 (__mpn_submul_1): Do not use BP_SYM.
14470 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
14471 "bp-asm.h".
14472 (PARMS): Do not use macros from bp-asm.h.
14473 (S1): Likewise.
14474 (S2): Likewise.
14475 (SIZE): Likewise.
14476 (__mpn_add_n): Do not use BP_SYM.
14477 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
14478 weak_alias.
14479 (bzero): Likewise.
14480 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
14481 "bp-asm.h".
14482 (PARMS): Do not use macros from bp-asm.h.
14483 (BLK2): Likewise.
14484 (LEN): Likewise.
14485 (memcmp): Do not use BP_SYM.
14486 (bcmp): Do not use BP_SYM in weak_alias.
14487 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
14488 "bp-asm.h".
14489 (PARMS): Do not use macros from bp-asm.h.
14490 (DEST): Likewise.
14491 (SRC): Likewise.
14492 (LEN): Likewise.
14493 (memcpy): Likewise. Do not use BP_SYM.
14494 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
14495 "bp-asm.h".
14496 (PARMS): Do not use macros from bp-asm.h.
14497 (DEST): Likewise.
14498 (SRC): Likewise.
14499 (LEN): Likewise.
14500 (memmove): Likewise. Do not use BP_SYM.
14501 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
14502 "bp-asm.h".
14503 (PARMS): Do not use macros from bp-asm.h.
14504 (DEST): Likewise.
14505 (SRC): Likewise.
14506 (LEN): Likewise.
14507 (__mempcpy): Likewise. Do not use BP_SYM.
14508 (mempcpy): Do not use BP_SYM in weak_alias.
14509 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
14510 "bp-asm.h".
14511 (PARMS): Do not use macros from bp-asm.h.
14512 (DEST): Likewise.
14513 (LEN): Likewise.
14514 [!BZERO_P] (CHR): Likewise.
14515 (memset): Likewise. Do not use BP_SYM.
14516 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
14517 "bp-asm.h".
14518 (PARMS): Do not use macros from bp-asm.h.
14519 (STR2): Likewise.
14520 (strcmp): Do not use BP_SYM.
14521 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
14522 "bp-asm.h".
14523 (PARMS): Do not use macros from bp-asm.h.
14524 (STR): Likewise.
14525 (DELIM): Likewise.
14526 [USE_AS_STRTOK_R] (SAVE): Likewise.
14527 (FUNCTION): Likewise. Do not use BP_SYM.
14528 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
14529 aliases.
14530 (strtok_r): Likewise.
14531 (__GI___strtok_r): Likewise.
14532 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14533 (PARMS): Do not use macros from bp-asm.h.
14534 (S): Likewise.
14535 (SIZE): Likewise.
14536 (__mpn_lshift): Do not use BP_SYM.
14537 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14538 (PARMS): Do not use macros from bp-asm.h.
14539 (STR): Likewise.
14540 (CHR): Likewise.
14541 (__memchr): Do not use BP_SYM.
14542 (memchr): Do not use BP_SYM in weak_alias.
14543 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14544 (PARMS): Do not use macros from bp-asm.h.
14545 (BLK2): Likewise.
14546 (LEN): Likewise.
14547 (memcmp): Do not use BP_SYM.
14548 (bcmp): Do not use BP_SYM in weak_alias.
14549 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
14550 (PARMS): Do not use macros from bp-asm.h.
14551 (S1): Likewise.
14552 (SIZE): Likewise.
14553 (__mpn_mul_1): Do not use BP_SYM.
14554 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
14555 "bp-asm.h".
14556 (PARMS): Do not use macros from bp-asm.h.
14557 (STR): Likewise.
14558 (CHR): Likewise.
14559 (__rawmemchr): Do not use BP_SYM.
14560 (rawmemchr): Do not use BP_SYM in weak_alias.
14561 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14562 (PARMS): Do not use macros from bp-asm.h.
14563 (S): Likewise.
14564 (SIZE): Likewise.
14565 (__mpn_rshift): Do not use BP_SYM.
14566 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14567 (PARMS): Do not use macros from bp-asm.h.
14568 (SIGMSK): Likewise.
14569 (__sigsetjmp): Likewise. Do not use BP_SYM.
14570 * sysdeps/i386/start.S: Do not include "bp-sym.h".
14571 (_start): Do not use BP_SYM.
14572 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
14573 (PARMS): Do not use macros from bp-asm.h.
14574 (DEST): Likewise.
14575 (SRC): Likewise.
14576 (__stpcpy): Likewise. Do not use BP_SYM.
14577 (stpcpy): Do not use BP_SYM in weak_alias.
14578 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
14579 "bp-asm.h".
14580 (PARMS): Do not use macros from bp-asm.h.
14581 (DEST): Likewise.
14582 (SRC): Likewise.
14583 (LEN): Likewise.
14584 (__stpncpy): Likewise. Do not use BP_SYM.
14585 (stpncpy): Do not use BP_SYM in weak_alias.
14586 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14587 (PARMS): Do not use macros from bp-asm.h.
14588 (STR): Likewise.
14589 (CHR): Likewise.
14590 (strchr): Likewise. Do not use BP_SYM.
14591 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
14592 "bp-asm.h".
14593 (PARMS): Do not use macros from bp-asm.h.
14594 (STR): Likewise.
14595 (CHR): Likewise.
14596 (__strchrnul): Likewise. Do not use BP_SYM.
14597 (strchrnul): Do not use BP_SYM in weak_alias.
14598 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
14599 "bp-asm.h".
14600 (PARMS): Do not use macros from bp-asm.h.
14601 (STOP): Likewise.
14602 (strcspn): Do not use BP_SYM.
14603 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
14604 "bp-asm.h".
14605 (PARMS): Do not use macros from bp-asm.h.
14606 (STR): Likewise.
14607 (STOP): Likewise.
14608 (strpbrk): Likewise. Do not use BP_SYM.
14609 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
14610 "bp-asm.h".
14611 (PARMS): Do not use macros from bp-asm.h.
14612 (STR): Likewise.
14613 (CHR): Likewise.
14614 (strrchr): Likewise. Do not use BP_SYM.
14615 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
14616 (PARMS): Do not use macros from bp-asm.h.
14617 (SKIP): Likewise.
14618 (strspn): Do not use BP_SYM.
14619 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
14620 (PARMS): Do not use macros from bp-asm.h.
14621 (STR): Likewise.
14622 (DELIM): Likewise.
14623 (SAVE): Likewise.
14624 (FUNCTION): Likewise. Do not use BP_SYM.
14625 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
14626 aliases.
14627 (strtok_r): Likewise.
14628 (__GI___strtok_r): Likewise.
14629 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14630 (PARMS): Do not use macros from bp-asm.h.
14631 (S1): Likewise.
14632 (S2): Likewise.
14633 (SIZE): Likewise.
14634 (__mpn_sub_n): Do not use BP_SYM.
14635 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
14636 "bp-asm.h".
14637 (PARMS): Do not use macros from bp-asm.h.
14638 (S1): Likewise.
14639 (SIZE): Likewise.
14640 (__mpn_submul_1): Do not use BP_SYM.
14641 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
14642 <bp-sym.h>.
14643 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
14644 and <bp-asm.h>.
14645 (PARMS): Do not use macros from bp-asm.h.
14646 (FLAGS): Likewise.
14647 (PTID): Likewise.
14648 (TLS): Likewise.
14649 (CTID): Likewise.
14650 (__clone): Do not use BP_SYM.
14651 (clone): Do not use BP_SYM in weak_alias.
14652 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
14653 and <bp-asm.h>.
14654 (PARMS): Do not use macros from bp-asm.h.
14655 (LEN): Likewise.
14656 (__mmap64): Do not use BP_SYM.
14657 (mmap64): Do not use BP_SYM in weak_alias.
14658 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14659 <bp-sym.h> and <bp-asm.h>.
14660 (PARMS): Do not use macros from bp-asm.h.
14661 (__posix_fadvise64_l64): Do not use BP_SYM.
14662 * sysdeps/unix/sysv/linux/i386/semtimedop.S
14663 (PARMS): Do not use macros from bp-asm.h.
14664 (NSOPS): Likewise.
14665 (semtimedop): Do not use BP_SYM.
14666 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
14667 and <bp-asm.h>.
14668
14669 2013-02-21 Allan McRae <allan@archlinux.org>
14670
14671 * manual/message.texi (Charset conversion in gettext):
14672 Move @end statement to beginning of line.
14673
14674 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14675
14676 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
14677 static.
14678 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14679 Likewise.
14680
14681 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
14682 (denorm): Likewise.
14683 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
14684 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
14685
14686 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14687
14688 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
14689 tail-call to the resolved function if pltexit isn't needed.
14690
14691 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14692
14693 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
14694 or Y being zero as being unlikely.
14695 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
14696 Likewise.
14697
14698 2013-02-20 Carlos O'Donell <carlos@redhat.com>
14699
14700 * manual/nss.texi (System Databases and Name Service Switch):
14701 Remove frobnicate @pxref.
14702
14703 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14704
14705 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14706 __attribute__ ((unused)) to __attribute__ ((__unused__)).
14707
14708 2013-02-20 Petr Machata <pmachata@redhat.com>
14709
14710 * elf/elf.h (R_ARM_TARGET1): New macro.
14711 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
14712 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
14713 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
14714 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
14715 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
14716 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
14717 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
14718 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
14719 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
14720 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
14721 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
14722 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
14723 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
14724 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
14725 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
14726 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
14727 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
14728 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
14729 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
14730 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
14731 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
14732 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
14733 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
14734 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
14735 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
14736 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
14737 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
14738 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
14739 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
14740 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
14741 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
14742 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
14743 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
14744 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
14745 (R_ARM_THM_GOT_BREL12): Likewise.
14746 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
14747 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
14748 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
14749 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
14750 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
14751 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
14752 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
14753 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
14754 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
14755
14756 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14757
14758 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14759 __attribute_used__ to __attribute__ ((unused)).
14760
14761 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14762
14763 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
14764 powerpc mpa.c.
14765 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
14766 comment formatting.
14767 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
14768
14769 2013-02-19 Joseph Myers <joseph@codesourcery.com>
14770
14771 [BZ #13550]
14772 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
14773 Remove macro.
14774 (ENTER): Remove both macro definitions.
14775 (LEAVE): Likewise.
14776 (CHECK_BOUNDS_LOW): Likewise.
14777 (CHECK_BOUNDS_HIGH): Likewise.
14778 (CHECK_BOUNDS_BOTH): Likewise.
14779 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
14780 (RETURN_BOUNDED_POINTER): Likewise.
14781 (RETURN_NULL_BOUNDED_POINTER): Likewise.
14782 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
14783 (POP_ERRNO_LOCATION_RETURN): Likewise.
14784 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
14785 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14786 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
14787 macros.
14788 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14789 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
14790 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
14791 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
14792 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
14793 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
14794 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
14795 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
14796 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
14797 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
14798 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
14799 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
14800 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14801 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
14802 removed macros.
14803 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14804 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
14805 macros.
14806 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14807 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
14808 * sysdeps/i386/i586/memset.S (memset): Likewise.
14809 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
14810 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14811 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
14812 macros.
14813 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14814 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
14815 Change uses of L(2) to L(out).
14816 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
14817 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
14818 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
14819 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14820 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
14821 removed macros.
14822 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14823 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
14824 macros.
14825 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14826 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
14827 (RETURN): Do not use macro LEAVE.
14828 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
14829 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
14830 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
14831 * sysdeps/i386/i686/memset.S (memset): Likewise.
14832 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
14833 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
14834 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14835 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
14836 Likewise.
14837 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14838 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
14839 L(1_2) and L(1_3) into L(1).
14840 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14841 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
14842 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14843 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
14844 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14845 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
14846 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
14847 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14848 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
14849 macros.
14850 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
14851 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14852 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
14853 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
14854 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
14855 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14856 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
14857 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
14858 * sysdeps/i386/strcspn.S (strcspn): Likewise.
14859 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
14860 * sysdeps/i386/strrchr.S (strrchr): Likewise.
14861 * sysdeps/i386/strspn.S (strspn): Likewise.
14862 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
14863 conditional code.
14864 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14865 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
14866 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14867 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
14868 L(1_3) into L(1_1).
14869 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
14870 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14871 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
14872 macros.
14873 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14874
14875 2013-02-19 Jakub Jelinek <jakub@redhat.com>
14876
14877 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
14878 macro.
14879
14880 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14881
14882 * math/atest-exp.c (exp_mpn): Remove ROUND.
14883 * math/atest-exp2.c (exp_mpn): Likewise.
14884 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
14885
14886 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
14887 * stdlib/tst-tls-atexit-lib.c: Likewise.
14888 * stdlib/tst-tls-atexit.c: Likewise.
14889
14890 2013-02-18 Mike Frysinger <vapier@gentoo.org>
14891
14892 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
14893 and __attribute_alloc_size__.
14894
14895 2013-02-18 Mike Frysinger <vapier@gentoo.org>
14896
14897 * include/programs/xmalloc.h: Change __attribute_alloc_size to
14898 __attribute_alloc_size__.
14899 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
14900 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
14901
14902 2013-02-18 Mike Frysinger <vapier@gentoo.org>
14903
14904 * include/programs/xmalloc.h: New file.
14905 * catgets/gencat.c: Include it.
14906 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
14907 * elf/pldd.c: Likewise.
14908 * iconv/iconv_charmap.c: Likewise.
14909 * iconv/iconvconfig.c: Likewise.
14910 * iconv/strtab.c: Likewise.
14911 * locale/programs/locale.c: Likewise.
14912 * locale/programs/localedef.h: Likewise.
14913 * locale/programs/simple-hash.c: Likewise.
14914 * nscd/nscd.h: Likewise.
14915 * nss/makedb.c: Likewise.
14916 * sysdeps/generic/ldconfig.h: Likewise.
14917
14918 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14919
14920 * Versions.def: Add GLIBC_2.18.
14921 * include/link.h (struct link_map): New member l_tls_dtor_count.
14922 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
14923 (__call_tls_dtors): Likewise.
14924 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
14925 __cxa_thread_atexit_impl.
14926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14927 Likewise.
14928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14929 Likewise.
14930 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14931 Likewise.
14932 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14933 Likewise.
14934 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14935 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
14936 Likewise.
14937 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
14938 Likewise.
14939 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
14941 Likewise.
14942 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
14943 (tests): Add test case tst-tls-atexit.
14944 (modules-names): Add shared library for tst-tls-atexit.
14945 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
14946 (GLIBC_PRIVATE): Add __call_tls_dtors.
14947 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
14948 for libstdc++.
14949 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
14950 * stdlib/tst-tls-atexit.c: New test case.
14951 * stdlib/tst-tls-atexit-lib.c: New test case.
14952
14953 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
14954
14955 * elf/Versions (ld): Add _dl_find_dso_for_object.
14956 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
14957 * elf/dl-open.c (_dl_find_dso_for_object): New function.
14958 (dl_open_worker): Use _dl_find_dso_for_object.
14959 * elf/dl-sym.c (do_sym): Likewise.
14960 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
14961
14962 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14963
14964 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
14965 Syntactic changes only.
14966 (_dl_runtime_profile): Do a tail-call to the resolved function.
14967
14968 2013-02-17 Joseph Myers <joseph@codesourcery.com>
14969
14970 [BZ #13550]
14971 * sysdeps/x86_64/bp-asm.h: Remove file.
14972 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
14973 <bp-sym.h> and <bp-asm.h>.
14974 (__clone): Do not use BP_SYM.
14975 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
14976 <bp-sym.h> and <bp-asm.h>.
14977 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14978 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
14979 "bp-asm.h".
14980 (_setjmp): Do not use BP_SYM.
14981 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
14982 "bp-asm.h".
14983 (setjmp): Do not use BP_SYM.
14984 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
14985 libc_hidden_def.
14986 (mempcpy): Do not use BP_SYM in weak_alias.
14987 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
14988 "bp-asm.h".
14989 (strchr): Do not use BP_SYM.
14990 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
14991 "bp-asm.h".
14992 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
14993 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
14994 (_start): Do not use BP_SYM.
14995 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
14996 "bp-asm.h".
14997 (strcat): Do not use BP_SYM.
14998 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
14999 "bp-asm.h".
15000 (STRCMP): Do not use BP_SYM.
15001 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
15002 "bp-asm.h".
15003 (STRCPY): Do not use BP_SYM.
15004 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
15005 "bp-asm.h".
15006 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
15007 "bp-asm.h".
15008 (FUNCTION): Do not use BP_SYM.
15009 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
15010 weak_alias.
15011 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
15012
15013 2013-02-17 Andreas Jaeger <aj@suse.de>
15014
15015 * time/Versions: Sort entries.
15016 * string/Versions: Likewise.
15017 * resolv/Versions: Likewise.
15018 * posix/Versions: Likewise.
15019 * iconv/Versions: Likewise.
15020 * elf/Versions: Likewise.
15021 * wcsmbs/Versions: Likewise.
15022
15023 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15024
15025 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
15026 loop termination condition.
15027
15028 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
15029 variable to calculate EZ.
15030 (__sqr): Likewise.
15031
15032 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
15033 the lower precision input.
15034
15035 2013-02-15 Joseph Myers <joseph@codesourcery.com>
15036
15037 [BZ #13550]
15038 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
15039 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
15040 (run-via-rtld-prefix): Do not handle %-bp tests.
15041 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
15042 (all-object-suffixes): Remove .ob.
15043 (bppfx): Remove variable.
15044 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
15045 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
15046 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
15047 [$(build-bounded) = yes] (libtype.ob): Likewise.
15048 * Makerules (elide-routines.ob): Remove variable.
15049 (do-tests-clean): Do not handle *-bp.out.
15050 (common-mostlyclean): Do not handle *-bp and *-bp.out.
15051 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
15052 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
15053 (tests): Do not include $(tests-bp.out).
15054 (xtests): Do not include $(xtests-bp.out).
15055 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
15056 [$(build-bounded) = yes] ($(addprefix
15057 $(objpfx),$(binaries-bounded))): Remove rule.
15058 ($(objpfx)%-bp.out): Remove rule.
15059 * config.make.in (build-bounded): Remove variable.
15060 * crypt/Makefile [$(build-bounded) = yes]
15061 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
15062 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
15063 append to variable.
15064 [$(build-bounded) = yes] (install-lib): Likewise.
15065 [$(build-bounded) = yes] (generated): Likewise.
15066 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
15067 Remove rule.
15068 * intl/Makefile [$(build-bounded) = yes]
15069 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
15070 * math/Makefile [$(build-bounded) = yes]
15071 ($(tests:%=$(objpfx)%-bp): Likewise.
15072 * misc/Makefile [$(build-bounded) = yes]
15073 ($(objpfx)tst-tsearch-bp): Likewise.
15074 * nptl/Makeconfig (bounded-thread-library): Remove variable.
15075 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
15076 Remove dependency.
15077 * string/Makefile (o-objects.ob): Remove variable.
15078 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
15079 (CFLAGS-.ob): Remove variable.
15080 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
15081 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
15082 both definitions of variable.
15083 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
15084 (ASFLAGS-.ob): Remove variable.
15085
15086 2013-02-14 Joseph Myers <joseph@codesourcery.com>
15087
15088 [BZ #13550]
15089 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
15090 Remove __BOUNDED_POINTERS__ from condition.
15091 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
15092 * string/bits/string2.h [!__NO_STRING_INLINES &&
15093 !__BOUNDED_POINTERS__]: Likewise.
15094 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
15095 Likewise.
15096 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
15097 Remove conditional code.
15098 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
15099 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
15100 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
15101 condition.
15102
15103 [BZ #13550]
15104 * csu/libc-start.c: Do not include <bp-sym.h>.
15105 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
15106 * elf/dl-open.c: Do not include <bp-sym.h>.
15107 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
15108 * math/fegetenv.c: Do not include <bp-sym.h>.
15109 (fegetenv): Do not use BP_SYM in versioned symbols.
15110 * nptl/sysdeps/pthread/bits/libc-lockP.h
15111 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
15112 <bp-sym.h>.
15113 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15114 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
15115 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15116 (__pthread_mutex_destroy): Likewise.
15117 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15118 (__pthread_mutex_lock): Likewise.
15119 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15120 (__pthread_mutex_trylock): Likewise.
15121 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15122 (__pthread_mutex_unlock): Likewise.
15123 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15124 (__pthread_mutexattr_init): Likewise.
15125 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15126 (__pthread_mutexattr_destroy): Likewise.
15127 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15128 (__pthread_mutexattr_settype): Likewise.
15129 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15130 (__pthread_rwlock_init): Likewise.
15131 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15132 (__pthread_rwlock_destroy): Likewise.
15133 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15134 (__pthread_rwlock_rdlock): Likewise.
15135 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15136 (__pthread_rwlock_tryrdlock): Likewise.
15137 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15138 (__pthread_rwlock_wrlock): Likewise.
15139 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15140 (__pthread_rwlock_trywrlock): Likewise.
15141 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15142 (__pthread_rwlock_unlock): Likewise.
15143 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15144 (__pthread_key_create): Likewise.
15145 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15146 (__pthread_setspecific): Likewise.
15147 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15148 (__pthread_getspecific): Likewise.
15149 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
15150 Likewise.
15151 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15152 (_pthread_cleanup_push_defer): Likewise.
15153 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15154 (_pthread_cleanup_pop_restore): Likewise.
15155 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15156 (pthread_setcancelstate): Likewise.
15157 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
15158 <bp-sym.h>.
15159 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
15160 (memchr): Do not use BP_SYM in weak_alias.
15161 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
15162 (fegetenv): Do not use BP_SYM in versioned symbols.
15163 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
15164 (fesetenv): Do not use BP_SYM in versioned symbols.
15165 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
15166 (feupdateenv): Do not use BP_SYM in versioned symbols.
15167 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
15168 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
15169 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
15170 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
15171 (open64): Do not use BP_SYM in weak_alias.
15172 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
15173 (fegetenv): Do not use BP_SYM in versioned symbols.
15174 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
15175 (fesetenv): Do not use BP_SYM in versioned symbols.
15176 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
15177 (feupdateenv): Do not use BP_SYM in versioned symbols.
15178 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
15179 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
15180 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
15181 (feraiseexcept): Do not use BP_SYM in versioned symbols.
15182 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
15183 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
15184 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
15185 <bp-sym.h>.
15186 (__libc_start_main): Do not use BP_SYM.
15187
15188 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15189
15190 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
15191 redundant return line.
15192 (norm): Likewise.
15193 (denorm): Likewise.
15194 (dbl_mp): Likewise.
15195 (sub_magnitudes): Likewise.
15196 (__add): Likewise.
15197 (__sub): Likewise.
15198 (__mul): Likewise.
15199 (__inv): Likewise.
15200 (__dvd): Likewise.
15201 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
15202 (norm): Likewise.
15203 (denorm): Likewise.
15204 (dbl_mp): Likewise.
15205 (sub_magnitudes): Likewise.
15206 (__add): Likewise.
15207 (__sub): Likewise.
15208 (__mul): Likewise.
15209 (__inv): Likewise.
15210 (__dvd): Likewise.
15211
15212 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
15213 instead of __mul.
15214 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
15215 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
15216 (cc32): Likewise.
15217
15218 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
15219 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
15220 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
15221 of __mul for squares.
15222 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
15223 function
15224 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
15225 Likewise.
15226 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
15227 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15228
15229 2013-02-13 Joseph Myers <joseph@codesourcery.com>
15230
15231 [BZ #13550]
15232 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
15233 code.
15234 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
15235 prototype or function definition. Rename ubp_* variables and
15236 parameters. Remove argv definitions conditional on
15237 [__BOUNDED_POINTERS__].
15238 * debug/backtrace.c (__backtrace): Do not use __unbounded.
15239 * elf/dl-runtime.c (_dl_fixup): Likewise.
15240 * include/set-hooks.h (RUN_HOOK): Likewise.
15241 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
15242 definition.
15243 * string/strcpy.c (strcpy): Do not use __unbounded.
15244 * sysdeps/generic/frame.h (struct layout): Likewise.
15245 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
15246 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
15247 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
15248 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
15249 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
15250 (__backtrace): Likewise.
15251 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
15252 use __ptrvalue.
15253 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
15254 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15255 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
15256 Likewise.
15257 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
15258 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
15259 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15260 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15261 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
15262 Do not use __unbounded.
15263 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
15264 Rename __unboundedrlimits parameter to rlimits in prototype.
15265 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
15266 Do not use __unbounded.
15267 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
15268 not use __ptrvalue.
15269 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15270 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
15271 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15272 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
15273 __ptrvalue or __unbounded.
15274 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
15275 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
15276 use __unbounded.
15277 (__new_msgctl): Do not use __ptrvalue.
15278 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
15279 __unbounded.
15280 (__libc_msgrcv): Do not use __ptrvalue.
15281 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
15282 startup_info): Do not use __unbounded.
15283 (__libc_start_main): Likewise. Rename ubp_* variables and
15284 parameters. Remove argv definitions conditional on
15285 [__BOUNDED_POINTERS__].
15286 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
15287 __ptrvalue.
15288 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
15289 use __unbounded.
15290 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
15291 or __ptrvalue.
15292 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
15293 use __unbounded.
15294 (__new_shmctl): Do not use __ptrvalue.
15295 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
15296 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
15297 Likewise.
15298 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
15299 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
15300 (__libc_sigaction): Likewise.
15301 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
15302 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
15303 Likewise.
15304 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15305
15306 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
15307
15308 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
15309
15310 * string/mempcpy.c: Implement by calling memcpy.
15311
15312 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15313
15314 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
15315
15316 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
15317 evaluation.
15318
15319 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
15320 values in the mantissa.
15321
15322 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
15323 minimize writes to Z.
15324 (sub_magnitudes): Simplify code a bit.
15325
15326 2013-02-12 Roland McGrath <roland@hack.frob.com>
15327
15328 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
15329 from the message. The linker prefixes all warnings with that already.
15330
15331 2013-02-12 Andreas Schwab <schwab@suse.de>
15332
15333 [BZ #15078]
15334 * posix/regexec.c (extend_buffers): Add parameter min_len.
15335 (check_matching): Pass minimum needed length.
15336 (clean_state_log_if_needed): Likewise.
15337 (get_subexp): Likewise.
15338 * posix/Makefile (tests): Add bug-regex34.
15339 (bug-regex34-ENV): Define.
15340 * posix/bug-regex34.c: New file.
15341
15342 [BZ #11561]
15343 * posix/regcomp.c (parse_bracket_exp): When looking up collating
15344 elements compare against the byte sequence of it, not its name.
15345 * posix/Makefile (tests): Add bug-regex35.
15346 (bug-regex35-ENV): Define.
15347 * posix/bug-regex35.c: New file.
15348
15349 2013-02-11 Tom de Vries <tom@codesourcery.com>
15350
15351 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
15352 comment.
15353 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
15354 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
15355 (CHECK_EOL): Add undef.
15356
15357 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
15358
15359 * bits/stdlib-bsearch.h: New file.
15360 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
15361 * stdlib/stdlib.h: Likewise.
15362
15363 2013-02-11 Roland McGrath <roland@hack.frob.com>
15364
15365 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
15366 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
15367 declaration.
15368 * manual/search.texi (Array Search Function): Add missing const in
15369 lfind prototype.
15370 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
15371 declaration to use rlim_t.
15372 (Basic Scheduling Functions): Remove erroneous const from
15373 sched_getparam prototype. Remove erroneous * from
15374 sched_get_priority_max and sched_get_priority_min prototypes.
15375 (Resource Usage): Fix summary @comment on vtimes to refer to
15376 sys/vtimes.h rather than vtimes.h.
15377 Add missing *s in vtimes prototype.
15378 (Limits on Resources): Fix ulimit prototype to return long int.
15379 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
15380 prototypes to use long int rather than double.
15381 (BSD Random): Fix initstate and setstate to use char *, not void *.
15382 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
15383 prototype to make second argument 'struct aiocb64 *const[]'.
15384 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
15385 (Status of AIO Operations): Remove erroneous const in aio_return and
15386 aio_return64 prototypes.
15387 (Synchronizing I/O): Fix sync prototype to return void.
15388 * manual/startup.texi (Suboptions): Remove an erroneous const in
15389 getsubopt prototype.
15390 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
15391 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
15392 use size_t rather than int.
15393 (Scanning All Users): Likewise for getpwent_r.
15394 (Setting Groups): Add missing const to setgroups prototype.
15395 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
15396 * manual/socket.texi (Host Names): Fix gethostbyaddr and
15397 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
15398 'const void *' rather than 'const char *'.
15399 (Host Address Functions): Likewise for inet_ntop.
15400 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
15401 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
15402 ssize_t for return value.
15403 (Sending Data): Likewise for send, sendto, sendmsg.
15404 (Socket Option Functions): Add a missing const in setsockopt prototype.
15405 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
15406 use wchar_t for the argument.
15407 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
15408 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
15409 take no arguments.
15410 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
15411 double/float/long double for second argument.
15412 Fix return types of significand, significandf, significandl.
15413 * manual/filesys.texi (Setting Permissions): Use mode_t for second
15414 argument in fchmod prototype.
15415 (File Owner): Use uid_t and gid_t in fchown prototype.
15416 (File Times): Add const to utimes, futimes, and lutimes prototypes.
15417 (Making Special Files): Use mode_t and dev_t in mknod prototype.
15418 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
15419 use 'const struct dirent **' as argument types to CMP function pointer
15420 argument.
15421 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
15422 (File Times): Fix summary magic @comment for struct utimbuf and utime
15423 to refer to utime.h, not time.h.
15424 * manual/string.texi (Argz Functions): Add missing const in
15425 argz_extract and argz_next prototypes.
15426 (Finding Tokens in a String): Likewise for basename.
15427 (String/Array Comparison): Fix typo in wcscasecmp prototype.
15428 (Copying and Concatenation): Fix typo in wmemmove prototype.
15429 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
15430 (Signal Stack): Remove erroneous const in sigstack prototype.
15431 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
15432 prototype.
15433 (Simple Calendar Time): Likewise for stime.
15434 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
15435 prototype.
15436 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
15437 say sys/sysctl.h instead.
15438 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
15439 and vsyslog prototypes.
15440
15441 2013-02-11 Tom de Vries <tom@codesourcery.com>
15442
15443 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
15444 Remove.
15445
15446 2013-02-11 Roland McGrath <roland@hack.frob.com>
15447
15448 * misc/sys/mman.h: Fix typo in mremap comment.
15449
15450 2013-02-08 Roland McGrath <roland@hack.frob.com>
15451
15452 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
15453 the '\0' terminator.
15454
15455 2013-02-08 Joseph Myers <joseph@codesourcery.com>
15456
15457 [BZ #13550]
15458 * debug/segfault.c: Don't include <bp-checks.h>.
15459 * sysdeps/generic/bp-checks.h: Remove file.
15460 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
15461 (__GETDENTS): Don't use CHECK_N.
15462 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
15463 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
15464 (__getgroups): Don't use CHECK_N.
15465 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
15466 (setgroups): Don't use CHECK_N.
15467 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
15468 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
15469 (__libc_msgrcv): Don't use CHECK_N.
15470 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
15471 (__libc_msgsnd): Don't use CHECK_N.
15472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
15473 <bp-checks.h>.
15474 (__libc_pread): Don't use CHECK_N.
15475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
15476 include <bp-checks.h>.
15477 (__libc_pread64): Don't use CHECK_N.
15478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
15479 include <bp-checks.h>.
15480 (__libc_pwrite): Don't use CHECK_N.
15481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
15482 include <bp-checks.h>.
15483 (__libc_pwrite64): Don't use CHECK_N.
15484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
15485 <bp-checks.h>.
15486 (__libc_pread): Don't use CHECK_N.
15487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
15488 include <bp-checks.h>.
15489 (__libc_pread64): Don't use CHECK_N.
15490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
15491 include <bp-checks.h>.
15492 (__libc_pwrite): Don't use CHECK_N.
15493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
15494 include <bp-checks.h>.
15495 (__libc_pwrite64): Don't use CHECK_N.
15496 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
15497 (do_pread): Don't use CHECK_N.
15498 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
15499 (do_pread64): Don't use CHECK_N.
15500 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
15501 (do_pwrite): Don't use CHECK_N.
15502 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
15503 (do_pwrite64): Don't use CHECK_N.
15504 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
15505 (__libc_readv): Don't use CHECK_N.
15506 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
15507 (semop): Don't use CHECK_N.
15508 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
15509 <bp-checks.h>.
15510 (semtimedop): Don't use CHECK_N.
15511 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
15512 (__libc_pread): Don't use CHECK_N.
15513 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
15514 <bp-checks.h>.
15515 (__libc_pread64): Don't use CHECK_N.
15516 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
15517 <bp-checks.h>.
15518 (__libc_pwrite): Don't use CHECK_N.
15519 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
15520 <bp-checks.h>.
15521 (__libc_pwrite64): Don't use CHECK_N.
15522 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
15523 <bp-checks.h>.
15524 (__libc_msgrcv): Don't use CHECK_N.
15525 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
15526 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
15527 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
15528 (__libc_writev): Don't use CHECK_N.
15529
15530 2013-02-08 Roland McGrath <roland@hack.frob.com>
15531
15532 * string/strcpy.c: Removed unused variable.
15533
15534 * Makeconfig (+sysdep-includes): Define with := rather than =.
15535 Use an existing include/ subdir of each sysdeps dir before it.
15536
15537 2013-02-08 Carlos O'Donell <carlos@redhat.com>
15538
15539 * nscd/connection.c (register_traced_file): Comment function.
15540 [HAVE_INOTIFY] (union __inev): Define.
15541 [HAVE_INOTIFY] (inotify_check_files): New function.
15542 [HAVE_INOTIFY] (clear_db_cache): Likewise.
15543 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
15544 clear_db_cache.
15545 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
15546
15547 2013-02-08 Carlos O'Donell <carlos@redhat.com>
15548
15549 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
15550 loaded if not already and that a failure is permanent.
15551
15552 2013-02-08 Carlos O'Donell <carlos@redhat.com>
15553
15554 [BZ #15006]
15555 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
15556 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
15557
15558 2013-02-08 Joseph Myers <joseph@codesourcery.com>
15559
15560 [BZ #13550]
15561 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
15562 (CHECK_1_NULL_OK): Likewise.
15563 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
15564 (__fxstat): Do not use CHECK_1.
15565 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
15566 <bp-checks.h>.
15567 (___fxstat64): Do not use CHECK_1.
15568 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15569 <bp-checks.h>.
15570 (__fxstatat): Do not use CHECK_1.
15571 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15572 <bp-checks.h>.
15573 (__fxstatat64): Do not use CHECK_1.
15574 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
15575 <bp-checks.h>.
15576 (__fxstat): Do not use CHECK_1.
15577 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15578 <bp-checks.h>.
15579 (__fxstatat): Do not use CHECK_1.
15580 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15581 <bp-checks.h>.
15582 (__getresgid): Do not use CHECK_1.
15583 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15584 <bp-checks.h>.
15585 (__getresuid): Do not use CHECK_1.
15586 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
15587 <bp-checks.h>.
15588 (__lxstat): Do not use CHECK_1.
15589 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15590 <bp-checks.h>.
15591 (__old_msgctl): Do not use CHECK_1.
15592 (__new_msgctl): Likewise.
15593 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
15594 <bp-checks.h>.
15595 (__new_setrlimit): Do not use CHECK_1.
15596 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15597 <bp-checks.h>.
15598 (__old_shmctl): Do not use CHECK_1.
15599 (__new_shmctl): Likewise.
15600 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
15601 <bp-checks.h>.
15602 (__xstat): Do not use CHECK_1.
15603 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
15604 (__lxstat): Do not use CHECK_1.
15605 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
15606 <bp-checks.h>.
15607 (___lxstat64): Do not use CHECK_1.
15608 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
15609 (__old_msgctl): Do not use CHECK_1.
15610 (__new_msgctl): Likewise.
15611 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
15612 <bp-checks.h>.
15613 (__gettimeofday): Do not use CHECK_1.
15614 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
15615 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
15616 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
15617 <bp-checks.h>.
15618 (__gettimeofday): Do not use CHECK_1.
15619 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
15620 (__old_shmctl): Do not use CHECK_1_NULL_OK.
15621 (__new_shmctl): Do not use CHECK_1.
15622 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
15623 <bp-checks.h>.
15624 (do_sigtimedwait): Do not use CHECK_1.
15625 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
15626 <bp-checks.h>.
15627 (do_sigwaitinfo): Do not use CHECK_1.
15628 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
15629 <bp-checks.h>.
15630 (msgctl): Do not use CHECK_1.
15631 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
15632 <bp-checks.h>.
15633 (shmctl): Do not use CHECK_1.
15634 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
15635 (ustat): Do not use CHECK_1.
15636 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
15637 <bp-checks.h>.
15638 (__fxstat): Do not use CHECK_1.
15639 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15640 <bp-checks.h>.
15641 (__fxstatat): Do not use CHECK_1.
15642 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
15643 <bp-checks.h>.
15644 (__lxstat): Do not use CHECK_1.
15645 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
15646 <bp-checks.h>.
15647 (__xstat): Do not use CHECK_1.
15648 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
15649 (__xstat): Do not use CHECK_1.
15650 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
15651 (___xstat64): Do not use CHECK_1.
15652
15653 [BZ #13550]
15654 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
15655 definitions.
15656 (CHECK_BOUNDS_HIGH): Likewise.
15657 * string/strcpy.c: Do not include <bp-checks.h>.
15658 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
15659
15660 2013-02-07 Roland McGrath <roland@hack.frob.com>
15661
15662 * nscd/nscd-client.h (__nscd_drop_map_ref):
15663 Add __attribute__ ((unused)).
15664 * nis/nss-nisplus.h (niserr2nss): Likewise.
15665
15666 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
15667 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
15668
15669 * csu/libc-tls.c (init_static_tls, init_slotinfo):
15670 Remove inline keyword.
15671 * include/rounding-mode.h (round_away): Likewise.
15672 * libio/wfileops.c (adjust_wide_data): Likewise.
15673 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
15674 (__m128i_strloadu_tolower): Likewise.
15675 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
15676 (__m128i_strloadu_tolower): Likewise.
15677 * time/mktime.c (ydhms_diff): Likewise.
15678 * locale/elem-hash.h (elem_hash): Likewise.
15679 * locale/setlocale.c (setdata): Likewise.
15680 * posix/regex_internal.h (re_string_char_size_at): Likewise.
15681 (re_string_wchar_at): Likewise.
15682 (bitset_not, bitset_merge, bitset_mask): Likewise.
15683 [!(__GNUC__ > 3)] (inline): Remove macro.
15684 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
15685 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
15686 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
15687 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
15688 * string/memcmp.c (memcmp_bytes): Likewise.
15689 * locale/programs/locarchive.c (compute_hashval): Likewise.
15690 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
15691 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
15692 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
15693 * nss/getent.c (print_rpc, print_protocols): Likewise.
15694 (print_passwd, print_group, print_aliases): Likewise.
15695 * nis/nss-nisplus.h (niserr2nss): Likewise.
15696 * nscd/connections.c (restart_p): Likewise.
15697 Change return type to bool.
15698
15699 2013-02-05 Roland McGrath <roland@hack.frob.com>
15700
15701 * Makeconfig (all-Depend-files): Add existing
15702 $(sorted-subdirs:=/Depend) files.
15703 (all-subdirs): Remove nss.
15704 * sysdeps/unix/inet/Subdirs: Add it here instead.
15705 * hesiod/Depend: New file.
15706
15707 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
15708 instead of calling alloca.
15709
15710 * io/lseek.c (__lseek): Rename to __libc_lseek.
15711 Define __lseek as an alias.
15712
15713 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
15714
15715 2013-02-04 Carlos O'Donell <carlos@redhat.com>
15716
15717 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
15718 else clause and remove check for non-standard endianness.
15719
15720 2013-02-04 David S. Miller <davem@davemloft.net>
15721
15722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15723
15724 2013-02-04 Joseph Myers <joseph@codesourcery.com>
15725
15726 [BZ #13550]
15727 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
15728 (__ubp_memchr): Remove prototype.
15729 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
15730 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15731 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
15732 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15733 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
15734 Remove alias.
15735 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
15736 (__ubp_memchr): Likewise.
15737 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
15738 (__ubp_memchr): Likewise.
15739 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
15740 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
15741 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
15742 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
15743 CHECK_STRING.
15744 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15745 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
15746 (__getcwd): Do not use CHECK_STRING.
15747 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15748 <bp-checks.h>.
15749 (__real_chown): Do not use CHECK_STRING.
15750 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
15751 <bp-checks.h>.
15752 (fchownat): Do not use CHECK_STRING.
15753 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
15754 CHECK_STRING.
15755 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15756 <bp-checks.h>.
15757 (__lchown): Do not use CHECK_STRING.
15758 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15759 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15760 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15761 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
15762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15763 include <bp-checks.h>.
15764 (truncate64): Do not use CHECK_STRING.
15765 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15766 <bp-checks.h>.
15767 (__real_chown): Do not use CHECK_STRING.
15768 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15769 <bp-checks.h>.
15770 (__lchown): Do not use CHECK_STRING.
15771 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15772 <bp-checks.h>.
15773 (__chown): Do not use CHECK_STRING.
15774 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
15775 <bp-checks.h>.
15776 (truncate64): Do not use CHECK_STRING.
15777 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
15778 Likewise.
15779 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
15780 (__xmknod): Do not use CHECK_STRING.
15781 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15782 <bp-checks.h>.
15783 (__xmknodat): Do not use CHECK_STRING.
15784 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15785 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
15786
15787 2013-02-04 Andreas Schwab <schwab@suse.de>
15788
15789 [BZ #14142]
15790 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
15791 * include/netdb.h: Likewise for h_errno.
15792 * elf/tst-stackguard1.c: Include <tls.h>.
15793
15794 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15795
15796 * elf/link.h (struct link_map): Extend the l_addr comment.
15797 * include/link.h (struct link_map): Likewise.
15798
15799 2013-02-01 Joseph Myers <joseph@codesourcery.com>
15800
15801 [BZ #13550]
15802 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
15803 (BOUNDED_1): Remove macro.
15804 * debug/backtrace.c: Don't include <bp-checks.h>.
15805 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
15806 (__backtrace): Likewise.
15807 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
15808 <bp-checks.h>.
15809 (__backtrace): Don't use BOUNDED_1.
15810 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
15811 <bp-checks.h>.
15812 (__backtrace): Don't use BOUNDED_1.
15813 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
15814 (__backtrace): Don't use BOUNDED_1.
15815 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
15816 (shmat): Don't use BOUNDED_N.
15817
15818 2013-01-31 Joseph Myers <joseph@codesourcery.com>
15819
15820 [BZ #13550]
15821 * sysdeps/generic/bp-start.h: Remove file.
15822 * csu/libc-start.c: Don't include <bp-start.h>.
15823 (LIBC_START_MAIN): Set up __environ directly instead of using
15824 INIT_ARGV_and_ENVIRON.
15825 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
15826 <bp-start.h>.
15827
15828 [BZ #13550]
15829 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
15830 definitions.
15831 (CHECK_FCNTL): Likewise.
15832 (CHECK_N_PAGES): Likewise.
15833
15834 [BZ #13550]
15835 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
15836 definitions.
15837 (CHECK_SIGSET_NULL_OK): Likewise.
15838 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
15839 <bp-checks.h>.
15840 (sigpending): Don't use CHECK_SIGSET.
15841 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
15842 <bp-checks.h>.
15843 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15844 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
15845 <bp-checks.h>.
15846 (do_sigsuspend): Don't use CHECK_SIGSET.
15847 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
15848 use CHECK_SIGSET.
15849 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
15850 (do_sigwait): Don't use CHECK_SIGSET.
15851 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
15852 use CHECK_SIGSET.
15853 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
15854 include <bp-checks.h>.
15855 (sigpending): Don't use CHECK_SIGSET.
15856 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
15857 include <bp-checks.h>.
15858 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15859 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
15860 <bp-checks.h>.
15861 (sigpending): Don't use CHECK_SIGSET.
15862 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
15863 <bp-checks.h>.
15864 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15865
15866 [BZ #13550]
15867 * sysdeps/generic/bp-semctl.h: Remove file.
15868 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
15869 <bp-checks.h> and <bp-semctl.h>.
15870 (__old_semctl): Don't use CHECK_SEMCTL.
15871 (__new_semctl): Likewise.
15872 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
15873 and <bp-semctl.h>.
15874 (__old_semctl): Don't use CHECK_SEMCTL.
15875 (__new_semctl): Likewise.
15876 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
15877 <bp-checks.h> and <bp-semctl.h>.
15878 (__old_semctl): Don't use CHECK_SEMCTL.
15879 (__new_semctl): Likewise.
15880 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
15881 <bp-checks.h> and <bp-semctl.h>.
15882 (semctl): Don't use CHECK_SEMCTL.
15883
15884 [BZ #13550]
15885 * Makerules (elide-bp-thunks): Remove variable.
15886 (elide-routines.oS): Don't use $(elide-bp-thunks).
15887 (elide-routines.os): Likewise.
15888 (elide-routines.o): Likewise.
15889 (elide-routines.op): Likewise.
15890 (elide-routines.og): Likewise.
15891 (objects): Don't use $(bp-thunks).
15892 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
15893 include.
15894 (common-generated): Do not add s-proto-bp.d.
15895 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
15896 (int): Likewise.
15897 (typ): Likewise.
15898 Do not generate makefile rules for bounded-pointer thunks.
15899 * sysdeps/generic/bp-thunks.h: Remove file.
15900 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
15901 * sysdeps/unix/s-proto-bp.S: Likewise.
15902
15903 [BZ #15062]
15904 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
15905 parts of result separately when argument is not close to line from
15906 -i to i and one part of argument is small.
15907 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15908 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15909 * math/libm-test.inc (cacos_test): Add more tests.
15910 (casin_test): Likewise.
15911 (casinh_test): Likewise.
15912 * sysdeps/i386/fpu/libm-test-ulps: Update.
15913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15914
15915 2013-01-31 David S. Miller <davem@davemloft.net>
15916
15917 * po/de.po: Update from translation team.
15918
15919 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
15920
15921 * time/tzfile.c: Include stdint.h for SIZE_MAX.
15922
15923 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
15924
15925 * configure.in (_AC_PROG_CC_C89): New definition.
15926 * configure: Regenerate.
15927
15928 * configure.in (AC_PROG_CPP): New definition.
15929 * configure: Regenerate.
15930
15931 2013-01-23 Joseph Myers <joseph@codesourcery.com>
15932
15933 * debug/tst-backtrace.h: New file.
15934 * debug/tst-backtrace2.c: Include tst-backtrace.h.
15935 (ret): Remove variable.
15936 (x): Likewise.
15937 (FAIL): Remove macro.
15938 (NO_INLINE): Likewise.
15939 (fn1): Use match function instead of strstr.
15940 * debug/tst-backtrace3.c: Include tst-backtrace.h.
15941 (ret): Remove variable.
15942 (x): Likewise.
15943 (FAIL): Remove macro.
15944 (NO_INLINE): Likewise.
15945 (fn): Use match function instead of strstr.
15946 * debug/tst-backtrace4.c: Include tst-backtrace.h.
15947 (ret): Remove variable.
15948 (x): Likewise.
15949 (FAIL): Remove macro.
15950 (NO_INLINE): Likewise.
15951 (handle_signal): Use match function instead of strstr.
15952 * debug/tst-backtrace5.c: Include tst-backtrace.h.
15953 (ret): Remove variable.
15954 (x): Likewise.
15955 (FAIL): Remove macro.
15956 (NO_INLINE): Likewise.
15957 (handle_signal): Use match function instead of strstr.
15958
15959 2013-01-23 Roland McGrath <roland@hack.frob.com>
15960
15961 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
15962
15963 2013-01-23 David S. Miller <davem@davemloft.net>
15964
15965 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
15966 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
15967 argument of CAS if possible.
15968 * sysdeps/sparc/sparc64/bits/atomic.h
15969 (__arch_compare_and_exchange_val_32_acq): Likewise.
15970 (__arch_compare_and_exchange_val_64_acq): Likewise.
15971
15972 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
15973
15974 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
15975 * sysdeps/posix/ulimit.c: ... this.
15976 Include <limits.h>.
15977 * sysdeps/unix/bsd/ulimit.c: Remove file.
15978
15979 2013-01-23 Adam Conrad <adconrad@0c3.net>
15980
15981 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
15982 (LDFLAGS-tst-array5): Likewise.
15983
15984 2013-01-23 Joseph Myers <joseph@codesourcery.com>
15985
15986 [BZ #15036]
15987 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
15988 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
15989 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
15990 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
15991
15992 2013-01-21 David S. Miller <davem@davemloft.net>
15993
15994 * sysdeps/sparc/backtrace.c: New file.
15995 * sysdeps/sparc/sparc32/backtrace.h: New file.
15996 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
15997 * sysdeps/sparc/sparc64/backtrace.h: New file.
15998 * sysdeps/sparc/sparc64/backtrace.c: Delete.
15999 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
16000 -funwind-tables.
16001
16002 2013-01-21 Andreas Schwab <schwab@suse.de>
16003
16004 [BZ #15020]
16005 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
16006 closed its stdout.
16007
16008 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
16009
16010 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
16011 "mpa2.h".
16012 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16013
16014 2013-01-18 Joseph Myers <joseph@codesourcery.com>
16015 Mark Mitchell <mark@codesourcery.com>
16016 Tom de Vries <tom@codesourcery.com>
16017 Paul Pluzhnikov <ppluzhnikov@google.com>
16018
16019 * debug/tst-backtrace2.c: New file.
16020 * debug/tst-backtrace3.c: Likewise.
16021 * debug/tst-backtrace4.c: Likewise.
16022 * debug/tst-backtrace5.c: Likewise.
16023 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
16024 (CFLAGS-tst-backtrace3.c): Likewise.
16025 (CFLAGS-tst-backtrace4.c): Likewise.
16026 (CFLAGS-tst-backtrace5.c): Likewise.
16027 (LDFLAGS-tst-backtrace2): Likewise.
16028 (LDFLAGS-tst-backtrace3): Likewise.
16029 (LDFLAGS-tst-backtrace4): Likewise.
16030 (LDFLAGS-tst-backtrace5): Likewise.
16031 (tests): Add new tests tst-backtrace2, tst-backtrace3,
16032 tst-backtrace4 and tst-backtrace5.
16033
16034 2013-01-18 Anton Blanchard <anton@samba.org>
16035 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16036
16037 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
16038 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
16039 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
16040 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
16041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16042 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
16043 "+r" and remove output regs list as redundant. Add explicit inline
16044 asm to specify register of return val to work around compiler codegen
16045 bug. Remove (int) cast on return value. Add return type parameter to
16046 use in macro so that this macro does not truncate return value for
16047 64-bit values.
16048 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
16049 pass to INTERNAL_VSYSCALL_NCS.
16050 (INLINE_VSYSCALL): Add 'long int' as return type to
16051 INTERNAL_VSYSCALL_NCS macro invocation.
16052 (INTERNAL_VSYSCALL): Add 'long int' as return type to
16053 INTERNAL_VSYSCALL_NCS macro invocation.
16054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16055
16056 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16057
16058 [BZ #14496]
16059 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
16060 Fix application of SIMD FP exception mask.
16061
16062 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
16063 mp_no from a power of two.
16064 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
16065 __mpexp_twomm1. Use __pow_mp.
16066
16067 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
16068 multiplication.
16069
16070 2013-01-17 David S. Miller <davem@davemloft.net>
16071
16072 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16073
16074 2013-01-17 Joseph Myers <joseph@codesourcery.com>
16075
16076 [BZ #15023]
16077 * include/complex.h: Condition contents on [!_COMPLEX_H].
16078 (__kernel_casinhf): New prototype.
16079 (__kernel_casinh): Likewise.
16080 (__kernel_casinhl): Likewise.
16081 * math/Makefile (libm_calls): Add k_casinh.
16082 * math/k_casinh.c: New file.
16083 * math/k_casinhf.c: Likewise.
16084 * math/k_casinhl.c: Likewise.
16085 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
16086 finite nonzero arguments.
16087 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
16088 finite nonzero arguments.
16089 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
16090 finite nonzero arguments.
16091 * math/s_casinh.c: Do not include <float.h>.
16092 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
16093 * math/s_casinhf.c: Do not include <float.h>.
16094 (__casinhf): Move code for finite nonzero arguments to
16095 k_casinhf.c.
16096 * math/s_casinhl.c: Do not include <float.h>.
16097 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
16098 redefine.
16099 (__casinhl): Move code for finite nonzero arguments to
16100 k_casinhl.c.
16101 * math/libm-test.inc (cacos_test): Add more tests.
16102 * sysdeps/i386/fpu/libm-test-ulps: Update.
16103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16104
16105 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
16106
16107 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
16108 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
16109 [!HAVE_MREMAP]: Remove [defined linux] case.
16110 * malloc/arena.c: Do not include <malloc-sysdep.h>.
16111
16112 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16113
16114 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
16115
16116 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
16117
16118 * elf/elf.h (R_386_SIZE32): New relocation.
16119 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
16120 R_386_SIZE32.
16121 (elf_machine_rela): Likewise.
16122 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
16123 R_X86_64_SIZE64 and R_X86_64_SIZE32.
16124
16125 2013-01-17 Joseph Myers <joseph@codesourcery.com>
16126
16127 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
16128 (FP_FAST_FMA): Do not define.
16129 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
16130 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
16131 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
16132 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
16133 !_SOFT_FLOAT]: Likewise.
16134 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
16135 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
16136 value.
16137 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
16138 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
16139 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
16140 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
16141 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
16142 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
16143 file.
16144
16145 2013-01-16 Andreas Schwab <schwab@suse.de>
16146
16147 [BZ #14327]
16148 * include/stdlib.h (__mktemp): Add declaration.
16149 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
16150 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
16151
16152 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16153
16154 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
16155 definitions.
16156 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16157 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
16158 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
16159 definitions here.
16160 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
16161 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
16162 definitions.
16163 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
16164 and ONE.
16165 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
16166 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
16167 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
16168 definitions.
16169 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
16170 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
16171 definitions.
16172 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
16173
16174 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
16175
16176 2013-01-15 David S. Miller <davem@davemloft.net>
16177
16178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
16179 trunc{,f} to libm-sysdep_routes.
16180 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
16182 file.
16183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
16184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
16185 file.
16186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
16187 file.
16188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
16189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
16190 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
16191 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
16192 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
16193 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
16194 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
16195 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
16196
16197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
16198 nearbyint{,f} to libm-sysdep_routes.
16199 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
16201 New file.
16202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
16203 file.
16204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
16205 New file.
16206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
16207 file.
16208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
16209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
16210 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
16211 file.
16212 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
16213 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
16214 file.
16215 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
16216 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
16217 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
16218
16219 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16220 libc_feholdexcept and libc_fesetenv.
16221
16222 2013-01-15 Mike Frysinger <vapier@gentoo.org>
16223
16224 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
16225
16226 2013-01-14 David S. Miller <davem@davemloft.net>
16227
16228 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
16229 (SPARC_ASM_VIS2_IFUNC): Likewise.
16230 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
16231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
16232 use of 'siam' instruction.
16233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
16234 Likewise.
16235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
16236 Likewise.
16237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
16238 Likewise.
16239 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
16240 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
16241 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
16242 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
16243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
16244 file.
16245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
16246 file.
16247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
16248 file.
16249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
16250 file.
16251 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
16252 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
16253 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
16254 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
16255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
16256 new VIS2 routines.
16257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16260 Likewise.
16261 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16262 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16263 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16264 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
16266 routines to libm-sysdep_routines.
16267 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16268
16269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
16270 fdim/fdimf to libm-sysdep_routines.
16271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
16272 file.
16273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
16274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
16275 file.
16276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
16277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
16278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
16279 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
16280 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
16281 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
16282 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
16283
16284 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16285
16286 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
16287 to optimize copies.
16288
16289 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
16290 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16291 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16292
16293 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
16294 local variable MPTWO.
16295 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16296 Likewise.
16297
16298 2013-01-13 Mike Frysinger <vapier@gentoo.org>
16299
16300 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
16301 GLOB_NOESCAPE.
16302
16303 2013-01-13 Mike Frysinger <vapier@gentoo.org>
16304
16305 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
16306
16307 2013-01-13 Mike Frysinger <vapier@gentoo.org>
16308
16309 * manual/pattern.texi (glob_t): Document gl_flags.
16310 (glob64_t): Likewise.
16311
16312 2013-01-11 David S. Miller <davem@davemloft.net>
16313
16314 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
16315 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
16316 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
16317 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
16318 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
16319 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
16320 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
16321 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
16322 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
16323 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
16324 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
16325 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
16326 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
16327
16328 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
16329 sparc V9 rather than using V8 code.
16330 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16331 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16332
16333 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16334 Move to...
16335 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
16336 Here.
16337
16338 2013-01-11 Roland McGrath <roland@hack.frob.com>
16339
16340 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
16341 not in the main loop.
16342 * configure: Regenerated.
16343
16344 2013-01-11 Joseph Myers <joseph@codesourcery.com>
16345
16346 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
16347 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
16348 to just #else.
16349 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
16350 [!__GLIBC_HAVE_LONG_LONG] case.
16351 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
16352 condition to just #else.
16353 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
16354 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
16355 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
16356 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
16357 unconditional.
16358 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
16359 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
16360 #elif condition to just #else.
16361 * sysdeps/unix/sysv/linux/sys/sysmacros.h
16362 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
16363 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
16364 #elif condition to just #else.
16365
16366 2013-01-11 Steve Ellcey <sellcey@mips.com>
16367
16368 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
16369 (EF_MIPS_ARCH_64): Fix value.
16370 (EF_MIPS_ARCH_32R2): New.
16371 (EF_MIPS_ARCH_64R2): New.
16372
16373 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
16374
16375 * Makeconfig (+link-pie-before-libc): New.
16376 (+link-pie-after-libc): Likewise.
16377 (+link-pie-tests): Likewise.
16378 (+link-pie): Rewritten.
16379 (link-before-libc): Remove $(config-LDFLAGS).
16380 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
16381 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
16382 (config-LDFLAGS): Renamed to ...
16383 (rtld-LDFLAGS): This.
16384 (rtld-tests-LDFLAGS): New macro.
16385 (link-libc-rpath-link): Likewise.
16386 (link-libc-tests-rpath-link): Likewise.
16387 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
16388 (link-libc): Prepand $(link-libc-rpath-link).
16389 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
16390 (test-program-prefix): New macro.
16391 (test-via-rtld-prefix): Likewise.
16392 (test-program-cmd): Likewise.
16393 (host-test-program-cmd): Likewise.
16394 * Makefile ($(common-objpfx)testrun.sh): Replace
16395 $(run-program-prefix) with $(test-program-prefix).
16396 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
16397 $(rtld-LDFLAGS).
16398 ($(common-objpfx)shlib.lds): Likewise.
16399 (build-module-helper): Likewise.
16400 ($(common-objpfx)format.lds): Likewise.
16401 * Rules (binaries-pie-tests): New.
16402 (binaries-pie-notests): Likewise.
16403 (binaries-pie): Rewritten.
16404 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
16405 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
16406 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
16407 (make-test-out): Replace $(host-built-program-cmd) with
16408 $(host-test-program-cmd).
16409 * config.make.in (build-hardcoded-path-in-tests): New variable.
16410 * configure.in (--enable-hardcoded-path-in-tests): New configure
16411 option.
16412 (hardcoded_path_in_tests): New AC_SUBST.
16413 * configure: Regenerated.
16414 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
16415 $(built-program-cmd) with $(test-program-cmd).
16416 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
16417 (test_program_cmd): This.
16418 * elf/Makefile ($(objpfx)order.out): Run test with
16419 $(test-program-prefix).
16420 ($(objpfx)order2.out): Likewise.
16421 ($(objpfx)tst-initorder.out): Likewise.
16422 ($(objpfx)tst-initorder2.out): Likewise.
16423 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
16424 $(test-program-cmd).
16425 ($(objpfx)tst-array1-static.out): Likewise.
16426 ($(objpfx)tst-array2.out): Likewise.
16427 ($(objpfx)tst-array3.out): Likewise.
16428 ($(objpfx)tst-array4.out): Likewise.
16429 ($(objpfx)tst-array5.out): Likewise.
16430 ($(objpfx)tst-array5-static.out): Likewise.
16431 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
16432 $(test-program-cmd).
16433 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
16434 $(run-program-prefix) with $(test-program-prefix).
16435 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
16436 (test_program_prefix): This.
16437 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
16438 $(run-program-prefix) with $(test-program-prefix).
16439 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
16440 (test_program_prefix): This.
16441 * iconvdata/tst-tables.sh: Likewise.
16442 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
16443 $(run-program-prefix) with $(test-program-prefix).
16444 ($(objpfx)tst-translit.out): Likewise.
16445 ($(objpfx)tst-gettext2.out): Likewise.
16446 ($(objpfx)tst-gettext4.out): Likewise.
16447 ($(objpfx)tst-gettext6.out): Likewise.
16448 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
16449 (test_program_prefix): This.
16450 * intl/tst-gettext2.sh: Likewise.
16451 * intl/tst-gettext4.sh Likewise.
16452 * intl/tst-gettext6.sh: Likewise.
16453 * intl/tst-translit.sh: Likewise.
16454 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
16455 with $(test-program-cmd).
16456 * libio/Makefile ($(objpfx)test-freopen.out): Replace
16457 $(run-program-prefix) with $(test-program-prefix).
16458 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
16459 (test_program_prefix): This.
16460 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
16461 $(run-program-prefix) with $(test-program-prefix).
16462 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
16463 (test_program_prefix): This.
16464 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
16465 * posix/Makefile ($(objpfx)globtest.out): Replace
16466 $(run-via-rtld-prefix) and $(test-wrapper) with
16467 $(test-program-prefix) and $(test-via-rtld-prefix).
16468 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
16469 $(test-program-prefix).
16470 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
16471 $(host-test-program-cmd).
16472 (tst-spawn-ARGS): Likewise.
16473 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
16474 $(test-program-prefix).
16475 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
16476 (test_via_rtld_prefix): This.
16477 (test_wrapper): Renamed to ...
16478 (test_program_prefix): This.
16479 (run_program_prefix): Replaced by test_program_prefix.
16480 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
16481 (test_program_prefix): This.
16482 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
16483 with $(host-test-program-cmd).
16484 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
16485 $(run-program-prefix) with $(test-program-prefix).
16486 ($(objpfx)tst-printf.out): Likewise.
16487 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
16488 $(test-program-cmd).
16489 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
16490 (test_program_prefix): This.
16491 * stdio-common/tst-unbputc.sh: Likewise.
16492 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
16493 $(run-program-prefix) with $(test-program-prefix).
16494 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
16495 (test_program_prefix): This.
16496 * string/Makefile ($(objpfx)tst-svc.out): Replace
16497 $(built-program-cmd) with $(test-program-cmd).
16498
16499 2013-01-11 Andreas Jaeger <aj@suse.de>
16500
16501 [BZ #15003]
16502 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
16503 value. Sync with Linux 3.7.
16504
16505 2013-01-10 David S. Miller <davem@davemloft.net>
16506
16507 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
16508 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16509 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16510
16511 2013-01-10 Roland McGrath <roland@hack.frob.com>
16512
16513 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
16514 never set.
16515 * configure: Regenerated.
16516
16517 2013-01-10 David S. Miller <davem@davemloft.net>
16518
16519 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
16520 sparc V9 rather than using V8 code.
16521 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16522 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16523
16524 2013-01-10 Roland McGrath <roland@hack.frob.com>
16525
16526 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
16527 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
16528 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
16529 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
16530 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
16531 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
16532 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
16533 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
16534 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
16535 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
16536 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
16537 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
16538 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
16539 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
16540 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
16541 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
16542 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
16543 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
16544 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
16545 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
16546 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
16547 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
16548 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
16549 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
16550 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
16551 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
16552 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
16553
16554 2013-01-10 David S. Miller <davem@davemloft.net>
16555
16556 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16557
16558 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
16559
16560 * posix/Makefile (tests-static): New variable.
16561 (tests): Add $(tests-static).
16562 (tst-exec-static-ARGS): New variable.
16563 (tst-spawn-static-ARGS): Likewise.
16564 * posix/tst-exec-static.c: New file.
16565 * posix/tst-spawn-static.c: Likewise.
16566 * posix/tst-exec.c: Support run directly.
16567 * posix/tst-spawn.c: Likewise.
16568
16569 2013-01-10 Joseph Myers <joseph@codesourcery.com>
16570
16571 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
16572 long.
16573 * math/bits/mathcalls.h (llrint): Likewise.
16574 (llround): Likewise.
16575 * stdlib/stdlib.h (struct drand48_data): Likewise.
16576 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
16577 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
16578 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
16579 Likewise.
16580 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
16581 Likewise.
16582 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
16583 (elf_greg_t): Likewise.
16584 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
16585 (__jmp_buf): Likewise.
16586 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
16587 definitions.
16588 (llrint): Likewise, for all definitions.
16589 (llrintl): Likewise.
16590
16591 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
16592 Remove [__GNUC__] condition.
16593 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
16594 condition to just [__USE_ISOC99].
16595 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
16596
16597 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
16598
16599 [BZ #14200]
16600 * sysdeps/unix/sysv/linux/x86/bits/environments.h
16601 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
16602 defined.
16603 (_POSIX_V6_ILP32_OFF32): Likewise.
16604 (_XBS5_ILP32_OFF32): Likewise.
16605 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
16606 (__ILP32_OFFBIG_LDFLAGS): Likewise.
16607
16608 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16609
16610 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
16611
16612 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
16613 doubles __mpexp_twomm1. Adjust usage.
16614 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
16615 Remove.
16616
16617 2013-01-10 Andreas Schwab <schwab@suse.de>
16618
16619 [BZ #14964]
16620 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
16621 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
16622
16623 2013-01-09 David S. Miller <davem@davemloft.net>
16624
16625 [BZ #15003]
16626 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
16627 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
16628 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
16629 TCP_FASTOPEN): Define.
16630 (tcp_repair_opt): New structure.
16631 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
16632 enum values.
16633 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
16634 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
16635 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
16636 (tcp_cookie_transactions): New structure.
16637
16638 2013-01-09 Anton Blanchard <anton@samba.org>
16639
16640 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
16641 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
16642 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
16643 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
16644
16645 2013-01-09 Joseph Myers <joseph@codesourcery.com>
16646
16647 * include/features.h (__USE_ANSI): Remove.
16648
16649 2013-01-09 Roland McGrath <roland@hack.frob.com>
16650
16651 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
16652
16653 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
16654
16655 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
16656
16657 * sysdeps/s390/fpu/libm-test-ulps: Update.
16658
16659 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16660
16661 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
16662 (__acr): Likewise.
16663 (__cpy): Likewise.
16664 (norm): Likewise.
16665 (denorm): Likewise.
16666 (__mp_dbl): Likewise.
16667 (__dbl_mp): Likewise.
16668 (add_magnitudes): Likewise.
16669 (sub_magnitudes): Likewise.
16670 (__add): Likewise.
16671 (__sub): Likewise.
16672 (__mul): Likewise.
16673 (__inv): Likewise.
16674 (__dvd): Likewise.
16675 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
16676 (__acr): Likewise.
16677 (__cpy): Likewise.
16678 (norm): Likewise.
16679 (denorm): Likewise.
16680 (__mp_dbl): Likewise.
16681 (__dbl_mp): Likewise.
16682 (add_magnitudes): Likewise.
16683 (sub_magnitudes): Likewise.
16684 (__add): Likewise.
16685 (__sub): Likewise.
16686 (__mul): Likewise.
16687 (__inv): Likewise.
16688 (__dvd): Likewise.
16689 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
16690 (__acr): Likewise.
16691 (__cpy): Likewise.
16692 (norm): Likewise.
16693 (denorm): Likewise.
16694 (__mp_dbl): Likewise.
16695 (__dbl_mp): Likewise.
16696 (add_magnitudes): Likewise.
16697 (sub_magnitudes): Likewise.
16698 (__add): Likewise.
16699 (__sub): Likewise.
16700 (__mul): Likewise.
16701 (__inv): Likewise.
16702 (__dvd): Likewise.
16703
16704 2013-01-08 Joseph Myers <joseph@codesourcery.com>
16705
16706 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
16707 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
16708 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
16709 2 && __USE_EXTERN_INLINES]: Likewise.
16710
16711 2013-01-08 Andreas Jaeger <aj@suse.de>
16712
16713 [BZ# 14985]
16714 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
16715 Remove.
16716 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16717 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16718
16719 2013-01-07 Anton Blanchard <anton@samba.org>
16720
16721 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
16722 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16723 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
16724 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16725 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16726 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16727 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
16728 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16729 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16730 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16731 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16732 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16733 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16734 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16735 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16736 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16737 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16738 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16739 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16740 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16741 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16742 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
16743 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16744 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16745 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
16746 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16747 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16748 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16749 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
16750 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16751 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16752 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16753 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16754 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16755 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16756 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16757 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16758 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16759 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
16760 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16761 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
16762 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16763 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16764
16765 2013-01-07 Joseph Myers <joseph@codesourcery.com>
16766
16767 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
16768 (__MALLOC_PMT): Likewise.
16769 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
16770 [__GNUC__], only on [_LIBC].
16771 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16772 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
16773 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16774 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
16775 forward declaration.
16776 (realloc_hook_ini): Likewise.
16777 (memalign_hook_ini): Likewise.
16778 (__libc_memalign): Do not use __MALLOC_PMT in variable
16779 declaration.
16780 (__libc_valloc): Likewise.
16781 (__libc_pvalloc): Likewise.
16782 (__libc_calloc): Likewise.
16783 (__posix_memalign): Likewise.
16784
16785 [BZ #14996]
16786 * math/s_casinh.c: Include <float.h>.
16787 (__casinh): Do not do computation with squaring and square root
16788 for large arguments.
16789 * math/s_casinhf.c: Include <float.h>.
16790 (__casinhf): Do not do computation with squaring and square root
16791 for large arguments.
16792 * math/s_casinhl.c: Include <float.h>.
16793 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
16794 (__casinhl): Do not do computation with squaring and square root
16795 for large arguments.
16796 * math/libm-test.inc (casin_test): Add more tests.
16797 (casinh_test): Likewise.
16798 * sysdeps/i386/fpu/libm-test-ulps: Update.
16799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16800
16801 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
16802
16803 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
16804 (__x86_64_raw_data_cache_size): Likewise.
16805 (__x86_64_data_cache_size_half): Likewise.
16806 (__x86_64_raw_data_cache_size_half): Likewise.
16807 (__x86_64_shared_cache_size): Likewise.
16808 (__x86_64_raw_shared_cache_size): Likewise.
16809 (__x86_64_shared_cache_size_half): Likewise.
16810 (__x86_64_raw_shared_cache_size_half): Likewise.
16811 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
16812 to ...
16813 (__x86_data_cache_size): This.
16814 (__x86_64_raw_data_cache_size): Renamed to ...
16815 (__x86_raw_data_cache_size): This.
16816 (__x86_64_data_cache_size_half): Renamed to ...
16817 (__x86_data_cache_size_half): This.
16818 (__x86_64_raw_data_cache_size_half): Renamed to ...
16819 (__x86_raw_data_cache_size_half): This.
16820 (__x86_64_shared_cache_size): Renamed to ...
16821 (__x86_shared_cache_size): This.
16822 (__x86_64_raw_shared_cache_size): Renamed to ...
16823 (__x86_raw_shared_cache_size): This.
16824 (__x86_64_shared_cache_size_half): Renamed to ...
16825 (__x86_shared_cache_size_half): This.
16826 (__x86_64_raw_shared_cache_size_half): Renamed to ...
16827 (__x86_raw_shared_cache_size_half): This.
16828 * sysdeps/x86_64/memcpy.S: Updated.
16829 * sysdeps/x86_64/memset.S: Likewise.
16830 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16831 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16832 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16833
16834 2013-01-04 David S. Miller <davem@davemloft.net>
16835
16836 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16837
16838 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
16839
16840 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
16841 1 to avoid redefinition warning.
16842 (__USE_GNU): Don't define.
16843 (init_signaling_nan): Protoize.
16844
16845 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16846
16847 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16848
16849 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
16850 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
16851 (__cpymn): Likewise.
16852 (norm): Remove commented code.
16853 (denorm): Likewise.
16854 (__mp_dbl): Likewise.
16855 (__inv): Likewise.
16856 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
16857 (__cpymn): Likewise.
16858 (norm): Remove commented code.
16859 (denorm): Likewise.
16860 (__mp_dbl): Likewise.
16861 (__inv): Likewise.
16862
16863 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
16864 mp_no value for 1.0 and 2.0.
16865 (norm): Use RADIXI instead of radixi.d.
16866 (denorm): Likewise.
16867 (__mul): Use 0.0 instead of zero.d.
16868 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
16869 mp_no value for 1.0 and 2.0.
16870 (norm): Use RADIXI instead of radixi.d.
16871 (denorm): Likewise.
16872 (__mul): Use 0.0 instead of zero.d.
16873
16874 2013-01-04 Joseph Myers <joseph@codesourcery.com>
16875
16876 [BZ #14994]
16877 * math/s_casinh.c (__casinh): Reduce finite argument to first
16878 quadrant then set signs of results at the end.
16879 * math/s_casinhf.c (__casinhf): Likewise.
16880 * math/s_casinhl.c (__casinhl): Likewise.
16881 * math/libm-test.inc (casin_test): Add more tests.
16882 (casinh_test): Likewise.
16883 * sysdeps/i386/fpu/libm-test-ulps: Update.
16884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16885
16886 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16887
16888 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
16889
16890 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
16891
16892 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
16893 declarations.
16894 (denorm): Likewise.
16895 (__mp_dbl): Likewise.
16896 (__inv): Likewise.
16897
16898 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
16899 and adjust the header comment.
16900
16901 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
16902 variable name from declaration.
16903
16904 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
16905
16906 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16907 Initialize COMMON_CPUID_INDEX_7 element.
16908 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
16909 (CPUID_RTM): Likewise.
16910 (HAS_RTM): Likewise.
16911 (COMMON_CPUID_INDEX_7): New enum.
16912
16913 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
16914
16915 [BZ #14981]
16916 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
16917 size is zero, record memory as freed.
16918
16919 2013-01-03 Andreas Jaeger <aj@suse.de>
16920
16921 * po/ia.po: Add new Interlingua translation.
16922
16923 2012-01-03 Allan McRae <allan@archlinux.org>
16924
16925 * locale/programs/localedef.c: Fix description of '--posix' flag.
16926
16927 2013-01-02 Joseph Myers <joseph@codesourcery.com>
16928
16929 * NEWS: Update dates in second copyright notice.
16930 * README: Update copyright dates in example.
16931 * manual/libc.texinfo: Update copyright dates.
16932 * scripts/test-installation.pl: Update copyright date in --version
16933 output.
16934
16935 * hurd/ctty-input.c: Fix copyright notice formatting.
16936 * hurd/ctty-output.c: Likewise.
16937 * hurd/dtable.c: Likewise.
16938 * hurd/hurd-raise.c: Likewise.
16939 * hurd/hurdprio.c: Likewise.
16940 * hurd/msgportdemux.c: Likewise.
16941 * misc/sys/file.h: Likewise.
16942 * misc/sys/ioctl.h: Likewise.
16943 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16944 * sysdeps/mach/hurd/chdir.c: Likewise.
16945 * sysdeps/mach/hurd/fchdir.c: Likewise.
16946 * sysdeps/mach/hurd/rename.c: Likewise.
16947 * sysdeps/mach/hurd/rmdir.c: Likewise.
16948 * sysdeps/mach/hurd/seekdir.c: Likewise.
16949 * sysdeps/mach/hurd/setsid.c: Likewise.
16950 * sysdeps/posix/wait3.c: Likewise.
16951
16952 * All files with FSF copyright notices: Update copyright dates
16953 using scripts/update-copyrights.
16954 * intl/plural.c: Regenerated.
16955 * locale/programs/charmap-kw.h: Likewise.
16956 * locale/programs/locfile-kw.h: Likewise.
16957
16958 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16959
16960 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
16961 four values.
16962
16963 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
16964 calculation loop and add branch prediction.
16965
16966 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
16967 check access beyond bounds of m1np.
16968
16969 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16970 MPTWO.
16971 (__inv): Remove local variable MPTWO to use the global
16972 constant.
16973 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
16974 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16975 variable MPTWO.
16976 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
16977 MP3HALFS static const.
16978
16979 2013-01-01 David S. Miller <davem@davemloft.net>
16980
16981 * po/ca.po: Update from translation team.
16982
16983 2013-01-01 Joseph Myers <joseph@codesourcery.com>
16984
16985 * scripts/update-copyrights: New file.
16986 * Makeconfig: Reformat copyright notice.
16987 * ctype/ctype.h: Likewise.
16988 * debug/swprintf_chk.c: Likewise.
16989 * elf/dl-cache.c: Likewise.
16990 * elf/dl-debug.c: Likewise.
16991 * elf/dl-object.c: Likewise.
16992 * grp/initgroups.c: Likewise.
16993 * hurd/Makefile: Likewise.
16994 * hurd/hurd/signal.h: Likewise.
16995 * hurd/hurdfault.c: Likewise.
16996 * hurd/hurdioctl.c: Likewise.
16997 * hurd/hurdlookup.c: Likewise.
16998 * hurd/intr-msg.c: Likewise.
16999 * iconv/gconv_open.c: Likewise.
17000 * libio/swprintf.c: Likewise.
17001 * locale/lc-ctype.c: Likewise.
17002 * locale/nl_langinfo.c: Likewise.
17003 * mach/Machrules: Likewise.
17004 * mach/Makefile: Likewise.
17005 * malloc/obstack.h: Likewise.
17006 * manual/Makefile: Likewise.
17007 * manual/tsort.awk: Likewise.
17008 * misc/bits/stab.def: Likewise.
17009 * nis/nis_print_group_entry.c: Likewise.
17010 * nis/nis_table.c: Likewise.
17011 * nis/nss_compat/compat-pwd.c: Likewise.
17012 * nis/nss_compat/compat-spwd.c: Likewise.
17013 * po/Makefile: Likewise.
17014 * posix/fnmatch.c: Likewise.
17015 * posix/regex.h: Likewise.
17016 * resolv/Makefile: Likewise.
17017 * resolv/nss_dns/dns-network.c: Likewise.
17018 * resolv/res_hconf.c: Likewise.
17019 * scripts/gen-sorted.awk: Likewise.
17020 * soft-fp/soft-fp.h: Likewise.
17021 * stdio-common/printf.h: Likewise.
17022 * stdlib/monetary.h: Likewise.
17023 * stdlib/random.c: Likewise.
17024 * stdlib/random_r.c: Likewise.
17025 * sysdeps/generic/Makefile: Likewise.
17026 * sysdeps/gnu/Makefile: Likewise.
17027 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17028 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17029 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17030 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17031 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17032 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17033 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17034 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17035 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17036 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17037 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17038 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17039 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17040 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17041 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
17042 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17043 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17044 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17045 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17046 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17047 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17048 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17049 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17050 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17051 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
17052 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17053 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17054 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
17055 * sysdeps/mach/hurd/errnos.awk: Likewise.
17056 * sysdeps/mach/hurd/fork.c: Likewise.
17057 * sysdeps/mach/hurd/getcwd.c: Likewise.
17058 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
17059 * sysdeps/mach/hurd/mmap.c: Likewise.
17060 * sysdeps/mach/hurd/utimes.c: Likewise.
17061 * sysdeps/mach/hurd/xmknod.c: Likewise.
17062 * sysdeps/posix/profil.c: Likewise.
17063 * sysdeps/posix/readdir_r.c: Likewise.
17064 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17065 * sysdeps/powerpc/bits/setjmp.h: Likewise.
17066 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
17067 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
17068 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
17069 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
17070 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17071 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17072 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17073 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
17074 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17075 * sysdeps/pthread/lio_listio.c: Likewise.
17076 * sysdeps/sparc/dl-procinfo.h: Likewise.
17077 * sysdeps/unix/i386/sysdep.S: Likewise.
17078 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
17079 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
17080 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
17081 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
17082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17083 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
17084 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
17085 * sysdeps/unix/sysv/linux/speed.c: Likewise.
17086 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
17087 * sysdeps/wordsize-32/divdi3.c: Likewise.
17088 * time/sys/time.h: Likewise.
17089 * wcsmbs/Makefile: Likewise.
17090
17091 2013-01-01 David S. Miller <davem@davemloft.net>
17092
17093 * po/fr.po: Update from translation team.
17094
17095 * catgets/gencat.c: Update copyright year.
17096 * csu/version.c: Likewise.
17097 * debug/catchsegv.sh: Likewise.
17098 * debug/pcprofiledump.c: Likewise.
17099 * debug/xtrace.sh: Likewise.
17100 * elf/ldconfig.c: Likewise.
17101 * elf/ldd.bash.in: Likewise.
17102 * elf/pldd.c: Likewise.
17103 * elf/sotruss.ksh: Likewise.
17104 * elf/sprof.c: Likewise.
17105 * iconv/iconv_prog.c: Likewise.
17106 * iconv/iconvconfig.c: Likewise.
17107 * locale/programs/locale.c: Likewise.
17108 * locale/programs/localedef.c: Likewise.
17109 * login/programs/pt_chown.c: Likewise.
17110 * malloc/memusage.sh: Likewise.
17111 * malloc/memusagestat.c: Likewise.
17112 * malloc/mtrace.pl: Likewise.
17113 * nscd/nscd.c: Likewise.
17114 * nss/getent.c: Likewise.
17115 * nss/makedb.c: Likewise.
17116 * posix/getconf.c: Likewise.
17117
17118 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17119
17120 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
17121 numbers.
17122
17123 2012-12-30 Mike Frysinger <vapier@gentoo.org>
17124
17125 * math/bits/mathcalls.h (modf): Use __nonnull.
17126
17127 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17128
17129 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
17130 (split): Use macro CN instead of the bare value.
17131 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
17132 could be used.
17133 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
17134 instead of the bare value.
17135 (power1): Likewise.
17136
17137 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17138
17139 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
17140 __ATAN_TWOM.
17141 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17142
17143 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
17144 their values.
17145 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
17146 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17147 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
17148 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
17149
17150 2012-12-28 Andreas Jaeger <aj@suse.de>
17151
17152 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
17153 values are from Linux 3.7.
17154
17155 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
17156 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
17157
17158 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17159
17160 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
17161 TRUE case.
17162
17163 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
17164 (norm): Likewise.
17165 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
17166 variables with preprocessor constants.
17167 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17168 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17169 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17170
17171 2012-12-27 Bruno Haible <bruno@clisp.org>
17172
17173 [BZ #14317]
17174 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
17175 only if needed.
17176
17177 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17178
17179 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
17180 and use variable directly.
17181 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
17182
17183 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
17184 MPONE.
17185 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
17186 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
17187 variable MPONE.
17188 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17189 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17190 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
17191 include directive. Remove local variable MPONE.
17192 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
17193 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
17194 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17195
17196 2012-12-25 David S. Miller <davem@davemloft.net>
17197
17198 * version.h (RELEASE): Set to "development".
17199 (VERSION): Set to "2.17.90".
17200 * NEWS: Add 2.18 section.
17201
17202 2012-12-21 David S. Miller <davem@davemloft.net>
17203
17204 * po/hr.po: Update from translation team.
17205
17206 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17207
17208 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
17209
17210 2012-12-19 Steve Ellcey <sellcey@mips.com>
17211
17212 * NEWS: Mention new memcpy for MIPS.
17213
17214 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17215
17216 * manual/contrib.texi (Contributors): Spelling correction.
17217
17218 2012-12-15 David S. Miller <davem@davemloft.net>
17219
17220 * po/ru.po: Update from translation team.
17221
17222 2012-12-13 David S. Miller <davem@davemloft.net>
17223
17224 * NEWS: Mention IFUNC testsuite enhancements.
17225
17226 * po/pl.po: Update from translation team.
17227 * po/bg.po: Likewise.
17228
17229 * manual/contrib.texi (Contributors): Update entries for Hongjiu
17230 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
17231
17232 2012-12-11 David S. Miller <davem@davemloft.net>
17233
17234 * po/sv.po: Update from translation team.
17235
17236 * po/vi.po: Update from translation team.
17237
17238 * po/cs.po: Update from translation team.
17239
17240 * po/de.po: Update from translation team.
17241 * po/eo.po: Likewise.
17242 * po/nl.po: Likewise.
17243
17244 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17245
17246 [BZ #14246]
17247 * manual/argp.texi (Argp Helper Functions): Move node to follow
17248 Argp Parsing State.
17249
17250 [BZ #14872]
17251 * manual/conf.texi (Limits on File System Capacity): Mention if
17252 terminating null is included in the max size.
17253
17254 2012-12-10 Andreas Jaeger <aj@suse.de>
17255
17256 * po/cs.po: Update from translation team.
17257
17258 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17259
17260 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
17261 void pointer and cast to uintptr_t.
17262 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
17263 path.
17264 * sysdeps/s390/s390-64/memcpy.S: Likewise.
17265 * sysdeps/s390/s390-64/memset.S: Likewise.
17266
17267 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
17268
17269 [BZ #14833]
17270 * menual/message.texi (Message Translation): Fix typos.
17271 (Helper programs for gettext): Likewise.
17272
17273 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
17274
17275 [BZ #14898]
17276 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
17277 Change to -1.
17278
17279 2012-12-07 David S. Miller <davem@davemloft.net>
17280
17281 * po/libc.pot: Update.
17282
17283 2012-12-07 Richard Henderson <rth@redhat.com>
17284
17285 [BZ #10114]
17286 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
17287 normal/normal case to before the switch.
17288 (_FP_DIV): Likewise.
17289
17290 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
17291 Mike Frysinger <vapier@gentoo.org>
17292
17293 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
17294 check for __NR_fadvise64_64.
17295
17296 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
17297
17298 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
17299 0, not just to plain "0" as a statement.
17300 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
17301 with cw.
17302
17303 2012-12-06 Joseph Myers <joseph@codesourcery.com>
17304
17305 * NEWS: Use sourceware.org in Bugzilla URL.
17306
17307 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17308
17309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17310 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
17311
17312 * stdio-common/tst-put-error.c (do_test): Add newline to the
17313 padded test to ensure flush.
17314
17315 2012-12-05 Jeff Law <law@redhat.com>
17316
17317 * sunrpc/etc.rpc (fedfs_admin): Add entry.
17318
17319 2012-12-05 Joseph Myers <joseph@codesourcery.com>
17320
17321 * README: Don't refer to ports add-on as distributed separately.
17322 Mention AArch64 in list of systems supported in the ports add-on.
17323
17324 * LICENSES: Add more non-FSF copyright and license notices.
17325
17326 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
17327 ((unused)).
17328
17329 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
17330
17331 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
17332 10000 as width of padded output.
17333
17334 2012-12-04 Joseph Myers <joseph@codesourcery.com>
17335
17336 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
17337
17338 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
17339 variable LX with __attribute__ ((unused)).
17340 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17341 Likewise.
17342 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17343 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17344 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
17345 with __attribute__ ((unused)).
17346
17347 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
17348
17349 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
17350
17351 2012-12-04 Joseph Myers <joseph@codesourcery.com>
17352
17353 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
17354 (CFLAGS-nldbl-acos.c): New variable.
17355 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
17356 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
17357 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
17358 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
17359 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
17360 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
17361 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
17362 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
17363 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
17364 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
17365 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
17366 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
17367 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
17368 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
17369 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
17370 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
17371 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
17372 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
17373 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
17374 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
17375 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
17376 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
17377 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
17378 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
17379 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
17380 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
17381 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
17382 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
17383 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
17384 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
17385 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
17386 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
17387 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
17388 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
17389 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
17390 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
17391 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
17392 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
17393 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
17394 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
17395 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
17396 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
17397 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
17398 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
17399 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
17400 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
17401 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
17402 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
17403 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
17404 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
17405 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
17406 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
17407 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
17408 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
17409 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
17410 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
17411 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
17412 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
17413 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
17414 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
17415 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
17416 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
17417 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
17418 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
17419 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
17420 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
17421 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
17422 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
17423 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
17424 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
17425 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
17426 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
17427 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
17428 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
17429 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
17430 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
17431 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
17432 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
17433 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
17434 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
17435 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
17436 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
17437 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
17438 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
17439 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
17440 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
17441 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
17442 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
17443 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
17444 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
17445 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
17446 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
17447 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
17448 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
17449 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
17450 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
17451 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
17452
17453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17454 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
17455
17456 [BZ #14914]
17457 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
17458 whole low double instead of just low 47 bits when splitting values
17459 into two parts.
17460
17461 2012-12-03 Allan McRae <allan@archlinux.org>
17462
17463 * manual/stdio.texi (Predefined Printf Handlers): Remove
17464 @hsep and @vsep usage.
17465
17466 2012-12-03 Mike Frysinger <vapier@gentoo.org>
17467
17468 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
17469 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
17470
17471 2012-12-03 Jeff Law <law@redhat.com>
17472
17473 * time/sys/time.h (settimeofday): Do not mark TV argument
17474 as __nonnull.
17475
17476 2012-12-01 Mike Frysinger <vapier@gentoo.org>
17477
17478 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
17479 when currently writing and seek to current position when not.
17480 * libio/Makefile (tests): Remove bug-fclose1.
17481 * libio/bug-fclose1.c: Delete.
17482
17483 2012-12-01 Joseph Myers <joseph@codesourcery.com>
17484
17485 * manual/arith.texi (feenableexcept): Fix typo.
17486 (fedisableexcept): Likewise.
17487
17488 2012-11-30 Roland McGrath <roland@hack.frob.com>
17489
17490 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
17491 second, differently-typed declaration, rather than a cast.
17492
17493 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17494
17495 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
17496 * include/rpc/svc.h: ... here.
17497
17498 2012-11-30 Aurelien Jarno <aurel32@debian.org>
17499
17500 [BZ #13013]
17501 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
17502 depending n and resplen2 to catch cases where answer
17503 equals answerp2.
17504
17505 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
17506
17507 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
17508 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
17509
17510 2012-11-29 Mike Frysinger <vapier@gentoo.org>
17511
17512 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
17513
17514 2012-11-29 Roland McGrath <roland@hack.frob.com>
17515
17516 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
17517
17518 2012-11-28 Jeff Law <law@redhat.com>
17519
17520 [BZ #13761]
17521 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
17522 dataset_temporary. Track alloca usage into alloca_used.
17523 If dataset is large allocate and release it via malloc/free.
17524
17525 2012-06-04 Florian Weimer <fweimer@redhat.com>
17526
17527 [BZ #14197]
17528 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
17529
17530 2012-11-28 David S. Miller <davem@davemloft.net>
17531
17532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17533
17534 2012-11-28 Joseph Myers <joseph@codesourcery.com>
17535
17536 [BZ #14803]
17537 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
17538 of pi/2 rounded to nearest to 64 bits.
17539 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
17540 nearest to 64 bits.
17541 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
17542 bits.
17543
17544 2012-11-28 Jeff Law <law@redhat.com>
17545 Martin Osvald <mosvald@redhat.com>
17546
17547 [BZ #14889]
17548 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
17549 * sunrpc/svc.c: Include time.h.
17550 (__svc_accept_failed): New function.
17551 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
17552 any reason other than EINTR, call __svc_accept_failed.
17553 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
17554 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
17555
17556 2012-11-28 Andreas Schwab <schwab@suse.de>
17557
17558 * scripts/abilist.awk: Also handle indirect functions in .opd
17559 section.
17560
17561 2012-11-28 Joseph Myers <joseph@codesourcery.com>
17562
17563 [BZ #13881]
17564 * sysdeps/x86/fpu/powl_helper.c: New file.
17565 * sysdeps/x86/fpu/Makefile: Likewise.
17566 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
17567 (p3): New object.
17568 (__ieee754_powl): Use __powl_helper for finite arguments except
17569 integer exponents below 8.
17570 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
17571 (p3): New object.
17572 (__ieee754_powl): Use __powl_helper for finite arguments except
17573 integer exponents below 8.
17574 * math/libm-test.inc (pow_test): Add more tests and enable some
17575 previously disabled tests.
17576 * sysdeps/i386/fpu/libm-test-ulps: Update.
17577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17578
17579 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17580 Carlos O'Donell <carlos_odonell@mentor.com>
17581
17582 * nss/makedb.c (is_prime): Assert that input is odd and greater
17583 than 4. Note that fact in a comment too.
17584 (next_prime): Add 4 to input.
17585
17586 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17587
17588 [BZ #11741]
17589 * libio/Makefile (tests): Add test case tst-fwrite-error.
17590 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
17591 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
17592 * libio/tst-fwrite-error.c: New test case.
17593
17594 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
17595
17596 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
17597 before casting to void *.
17598 * include/libc-internal.h (__pointer_type): New macro.
17599 (__integer_if_pointer_type_sub): Likewise.
17600 (__integer_if_pointer_type): Likewise.
17601 (cast_to_integer): Likewise.
17602 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
17603 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
17604 before casting to atomic64_t.
17605 (atomic_exchange_acq): Likewise.
17606 (__arch_exchange_and_add_body): Likewise.
17607 (__arch_add_body): Likewise.
17608 (atomic_add_negative): Likewise.
17609 (atomic_add_zero): Likewise.
17610
17611 2012-11-26 Joseph Myers <joseph@codesourcery.com>
17612
17613 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
17614 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
17615 (add_fdes): Likewise.
17616 (linear_search_fdes): Likewise.
17617 (binary_search_unencoded_fdes): Likewise.
17618
17619 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
17620
17621 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
17622
17623 2012-11-24 Adam Conrad <adconrad@0c3.net>
17624
17625 * configure.in: Autodetect C++ header directories.
17626 * configure: Regenerated.
17627
17628 2012-11-23 Mike Frysinger <vapier@gentoo.org>
17629
17630 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
17631
17632 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
17633
17634 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17635
17636 2012-11-22 Joseph Myers <joseph@codesourcery.com>
17637
17638 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
17639 LDBL_MANT_DIG == 106]: Disable some tests.
17640 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17641 Likewise.
17642 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17643 Likewise.
17644
17645 [BZ #14871]
17646 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
17647 input for small inputs. Return +/- pi/2 for large inputs.
17648 * math/libm-test.inc (atan_test): Add more tests.
17649
17650 * sysdeps/generic/unwind-dw2-fde-glibc.c
17651 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
17652 __attribute__ ((unused)).
17653
17654 [BZ #14645]
17655 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
17656 x * y if x and y are nonzero and z is zero.
17657
17658 [BZ #14811]
17659 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
17660 nonzero exponents with absolute value below 0x1p-117 to +/-
17661 0x1p-117.
17662
17663 [BZ #14869]
17664 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
17665 up arguments below 2**-450, not just those below 2**-500.
17666 * math/libm-test.inc (hypot_test): Add another test.
17667
17668 [BZ #14868]
17669 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
17670 Return a+b for ratio over 2**120, not 2**60.
17671 * math/libm-test.inc (hypot_test): Add another test.
17672
17673 * math/libm-test.inc (clog_test): Use
17674 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
17675 (clog10_test): Likewise.
17676
17677 [BZ #6778]
17678 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
17679
17680 2012-11-22 Andreas Schwab <schwab@suse.de>
17681
17682 * sysdeps/i386/fpu/libm-test-ulps: Update.
17683
17684 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
17685
17686 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
17687 printf output with newline.
17688
17689 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
17690
17691 [BZ #14865]
17692 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
17693 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
17694 -z nodlopen, -z initfirst and -z execstack support.
17695 * configure: Regenerated.
17696
17697 * elf/elf.h (DF_1_NODIRECT): New macro.
17698 (DF_1_IGNMULDEF): Likewise.
17699 (DF_1_NOKSYMS): Likewise.
17700 (DF_1_NOHDR): Likewise.
17701 (DF_1_EDITED): Likewise.
17702 (DF_1_NORELOC): Likewise.
17703 (DF_1_SYMINTPOSE): Likewise.
17704 (DF_1_GLOBAUDIT): Likewise.
17705 (DF_1_SINGLETON): Likewise.
17706 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
17707 DT_1_SUPPORTED_MASK bits.
17708 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
17709
17710 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
17711
17712 * sysdeps/unix/make-syscalls.sh: Document prefixes.
17713
17714 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
17715
17716 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
17717 macro.
17718
17719 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
17720 (sendmmsg): Move declarations...
17721 * socket/sys/socket.h: ... here.
17722 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
17723 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
17724 include it from...
17725 * socket/recvmmsg.c: ... this new file.
17726 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
17727 (sendmmsg): Rename to __sendmmsg, create weak alias and make
17728 definition of __sendmmsg hidden.
17729 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17730 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
17731 Move ENOSYS stub into and include it from...
17732 * socket/sendmmsg.c: ... this new file.
17733 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
17734 (sysdep_routines): Move recvmmsg and sendmmsg...
17735 * socket/Makefile (routines): ... here.
17736 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
17737 (GLIBC_PRIVATE): Add __sendmmsg.
17738 * include/sys/socket.h (__sendmmsg): Add declarations.
17739 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
17740 sendmmsg.
17741
17742 2012-11-20 Joseph Myers <joseph@codesourcery.com>
17743
17744 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
17745 variable I1 with __attribute__ ((unused)).
17746 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17747
17748 2012-11-19 Joseph Myers <joseph@codesourcery.com>
17749
17750 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
17751 DUMMY variables with __attribute__ ((unused)).
17752
17753 * bits/byteswap.h: Include <bits/types.h>.
17754 (__bswap_64): Use __uint64_t instead of unsigned long long int.
17755
17756 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17757
17758 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
17759 string_t. Do not manually set errno.
17760 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
17761 length with __strnlen. Make sure to both set errno and return it on
17762 failure.
17763
17764 2012-11-19 David S. Miller <davem@davemloft.net>
17765
17766 With help from Joseph Myers.
17767 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
17768 very large arguments properly.
17769 * math/libm-test.inc (atan_test): New tests.
17770 (atan2_test): New tests.
17771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17772 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17773
17774 2012-11-19 Joseph Myers <joseph@codesourcery.com>
17775
17776 [BZ #14856]
17777 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
17778 Define to 3.
17779
17780 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
17781 [POSIX] (EADDRNOTAVAIL): Likewise.
17782 [POSIX] (EAFNOSUPPORT): Likewise.
17783 [POSIX] (EALREADY): Likewise.
17784 [POSIX] (ECONNABORTED): Likewise.
17785 [POSIX] (ECONNREFUSED): Likewise.
17786 [POSIX] (ECONNRESET): Likewise.
17787 [POSIX] (EDESTADDRREQ): Likewise.
17788 [POSIX] (EDQUOT): Likewise.
17789 [POSIX] (EHOSTUNREACH): Likewise.
17790 [POSIX] (EIDRM): Likewise.
17791 [POSIX] (EISCONN): Likewise.
17792 [POSIX] (ELOOP): Likewise.
17793 [POSIX] (EMULTIHOP): Likewise.
17794 [POSIX] (ENETDOWN): Likewise.
17795 [POSIX] (ENETUNREACH): Likewise.
17796 [POSIX] (ENOBUFS): Likewise.
17797 [POSIX] (ENODATA): Likewise.
17798 [POSIX] (ENOLINK): Likewise.
17799 [POSIX] (ENOMSG): Likewise.
17800 [POSIX] (ENOPROTOOPT): Likewise.
17801 [POSIX] (ENOSR): Likewise.
17802 [POSIX] (ENOSTR): Likewise.
17803 [POSIX] (ENOTCONN): Likewise.
17804 [POSIX] (ENOTSOCK): Likewise.
17805 [POSIX] (EOPNOTSUPP): Likewise.
17806 [POSIX] (EOVERFLOW): Likewise.
17807 [POSIX] (EPROTO): Likewise.
17808 [POSIX] (EPROTONOSUPPORT): Likewise.
17809 [POSIX] (EPROTOTYPE): Likewise.
17810 [POSIX] (ESTALE): Likewise.
17811 [POSIX] (ETIME): Likewise.
17812 [POSIX] (ETXTBSY): Likewise.
17813 [POSIX] (EWOULDBLOCK): Likewise.
17814 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
17815 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
17816 [POSIX] (SEEK_CUR): Likewise.
17817 [POSIX] (SEEK_END): Likewise.
17818 [POSIX || UNIX98] (mode_t): Do not require.
17819 [POSIX] (off_t): Likewise.
17820 [POSIX] (pid_t): Likewise.
17821 [POSIX] (sys/stat.h): Do not allow header.
17822 [POSIX] (unistd.h): Likewise.
17823 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
17824 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
17825 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
17826 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
17827 require.
17828 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
17829 sigevent): Specify elements.
17830 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
17831 entry.
17832 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
17833 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
17834
17835 * conform/data/cpio.h-data [POSIX]: Disable whole file.
17836 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
17837 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
17838 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
17839 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
17840 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
17841 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
17842 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
17843 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
17844 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
17845 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
17846 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
17847 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
17848 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
17849 Likewise.
17850 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
17851 Likewise.
17852 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
17853 Likewise.
17854 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
17855 Likewise.
17856 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
17857 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
17858 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
17859 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
17860 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
17861 Specify lower bound on value.
17862 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
17863 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
17864 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
17865 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
17866 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
17867 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
17868 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
17869 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
17870 value.
17871 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
17872 as optional.
17873 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
17874 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
17875 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
17876 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
17877 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
17878 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
17879 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
17880 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
17881 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
17882 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
17883 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
17884 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
17885 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
17886 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
17887 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
17888 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
17889 entry.
17890 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
17891 optional.
17892 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
17893 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
17894 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
17895 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
17896 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
17897 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
17898 Likewise.
17899 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
17900 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
17901 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
17902 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
17903 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
17904 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
17905 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
17906 as optional.
17907 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
17908 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
17909 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
17910 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
17911 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
17912 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
17913 specify as optional.
17914 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
17915 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
17916 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
17917 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
17918 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
17919 [XPG3] (NL_LANGMAX): Likewise.
17920 [POSIX || XPG3] (NL_MSGMAX): Likewise.
17921 [POSIX || XPG3] (NL_NMAX): Likewise.
17922 [POSIX || XPG3] (NL_SETMAX): Likewise.
17923 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
17924 [XPG3] (NZERO): Likewise.
17925 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
17926 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
17927 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
17928 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
17929 (REG_ERANGE): Expect.
17930 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
17931 optional-constant.
17932 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
17933 Use (void) in prototype.
17934 [POSIX] (*_t): Allow.
17935 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
17936 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
17937 (WRDE_BADVAL): Expect.
17938
17939 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
17940 expect.
17941 [XPG3 || XPG4] (O_RSYNC): Likewise.
17942 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
17943 Likewise.
17944 [XPG3 || XPG4] (pthread_sigmask): Likewise.
17945 [XPG3 || XPG4] (sigqueue): Likewise.
17946 [XPG3 || XPG4] (sigtimedwait): Likewise.
17947 [XPG3 || XPG4] (sigwaitinfo): Likewise.
17948 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
17949 [XPG3 || XPG4] (vsnprintf): Likewise.
17950 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
17951 Likewise.
17952 [XPG3 || XPG4] (blksize_t): Likewise.
17953 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
17954 Likewise.
17955 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
17956 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17957 [XPG3 || XPG4] (struct itimerspec): Likewise.
17958 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
17959 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
17960 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
17961 [XPG3 || XPG4] (clockid_t): Likewise.
17962 [XPG3 || XPG4] (timer_t): Likewise.
17963 [XPG3 || XPG4] (clock_getres): Likewise.
17964 [XPG3 || XPG4] (clock_gettime): Likewise.
17965 [XPG3 || XPG4] (clock_settime): Likewise.
17966 [XPG3 || XPG4] (nanosleep): Likewise.
17967 [XPG3 || XPG4] (timer_create): Likewise.
17968 [XPG3 || XPG4] (timer_delete): Likewise.
17969 [XPG3 || XPG4] (timer_gettime): Likewise.
17970 [XPG3 || XPG4] (timer_getoverrun): Likewise.
17971 [XPG3 || XPG4] (timer_settime): Likewise.
17972 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
17973 [XPG3 || XPG4] (getlogin_r): Likewise.
17974 [XPG3 || XPG4] (pread): Likewise.
17975 [XPG3 || XPG4] (pthread_atfork): Likewise.
17976 [XPG3 || XPG4] (pwrite): Likewise.
17977
17978 [BZ #14835]
17979 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
17980 <bits/siginfo.h>.
17981
17982 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17983
17984 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
17985 finalizing MALLSTREAM.
17986
17987 * sysdeps/mach/hurd/syncfs.c: New file.
17988
17989 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17990
17991 [BZ #14719]
17992 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
17993 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
17994 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
17995 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
17996 (_nss_dns_gethostbyname4_r): Likewise.
17997 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
17998 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
17999
18000 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
18001
18002 [BZ #13763]
18003 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
18004
18005 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
18006
18007 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
18008 * elf/cache.c (print_entry): Print ",AArch64" for
18009 FLAG_AARCH64_LIB64
18010
18011 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
18012 * elf/cache.c (print_entry): Print ",hard-float" for
18013 FLAG_ARM_LIBHF.
18014
18015 2012-11-18 David S. Miller <davem@davemloft.net>
18016
18017 With help from Joseph Myers.
18018 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
18019 cutoff to 2**-13.
18020 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
18021 cutoff to 2**-25.
18022 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
18023 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
18024 small.
18025 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
18026 * math/libm-test.inc (y0_test): New tests.
18027 (y1_test): New tests.
18028 * sysdeps/i386/fpu/libm-test-ulps: Update.
18029 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18030 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18031
18032 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
18033
18034 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
18035 64-bit targets.
18036 * configure: Regenerated.
18037
18038 2012-11-17 David S. Miller <davem@davemloft.net>
18039
18040 [BZ #14811]
18041 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
18042 nonzero exponents with absolute value below 0x1p-128 to +/-
18043 0x1p-128.
18044
18045 2012-11-17 Joseph Myers <joseph@codesourcery.com>
18046
18047 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
18048
18049 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
18050
18051 * posix/getconf-speclist.c: New file.
18052 * posix/posix-envs.def: Likewise.
18053 * posix/confstr.c (START_ENV_GROUP): New macro.
18054 (END_ENV_GROUP): Likewise.
18055 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
18056 (KNOWN_PRESENT_ENV_STRING): Likewise.
18057 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
18058 (UNKNOWN_ENVIRONMENT): Likewise.
18059 (confstr): Include posix-envs.def instead of handling
18060 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
18061 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
18062 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
18063 (END_ENV_GROUP): Likewise.
18064 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
18065 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
18066 (UNKNOWN_ENVIRONMENT): Likewise.
18067 (__sysconf): Include posix-envs.def instead of handling associated
18068 cases directly here.
18069 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
18070 preprocessing getconf-speclist.c rather than running getconf or
18071 generating empty file.
18072
18073 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
18074
18075 * scripts/check-local-headers.sh: Ignore 'mach' headers.
18076
18077 2012-11-16 Andrej Lajovic <natrij@gmail.com>
18078
18079 [BZ #14672]
18080 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
18081
18082 2012-11-16 David S. Miller <davem@davemloft.net>
18083
18084 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
18085 smaller than LDBL_EPSILON/2.0L, just return xm1.
18086
18087 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
18088
18089 * elf/tst-array1.c (init): Set constructor priority to 1000.
18090 (fini): Set destructor priority to 1000.
18091 * elf/tst-array2dep.c: Likewise.
18092
18093 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18094
18095 [BZ #11741]
18096 * libio/fileops.c (_IO_new_file_write): Correctly return error.
18097 (_IO_new_file_xsputn): Also return EOF if none of the input
18098 data was written when overflow failed.
18099 * libio/iopadn.c (_IO_padn): Likewise.
18100 * libio/iowpadn.c (_IO_wpadn): Likewise.
18101 * stdio-common/tst-put-error.c: Add copyright notice.
18102 (do_test): Add case for printing padded string.
18103 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
18104 _IO_padn returned error.
18105 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
18106 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
18107 return EOF.
18108
18109 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18110
18111 * libio/libioP.h: Add comment note that the references to C++
18112 bits are now obsolete.
18113
18114 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18115
18116 * math/libm-test.inc (check_complex): Use asprintf.
18117
18118 2012-11-14 Joseph Myers <joseph@codesourcery.com>
18119
18120 * debug/pcprofiledump.c (print_version): Update copyright year.
18121 * malloc/memusagestat.c (print_version): Likewise.
18122
18123 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
18124
18125 [BZ #14831]
18126 * elf/Makefile (tests): Add tst-audit8.
18127 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
18128 ($(objpfx)tst-audit8.out): New target.
18129 (tst-audit8-ENV): New variable.
18130 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
18131 audit if l_reloc_result is NULL.
18132 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
18133 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
18134 * elf/tst-audit8.c: New file.
18135
18136 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18137
18138 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
18139 * misc/Makefile (CFLAGS-select.c): Define.
18140 * posix/Makefile (CFLAGS-pause.c): Define.
18141
18142 2012-11-13 David S. Miller <davem@davemloft.net>
18143
18144 * crypt/Makefile: Move test targets after toplevel Rules
18145 inclusion. Grab any necessary sysdep routines when linking.
18146 * crypt/md5.c (md5_process_block): Remove define, we will always
18147 name it __md5_process_block.
18148 (md5_finish_ctx): Update md5_process_block call.
18149 (md5_stream): Likewise.
18150 (md5_process_bytes): Likewise.
18151 (md5_process_block): Rename to __md5_process_block and move to ...
18152 * crypt/md5-block.c: ... here.
18153 * crypt/sha256.c (sha256_process_block): Move to ...
18154 * crypt/sha256-block.c: ... here.
18155 * crypt/sha512.c (sha512_process_block): Move to ...
18156 * crypt/sha512-block.c: ... here.
18157 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
18158 path.
18159 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
18160 * sysdeps/sparc/sparc64/multiarch/Makefile
18161 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
18162 crypt subdir.
18163 (localedef-aux): Add md5 crypto assembler when in locale subdir.
18164 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
18165 multiarch changes.
18166 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
18167 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
18168 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
18169 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
18170 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
18171 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
18172 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
18173 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
18174 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
18175 file.
18176 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
18177 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
18178 file.
18179 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
18180
18181 2012-11-13 Joseph Myers <joseph@codesourcery.com>
18182
18183 * timezone/tzselect.ksh: Update from tzcode git revision
18184 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
18185 * timezone/zdump.c: Likewise.
18186 * timezone/zic.c: Likewise.
18187 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
18188 in TZVERSION setting, not $(PKGVERSION).
18189 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
18190 REPORT_BUGS_TO settings.
18191
18192 [BZ #14838]
18193 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
18194 macro.
18195
18196 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18197
18198 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
18199 detection to immediately after _FP_ROUND().
18200 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
18201 bits are 0.
18202
18203 2012-11-11 David S. Miller <davem@davemloft.net>
18204
18205 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
18206 inttypes.h
18207 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
18208 __close rather than their public counterparts.
18209
18210 2012-11-10 Joseph Myers <joseph@codesourcery.com>
18211
18212 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
18213 file.
18214 [UNIX98] (sem_timedwait): Do not expect.
18215 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
18216 [XPG4 || UNIX98] (sockatmark): Do not expect.
18217 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
18218 (clock_getcpuclockid): Do not expect.
18219 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
18220 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
18221 Do not expect.
18222 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
18223 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
18224 [UNIX98] (vwscanf): Likewise.
18225 [UNIX98] (vswscanf): Likewise.
18226
18227 2012-11-09 Joseph Myers <joseph@codesourcery.com>
18228
18229 * timezone/version.h: Remove file.
18230 * timezone/README: Do not refer to version.h.
18231 * timezone/Makefile ($(objpfx)zic.o): New dependency on
18232 $(objpfx)version.h.
18233 ($(objpfx)zdump.o): Likewise.
18234 ($(objpfx)version.h): New target.
18235
18236 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
18237 2012i.
18238 * timezone/README: Don't mention modification to tzselect.ksh.
18239 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
18240 work on unmodified tzselect.ksh. Substitute version numbers in
18241 tzselect.ksh.
18242
18243 * Makefile (format-me): Remove.
18244 (INSTALL): Adjust indentation. Use commands directly instead of
18245 using $(format-me).
18246
18247 * aclocal.m4 (ACX_PKGVERSION): New macro.
18248 (ACX_BUGURL): Likewise.
18249 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
18250 (PKGVERSION): New AC_DEFINE_UNQUOTED.
18251 (REPORT_BUGS_TO): Likewise.
18252 * configure: Regenerated.
18253 * config.h.in (PKGVERSION): New macro.
18254 (REPORT_BUGS_TO): Likewise.
18255 * config.make.in (PKGVERSION): New variable.
18256 (PKGVERSION_TEXI): Likewise.
18257 (REPORT_BUGS_TO): Likewise.
18258 (REPORT_BUGS_TEXI): Likewise.
18259 * Makefile (format-me): Use -I$(common-objpfx)manual.
18260 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
18261 ($(common-objpfx)manual/%): New target.
18262 (manual/%): Remove target.
18263 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
18264 (print_version): Use PKGVERSION.
18265 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
18266 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
18267 and REPORT_BUGS_TO.
18268 ($(objpfx)xtrace): Likewise.
18269 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
18270 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
18271 (print_version): Use PKGVERSION.
18272 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
18273 (do_version): Use PKGVERSION.
18274 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
18275 REPORT_BUGS_TO.
18276 (common-ldd-rewrite): Likewise.
18277 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
18278 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
18279 (print_version): Use PKGVERSION.
18280 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
18281 * elf/pldd.c (argp_program_bug_address): Remove variable.
18282 (more_help): New function.
18283 (argp): Use more_help.
18284 (print_version): Use PKGVERSION.
18285 * elf/sln.c (main): Use PKGVERSION.
18286 (usage): Use REPORT_BUGS_TO.
18287 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
18288 (top level): Use PKGVERSION.
18289 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
18290 (print_version): Use PKGVERSION.
18291 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
18292 (print_version): Use PKGVERSION.
18293 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
18294 (print_version): Use PKGVERSION.
18295 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
18296 (print_version): Use PKGVERSION.
18297 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
18298 (print_version): Use PKGVERSION.
18299 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
18300 (print_version): Use PKGVERSION.
18301 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
18302 and BUGURL.
18303 ($(objpfx)memusage): Likewise.
18304 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
18305 (do_version): Use PKGVERSION.
18306 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
18307 (print_version): Use PKGVERSION.
18308 * malloc/mtrace.pl ($PACKAGE): Remove variable.
18309 ($PKGVERSION): New variable.
18310 ($REPORT_BUGS_TO): Likewise.
18311 (usage): Use $REPORT_BUGS_TO.
18312 (top level): Use $PKGVERSION.
18313 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
18314 ($(objpfx)pkgvers.texi): New rule.
18315 ($(objpfx)stamp-pkgvers): Likewise.
18316 * manual/install.texi: Include pkgvers.texi.
18317 (--with-pkgversion): Document new configure option.
18318 (--with-bugurl): Likewise.
18319 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
18320 than necessarily for this particular distribution. Use
18321 REPORT_BUGS_TO for where to report bugs.
18322 * INSTALL: Regenerated.
18323 * manual/libc.texinfo: Include pkgvers.texi.
18324 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
18325 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
18326 (print_version): Use PKGVERSION.
18327 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
18328 (print_version): Use PKGVERSION.
18329 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
18330 (print_version): Use PKGVERSION.
18331 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
18332 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
18333 macro.
18334 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
18335 (print_version): Use PKGVERSION.
18336 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
18337 (print_version): Use PKGVERSION.
18338 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
18339 and PKGVERSION.
18340
18341 * timezone/checktab.awk: Update from tzcode 2012i.
18342 * timezone/ialloc.c: Likewise.
18343 * timezone/private.h: Likewise.
18344 * timezone/scheck.c: Likewise.
18345 * timezone/tzfile.h: Likewise.
18346 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
18347 (TZVERSION): Hardcode tzcode version number.
18348 * timezone/zdump.c: Update from tzcode 2012i.
18349 * timezone/zic.c: Likewise.
18350 * timezone/version.h: New file.
18351 * timezone/README: Describe version.h. Update upstream location.
18352
18353 [BZ #14824]
18354 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
18355 (mktemp): Enable declaration.
18356 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
18357 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
18358 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
18359 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
18360 Likewise.
18361 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
18362 Likewise.
18363 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
18364 Likewise.
18365 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
18366 Likewise.
18367 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
18368 Likewise.
18369 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
18370 Likewise.
18371
18372 [BZ #14821]
18373 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
18374 offset in buffer as u_int32_t not u_long. Consistently use memcpy
18375 for copies of such integer values.
18376 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18377 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18378
18379 2012-11-09 Andreas Jaeger <aj@suse.de>
18380
18381 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
18382 definitions and declarations that are provided by
18383 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18384
18385 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18386
18387 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
18388 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
18389 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
18390 definition.
18391
18392 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18393
18394 * elf/elf.h: Update comment before AArch64 relocations.
18395
18396 2012-11-07 David S. Miller <davem@davemloft.net>
18397
18398 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
18399 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18400 (__start_context): Declare.
18401 (__makecontext_ret): Delete.
18402 (__makecontext): Hook up __start_context instead of
18403 __makecontext_ret.
18404 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
18405 (sysdep_routines): Add __start_context when in stdlib.
18406
18407 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18408
18409 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
18410 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
18411 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
18412 hardcoded "nm".
18413 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
18414 (READELF): New variable. Use it instead of hardcoded "readelf".
18415
18416 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
18417
18418 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
18419 * sysdeps/x86/Makefile: Here.
18420 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
18421 * sysdeps/x86/tst-xmmymm.sh: This.
18422
18423 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18424
18425 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
18426 expectations.
18427 [UNIX98] (pthread_barrier_t): Do not expect.
18428 [UNIX98] (pthread_barrierattr_t): Likewise.
18429 [UNIX98] (pthread_spinlock_t): Likewise.
18430 [UNIX98] (pthread_barrier_destroy): Likewise.
18431 [UNIX98] (pthread_barrier_init): Likewise.
18432 [UNIX98] (pthread_barrier_wait): Likewise.
18433 [UNIX98] (pthread_barrierattr_destroy): Likewise.
18434 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
18435 [UNIX98] (pthread_barrierattr_init): Likewise.
18436 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
18437 [UNIX98] (pthread_getcpuclockid): Likewise.
18438 [UNIX98] (pthread_mutex_timedlock): Likewise.
18439 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
18440 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
18441 [UNIX98] (pthread_sigmask): Likewise.
18442 [UNIX98] (pthread_spin_destroy): Likewise.
18443 [UNIX98] (pthread_spin_init): Likewise.
18444 [UNIX98] (pthread_spin_lock): Likewise.
18445 [UNIX98] (pthread_spin_trylock): Likewise.
18446 [UNIX98] (pthread_spin_unlock): Likewise.
18447 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
18448 Do not expect.
18449 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
18450 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
18451 [XPG3 || XPG4] (pthread_cond_t): Likewise.
18452 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
18453 [XPG3 || XPG4] (pthread_key_t): Likewise.
18454 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
18455 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
18456 [XPG3 || XPG4] (pthread_once_t): Likewise.
18457 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
18458 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
18459 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
18460 [XPG3 || XPG4] (pthread_t): Likewise.
18461
18462 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
18463 not expect.
18464 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
18465
18466 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
18467 Change function return type to int.
18468
18469 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
18470 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
18471 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
18472 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
18473 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
18474 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
18475 [!POSIX] (posix_madvise): Likewise.
18476 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
18477 && !UNIX98].
18478 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
18479 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
18480 (mode_t): Likewise.
18481 (posix_mem_offset): Likewise.
18482 (posix_typed_mem_get_info): Likewise.
18483 (posix_typed_mem_open): Likewise.
18484
18485 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
18486 Change condition to [XOPEN2K8].
18487
18488 * conform/conformtest.pl: Preprocess allow-header data with -x c
18489 instead of from stdin.
18490 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
18491 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
18492 [C99-based standards] (cerfc): Likewise.
18493 [C99-based standards] (cexp2): Likewise.
18494 [C99-based standards] (cexpm1): Likewise.
18495 [C99-based standards] (clog10): Likewise.
18496 [C99-based standards] (clog1p): Likewise.
18497 [C99-based standards] (clog2): Likewise.
18498 [C99-based standards] (clgamma): Likewise.
18499 [C99-based standards] (ctgamma): Likewise.
18500 [C99-based standards] (cerff): Likewise.
18501 [C99-based standards] (cerfcf): Likewise.
18502 [C99-based standards] (cexp2f): Likewise.
18503 [C99-based standards] (cexpm1f): Likewise.
18504 [C99-based standards] (clog10f): Likewise.
18505 [C99-based standards] (clog1pf): Likewise.
18506 [C99-based standards] (clog2f): Likewise.
18507 [C99-based standards] (clgammaf): Likewise.
18508 [C99-based standards] (ctgammaf): Likewise.
18509 [C99-based standards] (cerfl): Likewise.
18510 [C99-based standards] (cerfcl): Likewise.
18511 [C99-based standards] (cexp2l): Likewise.
18512 [C99-based standards] (cexpm1l): Likewise.
18513 [C99-based standards] (clog10l): Likewise.
18514 [C99-based standards] (clog1pl): Likewise.
18515 [C99-based standards] (clog2l): Likewise.
18516 [C99-based standards] (clgammal): Likewise.
18517 [C99-based standards] (ctgammal): Likewise.
18518 * conform/data/inttypes.h-data [C99-based standards]: Include
18519 stdint.h-data. Remove all expectations for stdint.h contents.
18520 [C99-based standards] (PRI*): Do not allow.
18521 [C99-based standards] (SCN*): Likewise.
18522 [C99-based standards] (*_t): Likewise.
18523 [C99-based-standards] (PRId8): Expect macro.
18524 [C99-based-standards] (PRIi8): Likewise.
18525 [C99-based-standards] (PRIo8): Likewise.
18526 [C99-based-standards] (PRIu8): Likewise.
18527 [C99-based-standards] (PRIx8): Likewise.
18528 [C99-based-standards] (PRIX8): Likewise.
18529 [C99-based-standards] (SCNd8): Likewise.
18530 [C99-based-standards] (SCNi8): Likewise.
18531 [C99-based-standards] (SCNo8): Likewise.
18532 [C99-based-standards] (SCNu8): Likewise.
18533 [C99-based-standards] (SCNx8): Likewise.
18534 [C99-based-standards] (PRIdLEAST8): Likewise.
18535 [C99-based-standards] (PRIiLEAST8): Likewise.
18536 [C99-based-standards] (PRIoLEAST8): Likewise.
18537 [C99-based-standards] (PRIuLEAST8): Likewise.
18538 [C99-based-standards] (PRIxLEAST8): Likewise.
18539 [C99-based-standards] (PRIXLEAST8): Likewise.
18540 [C99-based-standards] (SCNdLEAST8): Likewise.
18541 [C99-based-standards] (SCNiLEAST8): Likewise.
18542 [C99-based-standards] (SCNoLEAST8): Likewise.
18543 [C99-based-standards] (SCNuLEAST8): Likewise.
18544 [C99-based-standards] (SCNxLEAST8): Likewise.
18545 [C99-based-standards] (PRIdFAST8): Likewise.
18546 [C99-based-standards] (PRIiFAST8): Likewise.
18547 [C99-based-standards] (PRIoFAST8): Likewise.
18548 [C99-based-standards] (PRIuFAST8): Likewise.
18549 [C99-based-standards] (PRIxFAST8): Likewise.
18550 [C99-based-standards] (PRIXFAST8): Likewise.
18551 [C99-based-standards] (SCNdFAST8): Likewise.
18552 [C99-based-standards] (SCNiFAST8): Likewise.
18553 [C99-based-standards] (SCNoFAST8): Likewise.
18554 [C99-based-standards] (SCNuFAST8): Likewise.
18555 [C99-based-standards] (SCNxFAST8): Likewise.
18556 [C99-based-standards] (PRId16): Likewise.
18557 [C99-based-standards] (PRIi16): Likewise.
18558 [C99-based-standards] (PRIo16): Likewise.
18559 [C99-based-standards] (PRIu16): Likewise.
18560 [C99-based-standards] (PRIx16): Likewise.
18561 [C99-based-standards] (PRIX16): Likewise.
18562 [C99-based-standards] (SCNd16): Likewise.
18563 [C99-based-standards] (SCNi16): Likewise.
18564 [C99-based-standards] (SCNo16): Likewise.
18565 [C99-based-standards] (SCNu16): Likewise.
18566 [C99-based-standards] (SCNx16): Likewise.
18567 [C99-based-standards] (PRIdLEAST16): Likewise.
18568 [C99-based-standards] (PRIiLEAST16): Likewise.
18569 [C99-based-standards] (PRIoLEAST16): Likewise.
18570 [C99-based-standards] (PRIuLEAST16): Likewise.
18571 [C99-based-standards] (PRIxLEAST16): Likewise.
18572 [C99-based-standards] (PRIXLEAST16): Likewise.
18573 [C99-based-standards] (SCNdLEAST16): Likewise.
18574 [C99-based-standards] (SCNiLEAST16): Likewise.
18575 [C99-based-standards] (SCNoLEAST16): Likewise.
18576 [C99-based-standards] (SCNuLEAST16): Likewise.
18577 [C99-based-standards] (SCNxLEAST16): Likewise.
18578 [C99-based-standards] (PRIdFAST16): Likewise.
18579 [C99-based-standards] (PRIiFAST16): Likewise.
18580 [C99-based-standards] (PRIoFAST16): Likewise.
18581 [C99-based-standards] (PRIuFAST16): Likewise.
18582 [C99-based-standards] (PRIxFAST16): Likewise.
18583 [C99-based-standards] (PRIXFAST16): Likewise.
18584 [C99-based-standards] (SCNdFAST16): Likewise.
18585 [C99-based-standards] (SCNiFAST16): Likewise.
18586 [C99-based-standards] (SCNoFAST16): Likewise.
18587 [C99-based-standards] (SCNuFAST16): Likewise.
18588 [C99-based-standards] (SCNxFAST16): Likewise.
18589 [C99-based-standards] (PRId32): Likewise.
18590 [C99-based-standards] (PRIi32): Likewise.
18591 [C99-based-standards] (PRIo32): Likewise.
18592 [C99-based-standards] (PRIu32): Likewise.
18593 [C99-based-standards] (PRIx32): Likewise.
18594 [C99-based-standards] (PRIX32): Likewise.
18595 [C99-based-standards] (SCNd32): Likewise.
18596 [C99-based-standards] (SCNi32): Likewise.
18597 [C99-based-standards] (SCNo32): Likewise.
18598 [C99-based-standards] (SCNu32): Likewise.
18599 [C99-based-standards] (SCNx32): Likewise.
18600 [C99-based-standards] (PRIdLEAST32): Likewise.
18601 [C99-based-standards] (PRIiLEAST32): Likewise.
18602 [C99-based-standards] (PRIoLEAST32): Likewise.
18603 [C99-based-standards] (PRIuLEAST32): Likewise.
18604 [C99-based-standards] (PRIxLEAST32): Likewise.
18605 [C99-based-standards] (PRIXLEAST32): Likewise.
18606 [C99-based-standards] (SCNdLEAST32): Likewise.
18607 [C99-based-standards] (SCNiLEAST32): Likewise.
18608 [C99-based-standards] (SCNoLEAST32): Likewise.
18609 [C99-based-standards] (SCNuLEAST32): Likewise.
18610 [C99-based-standards] (SCNxLEAST32): Likewise.
18611 [C99-based-standards] (PRIdFAST32): Likewise.
18612 [C99-based-standards] (PRIiFAST32): Likewise.
18613 [C99-based-standards] (PRIoFAST32): Likewise.
18614 [C99-based-standards] (PRIuFAST32): Likewise.
18615 [C99-based-standards] (PRIxFAST32): Likewise.
18616 [C99-based-standards] (PRIXFAST32): Likewise.
18617 [C99-based-standards] (SCNdFAST32): Likewise.
18618 [C99-based-standards] (SCNiFAST32): Likewise.
18619 [C99-based-standards] (SCNoFAST32): Likewise.
18620 [C99-based-standards] (SCNuFAST32): Likewise.
18621 [C99-based-standards] (SCNxFAST32): Likewise.
18622 [C99-based-standards] (PRId64): Likewise.
18623 [C99-based-standards] (PRIi64): Likewise.
18624 [C99-based-standards] (PRIo64): Likewise.
18625 [C99-based-standards] (PRIu64): Likewise.
18626 [C99-based-standards] (PRIx64): Likewise.
18627 [C99-based-standards] (PRIX64): Likewise.
18628 [C99-based-standards] (SCNd64): Likewise.
18629 [C99-based-standards] (SCNi64): Likewise.
18630 [C99-based-standards] (SCNo64): Likewise.
18631 [C99-based-standards] (SCNu64): Likewise.
18632 [C99-based-standards] (SCNx64): Likewise.
18633 [C99-based-standards] (PRIdLEAST64): Likewise.
18634 [C99-based-standards] (PRIiLEAST64): Likewise.
18635 [C99-based-standards] (PRIoLEAST64): Likewise.
18636 [C99-based-standards] (PRIuLEAST64): Likewise.
18637 [C99-based-standards] (PRIxLEAST64): Likewise.
18638 [C99-based-standards] (PRIXLEAST64): Likewise.
18639 [C99-based-standards] (SCNdLEAST64): Likewise.
18640 [C99-based-standards] (SCNiLEAST64): Likewise.
18641 [C99-based-standards] (SCNoLEAST64): Likewise.
18642 [C99-based-standards] (SCNuLEAST64): Likewise.
18643 [C99-based-standards] (SCNxLEAST64): Likewise.
18644 [C99-based-standards] (PRIdFAST64): Likewise.
18645 [C99-based-standards] (PRIiFAST64): Likewise.
18646 [C99-based-standards] (PRIoFAST64): Likewise.
18647 [C99-based-standards] (PRIuFAST64): Likewise.
18648 [C99-based-standards] (PRIxFAST64): Likewise.
18649 [C99-based-standards] (PRIXFAST64): Likewise.
18650 [C99-based-standards] (SCNdFAST64): Likewise.
18651 [C99-based-standards] (SCNiFAST64): Likewise.
18652 [C99-based-standards] (SCNoFAST64): Likewise.
18653 [C99-based-standards] (SCNuFAST64): Likewise.
18654 [C99-based-standards] (SCNxFAST64): Likewise.
18655 [C99-based-standards] (PRIdMAX): Likewise.
18656 [C99-based-standards] (PRIiMAX): Likewise.
18657 [C99-based-standards] (PRIoMAX): Likewise.
18658 [C99-based-standards] (PRIuMAX): Likewise.
18659 [C99-based-standards] (PRIxMAX): Likewise.
18660 [C99-based-standards] (PRIXMAX): Likewise.
18661 [C99-based-standards] (SCNdMAX): Likewise.
18662 [C99-based-standards] (SCNiMAX): Likewise.
18663 [C99-based-standards] (SCNoMAX): Likewise.
18664 [C99-based-standards] (SCNuMAX): Likewise.
18665 [C99-based-standards] (SCNxMAX): Likewise.
18666 [C99-based-standards] (PRIdPTR): Likewise.
18667 [C99-based-standards] (PRIiPTR): Likewise.
18668 [C99-based-standards] (PRIoPTR): Likewise.
18669 [C99-based-standards] (PRIuPTR): Likewise.
18670 [C99-based-standards] (PRIxPTR): Likewise.
18671 [C99-based-standards] (PRIXPTR): Likewise.
18672 [C99-based-standards] (SCNdPTR): Likewise.
18673 [C99-based-standards] (SCNiPTR): Likewise.
18674 [C99-based-standards] (SCNoPTR): Likewise.
18675 [C99-based-standards] (SCNuPTR): Likewise.
18676 [C99-based-standards] (SCNxPTR): Likewise.
18677 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
18678 allow.
18679 * conform/data/stdint.h-data: Update comments to clarify
18680 requirements.
18681 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
18682 type.
18683 [C99-based standards] (INT8_MAX): Likewise.
18684 [C99-based standards] (INT16_MIN): Likewise.
18685 [C99-based standards] (INT16_MAX): Likewise.
18686 [C99-based standards] (INT32_MIN): Likewise.
18687 [C99-based standards] (INT32_MAX): Likewise.
18688 [C99-based standards] (INT64_MIN): Likewise.
18689 [C99-based standards] (INT64_MAX): Likewise.
18690 [C99-based standards] (UINT8_MAX): Likewise.
18691 [C99-based standards] (UINT16_MAX): Likewise.
18692 [C99-based standards] (UINT32_MAX): Likewise.
18693 [C99-based standards] (UINT64_MAX): Likewise.
18694 [C99-based standards] (INT_LEAST8_MIN): Likewise.
18695 [C99-based standards] (INT_LEAST8_MAX): Likewise.
18696 [C99-based standards] (INT_LEAST16_MIN): Likewise.
18697 [C99-based standards] (INT_LEAST16_MAX): Likewise.
18698 [C99-based standards] (INT_LEAST32_MIN): Likewise.
18699 [C99-based standards] (INT_LEAST32_MAX): Likewise.
18700 [C99-based standards] (INT_LEAST64_MIN): Likewise.
18701 [C99-based standards] (INT_LEAST64_MAX): Likewise.
18702 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
18703 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
18704 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
18705 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
18706 [C99-based standards] (INT_FAST8_MIN): Likewise.
18707 [C99-based standards] (INT_FAST8_MAX): Likewise.
18708 [C99-based standards] (INT_FAST16_MIN): Likewise.
18709 [C99-based standards] (INT_FAST16_MAX): Likewise.
18710 [C99-based standards] (INT_FAST32_MIN): Likewise.
18711 [C99-based standards] (INT_FAST32_MAX): Likewise.
18712 [C99-based standards] (INT_FAST64_MIN): Likewise.
18713 [C99-based standards] (INT_FAST64_MAX): Likewise.
18714 [C99-based standards] (UINT_FAST8_MAX): Likewise.
18715 [C99-based standards] (UINT_FAST16_MAX): Likewise.
18716 [C99-based standards] (UINT_FAST32_MAX): Likewise.
18717 [C99-based standards] (UINT_FAST64_MAX): Likewise.
18718 [C99-based standards] (INTPTR_MIN): Likewise.
18719 [C99-based standards] (INTPTR_MAX): Likewise.
18720 [C99-based standards] (UINTPTR_MAX): Likewise.
18721 [C99-based standards] (INTMAX_MIN): Likewise.
18722 [C99-based standards] (INTMAX_MAX): Likewise.
18723 [C99-based standards] (UINTMAX_MAX): Likewise.
18724 [C99-based standards] (PTRDIFF_MIN): Likewise.
18725 [C99-based standards] (PTRDIFF_MAX): Likewise.
18726 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
18727 [C99-based standards] (SIZE_MAX): Likewise.
18728 [C99-based standards] (WCHAR_MAX): Likewise.
18729 [C99-based standards] (WINT_MAX): Likewise.
18730 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
18731 constraint on value.
18732 [C99-based standards] (WCHAR_MIN): Likewise.
18733 [C99-based standards] (WINT_MIN): Likewise.
18734 [C99-based standards] (*_t): Allow.
18735 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
18736 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
18737 Include math.h-data and complex.h-data. Remove all expectations
18738 of math.h and complex.h contents.
18739 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
18740 at end of line.
18741 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
18742 (struct tm): Expect tag.
18743 [C99-based-standards] (wcstof): Expect function.
18744 [C99-based-standards] (wcstold): Likewise.
18745 [C99-based-standards] (wcstoll): Likewise.
18746 [C99-based-standards] (wcstoull): Likewise.
18747 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
18748 macro-int-constant. Specify type.
18749 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
18750 constraint on value.
18751 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18752 Specify type.
18753 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
18754 Specify value.
18755 [ISO C standards]: Do not allow headers.
18756 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
18757 wcs[abcdefghijklmnopqrstuvwxyz]*.
18758 [ISO C standards] (*_t): Do not allow.
18759 * conform/data/wctype.h-data [C99-based standards] (iswblank):
18760 Expect function.
18761 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
18762 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18763 Specify type.
18764 [ISO C standards]: Do not allow headers.
18765 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
18766 is[abcdefghijklmnopqrstuvwxyz]*.
18767 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
18768 to[abcdefghijklmnopqrstuvwxyz]*.
18769 [ISO C standards] (*_t): Do not allow.
18770 * conform/data/stdalign.h-data: New file.
18771 * conform/data/stdbool.h-data: Likewise.
18772 * conform/data/stdnoreturn.h-data: Likewise.
18773
18774 2012-11-07 Roland McGrath <roland@hack.frob.com>
18775
18776 [BZ #14815]
18777 * manual/filesys.texi (Directory Entries): Typo fix.
18778 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
18779
18780 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18781
18782 * elf/elf.h (EM_AARCH64): New macro.
18783 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
18784 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
18785 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
18786 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
18787 (R_AARCH64_TLSDESC): Likewise.
18788 (NT_ARM_TLS): Likewise.
18789 (NT_ARM_HW_BREAK): Likewise.
18790 (NT_ARM_HW_WATCH): Likewise.
18791
18792 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18793
18794 [BZ #14811]
18795 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
18796 (__ieee754_powl): Saturate nonzero exponents with absolute value
18797 below 0x1p-79 to +/- 0x1p-79.
18798 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
18799 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
18800 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
18801 nonzero exponents with absolute value below 0x1p-32 to +/-
18802 0x1p-32.
18803 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
18804 (__ieee754_powl): Saturate nonzero exponents with absolute value
18805 below 0x1p-79 to +/- 0x1p-79.
18806 * math/libm-test.inc (pow_test): Add more tests.
18807
18808 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18809
18810 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
18811 _dl_s390_cap_flags with kernel. Increase string length.
18812 (_dl_s390_platforms): Add z196 and zEC12.
18813
18814 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18815
18816 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
18817 Change XOPEN21K to XOPEN2K.
18818
18819 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
18820
18821 * string/memmove.c: Use memcpy when possible.
18822
18823 2012-11-06 Andreas Jaeger <aj@suse.de>
18824
18825 * po/eo.po: Update from translation team.
18826
18827 2012-11-06 Joseph Myers <joseph@codesourcery.com>
18828
18829 [BZ #14793]
18830 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
18831 exponent and small x and y exponents, scale x or y up. Increase
18832 by 2 the exponent used in scaling up.
18833 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18834 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18835 * math/libm-test.inc (fma_test): Add more tests.
18836 (fma_test_towardzero): Likewise.
18837 (fma_test_downward): Likewise.
18838 (fma_test_upward): Likewise.
18839
18840 2012-11-05 Joseph Myers <joseph@codesourcery.com>
18841
18842 [BZ #14805]
18843 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
18844 fenv_t *.
18845
18846 [BZ #14801]
18847 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
18848 namespace for names of struct fields.
18849 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
18850 fenv_t fields.
18851 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
18852 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
18853
18854 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18855
18856 [BZ #3665]
18857 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
18858
18859 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18860
18861 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
18862 PTR_DEMANGLE.
18863
18864 [BZ #5246]
18865 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
18866 PTR_DEMANGLE.
18867
18868 2012-11-04 Joseph Myers <joseph@codesourcery.com>
18869
18870 [BZ #14797]
18871 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
18872 definitely overflow as x * y not x * y + z.
18873 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18874 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18875 * math/libm-test.inc (fma_test): Add more tests.
18876 (fma_test_towardzero): Likewise.
18877 (fma_test_downward): Likewise.
18878 (fma_test_upward): Likewise.
18879
18880 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18881
18882 [BZ #157]
18883
18884 * include/stub-tag.h: Remove file.
18885 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
18886 '#include' of it.
18887 * manual/maint.texi (Porting): Don't reference it.
18888 * Makerules ($(objpfx)stubs): Likewise.
18889 * dirent/closedir.c: Don't include <stub-tag.h>.
18890 * dirent/dirfd.c: Likewise.
18891 * dirent/fdopendir.c: Likewise.
18892 * dirent/getdents.c: Likewise.
18893 * dirent/getdents64.c: Likewise.
18894 * dirent/opendir.c: Likewise.
18895 * dirent/readdir.c: Likewise.
18896 * dirent/readdir64.c: Likewise.
18897 * dirent/readdir64_r.c: Likewise.
18898 * dirent/readdir_r.c: Likewise.
18899 * dirent/rewinddir.c: Likewise.
18900 * dirent/seekdir.c: Likewise.
18901 * dirent/telldir.c: Likewise.
18902 * gmon/profil.c: Likewise.
18903 * grp/setgroups.c: Likewise.
18904 * inet/if_index.c: Likewise.
18905 * io/access.c: Likewise.
18906 * io/chdir.c: Likewise.
18907 * io/chmod.c: Likewise.
18908 * io/chown.c: Likewise.
18909 * io/close.c: Likewise.
18910 * io/dup.c: Likewise.
18911 * io/dup2.c: Likewise.
18912 * io/dup3.c: Likewise.
18913 * io/euidaccess.c: Likewise.
18914 * io/faccessat.c: Likewise.
18915 * io/fchdir.c: Likewise.
18916 * io/fchmod.c: Likewise.
18917 * io/fchmodat.c: Likewise.
18918 * io/fchown.c: Likewise.
18919 * io/fchownat.c: Likewise.
18920 * io/fcntl.c: Likewise.
18921 * io/flock.c: Likewise.
18922 * io/fstatfs.c: Likewise.
18923 * io/fstatfs64.c: Likewise.
18924 * io/fstatvfs.c: Likewise.
18925 * io/fstatvfs64.c: Likewise.
18926 * io/futimens.c: Likewise.
18927 * io/fxstat.c: Likewise.
18928 * io/fxstat64.c: Likewise.
18929 * io/fxstatat.c: Likewise.
18930 * io/fxstatat64.c: Likewise.
18931 * io/getcwd.c: Likewise.
18932 * io/isatty.c: Likewise.
18933 * io/lchmod.c: Likewise.
18934 * io/lchown.c: Likewise.
18935 * io/link.c: Likewise.
18936 * io/linkat.c: Likewise.
18937 * io/lseek.c: Likewise.
18938 * io/lseek64.c: Likewise.
18939 * io/lxstat64.c: Likewise.
18940 * io/mkdir.c: Likewise.
18941 * io/mkdirat.c: Likewise.
18942 * io/mkfifo.c: Likewise.
18943 * io/mkfifoat.c: Likewise.
18944 * io/open.c: Likewise.
18945 * io/open64.c: Likewise.
18946 * io/openat.c: Likewise.
18947 * io/openat64.c: Likewise.
18948 * io/pipe.c: Likewise.
18949 * io/pipe2.c: Likewise.
18950 * io/poll.c: Likewise.
18951 * io/posix_fadvise.c: Likewise.
18952 * io/posix_fadvise64.c: Likewise.
18953 * io/posix_fallocate.c: Likewise.
18954 * io/posix_fallocate64.c: Likewise.
18955 * io/read.c: Likewise.
18956 * io/readlink.c: Likewise.
18957 * io/readlinkat.c: Likewise.
18958 * io/rmdir.c: Likewise.
18959 * io/sendfile.c: Likewise.
18960 * io/sendfile64.c: Likewise.
18961 * io/statfs.c: Likewise.
18962 * io/statfs64.c: Likewise.
18963 * io/statvfs.c: Likewise.
18964 * io/statvfs64.c: Likewise.
18965 * io/symlink.c: Likewise.
18966 * io/symlinkat.c: Likewise.
18967 * io/ttyname.c: Likewise.
18968 * io/ttyname_r.c: Likewise.
18969 * io/umask.c: Likewise.
18970 * io/unlink.c: Likewise.
18971 * io/unlinkat.c: Likewise.
18972 * io/utime.c: Likewise.
18973 * io/utimensat.c: Likewise.
18974 * io/write.c: Likewise.
18975 * io/xmknod.c: Likewise.
18976 * io/xmknodat.c: Likewise.
18977 * io/xstat.c: Likewise.
18978 * io/xstat64.c: Likewise.
18979 * login/getpt.c: Likewise.
18980 * login/grantpt.c: Likewise.
18981 * login/unlockpt.c: Likewise.
18982 * math/e_acoshl.c: Likewise.
18983 * math/e_acosl.c: Likewise.
18984 * math/e_asinl.c: Likewise.
18985 * math/e_atan2l.c: Likewise.
18986 * math/e_atanhl.c: Likewise.
18987 * math/e_coshl.c: Likewise.
18988 * math/e_expl.c: Likewise.
18989 * math/e_fmodl.c: Likewise.
18990 * math/e_gammal_r.c: Likewise.
18991 * math/e_hypotl.c: Likewise.
18992 * math/e_j0l.c: Likewise.
18993 * math/e_j1l.c: Likewise.
18994 * math/e_jnl.c: Likewise.
18995 * math/e_lgammal_r.c: Likewise.
18996 * math/e_log10l.c: Likewise.
18997 * math/e_log2l.c: Likewise.
18998 * math/e_logl.c: Likewise.
18999 * math/e_powl.c: Likewise.
19000 * math/e_rem_pio2l.c: Likewise.
19001 * math/e_sinhl.c: Likewise.
19002 * math/e_sqrtl.c: Likewise.
19003 * math/fclrexcpt.c: Likewise.
19004 * math/fedisblxcpt.c: Likewise.
19005 * math/feenablxcpt.c: Likewise.
19006 * math/fegetenv.c: Likewise.
19007 * math/fegetexcept.c: Likewise.
19008 * math/fegetround.c: Likewise.
19009 * math/feholdexcpt.c: Likewise.
19010 * math/fesetenv.c: Likewise.
19011 * math/fesetround.c: Likewise.
19012 * math/feupdateenv.c: Likewise.
19013 * math/fgetexcptflg.c: Likewise.
19014 * math/fraiseexcpt.c: Likewise.
19015 * math/fsetexcptflg.c: Likewise.
19016 * math/ftestexcept.c: Likewise.
19017 * math/k_cosl.c: Likewise.
19018 * math/k_rem_pio2l.c: Likewise.
19019 * math/k_sinl.c: Likewise.
19020 * math/k_tanl.c: Likewise.
19021 * math/s_asinhl.c: Likewise.
19022 * math/s_atanl.c: Likewise.
19023 * math/s_cbrtl.c: Likewise.
19024 * math/s_erfl.c: Likewise.
19025 * math/s_expm1l.c: Likewise.
19026 * math/s_log1pl.c: Likewise.
19027 * math/s_tanhl.c: Likewise.
19028 * misc/acct.c: Likewise.
19029 * misc/brk.c: Likewise.
19030 * misc/chflags.c: Likewise.
19031 * misc/chroot.c: Likewise.
19032 * misc/fchflags.c: Likewise.
19033 * misc/fgetxattr.c: Likewise.
19034 * misc/flistxattr.c: Likewise.
19035 * misc/fremovexattr.c: Likewise.
19036 * misc/fsetxattr.c: Likewise.
19037 * misc/fsync.c: Likewise.
19038 * misc/ftruncate.c: Likewise.
19039 * misc/futimes.c: Likewise.
19040 * misc/futimesat.c: Likewise.
19041 * misc/getdomain.c: Likewise.
19042 * misc/getdtsz.c: Likewise.
19043 * misc/gethostid.c: Likewise.
19044 * misc/gethostname.c: Likewise.
19045 * misc/getloadavg.c: Likewise.
19046 * misc/getpagesize.c: Likewise.
19047 * misc/getsysstats.c: Likewise.
19048 * misc/getxattr.c: Likewise.
19049 * misc/gtty.c: Likewise.
19050 * misc/ioctl.c: Likewise.
19051 * misc/lgetxattr.c: Likewise.
19052 * misc/listxattr.c: Likewise.
19053 * misc/llistxattr.c: Likewise.
19054 * misc/lremovexattr.c: Likewise.
19055 * misc/lsetxattr.c: Likewise.
19056 * misc/lutimes.c: Likewise.
19057 * misc/madvise.c: Likewise.
19058 * misc/mincore.c: Likewise.
19059 * misc/mlock.c: Likewise.
19060 * misc/mlockall.c: Likewise.
19061 * misc/mmap.c: Likewise.
19062 * misc/mprotect.c: Likewise.
19063 * misc/msync.c: Likewise.
19064 * misc/munlock.c: Likewise.
19065 * misc/munlockall.c: Likewise.
19066 * misc/munmap.c: Likewise.
19067 * misc/preadv.c: Likewise.
19068 * misc/preadv64.c: Likewise.
19069 * misc/ptrace.c: Likewise.
19070 * misc/pwritev.c: Likewise.
19071 * misc/pwritev64.c: Likewise.
19072 * misc/readv.c: Likewise.
19073 * misc/reboot.c: Likewise.
19074 * misc/remap_file_pages.c: Likewise.
19075 * misc/removexattr.c: Likewise.
19076 * misc/revoke.c: Likewise.
19077 * misc/select.c: Likewise.
19078 * misc/setdomain.c: Likewise.
19079 * misc/setegid.c: Likewise.
19080 * misc/seteuid.c: Likewise.
19081 * misc/sethostid.c: Likewise.
19082 * misc/sethostname.c: Likewise.
19083 * misc/setregid.c: Likewise.
19084 * misc/setreuid.c: Likewise.
19085 * misc/setxattr.c: Likewise.
19086 * misc/sstk.c: Likewise.
19087 * misc/stty.c: Likewise.
19088 * misc/swapoff.c: Likewise.
19089 * misc/swapon.c: Likewise.
19090 * misc/sync.c: Likewise.
19091 * misc/syncfs.c: Likewise.
19092 * misc/syscall.c: Likewise.
19093 * misc/truncate.c: Likewise.
19094 * misc/ualarm.c: Likewise.
19095 * misc/usleep.c: Likewise.
19096 * misc/ustat.c: Likewise.
19097 * misc/utimes.c: Likewise.
19098 * misc/vhangup.c: Likewise.
19099 * misc/writev.c: Likewise.
19100 * posix/_exit.c: Likewise.
19101 * posix/alarm.c: Likewise.
19102 * posix/execve.c: Likewise.
19103 * posix/fexecve.c: Likewise.
19104 * posix/fork.c: Likewise.
19105 * posix/fpathconf.c: Likewise.
19106 * posix/getaddrinfo.c: Likewise.
19107 * posix/getegid.c: Likewise.
19108 * posix/geteuid.c: Likewise.
19109 * posix/getgid.c: Likewise.
19110 * posix/getgroups.c: Likewise.
19111 * posix/getlogin.c: Likewise.
19112 * posix/getlogin_r.c: Likewise.
19113 * posix/getpgid.c: Likewise.
19114 * posix/getpid.c: Likewise.
19115 * posix/getppid.c: Likewise.
19116 * posix/getresgid.c: Likewise.
19117 * posix/getresuid.c: Likewise.
19118 * posix/getsid.c: Likewise.
19119 * posix/getuid.c: Likewise.
19120 * posix/glob64.c: Likewise.
19121 * posix/nanosleep.c: Likewise.
19122 * posix/pathconf.c: Likewise.
19123 * posix/pause.c: Likewise.
19124 * posix/posix_madvise.c: Likewise.
19125 * posix/pread.c: Likewise.
19126 * posix/pread64.c: Likewise.
19127 * posix/pwrite.c: Likewise.
19128 * posix/pwrite64.c: Likewise.
19129 * posix/sched_getaffinity.c: Likewise.
19130 * posix/sched_getp.c: Likewise.
19131 * posix/sched_gets.c: Likewise.
19132 * posix/sched_primax.c: Likewise.
19133 * posix/sched_primin.c: Likewise.
19134 * posix/sched_rr_gi.c: Likewise.
19135 * posix/sched_setaffinity.c: Likewise.
19136 * posix/sched_setp.c: Likewise.
19137 * posix/sched_sets.c: Likewise.
19138 * posix/sched_yield.c: Likewise.
19139 * posix/setgid.c: Likewise.
19140 * posix/setlogin.c: Likewise.
19141 * posix/setpgid.c: Likewise.
19142 * posix/setresgid.c: Likewise.
19143 * posix/setresuid.c: Likewise.
19144 * posix/setsid.c: Likewise.
19145 * posix/setuid.c: Likewise.
19146 * posix/sleep.c: Likewise.
19147 * posix/spawni.c: Likewise.
19148 * posix/sysconf.c: Likewise.
19149 * posix/times.c: Likewise.
19150 * posix/wait.c: Likewise.
19151 * posix/wait3.c: Likewise.
19152 * posix/wait4.c: Likewise.
19153 * posix/waitpid.c: Likewise.
19154 * resolv/gai_sigqueue.c: Likewise.
19155 * resource/getpriority.c: Likewise.
19156 * resource/getrlimit.c: Likewise.
19157 * resource/getrusage.c: Likewise.
19158 * resource/nice.c: Likewise.
19159 * resource/setpriority.c: Likewise.
19160 * resource/setrlimit.c: Likewise.
19161 * resource/ulimit.c: Likewise.
19162 * rt/aio_cancel.c: Likewise.
19163 * rt/aio_fsync.c: Likewise.
19164 * rt/aio_read.c: Likewise.
19165 * rt/aio_sigqueue.c: Likewise.
19166 * rt/aio_suspend.c: Likewise.
19167 * rt/aio_write.c: Likewise.
19168 * rt/clock_getres.c: Likewise.
19169 * rt/clock_gettime.c: Likewise.
19170 * rt/clock_nanosleep.c: Likewise.
19171 * rt/clock_settime.c: Likewise.
19172 * rt/lio_listio.c: Likewise.
19173 * rt/mq_close.c: Likewise.
19174 * rt/mq_getattr.c: Likewise.
19175 * rt/mq_notify.c: Likewise.
19176 * rt/mq_open.c: Likewise.
19177 * rt/mq_receive.c: Likewise.
19178 * rt/mq_send.c: Likewise.
19179 * rt/mq_setattr.c: Likewise.
19180 * rt/mq_timedreceive.c: Likewise.
19181 * rt/mq_timedsend.c: Likewise.
19182 * rt/mq_unlink.c: Likewise.
19183 * rt/shm_open.c: Likewise.
19184 * rt/shm_unlink.c: Likewise.
19185 * rt/timer_create.c: Likewise.
19186 * rt/timer_delete.c: Likewise.
19187 * rt/timer_getoverr.c: Likewise.
19188 * rt/timer_gettime.c: Likewise.
19189 * rt/timer_settime.c: Likewise.
19190 * setjmp/__longjmp.c: Likewise.
19191 * setjmp/setjmp.c: Likewise.
19192 * signal/kill.c: Likewise.
19193 * signal/killpg.c: Likewise.
19194 * signal/raise.c: Likewise.
19195 * signal/sigaction.c: Likewise.
19196 * signal/sigaltstack.c: Likewise.
19197 * signal/sigblock.c: Likewise.
19198 * signal/sigignore.c: Likewise.
19199 * signal/sigintr.c: Likewise.
19200 * signal/signal.c: Likewise.
19201 * signal/sigpause.c: Likewise.
19202 * signal/sigpending.c: Likewise.
19203 * signal/sigqueue.c: Likewise.
19204 * signal/sigreturn.c: Likewise.
19205 * signal/sigset.c: Likewise.
19206 * signal/sigsetmask.c: Likewise.
19207 * signal/sigstack.c: Likewise.
19208 * signal/sigsuspend.c: Likewise.
19209 * signal/sigtimedwait.c: Likewise.
19210 * signal/sigvec.c: Likewise.
19211 * signal/sigwait.c: Likewise.
19212 * signal/sigwaitinfo.c: Likewise.
19213 * signal/sysv_signal.c: Likewise.
19214 * socket/accept.c: Likewise.
19215 * socket/accept4.c: Likewise.
19216 * socket/bind.c: Likewise.
19217 * socket/connect.c: Likewise.
19218 * socket/getpeername.c: Likewise.
19219 * socket/getsockname.c: Likewise.
19220 * socket/getsockopt.c: Likewise.
19221 * socket/isfdtype.c: Likewise.
19222 * socket/listen.c: Likewise.
19223 * socket/recv.c: Likewise.
19224 * socket/recvfrom.c: Likewise.
19225 * socket/recvmsg.c: Likewise.
19226 * socket/send.c: Likewise.
19227 * socket/sendmsg.c: Likewise.
19228 * socket/sendto.c: Likewise.
19229 * socket/setsockopt.c: Likewise.
19230 * socket/shutdown.c: Likewise.
19231 * socket/sockatmark.c: Likewise.
19232 * socket/socket.c: Likewise.
19233 * socket/socketpair.c: Likewise.
19234 * stdio-common/ctermid.c: Likewise.
19235 * stdio-common/cuserid.c: Likewise.
19236 * stdio-common/remove.c: Likewise.
19237 * stdio-common/rename.c: Likewise.
19238 * stdio-common/renameat.c: Likewise.
19239 * stdio-common/tempname.c: Likewise.
19240 * stdlib/getcontext.c: Likewise.
19241 * stdlib/makecontext.c: Likewise.
19242 * stdlib/setcontext.c: Likewise.
19243 * stdlib/swapcontext.c: Likewise.
19244 * stdlib/system.c: Likewise.
19245 * streams/fattach.c: Likewise.
19246 * streams/fdetach.c: Likewise.
19247 * streams/getmsg.c: Likewise.
19248 * streams/getpmsg.c: Likewise.
19249 * streams/putmsg.c: Likewise.
19250 * streams/putpmsg.c: Likewise.
19251 * sysdeps/unix/bsd/getpt.c: Likewise.
19252 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
19253 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
19254 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
19256 Likewise.
19257 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
19258 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
19259 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
19260 * sysvipc/msgctl.c: Likewise.
19261 * sysvipc/msgget.c: Likewise.
19262 * sysvipc/msgrcv.c: Likewise.
19263 * sysvipc/msgsnd.c: Likewise.
19264 * sysvipc/semctl.c: Likewise.
19265 * sysvipc/semget.c: Likewise.
19266 * sysvipc/semop.c: Likewise.
19267 * sysvipc/semtimedop.c: Likewise.
19268 * sysvipc/shmat.c: Likewise.
19269 * sysvipc/shmctl.c: Likewise.
19270 * sysvipc/shmdt.c: Likewise.
19271 * sysvipc/shmget.c: Likewise.
19272 * termios/tcdrain.c: Likewise.
19273 * termios/tcflow.c: Likewise.
19274 * termios/tcflush.c: Likewise.
19275 * termios/tcgetattr.c: Likewise.
19276 * termios/tcgetpgrp.c: Likewise.
19277 * termios/tcsendbrk.c: Likewise.
19278 * termios/tcsetattr.c: Likewise.
19279 * termios/tcsetpgrp.c: Likewise.
19280 * time/adjtime.c: Likewise.
19281 * time/clock.c: Likewise.
19282 * time/getitimer.c: Likewise.
19283 * time/gettimeofday.c: Likewise.
19284 * time/setitimer.c: Likewise.
19285 * time/settimeofday.c: Likewise.
19286 * time/stime.c: Likewise.
19287 * time/time.c: Likewise.
19288
19289 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
19290
19291 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
19292 /usr/old/bin.
19293
19294 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
19295 instead of spaces.
19296 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
19297
19298 2012-11-03 Joseph Myers <joseph@codesourcery.com>
19299
19300 [BZ #14796]
19301 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
19302 FE_TONEAREST before applying Dekker multiplication and Knuth
19303 addition. Clear inexact exceptions and check for exact zero
19304 results afterwards.
19305 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19306 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19307 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19308 * math/libm-test.inc (fma_test): Add more tests.
19309 (fma_test_towardzero): Likewise.
19310 (fma_test_downward): Likewise.
19311 (fma_test_upward): Likewise.
19312 * sysdeps/generic/math_private.h (default_libc_fesetround): New
19313 function.
19314 (libc_fesetround): New macro.
19315 (libc_fesetroundf): Likewise.
19316 (libc_fesetroundl): Likewise.
19317 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
19318 function.
19319 (libc_fesetround_387): Likewise.
19320 (libc_fesetroundf): New macro.
19321 (libc_fesetround): Likewise.
19322 (libc_fesetroundl): Likewise.
19323 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
19324 function.
19325 (libc_fesetroundf): New macro.
19326 (libc_fesetround): Likewise.
19327 (libc_fesetroundl): Likewise.
19328 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
19329 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
19330 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
19331 libm_hidden_ver.
19332 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
19333 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
19334 libm_hidden_def.
19335 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
19336 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
19337 libm_hidden_ver.
19338 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
19339 libm_hidden_def.
19340
19341 [BZ #3439]
19342 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
19343 integer constant usable in #if and use that to give value to enum
19344 constant.
19345 (FE_DIVBYZERO): Likewise.
19346 (FE_UNDERFLOW): Likewise.
19347 (FE_OVERFLOW): Likewise.
19348 (FE_INVALID): Likewise.
19349 (FE_INVALID_SNAN): Likewise.
19350 (FE_INVALID_ISI): Likewise.
19351 (FE_INVALID_IDI): Likewise.
19352 (FE_INVALID_ZDZ): Likewise.
19353 (FE_INVALID_IMZ): Likewise.
19354 (FE_INVALID_COMPARE): Likewise.
19355 (FE_INVALID_SOFTWARE): Likewise.
19356 (FE_INVALID_SQRT): Likewise.
19357 (FE_INVALID_INTEGER_CONVERSION): Likewise.
19358 (FE_TONEAREST): Likewise.
19359 (FE_TOWARDZERO): Likewise.
19360 (FE_UPWARD): Likewise.
19361 (FE_DOWNWARD): Likewise.
19362 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
19363 (FE_DIVBYZERO): Likewise.
19364 (FE_OVERFLOW): Likewise.
19365 (FE_UNDERFLOW): Likewise.
19366 (FE_INEXACT): Likewise.
19367 (FE_TONEAREST): Likewise.
19368 (FE_DOWNWARD): Likewise.
19369 (FE_UPWARD): Likewise.
19370 (FE_TOWARDZERO): Likewise.
19371 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
19372 (FE_UNDERFLOW): Likewise.
19373 (FE_OVERFLOW): Likewise.
19374 (FE_DIVBYZERO): Likewise.
19375 (FE_INVALID): Likewise.
19376 (FE_TONEAREST): Likewise.
19377 (FE_TOWARDZERO): Likewise.
19378 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
19379 (FE_OVERFLOW): Likewise.
19380 (FE_UNDERFLOW): Likewise.
19381 (FE_DIVBYZERO): Likewise.
19382 (FE_INEXACT): Likewise.
19383 (FE_TONEAREST): Likewise.
19384 (FE_TOWARDZERO): Likewise.
19385 (FE_UPWARD): Likewise.
19386 (FE_DOWNWARD): Likewise.
19387 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
19388 (FE_DIVBYZERO): Likewise.
19389 (FE_OVERFLOW): Likewise.
19390 (FE_UNDERFLOW): Likewise.
19391 (FE_INEXACT): Likewise.
19392 (FE_TONEAREST): Likewise.
19393 (FE_DOWNWARD): Likewise.
19394 (FE_UPWARD): Likewise.
19395 (FE_TOWARDZERO): Likewise.
19396
19397 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
19398
19399 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
19400
19401 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
19402
19403 * scripts/cross-test-ssh.sh (command): Use newlines to separate
19404 commands. Quote $PWD.
19405 (blacklist_exports): Don't use remove_newlines. Replace "declare
19406 -x" by "export".
19407 (remove_newlines): Remove.
19408
19409 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
19410
19411 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
19412 * stdlib/stdlib.h (atof): Moved to ...
19413 * include/bits/stdlib-float.h: Here. New file.
19414 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
19415 * stdlib/bits/stdlib-float.h: New file.
19416 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
19417 -mno-sse -mno-mmx.
19418 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
19419 <xmmintrin.h>.
19420
19421 2012-11-02 Joseph Myers <joseph@codesourcery.com>
19422
19423 * conform/conformtest.pl (@headers): Add fenv.h.
19424 * conform/data/fenv.h-data: New file.
19425 * include/fenv.h [_ISOMAC]: Disable all contents of file except
19426 include of <math/fenv.h>.
19427
19428 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
19429 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
19430 && !UNIX98]. Enables tests for XOPEN2K8.
19431 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
19432 POSIX2008]: Likewise.
19433
19434 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
19435 (struct rusage): Do not expect type or its members.
19436
19437 [BZ #3439]
19438 * math/math.h (FP_NAN): Define macro to integer constant usable in
19439 #if and use that to give value to enum constant.
19440 (FP_INFINITE): Likewise.
19441 (FP_ZERO): Likewise.
19442 (FP_SUBNORMAL): Likewise.
19443 (FP_NORMAL): Likewise.
19444
19445 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
19446
19447 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
19448 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
19449 arguments.
19450
19451 2012-11-02 Roland McGrath <roland@hack.frob.com>
19452
19453 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
19454 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
19455 autoconf-time if not.
19456 * configure.in: Remove AC_PREREQ.
19457
19458 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19459
19460 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
19461 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
19462 of the internal implementation.
19463
19464 2012-11-02 Joseph Myers <joseph@codesourcery.com>
19465
19466 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
19467 except include of <misc/sys/syslog.h>.
19468
19469 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
19470
19471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
19472 function returns with a NULL context exit with zero.
19473
19474 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19475
19476 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
19477
19478 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
19479
19480 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
19481 (run_program_cmd): This.
19482 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
19483 (tst_langinfo): New variable. Use it.
19484
19485 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
19486
19487 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
19488 floating point opcodes.
19489
19490 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19491
19492 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
19493 variable.
19494
19495 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
19496
19497 * sysdeps/mach/hurd/powerpc: Remove directory.
19498 * sysdeps/mach/powerpc: Likewise.
19499
19500 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
19501
19502 * scripts/check-local-headers.sh: Ignore c++ headers.
19503
19504 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19505
19506 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
19507 __libc_cleanup_region_start argument.
19508
19509 2012-11-01 Joseph Myers <joseph@codesourcery.com>
19510
19511 [BZ #14784]
19512 [BZ #14785]
19513 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
19514 x * y using scaling, not as x * y + z.
19515 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19516 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19517 * math/libm-test.inc (fma_test): Add more tests.
19518 (fma_test_towardzero): Likewise.
19519 (fma_test_downward): Likewise.
19520 (fma_test_upward): Likewise.
19521
19522 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19523
19524 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
19525
19526 2012-10-31 Joseph Myers <joseph@codesourcery.com>
19527
19528 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
19529 New variable.
19530
19531 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
19532
19533 * rt/tst-shm.c (worker): Correct checking for mmap failure.
19534
19535 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
19536
19537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19538 Fix sort order.
19539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19540 Likewise.
19541
19542 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19543
19544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19545 Fix the order of the list for glibc 2.17.
19546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19547 Likewise.
19548
19549 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
19550
19551 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19552
19553 2012-10-31 Joseph Myers <joseph@codesourcery.com>
19554
19555 [BZ #14610]
19556 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
19557 for low part of x being zero before using __atanl (y).
19558 * math/libm-test.inc (atan2_test): Add another test.
19559
19560 * manual/install.texi (Configuring and compiling): Document
19561 general use of test-wrapper and test-wrapper-env.
19562 * INSTALL: Regenerated.
19563
19564 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
19565 (__fma): Do not extract and scale down low bits on after-rounding
19566 systems when result rounded to normal precision would have normal
19567 exponent.
19568 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
19569 (__fmal): Do not extract and scale down low bits on after-rounding
19570 systems when result rounded to normal precision would have normal
19571 exponent.
19572 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
19573 (__fmal): Do not extract and scale down low bits on after-rounding
19574 systems when result rounded to normal precision would have normal
19575 exponent.
19576 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
19577 macro.
19578 (fma_test): Add more tests.
19579 (fma_test_towardzero): Likewise.
19580 (fma_test_downward): Likewise.
19581 (fma_test_upward): Likewise.
19582
19583 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
19584
19585 * sysdeps/i386/tininess.h: Renamed to ...
19586 * sysdeps/x86/tininess.h: This.
19587 * sysdeps/x86_64/tininess.h: Removed.
19588
19589 2012-10-30 Joseph Myers <joseph@codesourcery.com>
19590
19591 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
19592 input. Use $(build-program-cmd).
19593 ($(objpfx)tst-array1-static.out): Likewise.
19594 ($(objpfx)tst-array2.out): Likewise.
19595 ($(objpfx)tst-array3.out): Likewise.
19596 ($(objpfx)tst-array4.out): Likewise.
19597 ($(objpfx)tst-array5.out): Likewise.
19598 ($(objpfx)tst-array5-static.out): Likewise.
19599
19600 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
19601
19602 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
19603 if defined.
19604
19605 * nss/nsswitch.h (nss_interface_function): Provide new
19606 macro for use with NSS functions.
19607 * grp/initgroups.c: Use new macro.
19608 * nss/getXXbyYY.c: Likewise.
19609 * nss/getXXbyYY_r.c: Likewise.
19610 * nss/getXXent.c: Likewise.
19611 * nss/getXXent_r.c: Likewise.
19612 * sysdeps/posix/getaddrinfo.c: Likewise.
19613
19614 2012-10-30 Andreas Jaeger <aj@suse.de>
19615
19616 * po/ru.po: Update Russion translation from translation project.
19617
19618 2012-10-30 Joseph Myers <joseph@codesourcery.com>
19619
19620 [BZ #14152]
19621 [BZ #14783]
19622 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
19623 result and shift together with sticky bit instead of replicating
19624 round-to-nearest rounding.
19625 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19626 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19627 * math/libm-test.inc (fma_test): Add more tests. Do not permit
19628 missing underflow exceptions.
19629 (fma_test_towardzero): Add more tests.
19630 (fma_test_downward): Likewise.
19631 (fma_test_upward): Likewise.
19632
19633 [BZ #14047]
19634 * sysdeps/generic/tininess.h: New file.
19635 * sysdeps/i386/tininess.h: Likewise.
19636 * sysdeps/sh/tininess.h: Likewise.
19637 * sysdeps/x86_64/tininess.h: Likewise.
19638 * stdlib/tst-strtod-underflow.c: Likewise.
19639 * stdlib/tst-tininess.c: Likewise.
19640 * stdlib/strtod_l.c: Include <tininess.h>.
19641 (round_and_return): Do not set errno for exact underflow cases.
19642 Force an underflow exception when setting errno for underflow.
19643 Determine underflow based on rounding to normal precision if
19644 TININESS_AFTER_ROUNDING.
19645 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
19646 ERANGE for exact underflow cases.
19647 * stdlib/Makefile (tests): Add tst-tininess and
19648 tst-strtod-underflow.
19649 ($(objpfx)tst-tininess): Use $(link-libm).
19650 ($(objpfx)tst-strtod-underflow): Likewise.
19651
19652 2012-10-30 Andreas Jaeger <aj@suse.de>
19653
19654 [BZ#14767]
19655 * elf/Makefile (tests): Remove conditional for have-initfini-array
19656 since this is now always required and the variable does not exist
19657 anymore.
19658 (tests-static): Likewise.
19659 (modules-names): Likewise.
19660
19661 * po/eo.po: Add Esperanto translation from translation project.
19662
19663 * elf/tst-array1.c (fini_array): Make writeable so that it can be
19664 merged with constructor/destructor.
19665 (init_array): Likewise.
19666 * elf/tst-array2dep.c (fini_array): Likewise.
19667 (init_array): Likewise.
19668
19669 2012-10-29 Mike Frysinger <vapier@gentoo.org>
19670
19671 * manual/message.texi: Delete @cartouche tags.
19672
19673 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
19674
19675 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
19676 EOPNOTSUPP.
19677 * sysdeps/mach/hurd/fsync.c: Likewise.
19678
19679 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
19680 [_POSIX_REALTIME_SIGNALS]: Change condition to
19681 [_POSIX_REALTIME_SIGNALS > 0].
19682
19683 2012-10-27 Andreas Jaeger <aj@suse.de>
19684
19685 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
19686 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
19687 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
19688 [__WORDSIZE != 64]: Likewise.
19689
19690 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
19691
19692 * iconvdata/tst-table.sh: Remove ${SHELL}.
19693 * iconvdata/tst-tables.sh: Likewise.
19694
19695 2012-10-25 David S. Miller <davem@davemloft.net>
19696
19697 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19698 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
19699 of strtoull.
19700
19701 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
19702 ifunc-impl-list.c
19703 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19704 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
19705 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
19706 file.
19707
19708 2012-10-25 Roland McGrath <roland@hack.frob.com>
19709
19710 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19711 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
19712 __getdirentries.
19713
19714 2012-10-25 Joseph Myers <joseph@codesourcery.com>
19715 Jim Blandy <jimb@codesourcery.com>
19716
19717 * scripts/cross-test-ssh.sh: New file.
19718 * manual/install.texi (Configuring and compiling): Document use of
19719 cross-test-ssh.sh.
19720 * INSTALL: Regenerated.
19721
19722 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
19723
19724 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
19725 EOPNOTSUPP.
19726
19727 2012-10-25 Joseph Myers <joseph@codesourcery.com>
19728
19729 * Makeconfig (run-program-prefix): Fix comment.
19730
19731 2012-10-24 Joseph Myers <joseph@codesourcery.com>
19732 Jim Blandy <jimb@codesourcery.com>
19733
19734 * Makeconfig (test-wrapper): New variable,
19735 (test-wrapper-env): Likewise.
19736 [$(cross-compiling) = yes && $(test-wrapper) != ""]
19737 (run-built-tests): Define to yes.
19738 (run-program-prefix): Use $(test-wrapper).
19739 (built-program-cmd): Likewise.
19740 * Rules (make-test-out): Use $(test-wrapper-env) and
19741 $(host-built-program-cmd).
19742 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
19743 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
19744 tst-pathopt.sh.
19745 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
19746 $(test-wrapper-env) to tst-rtld-load-self.sh.
19747 ($(objpfx)order2.out): Use $(test-wrapper).
19748 ($(objpfx)tst-initorder.out): Likewise.
19749 ($(objpfx)tst-initorder2.out): Likewise.
19750 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
19751 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
19752 (test_wrapper_env): New variable. Use it to run ld.so.
19753 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
19754 Use it to run ld.so.
19755 (test_wrapper_env): Likewise.
19756 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
19757 $(test-wrapper) to run-iconv-test.sh.
19758 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
19759 (ICONV): Use $test_wrapper.
19760 * posix/Makefile ($(objpfx)globtest.out): Pass
19761 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
19762 globtest.sh, not $(run-program-prefix).
19763 * posix/globtest.sh (run_via_rtld_prefix): New variable.
19764 (test_wrapper): Likewise.
19765 (test_wrapper_env): Likewise. Use it to run globtest with HOME
19766 set together with run_via_rtld_prefix.
19767 (run_program_prefix): Define in terms of test_wrapper and
19768 run_via_rtld_prefix.
19769
19770 2012-10-24 Roland McGrath <roland@hack.frob.com>
19771
19772 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
19773 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
19774 Targets removed.
19775
19776 [BZ #14743]
19777 * include/time.h: Remove librt_hidden_proto (clock_gettime).
19778 Declare __clock_getres, __clock_gettime, __clock_settime,
19779 __clock_nanosleep, and __clock_getcpuclockid.
19780 * rt/clock_gettime.c: Define __clock_gettime as an alias.
19781 Remove librt_hidden_def (clock_gettime).
19782 * sysdeps/unix/clock_gettime.c: Likewise.
19783 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
19784 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
19785 * rt/clock_getres.c: Define __clock_getres as an alias.
19786 * sysdeps/posix/clock_getres.c: Likewise.
19787 * rt/clock_settime.c: Define __clock_settime as an alias.
19788 * sysdeps/unix/clock_settime.c: Likewise.
19789 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
19790 * sysdeps/unix/clock_nanosleep.c: Likewise.
19791 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
19792 * rt/clock-compat.c: New file.
19793 * rt/Makefile (librt-routines): Add clock-compat and move
19794 $(clock-routines) to ...
19795 (routines): ... here, new variable.
19796 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
19797 Don't add get_clockfreq here.
19798 * rt/Versions (libc: GLIBC_2.17): New version set.
19799 Add clock_* symbols here.
19800 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
19801 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
19802 (GLIBC_2.17): Add clock_* symbols.
19803 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19804 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19805 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19807 Likewise.
19808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19809 Likewise.
19810 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19811 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
19812 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19813 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19814 * NEWS: Mention the move.
19815
19816 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19817 Use __open, __read, __close rather than their public counterparts.
19818 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19819 (__get_clockfreq_via_cpuinfo): Likewise.
19820 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
19821 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
19822
19823 * config.h.in (HAVE_IFUNC): New #undef.
19824 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
19825 was successful.
19826 * configure: Regenerated.
19827
19828 2012-10-24 Mike Frysinger <vapier@gentoo.org>
19829
19830 * configure.in: Move READELF check to start of file.
19831 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
19832 libc_cv_asm_gnu_indirect_function in the process.
19833 * configure: Regenerated.
19834
19835 2012-10-24 Mike Frysinger <vapier@gentoo.org>
19836
19837 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
19838 send the output to /dev/null.
19839 (libc_cv_cc_with_libunwind): Likewise.
19840 (libc_cv_as_noexecstack): Likewise.
19841 * configure: Regenerate.
19842
19843 2012-10-24 Joseph Myers <joseph@codesourcery.com>
19844
19845 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
19846
19847 * posix/globtest.sh (TMPDIR): Do not set.
19848 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
19849 (testout): Likewise.
19850
19851 2012-10-24 Andreas Jaeger <aj@suse.de>
19852
19853 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
19854 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
19855 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
19856 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
19857 posix_fadvise64, posix_fallocate64.
19858
19859 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
19860 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
19861 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
19862 Likewise.
19863 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
19864 Likewise.
19865 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
19866
19867 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
19868 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
19869 <bits/fcntl-linux.h>.
19870 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
19871
19872 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
19873 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
19874 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
19875 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
19876 [__WORDSIZE != 64]: Likewise.
19877
19878 2012-10-23 Joseph Myers <joseph@codesourcery.com>
19879
19880 * Makeconfig (run-built-tests): New variable.
19881 * Rules [$(cross-compiling) = yes]: Change condition to
19882 [$(run-built-tests) = no].
19883 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
19884 to [$(run-built-tests) = yes].
19885 * elf/Makefile [$(cross-compiling) = no]: Likewise
19886 * grp/Makefile [$(cross-compiling) = no]: Likewise.
19887 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
19888 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
19889 * intl/Makefile [$(cross-compiling) = no]: Likewise.
19890 * io/Makefile [$(cross-compiling) = no]: Likewise.
19891 * libio/Makefile [$(cross-compiling) = no]: Likewise.
19892 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
19893 * misc/Makefile [$(cross-compiling) = no]: Likewise.
19894 * posix/Makefile [$(cross-compiling) = no]: Likewise.
19895 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
19896 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
19897 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
19898 * string/Makefile [$(cross-compiling) = no]: Likewise.
19899
19900 * posix/Makefile ($(objpfx)globtest.out): Pass
19901 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
19902 $(rtld-installed-name).
19903 * posix/globtest.sh (elf_objpfx): Remove variable.
19904 (rtld_installed_name): Likewise.
19905 (library_path): Likewise.
19906 (run_program_prefix): New variable. Use for running globtest
19907 binary.
19908
19909 2012-10-23 Jim Blandy <jimb@codesourcery.com>
19910 Joseph Myers <joseph@codesourcery.com>
19911
19912 * Makeconfig (host-built-program-cmd): New variable.
19913 * elf/Makefile (tst-stackguard1-ARGS): Use
19914 $(host-built-program-cmd).
19915 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
19916 (tst-spawn-ARGS): Likewise.
19917 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
19918
19919 2012-10-23 Joseph Myers <joseph@codesourcery.com>
19920 Jim Blandy <jimb@codesourcery.com>
19921
19922 * Makeconfig (run-via-rtld-prefix): New variable.
19923 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
19924 (built-program-cmd): Likewise.
19925
19926 2012-10-22 Andreas Jaeger <aj@suse.de>
19927
19928 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
19929 __O_RSYNC if it exists, otherwise to O_SYNC.
19930
19931 2012-10-22 Jim Blandy <jimb@codesourcery.com>
19932 Joseph Myers <joseph@codesourcery.com>
19933
19934 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
19935 /dev/null.
19936 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
19937 from /dev/null
19938 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
19939 /dev/null.
19940
19941 2012-10-22 Andreas Jaeger <aj@suse.de>
19942
19943 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
19944 Define always.
19945 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
19946
19947 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19948 bits/fcntl-linux.h.
19949
19950 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
19951 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
19952
19953 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
19954 to __O_LARGEFILE.
19955 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
19956 to __O_LARGEFILE.
19957
19958 2012-10-21 Jim Blandy <jimb@codesourcery.com>
19959 Joseph Myers <joseph@codesourcery.com>
19960
19961 * config.make.in (NM): New variable.
19962
19963 2012-10-21 Andreas Jaeger <aj@suse.de>
19964
19965 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
19966 definitions and declarations that are provided by
19967 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
19968
19969 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
19970
19971 [BZ #14683]
19972 * elf/Makefile (tests-static): Add tst-leaks1-static.
19973 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
19974 ($(objpfx)tst-leaks1-static): New rule.
19975 ($(objpfx)tst-leaks1-static-mem): Likewise.
19976 (tst-leaks1-static-ENV): New macro.
19977 * elf/dl-open.c (dl_open_worker): Check the main application
19978 only if SHARED is defined.
19979 * elf/tst-leaks1-static.c: New file.
19980
19981 2012-10-20 Andreas Jaeger <aj@suse.de>
19982
19983 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
19984 generic values for Linux.
19985 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
19986 and declarations that are provided by <bits/fcntl-linux.h> and
19987 include <bits/fcntl-linux.h>.
19988 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19989 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19990
19991 2012-10-20 Roland McGrath <roland@hack.frob.com>
19992
19993 * io/fcntl.h: Move include of <bits/types.h> to the top and
19994 include it unconditionally.
19995
19996 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
19997
19998 * wcsmbs/Makefile (tests-ifunc): New variable.
19999 (tests): Add $(tests-ifunc).
20000 * wcsmbs/test-wcschr-ifunc.c: New file.
20001 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
20002 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
20003 * wcsmbs/test-wcslen-ifunc.c: Likewise.
20004 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
20005 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
20006
20007 * string/Makefile (tests-ifunc): New variable.
20008 (tests): Add $(tests-ifunc).
20009 * string/test-memccpy.c (TEST_NAME): New macro.
20010 * string/test-memchr.c (TEST_NAME): Likewise.
20011 * string/test-memcmp.c (TEST_NAME): Likewise.
20012 * string/test-memcpy.c (TEST_NAME): Likewise.
20013 * string/test-memmem.c (TEST_NAME): Likewise.
20014 * string/test-memmove.c (TEST_NAME): Likewise.
20015 * string/test-memset.c (TEST_NAME): Likewise.
20016 * string/test-rawmemchr.c (TEST_NAME): Likewise.
20017 * string/test-stpcpy.c (TEST_NAME): Likewise.
20018 * string/test-stpncpy.c (TEST_NAME): Likewise.
20019 * string/test-strcasecmp.c (TEST_NAME): Likewise.
20020 * string/test-strcasestr.c (TEST_NAME): Likewise.
20021 * string/test-strcat.c (TEST_NAME): Likewise.
20022 * string/test-strchr.c (TEST_NAME): Likewise.
20023 * string/test-strcmp.c(TEST_NAME): Likewise.
20024 * string/test-strcpy.c (TEST_NAME): Likewise.
20025 * string/test-strcspn.c (TEST_NAME): Likewise.
20026 * string/test-strlen.c (TEST_NAME): Likewise.
20027 * string/test-strncasecmp.c (TEST_NAME): Likewise.
20028 * string/test-strncmp.c (TEST_NAME): Likewise.
20029 * string/test-strncpy.c (TEST_NAME): Likewise.
20030 * string/test-strnlen.c (TEST_NAME): Likewise.
20031 * string/test-strpbrk.c (TEST_NAME): Likewise.
20032 * string/test-strrchr.c (TEST_NAME): Likewise.
20033 * string/test-strspn.c (TEST_NAME): Likewise.
20034 * string/test-strstr.c (TEST_NAME): Likewise.
20035 * string/test-bcopy-ifunc.c: New file.
20036 * string/test-bzero-ifunc.c: Likewise.
20037 * string/test-memccpy-ifunc.c: Likewise.
20038 * string/test-memchr-ifunc.c: Likewise.
20039 * string/test-memcmp-ifunc.c: Likewise.
20040 * string/test-memcpy-ifunc.c: Likewise.
20041 * string/test-memmem-ifunc.c: Likewise.
20042 * string/test-memmove-ifunc.c: Likewise.
20043 * string/test-mempcpy-ifunc.c: Likewise.
20044 * string/test-memset-ifunc.c: Likewise.
20045 * string/test-rawmemchr-ifunc.c: Likewise.
20046 * string/test-stpcpy-ifunc.c: Likewise.
20047 * string/test-stpncpy-ifunc.c: Likewise.
20048 * string/test-strcasecmp-ifunc.c: Likewise.
20049 * string/test-strcasestr-ifunc.c: Likewise.
20050 * string/test-strcat-ifunc.c: Likewise.
20051 * string/test-strchr-ifunc.c: Likewise.
20052 * string/test-strchrnul-ifunc.c: Likewise.
20053 * string/test-strcmp-ifunc.c: Likewise.
20054 * string/test-strcpy-ifunc.c: Likewise.
20055 * string/test-strcspn-ifunc.c: Likewise.
20056 * string/test-strlen-ifunc.c: Likewise.
20057 * string/test-strncasecmp-ifunc.c: Likewise.
20058 * string/test-strncat-ifunc.c: Likewise.
20059 * string/test-strncmp-ifunc.c: Likewise.
20060 * string/test-strncpy-ifunc.c: Likewise.
20061 * string/test-strnlen-ifunc.c: Likewise.
20062 * string/test-strpbrk-ifunc.c: Likewise.
20063 * string/test-strrchr-ifunc.c: Likewise.
20064 * string/test-strspn-ifunc.c: Likewise.
20065 * string/test-strstr-ifunc.c: Likewise.
20066
20067 * debug/Makefile (tests-ifunc): New variable.
20068 (tests): Add $(tests-ifunc).
20069 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
20070 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
20071 * debug/test-stpcpy_chk-ifunc.c: New file.
20072 * debug/test-strcpy_chk-ifunc.c: Likewise.
20073
20074 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20075
20076 [BZ #13601]
20077 * elf/dl-load.c (open_verify): Retry read if the entire ELF
20078 header is not read in.
20079
20080 2012-10-19 Joseph Myers <joseph@codesourcery.com>
20081
20082 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
20083 script to $(SHELL) as $<. Pass $(common-objpfx) to script
20084 directly. Pass built executable to script as
20085 $(built-program-cmd).
20086 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
20087 $testprogram without using LD_LIBRARY_PATH and $ldso.
20088
20089 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
20090 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
20091 $(rtld-installed-name).
20092 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
20093 (rtld_installed_name): Likewise.
20094 (library_path): Likewise.
20095 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
20096 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
20097 $(run-program-prefix) to tst-tables.sh.
20098 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
20099 it to run tst-table-from and tst-table-to.
20100 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
20101 Pass it to tst-table.sh.
20102 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
20103 $(run-program-prefix) to tst-gettext.sh.
20104 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
20105 tst-translit.sh.
20106 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
20107 tst-gettext2.sh.
20108 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
20109 to run tst-gettext.
20110 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
20111 to run tst-gettext2.
20112 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
20113 to run tst-translit.
20114 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
20115 $(run-program-prefix) to tst-mtrace.sh.
20116 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
20117 to run tst-mtrace.
20118 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
20119 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
20120 $(rtld-installed-name).
20121 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
20122 (rtld_installed_name): Likewise.
20123 (run_program_prefix): New variable. Use it to run wordexp-test.
20124
20125 * Makeconfig (ARCH): Remove all definitions.
20126 (machine): Likewise.
20127 [ARCH]: Remove conditional code.
20128 [!objdir]: Give error.
20129 [!objdir] (objpfx): Remove.
20130 [!objdir] (common-objpfx): Likewise.
20131 [!objdir] (common-objdir): Likewise.
20132 * configure.in (config_makefile): Remove. Hardcode Makefile in
20133 AC_CONFIG_FILES call.
20134 * configure: Regenerated.
20135
20136 [BZ #13888]
20137 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
20138 or TMPDIR.
20139 (testout): Likewise.
20140
20141 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
20142 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
20143 $(rtld-installed-name).
20144 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
20145 (rtld_installed_name): Likwise.
20146 (runit): Remove function.
20147 (run_getconf): New variable, Use it for running getconf binary.
20148
20149 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
20150
20151 [BZ #14716]
20152 * string/test-memmem.c (check_result): New function.
20153 (do_one_test): Use it.
20154 (check1): New function.
20155 (test_main): Use it.
20156
20157 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
20158
20159 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
20160
20161 2012-10-18 Joseph Myers <joseph@codesourcery.com>
20162
20163 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
20164 (_G_LSEEK64): Likewise.
20165 (_G_MMAP64): Likewise.
20166 (_G_FSTAT64): Likewise.
20167 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
20168 (_G_LSEEK64): Likewise.
20169 (_G_MMAP64): Likewise.
20170 (_G_FSTAT64): Likewise.
20171 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
20172 unconditional. Call __mmap64 directly.
20173 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
20174 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
20175 __lseek64 directly.
20176 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
20177 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
20178 __mmap64 directly.
20179 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
20180 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
20181 __lseek64 directly.
20182 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
20183 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
20184 __lseek64 directly.
20185 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
20186 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
20187 __lseek64 directly.
20188 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
20189 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
20190 __fxstat64 directly.
20191 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
20192 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
20193 unconditional.
20194 (freopen64) [!_G_OPEN64]: Remove conditional code.
20195 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
20196 unconditional.
20197 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
20198 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
20199 unconditional.
20200 (ftello64) [!_G_LSEEK64]: Remove conditional code.
20201 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
20202 unconditional.
20203 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
20204 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
20205 unconditional.
20206 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
20207 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
20208 unconditional.
20209 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
20210 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
20211 unconditional.
20212 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
20213 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
20214 unconditional.
20215 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
20216
20217 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20218
20219 [BZ #12140]
20220 * manual/memory.texi (Malloc Tunable Parameters): Add note
20221 about free list pointers overwriting some perturb bytes.
20222 Wording suggested by Roland McGrath.
20223
20224 2012-10-17 Joseph Myers <joseph@codesourcery.com>
20225
20226 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
20227 (lgamma_test): Likewise.
20228 (tgamma_test): Likewise.
20229
20230 2012-10-16 Florian Weimer <fweimer@redhat.com>
20231
20232 [BZ #14700]
20233 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
20234 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
20235
20236 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
20237
20238 * NEWS: Mention BZ #14716.
20239 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
20240 when removing AVAILABLE1_USES_J macro.
20241
20242 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
20243
20244 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
20245 (__bswap_64): __uint64_t for unsigned 64-bit int.
20246
20247 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
20248
20249 * include/string.h (memmem): Declare libc hidden alias.
20250 * string/memmem.c (memmem): Define libc hidden alias.
20251 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
20252 __read, __close instead of open, read, close.
20253
20254 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
20255
20256 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
20257 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
20258 global and hidden.
20259 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
20260 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
20261 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
20262 Likewise.
20263 (__rawmemchr_sse2): Likewise.
20264 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
20265 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
20266 (__strchr_sse2): Likewise.
20267 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
20268 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
20269 (__strcasecmp_sse2): Likewise.
20270 (__strncasecmp_sse2): Likewise.
20271 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
20272 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
20273 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
20274 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
20275 (__strrchr_sse2): Likewise.
20276 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
20277 ifunc-impl-list.c.
20278 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
20279 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20280 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20281 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20282 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20283 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20284 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20285 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20286 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
20287 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
20288 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
20289 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
20290 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
20291 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
20292 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
20293 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20294 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
20295 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
20296 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
20297 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
20298 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
20299 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
20300 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
20301 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20302 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
20303 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20304 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20305 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20306 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20307 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20308
20309 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
20310 global and hidden.
20311 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
20312 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
20313 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
20314 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
20315 Likewise.
20316 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
20317 Likewise.
20318 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
20319 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
20320 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
20321 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
20322 ifunc-impl-list.c.
20323 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20324 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20325 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20326 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20327 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20328 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20329 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20330 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20331 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20332 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20333 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20334 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20335 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20336 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
20337 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
20338 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20339 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
20340 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
20341 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20342 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20343 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20344 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20345 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20346 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20347 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20348 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
20349 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
20350 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
20351 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
20352 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20353 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
20354 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20355 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20356 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
20357 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20358 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20359 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20360 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20361 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20362 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20363 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
20364
20365 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
20366 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
20367 * include/ifunc-impl-list.h: New file.
20368 * misc/ifunc-impl-list.c: Likewise.
20369 * misc/Makefile (routines): Add ifunc-impl-list.
20370 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
20371 * string/test-string.h: Include <ifunc-impl-list.h>.
20372 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
20373 impl_array): New variables.
20374 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
20375 are defined.
20376 (test_init): Call __libc_ifunc_impl_list to initialize
20377 func_list if TEST_IFUNC and TEST_NAME are defined.
20378
20379 * string/Makefile (strop-tests): Add bcopy and bzero.
20380 * string/test-bcopy.c: New file.
20381 * string/test-bzero.c: Likewise.
20382 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
20383 defined.
20384 * string/test-memset.c: Support bzero test if TEST_BZERO is
20385 defined.
20386 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
20387 __libc_memmove.
20388 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
20389 __libc_memset.
20390 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
20391 of memset.
20392
20393 2012-10-10 Joseph Myers <joseph@codesourcery.com>
20394
20395 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
20396 * configure: Regenerated.
20397
20398 * Makeconfig (+link-static-before-libc): Don't include
20399 $(link-static-libc).
20400
20401 * libio/libio.h (_IO_pos_t): Remove.
20402
20403 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
20404
20405 * NEWS: Add note about FIPS mode. Wording suggested by Roland
20406 McGrath.
20407
20408 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
20409
20410 * crypt/crypt-entry.c: Include fips-private.h.
20411 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
20412 * crypt/md5c-test.c (main): Tolerate disabled MD5.
20413 * sysdeps/unix/sysv/linux/fips-private.h: New file.
20414 * sysdeps/generic/fips-private.h: New file, dummy fallback.
20415
20416 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
20417
20418 * crypt/crypt-private.h: Include stdbool.h.
20419 (_ufc_setup_salt_r): Return bool.
20420 * crypt/crypt-entry.c: Include errno.h.
20421 (__crypt_r): Return NULL with EINVAL for bad salt.
20422 * crypt/crypt_util.c (bad_for_salt): New.
20423 (_ufc_setup_salt_r): Check that salt is long enough and within
20424 the specified alphabet.
20425 * crypt/badsalttest.c: New file.
20426 * crypt/Makefile (tests): Add it.
20427 ($(objpfx)badsalttest): New.
20428
20429 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
20430
20431 * NEWS: Add entry for BZ #14602.
20432
20433 2012-10-09 Joseph Myers <joseph@codesourcery.com>
20434
20435 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
20436 type-generic.
20437 * math/libm-test.inc: Update comment listing what functions and
20438 macros are tested.
20439 (isgreater_test): New function.
20440 (isgreaterequal_test): Likewise.
20441 (isless_test): Likewise.
20442 (islessequal_test): Likewise.
20443 (islessgreater_test): Likewise.
20444 (isunordered_test): Likewise.
20445 (main): Call the new functions.
20446
20447 2012-10-09 Roland McGrath <roland@hack.frob.com>
20448
20449 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
20450 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
20451 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
20452 * sysdeps/i386/configure: Regenerated.
20453 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
20454 * sysdeps/mach/configure: Regenerated.
20455 * sysdeps/mach/hurd/configure: Regenerated.
20456 * sysdeps/powerpc/configure: Regenerated.
20457 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20458 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20459 * sysdeps/s390/s390-32/configure: Regenerated.
20460 * sysdeps/s390/s390-64/configure: Regenerated.
20461 * sysdeps/sh/configure: Regenerated.
20462 * sysdeps/sparc/configure: Regenerated.
20463 * sysdeps/unix/sysv/linux/configure: Regenerated.
20464 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
20465 * sysdeps/x86_64/configure: Regenerated.
20466
20467 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
20468 defined. Don't check if MAP is NULL.
20469
20470 2012-10-09 Joseph Myers <joseph@codesourcery.com>
20471
20472 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
20473 (_G_stat64): Likewise.
20474 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
20475 (_G_stat64): Likewise.
20476 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
20477 instead of struct _G_stat64.
20478 * libio/fileops.c (mmap_remap_check): Likewise.
20479 (decide_maybe_mmap): Likewise.
20480 (_IO_new_file_seekoff): Likewise.
20481 (_IO_file_stat): Likewise.
20482 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
20483 _G_off64_t.
20484 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
20485 instead of struct _G_stat64.
20486 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20487
20488 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
20489
20490 [BZ #14602]
20491 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20492 Replace with ...
20493 (CHECK_EOL): New macro.
20494 (two_way_short_needle): Check beginning of haystack for EOL. Use
20495 CHECK_EOL.
20496 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20497 Replace with CHECK_EOL.
20498 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20499 Replace with CHECK_EOL.
20500
20501 2012-10-08 Joseph Myers <joseph@codesourcery.com>
20502
20503 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
20504 type-generic.
20505 * math/libm-test.inc: Update comment listing what functions and
20506 macros are tested.
20507 (finite_test): New function.
20508 (isinf_test): Likewise.
20509 (isnan_test): Likewise.
20510 (fpclassify_test): Test subnormal input.
20511 (isfinite_test): Likewise.
20512 (isnormal_test): Likewise.
20513 (main): Call the new functions.
20514
20515 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
20516
20517 [BZ #14660]
20518 * Makerules (%.dynsym): Force C locale when running
20519 $(OBJDUMP) --dynamic-syms.
20520
20521 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
20522
20523 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
20524 <stdint.h>.
20525
20526 2012-10-06 David S. Miller <davem@davemloft.net>
20527
20528 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
20529 upper 32-bits of the length value in %o2 since we use branch-on-register
20530 tests which consider the entire 64-bit register.
20531
20532 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
20533
20534 * string/test-strstr.c (check2): Add a test for page boundary.
20535
20536 2012-10-05 David S. Miller <davem@davemloft.net>
20537
20538 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
20539 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
20540 file.
20541 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20542 sysdep_routines.
20543 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20544 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
20545 and bzero when HWCAP_SPARC_CRYPTO is present.
20546
20547 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
20548
20549 [BZ #14602]
20550 * string/test-strstr.c (check2): New function.
20551 (test_main): Call check2.
20552
20553 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
20554 and bug-strchr1.
20555 * string/bug-strcasestr1.c (do_test): Moved to ...
20556 * string/test-strcasestr.c (check1): Here. New function.
20557 (do_one_test): Break out result checking code into ...
20558 (check_result): This. New function.
20559 (do_one_test): Call check_result.
20560 (test_main): Call check1.
20561 * string/bug-strchr1.c (do_test): Moved to ...
20562 * string/test-strchr.c (check1): Here. New function.
20563 (do_one_test): Break out result checking code into ...
20564 (check_result): This. New function.
20565 (do_one_test): Call check_result.
20566 (test_main): Call check1.
20567 * string/bug-strstr1.c (main): Moved to ...
20568 * string/test-strstr.c (check1): Here. New function.
20569 (do_one_test): Break out result checking code into ...
20570 (check_result): This. New function.
20571 (do_one_test): Call check_result.
20572 (test_main): Call check1.
20573 * string/bug-strcasestr1.c: Removed.
20574 * string/bug-strchr1.c: Likewise.
20575 * string/bug-strstr1.c: Likewise.
20576
20577 * elf/Makefile (dl-routines): Add hwcaps.
20578 * elf/dl-support.c (_dl_important_hwcaps): Removed.
20579 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
20580 (_dl_important_hwcaps): Moved to ...
20581 * elf/dl-hwcaps.c: Here. New file.
20582 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
20583
20584 [BZ #14557]
20585 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
20586 if IS_IN_rtld isn't defined.
20587
20588 * elf/dl-support.c (_dl_sysinfo_map): New.
20589 Include "get-dynamic-info.h" and "setup-vdso.h".
20590 (_dl_non_dynamic_init): Call setup_vdso.
20591 * elf/dynamic-link.h: Don't include <assert.h>.
20592 (elf_get_dynamic_info): Moved to ...
20593 * elf/get-dynamic-info.h: Here. New file.
20594 * elf/dynamic-link.h: Include "get-dynamic-info.h".
20595 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
20596 * elf/setup-vdso.h: Here. New file.
20597 * elf/rtld.c: Include "setup-vdso.h".
20598 (dl_main): Call setup_vdso.
20599
20600 2012-10-05 Joseph Myers <joseph@codesourcery.com>
20601
20602 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
20603 creal in comment listing functions tested. List finite, isinf,
20604 isnan, isless, islessequal, isgreater, isgreaterequal,
20605 islessgreater, isunordered, lgamma_r and pow10 as functions and
20606 macros not tested. Mention which functions not tested are aliases
20607 for other functions. Fix typo. Note that signs of NaNs are not
20608 tested.
20609
20610 * scripts/config.guess: Update from config.git.
20611 * scripts/config.sub: Likewise.
20612
20613 2012-10-04 Roland McGrath <roland@hack.frob.com>
20614
20615 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
20616 * misc/madvise.c (madvise): Renamed to __madvise.
20617 Make madvise a weak alias.
20618 * include/sys/mman.h: Declare __madvise.
20619 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
20620 * sysdeps/unix/syscalls.list
20621 (madvise): Make __madvise the strong name, and madvise a weak alias.
20622 * sysdeps/unix/sysv/linux/syscalls.list
20623 (madvise, mmap): Remove redundant entries.
20624 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
20625 * malloc/malloc.c (mtrim): Likewise.
20626 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
20627
20628 2012-10-03 Roland McGrath <roland@hack.frob.com>
20629
20630 * sysdeps/mach/hurd/dl-cache.c: File removed.
20631 * config.h.in (USE_LDCONFIG): New #undef.
20632 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
20633 * configure: Regenerated.
20634 * elf/Makefile (dl-routines): Add dl-cache only under
20635 [$(use-ldconfig) = yes].
20636 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
20637 cache on [USE_LDCONFIG].
20638 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
20639 [USE_LDCONFIG].
20640 * elf/rtld.c (dl_main): Likewise.
20641
20642 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
20643
20644 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
20645 _SC_LEVEL4_CACHE_LINESIZE.
20646
20647 2012-10-03 Roland McGrath <roland@hack.frob.com>
20648
20649 * sysdeps/unix/bsd/confstr.h: File removed.
20650
20651 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
20652
20653 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
20654 sys/sdt-config.h.
20655
20656 2012-10-02 Roland McGrath <roland@hack.frob.com>
20657
20658 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
20659 Make 'mapoff' field ElfW(Off) rather than off_t.
20660
20661 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
20662
20663 * nscd/Makefile: Remove nscd-cflags and all its users.
20664 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
20665 (CFLAGS-nonlib): Add compiler flags for nscd modules.
20666
20667 [BZ #10631]
20668 * malloc.c (malloc_printerr): Clarify error message.
20669
20670 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
20671
20672 [BZ #14648]
20673 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20674 Set bit_FMA_Usable if FMA is supported.
20675 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
20676 macro.
20677 (bit_FMA4_Usable): Updated.
20678 (index_FMA_Usable): New macro.
20679 (CPUID_FMA): Likewise
20680 (HAS_FMA): Defined with bit_FMA_Usable.
20681
20682 2012-10-01 Roland McGrath <roland@hack.frob.com>
20683
20684 * bits/types.h (__swblk_t): Type removed.
20685 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
20686 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
20687 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20688 (__SWBLK_T_TYPE): Likewise.
20689 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20690 (__SWBLK_T_TYPE): Likewise.
20691 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20692 (__SWBLK_T_TYPE): Likewise.
20693 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20694 (__SWBLK_T_TYPE): Likewise.
20695
20696 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
20697 Honza Horak <hhorak@redhat.com>
20698
20699 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
20700 (xdr_mapname): Use YPMAXMAP as maxsize.
20701 (xdr_peername): Use YPMAXPEER as maxsize.
20702 (xdr_keydat): Use YPAXRECORD as maxsize.
20703 (xdr_valdat): Use YPMAXRECORD as maxsize.
20704
20705 2012-10-01 Roland McGrath <roland@hack.frob.com>
20706
20707 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
20708
20709 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
20710 * csu/init-first.c: ... here.
20711 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
20712 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
20713 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
20714 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20715 * sysdeps/i386/init-first.c: File removed.
20716 * sysdeps/sh/init-first.c: File removed.
20717
20718 2012-10-01 Joseph Myers <joseph@codesourcery.com>
20719
20720 [BZ #14645]
20721 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
20722 if x * y might underflow to zero and z is zero.
20723 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20724 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20725 * math/libm-test.inc (min_subnorm_value): New variable.
20726 (fma_test): Add more tests.
20727 (fma_test_towardzero): Likewise.
20728 (fma_test_downward): Likewise
20729 (fma_test_upward): Likewise.
20730 (initialize): Set min_subnorm_value.
20731
20732 2012-09-29 Joseph Myers <joseph@codesourcery.com>
20733
20734 [BZ #14638]
20735 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
20736 0 + 0.
20737 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
20738 mode for addition resulting in exact zero.
20739 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
20740 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
20741 exact 0 + 0.
20742 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20743 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20744 * math/libm-test.inc (fma_test): Add more tests.
20745 (fma_test_towardzero): New function.
20746 (fma_test_downward): Likewise.
20747 (fma_test_upward): Likewise.
20748 (main): Call the new functions.
20749
20750 2012-09-28 David S. Miller <davem@davemloft.net>
20751
20752 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
20753
20754 2012-09-28 Roland McGrath <roland@hack.frob.com>
20755
20756 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
20757 instead of SIGALRM.
20758
20759 * sysdeps/gnu/_G_config.h: Moved to ...
20760 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
20761 * sysdeps/mach/hurd/_G_config.h: Moved to ...
20762 * sysdeps/generic/_G_config.h: ... here.
20763
20764 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
20765
20766 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
20767
20768 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
20769 Conditionalize target on [libnss_test1.so-version].
20770
20771 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
20772
20773 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
20774 (elfobjdir): Move out of conditionals.
20775
20776 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
20777 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
20778 (__nss_lookup_function): Conditionalize label remove_from_tree on
20779 [!DO_STATIC_NSS || SHARED], matching its only use.
20780
20781 2012-09-28 David S. Miller <davem@davemloft.net>
20782
20783 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
20784 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
20785 file.
20786 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20787 sysdep_routines.
20788 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20789 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
20790 when HWCAP_SPARC_CRYPTO is present.
20791
20792 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20793
20794 * io/tst-mknodat.c: Create a FIFO instead of a socket.
20795
20796 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
20797
20798 [BZ #6530]
20799 * stdio-common/vfprintf.c (process_string_arg): Revert
20800 2000-07-22 change.
20801
20802 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
20803
20804 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
20805 for testcase.
20806 * stdio-common/tst-sprintf.c: Include <locale.h>
20807 (main): Test sprintf's handling of incomplete multibyte
20808 characters.
20809
20810 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
20811
20812 * elf/dl-runtime.c (VERSYMIDX): Removed.
20813 * elf/dl-version.c (VERSYMIDX): Likewise.
20814 * elf/do-rel.h (VERSYMIDX): Likewise.
20815 (VALIDX): Likewise.
20816 * elf/dynamic-link.h (VERSYMIDX): Likewise.
20817 * elf/rtld.c (VALIDX): Likewise.
20818 (ADDRIDX): Likewise.
20819 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
20820 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
20821 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
20822 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
20823 (VALIDX): Likewise.
20824 (ADDRIDX): Likewise.
20825
20826 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20827
20828 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
20829
20830 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
20831
20832 [BZ #11438]
20833 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
20834 to global scope.
20835 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
20836 addresses are in the same scope as 192.0.2/24.
20837 * posix/gai.conf: Document new scope table defaults.
20838
20839 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20840
20841 [BZ #5298]
20842 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
20843 for ftell. Compute offsets from write pointers instead.
20844 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20845
20846 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20847
20848 [BZ #14543]
20849 * libio/Makefile (tests): New test case tst-fseek.
20850 * libio/tst-fseek.c: New test case to verify that fseek/ftell
20851 combination works in wide mode.
20852 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
20853 state when the external buffer state changes.
20854
20855 2012-09-27 David S. Miller <davem@davemloft.net>
20856
20857 [BZ #14376]
20858 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
20859 pass reloc->r_addend in as the 'high' argument to
20860 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
20861
20862 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20863
20864 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20865
20866 * rt/tst-aio2.c: Include <pthread.h>.
20867 * rt/tst-aio3.c: Likewise.
20868
20869 2012-09-27 Steve Ellcey <sellcey@mips.com>
20870
20871 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
20872
20873 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
20874
20875 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
20876 contents on [SHARED].
20877
20878 2012-09-26 Marek Polacek <polacek@redhat.com>
20879
20880 [BZ #14530]
20881 [BZ #13741]
20882 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
20883 for C++ and GCC <4.3 as well as for non GCC compilers.
20884
20885 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20886
20887 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20888
20889 2012-09-25 Roland McGrath <roland@hack.frob.com>
20890
20891 * Makefile.in (all, install): Declare with .PHONY.
20892 Reported by Michael Hope <michael.hope@linaro.org>.
20893
20894 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20895
20896 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
20897 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
20898 system header.
20899 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
20900 Likewise.
20901 (sydep_routines): Add the new and the internal functions.
20902 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
20903 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
20904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
20905 (GLIBC_2.17): Add the new function.
20906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20907 (GLIBC_2.17): Likewise.
20908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
20909 (GLIBC_2.17): Likewise.
20910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
20911 (GLIBC_2.17): Likewise.
20912 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
20913
20914 2012-09-25 Alan Modra <amodra@gmail.com>
20915
20916 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
20917 Add release barrier before setting once_control to say
20918 initialisation is done. Add hints on lwarx. Use macro in
20919 place of isync.
20920 (clear_once_control): Add release barrier.
20921
20922 2012-09-25 Joseph Myers <joseph@codesourcery.com>
20923
20924 [BZ #13629]
20925 * math/s_clog.c (__clog): Handle more values close to |z| = 1
20926 specially.
20927 * math/s_clog10.c (__clog10): Likewise.
20928 * math/s_clog10f.c (__clog10f): Likewise.
20929 * math/s_clog10l.c (__clog10l): Likewise.
20930 * math/s_clogf.c (__clogf): Likewise.
20931 * math/s_clogl.c (__clogl): Likewise.
20932 * math/Makefile (libm-calls): Add x2y2m1.
20933 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
20934 (__x2y2m1): Likewise.
20935 (__x2y2m1l): Likewise.
20936 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
20937 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
20938 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
20939 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20940 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
20941 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
20942 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
20943 * sysdeps/i386/fpu/libm-test-ulps: Update.
20944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20945
20946 [BZ #14621]
20947 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
20948 int as type of variable DEPTH.
20949 (glob): Use size_t instead of int as type of variables NEWCOUNT
20950 and OLD_PATHC.
20951
20952 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20953
20954 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20955 Add s_sincosf-sse2.
20956 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
20957 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
20958 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
20959 macros for using routine as __sincosf_ia32.
20960 Use macro for function declaration and weak_alias.
20961 * sysdeps/i386/fpu/libm-test-ulps: Update.
20962
20963 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
20964 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20965
20966 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
20967 subnormal argument.
20968 * math/s_cexpf.c (__cexpf): Likewise.
20969 * math/s_csinf.c (__csinf): Likewise.
20970 * math/s_csinhf.c (__csinhf): Likewise.
20971 * math/s_ctanf.c (__ctanf): Likewise.
20972 * math/s_ctanhf.c (__ctanhf): Likewise.
20973 * math/s_ccosh.c (__ccoshf): Likewise.
20974 * math/s_cexp.c (__cexpl): Likewise.
20975 * math/s_csin.c (__csin): Likewise.
20976 * math/s_csinh.c (__csinh): Likewise.
20977 * math/s_ctan.c (__ctan): Likewise.
20978 * math/s_ctanh.c (ctanh): Likewise.
20979 * math/s_ccoshl.c (__ccoshl): Likewise.
20980 * math/s_cexpl.c (__cexpl): Likewise.
20981 * math/s_csinl.c (__csinl): Likewise.
20982 * math/s_csinhl.c (__csinhl): Likewise.
20983 * math/s_ctanl.c (__ctanl): Likewise.
20984 * math/s_ctanhl.c (__ctanhl): Likewise.
20985
20986 2012-09-25 Joseph Myers <joseph@codesourcery.com>
20987
20988 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
20989 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
20990 (_IO_off_t): Define to __off_t, not _G_off_t.
20991 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
20992 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
20993 (_IO_wint_t): Define to wint_t, not _G_wint_t.
20994 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
20995 type of __dummy and __dummy2 fields.
20996 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
20997 (_G_ssize_t): Likewise.
20998 (_G_off_t): Likewise.
20999 (_G_pid_t): Likewise.
21000 (_G_uid_t): Likewise.
21001 (_G_wchar_t): Likewise.
21002 (_G_wint_t): Likewise.
21003 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
21004 (_G_ssize_t): Likewise.
21005 (_G_off_t): Likewise.
21006 (_G_pid_t): Likewise.
21007 (_G_uid_t): Likewise.
21008 (_G_wchar_t): Likewise.
21009 (_G_wint_t): Likewise.
21010 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
21011 (_G_ssize_t): Likewise.
21012 (_G_off_t): Likewise.
21013 (_G_pid_t): Likewise.
21014 (_G_uid_t): Likewise.
21015 (_G_wchar_t): Likewise.
21016 (_G_wint_t): Likewise.
21017
21018 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21019
21020 * malloc/arena.c: Include malloc-sysdep.h.
21021 (shrink_heap): Use check_may_shrink_heap to decide if madvise
21022 is sufficient to shrink the heap or an unmap is needed.
21023 * sysdeps/generic/malloc-sysdep.h: New file. Define
21024 new function check_may_shrink_heap.
21025 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
21026 new function check_may_shrink_heap.
21027
21028 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21029
21030 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
21031 comments.
21032
21033 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
21034
21035 * catgets/test-gencat.sh: Add "set -e".
21036 * elf/tst-pathopt.sh: Likewise.
21037 * grp/tst_fgetgrent.sh: Likewise.
21038 * iconvdata/run-iconv-test.sh: Likewise.
21039 * intl/tst-gettext.sh: Likewise.
21040 * intl/tst-gettext2.sh: Likewise.
21041 * intl/tst-gettext4.sh: Likewise.
21042 * intl/tst-gettext6.sh: Likewise.
21043 * intl/tst-translit.sh: Likewise.
21044 * io/ftwtest-sh: Likewise.
21045 * libio/test-freopen.sh: Likewise.
21046 * malloc/tst-mtrace.sh: Likewise.
21047 * posix/globtest.sh: Likewise.
21048 * posix/tst-getconf.sh: Likewise.
21049 * posix/wordexp-tst.sh: Likewise.
21050 * stdio-common/tst-printf.sh: Likewise.
21051 * stdio-common/tst-unbputc.sh: Likewise.
21052 * stdlib/tst-fmtmsg.sh: Likewise.
21053 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
21054 * catgets/Makefile: Do not specify -e option when running
21055 testsuite shell scripts.
21056 * elf/Makefile: Likewise.
21057 * grp/Makefile: Likewise.
21058 * iconvdata/Makefile: Likewise.
21059 * intl/Makefile: Likewise.
21060 * io/Makefile: Likewise.
21061 * libio/Makefile: Likewise.
21062 * malloc/Makefile: Likewise.
21063 * posix/Makefile: Likewise.
21064 * stdio-common/Makefile: Likewise.
21065 * stdlib/Makefile: Likewise.
21066 * sysdeps/x86_64/Makefile: Likewise.
21067
21068 * io/ftwtest-sh: Add copyright header.
21069 * posix/globtest.sh: Likewise.
21070 * posix/tst-getconf.sh: Likewise.
21071 * posix/wordexp-tst.sh: Likewise.
21072 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
21073
21074 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
21075
21076 [BZ #13679]
21077 * Makeconfig (+link): Defined as $(+link-static) if
21078 $(build-shared) isn't yes.
21079 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
21080 isn't yes.
21081 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
21082
21083 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
21084
21085 [BZ #14562]
21086 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
21087 new chunk size with MALLOC_ALIGN_MASK.
21088
21089 2012-09-24 Joseph Myers <joseph@codesourcery.com>
21090
21091 [BZ #5044]
21092 * stdio-common/printf_fphex.c: Include <stdbool.h> and
21093 <rounding-mode.h>.
21094 (__printf_fphex): Determine rounding using get_rounding_mode and
21095 round_away.
21096 * stdio-common/tst-printf-round.c (struct hex_test): New
21097 structure.
21098 (hex_tests): New variable.
21099 (test_hex_in_one_mode): New function.
21100 (do_test): Also run tests for hex float output.
21101
21102 2012-09-21 Joseph Myers <joseph@codesourcery.com>
21103
21104 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
21105 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
21106 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
21107 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
21108 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
21109 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
21110 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
21111 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
21112
21113 2012-09-20 Joseph Myers <joseph@codesourcery.com>
21114
21115 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
21116 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
21117 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
21118 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
21119
21120 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
21121
21122 [BZ #14579]
21123 * elf/rtld.c (dl_main): Limit the check for self loading to normal
21124 mode only.
21125 * elf/tst-rtld-load-self.sh: New test.
21126 * elf/Makefile: Run it.
21127
21128 2012-09-18 Joseph Myers <joseph@codesourcery.com>
21129
21130 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
21131 (tst-writev-ENV): Remove.
21132 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
21133
21134 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
21135
21136 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
21137
21138 2012-09-17 Joseph Myers <joseph@codesourcery.com>
21139
21140 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
21141 unconditional.
21142 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
21143 Likewise.
21144 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
21145 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
21146 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
21147 Likewise.
21148
21149 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
21150
21151 [BZ #14587]
21152 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
21153 * config.make.in (have-cpp-asm-debuginfo): Removed.
21154 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
21155 * configure: Regenerated.
21156
21157 2012-09-14 Joseph Myers <joseph@codesourcery.com>
21158
21159 [BZ #5044]
21160 * stdio-common/printf_fp.c: Include <stdbool.h> and
21161 <rounding-mode.h>.
21162 (___printf_fp): Determine rounding using get_rounding_mode and
21163 round_away.
21164 * stdio-common/tst-printf-round.c: New file.
21165 * stdio-common/Makefile (tests): Add tst-printf-round.
21166 (link-libm): New variable.
21167 ($(objpfx)tst-printf-round): Depend in $(link-libm).
21168
21169 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
21170
21171 [BZ #14576]
21172 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
21173 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
21174 Likewise.
21175 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
21176 Likewise.
21177
21178 2012-09-13 Joseph Myers <joseph@codesourcery.com>
21179
21180 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
21181 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
21182 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
21183 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
21184
21185 2012-09-12 Joseph Myers <joseph@codesourcery.com>
21186
21187 [BZ #14518]
21188 * include/rounding-mode.h: New file.
21189 * sysdeps/generic/get-rounding-mode.h: Likewise.
21190 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
21191 * stdlib/strtod_l.c: Include <rounding-mode.h>.
21192 (MAX_VALUE): New macro.
21193 (MIN_VALUE): Likewise.
21194 (overflow_value): New function.
21195 (underflow_value): Likewise.
21196 (round_and_return): Use overflow_value and underflow_value to
21197 determine return values in overflow and underflow cases. Use
21198 round_away to determine rounding depending on rounding mode.
21199 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
21200 determine return values in overflow and underflow cases.
21201 * stdlib/tst-strtod-round.c: Include <fenv.h>.
21202 (struct test_results): New structure.
21203 (struct test): Use struct test_results to store expected results
21204 for all rounding modes.
21205 (TEST): Include expected results for all rounding modes.
21206 (test_in_one_mode): New function.
21207 (do_test): Use test_in_one_mode to compute and check results.
21208 Check results for all rounding modes.
21209 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
21210 $(link-libm).
21211
21212 2012-12-09 Allan McRae <allan@archlinux.org>
21213
21214 * sysdeps/i386/fpu/libm-test-ulps: Update
21215
21216 2012-09-11 Joseph Myers <joseph@codesourcery.com>
21217
21218 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
21219 (_G_int32_t): Likewise.
21220 (_G_uint16_t): Likewise.
21221 (_G_uint32_t): Likewise.
21222 (_G_HAVE_BOOL): Likewise.
21223 (_G_HAVE_ATEXIT): Likewise.
21224 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
21225 (_G_HAVE_IO_FILE_OPEN): Likewise.
21226 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
21227 (_G_int32_t): Likewise.
21228 (_G_uint16_t): Likewise.
21229 (_G_uint32_t): Likewise.
21230 (_G_HAVE_BOOL): Likewise.
21231 (_G_HAVE_ATEXIT): Likewise.
21232 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
21233 (_G_HAVE_IO_FILE_OPEN): Likewise.
21234 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
21235 (_G_int32_t): Likewise.
21236 (_G_uint16_t): Likewise.
21237 (_G_uint32_t): Likewise.
21238 (_G_HAVE_BOOL): Likewise.
21239 (_G_HAVE_ATEXIT): Likewise.
21240 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
21241 (_G_HAVE_IO_FILE_OPEN): Likewise.
21242
21243 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
21244
21245 * csu/libc-tls.c: Update copyright years.
21246
21247 2012-09-10 Joseph Myers <joseph@codesourcery.com>
21248
21249 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
21250 [!_G_USING_THUNKS]: Remove conditional code.
21251 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
21252 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
21253
21254 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
21255 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
21256 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21257 (_G_VTABLE_LABEL_PREFIX): Likewise.
21258 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21259 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21260 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21261 (_G_VTABLE_LABEL_PREFIX): Likewise.
21262 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
21263 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21264 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21265 (_G_VTABLE_LABEL_PREFIX): Likewise.
21266 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
21267
21268 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
21269
21270 * libio/Makefile: Include ../Makeconfig before tests.
21271 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
21272 only if $(build-shared) is yes.
21273
21274 * iconv/gconv_db.c: Update copyright years.
21275
21276 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21277
21278 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
21279 unwind info if defined PIC. Fix special cases description.
21280 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
21281
21282 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
21283 DP_HI_MASK entry.
21284 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
21285
21286 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
21287
21288 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
21289
21290 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
21291 is NULL.
21292
21293 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
21294 (LDLIBS-tst-chk4): This.
21295 (LDFLAGS-tst-chk5): Renamed to ...
21296 (LDLIBS-tst-chk5): This.
21297 (LDFLAGS-tst-chk6): Renamed to ...
21298 (LDLIBS-tst-chk6): This.
21299 (LDFLAGS-tst-lfschk4): Renamed to ...
21300 (LDLIBS-tst-lfschk4): This.
21301 (LDFLAGS-tst-lfschk5): Renamed to ...
21302 (LDLIBS-tst-lfschk5): This.
21303 (LDFLAGS-tst-lfschk6): Renamed to ...
21304 (LDLIBS-tst-lfschk6): This.
21305
21306 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
21307 on $(common-objpfx)soversions.mk.
21308
21309 2012-09-07 Joseph Myers <joseph@codesourcery.com>
21310
21311 [BZ #10014]
21312 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
21313 example host name.
21314
21315 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21316
21317 * malloc/arena.c (arena_get_retry): New function that gets
21318 another arena for the caller to try its request on.
21319 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
21320 current arena cannot fulfill the request.
21321 (__libc_memalign): Likewise.
21322 (__libc_memalign): Likewise.
21323 (__libc_pvalloc): Likewise.
21324 (__libc_calloc): Likewise.
21325
21326 2012-09-05 John Tobey <john.tobey@gmail.com>
21327
21328 [BZ #13542]
21329 * manual/arith.texi (Operations on Complex): Fix description
21330 of carg branch cut.
21331
21332 2012-09-06 Joseph Myers <joseph@codesourcery.com>
21333
21334 [BZ #10014]
21335 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
21336 host name.
21337
21338 [BZ #10038]
21339 * manual/memory.texi (Memory): Make order of menu items match
21340 order of sections.
21341
21342 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21343
21344 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
21345 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
21346 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
21347
21348 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21349
21350 * csu/libc-tls.c (static_dtv): Renamed to ...
21351 (_dl_static_dtv): This. Make it global.
21352 (_dl_initial_dtv): Removed.
21353 (__libc_setup_tls): Updated.
21354 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
21355 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
21356 DL_INITIAL_DTV.
21357
21358 2012-09-06 Petr Machata <pmachata@redhat.com>
21359
21360 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
21361 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
21362 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
21363 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
21364
21365 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21366
21367 [BZ #14545]
21368 * csu/libc-tls.c (_dl_initial_dtv): New variable.
21369 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
21370 freeing dtv[-1].
21371
21372 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21373
21374 [BZ #14544]
21375 * Makeconfig (link-static-before-libc): Replace $(+prector)
21376 with $(+prectorT).
21377 (link-static-after-libc): Replace $(+postctor) with
21378 $(+postctorT).
21379 (link-bounded): Replace $(+prector)/$(+postctor) with
21380 $(+prectorT)/$(+postctorT).
21381 (+prectorT): New macro.
21382 (+postctorT): Likewise.
21383
21384 2012-09-06 Joseph Myers <joseph@codesourcery.com>
21385
21386 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
21387 (round_str): Handle values above the maximum for IBM long double
21388 as inexact.
21389 * stdlib/tst-strtod-round.c (tests): Regenerated.
21390
21391 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21392
21393 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
21394 assembler flag.
21395 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
21396 zarch_nohighgprs around the zarch optimized routines.
21397 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
21398 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
21399 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
21400 for zarch.
21401
21402 2012-09-05 David S. Miller <davem@davemloft.net>
21403
21404 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21405
21406 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
21407 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
21408 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
21409 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21410 entries.
21411
21412 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21413
21414 * malloc/arena.c: Fold copyright years.
21415 * malloc/mcheck.c, malloc/memusage.c: Likewise.
21416
21417 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21418
21419 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
21420
21421 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21422
21423 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
21424
21425 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21426
21427 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
21428 change internal state upon failure.
21429
21430 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21431
21432 * malloc/mcheck.c (mcheck_check_all): Fix typo.
21433 * malloc/memusage.c (mmap): Likewise.
21434 (mmap64, mremap): Likewise. Adjust name in comment.
21435
21436 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21437
21438 * libio/fileops.c: Fix typos in comments.
21439 * libio/oldfileops.c: Likewise.
21440 * libio/wfileops.c: Likewise.
21441
21442 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21443
21444 [BZ #1349]
21445 * malloc/Makefile (tests): Add tst-malloc-usable test case.
21446 (tst-malloc-usable-ENV): Set environment for test case.
21447 * malloc/hooks.c (malloc_check_get_size): New function to get
21448 requested size.
21449 * malloc/malloc.c (musable): Use malloc_check_get_size.
21450 * malloc/tst-malloc-usable.c: New test case.
21451
21452 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
21453
21454 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
21455
21456 2012-09-05 Allan McRae <allan@archlinux.org>
21457
21458 [BZ #13966]
21459 * configure.in (CXX_SYSINCLUDES): Use compiler output to
21460 determine header location.
21461 * configure: Regenerated.
21462
21463 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
21464
21465 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
21466 float format.
21467 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
21468 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
21469 format.
21470 (test): Regenerate.
21471
21472 2012-09-04 David S. Miller <davem@davemloft.net>
21473
21474 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
21475 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
21476 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
21477
21478 2012-09-04 Florian Weimer <fweimer@redhat.com>
21479
21480 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
21481 failures.
21482
21483 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
21484
21485 2012-09-04 Joseph Myers <joseph@codesourcery.com>
21486
21487 [BZ #9914]
21488 * libio/iogetdelim.c: Include <limits.h>.
21489 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
21490 + len + 1 would overflow.
21491
21492 2012-09-03 Andreas Jaeger <aj@suse.de>
21493
21494 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21495 * sysdeps/i386/fpu/libm-test-ulps: Update.
21496
21497 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21498
21499 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
21500 Add s_sinf-sse2, s_conf-sse2.
21501
21502 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
21503 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
21504 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
21505 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
21506
21507 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
21508 for using routine as __sinf_ia32.
21509 Use macro for function declaration and weak_alias.
21510 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
21511 for using routine as __cosf_ia32.
21512 Use macro for function declaration and weak_alias.
21513
21514 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
21515 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
21516
21517 * sysdeps/x86_64/fpu/s_sinf.S: New file.
21518 * sysdeps/x86_64/fpu/s_cosf.S: New file.
21519 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21520
21521 * math/libm-test.inc (cos_test): Add more test cases.
21522 (sin_test): Likewise.
21523 (sincos_test): Likewise.
21524
21525 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21526
21527 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
21528 (IFUNC_RESOLVE): Make pointers to the specialized implementations
21529 hidden.
21530 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21531
21532 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
21533
21534 [BZ #14538]
21535 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
21536 first element of the GOT.
21537 (elf_machine_load_address): Return the difference between
21538 the runtime address of _DYNAMIC and elf_machine_dynamic ().
21539
21540 2012-09-01 Allan McRae <allan@archlinux.org>
21541
21542 [BZ #13412]
21543 * configure.in (AWK): Require gawk version 3.0 or later.
21544 * configure: Regenerated.
21545
21546 2012-09-01 Joseph Myers <joseph@codesourcery.com>
21547
21548 * sysdeps/unix/sysv/linux/kernel-features.h
21549 (__ASSUME_POSIX_CPU_TIMERS): Remove.
21550 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21551 [__NR_clock_getres]: Make code unconditional.
21552 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
21553 (clock_getcpuclockid): Remove code left unreachable by removal of
21554 conditionals.
21555 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
21556 code unconditional.
21557 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21558 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21559 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
21560 Make code unconditional.
21561 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21562 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21563 * sysdeps/unix/sysv/linux/clock_settime.c
21564 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
21565 conditional code.
21566 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
21567 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21568
21569 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
21570
21571 [BZ #14476]
21572 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
21573 scripts/test-installation.pl.
21574
21575 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
21576 and $ld_so_version if it is set.
21577
21578 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21579
21580 [BZ #14516]
21581 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
21582 failure if reading from procfs failed.
21583 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
21584
21585 2012-08-27 Joseph Myers <joseph@codesourcery.com>
21586
21587 * sysdeps/unix/sysv/linux/kernel-features.h
21588 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
21589 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21590 Remove conditional code.
21591 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21592 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
21593 Remove conditional code.
21594 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21595 * sysdeps/unix/sysv/linux/i386/fxstat.c
21596 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21597 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21598 * sysdeps/unix/sysv/linux/i386/fxstatat.c
21599 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21600 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21601 * sysdeps/unix/sysv/linux/i386/lxstat.c
21602 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21603 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21604 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
21605 Remove conditional code.
21606 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21607 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21608 Remove conditional code.
21609 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21610 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
21611 <kernel-features.h>.
21612 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
21613 Remove.
21614 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
21615 Remove conditional code.
21616 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21617 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
21618 Remove conditional.
21619
21620 2012-08-27 Mike Frysinger <vapier@gentoo.org>
21621
21622 [BZ #5400]
21623 * NEWS: Add fixed bug number.
21624
21625 2012-08-27 Joseph Myers <joseph@codesourcery.com>
21626
21627 [BZ #14519]
21628 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
21629 underflowing exponent in case of negative sign.
21630 * stdlib/tst-strtod-round-data: Add more tests.
21631 * stdlib/tst-strtod-round.c (tests): Regenerated.
21632
21633 [BZ #3479]
21634 * stdlib/strtod_l.c (NDIG): Remove.
21635 (HEXNDIG): Likewise.
21636 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
21637 smallest representable value.
21638 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
21639 lie within an exact representation of 1/2 ulp of the result.
21640 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
21641 unconditionally.
21642 (TENS_P9_IDX): Define unconditionally.
21643 (TENS_P9_SIZE): Likewise.
21644 (TENS_P10_IDX): Likewise.
21645 (TENS_P10_SIZE): Likewise.
21646 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
21647 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
21648 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
21649 entries for 10^2^13 and 10^2^14.
21650 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
21651 (TENS_P13_IDX): Define.
21652 (TENS_P13_SIZE): Likewise.
21653 (TENS_P14_IDX): Likewise.
21654 (TENS_P14_SIZE): Likewise.
21655 (_fpioconst_pow10): Change array size to
21656 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
21657 unconditional.
21658 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
21659 1024]: Add entries for 10^2^13 and 10^2^14.
21660 [LAST_POW10 > _LAST_POW10]: Remove #error.
21661 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
21662 (_fpioconst_pow10): Change array size to
21663 FPIOCONST_POW10_ARRAY_SIZE.
21664 * stdlib/gen-fpioconst.c: New file.
21665 * stdlib/gen-tst-strtod-round.c: Likewise.
21666 * stdlib/tst-strtod-round-data: Likewise.
21667 * stdlib/tst-strtod-round.c: Likewise.
21668 * stdlib/Makefile (tests): Add tst-strtod-round.
21669
21670 [BZ #14459]
21671 * stdlib/strtod_l.c: Include <stdint.h>.
21672 (NDEBUG): Do not define.
21673 (round_and_return): Change EXPONENT parameter to type intmax_t.
21674 Rearrange calculations to avoid internal overflow possibilities.
21675 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
21676 Rearrange calculations to avoid internal overflow possibilities.
21677 Assert that number fits inside MPNSIZE limbs.
21678 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
21679 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
21680 calculations and add assertions to avoid internal overflow
21681 possibilities. Add casts to avoid signed/unsigned operations.
21682 * stdlib/tst-strtod-overflow.c: New file.
21683 * stdlib/Makefile (tests): Add tst-strtod-overflow.
21684
21685 2012-08-25 Marek Polacek <polacek@redhat.com>
21686
21687 * time/time.h: Fix some typos in comments.
21688
21689 2012-08-23 Roland McGrath <roland@hack.frob.com>
21690
21691 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
21692 * posix/tst-rfc3484-2.c: Likewise.
21693 * posix/tst-rfc3484-3.c: Likewise.
21694
21695 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
21696
21697 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
21698 (EF_ARM_ABI_FLOAT_HARD): Likewise.
21699
21700 2012-08-23 Joseph Myers <joseph@codesourcery.com>
21701
21702 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
21703 #include of fxstatat64.c.
21704
21705 2012-08-22 Roland McGrath <roland@hack.frob.com>
21706
21707 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
21708 * shadow/getspent_r.c: Likewise.
21709 * shadow/getspnam.c: Likewise.
21710 * shadow/getspnam_r.c: Likewise.
21711 * gshadow/getsgent.c: Likewise.
21712 * gshadow/getsgent_r.c: Likewise.
21713 * gshadow/getsgnam.c: Likewise.
21714 * gshadow/getsgnam_r.c: Likewise.
21715 * inet/getnetbyad.c: Likewise.
21716 * inet/getnetbyad_r.c: Likewise.
21717 * inet/getnetbynm.c: Likewise.
21718 * inet/getnetbynm_r.c: Likewise.
21719 * inet/getnetent.c: Likewise.
21720 * inet/getnetent_r.c: Likewise.
21721 * inet/getproto.c: Likewise.
21722 * inet/getproto_r.c: Likewise.
21723 * inet/getprtent.c: Likewise.
21724 * inet/getprtent_r.c: Likewise.
21725 * inet/getprtname.c: Likewise.
21726 * inet/getprtname_r.c: Likewise.
21727 * inet/getrpcbyname.c: Likewise.
21728 * inet/getrpcbyname_r.c: Likewise.
21729 * inet/getrpcbynumber.c: Likewise.
21730 * inet/getrpcbynumber_r.c: Likewise.
21731 * inet/getrpcent.c: Likewise.
21732 * inet/getrpcent_r.c: Likewise.
21733 * inet/getaliasent.c: Likewise.
21734 * inet/getaliasent_r.c: Likewise.
21735 * inet/getaliasname.c: Likewise.
21736 * inet/getaliasname_r.c: Likewise.
21737 * nscd/getgrgid_r.c: Likewise.
21738 * nscd/getgrnam_r.c: Likewise.
21739 * nscd/gethstbyad_r.c: Likewise.
21740 * nscd/gethstbynm3_r.c: Likewise.
21741 * nscd/getpwnam_r.c: Likewise.
21742 * nscd/getpwuid_r.c: Likewise.
21743 * nscd/getsrvbynm_r.c: Likewise.
21744 * nscd/getsrvbypt_r.c: Likewise.
21745 * nscd/gai.c: Likewise.
21746
21747 * configure.in (build_nscd): New substituted variable, set
21748 by --disable-build-nscd and defaults to $use_nscd.
21749 * configure: Regenerated.
21750 * config.make.in (build-nscd): New substituted variable.
21751 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
21752 Change conditional to require [$(build-nscd) = yes] as well.
21753 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
21754
21755 [BZ# 13696]
21756 * configure.in (use_nscd): New substituted variable, set by
21757 --disable-nscd. If enabled, define USE_NSCD.
21758 * configure: Regenerated.
21759 * config.h.in: Add USE_NSCD.
21760 * config.make.in (use-nscd): New substituted variable.
21761 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21762 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
21763 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
21764 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
21765 (CFLAGS-getgrnam_r.c): Likewise.
21766 (CFLAGS-initgroups.c): Likewise.
21767 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
21768 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
21769 Variables removed.
21770 * inet/getnetgrent_r.c
21771 (nscd_setnetgrent): New function, broken out of ...
21772 (setnetgrent): ... here. Call it.
21773 (innetgr): Conditionalize nscd bits on [USE_NSCD].
21774 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
21775 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
21776 * nscd/Makefile (routines, aux): Move definitions after include of
21777 Makeconfig. Conditionalize on [$(use-nscd) != no].
21778 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
21779 Conditionalize on [USE_NSCD].
21780 (is_nscd, nscd_init_cb): Likewise.
21781 (nss_load_library): Conditionalize init callback on [USE_NSCD].
21782 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
21783 * nss/nss_db/db-init.c: Likewise.
21784 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
21785 [USE_NSCD].
21786 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
21787 (make_request): Use it.
21788 (cache_valid_p): New function.
21789 (__check_pf): Use it.
21790 * NEWS: Add item for --disable-nscd.
21791
21792 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
21793
21794 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
21795 to support sed >= 4.2.1-20-ga9bf076.
21796 * configure: Regenerated.
21797
21798 2012-08-22 Roland McGrath <roland@hack.frob.com>
21799
21800 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
21801 Conditionalize whole body on [IREL].
21802
21803 2012-08-22 Jeff Law <law@redhat.com>
21804
21805 [BZ #14505]
21806 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
21807 if the family is PF_UNSPEC.
21808
21809 2012-08-22 Mike Frysinger <vapier@gentoo.org>
21810
21811 * Makerules (lib-version): Rename from V.
21812 (install-lib-nosubdir): Change V to lib-version.
21813
21814 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
21815
21816 [BZ #14252]
21817 * powerpc32/power6/wcschr.c: New file.
21818 * powerpc32/power6/wcscpy.c: New file.
21819 * powerpc32/power6/wcsrchr.c: New file.
21820 * powerpc64/power6/wcschr.c: New file.
21821 * powerpc64/power6/wcscpy.c: New file.
21822 * powerpc64/power6/wcsrchr.c: New file.
21823
21824 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21825
21826 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
21827 (two_way_short_needle): Use it.
21828 * string/strstr.c (AVAILABLE1_USES_J): Define.
21829 * string/strcasestr.c: Likewise.
21830
21831 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
21832 array references.
21833 * string/strcasestr.c (TOLOWER): Make side-effect safe.
21834
21835 [BZ #11607]
21836 * NEWS: Add an entry.
21837 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
21838 define their defaults.
21839 (two_way_short_needle): Detect end-of-string on-the-fly.
21840 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
21841 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
21842 * string/bug-strcasestr1.c: New test.
21843 * string/Makefile: Run it.
21844
21845 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21846
21847 [BZ #11607]
21848 * string/str-two-way.h (two_way_short_needle): Optimize matching of
21849 the first character.
21850
21851 2012-08-21 Roland McGrath <roland@hack.frob.com>
21852
21853 * csu/elf-init.c (__libc_csu_irel): Function removed.
21854 * csu/libc-start.c (apply_irel): New function.
21855 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
21856
21857 2012-08-21 Joseph Myers <joseph@codesourcery.com>
21858
21859 * sysdeps/unix/sysv/linux/kernel-features.h
21860 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
21861 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21862 <kernel-features.h>.
21863 [__NR_fadvise64_64]: Make code unconditional.
21864 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
21865 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21866 !__NR_fadvise64_64)]: Likewise.
21867 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21868 !__NR_fadvise64_64))]: Likewise.
21869 [__NR_fadvise64]: Make code unconditional.
21870 [!__NR_fadvise64]: Remove conditional code.
21871 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
21872 <kernel-features.h>.
21873 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21874 unconditional.
21875 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21876 conditional code.
21877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
21878 not include <kernel-features.h>.
21879 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21880 unconditional.
21881 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21882 conditional code.
21883 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
21884 include <kernel-features.h>.
21885 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21886 unconditional.
21887 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21888 conditional code.
21889
21890 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21891
21892 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
21893 slight instruction rearrangements per scrollpipe analysis.
21894 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21895
21896 2012-08-20 Roland McGrath <roland@hack.frob.com>
21897
21898 * manual/syslog.texi (syslog; vsyslog, closelog):
21899 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
21900 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
21901
21902 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
21903 DSOCAPS to match condition on defining it.
21904
21905 2012-08-20 Joseph Myers <joseph@codesourcery.com>
21906
21907 * sysdeps/unix/sysv/linux/kernel-features.h
21908 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
21909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
21910 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21911 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
21913 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21914 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
21916 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21917 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21918
21919 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
21920 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
21921
21922 * sysdeps/unix/sysv/linux/kernel-features.h
21923 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
21924 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
21925 unconditional.
21926 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21927 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
21928 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21929 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21930 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
21931 Make code unconditional.
21932 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21933 (__mmap64) [!__NR_mmap2]: Likewise.
21934 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
21935 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21936 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21937 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
21938 [__NR_mmap2]: Make code unconditional.
21939 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21940 (__mmap64) [!__NR_mmap2]: Likewise.
21941
21942 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21943
21944 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
21945
21946 2012-08-18 Andreas Jaeger <aj@suse.de>
21947
21948 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
21949
21950 2012-08-18 Mike Frysinger <vapier@gentoo.org>
21951
21952 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
21953 * include/unistd.h (__have_sock_cloexec): Likewise.
21954 (__have_pipe2): Likewise.
21955 (__have_dup3): Likewise.
21956
21957 2012-08-18 Mike Frysinger <vapier@gentoo.org>
21958
21959 [BZ #9685]
21960 * include/unistd.h (__have_pipe2): Change define into an extern int.
21961 (__have_dup3): Likewise.
21962 * socket/have_sock_cloexec.c: Include fcntl.h.
21963 (__have_pipe2): New variable.
21964 (__have_dup3): Likewise.
21965
21966 2012-08-17 Mike Frysinger <vapier@gentoo.org>
21967
21968 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
21969
21970 2012-08-17 Marek Polacek <polacek@redhat.com>
21971
21972 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
21973 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
21974
21975 2012-08-17 Roland McGrath <roland@hack.frob.com>
21976
21977 * configure.in: Add AC_SUBST for sysheaders.
21978 * configure: Regenerated.
21979 * config.make.in (sysheaders): New substituted variable.
21980
21981 * sysdeps/unix/mkfifo.c: Moved ...
21982 * sysdeps/posix/mkfifo.c: ... here.
21983 * sysdeps/unix/mkfifoat.c: Moved ...
21984 * sysdeps/posix/mkfifoat.c: ... here.
21985
21986 * sysdeps/unix/utime.c: Moved ...
21987 * sysdeps/posix/utime.c: ... here.
21988
21989 * sysdeps/unix/time.c: Moved ...
21990 * sysdeps/posix/time.c: ... here.
21991 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
21992 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
21993
21994 * sysdeps/unix/nice.c: Moved ...
21995 * sysdeps/posix/nice.c: ... here.
21996
21997 * sysdeps/unix/alarm.c: Moved ...
21998 * sysdeps/posix/alarm.c: ... here.
21999
22000 * intl/Makefile ($(codeset_mo)): Depend on the input file.
22001
22002 2012-08-17 Jeff Law <law@redhat.com>
22003
22004 * intl/Makefile (codeset_mo): New variable.
22005 ($(codeset_mo)): New target.
22006 (tst-codeset.out): Depend on that. Remove explicit rule.
22007 (tst-gettext3.out, tst-gettext5.out): Likewise.
22008 (LOCPATH-ENV, tst-codeset-ENV): New variables.
22009 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
22010 * intl/tst-codeset.sh: Remove.
22011 * intl/tst-gettext3.sh: Likewise.
22012 * intl/tst-gettext5.sh: Likewise.
22013
22014 2012-08-17 Roland McGrath <roland@hack.frob.com>
22015
22016 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
22017 * sysdeps/unix/syscalls.list: ... here.
22018
22019 * sysdeps/posix/getaddrinfo.c
22020 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
22021 (gaiconf_init, gaiconf_reload): Use them.
22022 [!_STATBUF_ST_NSEC]
22023 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
22024 Define using time_t rather than struct timespec.
22025
22026 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
22027 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
22028 Macros removed.
22029 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
22030 [!NO_THREADS].
22031 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
22032 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
22033 Likewise.
22034
22035 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
22036 __libc_cleanup_push argument.
22037
22038 * bits/param.h: New file.
22039 * misc/sys/param.h: New file.
22040 * include/sys/param.h: New file.
22041 * misc/Makefile (headers): Add bits/param.h.
22042 * sysdeps/generic/sys/param.h: File removed.
22043 * sysdeps/unix/sysv/linux/bits/param.h: New file.
22044 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
22045 * sysdeps/mach/hurd/bits/param.h: New file.
22046 * sysdeps/mach/hurd/sys/param.h: File removed.
22047
22048 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
22049 last change.
22050
22051 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
22052 [_IO_MTSAFE_IO].
22053 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
22054 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
22055 New macros.
22056
22057 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
22058 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
22059 rather than -D_IO_MTSAFE_IO conditionally.
22060 * stdio-common/Makefile (CPPFLAGS): Likewise.
22061 * wcsmbs/Makefile (CPPFLAGS): Likewise.
22062 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
22063 Use $(libio-mtsafe).
22064 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
22065 of -D_IO_MTSAFE_IO.
22066 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
22067 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
22068 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
22069 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
22070 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
22071 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
22072 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
22073 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
22074 (CFLAGS-fread_u_chk.c): Likewise.
22075 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
22076 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
22077 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
22078 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
22079 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
22080 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
22081 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
22082 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
22083 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
22084
22085 * libio/Makefile: Test [$(libc-reentrant) = yes]
22086 instead of [$(filter %REENTRANT, $(defines)) nonempty].
22087
22088 * Makeconfig
22089 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
22090 * sysdeps/pthread/configure: File removed.
22091 * sysdeps/pthread/Makeconfig: New file.
22092 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
22093 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
22094
22095 2012-08-16 Gary Benson <gbenson@redhat.com>
22096
22097 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
22098 unmapping the first object in a namespace.
22099
22100 2012-08-16 Roland McGrath <roland@hack.frob.com>
22101
22102 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
22103 (__internal_setnetgrent): ... this. Add internal_function to
22104 definition. Add libc_hidden_def.
22105 (setnetgrent): Update caller.
22106 (internal_endnetgrent): Renamed to ...
22107 (__internal_endnetgrent): ... this. Add internal_function to
22108 definition. Add libc_hidden_def.
22109 (endnetgrent): Update caller.
22110 (internal_getnetgrent_r): Renamed to ...
22111 (__internal_getnetgrent_r): ... this. Add internal_function to
22112 definition. Add libc_hidden_def.
22113 (__getnetgrent_r): Update caller.
22114 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
22115
22116 2012-08-16 Joseph Myers <joseph@codesourcery.com>
22117
22118 * stdlib/longlong.h: Update from GCC.
22119
22120 2012-08-16 Roland McGrath <roland@hack.frob.com>
22121
22122 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
22123 on _QL, which is set by umul_ppmm but never used.
22124 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
22125 variables, which are set by GMP macros but never used.
22126 * stdio-common/_itowa.c (_itowa): Likewise.
22127 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
22128 * stdlib/mod_1.c (mpn_mod_1): Likewise.
22129
22130 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
22131
22132 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
22133 struct La_sh_regs is not constant.
22134 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
22135 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
22136 and struct La_sparc64_regs are not constant.
22137
22138 2012-08-16 Joseph Myers <joseph@codesourcery.com>
22139
22140 * sysdeps/unix/sysv/linux/kernel-features.h
22141 (__ASSUME_POSIX_TIMERS): Remove.
22142 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22143 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22144 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
22145 Make code unconditional.
22146 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22147 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
22148 Make code unconditional.
22149 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22150 * sysdeps/unix/sysv/linux/clock_nanosleep.c
22151 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
22152 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22153 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
22154 Make code unconditional.
22155 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22156 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
22157 (__libc_missing_posix_timers): Remove.
22158
22159 2012-08-15 Roland McGrath <roland@hack.frob.com>
22160
22161 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
22162 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
22163
22164 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
22165
22166 * elf/dl-sym.c: Include <stdlib.h>.
22167
22168 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
22169 constants, which avoids warnings in 32-bit builds.
22170
22171 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
22172 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
22173
22174 * misc/lseek.c: File moved to ...
22175 * io/lseek.c: ... here.
22176
22177 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
22178
22179 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
22180 shifting LEN more than 31 bits at once.
22181
22182 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22183
22184 [BZ #14195]
22185 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
22186 segmentation fault for a case of two empty input strings.
22187 * string/test-strncasecmp.c (check1): Renamed to...
22188 (bz12205): ...this.
22189 (bz14195): Add new testcase for two empty input strings and N > 0.
22190 (test_main): Call new testcase, adapt for renamed function.
22191
22192 2012-08-15 Andreas Jaeger <aj@suse.de>
22193
22194 [BZ #14090]
22195 * crypt/md5test2.c: New test, based on test supplied by Serge
22196 Belyshev <belyshev@depni.sinp.msu.ru>.
22197 * crypt/Makefile (xtests): Add md5test-giant..
22198 * crypt/Makefile ($(objpfx)md5test-giant): Add.
22199
22200 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
22201
22202 [BZ #14090]
22203 * crypt/md5.c (md5_process_block): Don't assume the buffer
22204 length is less than 2**32.
22205 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
22206 length is less than 2**64.
22207
22208 2012-08-15 Roland McGrath <roland@hack.frob.com>
22209
22210 * string/str-two-way.h: Include <sys/param.h>.
22211 (MAX): Macro removed.
22212
22213 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
22214 Move #define and #undef of memmove to just before and after
22215 including <string.h>.
22216
22217 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
22218 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
22219 and after including <string.h>. Move declarations of
22220 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
22221 to before #include "string/memmove.c".
22222
22223 * include/dirent.h: Declare __getdirentries.
22224
22225 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
22226 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
22227
22228 2012-08-14 Mike Frysinger <vapier@gentoo.org>
22229
22230 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
22231 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
22232 * sysdeps/i386/configure: Regenerated.
22233 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
22234 STABS_CURRENT_FILE, and STABS_FUN.
22235 (END): Remove call to STABS_FUN_END.
22236 (STABS_CURRENT_FILE1): Delete.
22237 (STABS_CURRENT_FILE): Likewise.
22238 (STABS_FUN): Likewise.
22239 (STABS_FUN_END): Likewise.
22240 (STABS_FUN2): Likewise.
22241 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
22242 * sysdeps/x86_64/configure: Regenerated.
22243
22244 2012-08-14 Roland McGrath <roland@hack.frob.com>
22245
22246 * elf/dl-open.c: Include <atomic.h>.
22247 * elf/dl-lookup.c: Likewise.
22248
22249 2012-08-14 Joseph Myers <joseph@codesourcery.com>
22250
22251 * sysdeps/unix/sysv/linux/kernel-features.h
22252 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
22253 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
22254 unconditionally.
22255 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
22256 unconditionally.
22257 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
22258 condition on __ASSUME_CLONE_THREAD_FLAGS.
22259
22260 2012-08-14 Andreas Jaeger <aj@suse.de>
22261
22262 * sysdeps/i386/fpu/libm-test-ulps: Update.
22263
22264 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
22265
22266 * include/atomic.h (atomic_exchange_and_add): Split into ...
22267 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
22268 New atomic macros.
22269
22270 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
22271
22272 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22273
22274 2012-08-13 Jeff Law <law@redhat.com>
22275
22276 * manual/stdio.texi (snprintf): Clarify handling of the trailing
22277 null byte in the output string.
22278
22279 2012-08-10 Joseph Myers <joseph@codesourcery.com>
22280
22281 * sysdeps/unix/sysv/linux/kernel-features.h
22282 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
22283 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
22284 (__ASSUME_ARG_MAX_STACK_BASED): Define.
22285 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
22286 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
22287 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
22288 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
22289
22290 2012-08-09 Jeff Law <law@redhat.com>
22291
22292 [BZ #13939]
22293 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
22294 When avoid_arena is set, don't retry in the that arena. Pick the
22295 next one, whatever it might be.
22296 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
22297 (arena_lock): Pass in new parameter to arena_get2.
22298 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
22299 arena_get2.
22300 (__libc_malloc): Unify retrying after main arena failure with
22301 __libc_memalign version.
22302 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
22303
22304 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
22305
22306 [BZ #14166]
22307 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
22308 to __redirect_strstr.
22309 (__strstr_sse42): Use typeof __redirect_strstr.
22310 (__strstr_ia32): Likewise.
22311 (__libc_strstr): New prototype.
22312 (strstr): Renamed to ...
22313 (__libc_strstr): This.
22314 (strstr): New strong alias of __libc_strstr.
22315 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22316 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
22317 __redirect_time.
22318 Include <time.h>.
22319 (__libc_time): New prototype.
22320 (time_ifunc): Replace time with __libc_time.
22321 (time): New strong alias and hidden definition of __libc_time.
22322 (__GI_time): Remove strong alias.
22323 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
22324 Include <stddef.h>.
22325 (memmove): Redefined to __redirect_memmove.
22326 (__memmove_sse2): Use typeof __redirect_memmove.
22327 (__memmove_ssse3): Likewise.
22328 (__memmove_ssse3_back): Likewise.
22329 (__libc_memmove): New prototype.
22330 (memmove): Renamed to ...
22331 (__libc_memmove): This.
22332 (memmove): New strong alias of __libc_memmove.
22333
22334 2012-08-08 Mark Salter <msalter@redhat.com>
22335
22336 * elf/elf.h
22337 (R_MN10300_TLS_GD): Define.
22338 (R_MN10300_TLS_LD): Likewise.
22339 (R_MN10300_TLS_LDO): Likewise.
22340 (R_MN10300_TLS_GOTIE): Likewise.
22341 (R_MN10300_TLS_IE): Likewise.
22342 (R_MN10300_TLS_LE): Likewise.
22343 (R_MN10300_TLS_DTPMOD): Likewise.
22344 (R_MN10300_TLS_DTPOFF): Likewise.
22345 (R_MN10300_TLS_TPOFF): Likewise.
22346 (R_MN10300_SYM_DIFF): Likewise.
22347 (R_MN10300_ALIGN): Likewise.
22348 (R_MN10300_NUM): Update.
22349
22350 2012-08-08 Joseph Myers <joseph@codesourcery.com>
22351
22352 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
22353 Remove.
22354
22355 2012-08-08 Roland McGrath <roland@hack.frob.com>
22356
22357 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
22358
22359 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
22360 sysdeps/unix -> sysdeps/posix move.
22361 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22362
22363 2012-08-07 Allan McRae <allan@archlinux.org>
22364
22365 [BZ #14303]
22366 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
22367 (SUNOS_CPP): Likewise.
22368 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
22369 not found.
22370 (open_input): Call CPP using execvp.
22371
22372 2012-08-07 Joseph Myers <joseph@codesourcery.com>
22373
22374 * sysdeps/unix/sysv/linux/kernel-features.h
22375 (__ASSUME_PROT_GROWSUPDOWN): Remove.
22376 (__ASSUME_NO_CLONE_DETACHED): Likewise.
22377 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
22378 (__ASSUME_WAITID_SYSCALL): Likewise.
22379 * sysdeps/unix/sysv/linux/dl-execstack.c
22380 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
22381 code unconditional.
22382 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
22383 conditional code.
22384 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
22385 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
22386 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
22387 code.
22388 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
22389 unconditional.
22390 [__ASSUME_WAITID_SYSCALL]: Likewise.
22391 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
22392
22393 2012-08-07 Roland McGrath <roland@hack.frob.com>
22394
22395 * sysdeps/unix/closedir.c: Renamed to ...
22396 * sysdeps/posix/closedir.c: ... here.
22397 * sysdeps/unix/dirfd.c: Renamed to ...
22398 * sysdeps/posix/dirfd.c: ... here.
22399 * sysdeps/unix/dirstream.h: Renamed to ...
22400 * sysdeps/posix/dirstream.h: ... here.
22401 * sysdeps/unix/fdopendir.c: Renamed to ...
22402 * sysdeps/posix/fdopendir.c: ... here.
22403 * sysdeps/unix/opendir.c: Renamed to ...
22404 * sysdeps/posix/opendir.c: ... here.
22405 * sysdeps/unix/readdir.c: Renamed to ...
22406 * sysdeps/posix/readdir.c: ... here.
22407 * sysdeps/unix/readdir_r.c: Renamed to ...
22408 * sysdeps/posix/readdir_r.c: ... here.
22409 * sysdeps/unix/rewinddir.c: Renamed to ...
22410 * sysdeps/posix/rewinddir.c: ... here.
22411 * sysdeps/unix/seekdir.c: Renamed to ...
22412 * sysdeps/posix/seekdir.c: ... here.
22413 * sysdeps/unix/telldir.c: Renamed to ...
22414 * sysdeps/posix/telldir.c: ... here.
22415 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
22416 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
22417 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
22418 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
22419
22420 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
22421 * bits/fcntl.h: ... here.
22422
22423 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
22424 not 0.
22425 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
22426 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
22427 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
22428 (struct flock): Move l_start, l_len to the beginning.
22429 Use __pid_t for l_pid.
22430 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
22431 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
22432 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
22433 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
22434 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
22435 [__USE_LARGEFILE64] (struct flock64): New type.
22436 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
22437
22438 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
22439 * bits/dirent.h: ... here.
22440
22441 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
22442 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
22443
22444 2012-08-07 Joseph Myers <joseph@codesourcery.com>
22445
22446 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22447 Change from 2.6.0 to 2.6.16.
22448 * sysdeps/unix/sysv/linux/configure: Regenerated.
22449 * sysdeps/unix/sysv/linux/kernel-features.h
22450 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
22451 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
22452 version.
22453 (__ASSUME_UTIMES): Likewise.
22454 (__ASSUME_CLONE_STOPPED): Remove.
22455 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
22456 architectures, not kernel version.
22457 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
22458 (__ASSUME_NO_CLONE_DETACHED): Likewise.
22459 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
22460 (__ASSUME_WAITID_SYSCALL): Likewise.
22461 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
22462 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
22463 * README: State 2.6.16 as minimum Linux kernel version. Do not
22464 refer to older versions.
22465
22466 2012-08-06 Roland McGrath <roland@hack.frob.com>
22467
22468 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
22469 Define alphasort64 as an alias.
22470 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
22471 Define versionsort64 as an alias.
22472 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
22473 Define scandir64 as an alias.
22474 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
22475 Define scandirat64 as an alias.
22476 * dirent/alphasort64.c (alphasort64):
22477 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
22478 * dirent/versionsort64.c: Likewise.
22479 * dirent/scandir64.c: Likewise.
22480 * dirent/scandirat64.c: Likewise.
22481 * sysdeps/wordsize-64/alphasort.c: File removed.
22482 * sysdeps/wordsize-64/alphasort64.c: File removed.
22483 * sysdeps/wordsize-64/scandir.c: File removed.
22484 * sysdeps/wordsize-64/scandir64.c: File removed.
22485 * sysdeps/wordsize-64/scandirat.c: File removed.
22486 * sysdeps/wordsize-64/scandirat64.c: File removed.
22487 * sysdeps/wordsize-64/versionsort.c: File removed.
22488 * sysdeps/wordsize-64/versionsort64.c: File removed.
22489 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
22490 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
22491 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
22492 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
22493 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
22494 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
22495 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
22496 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
22497
22498 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
22499 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22500 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
22501 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22502 [defined __arch64__ || defined __sparcv9]
22503 (__INO_T_MATCHES_INO64_T): New macro.
22504 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22505 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
22506 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
22507 * sysdeps/unix/sysv/linux/bits/dirent.h
22508 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
22509 (_DIRENT_MATCHES_DIRENT64): New macro.
22510
22511 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
22512 Define lockf64 as an alias.
22513 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
22514 Define fseeko64 as an alias.
22515 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
22516 Define ftello64 as an alias.
22517 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
22518 Define _IO_fgetpos64 and fgetpos64 as aliases.
22519 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
22520 Define _IO_fsetpos64 and fsetpos64 as aliases.
22521 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
22522 Conditionalize body on this.
22523 * libio/fseeko64.c: Likewise.
22524 * libio/ftello64.c: Likewise.
22525 * libio/iofgetpos64.c: Likewise.
22526 * libio/iofsetpos64.c: Likewise.
22527 * sysdeps/wordsize-64/lockf.c: File removed.
22528 * sysdeps/wordsize-64/lockf64.c: File removed.
22529 * sysdeps/wordsize-64/fseeko.c: File removed.
22530 * sysdeps/wordsize-64/fseeko64.c: File removed.
22531 * sysdeps/wordsize-64/ftello.c: File removed.
22532 * sysdeps/wordsize-64/ftello64.c: File removed.
22533 * sysdeps/wordsize-64/iofgetpos.c: File removed.
22534 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
22535 * sysdeps/wordsize-64/iofsetpos.c: File removed.
22536 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
22537 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
22538 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
22539 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
22540 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
22541 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
22542 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
22543 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
22544 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
22545 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
22546 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
22547
22548 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22549 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22550 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
22551 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22552 [defined __arch64__ || defined __sparcv9]
22553 (__OFF_T_MATCHES_OFF64_T): New macro.
22554 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22555 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22556 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22557 (__OFF_T_MATCHES_OFF64_T): New macro.
22558
22559 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
22560
22561 * stdlib/secure-getenv.c (__secure_getenv): Replace
22562 GLIBC_2_16 with GLIBC_2_17.
22563
22564 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
22565
22566 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
22567 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22568
22569 2012-08-03 David S. Miller <davem@davemloft.net>
22570
22571 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22572
22573 2012-08-03 Joseph Myers <joseph@codesourcery.com>
22574
22575 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
22576 Remove.
22577 (__ASSUME_CORRECT_SI_PID): Likewise.
22578 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
22579 (__ASSUME_TMPFS_NAME): Likewise.
22580 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
22581 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
22582 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
22583 (HAVE_AUX_SECURE): Make definition unconditional.
22584 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
22585 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
22586
22587 2012-08-03 Roland McGrath <roland@hack.frob.com>
22588
22589 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
22590 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
22591 * sysdeps/mach/hurd/eloop-threshold.h: New file.
22592 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22593 __eloop_threshold instead of SYMLOOP_MAX.
22594
22595 * sysdeps/generic/eloop-threshold.h: New file.
22596 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
22597 of MAXSYMLINKS.
22598 * elf/chroot_canon.c (chroot_canon): Likewise.
22599
22600 2012-08-03 Joseph Myers <joseph@codesourcery.com>
22601
22602 [BZ #13717]
22603 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22604 Change to 2.6.0 everywhere.
22605 * sysdeps/unix/sysv/linux/configure: Regenerated.
22606 * sysdeps/unix/sysv/linux/kernel-features.h
22607 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
22608 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
22609 kernel versions.
22610 (__ASSUME_POSIX_TIMERS): Define unconditionally.
22611 (__ASSUME_FUTEX_REQUEUE): Remove.
22612 (__ASSUME_STATFS64): Define unconditionally.
22613 (__ASSUME_AT_SECURE): Likewise.
22614 (__ASSUME_CORRECT_SI_PID): Likewise.
22615 (__ASSUME_TGKILL): Define without depending on kernel version for
22616 i386.
22617 (__ASSUME_UTIMES): Likewise.
22618 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
22619 kernel version.
22620 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
22621 (__ASSUME_TMPFS_NAME): Likewise.
22622 * README: Update reference to Linux kernel versions.
22623
22624 2012-08-02 Marek Polacek <polacek@redhat.com>
22625
22626 [BZ# 14150]
22627 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
22628 libc_cv_asm_type_prefix with %.
22629 * configure: Regenerated.
22630 * include/libc-symbols.h: Remove comment about
22631 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
22632 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
22633 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
22634 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
22635 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
22636 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
22637 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
22638 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
22639 * elf/tst-unique2mod1.c: Likewise.
22640 * elf/tst-unique1mod2.c: Likewise.
22641 * elf/tst-unique1mod1.c: Likewise.
22642 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
22643 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
22644 Replace ASM_TYPE_DIRECTIVE with .type.
22645 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22646 * sysdeps/i386/sysdep.h: Likewise.
22647 * sysdeps/x86_64/sysdep.h: Likewise.
22648 * sysdeps/sh/sysdep.h: Likewise.
22649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22650 Do not define ASM_TYPE_DIRECTIVE.
22651 * sysdeps/powerpc/sysdep.h: Likewise.
22652 * sysdeps/powerpc/powerpc32/sysdep.h:
22653 Replace ASM_TYPE_DIRECTIVE with .type.
22654 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22655 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22656 * sysdeps/i386/fpu/e_powf.S: Likewise.
22657 * sysdeps/i386/fpu/e_expl.S: Likewise.
22658 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22659 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22660 * sysdeps/i386/fpu/e_pow.S: Likewise.
22661 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22662 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22663 * sysdeps/i386/fpu/s_expm1.S: Likewise.
22664 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22665 * sysdeps/i386/fpu/e_log2.S: Likewise.
22666 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22667 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22668 * sysdeps/i386/fpu/e_powl.S: Likewise.
22669 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22670 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22671 * sysdeps/i386/fpu/e_logl.S: Likewise.
22672 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22673 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22674 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22675 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22676 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22677 * sysdeps/i386/fpu/e_log.S: Likewise.
22678 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22679 * sysdeps/i386/fpu/e_logf.S: Likewise.
22680 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22681 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22682 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22683 * sysdeps/i386/fpu/e_log10.S: Likewise.
22684 * sysdeps/i386/fpu/s_frexp.S: Likewise.
22685 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22686 * sysdeps/i386/fpu/s_asinh.S: Likewise.
22687 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22688 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22689 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
22690 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22691 * sysdeps/i386/i686/strtok.S: Likewise.
22692 * sysdeps/i386/i386-mcount.S: Likewise.
22693 * sysdeps/i386/strtok.S: Likewise.
22694 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
22695 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22696 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22697 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22698 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22699 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22700 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22701 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22702 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22703 * sysdeps/x86_64/_mcount.S: Likewise.
22704 * sysdeps/x86_64/strtok.S: Likewise.
22705 * sysdeps/sh/_mcount.S: Likewise.
22706
22707 2012-08-01 Roland McGrath <roland@hack.frob.com>
22708
22709 * libio/iofopen.c: Include <fcntl.h>.
22710 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
22711 (_IO_fopen64, fopen64): Define as aliases.
22712 * libio/iofopen64.c: Include <fcntl.h>.
22713 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
22714 Conditionalize body on this.
22715 * sysdeps/wordsize-64/iofopen.c: File removed.
22716 * sysdeps/wordsize-64/iofopen64.c: File removed.
22717
22718 2012-08-01 Marek Polacek <polacek@redhat.com>
22719
22720 * libc/Makeconfig: Use elf in place of binfmt-subdir.
22721 Use dlfcn directly instead of a variable.
22722 (binfmt-subdir): Do not define.
22723 (dlfcn): Likewise.
22724
22725 2012-08-01 Joseph Myers <joseph@codesourcery.com>
22726
22727 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
22728 Remove all definitions.
22729 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
22730 <kernel-features.h>.
22731 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22732 (miss_F_GETOWN_EX): Remove all definitions.
22733 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
22734 macro definition.
22735 [!__ASSUME_FCNTL64]: Remove conditional code.
22736 [__ASSUME_FCNTL64]: Make code unconditional.
22737 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
22738 <kernel-features.h>.
22739 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22740 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
22741 (lockf64) [__NR_fcntl64]: Make code unconditional.
22742 (lockf64) [__ASSUME_FCNTL64]: Likewise.
22743
22744 * sysdeps/unix/sysv/linux/kernel-features.h
22745 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
22746 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
22747 Make code unconditional.
22748 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22749 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
22751 [__NR_vfork]: Make code unconditional.
22752 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22753 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
22755 [__NR_vfork]: Make code unconditional.
22756 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22757 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22758
22759 2012-08-01 Roland McGrath <roland@hack.frob.com>
22760
22761 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
22762 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
22763
22764 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22765 Define mkstemp64 as an alias.
22766 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22767 Define mkstemps64 as an alias.
22768 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22769 Define mkostemp64 as an alias.
22770 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22771 Define mkostemps64 as an alias.
22772 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
22773 Conditionalize body on this.
22774 * misc/mkostemp64.c: Likewise.
22775 * misc/mkostemps64.c: Likewise.
22776 * misc/mkstemps64.c: Likewise.
22777 * sysdeps/wordsize-64/mkstemp64.c: File removed.
22778 * sysdeps/wordsize-64/mkostemp64.c: File removed.
22779 * sysdeps/wordsize-64/mkostemp.c: File removed.
22780 * sysdeps/wordsize-64/mkstemp.c: File removed.
22781 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
22782 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
22783 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
22784 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
22785
22786 [BZ #14138]
22787 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
22788 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
22789 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
22790 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
22791
22792 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
22793 compat_symbol macros from <shlib-compat.h> rather than the underlying
22794 default_symbol_version and symbol_version macros, so that DEFAULT
22795 lines in shlib-versions are respected.
22796 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
22797
22798 2012-08-01 Florian Weimer <fweimer@redhat.com>
22799
22800 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
22801 Declare with warn_unused_result.
22802 (setgid, setregid, setegid, setresgid): Likewise.
22803 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
22804 Likewise.
22805 * WUR-REPORT: Remove set*id functions.
22806
22807 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
22808
22809 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
22810
22811 2012-07-31 Roland McGrath <roland@hack.frob.com>
22812
22813 [BZ #10191]
22814 * include/sys/socket.h (__libc_accept, __libc_accept4):
22815 Add attribute_hidden.
22816 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
22817
22818 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
22819 use of PTR_MANGLE.
22820 * inet/getnetgrent_r.c (setup): Likewise.
22821
22822 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
22823
22824 2012-07-31 David S. Miller <davem@davemloft.net>
22825
22826 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22827
22828 2012-07-31 Joseph Myers <joseph@codesourcery.com>
22829
22830 [BZ #13629]
22831 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
22832 value between 1.0 and 2.0 and smaller part has absolute value less
22833 than 1.0.
22834 * math/s_clog10.c (__clog10): Likewise.
22835 * math/s_clog10f.c (__clog10f): Likewise.
22836 * math/s_clog10l.c (__clog10l): Likewise.
22837 * math/s_clogf.c (__clogf): Likewise.
22838 * math/s_clogl.c (__clogl): Likewise.
22839 * math/libm-test.inc (clog_test): Add more tests.
22840 (clog10_test): Likewise.
22841 * sysdeps/i386/fpu/libm-test-ulps: Update.
22842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22843
22844 2012-07-31 Florian Weimer <fweimer@redhat.com>
22845
22846 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
22847 Exit with zero in case no suitable GID is found, and write a
22848 message to standard error.
22849
22850 2012-07-30 Roland McGrath <roland@hack.frob.com>
22851
22852 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
22853 rather than to 1.
22854 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
22855 (MAXPATHLEN): Removed.
22856 (NOGROUP, NODEV): New macros.
22857 (setbit, clrbit, isset, isclr): New macros.
22858 (howmany, roundup, powerof2): New macros.
22859 (DEV_BSIZE): New macro.
22860
22861 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
22862 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
22863
22864 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
22865 definition on [!__NO_LONG_DOUBLE_MATH].
22866
22867 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
22868 PTR_MANGLE and PTR_DEMANGLE.
22869
22870 * socket/accept4.c (accept4): Rename to __libc_accept4.
22871 Define accept4 as a weak alias.
22872
22873 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
22874 on [_DIRENT_HAVE_D_TYPE].
22875 * io/ftw.c (ftw_dir): Likewise.
22876
22877 * io/xmknod.c (__xmknod): Don't check PATH for being null.
22878
22879 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
22880
22881 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
22882 Use the BSD numbers rather than the arbitrary ones we had.
22883 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
22884 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
22885 (SIGXCPU, SIGXFSZ): New macros.
22886 (_NSIG): Now 32.
22887
22888 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
22889 initializer on [_LIBC_REENTRANT].
22890
22891 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
22892 definitions inside [_POSIX_MAPPED_FILES].
22893
22894 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
22895
22896 * dirent/opendir.c: Include <fcntl.h>.
22897
22898 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
22899 (__libc_getspecific): Likewise.
22900 (__libc_key_create): Likewise.
22901
22902 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
22903 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
22904 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
22905 (tmpfile64): Define as alias.
22906 * sysdeps/wordsize-64/tmpfile.c: File removed.
22907 * sysdeps/wordsize-64/tmpfile64.c: File removed.
22908 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
22909 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
22910
22911 * stdio-common/vfscanf.c: Include <stdbool.h>.
22912 * nss/makedb.c: Likewise.
22913 * stdio-common/_i18n_number.h: Likewise.
22914 * argp/argp-help.c: Likewise.
22915 * posix/wordexp.c: Likewise.
22916 * sysdeps/posix/spawni.c: Likewise.
22917 * nss/nss_files/files-initgroups.c: Likewise.
22918 * stdio-common/reg-modifier.c: Include <stdlib.h>.
22919 * nss/nss_files/files-initgroups.c: Likewise.
22920 * nss/nss_db/db-netgrp.c: Likewise.
22921 * nss/nss_db/db-initgroups.c: Likewise.
22922 * io/fchmodat.c: Include <sys/stat.h>.
22923
22924 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
22925 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
22926
22927 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
22928 [HAVE_MMAP].
22929
22930 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
22931 Add multiple inclusion protection.
22932
22933 2012-07-27 David S. Miller <davem@davemloft.net>
22934
22935 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22936
22937 2012-07-27 Gary Benson <gbenson@redhat.com>
22938
22939 [BZ #14298]
22940 * elf/rtld.c: Include <stap-probe.h>.
22941 (dl_main): Added static probes "init_start" and "init_complete".
22942 * elf/dl-load.c: Include <stap-probe.h>.
22943 (lose): Take new parameter "nsid".
22944 Added static probe "map_failed".
22945 (_dl_map_object_from_fd): Pass namespace id to lose.
22946 Added static probe "map_start".
22947 (open_verify): Pass namespace id to lose.
22948 * elf/dl-open.c: Include <stap-probe.h>.
22949 (dl_open_worker) Added static probes "map_complete", "reloc_start"
22950 and "reloc_complete".
22951 * elf/dl-close.c: Include <stap-probe.h>.
22952 (_dl_close_worker): Added static probes "unmap_start" and
22953 "unmap_complete".
22954 * elf/rtld-debugger-interface.txt: New file documenting the above.
22955
22956 2012-07-26 Roland McGrath <roland@hack.frob.com>
22957
22958 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
22959 rather than a string variable.
22960 * sunrpc/rpc_main.c (h_output): Likewise.
22961 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
22962
22963 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
22964
22965 * inet/check_native.c: New file.
22966
22967 2012-07-26 Joseph Myers <joseph@codesourcery.com>
22968
22969 [BZ #13629]
22970 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
22971 if larger part has absolute value 1.0.
22972 * math/s_clog10.c (__clog10): Likewise.
22973 * math/s_clog10f.c (__clog10f): Likewise.
22974 * math/s_clog10l.c (__clog10l): Likewise.
22975 * math/s_clogf.c (__clogf): Likewise.
22976 * math/s_clogl.c (__clogl): Likewise.
22977 * math/libm-test.inc (clog_test): Add more tests.
22978 (clog10_test): Likewise.
22979 * sysdeps/i386/fpu/libm-test-ulps: Update.
22980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22981
22982 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
22983 (pltexit): Likewise.
22984 (La_regs): Likewise.
22985 (La_retval): Likewise.
22986 (int_retval): Likewise.
22987 Update #error for removed macros to refer only to definitions in
22988 tst-audit.h.
22989 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
22990 macro.
22991 (pltexit): Likewise.
22992 (La_regs): Likewise.
22993 (La_retval): Likewise.
22994 (int_retval): Likewise.
22995 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
22996 macro.
22997 (pltexit): Likewise.
22998 (La_regs): Likewise.
22999 (La_retval): Likewise.
23000 (int_retval): Likewise.
23001 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
23002 macro.
23003 (pltexit): Likewise.
23004 (La_regs): Likewise.
23005 (La_retval): Likewise.
23006 (int_retval): Likewise.
23007 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
23008 macro.
23009 (pltexit): Likewise.
23010 (La_regs): Likewise.
23011 (La_retval): Likewise.
23012 (int_retval): Likewise.
23013 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
23014 macro.
23015 (pltexit): Likewise.
23016 (La_regs): Likewise.
23017 (La_retval): Likewise.
23018 (int_retval): Likewise.
23019 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
23020 macro.
23021 (pltexit): Likewise.
23022 (La_regs): Likewise.
23023 (La_retval): Likewise.
23024 (int_retval): Likewise.
23025 * sysdeps/generic/tst-audit.h: Update comment to refer only to
23026 macro definitions in tst-audit.h.
23027 * sysdeps/i386/tst-audit.h: New file.
23028 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
23029 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
23030 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
23031 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
23032 * sysdeps/sh/tst-audit.h: Likewise.
23033 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
23034 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
23035 * sysdeps/x86_64/tst-audit.h: Likewise.
23036
23037 2012-07-26 Andreas Jaeger <aj@suse.de>
23038
23039 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
23040 ptrace.
23041
23042 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
23043 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
23044 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
23045 PTRACE_O_MASK.
23046 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
23047 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
23048 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
23049
23050 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
23051 value.
23052
23053 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
23054 _sigsys.
23055 (si_call_addr, si_syscall, si_arch): Define new macro.
23056 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
23057 _sigsys.
23058 (si_call_addr, si_syscall, si_arch): Define new marcro.
23059 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
23060 _sigsys.
23061 (si_call_addr, si_syscall, si_arch): Define new macro.
23062 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
23063 _sigsys.
23064 (si_call_addr, si_syscall, si_arch): Define new macro.
23065
23066 2012-07-25 Joseph Myers <joseph@codesourcery.com>
23067
23068 [BZ #13717]
23069 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23070 Change to 2.4.21 where previously 2.4.1.
23071 * sysdeps/unix/sysv/linux/configure: Regenerated.
23072 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
23073 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
23074 Linux kernel version.
23075 (__ASSUME_STD_AUXV): Remove.
23076 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
23077 kernel version.
23078 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
23079 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
23080 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
23081 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
23082 (__ASSUME_NETLINK_SUPPORT): Likewise.
23083 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
23084 (__no_netlink_support): Remove conditional definition.
23085 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
23086 Remove.
23087 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
23088 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
23089 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
23090 (if_nameindex_ioctl): Remove.
23091 (if_nameindex_netlink): Do not handle __no_netlink_support.
23092 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
23093 code.
23094 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
23095 Remove conditional code.
23096 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
23097 code.
23098 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
23099 unconditional.
23100 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
23101 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
23102 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
23103 Remove.
23104 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
23105 [!__ASSUME_STD_AUXV]: Remove conditional code.
23106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
23107 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
23108 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
23109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
23110 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
23111 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
23112 code.
23113 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
23114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23115 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
23116 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
23117 conditional code.
23118 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
23119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23120 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
23121 code.
23122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23123 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
23124 conditional code.
23125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
23126 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
23127 code unconditional.
23128 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23129 conditional code.
23130 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23131 unconditional.
23132 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23133 conditional code.
23134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23135 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23136 unconditional.
23137 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23138 conditional code.
23139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
23140 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
23141 code unconditional.
23142 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23143 conditional code.
23144 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23145 unconditional.
23146 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23147 conditional code.
23148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
23149 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
23150 code unconditional.
23151 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23152 conditional code.
23153 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23154 unconditional.
23155 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23156 conditional code.
23157
23158 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
23159
23160 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
23161 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
23162 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
23163 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
23164 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
23165 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
23166 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
23167 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
23168 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
23169 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
23170 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
23171 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
23172 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
23173 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
23174 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
23175 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
23176 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
23177 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
23178 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
23179 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
23180 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
23181 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
23182 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23183
23184 2012-07-25 Florian Weimer <fweimer@redhat.com>
23185
23186 * Versions.def: Add GLIBC_2.17.
23187 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
23188 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
23189 Introduce __libc_secure_getenv.
23190 * stdlib/Versions (2.17): Add secure_getenv
23191 (GLIBC_PRIVATE): Add __libc_secure_getenv.
23192 * stdlib/secure-getenv.c: Rename __secure_getenv to
23193 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
23194 symbol __secure_getenv for GLIBC_2.0.
23195 * stdlib/tst-secure-getenv.c: New.
23196 * stdlib/Makefile (tests): Add testcase.
23197 * manual/startup.texi (Environment Access): Document
23198 secure_getenv.
23199 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
23200 __libc_secure_getenv.
23201 * inet/ruserpass.c (ruserpass): Likewise.
23202 * malloc/mtrace.c (mtrace): Likewise.
23203 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
23204 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
23205 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
23206 * sysdeps/posix/tempname.c: Likewise. Evaluate
23207 HAVE_SECURE_GETENV.
23208 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
23209 __secure_getenv to __libc_secure_getenv.
23210 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
23211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23212 Likewise.
23213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23214 Likewise.
23215 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
23216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
23217 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23218 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
23219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
23220 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23221 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
23222
23223 2012-07-25 Joseph Myers <joseph@codesourcery.com>
23224
23225 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
23226 (struct La_i86_retval): Likewise.
23227 (struct La_x86_64_regs): Likewise.
23228 (struct La_x86_64_retval): Likewise.
23229 (struct La_x32_regs): Likewise.
23230 (struct La_x32_retval): Likewise.
23231 (struct La_ppc32_regs): Likewise.
23232 (struct La_ppc32_retval): Likewise.
23233 (struct La_ppc64_regs): Likewise.
23234 (struct La_ppc64_retval): Likewise.
23235 (struct La_sh_regs): Likewise.
23236 (struct La_sh_retval): Likewise.
23237 (struct La_s390_32_regs): Likewise.
23238 (struct La_s390_32_retval): Likewise.
23239 (struct La_s390_64_regs): Likewise.
23240 (struct La_s390_64_retval): Likewise.
23241 (struct La_sparc32_regs): Likewise.
23242 (struct La_sparc32_retval): Likewise.
23243 (struct La_sparc64_regs): Likewise.
23244 (struct La_sparc64_retval): Likewise.
23245 (struct audit_ifaces): Remove architecture-specific pltenter and
23246 pltexit members.
23247 * sysdeps/i386/ldsodefs.h: New file.
23248 * sysdeps/powerpc/ldsodefs.h: Likewise.
23249 * sysdeps/s390/ldsodefs.h: Likewise.
23250 * sysdeps/sh/ldsodefs.h: Likewise.
23251 * sysdeps/sparc/ldsodefs.h: Likewise.
23252 * sysdeps/x86_64/ldsodefs.h: Likewise.
23253
23254 2012-07-25 Marek Polacek <polacek@redhat.com>
23255
23256 [BZ #6808]
23257 * math/libm-test.inc (yn_test): Add another test.
23258 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
23259 to ERANGE when the result is +-Inf.
23260 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
23261 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
23262 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
23263 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
23264
23265 2012-07-24 Joseph Myers <joseph@codesourcery.com>
23266
23267 * conform/data/time.h-data (NULL): Use macro-constant. Require
23268 equal to 0.
23269 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
23270 clock_t.
23271 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
23272
23273 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
23274
23275 * configure.in <sysdeps resolving>: Correct printing
23276 Implies_before.
23277 * configure: Regenerate.
23278
23279 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
23280
23281 * math/w_ilogb.c: Include <limits.h>.
23282 * math/w_ilogbl.c: Likewise.
23283
23284 2012-07-20 Joseph Myers <joseph@codesourcery.com>
23285
23286 * manual/lang.texi (__va_copy): Document primarily as ISO C99
23287 va_copy. Document allowing for unavailable va_copy only as
23288 pre-C99 compatibility.
23289 * manual/string.texi (Copying and Concatenation): Use va_copy
23290 instead of __va_copy in concat example.
23291
23292 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
23293
23294 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
23295 (__sendto): Use create_address_port. Initialize APORT and deallocate
23296 it if not null.
23297
23298 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
23299 with O_NOLINK passed to __file_name_lookup.
23300
23301 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
23302 with O_NOLINK passed to __file_name_lookup.
23303
23304 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
23305 negative N or less than NGIDS.
23306
23307 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
23308 type to string_t. Set ERANGE as errno and return it if NAME is not big
23309 enough. Use memcpy instead of strncpy.
23310
23311 2012-07-20 Joseph Myers <joseph@codesourcery.com>
23312
23313 * elf/Makefile (check-data): Remove.
23314 (localplt.data): New vpath directive.
23315 ($(objpfx)check-localplt.out): Use localplt.data from vpath
23316 instead of $(check-data).
23317 * scripts/data/localplt-generic.data: Move to ...
23318 * sysdeps/generic/localplt.data: ... here.
23319 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
23320 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
23321 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
23322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
23323 ... here.
23324 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
23325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
23326 ... here.
23327 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
23328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
23329 ... here.
23330 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
23331 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
23332 ... here.
23333 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
23334 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
23335 ... here.
23336 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
23337 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
23338 ... here.
23339
23340 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23341
23342 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
23343 PPC32 and PPC64 files.
23344 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
23345 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
23346
23347 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23348
23349 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
23350 __makecontext_ret to ...
23351 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
23352 ... here and call exit if uc_link is NULL. New file.
23353 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
23354 __makecontext_ret.S.
23355 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
23356 __makecontext_ret to ...
23357 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
23358 ... here and call exit if uc_link is NULL. New file.
23359 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
23360 __makecontext_ret.S.
23361
23362 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23363
23364 * elf/elf.h (R_390_IRELATIVE): New definition.
23365 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
23366 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
23367 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
23368 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23369 (elf_machine_lazy_rel): Likewise.
23370 * sysdeps/s390/dl-irel.h: New file.
23371 * sysdeps/s390/s390-64/memcpy.S: New asm code.
23372 * sysdeps/s390/s390-64/memset.S: New asm code.
23373 * sysdeps/s390/s390-64/memcmp.S: New asm code.
23374 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
23375 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
23376 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
23377 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
23378 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
23379 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
23380 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
23381 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
23382 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
23383 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
23384 * sysdeps/s390/s390-32/memcpy.S: New asm code.
23385 * sysdeps/s390/s390-32/memset.S: New asm code.
23386 * sysdeps/s390/s390-32/memcmp.S: New asm code.
23387
23388 2012-07-17 Marek Polacek <polacek@redhat.com>
23389
23390 [BZ #14349]
23391 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
23392 * sysdeps/s390/s390-64/configure.in: Likewise.
23393 * sysdeps/sparc/configure.in: Likewise.
23394 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
23395 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
23396 * sysdeps/i386/configure.in: Likewise.
23397 * sysdeps/x86_64/configure.in: Likewise.
23398 * sysdeps/sh/configure.in: Likewise.
23399 * sysdeps/s390/s390-32/configure: Regenerated.
23400 * sysdeps/s390/s390-64/configure: Likewise.
23401 * sysdeps/x86_64/configure: Likewise.
23402 * sysdeps/sh/configure: Likewise.
23403 * sysdeps/powerpc/powerpc64/configure: Likewise.
23404 * sysdeps/powerpc/powerpc32/configure: Likewise.
23405 * sysdeps/sparc/configure: Likwise.
23406 * sysdeps/i386/configure: Likewise.
23407
23408 * elf/dl-open.c: Comment fixes.
23409
23410 2012-07-17 Joseph Myers <joseph@codesourcery.com>
23411
23412 * Makefile [CXX] (check-data): Remove.
23413 [CXX] (c++-types.data): New vpath directive.
23414 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
23415 vpath. Do not allow for C++ type data being missing.
23416 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
23417 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
23418 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
23419 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
23420 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
23421 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
23422 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
23423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
23424 ... here.
23425 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
23426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
23427 ... here.
23428 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
23429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
23430 ... here.
23431 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
23432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
23433 ... here.
23434 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
23435 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
23436 ... here.
23437 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
23438 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
23439 ... here.
23440 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
23441 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
23442 ... here.
23443 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
23444 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
23445
23446 * elf/tls-macros.h (TLS_LE): Move architecture-specific
23447 definitions to architecture-specific files.
23448 (TLS_IE): Likewise.
23449 (TLS_LD): Likewise.
23450 (TLS_GD): Likewise.
23451 * sysdeps/i386/tls-macros.h: New file.
23452 * sysdeps/powerpc/tls-macros.h: Likewise.
23453 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
23454 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
23455 * sysdeps/sh/tls-macros.h: Likewise.
23456 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
23457 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
23458 * sysdeps/x86_64/tls-macros.h: Likewise.
23459
23460 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
23461
23462 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
23463 zero value for regular exit case.
23464
23465 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
23466 (__start_context): Preserve zero value for regular exit case.
23467
23468 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
23469 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23470
23471 * manual/setjmp.texi (setcontext): Clarify normal process
23472 termination when uc_link is the null pointer.
23473 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
23474 exit call.
23475
23476 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
23477
23478 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
23479 preprocessor. Test for each exception mask separately.
23480
23481 2012-07-16 Andreas Jaeger <aj@suse.de>
23482
23483 * po/ru.po: Update from translation team.
23484
23485 2012-07-15 Joseph Myers <joseph@codesourcery.com>
23486
23487 * conform/data/string.h-data (NULL): Use macro-constant. Require
23488 equal to 0.
23489 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23490 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23491 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
23492 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
23493 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23494
23495 2012-07-13 Andreas Jaeger <aj@suse.de>
23496
23497 * po/fr.po: Update from translation team.
23498
23499 2012-07-12 Marek Polacek <polacek@redhat.com>
23500
23501 [BZ #14173]
23502 * math/libm-test.inc (yn_test): Add test for BZ #14173.
23503 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
23504 loop condition.
23505
23506 2012-07-12 Joseph Myers <joseph@codesourcery.com>
23507
23508 [BZ #13717]
23509 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23510 Change to 2.4.1 where previously 2.4.0.
23511 * sysdeps/unix/sysv/linux/configure: Regenerated.
23512 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
23513 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
23514 version.
23515 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
23516 (__ASSUME_AT_CLKTCK): Remove.
23517 (__ASSUME_AT_PAGESIZE): Likewise.
23518 (__ASSUME_AT_XID): Likewise.
23519 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
23520 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
23521 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
23522 unconditionally.
23523 (HAVE_AUX_PAGESIZE): Likewise.
23524 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
23525 [__ASSUME_AT_CLKTCK]: Make code unconditional.
23526 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
23527
23528 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
23529
23530 [BZ #14307]
23531 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
23532 the temporary buffer used to invoke __gethostbyname2_r,
23533 __gethostbyaddr_r and gethostbyname4_r to make room for struct
23534 host_data / struct gaih_addrtuple.
23535 * resolv/nss_dns/dns-host.c (global scope): Move definition of
23536 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
23537 header file nss/nsswitch.h.
23538 * nss/nsswitch.h (global scope): Add definition of implementation
23539 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
23540 resolv/nss_dns/dns-host.c).
23541
23542 2012-07-11 Andreas Jaeger <aj@suse.de>
23543
23544 * po/fr.po: Update from translation team.
23545
23546 * po/sv.po: Update from translation team
23547 * po/fr.po: Another update from translation team.
23548
23549 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23550
23551 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
23552 for subnormals or multiply small sinh result by itself.
23553 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23555
23556 2012-07-11 David S. Miller <davem@davemloft.net>
23557
23558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23559
23560 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
23561
23562 [BZ #14347]
23563 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
23564 (INTERNAL_MARK): Shift it here.
23565
23566 2012-07-10 Marek Polacek <polacek@redhat.com>
23567
23568 [BZ #14151]
23569 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
23570 libc_cv_asm_global_directive with .globl.
23571 * configure: Regenerated.
23572 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
23573 with .globl.
23574 * sysdeps/i386/configure: Regenerated.
23575 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
23576 with .globl.
23577 * sysdeps/x86_64/configure: Regenerated.
23578 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
23579 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
23580 * elf/tst-unique2mod2.c: Likewise.
23581 * elf/tst-unique2mod1.c: Likewise.
23582 * elf/tst-unique1mod2.c: Likewise.
23583 * elf/tst-unique1mod1.c: Likewise.
23584 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23585 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
23586 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23587 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23588 * sysdeps/mach/sysdep.h: Likewise.
23589 * sysdeps/i386/sysdep.h: Likewise.
23590 * sysdeps/i386/i386-mcount.S: Likewise.
23591 * sysdeps/x86_64/_mcount.S: Likewise.
23592 * sysdeps/x86_64/sysdep.h: Likewise.
23593 * sysdeps/sh/_mcount.S: Likewise.
23594 * sysdeps/sh/sysdep.h: Likewise.
23595 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
23596 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
23597 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
23598 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23599 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
23600 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
23601 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
23602 * locale/localeinfo.h: Likewise.
23603 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
23604 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
23605
23606 2012-07-09 Roland McGrath <roland@hack.frob.com>
23607
23608 [BZ #14336]
23609 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
23610 system".
23611 * manual/message.texi (The Uniforum approach): Likewise.
23612 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
23613 (glibc iconv Implementation): Likewise.
23614
23615 2012-07-09 Joseph Myers <joseph@codesourcery.com>
23616
23617 [BZ #14337]
23618 * math/s_clog.c (__clog): Avoid scaling a value down where that
23619 could result in underflow.
23620 * math/s_clog10.c (__clog10): Likewise.
23621 * math/s_clog10f.c (__clog10f): Likewise.
23622 * math/s_clog10l.c (__clog10l): Likewise.
23623 * math/s_clogf.c (__clogf): Likewise.
23624 * math/s_clogl.c (__clogl): Likewise.
23625 * math/libm-test.inc (clog_test): Add more tests.
23626 (clog10_test): Likewise.
23627 * sysdeps/i386/fpu/libm-test-ulps: Update.
23628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23629
23630 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
23631
23632 [BZ #14283]
23633 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
23634 by 7 not 8 to examine high bit of fractional part.
23635
23636 [BZ #14042]
23637 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
23638 for call to __mcount_internal.
23639 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
23640 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
23641 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
23642
23643 2012-07-06 Joseph Myers <joseph@codesourcery.com>
23644
23645 [BZ #14154]
23646 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
23647 approximation for values within 0x1p-13f of an odd multiple of
23648 pi/4.
23649 * math/libm-test.inc (tan_test): Do not allow spurious underflow
23650 exception. Add more tests.
23651 * sysdeps/i386/fpu/libm-test-ulps: Update.
23652
23653 [BZ #6778]
23654 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
23655 inputs and return -1 for them. Do not check for +Inf in case not
23656 reachable for +Inf.
23657 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
23658 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
23659 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23660 and return -1 for them. Do not check for +Inf in case not
23661 reachable for +Inf.
23662 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
23663 define.
23664 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23665 and return -1 for them. Do not check for +Inf in case not
23666 reachable for +Inf.
23667 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
23668 spurious underflow.
23669 * sysdeps/i386/fpu/libm-test-ulps: Update.
23670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23671
23672 2012-07-06 Mike Frysinger <vapier@gentoo.org>
23673
23674 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
23675
23676 2012-07-05 Joseph Myers <joseph@codesourcery.com>
23677
23678 [BZ #14157]
23679 [BZ #14331]
23680 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
23681 could result in spurious underflow. Scale down values above
23682 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
23683 * math/s_csqrtf.c (__csqrtf): Likewise.
23684 * math/s_csqrtl.c (__csqrtl): Likewise.
23685 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
23686 spurious underflow.
23687 * sysdeps/i386/fpu/libm-test-ulps: Update.
23688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23689
23690 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
23691
23692 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
23693 xopen-msg.sed.
23694 * catgets/xopen-msg.awk: New file.
23695 * catgets/xopen-msg.sed: Removed.
23696
23697 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
23698 po2text.sed.
23699 * intl/po2test.awk: New file.
23700 * intl/po2test.sed: Removed.
23701
23702 2012-07-04 Joseph Myers <joseph@codesourcery.com>
23703
23704 [BZ #14328]
23705 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
23706 or multiply small sinh result by itself.
23707 * math/s_ctanf.c (__ctanf): Likewise.
23708 * math/s_ctanh.c (__ctanh): Likewise.
23709 * math/s_ctanhf.c (__ctanhf): Likewise.
23710 * math/s_ctanhl.c (__ctanhl): Likewise.
23711 * math/s_ctanl.c (__ctanl): Likewise.
23712 * math/libm-test.inc (ctan_test_tonearest): New function.
23713 (ctan_test_towardzero): Likewise.
23714 (ctan_test_downward): Likewise.
23715 (ctan_test_upward): Likewise.
23716 (ctanh_test_tonearest): Likewise.
23717 (ctanh_test_towardzero): Likewise.
23718 (ctanh_test_downward): Likewise.
23719 (ctanh_test_upward): Likewise.
23720 (main): Call these new functions.
23721 * sysdeps/i386/fpu/libm-test-ulps: Update.
23722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23723
23724 2012-07-03 Mike Frysinger <vapier@gentoo.org>
23725
23726 * .gitignore: Delete /ports entry.
23727
23728 2012-07-03 Andreas Jaeger <aj@suse.de>
23729
23730 * po/bg.po: Update from translation team.
23731 * po/cs.po: Likewise.
23732 * po/de.po: Likewise.
23733 * po/hr.po: Likewise.
23734 * po/nl.pl: Likewise.
23735 * po/pl.po: Likewise.
23736 * po/vi.po: Likewise.
23737
23738 2012-07-03 Joseph Myers <joseph@codesourcery.com>
23739
23740 * Makeconfig [!+link] (+link-before-libc): New variable.
23741 [!+link] (+link-after-libc): Likewise.
23742 [!+link] (+link-tests): Likewise.
23743 [!+link] (+link): Define in terms of $(+link-before-libc) and
23744 $(+link-after-libc).
23745 [!+link-static] (+link-static-before-libc): New variable.
23746 [!+link-static] (+link-static-after-libc): Likewise.
23747 [!+link-static] (+link-static-tests): Likewise.
23748 [!+link-static] (+link-static): Define in terms of
23749 $(+link-static-before-libc) and $(+link-static-after-libc).
23750 [build-shared] (link-libc-before-gnulib): New variable.
23751 [build-shared] (link-libc-tests): Likewise.
23752 [build-shared] (link-libc): Define in terms of
23753 $(link-libc-before-gnulib).
23754 [!build-shared] (link-libc-tests): New variable.
23755 (link-libc-static-tests): New variable.
23756 [!gnulib] (gnulib-arch): New variable.
23757 [!gnulib] (gnulib-tests): Likewise.
23758 [!gnulib] (static-gnulib-arch): Likewise.
23759 [!gnulib] (static-gnulib-tests): Likewise.
23760 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
23761 Define with "=" instead of ":=".
23762 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
23763 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
23764 * Rules (binaries-all-notests): New variable.
23765 (binaries-all-tests): Likewise.
23766 (binaries-static-notests): Likewise.
23767 (binaries-static-tests): Likewise.
23768 (binaries-all): Define using $(binaries-all-notests) and
23769 $(binaries-all-tests).
23770 (binaries-static): Define using $(binaries-static-notests) and
23771 $(binaries-static-tests).
23772 (binaries-shared-tests): New variable.
23773 (binaries-shared-notests): Likewise.
23774 (binaries-shared): Remove variable.
23775 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
23776 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
23777 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
23778 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
23779 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
23780 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
23781 * elf/Makefile (sln-modules): New variable.
23782 (extra-objs): Add $(sln-modules:=.o).
23783 (ldconfig-modules): Add static-stubs.
23784 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
23785 * elf/static-stubs.c: New file.
23786
23787 [BZ #14283]
23788 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
23789 by 7 not 8 to examine high bit of fractional part. Use volatile
23790 variables when splitting into final array of floats if
23791 __FLT_EVAL_METHOD__ != 0.
23792 * math/libm-test.inc (cos_test): Add another test.
23793 (sin_test): Likewise.
23794 * sysdeps/i386/fpu/libm-test-ulps: Update.
23795
23796 [BZ #14273]
23797 * math/libm-test.inc (cosh_test): Add more tests.
23798
23799 * version.h (RELEASE): Set to "development".
23800 (VERSION): Set to "2.16.90".
23801
23802 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
23803
23804 * NEWS: Update copyright. Remove last-updated date.
23805 Mention math library bug fixes and timezone data changes.
23806 * README: Mention GNU/Hurd, x32, and HPPA support status.
23807
23808 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
23809
23810 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
23811
23812 2012-06-27 Andreas Jaeger <aj@suse.de>
23813
23814 * manual/contrib.texi (Contributors): Add Samuel Thibault.
23815
23816 2012-06-25 Andreas Jaeger <aj@suse.de>
23817
23818 * sysdeps/s390/fpu/libm-test-ulps: Update.
23819
23820 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
23821 Thomas Schwinge <thomas@codesourcery.com>
23822
23823 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
23824 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
23825 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
23826 fanotify_mark.
23827
23828 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
23829
23830 * sysdeps/mach/start.c: Remove file.
23831 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
23832 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
23833 * sysdeps/sh/init-first.c: Likewise.
23834
23835 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
23836 registers for frame unwinding purposes, add CFI directives.
23837 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23838 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
23839 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
23840 Likewise.
23841
23842 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
23843 __fortify_fail returning.
23844 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23845
23846 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
23847 sysdeps/sh/____longjmp_chk.S.
23848 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
23849 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
23850 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
23851 (gen-as-const-headers): Append sigaltstack-offsets.sym.
23852
23853 * sysdeps/sh/abort-instr.h: New file.
23854 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
23855 process in case exit returns.
23856
23857 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
23858 initialize the GOT register before use.
23859
23860 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
23861 calculation of ARGC > 4.
23862
23863 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
23864 meaningful names to some local labels.
23865
23866 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23867 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23868
23869 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
23870 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
23871 (__arch_compare_and_exchange_val_16_acq): Likewise.
23872 (__arch_compare_and_exchange_val_32_acq): Likewise.
23873 (atomic_exchange_and_add): Fix gUSA sequence.
23874 (atomic_add): Likewise.
23875 (atomic_add_negative): Likewise.
23876 (atomic_add_zero): Likewise.
23877 (atomic_bit_test_set): Likewise.
23878
23879 2012-06-22 Andreas Schwab <schwab@redhat.com>
23880
23881 [BZ #13579]
23882 * include/link.h (struct link_map): Add l_free_initfini.
23883 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
23884 l_initfini.
23885 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
23886 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
23887 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
23888 set.
23889
23890 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
23891
23892 * configure.in: Use AC_LANG_SOURCE.
23893 * configure: Regenerate.
23894
23895 2012-06-22 Roland McGrath <roland@hack.frob.com>
23896
23897 * configure.in (libc_cv_localstatedir): New substituted variable.
23898 * configure: Regenerated.
23899 * config.make.in (localstatedir): New variable, substituted from
23900 libc_cv_localstatedir.
23901 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
23902 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
23903 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
23904 * sysdeps/gnu/configure: Regenerated.
23905
23906 2012-06-21 Jeff Law <law@redhat.com>
23907
23908 [BZ #14277]
23909 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
23910 free. Simplify list management for _LIBC case.
23911
23912 2012-06-21 Joseph Myers <joseph@codesourcery.com>
23913
23914 [BZ #14273]
23915 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
23916 Clear sign bit of 64-bit integer value before comparing against
23917 overflow value.
23918
23919 * sysdeps/mach/configure: Regenerated.
23920
23921 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
23922
23923 [BZ #14278]
23924 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
23925
23926 2012-06-21 Jeff Law <law@redhat.com>
23927
23928 [BZ #13882]
23929 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
23930 uint16_t for elements in the "seen" array to avoid char overflows.
23931 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23932 * elf/dl-open.c (dl_open_worker): Likewise.
23933
23934 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
23935
23936 * scripts/list-sources.sh: Scan PORTS for translations.
23937 * po/libc.pot: Regenerated.
23938
23939 2012-06-21 Andreas Jaeger <aj@suse.de>
23940
23941 [BZ #12194]
23942 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
23943 warning.
23944 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
23945 * bits/byteswap-16.h (__bswap_16): Likewise.
23946 * bits/byteswap.h (__bswap_constant_16): Likewise.
23947
23948 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
23949
23950 [BZ #14117]
23951 * sysdeps/i386/fpu_control.h: Removed.
23952 * sysdeps/x86_64/fpu_control.h: Moved to ...
23953 * sysdeps/x86/fpu_control.h: Here.
23954
23955 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
23956 (_FPU_SETCW): Likewise.
23957
23958 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
23959
23960 [BZ #14117]
23961 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
23962 * sysdeps/x86/fpu/bits/mathinline.h: This.
23963 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
23964
23965 [BZ #14050]
23966 [BZ #14117]
23967 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
23968 functions if __x86_64__ is defined.
23969
23970 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
23971
23972 * string/endian.h: Add !__ASSEMBLER__ condition for including
23973 conversion interfaces.
23974
23975 2012-06-15 Joseph Myers <joseph@codesourcery.com>
23976
23977 [BZ #14241]
23978 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
23979 of ABS(x) in calculating zero to negative powers other than odd
23980 integers.
23981 * math/libm-test.inc (pow_test): Add more tests.
23982
23983 2012-06-15 Andreas Jaeger <aj@suse.de>
23984
23985 * manual/contrib.texi (Contributors): Update entry of Liubov
23986 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
23987 Machado Filho.
23988
23989 2012-06-15 Cyril Hrubis <metan@ucw.cz>
23990
23991 * string/string.h: Add __wur to GNU version of strerror_r.
23992
23993 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
23994
23995 [BZ #14229]
23996 * string/Makefile (tests): Add tst-strtok_r.
23997 * string/tst-strtok_r.c: New file.
23998 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
23999 RAX_LP/RDX_LP on SAVE_PTR.
24000
24001 2012-06-14 Roland McGrath <roland@hack.frob.com>
24002
24003 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
24004
24005 2012-06-14 Joseph Myers <joseph@codesourcery.com>
24006
24007 * libm_test.inc (csqrt_test): Allow more spurious underflow
24008 exceptions.
24009 (j0_test): Likewise.
24010 (j1_test): Likewise.
24011 (y0_test): Likewise.
24012 (y1_test): Likewise.
24013
24014 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
24015
24016 * po/Makefile (libc.pot): Use UTF-8 charset.
24017
24018 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
24019
24020 [BZ #14210]
24021 Suppress sign-conversion warning from FD_SET.
24022 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
24023 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
24024 not unsigned long int.
24025 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
24026
24027 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
24028
24029 [BZ #14050]
24030 [BZ #14117]
24031 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
24032 __extern_always_inline instead of __extern_inline.
24033 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
24034 (__signbit): Likewise.
24035 (__signbitl): Support C++ namespace.
24036 (lrintf): New inline function.
24037 (lrint): Likewise.
24038 (llrintf): Likewise.
24039 (llrint): Likewise.
24040 (fmaxf): Likewise.
24041 (fmax): Likewise.
24042 (fminf): Likewise.
24043 (fmin): Likewise.
24044 (rint): Likewise.
24045 (rintf): Likewise.
24046 (ceil): Likewise.
24047 (ceilf): Likewise.
24048 (floor): Likewise.
24049 (floorf): Likewise.
24050 (nearbyint): Likewise.
24051 (nearbyintf): Likewise.
24052
24053 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
24054
24055 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
24056 non-default versions.
24057
24058 2012-06-11 Roland McGrath <roland@hack.frob.com>
24059
24060 [BZ #14218]
24061 * manual/argp.texi (Argp): Reword argp_parse description slightly.
24062
24063 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
24064
24065 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
24066 (FE_UPWARD, FE_DOWNWARD): Don't define.
24067 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
24068 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24069
24070 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
24071 reading it.
24072 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
24073 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24074
24075 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24076
24077 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
24078 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
24079 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
24080 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
24081
24082 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
24083
24084 [BZ #14117]
24085 * sysdeps/i386/fpu/bits/fenv.h: Removed.
24086 * sysdeps/i386/fpu/Implies: New file.
24087 * sysdeps/x86_64/fpu/Implies: Likewise.
24088 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
24089 * sysdeps/x86/fpu/bits/fenv.h: This.
24090
24091 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
24092 __SSE_MATH__.
24093
24094 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24095
24096 [BZ #14134]
24097 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
24098 character 0xffff that matches the last element of the
24099 conversion table.
24100
24101 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24102
24103 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
24104 fmodl commit.
24105
24106 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24107
24108 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
24109 values higher than 25.6283.
24110
24111 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24112
24113 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
24114 subnormal exponent extraction and add some __builtin_expect.
24115 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
24116 Fix for subnormal mantissa calculation.
24117
24118 2012-06-04 Mike Frysinger <vapier@gentoo.org>
24119
24120 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
24121 cpu2 is -1 and errno is not ENOSYS.
24122
24123 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
24124
24125 [BZ #14117]
24126 * sysdeps/i386/i486/bits/string.h: Renamed to ...
24127 * sysdeps/x86/bits/string.h: This.
24128 * sysdeps/x86_64/bits/string.h: Removed.
24129
24130 * sysdeps/i386/i486/bits/string.h: Define inline functions only
24131 if not compiling for x86-64, but compiling for >= i486.
24132
24133 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
24134 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
24135
24136 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
24137 New macro from Linux kernel 3.4.0.
24138 (FP_XSTATE_MAGIC2): Likewise.
24139 (FP_XSTATE_MAGIC2_SIZE): Likewise.
24140 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
24141 (struct _fpx_sw_bytes): New struct.
24142 (struct _xsave_hdr): Likewise.
24143 (struct _ymmh_state): Likewise.
24144 (struct _xstate): Likewise.
24145
24146 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
24147 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
24148 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
24149 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
24150 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
24151 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
24152
24153 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
24154 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
24155 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
24156 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
24157 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
24158 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
24159
24160 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24161
24162 [BZ #13743]
24163 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
24164 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
24165 (sysdep_headers): Include sys/platform/ppc.h.
24166 * sysdeps/powerpc/test-gettimebase.c: Test for
24167 __ppc_get_timebase() to catch future ISA opcode/insn changes.
24168 * manual/Makefile (appendices): Include platform.texi.
24169 * manual/contrib.texi (Contributors): Update @node pointers.
24170 * manual/maint.texi (Maintenance): Likewise.
24171 (Platform): New node.
24172 * manual/platform.texi: New file. Document the new features.
24173
24174 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24175 Jakub Jelinek <jakub@redhat.com>
24176
24177 [BZ #14188]
24178 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
24179 where __builtin_expect is unavailable.
24180
24181 2012-06-03 David S. Miller <davem@davemloft.net>
24182
24183 * stdlib/longlong.h: Updated from GCC.
24184
24185 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
24186
24187 [BZ #14042]
24188 * sysdeps/powerpc/powerpc32/mcount.c: New file.
24189 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
24190 __mcount_internal.
24191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24192 (GLIBC_2.16): Likewise.
24193
24194 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
24195
24196 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
24197
24198 2012-06-01 Joseph Myers <joseph@codesourcery.com>
24199
24200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
24201 (default-abi): New variable.
24202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
24203 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
24204 variable.
24205 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
24206 Likewise.
24207 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
24208 Likewise.
24209 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
24210 Likewise.
24211
24212 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
24213 definition. Document in comment.
24214
24215 2012-06-01 David S. Miller <davem@davemloft.net>
24216
24217 * stdlib/longlong.h: Updated from GCC.
24218
24219 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
24220
24221 [BZ #14117]
24222 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
24223 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
24224 sys/debugreg.h sys/io.h here.
24225 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
24226 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
24227 sys/io.h.
24228 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
24229 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
24230 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
24231 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
24232 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
24233 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
24234
24235 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
24236 Define only if __x86_64__ is defined.
24237
24238 2012-06-01 Joseph Myers <joseph@codesourcery.com>
24239
24240 [BZ #14048]
24241 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
24242 Use int64_t for variable i.
24243 * math/libm-test.inc (fmod_test): Add more tests.
24244
24245 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
24246 z computation is not scheduled after fetestexcept.
24247 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
24248 Use math_force_eval instead of asm to ensure calculation scheduled
24249 before exception test.
24250 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
24251 Ensure a1 + u.d computation is not scheduled after fetestexcept.
24252
24253 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
24254
24255 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
24256 computation is not scheduled after fetestexcept.
24257
24258 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
24259
24260 [BZ #14117]
24261 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
24262 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
24263
24264 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24265
24266 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
24267 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24268
24269 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
24270
24271 [BZ #14117]
24272 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
24273 <bits/wordsize.h>.
24274 (__WCHAR_MIN): Support __WORDSIZE == 64.
24275 (__WCHAR_MAX): Likewise.
24276
24277 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
24278 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
24279
24280 [BZ #14183]
24281 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
24282 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
24283
24284 [BZ #14117]
24285 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
24286 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
24287
24288 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
24289 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
24290
24291 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
24292 Defined to 1 if __x86_64__ isn't defined.
24293 (_STAT_VER_LINUX_OLD): New.
24294 (st_atime): Remove duplicate.
24295 (st_mtime): Likewise.
24296 (st_ctime): Likewise.
24297
24298 2012-05-31 David S. Miller <davem@davemloft.net>
24299
24300 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
24301 entries.
24302
24303 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
24304
24305 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
24306 gen-libm-test.pl.
24307
24308 [BZ #14132]
24309 * elf/dl-reloc.c: Include <_itoa.h>.
24310 (_dl_reloc_bad_type): Remove use of INTUSE.
24311 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
24312 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
24313 * stdio-common/psiginfo.c (psiginfo): Likewise.
24314 * stdio-common/psignal.c (psignal): Likewise.
24315 * string/strsignal.c (strsignal): Likewise.
24316 * include/signal.h (_sys_siglist): Declare hidden proto.
24317 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
24318 INTVARDEF with libc_hidden_data_def.
24319 * stdio-common/itoa-udigits.c: Likewise.
24320 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
24321 (_itoa_lower_digits_internal): Remove declaration.
24322 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
24323 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
24324 (_sys_sigabbrev_internal): Remove aliases.
24325 (_sys_siglist): Define hidden alias.
24326
24327 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
24328
24329 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24330 bits/sysctl.h.
24331
24332 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
24333
24334 [BZ #14117]
24335 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
24336 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
24337
24338 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
24339 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
24340 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
24341 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
24342 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
24343 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
24344
24345 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
24346 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
24347 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
24348
24349 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
24350 with __addr.
24351 (insw): Likewise.
24352 (insl): Likewise.
24353 (outsb): Likewise.
24354 (outsw): Likewise.
24355 (outsl): Likewise.
24356
24357 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
24358 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
24359 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
24360
24361 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
24362 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
24363 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
24364 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
24365 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
24366 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
24367
24368 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
24369 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
24370
24371 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
24372 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
24373
24374 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
24375 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
24376 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
24377
24378 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
24379 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
24380 to ...
24381 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
24382
24383 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
24384 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
24385 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
24386
24387 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
24388 for x86-64.
24389 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
24390
24391 2012-05-31 Joseph Myers <joseph@codesourcery.com>
24392
24393 * math/math.h (M_El): Use two more decimal places.
24394 (M_LOG2El): Likewise.
24395 (M_LOG10El): Likewise.
24396 (M_LN2l): Likewise.
24397 (M_LN10l): Likewise.
24398 (M_PIl): Likewise.
24399 (M_PI_2l): Likewise.
24400 (M_PI_4l): Likewise.
24401 (M_1_PIl): Likewise.
24402 (M_2_PIl): Likewise.
24403 (M_2_SQRTPIl): Likewise.
24404 (M_SQRT2l): Likewise.
24405 (M_SQRT1_2l): Likewise.
24406
24407 2012-05-31 David S. Miller <davem@davemloft.net>
24408
24409 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
24410 values between float registers.
24411 * sysdeps/sparc/sparc64/memset.S: Likewise.
24412 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24413
24414 2012-05-31 Mike Frysinger <vapier@gentoo.org>
24415
24416 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
24417 -D_FORTIFY_SOURCE=1.
24418 (CPPFLAGS-tst-longjmp_chk.c): Define.
24419 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
24420 (CPPFLAGS-tst-longjmp_chk2.c): Define.
24421 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
24422 CFLAGS-tst-wchar-h.c.
24423
24424 2012-05-31 Marek Polacek <polacek@redhat.com>
24425
24426 [BZ #14132]
24427 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
24428 __endmntent_internal): Remove declaration.
24429 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
24430 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
24431 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
24432
24433 2012-05-30 David S. Miller <davem@davemloft.net>
24434
24435 * sysdeps/sparc/sparc32/soft-fp/q_util.c
24436 (___Q_simulate_exceptions): Use real FP ops rather than writing
24437 into the %fsr.
24438 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
24439 Likewise.
24440
24441 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24442
24443 [BZ #14117]
24444 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
24445 * sysdeps/x86/bits/xtitypes.h: This.
24446
24447 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
24448 * sysdeps/x86/bits/wordsize.h: This.
24449
24450 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
24451 * sysdeps/x86/bits/huge_vall.h: This.
24452
24453 * sysdeps/i386/bits/select.h: Removed.
24454 * sysdeps/x86_64/bits/select.h: Renamed to ...
24455 * sysdeps/x86/bits/select.h: This.
24456
24457 * sysdeps/i386/bits/setjmp.h: Removed.
24458 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
24459 * sysdeps/x86/bits/setjmp.h: This.
24460
24461 * sysdeps/i386/bits/mathdef.h: Removed.
24462 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
24463 * sysdeps/x86/bits/mathdef.h: This.
24464
24465 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
24466
24467 [BZ #14132]
24468 * include/sys/socket.h (__connect_internal)
24469 (__libc_sa_len_internal): Remove declaration.
24470 (__connect, __libc_sa_len): Declare hidden_proto.
24471 (SA_LEN): Remove use of INTUSE.
24472 * socket/connect.c: Add libc_hidden_def.
24473 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
24474 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
24475 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
24476 alias.
24477 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
24478 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
24479 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
24480 of adding _internal alias.
24481
24482 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24483
24484 [BZ #14117]
24485 * sysdeps/i386/bits/link.h: Removed.
24486 * sysdeps/i386/bits/linkmap.h: Likewise.
24487 * sysdeps/x86_64/bits/link.h: Renamed to ...
24488 * sysdeps/x86/bits/link.h: This.
24489 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
24490 * sysdeps/x86/bits/linkmap.h: This.
24491
24492 * sysdeps/i386/bits/endian.h: Removed.
24493 * sysdeps/x86_64/bits/endian.h: Renamed to ...
24494 * sysdeps/x86/bits/endian.h: This.
24495
24496 * sysdeps/i386/bits/byteswap.h: Removed.
24497 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24498 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
24499 * sysdeps/x86/bits/byteswap.h: This.
24500 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
24501 * sysdeps/x86/bits/byteswap-16.h: This.
24502 * sysdeps/i386/Implies: Add x86.
24503 * sysdeps/x86_64/Implies: Likewise.
24504
24505 2012-05-30 David S. Miller <davem@davemloft.net>
24506
24507 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
24508 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
24509 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24510 (FP_TRAPPING_EXCEPTIONS): Define.
24511 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24512 (FP_TRAPPING_EXCEPTIONS): Define.
24513 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
24514 subnormals only when inexact has been signalled or underflow
24515 exceptions are enabled.
24516 (_FP_PACK_CANONICAL): Likewise.
24517
24518 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24519
24520 [BZ #14183]
24521 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
24522 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
24523
24524 2012-05-30 Richard Henderson <rth@twiddle.net>
24525
24526 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
24527 with #ifndef NOT_IN_libc.
24528
24529 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
24530 marked to avoid plt entry.
24531
24532 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24533
24534 [BZ #14112]
24535 * Makeconfig (default-abi): New macro.
24536 (abi-includes): Likewise.
24537 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
24538 $(abi-$(default-abi)-lib-soname) for soname if defined.
24539 ($(common-objpfx)gnu/lib-names.stmp): Generate from
24540 abi-variants.
24541 * Makefile (installed-stubs): Likewise.
24542 * include/stubs-biarch.h: Removed.
24543 * scripts/lib-names.awk: Only handle one library at a time.
24544 * scripts/soversions.awk: Remove WORDSIZE support.
24545 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
24546 entries.
24547 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
24548 Removed.
24549 (syscall-list-default-condition): Likewise.
24550 (syscall-list-default-condition): Likewise.
24551 (syscall-list-includes): Likewise.
24552 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
24553 syscall-list-* with abi-*. Handle undefined abi-variants.
24554 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
24555 * sysdeps/unix/sysv/linux/i386/Implies: New file.
24556 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
24557 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
24558 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
24559 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
24560 Removed.
24561 (syscall-list-32-options): Likewise.
24562 (syscall-list-32-condition): Likewise.
24563 (syscall-list-64-options): Likewise.
24564 (syscall-list-64-condition): Likewise.
24565 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
24566 macro.
24567 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
24568 Renamed to ...
24569 (abi-*): This.
24570 (abi-64-ld-soname): New macro.
24571 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
24572 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
24573 Renamed to ...
24574 (abi-*): This.
24575 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
24576 * sysdeps/x86_64/x32/shlib-versions: Likewise.
24577
24578 2012-05-30 Joseph Myers <joseph@codesourcery.com>
24579
24580 * sysdeps/unix/sysv/linux/kernel-features.h
24581 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
24582 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
24583 include <kernel-features.h>.
24584 [!__NR_ftruncate64]: Remove conditional code.
24585 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24586 [__NR_ftruncate64]: Make code unconditional.
24587 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24588 * sysdeps/unix/sysv/linux/truncate64.c: Do not
24589 include <kernel-features.h>.
24590 [!__NR_ftruncate64]: Remove conditional code.
24591 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24592 [__NR_ftruncate64]: Make code unconditional.
24593 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
24595 include <kernel-features.h>.
24596 [!__NR_ftruncate64]: Remove conditional code.
24597 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24598 [__NR_ftruncate64]: Make code unconditional.
24599 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24601 include <kernel-features.h>.
24602 [!__NR_ftruncate64]: Remove conditional code.
24603 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24604 [__NR_ftruncate64]: Make code unconditional.
24605 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24606
24607 * configure.in (libc_cv_fpie): Weaken to a compile test using
24608 LIBC_TRY_CC_OPTION.
24609 * configure: Regenerated.
24610
24611 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24612
24613 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
24614 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
24615 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
24616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24617 Refreshed.
24618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
24619 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
24620 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
24621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
24622 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
24623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24624 Refreshed.
24625
24626 2012-05-27 David S. Miller <davem@davemloft.net>
24627
24628 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
24629 (___Q_zero): New.
24630 (__Q_simulate_exceptions): Return void. Change to simulate
24631 exceptions by writing into the %fsr.
24632 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
24633 (__Qp_handle_exceptions): Likewise.
24634 (numbers): Delete.
24635 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
24636 __Qp_handle_exceptions.
24637 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
24638 __Qp_handle_exceptions.
24639 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24640 as unused and give dummy FP_RND_NEAREST initializer.
24641 (FP_INHIBIT_RESULTS): Define.
24642 (___Q_simulate_exceptions): Update declaration.
24643 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
24644 formatting.
24645 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24646 as unused and give dummy FP_RND_NEAREST initializer.
24647 (__Qp_handle_exceptions): Update declaration.
24648 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
24649 formatting.
24650
24651 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
24652
24653 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
24654 the temporary FPU control word.
24655 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
24656 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
24657 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
24658 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
24659 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24660 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
24661 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24662 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24663 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24664 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
24665 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24666
24667 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24668
24669 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
24670 fields.
24671
24672 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
24673
24674 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
24675 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
24676 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
24677 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
24678 Likewise.
24679 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
24680 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
24681 Likewise.
24682
24683 2012-05-27 Ulrich Drepper <drepper@gmail.com>
24684
24685 * po/h.po: Update from translation team.
24686
24687 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
24688
24689 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
24690
24691 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
24692 handling of denormals.
24693 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24694 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24695 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24696 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24697 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24698 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
24699 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
24700 Likewise.
24701
24702 2012-05-26 Marek Polacek <polacek@redhat.com>
24703
24704 [BZ #14152]
24705 * math/libm-test.inc (fma_test): Don't always expect underflow
24706 exception.
24707
24708 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24709
24710 [BZ #12416]
24711 * elf/tst-execstack.c: Include stackinfo.h.
24712 (do_test): Adjust test case to ensure that pthread_getattr_np
24713 behaviour remains the same after marking stack executable.
24714
24715 2012-05-25 Joseph Myers <joseph@codesourcery.com>
24716
24717 * sysdeps/unix/sysv/linux/kernel-features.h
24718 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
24719 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
24720 kernel-features.h.
24721 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24722 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24723 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
24724 kernel-features.h.
24725 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24726 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24727
24728 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
24729
24730 * configure.in: Define the default includes to being none.
24731 * configure: Regenerated.
24732
24733 2012-05-25 Roland McGrath <roland@hack.frob.com>
24734
24735 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
24736 * sysdeps/x86_64/setjmp.S: Likewise.
24737 * sysdeps/i386/bsd-setjmp.S: Likewise.
24738 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24739 * sysdeps/i386/setjmp.S: Likewise.
24740 * sysdeps/i386/__longjmp.S: Likewise.
24741 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24742 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
24743
24744 * include/stap-probe.h: New file.
24745 * configure.in: Handle --enable-systemtap.
24746 * configure: Regenerated.
24747 * config.h.in (USE_STAP_PROBE): New #undef.
24748 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
24749 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
24750 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24751
24752 2012-05-25 Joseph Myers <joseph@codesourcery.com>
24753
24754 [BZ #13717]
24755 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24756 to 2.4.0 where earlier.
24757 * sysdeps/unix/sysv/linux/configure: Regenerated.
24758 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24759 <kernel-features.h>.
24760 [__ASSUME_32BITUIDS]: Make code unconditional.
24761 [!__ASSUME_32BITUIDS]: Remove conditional code.
24762 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
24763 <kernel-features.h>.
24764 [__ASSUME_32BITUIDS]: Make code unconditional.
24765 [!__ASSUME_32BITUIDS]: Remove conditional code.
24766 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
24767 [__ASSUME_32BITUIDS]: Make code unconditional.
24768 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
24769 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
24770 <kernel-features.h>.
24771 [__ASSUME_32BITUIDS]: Make code unconditional.
24772 [!__ASSUME_32BITUIDS]: Remove conditional code.
24773 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
24774 <kernel-features.h>.
24775 [__ASSUME_32BITUIDS]: Make code unconditional.
24776 [!__ASSUME_32BITUIDS]: Remove conditional code.
24777 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
24778 <kernel-features.h>.
24779 [__ASSUME_32BITUIDS]: Make code unconditional.
24780 [!__ASSUME_32BITUIDS]: Remove conditional code.
24781 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
24782 <kernel-features.h>.
24783 [__ASSUME_32BITUIDS]: Make code unconditional.
24784 [!__ASSUME_32BITUIDS]: Remove conditional code.
24785 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24786 <kernel-features.h>.
24787 [__ASSUME_32BITUIDS]: Make code unconditional.
24788 [!__ASSUME_32BITUIDS]: Remove conditional code.
24789 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24790 <kernel-features.h>.
24791 [__ASSUME_32BITUIDS]: Make code unconditional.
24792 [!__ASSUME_32BITUIDS]: Remove conditional code.
24793 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
24794 <kernel-features.h>.
24795 [__ASSUME_32BITUIDS]: Make code unconditional.
24796 [!__ASSUME_32BITUIDS]: Remove conditional code.
24797 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24798 <kernel-features.h>.
24799 [__ASSUME_32BITUIDS]: Make code unconditional.
24800 [!__ASSUME_32BITUIDS]: Remove conditional code.
24801 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24802 <kernel-features.h>.
24803 [__ASSUME_32BITUIDS]: Make code unconditional.
24804 [!__ASSUME_32BITUIDS]: Remove conditional code.
24805 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
24806 <kernel-features.h>.
24807 [__ASSUME_32BITUIDS]: Make code unconditional.
24808 [!__ASSUME_32BITUIDS]: Remove conditional code.
24809 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
24810 <kernel-features.h>.
24811 [__NR_setresgid] (__setresgid): Do not declare.
24812 [__ASSUME_32BITUIDS]: Make code unconditional.
24813 [!__ASSUME_32BITUIDS]: Remove conditional code.
24814 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
24815 <kernel-features.h>.
24816 [__NR_setresuid] (__setresuid): Do not declare.
24817 [__ASSUME_32BITUIDS]: Make code unconditional.
24818 [!__ASSUME_32BITUIDS]: Remove conditional code.
24819 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
24820 <kernel-features.h>.
24821 [__ASSUME_32BITUIDS]: Make code unconditional.
24822 [!__ASSUME_32BITUIDS]: Remove conditional code.
24823 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
24824 <kernel-features.h>.
24825 [__ASSUME_32BITUIDS]: Make code unconditional.
24826 [!__ASSUME_32BITUIDS]: Remove conditional code.
24827 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
24828 <kernel-features.h>.
24829 [__ASSUME_32BITUIDS]: Make code unconditional.
24830 [!__ASSUME_32BITUIDS]: Remove conditional code.
24831 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
24832 <kernel-features.h>.
24833 [__ASSUME_32BITUIDS]: Make code unconditional.
24834 [!__ASSUME_32BITUIDS]: Remove conditional code.
24835 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
24836 <kernel-features.h>.
24837 [__ASSUME_32BITUIDS]: Make code unconditional.
24838 [!__ASSUME_32BITUIDS]: Remove conditional code.
24839 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
24840 <kernel-features.h>.
24841 [__ASSUME_32BITUIDS]: Make code unconditional.
24842 [!__ASSUME_32BITUIDS]: Remove conditional code.
24843 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
24844 <kernel-features.h>.
24845 [__ASSUME_32BITUIDS]: Make code unconditional.
24846 [!__ASSUME_32BITUIDS]: Remove conditional code.
24847 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
24848 <kernel-features.h>.
24849 [__ASSUME_32BITUIDS]: Make code unconditional.
24850 [!__ASSUME_32BITUIDS]: Remove conditional code.
24851 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
24852 <kernel-features.h>.
24853 [__ASSUME_32BITUIDS]: Make code unconditional.
24854 [!__ASSUME_32BITUIDS]: Remove conditional code.
24855 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24856 <kernel-features.h>.
24857 [__ASSUME_32BITUIDS]: Make code unconditional.
24858 [!__ASSUME_32BITUIDS]: Remove conditional code.
24859 * sysdeps/unix/sysv/linux/kernel-features.h
24860 (__ASSUME_SETRESUID_SYSCALL): Remove.
24861 (__ASSUME_SETRESGID_SYSCALL): Likewise.
24862 (__ASSUME_32BITUIDS): Likewise.
24863 (__ASSUME_LDT_WORKS): Likewise.
24864 (__ASSUME_O_DIRECTORY): Likewise.
24865 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
24866 architecture but not kernel version.
24867 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
24868 (__ASSUME_MMAP2_SYSCALL): Likewise.
24869 (__ASSUME_STAT64_SYSCALL): Likewise.
24870 (__ASSUME_IPC64): Likewise.
24871 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
24872 <kernel-features.h>.
24873 [__ASSUME_32BITUIDS]: Make code unconditional.
24874 [!__ASSUME_32BITUIDS]: Remove conditional code.
24875 * sysdeps/unix/sysv/linux/opendir.c: Do not include
24876 <kernel-features.h>.
24877 [__ASSUME_O_DIRECTORY]: Make code unconditional.
24878 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
24879 132096]: Remove conditional code.
24880 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
24881 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24882 <kernel-features.h>.
24883 [__ASSUME_32BITUIDS]: Make code unconditional.
24884 [!__ASSUME_32BITUIDS]: Remove conditional code.
24885 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24886 <kernel-features.h>.
24887 [__ASSUME_32BITUIDS]: Make code unconditional.
24888 [!__ASSUME_32BITUIDS]: Remove conditional code.
24889 * sysdeps/unix/sysv/linux/setegid.c: Do not include
24890 <kernel-features.h>.
24891 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
24892 unconditional.
24893 (__setresgid): Do not declare.
24894 [__ASSUME_32BITUIDS]: Make code unconditional.
24895 [!__ASSUME_32BITUIDS]: Remove conditional code.
24896 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
24897 <kernel-features.h>.
24898 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
24899 unconditional.
24900 (__setresuid): Do not declare.
24901 [__ASSUME_32BITUIDS]: Make code unconditional.
24902 [!__ASSUME_32BITUIDS]: Remove conditional code.
24903 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24904 <kernel-features.h>.
24905 [__ASSUME_32BITUIDS]: Make code unconditional.
24906 [!__ASSUME_32BITUIDS]: Remove conditional code.
24907 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
24908 <kernel-features.h>.
24909 [__ASSUME_32BITUIDS]: Make code unconditional.
24910 [!__ASSUME_32BITUIDS]: Remove conditional code.
24911
24912 2012-05-25 Richard Henderson <rth@twiddle.net>
24913
24914 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
24915 dl_hwcap to ifunc resolver.
24916 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
24917 elf_ifunc_invoke.
24918 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
24919 dl_hwcap to ifunc resolver.
24920 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
24921
24922 2012-05-24 Joseph Myers <joseph@codesourcery.com>
24923
24924 [BZ #14153]
24925 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
24926 for |x| <= 2**-26, not 2**-57.
24927 * math/libm-test.inc (acos_test): Do not allow spurious underflow
24928 exception.
24929
24930 2012-05-24 Jeff Law <law@redhat.com>
24931
24932 * stdio-common/Makefile (tests): Add bug25.
24933 * stdio-common/bug25.c: New test.
24934
24935 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24936
24937 [BZ #13576]
24938 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
24939 multiple of MALLOC_ALIGNMENT in size.
24940 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
24941
24942 2012-05-24 Joseph Myers <joseph@codesourcery.com>
24943
24944 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
24945 Require >= 256.
24946 (FILENAME_MAX): Use macro-int-constant.
24947 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
24948 (_IOFBF): Use macro-int-constant.
24949 (_IOLBF): Likewise.
24950 (_IONBF): Likewise.
24951 (SEEK_CUR): Likewise.
24952 (SEEK_END): Likewise.
24953 (SEEK_SET): Likewise.
24954 (TMP_MAX): Likewise.
24955 (EOF): Use macro-int-constant. Require < 0.
24956 (NULL): Use macro-constant. Require == 0.
24957 (stdin): Require type to be FILE *.
24958 (stdout): Likewise.
24959 (stderr): Likewise.
24960 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
24961 macro-int-constant.
24962 (EXIT_SUCCESS): Likewise.
24963 (NULL): Use macro-constant. Require == 0.
24964 (RAND_MAX): Use macro-int-constant.
24965 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
24966 [C99-based standards] (strtof): Require function.
24967 [C99-based standards] (strtold): Likewise.
24968 [C99-based standards] (strtoll): Likewise.
24969 [C99-based standards] (strtoull): Likewise.
24970 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
24971 [ISO || ISO99 || ISO11] (limits.h): Likewise.
24972 [ISO || ISO99 || ISO11] (math.h): Likewise.
24973 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
24974 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
24975 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24976
24977 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
24978
24979 [BZ #14132]
24980 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
24981 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
24982 * intl/dgettext.c (DCGETTEXT): Likewise.
24983 * intl/gettext.c (DCGETTEXT): Likewise.
24984 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
24985 * posix/regex_internal.h (gettext): Likewise.
24986 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
24987 Remove declaration.
24988 * include/argz.h (__argz_count_internal)
24989 (__argz_stringify_internal): Remove declaration.
24990 (__argz_count, __argz_stringify): Declare hidden proto.
24991 * intl/dcgettext.c: Remove use of INTDEF.
24992 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
24993 * string/argz-stringify.c: Likewise.
24994 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24995 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24996 Declare hidden proto.
24997 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24998 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24999 Declare hidden proto.
25000 * include/stdio.h (__asprintf_internal): Don't declare.
25001 (__asprintf): Don't define as macro. Declare hidden proto.
25002 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
25003 (__fsetlocking): Declare hidden proto.
25004 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
25005 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
25006 hidden proto.
25007 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
25008 (_IO_setlinebuf): Remove use of INTUSE.
25009 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
25010 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
25011 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
25012 Remove declaration.
25013 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
25014 (_IO_do_flush): Remove use of INTUSE.
25015 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
25016 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
25017 (_IO_adjust_column, _IO_least_wmarker)
25018 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
25019 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
25020 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
25021 (_IO_default_doallocate, _IO_wdefault_doallocate)
25022 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
25023 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
25024 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
25025 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
25026 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
25027 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
25028 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
25029 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
25030 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
25031 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
25032 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
25033 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
25034 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
25035 proto.
25036 (_IO_flush_all_internal, _IO_adjust_column_internal)
25037 (_IO_default_uflow_internal, _IO_default_finish_internal)
25038 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
25039 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
25040 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
25041 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
25042 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
25043 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
25044 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
25045 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
25046 (_IO_file_close_internal, _IO_file_close_it_internal)
25047 (_IO_file_underflow_internal, _IO_file_overflow_internal)
25048 (_IO_file_init_internal, _IO_file_attach_internal)
25049 (_IO_file_fopen_internal, _IO_file_read_internal)
25050 (_IO_file_sync_internal, _IO_file_seek_internal)
25051 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
25052 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
25053 (_IO_str_underflow_internal, _IO_str_overflow_internal)
25054 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
25055 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
25056 (_IO_list_all_internal, _IO_link_in_internal)
25057 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
25058 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
25059 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
25060 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
25061 (_IO_do_write_internal, _IO_padn_internal)
25062 (_IO_getline_info_internal, _IO_getline_internal)
25063 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
25064 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
25065 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
25066 (_IO_vfscanf_internal, _IO_vfprintf_internal)
25067 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
25068 (_IO_init_internal, _IO_un_link_internal): Don't declare.
25069 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
25070 with libc_hidden_ver, remove use of INTUSE.
25071 * libio/genops.c: Likewise.
25072 * libio/freopen.c: Likewise.
25073 * libio/freopen64.c: Likewise.
25074 * libio/iofclose.c: Likewise.
25075 * libio/iofdopen.c: Likewise.
25076 * libio/iofflush.c: Likewise.
25077 * libio/iofflush_u.c: Likewise.
25078 * libio/iofgets.c: Likewise.
25079 * libio/iofgets_u.c: Likewise.
25080 * libio/iofopen.c: Likewise.
25081 * libio/iofopncook.c: Likewise.
25082 * libio/iofread.c: Likewise.
25083 * libio/iofread_u.c: Likewise.
25084 * libio/ioftell.c: Likewise.
25085 * libio/iofwrite.c: Likewise.
25086 * libio/iogetline.c: Likewise.
25087 * libio/iogets.c: Likewise.
25088 * libio/iogetwline.c: Likewise.
25089 * libio/iopadn.c: Likewise.
25090 * libio/iopopen.c: Likewise.
25091 * libio/ioseekoff.c: Likewise.
25092 * libio/ioseekpos.c: Likewise.
25093 * libio/iosetbuffer.c: Likewise.
25094 * libio/iosetvbuf.c: Likewise.
25095 * libio/ioungetc.c: Likewise.
25096 * libio/ioungetwc.c: Likewise.
25097 * libio/iovdprintf.c: Likewise.
25098 * libio/iovsprintf.c: Likewise.
25099 * libio/iovsscanf.c: Likewise.
25100 * libio/memstream.c: Likewise.
25101 * libio/obprintf.c: Likewise.
25102 * libio/oldfileops.c: Likewise.
25103 * libio/oldiofclose.c: Likewise.
25104 * libio/oldiofdopen.c: Likewise.
25105 * libio/oldiofopen.c: Likewise.
25106 * libio/oldiopopen.c: Likewise.
25107 * libio/oldstdfiles.c: Likewise.
25108 * libio/putc.c: Likewise.
25109 * libio/setbuf.c: Likewise.
25110 * libio/setlinebuf.c: Likewise.
25111 * libio/stdfiles.c: Likewise.
25112 * libio/strops.c: Likewise.
25113 * libio/vasprintf.c: Likewise.
25114 * libio/vscanf.c: Likewise.
25115 * libio/vsnprintf.c: Likewise.
25116 * libio/vswprintf.c: Likewise.
25117 * libio/wfiledoalloc.c: Likewise.
25118 * libio/wfileops.c: Likewise.
25119 * libio/wgenops.c: Likewise.
25120 * libio/wmemstream.c: Likewise.
25121 * libio/wstrops.c: Likewise.
25122 * libio/__fpurge.c: Likewise.
25123 * libio/__fsetlocking.c: Likewise.
25124 * assert/assert.c: Likewise.
25125 * debug/fgets_chk.c: Likewise.
25126 * debug/fgets_u_chk.c: Likewise.
25127 * debug/fread_chk.c: Likewise.
25128 * debug/fread_u_chk.c: Likewise.
25129 * debug/gets_chk.c: Likewise.
25130 * debug/obprintf_chk.c: Likewise.
25131 * debug/vasprintf_chk.c: Likewise.
25132 * debug/vdprintf_chk.c: Likewise.
25133 * debug/vsnprintf_chk.c: Likewise.
25134 * debug/vsprintf_chk.c: Likewise.
25135 * malloc/mtrace.c: Likewise.
25136 * misc/error.c: Likewise.
25137 * misc/syslog.c: Likewise.
25138 * stdio-common/asprintf.c: Likewise.
25139 * stdio-common/fxprintf.c: Likewise.
25140 * stdio-common/getw.c: Likewise.
25141 * stdio-common/isoc99_fscanf.c: Likewise.
25142 * stdio-common/isoc99_scanf.c: Likewise.
25143 * stdio-common/isoc99_vfscanf.c: Likewise.
25144 * stdio-common/isoc99_vscanf.c: Likewise.
25145 * stdio-common/isoc99_vsscanf.c: Likewise.
25146 * stdio-common/printf-prs.c: Likewise.
25147 * stdio-common/printf_fp.c: Likewise.
25148 * stdio-common/printf_fphex.c: Likewise.
25149 * stdio-common/printf_size.c: Likewise.
25150 * stdio-common/putw.c: Likewise.
25151 * stdio-common/scanf.c: Likewise.
25152 * stdio-common/sprintf.c: Likewise.
25153 * stdio-common/tmpfile.c: Likewise.
25154 * stdio-common/vfprintf.c: Likewise.
25155 * stdio-common/vfscanf.c: Likewise.
25156 * stdlib/strfmon_l.c: Likewise.
25157 * sunrpc/openchild.c: Likewise.
25158 * sunrpc/xdr_stdio.c: Likewise.
25159 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
25160 * sysdeps/mach/hurd/tmpfile.c: Likewise.
25161
25162 2012-05-24 Roland McGrath <roland@hack.frob.com>
25163
25164 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
25165
25166 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
25167 in the third column, to generate for the shared library an IFUNC
25168 that uses _dl_vdso_vsym.
25169 * Makerules (COMPILE.c, compile-stdin.c): New variables.
25170 * Makeconfig (object-suffixes-noshared): New variable.
25171
25172 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
25173 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
25174 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
25175 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
25176
25177 [BZ #14132]
25178 * include/sys/time.h (__gettimeofday): Remove macro.
25179 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
25180 * time/gettimeofday.c (__gettimeofday): Remove #undef.
25181 Remove INTDEF.
25182 (__gettimeofday): Add libc_hidden_def.
25183 (gettimeofday): Add libc_hidden_weak.
25184 * sysdeps/mach/gettimeofday.c: Likewise.
25185 * sysdeps/posix/gettimeofday.c: Likewise.
25186 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
25187 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
25188 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
25189 (__gettimeofday_internal): Remove strong_alias.
25190 (__gettimeofday): Add libc_hidden_def.
25191 (gettimeofday): Add libc_hidden_weak.
25192 * sysdeps/unix/syscalls.list (gettimeofday):
25193 Remove __gettimeofday_internal alias.
25194
25195 2012-05-24 Daniel Jacobowitz <drow@false.org>
25196 H.J. Lu <hongjiu.lu@intel.com>
25197
25198 [BZ #12495]
25199 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
25200 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
25201 (largebin_index_32_big): New.
25202 (largebin_index): Use it for 16-byte alignment.
25203 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
25204 correction with front_misalign.
25205
25206 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
25207
25208 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
25209 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
25210 Likewise.
25211 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
25212 Likewise.
25213 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
25214 Likewise.
25215 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
25216 Likewise.
25217 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
25218 Likewise.
25219 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
25220 Likewise.
25221 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
25222 Likewise.
25223 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25224 Likewise.
25225 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
25226 Likewise.
25227 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
25228 Likewise.
25229 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
25230 Likewise.
25231 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
25232 Likewise.
25233
25234 * scripts/data/c++-types-x32-linux-gnu.data: New file.
25235 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
25236
25237 2012-05-24 Joseph Myers <joseph@codesourcery.com>
25238
25239 [BZ #10846]
25240 [BZ #14036]
25241 * math/libm-test.inc (exp_test): Add test from bug 14036.
25242 (pow_test): Add test from bug 10846.
25243
25244 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
25245 and other flags.
25246 (special_function): Do not include flags in test name.
25247 (parse_args): Likewise.
25248 * sysdeps/i386/fpu/libm-test-ulps: Update.
25249 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25250 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25251 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25253
25254 * math/gen-libm-test.pl (%beautify): Add entries for underflow
25255 exceptions.
25256 * math/libm-test.inc ("Philosophy"): Update comment about
25257 exception testing.
25258 (UNDERFLOW_EXCEPTION): New macro.
25259 (UNDERFLOW_EXCEPTION_OK): Likewise.
25260 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
25261 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
25262 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
25263 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
25264 (INVALID_EXCEPTION_OK): Update value.
25265 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25266 (OVERFLOW_EXCEPTION_OK): Likewise.
25267 (IGNORE_ZERO_INF_SIGN): Likewise.
25268 (test_exceptions): Handle underflow exceptions.
25269 (acos_test): Update for underflow exception expectations.
25270 (cexp_test): Likewise.
25271 (clog_test): Likewise.
25272 (clog10_test): Likewise.
25273 (csqrt_test): Likewise.
25274 (ctan_test): Likewise.
25275 (ctanh_test): Likewise.
25276 (exp_test): Likewise.
25277 (exp10_test): Likewise.
25278 (exp2_test): Likewise.
25279 (expm1_test): Likewise.
25280 (fma_test): Likewise.
25281 (j0_test): Likewise.
25282 (jn_test): Likewise.
25283 (nexttoward_test): Likewise.
25284 (pow_test): Likewise.
25285 (scalbn_test): Likewise.
25286 (scalbln_test): Likewise.
25287 (tan_test): Likewise.
25288 (y1_test): Likewise.
25289 * sysdeps/i386/fpu/libm-test-ulps: Update.
25290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25291
25292 2012-05-23 David S. Miller <davem@davemloft.net>
25293
25294 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
25295 (__libc_sigaction): Remove unused local variables.
25296
25297 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25298
25299 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
25300
25301 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
25302
25303 mktime: avoid signed integer overflow
25304 * time/mktime.c (__mktime_internal): Do not mishandle the case
25305 where diff == INT_MIN.
25306
25307 mktime: simplify computation of average
25308 * time/mktime.c (ranged_convert): Use new time_t_avg function
25309 instead of rolling our own (probably-slower) code.
25310
25311 mktime: do not assume signed right shift propagates sign bit
25312 * time/mktime.c (isdst_differ): New static function.
25313 (__mktime_internal): No need to normalize tm_isdst now.
25314 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
25315 tm_isdst values.
25316
25317 mktime: merge another wrapv change from gnulib
25318 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
25319 from some compilers.
25320
25321 mktime: remove incorrect attempt at unusual arithmetics
25322 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
25323 The code didn't really work on such machines anyway.
25324 (TYPE_MINIMUM): Assume two's complement.
25325 (twos_complement_arithmetic): Verify that long_int and time_t
25326 are two's complement (or unsigned, in the latter case).
25327
25328 mktime: check signed shifts on long_int and time_t, too
25329 * time/mktime.c (SHR): Check that shifts work as desired
25330 on the types long_int and time_t too, as SHR is used on
25331 such types.
25332
25333 mktime: do not assume 'long' is wide enough
25334 * time/mktime.c (verify): Move decl up.
25335 (long_int): New type.
25336 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
25337 to remove assumption in the code that 'long' is wide enough to
25338 store year values. This assumption is not true on x32 and on
25339 some non-glibc platforms.
25340
25341 mktime: merge wrapv change from gnulib
25342 * time/mktime.c (WRAPV): New macro.
25343 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
25344 (guess_time_tm, __mktime_internal): Do not assume that signed
25345 integer overflow wraps around; modern compilers generate code
25346 where this assumption is no longer valid.
25347
25348 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25349
25350 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
25351 Replace "jmp L(pseudo_end)" with "ret".
25352 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
25353 Likewise.
25354
25355 2012-05-23 Andreas Jaeger <aj@suse.de>
25356
25357 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
25358 * sysdeps/unix/sysv/linux/poll.c: Remove file.
25359
25360 2012-05-23 Andreas Jaeger <aj@suse.de>
25361 Maximilian Attems <max@stro.at>
25362
25363 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
25364 New macros.
25365
25366 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25367
25368 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
25369 code so that pseudo_end is just ret and the stack pointer is
25370 correct also for static library in error case.
25371
25372 2012-05-23 Joseph Myers <joseph@codesourcery.com>
25373
25374 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
25375 move to syscalls.list.
25376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
25377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25380
25381 * manual/install.texi (Running make install): Do not mention Linux
25382 kernel version for which pt_chown is not needed.
25383 (Linux): Do not mention problems with nscd with 2.0 kernels.
25384 * INSTALL: Regenerated.
25385
25386 2012-05-23 Andreas Jaeger <aj@suse.de>
25387
25388 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
25389 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
25390 macro.
25391 * sysdeps/unix/sysv/linux/s390/bits/mman.h
25392 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25393 * sysdeps/unix/sysv/linux/sh/bits/mman.h
25394 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25395 * sysdeps/unix/sysv/linux/i386/bits/mman.h
25396 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25397 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
25398 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25399 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
25400 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25401 * sysdeps/unix/sysv/linux/bits/in.h
25402 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
25403
25404 2012-05-22 Roland McGrath <roland@hack.frob.com>
25405
25406 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
25407 (PREPARE_VERSION): Just use assert instead, it will be elided
25408 under [NDEBUG] anyway.
25409
25410 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25411
25412 * sysdeps/unix/sysv/linux/Makefile: Include
25413 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
25414 (sysdep_routines): Remove sysctl.
25415 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
25416 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
25417 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
25418 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
25419 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
25420
25421 2012-05-22 Andreas Jaeger <aj@suse.de>
25422
25423 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
25424 that pseudo_end is just ret and the stack pointer is correct also
25425 for static library in error case.
25426
25427 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
25428
25429 [BZ #14122]
25430 * nss/nsswitch.c (defconfig_entries): New variable.
25431 (__nss_database_lookup): Don't leak defconfig entries.
25432 (nss_parse_service_list): Don't leak on error paths.
25433 (free_database_entries): New function.
25434 (free_defconfig): New function.
25435 (free_mem): Move common code to free_database_entries.
25436
25437 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25438
25439 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
25440 Add arch_prctl.
25441 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
25442
25443 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25444 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
25445 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
25446 New macro.
25447 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
25448 (INTERNAL_SYSCALL_TYPES): Likewise.
25449 (LOAD_ARGS_TYPES_[1-6]): Likewise.
25450 (LOAD_REGS_TYPES_[1-6]): Likewise.
25451 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
25452 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
25453
25454 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25455
25456 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
25457 copysignl for GLIBC_2_0.
25458 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
25459 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
25460 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
25461 logbl for GLIBC_2_0.
25462 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
25463 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
25464
25465 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25466
25467 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
25468 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25469
25470 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
25471 Use "neg %eax".
25472
25473 * time/mktime.c: Update copyright years.
25474
25475 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
25476
25477 mktime: merge comment-quoting-style change from gnulib
25478 * time/mktime.c: Quote 'like this' in comments.
25479 The GNU coding standards suggest that we no longer quote `like this',
25480 as "`" and "'" are typically rendered asymmetrically nowadays.
25481 The typical gnulib style is to quote 'like this' when quoting
25482 code, and "like this" when quoting English.
25483
25484 * time/mktime.c (compile-command): Add "-I.".
25485
25486 mktime: merge mktime-internal.h change from gnulib
25487 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
25488
25489 mktime: merge time_r change from gnulib
25490 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
25491
25492 mktime: merge DEBUG change from gnulib
25493 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
25494 case system <time.h> has a #define.
25495
25496 mktime: merge <sys/types.h> change from gnulib
25497 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
25498 since <time.t> is now guaranteed to define time_t.
25499
25500 mktime: merge HAVE_CONFIG_H change from gnulib
25501 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
25502
25503 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25504
25505 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25506 Use "neg %eax".
25507
25508 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
25509 __rlim_t cast.
25510 (struct rusage): Use anonymous union to pad each field to
25511 __syscall_slong_t.
25512
25513 2012-05-21 David S. Miller <davem@davemloft.net>
25514
25515 * Makefules (o-iterator): Remove .s cases.
25516 (compile-command.s): Delete.
25517 (COMPILE.s): Delete.
25518 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
25519
25520 2012-05-21 Joseph Myers <joseph@codesourcery.com>
25521
25522 * configure.in (libc_cv_predef_stack_protector): Only consider
25523 "foobar" and "__stack_chk_fail" lines in libc_undefs.
25524 * configure: Regenerated.
25525
25526 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25527
25528 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25529 New macro. Use R*LP on int and pointer.
25530 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
25531 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
25532 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
25533 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
25534
25535 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
25536 [__WORDSIZE_TIME64_COMPAT32] instead of
25537 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
25538 (struct utmp): Likewise.
25539 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
25540 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
25541 Renamed to ...
25542 (__WORDSIZE_TIME64_COMPAT32): This.
25543 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
25544 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
25545 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
25546 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
25547 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
25548 (__WORDSIZE_TIME64_COMPAT32): New macro.
25549
25550 2012-05-21 Andreas Jaeger <aj@suse.de>
25551
25552 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
25553 only if [SHARED]. Add prototype for __wcschr_ia32.
25554
25555 2012-05-21 Roland McGrath <roland@hack.frob.com>
25556
25557 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
25558 of %rbp unmolested in the jmp_buf while mangling the low bits.
25559 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
25560 unmolested high bits of %rbp while demangling the low bits.
25561 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
25562
25563 2012-05-21 Andreas Jaeger <aj@suse.de>
25564
25565 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
25566 * sunrpc/svc_simple.c: Use it for registerrpc.
25567 * sunrpc/xcrypt.c: Use it for passwd2des.
25568
25569 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
25570
25571 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25572
25573 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
25574 Don't define if [__SYSCALL_WORDSIZE != 32].
25575 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
25576 New macro.
25577
25578 2012-05-21 Bruno Haible <bruno@clisp.org>
25579 Andreas Jaeger <aj@suse.de>
25580
25581 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
25582 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
25583 inptr and inend for must_buffer_ch.
25584 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
25585 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
25586 * stdio-common/Makefile (tests): Remove bug15.
25587 (bug15-ENV): Remove macro.
25588 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
25589 anymore.
25590
25591 2012-05-19 Andreas Jaeger <aj@suse.de>
25592 Roland McGrath <roland@hack.frob.com>
25593
25594 * manual/contrib.texi: Completely rewritten. It contains now an
25595 alphabetical list of contributors and their contributions.
25596
25597 2012-05-21 Richard Henderson <rth@twiddle.net>
25598
25599 * misc/getauxval.c (__getauxval): Use unsigned long int.
25600 * misc/sys/auxv.h: Include <sys/cdefs.h>.
25601 (getauxval): Use unsigned long int.
25602
25603 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25604
25605 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
25606
25607 2012-05-21 Roland McGrath <roland@hack.frob.com>
25608
25609 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
25610 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
25611 __alignof__ (long double).
25612
25613 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25614
25615 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25616
25617 2012-05-20 Richard Henderson <rth@twiddle.net>
25618
25619 * misc/getauxval.c: New file.
25620 * misc/sys/auxv.h: New file.
25621 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
25622 (routines): Add getauxval.
25623 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
25624 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
25625 * elf/dl-sysdep.c (_dl_auxv): Remove.
25626 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
25627 * elf/dl-support.c (_dl_auxv): New variable.
25628 (_dl_aux_init): Initialize it.
25629 * manual/startup.texi (Auxiliary Vector): New node.
25630 * sysdeps/generic/bits/hwcap.h: New file.
25631 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
25632 * sysdeps/powerpc/sysdep.h: ... here. Include it.
25633 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
25634 * sysdeps/sparc/sysdep.h: ... here. Include it.
25635 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
25636 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
25637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25638 Update.
25639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
25640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
25641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
25642 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
25643 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25645 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
25646 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
25647
25648 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25649
25650 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25651
25652 2012-05-19 David S. Miller <davem@davemloft.net>
25653
25654 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25655
25656 2012-05-19 Joseph Myers <joseph@codesourcery.com>
25657
25658 [BZ #14123]
25659 * math/s_ccosh.c: Include <float.h>
25660 (__ccosh): Avoid internal overflow calculating sinh and cosh
25661 values before multiplying by sin and cos values.
25662 * math/s_ccoshf.c: Likewise.
25663 * math/s_ccoshl.c: Likewise.
25664 * math/s_csin.c: Likewise.
25665 * math/s_csinf.c: Likewise.
25666 * math/s_csinl.c: Likewise.
25667 * math/s_csinh.c: Likewise.
25668 * math/s_csinhf.c: Likewise.
25669 * math/s_csinhl.c: Likewise.
25670 * math/libm-test.inc (ccos_test): Add more tests.
25671 (ccosh_test): Likewise.
25672 (csin_test): Likewise.
25673 (csinh_test): Likewise.
25674 * sysdeps/i386/fpu/libm-test-ulps: Update.
25675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25676
25677 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
25678
25679 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
25680 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
25681
25682 * sysdeps/x86_64/x32/_itoa.h: Add comment.
25683
25684 2012-05-19 Joseph Myers <joseph@codesourcery.com>
25685
25686 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
25687 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
25688 * sysdeps/powerpc/soft-fp/Versions: Likewise.
25689 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
25690 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
25691 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
25692 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
25693 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
25694 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
25695 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
25696 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
25697 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
25698 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
25699 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
25700 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
25701 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
25702 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
25703 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
25704 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
25705 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
25706 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
25707 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
25708 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
25709 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
25710 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
25711 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
25712 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
25713 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
25714 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
25715 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
25716 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
25717
25718 2012-05-18 Andreas Jaeger <aj@suse.de>
25719
25720 * csu/.gitignore: Delete.
25721
25722 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25723
25724 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
25725 (timex): Use __syscall_slong_t.
25726
25727 2012-05-18 Andreas Jaeger <aj@suse.de>
25728 Carlos O'Donell <carlos_odonell@mentor.com>
25729
25730 * manual/install.texi (Configuring and compiling): Update
25731 description about files modified in the source directory.
25732 * INSTALL: Regenerated.
25733
25734 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25735
25736 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
25737 value. Use "or" to set return value to -1.
25738 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
25739 negate return value.
25740
25741 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25742
25743 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
25744 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
25745 failure if the compiler has Graphite support disabled.
25746 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
25747 Likewise.
25748 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
25749 CFLAGS-memmove.c): Likewise.
25750 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
25751 Likewise.
25752
25753 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25754
25755 * sysdeps/x86_64/x32/_itoa.h: New file.
25756
25757 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
25758 getdents system call only if kernel and user dirents have the
25759 same d_ino and d_off.
25760
25761 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25762 LLONG_MAX != LONG_MAX.
25763 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25764 (_fitoa_word): Likewise.
25765
25766 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
25767 years.
25768 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
25769 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
25770 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
25771
25772 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
25773 include <bits/wordsize.h>. Check __x86_64__ instead of
25774 __WORDSIZE.
25775 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
25776 if __x86_64__ is defined. Use anonymous union on fpstate.
25777
25778 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
25779 anonymous union.
25780
25781 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
25782
25783 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
25784 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
25785 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
25786 Refer to _rtld_local_ro instead of _rtld_global_ro.
25787 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
25788 Likewise.
25789 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
25790 Likewise.
25791 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
25792 Likewise.
25793 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
25794 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
25795 of _rtld_global, and rtld_progname instead of _dl_argv[0].
25796
25797 * sysdeps/powerpc/powerpc32/dl-machine.c
25798 (__elf_machine_runtime_setup) [PROF]: Don't reference
25799 _dl_prof_resolve.
25800
25801 2012-05-18 Andreas Jaeger <aj@suse.de>
25802
25803 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
25804 function only available for GCCs before 3.4 since GCC 3.4
25805 introduced a builtin.
25806 (lrint): Likewise.
25807 (llrintf): Likewise.
25808 (llrint): Likewise.
25809 (fmaxf): Likewise.
25810 (fmax): Likewise.
25811 (fminf): Likewise.
25812 (fmin): Likewise.
25813 (rint): Likewise.
25814 (rintf): Likewise.
25815 (nearbyint): Likewise.
25816 (nearbyintf): Likewise.
25817 (ceil): Likewise.
25818 (ceilf): Likewise.
25819 (floor): Likewise.
25820 (floorf): Likewise.
25821
25822 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25823
25824 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
25825 on both fields and cast pointer to __syscall_ulong_t.
25826
25827 * bits/types.h (__fsword_t): New type.
25828 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
25829 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
25830 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25831 (__FSWORD_T_TYPE): Likewise.
25832 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25833 (__FSWORD_T_TYPE): Likewise.
25834 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25835 (__FSWORD_T_TYPE): Likewise.
25836 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
25837 (__FSWORD_T_TYPE): Likewise.
25838 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
25839 __SWORD_TYPE with __fsword_t.
25840 (statfs64): Likewise.
25841
25842 2012-05-17 David S. Miller <davem@davemloft.net>
25843
25844 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
25845
25846 2012-05-17 Andreas Jaeger <aj@suse.de>
25847
25848 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
25849 warning.
25850
25851 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25852
25853 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
25854
25855 2012-05-17 Andreas Jaeger <aj@suse.de>
25856
25857 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
25858 when it is used.
25859
25860 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25861
25862 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
25863
25864 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25865
25866 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
25867 * sysdeps/x86_64/tst-mallocalign1.c: New file.
25868
25869 2012-05-17 Andreas Jaeger <aj@suse.de>
25870 Carlos O'Donell <carlos_odonell@mentor.com>
25871
25872 [BZ #14059]
25873 * sysdeps/x86_64/multiarch/init-arch.h
25874 (bit_YMM_Usable): Rename to...
25875 (bit_AVX_Usable): ... this.
25876 (bit_FMA4_Usable): New macro.
25877 (bit_XMM_state): New macro.
25878 (bit_YMM_state): New macro.
25879 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
25880 [__ASSEMBLER__] (index_AVX_Usable): ... this.
25881 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
25882 (CPUID_OSXSAVE): New macro.
25883 (CPUID_AVX): New macro.
25884 (CPUID_FMA4): New macro.
25885 (index_YMM_Usable): Rename to...
25886 (index_AVX_Usable): ... this.
25887 (HAS_AVX): Use HAS_ARCH_FEATURE.
25888 (HAS_FMA4): Likewise.
25889 (HAS_YMM_USABLE): Remove.
25890 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25891 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
25892 are present.
25893 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
25894 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
25895 * sysdeps/x86_64/multiarch/Makefile: Likewise.
25896 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
25897 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
25898
25899 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25900
25901 * math/libm-test.c: Support platforms without multiple rounding modes.
25902 * math/bug-nextafter.c: Support platforms without FP exceptions.
25903 * math/bug-nexttoward.c: Likewise.
25904 * math/test-fenv.c: Likewise.
25905 * math/test-misc.c: Likewise.
25906 * stdlib/bug-getcontext.c: Likewise.
25907
25908 2012-05-17 Andreas Jaeger <aj@suse.de>
25909
25910 * manual/examples/search.c (critter_cmp): Change signature to
25911 avoid warnings.
25912 * manual/string.texi (Collation Functions): Likewise.
25913
25914 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25915
25916 * bits/types.h: Fold copyright years.
25917 * bits/typesizes.h: Likewise.
25918 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
25919 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25920 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
25921 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
25922 * time/time.h: Likewise.
25923
25924 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
25925
25926 [BZ #208]
25927 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
25928 in instead of returning them. Return void.
25929 (__libc_mallinfo): Accumulate over all arenas.
25930 (__malloc_stats): Adjust for change in int_mallinfo interface.
25931
25932 2012-05-16 Roland McGrath <roland@hack.frob.com>
25933
25934 [BZ #10375]
25935 * configure.in (NM): Add AC_CHECK_TOOL for it.
25936 (libc_extra_cflags): New substituted variable.
25937 Check for -fstack-protector being used implicitly.
25938 * configure: Regenerated.
25939 * config.make.in (config-extra-cflags): New variable,
25940 gets @libc_extra_cflags@.
25941 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
25942
25943 [BZ #10375]
25944 * configure.in: Check for _FORTIFY_SOURCE being predefined.
25945 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
25946 * configure: Regenerated.
25947 * config.make.in (CPPUNDEFS): New substituted variable.
25948 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
25949 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
25950 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
25951
25952 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25953
25954 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
25955 (mq_attr): Use __syscall_slong_t.
25956
25957 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25958
25959 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
25960 Check __x86_64__ instead of __WORDSIZE.
25961 (_STAT_VER_LINUX): Likewise.
25962 (stat): Check __x86_64__ instead of __WORDSIZE. Use
25963 __syscall_ulong_t and __syscall_slong_t.
25964 (stat64): Likewise.
25965
25966 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25967
25968 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
25969
25970 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25971
25972 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
25973
25974 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25975
25976 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
25977 __syscall_ulong_t.
25978
25979 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
25980 include <bits/wordsize.h>. Check __x86_64__ instead of
25981 __WORDSIZE.
25982 (greg_t): Use "__extension__ long long int" if __x86_64__ is
25983 defined.
25984 (mcontext_t): Replace "unsigned long" with "unsigned long long".
25985
25986 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
25987 include <bits/wordsize.h>. Check __x86_64__ instead of
25988 __WORDSIZE.
25989 (user_regs_struct): Use "__extension__ unsigned long long"
25990 instead of "unsigned long" if __x86_64__ is defined.
25991 (user): Likewise. Pad after pointer field if __ILP32__ is
25992 defined.
25993
25994 2012-05-16 Joseph Myers <joseph@codesourcery.com>
25995
25996 * configure.in (makeinfo): Require version 4.5 or later. Allow
25997 versions 5 to 9.
25998 * configure: Regenerated.
25999 * manual/install.texi (texinfo): Increase version requirement to
26000 4.5 or later.
26001 * INSTALL: Regenerated.
26002
26003 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
26004
26005 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
26006
26007 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
26008
26009 * sysdeps/x86_64/x32/ffs.c: New file.
26010
26011 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
26012 __syscall_ulong_t.
26013 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
26014 defined. Use __syscall_ulong_t.
26015 (shminfo): Use __syscall_ulong_t.
26016 (shm_info): Likewise.
26017
26018 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
26019 __syscall_ulong_t.
26020
26021 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
26022 <bits/wordsize.h>.
26023 (msgqnum_t): Use __syscall_ulong_t.
26024 (msglen_t): Likewise.
26025 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
26026 __syscall_ulong_t.
26027
26028 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
26029 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
26030
26031 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
26032
26033 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
26034 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
26035
26036 * sysvipc/sys/msg.h (msgbuf): Replace long int with
26037 __syscall_slong_t.
26038
26039 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
26040 include <bits/wordsize.h>. Check __x86_64__ instead of
26041 __WORDSIZE.
26042
26043 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
26044 "unsigned long long int" if __x86_64__ is defined.
26045 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
26046
26047 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
26048 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
26049 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
26050
26051 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
26052 <stdint.h>.
26053 (GET_PC): Cast to uintptr_t first.
26054 (GET_FRAME): Likewise.
26055 (GET_STACK): Likewise.
26056
26057 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
26058 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
26059 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
26060 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
26061 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
26062 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
26063 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
26064 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
26065 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
26066 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
26067 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
26068 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
26069 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26070 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
26071 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
26072 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
26073 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
26074 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
26075 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
26076 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
26077 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
26078 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
26079 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
26080 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
26081 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
26082 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
26083 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
26084 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
26085 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
26086
26087 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
26088
26089 * Makerules (+depfiles): Also collect depfiles from .oS in
26090 $(extra-objs).
26091 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
26092 .oS, $(libnldbl-routines)).
26093
26094 * Makerules (native-compile-mkdep-flags): Define.
26095 * sunrpc/Makefile (extra-objs): Add $(addprefix
26096 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
26097 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
26098 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
26099 calling $(make-target-directory).
26100
26101 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26102
26103 * bits/types.h (__snseconds_t): Removed.
26104 * time/time.h (struct timespec): Replace __snseconds_t with
26105 __syscall_slong_t.
26106 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
26107 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
26108 Likewise.
26109 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26110 (__SNSECONDS_T_TYPE): Likewise.
26111 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26112 (__SNSECONDS_T_TYPE): Likewise.
26113 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26114 (__SNSECONDS_T_TYPE): Likewise.
26115
26116 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26117
26118 * sysdeps/mach/hurd/bits/typesizes.h
26119 (__SYSCALL_SLONG_TYPE): New macro.
26120 (__SYSCALL_ULONG_TYPE): Likewise.
26121
26122 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26123
26124 * bits/types.h (__syscall_slong_t): New type.
26125 (__syscall_ulong_t): Likewise.
26126
26127 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
26128 (__SYSCALL_ULONG_TYPE): Likewise.
26129 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26130 (__SYSCALL_SLONG_TYPE): Likewise.
26131 (__SYSCALL_ULONG_TYPE): Likewise.
26132 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26133 (__SYSCALL_SLONG_TYPE): Likewise.
26134 (__SYSCALL_ULONG_TYPE): Likewise.
26135 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26136 (__SYSCALL_SLONG_TYPE): Likewise.
26137 (__SYSCALL_ULONG_TYPE): Likewise.
26138
26139 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26140
26141 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
26142 Add sigaltstack-offsets.sym.
26143 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
26144 <sigaltstack-offsets.h>.
26145 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
26146 longjmp_msg pointer.
26147 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
26148 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
26149 signal stack.
26150 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
26151
26152 2012-05-15 Joseph Myers <joseph@codesourcery.com>
26153
26154 * elf/stackguard-macros.h: Remove file.
26155 * sysdeps/generic/stackguard-macros.h: New file.
26156 * sysdeps/i386/stackguard-macros.h: Likewise.
26157 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
26158 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
26159 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26160 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26161 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
26162 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
26163 * sysdeps/x86_64/stackguard-macros.h: Likewise.
26164 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
26165 <elf/stackguard-macros.h>.
26166
26167 [BZ #14109]
26168 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
26169 __aligned__ in attribute.
26170 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
26171 (gregset_t): Likewise.
26172
26173 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26174
26175 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
26176 * sysdeps/x86_64/64/Implies-after: Here. New file.
26177 * sysdeps/x86_64/x32/Implies-after: New file.
26178
26179 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26180
26181 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
26182 and access return value for _dl_profile_fixup. Use R10_LP to
26183 load frame size.
26184
26185 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26186
26187 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
26188
26189 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26190
26191 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
26192 * sysdeps/x86_64/x32/sysdep.h: New file.
26193
26194 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26195
26196 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
26197 * sysdeps/x86_64/setjmp.S: Likewise.
26198
26199 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26200
26201 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
26202 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
26203 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
26204 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
26205 remove unused global constant.
26206
26207 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
26208
26209 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
26210 include of <not-cancel.h>.
26211
26212 2012-05-15 Roland McGrath <roland@hack.frob.com>
26213
26214 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
26215
26216 2012-05-15 Jeff Law <law@redhat.com>
26217 Andreas Jaeger <aj@suse.de>
26218
26219 [BZ #13594]
26220 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
26221 out from...
26222 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
26223 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
26224 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
26225 code changing __hst_map_handle.map.
26226
26227 2012-05-15 Roland McGrath <roland@hack.frob.com>
26228
26229 * configure.in (sysnames): Look for Implies-before and Implies-after
26230 files.
26231 * configure: Regenerated.
26232
26233 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26234
26235 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
26236 8-byte data alignment with LP_SIZE alignment.
26237
26238 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26239
26240 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
26241 into R10_LP.
26242
26243 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26244
26245 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
26246
26247 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26248
26249 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
26250 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
26251 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
26252 Likewise.
26253 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26254
26255 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26256
26257 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
26258 (stackinfo_sub_sp): Likewise.
26259
26260 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26261
26262 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
26263 RAX_LP.
26264
26265 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26266
26267 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
26268 into R*_LP.
26269
26270 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26271
26272 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
26273 sizes into R*_LP.
26274
26275 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26276
26277 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
26278
26279 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26280
26281 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
26282 into R11_LP and load __x86_64_shared_cache_size_half into
26283 R8_LP.
26284
26285 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26286
26287 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
26288 R8_LP.
26289
26290 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26291
26292 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
26293 logb for POWER7.
26294 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
26295 logbf for POWER7.
26296 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
26297 logbl for POWER7.
26298 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
26299 powerpc32/power7/fpu/s_logb.c via #include.
26300 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
26301 powerpc32/power7/fpu/s_logbf.c via #include.
26302 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
26303 powerpc32/power7/fpu/s_logbl.c via #include.
26304
26305 2012-05-15 Joseph Myers <joseph@codesourcery.com>
26306
26307 * README.libm: Remove file.
26308
26309 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26310
26311 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
26312 count for x32. Use R*_LP and omit operand-size suffix.
26313
26314 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26315
26316 * shlib-versions: Move x86_64-.*-linux.* entries to ...
26317 * sysdeps/x86_64/64/shlib-versions: Here. New file.
26318 * sysdeps/x86_64/x32/shlib-versions: New file.
26319
26320 2012-05-14 Roland McGrath <roland@hack.frob.com>
26321
26322 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
26323 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
26324 Use _dl_fatal_printf instead.
26325
26326 2012-05-14 Joseph Myers <joseph@codesourcery.com>
26327
26328 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
26329 set if not set by the user. Do not allow for being unset.
26330 * sysdeps/unix/sysv/linux/configure: Regenerated.
26331
26332 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26333
26334 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
26335 the `q' suffix from lea and replace .quad with ASM_ADDR.
26336
26337 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26338
26339 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
26340 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
26341 instead of $17.
26342 (PTR_DEMANGLE): Likewise.
26343
26344 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26345
26346 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
26347 (LP_OP): Likewise.
26348 (ASM_ADDR): Likewise.
26349 (RAX_LP): Likewise.
26350 (RBP_LP): Likewise.
26351 (RBX_LP): Likewise.
26352 (RCX_LP): Likewise.
26353 (RDI_LP): Likewise.
26354 (RSI_LP): Likewise.
26355 (RSP_LP): Likewise.
26356 (R8_LP): Likewise.
26357 (R9_LP): Likewise.
26358 (R10_LP): Likewise.
26359 (R10_LP): Likewise.
26360 (R11_LP): Likewise.
26361 (R12_LP): Likewise.
26362 (R13_LP): Likewise.
26363 (R14_LP): Likewise.
26364 (R15_LP): Likewise.
26365
26366 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26367
26368 * sysdeps/x86_64/x32/dl-machine.h: New file.
26369
26370 2012-05-14 Andreas Jaeger <aj@suse.de>
26371
26372 * manual/Makefile (subdir): Remove export of subdir.
26373 (all): Remove target.
26374 (.PHONY): Remove all from list.
26375 (mkinstalldirs): Remove.
26376 (.PHONY): Remove installdirs from list.
26377 ($(inst_infodir)/libc.info): Use make-target-directory.
26378 (installdirs): Remove.
26379 (subdir_%): Remove.
26380 (glibc-targets): Remove.
26381 (lib): Remove.
26382 (stubs): Remove.
26383 ($(objpfx)stubs ../po/manual.pot): Remove.
26384 ($(objpfx)stamp%): Remove.
26385 (make-target-directory): Remove.
26386 (subdir_install): Remove.
26387 (routines): Remove.
26388 (aux): Remove.
26389 (sources): Remove.
26390 (objects): Remove.
26391 (headers): Remove.
26392
26393 [BZ #13750]
26394 * manual/.gitignore: Remove, it's not needed anymore.
26395 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
26396 all files in it.
26397 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
26398 directory.
26399 (texis): Renamed to $(objpfx)texis.
26400 (texis-path): New, contains path to generated files.
26401 (chapters.%): Use texis-path for complete path, add extra argument
26402 libc-texinfo.sh.
26403 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
26404 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
26405 (summary,texi, stamp-summary): Use complete path of
26406 files. Generate files in build dir.
26407 (dir-add.texi): Build in build dir.
26408 (libm-err.texi,stamp-libm-err): Likewise.
26409 (version.texi, stamp-version): Likewise.
26410 (.%c.texi): Likewise.
26411 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
26412 (mostlyclean): Remove target.
26413 (realclean): Remove target.
26414 (generated): Add new variable with contents from mostlyclean and
26415 realclean, remove entries duplicated in common-mostlyclean, add
26416 stamp-libm-err and stamp-version.
26417 (generated-dirs): Add libc directory.
26418 ($(inst_infodir)/libc.info): Install files from build dir.
26419
26420 * manual/install.texi (Configuring and compiling): Adjust since
26421 the info files are not part of the tar ball anymore.
26422
26423 2012-05-14 Andreas Jaeger <aj@suse.de>
26424
26425 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
26426 variable.
26427
26428 2012-05-14 Joseph Myers <joseph@codesourcery.com>
26429
26430 [BZ #13717]
26431 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26432 to 2.2.0 where earlier.
26433 * sysdeps/unix/sysv/linux/configure: Regenerated.
26434 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
26435 Remove conditional code.
26436 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
26437 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
26438 Remove conditional code.
26439 [!__NR_lchown]: Likewise.
26440 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26441 [__NR_lchown]: Likewise.
26442 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
26443 comment referencing __ASSUME_LCHOWN_SYSCALL.
26444 * sysdeps/unix/sysv/linux/i386/sigaction.c
26445 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26446 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26447 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
26448 Remove conditional code.
26449 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
26450 (__protocol_available): Remove #if 0 code.
26451 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
26452 conditional code.
26453 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
26454 * sysdeps/unix/sysv/linux/kernel-features.h
26455 (__ASSUME_GETCWD_SYSCALL): Don't define.
26456 (__ASSUME_REALTIME_SIGNALS): Likewise.
26457 (__ASSUME_PREAD_SYSCALL): Likewise.
26458 (__ASSUME_PWRITE_SYSCALL): Likewise.
26459 (__ASSUME_POLL_SYSCALL): Likewise.
26460 (__ASSUME_LCHOWN_SYSCALL): Likewise.
26461 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
26462 non-SPARC.
26463 (__ASSUME_SIOCGIFNAME): Don't define.
26464 (__ASSUME_MSG_NOSIGNAL): Likewise.
26465 (__ASSUME_SENDFILE): Define unconditionally.
26466 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
26467 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
26468 conditional code.
26469 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
26470 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
26471 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
26472 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26473 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
26474 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
26475 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
26477 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26478 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
26480 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26481 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
26483 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26484 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
26486 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26487 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
26489 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26490 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
26492 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26493 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
26495 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26496 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
26498 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26499 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26500 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
26501 Remove conditional code.
26502 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26503 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26504 Remove conditional code.
26505 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26506 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
26507 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
26508 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26509 Remove conditional code.
26510 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26511 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
26512 Remove conditional code.
26513 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26514 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
26515 Remove conditional code.
26516 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26517 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26518 Remove conditional code.
26519 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26520 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26521 Remove conditional code.
26522 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26523 * sysdeps/unix/sysv/linux/sh/pwrite64.c
26524 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26525 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26526 * sysdeps/unix/sysv/linux/sigaction.c
26527 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26528 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26529 * sysdeps/unix/sysv/linux/sigpending.c
26530 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26531 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26532 * sysdeps/unix/sysv/linux/sigprocmask.c
26533 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26534 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26535 * sysdeps/unix/sysv/linux/sigsuspend.c
26536 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26537 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26538 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
26539 (__libc_missing_rt_sigs): Remove.
26540 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
26541 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
26542 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
26543 Remove conditional code.
26544 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
26545 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
26546 return 1.
26547 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
26548 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
26549 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
26550 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
26551
26552 2012-05-14 Andreas Jaeger <aj@suse.de>
26553
26554 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
26555 it's not used in glibc.
26556 (__coshm1): Likewise.
26557 (__acosh1p): Likewise.
26558 (__sgn): Likewise.
26559
26560 * manual/string.texi (Copying and Concatenation): Add missing
26561 variable in concat example.
26562 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
26563
26564 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26565
26566 [BZ #14103]
26567 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
26568 __builtin_clzl with __builtin_clzll.
26569
26570 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26571
26572 [BZ #14104]
26573 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
26574 libc_freeres_ptr.
26575
26576 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26577
26578 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
26579 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
26580 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
26581 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
26582
26583 2012-05-14 Mike Frysinger <vapier@gentoo.org>
26584
26585 * NEWS: Update ia64 info.
26586
26587 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
26588
26589 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
26590 used as bcopy.
26591
26592 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
26593
26594 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
26595 * sysdeps/unix/syscalls.list (dup3): Likewise.
26596 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
26597 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
26598
26599 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
26600
26601 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
26602 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
26603
26604 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
26605
26606 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
26607 thread pointer.
26608 (TLS_IE): Use mov/add instead of movq/addq to load thread
26609 pointer.
26610 (TLS_GD_PREFIX): New.
26611 (TLS_GD): Use it.
26612
26613 2012-05-11 David S. Miller <davem@davemloft.net>
26614
26615 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
26616 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
26617 (_FPU_SETCW): Likewise.
26618
26619 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26620
26621 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
26622 is 32-byte aligned.
26623
26624 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
26625
26626 [BZ #11837]
26627 * iconvdata/gb18030.c: Update tables.
26628 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
26629 characters specially.
26630 (BODY for TO_LOOP): Add encoding of missing ranges.
26631
26632 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
26633
26634 [BZ #13673]
26635 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
26636 * sysdeps/mach/hurd/dup3.c: Likewise.
26637 * sysdeps/mach/hurd/readlinkat.c: Likewise.
26638 * sysdeps/powerpc/memmove.c:: Likewise.
26639
26640 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26641
26642 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
26643 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
26644
26645 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26646
26647 * elf/elf.h (R_X86_64_RELATIVE64): New.
26648 (R_X86_64_NUM): Updated.
26649 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26650 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
26651 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
26652 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
26653 tst-quad1pie tst-quad2pie
26654 (modules-names): Add tst-quadmod1 tst-quadmod2.
26655 ($(objpfx)tst-quad1): New dependency.
26656 ($(objpfx)tst-quad2): Likewise.
26657 ($(objpfx)tst-quad1pie): Likewise.
26658 ($(objpfx)tst-quad2pie): Likewise.
26659 * sysdeps/x86_64/tst-quad1.c: New file.
26660 * sysdeps/x86_64/tst-quad1pie.c: New file.
26661 * sysdeps/x86_64/tst-quad2.c: Likewise.
26662 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
26663 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
26664 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
26665 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
26666 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
26667
26668 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26669
26670 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
26671 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
26672 * streams/stropts.h (t_scalar_t): Define type.
26673
26674 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
26675 (_PATH_PRESERVE): Set to "/var/lib".
26676 (_PATH_RWHODIR): Set to "/var/spool/rwho".
26677
26678 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
26679 instead of int.
26680
26681 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
26682 if __dir_mkfile succeeded.
26683
26684 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
26685 checking for _hurd_dtablesize. Unlock it right after having
26686 finished _hurd_dtable allocation.
26687
26688 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26689
26690 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
26691 * sysdeps/mach/hurd/configure: Regenerated.
26692 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
26693 special-casing to...
26694 * sysdeps/gnu/configure.in: ... this new file.
26695 * sysdeps/unix/sysv/linux/configure: Regenerated.
26696 * sysdeps/gnu/configure: New generated file.
26697
26698 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
26699 for Linux: use nsec instead of usec, as well as:
26700 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
26701 members of type struct timespec.
26702 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
26703 New macros.
26704 (struct stat64): Likewise.
26705 (_STATBUF_ST_NSEC): New macro.
26706 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
26707
26708 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26709 __strtoul_internal rather than strtoul.
26710
26711 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26712
26713 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
26714 and reject them.
26715
26716 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26717
26718 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
26719 which preserves existing values.
26720 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
26721
26722 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26723
26724 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
26725 TIMEOUT values. Return EINVAL for NFDS values either negative or
26726 greater than FD_SETSIZE.
26727
26728 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26729
26730 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
26731 allocated, call __vm_protect to finish enabling the existing space, and
26732 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
26733 allocate the remainder.
26734
26735 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26736
26737 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
26738 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
26739
26740 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26741
26742 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
26743 sysdeps/mach/hurd/readlink.c.
26744
26745 * posix/tst-sysconf.c (posix_options): Only use
26746 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
26747 _POSIX_SYNCHRONIZED_IO when they are defined
26748 * sysdeps/mach/hurd/bits/posix_opt.h:
26749 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
26750 (_XOPEN_REALTIME): Undefine macro.
26751 (_XOPEN_REALTIME_THREADS): Undefine macro.
26752 (_XOPEN_SHM): Undefine macro.
26753 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
26754 macro to -1.
26755 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
26756 macro to -1.
26757 (_POSIX_ASYNC_IO): Undefine macro.
26758 (_POSIX_PRIORITIZED_IO): Undefine macro.
26759 (_POSIX_SPIN_LOCKS): Define macro to -1.
26760
26761 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
26762 SA_NODEFER, SA_RESETHAND.
26763 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
26764 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
26765 F_DUPFD_CLOEXEC.
26766
26767 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26768
26769 * elf/Makefile (pldd-modules): Define unconditionally.
26770
26771 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26772
26773 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
26774
26775 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26776
26777 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
26778 Return ENOENT when name is empty.
26779 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
26780
26781 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26782
26783 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
26784
26785 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
26786
26787 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26788
26789 Fix mlock in all cases except non-readable pages.
26790 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
26791 instead of VM_PROT_ALL as parameter to __vm_wire function.
26792
26793 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
26794 (__mkdir): When path is `/', just fail with EEXIST.
26795 * sysdeps/mach/hurd/mkdirat.c: Likewise.
26796
26797 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26798
26799 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
26800 <sys/uio.h> (for writev).
26801 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
26802 and <sys/param.h> (for MIN).
26803
26804 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26805
26806 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
26807 REQUESTED_TIME. Properly set the remaining time and return EINTR
26808 if interrupted.
26809
26810 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26811
26812 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
26813 Depend on against $(link-rpcuserlibs).
26814
26815 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26816
26817 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
26818 (__libc_stack_end): Do not use attribute_relro.
26819 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
26820 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
26821 to libthread-provided value.
26822 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
26823 attribute_relro.
26824
26825 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26826
26827 [BZ #3748]
26828 * bits/libc-lock.h (__libc_once_get): New macro.
26829 * sysdeps/mach/bits/libc-lock.h: Likewise.
26830 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
26831 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
26832 instead of using implementation details.
26833
26834 * libio/fileops.c: Unconditionally include <kernel-features.h>.
26835 * libio/freopen.c: Likewise.
26836 * libio/freopen64.c: Likewise.
26837 * misc/syslog.c: Likewise.
26838 * nscd/connections.c: Likewise.
26839 * nscd/netgroupcache.c: Likewise.
26840 * sysdeps/posix/getcwd.c: Likewise.
26841
26842 2012-05-10 Roland McGrath <roland@hack.frob.com>
26843
26844 * math/w_ilogbf.c: Add #include <limits.h>.
26845
26846 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26847
26848 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
26849 path instead of returning without unlocking.
26850
26851 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
26852 immediate-write ioctls.
26853 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
26854
26855 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26856
26857 * sysdeps/mach/hurd/i386/init-first.c (init): Use
26858 __builtin_frame_address instead of making assumptions about the
26859 location of the return address relative to DATA. Force early load of
26860 the return address.
26861 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
26862 __builtin_frame_address.
26863
26864 dup3 for GNU Hurd.
26865 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
26866 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
26867 implement dup3 and do some further code clean-ups.
26868 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
26869 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
26870
26871 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26872
26873 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
26874
26875 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
26876 HURD_CRITICAL_END around holding _hurd_dtable_lock.
26877 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
26878 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
26879 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
26880 d->port.lock.
26881
26882 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
26883 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
26884 when handler == SIG_ERR, not when handler != SIG_ERR.
26885
26886 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26887
26888 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
26889 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
26890 definitions.
26891
26892 accept4 for GNU Hurd.
26893 * include/sys/socket.h (__libc_accept4): New prototype.
26894 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
26895 to implement __libc_accept4.
26896 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
26897 __libc_accept4.
26898 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
26899
26900 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
26901 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
26902 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
26903 signal-defines.sym.
26904
26905 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26906
26907 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
26908
26909 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26910
26911 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
26912 assertion on O_CLOEXEC flag.
26913 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
26914 * hurd/intern-fd.c: Likewise.
26915 * hurd/port2fd.c: Likewise.
26916
26917 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26918
26919 [BZ #3906]
26920 * bits/in.h (IPV6_PKTINFO): Define new macro.
26921 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
26922
26923 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26924
26925 [BZ #13954]
26926 [BZ #13955]
26927 [BZ #13956]
26928 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
26929 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26930 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
26931 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26932 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26933 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26934 * math/libm-test.inc (logb_test) : Additional logb tests.
26935
26936 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
26937 Andreas Jaeger <aj@suse.de>
26938
26939 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
26940 * configure: Regenerated.
26941 * config.h.in (LINK_OBSOLETE_RPC): New macro.
26942 * config.make.in (link-obsolete-rpc): New substituted variable.
26943 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
26944 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
26945 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26946 (shared-only-routines): Don't set it under [link-obsolete-rpc],
26947 so that libc.a contains the symbols.
26948 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26949 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
26950 * sunrpc/auth_none.c: Likewise.
26951 * sunrpc/auth_unix.c: Likewise.
26952 * sunrpc/authdes_prot.c: Likewise.
26953 * sunrpc/authuxprot.c: Likewise.
26954 * sunrpc/clnt_gen.c: Likewise.
26955 * sunrpc/clnt_perr.c: Likewise.
26956 * sunrpc/clnt_raw.c: Likewise.
26957 * sunrpc/clnt_simp.c: Likewise.
26958 * sunrpc/clnt_tcp.c: Likewise.
26959 * sunrpc/clnt_udp.c: Likewise.
26960 * sunrpc/clnt_unix.c: Likewise.
26961 * sunrpc/des_crypt.c: Likewise.
26962 * sunrpc/des_soft.c: Likewise.
26963 * sunrpc/get_myaddr.c: Likewise.
26964 * sunrpc/key_call.c: Likewise.
26965 * sunrpc/key_prot.c: Likewise.
26966 * sunrpc/netname.c: Likewise.
26967 * sunrpc/pm_getmaps.c: Likewise.
26968 * sunrpc/pm_getport.c: Likewise.
26969 * sunrpc/pmap_clnt.c: Likewise.
26970 * sunrpc/pmap_prot.c: Likewise.
26971 * sunrpc/pmap_prot2.c: Likewise.
26972 * sunrpc/pmap_rmt.c: Likewise.
26973 * sunrpc/publickey.c: Likewise.
26974 * sunrpc/rpc_cmsg.c: Likewise.
26975 * sunrpc/rpc_common.c: Likewise.
26976 * sunrpc/rpc_dtable.c: Likewise.
26977 * sunrpc/rpc_prot.c: Likewise.
26978 * sunrpc/rpc_thread.c: Likewise.
26979 * sunrpc/rtime.c: Likewise.
26980 * sunrpc/svc.c: Likewise.
26981 * sunrpc/svc_auth.c: Likewise.
26982 * sunrpc/svc_raw.c: Likewise.
26983 * sunrpc/svc_run.c: Likewise.
26984 * sunrpc/svc_tcp.c: Likewise.
26985 * sunrpc/svc_udp.c: Likewise.
26986 * sunrpc/svc_unix.c: Likewise.
26987 * sunrpc/svcauth_des.c: Likewise.
26988 * sunrpc/xcrypt.c: Likewise.
26989 * sunrpc/xdr.c: Likewise.
26990 * sunrpc/xdr_array.c: Likewise.
26991 * sunrpc/xdr_float.c: Likewise.
26992 * sunrpc/xdr_intXX_t.c: Likewise.
26993 * sunrpc/xdr_mem.c: Likewise.
26994 * sunrpc/xdr_rec.c: Likewise.
26995 * sunrpc/xdr_ref.c: Likewise.
26996 * sunrpc/xdr_sizeof.c: Likewise.
26997 * sunrpc/xdr_stdio.c: Likewise.
26998
26999 2012-05-10 Roland McGrath <roland@hack.frob.com>
27000
27001 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
27002 change. Update copyright years.
27003
27004 2012-05-10 Joseph Myers <joseph@codesourcery.com>
27005
27006 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
27007
27008 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
27009 Joseph Myers <joseph@codesourcery.com>
27010 Paul Pluzhnikov <ppluzhnikov@google.com>
27011
27012 [BZ #14012]
27013 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
27014 requiring rpcgen.
27015 [cross-compiling] (extra-libs): Likewise.
27016 [cross-compiling] (extra-libs-others): Likewise.
27017 [cross-compiling] (librpcsvc-routines): Likewise.
27018 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
27019 [cross-compiling] (omit-deps): Likewise.
27020 (sunrpc-CPPFLAGS): New variable.
27021 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
27022 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
27023 (cross-rpcgen-objs): New variable.
27024 (extra-objs): Append $(cross-rpcgen-objs).
27025 ($(cross-rpcgen-objs)): New rule.
27026 ($(objpfx)cross-rpcgen): Likewise.
27027 (rpcgen-cmd): Define to use $(built-program-file). Expand
27028 comment.
27029 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
27030 ($(objpfx)x%.stmp): Likewise.
27031 * sunrpc/proto.h [IS_IN_build] (_): Define.
27032 [IS_IN_build] (_libc_intl_domainname): Likewise.
27033
27034 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
27035
27036 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
27037 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
27038 and R_X86_64_TPOFF64.
27039
27040 2012-05-10 Joseph Myers <joseph@codesourcery.com>
27041
27042 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
27043 sysdeps/unix/sysv/syscalls.list.
27044 (stime): Likewise.
27045 (utime): Likewise.
27046 * sysdeps/unix/sysv/syscalls.list: Remove file.
27047
27048 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
27049
27050 [BZ #3440]
27051 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
27052 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
27053 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
27054 (__LC_IDENTIFICATION): Make these macros useful in #if
27055 expressions, as required by C99.
27056
27057 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
27058
27059 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
27060 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
27061 after this.
27062
27063 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
27064
27065 * stdlib/longlong.h: Updated from GCC.
27066
27067 2012-05-09 Andreas Jaeger <aj@suse.de>
27068
27069 * nscd/nscd.c (run_modes): Make named enum, reorder so that
27070 default is first entry.
27071 (run_mode): Set type.
27072 (main): Remove informal message about syslog.
27073 (options): Fix typo.
27074
27075 [BZ #14053]
27076 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
27077 to asm.
27078 (lrint): Likewise.
27079 (llrintf): Likewise.
27080 (llrint): Likewise.
27081 (rint): Likewise.
27082 (rintf): Likewise.
27083 (nearbyint): Likewise.
27084 (nearbyintf): Likewise.
27085
27086 2012-05-09 Andreas Jaeger <aj@suse.de>
27087 Pedro Alves <palves@redhat.com>
27088
27089 * nscd/nscd.c (run_mode): Use enum.
27090 (main): Cleanup coding style issue.
27091
27092 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
27093 Andreas Jaeger <aj@suse.de>
27094
27095 * nscd/nscd.c (go_background): Replaced with...
27096 (run_mode): ... this.
27097 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
27098 (options): Add -F --foreground.
27099 (main): Implement it.
27100 (parse_opt): Parse it.
27101
27102 2012-05-09 Andreas Jaeger <aj@suse.de>
27103
27104 [BZ #14083]
27105 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
27106 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
27107 -Wconversion warning.
27108 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
27109 Likewise.
27110
27111 2012-05-09 Joseph Myers <joseph@codesourcery.com>
27112
27113 * conform/data/locale.h-data (NULL): Use macro-constant. Require
27114 == 0.
27115 (LC_ALL): Use macro-int-constant.
27116 (LC_COLLATE): Likewise.
27117 (LC_CTYPE): Likewise.
27118 (LC_MESSAGES): Likewise.
27119 (LC_MONETARY): Likewise.
27120 (LC_NUMERIC): Likewise.
27121 (LC_TIME): Likewise.
27122 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
27123 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
27124 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27125 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
27126 Specify type.
27127 [C99-based standards] (float_t): Expect type.
27128 [C99-based standards] (double_t): Expect type.
27129 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
27130 type.
27131 [C99-based standards] (HUGE_VALL): Likewise.
27132 [C99-based standards] (INFINITY): Likewise.
27133 [C99-based standards] (NAN): Likewise.
27134 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
27135 [C99-based standards] (FP_NAN): Likewise.
27136 [C99-based standards] (FP_NORMAL): Likewise.
27137 [C99-based standards] (FP_SUBNORMAL): Likewise.
27138 [C99-based standards] (FP_ZERO): Likewise.
27139 [C99-based standards] (FP_FAST_FMA): Use
27140 optional-macro-int-constant. Specify type. Require == 1.
27141 [C99-based standards] (FP_FAST_FMAF): Likewise.
27142 [C99-based standards] (FP_FAST_FMAL): Likewise.
27143 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
27144 [C99-based standards] (FP_ILOGBNAN): Likewise.
27145 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
27146 Specify type.
27147 [C99-based standards] (MATH_ERREXCEPT): Likewise.
27148 [C99-based standards] (math_errhandling): Specify type.
27149 [ISO99 || ISO11] (signgam): Do not allow.
27150 [non-C99-based standards] (copysignf): Do not allow.
27151 [non-C99-based standards] (exp2f): Likewise.
27152 [non-C99-based standards] (log2f): Likewise.
27153 [non-C99-based standards] (modff): Allow.
27154 [non-C99-based standards] (erff): Do not allow.
27155 [non-C99-based standards] (erfcf): Likewise.
27156 [non-C99-based standards] (gammaf): Likewise.
27157 [non-C99-based standards] (hypotf): Likewise.
27158 [non-C99-based standards] (j0f): Likewise.
27159 [non-C99-based standards] (j1f): Likewise.
27160 [non-C99-based standards] (jnf): Likewise.
27161 [non-C99-based standards] (lgammaf): Likewise.
27162 [non-C99-based standards] (tgammaf): Likewise.
27163 [non-C99-based standards] (y0f): Likewise.
27164 [non-C99-based standards] (y1f): Likewise.
27165 [non-C99-based standards] (ynf): Likewise.
27166 [non-C99-based standards] (isnanf): Likewise.
27167 [non-C99-based standards] (acoshf): Likewise.
27168 [non-C99-based standards] (asinhf): Likewise.
27169 [non-C99-based standards] (atanhf): Likewise.
27170 [non-C99-based standards] (cbrtf): Likewise.
27171 [non-C99-based standards] (expm1f): Likewise.
27172 [non-C99-based standards] (ilogbf): Likewise.
27173 [non-C99-based standards] (log1pf): Likewise.
27174 [non-C99-based standards] (logbf): Likewise.
27175 [non-C99-based standards] (nextafterf): Likewise.
27176 [non-C99-based standards] (remainderf): Likewise.
27177 [non-C99-based standards] (rintf): Likewise.
27178 [non-C99-based standards] (scalbf): Likewise.
27179 [non-C99-based standards] (copysignl): Likewise.
27180 [non-C99-based standards] (exp2l): Likewise.
27181 [non-C99-based standards] (log2l): Likewise.
27182 [non-C99-based standards] (modfl): Allow.
27183 [non-C99-based standards] (erfl): Do not allow.
27184 [non-C99-based standards] (erfcl): Likewise.
27185 [non-C99-based standards] (gammal): Likewise.
27186 [non-C99-based standards] (hypotl): Likewise.
27187 [non-C99-based standards] (j0l): Likewise.
27188 [non-C99-based standards] (j1l): Likewise.
27189 [non-C99-based standards] (jnl): Likewise.
27190 [non-C99-based standards] (lgammal): Likewise.
27191 [non-C99-based standards] (tgammal): Likewise.
27192 [non-C99-based standards] (y0l): Likewise.
27193 [non-C99-based standards] (y1l): Likewise.
27194 [non-C99-based standards] (ynl): Likewise.
27195 [non-C99-based standards] (isnanl): Likewise.
27196 [non-C99-based standards] (acoshl): Likewise.
27197 [non-C99-based standards] (asinhl): Likewise.
27198 [non-C99-based standards] (atanhl): Likewise.
27199 [non-C99-based standards] (cbrtl): Likewise.
27200 [non-C99-based standards] (expm1l): Likewise.
27201 [non-C99-based standards] (ilogbl): Likewise.
27202 [non-C99-based standards] (log1pl): Likewise.
27203 [non-C99-based standards] (logbl): Likewise.
27204 [non-C99-based standards] (nextafterl): Likewise.
27205 [non-C99-based standards] (remainderl): Likewise.
27206 [non-C99-based standards] (rintl): Likewise.
27207 [non-C99-based standards] (scalbl): Likewise.
27208 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27209 [non-C99-based standards] (FP_*): Do not allow.
27210 [C99-based standards] (FP_*): Change to
27211 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
27212 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27213 allow.
27214 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
27215 (SIG_ERR): Likewise.
27216 [X/Open-based standards] (SIG_HOLD): Likewise.
27217 (SIG_IGN): Likewise.
27218 (SIGABRT): Use macro-int-constant. Specify type. Require
27219 positive value.
27220 (SIGFPE): Likewise.
27221 (SIGILL): Likewise.
27222 (SIGINT): Likewise.
27223 (SIGSEGV): Likewise.
27224 (SIGTER): Likewise.
27225 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
27226 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
27227 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
27228 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
27229 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
27230 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
27231 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
27232 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
27233 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
27234 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
27235 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
27236 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
27237 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
27238 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
27239 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
27240 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
27241 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
27242 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
27243 [X/Open-based standards] (SIGTRAP): Likewise.
27244 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
27245 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
27246 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
27247 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
27248 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27249 allow.
27250
27251 2012-05-08 Ian Wienand <ianw@vmware.com>
27252
27253 [BZ #14080]
27254 * time/tzset.c (__tzset_parse_tz): Update default rules for
27255 daylight time changes in the Energy Policy Act of 2005.
27256
27257 2012-05-09 Andreas Jaeger <aj@suse.de>
27258
27259 [BZ #13983]
27260 * elf/ldconfig.c (parse_conf): Change string to make clear that
27261 ldconfig only issued a warning if ld.so.conf does not exist.
27262
27263 2012-05-08 David S. Miller <davem@davemloft.net>
27264
27265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
27266 movxtod instead of popping the value on the stack.
27267
27268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27269
27270 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
27271
27272 * config.h.in: Add HAVE_ARM_PCS_VFP.
27273
27274 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
27275
27276 [BZ #13979]
27277 * include/features.h: Warn if user requests __FORTIFY_SOURCE
27278 checking but the checks are disabled for any reason.
27279
27280 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
27281
27282 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
27283 and ELF64_R_TYPE with ELFW(R_TYPE).
27284
27285 2012-05-08 Joseph Myers <joseph@codesourcery.com>
27286
27287 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
27288 (ulimit): Likewise.
27289
27290 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
27291 (settimeofday): Likewise.
27292
27293 2012-05-08 Mike Frysinger <vapier@gentoo.org>
27294
27295 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
27296 a struct th_u2 inside the union, and move tu_block/tu_code into
27297 a new th_u3 union of tu_block/tu_code inside of that. Move
27298 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
27299 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
27300 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
27301 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
27302 (th_stuff): Change to th_u1.tu_stuff.
27303 (th_data): Define.
27304 (th_msg): Change to th_u1.th_u2.tu_data.
27305
27306 2012-05-07 David S. Miller <davem@davemloft.net>
27307
27308 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27309
27310 [BZ #14074]
27311 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
27312 (SETUP_PIC_REG): Use it.
27313 (SETUP_PIC_REG_LEAF): Use it.
27314
27315 2012-05-07 Joseph Myers <joseph@codesourcery.com>
27316
27317 [BZ #13885]
27318 [BZ #13923]
27319 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27320 USE_AS_EXPM1L.
27321 (EXPL_FINITE): Likewise.
27322 (FLDLOG): Likewise.
27323 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
27324 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
27325 e_expl.S.
27326 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27327 USE_AS_EXPM1L.
27328 (EXPL_FINITE): Likewise.
27329 (FLDLOG): Likewise.
27330 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
27331 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
27332 e_expl.S.
27333 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
27334 test of -max_value argument for long double.
27335 * sysdeps/i386/fpu/libm-test-ulps: Update.
27336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27337
27338 2012-05-06 David S. Miller <davem@davemloft.net>
27339
27340 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
27341 quad soft-float symbols whose references which are compiler
27342 generated.
27343 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27344
27345 2012-05-06 Joseph Myers <joseph@codesourcery.com>
27346
27347 [BZ #13884]
27348 [BZ #13914]
27349 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27350 USE_AS_EXP10L.
27351 (EXPL_FINITE): Likewise.
27352 (FLDLOG): Likewise.
27353 (c0): Likewise.
27354 (c1): Likewise.
27355 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
27356 Adjust comments for base varying.
27357 (__expl_finite): Change alias to EXPL_FINITE.
27358 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
27359 e_expl.S.
27360 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
27361 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
27362 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
27363 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
27364 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27365 USE_AS_EXP10L.
27366 (EXPL_FINITE): Likewise.
27367 (FLDLOG): Likewise.
27368 (c0): Likewise.
27369 (c1): Likewise.
27370 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
27371 Adjust comments for base varying.
27372 (__expl_finite): Change alias to EXPL_FINITE.
27373 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
27374 tests for bugs.
27375 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27376
27377 [BZ #14064]
27378 * math/libm-test.inc (check_float_internal): Correct ulp
27379 calculation for subnormal expected results.
27380
27381 2012-05-06 Andreas Jaeger <aj@suse.de>
27382
27383 * Makeconfig (+math-flags): New, set to -frounding-math.
27384 (+cflags): Add +math-flags so that all of glibc gets compiled with
27385 it.
27386
27387 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
27388
27389 2012-05-05 Joseph Myers <joseph@codesourcery.com>
27390
27391 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
27392 Disable one test.
27393
27394 [BZ #13787]
27395 [BZ #13922]
27396 [BZ #14036]
27397 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
27398 (__ieee754_expl): Allow for and saturate large arguments.
27399 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
27400 (u_threshold): Likewise.
27401 (__exp): Call __ieee754_exp before checking for overflow and
27402 underflow.
27403 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
27404 (u_threshold): Likewise.
27405 (__expf): Call __ieee754_expf before checking for overflow and
27406 underflow.
27407 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
27408 (u_threshold): Likewise.
27409 (__expl): Call __ieee754_expl before checking for overflow and
27410 underflow.
27411 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
27412 (__ieee754_expl): Allow for and saturate large arguments.
27413 * math/libm-test.inc (exp_test): Add another test. Do not allow
27414 missing overflow exception on overflow.
27415 (expm1_test): Do not allow missing overflow exception on overflow.
27416
27417 * sysdeps/i386/fpu/e_expl.c: Move to ...
27418 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
27419 rather than using inline asm.
27420 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
27421 * sysdeps/x86_64/fpu/e_expl.S: Copy from
27422 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
27423
27424 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
27425 (nice): Likewise.
27426 (poll): Likewise.
27427 (signal): Likewise.
27428 (time): Likewise.
27429 (times): Likewise.
27430
27431 2012-05-04 Joseph Myers <joseph@codesourcery.com>
27432
27433 * sysdeps/unix/syscalls.list (adjtime): Add entry from
27434 sysdeps/unix/common/syscalls.list.
27435 (fchmod): Likewise.
27436 (fchown): Likewise.
27437 (ftruncate): Likewise.
27438 (getrusage): Likewise.
27439 (gettimeofday): Likewise.
27440 (setpgid): Likewise.
27441 (setregid): Likewise.
27442 (setreuid): Likewise.
27443 (sigaction): Likewise.
27444 (truncate): Likewise.
27445 (vhangup): Likewise.
27446 * sysdeps/unix/common/syscalls.list: Remove file.
27447 * sysdeps/unix/bsd/Implies: Don't include unix/common.
27448 * sysdeps/unix/sysv/linux/Implies: Likewise.
27449
27450 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
27451
27452 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
27453 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
27454 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
27455 Moved to ...
27456 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
27457 Here.
27458 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
27459 to ...
27460 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
27461 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
27462 to ...
27463 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
27464 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
27465 to ...
27466 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
27467 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
27468 to ...
27469 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
27470 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
27471 to ...
27472 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
27473 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
27474 to ...
27475 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
27476 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
27477 to ...
27478 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
27479 Here.
27480 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
27481 to ...
27482 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
27483 Here.
27484 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
27485 to ...
27486 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
27487 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
27488 Moved to ...
27489 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
27490 Here.
27491 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
27492 to ...
27493 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
27494
27495 2012-05-04 Joseph Myers <joseph@codesourcery.com>
27496
27497 * sysdeps/unix/common/bits/dirent.h: Remove file.
27498 * sysdeps/unix/common/bits/fcntl.h: Likewise.
27499
27500 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
27501 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
27502 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
27503 * sysdeps/unix/bsd/isatty.c: Likewise.
27504 * sysdeps/unix/bsd/tcdrain.c: Likewise.
27505 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
27506 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
27507
27508 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27509
27510 [BZ #13563]
27511 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
27512 long double comparison inaccuracies.
27513 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
27514 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27515
27516 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
27517
27518 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
27519 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
27520
27521 2012-05-04 Joseph Myers <joseph@codesourcery.com>
27522
27523 [BZ #14049]
27524 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
27525 nonzero digits before rounding a hex value.
27526 * stdlib/tst-strtod.c (tests): Add another test.
27527
27528 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27529
27530 * sysdeps/s390/fpu/libm-test-ulps: Update.
27531
27532 2012-05-03 Andreas Jaeger <aj@suse.de>
27533
27534 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
27535 does not get optimized out.
27536 (malloc_opt_barrier): New.
27537
27538 2012-05-03 Andreas Jaeger <aj@suse.de>
27539 Roland McGrath <roland@hack.frob.com>
27540
27541 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
27542 intermediate file deletion.
27543 (generated): Add .symlist files.
27544
27545 2012-05-03 Joseph Myers <joseph@codesourcery.com>
27546
27547 [BZ #13775]
27548 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
27549 Redirect under this condition.
27550 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27551 [__USE_GNU] (__dprintf_chk): Not under this condition.
27552 [__USE_GNU] (__vdprintf_chk): Likewise.
27553 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
27554 under this condition.
27555 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27556 [__USE_XOPEN2K8] (dprintf): Define under this condition.
27557 [__USE_XOPEN2K8] (vdprintf): Likewise.
27558 [__USE_GNU] (__dprintf_chk): Not under this condition.
27559 [__USE_GNU] (__vdprintf_chk): Likewise.
27560 [__USE_GNU] (dprintf): Likewise.
27561 [__USE_GNU] (vdprintf): Likewise.
27562
27563 2012-05-03 Roland McGrath <roland@hack.frob.com>
27564
27565 * elf/Makefile (common-generated): Set this instead of generated for
27566 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
27567 $(all-built-dso)-derived lists.
27568
27569 2012-05-03 Andreas Jaeger <aj@suse.de>
27570
27571 * sysdeps/i386/fpu/libm-test-ulps: Update.
27572
27573 * FAQ: Removed.
27574 * FAQ.in: Likewise.
27575 * scripts/gen-FAQ.pl: Likewise.
27576 * manual/install.texi (Installation): Point to online location of
27577 FAQ.
27578 * Makefile (files-for-dist): Remove FAQ.
27579 (FAQ): Remove.
27580
27581 2012-05-02 Allan McRae <allan@archlinux.org>
27582
27583 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
27584 (LDFLAGS-reldepmod5.so): Likewise.
27585 (LDFLAGS-reldep6mod1.so): Likewise.
27586 (LDFLAGS-reldep6mod4.so): Likewise.
27587 (LDFLAGS-reldep8mod3.so): Likewise.
27588 (LDFLAGS-unload4mod1.so): Likewise.
27589 (LDFLAGS-unload4mod2.so): Likewise.
27590 (LDFLAGS-tst-initorder): Likewise.
27591 (LDFLAGS-tst-initordera2.so): Likewise.
27592 (LDFLAGS-tst-initordera3.so): Likewise.
27593 (LDFLAGS-tst-initordera4.so): Likewise.
27594 (LDFLAGS-tst-initorderb2.so): Likewise.
27595 (LDFLAGS-noload): Likewise.
27596 (LDFLAGS-next): Likewise.
27597 (LDFLAGS-order2mod1.so): Likewise.
27598 (LDFLAGS-order2mod2.so): Likewise.
27599 (LDFLAGS-tst-initorder2): Likewise.
27600 (LDFLAGS-tst-initorder2a.so): Likewise.
27601 (LDFLAGS-tst-initorder2b.so): Likewise.
27602 (LDFLAGS-tst-initorder2c.so): Likewise.
27603 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
27604
27605 2012-05-02 David S. Miller <davem@davemloft.net>
27606
27607 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27608
27609 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
27610
27611 [BZ #14055]
27612 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
27613
27614 2012-05-02 Andreas Jaeger <aj@suse.de>
27615
27616 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
27617 since we manipulate rounding mode.
27618 (CPPFLAGS-test-idouble.c): Likewise.
27619 (CPPFLAGS-test-ifloat.c): Likewise.
27620 (CFLAGS-test-ldouble.c): Likewise.
27621 (CFLAGS-test-double.c): Likewise.
27622 (CFLAGS-test-float.c): Likewise.
27623 (CFLAGS-test-misc.c): Likewise.
27624 (CFLAGS-test-test-fenv.c): Likewise.
27625
27626 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27627
27628 [BZ #2550]
27629 [BZ #2570]
27630 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
27631 comparisons to determine direction to adjust input.
27632
27633 2012-05-01 Roland McGrath <roland@hack.frob.com>
27634
27635 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
27636 output to the target.
27637
27638 * scripts/localplt.awk: New file.
27639 * elf/Makefile ($(objpfx)check-localplt): Target removed.
27640 (check-localplt-CFLAGS): Variable removed.
27641 ($(all-built-dso:=.jmprel)): New static pattern rule.
27642 (generated): Add those targets.
27643 (localplt-built-dso): New variable.
27644 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
27645
27646 * elf/check-localplt.c: File removed.
27647
27648 * scripts/check-execstack.awk: New file.
27649 * elf/Makefile ($(objpfx)check-execstack): Target removed.
27650 (check-execstack-CFLAGS): Variable removed.
27651 ($(objpfx)check-execstack.h): Target removed.
27652 ($(objpfx)execstack-default): New target.
27653 (generated): Add that instead of check-execstack.h.
27654 ($(all-built-dso:=.phdr)): New static pattern rule.
27655 (generated): Add those targets.
27656 * elf/check-execstack.c: File removed.
27657
27658 * scripts/check-textrel.awk: New file.
27659 * elf/Makefile ($(objpfx)check-textrel): Target removed.
27660 (check-textrel-CFLAGS): Variable removed.
27661 (all-built-dso): Use := to define.o
27662 ($(all-built-dso:=.dyn)): New static pattern rule.
27663 (generated): Add those targets.
27664 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
27665 * config.make.in (READELF): New substituted variable.
27666 * elf/check-textrel.c: File removed.
27667
27668 2012-05-01 Joseph Myers <joseph@codesourcery.com>
27669
27670 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27671 allow.
27672 * conform/data/ctype.h-data [C99-based standards] (isblank):
27673 Expect function.
27674 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
27675 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
27676 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27677 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
27678 Specify type. Require positive value.
27679 (EILSEQ): Likewise.
27680 (ERANGE): Likewise.
27681 [ISO || POSIX] (EILSEQ): Do not expect.
27682 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
27683 Specify type. Require positive value.
27684 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
27685 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
27686 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
27687 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
27688 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
27689 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
27690 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
27691 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
27692 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
27693 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
27694 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
27695 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
27696 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
27697 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
27698 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
27699 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
27700 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
27701 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
27702 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
27703 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
27704 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
27705 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
27706 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
27707 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
27708 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
27709 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
27710 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
27711 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
27712 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
27713 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
27714 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
27715 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
27716 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
27717 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
27718 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
27719 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
27720 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
27721 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
27722 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
27723 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
27724 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
27725 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
27726 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
27727 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
27728 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
27729 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
27730 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
27731 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
27732 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
27733 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
27734 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
27735 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
27736 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
27737 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
27738 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
27739 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
27740 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
27741 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
27742 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
27743 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
27744 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
27745 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
27746 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
27747 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
27748 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
27749 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
27750 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
27751 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
27752 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
27753 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
27754 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
27755 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
27756 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
27757 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
27758 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
27759 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
27760 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
27761 Require >= 2.
27762 (FLT_ROUNDS): Expect as macro, not constant.
27763 (FLT_MANT_DIG): Use macro-int-constant.
27764 (DBL_MANT_DIG): Likewise.
27765 (LDBL_MANT_DIG): Likewise.
27766 (FLT_DIG): Likewise.
27767 (DBL_DIG): Likewise.
27768 (LDBL_DIG): Likewise.
27769 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
27770 (DBL_MIN_EXP): Likewise.
27771 (LDBL_MIN_EXP): Likewise.
27772 (FLT_MAX_EXP): Use macro-int-constant.
27773 (DBL_MAX_EXP): Likewise.
27774 (LDBL_MAX_EXP): Likewise.
27775 (FLT_MAX_10_EXP): Likewise.
27776 (DBL_MAX_10_EXP): Likewise.
27777 (LDBL_MAX_10_EXP): Likewise.
27778 (FLT_MAX): Use macro-constant.
27779 (DBL_MAX): Likewise.
27780 (LDBL_MAX): Likewise.
27781 (FLT_EPSILON): Use macro-constant. Give upper bound.
27782 (DBL_EPSILON): Likewise.
27783 (LDBL_EPSILON): Likewise.
27784 (FLT_MIN): Likewise.
27785 (DBL_MIN): Likewise.
27786 (LDBL_MIN): Likewise.
27787 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
27788 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
27789 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
27790 [ISO11] (FLT_HAS_SUBNORM): Likewise.
27791 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
27792 [ISO11] (DBL_DECIMAL_DIG): Likewise.
27793 [ISO11] (FLT_DECIMAL_DIG): Likewise.
27794 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
27795 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
27796 [ISO11] (FLT_TRUE_MIN): Likewise.
27797 [ISO11] (LDBL_TRUE_MIN): Likewise.
27798 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27799 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
27800 (SCHAR_MIN): Use macro-int-constant. Specify type.
27801 (SCHAR_MAX): Likewise.
27802 (UCHAR_MAX): Likewise.
27803 (CHAR_MIN): Likewise.
27804 (CHAR_MAX): Likewise.
27805 (MB_LEN_MAX): Use macro-int-constant.
27806 (SHRT_MIN): Use macro-int-constant. Specify type.
27807 (SHRT_MAX): Likewise.
27808 (USHRT_MAX): Likewise.
27809 (INT_MAX): Likewise.
27810 (INT_MIN): Use macro-int-constant. Specify type. Make upper
27811 bound negative.
27812 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
27813 bound with "U".
27814 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27815 bound with "L".
27816 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
27817 bound negative. Suffix upper bound with "L".
27818 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27819 bound with "UL".
27820 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
27821 Specify type.
27822 [C99-based standards] (LLONG_MAX): Likewise.
27823 [C99-based standards] (ULLONG_MAX): Likewise.
27824 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
27825 == 0.
27826 [ISO11] (max_align_t): Require type.
27827 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27828
27829 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
27830 from $CFLAGS, without defining away __attribute__ calls.
27831 (checknamespace): Use $CFLAGS_namespace.
27832
27833 * conform/conformtest.pl (@keywords): Only include C99 keywords
27834 for standards based on C99 or C11.
27835
27836 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
27837 Disable tests.
27838 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
27839 UNIX98]: Likewise.
27840
27841 * conform/conformtest.pl: Handle "macro-int-constant" and test for
27842 usability of symbols in #if.
27843
27844 * conform/conformtest.pl: If macro or constant types start
27845 "promoted:", expect the symbol to be of the following type
27846 promoted by the integer promotions.
27847
27848 * conform/conformtest.pl: Parse all "constant" and "macro" lines
27849 in one place. Also handle "macro-constant".
27850
27851 * conform/conformtest.pl: Only accept expected macro values with
27852 "==". Parse all "macro" lines in one place.
27853 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
27854
27855 * conform/conformtest.pl: Handle braced types on "constant" lines
27856 instead of handling "typed-constant".
27857 * conform/data/signal.h-data: Use "constant" instead of
27858 "typed-constant".
27859
27860 * conform/conformtest.pl: Handle "optional-" at start of lines in
27861 one place rather than duplicating several cases. Handle each
27862 format of "macro" line with initial "optional-".
27863
27864 * conform/conformtest.pl: Only accept expected constant or
27865 optional-constant values with "==". Parse all "constant" lines in
27866 one place. Parse all "optional-constant" lines in one place.
27867 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
27868 * conform/data/fmtmsg.h-data: Likewise.
27869 * conform/data/netinet/in.h-data: Likewise.
27870 * conform/data/tar.h-data: Likewise.
27871 * conform/data/limits.h-data: Use "==" form on "constant" and
27872 "optional-constant" lines.
27873
27874 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
27875 Use -std=c99 for XOPEN2K.
27876 (@knownproblems): Remove.
27877 (newtoken): Don't check %isknown.
27878
27879 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
27880 Do not expect macro.
27881 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
27882 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
27883 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
27884 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
27885 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
27886 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
27887 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
27888 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
27889 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
27890 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
27891 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
27892 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
27893 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
27894 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
27895 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
27896 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
27897 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
27898 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
27899 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
27900 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
27901 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
27902 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
27903 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
27904 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
27905 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
27906 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
27907 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
27908 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
27909 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
27910 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
27911 [XPG3] (acosh): Likewise.
27912 [XPG3] (asinh): Likewise.
27913 [XPG3] (atanh): Likewise.
27914 [XPG3] (cbrt): Likewise.
27915 [XPG3] (expm1): Likewise.
27916 [XPG3] (ilogb): Likewise.
27917 [XPG3] (log1p): Likewise.
27918 [XPG3] (logb): Likewise.
27919 [XPG3] (nextafter): Likewise.
27920 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
27921 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
27922 [XPG3] (remainder): Likewise.
27923 [XPG3] (rint): Likewise.
27924 [XPG3 || XPG4 || UNIX98] (round): Likewise.
27925 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
27926 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
27927 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
27928 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
27929 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
27930 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
27931 [UNIX98 || XOPEN2K] (scalb): Expect.
27932 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
27933 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
27934 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
27935 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
27936 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
27937 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
27938 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
27939 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
27940 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
27941 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
27942 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
27943 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
27944 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
27945 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
27946 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
27947 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
27948 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
27949 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
27950 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
27951 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
27952 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
27953 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
27954 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
27955 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
27956 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
27957 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
27958 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
27959 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
27960 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
27961 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
27962 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
27963 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
27964 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
27965 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
27966 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
27967 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
27968 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
27969 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
27970 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
27971 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
27972 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
27973 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
27974 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
27975 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
27976 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
27977 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
27978 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
27979 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
27980 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
27981 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
27982 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
27983 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
27984 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
27985 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
27986 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
27987 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
27988 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
27989 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
27990 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
27991 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
27992 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
27993 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
27994 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
27995 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
27996 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
27997 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
27998 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
27999 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
28000 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
28001 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
28002 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
28003 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
28004 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
28005 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
28006 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
28007 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
28008 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
28009 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
28010 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
28011 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
28012 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
28013 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
28014 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
28015 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
28016 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
28017 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
28018 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
28019 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
28020 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
28021 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
28022 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
28023 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
28024 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
28025 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
28026 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
28027 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
28028 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
28029 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
28030 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
28031 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
28032 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
28033 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
28034 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
28035 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
28036 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
28037 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
28038 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
28039 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
28040 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
28041 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
28042 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
28043 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
28044 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
28045 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
28046 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
28047 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
28048 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
28049 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
28050 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
28051 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
28052 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
28053 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
28054 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
28055 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
28056 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
28057 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
28058 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
28059 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
28060 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
28061 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
28062 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
28063 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
28064 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
28065 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
28066 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
28067 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
28068 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
28069
28070 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
28071 _XOPEN_SOURCE_EXTENDED for XPG4.
28072
28073 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
28074
28075 * Makeconfig (localtime): Remove variable.
28076 (inst_localtime-file): Likewise.
28077
28078 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
28079
28080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
28081 Update.
28082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28083 Update.
28084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
28085 Update.
28086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28087 Update.
28088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
28089 Update.
28090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
28091 Update.
28092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28093 Update.
28094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
28095 Update.
28096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28097 Update.
28098
28099 2012-05-01 Joseph Myers <joseph@codesourcery.com>
28100
28101 [BZ #2550]
28102 [BZ #2570]
28103 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
28104 comparisons to determine direction to adjust input.
28105 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
28106 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
28107 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
28108 Likewise.
28109 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
28110 Likewise.
28111 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28112 Likewise.
28113 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
28114 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
28115 Likewise.
28116 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
28117 Likewise.
28118 * math/libm-test.inc (nexttoward_test): Add more tests.
28119
28120 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
28121
28122 [BZ #14040]
28123 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
28124 in version GLIBC_2.1, not GLIBC_2.0.
28125 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
28126 Likewise.
28127
28128 2012-04-30 Joseph Myers <joseph@codesourcery.com>
28129
28130 [BZ #13942]
28131 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
28132 (1 - x) * (1 + x).
28133 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
28134 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
28135 * math/libm-test.inc (acos_test): Add more tests.
28136 (asin_test): Likewise.
28137 * sysdeps/i386/fpu/libm-test-ulps: Update.
28138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28139
28140 [BZ #14034]
28141 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
28142 of square root.
28143 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
28144 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
28145 * math/libm-test.inc (acos_test_tonearest): New function.
28146 (acos_test_towardzero): Likewise.
28147 (acos_test_downward): Likewise.
28148 (acos_test_upward): Likewise.
28149 (asin_test_tonearest): Likewise.
28150 (asin_test_towardzero): Likewise.
28151 (asin_test_downward): Likewise.
28152 (asin_test_upward): Likewise.
28153 (main): Call the new functions.
28154 * sysdeps/i386/fpu/libm-test-ulps: Update.
28155 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28156
28157 [BZ #13884]
28158 [BZ #13924]
28159 * math/e_exp10.c: Include <float.h>.
28160 (__ieee754_exp10): Handle underflow here rather than multiplying
28161 large negative argument by M_LN10.
28162 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
28163 of __ieee754_expf.
28164 * math/e_exp10l.c: Include <float.h>.
28165 (__ieee754_exp10l): Handle underflow here rather than multiplying
28166 large negative argument by M_LN10l.
28167 * math/libm-test.inc (exp10_test): Add another test. Do not allow
28168 spurious overflow exception on underflow.
28169
28170 2012-04-29 Marek Polacek <polacek@redhat.com>
28171
28172 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
28173 (__fortify_function): New macro.
28174 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
28175 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
28176 __extern_always_inline.
28177 * libio/bits/stdio2.h: Likewise.
28178 * libio/bits/stdio.h: Likewise.
28179 * string/string.h: Likewise.
28180 * string/bits/string3.h: Likewise.
28181 * include/stdio.h: Likewise.
28182 * stdlib/bits/stdlib.h: Likewise.
28183 * stdlib/stdlib.h: Likewise.
28184 * rt/bits/mqueue2.h: Likewise.
28185 * rt/mqueue.h: Likewise.
28186 * posix/bits/unistd.h: Likewise.
28187 * posix/unistd.h: Likewise.
28188 * io/bits/poll2.h: Likewise.
28189 * io/bits/fcntl2.h: Likewise.
28190 * io/fcntl.h: Likewise.
28191 * io/sys/poll.h: Likewise.
28192 * misc/bits/syslog.h: Likewise.
28193 * misc/bits/syslog-ldbl.h: Likewise.
28194 * misc/sys/syslog.h: Likewise.
28195 * socket/bits/socket2.h: Likewise.
28196 * socket/sys/socket.h: Likewise.
28197 * debug/tst-chk1.c: Likewise.
28198 * wcsmbs/bits/wchar2.h: Likewise.
28199 * wcsmbs/bits/wchar-ldbl.h: Likewise.
28200 * wcsmbs/wchar.h: Likewise.
28201
28202 2012-04-29 Andreas Jaeger <aj@suse.de>
28203
28204 * Makerules (tests): Remove enable-check-abi protection.
28205 (check-abi-warn): Remove.
28206 (check-abi-%): Remove check-abi-warn usage.
28207
28208 * configure.in: Remove check-abi configure option.
28209 * configure: Regenerated.
28210 * config.make.in (enable-check-abi): Remove.
28211
28212 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
28213
28214 [BZ #14033]
28215 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
28216 double functions to double *_finite functions.
28217
28218 [BZ #13941]
28219 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
28220 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
28221 LDBL_MIN_EXP.
28222 * stdio-common/Makefile (tests): Add tst-sprintf3.
28223 * stdio-common/tst-sprintf3.c: New file.
28224
28225 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
28226 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
28227
28228 2012-04-28 Joseph Myers <joseph@codesourcery.com>
28229
28230 * conform/conformtest.pl: Remove duplicate typed-constant
28231 handling.
28232
28233 2012-04-28 David S. Miller <davem@davemloft.net>
28234
28235 * Makerules (%.abilist): Add vpath on sysdep_dirs.
28236 (check-abi-%): Remove AWK script prerequisite and explicit
28237 abilist directory.
28238 (check-abi): Rewrite to just diff the symlist with the abilist.
28239 (config-tls, config-abi-config): Delete, no longer used.
28240 (update-abi-%): Remove AWK script and explicit abilist directory.
28241 (update-abi): Rewrite to simply compare and conditionally copy the
28242 symlist and the sysdep abilist file. Remove update-abi-config
28243 checks.
28244 * abilist/ld.abilist: Remove.
28245 * abilist/libBrokenLocale.abilist: Remove.
28246 * abilist/libanl.abilist: Remove.
28247 * abilist/libcrypt.abilist: Remove.
28248 * abilist/libdl.abilist: Remove.
28249 * abilist/librt.abilist: Remove.
28250 * abilist/libthread_db.abilist: Remove.
28251 * abilist/libutil.abilist: Remove.
28252 * scripts/extract-abilist.awk: Remove.
28253 * scripts/merge-abilist.awk: Remove.
28254 * sysdeps/generic/libcidn.abilist: New file.
28255 * sysdeps/generic/libnss_compat.abilist: New file.
28256 * sysdeps/generic/libnss_db.abilist: New file.
28257 * sysdeps/generic/libnss_dns.abilist: New file.
28258 * sysdeps/generic/libnss_files.abilist: New file.
28259 * sysdeps/generic/libnss_hesiod.abilist: New file.
28260 * sysdeps/generic/libnss_nis.abilist: New file.
28261 * sysdeps/generic/libnss_nisplus.abilist: New file.
28262 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
28263 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
28264 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
28265 file.
28266 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
28267 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
28268 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
28269 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
28270 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
28271 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
28272 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
28273 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
28274 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
28275 file.
28276 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
28277 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
28278 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
28279 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
28280 file.
28281 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
28282 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
28283 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
28284 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
28285 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
28286 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
28287 file.
28288 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
28289 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
28290 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
28291 file.
28292 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
28293 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
28294 New file.
28295 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
28296 New file.
28297 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
28298 New file.
28299 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
28300 New file.
28301 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
28302 New file.
28303 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
28304 New file.
28305 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
28306 New file.
28307 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
28308 New file.
28309 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
28310 New file.
28311 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
28312 New file.
28313 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
28314 New file.
28315 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
28316 New file.
28317 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
28318 New file.
28319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
28320 file.
28321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
28322 New file.
28323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
28324 New file.
28325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
28326 file.
28327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
28328 New file.
28329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
28330 New file.
28331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
28332 file.
28333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
28334 New file.
28335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28336 New file.
28337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
28338 New file.
28339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
28340 New file.
28341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
28342 New file.
28343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
28344 New file.
28345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
28346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
28347 file.
28348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
28349 New file.
28350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
28351 file.
28352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
28353 file.
28354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
28355 file.
28356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
28357 file.
28358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
28359 file.
28360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28361 New file.
28362 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
28363 file.
28364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
28365 file.
28366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
28367 New file.
28368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
28369 file.
28370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
28371 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
28372 file.
28373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
28374 New file.
28375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
28376 file.
28377 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
28378 file.
28379 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
28380 file.
28381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
28382 file.
28383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
28384 file.
28385 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28386 New file.
28387 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
28388 file.
28389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
28390 file.
28391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
28392 New file.
28393 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
28394 file.
28395 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28396 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
28397 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
28398 file.
28399 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
28400 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
28401 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
28402 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
28403 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
28404 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
28405 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
28406 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
28407 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
28408 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
28409 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
28410 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
28411 file.
28412 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
28413 New file.
28414 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
28415 file.
28416 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
28417 file.
28418 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
28419 file.
28420 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
28421 file.
28422 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
28423 file.
28424 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28425 New file.
28426 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
28427 New file.
28428 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
28429 file.
28430 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
28431 New file.
28432 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
28433 file.
28434 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
28435 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
28436 file.
28437 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
28438 New file.
28439 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
28440 file.
28441 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
28442 file.
28443 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
28444 file.
28445 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
28446 file.
28447 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
28448 file.
28449 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28450 New file.
28451 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
28452 New file.
28453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
28454 file.
28455 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
28456 New file.
28457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
28458 file.
28459
28460 2012-04-28 Joseph Myers <joseph@codesourcery.com>
28461
28462 * conform/conformtest.pl: Fix typo in handling typed-constant from
28463 allow-header.
28464
28465 2012-04-27 Joseph Myers <joseph@codesourcery.com>
28466
28467 * README: Cut down references to pre-2.6 Linux kernels and
28468 Linuxthreads. Update lists of configurations in libc and ports
28469 and sort alphabetically. Say "or newer" with Linux kernel version
28470 requirements.
28471
28472 * config.h.in [IS_IN_build]: Allow compiling without optimization.
28473
28474 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28475
28476 [BZ #887]
28477 * math/libm-test.inc (logb_test_downward): New test to expose
28478 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
28479 rounding mode.
28480
28481 2012-04-27 Joseph Myers <joseph@codesourcery.com>
28482
28483 [BZ #14027]
28484 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
28485 to be done.
28486 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
28487 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
28488
28489 2012-04-26 Joseph Myers <joseph@codesourcery.com>
28490
28491 * sysdeps/unix/i386/brk.S: Remove file.
28492 * sysdeps/unix/i386/dl-brk.S: Likewise.
28493 * sysdeps/unix/i386/pipe.S: Likewise.
28494 * sysdeps/unix/i386/sigreturn.S: Likewise.
28495 * sysdeps/unix/i386/syscall.S: Likewise.
28496 * sysdeps/unix/i386/vfork.S: Likewise.
28497 * sysdeps/unix/i386/wait.S: Likewise.
28498
28499 * sysdeps/unix/common/tcsendbrk.c: Move to ...
28500 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
28501
28502 * configure.in (arm*-none*): Do not allow without
28503 --enable-hacker-mode.
28504 (netbsd*): Remove case setting base_os.
28505 (386bsd*): Likewise.
28506 (freebsd*): Likewise.
28507 (bsdi*): Likewise.
28508 (osf*): Likewise.
28509 (sunos*): Likewise.
28510 (ultrix*): Likewise.
28511 (newsos*): Likewise.
28512 (dynix*): Likewise.
28513 (*bsd*): Likewise.
28514 (sysv*): Likewise.
28515 (isc*): Likewise.
28516 (esix*): Likewise.
28517 (sco*): Likewise.
28518 (minix*): Likewise.
28519 (irix4*): Likewise.
28520 (irix6*): Likewise.
28521 (solaris[2-9]*): Likewise.
28522 (none): Likewise.
28523 * configure: Regenerated.
28524
28525 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28526
28527 [BZ #11521]
28528 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
28529 overflow or cancellation in calculating denominator.
28530 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
28531 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
28532 down expression to avoid unexpected rounding in newer GCCs.
28533 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
28534
28535 2012-04-26 David S. Miller <davem@davemloft.net>
28536
28537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
28538 long-double compat symbols.
28539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
28543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
28545 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
28546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
28547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
28548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
28549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
28550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
28551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28552
28553 2012-04-25 David S. Miller <davem@davemloft.net>
28554
28555 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
28556 HWCAP_* values only after the memory barriers have been defined.
28557 (atomic_full_barrier): Define.
28558 (atomic_read_barrier): Define.
28559 (atomic_write_barrier): Define.
28560
28561 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28562
28563 * shlib-versions: Add libgcc_s version information.
28564 * sysdeps/generic/libgcc_s.h: Remove.
28565 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
28566 libgcc_s.h.
28567 * sysdeps/gnu/unwind-resume.c: Likewise.
28568 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
28569
28570 2012-04-25 David S. Miller <davem@davemloft.net>
28571
28572 * sysdeps/unix/sparc/brk.S: Delete.
28573 * sysdeps/unix/sparc/dl-brk.S: Delete.
28574 * sysdeps/unix/sparc/pipe.S: Delete.
28575 * sysdeps/unix/sparc/sysdep.S: Delete.
28576 * sysdeps/unix/sparc/sysdep.h: Delete.
28577 * sysdeps/unix/sparc/vfork.S: Delete.
28578 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
28579 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
28580 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
28581 ret_ERRVAL, r0, r1, MOVE): Define.
28582 (JUMPTARGET): Remove.
28583 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
28584 sysdeps/unix/sparc/sysdep.h
28585 (ENTRY, END): Remove.
28586 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28587
28588 2012-04-25 Joseph Myers <joseph@codesourcery.com>
28589
28590 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
28591 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
28592 -DIS_IN_build.
28593
28594 * timezone/README: Update upstream location and email address for
28595 tzcode and tzdata.
28596 * timezone/zdump.c: Update from tzcode 2012b.
28597 * timezone/zic.c: Likewise.
28598
28599 * configure.in (libc_cv_as_needed): Remove test.
28600 * configure: Regenerated.
28601 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
28602 conditional definition.
28603 [$(have-as-needed) != yes] (no-as-needed): Likewise.
28604 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
28605 * config.make.in (have-as-needed): Remove variable.
28606
28607 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28608 Paul Pluzhnikov <ppluzhnikov@google.com>
28609
28610 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
28611 strings correctly.
28612
28613 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
28614
28615 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
28616 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
28617 * sysdeps/sh/strlen.S: Likewise.
28618
28619 2012-04-24 Joseph Myers <joseph@codesourcery.com>
28620
28621 * sysdeps/unix/fork.S: Remove file.
28622 * sysdeps/unix/i386/fork.S: Likewise.
28623 * sysdeps/unix/sparc/fork.S: Likewise.
28624
28625 * sysdeps/unix/system.c: Remove file.
28626 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
28627
28628 * sysdeps/unix/getegid.S: Remove file.
28629 * sysdeps/unix/geteuid.S: Likewise.
28630
28631 2012-04-24 Roland McGrath <roland@hack.frob.com>
28632
28633 * scripts/check-localplt.awk: New file.
28634 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
28635 of diff.
28636 * scripts/data/localplt-generic.data: Add a comment.
28637
28638 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
28639 NODE when __dir_mkfile failed.
28640 * sysdeps/mach/hurd/symlinkat.c: Likewise.
28641 Reported by Ludovic Courtès <ludo@gnu.org>.
28642
28643 2012-04-24 Andreas Jaeger <aj@suse.de>
28644
28645 * Makerules (common-clean): Also remove gen-as-const-headers
28646 files.
28647
28648 2012-04-24 Joseph Myers <joseph@codesourcery.com>
28649
28650 * Makerules (native-compile): Do not change working directory for
28651 build. Use $(OUTPUT_OPTION) in command.
28652 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
28653
28654 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28655
28656 [BZ #13886]
28657 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
28658 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
28659 * math/libm-test.inc (floor_test): Add more tests.
28660 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
28661
28662 2012-04-24 Joseph Myers <joseph@codesourcery.com>
28663
28664 * sysdeps/unix/getdents.c: Remove file.
28665 * sysdeps/unix/sysv/getdents.c: Likewise.
28666 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
28667
28668 * sysdeps/unix/syscalls.list (madvise): Add syscall from
28669 sysdeps/unix/mman/syscalls.list.
28670 (mmap): Likewise.
28671 (mprotect): Likewise.
28672 (msync): Likewise.
28673 (munmap): Likewise.
28674 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
28675 * sysdeps/unix/mman/syscalls.list: Remove.
28676 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
28677
28678 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
28679 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
28680 * configure: Regenerated.
28681 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
28682 $(libgcc_s_suffix).
28683 * config.make.in (libgcc_s_suffix): Remove variable.
28684
28685 2012-04-23 Joseph Myers <joseph@codesourcery.com>
28686
28687 * sysdeps/unix/sysv/gethostname.c: Move to ...
28688 * sysdeps/posix/gethostname.c: ... here.
28689
28690 * sysdeps/unix/execve.S: Remove file.
28691
28692 * sysdeps/unix/_exit.S: Remove file.
28693
28694 2012-04-23 Andreas Jaeger <aj@suse.de>
28695
28696 [BZ #13739]
28697 * manual/Makefile: Remove make dist support, there's no
28698 need for a stand-alone documentation tar ball.
28699 (TEXI2DVI): Define always, it's not in Makeconfig.
28700 (dist): Removed.
28701 (tar-it): Removed.
28702 (edition): Removed.
28703 (glibc-doc-$(edition).tar): Removed
28704 (%.Z): Removed.
28705 (%.gz): Removed.
28706 (%.uu): Removed.
28707 (ETAGS): Remove, it's in Makeconfig.
28708 (move-if-change): Remove, it's in Makeconfig.
28709
28710 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
28711
28712 [BZ #13970]
28713 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
28714 (strtod, strtof, strtold, strtol, strtoul, strtoq)
28715 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
28716 (strtod_l, strtof_l, strtold_l): Remove __wur.
28717 It is not necessarily an error to ignore strtol's return value.
28718 One can reliably look at the stored endptr to decide whether
28719 the number had valid syntax.
28720
28721 2012-04-21 Andreas Jaeger <aj@suse.de>
28722
28723 [BZ #13739]
28724 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
28725
28726 2012-04-21 Joseph Myers <joseph@codesourcery.com>
28727
28728 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
28729 * sysdeps/unix/sysv/Versions: Remove file.
28730
28731 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
28732
28733 [BZ #13927]
28734 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28735
28736 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
28737
28738 [BZ #7064]
28739 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
28740 version from __vm86.
28741
28742 2012-04-20 Joseph Myers <joseph@codesourcery.com>
28743
28744 * sysdeps/unix/common/lxstat.c: Remove file.
28745 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
28746
28747 * sysdeps/unix/sysv/Makefile: Remove file.
28748
28749 * sysdeps/unix/sysv/direct.h: Remove file.
28750
28751 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
28752 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
28753 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
28754 * sysdeps/unix/sysv/bits/signum.h: Likewise.
28755 * sysdeps/unix/sysv/bits/stat.h: Likewise.
28756 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
28757 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
28758
28759 * sysdeps/unix/sysv/setrlimit.c: Remove file.
28760
28761 * sysdeps/unix/xmknod.c: Remove file.
28762 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
28763
28764 * sysdeps/unix/sysv/settimeofday.c: Remove file.
28765
28766 * sysdeps/unix/sysv/i386/time.S: Remove file.
28767
28768 * sysdeps/unix/fxstat.c: Remove file.
28769 * sysdeps/unix/xstat.c: Likewise.
28770 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
28771
28772 * sysdeps/unix/sysv/sigaction.c: Remove file.
28773
28774 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
28775 (sysdep_headers): Remove variable.
28776 [termio.h not in sysdep_headers] (generated): Likewise.
28777 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
28778 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
28779 * sysdeps/unix/sysv/tcdrain.c: Likewise.
28780 * sysdeps/unix/sysv/tcflow.c: Likewise.
28781 * sysdeps/unix/sysv/tcflush.c: Likewise.
28782 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
28783 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
28784 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
28785 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
28786 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
28787
28788 * sysdeps/unix/siglist.c: Remove file.
28789
28790 * sysdeps/unix/getppid.S: Remove file.
28791
28792 * sysdeps/unix/mkdir.c: Remove file.
28793 * sysdeps/unix/rmdir.c: Likewise.
28794
28795 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
28796
28797 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
28798 ERR_MAX value.
28799 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
28800 errlist-compat value.
28801
28802 2012-04-18 David S. Miller <davem@davemloft.net>
28803
28804 * sysdeps/generic/memcopy.h (reg_char): Delete.
28805 * debug/strcat_chk.c: Use char, not reg_char.
28806 * debug/strcpy_chk.c: Likewise.
28807 * debug/strncat_chk.c: Likewise.
28808 * debug/strncpy_chk.c: Likewise.
28809 * string/memchr.c: Likewise.
28810 * string/memrchr.c: Likewise.
28811 * string/rawmemchr.c: Likewise.
28812 * string/strcat.c: Likewise.
28813 * string/strchr.c: Likewise.
28814 * string/strchrnul.c: Likewise.
28815 * string/strcmp.c: Likewise.
28816 * string/strcpy.c: Likewise.
28817 * string/strncat.c: Likewise.
28818 * string/strncmp.c: Likewise.
28819 * string/strncpy.c: Likewise.
28820
28821 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28822
28823 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
28824 __builtin_memcopy is called when src and dest ranges are known to not
28825 overlap.
28826
28827 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28828
28829 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
28830 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
28831 fwd_align_merge macro call.
28832 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
28833 bwd_align_merge macro call.
28834 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28835
28836 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28837
28838 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
28839 bwd_align_merge macros.
28840 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
28841 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
28842 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28843
28844 2012-04-18 David S. Miller <davem@davemloft.net>
28845
28846 * sysdeps/sparc/sparc64/memcopy.h: Delete.
28847
28848 2012-04-18 Andreas Jaeger <aj@suse.de>
28849
28850 [BZ# 6794]
28851 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
28852 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
28853 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28854
28855 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
28856 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
28857 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28858
28859 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
28860 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
28861 Adjust for changed ldbl-128 files.
28862
28863 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
28864 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
28865 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28866
28867 2012-04-17 David S. Miller <davem@davemloft.net>
28868
28869 * sysdeps/sparc/sparc32/memcopy.h: Delete.
28870
28871 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
28872
28873 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
28874 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
28875 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
28876 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
28877 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28878 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
28879
28880 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28881
28882 [BZ #6794]
28883 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
28884 * math/libm-test.inc: Add ilogb errno and exception tests.
28885 * math/w_ilogb.c: New file: ilogb wrapper.
28886 * math/w_ilogbf.c: New file: ilogbf wrapper.
28887 * math/w_ilogbl.c: New file: ilogbl wrapper.
28888 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
28889 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
28890 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
28891 exception being thrown with 0.0 as argument.
28892 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
28893 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
28894 exception being thrown with 0.0 as argument.
28895 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
28896 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28897 exception being thrown with 0.0 as argument.
28898 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
28899 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28900 exception being thrown with 0.0 as argument.
28901 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
28902 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
28903 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
28904 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
28905 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
28906 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
28907 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
28908 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
28909 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
28910
28911 2012-04-17 Petr Baudis <pasky@ucw.cz>
28912
28913 * include/sys/uio.h: Change __vector to __iovec to avoid clash
28914 with altivec.
28915
28916 2012-04-16 Marek Polacek <polacek@redhat.com>
28917
28918 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
28919
28920 2012-04-16 Marek Polacek <polacek@redhat.com>
28921
28922 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
28923 operands of fdivp instruction.
28924
28925 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28926
28927 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
28928 * elf/tst-auditmod3b.c: Likewise.
28929 * elf/tst-auditmod4b.c: Likewise.
28930 * elf/tst-auditmod5b.c: Likewise.
28931 * elf/tst-auditmod6b.c: Likewise.
28932 * elf/tst-auditmod6c.c: Likewise.
28933 * elf/tst-auditmod7b.c: Likewise.
28934 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
28935 * sysdeps/x86_64/preconfigure.in: Likewise.
28936 * sysdeps/x86_64/preconfigure: Regenerated.
28937
28938 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28939
28940 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
28941 __ILP32__.
28942
28943 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
28944
28945 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28946 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
28947
28948 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
28949
28950 [BZ #13973]
28951 * locale/iso-639.def: Fix gl language name. Spotted by
28952 Yaron Shahrabani.
28953
28954 2012-04-12 Roland McGrath <roland@hack.frob.com>
28955
28956 [BZ #2074]
28957 * libio/libio.h (__io_write_fn): Update comment.
28958
28959 2012-04-12 Petr Baudis <pasky@ucw.cz>
28960
28961 [BZ #2074]
28962 * stdio.texi (Hook Functions): The user provided writer function
28963 is not allowed to return -1.
28964
28965 2012-04-11 David S. Miller <davem@davemloft.net>
28966
28967 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28968
28969 2012-04-11 Mike Frysinger <vapier@gentoo.org>
28970
28971 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
28972 Add a leading slash to rtkaio.
28973
28974 2012-04-11 Jim Meyering <meyering@redhat.com>
28975
28976 [BZ #11959]
28977 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
28978 It is not necessarily an error to ignore fwrite's return
28979 value. One can reliably use ferror to test for errors after
28980 the fact.
28981
28982 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
28983
28984 * bits/types.h (__snseconds_t): New type.
28985 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
28986
28987 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
28988 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28989 (__SNSECONDS_T_TYPE): Likewise.
28990 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28991 (__SNSECONDS_T_TYPE): Likewise.
28992 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28993 (__SNSECONDS_T_TYPE): Likewise.
28994
28995 2012-04-10 Andreas Jaeger <aj@suse.de>
28996
28997 [BZ #2636]
28998 * manual/time.texi (Processor Time): Return type of times is
28999 elapsed real time since an arbitrary point in the past.
29000 (CPU Time): Move CLK_TCK from here...
29001 (Processor Time): ...to here. Correct description.
29002 * manual/conf.texi (Constants for Sysconf): Correct description of
29003 _SC_CLK_TCK.
29004
29005 2012-04-10 David S. Miller <davem@davemloft.net>
29006
29007 [BZ #13967]
29008 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
29009 where the is a gap between DT_REL(A) and DT_JMPREL.
29010
29011 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
29012
29013 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
29014 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
29015 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
29016
29017 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29018
29019 * elf/dl-support.c (_dl_inhibit_cache): New variable.
29020 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
29021 (dl_main): Handle --inhibit-cache.
29022 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
29023 _dl_inhibit_cache.
29024 * elf/dl-load.c (_dl_map_object): Use it.
29025 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
29026
29027 2012-04-09 Joseph Myers <joseph@codesourcery.com>
29028
29029 [BZ #13872]
29030 * sysdeps/i386/fpu/e_powl.S (p78): New object.
29031 (__ieee754_powl): Saturate large exponents rather than testing for
29032 overflow of y*log2(x).
29033 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29034 * math/libm-test.inc (pow_test): Do not permit spurious overflow
29035 exceptions.
29036
29037 [BZ #11521]
29038 * math/s_ctan.c: Include <float.h>.
29039 (__ctan): Avoid internal overflow or cancellation in calculating
29040 denominator.
29041 * math/s_ctanf.c: Likewise.
29042 * math/s_ctanl.c: Likewise.
29043 * math/s_ctanh.c: Likewise.
29044 * math/s_ctanhf.c: Likewise.
29045 * math/s_ctanhl.c: Likewise.
29046 * math/libm-test.inc (ctan_test): Add more tests.
29047 (ctanh_test): Likewise.
29048 * sysdeps/i386/fpu/libm-test-ulps: Update.
29049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29050
29051 2012-04-09 Andreas Jaeger <aj@suse.de>
29052
29053 [BZ #6894]
29054 * manual/filesys.texi (Directory Entries): Mention that d_namlen
29055 is an optional BSD extension.
29056
29057 [BZ #10254]
29058 * manual/stdio.texi (Opening Streams): Document additional fopen
29059 parameters.
29060
29061 2012-04-09 Roland McGrath <roland@hack.frob.com>
29062
29063 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
29064 %eax without telling the compiler.
29065
29066 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
29067
29068 [BZ # 13963]
29069 * manual/install.texi: Use sourceware.org.
29070
29071 2012-04-09 Joseph Myers <joseph@codesourcery.com>
29072
29073 [BZ #13873]
29074 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
29075 (__ieee754_pow): Generate overflow and underflow using huge*huge
29076 and tiny*tiny rather than just returning constant infinity or zero
29077 for large exponents.
29078 * math/libm-test.inc (pow_test): Require overflow exceptions for
29079 applicable cases of large exponents.
29080
29081 [BZ #706]
29082 * sysdeps/i386/fpu/e_pow.S (p10): New object.
29083 (__ieee754_pow): Use iterative multiplication algorithm only for
29084 integer exponents with absolute value below 1024. Check for odd
29085 integer exponents when using algorithm for real exponents.
29086 * math/libm-test.inc (pow_test): Add more tests.
29087 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29088
29089 2012-04-08 Joseph Myers <joseph@codesourcery.com>
29090
29091 [BZ #13705]
29092 * math/libm-test.inc (exp_test): Do not allow overflow exception
29093 on underflow test.
29094
29095 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
29096
29097 [BZ #13705]
29098 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
29099 instead of __kernel_standard_f.
29100
29101 2012-04-08 Mike Frysinger <vapier@gentoo.org>
29102
29103 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
29104 * sysdeps/x86_64/memset_chk.S: Likewise.
29105
29106 2012-04-08 Andreas Jaeger <aj@suse.de>
29107
29108 [BZ #10153]
29109 * manual/startup.texi (Environment Access): Describe return value
29110 for putenv and setenv.
29111
29112 [BZ #6895]
29113 * manual/filesys.texi (Directory Entries): Add description for
29114 DT_LNK.
29115
29116 [BZ #6890]
29117 * manual/filesys.texi (Directory Entries): Clarify that it's file
29118 system not operating system in the description of DT_UNKNOWN.
29119
29120 [BZ #6578]
29121 * manual/syslog.texi (closelog): Fix reference, it's openlog.
29122
29123 2012-04-08 Stephen Compall <s11@member.fsf.org>
29124
29125 [BZ #6649]
29126 * manual/llio.texi (Opening and Closing Files): Add cross
29127 reference to explain mode argument.
29128
29129 2012-04-07 Mike Frysinger <vapier@gentoo.org>
29130
29131 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
29132 * sysdeps/x86_64/memset_chk.S: Likewise.
29133
29134 2012-04-07 David S. Miller <davem@davemloft.net>
29135
29136 * elf/elf.h (R_SPARC_WDISP10): Define.
29137 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
29138 R_SPARC_SIZE32.
29139 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
29140 R_SPARC_SIZE64 and R_SPARC_H34.
29141
29142 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
29143
29144 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
29145 conditions and remove no longer applicable assertion.
29146
29147 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
29148
29149 * bits/byteswap.h: Include <features.h>.
29150 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
29151 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
29152
29153 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
29154
29155 * bits/byteswap.h (__bswap_16): Removed.
29156 Include <bits/byteswap-16.h> to get __bswap_16.
29157 * sysdeps/i386/bits/byteswap.h: Likewise.
29158 * sysdeps/s390/bits/byteswap.h: Likewise.
29159 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29160 * bits/byteswap-16.h: New file.
29161 * sysdeps/i386/bits/byteswap-16.h: Likewise.
29162 * sysdeps/s390/bits/byteswap-16.h: Likewise.
29163 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
29164 * string/Makefile (headers): Add bits/byteswap-16.h.
29165
29166 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29167
29168 [BZ #13895]
29169 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
29170 extra indirection.
29171 * nss/Makefile (tests-static, tests): Add tst-nss-static.
29172 * nss/tst-nss-static.c: New.
29173
29174 2012-04-06 Robert Millan <rmh@gnu.org>
29175
29176 [BZ #6486]
29177 * manual/llio.texi (File Position Primitive): lseek
29178 refers to WHENCE when it really means OFFSET.
29179
29180 2012-04-06 Andreas Jaeger <aj@suse.de>
29181
29182 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
29183 strncmp declarations.
29184
29185 * abilist/libc.abilist: Add __poll and __ppoll.
29186
29187 2012-04-05 David S. Miller <davem@davemloft.net>
29188
29189 * scripts/check-local-headers.sh: Accept a host triplet in the
29190 path matched by the exclude regexp.
29191
29192 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
29193 definition.
29194 * sysdeps/powerpc/powerpc32/dl-machine.h
29195 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
29196 * sysdeps/s390/s390-32/dl-machine.h
29197 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
29198 * sysdeps/sparc/sparc32/dl-machine.h
29199 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
29200 * sysdeps/sparc/sparc64/dl-machine.h
29201 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
29202
29203 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
29204 lazy binding.
29205 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
29206 undefined symbol errors.
29207
29208 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
29209 DT_NEEDED entries.
29210
29211 2012-04-05 Michael Matz <matz@suse.de>
29212
29213 [BZ #13592]
29214 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
29215
29216 2012-04-05 Andreas Jaeger <aj@suse.de>
29217
29218 [BZ #13908]
29219 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
29220 comment.
29221
29222 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29223
29224 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
29225 which ROUND is no valid rounding mode.
29226
29227 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29228
29229 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
29230 read again.
29231 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
29232
29233 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29234
29235 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
29236 an exception using FPU order intentionally.
29237
29238 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29239
29240 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
29241 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
29242 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
29243 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
29244
29245 2012-04-05 Simon Josefsson <simon@josefsson.org>
29246
29247 [BZ #12340]
29248 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
29249 EINVAL when BUFLEN is too smal.
29250
29251 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
29252
29253 [BZ #13553]
29254 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
29255 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
29256
29257 2012-04-03 Andreas Jaeger <aj@suse.de>
29258
29259 [BZ #13938]
29260 * manual/setjmp.texi (System V contexts): Fix sentence.
29261
29262 [BZ #13926]
29263 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
29264 New macro for this case.
29265 [!__GNUC__] (__bswap_64): New inline function for this case.
29266 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29267 * bits/byteswap.h: Likewise.
29268 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
29269 ull, guard with __GLIBC_HAVE_LONG_LONG.
29270
29271 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
29272 __GLIBC_HAVE_LONG_LONG.
29273
29274 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
29275 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
29276
29277 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29278
29279 [BZ #13691]
29280 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
29281 inptr and inend, rather than using last_ch.
29282
29283 2012-04-02 David S. Miller <davem@davemloft.net>
29284
29285 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
29286 * stdio-common/printf-parse.h (read_int): Change return type to
29287 'int', return -1 on INT_MAX overflow.
29288 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
29289 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
29290 overflows INT_MAX. Check for overflow of in-format-string precision
29291 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
29292 SIZE_MAX not INT_MAX for integer overflow test.
29293 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
29294 skip the construct in the format string but do not record anything.
29295 * stdio-common/bug22.c: Adjust to test both width/prevision
29296 INT_MAX overflow as well as total length INT_MAX overflow. Check
29297 explicitly for proper errno values.
29298
29299 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
29300
29301 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
29302 CHAR_MAX.
29303 * string/test-strcmp.c [! WIDE]: Likewise.
29304 * time/tst-mktime2.c: Likewise for INT_MAX.
29305 * string/test-string.h: #include <sys/param.h> for MIN.
29306
29307 * csu/init-first.c (__libc_init_first): Call __ctype_init.
29308 * sysdeps/i386/init-first.c (init): Likewise.
29309 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
29310 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
29311 * sysdeps/sh/init-first.c (init): Likewise.
29312
29313 2012-04-01 Ulrich Drepper <drepper@gmail.com>
29314
29315 * po/ru.po: Update from translation team.
29316 * po/vi.po: Likewise.
29317
29318 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
29319
29320 * resolv/nss_dns/dns-host.c: Merge copyright years.
29321
29322 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29323
29324 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29325 Optimize memcpy with prefetch if
29326 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
29327 src, dst pointers have unequal 16 byte alignments.
29328
29329 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29330
29331 [BZ #13928]
29332 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
29333 from a CNAME entry and return the minimum ttl for the query.
29334 (gaih_getanswer_slice): Likewise.
29335
29336 2012-03-30 Jeff Law <law@redhat.com>
29337
29338 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
29339 due to long keys.
29340 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
29341 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
29342
29343 * resolv/nss_dns/dns-host.c: Update copyright year.
29344
29345 2012-03-30 Ulrich Drepper <drepper@gmail.com>
29346
29347 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
29348 requests to save a system call. Fix check that all bytes are sent.
29349
29350 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
29351 comments for sendmmsg.
29352
29353 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29354
29355 [BZ #13691]
29356 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
29357 with only 1 character between 0x0041 and 0x01b0.
29358 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
29359 * wcsmbs/tst-mbsnrtowcs.c: New file.
29360
29361 2012-03-29 David S. Miller <davem@davemloft.net>
29362
29363 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
29364 small copies by hand.
29365
29366 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29367
29368 [BZ #13761]
29369 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
29370 _nss_compat_initgroups_dyn): Fall back to malloc/free
29371 for large group memberships.
29372
29373 2012-03-28 David S. Miller <davem@davemloft.net>
29374
29375 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
29376 that branches into memcpy.
29377 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
29378 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
29379 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29380 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
29381 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
29382 bits.
29383 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
29384 implementation too.
29385 * sysdeps/sparc/mempcpy.S: New file.
29386
29387 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
29388 the IFUNC routine in the libc case.
29389 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29390
29391 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
29392 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
29393 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
29394 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
29395 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
29396 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
29397 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
29398 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
29399
29400 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
29401 loop to 256 bytes instead of 64 bytes and fix test signedness.
29402
29403 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
29404 * sysdeps/sparc/sparc32/Makefile: rather than here...
29405 * sysdeps/sparc/sparc64/Makefile: and here.
29406
29407 2012-03-28 Ulrich Drepper <drepper@gmail.com>
29408
29409 * malloc/mallocbug.c: Avoid warnings about unused variables.
29410
29411 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29412
29413 [BZ #13760]
29414 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
29415 in the right place. Discard and retry query if response is
29416 larger than input buffer size.
29417
29418 2012-03-28 Joseph Myers <joseph@codesourcery.com>
29419
29420 [BZ #369]
29421 [BZ #2678]
29422 [BZ #3866]
29423 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
29424 x for large integer exponent.
29425 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29426 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
29427 sign of result as needed afterwards.
29428 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
29429 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
29430 result for underflowing pow the same as for overflow.
29431 (__kernel_standard_l): Handle powl overflow and underflow here
29432 rather than calling __kernel_standard.
29433 * math/libm-test.inc (pow_test): Add more tests.
29434
29435 [BZ #3868]
29436 [BZ #13879]
29437 [BZ #13910]
29438 [BZ #13911]
29439 [BZ #13912]
29440 [BZ #13913]
29441 [BZ #13915]
29442 [BZ #13916]
29443 [BZ #13917]
29444 [BZ #13918]
29445 [BZ #13919]
29446 [BZ #13920]
29447 [BZ #13921]
29448 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
29449 * sysdeps/ieee754/k_standard.c: Include <float.h>.
29450 (__kernel_standard_l): New function.
29451 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
29452 __kernel_standard.
29453 * math/w_acosl.c (__acosl): Likewise.
29454 * math/w_asinl.c (__asinl): Likewise.
29455 * math/w_atan2l.c (__atan2l): Likewise.
29456 * math/w_atanhl.c (__atanhl): Likewise.
29457 * math/w_coshl.c (__coshl): Likewise.
29458 * math/w_exp10l.c (__exp10l): Likewise.
29459 * math/w_exp2l.c (__exp2l): Likewise.
29460 * math/w_fmodl.c (__fmodl): Likewise.
29461 * math/w_hypotl.c (__hypotl): Likewise.
29462 * math/w_j0l.c (__j0l, __y0l): Likewise.
29463 * math/w_j1l.c (__j1l, __y1l): Likewise.
29464 * math/w_jnl.c (__jnl, __ynl): Likewise.
29465 * math/w_lgammal.c (__lgammal): Likewise.
29466 * math/w_log10l.c (__log10l): Likewise.
29467 * math/w_log2l.c (__log2l): Likewise.
29468 * math/w_logl.c (__logl): Likewise.
29469 * math/w_powl.c (__powl): Likewise.
29470 * math/w_remainderl.c (__remainderl): Likewise.
29471 * math/w_scalbl.c (sysv_scalbl): Likewise.
29472 * math/w_sinhl.c (__sinhl): Likewise.
29473 * math/w_sqrtl.c (__sqrtl): Likewise.
29474 * math/w_tgammal.c (__tgammal): Likewise.
29475 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
29476 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
29477 * math/libm-test.inc (acos_test): Add more tests.
29478 (acosh_test): Likewise.
29479 (asin_test): Likewise.
29480 (atanh_test): Likewise.
29481 (exp_test): Likewise.
29482 (exp10_test): Likewise.
29483 (exp2_test): Likewise.
29484 (expm1_test): Likewise.
29485 (lgamma_test): Likewise.
29486 (log_test): Likewise.
29487 (log10_test): Likewise.
29488 (log1p_test): Likewise.
29489 (log2_test): Likewise.
29490 (pow_test): Do not allow some spurious overflow exceptions.
29491 (sqrt_test): Add more tests.
29492 (tgamma_test): Likewise.
29493 (y0_test): Likewise.
29494 (y1_test): Likewise.
29495 (yn_test): Likewise.
29496
29497 2012-03-27 Anton Blanchard <anton@samba.org>
29498
29499 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
29500 MAP_HUGETLB.
29501 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29502 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29503 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29504
29505 2012-03-27 David S. Miller <davem@davemloft.net>
29506
29507 * conform/Makefile: Run run-conformtest.sh using $(BASH).
29508
29509 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
29510 have-as-vis3 check.
29511
29512 2012-03-27 Andreas Jaeger <aj@suse.de>
29513
29514 * sysdeps/x86_64/elf/configure.in: Moved to ...
29515 * sysdeps/x86_64/configure.in: ... here.
29516 * sysdeps/x86_64/elf/start.S: Moved to ...
29517 * sysdeps/x86_64/start.S: ... here.
29518 * sysdeps/x86_64/elf/configure: Delete.
29519
29520 * sysdeps/x86_64/configure.in: Merge contents from
29521 sysdeps/i386/configure.in (without i686 check).
29522
29523 * sysdeps/i386/elf/Versions: Merge into ...
29524 * sysdeps/i386/Versions: ... this.
29525 * sysdeps/i386/elf/Versions: Delete file.
29526 * sysdeps/i386/elf/start.S: Moved to ...
29527 * sysdeps/i386/start.S: ...here.
29528 * sysdeps/i386/elf/configure.in: Merge into...
29529 * sysdeps/i386/configure.in: ...here.
29530 * sysdeps/i386/elf/configure.in: Delete file.
29531 * sysdeps/i386/elf/configure: Delete file.
29532
29533 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
29534 * debug/backtracesyms.c: ... here.
29535 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
29536 * debug/backtracesymsfd.c: ... here.
29537 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
29538 * sysdeps/generic/ifunc-sel.h: ... here.
29539
29540 * sysdeps/unix/i386/start.c: Delete file.
29541 * sysdeps/unix/sparc/start.c: Delete file.
29542 * sysdeps/unix/start.c: Delete file.
29543
29544 * sysdeps/sh/elf/configure.in: Moved to ...
29545 * sysdeps/sh/configure.in: ... here.
29546 * sysdeps/sh/elf/start.S: Moved to ...
29547 * sysdeps/sh/start.S: ... here.
29548 * sysdeps/sh/elf/configure: Delete file.
29549
29550 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
29551 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
29552 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
29553 * sysdeps/powerpc/powerpc64/entry.h: ... here.
29554 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
29555 * sysdeps/powerpc/powerpc64/start.S: here.
29556 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
29557 * sysdeps/powerpc/powerpc64/Makefile: ... this.
29558 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
29559 * sysdeps/powerpc/powerpc64/configure.in: ... this.
29560 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
29561
29562 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
29563 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
29564 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
29565 * sysdeps/powerpc/powerpc32/start.S: ... here.
29566 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
29567 * sysdeps/powerpc/powerpc32/configure.in: ... this.
29568 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
29569
29570 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
29571 * sysdeps/powerpc/ifunc-sel.h: ... here.
29572 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
29573 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
29574
29575 * sysdeps/sparc/elf/configure.in: Moved to ...
29576 * sysdeps/sparc/configure.in: ... here.
29577 * sysdeps/sparc/elf/configure: Delete file.
29578 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
29579 * sysdeps/sparc/sparc32/start.S: ... here.
29580 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
29581 * sysdeps/sparc/sparc64/start.S: ... here.
29582 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
29583 * sysdeps/sparc/sparc32/Makefile: ... this.
29584 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
29585 * sysdeps/sparc/sparc64/Makefile: ... this.
29586
29587 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
29588 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
29589 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
29590 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
29591 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
29592 * sysdeps/s390/s390-32/setjmp.S: ... here.
29593 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
29594 * sysdeps/s390/s390-32/configure.in: ... here.
29595 * sysdeps/s390/s390-32/elf/configure: Delete file.
29596 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
29597 * sysdeps/s390/s390-32/start.S: ... here.
29598
29599 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
29600 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
29601 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
29602 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
29603 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
29604 * sysdeps/s390/s390-64/setjmp.S: ... here.
29605 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
29606 * sysdeps/s390/s390-64/configure.in: ... here
29607 * sysdeps/s390/s390-64/elf/configure: Delete file.
29608 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
29609 * sysdeps/s390/s390-64/start.S: ... here.
29610 * sysdeps/s390/s390-64/elf/configure: Delete.
29611
29612 * configure.in: Remove support for elf directories in sysdeps.
29613
29614 * configure: Regenerated.
29615 * sysdeps/i386/configure: Regenerated.
29616 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29617 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29618 * sysdeps/s390/s390-32/configure: Regenerated.
29619 * sysdeps/s390/s390-64/configure: Regenerated.
29620 * sysdeps/sh/configure: Regenerated.
29621 * sysdeps/sparc/configure: Regenerated.
29622 * sysdeps/x86_64/configure: Regenerated.
29623
29624 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
29625
29626 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29627
29628 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
29629 denormal result into account.
29630
29631 2012-03-25 Roland McGrath <roland@hack.frob.com>
29632
29633 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
29634 Reported by Allan McRae <allan@archlinux.org>.
29635
29636 2012-03-23 Jeff Law <law@redhat.com>
29637
29638 * nss/getnssent.c (__nss_getent): Fix typo.
29639
29640 2012-03-23 David S. Miller <davem@davemloft.net>
29641
29642 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29643
29644 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
29645
29646 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
29647 to pad to uint64_t for each field.
29648 (dl_tls_index): Replace unsigned long with uint64_t.
29649
29650 2012-03-23 Daniel Jacobowitz <dmj@google.com>
29651 Paul Pluzhnikov <ppluzhnikov@google.com>
29652
29653 [BZ #6528]
29654 * grp/Makefile (otherlibs): Don't set it.
29655 * inet/Makefile (otherlibs): Likewise.
29656 * login/Makefile (otherlibs): Likewise.
29657 * nscd/Makefile (otherlibs): Likewise.
29658 * posix/Makefile (otherlibs): Likewise.
29659 * pwd/Makefile (otherlibs): Likewise.
29660 * rt/Makefile (otherlibs): Likewise.
29661 * sunrpc/Makefile (otherlibs): Likewise.
29662 * nss/Makefile (otherlibs): Likewise.
29663 Add libnss_files to routines and static-only-routines.
29664 ($(objpfx)getent): Remove rule.
29665 * resolv/Makefile: Add libnss_dns and libresolv to routines and
29666 static-only-routines.
29667
29668 2012-03-22 Joseph Myers <joseph@codesourcery.com>
29669
29670 [BZ #13892]
29671 * math/s_cexp.c: Include <float.h>.
29672 (__cexp): Handle exp result overflowing not necessarily
29673 overflowing both real and imaginary parts of result.
29674 * math/s_cexpf.c: Likewise.
29675 * math/s_cexpl.c: Likewise.
29676 * math/libm-test.inc (cexp_test): Add more tests.
29677 * sysdeps/i386/fpu/libm-test-ulps: Update.
29678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29679
29680 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29681
29682 * include/link.h (ELFW): New macro.
29683 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
29684 Replace ELF64_R_TYPE with ELFW(R_TYPE).
29685
29686 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29687
29688 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
29689 with uint64_t.
29690
29691 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29692
29693 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
29694 declaration.
29695 (struct La_x32_retval): Likewise.
29696
29697 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29698
29699 * sysdeps/x86_64/preconfigure.in: New file.
29700 * sysdeps/x86_64/preconfigure: New generated file.
29701
29702 2012-03-22 Joseph Myers <joseph@codesourcery.com>
29703
29704 [BZ #13824]
29705 * math/e_exp2l.c: Include <float.h>.
29706 (__ieee754_exp2l): Handle overflow and underflow cases
29707 separately. Only pass fractional part of argument to
29708 __ieee754_expl.
29709 * math/libm-test.inc (exp2_test): Add more tests.
29710
29711 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
29712 negating x to take absolute value.
29713 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
29714 Likewise.
29715 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29716 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
29717 Likewise.
29718 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
29719 computing low part if x was negated.
29720 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29721
29722 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29723
29724 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
29725 la_x32_gnu_pltexit.
29726 (pltexit): Cast int_retval to ptrdiff_t.
29727 * elf/tst-auditmod3b.c: Likewise.
29728 * elf/tst-auditmod4b.c: Likewise.
29729 * elf/tst-auditmod5b.c: Likewise.
29730 * elf/tst-auditmod6b.c: Likewise.
29731 * elf/tst-auditmod6c.c: Likewise.
29732 * elf/tst-auditmod7b.c: Likewise.
29733
29734 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
29735 and x32_gnu_pltexit.
29736
29737 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
29738 __ELF_NATIVE_CLASS.
29739 (La_x32_regs): New macro.
29740 (La_x32_retval): Likewise.
29741 (la_x32_gnu_pltenter): New function prototype.
29742 (la_x32_gnu_pltexit): Likewise.
29743
29744 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
29745
29746 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
29747 exponent.
29748
29749 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29750
29751 * configure.in (libc_cv_cc_nofma): Check for option to disable
29752 generation of FMA instructions.
29753 * configure: Regenerate.
29754 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
29755 * sysdeps/ieee754/dbl-64/Makefile: New file.
29756 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29757 Remove brandred-fma4.
29758 (CFLAGS-brandred-fma4.c): Remove.
29759 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
29760 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
29761 define.
29762 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
29763 define.
29764
29765 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29766
29767 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29768 LLONG_MAX != LONG_MAX.
29769 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29770 (_fitoa_word): Likewise.
29771 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
29772 LLONG_MAX != LONG_MAX.
29773 * stdio-common/_itowa.h: Include <_itoa.h>.
29774 (_itowa_word): Use _ITOA_WORD_TYPE on value.
29775 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
29776 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
29777 only if not defined.
29778 (_ITOA_WORD_TYPE): Likewise.
29779 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29780 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
29781
29782 2012-03-21 David S. Miller <davem@davemloft.net>
29783
29784 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29785
29786 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29787
29788 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
29789 of x86_64 when setting libc_cv_slibdir, libdir and
29790 libc_cv_localedir.
29791 * sysdeps/unix/sysv/linux/configure: Regenerated.
29792
29793 2012-03-21 Joseph Myers <joseph@codesourcery.com>
29794
29795 * manual/lang.texi (Old Varargs): Remove section.
29796 (How Variadic): Update menu.
29797 (va_start): Do not mention varargs.h.
29798
29799 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29800 Joseph Myers <joseph@codesourcery.com>
29801
29802 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
29803 link test.
29804 * configure: Regenerated.
29805
29806 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29807
29808 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
29809 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
29810 conformtest.pl
29811
29812 2012-03-21 Joseph Myers <joseph@codesourcery.com>
29813
29814 * NOTES: Remove.
29815 * Makefile (files-for-dist): Remove NOTES.
29816 (NOTES): Remove rule.
29817 * README: Don't refer to NOTES.
29818 * manual/creature.texi: Don't include macros.texi.
29819 * manual/intro.texi (creature.texi): Remove comment referring to
29820 NOTES.
29821
29822 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
29823 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
29824 * configure: Regenerated.
29825 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
29826 LIBC_TRY_CC_OPTION.
29827 (libc_cv_as_i686): Likewise.
29828 (libc_cv_cc_avx): Likewise.
29829 (libc_cv_cc_sse2avx): Likewise.
29830 (libc_cv_cc_fma4): Likewise.
29831 (libc_cv_cc_novzeroupper): Likewise.
29832 * sysdeps/i386/configure: Regenerated.
29833
29834 [BZ #13883]
29835 * sysdeps/i386/fpu/s_cexp.S: Remove.
29836 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29837 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29838 * math/libm-test.inc (cexp_test): Add more tests.
29839 * sysdeps/i386/fpu/libm-test-ulps: Update.
29840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29841
29842 2012-03-21 Allan McRae <allan@archlinux.org>
29843
29844 * timezone/Makefile: Do not install iso3166.tab and zone.tab
29845
29846 2012-03-21 Joseph Myers <joseph@codesourcery.com>
29847
29848 [BZ #13871]
29849 * math/w_exp2.c: Do not include <float.h>.
29850 (o_threshold, u_threshold): Remove.
29851 (__exp2): Calculate result before checking finiteness and calling
29852 __kernel_standard.
29853 * math/w_exp2f.c: Likewise.
29854 * math/w_exp2l.c: Likewise.
29855 * math/libm-test.inc (exp2_test): Require overflow exception for
29856 1e6 input.
29857
29858 [BZ #3866]
29859 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
29860 range of signed 64-bit integers before using fistpll. Remove
29861 checks for whether integers fit in mantissa bits.
29862 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
29863 the range of signed 32-bit integers before using fistpl. Remove
29864 checks for whether integers fit in mantissa bits.
29865 * sysdeps/i386/fpu/e_powl.S (p64): New object.
29866 (__ieee754_powl): Test for y outside the range of signed 64-bit
29867 integers before using fistpll. Reduce 64-bit values to 63-bit
29868 ones as needed.
29869 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
29870 divide-by-zero is raised for zero to large negative powers.
29871 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
29872 (__ieee754_powl): Test for y outside the range of signed 64-bit
29873 integers before using fistpll. Reduce 64-bit values to 63-bit
29874 ones as needed.
29875 * math/libm-test.inc (pow_test): Add more tests.
29876
29877 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29878
29879 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
29880 <stdio-common/_itoa.h>.
29881 * debug/segfault.c: Likewise.
29882 * elf/dl-cache.c: Likewise.
29883 * elf/dl-minimal.c: Likewise.
29884 * elf/dl-misc.c: Likewise.
29885 * elf/dl-sysdep.c: Likewise.
29886 * elf/dl-version.c: Likewise.
29887 * elf/rtld.c: Likewise.
29888 * hurd/hurdsock.c: Likewise.
29889 * hurd/lookup-retry.c: Likewise.
29890 * malloc/malloc.c: Likewise.
29891 * malloc/mtrace.c: Likewise.
29892 * nscd/nscd_getgr_r.c: Likewise.
29893 * nscd/nscd_getpw_r.c: Likewise.
29894 * nscd/nscd_getserv_r.c: Likewise.
29895 * posix/getopt_init.c: Likewise.
29896 * posix/wordexp.c: Likewise.
29897 * stdio-common/_itoa.c: Likewise.
29898 * stdio-common/printf_fphex.c: Likewise.
29899 * stdio-common/vfprintf.c: Likewise.
29900 * string/_strerror.c: Likewise.
29901 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
29902 * sysdeps/i386/i686/hp-timing.h: Likewise.
29903 * sysdeps/mach/_strerror.c: Likewise.
29904 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
29905 * sysdeps/mach/hurd/sethostid.c: Likewise.
29906 * sysdeps/mach/hurd/xmknodat.c: Likewise.
29907 * sysdeps/mach/xpg-strerror.c: Likewise.
29908 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29909 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29910 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
29911 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
29912 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29913 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
29914 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
29915 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
29916 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
29917 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
29918 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
29919 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29920 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
29921 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
29922 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
29923 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
29924 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
29925 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
29926 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
29927 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
29928 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
29929
29930 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
29931
29932 * stdio-common/_itoa.h: Moved to ...
29933 * sysdeps/generic/_itoa.h: Here.
29934
29935 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
29936
29937 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
29938 instead of "_itoa.h" and "_itowa.h".
29939 * stdio-common/vfprintf.: Likewise.
29940
29941 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29942
29943 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
29944 <bits/wordsize.h>.
29945 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
29946 (__signbit): Likwise.
29947 (llrintf): Likwise.
29948 (llrint): Likwise.
29949
29950 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29951
29952 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
29953 __WORDSIZE != 64.
29954
29955 2012-03-20 Joseph Myers <joseph@codesourcery.com>
29956
29957 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
29958 OVERFLOW_EXCEPTION_OK.
29959 * math/libm-test.inc ("Philosophy"): Update comment about
29960 exception testing.
29961 (OVERFLOW_EXCEPTION): Define.
29962 (OVERFLOW_EXCEPTION_OK): Likewise.
29963 (INVALID_EXCEPTION_OK): Renumber.
29964 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29965 (IGNORE_ZERO_INF_SIGN): Likewise.
29966 (test_exceptions): Handle FE_OVERFLOW.
29967 (exp10_test): Expect overflow exceptions.
29968 (exp2_test): Likewise.
29969 (expm1_test): Likewise.
29970 (nextafter_test): Likewise.
29971 (pow_test): Likewise.
29972 (scalbn_test): Likewise.
29973 (scalbln_test): Likewise.
29974
29975 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29976
29977 * sysdeps/x86_64/bits/atomic.h
29978 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
29979 64bit integer.
29980 (atomic_exchange_acq): Likewise.
29981 (__arch_exchange_and_add_body): Likewise.
29982 (__arch_add_body): Likewise.
29983 (atomic_add_negative): Likewise.
29984 (atomic_add_zero): Likewise.
29985
29986 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29987
29988 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
29989 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
29990
29991 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29992
29993 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
29994 Check __x86_64__ instead of __WORDSIZE.
29995
29996 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29997
29998 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
29999
30000 2012-03-19 David S. Miller <davem@davemloft.net>
30001
30002 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30003
30004 * sysdeps/sparc/fpu/fenv_private.h: New file.
30005 * sysdeps/sparc/fpu/math_private.h: Use it.
30006 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
30007 Remove.
30008 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
30009 (libc_feholdexcept_setroundl): Remove.
30010 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
30011 Remove.
30012 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
30013 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
30014
30015 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
30016
30017 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
30018 int64_t instead of long int.
30019 (INSERT_WORDS64): Likwise.
30020
30021 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
30022
30023 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
30024 _Unwind_GetCFA return to _Unwind_Ptr first.
30025
30026 2012-03-19 Joseph Myers <joseph@codesourcery.com>
30027
30028 [BZ #13629]
30029 * math/s_clog.c: Include <float.h>.
30030 (__clog): Scale large or subnormal inputs.
30031 * math/s_clogf.c: Likewise.
30032 * math/s_clogl.c: Likewise.
30033 * math/s_clog10.c: Include <float.h>.
30034 (M_LOG10_2): Define.
30035 (__clog10): Scale large or subnormal inputs.
30036 * math/s_clog10f.c: Likewise.
30037 * math/s_clog10l.c: Likewise.
30038 * math/libm-test.inc (clog_test): Add more tests.
30039 (clog10_test): Likewise.
30040 * sysdeps/i386/fpu/libm-test-ulps: Update.
30041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30042
30043 [BZ #11451]
30044 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
30045 x and y.
30046 * math/libm-test.inc (atan2_test): Add another test.
30047
30048 * Makerules (common-objdir-compile): Remove.
30049 * sysdeps/unix/Makefile (config-generated): Do not add
30050 $(unix-generated) to variable.
30051 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
30052 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
30053 Remove rule.
30054 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
30055 Likewise.
30056 [generic bits/local_lim.h] (before-compile): Do not append to
30057 variable.
30058 [generic bits/local_lim.h] (common-generated): Likewise.
30059 [generic sys/param.h] (before-compile): Do not append to variable.
30060 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
30061 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
30062 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
30063 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
30064 include.
30065 [generic sys/param.h] (sys/param.h-includes): Remove variable.
30066 [generic sys/param.h] (sys/param.h-includes): Remove rule.
30067 [generic sys/param.h] ($(addprefix
30068 $(common-objpfx),$(sys/param.h-includes))): Likewise.
30069 [generic sys/param.h] (common-generated): Do not append to
30070 variable.
30071 [generic sys/param.h] (sysdep_headers): Likewise.
30072 [generic bits/errno.h] (before-compile): Do not append to
30073 variable.
30074 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
30075 rule.
30076 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
30077 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
30078 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
30079 [generic bits/errno.h] (common-generated): Do not append to
30080 variable.
30081 [generic bits/ioctls.h] (before-compile): Do not append to
30082 variable.
30083 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
30084 rule.
30085 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
30086 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
30087 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
30088 rule.
30089 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
30090 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
30091 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
30092 [generic bits/ioctls.h] (common-generated): Do not append to
30093 variable.
30094 [generic sys/syscall.h] (syscall.h): Remove variable.
30095 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
30096 rule.
30097 [generic sys/syscall.h] (before-compile): Do not append to
30098 variable.
30099 [generic sys/syscall.h] (common-generated): Likewise.
30100 * sysdeps/unix/errnos-tmpl.c: Remove file.
30101 * sysdeps/unix/errnos.awk: Likewise.
30102 * sysdeps/unix/ioctls-tmpl.c: Likewise.
30103 * sysdeps/unix/ioctls.awk: Likewise.
30104 * sysdeps/unix/mk-local_lim.c: Likewise.
30105 * sysdeps/unix/snarf-ioctls: Likewise.
30106
30107 2012-03-19 Richard Henderson <rth@twiddle.net>
30108
30109 * sysdeps/i386/fpu/fenv_private.h: New file.
30110 * sysdeps/i386/fpu/math_private.h: Use it.
30111 (math_opt_barrier, math_force_eval): Remove.
30112 (libc_feholdexcept_setround_53bit): Remove.
30113 (libc_feupdateenv_53bit): Remove.
30114 * sysdeps/x86_64/fpu/math_private.h: Likewise.
30115 (math_opt_barrier, math_force_eval): Remove.
30116 (libc_feholdexcept): Remove.
30117 (libc_feholdexcept_setround): Remove.
30118 (libc_fetestexcept, libc_fesetenv): Remove.
30119 (libc_feupdateenv_test): Remove.
30120 (libc_feupdateenv, libc_feholdsetround): Remove.
30121 (libc_feresetround): Remove.
30122
30123 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
30124 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30125
30126 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
30127 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
30128 (libc_feupdateenv_testl): New.
30129 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
30130 (libc_feupdateenv_testf): New.
30131 (libc_feupdateenv): Use libc_feupdateenv_test.
30132 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
30133 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
30134
30135 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
30136 (libc_feholdsetroundf, libc_feholdsetroundl): New.
30137 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
30138 (libc_feresetround_noex): New.
30139 (libc_feresetround_noexf): New.
30140 (libc_feresetround_noexl): New.
30141 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
30142 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
30143 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
30144 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
30145 SET_RESTORE_ROUND.
30146 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30147 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
30148 (__cos): Likewise.
30149 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
30150 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
30151 SET_RESTORE_ROUND_NOEX.
30152 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
30153 SET_RESTORE_ROUND_NOEXF.
30154 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
30155 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
30156 (libc_feholdsetroundf): New.
30157 (libc_feresetround, libc_feresetroundf): New.
30158
30159 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
30160 (libc_feholdexcept_setround_53bit): Convert from macro to function.
30161 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
30162
30163 * sysdeps/generic/math_private.h: Include <fenv.h>.
30164 (default_libc_feholdexcept): New.
30165 (default_libc_feholdexcept_setround): New.
30166 (default_libc_fesetenv, default_libc_feupdateenv): New.
30167 (libc_feholdexcept): Only define if undefined.
30168 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
30169 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
30170 (libc_feholdexcept_setroundl): Likewise.
30171 (libc_feholdexcept_setround_53bit): Likewise.
30172 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
30173 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
30174 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
30175 (libc_feupdateenv_53bit): Likewise.
30176 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
30177 (libc_feholdexcept): Convert from macro to inline function.
30178 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
30179 (libc_fesetenv, libc_feupdateenv): Likewise.
30180
30181 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
30182 not previously defined.
30183 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
30184 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
30185 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
30186 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
30187 * sysdeps/ieee754/flt-32/math_private.h: New file.
30188 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
30189 math_private.h below SET_FLOAT_WORD.
30190 (__isnan, __isinf_ns, __finite): Remove.
30191 (__isnanf, __isinf_nsf, __finitef): Remove.
30192
30193 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
30194
30195 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30196
30197 2012-03-17 David S. Miller <davem@davemloft.net>
30198
30199 [BZ #6471]
30200 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
30201 for 2.16.
30202
30203 2012-03-16 David S. Miller <davem@davemloft.net>
30204
30205 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
30206 warnings.
30207
30208 [BZ #6471]
30209 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
30210 properly.
30211 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
30212 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
30213 sysdep_routines when subdir is sysvipc.
30214 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
30215 __getshmlba helper.
30216
30217 * sysdeps/sparc/fpu/libm-test/ulps: Update.
30218
30219 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30220
30221 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
30222 [__LP64__].
30223
30224 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30225
30226 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
30227 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
30228 (__lround): Renamed to ...
30229 (__llround): This. Replace long int with long long int.
30230 Define lround functions as aliases of llround functions.
30231 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
30232
30233 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30234
30235 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
30236 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
30237 adresses to uintptr_t. Replace "long int" and "unsigned long
30238 int" with "greg_t" on va_arg.
30239
30240 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30241
30242 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
30243 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
30244
30245 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
30246 Move e_machine check before EI_CLASS check. Handle x32
30247 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
30248 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
30249 SKIP_EM_IA_64 and include
30250 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
30251
30252 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
30253 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
30254 (add_system_dir): New macro.
30255
30256 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
30257 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
30258
30259 2012-03-16 Joseph Myers <joseph@codesourcery.com>
30260
30261 [BZ #2551]
30262 [BZ #2552]
30263 [BZ #2553]
30264 [BZ #2554]
30265 [BZ #2562]
30266 [BZ #2563]
30267 [BZ #2565]
30268 [BZ #2566]
30269 [BZ #2576]
30270 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
30271 (y0): Likewise.
30272 * math/w_j0f.c (j0f): Likewise.
30273 (y0f): Likewise.
30274 * math/w_j0l.c (__j0l): Likewise.
30275 (__y0l): Likewise.
30276 * math/w_j1.c (j1): Likewise.
30277 (y1): Likewise.
30278 * math/w_j1f.c (j1f): Likewise.
30279 (y1f): Likewise.
30280 * math/w_j1l.c (__j1l): Likewise.
30281 (__y1l): Likewise.
30282 * math/w_jn.c (jn): Likewise.
30283 (yn): Likewise.
30284 * math/w_jnf.c (jnf): Likewise.
30285 (ynf): Likewise.
30286 * math/w_jnl.c (__jnl): Likewise.
30287 (__ynl): Likewise.
30288 * math/libm-test.inc (j0_test): Add more tests.
30289 (j1_test): Likewise.
30290 (jn_test): Likewise. Add trailing semicolon to existing test.
30291 (y0_test): Likewise.
30292 (y1_test): Likewise.
30293 * sysdeps/i386/fpu/libm-test-ulps: Update.
30294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30295
30296 [BZ #13851]
30297 [BZ #13854]
30298 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
30299 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
30300 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
30301 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
30302 (__tanl): Set errno for infinite argument.
30303 * sysdeps/i386/fpu/mptan.c: Remove.
30304 * sysdeps/i386/fpu/s_tan.S: Likewise.
30305 * sysdeps/i386/fpu/s_tanl.S: Likewise.
30306 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
30307 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
30308 * math/libm-test.inc (tan_test): Add more tests and enable more
30309 tests for double and long double.
30310 * sysdeps/i386/fpu/libm-test-ulps: Update.
30311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30312
30313 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
30314
30315 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
30316 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
30317
30318 2012-03-16 Roland McGrath <roland@hack.frob.com>
30319
30320 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
30321 * configure.in: Use it for both main tree and add-ons.
30322 * configure: Regenerated.
30323
30324 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30325
30326 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
30327
30328 2012-03-16 Joseph Myers <joseph@codesourcery.com>
30329
30330 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
30331 in comment.
30332
30333 [BZ #13851]
30334 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
30335 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
30336 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
30337 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
30338 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
30339 infinite argument.
30340 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
30341 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
30342 != 0 for prec == 2.
30343 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
30344 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
30345 * sysdeps/i386/fpu/s_cosl.S: Likewise.
30346 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
30347 * sysdeps/i386/fpu/s_sinl.S: Likewise.
30348 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
30349 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
30350 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
30351 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
30352 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
30353 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
30354 * math/libm-test.inc (cos_test): Add more tests and enable more
30355 tests for long double.
30356 (sin_test): Likewise.
30357 (sincos_test): Likewise.
30358 * sysdeps/i386/fpu/libm-test-ulps: Update.
30359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30360
30361 2012-03-16 David S. Miller <davem@davemloft.net>
30362
30363 * sysdeps/sparc/fpu/math_private.h: New file.
30364
30365 2012-03-15 David S. Miller <davem@davemloft.net>
30366
30367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
30368 file.
30369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
30370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
30371 file.
30372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
30373 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
30374 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
30375 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
30376 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
30377 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
30378 sysdep routines.
30379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
30380
30381 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
30382 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
30383
30384 * sysdeps/sparc/sparc-ifunc.h: New file.
30385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
30386 sparc-ifunc.h
30387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
30389 Likewise.
30390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
30391 Likewise.
30392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
30393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
30394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30396 Likewise.
30397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
30399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
30401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
30402 Likewise.
30403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
30404 Likewise.
30405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
30407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
30408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
30409 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30410 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30411 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
30412 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
30413 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30414 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30415 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
30416 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
30417 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
30418 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
30419 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
30420 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
30421 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
30422 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
30423 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
30424 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
30425 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
30426 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
30427 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
30428 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
30429
30430 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
30431
30432 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
30433 scaling.
30434 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30435
30436 2012-03-15 Andreas Jaeger <aj@suse.de>
30437
30438 [BZ #13852]
30439 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
30440 ieee754/flt-32 implementation for sin, cos and sincos.
30441 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
30442 * sysdeps/i386/fpu/s_cosf.S: Likewise.
30443 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
30444 * sysdeps/i386/fpu/s_sinf.S: Likewise.
30445 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
30446 ieee754/flt-32 implementation for tan.
30447
30448 * math/libm-test.inc (cos_test): Enable some large input tests for
30449 float as well
30450 (sin_test): Likewise.
30451 (sincos_test): Likewise.
30452 (tan_test): Add tests for large input.
30453
30454 * sysdeps/i386/fpu/libm-test-ulps: Update.
30455
30456 2012-03-15 Andreas Jaeger <aj@suse.de>
30457
30458 [BZ #13658]
30459 * math/libm-test.inc (cos_test): Add more test cases.
30460 (sin_test): Likewise.
30461 (sincos_test): Likewise.
30462
30463 2012-03-15 Andreas Jaeger <aj@suse.de>
30464
30465 [BZ #13837]
30466 * math/libm-test.inc (cos_test): Add a test case for large input
30467 value.
30468 (sin_test): Likewise.
30469 (sincos_test): Likewise.
30470
30471 2012-03-15 Andreas Jaeger <aj@suse.de>,
30472 Joseph Myers <joseph@codesourcery.com>
30473
30474 [BZ #13658]
30475 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
30476 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
30477 * sysdeps/i386/fpu/branred.c: Likewise.
30478 * sysdeps/i386/fpu/dosincos.c: Likewise.
30479 * sysdeps/i386/fpu/mpa.c: Likewise.
30480 * sysdeps/i386/fpu/s_cos.S: Likewise.
30481 * sysdeps/i386/fpu/s_sin.S: Likewise.
30482 * sysdeps/i386/fpu/s_sincos.S: Likewise.
30483 * sysdeps/i386/fpu/sincos32.c: Likewise.
30484
30485 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
30486 Define.
30487 (libc_feupdateenv_53bit): Define.
30488 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
30489 Define.
30490 (libc_feupdateenv_53bit): Define.
30491
30492 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
30493 53 bit (without extend i386 double precision).
30494
30495 * math/libm-test.inc (sincos_test): Add tests for large input.
30496 (sin): Likewise.
30497 (cos): Likewise.
30498
30499 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30500
30501 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
30502
30503 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30504
30505 2012-03-15 David S. Miller <davem@davemloft.net>
30506
30507 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
30508 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
30509 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
30510 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
30511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
30512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
30513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
30514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
30515 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
30516 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
30517 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
30518 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
30519 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
30520 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
30521 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
30522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
30523 file.
30524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
30525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
30526 file.
30527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
30528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
30529 file.
30530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
30531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
30532 file.
30533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
30534 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
30535 fmin/fmax sysdep routines.
30536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
30537
30538 2012-03-14 David S. Miller <davem@davemloft.net>
30539
30540 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
30541 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
30542 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
30543 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
30544 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
30545 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
30546 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
30547 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
30548 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
30549 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
30550 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
30551 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
30552 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
30553 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
30554 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
30555 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
30556 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
30557 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
30558 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
30559 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
30560 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
30561 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
30562 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
30563 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
30564 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
30565 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
30566 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
30567 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
30568 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
30569 routines.
30570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
30571 file.
30572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
30573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
30574 file.
30575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
30576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
30577 file.
30578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
30579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
30580 file.
30581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
30582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
30583 file.
30584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
30585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
30586 file.
30587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
30588 file.
30589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
30590 file.
30591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
30592 file.
30593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
30594 New file.
30595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
30596 file.
30597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
30598 file.
30599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
30600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
30601 file.
30602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
30603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
30604 file.
30605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
30606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
30607 file.
30608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
30609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
30610 VIS3 routines.
30611
30612 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30613 New file.
30614
30615 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30616
30617 * sysdeps/sparc/configure.in: New file.
30618 * sysdeps/sparc/configure: Generate.
30619 * configure.in (libc_cv_sparc_as_vis3): Substitute.
30620 * configure: Regenerate.
30621 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
30622 * config.make.in (have-as-vis3): New.
30623 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
30624 available use -Av9d instead of -Av9a.
30625 * sysdeps/sparc/sparc64/Makefile: Likewise.
30626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
30627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
30628 New file.
30629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
30630 file.
30631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
30632 New file.
30633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
30634 file.
30635 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
30636 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
30637 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
30638 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
30639 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
30640
30641 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
30642 fzeros/fnegs to load 0x80000000 into a float register instead of
30643 using the stack.
30644 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
30645
30646 2012-03-14 Joseph Myers <joseph@codesourcery.com>
30647
30648 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30649 bits/syscall.h.
30650 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
30651 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
30652 ($(inst_includedir)/bits/syscall.h): Remove rule.
30653 ($(objpfx)bits/syscall.d): Include instead of
30654 $(objpfx)syscall-list.d.
30655 (generated): Change syscall-list.h and syscall-list.d to
30656 bits/syscall.h and bits/syscall.d.
30657
30658 2012-03-14 Roland McGrath <roland@hack.frob.com>
30659
30660 [BZ #13846]
30661 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
30662
30663 2012-03-14 Joseph Myers <joseph@codesourcery.com>
30664
30665 [BZ #13841]
30666 * math/s_csqrt.c: Include <float.h>.
30667 (__csqrt): Scale large or subnormal inputs.
30668 * math/s_csqrtf.c: Likewise.
30669 * math/s_csqrtl.c: Likewise.
30670 * math/libm-test.inc (csqrt_test): Add more tests.
30671 * sysdeps/i386/fpu/libm-test-ulps: Update.
30672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30673
30674 [BZ #13840]
30675 * math/libm-test.inc (hypot_test): Add more tests.
30676
30677 2012-03-13 David S. Miller <davem@davemloft.net>
30678
30679 [BZ #13840]
30680 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
30681 double-precision for the calculation instead of scaling.
30682
30683 2012-03-13 Joseph Myers <joseph@codesourcery.com>
30684
30685 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
30686 manipulate bits before adding and subtracting TWO52[sx].
30687 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
30688 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
30689 Likewise.
30690 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
30691
30692 2012-03-13 David S. Miller <davem@davemloft.net>
30693
30694 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
30695 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
30696 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
30697 rtld-global-offsets.h
30698 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30699
30700 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
30701 large parameters.
30702
30703 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
30704
30705 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
30706 'err' in the ifdef scope in which it is actually used.
30707
30708 * nss/nss_db/db-init.c: Include string.h
30709
30710 2012-03-12 David S. Miller <davem@davemloft.net>
30711
30712 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30713 masking out of the most significant byte of random value used.
30714 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30715 Fix coding style in previous change.
30716
30717 * sysdeps/unix/sysv/linux/kernel-features.h
30718 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
30719 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
30720 expression.
30721 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
30722 later.
30723
30724 2012-03-11 David S. Miller <davem@davemloft.net>
30725
30726 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30727 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
30728 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
30729 for 'resultvar' otherwise things get truncated on 64-bit.
30730
30731 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30732 Fix masking out of the most significant byte of random value used.
30733
30734 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30735
30736 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
30737
30738 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30739
30740 2012-03-09 David S. Miller <davem@davemloft.net>
30741
30742 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
30743 variables with appropriate CPP guards.
30744 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
30745 frame pointer, not the stack pointer. Correct layout comments. Fix test
30746 on resulting framesize and the management of the outregs buffer for pltexit.
30747 Preserve floating point return values across _dl_call_pltexit call.
30748 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
30749 framesize and the management of the outregs buffer for pltexit.
30750 Preserve floating point return values across _dl_call_pltexit
30751 call.
30752 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
30753 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
30754 (print_exit): Fix format string for return register value.
30755
30756 2012-03-10 Joseph Myers <joseph@codesourcery.com>
30757
30758 * sunrpc/Makefile (others): Add rpcgen.
30759 ($(objpfx)rpcgen): Remove special build rule and dependency on
30760 libc.
30761 * sunrpc/rpcgen.c: New file.
30762
30763 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
30764
30765 [BZ #13673]
30766 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
30767 * stdio-common/bug-vfprintf-nargs.c: Likewise.
30768 * sysdeps/i386/crti.S: Likewise.
30769 * sysdeps/i386/crtn.S: Likewise.
30770 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
30771 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
30772 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
30773 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
30774 * sysdeps/sh/crti.S: Likewise.
30775 * sysdeps/sh/crtn.S: Likewise.
30776 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30777
30778 [BZ #13673]
30779 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
30780 with URL.
30781 * locale/programs/locfile-kw.gperf: Likewise.
30782 * locale/programs/charmap-kw.h: Regenerated.
30783 * locale/programs/locfile-kw.h: Likewise.
30784
30785 [BZ #13673]
30786 * intl/plural.y: Replace FSF snail mail address with URL.
30787 * intl/plural.c: Regenerated.
30788
30789 2012-03-09 Richard Henderson <rth@twiddle.net>
30790
30791 * include/math_private.h: Remove file.
30792 * math/math_private.h: Move file ...
30793 * sysdeps/generic/math_private.h: ... here.
30794
30795 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
30796 * sysdeps/powerpc/fpu/math_private.h: Likewise.
30797 * sysdeps/x86_64/fpu/math_private.h: Likewise.
30798
30799 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
30800 and <math_private.h>.
30801 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30802 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30803 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30804 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30805 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30806 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
30807 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30808 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30809 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30810 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30811 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30812 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30813 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30814 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30815 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30816 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30817 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30818 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30819 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30820 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30821 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30822 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30823 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30824 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30825 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30826 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30827 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30828 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30829 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30830 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30831 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30832 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30833 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30834 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30835 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30836 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30837 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30838 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30839 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30840 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30841 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
30842 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30843 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30844 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
30845 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
30846 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30847 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
30848 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
30849 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30850 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30851 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
30852 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
30853 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
30854 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30855 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
30856 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30857 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30858 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30859 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
30860 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
30861 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30862 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
30863 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30864 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30865 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
30866 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30867 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30868 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30869 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
30870 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
30871 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
30872 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30873 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
30874 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30875 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
30876 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
30877 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
30878 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30879 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
30880 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
30881 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
30882 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
30883 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
30884 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30885 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30886 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
30887 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
30888 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
30889 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30890 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30891 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30892 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30893 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30894 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30895 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30896 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30897 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30898 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30899 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30900 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30901 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30902 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30903 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30904 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30905 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30906 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30907 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30908 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30909 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30910 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30911 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30912 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30913 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30914 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30915 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
30916 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30917 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30918 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30919 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30920 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30921 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30922 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30923 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30924 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
30925 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30926 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30927 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30928 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
30929 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30930 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
30931 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
30932 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30933 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30934 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
30935 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
30936 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30937 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30938 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30939 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
30940 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30941 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30942 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30943 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30944 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
30945 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
30946 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30947 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30948 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30949 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
30950 * sysdeps/ieee754/k_standard.c: Likewise.
30951 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30952 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30953 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30954 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30955 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30956 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30957 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30958 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30959 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30960 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30961 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30962 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30963 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30964 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30965 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30966 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30967 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30968 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30969 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30970 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
30971 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
30972 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
30973 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30974 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30975 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30976 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
30977 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30978 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30979 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30980 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30981 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30982 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30983 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30984 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30985 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30986 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30987 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30988 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
30989 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
30990 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30991 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30992 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30993 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30994 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30995 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30996 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30997 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30998 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30999 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31000 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31001 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31002 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
31003 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31004 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
31005 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31006 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31007 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
31008 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
31009 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31010 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31011 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31012 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
31013 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31014 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
31015 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31016 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31017 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
31018 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
31019 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
31020 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
31021 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
31022 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31023 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
31024 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
31025 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
31026 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
31027 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
31028 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
31029 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31030 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
31031 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
31032 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
31033 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31034 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31035 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
31036 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31037 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31038 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
31039 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31040 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31041 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
31042 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31043 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
31044 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
31045 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31046 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31047 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
31048 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
31049 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
31050 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
31051 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31052 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31053 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31054 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31055 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
31056 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31057 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31058 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
31059 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
31060 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31061 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31062 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31063 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
31064 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31065 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
31066 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31067 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
31068 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31069 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31070 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31071 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31072 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
31073 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31074 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
31075 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31076 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
31077 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31078 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31079 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31080 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31081 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31082 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31083 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31084 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
31085 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31086 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31087 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
31088 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
31089 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31090 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
31091 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
31092 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31093 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
31094 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
31095 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31096 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31097 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31098 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31099 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31100 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
31101 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31102 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31103 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31104 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31105 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
31106 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
31107 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31108 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31109 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31110 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
31111 * sysdeps/ieee754/s_lib_version.c: Likewise.
31112 * sysdeps/ieee754/s_matherr.c: Likewise.
31113 * sysdeps/ieee754/s_signgam.c: Likewise.
31114 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31115 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31116 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
31117 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
31118 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
31119 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31120 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
31121 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
31122 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
31123 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
31124 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
31125 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
31126 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31127 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31128 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
31129 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
31130 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31131 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
31132 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31133 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31134 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31135
31136 2012-03-09 Joseph Myers <joseph@codesourcery.com>
31137
31138 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
31139 * sunrpc/rpc_main.c: Likewise.
31140 * sunrpc/rpc_svcout.c: Likewise.
31141
31142 2012-03-09 David S. Miller <davem@davemloft.net>
31143
31144 * include/math_private.h: New file.
31145
31146 2012-03-09 Joseph Myers <joseph@codesourcery.com>
31147
31148 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
31149 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
31150 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
31151 from <bits/socket_type.h>.
31152 (enum __socket_type): Don't define here.
31153 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
31154 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31155 bits/socket_type.h.
31156
31157 [BZ #13566]
31158 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
31159 checking __USE_GNU.
31160
31161 * Makerules ($(inst_includedir)/%.h): New rule.
31162 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
31163 (install-others): Remove variable setting.
31164 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
31165
31166 2012-03-08 Richard Henderson <rth@twiddle.net>
31167
31168 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
31169 from macro to inline function; merge with the
31170 !__LIBC_INTERNAL_MATH_INLINES version.
31171 (__ieee754_sqrtf): Likewise.
31172
31173 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
31174 to inline function.
31175 (__rintf, __floor, __floorf): Likewise.
31176
31177 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
31178 macro to inline function.
31179 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
31180
31181 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
31182 not <math/math_private.h>.
31183
31184 2012-03-08 David S. Miller <davem@davemloft.net>
31185
31186 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
31187 copyright year.
31188 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
31189
31190 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
31191
31192 * resolv/gai_misc.c (handle_requests): Fix struct timespec
31193 normalization.
31194 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
31195 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
31196
31197 2012-03-08 Ulrich Drepper <drepper@gmail.com>
31198
31199 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
31200 be defined individually, they must be defined as a block. Define
31201 S for printing a string instead of hidint the different by using a
31202 macro for adding the 'l'.
31203 * stdio-common/tst-fphex-wide.c: Adjust.
31204
31205 2012-03-07 Marek Polacek <polacek@redhat.com>
31206
31207 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
31208
31209 2012-03-08 Marek Polacek <polacek@redhat.com>
31210
31211 [BZ #13806]
31212 * stdio-common/Makefile (tests): Add tst-fphex-wide.
31213 * stdio-common/tst-fphex.c: Define a few macros to make the
31214 test reusable. Use them.
31215 * stdio-common/tst-fphex-wide.c: New file.
31216
31217 2012-03-08 Joseph Myers <joseph@codesourcery.com>
31218
31219 [BZ #6911]
31220 * manual/macros.texi (gnusystems): New macro.
31221 (nongnusystems): Likewise.
31222 (gnulinuxhurdsystems): Likewise.
31223 (gnuhurdsystems): Likewise..
31224 (gnulinuxsystems): Likewise.
31225 * manual/charset.texi: Use new macros or @theglibc{} to refer to
31226 variants of the GNU system, not "GNU system".
31227 * manual/conf.texi: Likewise.
31228 * manual/errno.texi: Likewise. Update example of errno macro
31229 expansion.
31230 * manual/filesys.texi: Likewise.
31231 (getumask): Document as specific to GNU/Hurd.
31232 * manual/install.texi: Likewise. Reword some references to
31233 GNU/Linux.
31234 * manual/intro.texi: Likewise.
31235 * manual/io.texi: Likewise.
31236 (File Name Portability): Detail which constraints are inapplicable
31237 to all GNU systems and which are only inapplicable to GNU/Hurd.
31238 * manual/job.texi: Likewise.
31239 * manual/llio.texi: Likewise.
31240 (O_NOCTTY): Document as present on GNU/Linux.
31241 * manual/maint.texi: Likewise.
31242 * manual/memory.texi: Likewise.
31243 * manual/pattern.texi: Likewise.
31244 * manual/pipe.texi: Likewise.
31245 * manual/process.texi: Likewise.
31246 * manual/resource.texi: Likewise.
31247 (RUSAGE_CHILDREN): Remove statement about specifying a particular
31248 child on GNU/Hurd.
31249 * manual/setjmp.texi: Likewise.
31250 * manual/signal.texi: Likewise.
31251 * manual/startup.texi: Likewise.
31252 * manual/stdio.texi: Likewise.
31253 * manual/terminal.texi: Likewise.
31254 (ONLCR): Document as POSIX.
31255 (OXTABS): Document availability on GNU/Linux as XTABS.
31256 (ONOEOT): Document availability separately from other bits.
31257 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
31258 * manual/time.texi: Likewise.
31259 * manual/users.texi: Likewise.
31260 * INSTALL: Regenerated.
31261 * sysdeps/gnu/errlist.c: Regenerated.
31262
31263 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
31264 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
31265 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
31266 puts.
31267 * configure: Regenerated.
31268
31269 2012-03-07 Joseph Myers <joseph@codesourcery.com>
31270
31271 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
31272 default includes instead of AC_HEADER_CHECK.
31273 * sysdeps/i386/configure: Regenerated.
31274
31275 [BZ #10716]
31276 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
31277 * math/s_cacoshf.c (__cacoshf): Likewise.
31278 * math/s_cacoshl.c (__cacoshl): Likewise.
31279 * math/s_casinh.c (__casinh): Set signs of result from argument.
31280 * math/s_casinhf.c (__casinhf): Likewise.
31281 * math/s_casinhl.c (__casinhl): Likewise.
31282 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
31283 (casinh_test): Add more tests.
31284 * sysdeps/i386/fpu/libm-test-ulps: Update.
31285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31286
31287 2012-03-07 Ulrich Drepper <drepper@gmail.com>
31288
31289 * po/zh_TW.po: Update from translation team.
31290
31291 * login/Makefile (distribute): Remove variable.
31292 * catgets/Makefile: Likewise.
31293 * mach/Makefile: Likewise.
31294 * malloc/Makefile: Likewise.
31295 * misc/Makefile: Likewise.
31296 * iconv/Makefile: Likewise.
31297 * nscd/Makefile: Likewise.
31298 * hurd/Makefile: Likewise.
31299 * manual/Makefile: Likewise.
31300 * locale/Makefile: Likewise.
31301 * intl/Makefile: Likewise.
31302 * conform/Makefile: Likewise.
31303 * nss/Makefile: Likewise.
31304 * time/Makefile: Likewise.
31305 * soft-fp/Makefile: Likewise.
31306 * dirent/Makefile: Likewise.
31307 * gmon/Makefile: Likewise.
31308 * po/Makefile: Likewise.
31309 * rt/Makefile: Likewise.
31310 * socket/Makefile: Likewise.
31311 * math/Makefile: Likewise.
31312 * signal/Makefile: Likewise.
31313 * debug/Makefile: Likewise.
31314 * elf/Makefile: Likewise.
31315 * timezone/Makefile: Likewise.
31316 * stdlib/Makefile: Likewise.
31317 * iconvdata/Makefile: Likewise.
31318 * sunrpc/Makefile: Likewise.
31319 * io/Makefile: Likewise.
31320 * argp/Makefile: Likewise.
31321 * inet/Makefile: Likewise.
31322 * hesiod/Makefile: Likewise.
31323 * grp/Makefile: Likewise.
31324 * csu/Makefile: Likewise.
31325 * wctype/Makefile: Likewise.
31326 * crypt/Makefile: Likewise.
31327 * libio/Makefile: Likewise.
31328 * string/Makefile: Likewise.
31329 * nis/Makefile: Likewise.
31330 * resolv/Makefile: Likewise.
31331 * stdio-common/Makefile: Likewise.
31332 * wcsmbs/Makefile: Likewise.
31333 * dlfcn/Makefile: Likewise.
31334 * posix/Makefile: Likewise.
31335
31336 [BZ #6959]
31337 * timezone/Makefile: Don't install timezone files, just the programs
31338 and scripts.
31339
31340 2012-03-06 Ulrich Drepper <drepper@gmail.com>
31341
31342 * nss/databases.def: Add missing gshadow entry.
31343
31344 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
31345
31346 2012-03-06 Marek Polacek <polacek@redhat.com>
31347
31348 [BZ #13726]
31349 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
31350 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
31351 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
31352 * stdio-common/tst-long-dbl-fphex.c: New file.
31353
31354 2012-03-06 David S. Miller <davem@davemloft.net>
31355
31356 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31357 (set_obp_int): New function.
31358 (get_obp_int): New function.
31359 (__get_clockfreq_via_dev_openprom): Likewise.
31360 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
31361 Avoid unused variable warnings on 'val' and use builtin_expect.
31362 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
31363 __builtin_expect.
31364 (INLINE_CLONE_SYSCALL): Likewise.
31365
31366 2012-03-05 David S. Miller <davem@davemloft.net>
31367
31368 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31369
31370 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
31371
31372 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31373
31374 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
31375 only for |x| >= 40.
31376 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31377
31378 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
31379
31380 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
31381 Replace gettimeofday with __vdso_gettimeofday.
31382
31383 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31384 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
31385 __vdso_clock_gettime and __vdso_getcpu.
31386
31387 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
31388 time with __vdso_time.
31389
31390 2012-03-05 Joseph Myers <joseph@codesourcery.com>
31391
31392 * manual/lang.texi (size_t): Note types to which size_t may be
31393 equivalent with the GNU C Library, but do not describe when
31394 differences between them are significant.
31395
31396 2012-03-05 Andreas Jaeger <aj@suse.de>
31397
31398 * sysdeps/i386/fpu/libm-test-ulps: Update.
31399
31400 2012-03-05 Joseph Myers <joseph@codesourcery.com>
31401
31402 [BZ #3976]
31403 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
31404 (__ieee754_pow): Save and restore rounding mode and use
31405 round-to-nearest for main computations.
31406 * math/libm-test.inc (pow_test_tonearest): New function.
31407 (pow_test_towardzero): Likewise.
31408 (pow_test_downward): Likewise.
31409 (pow_test_upward): Likewise.
31410 (main): Call the new functions.
31411 * sysdeps/i386/fpu/libm-test-ulps: Update.
31412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31413
31414 [BZ #3976]
31415 * math/libm-test.inc (cosh_test_tonearest): New function.
31416 (cosh_test_towardzero): Likewise.
31417 (cosh_test_downward): Likewise.
31418 (cosh_test_upward): Likewise.
31419 (sinh_test_tonearest): Likewise.
31420 (sinh_test_towardzero): Likewise.
31421 (sinh_test_downward): Likewise.
31422 (sinh_test_upward): Likewise.
31423 (main): Call the new functions.
31424 * sysdeps/i386/fpu/libm-test-ulps: Update.
31425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31426
31427 2012-03-05 Tom de Vries <tom@codesourcery.com>
31428
31429 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
31430 default stack guard is set in last bytes.
31431 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
31432
31433 2012-03-05 Kees Cook <keescook@chromium.org>
31434
31435 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
31436
31437 [BZ #13656]
31438 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
31439 possibly allocate from heap instead of stack.
31440 * stdio-common/bug-vfprintf-nargs.c: New file.
31441 * stdio-common/Makefile (tests): Add nargs overflow test.
31442
31443 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
31444
31445 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31446
31447 2012-03-03 Marek Polacek <polacek@redhat.com>
31448
31449 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
31450 * math/math_private.h: Likewise.
31451 * stdlib/tst-strtod.c: Likewise.
31452 * sysdeps/i386/i486/bits/atomic.h: Likewise.
31453 * sysdeps/x86_64/bits/atomic.h: Likewise.
31454
31455 2012-03-02 David S. Miller <davem@davemloft.net>
31456
31457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
31458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
31459 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
31460 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
31461 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
31462 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
31463 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
31464 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
31465
31466 2012-03-02 Roland McGrath <roland@hack.frob.com>
31467
31468 [BZ #13792]
31469 * manual/examples/README: New file, says the example source files
31470 can be used under GPL>=2.
31471 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
31472 line containing just "*/".
31473 * manual/examples/add.c: Add copyright header (GPL>=2).
31474 * manual/examples/argp-ex1.c: Likewise.
31475 * manual/examples/argp-ex2.c: Likewise.
31476 * manual/examples/argp-ex3.c: Likewise.
31477 * manual/examples/argp-ex4.c: Likewise.
31478 * manual/examples/atexit.c: Likewise.
31479 * manual/examples/db.c: Likewise.
31480 * manual/examples/dir.c: Likewise.
31481 * manual/examples/dir2.c: Likewise.
31482 * manual/examples/execinfo.c: Likewise.
31483 * manual/examples/filecli.c: Likewise.
31484 * manual/examples/filesrv.c: Likewise.
31485 * manual/examples/fmtmsgexpl.c: Likewise.
31486 * manual/examples/genpass.c: Likewise.
31487 * manual/examples/inetcli.c: Likewise.
31488 * manual/examples/inetsrv.c: Likewise.
31489 * manual/examples/isockad.c: Likewise.
31490 * manual/examples/longopt.c: Likewise.
31491 * manual/examples/memopen.c: Likewise.
31492 * manual/examples/memstrm.c: Likewise.
31493 * manual/examples/mkfsock.c: Likewise.
31494 * manual/examples/mkisock.c: Likewise.
31495 * manual/examples/mygetpass.c: Likewise.
31496 * manual/examples/pipe.c: Likewise.
31497 * manual/examples/popen.c: Likewise.
31498 * manual/examples/rprintf.c: Likewise.
31499 * manual/examples/search.c: Likewise.
31500 * manual/examples/select.c: Likewise.
31501 * manual/examples/setjmp.c: Likewise.
31502 * manual/examples/sigh1.c: Likewise.
31503 * manual/examples/sigusr.c: Likewise.
31504 * manual/examples/stpcpy.c: Likewise.
31505 * manual/examples/strdupa.c: Likewise.
31506 * manual/examples/strftim.c: Likewise.
31507 * manual/examples/strncat.c: Likewise.
31508 * manual/examples/subopt.c: Likewise.
31509 * manual/examples/swapcontext.c: Likewise.
31510 * manual/examples/termios.c: Likewise.
31511 * manual/examples/testopt.c: Likewise.
31512 * manual/examples/testpass.c: Likewise.
31513 * manual/examples/timeval_subtract.c: Likewise.
31514
31515 [BZ #13792]
31516 * manual/time.texi (Elapsed Time): Move timeval_subtract example
31517 function to ...
31518 * manual/timeval_subtract.c.texi: ... here, new file.
31519
31520 2012-03-02 David S. Miller <davem@davemloft.net>
31521
31522 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
31523
31524 2012-03-02 Joseph Myers <joseph@codesourcery.com>
31525
31526 [BZ #3976]
31527 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
31528 (__sin): Save and restore rounding mode and use round-to-nearest
31529 for all computations.
31530 (__cos): Save and restore rounding mode and use round-to-nearest
31531 for all computations.
31532 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
31533 <fenv.h>.
31534 (tan): Save and restore rounding mode and use round-to-nearest for
31535 all computations.
31536 * math/libm-test.inc (cos_test_tonearest): New function.
31537 (cos_test_towardzero): Likewise.
31538 (cos_test_downward): Likewise.
31539 (cos_test_upward): Likewise.
31540 (sin_test_tonearest): Likewise.
31541 (sin_test_towardzero): Likewise.
31542 (sin_test_downward): Likewise.
31543 (sin_test_upward): Likewise.
31544 (tan_test_tonearest): Likewise.
31545 (tan_test_towardzero): Likewise.
31546 (tan_test_downward): Likewise.
31547 (tan_test_upward): Likewise.
31548 (main): Call the new functions.
31549 * sysdeps/i386/fpu/libm-test-ulps: Update.
31550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31551
31552 [BZ #10135]
31553 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
31554 small n, then large n, before computing and testing k+n.
31555 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
31556 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
31557 Likewise.
31558 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
31559 Likewise.
31560 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
31561 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
31562 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
31563 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
31564 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
31565 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
31566 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
31567 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
31568 * math/libm-test.inc (scalbn_test): Add more tests.
31569 (scalbln_test): Likewise.
31570
31571 * manual/filesys.texi (mode_t): Describe constraints on size and
31572 signedness, not exact equivalence to a particular type.
31573 (ino_t): Likewise.
31574 (ino64_t): Likewise.
31575 (dev_t): Likewise.
31576 (nlink_t): Likewise.
31577 (blkcnt_t): Likewise.
31578 (blkcnt64_t): Likewise.
31579 * manual/llio.texi (off_t): Likewise.
31580
31581 [BZ #3976]
31582 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
31583 (__ieee754_exp): Save and restore rounding mode and use
31584 round-to-nearest for all computations.
31585 * math/libm-test.inc (exp_test_tonearest): New function.
31586 (exp_test_towardzero): Likewise.
31587 (exp_test_downward): Likewise.
31588 (exp_test_upward): Likewise.
31589 (main): Call the new functions.
31590 * sysdeps/i386/fpu/libm-test-ulps: Update.
31591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31592
31593 2012-03-01 Chris Demetriou <cgd@google.com>
31594
31595 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
31596 have predictable order.
31597
31598 2012-03-01 David S. Miller <davem@davemloft.net>
31599
31600 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
31601
31602 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
31603 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
31604 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
31605 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
31606
31607 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
31608 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
31609 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
31610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
31611 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
31612 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
31613 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
31614 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
31615 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
31616
31617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31618
31619 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
31620 * sysdeps/sparc/fpu/libm-test-ulps: to here.
31621 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
31622
31623 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
31624 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31625 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31626 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
31627 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
31628 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
31629 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
31630 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31631 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31632 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
31633 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
31634 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31635 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31636 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31637 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31638 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31639 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
31640 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
31641 * sysdeps/sparc/elf/configure: Regenerated.
31642
31643 2012-03-01 Joseph Myers <joseph@codesourcery.com>
31644
31645 * configure.in (AS, LD): Require binutils 2.20 or later.
31646 * configure: Regenerated.
31647 * manual/install.texi (Tools for Compilation): Give binutils 2.20
31648 as required minimum version.
31649 * INSTALL: Regenerated.
31650
31651 [BZ #2541]
31652 [BZ #4108]
31653 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
31654 before squaring exponent.
31655 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
31656 bottom long double and 27 bits of top long double before squaring
31657 exponent.
31658 * math/libm-test.inc (erfc_test): Add more tests.
31659 * sysdeps/i386/fpu/libm-test-ulps: Update.
31660 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31662
31663 2012-03-01 Kai Tietz <ktietz@redhat.com>
31664
31665 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
31666 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
31667 containing bit-fields.
31668 * soft-fp/extended.h (_FP_UNION_E): Likewise.
31669 * soft-fp/single.h (_FP_UNION_S): Likewise.
31670 * soft-fp/double.h (_FP_UNION_D): Likewise.
31671
31672 2012-02-29 Joseph Myers <joseph@codesourcery.com>
31673
31674 [BZ #13786]
31675 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
31676 not include ../strcmp.S.
31677 [USE_AS_STRNCASECMP_L]: Likewise.
31678 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
31679 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
31680 * sysdeps/i386/i686/multiarch/strncase_l-c.c
31681 (__strncasecmp_l_ia32): Define as alias to
31682 __strncasecmp_l_nonascii.
31683
31684 [BZ #5794]
31685 * math/libm-test.inc (expm1_test): Add test for bug 5794.
31686 * sysdeps/i386/fpu/libm-test-ulps: Update.
31687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31688
31689 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
31690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31691
31692 2012-02-29 Jeff Law <law@redhat.com>
31693
31694 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
31695 out of bounds read.
31696
31697 2012-02-29 Marek Polacek <polacek@redhat.com>
31698
31699 [BZ #13706]
31700 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
31701 * elf/Makefile: Add rules to run tst-unused-dep.out.
31702
31703 2012-02-28 David S. Miller <davem@davemloft.net>
31704
31705 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
31706 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
31707 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
31708 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
31709 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
31710 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
31711
31712 2012-02-29 Joseph Myers <joseph@codesourcery.com>
31713
31714 * math/libm-test.inc (llround_test): Move one test from
31715 lround_test. Use TEST_f_L in moved test.
31716 (lround_test): Move misplaced test to llround_test. Add testcase
31717 from bug 2561.
31718
31719 2012-02-28 Ulrich Drepper <drepper@gmail.com>
31720
31721 * sysdeps/x86_64/fpu/e_expf.S: New file.
31722 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
31723
31724 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
31725
31726 [BZ #13637]
31727 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
31728 of remain_len that may cause incomplete multi-byte character and
31729 false match.
31730 * posix/bug-regex33.c: New file.
31731 * posix/Makefile (tests): Add bug-regex33.
31732
31733 2012-02-28 Joseph Myers <joseph@codesourcery.com>
31734
31735 * manual/macros.texi: New file.
31736 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
31737 * manual/libc.texinfo: Include macros.texi.
31738 * manual/creatute.texi: Likewise.
31739 * manual/install.texi: Likewise.
31740 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
31741 @glibcadj{} in references to the GNU C Library.
31742 * manual/charset.texi: Likewise.
31743 * manual/conf.texi: Likewise.
31744 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
31745 when not using those macros.
31746 * manual/creature.texi: Likewise.
31747 * manual/crypt.texi: Likewise.
31748 * manual/errno.texi: Likewise.
31749 * manual/filesys.texi: Likewise.
31750 * manual/header.texi: Likewise.
31751 * manual/install.texi: Likewise.
31752 * manual/intro.texi: Likewise.
31753 * manual/io.texi: Likewise.
31754 * manual/job.texi: Likewise.
31755 * manual/lang.texi: Likewise.
31756 * manual/libc.texiinfo: Likewise.
31757 * manual/llio.texi: Likewise.
31758 * manual/locale.texi: Likewise.
31759 * manual/maint.texi: Likewise.
31760 * manual/math.texi: Likewise.
31761 * manual/memory.texi: Likewise.
31762 * manual/message.texi: Likewise.
31763 * manual/nss.texi: Likewise.
31764 * manual/pattern.texi: Likewise.
31765 * manual/process.texi: Likewise.
31766 * manual/resource.texi: Likewise.
31767 * manual/search.texi: Likewise.
31768 * manual/setjmp.texi: Likewise.
31769 * manual/signal.texi: Likewise.
31770 * manual/socket.texi: Likewise.
31771 * manual/startup.texi: Likewise.
31772 * manual/stdio.texi: Likewise.
31773 * manual/string.texi: Likewise.
31774 * manual/sysinfo.texi: Likewise.
31775 * manual/syslog.texi: Likewise.
31776 * manual/terminal.texi: Likewise.
31777 * manual/time.texi: Likewise.
31778 * manual/users.texi: Likewise.
31779 * INSTALL: Regenerated.
31780 * NOTES: Regenerated.
31781 * sysdeps/gnu/errlist.c: Regenerated.
31782
31783 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
31784
31785 * include/dirent.h: Include <dirstream.h> before
31786 <dirent/dirent.h>.
31787
31788 2012-02-28 David S. Miller <davem@davemloft.net>
31789
31790 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
31791 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
31792 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
31793 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
31794
31795 2012-02-27 David S. Miller <davem@davemloft.net>
31796
31797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
31798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
31799 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
31800 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
31801
31802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
31803 frame pointer instead of stack pointer relative arg slot.
31804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31805 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31806 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31807
31808 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
31809
31810 [BZ #3992]
31811 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
31812
31813 2012-02-27 David S. Miller <davem@davemloft.net>
31814
31815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
31816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
31819 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31820 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31821 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
31822 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
31823
31824 2012-02-27 Joseph Myers <joseph@codesourcery.com>
31825
31826 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
31827 later. Allow versions 5-9.
31828 * configure: Regenerated.
31829 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
31830 required minimum version and 4.6 as recommended version. Do not
31831 mention bugs in GCC 2.7 and 2.8.
31832 * INSTALL: Regenerated.
31833
31834 2012-02-27 David S. Miller <davem@davemloft.net>
31835
31836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
31837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
31838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
31839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
31840 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
31841 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
31842 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
31843 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
31844
31845 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
31846 manipulate bits before adding and subtracting TWO112[sx].
31847 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31848
31849 2012-02-27 Roland McGrath <roland@hack.frob.com>
31850
31851 [BZ #13775]
31852 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
31853 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
31854 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
31855 being in POSIX, because they are in 1003.1-2008.
31856
31857 * rt/tst-aio.c: Include <fcntl.h>.
31858 * rt/tst-aio7.c: Likewise.
31859 * rt/tst-aio64.c: Likewise.
31860
31861 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
31862
31863 2012-02-27 Joseph Myers <joseph@codesourcery.com>
31864
31865 * manual/install.texi (--with-headers): Describe headers as
31866 interface headers, not private headers.
31867 (Specific advice for GNU/Linux systems): Describe use of headers
31868 from "make headers_install", not private headers from older
31869 kernels.
31870 * INSTALL: Regenerated.
31871 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
31872 Change to 2.6.19.
31873 * sysdeps/unix/sysv/linux/configure: Regenerated.
31874
31875 * manual/llio.texi (fclean): Remove documentation.
31876
31877 * manual/Makefile (libc-texi-generated): New variable. Include
31878 version.texi.
31879 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
31880 $(libc-texi-generated), not duplicated list of files.
31881 (version.texi, stamp-version): New rules.
31882 (realclean): Remove $(libc-texi-generated), not individual files
31883 from that list. Do not remove dir-add.texinfo.
31884 * manual/libc.texinfo: Comment out uses of edition numbers and
31885 references to printed manual. Remove last-updated dates.
31886 (EDITION): Comment out.
31887 (ISBN): Likewise.
31888 (VERSION, UPDATED): Remove.
31889 (version.texi): Include.
31890
31891 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
31892
31893 * sysdeps/posix/spawni.c: Include <signal.h>.
31894 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
31895 * sysdeps/pthread/aio_fsync.c: Likewise.
31896
31897 2012-02-26 Ulrich Drepper <drepper@gmail.com>
31898
31899 * conform/Makefile (tests): Run only when not cross-compiling and
31900 when fast-check is not defined.
31901
31902 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
31903 * conform/data/limits.h-data: Fixes for POSIX2008.
31904 * conform/run-conformtest.sh: Run all tests.
31905 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
31906 headers.
31907 * include/bits/dlfcn.h: Likewise.
31908 * include/langinfo.h: Likewise.
31909 * include/monetary.h: Likewise.
31910 * include/sys/poll.h: Likewise.
31911
31912 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
31913 for __USE_GNU.
31914 * posix/spawn.h: Define __need_sigset_t.
31915 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
31916 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
31917 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
31918 to get sigevent_t only.
31919 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
31920 only for __USE_GNU.
31921 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31922 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31923 process_vm_writev only for __USE_GNU.
31924 * termios/termios.h: Declare tcgetsid also for POSIX2008.
31925
31926 * conform/Makefile: For now ignore errors from run-conformtest.
31927 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
31928 POSIX to avoid namespace pollution. Don't prepend headers.
31929 * conform/data/aio.h-data: Fixes for POSIX testing.
31930 * conform/data/fcntl.h-data: Likewise.
31931 * conform/data/glob.h-data: Likewise.
31932 * conform/data/grp.h-data: Likewise.
31933 * conform/data/pthread.h-data: Likewise.
31934 * conform/data/pwd.h-data: Likewise.
31935 * conform/data/signal.h-data: Likewise.
31936 * conform/data/spawn.h-data: Likewise.
31937 * conform/data/stdio.h-data: Likewise.
31938 * conform/data/stdlib.h-data: Likewise.
31939 * conform/data/stropts.h-data: Likewise.
31940 * conform/data/sys/mman.h-data: Likewise.
31941 * conform/data/sys/stat.h-data: Likewise.
31942 * conform/data/sys/types.h-data: Likewise.
31943 * conform/data/sys/wait.h-data: Likewise.
31944 * conform/data/time.h-data: Likewise.
31945 * conform/data/unistd.h-data: Likewise.
31946 * conform/data/utime.h-data: Likewise.
31947
31948 * io/sys/stat.h: fchmod was always in POSIX.
31949 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
31950 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
31951 * rt/aio.h: Define __need_timespec before including <time.h>.
31952 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
31953 struct. Add forward declaration of pthread_attr_t and use it in
31954 sigevent.
31955 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31956 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31957 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
31958 always remove CLK_TCK definition.
31959
31960 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
31961
31962 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
31963
31964 2012-02-25 Ulrich Drepper <drepper@gmail.com>
31965
31966 * conform/run-conformtest.sh: New file.
31967 * conform/Makefile: Run run-conformtest for tests.
31968 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
31969 support.
31970
31971 * conform/data/uchar.h-data: New file.
31972 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
31973 * conform/data/arpa/inet.h-data: Likewise.
31974 * conform/data/assert.h-data: Likewise.
31975 * conform/data/complex.h-data: Likewise.
31976 * conform/data/cpio.h-data: Likewise.
31977 * conform/data/ctype.h-data: Likewise.
31978 * conform/data/dirent.h-data: Likewise.
31979 * conform/data/dlfcn.h-data: Likewise.
31980 * conform/data/errno.h-data: Likewise.
31981 * conform/data/fcntl.h-data: Likewise.
31982 * conform/data/float.h-data: Likewise.
31983 * conform/data/fmtmsg.h-data: Likewise.
31984 * conform/data/fnmatch.h-data: Likewise.
31985 * conform/data/ftw.h-data: Likewise.
31986 * conform/data/glob.h-data: Likewise.
31987 * conform/data/grp.h-data: Likewise.
31988 * conform/data/iconv.h-data: Likewise.
31989 * conform/data/inttypes.h-data: Likewise.
31990 * conform/data/langinfo.h-data: Likewise.
31991 * conform/data/libgen.h-data: Likewise.
31992 * conform/data/limits.h-data: Likewise.
31993 * conform/data/locale.h-data: Likewise.
31994 * conform/data/math.h-data: Likewise.
31995 * conform/data/monetary.h-data: Likewise.
31996 * conform/data/mqueue.h-data: Likewise.
31997 * conform/data/ndbm.h-data: Likewise.
31998 * conform/data/net/if.h-data: Likewise.
31999 * conform/data/netdb.h-data: Likewise.
32000 * conform/data/netinet/in.h-data: Likewise.
32001 * conform/data/nl_types.h-data: Likewise.
32002 * conform/data/poll.h-data: Likewise.
32003 * conform/data/pthread.h-data: Likewise.
32004 * conform/data/pwd.h-data: Likewise.
32005 * conform/data/regex.h-data: Likewise.
32006 * conform/data/sched.h-data: Likewise.
32007 * conform/data/search.h-data: Likewise.
32008 * conform/data/semaphore.h-data: Likewise.
32009 * conform/data/setjmp.h-data: Likewise.
32010 * conform/data/signal.h-data: Likewise.
32011 * conform/data/spawn.h-data: Likewise.
32012 * conform/data/stdarg.h-data: Likewise.
32013 * conform/data/stdio.h-data: Likewise.
32014 * conform/data/stdlib.h-data: Likewise.
32015 * conform/data/string.h-data: Likewise.
32016 * conform/data/strings.h-data: Likewise.
32017 * conform/data/stropts.h-data: Likewise.
32018 * conform/data/sys/ipc.h-data: Likewise.
32019 * conform/data/sys/mman.h-data: Likewise.
32020 * conform/data/sys/msg.h-data: Likewise.
32021 * conform/data/sys/resource.h-data: Likewise.
32022 * conform/data/sys/select.h-data: Likewise.
32023 * conform/data/sys/sem.h-data: Likewise.
32024 * conform/data/sys/shm.h-data: Likewise.
32025 * conform/data/sys/socket.h-data: Likewise.
32026 * conform/data/sys/stat.h-data: Likewise.
32027 * conform/data/sys/statvfs.h-data: Likewise.
32028 * conform/data/sys/time.h-data: Likewise.
32029 * conform/data/sys/timeb.h-data: Likewise.
32030 * conform/data/sys/times.h-data: Likewise.
32031 * conform/data/sys/types.h-data: Likewise.
32032 * conform/data/sys/uio.h-data: Likewise.
32033 * conform/data/sys/un.h-data: Likewise.
32034 * conform/data/sys/utsname.h-data: Likewise.
32035 * conform/data/sys/wait.h-data: Likewise.
32036 * conform/data/syslog.h-data: Likewise.
32037 * conform/data/tar.h-data: Likewise.
32038 * conform/data/termios.h-data: Likewise.
32039 * conform/data/utime.h-data: Likewise.
32040 * conform/data/utmpx.h-data: Likewise.
32041 * conform/data/varargs.h-data: Likewise.
32042 * conform/data/wchar.h-data: Likewise.
32043 * conform/data/wctype.h-data: Likewise.
32044 * conform/data/wordexp.h-data: Likewise.
32045
32046 * include/stropts.h: New file.
32047 * include/uchar.h: New file.
32048 * include/aio.h: Changes to allow conformtest.pl to use the headers.
32049 * include/assert.h: Likewise.
32050 * include/ctype.h: Likewise.
32051 * include/dirent.h: Likewise.
32052 * include/dlfcn.h: Likewise.
32053 * include/fcntl.h: Likewise.
32054 * include/fnmatch.h: Likewise.
32055 * include/glob.h: Likewise.
32056 * include/grp.h: Likewise.
32057 * include/libio.h: Likewise.
32058 * include/locale.h: Likewise.
32059 * include/math.h: Likewise.
32060 * include/net/if.h: Likewise.
32061 * include/netdb.h: Likewise.
32062 * include/netinet/in.h: Likewise.
32063 * include/pthread.h: Likewise.
32064 * include/pwd.h: Likewise.
32065 * include/regex.h: Likewise.
32066 * include/sched.h: Likewise.
32067 * include/search.h: Likewise.
32068 * include/setjmp.h: Likewise.
32069 * include/signal.h: Likewise.
32070 * include/stdio.h: Likewise.
32071 * include/stdlib.h: Likewise.
32072 * include/string.h: Likewise.
32073 * include/sys/cdefs.h: Likewise.
32074 * include/sys/mman.h: Likewise.
32075 * include/sys/msg.h: Likewise.
32076 * include/sys/resource.h: Likewise.
32077 * include/sys/select.h: Likewise.
32078 * include/sys/socket.h: Likewise.
32079 * include/sys/stat.h: Likewise.
32080 * include/sys/statvfs.h: Likewise.
32081 * include/sys/time.h: Likewise.
32082 * include/sys/times.h: Likewise.
32083 * include/sys/uio.h: Likewise.
32084 * include/sys/utsname.h: Likewise.
32085 * include/sys/wait.h: Likewise.
32086 * include/termios.h: Likewise.
32087 * include/time.h: Likewise.
32088 * include/ulimit.h: Likewise.
32089 * include/unistd.h: Likewise.
32090 * include/utime.h: Likewise.
32091 * include/wchar.h: Likewise.
32092 * include/wctype.h: Likewise.
32093 * include/wordexp.h: Likewise.
32094
32095 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
32096
32097 * time/time.h: TIME_UTC must be a macro.
32098 Make timespec_get available for ISO C11 only as well.
32099
32100 2012-02-24 Ulrich Drepper <drepper@gmail.com>
32101
32102 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
32103 Reported by Peng Haitao <penght@cn.fujitsu.com>.
32104
32105 2012-02-24 Joseph Myers <joseph@codesourcery.com>
32106
32107 * configure.in: Use -o not -a in test for unsupported multi-arch.
32108
32109 2012-02-24 Joseph Myers <joseph@codesourcery.com>
32110
32111 * manual/texinfo.tex: Update to version 2012-01-19.16.
32112
32113 2012-02-24 Joseph Myers <joseph@codesourcery.com>
32114
32115 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
32116
32117 2012-02-24 Roland McGrath <roland@hack.frob.com>
32118
32119 [BZ #13738]
32120 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
32121 * manual/fdl-1.3.texi: New file.
32122 * manual/fdl-1.1.texi: File removed.
32123
32124 [BZ #13738]
32125 * manual/libc.texinfo (FDL_VERSION): New @set.
32126 Use it for mention of FDL in cover text.
32127 (Documentation License): Use it in @include file name.
32128
32129 2012-02-22 Joseph Myers <joseph@codesourcery.com>
32130 Roland McGrath <roland@hack.frob.com>
32131
32132 [BZ #5461]
32133 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
32134 not LONG_LONG_MAX and LONG_LONG_MIN.
32135 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
32136 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
32137 name.
32138 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
32139
32140 2012-02-22 Joseph Myers <joseph@codesourcery.com>
32141
32142 [BZ #2547]
32143 [BZ #11365]
32144 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
32145 manipulate bits before adding and subtracting TWO23[sx].
32146 * math/libm-test.inc (nearbyint_test): Add more tests.
32147
32148 2012-02-22 Joseph Myers <joseph@codesourcery.com>
32149
32150 [BZ #2548]
32151 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
32152 bits before adding and subtracting TWO23[sx].
32153 * math/libm-test.inc (rint_test): Add more tests.
32154 (rint_test_tonearest): Likewise.
32155 (rint_test_towardzero): Likewise.
32156 (rint_test_downward): Likewise.
32157 (rint_test_upward: Likewise.
32158
32159 2012-02-22 Joseph Myers <joseph@codesourcery.com>
32160
32161 [BZ #10110]
32162 * include/stdc-predef.h: New file. Extracted from features.h.
32163 * include/features.h: Include stdc-predef.h.
32164 * Makefile (headers): Add stdc-predef.h.
32165 * CONFORMANCE (Compiler limitations): Update.
32166
32167 2012-02-22 Joseph Myers <joseph@codesourcery.com>
32168
32169 * manual/libc.texinfo (VERSION, UPDATED): Revert.
32170
32171 2012-02-21 David S. Miller <davem@davemloft.net>
32172
32173 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
32174 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
32175
32176 2012-02-20 David S. Miller <davem@davemloft.net>
32177
32178 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
32179 using a normal save/restore sequence, rather than allocating a
32180 dummy stack frame just to store a frame pointer and restore.
32181 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
32182
32183 2012-02-21 Joseph Myers <joseph@codesourcery.com>
32184
32185 * manual/install.texi: Fix stray word in line-wrapped comment.
32186
32187 2012-02-20 David S. Miller <davem@davemloft.net>
32188
32189 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
32190 both binutils and gcc support GOTDATA.
32191
32192 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
32193 "rd %pc" in the PIC register setup sequences.
32194
32195 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
32196 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
32197 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
32198 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
32199 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
32200 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32201 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32202 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
32203 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
32204 (SYSCALL_ERROR_HANDLER): Likewise.
32205 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
32206 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32207 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
32208 (SYSCALL_ERROR_HANDLER): Likewise.
32209
32210 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
32211 (HAVE_GCC_GOTDATA): New.
32212 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
32213 relocation support in both binutils and gcc.
32214 * sysdeps/sparc/elf/configure: Regenerate.
32215
32216 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
32217 * sysdeps/sparc/sparc32/elf/configure: Delete.
32218 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
32219 * sysdeps/sparc/sparc64/elf/configure: Delete.
32220 * sysdeps/sparc/elf/configure.in: New file.
32221 * sysdeps/sparc/elf/configure: Generate.
32222
32223 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
32224 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
32225 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
32226 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
32227 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
32228
32229 2012-02-21 Joseph Myers <joseph@codesourcery.com>
32230
32231 * manual/install.texi: Do not mention specific glibc version
32232 numbers.
32233 * manual/libc.texinfo (VERSION, UPDATED): Update.
32234 (@copying): Use @copyright{} and range of years.
32235
32236 2012-02-21 Joseph Myers <joseph@codesourcery.com>
32237
32238 [BZ #13695]
32239 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
32240 [crti.S not in sysdirs] (generated): Do not append.
32241 [crti.S not in sysdirs] (omit-deps): Likewise.
32242 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
32243 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
32244 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
32245 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
32246 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
32247 Likewise.
32248 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
32249 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
32250 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
32251 * csu/defs.awk: Remove file.
32252 * sysdeps/generic/initfini.c: Likewise.
32253 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
32254 variable.
32255 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
32256 Likewise.
32257
32258 2012-02-20 Joseph Myers <joseph@codesourcery.com>
32259
32260 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
32261 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
32262 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
32263 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
32264 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32265 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
32266 <bits/epoll.h>.
32267 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
32268 (__EPOLL_PACKED): Define to empty if not defined by
32269 <bits/epoll.h>.
32270 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
32271 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32272 bits/epoll.h.
32273
32274 2012-02-20 Joseph Myers <joseph@codesourcery.com>
32275
32276 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
32277 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
32278 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
32279 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
32280 <bits/timerfd.h>.
32281 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
32282 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32283 bits/timerfd.h.
32284
32285 2012-02-20 Joseph Myers <joseph@codesourcery.com>
32286
32287 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
32288 in C locale.
32289 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32290 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32291 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
32292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32293
32294 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
32295
32296 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32297 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
32298
32299 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
32300
32301 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
32302 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
32303 defined.
32304 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
32305 Likewise.
32306 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
32307 entry for 2.16.
32308
32309 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
32310
32311 * math/w_acos.c: Use non-signaling floating-point comparisons.
32312 * math/w_acosf.c: Likewise.
32313 * math/w_acosh.c: Likewise.
32314 * math/w_acoshf.c: Likewise.
32315 * math/w_acoshl.c: Likewise.
32316 * math/w_acosl.c: Likewise.
32317 * math/w_asin.c: Likewise.
32318 * math/w_asinf.c: Likewise.
32319 * math/w_asinl.c: Likewise.
32320 * math/w_atanh.c: Likewise.
32321 * math/w_atanhf.c: Likewise.
32322 * math/w_atanhl.c: Likewise.
32323 * math/w_exp2.c: Likewise.
32324 * math/w_exp2f.c: Likewise.
32325 * math/w_exp2l.c: Likewise.
32326 * math/w_j0.c: Likewise.
32327 * math/w_j0f.c: Likewise.
32328 * math/w_j0l.c: Likewise.
32329 * math/w_j1.c: Likewise.
32330 * math/w_j1f.c: Likewise.
32331 * math/w_j1l.c: Likewise.
32332 * math/w_jn.c: Likewise.
32333 * math/w_jnf.c: Likewise.
32334 * math/w_log.c: Likewise.
32335 * math/w_log10.c: Likewise.
32336 * math/w_log10f.c: Likewise.
32337 * math/w_log10l.c: Likewise.
32338 * math/w_log2.c: Likewise.
32339 * math/w_log2f.c: Likewise.
32340 * math/w_log2l.c: Likewise.
32341 * math/w_logf.c: Likewise.
32342 * math/w_logl.c: Likewise.
32343 * math/w_sqrt.c: Likewise.
32344 * math/w_sqrtf.c: Likewise.
32345 * math/w_sqrtl.c: Likewise.
32346 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32347 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
32348 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32349 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32350 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32351
32352 2012-02-19 Joseph Myers <joseph@codesourcery.com>
32353
32354 [BZ #9739]
32355 * manual/string.texi (strnlen): Use correct parameter name in
32356 equivalent expression.
32357
32358 2012-02-19 Joseph Myers <joseph@codesourcery.com>
32359
32360 [BZ #11174]
32361 * manual/users.texi (seteuid): Consistently use neweuid for
32362 argument name.
32363
32364 2012-02-19 Joseph Myers <joseph@codesourcery.com>
32365
32366 [BZ #13704]
32367 * manual/nss.texi (Services in the NSS configuration): Correct
32368 list of services in example configuration file.
32369
32370 2012-02-19 Nick Bowler <nbowler@draconx.ca>
32371
32372 [BZ #11322]
32373 * manual/arith.texi: Remove statements about negative zero
32374 behaving identically to zero.
32375
32376 2012-02-18 Joseph Myers <joseph@codesourcery.com>
32377
32378 [BZ #5993]
32379 * manual/install.texi: Do not document upgrading from libc5.
32380
32381 2012-02-18 Joseph Myers <joseph@codesourcery.com>
32382
32383 [BZ #4596]
32384 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
32385
32386 2012-02-18 David S. Miller <davem@davemloft.net>
32387
32388 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
32389 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
32390 %o7 across the call.
32391 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
32392 instead.
32393 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
32394 SETUP_PIC_REG_LEAF.
32395 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32396 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
32397 * sysdeps/sparc/crtn.S: Likewise.
32398
32399 2012-02-17 Ulrich Drepper <drepper@gmail.com>
32400
32401 * aout/Makefile: Remove.
32402
32403 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
32404
32405 [BZ #13058]
32406 * manual/examples/argp-ex1.c (main): Format definition in GNU
32407 style.
32408 * manual/examples/argp-ex2.c (main): Likewise.
32409 * manual/examples/argp-ex3.c (main): Likewise.
32410 * manual/examples/argp-ex4.c (main): Likewise.
32411 * manual/examples/longopt.c (main): Use new-style prototype
32412 definition.
32413 * manual/examples/strncat.c (main): Specify return type and use
32414 (void) for arguments.
32415 * manual/examples/subopt.c (main): Use char **argv argument.
32416
32417 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32418
32419 [BZ #5077]
32420 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
32421 rounding modes.
32422
32423 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
32424
32425 [BZ #6907]
32426 * manual/string.texi (strchr): Change when strchrnul is
32427 recommended.
32428
32429 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
32430
32431 [BZ #174]
32432 * manual/locale.texi (setlocale): Document LOCPATH.
32433
32434 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32435
32436 [BZ #10210]
32437 * manual/process.texi (execle): Move @dots{} before last argument.
32438
32439 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
32440
32441 [BZ #12047]
32442 * manual/charset.texi (Generic Charset Conversion): Fix typo
32443 (LC_TYPE -> LC_CTYPE).
32444
32445 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
32446
32447 [BZ #5805]
32448 * manual/arith.texi (scalbn): Use @var{} on parameter names.
32449 (scalbnf): Likewise.
32450 (scalbnl): Likewise.
32451 (scalbln): Likewise.
32452 (scalblnf): Likewise.
32453 (scalblnl): Likewise.
32454 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
32455 (vwarnx): Likewise.
32456 (verr): Likewise.
32457 (verrx): Likewise.
32458 * manual/filesys.texi (telldir): Use braces around return type.
32459 * manual/llio.texi (mmap): Add space after comma.
32460 (mmap64): Likewise.
32461 * manual/math.texi (jn): Use @var{} on parameter names.
32462 (jnf): Likewise.
32463 (jnl): Likewise.
32464 (yn): Likewise.
32465 (ynf): Likewise.
32466 (ynl): Likewise.
32467 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
32468 line.
32469 * manual/resource.texi (ulimit): Use @dots{} instead of literal
32470 "...".
32471 (sched_get_priority_min): Remove semicolon on @deftypefun line.
32472 (sched_get_priority_max): Likewise.
32473 * manual/signal.texi (sigvec): Add space after comma.
32474 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
32475 names.
32476 (if_indextoname): Likewise.
32477 (if_freenameindex): Likewise.
32478 (sendto): Use ',' instead of '.' in prototype.
32479 * manual/startup.texi (syscall): Use @dots{} instead of literal
32480 "...".
32481 * manual/stdio.texi (__fpending): Separate initial words of
32482 paragraph from @deftypefun line.
32483 * manual/syslog.texi (syslog): Use @dots{} instead of literal
32484 "...".
32485 (vsyslog): Use @var{} on parameter names.
32486 * manual/terminal.texi (stty): Use @var{} on parameter names.
32487 * manual/users.texi (getutmp): Use @var{} on parameter names.
32488 (getutmpx): Likewise.
32489
32490 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32491
32492 [BZ #6884]
32493 * manual/stdio.texi (fopen): Fix typos in description of
32494 ",ccs=STRING".
32495
32496 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
32497
32498 [BZ #4026]
32499 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
32500 get clock_id definition.
32501
32502 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
32503
32504 [BZ #4822]
32505 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
32506 (madvise): Cast every argument to void on its own.
32507
32508 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32509
32510 [BZ #9902]
32511 * manual/startup.texi (Exit Status): Fix typo.
32512
32513 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32514
32515 [BZ #10140]
32516 * manual/examples/argp-ex1.c: Include <stdlib.h>.
32517 * manual/examples/argp-ex2.c: Likewise.
32518 * manual/examples/argp-ex3.c: Likewise.
32519
32520 2012-02-16 Richard Henderson <rth@redhat.com>
32521
32522 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
32523 * sysdeps/s390/s390-32/initfini.c: Remove.
32524 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
32525 * sysdeps/s390/s390-64/initfini.c: Remove.
32526
32527 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32528
32529 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
32530 compiler output for sysdeps/generic/initfini.c.
32531 * sysdeps/sh/elf/initfini.c: Remove file.
32532
32533 2012-02-16 David S. Miller <davem@davemloft.net>
32534
32535 [BZ #11494]
32536 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
32537
32538 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
32539 * sysdeps/sparc/crti.S: New file.
32540 * sysdeps/sparc/crtn.S: New file.
32541 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
32542 * sysdeps/sparc/sparc64/Makefile: Likewise.
32543
32544 2012-02-15 Mike Frysinger <vapier@gentoo.org>
32545
32546 [BZ #3335]
32547 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
32548
32549 2012-02-15 Roland McGrath <roland@hack.frob.com>
32550
32551 [BZ #4822]
32552 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
32553
32554 * mach/devstream.c (cookie_io_functions_t): Macro removed.
32555 (write, read, close): Likewise.
32556 Patch by Aurelien Jarno <aurelien@aurel32.net>.
32557
32558 2012-02-15 Joseph Myers <joseph@codesourcery.com>
32559
32560 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
32561 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
32562 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
32563 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
32564 <bits/signalfd.h>.
32565 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
32566 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32567 bits/signalfd.h.
32568
32569 2012-02-14 Marek Polacek <polacek@redhat.com>
32570
32571 * sysdeps/x86_64/crti.S: New file.
32572 * sysdeps/x86_64/crtn.S: New file.
32573 * sysdeps/x86_64/elf/initfini.c: Remove file.
32574
32575 2012-02-13 Joseph Myers <joseph@codesourcery.com>
32576
32577 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
32578 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
32579 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
32580 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
32581 <bits/inotify.h>.
32582 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
32583 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32584 bits/inotify.h.
32585
32586 2012-02-13 Joseph Myers <joseph@codesourcery.com>
32587
32588 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
32589 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
32590 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
32591 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
32592 <bits/eventfd.h>.
32593 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
32594 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32595 bits/eventfd.h.
32596
32597 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
32598
32599 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
32600 __feraiseexcept instead of feraiseexcept.
32601
32602 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
32603 nanosleep invocations.
32604 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
32605 strings, and add error checking for a nanosleep invocations.
32606
32607 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
32608
32609 Replace FSF snail mail address with URLs, as per GNU coding standards.
32610 Most of the snail mail addresses were wrong anyway, and omitting
32611 them makes the source code easier to maintain. Almost all of the
32612 changes are to license notices and to locale LC_IDENTIFICATION
32613 addresses, except for this one:
32614 * manual/libc.texinfo: In "Published by", give the FSF's URL,
32615 not its snail mail address.
32616
32617 2012-02-09 Richard Henderson <rth@twiddle.net>
32618
32619 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
32620 of kernel-features.h.
32621
32622 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
32623
32624 2012-02-08 Marek Polacek <polacek@redhat.com>
32625
32626 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
32627 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
32628 * sysdeps/gnu/_G_config.h: Likewise.
32629 * sysdeps/generic/_G_config.h: Likewise.
32630
32631 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
32632
32633 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
32634 tests.
32635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32636
32637 * sysdeps/powerpc/powerpc32/crti.S: New file.
32638 * sysdeps/powerpc/powerpc32/crtn.S: New file.
32639 * sysdeps/powerpc/powerpc64/crti.S: New file.
32640 * sysdeps/powerpc/powerpc64/crtn.S: New file.
32641
32642 * Makeconfig (have-initfini): Don't set.
32643 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
32644 * configure.in (nopic_initfini): Don't substitute.
32645 * config.h.in (HAVE_INITFINI): Don't #undef.
32646 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
32647 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
32648
32649 2012-02-08 Joseph Myers <joseph@codesourcery.com>
32650
32651 Support crti.S and crtn.S provided directly by architectures.
32652 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
32653 [crti.S in sysdirs] (omit-deps): Likewise.
32654 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
32655 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
32656 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
32657 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
32658 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
32659 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
32660 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
32661 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
32662 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
32663 compiler output for sysdeps/generic/initfini.c.
32664 * sysdeps/i386/elf/Makefile: Remove file.
32665 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
32666
32667 2012-02-07 Marek Polacek <polacek@redhat.com>
32668
32669 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
32670 * sysdeps/gnu/_G_config.h: Likewise.
32671 * sysdeps/mach/hurd/_G_config.h: Likewise.
32672
32673 2012-02-07 Marek Polacek <polacek@redhat.com>
32674
32675 * math/Makefile (tests): Add tst-CMPLX2.
32676 * math/tst-CMPLX2.c: New file.
32677
32678 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
32679
32680 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32681
32682 * math/libm-test.inc (jn_test): Add missing L suffix.
32683
32684 2012-02-06 Marek Polacek <polacek@redhat.com>
32685
32686 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
32687 * sysdeps/i386/fpu/e_powf.S: Likewise.
32688 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32689 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32690 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32691 * sysdeps/i386/fpu/e_pow.S: Likewise.
32692 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32693 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32694 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32695 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32696 * sysdeps/i386/fpu/e_log2.S: Likewise.
32697 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32698 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32699 * sysdeps/i386/fpu/e_powl.S: Likewise.
32700 * sysdeps/i386/fpu/s_log1p.S: Likewise.
32701 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32702 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32703 * sysdeps/i386/fpu/e_logl.S: Likewise.
32704 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32705 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
32706 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32707 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32708 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32709 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32710 * sysdeps/i386/fpu/e_log.S: Likewise.
32711 * sysdeps/i386/fpu/s_cexp.S: Likewise.
32712 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32713 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
32714 * sysdeps/i386/fpu/e_logf.S: Likewise.
32715 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32716 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32717 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
32718 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32719 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32720 * sysdeps/i386/fpu/e_log10.S: Likewise.
32721 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32722 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32723 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32724 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32725 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32726 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32727 * sysdeps/i386/asm-syntax.h: Likewise.
32728 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32729 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32730 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32731 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
32732 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
32733 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32734 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32735 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32736 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32737 * sysdeps/powerpc/sysdep.h: Likewise.
32738 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
32739 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32740
32741 2012-02-06 Joseph Myers <joseph@codesourcery.com>
32742
32743 [BZ #411]
32744 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
32745
32746 2012-02-06 Joseph Myers <joseph@codesourcery.com>
32747
32748 * sysdeps/i386/sysdep.h: Include <features.h>.
32749 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
32750 version.
32751
32752 2012-02-05 Joseph Myers <joseph@codesourcery.com>
32753
32754 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
32755 Define.
32756 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
32757 LOAD_PIC_REG_STR.
32758
32759 2012-02-03 Joseph Myers <joseph@codesourcery.com>
32760
32761 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
32762 (SETUP_PIC_REG): Use GET_PC_THUNK.
32763 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
32764 macro.
32765
32766 2012-02-03 Joseph Myers <joseph@codesourcery.com>
32767
32768 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
32769 for non-PIC compilation.
32770 (SETUP_PIC_REG): Add .p2align directive.
32771 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
32772 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32773 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32774 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32775 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32776 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32777 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32778 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32779 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32780 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32781 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32782 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32783 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32784 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32785 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32786 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32787 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32788 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32789 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32790 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32791 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32792 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32793 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32794 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32795 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32796 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32797 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32798 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32799 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32800 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32801 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32802 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32803 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32804 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32805 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32806 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32807 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32808 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32809 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32810 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32811 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32812
32813 2012-02-03 Joseph Myers <joseph@codesourcery.com>
32814
32815 * math/tst-CMPLX.c: Include <stdio.h>.
32816
32817 2012-01-31 Joseph Myers <joseph@codesourcery.com>
32818
32819 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
32820 float.
32821 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32822 * sysdeps/sparc/bits/mathdef.h: Likewise.
32823
32824 2012-01-31 Marek Polacek <polacek@redhat.com>
32825
32826 * libio/libio.h: Don't define _PARAMS.
32827 * locale/programs/config.h: Don't define PARAMS.
32828 * stdlib/strtol_l.c: Likewise.
32829 (__strtol_l): Remove PARAMS from the prototype.
32830
32831 2012-01-31 Ulrich Drepper <drepper@gmail.com>
32832
32833 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
32834 names. Just use the correct names. Remove unnecessary wrapper
32835 functions.
32836 * malloc/arena.c: Likewise.
32837 * malloc/hooks.c: Likewise.
32838
32839 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
32840 ARENA_TEST says not to. Simplify test for creation of a new arena.
32841 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
32842
32843 2012-01-30 Ulrich Drepper <drepper@gmail.com>
32844
32845 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
32846 into tail calls.
32847 (update_get_addr): New function.
32848 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
32849 GET_ADDR_MODULE parameter.
32850
32851 2012-01-30 Joseph Myers <joseph@codesourcery.com>
32852
32853 * crypt/cert.c: Remove __STDC__ conditionals.
32854 * crypt/crypt-entry.c: Likewise.
32855 * crypt/crypt_util.c: Likewise.
32856 * libio/filedoalloc.c: Likewise.
32857 * libio/fileops.c: Likewise.
32858 * libio/genops.c: Likewise.
32859 * libio/iofclose.c: Likewise.
32860 * libio/iofdopen.c: Likewise.
32861 * libio/iofopen.c: Likewise.
32862 * libio/iofopen64.c: Likewise.
32863 * libio/iogetdelim.c: Likewise.
32864 * libio/iopopen.c: Likewise.
32865 * libio/obprintf.c: Likewise.
32866 * libio/oldfileops.c: Likewise.
32867 * libio/oldiofclose.c: Likewise.
32868 * libio/oldiofdopen.c: Likewise.
32869 * libio/oldiofopen.c: Likewise.
32870 * libio/oldiopopen.c: Likewise.
32871 * libio/wfiledoalloc.c: Likewise.
32872 * libio/wgenops.c: Likewise.
32873 * locale/programs/xmalloc.c: Likewise.
32874 * misc/syslog.c: Likewise.
32875 * stdio-common/xbug.c: Likewise.
32876 * string/memchr.c: Likewise.
32877 * string/memcmp.c: Likewise.
32878 * string/memrchr.c: Likewise.
32879 * string/rawmemchr.c: Likewise.
32880 * sysdeps/posix/getcwd.c: Likewise.
32881 * time/strftime_l.c: Likewise.
32882
32883 2012-01-30 Joseph Myers <joseph@codesourcery.com>
32884
32885 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
32886 * config.make.in (config-cflags-sse2avx): Define.
32887 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
32888 Fix typo.
32889
32890 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
32891
32892 * scripts/config.guess: Update from upstream config git repository.
32893 * scripts/config.sub: Likewise.
32894
32895 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
32896
32897 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
32898 (EM_NUM): Update.
32899 (R_TILEPRO_*, R_TILEGX_*): New macros.
32900
32901 * scripts/firstversions.awk: Fix bug in version range handling.
32902
32903 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
32904
32905 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
32906
32907 * include/sys/epoll.h: New file.
32908 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
32909 libc_hidden_def.
32910
32911 2012-01-28 Ulrich Drepper <drepper@gmail.com>
32912
32913 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
32914 Avoid unnecessary __WORDSIZE == 64 test.
32915 (fmaxf): Use VEX format if possible.
32916 (fmax): Likewise.
32917 (fminf): Likewise.
32918 (fmin): Likewise.
32919
32920 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
32921 * math/math_private.h: Remove libc_fegetround* and
32922 libc_fesetround*.
32923 * sysdeps/i386/configure.in: Check for -msse2avx.
32924 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
32925 also if SSE2AVX is defined.
32926 Remove libc_fegetround* and libc_fesetround*.
32927 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
32928 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
32929 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
32930 of HAS_YMM_USABLE.
32931 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32932 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32933 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32934 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32935 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32936
32937 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
32938
32939 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32940
32941 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
32942 size is not set.
32943 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32944
32945 2012-01-27 Ulrich Drepper <drepper@gmail.com>
32946
32947 [BZ #13618]
32948 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
32949 relocation.
32950 * Makeconfig (libm): Define.
32951 * elf/Makefile: Add rules to build and run tst-relsort1.
32952 * elf/tst-relsort1.c: New file.
32953 * elf/tst-relsort1mod1.c: New file.
32954 * elf/tst-relsort1mod2.c: New file.
32955
32956 2012-01-27 Joseph Myers <joseph@codesourcery.com>
32957
32958 * math/s_ldexp.c: Remove __STDC__ conditionals.
32959 * math/s_ldexpf.c: Likewise.
32960 * math/s_ldexpl.c: Likewise.
32961 * math/s_nextafter.c: Likewise.
32962 * math/s_nexttowardf.c: Likewise.
32963 * math/s_significand.c: Likewise.
32964 * math/s_significandf.c: Likewise.
32965 * math/s_significandl.c: Likewise.
32966 * math/w_jnl.c: Likewise.
32967 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32968 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32969 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32970 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32971 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32972 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32973 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
32974 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32975 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32976 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32977 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32978 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32979 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32980 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32981 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32982 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32983 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32984 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32985 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32986 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32987 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32988 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32989 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32990 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32991 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32992 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32993 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32994 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32995 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32996 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32997 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32998 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32999 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33000 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33001 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33002 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33003 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33004 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33005 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33006 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33007 * sysdeps/ieee754/k_standard.c: Likewise.
33008 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33009 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33010 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33011 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33012 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33013 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33014 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33015 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33016 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33017 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33018 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33019 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33020 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33021 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33022 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33023 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33024 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33025 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33026 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33027 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33028 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33029 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33030 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33031 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33032 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33033 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33034 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33035 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33036 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33037 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33038 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33039 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
33040 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33041 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33042 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33043 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33044 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
33045 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33046 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33047 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
33048 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
33049 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33050 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
33051 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
33052 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33053 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
33054 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
33055 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33056 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33057 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
33058 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
33059 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33060 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33061 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33062 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33063 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33064 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
33065 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33066 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33067 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33068 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33069 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33070 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33071 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33072 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33073 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33074 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33075 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33076 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33077 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33078 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33079 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33080 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33081 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33082 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33083 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33084 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33085 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33086 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33087 * sysdeps/ieee754/s_matherr.c: Likewise.
33088 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33089 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33090 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33091 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33092
33093 2012-01-26 Joseph Myers <joseph@codesourcery.com>
33094
33095 * crypt/md5.h: Remove __STDC__ conditionals.
33096 * libio/libioP.h: Likewise.
33097 * locale/programs/config.h: Likewise.
33098 * sysdeps/generic/sysdep.h: Likewise.
33099 * sysdeps/i386/asm-syntax.h: Likewise.
33100 * sysdeps/s390/asm-syntax.h: Likewise.
33101 * sysdeps/unix/sysdep.h: Likewise.
33102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
33103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33104
33105 2012-01-26 Joseph Myers <joseph@codesourcery.com>
33106
33107 * libio/libio.h: Remove __STDC__ conditionals.
33108 * malloc/obstack.h: Likewise.
33109 * math/complex.h: Likewise.
33110 * math/math.h: Likewise.
33111 * sysdeps/generic/_G_config.h: Likewise.
33112 * sysdeps/gnu/_G_config.h: Likewise.
33113 * sysdeps/mach/hurd/_G_config.h: Likewise.
33114 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33115 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
33116 * sysdeps/sparc/bits/mathdef.h: Likewise.
33117
33118 2012-01-26 Ulrich Drepper <drepper@gmail.com>
33119
33120 [BZ #13583]
33121 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
33122 Clean up HAS_* macros.
33123 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
33124 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
33125 possible.
33126 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
33127 HAS_AVX.
33128 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33129 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33130 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33131 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33132 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33133
33134 2012-01-25 Joseph Myers <joseph@codesourcery.com>
33135
33136 * elf/tst-unique3.cc (gets): Remove declaration.
33137 * elf/tst-unique3lib.cc (gets): Likewise.
33138 * elf/tst-unique3lib2.cc (gets): Likewise.
33139 * elf/tst-unique4.cc (gets): Likewise.
33140
33141 2012-01-24 Ulrich Drepper <drepper@gmail.com>
33142
33143 * include/stdio.h: Add C++ protection. Add gets declarations and
33144 definitions.
33145 * debug/tst-chk1.c: Don't declare gets here.
33146 * stdio-common/tst-gets.c: Likewise.
33147
33148 2012-01-24 Joseph Myers <joseph@codesourcery.com>
33149
33150 * posix/glob: Remove directory.
33151
33152 2012-01-24 Joseph Myers <joseph@codesourcery.com>
33153
33154 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
33155
33156 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
33157
33158 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
33159 of the non-standard EPFNOSUPPORT.
33160
33161 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
33162
33163 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
33164 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
33165 ANYWHERE set to 1 only on KERN_NO_SPACE error.
33166
33167 2012-01-21 Ulrich Drepper <drepper@gmail.com>
33168
33169 * wcsmbs/uchar.h: Test __STDC_VERSION__.
33170
33171 2012-01-20 Ulrich Drepper <drepper@gmail.com>
33172
33173 * nscd/aicache.c (addhstaiX): Do not cache negative results of
33174 transient errors.
33175 * nscd/grpcache.c (cache_addgr): Likewise.
33176 * nscd/hstcache.c (cache_addhst): Likewise.
33177 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33178 * nscd/pwdcache.c (cache_addpw): Likewise.
33179 * nscd/servicescache.c (cache_addserv): Likewise.
33180
33181 2012-01-16 Ulrich Drepper <drepper@gmail.com>
33182
33183 * malloc/malloc.c: Various cleanups.
33184 * malloc/hooks.c: Likewise.
33185
33186 * stdlib/Makefile (tests): Add bug-fmtmsg1.
33187 * stdlib/bug-fmtmsg1.c: New file.
33188
33189 * stdlib/fmtmsg.c (init): Add missing unlock.
33190 Patch by Peng Haitao <penght@cn.fujitsu.com>.
33191
33192 2012-01-12 Marek Polacek <polacek@redhat.com>
33193
33194 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
33195 and _GNU_SOURCE.
33196
33197 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
33198
33199 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
33200 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
33201 macro to ensure uniqueness of label name.
33202 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
33203 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
33204
33205 2012-01-11 Ulrich Drepper <drepper@gmail.com>
33206
33207 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
33208
33209 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
33210 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33211 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33212 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
33213
33214 2012-01-10 Ulrich Drepper <drepper@gmail.com>
33215
33216 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
33217
33218 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
33219 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33220 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33221
33222 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
33223
33224 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
33225 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33226 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33227 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
33228
33229 * math/bits/math-finite.h: Add ldexp support.
33230
33231 2012-01-10 Marek Polacek <polacek@redhat.com>
33232
33233 * locale/programs/localedef.h (show_archive_content): Add noreturn
33234 attribute.
33235
33236 2012-01-09 Ulrich Drepper <drepper@gmail.com>
33237
33238 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
33239
33240 2012-01-08 Ulrich Drepper <drepper@gmail.com>
33241
33242 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
33243
33244 * io/Makefile (headers): Add bits/poll2.h.
33245
33246 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
33247
33248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
33249 typo #include statement.
33250
33251 2012-01-08 Ulrich Drepper <drepper@gmail.com>
33252
33253 * include/sys/cdefs.h: Define __attribute_alloc_size.
33254 * catgets/gencat.c: Add alloc_size attribute and apply consistently
33255 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
33256 * elf/pldd.c: Likewise.
33257 * iconv/iconv_charmap.c: Likewise.
33258 * iconv/iconvconfig.c: Likewise.
33259 * iconv/strtab.c: Likewise.
33260 * locale/programs/locale.c: Likewise.
33261 * locale/programs/localedef.h: Likewise.
33262 * locale/programs/simple-hash.c: Likewise.
33263 * nscd/nscd.h: Likewise.
33264 * nss/makedb.c: Likewise.
33265 * sysdeps/generic/ldconfig.h: Likewise.
33266 * locale/programs/localedef.c: Remove xmalloc prototype.
33267 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
33268
33269 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33270
33271 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
33272 appropriate.
33273
33274 2012-01-08 Ulrich Drepper <drepper@gmail.com>
33275
33276 * math/Makefile (tests): Add tst-CMPLX.
33277 * math/tst-CMPLX.c: New file.
33278
33279 * math/complex.h (CMPLXL): Fix typo.
33280
33281 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
33282 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
33283 GLIBC_2.16.
33284 * debug/tst-chk1.c: Add poll and ppoll tests.
33285 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
33286 * include/sys/poll.h: Add hidden proto for ppoll.
33287 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
33288 * sysdeps/mach/hurd/ppoll.c: Likewise.
33289 * io/ppoll.c: Likewise.
33290 * debug/poll_chk.c: New file.
33291 * debug/ppoll_chk.c: New file.
33292 * include/bits/poll2.h: New file.
33293 * io/bits/poll2.h: New file.
33294
33295 [BZ #1350]
33296 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
33297
33298 * configure.in: static is always set to yes. Remove.
33299 * config.make.in: Don't set build-static.
33300 * Makeconfig: Remove use of build-static.
33301 * dlfcn/Makefile: Likewise.
33302 * elf/Makefile: Likewise.
33303 * math/Makefile: Likewise.
33304 * misc/Makefile: Likewise.
33305 * nptl/Makefile: Likewise.
33306 * sysdeps/mach/hurd/Makefile: Likewise.
33307
33308 * configure.in: PWD_P is not used anymore.
33309 * config.make.in: Remove PWD_P entry.
33310
33311 * configure.in: Remove last remnants of RANLIB.
33312 No need to check for signed size_t anymore.
33313 Don't set libc_commonpagesize and libc_relro_required here for Alpha
33314 and IA-64.
33315 Remove __builtin_expect test because we require at least gcc 3.4.
33316 * aclocal.m4: Likewise.
33317
33318 * wcsmbs/mbrtoc16.c: Implement using towc function.
33319 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
33320 * wcsmbs/wcsmbsload.c: Likewise.
33321 * iconv/gconv_simple.c: Likewise.
33322 * iconv/gconv_int.h: Likewise.
33323 * iconv/gconv_builtin.h: Likewise.
33324 * iconv/iconv_prog.c: Remove CHAR16 handling.
33325
33326 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
33327
33328 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
33329
33330 * configure.in: Remove --with-elf and --enable-bounded options.
33331 Dont set base_machine for ia64. More non-ELF conditions removed.
33332 Remove testing and setting of leading underscore information.
33333 * config.make.in (build-bounded): Set to no.
33334 * config.h.in: Remove NO_UNDERSCORES entry.
33335 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
33336 them.
33337 * csu/start.c: Remove !NO_UNDERSCORE code.
33338 * locale/localeinfo.h: Likewise.
33339 * sysdeps/generic/machine-gmon.h: Likewise.
33340 * sysdeps/generic/sysdep.h: Likewise.
33341 * sysdeps/i386/sysdep.h: Likewise.
33342 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
33343 * sysdeps/mach/sysdep.h: Likewise.
33344 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33345 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33346 * sysdeps/sh/sysdep.h: Likewise.
33347 * sysdeps/sparc/sparc32/alloca.S: Likewise.
33348 * sysdeps/unix/i386/sysdep.S: Likewise.
33349 * sysdeps/unix/sparc/start.c: Likewise.
33350 * sysdeps/unix/sparc/sysdep.S: Likewise.
33351 * sysdeps/unix/sparc/sysdep.h: Likewise.
33352 * sysdeps/unix/start.c: Likewise.
33353 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33354 * sysdeps/x86_64/sysdep.h: Likewise.
33355
33356 2012-01-07 Ulrich Drepper <drepper@gmail.com>
33357
33358 [BZ #13553]
33359 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
33360 for non-gcc.
33361 * argp/argp-fmtstream.h: Use const instead __const.
33362 * argp/argp.h: Likewise.
33363 * assert/assert.h: Likewise.
33364 * bits/fenv.h: Likewise.
33365 * bits/sched.h: Likewise.
33366 * bits/sigset.h: Likewise.
33367 * bits/sigthread.h: Likewise.
33368 * catgets/nl_types.h: Likewise.
33369 * conform/data/pthread.h-data: Likewise.
33370 * crypt/crypt-private.h: Likewise.
33371 * crypt/crypt.h: Likewise.
33372 * crypt/crypt_util.c: Likewise.
33373 * ctype/ctype.h: Likewise.
33374 * debug/execinfo.h: Likewise.
33375 * debug/mbsnrtowcs_chk.c: Likewise.
33376 * debug/mbsrtowcs_chk.c: Likewise.
33377 * debug/wcsnrtombs_chk.c: Likewise.
33378 * debug/wcsrtombs_chk.c: Likewise.
33379 * debug/wcstombs_chk.c: Likewise.
33380 * dirent/dirent.h: Likewise.
33381 * dlfcn/dlfcn.h: Likewise.
33382 * elf/neededtest4.c: Likewise.
33383 * grp/grp.h: Likewise.
33384 * gshadow/gshadow.h: Likewise.
33385 * iconv/gconv.h: Likewise.
33386 * iconv/gconv_int.h: Likewise.
33387 * iconv/gconv_simple.c: Likewise.
33388 * iconv/iconv.h: Likewise.
33389 * iconv/loop.c: Likewise.
33390 * iconv/skeleton.c: Likewise.
33391 * include/aio.h: Likewise.
33392 * include/aliases.h: Likewise.
33393 * include/argz.h: Likewise.
33394 * include/arpa/inet.h: Likewise.
33395 * include/assert.h: Likewise.
33396 * include/dirent.h: Likewise.
33397 * include/dlfcn.h: Likewise.
33398 * include/execinfo.h: Likewise.
33399 * include/fcntl.h: Likewise.
33400 * include/fenv.h: Likewise.
33401 * include/glob.h: Likewise.
33402 * include/grp.h: Likewise.
33403 * include/libintl.h: Likewise.
33404 * include/mntent.h: Likewise.
33405 * include/netdb.h: Likewise.
33406 * include/pwd.h: Likewise.
33407 * include/rpc/netdb.h: Likewise.
33408 * include/sched.h: Likewise.
33409 * include/search.h: Likewise.
33410 * include/shadow.h: Likewise.
33411 * include/signal.h: Likewise.
33412 * include/stdio.h: Likewise.
33413 * include/stdlib.h: Likewise.
33414 * include/string.h: Likewise.
33415 * include/sys/socket.h: Likewise.
33416 * include/sys/stat.h: Likewise.
33417 * include/sys/statfs.h: Likewise.
33418 * include/sys/statvfs.h: Likewise.
33419 * include/sys/syslog.h: Likewise.
33420 * include/sys/time.h: Likewise.
33421 * include/sys/uio.h: Likewise.
33422 * include/time.h: Likewise.
33423 * include/unistd.h: Likewise.
33424 * include/utmp.h: Likewise.
33425 * include/wchar.h: Likewise.
33426 * include/wctype.h: Likewise.
33427 * inet/aliases.h: Likewise.
33428 * inet/arpa/inet.h: Likewise.
33429 * inet/netinet/ether.h: Likewise.
33430 * inet/netinet/in.h: Likewise.
33431 * intl/libintl.h: Likewise.
33432 * io/bits/fcntl2.h: Likewise.
33433 * io/fcntl.h: Likewise.
33434 * io/ftw.h: Likewise.
33435 * io/sys/poll.h: Likewise.
33436 * io/sys/stat.h: Likewise.
33437 * io/sys/statfs.h: Likewise.
33438 * io/sys/statvfs.h: Likewise.
33439 * io/utime.h: Likewise.
33440 * libio/bits/stdio.h: Likewise.
33441 * libio/bits/stdio2.h: Likewise.
33442 * libio/libio.h: Likewise.
33443 * libio/libioP.h: Likewise.
33444 * libio/stdio.h: Likewise.
33445 * locale/lc-ctype.c: Likewise.
33446 * locale/locale.h: Likewise.
33447 * login/utmp.h: Likewise.
33448 * malloc/arena.c: Likewise.
33449 * malloc/malloc.c: Likewise.
33450 * malloc/malloc.h: Likewise.
33451 * malloc/mcheck.c: Likewise.
33452 * malloc/mtrace.c: Likewise.
33453 * math/bits/mathcalls.h: Likewise.
33454 * math/fenv.h: Likewise.
33455 * math/math_private.h: Likewise.
33456 * misc/bits/error.h: Likewise.
33457 * misc/bits/syslog.h: Likewise.
33458 * misc/err.h: Likewise.
33459 * misc/error.h: Likewise.
33460 * misc/fstab.h: Likewise.
33461 * misc/mntent.h: Likewise.
33462 * misc/regexp.h: Likewise.
33463 * misc/search.h: Likewise.
33464 * misc/sgtty.h: Likewise.
33465 * misc/sys/mman.h: Likewise.
33466 * misc/sys/syslog.h: Likewise.
33467 * misc/sys/uio.h: Likewise.
33468 * misc/sys/xattr.h: Likewise.
33469 * misc/ttyent.h: Likewise.
33470 * nis/rpcsvc/ypclnt.h: Likewise.
33471 * nss/nss.h: Likewise.
33472 * posix/bits/unistd.h: Likewise.
33473 * posix/fnmatch.h: Likewise.
33474 * posix/glob.h: Likewise.
33475 * posix/sched.h: Likewise.
33476 * posix/spawn.h: Likewise.
33477 * posix/sys/wait.h: Likewise.
33478 * posix/unistd.h: Likewise.
33479 * posix/wordexp.h: Likewise.
33480 * pwd/pwd.h: Likewise.
33481 * resolv/netdb.h: Likewise.
33482 * resource/sys/resource.h: Likewise.
33483 * rt/aio.h: Likewise.
33484 * rt/bits/mqueue2.h: Likewise.
33485 * rt/mqueue.h: Likewise.
33486 * shadow/shadow.h: Likewise.
33487 * signal/signal.h: Likewise.
33488 * socket/send.c: Likewise.
33489 * socket/sendto.c: Likewise.
33490 * socket/sys/socket.h: Likewise.
33491 * stdio-common/printf.h: Likewise.
33492 * stdlib/bits/stdlib.h: Likewise.
33493 * stdlib/fmtmsg.h: Likewise.
33494 * stdlib/monetary.h: Likewise.
33495 * stdlib/stdlib.h: Likewise.
33496 * stdlib/ucontext.h: Likewise.
33497 * streams/stropts.h: Likewise.
33498 * string/argz.h: Likewise.
33499 * string/bits/string2.h: Likewise.
33500 * string/string.h: Likewise.
33501 * string/strings.h: Likewise.
33502 * sunrpc/rpc/auth.h: Likewise.
33503 * sunrpc/rpc/auth_des.h: Likewise.
33504 * sunrpc/rpc/clnt.h: Likewise.
33505 * sunrpc/rpc/netdb.h: Likewise.
33506 * sunrpc/rpc/pmap_clnt.h: Likewise.
33507 * sunrpc/rpc/xdr.h: Likewise.
33508 * sysdeps/generic/inttypes.h: Likewise.
33509 * sysdeps/generic/net/if.h: Likewise.
33510 * sysdeps/generic/sys/swap.h: Likewise.
33511 * sysdeps/gnu/net/if.h: Likewise.
33512 * sysdeps/gnu/utmpx.h: Likewise.
33513 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
33514 * sysdeps/i386/i486/bits/string.h: Likewise.
33515 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
33516 * sysdeps/s390/bits/string.h: Likewise.
33517 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
33518 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
33519 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
33520 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
33521 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
33522 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
33523 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
33524 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
33525 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
33526 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
33527 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
33528 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33529 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
33530 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33531 * sysdeps/unix/sysv/linux/readv.c: Likewise.
33532 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
33533 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
33534 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33535 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
33536 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
33537 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33538 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
33539 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
33540 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
33541 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
33542 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
33543 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
33544 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33545 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
33546 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
33547 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
33548 * sysvipc/sys/ipc.h: Likewise.
33549 * sysvipc/sys/msg.h: Likewise.
33550 * sysvipc/sys/sem.h: Likewise.
33551 * sysvipc/sys/shm.h: Likewise.
33552 * termios/termios.h: Likewise.
33553 * time/sys/time.h: Likewise.
33554 * time/time.h: Likewise.
33555 * wcsmbs/bits/wchar2.h: Likewise.
33556 * wcsmbs/uchar.h: Likewise.
33557 * wcsmbs/wchar.h: Likewise.
33558 * wctype/wctype.h: Likewise.
33559
33560 [BZ #13551]
33561 * Makeconfig: Remove all but ELF support including AIX support.
33562 * Makerules: Likewise.
33563 * config.h.in: Likewise.
33564 * config.make.in: Likewise.
33565 * configure: Likewise.
33566 * configure.in: Likewise.
33567 * csu/Makefile: Likewise.
33568 * csu/version.c: Likewise.
33569 * debug/Makefile: Likewise.
33570 * dlfcn/Makefile: Likewise.
33571 * elf/Makefile: Likewise.
33572 * extra-lib.mk: Likewise.
33573 * iconv/Makefile: Likewise.
33574 * include/libc-symbols.h: Likewise.
33575 * include/shlib-compat.h: Likewise.
33576 * resolv/Makefile: Likewise.
33577 * resolv/res_libc.c: Likewise.
33578 * rt/Makefile: Likewise.
33579 * sysdeps/i386/asm-syntax.h: Likewise.
33580 * sysdeps/i386/sysdep.h: Likewise.
33581 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
33582 * sysdeps/mach/sysdep.h: Likewise.
33583 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
33584 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
33585 * sysdeps/s390/asm-syntax.h: Likewise.
33586 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33587 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33588 * sysdeps/sh/sysdep.h: Likewise.
33589 * sysdeps/unix/sparc/sysdep.h: Likewise.
33590 * sysdeps/wordsize-32/divdi3.c: Likewise.
33591 * sysdeps/x86_64/sysdep.h: Likewise.
33592
33593 * argp/Versions: Remove _argp_unlock_xxx.
33594
33595 [BZ #13559]
33596 * abilist/ld.abilist: Update. Adjust for removal of tls option.
33597 * abilist/libBrokenLocale.abilist: Likewise.
33598 * abilist/libanl.abilist: Likewise.
33599 * abilist/libc.abilist: Likewise.
33600 * abilist/libcrypt.abilist: Likewise.
33601 * abilist/libdl.abilist: Likewise.
33602 * abilist/libm.abilist: Likewise.
33603 * abilist/libnsl.abilist: Likewise.
33604 * abilist/libpthread.abilist: Likewise.
33605 * abilist/libresolv.abilist: Likewise.
33606 * abilist/librt.abilist: Likewise.
33607 * abilist/libthread_db.abilist: Likewise.
33608 * abilist/libutil.abilist: Likewise.
33609 * abilist/libnss_db.abilist: New file.
33610
33611 * scripts/abilist.awk: Add support for indirect functions.
33612
33613 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
33614
33615 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
33616
33617 * shlib-versions: Remove entries for ports architectures.
33618
33619 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
33620 files in ports.
33621 * elf/stackguard-macros.h: Remove support for IA-64.
33622 * elf/tst-auditmod1.c: Likewise.
33623 * sysdeps/generic/ldsodefs.h: Likewise.
33624
33625 * sysdeps/unix/sysv/linux/configure.in: Ports should define
33626 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
33627 configure files.
33628
33629 [BZ #13552]
33630 * configure.in: Remove --enable-omitfp support.
33631 * FAQ.in: Adjust.
33632 * config.make.in: Likewise.
33633 * Makeconfig: Likewise.
33634 * manual/install.texi: Likewise.
33635
33636 In case anyone cares, the IA-64 architecture could move to ports.
33637 * sysdeps/ia64/*: Removed.
33638 * sysdeps/unix/sysv/linux/ia64/*: Removed.
33639 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
33640
33641 [BZ #13555]
33642 * configure.in: Remove entries for unsupported architectures.
33643
33644 [BZ #13533]
33645 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
33646 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
33647 routines.
33648 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
33649 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
33650 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
33651 fall back to using wcrtomb.
33652 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
33653 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
33654 renaming.
33655 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
33656 * wcsmbs/tst-c16c32-1.c: New file.
33657
33658 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
33659 local variable.
33660
33661 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
33662
33663 * elf/tst-unique3.cc: Add explicit declaration of gets.
33664 * elf/tst-unique3lib.cc: Likewise.
33665 * elf/tst-unique3lib2.cc: Likewise.
33666 * elf/tst-unique4.cc: Likewise.
33667
33668 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
33669
33670 2012-01-06 Joseph Myers <joseph@codesourcery.com>
33671
33672 [BZ #13566]
33673 * assert/assert.h (static_assert): Don't define for C++.
33674 * libio/stdio.h (gets): Do declare for C++ <= C++11.
33675 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
33676
33677 2012-01-03 Ulrich Drepper <drepper@gmail.com>
33678
33679 * iconv/loop.c (single loop): Fix assertion in storing of
33680 remaining bytes.
33681
33682 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
33683
33684 2012-01-01 Ulrich Drepper <drepper@gmail.com>
33685
33686 * posix/getconf.c: Update copyright year.
33687 * nss/getent.c: Likewise.
33688 * nss/makedb.c: Likewise.
33689 * iconv/iconvconfig.c: Likewise.
33690 * iconv/iconv_prog.c: Likewise.
33691 * elf/ldconfig.c: Likewise.
33692 * elf/pldd.c: Likewise.
33693 * elf/sotruss.ksh: Likewise.
33694 * catgets/gencat.c: Likewise.
33695 * csu/version.c: Likewise.
33696 * elf/ldd.bash.in: Likewise.
33697 * elf/sprof.c (print_version): Likewise.
33698 * locale/programs/locale.c: Likewise.
33699 * locale/programs/localedef.c: Likewise.
33700 * login/programs/pt_chown.c: Likewise.
33701 * nscd/nscd.c (print_version): Likewise.
33702 * debug/xtrace.sh: Likewise.
33703 * malloc/memusage.sh: Likewise.
33704 * malloc/mtrace.pl: Likewise.
33705 * debug/catchsegv.sh: Likewise.
33706
33707 2011-12-30 Jakub Jelinek <jakub@redhat.com>
33708
33709 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
33710 pure attribute.
33711
33712 2011-12-24 Ulrich Drepper <drepper@gmail.com>
33713
33714 [BZ #13533]
33715 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
33716 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
33717 transformations.
33718 * iconv/gconv_int.h: Likewise.
33719 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
33720 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
33721 from libc for GLIBC_2.16.
33722 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
33723 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
33724 * wcsmbs/uchar.h: Really define mbstate_t.
33725 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
33726 * wcsmbs/c16rtomb.c: New file.
33727 * wcsmbs/mbrtoc16.c: New file.
33728 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
33729 for C/POSIX locale.
33730 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
33731 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
33732
33733 * wcsmbs/wchar.h: Add missing __restrict.
33734
33735 2011-12-23 Ulrich Drepper <drepper@gmail.com>
33736
33737 [BZ #13532]
33738 * time/Makefile (routines): Add timespec_get.
33739 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
33740 * time/time.h: Define TIME_UTC and declare timespec_get. Define
33741 timespec for ISO C11.
33742 * time/timespec_get.c: New file.
33743 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
33744 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
33745
33746 [BZ #13531]
33747 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
33748 * stdlib/stdlib.h: Declare aligned_alloc.
33749 * Versions.def: Add GLIBC_2.16 for libc.
33750 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
33751
33752 [BZ 13527]
33753 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
33754 ISO C11.
33755
33756 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
33757 code.
33758
33759 [BZ #13528]
33760 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
33761
33762 [BZ #13529]
33763 * assert/assert.h (static_assert): Define.
33764
33765 * version.h: Update for 2.16 development version.
33766
33767 [BZ #13526]
33768 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
33769 _ISOC11_SOURCE.
33770
33771 * version.h (RELEASE): Bump for 2.15 release.
33772 * include/features.h (__GLIBC_MINOR__): Bump to 15.
33773
33774 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
33775 Patch by Marek Polacek <mpolacek@redhat.com>.
33776
33777 * bits/byteswap.h: Protect long long constants with __extension__.
33778 * sysdeps/i386/bits/byteswap.h: Likewise.
33779 * sysdeps/ia64/bits/byteswap.h: Likewise.
33780 * sysdeps/s390/bits/byteswap.h: Likewise.
33781 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33782
33783 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33784
33785 [BZ #13540]
33786 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
33787 destination buffer.
33788 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
33789
33790 2011-12-23 Marek Polacek <polacek@redhat.com>
33791
33792 * elf/dl-addr.c (determine_info): Add inline keyword.
33793 * elf/tst-auditmod4b.c (check_avx): Likewise.
33794 * elf/tst-auditmod6b.c (check_avx): Likewise.
33795 * elf/tst-auditmod6c.c (check_avx): Likewise.
33796 * elf/tst-auditmod7b.c (check_avx): Likewise.
33797
33798 2011-12-23 Ulrich Drepper <drepper@gmail.com>
33799
33800 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
33801 !__SSE_MATH__.
33802
33803 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33804
33805 [BZ #13540]
33806 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
33807 processing for last bytes.
33808
33809 2011-08-06 Bruno Haible <bruno@clisp.org>
33810
33811 [BZ #13061]
33812 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
33813 U+0385, not to U+1FEE.
33814
33815 [BZ #13062]
33816 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
33817 entry for U+00A5 U+0301.
33818
33819 2011-12-22 Ulrich Drepper <drepper@gmail.com>
33820
33821 [BZ #13166]
33822 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
33823 buffer for the output is too small.
33824
33825 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
33826 optimization.
33827
33828 [BZ #13185]
33829 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
33830 SSE flags if possible.
33831
33832 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33833
33834 [BZ #13540]
33835 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
33836 processing for last bytes.
33837
33838 2011-12-22 Joseph Myers <joseph@codesourcery.com>
33839
33840 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
33841 (syscall-list-default-options, syscall-list-default-condition)
33842 (syscall-list-includes): Define.
33843 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
33844 list of ABIs and options and #if conditions for each ABI. Do not
33845 handle common syscalls between ABIs specially.
33846 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
33847 Remove.
33848 (syscall-list-variants, syscall-list-32bit-options)
33849 (syscall-list-32bit-condition, syscall-list-64bit-options)
33850 (syscall-list-64bit-condition): Define.
33851 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
33852 (syscall-list-variants, syscall-list-32bit-options)
33853 (syscall-list-32bit-condition, syscall-list-64bit-options)
33854 (syscall-list-64bit-condition): Define.
33855 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
33856 Remove.
33857 (syscall-list-variants, syscall-list-32bit-options)
33858 (syscall-list-32bit-condition, syscall-list-64bit-options)
33859 (syscall-list-64bit-condition): Define.
33860 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
33861 Remove.
33862 (syscall-list-variants, syscall-list-32bit-options)
33863 (syscall-list-32bit-condition, syscall-list-64bit-options)
33864 (syscall-list-64bit-condition): Define.
33865
33866 2011-12-22 Ulrich Drepper <drepper@gmail.com>
33867
33868 * locale/iso-639.def: Add brx entry.
33869
33870 [BZ #13328]
33871 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
33872 Proposed by Mariusz_Cukr <marcukr@op.pl>.
33873
33874 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
33875 __feraiseexcept_renamed.
33876
33877 2011-12-21 Ulrich Drepper <drepper@gmail.com>
33878
33879 [BZ #13538]
33880 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
33881 EPOLLET with unsigned values.
33882 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33883 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33884
33885 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
33886 to large cancellation.
33887 * math/s_cacoshf.c: Likewise.
33888 * math/s_cacoshl.c: Likewise.
33889
33890 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
33891
33892 [BZ #13305]
33893 [BZ #12786]
33894 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
33895 * math/s_cacoshf.c: Likewise.
33896 * math/s_cacoshl.c: Likewise.
33897
33898 2011-12-21 Ulrich Drepper <drepper@gmail.com>
33899
33900 [BZ #13439]
33901 * iconv/gconv.h: Define __GCONV_SWAP.
33902 * iconvdata/unicode.c: The swap bit must be stored in __flags.
33903 * iconvdata/utf-16.c: Likewise.
33904 * iconvdata/utf-32.c: Likewise.
33905
33906 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
33907
33908 [BZ #13524]
33909 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
33910 numerator after shifting it by one limb.
33911
33912 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
33913
33914 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
33915 under [__USE_EXTERN_INLINES].
33916
33917 2011-12-17 Ulrich Drepper <drepper@gmail.com>
33918
33919 [BZ #13446]
33920 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
33921
33922 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33923
33924 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
33925 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
33926 optimized code.
33927 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
33928 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
33929 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
33930 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
33931 for strncasecmp/strncasecmp_l compilation.
33932 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
33933 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
33934
33935 2011-12-08 Marek Polacek <mpolacek@redhat.com>
33936
33937 [BZ #13484]
33938 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
33939 of __asm__.
33940
33941 2011-12-17 Ulrich Drepper <drepper@gmail.com>
33942
33943 [BZ #13506]
33944 * time/tzfile.c (__tzfile_read): Check values from file header.
33945
33946 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33947
33948 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
33949 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
33950 * powerpc/powerpc32/dl-start.S: Likewise.
33951 * powerpc/powerpc32/elf/start.S: Likewise.
33952 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33953 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
33954 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
33955 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
33956 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33957 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
33958 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
33959 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
33960 * powerpc/powerpc32/fpu/s_round.S: Likewise.
33961 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33962 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33963 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33964 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
33965 * powerpc/powerpc32/memset.S: Likewise.
33966 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33967 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33968 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33969 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33970 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33971 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33972 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33973 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33974 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
33975 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
33976 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
33977 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
33978 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
33979
33980 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33981
33982 * math/libm-test.inc: Added more nearbyint tests.
33983 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
33984 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
33985 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
33986 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
33987
33988 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
33989
33990 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
33991 FD_CLOEXEC.
33992
33993 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33994
33995 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
33996 Add wcscpy-ssse3 wcscpy-c.
33997 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
33998 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
33999 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
34000 * sysdeps/x86_64/wcschr.S: New file.
34001 * sysdeps/x86_64/wcsrchr.S: New file.
34002 * string/test-strcmp.c: Remove checking of wcscmp function for
34003 wrong alignments.
34004 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
34005 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
34006 wcsrchr-sse2 wcsrchr-c.
34007 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
34008 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
34009 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
34010 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
34011 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
34012 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
34013 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
34014 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
34015 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
34016 * wcsmbc/wcschr.c (WCSCHR): New macro.
34017
34018 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34019
34020 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
34021 * wcsmbs/test-wcsrchr.c: New file.
34022 * string/test-strrchr.c: Add wcsrchr support.
34023 (WIDE): New macro.
34024 * wcsmbs/test-wcscpy.c: New file.
34025 * string/test-strcpy.c: Add wcscpy support.
34026 (WIDE): New macro.
34027
34028 2011-12-10 Ulrich Drepper <drepper@gmail.com>
34029
34030 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
34031 the inner loop.
34032
34033 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
34034
34035 [BZ #13472]
34036 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
34037
34038 2011-12-04 Ulrich Drepper <drepper@gmail.com>
34039
34040 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
34041 Minor optimizations.
34042
34043 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
34044 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
34045 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
34046
34047 2011-12-03 Ulrich Drepper <drepper@gmail.com>
34048
34049 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
34050 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
34051 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
34052 for gcc to avoid warnings.
34053 * inet/Makefile (tests): Add tst-checks.
34054 * inet/tst-checks.c: New file.
34055
34056 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
34057 warning.
34058
34059 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
34060 __wmemcmp_sse2.
34061
34062 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
34063 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
34064
34065 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
34066
34067 2011-12-02 Ulrich Drepper <drepper@gmail.com>
34068
34069 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
34070 problem.
34071
34072 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
34073
34074 2011-11-29 Joseph Myers <joseph@codesourcery.com>
34075
34076 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
34077 conditional on GCC version.
34078 (__arch_compare_and_exchange_val_8_acq)
34079 (__arch_compare_and_exchange_val_16_acq)
34080 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
34081 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
34082 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
34083
34084 2011-12-02 Joseph Myers <joseph@codesourcery.com>
34085
34086 * sysdeps/sh/backtrace.c: New file.
34087
34088 2011-12-02 Andreas Schwab <schwab@redhat.com>
34089
34090 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
34091 parenthesis.
34092
34093 2011-12-01 Andreas Schwab <schwab@redhat.com>
34094
34095 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
34096 falling back to utime.
34097
34098 2011-11-30 Andreas Schwab <schwab@redhat.com>
34099
34100 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
34101 expectations for float.
34102
34103 2011-11-29 Andreas Schwab <schwab@redhat.com>
34104
34105 * locale/weight.h (findidx): Add parameter len.
34106 * locale/weightwc.h (findidx): Likewise.
34107 * posix/fnmatch_loop.c (FCT): Adjust caller.
34108 * posix/regcomp.c (build_equiv_class): Likewise.
34109 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
34110 * posix/regexec.c (check_node_accept_bytes): Likewise.
34111 * string/strcoll_l.c (STRCOLL): Likewise.
34112 * string/strxfrm_l.c (STRXFRM): Likewise.
34113
34114 2011-11-17 Ulrich Drepper <drepper@gmail.com>
34115
34116 * Makefile.in: Remove CVSOPT handling.
34117 * configure.in: Remove use of AC_REVISION.
34118 * iconvdata/Makefile (distribute): No need to filter out CVS.
34119 * scripts/list-sources.sh: Remove CVS, subversion and monotone
34120 handling.
34121
34122 2011-11-16 Andreas Schwab <schwab@redhat.com>
34123
34124 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
34125 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
34126 [USE_AS_STRNCASECMP_L]: Likewise.
34127 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
34128 NO_TLS_DIRECT_SEG_REFS.
34129 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
34130 Fix argument offsets for non-PIC.
34131 [USE_AS_STRNCASECMP_L]: Likewise.
34132 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
34133 NO_TLS_DIRECT_SEG_REFS.
34134
34135 2011-11-15 Ulrich Drepper <drepper@gmail.com>
34136
34137 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
34138 O_CLOEXEC.
34139 * locale/loadlocale.c (_nl_load_locale): Likewise.
34140
34141 2011-11-15 Andreas Schwab <schwab@redhat.com>
34142
34143 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
34144 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
34145 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
34146 (SYSCALL_GETTIME): Set errno on error.
34147
34148 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
34149 count references to noai6ai_cached.
34150
34151 2011-11-15 Ulrich Drepper <drepper@gmail.com>
34152
34153 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
34154
34155 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
34156 FD_CLOEXEC for /proc/self/maps.
34157
34158 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
34159 FD_CLOEXEC for /proc/meminfo.
34160
34161 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
34162 gai.conf.
34163
34164 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
34165 FD_CLOEXEC for given file.
34166
34167 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
34168
34169 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
34170 FD_CLOEXEC for /etc/hosts.
34171 (_gethtent): Likewise.
34172
34173 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
34174
34175 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
34176 cancellation and set FD_CLOEXEC for /etc/netgroup.
34177
34178 * nss/nss_files/files-key.c (search): Don't allow cancellation when
34179 reading /etc/publickey.
34180
34181 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
34182 allow cancellation when reading /etc/group.
34183
34184 * nss/nss_files/files-alias.c (internal_setent): Don't allow
34185 cancellation.
34186 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
34187
34188 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
34189 when using data file.
34190
34191 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
34192
34193 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
34194 (write_nis_obj): Use "c" and "e" in fopen.
34195
34196 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
34197
34198 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
34199
34200 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
34201
34202 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
34203
34204 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
34205 locale.alias.
34206
34207 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
34208
34209 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
34210
34211 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
34212
34213 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
34214 file parsing and set FD_CLOEXEC.
34215
34216 2011-11-14 Ulrich Drepper <drepper@gmail.com>
34217
34218 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
34219
34220 2011-11-14 Andreas Schwab <schwab@redhat.com>
34221
34222 * malloc/arena.c (arena_get2): Don't call reused_arena when
34223 _int_new_arena failed.
34224
34225 2011-11-14 Ulrich Drepper <drepper@gmail.com>
34226
34227 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
34228 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
34229 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
34230 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34231 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34232 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
34233 to compile strcasecmp and strncasecmp.
34234 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
34235 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
34236
34237 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
34238
34239 2011-11-13 Ulrich Drepper <drepper@gmail.com>
34240
34241 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
34242 locale-defines.sym to gen-as-const-headers.
34243 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
34244 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
34245 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
34246 to compile strcasecmp and strncasecmp.
34247 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
34248 strcasecmp_l and strncasecmp_l.
34249 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
34250 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
34251 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
34252 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
34253 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
34254 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
34255 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
34256 * sysdeps/i386/i686/multiarch/strncase.S: New file.
34257 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
34258 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
34259 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
34260
34261 2011-11-12 Ulrich Drepper <drepper@gmail.com>
34262
34263 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
34264 result of SYSDEP_GETTIME_CPU to retval.
34265 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
34266 parameter list to macro. Remove trailing semicolon. Adjust users.
34267
34268 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
34269 variable.
34270
34271 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
34272 mantissa words.
34273 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
34274
34275 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
34276 from unused variable.
34277
34278 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
34279 DWARF definitions.
34280 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
34281 for assembling.
34282
34283 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
34284 over namespaces.
34285
34286 * sunrpc/rpc_prot.c (rejected): Fix case value.
34287
34288 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
34289 unsigned long long int to avoid warnings in shift.
34290
34291 * posix/regex_internal.c (re_string_reconstruct): Actually use result
34292 of use of trans.
34293 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
34294 variable tmp.
34295
34296 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
34297 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
34298 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
34299
34300 * nis/nis_table.c (nis_list): Use variable of correct type for
34301 result of __follow_path call.
34302
34303 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34304
34305 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
34306 of math functions ceil, trunc, floor, round, and sqrt, when
34307 avaliable on the platform.
34308 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
34309 name clash.
34310 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34311 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
34312 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
34313
34314 2011-10-30 Marek Polacek <mpolacek@redhat.com>
34315
34316 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
34317 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
34318
34319 2011-11-11 Roland McGrath <roland@hack.frob.com>
34320
34321 * include/unistd.h: Fix __readlink return type.
34322 Reported by Chris Metcalf <cmetcalf@tilera.com>.
34323
34324 2011-11-11 Ulrich Drepper <drepper@gmail.com>
34325
34326 * stdlib/ucontext.h: Undo last change for makecontext.
34327
34328 2011-11-11 Andreas Schwab <schwab@redhat.com>
34329
34330 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
34331
34332 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
34333 * setjmp/setjmp.h: Mark functions as non-leaf.
34334 * setjmp/bits/setjmp2.h: Likewise.
34335 * stdlib/ucontext.h: Likewise.
34336
34337 2011-11-10 Andreas Schwab <schwab@redhat.com>
34338
34339 * malloc/arena.c (_int_new_arena): Don't increment narenas.
34340 (reused_arena): Don't check arena limit.
34341 (arena_get2): Atomically check arena limit.
34342
34343 2011-11-08 Ulrich Drepper <drepper@gmail.com>
34344
34345 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
34346 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
34347
34348 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
34349 instructions.
34350
34351 2011-11-07 Andreas Schwab <schwab@redhat.com>
34352
34353 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
34354 handler when locking.
34355
34356 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34357 Fix size of allocated buffer.
34358
34359 2011-11-04 Andreas Schwab <schwab@redhat.com>
34360
34361 [BZ #10103]
34362 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
34363 declarations for long double functions.
34364 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
34365
34366 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
34367
34368 2011-11-03 Andreas Schwab <schwab@redhat.com>
34369
34370 * nscd/nscd.c (main): Don't start AVC thread until credentials are
34371 installed.
34372
34373 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
34374 is disabled.
34375
34376 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
34377
34378 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
34379
34380 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
34381
34382 * include/alloca.h (stackinfo_alloca_round): Define.
34383 (extend_alloca): Use it.
34384 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
34385 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
34386 here.
34387
34388 * scripts/check-local-headers.sh: Ignore libaudit.h.
34389
34390 * nscd/Makefile (extra-objs): Make recursively expanded.
34391
34392 2011-11-01 Ulrich Drepper <drepper@gmail.com>
34393
34394 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
34395 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
34396
34397 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
34398 * posix/tst-rfc3484-2.c: Likewise.
34399 * posix/tst-rfc3484-3.c: Likewise.
34400
34401 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34402 process_vm_writev.
34403 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
34404 process_vm_writev.
34405 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
34406 process_vm_writev from libc using GLIBC_2.15 version.
34407
34408 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
34409
34410 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
34411
34412 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
34413 stack usage.
34414
34415 2011-10-31 Ulrich Drepper <drepper@gmail.com>
34416
34417 [BZ #13367]
34418 * nss/getent.c (initgroups_keys): Show error message in case no group
34419 names are given.
34420
34421 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
34422 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
34423 __bump_nl_timestamp.
34424 * nscd/connections (nscd_init): When host database is served open
34425 netlink socket and request notification about configuration changes.
34426 (main_loop_poll): Track netlink file descriptor and bump timestamp
34427 in case data becomes available.
34428 (main_loop_epoll): Likewise.
34429 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
34430 (database_pers_head): Add extra_data fileds.
34431 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
34432 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
34433 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
34434 Adjust caller.
34435 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
34436 in6ai data, call __free_in6ai.
34437 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
34438 Add -DHAVE_NETLINK.
34439 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
34440 interface information. Reuse previous data if netlink timestamp
34441 is not changed.
34442 (__bump_nl_timestamp): New function.
34443 (__free_in6ai): New function.
34444
34445 2011-10-30 Ulrich Drepper <drepper@gmail.com>
34446
34447 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
34448 close_not_cancel_no_status here.
34449 (__check_pf): Reorganize code a bit to not call close twice if OOM.
34450
34451 2011-10-29 Ulrich Drepper <drepper@gmail.com>
34452
34453 [BZ #13276]
34454 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
34455 return value.
34456
34457 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
34458 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
34459 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
34460
34461 2011-07-03 Andreas Jaeger <aj@suse.de>
34462
34463 [BZ #10709]
34464 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
34465 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
34466 * math/libm-test.inc (sin_test): Add test case.
34467
34468 2011-10-29 Ulrich Drepper <drepper@gmail.com>
34469
34470 [BZ #13337]
34471 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
34472 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
34473
34474 * elf/chroot_canon.c (chroot_canon): Cleanups.
34475
34476 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
34477
34478 [BZ #13335]
34479 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
34480 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
34481
34482 * string/test-strchr.c: Make usable for strchrnul testing.
34483 * string/test-strchrnul.c: New file.
34484 * string/Makefile (strop-tests): Add strchrnul.
34485
34486 * po/it.po: Update from translation team.
34487 * po/es.po: Likewise.
34488
34489 2011-10-28 Ulrich Drepper <drepper@gmail.com>
34490
34491 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
34492 the three constants needed as parameters. Drop the others.
34493 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
34494 __m128i_strloadu_tolower.
34495 Create and initialize variable zero and use it in all the places
34496 where _mm_setzero_si128 was used.
34497
34498 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
34499 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
34500 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
34501 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
34502 anymore.
34503 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
34504 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
34505 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
34506 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
34507 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
34508 __mpranred, __mptan.
34509 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
34510 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
34511 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
34512 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
34513 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
34514 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
34515 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
34516 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
34517 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
34518
34519 2011-10-28 Andreas Schwab <schwab@redhat.com>
34520
34521 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
34522 redefine if SHARED.
34523 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
34524
34525 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
34526 wide char related routines to wcsmbs subdir.
34527
34528 2011-10-27 Andreas Schwab <schwab@redhat.com>
34529
34530 [BZ #13344]
34531 * misc/sys/cdefs.h (__THROWNL): Define.
34532 * posix/unistd.h: Use __THREADNL instead of __THREAD
34533 for memory synchronization functions.
34534
34535 2011-10-26 Roland McGrath <roland@hack.frob.com>
34536
34537 [BZ #13349]
34538 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
34539 doesn't exist.
34540 * manual/stdio.texi (Obstack Streams): Node removed.
34541
34542 2011-10-26 Andreas Schwab <schwab@redhat.com>
34543
34544 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
34545 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34546 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34547
34548 * math/math_private.h (math_force_eval): Allow non-addressable
34549 arguments.
34550 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
34551
34552 2011-10-25 Ulrich Drepper <drepper@gmail.com>
34553
34554 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
34555 file is not needed.
34556
34557 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
34558 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34559 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34560 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34561 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34562 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34563 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34564 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
34565 Add AVX variants.
34566 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
34567 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
34568 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
34569 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
34570 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
34571 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
34572 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
34573 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
34574 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
34575 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
34576 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
34577 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
34578 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
34579 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
34580 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
34581 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
34582 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
34583 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
34584 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
34585
34586 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
34587 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
34588
34589 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
34590 place. Use VEX encoding when compiling for AVX.
34591
34592 2011-10-25 Andreas Schwab <schwab@redhat.com>
34593
34594 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
34595 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
34596
34597 * string/test-strchr.c (do_test): Don't generate NUL bytes.
34598
34599 2011-10-25 Ulrich Drepper <drepper@gmail.com>
34600
34601 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
34602 useless if() expression.
34603 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34604 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34605 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34606 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34607 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34608 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34609 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34610 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34611 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34612 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34613 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34614 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34615 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34616 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34617 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34618 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34619 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34620 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34621 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34622
34623 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
34624
34625 2011-10-25 Andreas Schwab <schwab@redhat.com>
34626
34627 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
34628 condition.
34629 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34630
34631 2011-10-25 Ulrich Drepper <drepper@gmail.com>
34632
34633 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
34634 .text section. Avoid duplicate constants.
34635 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34636 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34637 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34638 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34639 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34640 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34641 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34642 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34643 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34644 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
34645 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34646 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34647 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34648 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34649 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34650 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34651 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34652 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34653 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34654 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34655 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34656 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34657 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34658 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
34659 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
34660 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
34661 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
34662 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
34663 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
34664 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
34665 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
34666 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
34667 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34668 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
34669 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
34670 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
34671 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
34672 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
34673 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
34674 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
34675 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
34676 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
34677 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
34678 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
34679 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
34680
34681 2011-10-24 Ulrich Drepper <drepper@gmail.com>
34682
34683 * sysdeps/x86_64/dla.h: Move to ...
34684 * sysdeps/x86_64/fpu/dla.h: ...here.
34685 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
34686 situations. Use __builtin_fma only for gcc 4.6 and up.
34687
34688 * config.make.in: Add have-mfma4 entry.
34689 * configure.in: Substitute libc_cv_cc_fma4.
34690 * math/Makefile (dbl-only-routines): Add sincostab.
34691 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
34692 Use __sincostab not sincos.
34693 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
34694 name is a macro.
34695 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34696 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34697 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34698 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
34699 using __copysign.
34700 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
34701 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
34702 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
34703 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
34704 and __inv.
34705 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
34706 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
34707 __copysign.
34708 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
34709 define aliases when function name is a macro.
34710 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
34711 sysdeps/ieee754/dbl-64/sincos.tbl.
34712 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
34713 fma4-enabled routines.
34714 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
34715 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
34716 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
34717 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
34718 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
34719 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
34720 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
34721 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
34722 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
34723 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
34724 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
34725 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
34726 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
34727 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
34728 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
34729 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
34730 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
34731 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
34732 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
34733 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
34734 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
34735 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
34736 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
34737 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
34738 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
34739 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
34740 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
34741 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
34742 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
34743 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
34744
34745 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
34746 rename.
34747 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34748 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34749 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34750 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34751 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34752 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34753 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34754 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34755
34756 2011-10-24 Andreas Schwab <schwab@redhat.com>
34757
34758 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
34759
34760 2011-10-23 Ulrich Drepper <drepper@gmail.com>
34761
34762 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
34763
34764 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
34765 prediction.
34766 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
34767
34768 * string/strnlen.c: Don't define STRNLEN, reverse logic.
34769 Remove unused variable magic_bits.
34770 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
34771
34772 * string/strnlen.c: Define and use STRNLEN macro.
34773 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
34774 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
34775 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
34776 * wcsmbs/wcslen.c: Define and use WCSLEN.
34777 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
34778 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
34779 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
34780 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
34781 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
34782 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
34783 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34784
34785 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34786
34787 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34788 strnlen-sse2-no-bsf.
34789 Rename strlen-no-bsf to strlen-sse2-no-bsf.
34790 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
34791 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
34792 Add strnlen support.
34793 (USE_AS_STRNLEN): New macro.
34794 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
34795 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
34796 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
34797 * sysdeps/x86_64/wcslen.S: New file.
34798
34799 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
34800
34801 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34802 XMM-moves are used for copying on small sizes.
34803
34804 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34805
34806 * wcsmbs/Makefile (strop-tests): Add wcschr.
34807 * wcsmbs/test-wcschr.c: New file.
34808 * string/test-strchr.c: Update.
34809 Add wcschr support.
34810 (WIDE): New macro.
34811
34812 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34813
34814 * wcsmbs/Makefile (strop-tests): Add wcslen.
34815 * wcsmbs/test-wcslen.c: New file.
34816 * string/test-strlen.c: Update.
34817 Add wcslen support.
34818 (WIDE): New macro.
34819
34820 2011-10-23 Ulrich Drepper <drepper@gmail.com>
34821
34822 * po/it.po: Update from translation team.
34823
34824 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34825
34826 * sysdeps/x86_64/wcscmp.S: Update.
34827 Fix wrong comparison semantics.
34828 wcscmp shall use signed comparison not unsigned.
34829 Don't use substraction to avoid overflow bug.
34830 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
34831 * wcsmbc/wcscmp.c: Likewise.
34832 * string/test-strcmp.c: Likewise.
34833 Add new tests to check cases with negative values.
34834
34835 2011-10-23 Ulrich Drepper <drepper@gmail.com>
34836
34837 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
34838 * sysdeps/x86_64/dla.h: ...here. New file.
34839 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
34840 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34841 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34842 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34843 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34844 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34845 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34846 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34847 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34848
34849 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
34850
34851 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
34852 __ynl_finite aliases.
34853
34854 2011-10-22 Ulrich Drepper <drepper@gmail.com>
34855
34856 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34857
34858 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
34859 define DLA_FMA.
34860 [DLA_FMA] (EMULV): Use DLA_FMA.
34861 [DLA_FMA] (MUL12): Use EMULV.
34862 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
34863 that are not needed.
34864 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34865 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34866 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34867 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34868 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34869 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34870 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34871
34872 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
34873
34874 * math/s_nan.c: Undef __nan.
34875 * math/s_nanf.c: Undef __nanf.
34876 * math/s_nanl.c: Undef __nanl.
34877 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
34878 "math_private.h".
34879
34880 2011-10-22 Ulrich Drepper <drepper@gmail.com>
34881
34882 * math/s_catan.c: Add branch predictions.
34883 * math/s_catanf.c: Likewise.
34884 * math/s_catanh.c: Likewise.
34885 * math/s_catanhf.c: Likewise.
34886 * math/s_catanhl.c: Likewise.
34887 * math/s_catanl.c: Likewise.
34888 * math/s_cexp.c: Likewise.
34889 * math/s_cexpf.c: Likewise.
34890 * math/s_cexpl.c: Likewise.
34891 * math/s_clog.c: Likewise.
34892 * math/s_clog10.c: Likewise.
34893 * math/s_clog10f.c: Likewise.
34894 * math/s_clog10l.c: Likewise.
34895 * math/s_clogf.c: Likewise.
34896 * math/s_clogl.c: Likewise.
34897 * math/s_csqrt.c: Likewise.
34898 * math/s_csqrtf.c: Likewise.
34899 * math/s_csqrtl.c: Likewise.
34900 * math/s_ctanf.c: Likewise.
34901 * math/s_ctanh.c: Likewise.
34902 * math/s_ctanhf.c: Likewise.
34903 * math/s_ctanhl.c: Likewise.
34904 * math/s_ctanl.c: Likewise.
34905
34906 * math/math_private.h: Define __nan, __nanf, __nanl.
34907 * math/s_cacosh.c: Include <math_private.h>.
34908 * math/s_cacoshl.c: Likewise.
34909 * math/s_casinh.c: Likewise.
34910 * math/s_casinhf.c: Likewise.
34911 * math/s_casinhl.c: Likewise.
34912 * math/s_ccos.c: Rely entire on ccosh.
34913 * math/s_ccosf.c: Rely entire on ccoshf.
34914 * math/s_ccosl.c: Rely entirely on ccoshl.
34915 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
34916 Remove tests for FE_INVALID.
34917 * math/s_ccoshf.c: Likewise.
34918 * math/s_ccoshl.c: Likewise.
34919 * math/s_csin.c: Likewise.
34920 * math/s_csinf.c: Likewise.
34921 * math/s_csinh.c Likewise.
34922 * math/s_csinhf.c: Likewise.
34923 * math/s_csinhl.c: Likewise.
34924 * math/s_csinl.c: Likewise.
34925 * math/s_ctan.c: Likewise.
34926 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
34927 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
34928 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
34929
34930 2011-10-21 Ulrich Drepper <drepper@gmail.com>
34931
34932 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
34933 compilation problems.
34934
34935 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
34936 __builtin_expect.
34937
34938 2011-10-20 Ulrich Drepper <drepper@gmail.com>
34939
34940 * sysdeps/i386/configure.in: Test for -mfma4 option.
34941 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
34942 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
34943 COMMON_CPUID_INDEX_80000001.
34944 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
34945 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
34946 use it if FMA3 is not supported.
34947 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
34948
34949 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
34950 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34951
34952 2011-10-20 Andreas Schwab <schwab@redhat.com>
34953
34954 [BZ #12892]
34955 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
34956 it would create a cycle with a link time dependency.
34957
34958 2011-10-19 Ulrich Drepper <drepper@gmail.com>
34959
34960 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
34961 instruction.
34962 * string/Makefile (strop-tests): Add rawmemchr.
34963 * string/test-rawmemchr.c: New file.
34964
34965 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
34966 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
34967 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
34968 when compiling str{,n}casecmp and when AVX is available. Hook up
34969 new optimized code in initializers.
34970
34971 2011-10-19 Andreas Schwab <schwab@redhat.com>
34972
34973 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
34974 __feraiseexcept instead of feraiseexcept.
34975
34976 2011-10-18 Ulrich Drepper <drepper@gmail.com>
34977
34978 * math/math_private.h: Define defaults for libc_fetestexcept and
34979 libc_feupdateenv.
34980 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
34981 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
34982 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34983 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34984 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34985 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34986 libc_fetestexcept and libc_feupdateenv.
34987
34988 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
34989 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
34990 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
34991 * sysdeps/x86_64/fpu/math_private.h: Define special version of
34992 libc_feholdexcept_setround.
34993
34994 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
34995 Add s_nearbyint-c and s_nearbyintf-c.
34996 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
34997 nearbyintf inlines.
34998 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
34999 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
35000 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
35001 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
35002
35003 * math/math_private.h: Define defaults for libc_fegetround,
35004 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
35005 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
35006 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
35007 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
35008 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
35009 standard functions.
35010 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35011 Remove comments and hacks for old compiler versions.
35012 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
35013 libc_fegetround, libc_fesetround, libc_feholdexcept, and
35014 libc_feholdexceptl.
35015
35016 2011-10-18 Andreas Schwab <schwab@redhat.com>
35017
35018 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
35019 (__feraiseexcept_renamed): Add __NTH.
35020 (feraiseexcept): Add __NTH. Rename local variables to fix
35021 namespace violations.
35022
35023 2011-10-17 Ulrich Drepper <drepper@gmail.com>
35024
35025 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
35026
35027 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
35028
35029 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
35030 recently added interfaces.
35031 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
35032
35033 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
35034 about macro parameter expansion.
35035
35036 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
35037 __NO_MATH_INLINES is defined. Cleanups.
35038
35039 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
35040 and __floorf is target has SSE4.1.
35041 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
35042 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
35043 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
35044 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
35045
35046 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
35047 name.
35048 (floorf): Likewise.
35049
35050 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
35051
35052 2011-10-17 Andreas Schwab <schwab@redhat.com>
35053
35054 * misc/sys/cdefs.h: Fix last change.
35055
35056 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
35057 database lookup.
35058
35059 2011-10-16 Ulrich Drepper <drepper@gmail.com>
35060
35061 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
35062
35063 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
35064 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35065 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35066 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35067 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35068 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35069 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35070 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35071 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35072 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
35073 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
35074 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
35075 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
35076 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
35077 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
35078 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
35079 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
35080 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
35081 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
35082 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
35083 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
35084 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
35085
35086 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
35087 ceil, ceilf, floor, floorf.
35088
35089 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
35090 Perform IRELATIVE relocations last.
35091
35092 * elf/do-rel.h: Add another parameter nrelative, replacing the
35093 local variable with the same name. Change name of the function
35094 to end in Rel or Rela (uppercase).
35095 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
35096 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
35097 elf_dynamic_do_##reloc function.
35098
35099 2011-10-15 Ulrich Drepper <drepper@gmail.com>
35100
35101 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
35102 is sufficient, at least on modern CPUs.
35103
35104 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
35105
35106 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
35107 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
35108
35109 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
35110 __expl_finite.
35111 * math/bits/math-finite.h: Add entries for exp.
35112 * math/e_expl.c: Add __*_finite alias.
35113 * sysdeps/i386/fpu/e_exp.S: Likewise.
35114 * sysdeps/i386/fpu/e_expf.S: Likewise.
35115 * sysdeps/i386/fpu/e_expl.c: Likewise.
35116 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35117 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
35118 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
35119 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35120 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
35121 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35122 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35123
35124 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
35125 is sufficient, at least on modern CPUs.
35126
35127 * ctype/ctype-info.c (__ctype_init): Define.
35128 * include/ctype.h (__ctype_init): Declare.
35129 (__ctype_b_loc): The variable is always initialized.
35130 (__ctype_toupper_loc): Likewise.
35131 (__ctype_tolower_loc): Likewise.
35132 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
35133 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
35134
35135 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
35136
35137 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
35138
35139 * configure.in: Also look in $cxxmachine/include for C++ system
35140 headers.
35141
35142 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35143
35144 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
35145 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
35146 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
35147 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
35148 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
35149 (USE_AS_WMEMCMP): New macro.
35150 Fixing indents.
35151 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
35152 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
35153 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
35154 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
35155 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35156 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
35157 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
35158 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
35159 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
35160 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
35161 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
35162 (USE_AS_WMEMCMP): New macro.
35163 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
35164 * sysdeps/string/test-memcmp.c: Update.
35165 Fix simple_wmemcmp.
35166 Add new tests.
35167 * wcsmbs/wmemcmp.c: Update.
35168 (WMEMCMP): New macro.
35169 Fix overflow bug.
35170
35171 2011-10-12 Andreas Jaeger <aj@suse.de>
35172
35173 [BZ #13268]
35174 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
35175
35176 2011-10-15 Ulrich Drepper <drepper@gmail.com>
35177
35178 * libio/iofwide.c (do_length): Avoid warning.
35179
35180 * ctype/ctype.h (__isctype_f): Add missing __THROW.
35181
35182 2011-10-14 Ulrich Drepper <drepper@gmail.com>
35183
35184 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
35185
35186 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
35187 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
35188 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
35189 * sysdeps/i386/i686/fpu/e_log.S: New file.
35190 * sysdeps/i386/i686/fpu/e_logf.S: New file.
35191 * sysdeps/i386/i686/fpu/e_logl.S: New file.
35192
35193 * ctype/ctype.h: Add support for inlined isXXX functions when
35194 compiling C++ code.
35195
35196 2011-10-14 Andreas Schwab <schwab@redhat.com>
35197
35198 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35199
35200 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
35201
35202 2011-10-13 Roland McGrath <roland@hack.frob.com>
35203
35204 [BZ #13291]
35205 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
35206
35207 2011-10-13 Andreas Schwab <schwab@redhat.com>
35208
35209 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
35210 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
35211 feraiseexcept.
35212
35213 * sysdeps/x86_64/memrchr.S: Check for zero size.
35214
35215 * string/stratcliff.c: Add memrchr tests.
35216
35217 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35218
35219 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35220 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
35221 rawmemchr-sse2 rawmemchr-sse2-bsf.
35222 * sysdeps/i386/i686/multiarch/memchr.S: New file.
35223 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
35224 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
35225 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
35226 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
35227 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
35228 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
35229 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
35230 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
35231 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
35232 * string/memrchr.c (MEMRCHR): New macro.
35233
35234 2011-10-12 Ulrich Drepper <drepper@gmail.com>
35235
35236 Add integration with gcc's -ffinite-math-only and optimize wrapper
35237 functions in libm.
35238 * Versions.def: Define GLIBC_2.15 version for libm.
35239 * math/Makefile (headers): Add bits/math-finite.h.
35240 * math/bits/math-finite.h: New file.
35241 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
35242 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
35243 * math/e_acoshl.c: Add __*_finite alias.
35244 * math/e_acosl.c: Likewise.
35245 * math/e_asinl.c: Likewise.
35246 * math/e_atan2l.c: Likewise.
35247 * math/e_atanhl.c: Likewise.
35248 * math/e_coshl.c: Likewise.
35249 * math/e_exp10.c: Likewise.
35250 * math/e_exp10f.c: Likewise.
35251 * math/e_exp10l.c: Likewise.
35252 * math/e_exp2l.c: Likewise.
35253 * math/e_fmodl.c: Likewise.
35254 * math/e_gammal_r.c: Likewise.
35255 * math/e_hypotl.c: Likewise.
35256 * math/e_j0l.c: Likewise.
35257 * math/e_j1l.c: Likewise.
35258 * math/e_jnl.c: Likewise.
35259 * math/e_lgammal_r.c: Likewise.
35260 * math/e_log10l.c: Likewise.
35261 * math/e_log2l.c: Likewise.
35262 * math/e_logl.c: Likewise.
35263 * math/e_powl.c: Likewise.
35264 * math/e_sinhl.c: Likewise.
35265 * math/e_sqrtl.c: Likewise.
35266 * math/e_scalb.c: Completely rewritten and optimized.
35267 * math/e_scalbf.c: Likewise.
35268 * math/e_scalbl.c: Likewise.
35269 * math/w_acos.c: Likewise.
35270 * math/w_acosf.c: Likewise.
35271 * math/w_acosl.c: Likewise.
35272 * math/w_acosh.c: Likewise.
35273 * math/w_acoshf.c: Likewise.
35274 * math/w_acoshl.c: Likewise.
35275 * math/w_asin.c: Likewise.
35276 * math/w_asinf.c: Likewise.
35277 * math/w_asinl.c: Likewise.
35278 * math/w_atan2.c: Likewise.
35279 * math/w_atan2f.c: Likewise.
35280 * math/w_atan2l.c: Likewise.
35281 * math/w_atanh.c: Likewise.
35282 * math/w_atanhf.c: Likewise.
35283 * math/w_atanhl.c: Likewise.
35284 * math/w_exp10.c: Likewise.
35285 * math/w_exp10f.c: Likewise.
35286 * math/w_exp10l.c: Likewise.
35287 * math/w_fmod.c: Likewise.
35288 * math/w_fmodf.c: Likewise.
35289 * math/w_fmodl.c: Likewise.
35290 * math/w_j0.c: Likewise.
35291 * math/w_j0f.c: Likewise.
35292 * math/w_j0l.c: Likewise.
35293 * math/w_j1.c: Likewise.
35294 * math/w_j1f.c: Likewise.
35295 * math/w_j1l.c: Likewise.
35296 * math/w_jn.c: Likewise.
35297 * math/w_jnf.c: Likewise.
35298 * math/w_log.c: Likewise.
35299 * math/w_logf.c: Likewise.
35300 * math/w_logl.c: Likewise.
35301 * math/w_log10.c: Likewise.
35302 * math/w_log10f.c: Likewise.
35303 * math/w_log10l.c: Likewise.
35304 * math/w_log2.c: Likewise.
35305 * math/w_log2f.c: Likewise.
35306 * math/w_log2l.c: Likewise.
35307 * math/w_pow.c: Likewise.
35308 * math/w_powf.c: Likewise.
35309 * math/w_powl.c: Likewise.
35310 * math/w_remainder.c: Likewise.
35311 * math/w_remainderf.c: Likewise.
35312 * math/w_remainderl.c: Likewise.
35313 * math/w_scalb.c: Likewise.
35314 * math/w_scalbf.c: Likewise.
35315 * math/w_scalbl.c: Likewise.
35316 * math/w_sqrt.c: Likewise.
35317 * math/w_sqrtf.c: Likewise.
35318 * math/w_sqrtl.c: Likewise.
35319 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
35320 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
35321 used.
35322 * math/math_private.h: Declare __kernel_standard_f.
35323 * math/w_cosh.c: Remove cruft and optimize a bit.
35324 * math/w_coshf.c: Likewise.
35325 * math/w_coshl.c: Likewise.
35326 * math/w_exp2.c: Likewise.
35327 * math/w_exp2f.c: Likewise.
35328 * math/w_exp2l.c: Likewise.
35329 * math/w_hypot.c: Likewise.
35330 * math/w_hypotf.c: Likewise.
35331 * math/w_hypotl.c: Likewise.
35332 * math/w_lgamma.c: Likewise.
35333 * math/w_lgamma_r.c: Likewise.
35334 * math/w_lgammaf.c: Likewise.
35335 * math/w_lgammaf_r.c: Likewise.
35336 * math/w_lgammal.c: Likewise.
35337 * math/w_lgammal_r.c: Likewise.
35338 * math/w_sinh.c: Likewise.
35339 * math/w_sinhf.c: Likewise.
35340 * math/w_sinhl.c: Likewise.
35341 * math/w_tgamma.c: Likewise.
35342 * math/w_tgammaf.c: Likewise.
35343 * math/w_tgammal.c: Likewise.
35344 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35345 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35346 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
35347 Minor optimizations. Pretty printing. Remove cruft.
35348 * sysdeps/i386/fpu/e_acosf.S: Likewise.
35349 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35350 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35351 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35352 * sysdeps/i386/fpu/e_acosl.c: Likewise.
35353 * sysdeps/i386/fpu/e_asin.S: Likewise.
35354 * sysdeps/i386/fpu/e_asinf.S: Likewise.
35355 * sysdeps/i386/fpu/e_atan2.S: Likewise.
35356 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
35357 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
35358 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35359 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35360 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35361 * sysdeps/i386/fpu/e_exp10.S: Likewise.
35362 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
35363 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
35364 * sysdeps/i386/fpu/e_exp2.S: Likewise.
35365 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
35366 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
35367 * sysdeps/i386/fpu/e_fmod.S: Likewise.
35368 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
35369 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
35370 * sysdeps/i386/fpu/e_hypot.S: Likewise.
35371 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
35372 * sysdeps/i386/fpu/e_log.S: Likewise.
35373 * sysdeps/i386/fpu/e_log10.S: Likewise.
35374 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35375 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35376 * sysdeps/i386/fpu/e_log2.S: Likewise.
35377 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35378 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35379 * sysdeps/i386/fpu/e_logf.S: Likewise.
35380 * sysdeps/i386/fpu/e_logl.S: Likewise.
35381 * sysdeps/i386/fpu/e_pow.S: Likewise.
35382 * sysdeps/i386/fpu/e_powf.S: Likewise.
35383 * sysdeps/i386/fpu/e_powl.S: Likewise.
35384 * sysdeps/i386/fpu/e_remainder.S: Likewise.
35385 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
35386 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
35387 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35388 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35389 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35390 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
35391 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
35392 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
35393 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35394 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35395 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35396 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35397 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35398 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35399 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
35400 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35401 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35402 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35403 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35404 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35405 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35406 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35407 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35408 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35409 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35410 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35411 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35412 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35413 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35414 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35415 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35416 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35417 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35418 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35419 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
35420 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35421 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
35422 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35423 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35424 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35425 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35426 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35427 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35428 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35429 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35430 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35431 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35432 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35433 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35434 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35435 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35436 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35437 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35438 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35439 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35440 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35441 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35442 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
35443 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35444 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35445 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35446 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35447 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35448 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35449 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35450 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35451 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35452 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35453 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35454 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35455 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35456 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35457 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35458 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35459 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35460 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35461 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
35462 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35463 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35464 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35465 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35466 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35467 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35468 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35469 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
35470 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35471 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35472 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35473 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35474 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35475 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
35476 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35477 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35478 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35479 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35480 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35481 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35482 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35483 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35484 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35485 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35486 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
35487 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35488 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
35489 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
35490 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
35491 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
35492 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
35493 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
35494 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
35495 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
35496 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
35497 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35498 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35499 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35500 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35501 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
35502 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35503 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
35504 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
35505 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
35506 (__isnanf): Likewise.
35507 (__isinf_ns): Likewise.
35508 (__isinf_nsf): Likewise.
35509 (__finite): Likewise.
35510 (__finitef): Likewise.
35511 (__ieee754_sqrt): Define as macro.
35512 (__ieee754_sqrtf): Define as macro.
35513 (__ieee754_sqrtl): Define as macro.
35514 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
35515 inlined copy.
35516 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
35517 __FINITE_MATH_ONLY__ consistent.
35518 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
35519
35520 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
35521
35522 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
35523 of rawmemchr.
35524
35525 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
35526
35527 2011-10-09 Ulrich Drepper <drepper@gmail.com>
35528
35529 * po/ja.po: Update from translation team.
35530
35531 2011-10-08 Roland McGrath <roland@hack.frob.com>
35532
35533 * locale/programs/locarchive.c (prepare_address_space): New function.
35534 (create_archive, enlarge_archive, open_archive): Use it.
35535
35536 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
35537 inside [SHARED], where it is used.
35538
35539 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
35540
35541 * nss/getent.c (netgroup_keys): Remove unused variable.
35542 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35543
35544 2011-10-08 Ulrich Drepper <drepper@gmail.com>
35545
35546 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
35547 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
35548 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
35549 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
35550 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
35551 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
35552 * math/Makefile (libm-calls): Add s_isinf_ns.
35553 * math/divtc3.c: Use __isinf_nsl instead of isinf.
35554 * math/multc3.c: Likewise.
35555 * math/s_casin.c: Likewise.
35556 * math/s_casinf.c: Likewise.
35557 * math/s_casinl.c: Likewise.
35558 * math/s_ccos.c: Likewise.
35559 * math/s_ccosf.c: Likewise.
35560 * math/s_ccosl.c: Likewise.
35561 * math/s_ctan.c: Likewise.
35562 * math/s_ctanf.c: Likewise.
35563 * math/s_ctanh.c: Likewise.
35564 * math/s_ctanhf.c: Likewise.
35565 * math/s_ctanhl.c: Likewise.
35566 * math/s_ctanl.c: Likewise.
35567 * math/w_fmod.c: Likewise.
35568 * math/w_fmodf.c: Likewise.
35569 * math/w_fmodl.c: Likewise.
35570 * math/w_remainder.c: Likewise.
35571 * math/w_remainderf.c: Likewise.
35572 * math/w_remainderl.c: Likewise.
35573 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
35574 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
35575 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
35576 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
35577 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
35578 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
35579 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
35580 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
35581
35582 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
35583 of the number.
35584 * stdio-common/printf_fphex.c: Likewise.
35585 * stdio-common/printf_size.c: Likewise.
35586
35587 * math/e_exp10.c: Include math_private.h using <...> not "...".
35588 * math/e_exp10f.c: Likewise.
35589 * math/e_exp10l.c: Likewise.
35590 * math/e_exp2l.c: Likewise.
35591 * math/e_j0l.c: Likewise.
35592 * math/e_j1l.c: Likewise.
35593 * math/e_jnl.c: Likewise.
35594 * math/e_lgammal_r.c: Likewise.
35595 * math/e_rem_pio2l.c: Likewise.
35596 * math/e_scalb.c: Likewise.
35597 * math/e_scalbf.c: Likewise.
35598 * math/e_scalbl.c: Likewise.
35599 * math/k_cosl.c: Likewise.
35600 * math/k_sinl.c: Likewise.
35601 * math/k_tanl.c: Likewise.
35602 * math/s_cacoshf.c: Likewise.
35603 * math/s_catan.c: Likewise.
35604 * math/s_catanf.c: Likewise.
35605 * math/s_catanh.c: Likewise.
35606 * math/s_catanhf.c: Likewise.
35607 * math/s_catanhl.c: Likewise.
35608 * math/s_catanl.c: Likewise.
35609 * math/s_ccosh.c: Likewise.
35610 * math/s_ccoshf.c: Likewise.
35611 * math/s_ccoshl.c: Likewise.
35612 * math/s_cexp.c: Likewise.
35613 * math/s_cexpf.c: Likewise.
35614 * math/s_cexpl.c: Likewise.
35615 * math/s_clog.c: Likewise.
35616 * math/s_clog10.c: Likewise.
35617 * math/s_clog10f.c: Likewise.
35618 * math/s_clog10l.c: Likewise.
35619 * math/s_clogf.c: Likewise.
35620 * math/s_clogl.c: Likewise.
35621 * math/s_csin.c: Likewise.
35622 * math/s_csinf.c: Likewise.
35623 * math/s_csinh.c: Likewise.
35624 * math/s_csinhf.c: Likewise.
35625 * math/s_csinhl.c: Likewise.
35626 * math/s_csinl.c: Likewise.
35627 * math/s_csqrt.c: Likewise.
35628 * math/s_csqrtf.c: Likewise.
35629 * math/s_csqrtl.c: Likewise.
35630 * math/s_ctan.c: Likewise.
35631 * math/s_ctanf.c: Likewise.
35632 * math/s_ctanh.c: Likewise.
35633 * math/s_ctanhf.c: Likewise.
35634 * math/s_ctanhl.c: Likewise.
35635 * math/s_ctanl.c: Likewise.
35636 * math/s_ldexp.c: Likewise.
35637 * math/s_ldexpf.c: Likewise.
35638 * math/s_ldexpl.c: Likewise.
35639 * math/s_significand.c: Likewise.
35640 * math/s_significandf.c: Likewise.
35641 * math/s_significandl.c: Likewise.
35642 * math/w_acos.c: Likewise.
35643 * math/w_acosf.c: Likewise.
35644 * math/w_acosh.c: Likewise.
35645 * math/w_acoshf.c: Likewise.
35646 * math/w_acoshl.c: Likewise.
35647 * math/w_acosl.c: Likewise.
35648 * math/w_asin.c: Likewise.
35649 * math/w_asinf.c: Likewise.
35650 * math/w_asinl.c: Likewise.
35651 * math/w_atan2.c: Likewise.
35652 * math/w_atan2f.c: Likewise.
35653 * math/w_atan2l.c: Likewise.
35654 * math/w_atanh.c: Likewise.
35655 * math/w_atanhf.c: Likewise.
35656 * math/w_atanhl.c: Likewise.
35657 * math/w_cosh.c: Likewise.
35658 * math/w_coshf.c: Likewise.
35659 * math/w_coshl.c: Likewise.
35660 * math/w_dremf.c: Likewise.
35661 * math/w_exp10.c: Likewise.
35662 * math/w_exp10f.c: Likewise.
35663 * math/w_exp10l.c: Likewise.
35664 * math/w_exp2.c: Likewise.
35665 * math/w_exp2f.c: Likewise.
35666 * math/w_fmod.c: Likewise.
35667 * math/w_fmodf.c: Likewise.
35668 * math/w_fmodl.c: Likewise.
35669 * math/w_hypot.c: Likewise.
35670 * math/w_hypotf.c: Likewise.
35671 * math/w_hypotl.c: Likewise.
35672 * math/w_j0.c: Likewise.
35673 * math/w_j0f.c: Likewise.
35674 * math/w_j0l.c: Likewise.
35675 * math/w_j1.c: Likewise.
35676 * math/w_j1f.c: Likewise.
35677 * math/w_j1l.c: Likewise.
35678 * math/w_jn.c: Likewise.
35679 * math/w_jnf.c: Likewise.
35680 * math/w_jnl.c: Likewise.
35681 * math/w_lgamma.c: Likewise.
35682 * math/w_lgamma_r.c: Likewise.
35683 * math/w_lgammaf.c: Likewise.
35684 * math/w_lgammaf_r.c: Likewise.
35685 * math/w_lgammal.c: Likewise.
35686 * math/w_lgammal_r.c: Likewise.
35687 * math/w_log.c: Likewise.
35688 * math/w_log10.c: Likewise.
35689 * math/w_log10f.c: Likewise.
35690 * math/w_log10l.c: Likewise.
35691 * math/w_log2.c: Likewise.
35692 * math/w_log2f.c: Likewise.
35693 * math/w_log2l.c: Likewise.
35694 * math/w_logf.c: Likewise.
35695 * math/w_logl.c: Likewise.
35696 * math/w_pow.c: Likewise.
35697 * math/w_powf.c: Likewise.
35698 * math/w_powl.c: Likewise.
35699 * math/w_remainder.c: Likewise.
35700 * math/w_remainderf.c: Likewise.
35701 * math/w_remainderl.c: Likewise.
35702 * math/w_scalb.c: Likewise.
35703 * math/w_scalbf.c: Likewise.
35704 * math/w_scalbl.c: Likewise.
35705 * math/w_sinh.c: Likewise.
35706 * math/w_sinhf.c: Likewise.
35707 * math/w_sinhl.c: Likewise.
35708 * math/w_sqrt.c: Likewise.
35709 * math/w_sqrtf.c: Likewise.
35710 * math/w_sqrtl.c: Likewise.
35711 * math/w_tgamma.c: Likewise.
35712 * math/w_tgammaf.c: Likewise.
35713 * math/w_tgammal.c: Likewise.
35714
35715 * po/ja.po: Update from translation team.
35716
35717 2011-09-29 Andreas Jaeger <aj@suse.de>
35718
35719 [BZ #13179]
35720 * sunrpc/netname.c (netname2host): Fix logic.
35721
35722 [BZ #6779]
35723 [BZ #6783]
35724 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
35725 correctly.
35726 * math/w_remainder.c (__remainder): Likewise.
35727 * math/w_remainderf.c (__remainderf): Likewise.
35728 * math/libm-test.inc (remainder_test): Add test cases.
35729
35730 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35731
35732 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
35733 sdiv_qrnnd.
35734
35735 2011-10-07 Ulrich Drepper <drepper@gmail.com>
35736
35737 * string/test-memcmp.c: Avoid unncessary #defines.
35738 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
35739
35740 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35741
35742 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
35743 Use new sse2 version for core i3 - i7 as it's faster
35744 than sse42 version.
35745 (bit_Prefer_PMINUB_for_stringop): New.
35746 * sysdeps/x86_64/rawmemchr.S: Update.
35747 Replace with faster SSE2 version.
35748 * sysdeps/x86_64/memrchr.S: New file.
35749 * sysdeps/x86_64/memchr.S: Update.
35750 Replace with faster SSE2 version.
35751
35752 2011-09-12 Marek Polacek <mpolacek@redhat.com>
35753
35754 * elf/dl-load.c (lose): Add cast to avoid warning.
35755
35756 2011-10-07 Ulrich Drepper <drepper@gmail.com>
35757
35758 * po/ca.po: Update from translation team.
35759
35760 * inet/getnetgrent_r.c: Hook up nscd.
35761 * nscd/Makefile (routines): Add nscd_netgroup.
35762 (nscd-modules): Add netgroupcache.
35763 (CFLAGS-netgroupcache.c): Define.
35764 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
35765 (cache_search): Add const to second parameter.
35766 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
35767 INNETGR.
35768 (dbs): Add netgrdb entry.
35769 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
35770 (verify_persistent_db): Handle netgrdb.
35771 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
35772 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
35773 GETFDNETGR.
35774 (netgroup_response_header): Define.
35775 (innetgroup_response_header): Define.
35776 (datahead): Add netgroup_response_header and innetgroup_response_header
35777 elements.
35778 * nscd/nscd.conf: Add entries for netgroup cache.
35779 * nscd/nscd.h (dbtype): Add netgrdb.
35780 (_PATH_NSCD_NETGROUP_DB): Define.
35781 (netgroup_iov_disabled): Declare.
35782 (xmalloc, xcalloc, xrealloc): Move declarations here.
35783 (cache_search): Adjust prototype.
35784 Add netgroup-related prototypes.
35785 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
35786 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
35787 (__nscd_innetgr): Declare.
35788 * nscd/selinux.c (perms): Use access_vector_t as element type and
35789 add netgroup-related initializers.
35790 * nscd/netgroupcache.c: New file.
35791 * nscd/nscd_netgroup.c: New file.
35792 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
35793 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
35794 For four parameters use innetgr.
35795 * nss/nss_files/files-init.c: Add definition and callback for netgr.
35796 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
35797 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
35798 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
35799
35800 * nscd/connections.c (register_traced_file): Don't register file
35801 for disabled databases.
35802
35803 2011-10-06 Ulrich Drepper <drepper@gmail.com>
35804
35805 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
35806
35807 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
35808 from tree and freeing node.
35809
35810 2011-09-25 Jiri Olsa <jolsa@redhat.com>
35811
35812 * nss/nsswitch.c (__nss_database_lookup): Handle
35813 nss_parse_service_list out of memory case.
35814
35815 2011-09-15 Jiri Olsa <jolsa@redhat.com>
35816
35817 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
35818 out of memory case.
35819
35820 2011-10-04 Andreas Schwab <schwab@redhat.com>
35821
35822 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
35823 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
35824 pass it down.
35825 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
35826 elf_machine_rela, elf_machine_lazy_rel.
35827 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
35828 (ELF_DYNAMIC_DO_REL): Likewise.
35829 (ELF_DYNAMIC_DO_RELA): Likewise.
35830 (ELF_DYNAMIC_RELOCATE): Likewise.
35831 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
35832 to ELF_DYNAMIC_DO_REL.
35833 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
35834 (dl_main): In trace mode always set __RTLD_NOIFUNC.
35835 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
35836 elf_machine_rela.
35837 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
35838 skip_ifunc, don't call ifunc function if non-zero.
35839 (elf_machine_rela): Likewise.
35840 (elf_machine_lazy_rel): Likewise.
35841 (elf_machine_lazy_rela): Likewise.
35842 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
35843 (elf_machine_lazy_rel): Likewise.
35844 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
35845 Likewise.
35846 (elf_machine_lazy_rel): Likewise.
35847 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35848 Likewise.
35849 (elf_machine_lazy_rel): Likewise.
35850 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
35851 (elf_machine_lazy_rel): Likewise.
35852 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
35853 (elf_machine_lazy_rel): Likewise.
35854 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35855 (elf_machine_lazy_rel): Likewise.
35856 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
35857 (elf_machine_lazy_rel): Likewise.
35858 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
35859 (elf_machine_lazy_rel): Likewise.
35860 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
35861 (elf_machine_lazy_rel): Likewise.
35862
35863 2011-09-28 Ulrich Drepper <drepper@gmail.com>
35864
35865 * nss/nss_files/files-init.c (_nss_files_init): Use static
35866 initialization for all the *_traced_file variables.
35867
35868 2011-09-28 Andreas Schwab <schwab@redhat.com>
35869
35870 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35871
35872 2011-09-27 Roland McGrath <roland@hack.frob.com>
35873
35874 [BZ #13226]
35875 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
35876
35877 2011-09-27 Andreas Schwab <schwab@redhat.com>
35878
35879 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
35880 Reread the line before reparsing it.
35881
35882 2011-09-26 Andreas Schwab <schwab@redhat.com>
35883
35884 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
35885
35886 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
35887 Maxim Kuvyrkov <maxim@codesourcery.com>
35888 Joseph Myers <joseph@codesourcery.com>
35889
35890 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
35891 if needed for __stack_chk_guard.
35892
35893 2011-09-19 Roland McGrath <roland@hack.frob.com>
35894
35895 * sysdeps/posix/spawni.c (script_execute): Always define it.
35896 It will be optimized away if unused.
35897 (maybe_script_execute): New function.
35898 (__spawni): Call it.
35899
35900 * Makerules: Don't include tls.make.
35901 (config-tls): Always set to thread.
35902 * tls.make.c: File removed.
35903
35904 2011-09-19 Mike Frysinger <vapier@gentoo.org>
35905
35906 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
35907 * config.make.in (CPPFLAGS-config): New substituted variable.
35908
35909 2011-09-15 Ulrich Drepper <drepper@gmail.com>
35910
35911 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
35912
35913 [BZ #13192]
35914 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
35915 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
35916
35917 2011-09-15 Roland McGrath <roland@hack.frob.com>
35918
35919 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
35920 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
35921 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35922 (CALL_FAIL): Likewise.
35923 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
35924 (CALL_FAIL): Macro removed.
35925 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
35926
35927 2011-09-15 Ulrich Drepper <drepper@gmail.com>
35928
35929 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
35930 for __FINITE_MATH_ONLY__ == 1.
35931
35932 2011-09-15 Andreas Schwab <schwab@redhat.com>
35933
35934 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
35935 __ieee754_sqrt instead of sqrt.
35936 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
35937 __ieee754_sqrtf instead of sqrtf.
35938 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
35939 __floorf instead of floorf.
35940 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
35941 __floorf, __truncf instead of floorf, truncf.
35942
35943 2011-09-14 Ulrich Drepper <drepper@gmail.com>
35944
35945 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
35946
35947 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
35948 __extern_always_inline.
35949 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
35950 32-bit.
35951
35952 2011-09-14 Andreas Schwab <schwab@redhat.com>
35953
35954 * elf/rtld.c (dl_main): Also relocate in dependency order when
35955 doing symbol dependency testing.
35956
35957 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
35958
35959 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35960 Always define `refsym'.
35961
35962 2011-09-13 Andreas Schwab <schwab@redhat.com>
35963
35964 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
35965 (__FD_ELT): Renamed from __FDELT.
35966 * misc/bits/select2.h (__FD_ELT): Likewise.
35967 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
35968 __FD_MASK instead of __FDELT, __FDMASK.
35969 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35970 Likewise.
35971 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35972 Likewise.
35973
35974 * elf/Makefile (gen-ldd): Fix pattern.
35975
35976 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
35977 (init_tls): Likewise.
35978
35979 2011-09-12 Ulrich Drepper <drepper@gmail.com>
35980
35981 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
35982
35983 2011-09-12 Andreas Schwab <schwab@redhat.com>
35984
35985 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
35986 `struct cmsghdr *' instead of `void *'.
35987 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
35988 Likewise.
35989
35990 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
35991
35992 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
35993 if non-absolute.
35994 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
35995 ldd_rewrite_script.
35996
35997 2011-09-11 Ulrich Drepper <drepper@gmail.com>
35998
35999 * configure.in: Remove --with-tls option.
36000 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
36001 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
36002 out in case it is missing.
36003 * sysdeps/ia64/elf/configure.in: Likewise.
36004 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
36005 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
36006 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
36007 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
36008 * sysdeps/sh/elf/configure.in: Likewise.
36009 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
36010 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36011 * sysdeps/x86_64/elf/configure.in: Likewise.
36012 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
36013 * sysdeps/mach/hurd/tls.h: Likewise.
36014
36015 [BZ #13067]
36016 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
36017
36018 [BZ #13090]
36019 * configure.in: Fix use of AC_INIT.
36020
36021 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
36022
36023 2011-09-10 Ulrich Drepper <drepper@gmail.com>
36024
36025 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
36026 __set_errno.
36027 * malloc/hooks.c: Likewise.
36028
36029 [BZ #11929]
36030 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
36031 variables statically.
36032 (narenas): Initialize.
36033 (list_lock): Initialize.
36034 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
36035 initializtion of main_arena and list_lock. Small cleanups.
36036 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
36037 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
36038 Add initializers to main_arena and mp_.
36039 (malloc_state): Remove pagesize member. Change all users to use
36040 GLRO(dl_pagesize).
36041
36042 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
36043 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
36044 is always initialized.
36045
36046 * malloc/malloc.c: Removed unused configurations and dead code.
36047 * malloc/arena.c: Likewise.
36048 * malloc/hooks.c: Likewise.
36049 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
36050
36051 * include/tls.h: Removed. USE___THREAD must always be defined.
36052 * bits/libc-tsd.h: Don't handle !USE___THREAD.
36053 * elf/dl-libc.c: Likewise.
36054 * elf/dl-tsd.c: Likewise.
36055 * include/errno.h: Likewise.
36056 * include/netdb.h: Likewise.
36057 * include/resolv.h: Likewise.
36058 * inet/herrno-loc.c: Likewise.
36059 * inet/herrno.c: Likewise.
36060 * malloc/arena.c: Likewise.
36061 * malloc/hooks.c: Likewise.
36062 * malloc/malloc.c: Likewise.
36063 * resolv/res-state.c: Likewise.
36064 * resolv/res_libc.c: Likewise.
36065 * sysdeps/i386/dl-machine.h: Likewise.
36066 * sysdeps/ia64/dl-machine.h: Likewise.
36067 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
36068 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
36069 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
36070 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
36071 * sysdeps/sh/dl-machine.h: Likewise.
36072 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36073 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36074 * sysdeps/unix/i386/sysdep.S: Likewise.
36075 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36076 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
36077 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
36078 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36079 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
36080 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36081 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36082 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36083 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36084 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36085 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36086 * sysdeps/x86_64/dl-machine.h: Likewise.
36087 * tls.make.c: Likewise.
36088
36089 * configure.in: Remove --with-__thread option. Make tests for
36090 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
36091 tls_model attribute fail if no support is available. Remove
36092 USE_IN_LIBIO.
36093 * Makeconfig: Adjust for dropped configure option. All features are
36094 now mandatory.
36095 * Makerules: Likewise.
36096 * Versions.def: Likewise.
36097 * argp/argp-fmtstream.c: Likewise.
36098 * argp/argp-fmtstream.h: Likewise.
36099 * argp/argp-help.c: Likewise.
36100 * assert/assert.c: Likewise.
36101 * config.h.in: Likewise.
36102 * config.make.in: Likewise.
36103 * configure: Likewise.
36104 * configure.in: Likewise.
36105 * csu/Versions: Likewise.
36106 * csu/init.c: Likewise.
36107 * elf/tst-audit2.c: Likewise.
36108 * elf/tst-tls10.c: Likewise.
36109 * elf/tst-tls10.h: Likewise.
36110 * elf/tst-tls11.c: Likewise.
36111 * elf/tst-tls12.c: Likewise.
36112 * elf/tst-tls14.c: Likewise.
36113 * elf/tst-tlsmod11.c: Likewise.
36114 * elf/tst-tlsmod12.c: Likewise.
36115 * elf/tst-tlsmod13.c: Likewise.
36116 * elf/tst-tlsmod13a.c: Likewise.
36117 * elf/tst-tlsmod14a.c: Likewise.
36118 * elf/tst-tlsmod15b.c: Likewise.
36119 * elf/tst-tlsmod16a.c: Likewise.
36120 * elf/tst-tlsmod16b.c: Likewise.
36121 * elf/tst-tlsmod7.c: Likewise.
36122 * elf/tst-tlsmod8.c: Likewise.
36123 * elf/tst-tlsmod9.c: Likewise.
36124 * gmon/gmon.c: Likewise.
36125 * grp/fgetgrent_r.c: Likewise.
36126 * grp/putgrent.c: Likewise.
36127 * hurd/fopenport.c: Likewise.
36128 * include/libc-symbols.h: Likewise.
36129 * include/tls.h: Likewise.
36130 * intl/gettextP.h: Likewise.
36131 * intl/loadinfo.h: Likewise.
36132 * locale/global-locale.c: Likewise.
36133 * locale/localeinfo.h: Likewise.
36134 * mach/devstream.c: Likewise.
36135 * malloc/arena.c: Likewise.
36136 * malloc/set-freeres.c: Likewise.
36137 * misc/err.c: Likewise.
36138 * misc/getttyent.c: Likewise.
36139 * misc/mntent_r.c: Likewise.
36140 * posix/getopt.c: Likewise.
36141 * posix/wordexp.c: Likewise.
36142 * pwd/fgetpwent_r.c: Likewise.
36143 * resolv/Versions: Likewise.
36144 * resolv/res_hconf.c: Likewise.
36145 * shadow/fgetspent_r.c: Likewise.
36146 * shadow/putspent.c: Likewise.
36147 * stdio-common/printf_fphex.c: Likewise.
36148 * stdio-common/tmpfile.c: Likewise.
36149 * stdlib/abort.c: Likewise.
36150 * stdlib/fmtmsg.c: Likewise.
36151 * sunrpc/auth_unix.c: Likewise.
36152 * sunrpc/clnt_perr.c: Likewise.
36153 * sunrpc/clnt_tcp.c: Likewise.
36154 * sunrpc/clnt_udp.c: Likewise.
36155 * sunrpc/clnt_unix.c: Likewise.
36156 * sunrpc/openchild.c: Likewise.
36157 * sunrpc/svc_simple.c: Likewise.
36158 * sunrpc/svc_tcp.c: Likewise.
36159 * sunrpc/svc_udp.c: Likewise.
36160 * sunrpc/svc_unix.c: Likewise.
36161 * sunrpc/xdr.c: Likewise.
36162 * sunrpc/xdr_array.c: Likewise.
36163 * sunrpc/xdr_rec.c: Likewise.
36164 * sunrpc/xdr_ref.c: Likewise.
36165 * sunrpc/xdr_stdio.c: Likewise.
36166
36167 2011-09-09 Ulrich Drepper <drepper@gmail.com>
36168
36169 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36170
36171 2011-07-03 Andreas Jaeger <aj@suse.de>
36172
36173 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
36174 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
36175 regenerate with gen-libm-tests.pl.
36176
36177 2010-05-12 Petr Baudis <pasky@suse.cz>
36178
36179 [BZ #11589]
36180 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
36181 around j0() zero points by switching to j1().
36182 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36183 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36184 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36185 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36186
36187 2011-09-09 Ulrich Drepper <drepper@gmail.com>
36188
36189 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
36190 instead of 0.
36191 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
36192 instead of 0.
36193 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36194 Patch in part by Pavel Roskin <proski@gnu.org>.
36195
36196 [BZ #13138]
36197 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
36198 realloc.
36199 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
36200 Free memory block if necessary.
36201
36202 [BZ #12847]
36203 * libio/genops.c (INTDEF): For string streams the _lock pointer can
36204 be NULL. Don't lock in this case.
36205
36206 2011-09-09 Roland McGrath <roland@hack.frob.com>
36207
36208 * elf/elf.h (ELFOSABI_GNU): New macro.
36209 (ELFOSABI_LINUX): Define to that.
36210
36211 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
36212
36213 * string/strncat.c (strncat): Undef the symbol in case it has been
36214 defined in bits/string.h.
36215
36216 2011-09-09 Ulrich Drepper <drepper@gmail.com>
36217
36218 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
36219
36220 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
36221 link map.
36222
36223 2011-08-17 Andreas Jaeger <aj@suse.de>
36224
36225 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
36226
36227 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
36228 Ian Lance Taylor <iant@google.com>
36229
36230 * math/libm-test.inc (lround_test): New testcase.
36231 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
36232
36233 2011-09-08 Ulrich Drepper <drepper@gmail.com>
36234
36235 * Makefile: Remove support for automatic cvs check-ins.
36236 * Makerules: Likewise.
36237 * config.make.in: Likewise.
36238 * configure.in: Likewise.
36239 * intl/Makefile: Likewise.
36240 * locale/Makefile: Likewise.
36241 * po/Makefile: Likewise.
36242 * posix/Makefile: Likewise.
36243 * sysdeps/gnu/Makefile: Likewise.
36244 * sysdeps/mach/hurd/Makefile: Likewise.
36245 * sysdeps/sparc/sparc32/Makefile: Likewise.
36246
36247 [BZ #13118]
36248 * posix/Makefile (bug-regex32-ENV): Define.
36249 Patch by John Stanley <jpsinthemix@verizon.net>.
36250
36251 * misc/Makefile (headers): Add bits/select2.h.
36252 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
36253 * misc/bits/select2.h: New file.
36254 * include/bits/select2.h: New file.
36255 * debug/Makefile (routines): Add fdelt_chk.
36256 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
36257 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
36258 FD_ISSET.
36259 * debug/fdelt_chk.c: New file.
36260
36261 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
36262 * wcsmbs/test-wmemcmp.c: Likewise.
36263 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
36264 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
36265
36266 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36267
36268 * string/Makefile (strop-tests): Add memcmp.
36269 * string/test-wmemcmp.c: New file.
36270 * string/test-memcmp.c: Add wmemcmp support.
36271
36272 2011-09-08 Roland McGrath <roland@hack.frob.com>
36273
36274 [BZ #13153]
36275 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
36276 2011-07-19 change.
36277
36278 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
36279 garbage value in a __mach_port_mod_refs call in the cases of the
36280 task-self and thread-self ports.
36281
36282 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
36283
36284 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
36285
36286 2011-09-08 Andreas Schwab <schwab@redhat.com>
36287
36288 * elf/dl-load.c (lose): Check for non-null L.
36289
36290 2011-09-07 Ulrich Drepper <drepper@gmail.com>
36291
36292 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
36293
36294 * elf/dl-libc.c (dlerror_run): Pass back error code from
36295 dl_catch_error.
36296
36297 [BZ #13123]
36298 * elf/dl-load.c (lose): Free l_origin if it is valid.
36299
36300 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
36301 names.
36302 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
36303 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36304 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36305 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36306 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
36307 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
36308
36309 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36310
36311 * sysdeps/powerpc/fpu/e_hypot.c: New file.
36312 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
36313 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
36314 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
36315 * sysdeps/powerpc/fpu/k_cosf.c: New file.
36316 * sysdeps/powerpc/fpu/k_sinf.c: New file.
36317 * sysdeps/powerpc/fpu/s_cosf.c: New file.
36318 * sysdeps/powerpc/fpu/s_sinf.c: New file.
36319 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
36320 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
36321
36322 2011-08-15 Alan Modra <amodra@gmail.com>
36323
36324 [BZ #13092]
36325 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
36326 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
36327 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
36328 ppc_mcount to static-only-routines.
36329 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
36330 __mcount_internal.
36331 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
36332 __mcount_internal with usual JUMPTARGET. Remove useless nop.
36333
36334 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
36335
36336 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
36337 for finite and infinity parameters.
36338
36339 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36340
36341 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
36342 and add nop instructions for throughput optimization.
36343 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36344
36345 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
36346
36347 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
36348 aligned copy for power7 with vector-scalar instructions.
36349 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
36350
36351 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
36352
36353 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
36354 AVX check.
36355
36356 2011-09-07 Andreas Schwab <schwab@redhat.com>
36357
36358 [BZ #13144]
36359 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
36360 last change.
36361
36362 2011-09-07 Ulrich Drepper <drepper@gmail.com>
36363
36364 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36365 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
36366 syscall wrapper around clock_gettime in __vdso_clock_gettime.
36367 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
36368 clock_gettime.
36369
36370 2011-09-06 Ulrich Drepper <drepper@gmail.com>
36371
36372 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
36373 Forgot to demangle the pointer.
36374
36375 * sysdeps/i386/sysdep.h: Define atom_text_section.
36376 * sysdeps/x86_64/sysdep.h: Likewise.
36377 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
36378 section with atom_text_section.
36379 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36380 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36381 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
36382 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36383 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
36384
36385 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
36386 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
36387 already be defined. Change to take two parameters and don't assign
36388 result to variable. Adjust all users.
36389 Define INTERNAL_GETTIME if not already defined.
36390 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
36391 call.
36392 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
36393 HAVE_CLOCK_GETTIME_VSYSCALL.
36394 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
36395
36396 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
36397 gettimeofday vsyscall, just use time.
36398
36399 2011-09-06 Andreas Schwab <schwab@redhat.com>
36400
36401 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
36402 <errno.h>.
36403
36404 2011-09-06 Ulrich Drepper <drepper@gmail.com>
36405
36406 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
36407 syscall on x86-64.
36408 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
36409 syscall.
36410 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
36411 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
36412 syscall if possible.
36413
36414 2011-09-05 Ulrich Drepper <drepper@gmail.com>
36415
36416 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
36417 e_ident. Don't pass to find_mapsXX.
36418 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
36419
36420 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36421
36422 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36423 strchr-sse2-no-bsf strrchr-sse2-no-bsf
36424 * sysdeps/x86_64/multiarch/strchr.S: Update.
36425 Check bit_slow_BSF bit.
36426 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36427 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
36428 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
36429
36430 2011-09-05 Ulrich Drepper <drepper@gmail.com>
36431
36432 [BZ #13134]
36433 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
36434 before glibc 2.15.
36435 (tryshell): Define.
36436 (__spawni): Change last parameter to be flag. Test
36437 SPAWN_XFLAGS_USE_PATH flag to use path or not.
36438 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
36439 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
36440 * posix/spawni.c: Likewise.
36441 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
36442 * posix/spawnp.c: Likewise. Change normal version to use
36443 SPAWN_XFLAGS_USE_PATH.
36444 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
36445 SPAWN_XFLAGS_TRY_SHELL.
36446
36447 [BZ #13150]
36448 * posix/glob.h: Remove gcc 1.x support.
36449
36450 [BZ #13068]
36451 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
36452
36453 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36454
36455 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36456 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
36457 strrchr-sse2-bsf
36458 * sysdeps/i386/i686/multiarch/strchr.S: New file.
36459 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
36460 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
36461 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
36462 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
36463 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
36464
36465 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36466
36467 * sysdeps/x86_64/wcscmp.S: New file.
36468
36469 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
36470 wcscmp-c wcscmp-sse2
36471 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
36472 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
36473 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
36474 * wcsmbs/wcscmp.c: Allow renaming.
36475
36476 2011-09-05 David S. Miller <davem@davemloft.net>
36477
36478 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
36479 stack slot, rather than the struct return pointer slot.
36480 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
36481 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
36482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
36483 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
36484
36485 2011-09-05 Ulrich Drepper <drepper@gmail.com>
36486
36487 * po/ja.po: Update from translation team.
36488
36489 [BZ #13144]
36490 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
36491 kernel in 64-bit binaries.
36492
36493 2011-09-01 David S. Miller <davem@davemloft.net>
36494
36495 * elf/elf.h (HWCAP_SPARC_*): Move to..
36496 * sysdeps/sparc/sysdep.h: this new file and add new values.
36497 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
36498 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
36499 _DL_HWCAP_COUNT to 24.
36500 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36501 entries.
36502 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
36503 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
36504 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
36505 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
36506 instead of magic constants.
36507 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36508
36509 2011-08-31 David S. Miller <davem@davemloft.net>
36510
36511 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
36512 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
36513 Reimplement to do errno handling inline.
36514 (SYSCALL_ERROR_HANDLER): New macro.
36515 (__SYSCALL_STRING): Do not do errno handling in asm.
36516 (__CLONE_SYSCALL_STRING): Delete.
36517 (__INTERNAL_SYSCALL_STRING): Delete.
36518 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
36519 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
36520 (PSEUDO): Reimplement to do errno handling inline.
36521 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
36522 (SYSCALL_ERROR_HANDLER): New macro.
36523 (__SYSCALL_STRING): Do not do errno handling in asm.
36524 (__CLONE_SYSCALL_STRING): Delete.
36525 (__INTERNAL_SYSCALL_STRING): Delete.
36526 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
36527 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
36528 i386.
36529 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
36530 (inline_syscall*): Add 'err' argument.
36531 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
36532 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
36533 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
36534 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
36535
36536 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
36537 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36538
36539 2011-08-30 Andreas Schwab <schwab@redhat.com>
36540
36541 * elf/rtld.c (dl_main): Relocate objects in dependency order.
36542
36543 2011-08-29 Jiri Olsa <jolsa@redhat.com>
36544
36545 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
36546 directive.
36547
36548 2011-08-24 David S. Miller <davem@davemloft.net>
36549
36550 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
36551
36552 2011-08-24 Andreas Schwab <schwab@redhat.com>
36553
36554 * elf/Makefile: Add rules to build and run unload8 test.
36555 * elf/unload8.c: New file.
36556 * elf/unload8mod1.c: New file.
36557 * elf/unload8mod1x.c: New file.
36558 * elf/unload8mod2.c: New file.
36559 * elf/unload8mod3.c: New file.
36560
36561 * elf/dl-close.c (_dl_close_worker): Reset private search list if
36562 it wasn't used.
36563
36564 2011-08-23 David S. Miller <davem@davemloft.net>
36565
36566 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
36567 subtract stack bias.
36568 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
36569 %sp not %fp in calculations.
36570 (_JMPBUF_UNWINDS_ADJ): Likewise.
36571
36572 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
36573 (aio_suspend): Call it to force an exception region around the
36574 AIO_MISC_WAIT() invocation.
36575
36576 2011-08-23 Andreas Schwab <schwab@redhat.com>
36577
36578 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
36579 backslash.
36580
36581 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
36582
36583 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
36584 protection macro.
36585 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
36586 and <dl-machine.h>.
36587 (Elf64_FuncDesc): Remove.
36588
36589 2011-08-22 David S. Miller <davem@davemloft.net>
36590
36591 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
36592 sigaltstack check, add missing cfi directives.
36593 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
36594 missing cfi directives, and sigaltstack handling.
36595
36596 2011-08-16 Andreas Schwab <schwab@redhat.com>
36597
36598 [BZ #11724]
36599 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
36600 object is seen twice.
36601 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36602
36603 * elf/Makefile (distribute): Add tst-initorder2.c.
36604 (tests): Add tst-initorder2.
36605 (modules-names): Add tst-initorder2a tst-initorder2b
36606 tst-initorder2c tst-initorder2d. Add rules to build them.
36607 ($(objpfx)tst-initorder2.out): New rule.
36608 * elf/tst-initorder2.c: New file.
36609 * elf/tst-initorder2.exp: New file.
36610
36611 2011-08-22 Andreas Schwab <schwab@redhat.com>
36612
36613 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
36614
36615 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
36616 dependencies back to end of function.
36617
36618 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36619 $(elfobjdir)/ld.so.
36620
36621 2011-08-21 Ulrich Drepper <drepper@gmail.com>
36622
36623 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
36624 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
36625 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
36626 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
36627 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
36628 of __vdso_gettimeofday.
36629 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
36630 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
36631 attribute_hidden.
36632 (_libc_vdso_platform_setup): Remove initialization of
36633 __vdso_gettimeofday and __vdso_time.
36634
36635 2011-08-20 Ulrich Drepper <drepper@gmail.com>
36636
36637 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
36638 and fgetc_unlocked.
36639 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
36640 getc_unlocked.
36641
36642 * elf/dl-open.c (add_to_global): Report additions to the global scope
36643 for LD_DEBUG=scopes.
36644 (dl_open_worker): Also print scope of newly loaded dependencies.
36645 (_dl_show_scope): Indicate if there is no scope.
36646
36647 [BZ #13114]
36648 * stdio-common/Makefile (tests): Add bug24.
36649 * stdio-common/bug24.c: New file.
36650
36651 2011-08-19 Andreas Jaeger <aj@suse.de>
36652
36653 [BZ #13114]
36654 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
36655 non-existant file when using close-on-exec mode.
36656
36657 2011-08-20 Ulrich Drepper <drepper@gmail.com>
36658
36659 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
36660 the very first instruction.
36661
36662 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
36663 the CFI state in the end.
36664 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
36665 inclusion of dl-trampoline.h.
36666 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
36667
36668 2011-08-19 Andreas Schwab <schwab@redhat.com>
36669
36670 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
36671 expectations for long double.
36672
36673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
36674 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
36675
36676 2011-08-14 David S. Miller <davem@davemloft.net>
36677
36678 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
36679 artificual limit depends upon the system page size.
36680
36681 2011-08-17 Ulrich Drepper <drepper@gmail.com>
36682
36683 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
36684 * resolv/Makefile: Define CFLAGS-libresolv.
36685
36686 2011-08-17 Andreas Schwab <schwab@redhat.com>
36687
36688 * nss/makedb.c (compute_tables): Make variables used in nested
36689 function static.
36690
36691 2011-08-17 Ulrich Drepper <drepper@gmail.com>
36692
36693 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
36694 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
36695 if buffer was too small.
36696
36697 * elf/pldd.c (main): Attach to all threads in the process.
36698 Rewrite /proc handling to use *at functions.
36699
36700 2011-08-16 Ulrich Drepper <drepper@gmail.com>
36701
36702 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
36703 specifies first scope to show.
36704 (dl_open_worker): Update callers. Move printing scope of new
36705 object to before the relocation.
36706 * elf/rtld.c (dl_main): Update _dl_show_scope call.
36707 * sysdeps/generic/ldsodefs.h: Update declaration.
36708
36709 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
36710 string for the scope number.
36711
36712 2011-08-14 Ulrich Drepper <drepper@gmail.com>
36713
36714 * nscd/servicescache.c (cache_addserv): Make sure written is always
36715 initialized.
36716
36717 2011-08-14 Roland McGrath <roland@hack.frob.com>
36718
36719 * sysdeps/i386/i486/bits/atomic.h
36720 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
36721 statement expression, so as to suppress "set but not used" warning.
36722 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
36723
36724 * string/strncat.c (STRNCAT): Use prototype definition.
36725
36726 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
36727 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
36728 -Iprograms here.
36729 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
36730 (localedef-modules): Add localedef.
36731 (locale-modules): Add locale.
36732
36733 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
36734 * elf/rtld.c (dl_main): Invert order of assignment in last change,
36735 to avoid a warning.
36736
36737 2011-08-14 David S. Miller <davem@davemloft.net>
36738
36739 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
36740 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
36741
36742 2011-08-13 Ulrich Drepper <drepper@gmail.com>
36743
36744 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
36745 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
36746 * elf/rtld.c (dl_main): Set l_name of vDSO.
36747 Call _dl_show_scope when DL_DEBUG_SCOPES.
36748 (process_dl_debug): Recognize scopes flag and also set it for all.
36749 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
36750 Declare _dl_show_scope.
36751
36752 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
36753 (do_dlopen): Pass caller_dlopen to dl_open.
36754 (__libc_dlopen_mode): Initialize caller_dlopen.
36755
36756 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
36757 of libc. Make tolower call locale-independent. Optimize a bit by
36758 using isdigit instead of isalnum.
36759 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
36760
36761 2011-08-12 Ulrich Drepper <drepper@gmail.com>
36762
36763 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
36764 was a dependency or dynamically loaded.
36765
36766 2011-08-11 Ulrich Drepper <drepper@gmail.com>
36767
36768 * intl/l10nflist.c: Allow architecture-specific pop function.
36769 * sysdeps/x86_64/l10nflist.c: New file.
36770
36771 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
36772 classification.
36773
36774 2011-08-10 Andreas Schwab <schwab@redhat.com>
36775
36776 * include/dirent.h: Add libc_hidden_proto for scandirat and
36777 scandirat64. Don't declare __scandirat64.
36778 * dirent/scandirat.c: Add libc_hidden_def.
36779 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
36780 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
36781
36782 2011-08-10 David S. Miller <davem@davemloft.net>
36783
36784 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
36785 enum.
36786 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36787 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36788 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36789
36790 2011-08-09 Ulrich Drepper <drepper@gmail.com>
36791
36792 * Versions.def [libc]: Add GLIBC_2.15.
36793 * dirent/Makefile (routines): Add scandirat and scandirat64.
36794 * dirent/Versions [libc]: Export scandirat and scandirat64 for
36795 GLIBC_2.15.
36796 * dirent/dirent.h: Declare scandirat and scandirat64.
36797 * dirent/scandirat.c: New file.
36798 * dirent/scandirat64.c: New file.
36799 * sysdeps/wordsize-64/scandirat.c: New file.
36800 * sysdeps/wordsize-64/scandirat64.c: New file.
36801 * dirent/opendir.c: Define opendirat.
36802 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
36803 using scandirat.
36804 * dirent/scandir64.c: Adjust for scandir.c change.
36805 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
36806 __scandirat64, and __scandir_cancel_handler.
36807 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
36808 additional parameter and use openat instead of open (outside of ld.so).
36809 Add new __opendir as wrapper around __opendirat.
36810 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
36811 here without requiring old scandirat implementation.
36812
36813 2011-08-08 Ulrich Drepper <drepper@gmail.com>
36814
36815 * dirent/scandir.c (cancel_handler): Renamed to
36816 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
36817 defined. Adjust users.
36818 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
36819 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
36820
36821 2011-08-04 Ulrich Drepper <drepper@gmail.com>
36822
36823 * string/test-string.h (IMPL): Use __STRING to expand name and then
36824 stringify it.
36825
36826 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
36827 of cleanups.
36828
36829 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36830
36831 * string/Makefile: Update.
36832 (strop-tests): Append strncat.
36833 * string/test-wcscmp.c: New file.
36834 New comprehensive test for wcscmp.
36835 * string/test-strcmp.c: Update.
36836 (WIDE): New define.
36837
36838 2011-07-22 Andreas Schwab <schwab@redhat.com>
36839
36840 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
36841 line.
36842
36843 2011-07-26 Andreas Schwab <schwab@redhat.com>
36844
36845 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36846 encoding to ACE if AI_IDN.
36847
36848 2011-08-01 Jakub Jelinek <jakub@redhat.com>
36849
36850 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
36851 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
36852
36853 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36854
36855 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
36856 Fix overflow bug in strncat.
36857 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
36858
36859 * string/test-strncat.c: Update.
36860 Add new tests for checking overflow bugs.
36861
36862 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36863
36864 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36865 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
36866 * sysdeps/i386/i686/multiarch/strcat.S: New file.
36867 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
36868 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
36869 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
36870 * sysdeps/i386/i686/multiarch/strncat.S: New file.
36871 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
36872 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
36873
36874 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
36875 (USE_AS_STRCAT): Define.
36876 Add strcat and strncat support.
36877 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36878
36879 2011-07-25 Andreas Schwab <schwab@redhat.com>
36880
36881 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
36882 __n bigger than INT_MAX+1.
36883 (__strncmp_g): Likewise.
36884
36885 2011-07-23 Ulrich Drepper <drepper@gmail.com>
36886
36887 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
36888 * libio/stido.h: Likewise.
36889
36890 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
36891 (AF_NFC): Define.
36892 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
36893 (AF_NFC): Define.
36894
36895 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
36896 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36897 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36898 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
36899 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36900
36901 [BZ #13021]
36902 * scripts/test-installation.pl: Don't expect libnss_test1 to be
36903 installed.
36904
36905 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
36906 typo.
36907 (_dl_x86_64_save_sse): Likewise.
36908
36909 2011-07-22 Ulrich Drepper <drepper@gmail.com>
36910
36911 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
36912 OSXSAVE.
36913 (_dl_x86_64_save_sse): Likewise.
36914
36915 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
36916
36917 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
36918
36919 2011-07-21 Andreas Schwab <schwab@redhat.com>
36920
36921 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
36922 change.
36923 (_dl_x86_64_save_sse): Use correct AVX check.
36924
36925 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36926
36927 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
36928 bug in strncpy/strncat.
36929 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
36930
36931 2011-07-21 Ulrich Drepper <drepper@gmail.com>
36932
36933 * string/tester.c (test_strcat): Add tests for different alignments
36934 of source and destination.
36935 (test_strncat): Likewise.
36936
36937 2011-07-20 Ulrich Drepper <drepper@gmail.com>
36938
36939 [BZ #12852]
36940 * posix/glob.c (glob): Check passed in values before using them in
36941 expressions to avoid some overflows.
36942 (glob_in_dir): Likewise.
36943
36944 [BZ #13007]
36945 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
36946 check for AVX enablement so that we don't crash with old kernels and
36947 new hardware.
36948 * elf/tst-audit4.c: Add same checks here.
36949 * elf/tst-audit6.c: Likewise.
36950
36951 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
36952
36953 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
36954
36955 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
36956
36957 2011-07-20 Ulrich Drepper <drepper@gmail.com>
36958
36959 * po/cs.po: Update from translation team.
36960 * po/bg.po: Likewise.
36961
36962 2011-07-12 Marek Polacek <mpolacek@redhat.com>
36963
36964 * misc/sys/cdefs.h: Add support for const attribute.
36965 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
36966 to gnu_dev_{major,minor,makedev} functions.
36967
36968 2011-07-20 Marek Polacek <mpolacek@redhat.com>
36969
36970 * intl/dcigettext.c (get_output_charset): Add missing bracket.
36971
36972 2011-07-20 Andreas Schwab <schwab@redhat.com>
36973
36974 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
36975 strlen results.
36976
36977 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36978
36979 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
36980 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
36981 register in order to avoid conflicts with the soft frame pointer
36982 being held in r11 when necessary.
36983 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
36984 (INTERNAL_VSYSCALL_NCS): Likewise.
36985
36986 2011-07-14 Marek Polacek <mpolacek@redhat.com>
36987
36988 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
36989 * elf/dl-fini.c (_dl_fini): Adjust caller.
36990 * elf/dl-close.c (_dl_close_worker): Likewise.
36991 * sysdeps/generic/ldsodefs.h: Adjust declaration.
36992
36993 2011-07-15 Marek Polacek <mpolacek@redhat.com>
36994
36995 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
36996 "aux_cache->nlibs < 0".
36997
36998 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
36999 in the reload-count case.
37000
37001 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
37002
37003 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37004 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
37005 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
37006 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
37007 * sysdeps/x86_64/multiarch/strcat.S: New file.
37008 * sysdeps/x86_64/multiarch/strncat.S: New file.
37009 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
37010 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
37011 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
37012 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
37013 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
37014 (USE_AS_STRCAT): Define.
37015 Add strcat and strncat support.
37016 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
37017 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
37018 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
37019 * string/strncat.c: Update.
37020 (USE_AS_STRNCAT): Define.
37021 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37022 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
37023 and i7.
37024 * sysdeps/x86_64/multiarch/init-arch.h
37025 (bit_Prefer_PMINUB_for_stringop): New.
37026 (index_Prefer_PMINUB_for_stringop): Likewise.
37027 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
37028 bit_Prefer_PMINUB_for_stringop.
37029
37030 2011-07-19 Ulrich Drepper <drepper@gmail.com>
37031
37032 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
37033 buffer64.
37034 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
37035 of casting of buffer.
37036 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
37037 buffer32 and buffer64.
37038 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
37039 writes instead of casting of buffer.
37040 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
37041 buffer32.
37042 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
37043 casting of buffer.
37044
37045 2011-07-19 Andreas Schwab <schwab@redhat.com>
37046
37047 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
37048
37049 2011-07-19 Ulrich Drepper <drepper@gmail.com>
37050
37051 * nscd/nscd.c (termination_handler): Don't do anything for a database
37052 if it has not yet been initialized.
37053
37054 2011-07-18 Ulrich Drepper <drepper@gmail.com>
37055
37056 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
37057
37058 2011-07-15 Marek Polacek <mpolacek@redhat.com>
37059
37060 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
37061
37062 2011-07-18 Ulrich Drepper <drepper@gmail.com>
37063
37064 * po/nl.po: Update from translation team.
37065 * po/sv.po: Likewise.
37066
37067 2011-07-16 Roland McGrath <roland@hack.frob.com>
37068
37069 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
37070 now disallowed by GCC.
37071
37072 * configure.in (use-default-link): Default to yes if a test -shared
37073 link meets our qualifications.
37074 * configure: Regenerated.
37075
37076 * config.make.in (output-format): New variable.
37077 * configure.in: Check for ld --print-output-format support.
37078 * configure: Regenerated.
37079 * Makerules ($(common-objpfx)format.lds)
37080 [$(output-format) != unknown]: Just use $(output-format),
37081 instead of the linker-script munging.
37082
37083 2011-07-14 Roland McGrath <roland@hack.frob.com>
37084
37085 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
37086 of $(common-objpfx)shlib.lds.
37087 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
37088
37089 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
37090 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
37091
37092 * configure.in (-z relro check): Adjust test code to add a large
37093 writable data section after it.
37094 * configure: Regenerated.
37095
37096 2011-07-11 Roland McGrath <roland@hack.frob.com>
37097
37098 * configure.in (-z relro check): Fix test code to make the variable
37099 truly const.
37100 * configure: Regenerated.
37101
37102 2011-07-11 Ulrich Drepper <drepper@gmail.com>
37103
37104 * nscd/nscd.h (struct traced_file): Define.
37105 (struct database_dyn): Remove inotify_descr, reset_res, and filename
37106 elements. Add traced_files.
37107 (inotify_fd): Declare.
37108 (register_traced_file): Declare.
37109 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
37110 (inotify_fd): Export.
37111 (resolv_conf_descr): Remove.
37112 (nscd_init): Move inotify descriptor creation to main.
37113 Don't register files for notification here.
37114 (register_traced_file): New function.
37115 (invalidate_cache): Don't use reset_res to determine whether to call
37116 res_init, go through the list of registered files.
37117 (main_loop_poll): The inotify descriptors are now stored in the
37118 structures for the traced files.
37119 (main_loop_epoll): Likewise
37120 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
37121 to __nss_disable_nscd.
37122 * nscd/cache.c (prune_cache): There is no single inotify descriptor
37123 for a database anymore. Check the records for all the registered
37124 files instead.
37125 * nss/Makefile (libnss_files-routines): Add files-init.
37126 (libnss_db-routines): Add db-init.
37127 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
37128 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
37129 * nss/nss_db/db-init.c: New file.
37130 * nss/nss_files/files-init.c: New file.
37131 * nss/nsswitch.c (nss_load_library): New function. Broken out of
37132 __nss_lookup_function.
37133 (__nss_lookup_function): Call nss_load_library.
37134 (nss_load_all_libraries): New function.
37135 (__nss_disable_nscd): Take parameter with callback function for files
37136 to register. Set is_nscd. Load all the DSOs for the NSS modules
37137 used for the cached services.
37138 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
37139 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
37140 options for features to all the files in nscd.
37141
37142 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
37143
37144 2011-07-10 Roland McGrath <roland@hack.frob.com>
37145
37146 * csu/elf-init.c (__libc_csu_init): Comment typo.
37147
37148 2011-07-09 Ulrich Drepper <drepper@gmail.com>
37149
37150 * po/pl.po: Update from translation team.
37151 * po/ja.po: Likewise.
37152 * po/ru.po: Likewise.
37153 * po/ko.po: Likewise.
37154 * po/fr.po: Likewise.
37155
37156 2011-07-09 Roland McGrath <roland@hack.frob.com>
37157
37158 * configure.in (.ctors/.dtors header and trailer check):
37159 Use an empirical test on a built program.
37160 * configure: Regenerated.
37161
37162 * configure.in (-z relro check): Use an empirical test on a built DSO.
37163 Detect, but do not require, on ia64.
37164 * configure: Regenerated.
37165
37166 * configure.in (READELF): Find it with AC_CHECK_TOOL.
37167 Update tests that use readelf to use $READELF instead.
37168 * configure: Regenerated.
37169
37170 2011-07-08 Ulrich Drepper <drepper@gmail.com>
37171
37172 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
37173 if the result is not used.
37174
37175 2011-07-05 Andreas Jaeger <aj@suse.de>
37176
37177 [BZ#9696]
37178 * stdlib/tst-strtod.c: Add testcase.
37179
37180 2011-07-07 Ulrich Drepper <drepper@gmail.com>
37181
37182 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
37183 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
37184 The latter has a higher limit. Take additional parameter to pass to
37185 the new function.
37186 (__pathconf): Pass file to __statfs_link_max.
37187 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
37188 __statfs_link_max.
37189 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
37190 __statfs_link_max.
37191
37192 [BZ #12868]
37193 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
37194 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37195 Handle Lustre.
37196 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
37197 (__statfs_filesize_max): Likewise.
37198 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
37199
37200 2011-07-05 Andreas Jaeger <aj@suse.de>
37201
37202 * resolv/res_comp.c (dn_skipname): Remove unused variable.
37203
37204 2011-07-06 Marek Polacek <mpolacek@redhat.com>
37205
37206 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
37207 `status' variable.
37208 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
37209 Likewise.
37210
37211 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
37212
37213 * Makefile (strop-tests): Add strncat.
37214 * string/test-strncat.c: New file.
37215
37216 2011-06-30 Marek Polacek <mpolacek@redhat.com>
37217
37218 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
37219
37220 2011-06-21 Andreas Jaeger <aj@suse.de>
37221
37222 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
37223 Copy rule from iconvdata/Makefile.
37224
37225 2011-07-06 Ulrich Drepper <drepper@gmail.com>
37226
37227 [BZ #12922]
37228 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
37229 but no long options are defined, just return 'W'.
37230
37231 2011-06-22 Marek Polacek <mpolacek@redhat.com>
37232
37233 [BZ #9696]
37234 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
37235
37236 2011-07-06 Ulrich Drepper <drepper@gmail.com>
37237
37238 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
37239 netgroups to read.
37240 (innetgr): Likewise.
37241
37242 2011-07-05 Roland McGrath <roland@hack.frob.com>
37243
37244 * config.make.in (install_root): Default to $(DESTDIR).
37245
37246 2011-07-05 Ulrich Drepper <drepper@gmail.com>
37247
37248 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
37249
37250 2011-07-02 Roland McGrath <roland@hack.frob.com>
37251
37252 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
37253
37254 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
37255 containing directory rather than embedding absolute directory names.
37256
37257 * scripts/check-local-headers.sh: Rewritten using awk.
37258 Match by word, not by line. Print error messages for matches.
37259 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
37260
37261 * Makerules [shlib-lds-flags empty]:
37262 ($(common-objpfx)libc_pic.opts): New target.
37263 ($(common-objpfx)libc_pic.os.clean): New target.
37264 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
37265
37266 * config.make.in (OBJCOPY): New variable.
37267 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
37268 * configure: Regenerated.
37269
37270 * config.make.in (use-default-link): New variable.
37271 * configure.in (use_default_link): Grok --with-default-link to set it.
37272 * configure: Regenerated.
37273 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
37274 (shlib-lds, shlib-lds-flags): Define to empty.
37275
37276 * Makerules (shlib-lds): New variable.
37277 (shlib-lds-flags): New variable.
37278 (build-shlib, build-moduile, build-module-asneeded): Use it.
37279 ($(common-objpfx)libc.so): Use $(shlib-lds).
37280 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
37281 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
37282
37283 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
37284 DT_FLAGS/DT_FLAGS_1 with zero flags.
37285
37286 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
37287 linker script munging.
37288
37289 2011-07-02 Ulrich Drepper <drepper@gmail.com>
37290
37291 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
37292 as 128-bit value.
37293 * crypt/sha512.c (sha512_process_block): Perform total addition using
37294 128-bit if possible.
37295 (__sha512_finish_ctx): Likewise.
37296 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
37297 as 64-bit value.
37298 * crypt/sha256.c (SWAP64): Define.
37299 (sha256_process_block): Perform total addition using 64-bit if
37300 possible.
37301 (__sha256_finish_ctx): Likewise.
37302
37303 2011-07-01 Ulrich Drepper <drepper@gmail.com>
37304
37305 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
37306 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37307 * nscd/hstcache.c (cache_addhst): Likewise.
37308 * nscd/grpcache.c (cache_addgr): Likewise.
37309 * nscd/aicache.c (addhstaiX): Likewise
37310 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
37311
37312 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
37313
37314 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
37315 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37316 * nscd/hstcache.c (cache_addhst): Likewise.
37317 * nscd/grpcache.c (cache_addgr): Likewise.
37318 * nscd/aicache.c (addhstaiX): Likewise
37319
37320 2011-07-01 Andreas Schwab <schwab@redhat.com>
37321
37322 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
37323 domain only when needed.
37324
37325 2011-06-30 Andreas Schwab <schwab@redhat.com>
37326
37327 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
37328 is always restored.
37329
37330 2011-06-29 Ulrich Drepper <drepper@gmail.com>
37331
37332 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
37333 are re-adding the entry.
37334 * nscd/servicescache.c (cache_addserv): Likewise.
37335
37336 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
37337
37338 * sysdeps/generic/dl-irel.h: fix protection against multiple
37339 inclusions.
37340 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
37341
37342 2011-06-28 Ulrich Drepper <drepper@gmail.com>
37343
37344 [BZ #12935]
37345 * malloc/memusage.sh: Fix quoting in message.
37346 * debug/xtrace.sh: Likewise.
37347
37348 * configure.in: Remove support for --experimental-malloc option, make
37349 it the default.
37350 * config.make.in: Likewise.
37351 * malloc/Makefile: Likewise.
37352
37353 2011-06-27 Andreas Schwab <schwab@redhat.com>
37354
37355 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
37356 two-byte characters.
37357
37358 2011-06-27 Roland McGrath <roland@hack.frob.com>
37359
37360 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
37361 AC_CACHE_CHECK invocation.
37362 * configure: Regenerated.
37363
37364 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
37365
37366 2011-06-27 Ulrich Drepper <drepper@gmail.com>
37367
37368 [BZ #12350]
37369 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
37370 bit from old_res_options.
37371
37372 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
37373
37374 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
37375 value type for setfct.
37376
37377 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
37378
37379 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
37380 __gettimeofday instead of gettimeofday.
37381
37382 2011-06-26 Ulrich Drepper <drepper@gmail.com>
37383
37384 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
37385
37386 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
37387
37388 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
37389
37390 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
37391 info.
37392
37393 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
37394
37395 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37396 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
37397 strcpy-sse2-unaligned strncpy-sse2-unaligned
37398 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
37399 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
37400 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
37401 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
37402 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
37403 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
37404 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
37405 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
37406 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
37407 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
37408 (STRCPY): Support SSE2 and SSSE3 versions.
37409
37410 2011-06-24 Ulrich Drepper <drepper@gmail.com>
37411
37412 [BZ #12874]
37413 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
37414 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
37415 kernels which artificially limit size of requests.
37416
37417 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
37418
37419 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37420 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
37421 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
37422 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
37423 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
37424 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
37425 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
37426 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
37427 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
37428 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
37429 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
37430 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
37431 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
37432 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
37433 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
37434 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37435 Enable unaligned load optimization for Intel Core i3, i5 and i7
37436 processors.
37437 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
37438 Define.
37439 (index_Fast_Unaligned_Load): Define.
37440 (HAS_FAST_UNALIGNED_LOAD): Define.
37441
37442 2011-06-23 Marek Polacek <mpolacek@redhat.com>
37443
37444 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
37445
37446 2011-06-22 Ulrich Drepper <drepper@gmail.com>
37447
37448 [BZ #12907]
37449 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
37450 until it is clear that the information is realy needed.
37451 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
37452
37453 2011-06-22 Andreas Schwab <schwab@redhat.com>
37454
37455 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
37456
37457 2011-06-22 Ulrich Drepper <drepper@gmail.com>
37458
37459 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
37460 /sys/devices/system/cpu/online if it is usable.
37461
37462 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
37463 reading the information from the /proc filesystem to once a second.
37464
37465 2011-06-21 Andreas Jaeger <aj@suse.de>
37466
37467 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
37468 NULL after inclusion of kernel headers.
37469
37470 2011-06-21 Ulrich Drepper <drepper@gmail.com>
37471
37472 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
37473 calls to internal_setent.
37474
37475 [BZ #12885]
37476 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
37477 addresses using gethostbyname4_r ignore IPv4 addresses.
37478
37479 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
37480 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
37481
37482 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
37483
37484 2011-06-20 David S. Miller <davem@davemloft.net>
37485
37486 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
37487 inclusions.
37488 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
37489
37490 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
37491 (elf_irel): Use it.
37492 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
37493 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
37494 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
37495 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
37496 * sysdeps/x86_64/dl-irel.h: Likewise.
37497
37498 * elf/dl-runtime.c: Use elf_ifunc_invoke.
37499 * elf/dl-sym.c: Likewise.
37500
37501 2011-06-15 Ulrich Drepper <drepper@gmail.com>
37502
37503 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
37504 need to dereference resplen2.
37505
37506 2011-06-14 Andreas Schwab <schwab@redhat.com>
37507
37508 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
37509
37510 2011-06-15 Ulrich Drepper <drepper@gmail.com>
37511
37512 * Makeconfig: Define vardbdir and inst_vardbdir.
37513 * nss/Makefile: Add rules to install db-Makefile.
37514
37515 * nss/nss_db/db-XXX.c: Cleanup.
37516
37517 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
37518 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
37519 GLIBC_PRIVATE.
37520 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
37521 * nss/makedb.c: Implement -g option to specify that value strings
37522 are generated and should not be added to table iterated over for
37523 get*ent calls.
37524 * nss/nss_db/db-initgroups.c: New file.
37525
37526 * nss/getent.c: Add support for initgroups lookups through getgrouplist
37527 interface.
37528
37529 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
37530 (internal_getgrouplist): Adjust to name change.
37531 Update use_initgroups_entry if this is not the first call.
37532 * nss/databases.def: Add initgroups entry.
37533
37534 * nss/makedb.c (compute_tables): Check result of multiple hash table
37535 sizes to minimize maximum chain length.
37536
37537 2011-06-14 Ulrich Drepper <drepper@gmail.com>
37538
37539 * Versions.def: Add entry for libnss_db.
37540 * shlib-versions: Likewise.
37541 * nss/Makefile: Add rules to build libnss_db.
37542 * nss/Versions: Add libnss_db information. Organize libnss_files
37543 entries better.
37544 * nss/db-Makefile: Add gshadow support. Change rules for the new
37545 makedb progra. Some minor improvements to generate smaller files.
37546 * nss/nss_db/nss_db.h: Move NSS database header data structures to
37547 here from...
37548 * nss/makedb.c: ...here.
37549 Improve database format to be smaller and require less memory at
37550 runtime.
37551 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
37552 db anymore.
37553 * nss/nss_db/db-netgrp.c: Likewise.
37554 * nss/nss_db/db-open.c: Likewise.
37555 * nss/nss_files/flies-XXX.x: Adjust comments.
37556 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
37557 * nss/nss_files/files-grp.c: Likewise.
37558 * nss/nss_files/files-hosts.c: Likewise.
37559 * nss/nss_files/files-network.c: Likewise.
37560 * nss/nss_files/files-proto.c: Likewise.
37561 * nss/nss_files/files-pwd.c: Likewise.
37562 * nss/nss_files/files-rpc.c: Likewise.
37563 * nss/nss_files/files-service.c: Likewise.
37564 * nss/nss_files/files-sgrp.c: Likewise.
37565 * nss/nss_files/files-spwd.c: Likewise.
37566 * nss/nss_db/db-alias.c: Removed.
37567 * nss/nss_db/dummy-db.h: Removed.
37568
37569 2011-06-02 Ulrich Drepper <drepper@gmail.com>
37570
37571 * nss/makedb.c: Rewritten to not use database library.
37572 * nss/Makefile: Update to build new makedb program.
37573
37574 2011-06-14 Andreas Jaeger <aj@suse.de>
37575
37576 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
37577 memset declaration.
37578
37579 2011-06-10 Andreas Schwab <schwab@redhat.com>
37580
37581 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
37582 tmpbuf.
37583
37584 2011-06-10 Roland McGrath <roland@hack.frob.com>
37585
37586 * Makerules (shlib.lds): Fail if the linker script comes out empty.
37587 * elf/Makefile ($(objpfx)ld.so): Likewise.
37588
37589 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
37590 Don't list ld.so twice in dependencies.
37591
37592 * posix/bug-regex31.c: Include <stdlib.h>.
37593
37594 * nscd/hstcache.c (cache_addhst): Remove unused variable.
37595
37596 * nis/nss_compat/compat-spwd.c
37597 (getspent_next_nss_netgr): Remove unused variable.
37598 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
37599
37600 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
37601 nonmembers" output to use the right array.
37602
37603 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
37604
37605 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
37606
37607 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
37608 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
37609 * catgets/gencat.c (read_input_file): Likewise.
37610 * locale/programs/locarchive.c (enlarge_archive): Likewise.
37611
37612 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
37613 variable definition inside #if's controlling its use.
37614
37615 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
37616
37617 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
37618
37619 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
37620
37621 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
37622 unreachable code.
37623
37624 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
37625
37626 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
37627 * configure: Regenerated.
37628
37629 * Makerules: Revert last change.
37630 * elf/Makefile: Likewise.
37631
37632 2011-06-09 Roland McGrath <roland@hack.frob.com>
37633
37634 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
37635 * elf/Makefile ($(objpfx)librtld.os): Likewise.
37636 (reloc-link): Likewise.
37637
37638 2011-06-09 Ulrich Drepper <drepper@gmail.com>
37639
37640 * elf/Makefile: Add rules to build pldd.
37641 * elf/pldd.c: New file.
37642 * elf/pldd-xx.c: New file.
37643
37644 2011-06-07 Ulrich Drepper <drepper@gmail.com>
37645
37646 * version.h: Update for 2.15 development version.
37647
37648 2011-06-07 David S. Miller <davem@davemloft.net>
37649
37650 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
37651 ifuncs.
37652 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
37653 elf_machine_lazy_rel): Likewise.
37654 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
37655 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
37656 elf_machine_lazy_rel): Likewise.
37657 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
37658 dl_hwcap via passed in argument.
37659 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
37660 Likewise.
37661
37662 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37663
37664 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
37665
37666 2011-06-06 Roland McGrath <roland@hack.frob.com>
37667
37668 [BZ #12849]
37669 * manual/fdl-1.1.texi: New file, verbatim from:
37670 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
37671 * manual/lgpl-2.1.texi: New file, verbatim from:
37672 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
37673 * manual/Makefile (licenses): New variable, list those new file names.
37674 (texis): Use it.
37675 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
37676
37677 * manual/fdl.texi: File removed.
37678 * manual/lesser.texi: File removed.
37679 * manual/libc.texinfo (Copying, Documentation License):
37680 Use new @include file names, put @appendix directive before @include.
37681
37682 2011-06-04 Jakub Jelinek <jakub@redhat.com>
37683
37684 [BZ #12841]
37685 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
37686 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
37687 (mq_open): Add __NTH.
37688
37689 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
37690
37691 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37692 Assume Intel Core i3/i5/i7 processor if AVX is available.
37693
37694 2011-05-31 Ulrich Drepper <drepper@gmail.com>
37695
37696 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37697 typo.
37698
37699 2011-05-31 Andreas Schwab <schwab@redhat.com>
37700
37701 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
37702 memory. Use alloca_account. Fix memory leak when retrying.
37703
37704 2011-05-31 Ulrich Drepper <drepper@gmail.com>
37705
37706 * version.h (RELEASE): Bump for 2.14 release.
37707 * include/features.h (__GLIBC_MINOR__): Bump to 14.
37708
37709 * config.make.in (RANLIB): Remove entry.
37710
37711 2011-05-30 Ulrich Drepper <drepper@gmail.com>
37712
37713 * po/Makefile (po-sed-cmd): Add ksh to extensions.
37714 (libc.pot): Work around missing support for .ksh extension in xgettext.
37715
37716 [BZ #12684]
37717 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
37718 if both request failed.
37719 (send_dg): In case of server errors clear resplen or *resplen2.
37720
37721 [BZ #12454]
37722 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
37723 when there are multiple maps.
37724 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
37725 (_dl_fini): Remove test here.
37726
37727 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
37728
37729 2011-05-29 Ulrich Drepper <drepper@gmail.com>
37730
37731 [BZ #12350]
37732 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
37733 bit from old_res_options.
37734 (gaih_inet): Likewise.
37735
37736 [BZ #11099]
37737 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
37738 as signed.
37739
37740 * resolv/res_init.c (res_setoptions): Make the code more compact.
37741
37742 [BZ #11558]
37743 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
37744 set RES_USEVC.
37745
37746 [BZ #11634]
37747 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
37748
37749 * malloc/malloc.h: Mark malloc hook variables as deprecated.
37750
37751 [BZ #11781]
37752 * malloc/malloc.h: Declare malloc hook variables as volatile.
37753
37754 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
37755 in last patch.
37756
37757 [BZ #11799]
37758 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
37759 raise in the comment.
37760 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37761 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37762 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
37763
37764 2011-05-28 Ulrich Drepper <drepper@gmail.com>
37765
37766 [BZ #12811]
37767 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
37768 grow the buffers more if it already has to be sufficient.
37769 (build_wcs_upper_buffer): Likewise.
37770 * posix/regexec.c (check_matching): Likewise.
37771 (clean_state_log_if_needed): Likewise.
37772 (extend_buffers): Don't enlarge buffers beyond size of the input
37773 buffer.
37774 Patches mostly by Emil Wojak <emil@wojak.eu>.
37775 * posix/bug-regex32.c: New file.
37776 * posix/Makefile (tests): Add bug-regex32.
37777
37778 * locale/findlocale.c (_nl_find_locale): Return right away if
37779 _nl_explode_name failed.
37780 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
37781
37782 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
37783
37784 * debug/xtrace.sh: Unify messages.
37785 * malloc/memusage.sh: Likewise.
37786
37787 [BZ #12813]
37788 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
37789 time symbol from vDSO. Substitute with vsyscall if not available.
37790 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
37791 __vdso_time.
37792
37793 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
37794 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
37795 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
37796 Add sendmmsg and internal_sendmmsg.
37797 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
37798 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
37799 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
37800
37801 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
37802 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
37803 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
37804
37805 2011-05-27 Ulrich Drepper <drepper@gmail.com>
37806
37807 [BZ #12813]
37808 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
37809 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
37810 available.
37811 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
37812 __vdso_getcpu.
37813
37814 [BZ #12814]
37815 * iconvdata/Makefile (tests): Add bug-iconv9.
37816 * iconvdata/bug-iconv9.c: New file.
37817
37818 2011-05-27 Andreas Schwab <schwab@redhat.com>
37819
37820 [BZ #12814]
37821 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
37822
37823 2011-05-25 Jakub Jelinek <jakub@redhat.com>
37824
37825 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37826 (struct user_regs_struct): Change intcs field back to cs.
37827
37828 2011-05-25 Ulrich Drepper <drepper@gmail.com>
37829
37830 * po/ja.po: Update from translation team.
37831
37832 2011-05-23 Ulrich Drepper <drepper@gmail.com>
37833
37834 [BZ #12795]
37835 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
37836 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
37837
37838 2011-05-20 Andreas Schwab <schwab@redhat.com>
37839
37840 * stdlib/longlong.h: Update from GCC.
37841
37842 2011-05-23 Andreas Schwab <schwab@redhat.com>
37843
37844 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
37845 parameter name.
37846 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
37847 Add parameter name.
37848 (__sysconf): Pass it down.
37849
37850 2011-05-22 Ulrich Drepper <drepper@gmail.com>
37851
37852 [BZ #12671]
37853 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
37854 some situations.
37855 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
37856 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
37857 add in in __libc_use_alloca calls. Adjust callers.
37858 (glob): Use malloc in some situations.
37859
37860 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
37861 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
37862 pltexit.
37863
37864 2011-05-21 Ulrich Drepper <drepper@gmail.com>
37865
37866 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
37867 and CLOCK_BOOTTIME_ALARM.
37868
37869 [BZ #12782]
37870 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
37871 is returned.
37872
37873 * string/_strerror.c (__strerror_r): Print negative errors as signed
37874 numbers.
37875
37876 [BZ #12777]
37877 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
37878 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
37879 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
37880
37881 * configure.in: Fix typo in redirection and correct removal of test
37882 files in two cases.
37883
37884 [BZ #12788]
37885 * locale/setlocale.c (new_composite_name): Fix test to check for
37886 identical name of all categories.
37887
37888 [BZ #12792]
37889 * libio/filedoalloc.c (local_isatty): New function.
37890 (_IO_file_doallocate): Use local_isatty.
37891 * stdio-common/perror.c (perror): In case a new stream is used
37892 forward the stream error.
37893 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
37894 error flag.
37895
37896 2011-05-20 Ulrich Drepper <drepper@gmail.com>
37897
37898 [BZ #11869]
37899 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
37900 alloca.
37901 * include/alloca.h (extend_alloca_account): Define.
37902
37903 [BZ #11857]
37904 * posix/regex.h: Fix comments with documentation of user-accessible
37905 fields after compilation and describe correct free'ing of pattern
37906 after re_compile_pattern.
37907 Patch by Reuben Thomas <rrt@sc3d.org>.
37908
37909 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
37910
37911 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
37912 and -mno-altivec to prevent the compiler from using Altivec and/or
37913 VSX instructions when the corresponding registers are not available.
37914
37915 2011-05-19 Andreas Schwab <schwab@redhat.com>
37916
37917 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
37918
37919 2011-05-19 Ulrich Drepper <drepper@gmail.com>
37920
37921 * libio/freopen.c (freopen): Use __dup2, not dup2.
37922 * libio/freopen64.c (freopen64): Likewise.
37923
37924 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
37925
37926 [BZ #12775]
37927 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
37928 * math/Makefile (tests): Add test-powl.
37929 (CFLAGS-test-powl.c): Define.
37930 * math/test-powl.c: New file.
37931
37932 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
37933
37934 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
37935
37936 2011-05-17 Ulrich Drepper <drepper@gmail.com>
37937
37938 [BZ #11837]
37939 * iconvdata/gb18030.c: Update to GB18020-2005.
37940
37941 2011-05-16 Ulrich Drepper <drepper@gmail.com>
37942
37943 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
37944 RE_SYNTAX_POSIX_AWK): Update to match recent development.
37945 Patch by Aharon Robbins <arnold@skeeve.com>.
37946
37947 [BZ #11892]
37948 * stdlib/putenv.c (putenv): Don't always create copy of the variable
37949 on the stack.
37950
37951 [BZ #11895]
37952 * misc/pselect.c (__pselect): Handle timeout value errors hidden
37953 through underflows.
37954
37955 [BZ #12766]
37956 * misc/error.c (error_at_line): Ensure file_name and old_file_name
37957 point to strings before performing equality test for error_one_per_line
37958 mode.
37959
37960 [BZ #11697]
37961 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
37962
37963 [BZ #11820]
37964 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37965 (struct user_fpregs_struct): Avoid __uint*_t types.
37966
37967 [BZ #6420]
37968 * malloc/mtrace.c (tr_where): Add additional parameter to point to
37969 symbol info. Use it instead of calling _dl_addr locally.
37970 (lock_and_info): New function.
37971 (tr_freehook): Call lock_and_info and pass symbol info as additional
37972 parameter to tr_where.
37973 (tr_mallochook): Likewise.
37974 (tr_reallochook): Likewise.
37975 (tr_memalignhook): Likewise.
37976
37977 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
37978 used and couldn't be at all thread-safe.
37979
37980 2011-05-15 Ulrich Drepper <drepper@gmail.com>
37981
37982 * libio/freopen.c (freopen): Don't close old file descriptor
37983 before the new one is opened. Instead dup the new file descriptor
37984 to the old one after the new stream is created.
37985 * libio/freopen64.c (freopen64): Likewise.
37986 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
37987 * libio/fileops.c (_IO_new_file_close_it): Handle new
37988 _IO_FLAGS2_NOCLOSE flag.
37989 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
37990 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
37991 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
37992 _IO_FLAGS2_NOCLOSE flag.
37993 * include/unistd.h: Add hidden_proto for dup3.
37994 Define __have_dup3.
37995 * io/dup3.c: Define hidden symbol.
37996 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
37997
37998 [BZ #7101]
37999 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
38000 when an incomplete long option is used.
38001 * posix/tst-getopt_long1.c: New file.
38002 * posix/Makefile (tests): Add tst-getopt_long1.
38003
38004 [BZ #10138]
38005 * scripts/config.guess: Update from autoconf-2.68.
38006 * scripts/config.sub: Likewise.
38007
38008 [BZ #10157]
38009 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
38010 tests into ...
38011 (has_cpuclock): ...this. New function.
38012 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
38013 macro here based on has_cpuclock code.
38014
38015 [BZ #10149]
38016 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38017 First byte (not low byte) is now always NUL.
38018 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
38019
38020 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38021 Use non-cancelable interfaces.
38022
38023 [BZ #9809]
38024 * locale/iso-639.def: Add entry for Sorani.
38025
38026 [BZ #11901]
38027 * include/stdlib.h: Move include protection to the right place.
38028 Define abort_msg_s. Declare __abort_msg with it.
38029 * stdlib/abort.c (__abort_msg): Adjust type.
38030 * assert/assert.c (__assert_fail_base): New function. Majority
38031 of code from __assert_fail. Allocate memory for __abort_msg with
38032 mmap.
38033 (__assert_fail): Now call __assert_fail_base.
38034 * assert/assert-perr.c: Remove bulk of implementation. Use
38035 __assert_fail_base.
38036 * include/assert.hL Declare __assert_fail_base.
38037 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
38038 mmap.
38039 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
38040
38041 2011-05-14 Ulrich Drepper <drepper@gmail.com>
38042
38043 [BZ #11952]
38044 [BZ #12453]
38045 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
38046 until all modules are registered in the DTV.
38047 * elf/Makefile: Add rules to build and run tst-tls19.
38048 * elf/tst-tls19.c: New file.
38049 * elf/tst-tls19mod1.c: New file.
38050 * elf/tst-tls19mod2.c: New file.
38051 * elf/tst-tls19mod3.c: New file.
38052 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
38053
38054 [BZ #12083]
38055 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
38056 correctly.
38057
38058 [BZ #12601]
38059 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
38060 two-byte sequence errors.
38061 * iconvdata/Makefile (tests): Add bug-iconv8.
38062 * iconvdata/bug-iconv8.c: New file.
38063
38064 [BZ #12626]
38065 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
38066 buf2 definition.
38067
38068 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
38069
38070 [BZ #12432]
38071 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
38072 (dummy_getcfa): New function.
38073 (init): Get _Unwind_GetCFA address, use dummy if not found.
38074 (backtrace_helper): In recursion check, also check whether CFA changes.
38075 (__backtrace): Completely initialize arg.
38076
38077 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
38078 storing incomplete byte sequence in state object. Avoid testing for
38079 guaranteed too small input if we know there is enough data available.
38080
38081 2011-05-11 Andreas Schwab <schwab@redhat.com>
38082
38083 * Makeconfig (+link-pie): Indent.
38084 * Rules (binaries-pie): Define if $(have-fpie) and
38085 $(build-shared).
38086 (binaries-shared): Also filter out $(binaries-pie).
38087 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
38088 * nscd/Makefile (others-pie): Add nscd.
38089 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
38090 ($(objpfx)nscd): Remove command override.
38091 * login/Makefile (others-pie): Add pt_chown.
38092 ($(objpfx)pt_chown): Remove command override.
38093 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
38094 remove command overrides.
38095
38096 2011-05-13 Ulrich Drepper <drepper@gmail.com>
38097
38098 * libio/tst_putwc.c: Fix error messages.
38099
38100 [BZ #12724]
38101 * libio/fileops.c (_IO_new_file_close_it): Always flush when
38102 currently writing and seek to current position when not.
38103 * libio/Makefile (tests): Add bug-fclose1.
38104 * libio/bug-fclose1.c: New file.
38105
38106 2011-05-12 Ulrich Drepper <drepper@gmail.com>
38107
38108 [BZ #12511]
38109 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
38110 don't set DF_1_NODELETE here.
38111 (do_lookup_x): When entering new entry test for copy relocation
38112 and if necessary set DF_1_NODELETE flag.
38113 * elf/tst-unique4.cc: New file.
38114 * elf/tst-unique4.h: New file.
38115 * elf/tst-unique4lib.cc: New file.
38116 * elf/Makefile: Add rules to build and run tst-unique4.
38117 Patch by Piotr Bury <pbury@goahead.com>.
38118
38119 2011-05-11 Ulrich Drepper <drepper@gmail.com>
38120
38121 [BZ #12052]
38122 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
38123
38124 [BZ #12625]
38125 * misc/mntent_r.c (addmntent): Flush the stream after the output
38126
38127 [BZ #12393]
38128 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
38129 (is_trusted_path_normalize): Skip initial colon. Append slash
38130 to empty buffer. Duplicate is_trusted_path code but allow
38131 constructed patch to be prefix.
38132 (is_dst): Allow $ORIGIN followed by /.
38133 (_dl_dst_substitute): Correct clearing of check_for_trusted.
38134 Correct testing of result of is_trusted_path_normalize
38135 (decompose_rpath): Fix warning.
38136
38137 2011-05-10 Ulrich Drepper <drepper@gmail.com>
38138
38139 [BZ #11257]
38140 * grp/initgroups.c (internal_getgrouplist): When we found the service
38141 list through the initgroups entry in nsswitch.conf do not always
38142 continue on a successful lookup. Don't always use the
38143 __nss_group_database value if it is set.
38144 * nss/nsswitch.conf (initgroups): Change action for successful db
38145 lookup to continue for compatibility.
38146
38147 2011-05-09 Ulrich Drepper <drepper@gmail.com>
38148
38149 [BZ #11532]
38150 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
38151 and CP774 modules.
38152 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
38153 and CP774 modules.
38154 * iconvdata/tst-tables.sh: Likewise.
38155 * iconvdata/cp770.c: New file.
38156 * iconvdata/cp771.c: New file.
38157 * iconvdata/cp772.c: New file.
38158 * iconvdata/cp773.c: New file.
38159 * iconvdata/cp774.c: New file.
38160 * iconvdata/testdata/CP770: New file.
38161 * iconvdata/testdata/CP770..UTF8: New file.
38162 * iconvdata/testdata/CP771: New file.
38163 * iconvdata/testdata/CP771..UTF8: New file.
38164 * iconvdata/testdata/CP772: New file.
38165 * iconvdata/testdata/CP772..UTF8: New file.
38166 * iconvdata/testdata/CP773: New file.
38167 * iconvdata/testdata/CP773..UTF8: New file.
38168 * iconvdata/testdata/CP774: New file.
38169 * iconvdata/testdata/CP774..UTF8: New file.
38170
38171 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
38172 END CHARMAP line.
38173 * iconvdata/gen-8bit-gap.sh: Likewise.
38174 * iconvdata/gen-8bit.sh: Likewise.
38175
38176 * locale/iso-639.def: Add ary entry.
38177
38178 [BZ #11258]
38179 * locale/C-translit.h.in: Add U20A1 transliteration.
38180
38181 [BZ #12178]
38182 * locale/iso-639.def: Add wae entry.
38183 Patch by Kevin Bortis <bortis@translate-wae.ch>.
38184
38185 [BZ #12545]
38186 * locale/programs/localedef.c (construct_output_path): Use ssize_t
38187 for n.
38188
38189 [BZ #12711]
38190 * locale/C-translit.h.in: Add entry for U20B9.
38191 Patch by pravin.d.s@gmail.com.
38192
38193 2011-05-08 Ulrich Drepper <drepper@gmail.com>
38194
38195 [BZ #12713]
38196 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
38197 ENAMETOOLONG use generic getcwd.
38198 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
38199 in rtld. Use *stat64.
38200 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
38201 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
38202 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
38203 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
38204 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
38205 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
38206 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
38207 __fstatat64 macros.
38208 * include/dirent.h: Add libc_hidden_proto for rewinddir.
38209 * dirent/rewinddir.c: Add libc_hidden_def.
38210 * sysdeps/mach/hurd/rewinddir.c: Likewise.
38211 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
38212
38213 * include/dirent.h (__alloc_dir): Add flags parameter.
38214 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
38215 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
38216 __alloc_dir.
38217 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
38218 from fdopendir if O_CLOEXEC is already set.
38219
38220 2011-03-15 Alan Modra <amodra@gmail.com>
38221
38222 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
38223 l_tls_firstbyte_offset non-zero. Save padding offset in
38224 l_tls_firstbyte_offset for later use.
38225 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
38226 freeing static tls block.
38227
38228 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
38229
38230 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
38231 where #ifdef was intended. The intent is to prevent ARG_MAX from
38232 being defined by the kernel headers.
38233
38234 2011-05-07 Ulrich Drepper <drepper@gmail.com>
38235
38236 [BZ #12734]
38237 * resolv/resolv.h: Define RES_NOTLDQUERY.
38238 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
38239 no-tld-query and set RES_NOTLDQUERY.
38240 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
38241 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
38242 modern BIND to search name as TLD unless forbidden.
38243
38244 2011-05-07 Petr Baudis <pasky@suse.cz>
38245 Ulrich Drepper <drepper@gmail.com>
38246
38247 [BZ #12393]
38248 * elf/dl-load.c (fillin_rpath): Move trusted path check...
38249 (is_trusted_path): ...to here.
38250 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
38251 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
38252 using is_trusted_path_normalize() in setuid scripts.
38253
38254 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38255
38256 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
38257 __BEGIN/__END_DECLS.
38258
38259 2011-05-06 Ulrich Drepper <drepper@gmail.com>
38260
38261 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
38262 NSS_STATUS_NOTFOUND if no record was found.
38263
38264 2011-05-05 Andreas Schwab <schwab@redhat.com>
38265
38266 * sunrpc/Makefile (headers): Add rpc/netdb.h.
38267 (headers-not-in-tirpc): Remove rpc/netdb.h
38268 * resolv/netdb.h: Revert last change.
38269
38270 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38271
38272 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
38273 circular dependency between libgcc.a and libc.a.
38274
38275 2011-05-05 Andreas Schwab <schwab@redhat.com>
38276
38277 * resolv/netdb.h: Don't include <rpc/netdb.h>.
38278 * nis/Makefile: Don't install rpcsvc/*.
38279 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
38280 instead of <rpc/types.h>.
38281 (MAXHOSTNAMELEN): Define.
38282
38283 2011-05-03 Andreas Schwab <schwab@redhat.com>
38284
38285 * elf/ldconfig.c (add_dir): Don't crash on empty path.
38286
38287 2011-04-28 Maciej Babinski <mbabinski@google.com>
38288
38289 [BZ #12714]
38290 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
38291 gethostbyname4_r when IPv6 results are possible.
38292
38293 2011-05-02 Ulrich Drepper <drepper@gmail.com>
38294
38295 [BZ #12723]
38296 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
38297 _PC_PIPE_BUF handling.
38298
38299 2011-04-30 Bruno Haible <bruno@clisp.org>
38300
38301 [BZ #12717]
38302 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
38303 * resolv/netdb.h (getnameinfo): Change type of flags parameter
38304 to 'int'.
38305 * inet/getnameinfo.c (getnameinfo): Likewise.
38306
38307 2011-04-29 Ulrich Drepper <drepper@gmail.com>
38308
38309 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
38310 to groups setting in database lookup.
38311 * nss/nsswitch.conf: Add initgroups entry.
38312
38313 2011-04-22 Ulrich Drepper <drepper@gmail.com>
38314
38315 [BZ #12685]
38316 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
38317 mode string.
38318 Patch by Eric Blake <eblake@redhat.com>.
38319
38320 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
38321
38322 * sunrpc/Makefile (need-export-routines): Add svc_run.
38323 (routines): Remove svc_run.
38324 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
38325 * sunrpc/clnt_perr.c (clnt_perrno): Export.
38326 * sunrpc/svc_run.c (svc_run): Likewise.
38327 * sunrpc/svc_udp.c (svcudp_create): Likewise.
38328
38329 2011-04-21 Ulrich Drepper <drepper@gmail.com>
38330
38331 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
38332 problem in reallocation in last patch.
38333
38334 2011-04-20 Ulrich Drepper <drepper@gmail.com>
38335
38336 * sunrpc/Makefile: Move inclusion of Rules.
38337
38338 2011-04-19 Ulrich Drepper <drepper@gmail.com>
38339
38340 * nss/nss_files/files-initgroups.c: New file.
38341 * nss/Makefile (libnss_files-routines): Add files-initgroups.
38342 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
38343 _nss_files_initgroups_dyn.
38344
38345 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
38346
38347 * elf/elf.h (R_ARM_IRELATIVE): Define.
38348
38349 2011-04-19 Ulrich Drepper <drepper@gmail.com>
38350
38351 * po/ru.po: Update from translation team.
38352
38353 2011-04-17 Ulrich Drepper <drepper@gmail.com>
38354
38355 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
38356 dependencies.
38357
38358 2011-02-06 Mike Frysinger <vapier@gentoo.org>
38359
38360 [BZ #12653]
38361 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
38362 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
38363 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38364 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38365 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38366
38367 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
38368
38369 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
38370 differing bytes.
38371 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38372 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38373 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38374
38375 2011-04-17 Ulrich Drepper <drepper@gmail.com>
38376
38377 [BZ #12420]
38378 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
38379 storing it.
38380 * stdlib/bug-getcontext.c: New file.
38381 * stdlib/Makefile: Add rules to build and run bug-getcontext.
38382
38383 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38384
38385 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
38386 instructions into .machine "z9-109".
38387 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
38388 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
38389
38390 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38391
38392 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
38393 between environment variables and auxiliary vector.
38394
38395 2011-04-16 Ulrich Drepper <drepper@gmail.com>
38396
38397 * Makefile: Add rules to build linkobj/libc.so.
38398 * include/libc-symbols.h: Define libc_hidden_nolink.
38399 * include/rpc/auth.h: Mark functions which are to be hidden.
38400 * include/rpc/auth_des.h: Likewise.
38401 * include/rpc/auth_unix.h: Likewise.
38402 * include/rpc/clnt.h: Likewise.
38403 * include/rpc/des_crypt.h: Likewise.
38404 * include/rpc/key_prot.h: Likewise.
38405 * include/rpc/pmap_clnt.h: Likewise.
38406 * include/rpc/pmap_prot.h: Likewise.
38407 * include/rpc/pmap_rmt.h: Likewise.
38408 * include/rpc/rpc_msg.h: Likewise.
38409 * include/rpc/svc.h: Likewise.
38410 * include/rpc/svc_auth.h: Likewise.
38411 * include/rpc/xdr.h: Likewise.
38412 * nis/Makefile: Link all DSOs against linkobj/libc.so.
38413 * nss/Makefile: Likewise.
38414 * sunrpc/Makefile: Don't install headers. Build library with normal
38415 entry points. Don't build rpcinfo. Link RPC tests appropriately.
38416 * sunrpc/auth_des.c: Hide exported symbols by default, export some
38417 for the compat linking library. Remove use of INTDEF/INTUSE.
38418 * sunrpc/auth_none.c: Likewise.
38419 * sunrpc/auth_unix.c: Likewise.
38420 * sunrpc/authdes_prot.c: Likewise.
38421 * sunrpc/authuxprot.c: Likewise.
38422 * sunrpc/clnt_gen.c: Likewise.
38423 * sunrpc/clnt_perr.c: Likewise.
38424 * sunrpc/clnt_raw.c: Likewise.
38425 * sunrpc/clnt_simp.c: Likewise.
38426 * sunrpc/clnt_tcp.c: Likewise.
38427 * sunrpc/clnt_udp.c: Likewise.
38428 * sunrpc/clnt_unix.c: Likewise.
38429 * sunrpc/des_crypt.c: Likewise.
38430 * sunrpc/des_soft.c: Likewise.
38431 * sunrpc/get_myaddr.c: Likewise.
38432 * sunrpc/key_call.c: Likewise.
38433 * sunrpc/key_prot.c: Likewise.
38434 * sunrpc/netname.c: Likewise.
38435 * sunrpc/pm_getmaps.c: Likewise.
38436 * sunrpc/pm_getport.c: Likewise.
38437 * sunrpc/pmap_clnt.c: Likewise.
38438 * sunrpc/pmap_prot.c: Likewise.
38439 * sunrpc/pmap_prot2.c: Likewise.
38440 * sunrpc/pmap_rmt.c: Likewise.
38441 * sunrpc/publickey.c: Likewise.
38442 * sunrpc/rpc_cmsg.c: Likewise.
38443 * sunrpc/rpc_common.c: Likewise.
38444 * sunrpc/rpc_dtable.c: Likewise.
38445 * sunrpc/rpc_prot.c: Likewise.
38446 * sunrpc/rpc_thread.c: Likewise.
38447 * sunrpc/rtime.c: Likewise.
38448 * sunrpc/svc.c: Likewise.
38449 * sunrpc/svc_auth.c: Likewise.
38450 * sunrpc/svc_authux.c: Likewise.
38451 * sunrpc/svc_raw.c: Likewise.
38452 * sunrpc/svc_run.c: Likewise.
38453 * sunrpc/svc_simple.c: Likewise.
38454 * sunrpc/svc_tcp.c: Likewise.
38455 * sunrpc/svc_udp.c: Likewise.
38456 * sunrpc/svc_unix.c: Likewise.
38457 * sunrpc/svcauth_des.c: Likewise.
38458 * sunrpc/xcrypt.c: Likewise.
38459 * sunrpc/xdr.c: Likewise.
38460 * sunrpc/xdr_array.c: Likewise.
38461 * sunrpc/xdr_float.c: Likewise.
38462 * sunrpc/xdr_intXX_t.c: Likewise.
38463 * sunrpc/xdr_mem.c: Likewise.
38464 * sunrpc/xdr_rec.c: Likewise.
38465 * sunrpc/xdr_ref.c: Likewise.
38466 * sunrpc/xdr_sizeof.c: Likewise.
38467 * sunrpc/xdr_stdio.c: Likewise.
38468
38469 2011-04-10 Ulrich Drepper <drepper@gmail.com>
38470
38471 [BZ #12650]
38472 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
38473 * sysdeps/ia64/dl-tls.h: Likewise.
38474 * sysdeps/powerpc/dl-tls.h: Likewise.
38475 * sysdeps/s390/dl-tls.h: Likewise.
38476 * sysdeps/sh/dl-tls.h: Likewise.
38477 * sysdeps/sparc/dl-tls.h: Likewise.
38478 * sysdeps/x86_64/dl-tls.h: Likewise.
38479 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
38480
38481 2011-03-14 Andreas Schwab <schwab@redhat.com>
38482
38483 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
38484 rpath element also skip the following colon.
38485 (expand_dynamic_string_token): Add is_path parameter and pass
38486 down to DL_DST_REQUIRED and _dl_dst_substitute.
38487 (decompose_rpath): Call expand_dynamic_string_token with
38488 non-zero is_path. Ignore empty rpaths.
38489 (_dl_map_object_from_fd): Call expand_dynamic_string_token
38490 with zero is_path.
38491
38492 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
38493
38494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
38495 Make cancelable.
38496
38497 2011-04-09 Ulrich Drepper <drepper@gmail.com>
38498
38499 [BZ #12655]
38500 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
38501 Patch by Filipe David Manana <fdmanana@apache.org>.
38502
38503 2011-04-07 Andreas Schwab <schwab@redhat.com>
38504
38505 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
38506 Maintain aligned stack.
38507 (CHECK_RSP): Remove unused macro.
38508
38509 2011-04-03 Ulrich Drepper <drepper@gmail.com>
38510
38511 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
38512 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
38513
38514 2011-04-02 Ulrich Drepper <drepper@gmail.com>
38515
38516 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
38517
38518 * include/features.h: Mention __USE_XOPEN2K8 in comment.
38519
38520 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
38521
38522 [BZ #12518]
38523 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
38524 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
38525 * sysdeps/x86_64/memmove.c: New file.
38526 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
38527 (memcpy): Renamed to ...
38528 (__new_memcpy): This.
38529 (memcpy): Provide GLIBC_2_14 memcpy.
38530 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
38531 (memcpy): Provide GLIBC_2_2_5 memcpy.
38532
38533 2011-04-01 Ulrich Drepper <drepper@gmail.com>
38534
38535 [BZ #12631]
38536 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
38537
38538 2011-03-30 Andreas Schwab <schwab@redhat.com>
38539
38540 * misc/syncfs.c: New file.
38541 * misc/Makefile (routines): Add syncfs.
38542 * posix/unistd.h: Declare syncfs.
38543 * sysdeps/unix/syscalls.list: Add syncfs.
38544
38545 2011-04-01 Andreas Schwab <schwab@redhat.com>
38546
38547 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
38548 open_by_handle_at.
38549 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38550 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38551 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38552 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38553 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38554 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
38555 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38556
38557 2011-04-01 Ulrich Drepper <drepper@gmail.com>
38558
38559 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
38560 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38561 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
38562 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38563 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38564 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38565 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38566
38567 * io/Makefile: Compile fallocate.c, fallocate64.c, and
38568 sync_file_range.c with -fexceptions.
38569 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
38570 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
38571 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
38572 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
38573 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
38574 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
38575 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
38576 sync_file_range as cancellation point
38577 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
38578 now a wrapper around __call_sync_file_range with cancellation handling.
38579 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
38580 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
38581 function name to __call_sync_file_range.
38582 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
38583 Add call_sync_file_range.
38584
38585 2011-04-01 Andreas Schwab <schwab@redhat.com>
38586
38587 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38588 bits/timex.h.
38589
38590 2011-04-01 Ulrich Drepper <drepper@gmail.com>
38591
38592 * iconv/iconv.h: Fix typo in comment.
38593 * io/fcntl.h: Likewise.
38594 * libio/stdio.h: Likewise.
38595 * posix/spawn.h: Likewise.
38596 * posix/unistd.h: Likewise.
38597 * stdlib/stdlib.h: Likewise.
38598 * time/time.h: Likewise.
38599 * wcsmbs/wchar.h: Likewise.
38600
38601 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
38602 open_by_handle): Add.
38603 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
38604 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
38605 Augment a few comments.
38606 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38607 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38608 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38609 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38610 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38611 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
38612 open_by_handle.
38613
38614 * io/fcntl.h (AT_EMPTY_PATH): Define.
38615
38616 2011-03-30 Ulrich Drepper <drepper@gmail.com>
38617
38618 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
38619 * sysdeps/unix/sysv/linux/bits/time.h: New file.
38620 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
38621 to...
38622 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
38623 * Versions.def: Add GLIBC_2.14.
38624 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
38625 Export.
38626
38627 2011-03-22 Ulrich Drepper <drepper@gmail.com>
38628
38629 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
38630 round counter.
38631 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38632
38633 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
38634
38635 [BZ #12597]
38636 * string/test-strncmp.c (do_page_test): New function.
38637 (check2): Likewise.
38638 (test_main): Call check2.
38639 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
38640
38641 2011-03-20 Ulrich Drepper <drepper@gmail.com>
38642
38643 [BZ #12587]
38644 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
38645 Handle cache information in CPU leaf 4.
38646 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38647
38648 2011-03-18 Ulrich Drepper <drepper@gmail.com>
38649
38650 [BZ #12583]
38651 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
38652 character representation.
38653 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
38654
38655 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
38656
38657 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
38658 END(__isnan) to END(__isnanf) to match function entry point/label
38659 EALIGN(__isnanf,...).
38660
38661 2011-03-10 Jakub Jelinek <jakub@redhat.com>
38662
38663 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
38664
38665 2011-03-10 Ulrich Drepper <drepper@gmail.com>
38666
38667 [BZ #12510]
38668 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
38669 copy from the symbol referenced in the relocation to initialize the
38670 used variable.
38671 Patch by Piotr Bury <pbury@goahead.com>.
38672 * elf/Makefile: Add rules to build and tst-unique3.
38673 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
38674 * elf/tst-unique3.cc: New file.
38675 * elf/tst-unique3.h: New file.
38676 * elf/tst-unique3lib.cc: New file.
38677 * elf/tst-unique3lib2.cc: New file.
38678
38679 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
38680
38681 2011-03-10 Mike Frysinger <vapier@gentoo.org>
38682
38683 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
38684 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
38685 to _start.
38686
38687 2011-03-06 Ulrich Drepper <drepper@gmail.com>
38688
38689 * elf/dl-load.c (_dl_map_object): If we are looking for the first
38690 to-be-loaded object along a path to loader is ld.so.
38691
38692 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38693 Ulrich Drepper <drepper@gmail.com>
38694
38695 * sysdeps/x86_64/memset.S: After aligning destination, code
38696 branches to different locations depending on the value of
38697 misalignment, when multiarch is enabled. Fix this.
38698
38699 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38700
38701 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
38702 Set _x86_64_preferred_memory_instruction for AMD processsors.
38703 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38704 Set bit_Prefer_SSE_for_memop for AMD processors.
38705
38706 2011-03-04 Ulrich Drepper <drepper@gmail.com>
38707
38708 * libio/fmemopen.c (fmemopen): Optimize a bit.
38709
38710 2011-03-03 Andreas Schwab <schwab@redhat.com>
38711
38712 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
38713
38714 2011-03-03 Roland McGrath <roland@redhat.com>
38715
38716 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
38717
38718 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
38719
38720 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
38721 __bzero_ultra1 instead of __memset_ultra1.
38722
38723 2011-02-23 Andreas Schwab <schwab@redhat.com>
38724 Ulrich Drepper <drepper@gmail.com>
38725
38726 [BZ #12509]
38727 * include/link.h (struct link_map): Add l_orig_initfini.
38728 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
38729 returning unsuccessfully.
38730 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
38731 close of a file loaded at startup, restore the original l_initfini
38732 list.
38733 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
38734 list, store the pointer.
38735 * elf/Makefile ($(objpfx)noload-mem): New rule.
38736 (noload-ENV): Define.
38737 (tests): Add $(objpfx)noload-mem.
38738 * elf/noload.c: Include <memcheck.h>.
38739 (main): Call mtrace. Close all opened handles.
38740
38741 2011-02-17 Andreas Schwab <schwab@redhat.com>
38742
38743 [BZ #12454]
38744 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
38745 dependencies are missing.
38746
38747 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
38748
38749 Fix __if_freereq crash: Unlike the generic version which uses free,
38750 Hurd needs munmap.
38751 * sysdeps/mach/hurd/ifreq.h: New file.
38752
38753 2011-01-27 Petr Baudis <pasky@suse.cz>
38754 Ulrich Drepper <drepper@gmail.com>
38755
38756 [BZ 12445]#
38757 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
38758 to extend_alloca().
38759 * stdio-common/bug23.c: New file.
38760 * stdio-common/Makefile (tests): Add bug23.
38761
38762 2010-09-28 Andreas Schwab <schwab@redhat.com>
38763 Ulrich Drepper <drepper@gmail.com>
38764
38765 [BZ #12489]
38766 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
38767 before performing relro protection. At old place add assertion
38768 to make sure nothing changed.
38769
38770 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
38771 Glauber de Oliveira Costa <glommer@gmail.com>
38772
38773 * elf/elf.h: Add new ARM TLS relocs.
38774
38775 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
38776
38777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38778 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
38779 cast from r3.
38780 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
38781 'tests' variable.
38782 * sysdeps/wordsize-64/tst-writev.c: New file.
38783
38784 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
38785
38786 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
38787 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
38788 insns in _dl_start to prevent a TOC reference before relocs are
38789 resolved.
38790
38791 2011-02-15 Ulrich Drepper <drepper@gmail.com>
38792
38793 [BZ #12469]
38794 * Makeconfig: Remove RANLIB definition.
38795 * Makerules: Don't use RANLIB.
38796 * aclocal.m4: Remove ranlib test.
38797 * configure.in: No need to check for ranlib.
38798 * elf/rtld-Rules: Don't use RANLIB.
38799
38800 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
38801
38802 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
38803 protection macro.
38804 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
38805 inclusion protection macro.
38806
38807 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
38808 SIGRTMIN and SIGRTMAX and print information in that case only when
38809 SIGRTMIN is defined.
38810
38811 2011-02-11 Jakub Jelinek <jakub@redhat.com>
38812
38813 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
38814 arginfo fn returning -1.
38815
38816 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
38817 and thousands string is zero terminated.
38818
38819 2011-02-03 Andreas Schwab <schwab@redhat.com>
38820
38821 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
38822 sysdeps/unix/sysv/linux/bits/socket.h.
38823
38824 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
38825
38826 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
38827 (__CPU_COUNT): Remove old macros.
38828 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
38829 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
38830 (__CPU_ALLOC, __CPU_FREE): Add macros.
38831 (__sched_cpualloc, __sched_cpufree): Add declarations.
38832
38833 2011-02-05 Ulrich Drepper <drepper@gmail.com>
38834
38835 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
38836 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
38837 * nscd/aicache.c (addhstaiX): Return timeout of added value.
38838 (readdhstai): Return value of addhstaiX call.
38839 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
38840 (addgrbyX): Return value returned by cache_addgr.
38841 (readdgrbyname): Return value returned by addgrbyX.
38842 (readdgrbygid): Likewise.
38843 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
38844 (addpwbyX): Return value returned by cache_addpw.
38845 (readdpwbyname): Return value returned by addhstbyX.
38846 (readdpwbyuid): Likewise.
38847 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
38848 (addservbyX): Return value returned by cache_addserv.
38849 (readdservbyname): Return value returned by addservbyX:
38850 (readdservbyport): Likewise.
38851 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
38852 (addhstbyX): Return value returned by cache_addhst.
38853 (readdhstbyname): Return value returned by addhstbyX.
38854 (readdhstbyaddr): Likewise.
38855 (readdhstbynamev6): Likewise.
38856 (readdhstbyaddrv6): Likewise.
38857 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
38858 (readdinitgroups): Return value returned by addinitgroupsX.
38859 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
38860 (prune_cache): Keep track of timeout value of re-added entries.
38861 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
38862 * nscd/nscd.h: Adjust prototypes of readd* functions.
38863
38864 2011-02-04 Roland McGrath <roland@redhat.com>
38865
38866 * nis/nis_server.c (nis_servstate): Use the right name for 0.
38867 (nis_stats): Likewise.
38868 * nis/nis_modify.c (nis_modify): Likewise.
38869 * nis/nis_remove.c (nis_remove): Likewise.
38870 * nis/nis_add.c (nis_add): Likewise.
38871
38872 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
38873
38874 * posix/fnmatch_loop.c: Add some consts.
38875
38876 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
38877
38878 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
38879
38880 [BZ #12460]
38881 * config.make.in (config-cflags-novzeroupper): Define.
38882 * configure.in: Substitute libc_cv_cc_novzeroupper.
38883 * elf/Makefile (AVX-CFLAGS): Define.
38884 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
38885 (CFLAGS-tst-auditmod4a.c): Likewise.
38886 (CFLAGS-tst-auditmod4b.c): Likewise.
38887 (CFLAGS-tst-auditmod6b.c): Likewise.
38888 (CFLAGS-tst-auditmod6c.c): Likewise.
38889 (CFLAGS-tst-auditmod7b.c): Likewise.
38890 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
38891
38892 2011-02-02 Ulrich Drepper <drepper@gmail.com>
38893
38894 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
38895 function to the callback.
38896 Patch partly by Jiri Olsa <jolsa@redhat.com>.
38897
38898 2011-02-02 Andreas Schwab <schwab@redhat.com>
38899
38900 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
38901 of errno.
38902
38903 2011-01-19 Ulrich Drepper <drepper@gmail.com>
38904
38905 [BZ #11724]
38906 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
38907 of constructors.
38908 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
38909 of destructors.
38910 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
38911
38912 [BZ #11724]
38913 * elf/Makefile: Add rules to build and run new test.
38914 * elf/tst-initorder.c: New file.
38915 * elf/tst-initorder.exp: New file.
38916 * elf/tst-initordera1.c: New file.
38917 * elf/tst-initordera2.c: New file.
38918 * elf/tst-initordera3.c: New file.
38919 * elf/tst-initordera4.c: New file.
38920 * elf/tst-initorderb1.c: New file.
38921 * elf/tst-initorderb2.c: New file.
38922 * elf/tst-order-a1.c: New file.
38923 * elf/tst-order-a2.c: New file.
38924 * elf/tst-order-a3.c: New file.
38925 * elf/tst-order-a4.c: New file.
38926 * elf/tst-order-b1.c: New file.
38927 * elf/tst-order-b2.c: New file.
38928 * elf/tst-order-main.c: New file.
38929 New test case by George Gensure <werkt0@gmail.com>.
38930
38931 2010-10-01 Andreas Schwab <schwab@redhat.com>
38932
38933 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38934 decoding ACE if AI_CANONIDN.
38935
38936 2011-01-18 Ulrich Drepper <drepper@gmail.com>
38937
38938 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
38939
38940 2011-01-17 Ulrich Drepper <drepper@gmail.com>
38941
38942 * version.h (RELEASE): Bump for 2.13 release.
38943 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
38944
38945 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
38946
38947 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
38948 MADV_NOHUGEPAGE.
38949 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
38950 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38951 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38952 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38953 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38954 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38955
38956 * posix/getconf.c: Update copyright year.
38957 * catgets/gencat.c: Likewise.
38958 * csu/version.c: Likewise.
38959 * debug/catchsegv.sh: Likewise.
38960 * debug/xtrace.sh: Likewise.
38961 * elf/ldconfig.c: Likewise.
38962 * elf/ldd.bash.in: Likewise.
38963 * elf/sprof.c (print_version): Likewise.
38964 * iconv/iconv_prog.c: Likewise.
38965 * iconv/iconvconfig.c: Likewise.
38966 * locale/programs/locale.c: Likewise.
38967 * locale/programs/localedef.c: Likewise.
38968 * malloc/memusage.sh: Likewise.
38969 * malloc/mtrace.pl: Likewise.
38970 * nscd/nscd.c (print_version): Likewise.
38971 * nss/getent.c: Likewise.
38972
38973 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
38974 PF_CAIF, and PF_ALG.
38975 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38976
38977 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
38978
38979 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
38980 (modules-names): Use them.
38981 (ifunc-test-modules, ifunc-pie-tests): Define.
38982 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
38983 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
38984 (test-extras): Likewise.
38985 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
38986 $(compile-command.c).
38987 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
38988 (all-built-dso): Define.
38989 (check-textrel.out, check-execstack.out): Depend on it.
38990
38991 * configure.in: Don't override --enable-multi-arch.
38992
38993 2011-01-15 Ulrich Drepper <drepper@gmail.com>
38994
38995 [BZ #6812]
38996 * nscd/hstcache.c (tryagain): Define.
38997 (cache_addhst): Return tryagain not notfound for temporary errors.
38998 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
38999 failed.
39000
39001 2011-01-14 Ulrich Drepper <drepper@gmail.com>
39002
39003 [BZ #10563]
39004 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
39005 to make the syscall.
39006 * sysdeps/unix/sysv/linux/setgroups.c: New file.
39007
39008 [BZ #12378]
39009 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
39010 and fall back to matching as normal character if the string ends before
39011 the matching ']' is found. This is what POSIX requires.
39012 * posix/testfnm.c: Adjust test result.
39013 * posix/globtest.sh: Adjust test result. Add new test.
39014 * posix/tst-fnmatch.input: Likewise.
39015 * posix/tst-fnmatch2.c: Add new test.
39016
39017 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
39018
39019 * elf/Makefile (check-execstack): Revert last change. Depend on
39020 check-execstack.h.
39021 (check-execstack.h): New target.
39022 (generated): Add check-execstack.h.
39023 * elf/check-execstack.c: Include "check-execstack.h".
39024 (main): Revert last change.
39025 (handle_file): Return zero if GNU_STACK is absent and
39026 DEFAULT_STACK_PERMS doesn't include PF_X.
39027
39028 2011-01-13 Ulrich Drepper <drepper@gmail.com>
39029
39030 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
39031 in child fails because the descriptor is already closed.
39032 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
39033 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
39034 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
39035
39036 [BZ #12397]
39037 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
39038 syscall.
39039
39040 [BZ #10484]
39041 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
39042 temporary buffer used to handle multi lookups locally.
39043 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
39044
39045 2011-01-12 Ulrich Drepper <drepper@gmail.com>
39046
39047 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
39048 loader is ld.so.
39049
39050 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
39051
39052 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
39053 alignment for SSE2.
39054
39055 2011-01-12 Ulrich Drepper <drepper@gmail.com>
39056
39057 [BZ #12394]
39058 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
39059 characters. When rounding increased number of integer digits recompute
39060 number of groups.
39061 * stdio-common/tst-grouping.c: New file.
39062 * stdio-common/Makefile: Add rules to build and run tst-grouping.
39063
39064 2011-01-09 Ulrich Drepper <drepper@gmail.com>
39065
39066 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
39067 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
39068
39069 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
39070 void.
39071 * bits/select.h: Likewise.
39072
39073 2011-01-08 Ulrich Drepper <drepper@gmail.com>
39074
39075 * po/ja.po: Update from translation team.
39076
39077 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
39078
39079 [BZ #11155]
39080 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
39081 implementation just like for lxstat, fxstatat, et al.
39082
39083 2010-12-27 Jim Meyering <meyering@redhat.com>
39084
39085 [BZ #12348]
39086 * posix/regexec.c (build_trtable): Return failure indication upon
39087 calloc failure. Otherwise, re_search_internal could infloop on OOM.
39088
39089 2010-12-25 Ulrich Drepper <drepper@gmail.com>
39090
39091 [BZ #12201]
39092 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
39093 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
39094 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
39095 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
39096
39097 [BZ #12207]
39098 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
39099
39100 [BZ #12204]
39101 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
39102 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
39103
39104 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
39105
39106 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
39107 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
39108 script has SORT_BY_INIT_PRIORITY.
39109 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
39110 NO_CTORS_DTORS_SECTIONS is defined.
39111 * elf/soinit.c: Likewise.
39112 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
39113 NO_CTORS_DTORS_SECTIONS is defined.
39114 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
39115 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
39116 * sysdeps/sh/init-first.c: Likewise.
39117 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
39118
39119 2010-12-24 Ulrich Drepper <drepper@gmail.com>
39120
39121 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
39122 always use the slow path.
39123
39124 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
39125
39126 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
39127 similar rule which adds the sysdep directories to the header search in
39128 order to pick up the correct platform stackinfo.h.
39129 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
39130 perform test if it is, otherwise return successfully without testing.
39131 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
39132 DEFAULT_STACK_PERMS define in stackinfo.h.
39133 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
39134 defined in stackinfo.h.
39135 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
39136 DEFAULT_STACK_PERMS defined in stackinfo.h.
39137 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
39138 * sysdeps/ia64/stackinfo.h: Likewise.
39139 * sysdeps/s390/stackinfo.h: Likewise.
39140 * sysdeps/sh/stackinfo.h: Likewise.
39141 * sysdeps/sparc/stackinfo.h: Likewise.
39142 * sysdeps/x86_64/stackinfo.h: Likewise.
39143 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
39144 PF_X for powerpc64. Retain PF_X for powerpc32.
39145
39146 2010-12-19 Ulrich Drepper <drepper@gmail.com>
39147
39148 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
39149 accurately.
39150 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
39151 GETDENTS_64BIT_ALIGNED.
39152
39153 2010-12-14 Ulrich Drepper <dreper@gmail.com>
39154
39155 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
39156
39157 2010-12-10 Andreas Schwab <schwab@redhat.com>
39158
39159 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
39160 _GNU_SOURCE.
39161
39162 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
39163 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
39164 Remove __restrict.
39165 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
39166 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
39167
39168 2010-12-09 Ulrich Drepper <drepper@gmail.com>
39169
39170 [BZ #11655]
39171 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
39172 are initialized.
39173
39174 2010-12-09 Jakub Jelinek <jakub@redhat.com>
39175
39176 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
39177
39178 2010-12-03 Ulrich Drepper <drepper@gmail.com>
39179
39180 * po/it.po: Update from translation team.
39181
39182 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
39183
39184 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
39185 unused codes.
39186
39187 2010-11-30 Ulrich Drepper <drepper@gmail.com>
39188
39189 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
39190
39191 2010-11-24 Andreas Schwab <schwab@redhat.com>
39192
39193 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
39194 specially.
39195 (gaih_getanswer_slice): Likewise.
39196
39197 2010-10-20 Jakub Jelinek <jakub@redhat.com>
39198
39199 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
39200
39201 2010-05-31 Petr Baudis <pasky@suse.cz>
39202
39203 [BZ #11149]
39204 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
39205 silently even in the chroot mode.
39206
39207 2010-11-22 Ulrich Drepper <drepper@gmail.com>
39208
39209 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
39210 last patch a bit. Pretty printing
39211
39212 2010-05-31 Petr Baudis <pasky@suse.cz>
39213
39214 [BZ #10085]
39215 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
39216 initialization of skip_initgroups_dyn.
39217
39218 2010-11-19 Ulrich Drepper <drepper@gmail.com>
39219
39220 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
39221 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
39222
39223 2010-11-16 Ulrich Drepper <drepper@gmail.com>
39224
39225 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
39226
39227 2010-11-11 Andreas Schwab <schwab@redhat.com>
39228
39229 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
39230 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
39231 (tst-fnmatch-ENV): Set MALLOC_TRACE.
39232 ($(objpfx)tst-fnmatch-mem): New rule.
39233 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
39234 * posix/tst-fnmatch.c (main): Call mtrace.
39235
39236 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
39237
39238 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39239 Support Intel processor model 6 and model 0x2c.
39240
39241 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
39242
39243 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
39244 signed comparison.
39245
39246 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
39247
39248 [BZ #12205]
39249 * string/test-strncasecmp.c (check_result): New function.
39250 (do_one_test): Use it.
39251 (check1): New function.
39252 (test_main): Use it.
39253 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
39254 Support strcasecmp and strncasecmp.
39255
39256 2010-11-08 Ulrich Drepper <drepper@gmail.com>
39257
39258 [BZ #12194]
39259 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
39260 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39261
39262 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
39263
39264 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
39265 IFUNC support.
39266 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39267 memset-x86-64.
39268 * sysdeps/x86_64/multiarch/bzero.S: New file.
39269 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
39270 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
39271 * sysdeps/x86_64/multiarch/memset.S: New file.
39272 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
39273 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39274 Set bit_Prefer_SSE_for_memop for Intel processors.
39275 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
39276 Define.
39277 (index_Prefer_SSE_for_memop): Define.
39278 (HAS_PREFER_SSE_FOR_MEMOP): Define.
39279
39280 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
39281
39282 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
39283 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
39284
39285 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
39286
39287 [BZ #12191]
39288 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
39289 (__x86_64_raw_data_cache_size_half): Likewise.
39290 (__x86_64_raw_shared_cache_size): Likewise.
39291 (__x86_64_raw_shared_cache_size_half): Likewise.
39292
39293 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
39294 (__x86_64_raw_data_cache_size_half): Likewise.
39295 (__x86_64_raw_shared_cache_size): Likewise.
39296 (__x86_64_raw_shared_cache_size_half): Likewise.
39297 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
39298 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
39299 and __x86_64_raw_shared_cache_size_half. Round
39300 __x86_64_data_cache_size_half, __x86_64_data_cache_size
39301 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
39302 to multiple of 256 bytes.
39303
39304 2010-11-03 Ulrich Drepper <drepper@gmail.com>
39305
39306 [BZ #12167]
39307 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
39308 of inacessible symlinks. Verify result of symlink before returning it.
39309 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
39310 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
39311
39312 2010-10-28 Erich Ritz <erichritz@gmail.com>
39313
39314 * math/math.h (isinf): Fix typo in comment.
39315
39316 2010-11-01 Ulrich Drepper <drepper@gmail.com>
39317
39318 * po/da.po: Update from translation team.
39319
39320 2010-10-26 Ulrich Drepper <drepper@gmail.com>
39321
39322 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
39323 is added to the list.
39324
39325 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39326 Ulrich Drepper <drepper@gmail.com>
39327
39328 * elf/dl-object.c (_dl_new_object): Don't append the new object to
39329 the global list here. Move code to...
39330 (_dl_add_to_namespace_list): ...here. New function.
39331 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
39332 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
39333 * elf/dl-load.c (lose): Don't remove the element from the list.
39334 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
39335 (_dl_map_object): Likewise.
39336
39337 2010-10-25 Ulrich Drepper <drepper@gmail.com>
39338
39339 [BZ #12159]
39340 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
39341 into all bytes of SSE register.
39342 Patch by Richard Li <richardpku@gmail.com>.
39343
39344 2010-10-24 Ulrich Drepper <drepper@gmail.com>
39345
39346 [BZ #12140]
39347 * malloc/malloc.c (_int_free): Fill correct number of bytes when
39348 perturbing.
39349
39350 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
39351
39352 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
39353 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
39354 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
39355 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
39357 submachine.
39358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
39359
39360 2010-10-22 Andreas Schwab <schwab@redhat.com>
39361
39362 * include/dlfcn.h (__RTLD_SECURE): Define.
39363 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
39364 mode & __RTLD_SECURE instead.
39365 (open_path): Rename preloaded parameter to secure.
39366 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
39367 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
39368 * elf/dl-deps.c (openaux): Likewise.
39369 * elf/rtld.c (struct map_args): Remove is_preloaded.
39370 (map_doit): Don't use it.
39371 (dl_main): Likewise.
39372 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
39373 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
39374
39375 2010-09-09 Andreas Schwab <schwab@redhat.com>
39376
39377 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
39378 (sysd-rules-targets): Remove duplicates.
39379 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
39380 rtld-%.$o dependency.
39381
39382 2010-10-18 Andreas Schwab <schwab@redhat.com>
39383
39384 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
39385 _dl_map_object do it.
39386
39387 2010-10-19 Ulrich Drepper <drepper@gmail.com>
39388
39389 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
39390 fast fma builtins, define the macros in the C99 standard.
39391 (FP_FAST_FMAF): Likewise.
39392 (FP_FAST_FMAL): Likewise.
39393 * sysdeps/x86_64/bits/mathdef.h: Likewise.
39394
39395 * bits/mathdef.h: Update copyright year.
39396 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39397
39398 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
39399
39400 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
39401 builtins, define the macros in the C99 standard.
39402 (FP_FAST_FMAF): Likewise.
39403 (FP_FAST_FMAL): Likewise.
39404 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
39405 multiply/add.
39406 (FP_FAST_FMAF): Likewise.
39407
39408 2010-10-15 Jakub Jelinek <jakub@redhat.com>
39409
39410 [BZ #3268]
39411 * math/libm-test.inc (fma_test): Some new testcases.
39412 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
39413 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
39414 y and infinite z. Do multiplication by C already in long double.
39415 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
39416 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
39417 y and infinite z. Do bitwise or of inexact bit into u.d.
39418 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
39419 * sysdeps/i386/fpu/s_fmaf.S: Removed.
39420 * sysdeps/i386/fpu/s_fma.S: Removed.
39421 * sysdeps/i386/fpu/s_fmal.S: Removed.
39422
39423 2010-10-16 Jakub Jelinek <jakub@redhat.com>
39424
39425 [BZ #3268]
39426 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
39427 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
39428 computation is not scheduled after fetestexcept. Fix value
39429 of minimum denormal long double.
39430
39431 2010-10-14 Jakub Jelinek <jakub@redhat.com>
39432
39433 [BZ #3268]
39434 * math/libm-test.inc (fma_test): Add some more tests.
39435 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
39436 correctly.
39437
39438 2010-10-15 Andreas Schwab <schwab@redhat.com>
39439
39440 * scripts/data/localplt-s390-linux-gnu.data: New file.
39441 * scripts/data/localplt-s390x-linux-gnu.data: New file.
39442
39443 2010-10-13 Jakub Jelinek <jakub@redhat.com>
39444
39445 [BZ #3268]
39446 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
39447 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
39448 instead of dbl-64.
39449 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
39450 inlines.
39451 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
39452 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
39453 if one of x and y is very large and the other is subnormal.
39454 * sysdeps/s390/fpu/s_fmaf.c: New file.
39455 * sysdeps/s390/fpu/s_fma.c: New file.
39456 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
39457 * sysdeps/powerpc/fpu/s_fma.S: New file.
39458 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
39459 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
39460 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
39461
39462 2010-10-12 Jakub Jelinek <jakub@redhat.com>
39463
39464 [BZ #3268]
39465 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
39466 fma tests.
39467 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
39468 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
39469 * sysdeps/i386/i686/multiarch/s_fma.c: Include
39470 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
39471 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
39472 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
39473 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
39474
39475 2010-10-12 Ulrich Drepper <drepper@redhat.com>
39476
39477 [BZ #12078]
39478 * posix/regcomp.c (parse_branch): One more memory leak plugged.
39479 * posix/bug-regex31.input: Add test case.
39480
39481 2010-10-11 Ulrich Drepper <drepper@gmail.com>
39482
39483 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
39484 * posix/bug-regex31.input: New file.
39485
39486 [BZ #12078]
39487 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
39488 (parse_sub_exp): Fix last change, use postorder.
39489
39490 * posix/bug-regex31.c: New file.
39491 * posix/Makefile: Add rules to build and run bug-regex31.
39492
39493 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
39494
39495 [BZ #12078]
39496 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
39497
39498 [BZ #12108]
39499 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
39500 to have entries in sys_siglist.
39501
39502 [BZ #12093]
39503 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
39504 be NULL.
39505
39506 2010-10-07 Jakub Jelinek <jakub@redhat.com>
39507
39508 [BZ #3268]
39509 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
39510 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
39511 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
39512 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
39513 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39514 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
39515 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
39516 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
39517 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
39518 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
39519 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
39520 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
39521 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
39522 * math/ftestexcept.c (fetestexcept): Likewise.
39523 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
39524 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
39525 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
39526 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
39527 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
39528 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
39529 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39530
39531 2010-10-11 Ulrich Drepper <drepper@gmail.com>
39532
39533 [BZ #12107]
39534 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
39535 newline.
39536
39537 2010-10-06 Ulrich Drepper <drepper@gmail.com>
39538
39539 * string/bug-strstr1.c: New file.
39540 * string/Makefile: Add rules to build and run bug-strstr1.
39541
39542 2010-10-05 Eric Blake <eblake@redhat.com>
39543
39544 [BZ #12092]
39545 * string/str-two-way.h (two_way_long_needle): Always clear memory
39546 when skipping input due to the shift table.
39547
39548 2010-10-03 Ulrich Drepper <drepper@gmail.com>
39549
39550 [BZ #12005]
39551 * malloc/mcheck.c: Handle large requests.
39552
39553 [BZ #12077]
39554 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
39555 for strncmp and strncasecmp.
39556 * string/stratcliff.c: Add tests for strcmp and strncmp.
39557 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
39558
39559 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39560
39561 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
39562 __set_fpscr.
39563
39564 2010-09-30 Andreas Jaeger <aj@suse.de>
39565
39566 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
39567 (CGROUP_SUPER_MAGIC): Define.
39568 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39569 Handle btrfs and cgroup file systems.
39570 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
39571 Likewise.
39572
39573 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
39574
39575 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
39576 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
39577
39578 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39579
39580 [BZ #12067]
39581 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
39582 trying to locate the ELF header.
39583
39584 2010-09-27 Andreas Schwab <schwab@redhat.com>
39585
39586 [BZ #11611]
39587 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
39588 Mask out sign-bit copies when constructing f_fsid.
39589
39590 2010-09-24 Petr Baudis <pasky@suse.cz>
39591
39592 * debug/stack_chk_fail_local.c: Add missing licence exception.
39593 * debug/warning-nop.c: Likewise.
39594
39595 2010-09-15 Joseph Myers <joseph@codesourcery.com>
39596
39597 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
39598 implementing getdents64 using getdents syscall, set d_type if
39599 __ASSUME_GETDENTS32_D_TYPE.
39600
39601 2010-09-16 Andreas Schwab <schwab@redhat.com>
39602
39603 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
39604 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
39605
39606 2010-09-21 Ulrich Drepper <drepper@redhat.com>
39607
39608 [BZ #12037]
39609 * posix/unistd.h: Undo change of feature selection for ftruncate from
39610 2010-01-11.
39611
39612 2010-09-20 Ulrich Drepper <drepper@redhat.com>
39613
39614 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
39615 detection.
39616
39617 2010-09-20 Andreas Schwab <schwab@redhat.com>
39618
39619 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
39620 fanotify_mark.
39621 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39622
39623 2010-09-14 Andreas Schwab <schwab@redhat.com>
39624
39625 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
39626 variables after CHECK_SP call.
39627 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
39628
39629 2010-09-13 Andreas Schwab <schwab@redhat.com>
39630 Ulrich Drepper <drepper@redhat.com>
39631
39632 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
39633 re-relocationg ld.so.
39634 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
39635 _dl_init_paths call.
39636 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
39637 here anymore.
39638
39639 2010-09-14 Ulrich Drepper <drepper@redhat.com>
39640
39641 * resolv/res_init.c (__res_vinit): Count the default server we added.
39642
39643 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
39644 Ulrich Drepper <drepper@redhat.com>
39645
39646 [BZ #11968]
39647 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39648 (____longjmp_chk): Use %ebx for saving value across system call.
39649 Add unwind info.
39650
39651 2010-09-06 Andreas Schwab <schwab@redhat.com>
39652
39653 * manual/Makefile: Don't mix pattern rules with normal rules.
39654
39655 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
39656
39657 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
39658 operation.
39659 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
39660 * libio/iofopncook.c (_IO_cookie_init): Likewise.
39661 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
39662 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
39663 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39664 Likewise.
39665
39666 2010-09-04 Ulrich Drepper <drepper@redhat.com>
39667
39668 [BZ #11979]
39669 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
39670 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
39671
39672 2010-09-02 Ulrich Drepper <drepper@redhat.com>
39673
39674 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
39675 * sysdeps/x86_64/addmul_1.S: Likewise.
39676 * sysdeps/x86_64/lshift.S: Likewise.
39677 * sysdeps/x86_64/mul_1.S: Likewise.
39678 * sysdeps/x86_64/rshift.S: Likewise.
39679 * sysdeps/x86_64/sub_n.S: Likewise.
39680 * sysdeps/x86_64/submul_1.S: Likewise.
39681
39682 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
39683
39684 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
39685 Define __sched_param instead of SCHED_* and sched_param when
39686 <bits/sched.h> is included with __need_schedparam defined.
39687 * bits/sched.h [__need_schedparam]
39688 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
39689 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
39690 (__defined_schedparam): Define to 1.
39691 (__sched_param): New structure, identical to sched_param.
39692 (__need_schedparam): Undefine.
39693
39694 2010-08-31 Mike Frysinger <vapier@gentoo.org>
39695
39696 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
39697 (epoll_create1): Declare.
39698
39699 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
39700
39701 2010-08-31 Andreas Schwab <schwab@redhat.com>
39702
39703 [BZ #7066]
39704 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
39705 shifting retval into place.
39706
39707 2010-09-01 Ulrich Drepper <drepper@redhat.com>
39708
39709 * nis/rpcsvc/nis.h: Update copyright notice.
39710 * nis/rpcsvc/nis.x: Likewise.
39711 * nis/rpcsvc/nis_callback.h: Likewise.
39712 * nis/rpcsvc/nis_callback.x: Likewise.
39713 * nis/rpcsvc/nis_object.x: Likewise.
39714 * nis/rpcsvc/nis_tags.h: Likewise.
39715 * nis/rpcsvc/yp.h: Likewise.
39716 * nis/rpcsvc/yp.x: Likewise.
39717 * nis/rpcsvc/ypupd.h: Likewise.
39718 * nis/yp_xdr.c: Likewise.
39719 * nis/ypupdate_xdr.c: Likewise.
39720
39721 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
39722 mainly the body of pmap_getport. Add parameters to specify timeouts.
39723 (pmap_getport): Use __libc_rpc_getport.
39724 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
39725 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
39726 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
39727
39728 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
39729
39730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
39731 fanotify_mark.
39732
39733 2010-08-27 Roland McGrath <roland@redhat.com>
39734
39735 * sysdeps/i386/i686/multiarch/Makefile
39736 (CFLAGS-varshift.c): New variable.
39737
39738 2010-08-27 Ulrich Drepper <drepper@redhat.com>
39739
39740 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
39741 * sysdeps/i386/i686/multiarch/varshift.c: New file.
39742
39743 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
39744
39745 * sysdeps/x86_64/strlen.S: Minimal code improvement.
39746
39747 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
39748
39749 * sysdeps/x86_64/strlen.S: Unroll the loop.
39750 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39751 strlen-sse2 strlen-sse2-bsf.
39752 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
39753 __strlen_no_bsf if bit_Slow_BSF is set.
39754 (__strlen_sse42): Removed.
39755 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
39756 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
39757
39758 2010-08-25 Roland McGrath <roland@redhat.com>
39759
39760 * sysdeps/x86_64/multiarch/varshift.S: File removed.
39761 * sysdeps/x86_64/multiarch/varshift.c: New file.
39762 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
39763 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
39764 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
39765 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
39766
39767 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
39768
39769 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39770 strlen-sse2 strlen-sse2-bsf.
39771 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
39772 __strlen_sse2_bsf if bit_Slow_BSF is unset.
39773 (__strlen_sse2): Removed.
39774 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
39775 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
39776 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
39777 bit_Slow_BSF for Atom.
39778 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
39779 (index_Slow_BSF): Define.
39780 (HAS_SLOW_BSF): Define.
39781
39782 2010-08-25 Ulrich Drepper <drepper@redhat.com>
39783
39784 [BZ #10851]
39785 * resolv/res_init.c (__res_vinit): When no server address at all
39786 is given default to loopback.
39787
39788 2010-08-24 Roland McGrath <roland@redhat.com>
39789
39790 * configure.in: Remove config-name.h generation.
39791 * configure: Regenerated.
39792 * config-name.in: File removed.
39793 * scripts/config-uname.sh: New file.
39794 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
39795 ($(objdir)config-name.h): New target.
39796
39797 * sunrpc/rpc_parse.h: Avoid nested comment.
39798
39799 2010-08-24 Richard Henderson <rth@redhat.com>
39800 Ulrich Drepper <drepper@redhat.com>
39801 H.J. Lu <hongjiu.lu@intel.com>
39802
39803 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
39804 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
39805 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
39806 Replace _mm_srli_si128 with __m128i_shift_right. Replace
39807 _mm_alignr_epi8 with _mm_loadu_si128.
39808 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
39809 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
39810 (__m128i_shift_right): Removed.
39811 * sysdeps/i386/i686/multiarch/varshift.h: New file.
39812 * sysdeps/i386/i686/multiarch/varshift.S: New file.
39813 * sysdeps/x86_64/multiarch/varshift.h: New file.
39814 * sysdeps/x86_64/multiarch/varshift.S: New file.
39815
39816 2010-08-21 Mike Frysinger <vapier@gentoo.org>
39817
39818 * configure.in: Move assembler checks to before sysdep dir checking.
39819
39820 2010-08-20 Petr Baudis <pasky@suse.cz>
39821
39822 * LICENSES: Sync the sunrpc license.
39823
39824 2010-08-19 Ulrich Drepper <drepper@redhat.com>
39825
39826 * sunrpc/auth_des.c: Update copyright notice once again.
39827 * sunrpc/auth_none.c: Likewise.
39828 * sunrpc/auth_unix.c: Likewise.
39829 * sunrpc/authdes_prot.c: Likewise.
39830 * sunrpc/authuxprot.c: Likewise.
39831 * sunrpc/bindrsvprt.c: Likewise.
39832 * sunrpc/clnt_gen.c: Likewise.
39833 * sunrpc/clnt_perr.c: Likewise.
39834 * sunrpc/clnt_raw.c: Likewise.
39835 * sunrpc/clnt_simp.c: Likewise.
39836 * sunrpc/clnt_tcp.c: Likewise.
39837 * sunrpc/clnt_udp.c: Likewise.
39838 * sunrpc/clnt_unix.c: Likewise.
39839 * sunrpc/des_crypt.c: Likewise.
39840 * sunrpc/des_soft.c: Likewise.
39841 * sunrpc/get_myaddr.c: Likewise.
39842 * sunrpc/getrpcport.c: Likewise.
39843 * sunrpc/key_call.c: Likewise.
39844 * sunrpc/key_prot.c: Likewise.
39845 * sunrpc/openchild.c: Likewise.
39846 * sunrpc/pm_getmaps.c: Likewise.
39847 * sunrpc/pm_getport.c: Likewise.
39848 * sunrpc/pmap_clnt.c: Likewise.
39849 * sunrpc/pmap_prot.c: Likewise.
39850 * sunrpc/pmap_prot2.c: Likewise.
39851 * sunrpc/pmap_rmt.c: Likewise.
39852 * sunrpc/rpc/auth.h: Likewise.
39853 * sunrpc/rpc/auth_unix.h: Likewise.
39854 * sunrpc/rpc/clnt.h: Likewise.
39855 * sunrpc/rpc/des_crypt.h: Likewise.
39856 * sunrpc/rpc/key_prot.h: Likewise.
39857 * sunrpc/rpc/netdb.h: Likewise.
39858 * sunrpc/rpc/pmap_clnt.h: Likewise.
39859 * sunrpc/rpc/pmap_prot.h: Likewise.
39860 * sunrpc/rpc/pmap_rmt.h: Likewise.
39861 * sunrpc/rpc/rpc.h: Likewise.
39862 * sunrpc/rpc/rpc_des.h: Likewise.
39863 * sunrpc/rpc/rpc_msg.h: Likewise.
39864 * sunrpc/rpc/svc.h: Likewise.
39865 * sunrpc/rpc/svc_auth.h: Likewise.
39866 * sunrpc/rpc/types.h: Likewise.
39867 * sunrpc/rpc/xdr.h: Likewise.
39868 * sunrpc/rpc_clntout.c: Likewise.
39869 * sunrpc/rpc_cmsg.c: Likewise.
39870 * sunrpc/rpc_common.c: Likewise.
39871 * sunrpc/rpc_cout.c: Likewise.
39872 * sunrpc/rpc_dtable.c: Likewise.
39873 * sunrpc/rpc_hout.c: Likewise.
39874 * sunrpc/rpc_main.c: Likewise.
39875 * sunrpc/rpc_parse.c: Likewise.
39876 * sunrpc/rpc_parse.h: Likewise.
39877 * sunrpc/rpc_prot.c: Likewise.
39878 * sunrpc/rpc_sample.c: Likewise.
39879 * sunrpc/rpc_scan.c: Likewise.
39880 * sunrpc/rpc_scan.h: Likewise.
39881 * sunrpc/rpc_svcout.c: Likewise.
39882 * sunrpc/rpc_tblout.c: Likewise.
39883 * sunrpc/rpc_util.c: Likewise.
39884 * sunrpc/rpc_util.h: Likewise.
39885 * sunrpc/rpcinfo.c: Likewise.
39886 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
39887 * sunrpc/rpcsvc/key_prot.x: Likewise.
39888 * sunrpc/rpcsvc/klm_prot.x: Likewise.
39889 * sunrpc/rpcsvc/mount.x: Likewise.
39890 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
39891 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
39892 * sunrpc/rpcsvc/rex.x: Likewise.
39893 * sunrpc/rpcsvc/rstat.x: Likewise.
39894 * sunrpc/rpcsvc/rusers.x: Likewise.
39895 * sunrpc/rpcsvc/sm_inter.x: Likewise.
39896 * sunrpc/rpcsvc/spray.x: Likewise.
39897 * sunrpc/rpcsvc/yppasswd.x: Likewise.
39898 * sunrpc/rtime.c: Likewise.
39899 * sunrpc/svc.c: Likewise.
39900 * sunrpc/svc_auth.c: Likewise.
39901 * sunrpc/svc_authux.c: Likewise.
39902 * sunrpc/svc_raw.c: Likewise.
39903 * sunrpc/svc_run.c: Likewise.
39904 * sunrpc/svc_simple.c: Likewise.
39905 * sunrpc/svc_tcp.c: Likewise.
39906 * sunrpc/svc_udp.c: Likewise.
39907 * sunrpc/svc_unix.c: Likewise.
39908 * sunrpc/svcauth_des.c: Likewise.
39909 * sunrpc/xcrypt.c: Likewise.
39910 * sunrpc/xdr.c: Likewise.
39911 * sunrpc/xdr_array.c: Likewise.
39912 * sunrpc/xdr_float.c: Likewise.
39913 * sunrpc/xdr_mem.c: Likewise.
39914 * sunrpc/xdr_rec.c: Likewise.
39915 * sunrpc/xdr_ref.c: Likewise.
39916 * sunrpc/xdr_sizeof.c: Likewise.
39917 * sunrpc/xdr_stdio.c: Likewise.
39918
39919 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
39920 handling.
39921
39922 2010-08-19 Andreas Schwab <schwab@redhat.com>
39923
39924 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
39925
39926 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
39927
39928 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
39929 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
39930 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
39931 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
39932 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
39933 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
39934 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
39935 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
39936 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
39937 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
39938 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
39939 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
39940 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
39941 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
39942
39943 2010-07-26 Anton Blanchard <anton@samba.org>
39944
39945 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
39946 * malloc/arena.c (heap_trim): Likewise.
39947
39948 2010-08-16 Ulrich Drepper <drepper@redhat.com>
39949
39950 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
39951 here. Not...
39952 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
39953 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
39954
39955 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
39956
39957 * sysdeps/i386/elf/Makefile: New file.
39958
39959 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
39960
39961 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
39962 from fanotify_init.
39963 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
39964 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39965
39966 2010-08-15 Ulrich Drepper <drepper@redhat.com>
39967
39968 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
39969 of strncasecmp_l.
39970 * sysdeps/multiarch/strcmp.S: Likewise.
39971
39972 2010-08-14 Ulrich Drepper <drepper@redhat.com>
39973
39974 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39975 strncase_l-nonascii.
39976 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39977 Add strncase_l-ssse3.
39978 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
39979 * sysdeps/x86_64/strcmp.S: Likewise.
39980 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
39981 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
39982 * sysdeps/x86_64/strncase.S: New file.
39983 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
39984 * sysdeps/x86_64/strncase_l.S: New file.
39985 * string/Makefile (strop-tests): Add strncasecmp.
39986 * string/test-strncasecmp.c: New file.
39987
39988 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
39989 warning.
39990
39991 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
39992 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
39993
39994 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
39995
39996 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
39997
39998 2010-08-12 Ulrich Drepper <drepper@redhat.com>
39999
40000 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
40001 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
40002 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
40003
40004 2010-05-01 Alan Modra <amodra@gmail.com>
40005
40006 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
40007 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
40008 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
40009 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
40010 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
40011 tidying. Don't tail-call __sigjmp_save for static lib.
40012 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
40013 save location.
40014 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
40015 (CALL_MCOUNT): Add eh info, and nop after bl.
40016 (TAIL_CALL_SYSCALL_ERROR): New macro.
40017 (PSEUDO_RET): Use it.
40018 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
40019 Correct save location of integer regs and cr.
40020 (_dl_profile_resolve): Correct cr save location. Delete nops
40021 after bl when SHARED. Reduce cfi size a little by better
40022 placement of cfi directives.
40023 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
40024 make a stack frame. Instead use parm save area as a temp.
40025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
40026 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
40027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
40028 Don't make a stack frame for parent, use parm save area.
40029 Increase child stack frame to 112 bytes. Don't save unused reg,
40030 and adjust reg usage. Set up cfi on error recovery and
40031 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
40032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40033 (__makecontext): Add dummy nop after jump to exit.
40034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
40035 Use correct parm save area and cr save, reduce stack frame.
40036 Correct cfi for possible PSEUDO_RET frame setup.
40037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
40038 Branch to local label emitted by PSEUDO_RET rather than
40039 __syscall_error.
40040
40041 2010-08-12 Andreas Schwab <schwab@redhat.com>
40042
40043 [BZ #11904]
40044 * locale/programs/locale.c (print_assignment): New function.
40045 (show_locale_vars): Use it.
40046
40047 2010-08-11 Ulrich Drepper <drepper@redhat.com>
40048
40049 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
40050 field.
40051 (struct statfs64): Likewise.
40052 (_STATFS_F_FLAGS): Define.
40053 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
40054 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40055 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
40056 (ST_VALID): Define locally.
40057 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
40058 __statvfs_getflags, use the provided value.
40059 * sysdeps/unix/sysv/linux/kernel-features.h: Define
40060 __ASSUME_STATFS_F_FLAGS.
40061
40062 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
40063
40064 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
40065 Add sys/fanotify.h.
40066 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
40067 fanotify_mask for GLIBC_2.13.
40068 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
40069 fanotify_init and fanotify_mark.
40070 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
40071 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
40072
40073 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
40074 Add prlimit.
40075 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
40076 prlimit64 for GLIBC_2.13.
40077 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
40078 prlimit64.
40079 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
40080 syscall.
40081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
40082 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
40083 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
40084 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
40085 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
40086 add prlimit alias.
40087 * sysdeps/unix/sysv/linux/prlimit.c: New file.
40088
40089 [BZ #11903]
40090 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
40091 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
40092
40093 * nss/Makefile: Add rules to build and run tst-nss-test1.
40094 * shlib-versions: Add entry for libnss_test1.
40095 * nss/nss_test1.c: New file.
40096 * nss/tst-nss-test1.c: New file.
40097
40098 * nss/nsswitch.c (__nss_database_custom): Define new variable.
40099 (__nss_configure_lookup): Set appropriate entry in
40100 __nss_configure_lookup to true.
40101 * nss/nsswitch.h: Define enum with indeces of databases in
40102 databases and __nss_database_custom arrays. Declare
40103 __nss_database_custom.
40104 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
40105 to avoid using nscd when custom rules are installed.
40106 * nss/getXXbyYY_r.c: Likewise.
40107 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
40108
40109 * nss/nss_files/files-parse.c: Whitespace fixes.
40110
40111 2010-08-09 Ulrich Drepper <drepper@redhat.com>
40112
40113 [BZ #11883]
40114 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
40115 * posix/fnmatch_loop.c: Likewise.
40116
40117 2010-07-17 Andi Kleen <ak@linux.intel.com>
40118
40119 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
40120 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
40121 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
40122 * Versions.def [GLIBC_2.13]: Add.
40123
40124 2010-08-06 Ulrich Drepper <drepper@redhat.com>
40125
40126 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
40127 Also fail if tpwd after pwuid call is NULL.
40128
40129 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
40130
40131 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
40132 when converting to ms.
40133
40134 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
40135
40136 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
40137 EOPNOTSUPP errors with ENOTTY.
40138 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
40139 EOPNOTSUPP errors with ENOTTY.
40140
40141 2010-07-31 Ulrich Drepper <drepper@redhat.com>
40142
40143 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
40144 Add strcasecmp_l-ssse3.
40145 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
40146 strcasecmp.
40147 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
40148 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
40149 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
40150
40151 2010-07-30 Ulrich Drepper <drepper@redhat.com>
40152
40153 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
40154
40155 * string/Makefile (strop-tests): Add strcasecmp.
40156 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
40157 strcasecmp_l-nonascii.
40158 (gen-as-const-headers): Add locale-defines.sym.
40159 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
40160 * sysdeps/x86_64/strcasecmp.S: New file.
40161 * sysdeps/x86_64/strcasecmp_l.S: New file.
40162 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
40163 * sysdeps/x86_64/locale-defines.sym: New file.
40164 * string/test-strcasecmp.c: New file.
40165
40166 * string/test-strcasestr.c: Test both ends of the range of characters.
40167 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
40168
40169 2010-07-29 Roland McGrath <roland@redhat.com>
40170
40171 [BZ #11856]
40172 * manual/locale.texi (Yes-or-No Questions): Fix example code.
40173
40174 2010-07-27 Ulrich Drepper <drepper@redhat.com>
40175
40176 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
40177 for ld.so.
40178
40179 2010-07-27 Andreas Schwab <schwab@redhat.com>
40180
40181 * manual/memory.texi (Malloc Tunable Parameters): Document
40182 M_PERTURB.
40183
40184 2010-07-26 Roland McGrath <roland@redhat.com>
40185
40186 [BZ #11840]
40187 * configure.in (-fgnu89-inline check): Set and substitute
40188 gnu89_inline, not libc_cv_gnu89_inline.
40189 * configure: Regenerated.
40190 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
40191
40192 2010-07-26 Ulrich Drepper <drepper@redhat.com>
40193
40194 * string/test-strnlen.c: New file.
40195 * string/Makefile (strop-tests): Add strnlen.
40196 * string/tester.c (test_strnlen): Add a few more test cases.
40197 * string/tst-strlen.c: Better error reporting.
40198
40199 * sysdeps/x86_64/strnlen.S: New file.
40200
40201 2010-07-24 Ulrich Drepper <drepper@redhat.com>
40202
40203 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
40204 lower-latency instructions.
40205
40206 2010-07-23 Ulrich Drepper <drepper@redhat.com>
40207
40208 * string/test-strcasestr.c: New file.
40209 * string/test-strstr.c: New file.
40210 * string/Makefile (strop-tests): Add strstr and strcasestr.
40211 * string/str-two-way.h: Don't undefine MAX.
40212 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
40213
40214 2010-07-21 Andreas Schwab <schwab@redhat.com>
40215
40216 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40217 strcasestr-nonascii.
40218 (CFLAGS-strcasestr-nonascii.c): Define.
40219 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
40220 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
40221 Remove unused attribute.
40222
40223 2010-07-20 Roland McGrath <roland@redhat.com>
40224
40225 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
40226 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
40227 ld.so.cache was broken. With it, there is no way to disable dsocaps
40228 like LD_HWCAP_MASK can disable hwcaps.
40229
40230 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
40231
40232 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
40233
40234 2010-07-16 Ulrich Drepper <drepper@redhat.com>
40235
40236 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
40237 call in strcasestr.
40238 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
40239 __strcasestr_sse42_nonascii.
40240 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
40241 strcasestr-nonascii.c.
40242 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
40243
40244 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
40245
40246 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
40247 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
40248 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
40249 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
40250
40251 2010-07-09 Ulrich Drepper <drepper@redhat.com>
40252
40253 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
40254 fcntl.
40255
40256 2010-07-06 Andreas Schwab <schwab@redhat.com>
40257
40258 [BZ #11577]
40259 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
40260 dl_signal_cerror.
40261
40262 2010-07-06 Ulrich Drepper <drepper@redhat.com>
40263
40264 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
40265 _PC_PIPE_BUF using F_GETPIPE_SZ.
40266
40267 2010-07-05 Roland McGrath <roland@redhat.com>
40268
40269 * manual/arith.texi (Rounding Functions): Fix rint description
40270 implicit in round description.
40271
40272 2010-07-02 Ulrich Drepper <drepper@redhat.com>
40273
40274 * elf/Makefile: Fix linking for a few tests to make recent linker
40275 happy.
40276
40277 2010-06-30 Andreas Schwab <schwab@redhat.com>
40278
40279 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40280 $(common-objpfx)libc_nonshared.a.
40281
40282 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
40283
40284 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
40285 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
40286 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
40287 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
40288 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
40289 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
40290 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
40291 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
40292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
40293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
40294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
40295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
40296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
40297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
40298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
40299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
40300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
40301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
40302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
40303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
40304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
40305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
40306 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
40307 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
40308 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
40309 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
40310 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
40311 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
40312 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
40313 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
40314 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
40315 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
40316 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
40317 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
40318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
40319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
40320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
40321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
40322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
40323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
40324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
40325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
40326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
40327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
40328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
40329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
40330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
40331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
40332
40333 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
40334
40335 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
40336 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
40337 * string/memmove.c (memmove): Renamed to ...
40338 (MEMMOVE): ...this. Default to memmove.
40339 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
40340 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
40341 (END_CHK): Define.
40342 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40343 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
40344 mempcpy-ssse3-back memmove-ssse3-back.
40345 * sysdeps/x86_64/multiarch/bcopy.S: New file .
40346 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
40347 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
40348 * sysdeps/x86_64/multiarch/memcpy.S: New file.
40349 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
40350 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
40351 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
40352 * sysdeps/x86_64/multiarch/memmove.c: New file.
40353 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
40354 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
40355 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
40356 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
40357 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
40358 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
40359 Define.
40360 (index_Fast_Copy_Backward): Define.
40361 (HAS_ARCH_FEATURE): Define.
40362 (HAS_FAST_REP_STRING): Define.
40363 (HAS_FAST_COPY_BACKWARD): Define.
40364
40365 2010-06-21 Andreas Schwab <schwab@redhat.com>
40366
40367 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
40368 Restore proper fallback handling.
40369
40370 2010-06-19 Ulrich Drepper <drepper@redhat.com>
40371
40372 [BZ #11701]
40373 * posix/group_member.c (__group_member): Correct checking loop.
40374
40375 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
40376 OOM in getpwuid_r correctly. Return error number when the caller
40377 should return, otherwise -1.
40378 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
40379 call returning > 0 value.
40380 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
40381
40382 2010-06-07 Andreas Schwab <schwab@redhat.com>
40383
40384 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
40385 libc_nonshared.a from targets in modules-names.
40386
40387 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
40388
40389 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
40390 requires it.
40391
40392 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
40393
40394 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
40395 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
40396 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
40397 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
40398
40399 2010-06-02 Andreas Schwab <schwab@redhat.com>
40400
40401 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
40402
40403 2010-06-14 Ulrich Drepper <drepper@redhat.com>
40404
40405 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
40406 and F_GETPIPE_SZ.
40407 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40408 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40409 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40410 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40411 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40412 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
40413
40414 2010-06-14 Roland McGrath <roland@redhat.com>
40415
40416 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
40417
40418 2010-06-07 Jakub Jelinek <jakub@redhat.com>
40419
40420 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
40421 __REDIRECT followed by __THROW.
40422 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
40423 * posix/getopt.h (getopt): Likewise.
40424
40425 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
40426
40427 * hurd/lookup-at.c (__file_name_lookup_at): Accept
40428 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
40429 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
40430 in AT_FLAGS.
40431 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
40432 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
40433
40434 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
40435
40436 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
40437
40438 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
40439
40440 [BZ #11640]
40441 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40442 Properly check family and model.
40443
40444 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
40445
40446 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
40447
40448 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
40449
40450 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
40451
40452 2010-05-21 Ulrich Drepper <drepper@redhat.com>
40453
40454 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
40455 symbol reference.
40456
40457 2010-05-19 Andreas Schwab <schwab@redhat.com>
40458
40459 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
40460 symbol reference.
40461
40462 2010-05-21 Andreas Schwab <schwab@redhat.com>
40463
40464 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
40465 and internal_recvmmsg.
40466 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
40467 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
40468 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
40469 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
40470
40471 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
40472 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40473 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40474
40475 2010-05-20 Andreas Schwab <schwab@redhat.com>
40476
40477 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
40478
40479 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
40480
40481 POWER7 optimizations.
40482 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
40483 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
40484
40485 2010-05-19 Ulrich Drepper <drepper@redhat.com>
40486
40487 * version.h: Update for 2.13 development version.
40488
40489 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
40490
40491 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
40492 exceptions. Return 0.
40493
40494 2010-05-07 Roland McGrath <roland@redhat.com>
40495
40496 * elf/ldconfig.c (main): Add a const.
40497
40498 2010-05-06 Ulrich Drepper <drepper@redhat.com>
40499
40500 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
40501 (args_options): Add no-idn option.
40502 (ahosts_keys_int): Add idn_flags to ai_flags.
40503 (parse_option): Handle 'i' option to clear idn_flags.
40504
40505 * malloc/malloc.c (_int_free): Possible race in the most recently
40506 added check. Only act on the data if no current modification
40507 happened.
40508
40509 See ChangeLog.17 for earlier changes.